@memberjunction/cli 6.3.0-edge.0 → 6.3.0-edge.2

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 (251) hide show
  1. package/README.md +1047 -359
  2. package/dist/baseline/connection.d.ts.map +1 -1
  3. package/dist/baseline/connection.js +12 -1
  4. package/dist/baseline/connection.js.map +1 -1
  5. package/dist/commands/agent/usage.d.ts +7 -0
  6. package/dist/commands/agent/usage.d.ts.map +1 -0
  7. package/dist/commands/agent/usage.js +10 -0
  8. package/dist/commands/agent/usage.js.map +1 -0
  9. package/dist/commands/app/check-updates.d.ts +2 -2
  10. package/dist/commands/app/check-updates.d.ts.map +1 -1
  11. package/dist/commands/app/check-updates.js +8 -7
  12. package/dist/commands/app/check-updates.js.map +1 -1
  13. package/dist/commands/app/install.d.ts +2 -2
  14. package/dist/commands/app/install.d.ts.map +1 -1
  15. package/dist/commands/app/install.js +29 -18
  16. package/dist/commands/app/install.js.map +1 -1
  17. package/dist/commands/app/remove.d.ts.map +1 -1
  18. package/dist/commands/app/remove.js +3 -1
  19. package/dist/commands/app/remove.js.map +1 -1
  20. package/dist/commands/app/upgrade.d.ts +1 -0
  21. package/dist/commands/app/upgrade.d.ts.map +1 -1
  22. package/dist/commands/app/upgrade.js +6 -0
  23. package/dist/commands/app/upgrade.js.map +1 -1
  24. package/dist/commands/codegen/index.d.ts +1 -0
  25. package/dist/commands/codegen/index.d.ts.map +1 -1
  26. package/dist/commands/codegen/manifest.d.ts +40 -0
  27. package/dist/commands/codegen/manifest.d.ts.map +1 -1
  28. package/dist/commands/codegen/manifest.js +124 -3
  29. package/dist/commands/codegen/manifest.js.map +1 -1
  30. package/dist/commands/diag/usage.d.ts +7 -0
  31. package/dist/commands/diag/usage.d.ts.map +1 -0
  32. package/dist/commands/diag/usage.js +10 -0
  33. package/dist/commands/diag/usage.js.map +1 -0
  34. package/dist/commands/doctor/index.d.ts +6 -0
  35. package/dist/commands/doctor/index.d.ts.map +1 -1
  36. package/dist/commands/doctor/index.js +42 -0
  37. package/dist/commands/doctor/index.js.map +1 -1
  38. package/dist/commands/explorer/postbuild.d.ts +14 -0
  39. package/dist/commands/explorer/postbuild.d.ts.map +1 -0
  40. package/dist/commands/explorer/postbuild.js +49 -0
  41. package/dist/commands/explorer/postbuild.js.map +1 -0
  42. package/dist/commands/explorer/usage.d.ts +7 -0
  43. package/dist/commands/explorer/usage.d.ts.map +1 -0
  44. package/dist/commands/explorer/usage.js +10 -0
  45. package/dist/commands/explorer/usage.js.map +1 -0
  46. package/dist/commands/harness/account/add.d.ts +22 -0
  47. package/dist/commands/harness/account/add.d.ts.map +1 -0
  48. package/dist/commands/harness/account/add.js +100 -0
  49. package/dist/commands/harness/account/add.js.map +1 -0
  50. package/dist/commands/harness/account/clear-cooldown.d.ts +13 -0
  51. package/dist/commands/harness/account/clear-cooldown.d.ts.map +1 -0
  52. package/dist/commands/harness/account/clear-cooldown.js +32 -0
  53. package/dist/commands/harness/account/clear-cooldown.js.map +1 -0
  54. package/dist/commands/harness/account/disable.d.ts +13 -0
  55. package/dist/commands/harness/account/disable.d.ts.map +1 -0
  56. package/dist/commands/harness/account/disable.js +34 -0
  57. package/dist/commands/harness/account/disable.js.map +1 -0
  58. package/dist/commands/harness/account/enable.d.ts +13 -0
  59. package/dist/commands/harness/account/enable.d.ts.map +1 -0
  60. package/dist/commands/harness/account/enable.js +34 -0
  61. package/dist/commands/harness/account/enable.js.map +1 -0
  62. package/dist/commands/harness/account/index.d.ts +7 -0
  63. package/dist/commands/harness/account/index.d.ts.map +1 -0
  64. package/dist/commands/harness/account/index.js +23 -0
  65. package/dist/commands/harness/account/index.js.map +1 -0
  66. package/dist/commands/harness/account/list.d.ts +15 -0
  67. package/dist/commands/harness/account/list.d.ts.map +1 -0
  68. package/dist/commands/harness/account/list.js +58 -0
  69. package/dist/commands/harness/account/list.js.map +1 -0
  70. package/dist/commands/harness/account/login.d.ts +16 -0
  71. package/dist/commands/harness/account/login.d.ts.map +1 -0
  72. package/dist/commands/harness/account/login.js +50 -0
  73. package/dist/commands/harness/account/login.js.map +1 -0
  74. package/dist/commands/harness/account/remove.d.ts +14 -0
  75. package/dist/commands/harness/account/remove.d.ts.map +1 -0
  76. package/dist/commands/harness/account/remove.js +43 -0
  77. package/dist/commands/harness/account/remove.js.map +1 -0
  78. package/dist/commands/harness/account/set-strategy.d.ts +13 -0
  79. package/dist/commands/harness/account/set-strategy.d.ts.map +1 -0
  80. package/dist/commands/harness/account/set-strategy.js +38 -0
  81. package/dist/commands/harness/account/set-strategy.js.map +1 -0
  82. package/dist/commands/harness/index.d.ts +7 -0
  83. package/dist/commands/harness/index.d.ts.map +1 -0
  84. package/dist/commands/harness/index.js +22 -0
  85. package/dist/commands/harness/index.js.map +1 -0
  86. package/dist/commands/harness/usage.d.ts +7 -0
  87. package/dist/commands/harness/usage.d.ts.map +1 -0
  88. package/dist/commands/harness/usage.js +10 -0
  89. package/dist/commands/harness/usage.js.map +1 -0
  90. package/dist/commands/migrate/convert.d.ts +25 -1
  91. package/dist/commands/migrate/convert.d.ts.map +1 -1
  92. package/dist/commands/migrate/convert.js +160 -46
  93. package/dist/commands/migrate/convert.js.map +1 -1
  94. package/dist/commands/migrate/index.d.ts +8 -0
  95. package/dist/commands/migrate/index.d.ts.map +1 -1
  96. package/dist/commands/migrate/index.js +41 -2
  97. package/dist/commands/migrate/index.js.map +1 -1
  98. package/dist/commands/migrate/rebake.d.ts +13 -0
  99. package/dist/commands/migrate/rebake.d.ts.map +1 -1
  100. package/dist/commands/migrate/rebake.js +48 -14
  101. package/dist/commands/migrate/rebake.js.map +1 -1
  102. package/dist/commands/queue/export-topology.d.ts +2 -0
  103. package/dist/commands/queue/export-topology.d.ts.map +1 -1
  104. package/dist/commands/queue/export-topology.js +3 -1
  105. package/dist/commands/queue/export-topology.js.map +1 -1
  106. package/dist/commands/queue/import-bindings.d.ts +2 -0
  107. package/dist/commands/queue/import-bindings.d.ts.map +1 -1
  108. package/dist/commands/queue/import-bindings.js +3 -1
  109. package/dist/commands/queue/import-bindings.js.map +1 -1
  110. package/dist/commands/queue/index.d.ts.map +1 -1
  111. package/dist/commands/queue/index.js +1 -0
  112. package/dist/commands/queue/index.js.map +1 -1
  113. package/dist/commands/queue/sweep.d.ts +11 -0
  114. package/dist/commands/queue/sweep.d.ts.map +1 -0
  115. package/dist/commands/queue/sweep.js +36 -0
  116. package/dist/commands/queue/sweep.js.map +1 -0
  117. package/dist/commands/queue/validate-bindings.d.ts +2 -0
  118. package/dist/commands/queue/validate-bindings.d.ts.map +1 -1
  119. package/dist/commands/queue/validate-bindings.js +3 -1
  120. package/dist/commands/queue/validate-bindings.js.map +1 -1
  121. package/dist/commands/queue/work.d.ts +4 -0
  122. package/dist/commands/queue/work.d.ts.map +1 -1
  123. package/dist/commands/queue/work.js +9 -9
  124. package/dist/commands/queue/work.js.map +1 -1
  125. package/dist/commands/rubric/usage.d.ts +7 -0
  126. package/dist/commands/rubric/usage.d.ts.map +1 -0
  127. package/dist/commands/rubric/usage.js +10 -0
  128. package/dist/commands/rubric/usage.js.map +1 -0
  129. package/dist/commands/test/regression/index.d.ts.map +1 -1
  130. package/dist/commands/test/regression/index.js +2 -0
  131. package/dist/commands/test/regression/index.js.map +1 -1
  132. package/dist/commands/test/regression/new.d.ts +21 -0
  133. package/dist/commands/test/regression/new.d.ts.map +1 -0
  134. package/dist/commands/test/regression/new.js +82 -0
  135. package/dist/commands/test/regression/new.js.map +1 -0
  136. package/dist/commands/test/regression/up.d.ts +1 -0
  137. package/dist/commands/test/regression/up.d.ts.map +1 -1
  138. package/dist/commands/test/regression/up.js +17 -0
  139. package/dist/commands/test/regression/up.js.map +1 -1
  140. package/dist/commands/test/scripts.d.ts +6 -4
  141. package/dist/commands/test/scripts.d.ts.map +1 -1
  142. package/dist/commands/test/scripts.js +14 -0
  143. package/dist/commands/test/scripts.js.map +1 -1
  144. package/dist/commands/test/suite.d.ts +1 -0
  145. package/dist/commands/test/suite.d.ts.map +1 -1
  146. package/dist/commands/test/suite.js +6 -0
  147. package/dist/commands/test/suite.js.map +1 -1
  148. package/dist/commands/usage.js +2 -1
  149. package/dist/commands/usage.js.map +1 -1
  150. package/dist/commands/user/usage.d.ts +7 -0
  151. package/dist/commands/user/usage.d.ts.map +1 -0
  152. package/dist/commands/user/usage.js +10 -0
  153. package/dist/commands/user/usage.js.map +1 -0
  154. package/dist/config.d.ts +119 -0
  155. package/dist/config.d.ts.map +1 -1
  156. package/dist/config.js +43 -1
  157. package/dist/config.js.map +1 -1
  158. package/dist/init-templates/citizen-builder/.env.example +5 -0
  159. package/dist/init-templates/citizen-builder/docker-compose.yml +9 -0
  160. package/dist/init-templates/citizen-builder/scripts/docker-entrypoint.sh +18 -1
  161. package/dist/lib/db-preflight.d.ts.map +1 -1
  162. package/dist/lib/db-preflight.js +22 -0
  163. package/dist/lib/db-preflight.js.map +1 -1
  164. package/dist/lib/derived-usage.d.ts +8 -0
  165. package/dist/lib/derived-usage.d.ts.map +1 -1
  166. package/dist/lib/derived-usage.js +30 -20
  167. package/dist/lib/derived-usage.js.map +1 -1
  168. package/dist/lib/dev-workspace/prebundle.d.ts +3 -1
  169. package/dist/lib/dev-workspace/prebundle.d.ts.map +1 -1
  170. package/dist/lib/dev-workspace/prebundle.js +4 -3
  171. package/dist/lib/dev-workspace/prebundle.js.map +1 -1
  172. package/dist/lib/domain-profiles.d.ts.map +1 -1
  173. package/dist/lib/domain-profiles.js +24 -0
  174. package/dist/lib/domain-profiles.js.map +1 -1
  175. package/dist/lib/domain-usage-command.js +2 -1
  176. package/dist/lib/domain-usage-command.js.map +1 -1
  177. package/dist/lib/explorer-postbuild/public-page-html.d.ts +48 -0
  178. package/dist/lib/explorer-postbuild/public-page-html.d.ts.map +1 -0
  179. package/dist/lib/explorer-postbuild/public-page-html.js +284 -0
  180. package/dist/lib/explorer-postbuild/public-page-html.js.map +1 -0
  181. package/dist/lib/explorer-postbuild/service-worker-check.d.ts +13 -0
  182. package/dist/lib/explorer-postbuild/service-worker-check.d.ts.map +1 -0
  183. package/dist/lib/explorer-postbuild/service-worker-check.js +41 -0
  184. package/dist/lib/explorer-postbuild/service-worker-check.js.map +1 -0
  185. package/dist/lib/harness-account.d.ts +34 -0
  186. package/dist/lib/harness-account.d.ts.map +1 -0
  187. package/dist/lib/harness-account.js +105 -0
  188. package/dist/lib/harness-account.js.map +1 -0
  189. package/dist/lib/pg-preflight/checks.d.ts +28 -0
  190. package/dist/lib/pg-preflight/checks.d.ts.map +1 -0
  191. package/dist/lib/pg-preflight/checks.js +94 -0
  192. package/dist/lib/pg-preflight/checks.js.map +1 -0
  193. package/dist/lib/pg-preflight/extension-check.d.ts +28 -0
  194. package/dist/lib/pg-preflight/extension-check.d.ts.map +1 -0
  195. package/dist/lib/pg-preflight/extension-check.js +86 -0
  196. package/dist/lib/pg-preflight/extension-check.js.map +1 -0
  197. package/dist/lib/pg-preflight/extension-scan.d.ts +24 -0
  198. package/dist/lib/pg-preflight/extension-scan.d.ts.map +1 -0
  199. package/dist/lib/pg-preflight/extension-scan.js +58 -0
  200. package/dist/lib/pg-preflight/extension-scan.js.map +1 -0
  201. package/dist/lib/pg-preflight/pending-migrations.d.ts +28 -0
  202. package/dist/lib/pg-preflight/pending-migrations.d.ts.map +1 -0
  203. package/dist/lib/pg-preflight/pending-migrations.js +48 -0
  204. package/dist/lib/pg-preflight/pending-migrations.js.map +1 -0
  205. package/dist/lib/pg-preflight/preflight.d.ts +18 -0
  206. package/dist/lib/pg-preflight/preflight.d.ts.map +1 -0
  207. package/dist/lib/pg-preflight/preflight.js +43 -0
  208. package/dist/lib/pg-preflight/preflight.js.map +1 -0
  209. package/dist/lib/pg-preflight/remediation.d.ts +27 -0
  210. package/dist/lib/pg-preflight/remediation.d.ts.map +1 -0
  211. package/dist/lib/pg-preflight/remediation.js +82 -0
  212. package/dist/lib/pg-preflight/remediation.js.map +1 -0
  213. package/dist/lib/pg-preflight/render.d.ts +15 -0
  214. package/dist/lib/pg-preflight/render.d.ts.map +1 -0
  215. package/dist/lib/pg-preflight/render.js +48 -0
  216. package/dist/lib/pg-preflight/render.js.map +1 -0
  217. package/dist/lib/pg-preflight/run-for-config.d.ts +23 -0
  218. package/dist/lib/pg-preflight/run-for-config.d.ts.map +1 -0
  219. package/dist/lib/pg-preflight/run-for-config.js +45 -0
  220. package/dist/lib/pg-preflight/run-for-config.js.map +1 -0
  221. package/dist/lib/pg-preflight/types.d.ts +67 -0
  222. package/dist/lib/pg-preflight/types.d.ts.map +1 -0
  223. package/dist/lib/pg-preflight/types.js +8 -0
  224. package/dist/lib/pg-preflight/types.js.map +1 -0
  225. package/dist/lib/regression/test-scaffold.d.ts +52 -0
  226. package/dist/lib/regression/test-scaffold.d.ts.map +1 -0
  227. package/dist/lib/regression/test-scaffold.js +237 -0
  228. package/dist/lib/regression/test-scaffold.js.map +1 -0
  229. package/dist/lib/work-queue/queue-format.d.ts +4 -0
  230. package/dist/lib/work-queue/queue-format.d.ts.map +1 -1
  231. package/dist/lib/work-queue/queue-format.js +15 -0
  232. package/dist/lib/work-queue/queue-format.js.map +1 -1
  233. package/dist/lib/work-queue/queue-worker.d.ts +16 -1
  234. package/dist/lib/work-queue/queue-worker.d.ts.map +1 -1
  235. package/dist/lib/work-queue/queue-worker.js +18 -0
  236. package/dist/lib/work-queue/queue-worker.js.map +1 -1
  237. package/dist/light-commands.d.ts.map +1 -1
  238. package/dist/light-commands.js +34 -0
  239. package/dist/light-commands.js.map +1 -1
  240. package/dist/tsconfig.tsbuildinfo +1 -0
  241. package/dist/utils/app-source-lookups.d.ts +19 -0
  242. package/dist/utils/app-source-lookups.d.ts.map +1 -0
  243. package/dist/utils/app-source-lookups.js +19 -0
  244. package/dist/utils/app-source-lookups.js.map +1 -0
  245. package/dist/utils/open-app-context.d.ts +1 -0
  246. package/dist/utils/open-app-context.d.ts.map +1 -1
  247. package/dist/utils/open-app-context.js +13 -17
  248. package/dist/utils/open-app-context.js.map +1 -1
  249. package/oclif.manifest.json +974 -31
  250. package/package.json +31 -28
  251. package/regression-compose/docker-compose.bacpac-standalone.yml +4 -0
@@ -0,0 +1,7 @@
1
+ import { Command } from '@oclif/core';
2
+ export default class HarnessAccount extends Command {
3
+ static description: string;
4
+ static examples: string[];
5
+ run(): Promise<void>;
6
+ }
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/commands/harness/account/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAEtC,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,OAAO;IAC/C,MAAM,CAAC,WAAW,SAA6E;IAE/F,MAAM,CAAC,QAAQ,WAKb;IAEW,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAYpC"}
@@ -0,0 +1,23 @@
1
+ import { Command } from '@oclif/core';
2
+ export default class HarnessAccount extends Command {
3
+ static { this.description = 'Manage multi-account CLI subscription pool slots and balancing strategy'; }
4
+ static { this.examples = [
5
+ '<%= config.bin %> <%= command.id %> list',
6
+ '<%= config.bin %> <%= command.id %> add claude --label "Team Seat"',
7
+ '<%= config.bin %> <%= command.id %> login claude-team-seat',
8
+ '<%= config.bin %> <%= command.id %> set-strategy weighted',
9
+ ]; }
10
+ async run() {
11
+ this.log('MemberJunction Harness Account Pool\n');
12
+ this.log(' mj harness account list - List enrolled and OS-default slots');
13
+ this.log(' mj harness account add <vendor> - Add a new isolated slot (claude, agy, codex, gemini)');
14
+ this.log(' mj harness account login <slotId> - Re-run interactive CLI login and clear cooldown');
15
+ this.log(' mj harness account remove <slotId> - Remove an enrolled slot (--purge-files to delete dir)');
16
+ this.log(' mj harness account set-strategy <strategy> - Set strategy (least-in-flight, round-robin, weighted, priority-failover)');
17
+ this.log(' mj harness account enable <slotId> - Enable a slot');
18
+ this.log(' mj harness account disable <slotId> - Disable a slot');
19
+ this.log(' mj harness account clear-cooldown <slotId> - Clear active quota cooldown on a slot');
20
+ this.log('\nRun "mj harness account COMMAND --help" for details.');
21
+ }
22
+ }
23
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/commands/harness/account/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAEtC,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,OAAO;aACxC,gBAAW,GAAG,yEAAyE,CAAC;aAExF,aAAQ,GAAG;QACd,0CAA0C;QAC1C,oEAAoE;QACpE,4DAA4D;QAC5D,2DAA2D;KAC9D,CAAC;IAEK,KAAK,CAAC,GAAG;QACZ,IAAI,CAAC,GAAG,CAAC,uCAAuC,CAAC,CAAC;QAClD,IAAI,CAAC,GAAG,CAAC,oFAAoF,CAAC,CAAC;QAC/F,IAAI,CAAC,GAAG,CAAC,sGAAsG,CAAC,CAAC;QACjH,IAAI,CAAC,GAAG,CAAC,iGAAiG,CAAC,CAAC;QAC5G,IAAI,CAAC,GAAG,CAAC,uGAAuG,CAAC,CAAC;QAClH,IAAI,CAAC,GAAG,CAAC,0HAA0H,CAAC,CAAC;QACrI,IAAI,CAAC,GAAG,CAAC,+DAA+D,CAAC,CAAC;QAC1E,IAAI,CAAC,GAAG,CAAC,gEAAgE,CAAC,CAAC;QAC3E,IAAI,CAAC,GAAG,CAAC,uFAAuF,CAAC,CAAC;QAClG,IAAI,CAAC,GAAG,CAAC,wDAAwD,CAAC,CAAC;IACvE,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { Command } from '@oclif/core';
2
+ import { type HarnessVendorBinaryProbe } from '@memberjunction/ai-agent-harness';
3
+ export default class HarnessAccountList extends Command {
4
+ /** Injectable binary health probe hook for hermetic unit tests. */
5
+ static BinaryProbe?: HarnessVendorBinaryProbe;
6
+ static description: string;
7
+ static examples: string[];
8
+ static flags: {
9
+ vendor: import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
10
+ json: import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
11
+ 'pool-dir': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
12
+ };
13
+ run(): Promise<void>;
14
+ }
15
+ //# sourceMappingURL=list.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../src/commands/harness/account/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAS,MAAM,aAAa,CAAC;AAC7C,OAAO,EAGH,KAAK,wBAAwB,EAChC,MAAM,kCAAkC,CAAC;AAQ1C,MAAM,CAAC,OAAO,OAAO,kBAAmB,SAAQ,OAAO;IACnD,mEAAmE;IACnE,OAAc,WAAW,CAAC,EAAE,wBAAwB,CAAC;IAErD,MAAM,CAAC,WAAW,SAC+G;IAEjI,MAAM,CAAC,QAAQ,WAIb;IAEF,MAAM,CAAC,KAAK;;;;MAYV;IAEW,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAsCpC"}
@@ -0,0 +1,58 @@
1
+ import { Command, Flags } from '@oclif/core';
2
+ import { HarnessAccountPoolService, } from '@memberjunction/ai-agent-harness';
3
+ import { BuildPoolOptionsFromFlag, FormatHarnessAccountTable, RequireHarnessVendor, } from '../../../lib/harness-account.js';
4
+ export default class HarnessAccountList extends Command {
5
+ static { this.description = 'List enrolled and OS-default CLI subscription account slots, auth status, active leases, cooldowns, and balancing strategy'; }
6
+ static { this.examples = [
7
+ '<%= config.bin %> <%= command.id %>',
8
+ '<%= config.bin %> <%= command.id %> --vendor claude',
9
+ '<%= config.bin %> <%= command.id %> --json',
10
+ ]; }
11
+ static { this.flags = {
12
+ vendor: Flags.string({
13
+ char: 'v',
14
+ description: 'Filter by vendor (claude, agy, codex, gemini)',
15
+ }),
16
+ json: Flags.boolean({
17
+ description: 'Print machine-readable JSON instead of a table',
18
+ default: false,
19
+ }),
20
+ 'pool-dir': Flags.string({
21
+ description: 'Override account pool storage directory (default: MJ_HARNESS_ACCOUNT_POOL_DIR or ~/.mj/harness-accounts)',
22
+ }),
23
+ }; }
24
+ async run() {
25
+ const { flags } = await this.parse(HarnessAccountList);
26
+ const basePoolOpts = BuildPoolOptionsFromFlag(flags['pool-dir']);
27
+ const listOpts = {
28
+ ...basePoolOpts,
29
+ VerifyBinaryExecutable: true,
30
+ ...(HarnessAccountList.BinaryProbe ? { BinaryProbe: HarnessAccountList.BinaryProbe } : {}),
31
+ };
32
+ const service = HarnessAccountPoolService.Instance;
33
+ let vendorFilter;
34
+ if (flags.vendor) {
35
+ try {
36
+ vendorFilter = RequireHarnessVendor(flags.vendor);
37
+ }
38
+ catch (err) {
39
+ this.error(err instanceof Error ? err.message : String(err), { exit: 1 });
40
+ }
41
+ }
42
+ const pool = service.LoadPool(basePoolOpts);
43
+ const slots = service.ListSlots({ vendor: vendorFilter }, listOpts);
44
+ const poolDir = service.GetPoolDir(basePoolOpts);
45
+ if (flags.json) {
46
+ const payload = {
47
+ PoolDir: poolDir,
48
+ Strategy: pool.strategy,
49
+ IncludeOsDefaultLogin: pool.includeOsDefaultLogin,
50
+ Slots: slots,
51
+ };
52
+ this.log(JSON.stringify(payload, null, 2));
53
+ return;
54
+ }
55
+ this.log(FormatHarnessAccountTable(poolDir, pool.strategy, pool.includeOsDefaultLogin, slots));
56
+ }
57
+ }
58
+ //# sourceMappingURL=list.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list.js","sourceRoot":"","sources":["../../../../src/commands/harness/account/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EACH,yBAAyB,GAG5B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACH,wBAAwB,EACxB,yBAAyB,EACzB,oBAAoB,GAEvB,MAAM,iCAAiC,CAAC;AAEzC,MAAM,CAAC,OAAO,OA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IAAI,EAAE,CAAC,EAAE,CAAC,CAAC;YAC9E,CAAC;QACL,CAAC;QAED,MAAM,IAAI,GAAG,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC;QAC5C,MAAM,KAAK,GAAG,OAAO,CAAC,SAAS,CAAC,EAAE,MAAM,EAAE,YAAY,EAAE,EAAE,QAAQ,CAAC,CAAC;QACpE,MAAM,OAAO,GAAG,OAAO,CAAC,UAAU,CAAC,YAAY,CAAC,CAAC;QAEjD,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC;YACb,MAAM,OAAO,GAAiC;gBAC1C,OAAO,EAAE,OAAO;gBAChB,QAAQ,EAAE,IAAI,CAAC,QAAQ;gBACvB,qBAAqB,EAAE,IAAI,CAAC,qBAAqB;gBACjD,KAAK,EAAE,KAAK;aACf,CAAC;YACF,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;YAC3C,OAAO;QACX,CAAC;QAED,IAAI,CAAC,GAAG,CACJ,yBAAyB,CAAC,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,qBAAqB,EAAE,KAAK,CAAC,CACvF,CAAC;IACN,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { Command } from '@oclif/core';
2
+ import { type InteractiveLoginRunner } from '../../../lib/harness-account.js';
3
+ export default class HarnessAccountLogin extends Command {
4
+ static description: string;
5
+ static examples: string[];
6
+ static args: {
7
+ slotId: import("@oclif/core/lib/interfaces/parser.js").Arg<string, Record<string, unknown>>;
8
+ };
9
+ static flags: {
10
+ 'pool-dir': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
11
+ };
12
+ /** Overridable runner hook for deterministic unit tests. */
13
+ static LoginRunner: InteractiveLoginRunner;
14
+ run(): Promise<void>;
15
+ }
16
+ //# sourceMappingURL=login.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"login.d.ts","sourceRoot":"","sources":["../../../../src/commands/harness/account/login.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,OAAO,EAAS,MAAM,aAAa,CAAC;AAEnD,OAAO,EAKH,KAAK,sBAAsB,EAC9B,MAAM,iCAAiC,CAAC;AAEzC,MAAM,CAAC,OAAO,OAAO,mBAAoB,SAAQ,OAAO;IACpD,MAAM,CAAC,WAAW,SACkF;IAEpG,MAAM,CAAC,QAAQ,WAGb;IAEF,MAAM,CAAC,IAAI;;MAKT;IAEF,MAAM,CAAC,KAAK;;MAIV;IAEF,4DAA4D;IAC5D,OAAc,WAAW,EAAE,sBAAsB,CAA0B;IAE9D,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAqCpC"}
@@ -0,0 +1,50 @@
1
+ import { Args, Command, Flags } from '@oclif/core';
2
+ import { HarnessAccountPoolService } from '@memberjunction/ai-agent-harness';
3
+ import { BuildInteractiveLoginEnv, BuildPoolOptionsFromFlag, FormatSlotIsolationInstructions, RunInteractiveCliLogin, } from '../../../lib/harness-account.js';
4
+ export default class HarnessAccountLogin extends Command {
5
+ static { this.description = 'Re-run interactive CLI login for an existing account slot and clear any active quota cooldown'; }
6
+ static { this.examples = [
7
+ '<%= config.bin %> <%= command.id %> claude-pro-2',
8
+ '<%= config.bin %> <%= command.id %> os-default-agy',
9
+ ]; }
10
+ static { this.args = {
11
+ slotId: Args.string({
12
+ description: 'Slot ID to authenticate (see `mj harness account list`)',
13
+ required: true,
14
+ }),
15
+ }; }
16
+ static { this.flags = {
17
+ 'pool-dir': Flags.string({
18
+ description: 'Override account pool storage directory',
19
+ }),
20
+ }; }
21
+ /** Overridable runner hook for deterministic unit tests. */
22
+ static { this.LoginRunner = RunInteractiveCliLogin; }
23
+ async run() {
24
+ const { args, flags } = await this.parse(HarnessAccountLogin);
25
+ const poolOpts = BuildPoolOptionsFromFlag(flags['pool-dir']);
26
+ const service = HarnessAccountPoolService.Instance;
27
+ const slot = service.GetSlot(args.slotId, poolOpts);
28
+ if (!slot) {
29
+ this.error(`Account slot '${args.slotId}' not found. Run \`mj harness account list\` to inspect available slots.`, { exit: 1 });
30
+ }
31
+ const envOverrides = service.BuildSlotEnvOverrides(slot, poolOpts, true);
32
+ for (const line of FormatSlotIsolationInstructions(slot.vendor, slot.slotId, slot.slotDir, envOverrides)) {
33
+ this.log(line);
34
+ }
35
+ const loginSpec = service.GetInteractiveLoginCommand(slot.vendor);
36
+ this.log(`\nLaunching interactive login: ${loginSpec.displayCommand}\n`);
37
+ const loginEnv = BuildInteractiveLoginEnv(envOverrides);
38
+ const outcome = HarnessAccountLogin.LoginRunner(loginSpec, loginEnv);
39
+ if (outcome.Error) {
40
+ this.error(`Failed to launch '${loginSpec.command}': ${outcome.Error.message}`, { exit: 1 });
41
+ }
42
+ if (outcome.Status !== 0) {
43
+ this.error(`Interactive login exited with status ${outcome.Status ?? 'unknown'}.`, { exit: 1 });
44
+ }
45
+ service.ClearSlotCooldown(slot.slotId, poolOpts);
46
+ const auth = service.ProbeSlotAuthStatus(slot, poolOpts);
47
+ this.log(`Slot '${slot.slotId}' login completed (auth: ${auth.statusLabel}${auth.indicatorPath ? `, indicator: ${auth.indicatorPath}` : ''}); cooldown cleared.`);
48
+ }
49
+ }
50
+ //# sourceMappingURL=login.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"login.js","sourceRoot":"","sources":["../../../../src/commands/harness/account/login.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAC7E,OAAO,EACH,wBAAwB,EACxB,wBAAwB,EACxB,+BAA+B,EAC/B,sBAAsB,GAEzB,MAAM,iCAAiC,CAAC;AAEzC,MAAM,CAAC,OAAO,OAAO,mBAAoB,SAAQ,OAAO;aAC7C,gBAAW,GACd,+FAA+F,CAAC;aAE7F,aAAQ,G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AAG,CAAC,kCAAkC,SAAS,CAAC,cAAc,IAAI,CAAC,CAAC;QACzE,MAAM,QAAQ,GAAG,wBAAwB,CAAC,YAAY,CAAC,CAAC;QACxD,MAAM,OAAO,GAAG,mBAAmB,CAAC,WAAW,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;QACrE,IAAI,OAAO,CAAC,KAAK,EAAE,CAAC;YAChB,IAAI,CAAC,KAAK,CAAC,qBAAqB,SAAS,CAAC,OAAO,MAAM,OAAO,CAAC,KAAK,CAAC,OAAO,EAAE,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC,CAAC;QACjG,CAAC;QACD,IAAI,OAAO,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YACvB,IAAI,CAAC,KAAK,CAAC,wCAAwC,OAAO,CAAC,MAAM,IAAI,SAAS,GAAG,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC,CAAC;QACpG,CAAC;QAED,OAAO,CAAC,iBAAiB,CAAC,IAAI,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACjD,MAAM,IAAI,GAAG,OAAO,CAAC,mBAAmB,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;QACzD,IAAI,CAAC,GAAG,CACJ,SAAS,IAAI,CAAC,MAAM,4BAA4B,IAAI,CAAC,WAAW,GAC5D,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,gBAAgB,IAAI,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC,EAChE,sBAAsB,CACzB,CAAC;IACN,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { Command } from '@oclif/core';
2
+ export default class HarnessAccountRemove extends Command {
3
+ static description: string;
4
+ static examples: string[];
5
+ static args: {
6
+ slotId: import("@oclif/core/lib/interfaces/parser.js").Arg<string, Record<string, unknown>>;
7
+ };
8
+ static flags: {
9
+ 'purge-files': import("@oclif/core/lib/interfaces/parser.js").BooleanFlag<boolean>;
10
+ 'pool-dir': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
11
+ };
12
+ run(): Promise<void>;
13
+ }
14
+ //# sourceMappingURL=remove.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remove.d.ts","sourceRoot":"","sources":["../../../../src/commands/harness/account/remove.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,OAAO,EAAS,MAAM,aAAa,CAAC;AAInD,MAAM,CAAC,OAAO,OAAO,oBAAqB,SAAQ,OAAO;IACrD,MAAM,CAAC,WAAW,SAAoE;IAEtF,MAAM,CAAC,QAAQ,WAGb;IAEF,MAAM,CAAC,IAAI;;MAKT;IAEF,MAAM,CAAC,KAAK;;;MAQV;IAEW,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAyBpC"}
@@ -0,0 +1,43 @@
1
+ import { Args, Command, Flags } from '@oclif/core';
2
+ import { HarnessAccountPoolService } from '@memberjunction/ai-agent-harness';
3
+ import { BuildPoolOptionsFromFlag } from '../../../lib/harness-account.js';
4
+ export default class HarnessAccountRemove extends Command {
5
+ static { this.description = 'Remove an enrolled CLI subscription account slot from the pool'; }
6
+ static { this.examples = [
7
+ '<%= config.bin %> <%= command.id %> claude-pro-2',
8
+ '<%= config.bin %> <%= command.id %> claude-pro-2 --purge-files',
9
+ ]; }
10
+ static { this.args = {
11
+ slotId: Args.string({
12
+ description: 'Enrolled slot ID to remove',
13
+ required: true,
14
+ }),
15
+ }; }
16
+ static { this.flags = {
17
+ 'purge-files': Flags.boolean({
18
+ description: 'Also delete the isolated slot directory under the pool root',
19
+ default: false,
20
+ }),
21
+ 'pool-dir': Flags.string({
22
+ description: 'Override account pool storage directory',
23
+ }),
24
+ }; }
25
+ async run() {
26
+ const { args, flags } = await this.parse(HarnessAccountRemove);
27
+ const poolOpts = BuildPoolOptionsFromFlag(flags['pool-dir']);
28
+ const service = HarnessAccountPoolService.Instance;
29
+ let removed;
30
+ try {
31
+ removed = service.RemoveSlot(args.slotId, { purgeFiles: flags['purge-files'] }, poolOpts);
32
+ }
33
+ catch (err) {
34
+ this.error(err instanceof Error ? err.message : String(err), { exit: 1 });
35
+ }
36
+ if (!removed) {
37
+ this.error(`Account slot '${args.slotId}' not found.`, { exit: 1 });
38
+ }
39
+ this.log(`Removed slot '${args.slotId}' from ${service.GetPoolFilePath(poolOpts)}` +
40
+ (flags['purge-files'] ? ' and purged its isolated slot directory.' : '.'));
41
+ }
42
+ }
43
+ //# sourceMappingURL=remove.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remove.js","sourceRoot":"","sources":["../../../../src/commands/harness/account/remove.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAC7E,OAAO,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAE3E,MAAM,CAAC,OAAO,OAAO,oBAAqB,SAAQ,OAAO;aAC9C,gBAAW,GAAG,gEAAgE,CAAC;aAE/E,aAAQ,GAAG;QACd,kDAAkD;QAClD,gEAAgE;KACnE,CAAC;aAEK,SAAI,GAAG;QACV,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;YAChB,WAAW,EAAE,4BAA4B;YACzC,QAAQ,EAAE,IAAI;SACjB,CAAC;KACL,CAAC;aAEK,UAAK,GAAG;QACX,aAAa,EAAE,KAAK,CAAC,OAAO,CAAC;YACzB,WAAW,EAAE,6DAA6D;YAC1E,OAAO,EAAE,KAAK;SACjB,CAAC;QACF,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC;YACrB,WAAW,EAAE,yCAAyC;SACzD,CAAC;KACL,CAAC;IAEK,KAAK,CAAC,GAAG;QACZ,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC;QAC/D,MAAM,QAAQ,GAAG,wBAAwB,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC;QAC7D,MAAM,OAAO,GAAG,yBAAyB,CAAC,QAAQ,CAAC;QAEnD,IAAI,OAAgB,CAAC;QACrB,IAAI,CAAC;YACD,OAAO,GAAG,OAAO,CAAC,UAAU,CACxB,IAAI,CAAC,MAAM,EACX,EAAE,UAAU,EAAE,KAAK,CAAC,aAAa,CAAC,EAAE,EACpC,QAAQ,CACX,CAAC;QACN,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACX,IAAI,CAAC,KAAK,CAAC,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC,CAAC;QAC9E,CAAC;QAED,IAAI,CAAC,OAAO,EAAE,CAAC;YACX,IAAI,CAAC,KAAK,CAAC,iBAAiB,IAAI,CAAC,MAAM,cAAc,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC,CAAC;QACxE,CAAC;QAED,IAAI,CAAC,GAAG,CACJ,iBAAiB,IAAI,CAAC,MAAM,UAAU,OAAO,CAAC,eAAe,CAAC,QAAQ,CAAC,EAAE;YACrE,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,0CAA0C,CAAC,CAAC,CAAC,GAAG,CAAC,CAChF,CAAC;IACN,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { Command } from '@oclif/core';
2
+ export default class HarnessAccountSetStrategy extends Command {
3
+ static description: string;
4
+ static examples: string[];
5
+ static args: {
6
+ strategy: import("@oclif/core/lib/interfaces/parser.js").Arg<string, Record<string, unknown>>;
7
+ };
8
+ static flags: {
9
+ 'pool-dir': import("@oclif/core/lib/interfaces/parser.js").OptionFlag<string, import("@oclif/core/lib/interfaces/parser.js").CustomOptions>;
10
+ };
11
+ run(): Promise<void>;
12
+ }
13
+ //# sourceMappingURL=set-strategy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"set-strategy.d.ts","sourceRoot":"","sources":["../../../../src/commands/harness/account/set-strategy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,OAAO,EAAS,MAAM,aAAa,CAAC;AAOnD,MAAM,CAAC,OAAO,OAAO,yBAA0B,SAAQ,OAAO;IAC1D,MAAM,CAAC,WAAW,SAA+D;IAEjF,MAAM,CAAC,QAAQ,WAKb;IAEF,MAAM,CAAC,IAAI;;MAKT;IAEF,MAAM,CAAC,KAAK;;MAIV;IAEW,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAepC"}
@@ -0,0 +1,38 @@
1
+ import { Args, Command, Flags } from '@oclif/core';
2
+ import { HARNESS_ACCOUNT_SELECTION_STRATEGIES, HarnessAccountPoolService, } from '@memberjunction/ai-agent-harness';
3
+ import { BuildPoolOptionsFromFlag, RequireHarnessStrategy } from '../../../lib/harness-account.js';
4
+ export default class HarnessAccountSetStrategy extends Command {
5
+ static { this.description = 'Set the default multi-account CLI pool balancing strategy'; }
6
+ static { this.examples = [
7
+ '<%= config.bin %> <%= command.id %> least-in-flight',
8
+ '<%= config.bin %> <%= command.id %> round-robin',
9
+ '<%= config.bin %> <%= command.id %> weighted',
10
+ '<%= config.bin %> <%= command.id %> priority-failover',
11
+ ]; }
12
+ static { this.args = {
13
+ strategy: Args.string({
14
+ description: `Selection strategy (${HARNESS_ACCOUNT_SELECTION_STRATEGIES.join(', ')})`,
15
+ required: true,
16
+ }),
17
+ }; }
18
+ static { this.flags = {
19
+ 'pool-dir': Flags.string({
20
+ description: 'Override account pool storage directory',
21
+ }),
22
+ }; }
23
+ async run() {
24
+ const { args, flags } = await this.parse(HarnessAccountSetStrategy);
25
+ const poolOpts = BuildPoolOptionsFromFlag(flags['pool-dir']);
26
+ let strategy;
27
+ try {
28
+ strategy = RequireHarnessStrategy(args.strategy);
29
+ }
30
+ catch (err) {
31
+ this.error(err instanceof Error ? err.message : String(err), { exit: 1 });
32
+ }
33
+ const service = HarnessAccountPoolService.Instance;
34
+ service.SetStrategy(strategy, poolOpts);
35
+ this.log(`Harness account pool default strategy set to '${strategy}'.`);
36
+ }
37
+ }
38
+ //# sourceMappingURL=set-strategy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"set-strategy.js","sourceRoot":"","sources":["../../../../src/commands/harness/account/set-strategy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EACH,oCAAoC,EACpC,yBAAyB,GAC5B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,wBAAwB,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAEnG,MAAM,CAAC,OAAO,OAAO,yBAA0B,SAAQ,OAAO;aACnD,gBAAW,GAAG,2DAA2D,CAAC;aAE1E,aAAQ,GAAG;QACd,qDAAqD;QACrD,iDAAiD;QACjD,8CAA8C;QAC9C,uDAAuD;KAC1D,CAAC;aAEK,SAAI,GAAG;QACV,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC;YAClB,WAAW,EAAE,uBAAuB,oCAAoC,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG;YACtF,QAAQ,EAAE,IAAI;SACjB,CAAC;KACL,CAAC;aAEK,UAAK,GAAG;QACX,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC;YACrB,WAAW,EAAE,yCAAyC;SACzD,CAAC;KACL,CAAC;IAEK,KAAK,CAAC,GAAG;QACZ,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAAC;QACpE,MAAM,QAAQ,GAAG,wBAAwB,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC;QAE7D,IAAI,QAAQ,CAAC;QACb,IAAI,CAAC;YACD,QAAQ,GAAG,sBAAsB,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACrD,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACX,IAAI,CAAC,KAAK,CAAC,GAAG,YAAY,KAAK,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,EAAE,IAAI,EAAE,CAAC,EAAE,CAAC,CAAC;QAC9E,CAAC;QAED,MAAM,OAAO,GAAG,yBAAyB,CAAC,QAAQ,CAAC;QACnD,OAAO,CAAC,WAAW,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;QACxC,IAAI,CAAC,GAAG,CAAC,iDAAiD,QAAQ,IAAI,CAAC,CAAC;IAC5E,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { Command } from '@oclif/core';
2
+ export default class Harness extends Command {
3
+ static description: string;
4
+ static examples: string[];
5
+ run(): Promise<void>;
6
+ }
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/harness/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAEtC,MAAM,CAAC,OAAO,OAAO,OAAQ,SAAQ,OAAO;IACxC,MAAM,CAAC,WAAW,SAAuF;IAEzG,MAAM,CAAC,QAAQ,WAIb;IAEW,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAYpC"}
@@ -0,0 +1,22 @@
1
+ import { Command } from '@oclif/core';
2
+ export default class Harness extends Command {
3
+ static { this.description = 'Manage external agent harness runtime settings and CLI subscription account pools'; }
4
+ static { this.examples = [
5
+ '<%= config.bin %> <%= command.id %> account list',
6
+ '<%= config.bin %> <%= command.id %> account add claude --label "Pro #2"',
7
+ '<%= config.bin %> <%= command.id %> account set-strategy least-in-flight',
8
+ ]; }
9
+ async run() {
10
+ this.log('MemberJunction Agent Harness\n');
11
+ this.log(' mj harness account list - List enrolled and OS-default CLI accounts');
12
+ this.log(' mj harness account add <vendor> - Enroll an isolated CLI subscription slot');
13
+ this.log(' mj harness account login <slotId> - Re-authenticate an existing slot');
14
+ this.log(' mj harness account remove <slotId> - Remove an enrolled slot');
15
+ this.log(' mj harness account set-strategy <strategy> - Set default pool balancing strategy');
16
+ this.log(' mj harness account enable <slotId> - Enable a slot for balancing');
17
+ this.log(' mj harness account disable <slotId> - Disable a slot from balancing');
18
+ this.log(' mj harness account clear-cooldown <slotId> - Clear active quota cooldown on a slot');
19
+ this.log('\nRun "mj harness account COMMAND --help" for details.');
20
+ }
21
+ }
22
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/commands/harness/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAEtC,MAAM,CAAC,OAAO,OAAO,OAAQ,SAAQ,OAAO;aACjC,gBAAW,GAAG,mFAAmF,CAAC;aAElG,aAAQ,GAAG;QACd,kDAAkD;QAClD,yEAAyE;QACzE,0EAA0E;KAC7E,CAAC;IAEK,KAAK,CAAC,GAAG;QACZ,IAAI,CAAC,GAAG,CAAC,gCAAgC,CAAC,CAAC;QAC3C,IAAI,CAAC,GAAG,CAAC,+FAA+F,CAAC,CAAC;QAC1G,IAAI,CAAC,GAAG,CAAC,8FAA8F,CAAC,CAAC;QACzG,IAAI,CAAC,GAAG,CAAC,sFAAsF,CAAC,CAAC;QACjG,IAAI,CAAC,GAAG,CAAC,6EAA6E,CAAC,CAAC;QACxF,IAAI,CAAC,GAAG,CAAC,yFAAyF,CAAC,CAAC;QACpG,IAAI,CAAC,GAAG,CAAC,iFAAiF,CAAC,CAAC;QAC5F,IAAI,CAAC,GAAG,CAAC,mFAAmF,CAAC,CAAC;QAC9F,IAAI,CAAC,GAAG,CAAC,2FAA2F,CAAC,CAAC;QACtG,IAAI,CAAC,GAAG,CAAC,wDAAwD,CAAC,CAAC;IACvE,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { DomainUsageCommand } from '../../lib/domain-usage-command.js';
2
+ /** Tier-2 usage for the `harness` domain (`mj harness usage`). */
3
+ export default class HarnessUsage extends DomainUsageCommand {
4
+ static description: string;
5
+ protected Domain: string;
6
+ }
7
+ //# sourceMappingURL=usage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usage.d.ts","sourceRoot":"","sources":["../../../src/commands/harness/usage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAEvE,kEAAkE;AAClE,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,kBAAkB;IACxD,MAAM,CAAC,WAAW,SAAoF;IACtG,SAAS,CAAC,MAAM,SAAa;CAChC"}
@@ -0,0 +1,10 @@
1
+ import { DomainUsageCommand } from '../../lib/domain-usage-command.js';
2
+ /** Tier-2 usage for the `harness` domain (`mj harness usage`). */
3
+ export default class HarnessUsage extends DomainUsageCommand {
4
+ constructor() {
5
+ super(...arguments);
6
+ this.Domain = 'harness';
7
+ }
8
+ static { this.description = 'Show usage, flags, examples, and runtime hints for every `mj harness` command.'; }
9
+ }
10
+ //# sourceMappingURL=usage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"usage.js","sourceRoot":"","sources":["../../../src/commands/harness/usage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAEvE,kEAAkE;AAClE,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,kBAAkB;IAA5D;;QAEc,WAAM,GAAG,SAAS,CAAC;IACjC,CAAC;aAFU,gBAAW,GAAG,gFAAgF,AAAnF,CAAoF"}
@@ -6,7 +6,7 @@ import type { MigrationConversionResult, BakedMigrationResult } from '@memberjun
6
6
  * `mode`). An INTERSECTION (not a bare `Pick`) because `MigrationConversionResult` has no `mode`
7
7
  * field — the baker's `mode`/`reconciliation` are optional here (issue #3252 Phase 4b).
8
8
  */
9
- type ConvertedShape = Pick<MigrationConversionResult, 'status' | 'pgSQL' | 'unhandled' | 'handProcedural'> & {
9
+ type ConvertedShape = Pick<MigrationConversionResult, 'status' | 'pgSQL' | 'unhandled' | 'handProcedural' | 'warnings'> & {
10
10
  mode?: BakedMigrationResult['mode'];
11
11
  reconciliation?: MigrationConversionResult['reconciliation'];
12
12
  };
@@ -90,6 +90,19 @@ export declare function decideLegacyConvertExit(args: {
90
90
  fail: false;
91
91
  message: null;
92
92
  };
93
+ /** The newest T-SQL baseline among `files`, or undefined. */
94
+ export declare function LatestBaseline(files: string[]): string | undefined;
95
+ /**
96
+ * Splits T-SQL migration files into those to consider for conversion and the `V…` files older than
97
+ * the oldest baseline (#3345 item 1). A baseline is a cumulative snapshot, so a migration below the
98
+ * oldest one is already inside it and has no counterpart to write; counting it as unconverted halted
99
+ * every bake chain. Baselines and every file at or after the oldest baseline are kept; with no
100
+ * baseline in the folder, every file is kept. Pure.
101
+ */
102
+ export declare function FilterPreBaselineMigrations(files: string[]): {
103
+ kept: string[];
104
+ skipped: string[];
105
+ };
93
106
  /**
94
107
  * Names of the CodeGen CRUD procedures (`spCreate*`, `spUpdate*`, `spDelete*`) in a migration's
95
108
  * CodeGen block, in file order. Hand-written procedures above the block are not included.
@@ -163,6 +176,12 @@ export default class MigrateConvert extends Command {
163
176
  * See plans/pg-migration-architecture/SPLIT_AND_REGENERATE_PROPOSAL.md.
164
177
  */
165
178
  private runSplit;
179
+ /**
180
+ * The legacy path's run-wide boolean-column registry, seeded from the latest baseline in
181
+ * `sourceDir` (a cumulative schema snapshot, so it declares every table that exists before the
182
+ * files being converted). Empty when the folder has no baseline.
183
+ */
184
+ private buildLegacyColumnRegistry;
166
185
  /**
167
186
  * Construct the AST transpiler with the cross-file BIT/BOOLEAN column registry
168
187
  * collected from the baselines (they declare the core tables, e.g. User.IsActive),
@@ -182,6 +201,11 @@ export default class MigrateConvert extends Command {
182
201
  * matching `import type` at the top is erased at runtime, so it does not defeat the deferral.
183
202
  */
184
203
  private buildBaker;
204
+ /**
205
+ * Print the named, non-blocking warnings (issue #5649): work the converter cannot do that a
206
+ * person finishes by hand. They do not fail the run or stop a bake.
207
+ */
208
+ private printWarnings;
185
209
  /** Warn when the legacy path is about to transpile CodeGen CRUD procedures. */
186
210
  private warnOnCodeGenProcedures;
187
211
  /** Print the split-and-regenerate run summary and the mandatory next steps. */
@@ -1 +1 @@
1
- {"version":3,"file":"convert.d.ts","sourceRoot":"","sources":["../../../src/commands/migrate/convert.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAS,MAAM,aAAa,CAAC;AAc7C,OAAO,KAAK,EAIV,yBAAyB,EACzB,oBAAoB,EAErB,MAAM,+BAA+B,CAAC;AAYvC;;;;;GAKG;AACH,KAAK,cAAc,GAAG,IAAI,CAAC,yBAAyB,EAAE,QAAQ,GAAG,OAAO,GAAG,WAAW,GAAG,gBAAgB,CAAC,GAAG;IAC3G,IAAI,CAAC,EAAE,oBAAoB,CAAC,MAAM,CAAC,CAAC;IACpC,cAAc,CAAC,EAAE,yBAAyB,CAAC,gBAAgB,CAAC,CAAC;CAC9D,CAAC;AAEF;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,kBAAkB,CAIhC,MAAM,EAAE,IAAI,CAAC,cAAc,EAAE,QAAQ,GAAG,WAAW,GAAG,MAAM,CAAC,EAC7D,WAAW,EAAE,OAAO,GACnB;IAAE,KAAK,EAAE,OAAO,CAAC;IAAC,gBAAgB,EAAE,OAAO,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAA;CAAE,CAKlE;AAED,kDAAkD;AAClD,wBAAgB,kBAAkB,CAIhC,MAAM,EAAE,IAAI,CAAC,cAAc,EAAE,QAAQ,GAAG,WAAW,GAAG,MAAM,CAAC,EAC7D,WAAW,EAAE,OAAO,GACnB;IAAE,KAAK,EAAE,OAAO,CAAC;IAAC,gBAAgB,EAAE,OAAO,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAA;CAAE,CAElE;AAED;;;;;;;;;GASG;AACH,wBAAgB,8BAA8B,CAA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