@stalfh233/omc-cli 0.4.26 → 0.4.27

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.
@@ -178,9 +178,13 @@ function phraseOf(tool, args, outcome) {
178
178
  case "method.delete":
179
179
  return `删除业务集成方法 ${stringArg(args, "methodCode") ?? "?"}(服务 ${stringArg(args, "serviceCode") ?? "?"})`;
180
180
  case "data.save":
181
+ // r19 opencode-run finding: a stale r5-crm-era summary (written for an
182
+ // abandoned submit-flag design) contradicted the REAL one-call chain —
183
+ // the agent read "规则不派发" next to a COMPLETED readback with the rule
184
+ // fired. The summary must match the delivered semantics.
181
185
  return args.submit === true
182
- ? `保存数据(模型 ${schemaCode ?? "?"})——submit:true 不走表单提交管线:行落 DRAFT、预置 Create/Update 规则不派发。要建行并触发规则:直接调 data.submit(不带 bizObjectId=新建并提交,行 COMPLETED、规则派发,r5-crm 实证 2026-10-09);data.save 仅用于存草稿`
183
- : `保存数据(模型 ${schemaCode ?? "?"})`;
186
+ ? `保存并直提数据(模型 ${schemaCode ?? "?"})——一调完成态:DRAFT→COMPLETED,Create 规则已派发(无流程模型;流程模型会拒绝并指路两段式)`
187
+ : `保存数据(模型 ${schemaCode ?? "?"})——草稿 DRAFT;要一调完成态加 submit:true`;
184
188
  case "data.update":
185
189
  return `更新数据 ${stringArg(args, "bizObjectId") ?? "?"}(${schemaCode ?? "?"})`;
186
190
  case "data.submit":
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stalfh233/omc-cli",
3
- "version": "0.4.26",
3
+ "version": "0.4.27",
4
4
  "description": "CloudPivot 8.6 configuration capability CLI — governed, fail-closed, coverage-manifest bounded.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -51,7 +51,7 @@
51
51
  },
52
52
  "dependencies": {
53
53
  "commander": "14.0.3",
54
- "omc-core": "0.4.26",
54
+ "omc-core": "0.4.27",
55
55
  "proper-lockfile": "4.1.2",
56
56
  "write-file-atomic": "6.0.0",
57
57
  "zod": "^3.23.8",