@josephyan/qingflow-app-user-mcp 1.1.11 → 1.1.13
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 @josephyan/qingflow-app-user-mcp@1.1.
|
|
6
|
+
npm install @josephyan/qingflow-app-user-mcp@1.1.13
|
|
7
7
|
```
|
|
8
8
|
|
|
9
9
|
Run:
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
|
-
npx -y -p @josephyan/qingflow-app-user-mcp@1.1.
|
|
12
|
+
npx -y -p @josephyan/qingflow-app-user-mcp@1.1.13 qingflow-app-user-mcp
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
Environment:
|
package/package.json
CHANGED
package/pyproject.toml
CHANGED
|
@@ -2137,7 +2137,7 @@ class PortalComponentPositionPatch(StrictModel):
|
|
|
2137
2137
|
|
|
2138
2138
|
|
|
2139
2139
|
class PortalChartRefPatch(StrictModel):
|
|
2140
|
-
app_key: str
|
|
2140
|
+
app_key: str | None = None
|
|
2141
2141
|
chart_id: str | None = None
|
|
2142
2142
|
chart_name: str | None = None
|
|
2143
2143
|
|
|
@@ -2145,6 +2145,8 @@ class PortalChartRefPatch(StrictModel):
|
|
|
2145
2145
|
def validate_target(self) -> "PortalChartRefPatch":
|
|
2146
2146
|
if not (self.chart_id or self.chart_name):
|
|
2147
2147
|
raise ValueError("chart_ref requires chart_id or chart_name")
|
|
2148
|
+
if self.chart_name and not self.chart_id and not self.app_key:
|
|
2149
|
+
raise ValueError("chart_ref.app_key is required when resolving by chart_name")
|
|
2148
2150
|
return self
|
|
2149
2151
|
|
|
2150
2152
|
|
|
@@ -486,6 +486,9 @@ class AiBuilderFacade:
|
|
|
486
486
|
"verified": verified,
|
|
487
487
|
"app_key": app_key,
|
|
488
488
|
"current_version_id": apply_result.get("currentVersionId"),
|
|
489
|
+
"write_executed": True,
|
|
490
|
+
"write_succeeded": True,
|
|
491
|
+
"safe_to_retry": False,
|
|
489
492
|
}
|
|
490
493
|
return finalize(self._append_publish_result(profile=profile, app_key=app_key, publish=publish, response=response))
|
|
491
494
|
|
|
@@ -17345,6 +17348,8 @@ def _resolve_chart_reference(*, charts: QingbiReportTools, profile: str, ref: An
|
|
|
17345
17348
|
app_key = str(getattr(ref, "app_key", "") or "").strip()
|
|
17346
17349
|
chart_id = str(getattr(ref, "chart_id", "") or "").strip()
|
|
17347
17350
|
chart_name = str(getattr(ref, "chart_name", "") or "").strip()
|
|
17351
|
+
if chart_id and not app_key:
|
|
17352
|
+
return {"chart_id": chart_id, "chart_name": chart_name, "app_key": None, "chart_type": ""}
|
|
17348
17353
|
items = charts.qingbi_report_list(profile=profile, app_key=app_key).get("items") or []
|
|
17349
17354
|
if chart_id:
|
|
17350
17355
|
for item in items:
|