@wrongstack/cli 1.0.19 → 1.0.24

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 (124) hide show
  1. package/dist/{acp-INCNOH42.js → acp-AJWSKWE5.js} +18 -7
  2. package/dist/arg-parser.d.ts +1 -0
  3. package/dist/{auth-YXK3EDUL.js → auth-GRBZ7Y3D.js} +61 -15
  4. package/dist/auth-menu/direct.d.ts +1 -0
  5. package/dist/auth-menu/local.d.ts +2 -0
  6. package/dist/auth-menu/oauth-menu.d.ts +3 -1
  7. package/dist/auth-menu/panel-service.d.ts +20 -0
  8. package/dist/{bench-YBU6BVQP.js → bench-N5K7Z5O3.js} +2 -2
  9. package/dist/boot/config-backup-recovery.d.ts +2 -1
  10. package/dist/boot/dispatch-webui.d.ts +11 -0
  11. package/dist/boot/short-circuit-desktop.d.ts +1 -0
  12. package/dist/boot/tui-project-picker-callback.d.ts +1 -1
  13. package/dist/boot/tui-settings-adapter.d.ts +15 -2
  14. package/dist/{boot-auto-thin-MANHOYHE.js → boot-auto-thin-6Q56FY3F.js} +3 -2
  15. package/dist/{chunk-6WRKAACA.js → chunk-2BKFWIER.js} +4 -2
  16. package/dist/{chunk-JY52HWL6.js → chunk-2EBVTYJR.js} +2 -2
  17. package/dist/chunk-3OCUS3VN.js +46 -0
  18. package/dist/chunk-424ORSE7.js +56 -0
  19. package/dist/{chunk-KEPABQYT.js → chunk-5SEYGOCH.js} +8 -82
  20. package/dist/chunk-BBHWW6LR.js +549 -0
  21. package/dist/{chunk-CJTBLTS4.js → chunk-BLD5DSVA.js} +4 -3
  22. package/dist/{chunk-KK2LB3ZS.js → chunk-DRM7PSW7.js} +9 -5
  23. package/dist/{chunk-XJ7K67PP.js → chunk-JF2MULWF.js} +17 -10
  24. package/dist/{chunk-SIS37L3W.js → chunk-L2RVEQWO.js} +211 -193
  25. package/dist/{chunk-RDHFXOJM.js → chunk-LFMVHT3R.js} +106 -57
  26. package/dist/chunk-LUMETJFO.js +171 -0
  27. package/dist/{chunk-C3Z4N6A6.js → chunk-MHEBWVXL.js} +6 -2
  28. package/dist/{chunk-2ENZU66X.js → chunk-PGKJ2OQP.js} +5 -5
  29. package/dist/{chunk-672UXYL3.js → chunk-QBBF7GIK.js} +2 -2
  30. package/dist/{chunk-DE7BZDNK.js → chunk-QFPQXKCG.js} +11 -3
  31. package/dist/chunk-R4QGL6GB.js +10 -0
  32. package/dist/chunk-S4FFHDJG.js +93 -0
  33. package/dist/chunk-SFBFYIOW.js +271 -0
  34. package/dist/{chunk-JX6KL7OF.js → chunk-SKPDE62W.js} +4 -3
  35. package/dist/{chunk-RMQNCHGO.js → chunk-U46QR4WR.js} +5 -9
  36. package/dist/{chunk-B4JLSXZB.js → chunk-WSTVGC2C.js} +73 -45
  37. package/dist/chunk-YBUCXXYZ.js +36 -0
  38. package/dist/{chunk-2VMJ3E5Z.js → chunk-YTEOAWOJ.js} +6 -2
  39. package/dist/{chunk-GPPRNAKW.js → chunk-ZMX5HRLI.js} +2 -2
  40. package/dist/{chunk-YLQEGYV4.js → chunk-ZZRSG7VK.js} +14 -4
  41. package/dist/{cli-context-33F74CSZ.js → cli-context-34Q5IJRA.js} +121 -89
  42. package/dist/cli-entry-point.d.ts +2 -0
  43. package/dist/{cli-main-FNGMKPBA.js → cli-main-AELJDBGU.js} +1439 -1276
  44. package/dist/config-doctor.d.ts +10 -2
  45. package/dist/{config-transfer-2YF3CRTN.js → config-transfer-RUWLDCNK.js} +34 -13
  46. package/dist/{diag-doctor-ANPRUYFM.js → diag-doctor-WIFJH3XH.js} +2 -2
  47. package/dist/execute-deps.d.ts +2 -1
  48. package/dist/{execution-A6WJLSOC.js → execution-PYC5FCS4.js} +303 -256
  49. package/dist/{hq-XQWQTRDA.js → hq-JTUTFI4L.js} +274 -258
  50. package/dist/hq-command-controller.d.ts +1 -1
  51. package/dist/{hq-server-IIBZQZU4.js → hq-server-PC7GZMPT.js} +2 -2
  52. package/dist/{hq-service-L5INQFM4.js → hq-service-NW56MUP2.js} +11 -4
  53. package/dist/index.d.ts +1 -1
  54. package/dist/index.js +17 -12
  55. package/dist/kanban-supervisor-67ECABTD.js +7 -0
  56. package/dist/live-settings-input.d.ts +7 -0
  57. package/dist/{mailbox-serve-3GFOK2I7.js → mailbox-serve-WDOCH6KR.js} +3 -3
  58. package/dist/{mcp-DC5WSBOO.js → mcp-LBS45HWZ.js} +4 -4
  59. package/dist/modeldiag-36OGAL5C.js +828 -0
  60. package/dist/{per-subcommand-help-DHTYU524.js → per-subcommand-help-XE77MTGJ.js} +3 -3
  61. package/dist/permission-prompt-mirror.d.ts +1 -1
  62. package/dist/permission-prompt.d.ts +2 -2
  63. package/dist/plugin-config.d.ts +12 -0
  64. package/dist/plugin-management-types.d.ts +31 -0
  65. package/dist/plugin-management.d.ts +2 -30
  66. package/dist/plugin-package-install.d.ts +3 -0
  67. package/dist/{plugin-usage-M6KET4OZ.js → plugin-usage-S5LVGMBW.js} +6 -5
  68. package/dist/{plugins-WJLW6ULV.js → plugins-RHBIVLI7.js} +4 -3
  69. package/dist/provider-config-utils.d.ts +1 -6
  70. package/dist/{providers-models-LFNZ5WI7.js → providers-models-2CFG46RD.js} +41 -31
  71. package/dist/release-asset-download.d.ts +3 -0
  72. package/dist/services/dispatch-classifier.d.ts +39 -5
  73. package/dist/{sessions-config-UL45XKX7.js → sessions-config-IQUH2GXT.js} +13 -5
  74. package/dist/settings-menu.d.ts +2 -0
  75. package/dist/short-circuit-flags-SDT53OML.js +10 -0
  76. package/dist/{simpleui-dist-CXSIDAXZ.js → simpleui-dist-7BQISSEP.js} +7 -3
  77. package/dist/skill-suggest-L2EVWB6R.js +290 -0
  78. package/dist/slash-commands/effort.d.ts +1 -1
  79. package/dist/slash-commands/fallback.d.ts +1 -1
  80. package/dist/slash-commands/gitid.d.ts +1 -1
  81. package/dist/slash-commands/jev.d.ts +4 -0
  82. package/dist/slash-commands/openai-quota.d.ts +15 -0
  83. package/dist/slash-commands/sdd-task-mutations.d.ts +4 -0
  84. package/dist/slash-commands/settings-keys.d.ts +2 -0
  85. package/dist/slash-commands/settings-reset.d.ts +6 -0
  86. package/dist/standalone-update-MW47J3AK.js +164 -0
  87. package/dist/standalone-update.d.ts +19 -0
  88. package/dist/subcommands/handlers/hq-alerts.d.ts +3 -0
  89. package/dist/subcommands/handlers/hq-audit.d.ts +46 -0
  90. package/dist/subcommands/handlers/hq-data-dir.d.ts +13 -0
  91. package/dist/subcommands/handlers/skill-suggest.d.ts +21 -0
  92. package/dist/subcommands/handlers/typesafe-brain-replay.d.ts +26 -0
  93. package/dist/subcommands/handlers/typesafe-judgment-check.d.ts +3 -0
  94. package/dist/subcommands/handlers/typesafe-topic-replay.d.ts +19 -0
  95. package/dist/subcommands/handlers/typesafe-triage-replay.d.ts +18 -0
  96. package/dist/subcommands/handlers/typesafe.d.ts +23 -0
  97. package/dist/{subcommands-XSLXMIDP.js → subcommands-ZTSIN7LG.js} +2 -2
  98. package/dist/typesafe-HVEVPA6R.js +316 -0
  99. package/dist/typesafe-brain-replay-C5276FVR.js +222 -0
  100. package/dist/typesafe-judgment-check-GGYYV5UF.js +29 -0
  101. package/dist/typesafe-topic-replay-4W73BOLV.js +218 -0
  102. package/dist/typesafe-triage-replay-FGAW7QM7.js +215 -0
  103. package/dist/{update-5DPB4YD4.js → update-7XIOEXTD.js} +4 -3
  104. package/dist/{update-check-BS3DHTSI.js → update-check-2POMBHFB.js} +3 -2
  105. package/dist/update-check.d.ts +1 -1
  106. package/dist/version-help-WZ623NWM.js +10 -0
  107. package/dist/version.d.ts +3 -2
  108. package/dist/webui-client-observability.d.ts +7 -0
  109. package/dist/{webui-server-MRPGTTKL.js → webui-server-L2SICPTB.js} +158 -94
  110. package/dist/webui-server-options.d.ts +11 -0
  111. package/dist/webui-server.d.ts +15 -1
  112. package/dist/wiring/domain-glossary.d.ts +5 -4
  113. package/dist/wiring/plugins.d.ts +1 -1
  114. package/dist/wiring/provider-persisters.d.ts +24 -0
  115. package/dist/wiring/provider-runtime.d.ts +9 -1
  116. package/dist/wiring/runtime-dispatch-state.d.ts +3 -1
  117. package/package.json +28 -28
  118. package/dist/chunk-2CZEORLV.js +0 -54
  119. package/dist/chunk-DR2OXU46.js +0 -174
  120. package/dist/chunk-JACOMTIH.js +0 -275
  121. package/dist/chunk-XJXDOF63.js +0 -28
  122. package/dist/modeldiag-CJSFHZ3J.js +0 -1356
  123. package/dist/short-circuit-flags-7GQIGMVD.js +0 -10
  124. package/dist/version-help-WXI42PZ3.js +0 -10
package/dist/index.js CHANGED
@@ -2,13 +2,13 @@
2
2
  import {
3
3
  applyNodeEnvDefault,
4
4
  applySessionShellDefault
5
- } from "./chunk-672UXYL3.js";
6
- import {
7
- CLI_VERSION
8
- } from "./chunk-XJXDOF63.js";
5
+ } from "./chunk-QBBF7GIK.js";
9
6
  import {
10
7
  parseArgs
11
- } from "./chunk-C3Z4N6A6.js";
8
+ } from "./chunk-MHEBWVXL.js";
9
+ import {
10
+ CLI_VERSION
11
+ } from "./chunk-YBUCXXYZ.js";
12
12
 
13
13
  // src/cli-entry-main.ts
14
14
  async function main(argv) {
@@ -16,14 +16,14 @@ async function main(argv) {
16
16
  applySessionShellDefault();
17
17
  const earlyFlags = parseArgs(argv).flags;
18
18
  if (earlyFlags["help"] === true || earlyFlags["version"] === true) {
19
- const { handleHelpVersionShortCircuit } = await import("./short-circuit-flags-7GQIGMVD.js");
19
+ const { handleHelpVersionShortCircuit } = await import("./short-circuit-flags-SDT53OML.js");
20
20
  const earlyExit = await handleHelpVersionShortCircuit(argv);
21
21
  if (earlyExit !== null) return earlyExit;
22
22
  }
23
- const { initializeCli } = await import("./cli-context-33F74CSZ.js");
23
+ const { initializeCli } = await import("./cli-context-34Q5IJRA.js");
24
24
  const cliCtx = await initializeCli(argv);
25
25
  if (typeof cliCtx === "number") return cliCtx;
26
- const { runInteractive } = await import("./cli-main-FNGMKPBA.js");
26
+ const { runInteractive } = await import("./cli-main-AELJDBGU.js");
27
27
  return runInteractive(cliCtx);
28
28
  }
29
29
 
@@ -34,6 +34,7 @@ import { scrubErrorText } from "@wrongstack/core/security";
34
34
  import {
35
35
  hardenWin32ExecutableSearch,
36
36
  installCrashShield,
37
+ isStandaloneBinary,
37
38
  runFatalSalvageSync,
38
39
  writeErr
39
40
  } from "@wrongstack/core/utils";
@@ -58,7 +59,7 @@ function isCliMain(moduleUrl, argvEntry = process.argv[1]) {
58
59
  }
59
60
  return argvEntry.endsWith("/cli/dist/index.js") || argvEntry.endsWith("\\cli\\dist\\index.js");
60
61
  }
61
- var isMain = isCliMain(import.meta.url);
62
+ var isMain = isStandaloneBinary() || isCliMain(import.meta.url);
62
63
  function isBrokenOutputConsumer(error) {
63
64
  if (typeof error !== "object" || error === null || !("code" in error)) return false;
64
65
  return error.code === "EPIPE" || error.code === "ECONNRESET" || error.code === "ECONNABORTED";
@@ -120,8 +121,7 @@ function scheduleForcedExit(code, deps = {}) {
120
121
  const first = setTimeout(check, EXIT_GRACE_MS);
121
122
  first.unref();
122
123
  }
123
- function runAsMain(mainFn) {
124
- if (!isMain) return;
124
+ function runCliProcess(mainFn) {
125
125
  installBrokenPipeHandlers();
126
126
  installCrashShield();
127
127
  hardenWin32ExecutableSearch();
@@ -143,12 +143,17 @@ function runAsMain(mainFn) {
143
143
  }
144
144
  );
145
145
  }
146
+ function runAsMain(mainFn) {
147
+ if (!isMain) return;
148
+ runCliProcess(mainFn);
149
+ }
146
150
 
147
151
  // src/index.ts
148
152
  runAsMain(main);
149
153
  export {
150
154
  CLI_VERSION,
151
155
  installBrokenPipeHandlers,
152
- main
156
+ main,
157
+ runCliProcess
153
158
  };
154
159
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ import {
2
+ createKanbanSupervisor
3
+ } from "./chunk-R4QGL6GB.js";
4
+ export {
5
+ createKanbanSupervisor
6
+ };
7
+ //# sourceMappingURL=kanban-supervisor-67ECABTD.js.map
@@ -85,6 +85,13 @@ export interface LiveSettingsInput {
85
85
  * stores it as-is. Default: every panel 'bottom' when unset.
86
86
  */
87
87
  panelPositions?: Readonly<Record<string, 'bottom' | 'sidebar'>> | undefined;
88
+ /**
89
+ * Settings-picker cursor restore: the field index the picker was last on
90
+ * when a value changed. Persisted as `autonomy.lastSettingsField`; the
91
+ * settingsOpen hydration reads it back so a fresh session reopens the
92
+ * picker at the same field. 0 = no saved value.
93
+ */
94
+ lastSettingsField?: number | undefined;
88
95
  /** Show SAGE Memory Inject blocks in tool results. Default: false. */
89
96
  showSageMemoryInject?: boolean | undefined;
90
97
  /**
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  startCliHqConnection
3
- } from "./chunk-CJTBLTS4.js";
4
- import "./chunk-XJXDOF63.js";
3
+ } from "./chunk-BLD5DSVA.js";
4
+ import "./chunk-YBUCXXYZ.js";
5
5
 
6
6
  // src/subcommands/handlers/mailbox-serve.ts
7
7
  import { createServer } from "node:http";
@@ -361,4 +361,4 @@ function printHelp(deps) {
361
361
  export {
362
362
  mailboxServeCmd
363
363
  };
364
- //# sourceMappingURL=mailbox-serve-3GFOK2I7.js.map
364
+ //# sourceMappingURL=mailbox-serve-WDOCH6KR.js.map
@@ -1,9 +1,9 @@
1
- import {
2
- restoreFlags
3
- } from "./chunk-CSAPOCBP.js";
4
1
  import {
5
2
  activeProfileConfigPath
6
3
  } from "./chunk-YMXXOOFN.js";
4
+ import {
5
+ restoreFlags
6
+ } from "./chunk-CSAPOCBP.js";
7
7
 
8
8
  // src/subcommands/handlers/mcp.ts
9
9
  import { allServers, resolveMcpServerConfig } from "@wrongstack/core/infrastructure";
@@ -460,4 +460,4 @@ function isRecord(value) {
460
460
  export {
461
461
  mcpCmd
462
462
  };
463
- //# sourceMappingURL=mcp-DC5WSBOO.js.map
463
+ //# sourceMappingURL=mcp-LBS45HWZ.js.map