@memberjunction/cli 6.2.0-edge.0 → 6.2.0-edge.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.
Files changed (197) hide show
  1. package/dist/baseline/cli-helpers.d.ts +4 -0
  2. package/dist/baseline/cli-helpers.d.ts.map +1 -1
  3. package/dist/baseline/cli-helpers.js +18 -10
  4. package/dist/baseline/cli-helpers.js.map +1 -1
  5. package/dist/baseline/comparator.d.ts +5 -3
  6. package/dist/baseline/comparator.d.ts.map +1 -1
  7. package/dist/baseline/comparator.js +142 -138
  8. package/dist/baseline/comparator.js.map +1 -1
  9. package/dist/baseline/connection.d.ts +8 -6
  10. package/dist/baseline/connection.d.ts.map +1 -1
  11. package/dist/baseline/connection.js +16 -12
  12. package/dist/baseline/connection.js.map +1 -1
  13. package/dist/baseline/data-dumper.d.ts +7 -3
  14. package/dist/baseline/data-dumper.d.ts.map +1 -1
  15. package/dist/baseline/data-dumper.js +33 -25
  16. package/dist/baseline/data-dumper.js.map +1 -1
  17. package/dist/baseline/emitter.d.ts +5 -3
  18. package/dist/baseline/emitter.d.ts.map +1 -1
  19. package/dist/baseline/emitter.js +114 -110
  20. package/dist/baseline/emitter.js.map +1 -1
  21. package/dist/baseline/index.d.ts +7 -7
  22. package/dist/baseline/index.d.ts.map +1 -1
  23. package/dist/baseline/index.js +7 -7
  24. package/dist/baseline/index.js.map +1 -1
  25. package/dist/baseline/introspector-mssql.d.ts +2 -0
  26. package/dist/baseline/introspector-mssql.d.ts.map +1 -1
  27. package/dist/baseline/introspector-mssql.js +68 -64
  28. package/dist/baseline/introspector-mssql.js.map +1 -1
  29. package/dist/baseline/introspector-postgres.d.ts +2 -0
  30. package/dist/baseline/introspector-postgres.d.ts.map +1 -1
  31. package/dist/baseline/introspector-postgres.js +34 -30
  32. package/dist/baseline/introspector-postgres.js.map +1 -1
  33. package/dist/baseline/report.d.ts +4 -0
  34. package/dist/baseline/report.d.ts.map +1 -1
  35. package/dist/baseline/report.js +25 -17
  36. package/dist/baseline/report.js.map +1 -1
  37. package/dist/baseline/types.d.ts +71 -71
  38. package/dist/baseline/util.d.ts +54 -6
  39. package/dist/baseline/util.d.ts.map +1 -1
  40. package/dist/baseline/util.js +112 -36
  41. package/dist/baseline/util.js.map +1 -1
  42. package/dist/commands/ai/actions/list.js +7 -7
  43. package/dist/commands/ai/actions/run.js +7 -7
  44. package/dist/commands/ai/agents/list.js +7 -7
  45. package/dist/commands/ai/agents/run.js +9 -9
  46. package/dist/commands/ai/audit/agent-run.js +7 -7
  47. package/dist/commands/ai/prompts/run.js +7 -7
  48. package/dist/commands/app/check-updates.js +5 -5
  49. package/dist/commands/app/disable.js +2 -2
  50. package/dist/commands/app/enable.js +2 -2
  51. package/dist/commands/app/info.js +2 -2
  52. package/dist/commands/app/install.js +2 -2
  53. package/dist/commands/app/list.js +2 -2
  54. package/dist/commands/app/remove.js +4 -4
  55. package/dist/commands/app/upgrade.js +2 -2
  56. package/dist/commands/artifacts/reclassify.js +2 -2
  57. package/dist/commands/baseline/build.js +31 -31
  58. package/dist/commands/baseline/build.js.map +1 -1
  59. package/dist/commands/baseline/compare.js +36 -36
  60. package/dist/commands/baseline/roundtrip.js +56 -54
  61. package/dist/commands/baseline/roundtrip.js.map +1 -1
  62. package/dist/commands/bundle/index.js +4 -4
  63. package/dist/commands/clean/index.js +3 -3
  64. package/dist/commands/codegen/manifest.d.ts +2 -0
  65. package/dist/commands/codegen/manifest.d.ts.map +1 -1
  66. package/dist/commands/codegen/manifest.js +8 -4
  67. package/dist/commands/codegen/manifest.js.map +1 -1
  68. package/dist/commands/dev/workspace/index.d.ts +2 -0
  69. package/dist/commands/dev/workspace/index.d.ts.map +1 -1
  70. package/dist/commands/dev/workspace/index.js +8 -4
  71. package/dist/commands/dev/workspace/index.js.map +1 -1
  72. package/dist/commands/install/claude.d.ts +2 -0
  73. package/dist/commands/install/claude.d.ts.map +1 -1
  74. package/dist/commands/install/claude.js +11 -7
  75. package/dist/commands/install/claude.js.map +1 -1
  76. package/dist/commands/install/index.js +3 -3
  77. package/dist/commands/migrate/convert.d.ts +21 -0
  78. package/dist/commands/migrate/convert.d.ts.map +1 -1
  79. package/dist/commands/migrate/convert.js +22 -6
  80. package/dist/commands/migrate/convert.js.map +1 -1
  81. package/dist/commands/migrate/create.js +2 -2
  82. package/dist/commands/migrate/index.js +16 -16
  83. package/dist/commands/sync/file-reset.js +2 -2
  84. package/dist/commands/sync/init.js +3 -3
  85. package/dist/commands/test/compare.js +6 -6
  86. package/dist/commands/test/history.js +6 -6
  87. package/dist/commands/test/list.js +6 -6
  88. package/dist/commands/test/regression/build.js +5 -5
  89. package/dist/commands/test/regression/compare.js +3 -3
  90. package/dist/commands/test/regression/down.js +4 -4
  91. package/dist/commands/test/regression/export.js +4 -4
  92. package/dist/commands/test/regression/gen-forms.js +3 -3
  93. package/dist/commands/test/regression/remote.js +10 -10
  94. package/dist/commands/test/regression/up.js +6 -6
  95. package/dist/commands/test/run.js +6 -6
  96. package/dist/commands/test/suite.js +6 -6
  97. package/dist/commands/test/validate.js +6 -6
  98. package/dist/commands/translate-sql/index.js +25 -25
  99. package/dist/commands/update/claude.js +7 -7
  100. package/dist/commands/usage.js +4 -4
  101. package/dist/config.d.ts +175 -1
  102. package/dist/config.d.ts.map +1 -1
  103. package/dist/config.js +23 -9
  104. package/dist/config.js.map +1 -1
  105. package/dist/hooks/postrun.js +2 -2
  106. package/dist/hooks/prerun.js +2 -2
  107. package/dist/hooks/prerun.js.map +1 -1
  108. package/dist/lib/claude-pack/ManagedBlockEditor.d.ts +6 -0
  109. package/dist/lib/claude-pack/ManagedBlockEditor.d.ts.map +1 -1
  110. package/dist/lib/claude-pack/ManagedBlockEditor.js +18 -6
  111. package/dist/lib/claude-pack/ManagedBlockEditor.js.map +1 -1
  112. package/dist/lib/claude-pack/PackFetcher.d.ts +8 -3
  113. package/dist/lib/claude-pack/PackFetcher.d.ts.map +1 -1
  114. package/dist/lib/claude-pack/PackFetcher.js +26 -18
  115. package/dist/lib/claude-pack/PackFetcher.js.map +1 -1
  116. package/dist/lib/claude-pack/PackInstaller.d.ts +6 -2
  117. package/dist/lib/claude-pack/PackInstaller.d.ts.map +1 -1
  118. package/dist/lib/claude-pack/PackInstaller.js +19 -13
  119. package/dist/lib/claude-pack/PackInstaller.js.map +1 -1
  120. package/dist/lib/claude-pack/PackMerger.d.ts +8 -0
  121. package/dist/lib/claude-pack/PackMerger.d.ts.map +1 -1
  122. package/dist/lib/claude-pack/PackMerger.js +63 -57
  123. package/dist/lib/claude-pack/PackMerger.js.map +1 -1
  124. package/dist/lib/claude-pack/PackOutputFormatter.d.ts +4 -0
  125. package/dist/lib/claude-pack/PackOutputFormatter.d.ts.map +1 -1
  126. package/dist/lib/claude-pack/PackOutputFormatter.js +10 -2
  127. package/dist/lib/claude-pack/PackOutputFormatter.js.map +1 -1
  128. package/dist/lib/claude-pack/PackPaths.d.ts +12 -0
  129. package/dist/lib/claude-pack/PackPaths.d.ts.map +1 -1
  130. package/dist/lib/claude-pack/PackPaths.js +31 -7
  131. package/dist/lib/claude-pack/PackPaths.js.map +1 -1
  132. package/dist/lib/claude-pack/PackTypes.d.ts +18 -14
  133. package/dist/lib/claude-pack/PackTypes.d.ts.map +1 -1
  134. package/dist/lib/claude-pack/PackTypes.js +11 -3
  135. package/dist/lib/claude-pack/PackTypes.js.map +1 -1
  136. package/dist/lib/claude-pack/SettingsMerger.d.ts +10 -0
  137. package/dist/lib/claude-pack/SettingsMerger.d.ts.map +1 -1
  138. package/dist/lib/claude-pack/SettingsMerger.js +36 -16
  139. package/dist/lib/claude-pack/SettingsMerger.js.map +1 -1
  140. package/dist/lib/cli-plugins.d.ts +2 -0
  141. package/dist/lib/cli-plugins.d.ts.map +1 -1
  142. package/dist/lib/cli-plugins.js +8 -4
  143. package/dist/lib/cli-plugins.js.map +1 -1
  144. package/dist/lib/db-preflight.d.ts +2 -0
  145. package/dist/lib/db-preflight.d.ts.map +1 -1
  146. package/dist/lib/db-preflight.js +12 -8
  147. package/dist/lib/db-preflight.js.map +1 -1
  148. package/dist/lib/db-version.d.ts +2 -0
  149. package/dist/lib/db-version.d.ts.map +1 -1
  150. package/dist/lib/db-version.js +5 -1
  151. package/dist/lib/db-version.js.map +1 -1
  152. package/dist/lib/derived-usage.d.ts +14 -8
  153. package/dist/lib/derived-usage.d.ts.map +1 -1
  154. package/dist/lib/derived-usage.js +30 -18
  155. package/dist/lib/derived-usage.js.map +1 -1
  156. package/dist/lib/domain-profiles.d.ts +4 -2
  157. package/dist/lib/domain-profiles.d.ts.map +1 -1
  158. package/dist/lib/domain-profiles.js +53 -49
  159. package/dist/lib/domain-profiles.js.map +1 -1
  160. package/dist/lib/domain-usage-command.js +4 -4
  161. package/dist/lib/dynamic-packages.d.ts +4 -2
  162. package/dist/lib/dynamic-packages.d.ts.map +1 -1
  163. package/dist/lib/dynamic-packages.js +9 -5
  164. package/dist/lib/dynamic-packages.js.map +1 -1
  165. package/dist/lib/format-compat.d.ts +9 -7
  166. package/dist/lib/format-compat.d.ts.map +1 -1
  167. package/dist/lib/format-compat.js +12 -8
  168. package/dist/lib/format-compat.js.map +1 -1
  169. package/dist/lib/interactive-guard.d.ts +16 -0
  170. package/dist/lib/interactive-guard.d.ts.map +1 -1
  171. package/dist/lib/interactive-guard.js +18 -6
  172. package/dist/lib/interactive-guard.js.map +1 -1
  173. package/dist/lib/migration-fetch.d.ts +16 -4
  174. package/dist/lib/migration-fetch.d.ts.map +1 -1
  175. package/dist/lib/migration-fetch.js +30 -18
  176. package/dist/lib/migration-fetch.js.map +1 -1
  177. package/dist/lib/regression/docker-helpers.d.ts +24 -0
  178. package/dist/lib/regression/docker-helpers.d.ts.map +1 -1
  179. package/dist/lib/regression/docker-helpers.js +46 -10
  180. package/dist/lib/regression/docker-helpers.js.map +1 -1
  181. package/dist/lib/usage-render.d.ts +6 -0
  182. package/dist/lib/usage-render.d.ts.map +1 -1
  183. package/dist/lib/usage-render.js +15 -3
  184. package/dist/lib/usage-render.js.map +1 -1
  185. package/dist/translate-sql/groundTruth.d.ts +3 -3
  186. package/dist/translate-sql/groundTruth.js +40 -40
  187. package/dist/translate-sql/reportGenerator.d.ts +7 -7
  188. package/dist/translate-sql/reportGenerator.js +18 -18
  189. package/dist/translate-sql/ruleTranslator.d.ts +3 -3
  190. package/dist/translate-sql/ruleTranslator.js +8 -8
  191. package/dist/translate-sql/ruleTranslator.js.map +1 -1
  192. package/dist/utils/open-app-context.d.ts +21 -0
  193. package/dist/utils/open-app-context.d.ts.map +1 -1
  194. package/dist/utils/open-app-context.js +26 -10
  195. package/dist/utils/open-app-context.js.map +1 -1
  196. package/oclif.manifest.json +1185 -1185
  197. package/package.json +22 -22
@@ -19,7 +19,7 @@
19
19
  * first, so a migrated command always keeps its richer, curated metadata.
20
20
  */
21
21
  import { CLIPluginRegistry } from '@memberjunction/cli-core';
22
- import { getDomainProfile } from './domain-profiles.js';
22
+ import { GetDomainProfile } from './domain-profiles.js';
23
23
  /**
24
24
  * oclif's own built-in plugin commands. They are real commands, but they are not part
25
25
  * of MJ's surface — advertising `help` and `version` as top-level *domains* in the
@@ -31,9 +31,13 @@ function normalizeCommandKey(id) {
31
31
  return id.trim().replace(/[\s:]+/g, ':');
32
32
  }
33
33
  /** The domain is the first segment: `sync:push` → `sync`, `codegen` → `codegen`. */
34
- export function domainOf(commandId) {
34
+ export function DomainOf(commandId) {
35
35
  return normalizeCommandKey(commandId).split(':')[0] ?? commandId;
36
36
  }
37
+ /** @deprecated Use {@link DomainOf}. */
38
+ export function domainOf(commandId) {
39
+ return DomainOf(commandId);
40
+ }
37
41
  /**
38
42
  * First sentence (or first line) of a description, for the one-line summary.
39
43
  * oclif descriptions are frequently multi-paragraph; the tier-1 map has room for one line.
@@ -65,10 +69,10 @@ function normalizeFlags(flags) {
65
69
  if (!def)
66
70
  continue;
67
71
  const type = def.options?.length ? def.options.join('|') : (def.type ?? 'string');
68
- const parts = [def.description ?? ''];
69
- if (def.char)
70
- parts.push(`(-${def.char})`);
71
- if (def.required)
72
+ const parts = [def.Description ?? ''];
73
+ if (def.Char)
74
+ parts.push(`(-${def.Char})`);
75
+ if (def.Required)
72
76
  parts.push('(required)');
73
77
  out.push({ name: `--${name}`, type, description: parts.filter(Boolean).join(' ').trim() });
74
78
  }
@@ -79,21 +83,25 @@ function normalizeFlags(flags) {
79
83
  *
80
84
  * Exported for testing — the registration path below is what production calls.
81
85
  */
82
- export function deriveUsage(command) {
83
- const key = normalizeCommandKey(command.id);
84
- const domain = domainOf(key);
85
- const profile = getDomainProfile(domain);
86
- const description = command.description ?? command.summary;
86
+ export function DeriveUsage(command) {
87
+ const key = normalizeCommandKey(command.Id);
88
+ const domain = DomainOf(key);
89
+ const profile = GetDomainProfile(domain);
90
+ const description = command.Description ?? command.summary;
87
91
  return {
88
92
  domain,
89
93
  command: key,
90
94
  summary: command.summary ?? firstLine(description) ?? `mj ${key.replace(/:/g, ' ')}`,
91
95
  description,
92
- flags: normalizeFlags(command.flags),
93
- examples: normalizeExamples(command.examples),
94
- runtime: profile.runtime,
96
+ flags: normalizeFlags(command.Flags),
97
+ examples: normalizeExamples(command.Examples),
98
+ runtime: profile.Runtime,
95
99
  };
96
100
  }
101
+ /** @deprecated Use {@link DeriveUsage}. */
102
+ export function deriveUsage(command) {
103
+ return DeriveUsage(command);
104
+ }
97
105
  /**
98
106
  * Registers derived usage for every visible oclif command.
99
107
  *
@@ -105,17 +113,21 @@ export function deriveUsage(command) {
105
113
  *
106
114
  * Returns the keys it registered, so a caller or test can assert coverage.
107
115
  */
108
- export function registerDerivedUsage(commands) {
116
+ export function RegisterDerivedUsage(commands) {
109
117
  const registered = [];
110
118
  for (const command of commands) {
111
- if (!command?.id || command.hidden)
119
+ if (!command?.Id || command.Hidden)
112
120
  continue;
113
- if (BUILT_IN_COMMANDS.has(normalizeCommandKey(command.id)))
121
+ if (BUILT_IN_COMMANDS.has(normalizeCommandKey(command.Id)))
114
122
  continue;
115
- const usage = deriveUsage(command);
123
+ const usage = DeriveUsage(command);
116
124
  CLIPluginRegistry.RegisterUsage(usage);
117
125
  registered.push(usage.command);
118
126
  }
119
127
  return registered;
120
128
  }
129
+ /** @deprecated Use {@link RegisterDerivedUsage}. */
130
+ export function registerDerivedUsage(commands) {
131
+ return RegisterDerivedUsage(commands);
132
+ }
121
133
  //# sourceMappingURL=derived-usage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"derived-usage.js","sourceRoot":"","sources":["../../src/lib/derived-usage.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,EAAE,iBAAiB,EAA0C,MAAM,0BAA0B,CAAC;AACrG,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AA2BxD;;;;GAIG;AACH,MAAM,iBAAiB,GAAwB,IAAI,GAAG,CAAC,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,CAAC;AAE5E,yFAAyF;AACzF,SAAS,mBAAmB,CAAC,EAAU;IACrC,OAAO,EAAE,CAAC,IAAI,EAAE,CAAC,OAAO,CAAC,SAAS,EAAE,GAAG,CAAC,CAAC;AAC3C,CAAC;AAED,oFAAoF;AACpF,MAAM,UAAU,QAAQ,CAAC,SAAiB;IACxC,OAAO,mBAAmB,CAAC,SAAS,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,SAAS,CAAC;AACnE,CAAC;AAED;;;GAGG;AACH,SAAS,SAAS,CAAC,IAAwB;IACzC,IAAI,CAAC,IAAI;QAAE,OAAO,SAAS,CAAC;IAC5B,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IAC7E,IAAI,CAAC,IAAI;QAA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,EAAE,OAAO,CAAC,OAAO,IAAI,SAAS,CAAC,WAAW,CAAC,IAAI,MAAM,GAAG,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,EAAE;QACpF,WAAW;QACX,KAAK,EAAE,cAAc,CAAC,OAAO,CAAC,KAAK,CAAC;QACpC,QAAQ,EAAE,iBAAiB,CAAC,OAAO,CAAC,QAAQ,CAAC;QAC7C,OAAO,EAAE,OAAO,CAAC,OAAO;KACzB,CAAC;AACJ,CAAC;AAED,2CAA2C;AAC3C,MAAM,UAAU,WAAW,CAAC,OAA0B;IACpD,OAAO,WAAW,CAAC,OAAO,CAAC,CAAC;AAC9B,CAAC;AAED;;;;;;;;;;GAUG;AACH,MAAM,UAAU,oBAAoB,CAAC,QAAsC;IACzE,MAAM,UAAU,GAAa,EAAE,CAAC;IAChC,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;QAC/B,IAAI,CAAC,OAAO,EAAE,EAAE,IAAI,OAAO,CAAC,MAAM;YAAE,SAAS;QAC7C,IAAI,iBAAiB,CAAC,GAAG,CAAC,mBAAmB,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;YAAE,SAAS;QACrE,MAAM,KAAK,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC;QACnC,iBAAiB,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;QACvC,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IACjC,CAAC;IACD,OAAO,UAAU,CAAC;AACpB,CAAC;AAED,oDAAoD;AACpD,MAAM,UAAU,oBAAoB,CAAC,QAAsC;IACzE,OAAO,oBAAoB,CAAC,QAAQ,CAAC,CAAC;AACxC,CAAC"}
@@ -16,9 +16,9 @@ import type { RuntimeHint } from '@memberjunction/cli-core';
16
16
  */
17
17
  export interface DomainProfile {
18
18
  /** One line for the tier-1 `mj usage` map. */
19
- summary: string;
19
+ Summary: string;
20
20
  /** Timeout budget for the slowest command in the domain. */
21
- runtime: RuntimeHint;
21
+ Runtime: RuntimeHint;
22
22
  }
23
23
  /**
24
24
  * Applied to any domain not listed below. `variable` is the honest answer for an
@@ -38,5 +38,7 @@ export declare const DEFAULT_DOMAIN_PROFILE: DomainProfile;
38
38
  */
39
39
  export declare const DOMAIN_PROFILES: Readonly<Record<string, DomainProfile>>;
40
40
  /** The profile for a domain, falling back to {@link DEFAULT_DOMAIN_PROFILE}. */
41
+ export declare function GetDomainProfile(domain: string): DomainProfile;
42
+ /** @deprecated Use {@link GetDomainProfile}. */
41
43
  export declare function getDomainProfile(domain: string): DomainProfile;
42
44
  //# sourceMappingURL=domain-profiles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"domain-profiles.d.ts","sourceRoot":"","sources":["../../src/lib/domain-profiles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D;;;;;;;;;;;;;;GAcG;AACH,MAAM,WAAW,aAAa;IAC5B,8CAA8C;IAC9C,OAAO,EAAE,MAAM,CAAC;IAChB,4DAA4D;IAC5D,OAAO,EAAE,WAAW,CAAC;CACtB;AAED;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,EAAE,aAGpC,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CA6FnE,CAAC;AAEF,gFAAgF;AAChF,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,MAAM,GAAG,aAAa,CAE9D"}
1
+ {"version":3,"file":"domain-profiles.d.ts","sourceRoot":"","sources":["../../src/lib/domain-profiles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D;;;;;;;;;;;;;;GAcG;AACH,MAAM,WAAW,aAAa;IAC5B,8CAA8C;IAC9C,OAAO,EAAE,MAAM,CAAC;IAChB,4DAA4D;IAC5D,OAAO,EAAE,WAAW,CAAC;CACtB;AAED;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,EAAE,aAGpC,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CA6FnE,CAAC;AAEF,gFAAgF;AAChF,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,MAAM,GAAG,aAAa,CAE9D;AAED,gDAAgD;AAChD,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,MAAM,GAAG,aAAa,CAE9D"}
@@ -4,8 +4,8 @@
4
4
  * rather than implying a fast run.
5
5
  */
6
6
  export const DEFAULT_DOMAIN_PROFILE = {
7
- summary: 'See `mj <domain> usage` for this domain’s commands.',
8
- runtime: { class: 'variable', note: 'no runtime profile declared for this domain' },
7
+ Summary: 'See `mj <domain> usage` for this domain’s commands.',
8
+ Runtime: { class: 'variable', note: 'no runtime profile declared for this domain' },
9
9
  };
10
10
  /**
11
11
  * Per-domain profiles.
@@ -19,100 +19,104 @@ export const DEFAULT_DOMAIN_PROFILE = {
19
19
  */
20
20
  export const DOMAIN_PROFILES = {
21
21
  codegen: {
22
- summary: 'Regenerate entities, SQL, and Angular forms from the database schema.',
23
- runtime: { class: 'slow', typicalSeconds: 120, note: 'scales with entity count; a full run ≫ a single-entity change' },
22
+ Summary: 'Regenerate entities, SQL, and Angular forms from the database schema.',
23
+ Runtime: { class: 'slow', typicalSeconds: 120, note: 'scales with entity count; a full run ≫ a single-entity change' },
24
24
  },
25
25
  sync: {
26
- summary: 'Move metadata between local files and the database — push, pull, validate, watch.',
27
- runtime: { class: 'variable', note: 'a status check is instant; a full push scales with record count' },
26
+ Summary: 'Move metadata between local files and the database — push, pull, validate, watch.',
27
+ Runtime: { class: 'variable', note: 'a status check is instant; a full push scales with record count' },
28
28
  },
29
29
  dev: {
30
- summary: 'Local development tooling, including the cross-repo pnpm workspace generator.',
31
- runtime: { class: 'variable', note: 'generation is fast; a workspace install is not' },
30
+ Summary: 'Local development tooling, including the cross-repo pnpm workspace generator.',
31
+ Runtime: { class: 'variable', note: 'generation is fast; a workspace install is not' },
32
32
  },
33
33
  ai: {
34
- summary: 'Run and inspect AI agents, prompts, and actions from the terminal.',
35
- runtime: { class: 'variable', note: 'a listing is instant; an agent run is bounded only by the agent itself' },
34
+ Summary: 'Run and inspect AI agents, prompts, and actions from the terminal.',
35
+ Runtime: { class: 'variable', note: 'a listing is instant; an agent run is bounded only by the agent itself' },
36
36
  },
37
37
  app: {
38
- summary: 'Install, upgrade, enable, and remove Open Apps.',
39
- runtime: { class: 'slow', typicalSeconds: 180, note: 'installs run migrations and package installs' },
38
+ Summary: 'Install, upgrade, enable, and remove Open Apps.',
39
+ Runtime: { class: 'slow', typicalSeconds: 180, note: 'installs run migrations and package installs' },
40
40
  },
41
41
  artifacts: {
42
- summary: 'Maintenance operations over stored conversation artifacts.',
43
- runtime: { class: 'moderate', typicalSeconds: 30, note: 'scales with artifact count' },
42
+ Summary: 'Maintenance operations over stored conversation artifacts.',
43
+ Runtime: { class: 'moderate', typicalSeconds: 30, note: 'scales with artifact count' },
44
44
  },
45
45
  baseline: {
46
- summary: 'Build and compare database baselines for clean-room verification.',
47
- runtime: { class: 'slow', typicalSeconds: 120, note: 'full schema introspection; scales with table count' },
46
+ Summary: 'Build and compare database baselines for clean-room verification.',
47
+ Runtime: { class: 'slow', typicalSeconds: 120, note: 'full schema introspection; scales with table count' },
48
48
  },
49
49
  bump: {
50
- summary: 'Bump the version across workspace package.json files.',
51
- runtime: { class: 'fast' },
50
+ Summary: 'Bump the version across workspace package.json files.',
51
+ Runtime: { class: 'fast' },
52
52
  },
53
53
  bundle: {
54
- summary: 'Bundle interactive component source for distribution.',
55
- runtime: { class: 'moderate', typicalSeconds: 20 },
54
+ Summary: 'Bundle interactive component source for distribution.',
55
+ Runtime: { class: 'moderate', typicalSeconds: 20 },
56
56
  },
57
57
  clean: {
58
- summary: 'Remove build artifacts and generated output.',
59
- runtime: { class: 'fast' },
58
+ Summary: 'Remove build artifacts and generated output.',
59
+ Runtime: { class: 'fast' },
60
60
  },
61
61
  dbdoc: {
62
- summary: 'Generate and export AI-authored database documentation.',
63
- runtime: { class: 'slow', typicalSeconds: 300, note: 'LLM-driven; scales with table and column count' },
62
+ Summary: 'Generate and export AI-authored database documentation.',
63
+ Runtime: { class: 'slow', typicalSeconds: 300, note: 'LLM-driven; scales with table and column count' },
64
64
  },
65
65
  doctor: {
66
- summary: 'Diagnose the local MJ environment and report what is misconfigured.',
67
- runtime: { class: 'moderate', typicalSeconds: 15 },
66
+ Summary: 'Diagnose the local MJ environment and report what is misconfigured.',
67
+ Runtime: { class: 'moderate', typicalSeconds: 15 },
68
68
  },
69
69
  install: {
70
- summary: 'Install MemberJunction, or seed the Claude Code pack into a repo.',
71
- runtime: { class: 'slow', typicalSeconds: 300, note: 'downloads a release, installs packages, runs migrations' },
70
+ Summary: 'Install MemberJunction, or seed the Claude Code pack into a repo.',
71
+ Runtime: { class: 'slow', typicalSeconds: 300, note: 'downloads a release, installs packages, runs migrations' },
72
72
  },
73
73
  migrate: {
74
- summary: 'Create, run, and convert Flyway migrations.',
75
- runtime: { class: 'slow', typicalSeconds: 90, note: 'scales with the number of pending migrations' },
74
+ Summary: 'Create, run, and convert Flyway migrations.',
75
+ Runtime: { class: 'slow', typicalSeconds: 90, note: 'scales with the number of pending migrations' },
76
76
  },
77
77
  plugin: {
78
- summary: 'Register third-party CLI plugins in mj-cli-plugins.json.',
79
- runtime: { class: 'fast' },
78
+ Summary: 'Register third-party CLI plugins in mj-cli-plugins.json.',
79
+ Runtime: { class: 'fast' },
80
80
  },
81
81
  querygen: {
82
- summary: 'Generate, validate, and export stored queries.',
83
- runtime: { class: 'slow', typicalSeconds: 120, note: 'LLM-driven generation; validation alone is fast' },
82
+ Summary: 'Generate, validate, and export stored queries.',
83
+ Runtime: { class: 'slow', typicalSeconds: 120, note: 'LLM-driven generation; validation alone is fast' },
84
84
  },
85
85
  'sql-audit': {
86
- summary: 'Audit SQL objects for drift against the metadata.',
87
- runtime: { class: 'moderate', typicalSeconds: 45, note: 'scales with object count' },
86
+ Summary: 'Audit SQL objects for drift against the metadata.',
87
+ Runtime: { class: 'moderate', typicalSeconds: 45, note: 'scales with object count' },
88
88
  },
89
89
  'sql-convert': {
90
- summary: 'Convert T-SQL to PostgreSQL via the SQLConverter toolchain.',
91
- runtime: { class: 'moderate', typicalSeconds: 30 },
90
+ Summary: 'Convert T-SQL to PostgreSQL via the SQLConverter toolchain.',
91
+ Runtime: { class: 'moderate', typicalSeconds: 30 },
92
92
  },
93
93
  standards: {
94
- summary: 'List, adopt, and check the repo’s adopted MJ standards.',
95
- runtime: { class: 'moderate', typicalSeconds: 20, note: 'a check scans changed files; --all scans the repo' },
94
+ Summary: 'List, adopt, and check the repo’s adopted MJ standards.',
95
+ Runtime: { class: 'moderate', typicalSeconds: 20, note: 'a check scans changed files; --all scans the repo' },
96
96
  },
97
97
  test: {
98
- summary: 'Run, list, compare, and validate MJ test suites.',
99
- runtime: { class: 'variable', note: 'a single test is seconds; a full suite can run for many minutes' },
98
+ Summary: 'Run, list, compare, and validate MJ test suites.',
99
+ Runtime: { class: 'variable', note: 'a single test is seconds; a full suite can run for many minutes' },
100
100
  },
101
101
  'translate-sql': {
102
- summary: 'Translate SQL between dialects.',
103
- runtime: { class: 'moderate', typicalSeconds: 15 },
102
+ Summary: 'Translate SQL between dialects.',
103
+ Runtime: { class: 'moderate', typicalSeconds: 15 },
104
104
  },
105
105
  update: {
106
- summary: 'Update installed MJ tooling, including the Claude Code pack.',
107
- runtime: { class: 'moderate', typicalSeconds: 30, note: 'fetches from GitHub unless --from is given' },
106
+ Summary: 'Update installed MJ tooling, including the Claude Code pack.',
107
+ Runtime: { class: 'moderate', typicalSeconds: 30, note: 'fetches from GitHub unless --from is given' },
108
108
  },
109
109
  usage: {
110
- summary: 'This progressive-disclosure surface: domains, then per-domain detail.',
111
- runtime: { class: 'fast' },
110
+ Summary: 'This progressive-disclosure surface: domains, then per-domain detail.',
111
+ Runtime: { class: 'fast' },
112
112
  },
113
113
  };
114
114
  /** The profile for a domain, falling back to {@link DEFAULT_DOMAIN_PROFILE}. */
115
- export function getDomainProfile(domain) {
115
+ export function GetDomainProfile(domain) {
116
116
  return DOMAIN_PROFILES[domain] ?? DEFAULT_DOMAIN_PROFILE;
117
117
  }
118
+ /** @deprecated Use {@link GetDomainProfile}. */
119
+ export function getDomainProfile(domain) {
120
+ return GetDomainProfile(domain);
121
+ }
118
122
  //# sourceMappingURL=domain-profiles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"domain-profiles.js","sourceRoot":"","sources":["../../src/lib/domain-profiles.ts"],"names":[],"mappings":"AAwBA;;;;GAIG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAkB;IACnD,OAAO,EAAE,qDAAqD;IAC9D,OAAO,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,6CAA6C,EAAE;CACpF,CAAC;AAEF;;;;;;;;;GASG;AACH,MAAM,CAAC,MAAM,eAAe,GAA4C;IACtE,OAAO,EAAE;QACP,OAAO,EAAE,uEAAuE;QAChF,OAAO,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,GAAG,EAAE,IAAI,EAAE,+DAA+D,EAAE;KACvH;IACD,IAAI,EAAE;QACJ,OAAO,EAAE,mFAAmF;QAC5F,OAAO,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,iEAAiE,EAAE;KACxG;IACD,GAAG,EAAE;QACH,OAAO,EAAE,+EAA+E;QACxF,OAAO,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,gDAAgD,EAAE;KACvF;IACD,EAAE,EAAE;QACF,OAAO,EAAE,oEAAoE;QAC7E,OAAO,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,wEAAwE,EAAE;KAC/G;IACD,GAAG,EAAE;QACH,OAAO,EAAE,iDAAiD;QAC1D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core';
2
2
  import { CLIPluginRegistry, ResolveOutputFormat } from '@memberjunction/cli-core';
3
- import { loadAllCliPlugins } from './cli-plugins.js';
4
- import { emitUsage, renderDomainDetail } from './usage-render.js';
3
+ import { LoadAllCliPlugins } from './cli-plugins.js';
4
+ import { EmitUsage, RenderDomainDetail } from './usage-render.js';
5
5
  /**
6
6
  * Shared base for tier-2 usage commands (`mj <domain> usage`). Concrete
7
7
  * subclasses under `commands/<domain>/usage.ts` set {@link Domain}. Returns every
@@ -18,11 +18,11 @@ export class DomainUsageCommand extends Command {
18
18
  }; }
19
19
  async run() {
20
20
  const { flags } = await this.parse(this.constructor);
21
- await loadAllCliPlugins(process.cwd(), this.config.commands);
21
+ await LoadAllCliPlugins(process.cwd(), this.config.commands);
22
22
  const detail = CLIPluginRegistry.BuildDomainDetail(this.Domain);
23
23
  const result = CLIPluginRegistry.AsResult(`${this.Domain}:usage`, { domain: detail.domain, commands: detail.commands });
24
24
  const { format } = ResolveOutputFormat({ formatFlag: flags.format });
25
- emitUsage((m) => this.log(m), format, result, renderDomainDetail(detail));
25
+ EmitUsage((m) => this.log(m), format, result, RenderDomainDetail(detail));
26
26
  }
27
27
  }
28
28
  //# sourceMappingURL=domain-usage-command.js.map
@@ -10,7 +10,7 @@
10
10
  import { type DynamicPackagesReport } from '@memberjunction/dynamic-packages';
11
11
  export interface LoadDynamicPackagesForCommandOptions {
12
12
  /** Print per-package progress (stderr). Failures print regardless. */
13
- verbose?: boolean;
13
+ Verbose?: boolean;
14
14
  /**
15
15
  * Override the config source — for tests, or for a caller that has already discovered a
16
16
  * config elsewhere. Defaults to the CLI's own cosmiconfig result.
@@ -20,12 +20,14 @@ export interface LoadDynamicPackagesForCommandOptions {
20
20
  configFilePath?: string;
21
21
  };
22
22
  /** Test seam for the stderr channel. */
23
- stderr?: (line: string) => void;
23
+ Stderr?: (line: string) => void;
24
24
  }
25
25
  /**
26
26
  * Loads the dynamic packages that apply to one CLI command. Never throws for a package problem;
27
27
  * a broken app package is reported on stderr and the command proceeds (it may then fall back to
28
28
  * BaseEntity for that app's entities — `mj sync push` warns per entity when that happens).
29
29
  */
30
+ export declare function LoadDynamicPackagesForCommand(commandId: string, options?: LoadDynamicPackagesForCommandOptions): Promise<DynamicPackagesReport>;
31
+ /** @deprecated Use {@link LoadDynamicPackagesForCommand}. */
30
32
  export declare function loadDynamicPackagesForCommand(commandId: string, options?: LoadDynamicPackagesForCommandOptions): Promise<DynamicPackagesReport>;
31
33
  //# sourceMappingURL=dynamic-packages.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dynamic-packages.d.ts","sourceRoot":"","sources":["../../src/lib/dynamic-packages.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EAKL,KAAK,qBAAqB,EAC3B,MAAM,kCAAkC,CAAC;AAG1C,MAAM,WAAW,oCAAoC;IACnD,sEAAsE;IACtE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,GAAG,CAAC,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAAC;QAAC,cAAc,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC/E,wCAAwC;IACxC,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CACjC;AAiBD;;;;GAIG;AACH,wBAAsB,6BAA6B,CACjD,SAAS,EAAE,MAAM,EACjB,OAAO,GAAE,oCAAyC,GACjD,OAAO,CAAC,qBAAqB,CAAC,CAwBhC"}
1
+ {"version":3,"file":"dynamic-packages.d.ts","sourceRoot":"","sources":["../../src/lib/dynamic-packages.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EAKL,KAAK,qBAAqB,EAC3B,MAAM,kCAAkC,CAAC;AAG1C,MAAM,WAAW,oCAAoC;IACnD,sEAAsE;IACtE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,GAAG,CAAC,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAAC;QAAC,cAAc,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IAC/E,wCAAwC;IACxC,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CACjC;AAiBD;;;;GAIG;AACH,wBAAsB,6BAA6B,CACjD,SAAS,EAAE,MAAM,EACjB,OAAO,GAAE,oCAAyC,GACjD,OAAO,CAAC,qBAAqB,CAAC,CAwBhC;AAED,6DAA6D;AAC7D,wBAAsB,6BAA6B,CACjD,SAAS,EAAE,MAAM,EACjB,OAAO,GAAE,oCAAyC,GACjD,OAAO,CAAC,qBAAqB,CAAC,CAEhC"}
@@ -8,7 +8,7 @@
8
8
  * it. Progress goes to stderr under `--verbose`; genuine load failures always go to stderr.
9
9
  */
10
10
  import { CliProcessId, DYNAMIC_PACKAGES_PROCESS_ENV_VAR, LoadDynamicPackages, } from '@memberjunction/dynamic-packages';
11
- import { getRawConfig } from '../config.js';
11
+ import { GetRawConfig } from '../config.js';
12
12
  function stderrLogger(verbose, write) {
13
13
  return {
14
14
  info: (message) => {
@@ -30,10 +30,10 @@ function stderrLogger(verbose, write) {
30
30
  * a broken app package is reported on stderr and the command proceeds (it may then fall back to
31
31
  * BaseEntity for that app's entities — `mj sync push` warns per entity when that happens).
32
32
  */
33
- export async function loadDynamicPackagesForCommand(commandId, options = {}) {
34
- const verbose = options.verbose ?? false;
35
- const write = options.stderr ?? ((line) => process.stderr.write(`${line}\n`));
36
- const raw = options.raw ?? getRawConfig();
33
+ export async function LoadDynamicPackagesForCommand(commandId, options = {}) {
34
+ const verbose = options.Verbose ?? false;
35
+ const write = options.Stderr ?? ((line) => process.stderr.write(`${line}\n`));
36
+ const raw = options.raw ?? GetRawConfig();
37
37
  const processId = CliProcessId(commandId);
38
38
  // Publish this command's identity for hosts the command imports in-process (`mj ai …` drives
39
39
  // @memberjunction/ai-cli, `mj test …` drives @memberjunction/testing-cli). Their own provider
@@ -53,4 +53,8 @@ export async function loadDynamicPackagesForCommand(commandId, options = {}) {
53
53
  }
54
54
  return report;
55
55
  }
56
+ /** @deprecated Use {@link LoadDynamicPackagesForCommand}. */
57
+ export async function loadDynamicPackagesForCommand(commandId, options = {}) {
58
+ return LoadDynamicPackagesForCommand(commandId, options);
59
+ }
56
60
  //# sourceMappingURL=dynamic-packages.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"dynamic-packages.js","sourceRoot":"","sources":["../../src/lib/dynamic-packages.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EACL,YAAY,EACZ,gCAAgC,EAChC,mBAAmB,GAGpB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAc5C,SAAS,YAAY,CAAC,OAAgB,EAAE,KAA6B;IACnE,OAAO;QACL,IAAI,EAAE,CAAC,OAAO,EAAE,EAAE;YAChB,IAAI,OAAO;gBAAE,KAAK,CAAC,OAAO,CAAC,CAAC;QAC9B,CAAC;QACD,IAAI,EAAE,CAAC,OAAO,EAAE,KAAK,EAAE,EAAE;YACvB,MAAM,MAAM,GAAG,KAAK,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC;YACvG,KAAK,CAAC,GAAG,OAAO,GAAG,MAAM,EAAE,CAAC,CAAC;QAC/B,CAAC;QACD,OAAO,EAAE,CAAC,OAAO,EAAE,EAAE;YACnB,IAAI,OAAO;gBAAE,KAAK,CAAC,OAAO,CAAC,CAAC;QAC9B,CAAC;KACF,CAAC;AACJ,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,KAAK,UAAU,6BAA6B,CACjD,SAAiB,EACjB,UAAgD,EAAE;IAElD,MAA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
19
  export interface LegacyFormatInput<TLegacy extends string> {
20
20
  /** The canonical `--format` value, if the caller passed one. */
21
- format?: string;
21
+ Format?: string;
22
22
  /** The family's own flag value as oclif parsed it (its default included). */
23
- legacy: TLegacy;
23
+ Legacy: TLegacy;
24
24
  /** What that flag falls back to when nothing was specified. */
25
- legacyDefault: TLegacy;
25
+ LegacyDefault: TLegacy;
26
26
  /**
27
27
  * Whether the caller actually typed the family's flag. Pass
28
28
  * `metadata.flags.<name>?.setFromDefault === false` from the command's `parse()`.
@@ -32,11 +32,11 @@ export interface LegacyFormatInput<TLegacy extends string> {
32
32
  * all — so a piped `mj ai agents list -o compact` would silently return json,
33
33
  * overriding an explicit request. Always pass it from a real command.
34
34
  */
35
- legacyWasExplicit?: boolean;
35
+ LegacyWasExplicit?: boolean;
36
36
  /** How each canonical format maps onto this family's vocabulary. */
37
- map: Record<OutputFormat, TLegacy>;
37
+ Map: Record<OutputFormat, TLegacy>;
38
38
  /** Defaults to `process.stdout.isTTY`. Injectable for tests. */
39
- stdoutIsTTY?: boolean;
39
+ StdoutIsTTY?: boolean;
40
40
  /** Defaults to `process.env`. Injectable for tests. */
41
41
  env?: NodeJS.ProcessEnv;
42
42
  }
@@ -53,8 +53,10 @@ export interface LegacyFormatInput<TLegacy extends string> {
53
53
  * `--format=markdown` or `-o table` keeps getting exactly what it always got.
54
54
  * Rule 4 only fires when the caller expressed no preference at all, so it can
55
55
  * never override an intentional choice — which is precisely why rule 2 needs
56
- * {@link LegacyFormatInput.legacyWasExplicit} rather than a value comparison.
56
+ * {@link LegacyFormatInput.LegacyWasExplicit} rather than a value comparison.
57
57
  */
58
+ export declare function ResolveLegacyFormat<TLegacy extends string>(input: LegacyFormatInput<TLegacy>): TLegacy;
59
+ /** @deprecated Use {@link ResolveLegacyFormat}. */
58
60
  export declare function resolveLegacyFormat<TLegacy extends string>(input: LegacyFormatInput<TLegacy>): TLegacy;
59
61
  /** Canonical → `mj test *` vocabulary. */
60
62
  export declare const TEST_FORMAT_MAP: Record<OutputFormat, 'console' | 'json' | 'markdown'>;
@@ -1 +1 @@
1
- {"version":3,"file":"format-compat.d.ts","sourceRoot":"","sources":["../../src/lib/format-compat.ts"],"names":[],"mappings":"AAsBA,OAAO,EAA6C,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAoBxG,eAAO,MAAM,qBAAqB,6GAGhC,CAAC;AAEH;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,gBAAgB,6GAI3B,CAAC;AAEH,6CAA6C;AAC7C,MAAM,WAAW,iBAAiB,CAAC,OAAO,SAAS,MAAM;IACvD,gEAAgE;IAChE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,6EAA6E;IAC7E,MAAM,EAAE,OAAO,CAAC;IAChB,+DAA+D;IAC/D,aAAa,EAAE,OAAO,CAAC;IACvB;;;;;;;;OAQG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,oEAAoE;IACpE,GAAG,EAAE,MAAM,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC;IACnC,gEAAgE;IAChE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,uDAAuD;IACvD,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,CAAC;CACzB;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,SAAS,MAAM,EAAE,KAAK,EAAE,iBAAiB,CAAC,OAAO,CAAC,GAAG,OAAO,CAiBtG;AAED,0CAA0C;AAC1C,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,YAAY,EAAE,SAAS,GAAG,MAAM,GAAG,UAAU,CAIjF,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,YAAY,EAAE,SAAS,GAAG,MAAM,GAAG,OAAO,CAI5E,CAAC"}
1
+ {"version":3,"file":"format-compat.d.ts","sourceRoot":"","sources":["../../src/lib/format-compat.ts"],"names":[],"mappings":"AAsBA,OAAO,EAA6C,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAoBxG,eAAO,MAAM,qBAAqB,6GAGhC,CAAC;AAEH;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,gBAAgB,6GAI3B,CAAC;AAEH,6CAA6C;AAC7C,MAAM,WAAW,iBAAiB,CAAC,OAAO,SAAS,MAAM;IACvD,gEAAgE;IAChE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,6EAA6E;IAC7E,MAAM,EAAE,OAAO,CAAC;IAChB,+DAA+D;IAC/D,aAAa,EAAE,OAAO,CAAC;IACvB;;;;;;;;OAQG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,oEAAoE;IACpE,GAAG,EAAE,MAAM,CAAC,YAAY,EAAE,OAAO,CAAC,CAAC;IACnC,gEAAgE;IAChE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,uDAAuD;IACvD,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,CAAC;CACzB;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,SAAS,MAAM,EAAE,KAAK,EAAE,iBAAiB,CAAC,OAAO,CAAC,GAAG,OAAO,CAiBtG;AAED,mDAAmD;AACnD,wBAAgB,mBAAmB,CAAC,OAAO,SAAS,MAAM,EAAE,KAAK,EAAE,iBAAiB,CAAC,OAAO,CAAC,GAAG,OAAO,CAEtG;AAED,0CAA0C;AAC1C,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,YAAY,EAAE,SAAS,GAAG,MAAM,GAAG,UAAU,CAIjF,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,YAAY,EAAE,SAAS,GAAG,MAAM,GAAG,OAAO,CAI5E,CAAC"}
@@ -72,24 +72,28 @@ export const TEST_FORMAT_FLAG = Flags.string({
72
72
  * `--format=markdown` or `-o table` keeps getting exactly what it always got.
73
73
  * Rule 4 only fires when the caller expressed no preference at all, so it can
74
74
  * never override an intentional choice — which is precisely why rule 2 needs
75
- * {@link LegacyFormatInput.legacyWasExplicit} rather than a value comparison.
75
+ * {@link LegacyFormatInput.LegacyWasExplicit} rather than a value comparison.
76
76
  */
77
- export function resolveLegacyFormat(input) {
78
- const explicitCanonical = NormalizeFormatAlias(input.format);
77
+ export function ResolveLegacyFormat(input) {
78
+ const explicitCanonical = NormalizeFormatAlias(input.Format);
79
79
  if (explicitCanonical)
80
- return input.map[explicitCanonical];
80
+ return input.Map[explicitCanonical];
81
81
  // The caller typed the family's own flag — an explicit choice that outranks any
82
82
  // inference we could make, even when the value they typed IS the default.
83
- const legacyWasExplicit = input.legacyWasExplicit ?? input.legacy !== input.legacyDefault;
83
+ const legacyWasExplicit = input.LegacyWasExplicit ?? input.Legacy !== input.LegacyDefault;
84
84
  if (legacyWasExplicit)
85
- return input.legacy;
85
+ return input.Legacy;
86
86
  const { format, reason } = ResolveOutputFormat({
87
- stdoutIsTTY: input.stdoutIsTTY,
87
+ stdoutIsTTY: input.StdoutIsTTY,
88
88
  env: input.env,
89
89
  });
90
90
  // 'tty-default' means nothing at all asked for a format — keep the family's own
91
91
  // default rather than flattening every human rendering to a generic 'text'.
92
- return reason === 'tty-default' ? input.legacyDefault : input.map[format];
92
+ return reason === 'tty-default' ? input.LegacyDefault : input.Map[format];
93
+ }
94
+ /** @deprecated Use {@link ResolveLegacyFormat}. */
95
+ export function resolveLegacyFormat(input) {
96
+ return ResolveLegacyFormat(input);
93
97
  }
94
98
  /** Canonical → `mj test *` vocabulary. */
95
99
  export const TEST_FORMAT_MAP = {
@@ -1 +1 @@
1
- {"version":3,"file":"format-compat.js","sourceRoot":"","sources":["../../src/lib/format-compat.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAqB,MAAM,0BAA0B,CAAC;AAExG;;;;;;;;;;GAUG;AACH,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,GAAG,CAAC,iBAAiB,CAAC,CAAC;IAE3D,gFAAgF;IAChF,0EAA0E;IAC1E,MAAM,iBAAiB,GAAG,KAAK,CAAC,iBAAiB,IAAI,KAAK,CAAC,MAAM,KAAK,KAAK,CAAC,aAAa,CAAC;IAC1F,IAAI,iBAAiB;QAAE,OAAO,KAAK,CAAC,MAAM,CAAC;IAE3C,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,mBAAmB,CAAC;QAC7C,WAAW,EAAE,KAAK,CAAC,WAAW;QAC9B,GAAG,EAAE,KAAK,CAAC,GAAG;KACf,CAAC,CAAC;IAEH,gFAAgF;IAChF,4EAA4E;IAC5E,OAAO,MAAM,KAAK,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AAC5E,CAAC;AAED,mDAAmD;AACnD,MAAM,UAAU,mBAAmB,CAAyB,KAAiC;IAC3F,OAAO,mBAAmB,CAAC,KAAK,CAAC,CAAC;AACpC,CAAC;AAED,0CAA0C;AAC1C,MAAM,CAAC,MAAM,eAAe,GAA0D;IACpF,IAAI,EAAE,SAAS;IACf,IAAI,EAAE,MAAM;IACZ,EAAE,EAAE,UAAU;CACf,CAAC;AAEF;;;;;GAKG;AACH,MAAM,CAAC,MAAM,aAAa,GAAuD;IAC/E,IAAI,EAAE,SAAS;IACf,IAAI,EAAE,MAAM;IACZ,EAAE,EAAE,MAAM;CACX,CAAC"}
@@ -16,6 +16,8 @@ export { NonInteractiveError };
16
16
  * running in CI. Reads the env var the prerun hook sets from the global `--interactive`
17
17
  * / `--no-interactive` flags, then falls back to detecting the terminal.
18
18
  */
19
+ export declare function IsInteractiveRun(overrides?: InteractivityInput): boolean;
20
+ /** @deprecated Use {@link IsInteractiveRun}. */
19
21
  export declare function isInteractiveRun(overrides?: InteractivityInput): boolean;
20
22
  /**
21
23
  * Asks for one value, or fails fast naming the flag that supplies it.
@@ -36,6 +38,13 @@ export declare const requireInteractive: typeof RequireInteractive;
36
38
  *
37
39
  * Re-throws anything that isn't a `NonInteractiveError` untouched.
38
40
  */
41
+ export declare function FailOnNonInteractive(command: {
42
+ error: (message: string | Error, options?: {
43
+ exit?: number;
44
+ suggestions?: string[];
45
+ }) => never;
46
+ }, error: unknown): never;
47
+ /** @deprecated Use {@link FailOnNonInteractive}. */
39
48
  export declare function failOnNonInteractive(command: {
40
49
  error: (message: string | Error, options?: {
41
50
  exit?: number;
@@ -47,6 +56,13 @@ export declare function failOnNonInteractive(command: {
47
56
  * — including deep in a service callback — surfaces as a clean, actionable failure
48
57
  * instead of an unhandled rejection.
49
58
  */
59
+ export declare function WithNonInteractiveHandling<T>(command: {
60
+ error: (message: string | Error, options?: {
61
+ exit?: number;
62
+ suggestions?: string[];
63
+ }) => never;
64
+ }, body: () => Promise<T>): Promise<T>;
65
+ /** @deprecated Use {@link WithNonInteractiveHandling}. */
50
66
  export declare function withNonInteractiveHandling<T>(command: {
51
67
  error: (message: string | Error, options?: {
52
68
  exit?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"interactive-guard.d.ts","sourceRoot":"","sources":["../../src/lib/interactive-guard.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,EACL,mBAAmB,EACnB,kBAAkB,EAElB,eAAe,EACf,KAAK,kBAAkB,EACxB,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAE,mBAAmB,EAAE,CAAC;AAE/B;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,SAAS,GAAE,kBAAuB,GAAG,OAAO,CAE5E;AAED;;;;;GAKG;AACH,eAAO,MAAM,eAAe,wBAAkB,CAAC;AAE/C,iFAAiF;AACjF,eAAO,MAAM,kBAAkB,2BAAqB,CAAC;AAErD;;;;;;;;;GASG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,EAAE;IAAE,KAAK,EAAE,CAAC,OAAO,EAAE,MAAM,GAAG,KAAK,EAAE,OAAO,CAA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