@wrongstack/cli 1.0.36 → 1.0.37

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 (164) hide show
  1. package/dist/{acp-QLU7T5WX.js → acp-HCGUTFNE.js} +11 -8
  2. package/dist/ascii-mode-B6PKLRHM.js +8 -0
  3. package/dist/{audit-KCBTHUQI.js → audit-NH7NUKBV.js} +3 -2
  4. package/dist/{auth-AED7RW7D.js → auth-ANOVZVHE.js} +12 -11
  5. package/dist/auto-discover-providers-V75ICIBG.js +8 -0
  6. package/dist/{automation-3E3AUPBF.js → automation-O7ZRZSFS.js} +2 -1
  7. package/dist/{bench-MMZHFHDL.js → bench-NDYES33Y.js} +3 -2
  8. package/dist/boot/governance-evidence-candidate.d.ts +1 -1
  9. package/dist/boot/system-prompt-menu.d.ts +7 -0
  10. package/dist/boot/tui-settings-adapter.d.ts +0 -12
  11. package/dist/{boot-auto-thin-AGJ6TAWY.js → boot-auto-thin-7D4OVEWA.js} +5 -4
  12. package/dist/boot-provider-selection.d.ts +9 -0
  13. package/dist/{chronicle-PBJS7BN6.js → chronicle-WBK3TJRB.js} +2 -1
  14. package/dist/{chunk-R4QGL6GB.js → chunk-2MV474XR.js} +1 -1
  15. package/dist/{chunk-AFOH6CHO.js → chunk-3EXRPTAU.js} +1 -1
  16. package/dist/{chunk-2EZ2DHOW.js → chunk-3R3OADC5.js} +2 -2
  17. package/dist/{chunk-RKU66D2O.js → chunk-57PSSEBR.js} +1 -1
  18. package/dist/{chunk-2CMMWRQH.js → chunk-5TRZZHMN.js} +2 -2
  19. package/dist/{chunk-ZWBI7ORM.js → chunk-6KJU6POA.js} +6 -6
  20. package/dist/{chunk-AKESWZH5.js → chunk-6VPWQ4TG.js} +2 -2
  21. package/dist/{chunk-CJSHS2K7.js → chunk-75OLD563.js} +1 -1
  22. package/dist/{chunk-BJH44J7G.js → chunk-76JE54WD.js} +5 -3
  23. package/dist/{chunk-7BNBD4PE.js → chunk-7IY2UTBE.js} +2 -2
  24. package/dist/{chunk-GF7LUWQS.js → chunk-AWRZWPJ3.js} +18 -18
  25. package/dist/{chunk-L5NWFP5R.js → chunk-BAWRRA6O.js} +2 -2
  26. package/dist/{chunk-DAKVBMD4.js → chunk-BCKVNORU.js} +1 -1
  27. package/dist/{chunk-4JMAWKLA.js → chunk-BIGSVBPI.js} +1 -1
  28. package/dist/{chunk-CZTXF6HY.js → chunk-BJ4LDJ4H.js} +1 -1
  29. package/dist/{chunk-RE73FP2X.js → chunk-C2BBH4S4.js} +2 -2
  30. package/dist/chunk-C4654QI2.js +8 -0
  31. package/dist/{chunk-M4G5FO7F.js → chunk-C5JP6DJN.js} +1 -1
  32. package/dist/{chunk-RYTSPBNM.js → chunk-CIGEY7NU.js} +5 -5
  33. package/dist/{chunk-T5KR6SNO.js → chunk-CVVQ5NCN.js} +5 -5
  34. package/dist/{chunk-D3K4NYQL.js → chunk-DXHQFV5V.js} +1 -1
  35. package/dist/{chunk-SUDNPYWD.js → chunk-FM7DPSYA.js} +2 -2
  36. package/dist/{chunk-YL4KCHZG.js → chunk-FPUB5WWP.js} +1 -1
  37. package/dist/{chunk-P3Q3KMFH.js → chunk-FUJHWQV4.js} +1 -1
  38. package/dist/{chunk-ERX4BLKP.js → chunk-GFQH77OH.js} +1 -1
  39. package/dist/{chunk-DIOODAYM.js → chunk-H53EXXAU.js} +3 -3
  40. package/dist/{chunk-F5DCFAKI.js → chunk-HKMOIIPQ.js} +1 -1
  41. package/dist/{chunk-AUQDGU5D.js → chunk-HQBY6OFT.js} +1 -1
  42. package/dist/{chunk-NOZJIN46.js → chunk-IJLIAPCW.js} +1 -1
  43. package/dist/{chunk-QD544J2B.js → chunk-JTTV2EVA.js} +1 -1
  44. package/dist/{chunk-UKP7H2U4.js → chunk-KHFFJ2LC.js} +1 -1
  45. package/dist/{chunk-4TVYGG6G.js → chunk-MKM4X2AM.js} +1 -1
  46. package/dist/chunk-ML3US333.js +61 -0
  47. package/dist/{chunk-WY74MMDB.js → chunk-NL2ABOAS.js} +1 -1
  48. package/dist/{chunk-Q7E3BPDU.js → chunk-OGVSKS4Q.js} +1 -1
  49. package/dist/chunk-OZCYZYN2.js +3708 -0
  50. package/dist/{chunk-EWKESL4L.js → chunk-P24ZPPYH.js} +1 -1
  51. package/dist/chunk-PY2LMG2V.js +1 -0
  52. package/dist/{chunk-CSAPOCBP.js → chunk-QC6CLAK7.js} +1 -1
  53. package/dist/{chunk-HXJYHAR4.js → chunk-QVITQ425.js} +1 -1
  54. package/dist/{chunk-NEWXDNF2.js → chunk-RAWHRRUJ.js} +5 -5
  55. package/dist/{chunk-PA4VBCXS.js → chunk-RBZVDWTL.js} +1 -1
  56. package/dist/{chunk-YMXXOOFN.js → chunk-SPSHEZ46.js} +1 -1
  57. package/dist/{chunk-4R6TVMYA.js → chunk-T4TGMTH2.js} +3 -3
  58. package/dist/{chunk-B6EHK772.js → chunk-TZPKOS5G.js} +3 -3
  59. package/dist/{chunk-X4LW5CZM.js → chunk-UBDLNC3N.js} +1 -1
  60. package/dist/{chunk-SDJCLEK6.js → chunk-UFRVTBV6.js} +1 -1
  61. package/dist/{chunk-VCYZ3WZV.js → chunk-UOQPDZ5H.js} +1 -1
  62. package/dist/{chunk-PZQBGUVZ.js → chunk-UVF3BGET.js} +1 -1
  63. package/dist/{chunk-ACW64W4M.js → chunk-VAQXOZKP.js} +2 -2
  64. package/dist/{chunk-4XCBEUBX.js → chunk-VHC47E7U.js} +1 -1
  65. package/dist/{chunk-LKPEBZBE.js → chunk-VI2HE4A5.js} +1 -1
  66. package/dist/chunk-W23PY4IJ.js +44 -0
  67. package/dist/{chunk-AT2A7RJZ.js → chunk-WDXNBYGD.js} +1 -1
  68. package/dist/{chunk-NRXWOMK7.js → chunk-XT3NAHRX.js} +1 -1
  69. package/dist/{chunk-ULYAI7CP.js → chunk-ZCXZGYO5.js} +1 -1
  70. package/dist/{chunk-65VNCAF6.js → chunk-ZNNFEKDZ.js} +2 -2
  71. package/dist/{chunk-CDY4D5QK.js → chunk-ZTSTMFYW.js} +2 -2
  72. package/dist/{chunk-YTEOAWOJ.js → chunk-ZXX3MJRL.js} +1 -1
  73. package/dist/{cli-context-I6HJCVCV.js → cli-context-V6NKFU2X.js} +104 -46
  74. package/dist/{cli-main-X7KD7IOC.js → cli-main-LHQTVOYW.js} +765 -108
  75. package/dist/{config-transfer-YPD7HYXH.js → config-transfer-Y7XJMJRN.js} +4 -3
  76. package/dist/{diag-doctor-BIZAFIAT.js → diag-doctor-5SVYK2DR.js} +5 -4
  77. package/dist/execute-deps.d.ts +8 -0
  78. package/dist/{execution-M7D4KNBB.js → execution-BAP566QC.js} +74 -29
  79. package/dist/{export-VVRIOWFV.js → export-W27PTU6Y.js} +3 -2
  80. package/dist/fleet/host-director-setup.d.ts +2 -0
  81. package/dist/fleet/host-skill-companion.d.ts +73 -0
  82. package/dist/fleet/host.d.ts +1 -0
  83. package/dist/fleet/skill-companion-policy.d.ts +33 -0
  84. package/dist/{governance-RYSHV675.js → governance-A32M4ILK.js} +2 -1
  85. package/dist/{hq-BBLGEEUH.js → hq-JD5AZVMG.js} +8 -7
  86. package/dist/hq-server/snapshot.d.ts +1 -1
  87. package/dist/hq-server/socket-credentials.d.ts +1 -1
  88. package/dist/hq-server/ws.d.ts +1 -1
  89. package/dist/{hq-server-5TR6NBGS.js → hq-server-BI23EPM7.js} +7 -5
  90. package/dist/{hq-service-4Q64WFNT.js → hq-service-TQNPIRHL.js} +8 -7
  91. package/dist/hq-ttl-RKRF7AQX.js +8 -0
  92. package/dist/{hq-tunnel-NIJ5EP2Y.js → hq-tunnel-6VU4IWV4.js} +2 -1
  93. package/dist/{import-claude-code-GHIS2F7Y.js → import-claude-code-D4F6ZE7I.js} +5 -4
  94. package/dist/index.js +9 -8
  95. package/dist/{init-DRMMFG2G.js → init-5PLABNLR.js} +2 -1
  96. package/dist/ip-allowlist-YDOFO7XJ.js +10 -0
  97. package/dist/{kanban-run-mirror-22HQ5FNG.js → kanban-run-mirror-SZ3S3S3Z.js} +3 -2
  98. package/dist/kanban-supervisor-55XPUHAM.js +8 -0
  99. package/dist/live-settings-input.d.ts +8 -0
  100. package/dist/{mailbox-serve-DRWJVMYU.js → mailbox-serve-MMQCHOHI.js} +5 -3
  101. package/dist/{mcp-LBS45HWZ.js → mcp-2XWBJEQN.js} +4 -3
  102. package/dist/{modeldiag-F3LUF4VJ.js → modeldiag-ERXYJODJ.js} +8 -7
  103. package/dist/{per-subcommand-help-VKPV3OEY.js → per-subcommand-help-D6J4ZXW2.js} +4 -3
  104. package/dist/{permissions-PL27UHYD.js → permissions-6YJ64W65.js} +3 -2
  105. package/dist/{plugin-usage-EM752WHG.js → plugin-usage-TYF5HY4K.js} +6 -5
  106. package/dist/{plugins-U6HQFJ7N.js → plugins-XGAXDLPT.js} +6 -5
  107. package/dist/pre-launch/launch-prompts.d.ts +21 -2
  108. package/dist/pre-launch.d.ts +1 -1
  109. package/dist/{project-AOQI5XTK.js → project-V5KNTLV4.js} +2 -1
  110. package/dist/{project-manifest-FTFDCCTZ.js → project-manifest-HXCID644.js} +3 -2
  111. package/dist/{project-picker-NZYJKQQC.js → project-picker-FUSLXKSA.js} +4 -3
  112. package/dist/{projects-T4CZCA25.js → projects-FWRJHW3S.js} +2 -1
  113. package/dist/{providers-models-S3S6VXME.js → providers-models-CDI5GVBX.js} +6 -5
  114. package/dist/{proxy-wiring-K2DORFFL.js → proxy-wiring-FIW6HFJV.js} +4 -3
  115. package/dist/{quick-CNB4Z3HS.js → quick-NPC3N3ZX.js} +2 -1
  116. package/dist/{remote-C74BCNND.js → remote-AKKRJEHK.js} +5 -4
  117. package/dist/{replay-DEI566CW.js → replay-5FOPERB2.js} +2 -1
  118. package/dist/{replay-JJ2NOWD6.js → replay-URJFMQCU.js} +3 -2
  119. package/dist/{rewind-7AULJS7F.js → rewind-GAUXWSTU.js} +3 -2
  120. package/dist/{sage-BMRDJCDI.js → sage-6KKXK2ZS.js} +4 -3
  121. package/dist/{sage-sync-PCWCNEUK.js → sage-sync-IN3WKEBN.js} +5 -3
  122. package/dist/{sandbox-TYGD6FI2.js → sandbox-EZQ76MNY.js} +2 -1
  123. package/dist/{sdd-runtime-PF72WHLO.js → sdd-runtime-6MFUXWJK.js} +4 -3
  124. package/dist/{session-move-P2EC2COA.js → session-move-F3N45UQQ.js} +2 -1
  125. package/dist/{sessions-config-RQRQDW5Q.js → sessions-config-SJVQXCIE.js} +7 -6
  126. package/dist/{sessions-doctor-QUL37U32.js → sessions-doctor-DZQTDQRY.js} +2 -1
  127. package/dist/short-circuit-flags-647S5WBL.js +11 -0
  128. package/dist/{simpleui-dist-7BQISSEP.js → simpleui-dist-EE3TJRBG.js} +2 -1
  129. package/dist/{skill-suggest-THANK3LV.js → skill-suggest-LZV2TIPQ.js} +22 -6
  130. package/dist/slash-commands/browser.d.ts +3 -0
  131. package/dist/slash-commands/command-context.d.ts +3 -0
  132. package/dist/{standalone-auto-update-QUXOZ4B5.js → standalone-auto-update-X5SK4M5B.js} +5 -4
  133. package/dist/{standalone-update-HZHDZZOR.js → standalone-update-6U4NP5MN.js} +4 -3
  134. package/dist/subcommands-EGZPBQOO.js +10 -0
  135. package/dist/{tools-skills-33AI6K6S.js → tools-skills-55QVTMSK.js} +2 -1
  136. package/dist/{typesafe-KW2XHOG3.js → typesafe-YBEADNAH.js} +8 -7
  137. package/dist/{typesafe-brain-replay-C5276FVR.js → typesafe-brain-replay-XBU5RZDY.js} +2 -1
  138. package/dist/{typesafe-judgment-check-GGYYV5UF.js → typesafe-judgment-check-XRLBF5JV.js} +2 -1
  139. package/dist/{typesafe-topic-replay-DB2AYL7V.js → typesafe-topic-replay-L6NKFYPM.js} +4 -3
  140. package/dist/{typesafe-triage-replay-27NDAZ3V.js → typesafe-triage-replay-IRV2HHLN.js} +3 -2
  141. package/dist/{update-LHCWAWEZ.js → update-54W7GUS5.js} +6 -5
  142. package/dist/{update-check-VLVT4IV2.js → update-check-JBGP4ZFI.js} +4 -3
  143. package/dist/utils/win32-cmd.d.ts +1 -1
  144. package/dist/{version-JB2UAV2A.js → version-Q6KJ23GB.js} +3 -2
  145. package/dist/version-help-RBZC5GZZ.js +11 -0
  146. package/dist/webui-server/provider-config.d.ts +12 -5
  147. package/dist/{webui-server-CUIFA25W.js → webui-server-HIUY3RHD.js} +57 -19
  148. package/dist/wiring/slash-commands.d.ts +3 -0
  149. package/dist/{wrongtrace-gate-counters-7C2EAAZL.js → wrongtrace-gate-counters-K44XG3H3.js} +3 -2
  150. package/dist/{wrongtrace-telemetry-3ASFKOZO.js → wrongtrace-telemetry-YS6SUBXK.js} +3 -2
  151. package/dist/ws-runtime.d.ts +6 -0
  152. package/package.json +39 -39
  153. package/LICENSE +0 -21
  154. package/dist/ascii-mode-SG4PRNLP.js +0 -7
  155. package/dist/auto-discover-providers-JX346GOM.js +0 -7
  156. package/dist/chunk-BHXAKTBE.js +0 -10
  157. package/dist/chunk-LPGZ3NUF.js +0 -61
  158. package/dist/chunk-TGSPCFBT.js +0 -1
  159. package/dist/hq-ttl-N4DAIAVX.js +0 -7
  160. package/dist/ip-allowlist-NHXO6AKJ.js +0 -9
  161. package/dist/kanban-supervisor-67ECABTD.js +0 -7
  162. package/dist/short-circuit-flags-IEV3FEOT.js +0 -10
  163. package/dist/subcommands-75IB23LS.js +0 -9
  164. package/dist/version-help-JQGRPDJW.js +0 -10
@@ -51,4 +51,4 @@ export {
51
51
  patchConfig,
52
52
  fmtTaskResultLine
53
53
  };
54
- //# sourceMappingURL=chunk-EWKESL4L.js.map
54
+ //# sourceMappingURL=chunk-P24ZPPYH.js.map
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=chunk-PY2LMG2V.js.map
@@ -21,4 +21,4 @@ function restoreFlags(args, deps, names) {
21
21
  export {
22
22
  restoreFlags
23
23
  };
24
- //# sourceMappingURL=chunk-CSAPOCBP.js.map
24
+ //# sourceMappingURL=chunk-QC6CLAK7.js.map
@@ -35,4 +35,4 @@ export {
35
35
  terminalText,
36
36
  terminalLink
37
37
  };
38
- //# sourceMappingURL=chunk-HXJYHAR4.js.map
38
+ //# sourceMappingURL=chunk-QVITQ425.js.map
@@ -2,7 +2,7 @@ import {
2
2
  hasApiKey,
3
3
  isKeylessLocalProvider,
4
4
  visibleModelIds
5
- } from "./chunk-RKU66D2O.js";
5
+ } from "./chunk-57PSSEBR.js";
6
6
  import {
7
7
  activeLabel,
8
8
  loadConfigProviders,
@@ -12,14 +12,14 @@ import {
12
12
  nowIso,
13
13
  resolveActiveApiKey,
14
14
  writeKeysBack
15
- } from "./chunk-ULYAI7CP.js";
15
+ } from "./chunk-ZCXZGYO5.js";
16
16
  import {
17
17
  appendHistory,
18
18
  backupCurrent
19
- } from "./chunk-4JMAWKLA.js";
19
+ } from "./chunk-BIGSVBPI.js";
20
20
  import {
21
21
  openBrowser
22
- } from "./chunk-DAKVBMD4.js";
22
+ } from "./chunk-BCKVNORU.js";
23
23
 
24
24
  // src/auth-menu/auth-menu-audit.ts
25
25
  import { appendFileSync } from "node:fs";
@@ -2024,4 +2024,4 @@ export {
2024
2024
  addCustomProvider,
2025
2025
  addKeyForProvider
2026
2026
  };
2027
- //# sourceMappingURL=chunk-NEWXDNF2.js.map
2027
+ //# sourceMappingURL=chunk-RAWHRRUJ.js.map
@@ -112,4 +112,4 @@ async function discoverAndMergeProviders(opts) {
112
112
  export {
113
113
  discoverAndMergeProviders
114
114
  };
115
- //# sourceMappingURL=chunk-PA4VBCXS.js.map
115
+ //# sourceMappingURL=chunk-RBZVDWTL.js.map
@@ -10,4 +10,4 @@ function activeProfileConfigPath(paths, config) {
10
10
  export {
11
11
  activeProfileConfigPath
12
12
  };
13
- //# sourceMappingURL=chunk-YMXXOOFN.js.map
13
+ //# sourceMappingURL=chunk-SPSHEZ46.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  mutateConfigProviders
3
- } from "./chunk-ULYAI7CP.js";
3
+ } from "./chunk-ZCXZGYO5.js";
4
4
  import {
5
5
  activeProfileConfigPath
6
- } from "./chunk-YMXXOOFN.js";
6
+ } from "./chunk-SPSHEZ46.js";
7
7
 
8
8
  // src/wiring/provider-persisters.ts
9
9
  import {
@@ -51,4 +51,4 @@ export {
51
51
  installProviderPersisters,
52
52
  applyProviderOAuthRefresh2 as applyProviderOAuthRefresh
53
53
  };
54
- //# sourceMappingURL=chunk-4R6TVMYA.js.map
54
+ //# sourceMappingURL=chunk-T4TGMTH2.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  patchConfig
3
- } from "./chunk-EWKESL4L.js";
3
+ } from "./chunk-P24ZPPYH.js";
4
4
  import {
5
5
  PLUGIN_AUDIT_ENTRIES,
6
6
  loadExternalPlugins
7
- } from "./chunk-ACW64W4M.js";
7
+ } from "./chunk-VAQXOZKP.js";
8
8
 
9
9
  // src/wiring/plugins.ts
10
10
  import { join } from "node:path";
@@ -306,4 +306,4 @@ export {
306
306
  BUILTIN_PLUGIN_NAME_HINTS,
307
307
  setupPlugins
308
308
  };
309
- //# sourceMappingURL=chunk-B6EHK772.js.map
309
+ //# sourceMappingURL=chunk-TZPKOS5G.js.map
@@ -120,4 +120,4 @@ export {
120
120
  ensureProjectDataDir,
121
121
  touchProjectInManifest
122
122
  };
123
- //# sourceMappingURL=chunk-X4LW5CZM.js.map
123
+ //# sourceMappingURL=chunk-UBDLNC3N.js.map
@@ -94,4 +94,4 @@ export {
94
94
  resolveProviderCfgWithProxy,
95
95
  buildProviderForId
96
96
  };
97
- //# sourceMappingURL=chunk-SDJCLEK6.js.map
97
+ //# sourceMappingURL=chunk-UFRVTBV6.js.map
@@ -11,4 +11,4 @@ export {
11
11
  buildTaskGraphFromSddSnapshot,
12
12
  createKanbanRunMirror
13
13
  };
14
- //# sourceMappingURL=chunk-VCYZ3WZV.js.map
14
+ //# sourceMappingURL=chunk-UOQPDZ5H.js.map
@@ -15,4 +15,4 @@ function applyAsciiMode(flags, env = process.env, streams = [process.stdout, pro
15
15
  export {
16
16
  applyAsciiMode
17
17
  };
18
- //# sourceMappingURL=chunk-PZQBGUVZ.js.map
18
+ //# sourceMappingURL=chunk-UVF3BGET.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  backupCurrent
3
- } from "./chunk-4JMAWKLA.js";
3
+ } from "./chunk-BIGSVBPI.js";
4
4
 
5
5
  // src/wiring/external-plugins.ts
6
6
  import { isAbsolute, join, resolve } from "node:path";
@@ -1136,4 +1136,4 @@ export {
1136
1136
  PLUGIN_AUDIT_ENTRIES,
1137
1137
  runPluginManagementCommand
1138
1138
  };
1139
- //# sourceMappingURL=chunk-ACW64W4M.js.map
1139
+ //# sourceMappingURL=chunk-VAQXOZKP.js.map
@@ -146,4 +146,4 @@ function buildHealthUrl(rawBase) {
146
146
  export {
147
147
  startProxyProbe
148
148
  };
149
- //# sourceMappingURL=chunk-4XCBEUBX.js.map
149
+ //# sourceMappingURL=chunk-VHC47E7U.js.map
@@ -140,4 +140,4 @@ export {
140
140
  checkStructuredAnswer,
141
141
  repairPrompt
142
142
  };
143
- //# sourceMappingURL=chunk-LKPEBZBE.js.map
143
+ //# sourceMappingURL=chunk-VI2HE4A5.js.map
@@ -0,0 +1,44 @@
1
+ import { createRequire as __wrongstackWsRequire } from 'node:module';
2
+ const require = __wrongstackWsRequire(import.meta.url);
3
+ var __create = Object.create;
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
10
+ get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
11
+ }) : x)(function(x) {
12
+ if (typeof require !== "undefined") return require.apply(this, arguments);
13
+ throw Error('Dynamic require of "' + x + '" is not supported');
14
+ });
15
+ var __commonJS = (cb, mod) => function __require2() {
16
+ try {
17
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
18
+ } catch (e) {
19
+ throw mod = 0, e;
20
+ }
21
+ };
22
+ var __copyProps = (to, from, except, desc) => {
23
+ if (from && typeof from === "object" || typeof from === "function") {
24
+ for (let key of __getOwnPropNames(from))
25
+ if (!__hasOwnProp.call(to, key) && key !== except)
26
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
27
+ }
28
+ return to;
29
+ };
30
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
31
+ // If the importer is in node compatibility mode or this is not an ESM
32
+ // file that has been converted to a CommonJS file using a Babel-
33
+ // compatible transform (i.e. "__esModule" has not been set), then set
34
+ // "default" to the CommonJS "module.exports" for node compatibility.
35
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
36
+ mod
37
+ ));
38
+
39
+ export {
40
+ __require,
41
+ __commonJS,
42
+ __toESM
43
+ };
44
+ //# sourceMappingURL=chunk-W23PY4IJ.js.map
@@ -406,4 +406,4 @@ export {
406
406
  getTaskGraphId,
407
407
  getTaskTrackerExport
408
408
  };
409
- //# sourceMappingURL=chunk-AT2A7RJZ.js.map
409
+ //# sourceMappingURL=chunk-WDXNBYGD.js.map
@@ -334,4 +334,4 @@ export {
334
334
  createProjectKanbanAssignHandler,
335
335
  createHqCommandDispatcher
336
336
  };
337
- //# sourceMappingURL=chunk-NRXWOMK7.js.map
337
+ //# sourceMappingURL=chunk-XT3NAHRX.js.map
@@ -171,4 +171,4 @@ export {
171
171
  mutateConfigProviders,
172
172
  nowIso
173
173
  };
174
- //# sourceMappingURL=chunk-ULYAI7CP.js.map
174
+ //# sourceMappingURL=chunk-ZCXZGYO5.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveProviderCfgWithProxy
3
- } from "./chunk-SDJCLEK6.js";
3
+ } from "./chunk-UFRVTBV6.js";
4
4
 
5
5
  // src/acp-agent-list.ts
6
6
  import { REGISTRY_ID_ALIASES } from "@wrongstack/acp";
@@ -316,4 +316,4 @@ export {
316
316
  setupProvider,
317
317
  createGracefulShutdown
318
318
  };
319
- //# sourceMappingURL=chunk-65VNCAF6.js.map
319
+ //# sourceMappingURL=chunk-ZNNFEKDZ.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  startProxyProbe
3
- } from "./chunk-4XCBEUBX.js";
3
+ } from "./chunk-VHC47E7U.js";
4
4
 
5
5
  // src/wiring/proxy-wiring.ts
6
6
  import { applyProxyConfig } from "@wrongstack/core/wiring/proxy-rewrite";
@@ -53,4 +53,4 @@ export {
53
53
  bootstrapWrongProxy,
54
54
  shutdownWrongProxy
55
55
  };
56
- //# sourceMappingURL=chunk-CDY4D5QK.js.map
56
+ //# sourceMappingURL=chunk-ZTSTMFYW.js.map
@@ -72,4 +72,4 @@ export {
72
72
  wantsLocalHelp,
73
73
  renderAuthLocalHelpToString
74
74
  };
75
- //# sourceMappingURL=chunk-YTEOAWOJ.js.map
75
+ //# sourceMappingURL=chunk-ZXX3MJRL.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  parseOutputFormat,
3
3
  resolveJsonSchemaFlag
4
- } from "./chunk-LKPEBZBE.js";
4
+ } from "./chunk-VI2HE4A5.js";
5
5
  import {
6
6
  parseWebuiSessionChildOptions,
7
7
  writeWebuiSessionChildError
8
- } from "./chunk-P3Q3KMFH.js";
8
+ } from "./chunk-FUJHWQV4.js";
9
9
  import {
10
10
  activateRestrictedMode,
11
11
  announceSafeMode,
@@ -17,46 +17,46 @@ import {
17
17
  renderDiff,
18
18
  resolveLaunchAllowedTools,
19
19
  resolveToolRestriction
20
- } from "./chunk-2CMMWRQH.js";
20
+ } from "./chunk-5TRZZHMN.js";
21
21
  import {
22
22
  theme as theme2
23
- } from "./chunk-QD544J2B.js";
23
+ } from "./chunk-JTTV2EVA.js";
24
24
  import {
25
25
  fmtTok,
26
26
  patchConfig
27
- } from "./chunk-EWKESL4L.js";
27
+ } from "./chunk-P24ZPPYH.js";
28
28
  import {
29
29
  resolveLaunchMcpServers
30
- } from "./chunk-WY74MMDB.js";
30
+ } from "./chunk-NL2ABOAS.js";
31
31
  import {
32
32
  subcommands
33
- } from "./chunk-LPGZ3NUF.js";
33
+ } from "./chunk-ML3US333.js";
34
34
  import {
35
35
  renderDeepHelp,
36
36
  renderFocusedHelp
37
- } from "./chunk-2EZ2DHOW.js";
37
+ } from "./chunk-3R3OADC5.js";
38
38
  import {
39
39
  handleHelpVersionShortCircuit
40
- } from "./chunk-RYTSPBNM.js";
40
+ } from "./chunk-CIGEY7NU.js";
41
41
  import {
42
42
  DEFAULT_PORT
43
- } from "./chunk-GF7LUWQS.js";
44
- import "./chunk-HXJYHAR4.js";
43
+ } from "./chunk-AWRZWPJ3.js";
44
+ import "./chunk-QVITQ425.js";
45
45
  import {
46
46
  resolveHqPasswordInput
47
- } from "./chunk-AUQDGU5D.js";
47
+ } from "./chunk-HQBY6OFT.js";
48
48
  import {
49
49
  normalizeHqPublicOrigin
50
- } from "./chunk-AFOH6CHO.js";
50
+ } from "./chunk-3EXRPTAU.js";
51
51
  import {
52
52
  parseHqIpAllowlist
53
- } from "./chunk-Q7E3BPDU.js";
53
+ } from "./chunk-OGVSKS4Q.js";
54
54
  import {
55
55
  installProviderPersisters
56
- } from "./chunk-4R6TVMYA.js";
56
+ } from "./chunk-T4TGMTH2.js";
57
57
  import {
58
58
  discoverAndMergeProviders
59
- } from "./chunk-PA4VBCXS.js";
59
+ } from "./chunk-RBZVDWTL.js";
60
60
  import {
61
61
  addFromCatalog,
62
62
  boxBottom,
@@ -69,40 +69,42 @@ import {
69
69
  runPicker,
70
70
  saveToGlobalConfig,
71
71
  theme
72
- } from "./chunk-NEWXDNF2.js";
73
- import "./chunk-YTEOAWOJ.js";
72
+ } from "./chunk-RAWHRRUJ.js";
73
+ import "./chunk-ZXX3MJRL.js";
74
74
  import {
75
75
  isKeylessLocalProvider,
76
76
  visibleModelIds
77
- } from "./chunk-RKU66D2O.js";
77
+ } from "./chunk-57PSSEBR.js";
78
78
  import {
79
79
  resolveActiveApiKey
80
- } from "./chunk-ULYAI7CP.js";
80
+ } from "./chunk-ZCXZGYO5.js";
81
81
  import {
82
82
  activeProfileConfigPath
83
- } from "./chunk-YMXXOOFN.js";
84
- import "./chunk-4JMAWKLA.js";
83
+ } from "./chunk-SPSHEZ46.js";
84
+ import "./chunk-BIGSVBPI.js";
85
+ import "./chunk-OZCYZYN2.js";
85
86
  import {
86
87
  runUpdateCommand
87
- } from "./chunk-ZWBI7ORM.js";
88
- import "./chunk-BHXAKTBE.js";
89
- import "./chunk-DAKVBMD4.js";
88
+ } from "./chunk-6KJU6POA.js";
89
+ import "./chunk-C4654QI2.js";
90
+ import "./chunk-BCKVNORU.js";
90
91
  import {
91
92
  applyNodeEnvDefault,
92
93
  applySessionShellDefault,
93
94
  runPreflight
94
- } from "./chunk-T5KR6SNO.js";
95
+ } from "./chunk-CVVQ5NCN.js";
95
96
  import {
96
97
  parseArgs
97
- } from "./chunk-CJSHS2K7.js";
98
- import "./chunk-DIOODAYM.js";
98
+ } from "./chunk-75OLD563.js";
99
+ import "./chunk-H53EXXAU.js";
99
100
  import {
100
101
  applyAsciiMode
101
- } from "./chunk-PZQBGUVZ.js";
102
- import "./chunk-AKESWZH5.js";
102
+ } from "./chunk-UVF3BGET.js";
103
+ import "./chunk-6VPWQ4TG.js";
103
104
  import {
104
105
  CLI_VERSION
105
- } from "./chunk-F5DCFAKI.js";
106
+ } from "./chunk-HKMOIIPQ.js";
107
+ import "./chunk-W23PY4IJ.js";
106
108
 
107
109
  // src/cli-context.ts
108
110
  import { TOKENS as TOKENS3 } from "@wrongstack/core/kernel";
@@ -931,7 +933,7 @@ async function isPortInUse(host, port) {
931
933
  }
932
934
  async function handleHqShortCircuit(flags) {
933
935
  if (flags["hq"] !== true) return null;
934
- const { startHqServer } = await import("./hq-server-5TR6NBGS.js");
936
+ const { startHqServer } = await import("./hq-server-BI23EPM7.js");
935
937
  const tunnelRequested = flags["tunnel"] === true;
936
938
  const rawPublicUrl = typeof flags["hq-public-url"] === "string" ? flags["hq-public-url"] : process.env.WRONGSTACK_HQ_PUBLIC_URL;
937
939
  let publicOrigin;
@@ -1038,7 +1040,7 @@ async function handleHqShortCircuit(flags) {
1038
1040
  let tokenTtlMs;
1039
1041
  const rawTtl = typeof flags["hq-token-ttl"] === "string" ? flags["hq-token-ttl"] : process.env.WRONGSTACK_HQ_TOKEN_TTL;
1040
1042
  if (rawTtl !== void 0 && rawTtl.length > 0) {
1041
- const { parseTokenTtlValue } = await import("./hq-ttl-N4DAIAVX.js");
1043
+ const { parseTokenTtlValue } = await import("./hq-ttl-RKRF7AQX.js");
1042
1044
  const parsed = parseTokenTtlValue(rawTtl);
1043
1045
  if (parsed.error) {
1044
1046
  process.stderr.write(`${color3.red("\u2717")} Invalid --hq-token-ttl: ${parsed.error}
@@ -1105,7 +1107,7 @@ ${color3.green("Persistent HQ origin ready:")} ${publicOrigin}/
1105
1107
  return 1;
1106
1108
  }
1107
1109
  try {
1108
- const { buildPublicHqUrl, startHqQuickTunnel } = await import("./hq-tunnel-NIJ5EP2Y.js");
1110
+ const { buildPublicHqUrl, startHqQuickTunnel } = await import("./hq-tunnel-6VU4IWV4.js");
1109
1111
  const originHost = handle.host === "::1" ? "[::1]" : handle.host;
1110
1112
  tunnel = await startHqQuickTunnel(`http://${originHost}:${handle.port}`, {
1111
1113
  onUnexpectedExit: (message) => process.stderr.write(`${color3.yellow("!")} ${message}
@@ -1497,7 +1499,7 @@ var LaunchAbortedError = class extends Error {
1497
1499
  }
1498
1500
  };
1499
1501
  async function runLaunchPrompts(opts) {
1500
- const { renderer, reader, modePinned, yoloPinned, autonomyPinned, lastChoices } = opts;
1502
+ const { renderer, reader, modePinned, yoloPinned, autonomyPinned, lastChoices, reuseLast } = opts;
1501
1503
  if (modePinned !== void 0 && yoloPinned !== void 0 && autonomyPinned !== void 0) {
1502
1504
  return {
1503
1505
  mode: modePinned,
@@ -1526,7 +1528,7 @@ async function runLaunchPrompts(opts) {
1526
1528
  ${color6.dim("Last settings:")} ${color6.bold(modeLabel)} \xB7 YOLO ${onOff(effective.yolo)} \xB7 Autonomy ${effective.autonomy === "auto" ? color6.green("auto") : color6.dim("off")}
1527
1529
  `
1528
1530
  );
1529
- const answer = (await reader.readLine(
1531
+ const answer = reuseLast ? "y" : (await reader.readLine(
1530
1532
  ` ${color6.amber("?")} Continue with these? ${color6.dim("[Y/n/q]")} ${color6.dim("(auto Y in 5s)")} `,
1531
1533
  { timeoutMs: 5e3, defaultAnswer: "y" }
1532
1534
  )).trim().toLowerCase();
@@ -1603,7 +1605,22 @@ function buildBadges(chosen) {
1603
1605
  badges.push(color6.magenta(`AUTONOMY:${chosen.autonomy.toUpperCase()}`));
1604
1606
  return badges;
1605
1607
  }
1606
- async function persistLaunchChoices(configPath, choices) {
1608
+ async function promptStopAskingStartupQuestions(opts) {
1609
+ const answer = (await opts.reader.readLine(
1610
+ ` ${color6.amber("?")} Stop asking these startup questions? ${color6.dim("(reuse the last choices from now on)")} ${color6.dim("[y/N]")} ${color6.dim("(auto N in 5s)")} `,
1611
+ { timeoutMs: 5e3, defaultAnswer: "n" }
1612
+ )).trim().toLowerCase();
1613
+ const stop = answer === "y" || answer === "yes";
1614
+ if (stop) {
1615
+ opts.renderer.write(
1616
+ ` ${color6.green("\u25B6")} ${color6.dim("Startup questions off \u2014 turn back on with /settings reuse-startup-choices off.")}
1617
+
1618
+ `
1619
+ );
1620
+ }
1621
+ return stop;
1622
+ }
1623
+ async function persistLaunchChoices(configPath, choices, extra) {
1607
1624
  await withFileLock2(configPath, async () => {
1608
1625
  let fileExists = false;
1609
1626
  try {
@@ -1625,9 +1642,12 @@ async function persistLaunchChoices(configPath, choices) {
1625
1642
  existing = {};
1626
1643
  }
1627
1644
  existing.yolo = choices.yolo;
1645
+ const launch = existing.launch && typeof existing.launch === "object" ? existing.launch : {};
1628
1646
  existing.launch = {
1647
+ ...launch,
1629
1648
  mode: choices.mode,
1630
- autonomy: choices.autonomy
1649
+ autonomy: choices.autonomy,
1650
+ ...extra?.rememberStartupChoices !== void 0 ? { rememberStartupChoices: extra.rememberStartupChoices } : {}
1631
1651
  };
1632
1652
  await atomicWrite3(configPath, JSON.stringify(existing, null, 2), { mode: 384 });
1633
1653
  });
@@ -1767,7 +1787,14 @@ function labelFor(variant) {
1767
1787
  return SYSTEM_PROMPT_OPTIONS.find((o) => o.variant === variant)?.label ?? variant;
1768
1788
  }
1769
1789
  async function runSystemPromptMenu(deps) {
1770
- const { renderer, reader, paths, lastVariant, suggestScout } = deps;
1790
+ const { renderer, reader, paths, lastVariant, suggestScout, reuseLast } = deps;
1791
+ if (lastVariant && reuseLast) {
1792
+ renderer.write(
1793
+ ` ${color8.green("\u25B6")} ${color8.bold(labelFor(lastVariant))} ${color8.dim("system prompt")}
1794
+ `
1795
+ );
1796
+ return lastVariant;
1797
+ }
1771
1798
  const tokens = await countSystemPromptTokens(paths);
1772
1799
  const defaultVariant = suggestScout ? "scout" : lastVariant ?? "default";
1773
1800
  if (lastVariant) {
@@ -1831,7 +1858,8 @@ async function maybeRunSystemPromptMenu(opts) {
1831
1858
  reader: opts.reader,
1832
1859
  lastVariant: savedVariant,
1833
1860
  paths: opts.paths,
1834
- suggestScout: opts.outsideProject
1861
+ suggestScout: opts.outsideProject,
1862
+ reuseLast: opts.reuseLast
1835
1863
  });
1836
1864
  if (chosen === savedVariant) return { variant: chosen, aborted: false, changed: false };
1837
1865
  if (opts.outsideProject && chosen === "scout") {
@@ -1942,6 +1970,10 @@ function isHomeDirectory(cwd, userHome) {
1942
1970
  if (!cwd || !userHome) return false;
1943
1971
  return path7.resolve(cwd) === path7.resolve(userHome);
1944
1972
  }
1973
+ function shouldReuseStartupChoices(config) {
1974
+ return config.launch?.rememberStartupChoices !== false;
1975
+ }
1976
+ var REUSE_STARTUP_CHOICES_HINT = "(ask every launch: /settings reuse-startup-choices off)";
1945
1977
  function shouldPrintYoloNotice(lastChoices, yoloPinned, yolo) {
1946
1978
  return !lastChoices && yoloPinned === void 0 && yolo;
1947
1979
  }
@@ -2012,6 +2044,7 @@ async function applyBootLaunchChoices(input) {
2012
2044
  projectRoot
2013
2045
  } = input;
2014
2046
  if (isInteractiveTTY) {
2047
+ const reuseLast = shouldReuseStartupChoices(config);
2015
2048
  const promptMenu = await maybeRunSystemPromptMenu({
2016
2049
  isInteractiveTTY,
2017
2050
  flags,
@@ -2022,7 +2055,8 @@ async function applyBootLaunchChoices(input) {
2022
2055
  globalDir: wpaths.globalInstructions,
2023
2056
  projectDir: wpaths.inProjectInstructions
2024
2057
  },
2025
- outsideProject: await isOutsideProject(projectRoot)
2058
+ outsideProject: await isOutsideProject(projectRoot),
2059
+ reuseLast
2026
2060
  });
2027
2061
  if (promptMenu.aborted) {
2028
2062
  await reader.close();
@@ -2064,7 +2098,8 @@ async function applyBootLaunchChoices(input) {
2064
2098
  modePinned,
2065
2099
  yoloPinned,
2066
2100
  autonomyPinned,
2067
- lastChoices
2101
+ lastChoices,
2102
+ reuseLast
2068
2103
  });
2069
2104
  } catch (err) {
2070
2105
  if (err instanceof LaunchAbortedError) {
@@ -2096,10 +2131,25 @@ async function applyBootLaunchChoices(input) {
2096
2131
  indexing: { ...config.indexing, onSessionStart: false }
2097
2132
  });
2098
2133
  }
2134
+ if (reuseLast && lastChoices) {
2135
+ renderer.write(` ${color10.dim(REUSE_STARTUP_CHOICES_HINT)}
2136
+
2137
+ `);
2138
+ }
2139
+ const launchGateAsked = lastChoices !== void 0 && !(modePinned !== void 0 && yoloPinned !== void 0 && autonomyPinned !== void 0);
2140
+ let rememberStartupChoices;
2141
+ if (!reuseLast && (promptMenu.variant !== void 0 || launchGateAsked)) {
2142
+ if (await promptStopAskingStartupQuestions({ renderer, reader })) {
2143
+ rememberStartupChoices = true;
2144
+ config = patchConfig(config, {
2145
+ launch: { ...config.launch, rememberStartupChoices: true }
2146
+ });
2147
+ }
2148
+ }
2099
2149
  if (!simpleUiFullAuto) {
2100
2150
  try {
2101
2151
  const toPersist = flags["webui"] ? { ...choices, mode: lastChoices?.mode ?? config.launch?.mode ?? "tui" } : choices;
2102
- await persistLaunchChoices(profileConfigPath, toPersist);
2152
+ await persistLaunchChoices(profileConfigPath, toPersist, { rememberStartupChoices });
2103
2153
  } catch {
2104
2154
  }
2105
2155
  }
@@ -2193,6 +2243,14 @@ async function resolveBootProviderModel(input) {
2193
2243
  if (!savedStatus.ok) {
2194
2244
  renderer.writeWarning(
2195
2245
  `Saved provider/model is no longer usable (${savedStatus.reason ?? "unknown reason"}); choose a provider.
2246
+ `
2247
+ );
2248
+ } else if (shouldReuseStartupChoices(config)) {
2249
+ skipPicker = true;
2250
+ renderer.write(
2251
+ `
2252
+ ${color11.green("\u25B6")} ${color11.bold(savedProvider)} / ${color11.bold(savedModel)}
2253
+
2196
2254
  `
2197
2255
  );
2198
2256
  } else {
@@ -3163,7 +3221,7 @@ var GITHUB_PROVIDERS_OVERLAY_URL = "https://raw.githubusercontent.com/WrongStack
3163
3221
  async function boot(argv) {
3164
3222
  const { flags, positional } = parseArgs(argv);
3165
3223
  if (positional[0] === "sandbox") {
3166
- const { runSandboxCommand } = await import("./sandbox-TYGD6FI2.js");
3224
+ const { runSandboxCommand } = await import("./sandbox-EZQ76MNY.js");
3167
3225
  return runSandboxCommand(positional.slice(1), flags, new TerminalRenderer());
3168
3226
  }
3169
3227
  if (positional[0] === "update") {
@@ -3176,7 +3234,7 @@ async function boot(argv) {
3176
3234
  });
3177
3235
  }
3178
3236
  if (positional[0] === "remote" || typeof flags["remote"] === "string") {
3179
- const { runRemoteCommand } = await import("./remote-C74BCNND.js");
3237
+ const { runRemoteCommand } = await import("./remote-AKKRJEHK.js");
3180
3238
  return runRemoteCommand(
3181
3239
  positional[0] === "remote" ? positional.slice(1) : positional,
3182
3240
  flags,
@@ -3561,4 +3619,4 @@ async function initializeCli(argv, options = {}) {
3561
3619
  export {
3562
3620
  initializeCli
3563
3621
  };
3564
- //# sourceMappingURL=cli-context-I6HJCVCV.js.map
3622
+ //# sourceMappingURL=cli-context-V6NKFU2X.js.map