合并 agent-mvp 到 master #1

Merged
jiang merged 282 commits from agent-mvp into master 2026-08-18 17:56:46 +08:00
3 changed files with 13 additions and 31 deletions
Showing only changes of commit 41bf7d71e3 - Show all commits
+4
View File
@@ -4,6 +4,10 @@
"agent": {
"file": "agent-v1.openapi.json",
"sha256": "94bd8914597c56b6429160e8c556993ac0617ad079de2980a4b6cb9fdf89c039"
},
"server": {
"file": "server-v1.openapi.json",
"sha256": "df7ae927dcf5ae32c3c1ad9be3245b1b78b984ce1902dd91e6313770860e0d48"
}
}
}
+5 -17
View File
@@ -1859,7 +1859,7 @@
"title": "PressureRegulationRest",
"type": "object"
},
"PressureSensorPlacement": {
"PressureSensorPlacementRest": {
"properties": {
"min_diameter": {
"default": 0,
@@ -1867,11 +1867,6 @@
"title": "Min Diameter",
"type": "integer"
},
"name": {
"description": "管网名称(或数据库名称)",
"title": "Name",
"type": "string"
},
"scheme_name": {
"description": "方案名称",
"title": "Scheme Name",
@@ -1881,20 +1876,13 @@
"description": "传感器数量",
"title": "Sensor Number",
"type": "integer"
},
"username": {
"description": "用户名",
"title": "Username",
"type": "string"
}
},
"required": [
"name",
"scheme_name",
"sensor_number",
"username"
"sensor_number"
],
"title": "PressureSensorPlacement",
"title": "PressureSensorPlacementRest",
"type": "object"
},
"ProblemDetails": {
@@ -24894,7 +24882,7 @@
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PressureSensorPlacement",
"$ref": "#/components/schemas/PressureSensorPlacementRest",
"description": "传感器放置分析参数"
}
}
@@ -25134,7 +25122,7 @@
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PressureSensorPlacement",
"$ref": "#/components/schemas/PressureSensorPlacementRest",
"description": "传感器放置分析参数"
}
}
+4 -14
View File
@@ -7810,19 +7810,14 @@ export interface components {
*/
tank_init_level?: Record<string, never> | null;
};
/** PressureSensorPlacement */
PressureSensorPlacement: {
/** PressureSensorPlacementRest */
PressureSensorPlacementRest: {
/**
* Min Diameter
* @description
* @default 0
*/
min_diameter: number;
/**
* Name
* @description
*/
name: string;
/**
* Scheme Name
* @description
@@ -7833,11 +7828,6 @@ export interface components {
* @description
*/
sensor_number: number;
/**
* Username
* @description
*/
username: string;
};
/**
* ProblemDetails
@@ -23881,7 +23871,7 @@ export interface operations {
};
requestBody: {
content: {
"application/json": components["schemas"]["PressureSensorPlacement"];
"application/json": components["schemas"]["PressureSensorPlacementRest"];
};
};
responses: {
@@ -24044,7 +24034,7 @@ export interface operations {
};
requestBody: {
content: {
"application/json": components["schemas"]["PressureSensorPlacement"];
"application/json": components["schemas"]["PressureSensorPlacementRest"];
};
};
responses: {