@hcmai/cli 0.21.4 → 0.21.6

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.
@@ -44,6 +44,11 @@ hcm chiron seed verify --work <工作目录> --ledger-only
44
44
  **它跑绿了不代表写通道存在** —— 2026-09-01 演示环境租户 15 就是 dry-run 全绿 531 条、
45
45
  正式导入在 prepare 上当场拦死,一个写请求都没发出去。
46
46
 
47
+ DataPackage YAML 写入失败时用 `hcm import <路径> --report <报告路径>`,先读失败行的
48
+ `errorCode`、`field`、`details`、`nextStep` 和 `traceId`,不要凭 HTTP 400 判定标准字段不可写。
49
+ 写入前运行 `hcm describe <Model> -v`,使用枚举码值,并核对 JSON、小数、只读及系统管理标记;
50
+ 未返回的错误字段和状态表示缺少诊断信息,不当作已确认的具体拒绝原因。
51
+
47
52
  ## 退出码
48
53
 
49
54
  | rc | 含义 | 你该做什么 |
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "cliVersion": "0.21.4",
3
+ "cliVersion": "0.21.6",
4
4
  "commands": [
5
5
  {
6
6
  "path": "action",
@@ -1192,12 +1192,12 @@
1192
1192
  "requires": [
1193
1193
  "hcm-delivery-doctor"
1194
1194
  ],
1195
- "bytes": 14361,
1195
+ "bytes": 14803,
1196
1196
  "files": [
1197
1197
  {
1198
1198
  "path": "SKILL.md",
1199
- "bytes": 14361,
1200
- "sha256": "db2726a3d33f1207f4c1e7b67bbf0ae015f550eea8d10cf1eef7014a6fcf6fbe"
1199
+ "bytes": 14803,
1200
+ "sha256": "8aa605104d4b64d4739988fa7f0d28e924a4d215b999e564fdc4b0777e6bec34"
1201
1201
  }
1202
1202
  ]
1203
1203
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hcmai/cli",
3
- "version": "0.21.4",
3
+ "version": "0.21.6",
4
4
  "description": "Official HCM Next CLI for business APIs, tenant delivery, workspaces, and AI agents.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -37,7 +37,7 @@
37
37
  "test": "vitest run"
38
38
  },
39
39
  "dependencies": {
40
- "@hcmai/sdk": "0.21.4",
40
+ "@hcmai/sdk": "0.21.6",
41
41
  "axios": "^1.6.0",
42
42
  "commander": "^12.0.0",
43
43
  "ink": "^7.0.5",