@sensigo/realm-cli 0.40.0 → 0.41.0

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.
Files changed (60) hide show
  1. package/dist/agent/providers/agent-utils.d.ts +37 -13
  2. package/dist/agent/providers/agent-utils.d.ts.map +1 -1
  3. package/dist/agent/providers/agent-utils.js +92 -17
  4. package/dist/agent/providers/agent-utils.js.map +1 -1
  5. package/dist/commands/agent.d.ts +6 -0
  6. package/dist/commands/agent.d.ts.map +1 -1
  7. package/dist/commands/agent.js +28 -4
  8. package/dist/commands/agent.js.map +1 -1
  9. package/dist/commands/drain.d.ts.map +1 -1
  10. package/dist/commands/drain.js +37 -3
  11. package/dist/commands/drain.js.map +1 -1
  12. package/dist/commands/inspect.d.ts.map +1 -1
  13. package/dist/commands/inspect.js +19 -2
  14. package/dist/commands/inspect.js.map +1 -1
  15. package/dist/commands/list.d.ts.map +1 -1
  16. package/dist/commands/list.js +59 -8
  17. package/dist/commands/list.js.map +1 -1
  18. package/dist/commands/listen.d.ts +13 -0
  19. package/dist/commands/listen.d.ts.map +1 -1
  20. package/dist/commands/listen.js +36 -4
  21. package/dist/commands/listen.js.map +1 -1
  22. package/dist/commands/register.d.ts +25 -0
  23. package/dist/commands/register.d.ts.map +1 -1
  24. package/dist/commands/register.js +88 -20
  25. package/dist/commands/register.js.map +1 -1
  26. package/dist/commands/respond.d.ts.map +1 -1
  27. package/dist/commands/respond.js +23 -1
  28. package/dist/commands/respond.js.map +1 -1
  29. package/dist/commands/run.d.ts +34 -0
  30. package/dist/commands/run.d.ts.map +1 -1
  31. package/dist/commands/run.js +225 -11
  32. package/dist/commands/run.js.map +1 -1
  33. package/dist/commands/test.d.ts.map +1 -1
  34. package/dist/commands/test.js +48 -8
  35. package/dist/commands/test.js.map +1 -1
  36. package/dist/commands/validate.d.ts +19 -0
  37. package/dist/commands/validate.d.ts.map +1 -1
  38. package/dist/commands/validate.js +354 -82
  39. package/dist/commands/validate.js.map +1 -1
  40. package/dist/commands/watch.d.ts +30 -0
  41. package/dist/commands/watch.d.ts.map +1 -1
  42. package/dist/commands/watch.js +155 -21
  43. package/dist/commands/watch.js.map +1 -1
  44. package/dist/commands/workflow-list.d.ts +16 -0
  45. package/dist/commands/workflow-list.d.ts.map +1 -0
  46. package/dist/commands/workflow-list.js +96 -0
  47. package/dist/commands/workflow-list.js.map +1 -0
  48. package/dist/commands-registry.d.ts.map +1 -1
  49. package/dist/commands-registry.js +2 -0
  50. package/dist/commands-registry.js.map +1 -1
  51. package/dist/extensions/load-project-extensions.d.ts.map +1 -1
  52. package/dist/extensions/load-project-extensions.js +9 -3
  53. package/dist/extensions/load-project-extensions.js.map +1 -1
  54. package/dist/index.js +22 -1
  55. package/dist/index.js.map +1 -1
  56. package/dist/lib/loader-warnings.d.ts +24 -3
  57. package/dist/lib/loader-warnings.d.ts.map +1 -1
  58. package/dist/lib/loader-warnings.js +66 -5
  59. package/dist/lib/loader-warnings.js.map +1 -1
  60. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -2,9 +2,10 @@
2
2
  // @sensigo/realm-cli — command-line interface for Realm
3
3
  import 'dotenv/config';
4
4
  import { Command } from 'commander';
5
+ import { existsSync } from 'node:fs';
5
6
  import { workflowCommands, runCommands, topLevelCommands } from './commands-registry.js';
6
7
  const program = new Command();
7
- program.name('realm').description('Realm workflow engine CLI').version('0.40.0');
8
+ program.name('realm').description('Realm workflow engine CLI').version('0.41.0');
8
9
  // realm workflow — operations on workflow definitions
9
10
  const workflowCmd = new Command('workflow').description('Manage workflow definitions');
10
11
  for (const cmd of workflowCommands)
@@ -17,5 +18,25 @@ program.addCommand(workflowCmd);
17
18
  program.addCommand(runCmd);
18
19
  for (const cmd of topLevelCommands)
19
20
  program.addCommand(cmd);
21
+ // issue #427 — `realm run ./my-workflow` is the discoverability trap: `realm run` manages run
22
+ // INSTANCES, while the dev-mode runner is `realm workflow run`. Commander's own unknown-command
23
+ // error names the mistake but not the fix.
24
+ //
25
+ // A PRE-PARSE intercept rather than a `command:*` listener, and the difference matters: attaching
26
+ // that listener SUPPRESSES commander's unknown-command handling entirely (executed — silence and
27
+ // exit 0, a silent success), and hand-rolling a replacement would lose the near-miss suggestion
28
+ // commander already gives (`realm run inspct` prints "Did you mean inspect?" from an internal it
29
+ // does not export). Intercepting only the path-shaped case leaves every other token — typos
30
+ // included — falling through to commander untouched.
31
+ const [group, token] = process.argv.slice(2);
32
+ if (group === 'run' &&
33
+ token !== undefined &&
34
+ !token.startsWith('-') &&
35
+ !runCmd.commands.some((c) => c.name() === token) &&
36
+ (token.includes('/') || token.endsWith('.yaml') || token.endsWith('.yml') || existsSync(token))) {
37
+ console.error(`error: unknown command '${token}'`);
38
+ console.error(`Did you mean 'realm workflow run ${token}'? ('realm run' manages run instances; the dev-mode runner is 'realm workflow run'.)`);
39
+ process.exit(1);
40
+ }
20
41
  program.parse();
21
42
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA,wDAAwD;AACxD,OAAO,eAAe,CAAC;AACvB,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,gBAAgB,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAEzF,MAAM,OAAO,GAAG,IAAI,OAAO,EAAE,CAAC;AAE9B,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,WAAW,CAAC,2BAA2B,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;AAEjF,sDAAsD;AACtD,MAAM,WAAW,GAAG,IAAI,OAAO,CAAC,UAAU,CAAC,CAAC,WAAW,CAAC,6BAA6B,CAAC,CAAC;AACvF,KAAK,MAAM,GAAG,IAAI,gBAAgB;IAAE,WAAW,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;AAEhE,0CAA0C;AAC1C,MAAM,MA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C,UAAU,CAAC,WAAW,CAAC,CAAC;AAChC,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;AAC3B,KAAK,MAAM,GAAG,IAAI,gBAAgB;IAAE,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;AAE5D,8FAA8F;AAC9F,gGAAgG;AAChG,2CAA2C;AAC3C,EAAE;AACF,kGAAkG;AAClG,iGAAiG;AACjG,gGAAgG;AAChG,iGAAiG;AACjG,4FAA4F;AAC5F,qDAAqD;AACrD,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AAC7C,IACE,KAAK,KAAK,KAAK;IACf,KAAK,KAAK,SAAS;IACnB,CAAC,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC;IACtB,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,KAAK,KAAK,CAAC;IAChD,CAAC,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,UAAU,CAAC,KAAK,CAAC,CAAC,EAC/F,CAAC;IACD,OAAO,CAAC,KAAK,CAAC,2BAA2B,KAAK,GAAG,CAAC,CAAC;IACnD,OAAO,CAAC,KAAK,CACX,oCAAoC,KAAK,sFAAsF,CAChI,CAAC;IACF,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC;AAED,OAAO,CAAC,KAAK,EAAE,CAAC"}
@@ -1,4 +1,4 @@
1
- import { type LoaderWarning, type WarningCode } from '@sensigo/realm';
1
+ import { type WorkflowError, type LoaderWarning, type WarningCode } from '@sensigo/realm';
2
2
  /**
3
3
  * Prints every warning via the single renderLoaderWarning format source, correcting the
4
4
  * "— ignored" claim for any warning this boundary will actually refuse.
@@ -8,7 +8,7 @@ import { type LoaderWarning, type WarningCode } from '@sensigo/realm';
8
8
  * `--strict` path prints its own "failing due to --strict" line, so the author is not left
9
9
  * without an explanation.
10
10
  */
11
- export declare function printLoaderWarnings(warnings: LoaderWarning[]): void;
11
+ export declare function printLoaderWarnings(warnings: readonly LoaderWarning[]): void;
12
12
  /**
13
13
  * The dormant issue #170 boundary-reject hook, factored ONCE so validate/register/watch can't
14
14
  * drift from each other: resolves every warning against `policy` (default DEFAULT_POLICY — inert
@@ -20,6 +20,17 @@ export declare function printLoaderWarnings(warnings: LoaderWarning[]): void;
20
20
  export declare function rejectOnErrorSeverity(warnings: LoaderWarning[], policy?: Record<WarningCode, 'warn' | 'error'>): boolean;
21
21
  /** True if `--strict` should fail the command given these accumulated warnings. */
22
22
  export declare function failsStrict(warnings: LoaderWarning[]): boolean;
23
+ /**
24
+ * Wraps loadProjectExtensions' sentinel-credential warnings as LoaderWarning (issue #169).
25
+ *
26
+ * ONE copy (issue #444): validate.ts and register.ts each carried a byte-identical private one,
27
+ * and both baked a two-space `⚠ ` into the message. The prefix now belongs to
28
+ * `renderLoaderWarning` alone, so the message here is the input string verbatim.
29
+ *
30
+ * register's caller is `loadWorkflowForRegistration`, which `watch` also uses — so the strip
31
+ * reaches watch too, and there is no third caller.
32
+ */
33
+ export declare function wrapSentinelWarnings(sentinelWarnings: string[] | undefined): LoaderWarning[];
23
34
  /**
24
35
  * Renders a load failure without saying "invalid" twice (issue #417).
25
36
  *
@@ -32,5 +43,15 @@ export declare function failsStrict(warnings: LoaderWarning[]): boolean;
32
43
  * Applies only to the message-echoing renders. The standalone strict-escalation lines have their
33
44
  * own text and are untouched.
34
45
  */
35
- export declare function renderLoadFailure(message: string): string;
46
+ export declare function renderLoadFailure(err: WorkflowError | string): string;
47
+ /**
48
+ * The escalation line (issue #425). Extracted so the keyless branch below is reachable from a
49
+ * test: every WarningCode that escalates under the default policy happens to carry a key today,
50
+ * so no real fixture can drive it — and a clause nothing can exercise rots into a wrong guess
51
+ * about what a future keyless code would print.
52
+ *
53
+ * Shared by validate, register and watch (issue #451) — three callers earned it this home, per
54
+ * the one-caller rule recorded on validate's exitOnLoadFailure.
55
+ */
56
+ export declare function renderEscalationLine(warnings: readonly LoaderWarning[]): string;
36
57
  //# sourceMappingURL=loader-warnings.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"loader-warnings.d.ts","sourceRoot":"","sources":["../../src/lib/loader-warnings.ts"],"names":[],"mappings":"AAIA,OAAO,EAIL,KAAK,aAAa,EAClB,KAAK,WAAW,EACjB,MAAM,gBAAgB,CAAC;AAiBxB;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,aAAa,EAAE,GAAG,IAAI,CASnE;AAED;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CACnC,QAAQ,EAAE,aAAa,EAAE,EACzB,MAAM,GAAE,MAAM,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAkB,GAC7D,OAAO,CAET;AAWD,mFAAmF;AACnF,wBAAgB,WAAW,CAAC,QAAQ,EAAE,aAAa,EAAE,GAAG,OAAO,CAE9D;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAEzD"}
1
+ {"version":3,"file":"loader-warnings.d.ts","sourceRoot":"","sources":["../../src/lib/loader-warnings.ts"],"names":[],"mappings":"AAcA,OAAO,EAIL,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,WAAW,EACjB,MAAM,gBAAgB,CAAC;AAiBxB;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,SAAS,aAAa,EAAE,GAAG,IAAI,CAS5E;AAED;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CACnC,QAAQ,EAAE,aAAa,EAAE,EACzB,MAAM,GAAE,MAAM,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAkB,GAC7D,OAAO,CAET;AAWD,mFAAmF;AACnF,wBAAgB,WAAW,CAAC,QAAQ,EAAE,aAAa,EAAE,GAAG,OAAO,CAE9D;AAED;;;;;;;;;GASG;AACH,wBAAgB,oBAAoB,CAAC,gBAAgB,EAAE,MAAM,EAAE,GAAG,SAAS,GAAG,aAAa,EAAE,CAO5F;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,aAAa,GAAG,MAAM,GAAG,MAAM,CAiBrE;AAED;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,SAAS,aAAa,EAAE,GAAG,MAAM,CAW/E"}
@@ -1,7 +1,17 @@
1
1
  // loader-warnings.ts — shared CLI surfacing for the structured loader-warning channel (issue
2
- // #169). Every CLI command that prints loader warnings funnels through printLoaderWarnings (the
3
- // only caller of renderLoaderWarning no command hand-rolls a `⚠ ` string), and the dormant
4
- // #170 boundary-reject is factored into ONE shared helper so validate/register/watch can't drift.
2
+ // #169). The BOUNDARY commands validate, register, watch funnel every LoaderWarning through
3
+ // printLoaderWarnings, and the dormant #170 boundary-reject is factored into ONE shared helper so
4
+ // they can't drift.
5
+ //
6
+ // One deliberate exception (issue #450): the execution-LENIENT `realm workflow test` renders
7
+ // through renderLoaderWarning directly. printLoaderWarnings rewrites `— ignored` to
8
+ // `— REFUSED below` for the codes a boundary refuses, and `test` refuses nothing — it proceeds
9
+ // and can pass, so `— ignored` is the true word there and the substitution would not be.
10
+ //
11
+ // Precise as of issue #444: no command hand-rolls a ⚠ prefix for a LOADER WARNING. A few
12
+ // adjacent one-off notices — register's sentinel lines, test's sentinel echo — still print their
13
+ // own `⚠ ` directly, because they are plain strings rather than LoaderWarnings; they were
14
+ // normalized to the same single-space grammar so a mixed block cannot recur.
5
15
  import { renderLoaderWarning, resolveSeverity, DEFAULT_POLICY, } from '@sensigo/realm';
6
16
  /**
7
17
  * The unknown-key warning is minted with "— ignored", which is true of the LENIENT loader
@@ -55,6 +65,24 @@ const ALL_ERROR_POLICY = Object.fromEntries(Object.keys(DEFAULT_POLICY).map((cod
55
65
  export function failsStrict(warnings) {
56
66
  return rejectOnErrorSeverity(warnings, ALL_ERROR_POLICY);
57
67
  }
68
+ /**
69
+ * Wraps loadProjectExtensions' sentinel-credential warnings as LoaderWarning (issue #169).
70
+ *
71
+ * ONE copy (issue #444): validate.ts and register.ts each carried a byte-identical private one,
72
+ * and both baked a two-space `⚠ ` into the message. The prefix now belongs to
73
+ * `renderLoaderWarning` alone, so the message here is the input string verbatim.
74
+ *
75
+ * register's caller is `loadWorkflowForRegistration`, which `watch` also uses — so the strip
76
+ * reaches watch too, and there is no third caller.
77
+ */
78
+ export function wrapSentinelWarnings(sentinelWarnings) {
79
+ return (sentinelWarnings ?? []).map((message) => ({
80
+ code: 'EXTENSION_SENTINEL',
81
+ severity: resolveSeverity('EXTENSION_SENTINEL'),
82
+ scope: 'workflow',
83
+ message,
84
+ }));
85
+ }
58
86
  /**
59
87
  * Renders a load failure without saying "invalid" twice (issue #417).
60
88
  *
@@ -67,7 +95,40 @@ export function failsStrict(warnings) {
67
95
  * Applies only to the message-echoing renders. The standalone strict-escalation lines have their
68
96
  * own text and are untouched.
69
97
  */
70
- export function renderLoadFailure(message) {
71
- return message.startsWith('Invalid workflow:') ? message : `Invalid: ${message}`;
98
+ export function renderLoadFailure(err) {
99
+ // The string branch FIRST, and not only for the unit cells that drive it: several call sites
100
+ // pass `err instanceof Error ? err.message : String(err)`, so a plain string is a real caller
101
+ // shape, and an object-first implementation would reach for `.errors` on it.
102
+ if (typeof err === 'string') {
103
+ return err.startsWith('Invalid workflow:') ? err : `Invalid: ${err}`;
104
+ }
105
+ // issue #425: several problems collected into one throw get one line each. The array is the
106
+ // only place the boundaries survive — a loader message can itself contain '; ' (the #413
107
+ // four-clause text does), so splitting the joined message back apart would cut one message in
108
+ // half and call the halves two errors.
109
+ const parts = err.errors;
110
+ if (parts !== undefined && parts.length > 1) {
111
+ return [`Invalid workflow — ${parts.length} errors:`, ...parts.map((e) => ` ${e}`)].join('\n');
112
+ }
113
+ return renderLoadFailure(err.message);
114
+ }
115
+ /**
116
+ * The escalation line (issue #425). Extracted so the keyless branch below is reachable from a
117
+ * test: every WarningCode that escalates under the default policy happens to carry a key today,
118
+ * so no real fixture can drive it — and a clause nothing can exercise rots into a wrong guess
119
+ * about what a future keyless code would print.
120
+ *
121
+ * Shared by validate, register and watch (issue #451) — three callers earned it this home, per
122
+ * the one-caller rule recorded on validate's exitOnLoadFailure.
123
+ */
124
+ export function renderEscalationLine(warnings) {
125
+ // Same default policy `rejectOnErrorSeverity` just gated on, so the list can never disagree
126
+ // with the refusal it explains.
127
+ const escalated = warnings.filter((w) => resolveSeverity(w.code) === 'error');
128
+ const list = escalated
129
+ .map((w) => (w.key === undefined ? w.code : `${w.code} '${w.key}'`))
130
+ .join(', ');
131
+ return (`Invalid: ${warnings.length} ${warnings.length === 1 ? 'warning' : 'warnings'}, ` +
132
+ `${escalated.length} escalated to an error by policy: ${list}`);
72
133
  }
73
134
  //# sourceMappingURL=loader-warnings.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"loader-warnings.js","sourceRoot":"","sources":["../../src/lib/loader-warnings.ts"],"names":[],"mappings":"AAAA,6FAA6F;AAC7F,gGAAgG;AAChG,6FAA6F;AAC7F,kGAAkG;AAClG,OAAO,EACL,mBAAmB,EACnB,eAAe,EACf,cAAc,GAGf,MAAM,gBAAgB,CAAC;AAExB;;;;;;;;;;;GAWG;AACH,MAAM,cAAc,GAAG,WAAW,CAAC;AACnC,MAAM,cAAc,GAAG,iBAAiB,CAAC;AAEzC;;;;;;;;GAQG;AACH,MAAM,UAAU,mBAAmB,CAAC,QAAyB;IAC3D,KAAK,MAAM,CAAC,IAAI,QAAQ,EAAE,CAAC;QACzB,MAAM,IAAI,GAAG,mBAAmB,CAAC,CAAC,CAAC,CAAC;QACpC,OAAO,CAAC,IAAI,CACV,eAAe,CAAC,CAAC,CAAC,IAAI,EAAE,cAAc,CA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CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC;SACnE,IAAI,CAAC,IAAI,CAAC,CAAC;IACd,OAAO,CACL,YAAY,QAAQ,CAAC,MAAM,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,UAAU,IAAI;QACjF,GAAG,SAAS,CAAC,MAAM,qCAAqC,IAAI,EAAE,CAC/D,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sensigo/realm-cli",
3
- "version": "0.40.0",
3
+ "version": "0.41.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -64,9 +64,9 @@
64
64
  "vitest": "^4.1.0"
65
65
  },
66
66
  "dependencies": {
67
- "@sensigo/realm": "^0.40.0",
68
- "@sensigo/realm-mcp": "^0.40.0",
69
- "@sensigo/realm-testing": "^0.40.0",
67
+ "@sensigo/realm": "^0.41.0",
68
+ "@sensigo/realm-mcp": "^0.41.0",
69
+ "@sensigo/realm-testing": "^0.41.0",
70
70
  "@modelcontextprotocol/sdk": "1.30.0",
71
71
  "chalk": "^5.0.0",
72
72
  "commander": "^15.0.0",