@qingflow-tech/qingflow-app-builder-mcp 1.0.37 → 1.0.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
Install:
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
|
-
npm install @qingflow-tech/qingflow-app-builder-mcp@1.0.
|
|
6
|
+
npm install @qingflow-tech/qingflow-app-builder-mcp@1.0.38
|
|
7
7
|
```
|
|
8
8
|
|
|
9
9
|
Run:
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
|
-
npx -y -p @qingflow-tech/qingflow-app-builder-mcp@1.0.
|
|
12
|
+
npx -y -p @qingflow-tech/qingflow-app-builder-mcp@1.0.38 qingflow-app-builder-mcp
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
Environment:
|
package/package.json
CHANGED
package/pyproject.toml
CHANGED
|
@@ -11378,11 +11378,14 @@ class AiBuilderFacade:
|
|
|
11378
11378
|
|
|
11379
11379
|
if failed_items:
|
|
11380
11380
|
successful_changes = bool(created_ids or updated_ids or removed_ids or reordered)
|
|
11381
|
+
primary_failure = failed_items[0]
|
|
11382
|
+
primary_error_code = str(primary_failure.get("error_code") or "").strip()
|
|
11383
|
+
primary_message = str(primary_failure.get("message") or "").strip()
|
|
11381
11384
|
return finalize({
|
|
11382
11385
|
"status": "partial_success" if successful_changes else "failed",
|
|
11383
|
-
"error_code": "CHART_APPLY_PARTIAL" if successful_changes else "CHART_APPLY_FAILED",
|
|
11386
|
+
"error_code": "CHART_APPLY_PARTIAL" if successful_changes else primary_error_code or "CHART_APPLY_FAILED",
|
|
11384
11387
|
"recoverable": True,
|
|
11385
|
-
"message": "applied some chart operations; at least one chart operation failed" if successful_changes else "one or more chart operations failed",
|
|
11388
|
+
"message": "applied some chart operations; at least one chart operation failed" if successful_changes else primary_message or "one or more chart operations failed",
|
|
11386
11389
|
"normalized_args": normalized_args,
|
|
11387
11390
|
"missing_fields": [],
|
|
11388
11391
|
"allowed_values": {"chart.chart_type": [member.value for member in PublicChartType], "chart.filter.operator": [member.value for member in ViewFilterOperator]},
|