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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "huaweicloud-devkit",
3
3
  "mcpName": "io.github.huaweicloud/huaweicloud-devkit",
4
- "version": "2.0.1-next.0",
4
+ "version": "2.0.1-next.1",
5
5
  "kooCliVersion": "7.3.12",
6
6
  "description": "Agent toolkit that helps coding agents use Huawei Cloud Skills, KooCLI, APIs, SDKs, and future MCP capabilities safely and accurately.",
7
7
  "type": "module",
@@ -16,7 +16,7 @@
16
16
  },
17
17
  "mcpServers": "./.mcp.json",
18
18
  "description": "Guide coding agents to use Huawei Cloud Skills, KooCLI, APIs, SDKs, and future MCP capabilities with safer execution and less context.",
19
- "version": "2.0.1-next.0",
19
+ "version": "2.0.1-next.1",
20
20
  "author": {
21
21
  "name": "HuaweiCloud Mate",
22
22
  "url": "https://github.com/huaweicloud"
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "mcpServers": "./.mcp.json",
21
21
  "description": "Agent toolkit that helps coding agents use Huawei Cloud Skills, KooCLI, APIs, SDKs, and future MCP capabilities safely and accurately.",
22
- "version": "2.0.1-next.0",
22
+ "version": "2.0.1-next.1",
23
23
  "author": {
24
24
  "name": "HuaweiCloud Mate",
25
25
  "url": "https://github.com/huaweicloud"
@@ -16,7 +16,7 @@
16
16
  },
17
17
  "mcpServers": "./.mcp.json",
18
18
  "description": "Guide coding agents to use Huawei Cloud Skills, KooCLI, APIs, SDKs, and future MCP capabilities with safer execution and less context.",
19
- "version": "2.0.1-next.0",
19
+ "version": "2.0.1-next.1",
20
20
  "author": {
21
21
  "name": "HuaweiCloud Mate",
22
22
  "url": "https://github.com/huaweicloud"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "huaweicloud-devkit",
3
- "version": "2.0.1-next.0",
3
+ "version": "2.0.1-next.1",
4
4
  "description": "Guide coding agents to use Huawei Cloud Skills, KooCLI, APIs, SDKs, and future MCP capabilities with safer execution and less context.",
5
5
  "author": {
6
6
  "name": "HuaweiCloud Mate",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "huaweicloud-devkit",
3
- "version": "2.0.1-next.0",
3
+ "version": "2.0.1-next.1",
4
4
  "description": "Guide coding agents to use Huawei Cloud Skills, KooCLI, APIs, SDKs, and future MCP capabilities with safer execution and less context.",
5
5
  "author": {
6
6
  "name": "HuaweiCloud Mate",
@@ -210,7 +210,11 @@ export function runHcloudOnce(plan, options) {
210
210
  // marker, the worse direction. Comment promised fixed; anchor kept.
211
211
  const useErrorSource = stripKooCliUpdateBanner(stdout).trim() || stderr.trim();
212
212
  const useErrorFormatError = useErrorSource.match(/^\[?USE_ERROR\]?\s*参数\S*的格式错误[^\n]*$/i);
213
- const useErrorMarked = useErrorSource.match(/^\[?(?: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);
213
+ // #921 (live 2026-11-26, KooCLI 7.3.12): the VALUE-validation family —
214
+ // `[USE_ERROR]The value of os-start must match [].` from NovaStartServer
215
+ // (empty-body params have no inline spelling) — also exits 0 with the
216
+ // command never executed, so it joins the marked families here.
217
+ const useErrorMarked = useErrorSource.match(/^\[?(?: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);
214
218
  const paramError = useErrorMarked ?? useErrorFormatError;
215
219
  if (paramError) {
216
220
  finish({
@@ -59544,7 +59544,7 @@ function runHcloudOnce(plan, options) {
59544
59544
  const combined = `${stdout}${stderr}`;
59545
59545
  const useErrorSource = stripKooCliUpdateBanner(stdout).trim() || stderr.trim();
59546
59546
  const useErrorFormatError = useErrorSource.match(/^\[?USE_ERROR\]?\s*参数\S*的格式错误[^\n]*$/i);
59547
- const useErrorMarked = useErrorSource.match(/^\[?(?: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);
59547
+ const useErrorMarked = useErrorSource.match(/^\[?(?: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);
59548
59548
  const paramError = useErrorMarked ?? useErrorFormatError;
59549
59549
  if (paramError) {
59550
59550
  finish({