@stalfh233/omc-cli 0.4.90 → 0.4.91

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.
@@ -302,6 +302,21 @@ export function registerListViewLane(tools) {
302
302
  conditions,
303
303
  actionCodes: readArray(model, "queryActions").map((action) => action.actionCode).filter((value) => value !== undefined),
304
304
  buttonCount: readArray(model, "customButtons").length,
305
+ // r14 F5 / r11 #6: the default face exposed only `buttonCount`, so a
306
+ // caller could not prove WHICH buttons landed (it had to trust the
307
+ // configure readback or cross-check rule.list). Codes + bindings cost
308
+ // ~40 B per button and answer "did my buttons land?"; the full
309
+ // script/actionConfig payload stays behind `buttons:true`.
310
+ buttonCodes: readArray(model, "customButtons").map((button) => button.code).filter((value) => typeof value === "string"),
311
+ buttonBindings: readArray(model, "customButtons")
312
+ .filter((button) => typeof button.code === "string")
313
+ .map((button) => ({
314
+ code: button.code,
315
+ ...(button.bindAction !== undefined ? { bindAction: button.bindAction } : {}),
316
+ ...(button.targetCode !== undefined ? { targetCode: button.targetCode } : {}),
317
+ ...(button.targetModel !== undefined ? { targetModel: button.targetModel } : {}),
318
+ ...(button.targetForm !== undefined ? { targetForm: button.targetForm } : {}),
319
+ })),
305
320
  // Button scripts live in h_biz_button.actionConfig (a JSON STRING)
306
321
  // whose `scriptData` holds the source for bindAction=SCRIPT. Surfacing
307
322
  // them here removes the "listview.get → artifact → JSON.parse →
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stalfh233/omc-cli",
3
- "version": "0.4.90",
3
+ "version": "0.4.91",
4
4
  "description": "CloudPivot 8.6 configuration capability CLI — governed, fail-closed, coverage-manifest bounded.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -50,9 +50,9 @@
50
50
  "access": "public"
51
51
  },
52
52
  "dependencies": {
53
- "@stalfh233/omc-fake-platform": "0.4.90",
53
+ "@stalfh233/omc-fake-platform": "0.4.91",
54
54
  "commander": "14.0.3",
55
- "omc-core": "0.4.90",
55
+ "omc-core": "0.4.91",
56
56
  "proper-lockfile": "4.1.2",
57
57
  "write-file-atomic": "6.0.0",
58
58
  "zod": "^3.23.8",