huaweicloud-devkit 2.0.1-next.0 → 2.0.1-next.1
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/package.json +1 -1
- package/plugins/huaweicloud-core/.claude-plugin/plugin.json +1 -1
- package/plugins/huaweicloud-core/.codex-plugin/plugin.json +1 -1
- package/plugins/huaweicloud-core/.cursor-plugin/plugin.json +1 -1
- package/plugins/huaweicloud-core/.hermes-plugin/plugin.json +1 -1
- package/plugins/huaweicloud-core/.workbuddy-plugin/plugin.json +1 -1
- package/plugins/huaweicloud-core/dist/hcloud-run-once.js +5 -1
- package/plugins/huaweicloud-core/dist/mcp-server.js +1 -1
- package/plugins/huaweicloud-core/dist/mcp-server.js.map +2 -2
- package/plugins/huaweicloud-core/openclaw.plugin.json +1 -1
- package/plugins/huaweicloud-core/src/hcloud-run-once.ts +5 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "huaweicloud-devkit",
|
|
3
3
|
"id": "huaweicloud-devkit",
|
|
4
4
|
"displayName": "HuaweiCloud DevKit",
|
|
5
|
-
"version": "2.0.1-next.
|
|
5
|
+
"version": "2.0.1-next.1",
|
|
6
6
|
"family": "bundle-plugin",
|
|
7
7
|
"bundleFormat": "codex",
|
|
8
8
|
"description": "Guide coding agents to use Huawei Cloud safely �?KooCLI, APIs, SDKs, 40 MCP tools, skills, and safety guardrails.",
|
|
@@ -214,8 +214,12 @@ export function runHcloudOnce(plan: HcloudPlanWithArgs, options: HcloudRunOption
|
|
|
214
214
|
// marker, the worse direction. Comment promised fixed; anchor kept.
|
|
215
215
|
const useErrorSource = stripKooCliUpdateBanner(stdout).trim() || stderr.trim();
|
|
216
216
|
const useErrorFormatError = useErrorSource.match(/^\[?USE_ERROR\]?\s*参数\S*的格式错误[^\n]*$/i);
|
|
217
|
+
// #921 (live 2026-11-26, KooCLI 7.3.12): the VALUE-validation family —
|
|
218
|
+
// `[USE_ERROR]The value of os-start must match [].` from NovaStartServer
|
|
219
|
+
// (empty-body params have no inline spelling) — also exits 0 with the
|
|
220
|
+
// command never executed, so it joins the marked families here.
|
|
217
221
|
const useErrorMarked = useErrorSource.match(
|
|
218
|
-
/^\[?(?:ERROR|USE_ERROR)\]?[: ]*(?:unknown parameter|unknown option|incorrect (?:option|switch|parameter)|invalid (?:parameter|argument)|参数不存在|参数错误|无效的参数|缺少必填参数|不正确的参数|不支持的服务名称|Unsupported service|The following parameters are required|[^\n]{0,40}?parameter format must be|format must be)[^\n]*/i,
|
|
222
|
+
/^\[?(?:ERROR|USE_ERROR)\]?[: ]*(?:unknown parameter|unknown option|incorrect (?:option|switch|parameter)|invalid (?:parameter|argument)|参数不存在|参数错误|无效的参数|缺少必填参数|不正确的参数|不支持的服务名称|Unsupported service|The following parameters are required|The value of \S{1,60} must match|[^\n]{0,40}?parameter format must be|format must be)[^\n]*/i,
|
|
219
223
|
);
|
|
220
224
|
const paramError = useErrorMarked ?? useErrorFormatError;
|
|
221
225
|
if (paramError) {
|