@wrongstack/cli 0.297.0 → 0.298.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 (510) hide show
  1. package/dist/{acp-A5OSIU2P.js → acp-S4LZQB66.js} +91 -23
  2. package/dist/{auth-CJWQJVRH.js → auth-NLLGEYQR.js} +3 -3
  3. package/dist/boot/governance-evidence-candidate.d.ts +3 -0
  4. package/dist/boot/governance-shadow-bridge.d.ts +19 -0
  5. package/dist/boot/governance-trace-context.d.ts +64 -0
  6. package/dist/boot/tui-session-resume.d.ts +10 -1
  7. package/dist/chimera-reviewer-policy.d.ts +89 -1
  8. package/dist/chimera-subagent-ladder.d.ts +72 -0
  9. package/dist/{chunk-AZESNNIC.js → chunk-4HH3YGG4.js} +3 -3
  10. package/dist/{chunk-QUNHS6O3.js → chunk-4U3DMA2Y.js} +2 -2
  11. package/dist/{chunk-IHBYBYGA.js → chunk-A6Q5KGLV.js} +51 -18
  12. package/dist/{chunk-ABXK4VVY.js → chunk-ARWGQUB3.js} +2 -1
  13. package/dist/{chunk-7JABKXET.js → chunk-C5GH4YBL.js} +1018 -175
  14. package/dist/{chunk-TADVX644.js → chunk-GO3TJICK.js} +11 -2
  15. package/dist/{chunk-JBTFWWKV.js → chunk-I2BM6FK6.js} +9 -4
  16. package/dist/{chunk-AXVZMEWG.js → chunk-I5MEUFDI.js} +2 -2
  17. package/dist/{chunk-XWEGWYDU.js → chunk-PEKUKUCH.js} +4 -71
  18. package/dist/chunk-U3SS4NRH.js +10 -0
  19. package/dist/{chunk-QZKWRNIP.js → chunk-V3XH6XBJ.js} +12 -9
  20. package/dist/{cli-main-GOY5YGVL.js → cli-main-7QLL2PY6.js} +957 -271
  21. package/dist/cli-main-helpers.d.ts +42 -2
  22. package/dist/{execution-A4PGK4XV.js → execution-HJ643JGZ.js} +834 -676
  23. package/dist/execution-chimera-cascade.d.ts +7 -1
  24. package/dist/execution-chimera-review.d.ts +35 -0
  25. package/dist/fleet/host-types.d.ts +6 -1
  26. package/dist/fleet-statusline.d.ts +1 -0
  27. package/dist/governance-V2Z42RBE.js +65 -0
  28. package/dist/governance-hq-telemetry.d.ts +17 -0
  29. package/dist/{hq-GBPGXIR5.js → hq-WO6CLUSI.js} +2 -2
  30. package/dist/hq-server/auth.d.ts +33 -2
  31. package/dist/hq-server/login-attempt-store.d.ts +73 -0
  32. package/dist/hq-server/routes/auth-handlers.d.ts +73 -5
  33. package/dist/hq-server/routes.d.ts +5 -5
  34. package/dist/hq-server/types.d.ts +36 -2
  35. package/dist/hq-server/utils.d.ts +51 -6
  36. package/dist/{hq-server-YQUUMTPU.js → hq-server-6TSAORAC.js} +2 -2
  37. package/dist/hq-server.d.ts +10 -0
  38. package/dist/index.js +52 -24
  39. package/dist/live-settings-input.d.ts +4 -3
  40. package/dist/plugin-management.d.ts +3 -8
  41. package/dist/{plugin-usage-OU6X6LM3.js → plugin-usage-VTL7ZTVC.js} +2 -2
  42. package/dist/{plugins-4LJ5IUBI.js → plugins-ETY6W3DC.js} +3 -3
  43. package/dist/settings-menu.d.ts +1 -1
  44. package/dist/slash-commands/fallback.d.ts +2 -0
  45. package/dist/slash-commands/goal-refiner.d.ts +1 -1
  46. package/dist/subcommands/handlers/acp-connection-gate.d.ts +20 -0
  47. package/dist/subcommands/handlers/governance.d.ts +8 -0
  48. package/dist/{update-YC4TYW2Y.js → update-MV6TUACD.js} +3 -3
  49. package/dist/utils/win32-cmd.d.ts +9 -6
  50. package/dist/{version-help-DROHZRW6.js → version-help-ASKQYXDJ.js} +2 -2
  51. package/dist/{webui-server-XKFUOKMJ.js → webui-server-PCLSXX6L.js} +10 -3
  52. package/dist/wiring/brain-and-orchestration.d.ts +2 -0
  53. package/dist/wiring/provider-runtime-setup.d.ts +2 -2
  54. package/package.json +24 -23
  55. package/dist/acp-A5OSIU2P.js.map +0 -7
  56. package/dist/acp-registry-cache.d.ts.map +0 -1
  57. package/dist/acp-server-agent.d.ts.map +0 -1
  58. package/dist/arg-parser.d.ts.map +0 -1
  59. package/dist/audit-2ZSFGNIF.js.map +0 -7
  60. package/dist/auth-CJWQJVRH.js.map +0 -7
  61. package/dist/auth-menu/add-provider.d.ts.map +0 -1
  62. package/dist/auth-menu/anthropic-oauth.d.ts.map +0 -1
  63. package/dist/auth-menu/auth-menu-audit.d.ts.map +0 -1
  64. package/dist/auth-menu/direct.d.ts.map +0 -1
  65. package/dist/auth-menu/github-copilot-oauth.d.ts.map +0 -1
  66. package/dist/auth-menu/helpers.d.ts.map +0 -1
  67. package/dist/auth-menu/index.d.ts.map +0 -1
  68. package/dist/auth-menu/local-presets.d.ts.map +0 -1
  69. package/dist/auth-menu/local.d.ts.map +0 -1
  70. package/dist/auth-menu/loopback-server.d.ts.map +0 -1
  71. package/dist/auth-menu/oauth-menu.d.ts.map +0 -1
  72. package/dist/auth-menu/openai-codex-oauth.d.ts.map +0 -1
  73. package/dist/auth-menu/panel-service.d.ts.map +0 -1
  74. package/dist/auth-menu/provider-menu.d.ts.map +0 -1
  75. package/dist/auth-menu/shared.d.ts.map +0 -1
  76. package/dist/auth-menu/top-menu.d.ts.map +0 -1
  77. package/dist/auth-menu/types.d.ts.map +0 -1
  78. package/dist/auth-menu.d.ts.map +0 -1
  79. package/dist/bench-7ZDWSNEF.js.map +0 -7
  80. package/dist/boot/auto-discover-providers.d.ts.map +0 -1
  81. package/dist/boot/brain-decision-log.d.ts.map +0 -1
  82. package/dist/boot/config-backup-recovery.d.ts.map +0 -1
  83. package/dist/boot/container-wiring.d.ts.map +0 -1
  84. package/dist/boot/dispatch-singleshot.d.ts.map +0 -1
  85. package/dist/boot/dispatch-tui.d.ts.map +0 -1
  86. package/dist/boot/dispatch-webui.d.ts.map +0 -1
  87. package/dist/boot/event-wiring.d.ts.map +0 -1
  88. package/dist/boot/execution-mode.d.ts.map +0 -1
  89. package/dist/boot/launch-banner.d.ts.map +0 -1
  90. package/dist/boot/launch-menu.d.ts.map +0 -1
  91. package/dist/boot/short-circuit-desktop.d.ts.map +0 -1
  92. package/dist/boot/short-circuit-flags.d.ts.map +0 -1
  93. package/dist/boot/short-circuit-hq.d.ts.map +0 -1
  94. package/dist/boot/simpleui-full-auto.d.ts.map +0 -1
  95. package/dist/boot/system-prompt-builder.d.ts.map +0 -1
  96. package/dist/boot/system-prompt.d.ts.map +0 -1
  97. package/dist/boot/tool-registry.d.ts.map +0 -1
  98. package/dist/boot/tui-coordinator-callbacks.d.ts.map +0 -1
  99. package/dist/boot/tui-coordinator-setup.d.ts.map +0 -1
  100. package/dist/boot/tui-debug-stream.d.ts.map +0 -1
  101. package/dist/boot/tui-goal-wiring.d.ts.map +0 -1
  102. package/dist/boot/tui-live-sessions.d.ts.map +0 -1
  103. package/dist/boot/tui-project-picker-callback.d.ts.map +0 -1
  104. package/dist/boot/tui-project-spawn.d.ts.map +0 -1
  105. package/dist/boot/tui-project-switch.d.ts.map +0 -1
  106. package/dist/boot/tui-runtime-state.d.ts.map +0 -1
  107. package/dist/boot/tui-sdd-callback.d.ts.map +0 -1
  108. package/dist/boot/tui-session-resume.d.ts.map +0 -1
  109. package/dist/boot/tui-settings-adapter.d.ts.map +0 -1
  110. package/dist/boot-config.d.ts.map +0 -1
  111. package/dist/boot.d.ts.map +0 -1
  112. package/dist/brain-menu/panel-service.d.ts.map +0 -1
  113. package/dist/chimera-review-task.d.ts.map +0 -1
  114. package/dist/chimera-reviewer-policy.d.ts.map +0 -1
  115. package/dist/chronicle-QQEQFSSE.js.map +0 -7
  116. package/dist/chunk-5N34EWJR.js.map +0 -7
  117. package/dist/chunk-66T43Q4Y.js.map +0 -7
  118. package/dist/chunk-7JABKXET.js.map +0 -7
  119. package/dist/chunk-7OCVIDC7.js.map +0 -7
  120. package/dist/chunk-ABXK4VVY.js.map +0 -7
  121. package/dist/chunk-AXVZMEWG.js.map +0 -7
  122. package/dist/chunk-AZESNNIC.js.map +0 -7
  123. package/dist/chunk-BGFM3PD7.js.map +0 -7
  124. package/dist/chunk-DPJZQCVP.js.map +0 -7
  125. package/dist/chunk-F4PEGAJZ.js.map +0 -7
  126. package/dist/chunk-IHBYBYGA.js.map +0 -7
  127. package/dist/chunk-JBSQ7ONN.js.map +0 -7
  128. package/dist/chunk-JBTFWWKV.js.map +0 -7
  129. package/dist/chunk-JUHRI6OV.js.map +0 -7
  130. package/dist/chunk-JW75HY4F.js.map +0 -7
  131. package/dist/chunk-OP47B3IX.js.map +0 -7
  132. package/dist/chunk-PJHET45A.js.map +0 -7
  133. package/dist/chunk-Q5GTM25S.js.map +0 -7
  134. package/dist/chunk-QD544J2B.js.map +0 -7
  135. package/dist/chunk-QUNHS6O3.js.map +0 -7
  136. package/dist/chunk-QZKWRNIP.js.map +0 -7
  137. package/dist/chunk-TADVX644.js.map +0 -7
  138. package/dist/chunk-TGDHN4LM.js.map +0 -7
  139. package/dist/chunk-TYO2OVAD.js.map +0 -7
  140. package/dist/chunk-VCYZ3WZV.js.map +0 -7
  141. package/dist/chunk-VJUEZZYB.js +0 -29
  142. package/dist/chunk-VJUEZZYB.js.map +0 -7
  143. package/dist/chunk-WHOIR577.js.map +0 -7
  144. package/dist/chunk-XJXDOF63.js.map +0 -7
  145. package/dist/chunk-XTIXVJXP.js.map +0 -7
  146. package/dist/chunk-XWEGWYDU.js.map +0 -7
  147. package/dist/chunk-YWUPHRGB.js.map +0 -7
  148. package/dist/cli-bundled-prompts.d.ts.map +0 -1
  149. package/dist/cli-bundled-skills.d.ts.map +0 -1
  150. package/dist/cli-context.d.ts.map +0 -1
  151. package/dist/cli-entry-main.d.ts.map +0 -1
  152. package/dist/cli-entry-point.d.ts.map +0 -1
  153. package/dist/cli-eternal-flag.d.ts.map +0 -1
  154. package/dist/cli-main-GOY5YGVL.js.map +0 -7
  155. package/dist/cli-main-helpers.d.ts.map +0 -1
  156. package/dist/cli-main.d.ts.map +0 -1
  157. package/dist/cli-update-notice.d.ts.map +0 -1
  158. package/dist/config-doctor.d.ts.map +0 -1
  159. package/dist/config-history.d.ts.map +0 -1
  160. package/dist/context-limit.d.ts.map +0 -1
  161. package/dist/context-overflow-diagnostic.d.ts.map +0 -1
  162. package/dist/diag-doctor-OQ3AA63O.js.map +0 -7
  163. package/dist/diff-renderer.d.ts.map +0 -1
  164. package/dist/execute-deps.d.ts.map +0 -1
  165. package/dist/execution-A4PGK4XV.js.map +0 -7
  166. package/dist/execution-chimera-ask.d.ts +0 -10
  167. package/dist/execution-chimera-ask.d.ts.map +0 -1
  168. package/dist/execution-chimera-cascade.d.ts.map +0 -1
  169. package/dist/execution-cleanup.d.ts.map +0 -1
  170. package/dist/execution-kanban-dispatch.d.ts.map +0 -1
  171. package/dist/execution-repl-fleet-callbacks.d.ts.map +0 -1
  172. package/dist/execution-storage-observability.d.ts.map +0 -1
  173. package/dist/execution-tui-next-step-callbacks.d.ts.map +0 -1
  174. package/dist/execution.d.ts.map +0 -1
  175. package/dist/export-TPORYVRZ.js.map +0 -7
  176. package/dist/fleet/host-acp-runner-cache.d.ts.map +0 -1
  177. package/dist/fleet/host-acp.d.ts.map +0 -1
  178. package/dist/fleet/host-concurrency.d.ts.map +0 -1
  179. package/dist/fleet/host-context.d.ts.map +0 -1
  180. package/dist/fleet/host-director-builder.d.ts.map +0 -1
  181. package/dist/fleet/host-director-event-bridges.d.ts.map +0 -1
  182. package/dist/fleet/host-director-services.d.ts.map +0 -1
  183. package/dist/fleet/host-event-bridge.d.ts.map +0 -1
  184. package/dist/fleet/host-helpers.d.ts.map +0 -1
  185. package/dist/fleet/host-learning-tracker.d.ts.map +0 -1
  186. package/dist/fleet/host-learning.d.ts.map +0 -1
  187. package/dist/fleet/host-lifecycle-events.d.ts.map +0 -1
  188. package/dist/fleet/host-paths.d.ts.map +0 -1
  189. package/dist/fleet/host-provider.d.ts.map +0 -1
  190. package/dist/fleet/host-session-writer.d.ts.map +0 -1
  191. package/dist/fleet/host-shadow-pass.d.ts.map +0 -1
  192. package/dist/fleet/host-spawn-types.d.ts.map +0 -1
  193. package/dist/fleet/host-status.d.ts.map +0 -1
  194. package/dist/fleet/host-subagent-factory.d.ts.map +0 -1
  195. package/dist/fleet/host-supervisor.d.ts.map +0 -1
  196. package/dist/fleet/host-task-result-report.d.ts.map +0 -1
  197. package/dist/fleet/host-types.d.ts.map +0 -1
  198. package/dist/fleet/host.d.ts.map +0 -1
  199. package/dist/fleet/routing.d.ts.map +0 -1
  200. package/dist/fleet/status-broadcast.d.ts.map +0 -1
  201. package/dist/fleet/supervisor-registry.d.ts.map +0 -1
  202. package/dist/fleet-statusline.d.ts.map +0 -1
  203. package/dist/goal-host.d.ts.map +0 -1
  204. package/dist/hooks-wiring.d.ts.map +0 -1
  205. package/dist/hq-GBPGXIR5.js.map +0 -7
  206. package/dist/hq-command-controller.d.ts.map +0 -1
  207. package/dist/hq-publisher.d.ts.map +0 -1
  208. package/dist/hq-recovery-html.d.ts.map +0 -1
  209. package/dist/hq-server/audit-actor.d.ts.map +0 -1
  210. package/dist/hq-server/auth-state.d.ts.map +0 -1
  211. package/dist/hq-server/auth.d.ts.map +0 -1
  212. package/dist/hq-server/preflight.d.ts.map +0 -1
  213. package/dist/hq-server/project-root.d.ts.map +0 -1
  214. package/dist/hq-server/routes/auth-handlers.d.ts.map +0 -1
  215. package/dist/hq-server/routes/session-handlers.d.ts.map +0 -1
  216. package/dist/hq-server/routes/system-handlers.d.ts.map +0 -1
  217. package/dist/hq-server/routes.d.ts.map +0 -1
  218. package/dist/hq-server/snapshot.d.ts.map +0 -1
  219. package/dist/hq-server/startup.d.ts.map +0 -1
  220. package/dist/hq-server/trust-boundary.d.ts.map +0 -1
  221. package/dist/hq-server/types.d.ts.map +0 -1
  222. package/dist/hq-server/utils.d.ts.map +0 -1
  223. package/dist/hq-server/ws.d.ts.map +0 -1
  224. package/dist/hq-server-YQUUMTPU.js.map +0 -7
  225. package/dist/hq-server.d.ts.map +0 -1
  226. package/dist/hq-static-serve.d.ts.map +0 -1
  227. package/dist/hq-ttl-U2FAYFAT.js.map +0 -7
  228. package/dist/hq-tunnel-RFKGC4HI.js.map +0 -7
  229. package/dist/hq-tunnel.d.ts.map +0 -1
  230. package/dist/index.d.ts.map +0 -1
  231. package/dist/index.js.map +0 -7
  232. package/dist/init-E2NDDOHI.js.map +0 -7
  233. package/dist/input-reader.d.ts.map +0 -1
  234. package/dist/kanban-dispatch-route.d.ts.map +0 -1
  235. package/dist/kanban-hq-sync.d.ts.map +0 -1
  236. package/dist/kanban-run-mirror-EKVNGXWW.js.map +0 -7
  237. package/dist/launch-hints.d.ts.map +0 -1
  238. package/dist/live-settings-input.d.ts.map +0 -1
  239. package/dist/mailbox-bridge-bootstrap.d.ts.map +0 -1
  240. package/dist/mailbox-serve-DBOOOOWZ.js.map +0 -7
  241. package/dist/mcp-CYLPUEHC.js.map +0 -7
  242. package/dist/mcp-serve.d.ts.map +0 -1
  243. package/dist/modeldiag-HENYJ4N7.js.map +0 -7
  244. package/dist/multi-agent.d.ts.map +0 -1
  245. package/dist/next-task-predictor.d.ts.map +0 -1
  246. package/dist/permission-prompt.d.ts.map +0 -1
  247. package/dist/permissions-FNYLZIL4.js.map +0 -7
  248. package/dist/picker-key-state.d.ts.map +0 -1
  249. package/dist/picker-model-picker.d.ts.map +0 -1
  250. package/dist/picker-ui.d.ts.map +0 -1
  251. package/dist/picker.d.ts.map +0 -1
  252. package/dist/plugin-api-factory.d.ts.map +0 -1
  253. package/dist/plugin-management.d.ts.map +0 -1
  254. package/dist/plugin-usage-OU6X6LM3.js.map +0 -7
  255. package/dist/plugins-4LJ5IUBI.js.map +0 -7
  256. package/dist/pre-launch/launch-prompts.d.ts.map +0 -1
  257. package/dist/pre-launch/project-check.d.ts.map +0 -1
  258. package/dist/pre-launch.d.ts.map +0 -1
  259. package/dist/preflight.d.ts.map +0 -1
  260. package/dist/profile-config-path.d.ts.map +0 -1
  261. package/dist/project-BLQ3ALVL.js.map +0 -7
  262. package/dist/project-manifest-GE25PW4S.js.map +0 -7
  263. package/dist/project-picker-BOCWHBXP.js.map +0 -7
  264. package/dist/project-picker.d.ts.map +0 -1
  265. package/dist/projects-XE76NFNZ.js.map +0 -7
  266. package/dist/provider-config-utils.d.ts.map +0 -1
  267. package/dist/provider-helpers.d.ts.map +0 -1
  268. package/dist/provider-id.d.ts.map +0 -1
  269. package/dist/providers-models-GDELBHZK.js.map +0 -7
  270. package/dist/quick-VIO2BEHS.js.map +0 -7
  271. package/dist/renderer.d.ts.map +0 -1
  272. package/dist/repl-auto-proceed.d.ts.map +0 -1
  273. package/dist/repl-client-registration.d.ts.map +0 -1
  274. package/dist/repl-input.d.ts.map +0 -1
  275. package/dist/repl-options.d.ts.map +0 -1
  276. package/dist/repl-rendering.d.ts.map +0 -1
  277. package/dist/repl-suggestions.d.ts.map +0 -1
  278. package/dist/repl.d.ts.map +0 -1
  279. package/dist/replay-KCTXNMZQ.js.map +0 -7
  280. package/dist/rewind-EJMVFVLS.js.map +0 -7
  281. package/dist/sdd-runtime-AIJCJGWC.js.map +0 -7
  282. package/dist/services/autonomy-mode.d.ts.map +0 -1
  283. package/dist/services/commit-message.d.ts.map +0 -1
  284. package/dist/services/dispatch-classifier.d.ts.map +0 -1
  285. package/dist/services/mcp-management.d.ts.map +0 -1
  286. package/dist/services/project-facts.d.ts.map +0 -1
  287. package/dist/services/project-manifest.d.ts.map +0 -1
  288. package/dist/services/sdd/project-context.d.ts.map +0 -1
  289. package/dist/services/sdd/spec-detection.d.ts.map +0 -1
  290. package/dist/services/sdd/state.d.ts.map +0 -1
  291. package/dist/services/sdd/task-manager.d.ts.map +0 -1
  292. package/dist/services/sdd-runtime.d.ts.map +0 -1
  293. package/dist/services/statusline-config.d.ts.map +0 -1
  294. package/dist/services/suggestion-store.d.ts.map +0 -1
  295. package/dist/session-event-wiring.d.ts.map +0 -1
  296. package/dist/session-stats.d.ts.map +0 -1
  297. package/dist/sessions-config-NLCMK3BY.js.map +0 -7
  298. package/dist/settings-menu.d.ts.map +0 -1
  299. package/dist/shutdown-cleanup.d.ts.map +0 -1
  300. package/dist/simpleui-dist-JIFGUJO7.js.map +0 -7
  301. package/dist/simpleui-dist.d.ts.map +0 -1
  302. package/dist/slash-commands/acp.d.ts.map +0 -1
  303. package/dist/slash-commands/agent-improve.d.ts.map +0 -1
  304. package/dist/slash-commands/agents.d.ts.map +0 -1
  305. package/dist/slash-commands/audit.d.ts.map +0 -1
  306. package/dist/slash-commands/auth.d.ts.map +0 -1
  307. package/dist/slash-commands/autonomy.d.ts.map +0 -1
  308. package/dist/slash-commands/brain.d.ts.map +0 -1
  309. package/dist/slash-commands/btw.d.ts.map +0 -1
  310. package/dist/slash-commands/clear.d.ts.map +0 -1
  311. package/dist/slash-commands/codebase-reindex.d.ts.map +0 -1
  312. package/dist/slash-commands/collab.d.ts.map +0 -1
  313. package/dist/slash-commands/command-context.d.ts.map +0 -1
  314. package/dist/slash-commands/commit-llm.d.ts.map +0 -1
  315. package/dist/slash-commands/compact.d.ts.map +0 -1
  316. package/dist/slash-commands/context.d.ts.map +0 -1
  317. package/dist/slash-commands/coordinator.d.ts.map +0 -1
  318. package/dist/slash-commands/delegate.d.ts.map +0 -1
  319. package/dist/slash-commands/design.d.ts.map +0 -1
  320. package/dist/slash-commands/dev.d.ts.map +0 -1
  321. package/dist/slash-commands/diag-stats.d.ts.map +0 -1
  322. package/dist/slash-commands/dispatch-llm.d.ts.map +0 -1
  323. package/dist/slash-commands/doctor.d.ts.map +0 -1
  324. package/dist/slash-commands/enhance.d.ts.map +0 -1
  325. package/dist/slash-commands/ensemble.d.ts.map +0 -1
  326. package/dist/slash-commands/f-keys.d.ts.map +0 -1
  327. package/dist/slash-commands/fallback.d.ts.map +0 -1
  328. package/dist/slash-commands/fix-classifier.d.ts.map +0 -1
  329. package/dist/slash-commands/fix.d.ts.map +0 -1
  330. package/dist/slash-commands/fleet.d.ts.map +0 -1
  331. package/dist/slash-commands/git.d.ts.map +0 -1
  332. package/dist/slash-commands/gitid.d.ts.map +0 -1
  333. package/dist/slash-commands/goal-refiner.d.ts.map +0 -1
  334. package/dist/slash-commands/goal.d.ts.map +0 -1
  335. package/dist/slash-commands/health.d.ts.map +0 -1
  336. package/dist/slash-commands/help.d.ts.map +0 -1
  337. package/dist/slash-commands/helpers.d.ts.map +0 -1
  338. package/dist/slash-commands/hq.d.ts.map +0 -1
  339. package/dist/slash-commands/index.d.ts.map +0 -1
  340. package/dist/slash-commands/init.d.ts.map +0 -1
  341. package/dist/slash-commands/interrupt.d.ts.map +0 -1
  342. package/dist/slash-commands/kanban-agent-helpers.d.ts.map +0 -1
  343. package/dist/slash-commands/kanban-format.d.ts.map +0 -1
  344. package/dist/slash-commands/kanban-help.d.ts.map +0 -1
  345. package/dist/slash-commands/kanban.d.ts.map +0 -1
  346. package/dist/slash-commands/mailbox-demo.d.ts.map +0 -1
  347. package/dist/slash-commands/mailbox-serve.d.ts.map +0 -1
  348. package/dist/slash-commands/mailbox.d.ts.map +0 -1
  349. package/dist/slash-commands/mcp-utils.d.ts.map +0 -1
  350. package/dist/slash-commands/mcp.d.ts.map +0 -1
  351. package/dist/slash-commands/memory-compact.d.ts.map +0 -1
  352. package/dist/slash-commands/memory-flags.d.ts.map +0 -1
  353. package/dist/slash-commands/memory-formatters.d.ts.map +0 -1
  354. package/dist/slash-commands/memory.d.ts.map +0 -1
  355. package/dist/slash-commands/metrics.d.ts.map +0 -1
  356. package/dist/slash-commands/mode.d.ts.map +0 -1
  357. package/dist/slash-commands/modelcaps.d.ts.map +0 -1
  358. package/dist/slash-commands/models.d.ts.map +0 -1
  359. package/dist/slash-commands/mouse.d.ts.map +0 -1
  360. package/dist/slash-commands/next.d.ts.map +0 -1
  361. package/dist/slash-commands/plan.d.ts.map +0 -1
  362. package/dist/slash-commands/plugin.d.ts.map +0 -1
  363. package/dist/slash-commands/profile.d.ts.map +0 -1
  364. package/dist/slash-commands/project-utils.d.ts.map +0 -1
  365. package/dist/slash-commands/project.d.ts.map +0 -1
  366. package/dist/slash-commands/provider-status.d.ts.map +0 -1
  367. package/dist/slash-commands/prune.d.ts.map +0 -1
  368. package/dist/slash-commands/refiner.d.ts.map +0 -1
  369. package/dist/slash-commands/review.d.ts.map +0 -1
  370. package/dist/slash-commands/sdd/rendering.d.ts.map +0 -1
  371. package/dist/slash-commands/sdd-command-helpers.d.ts.map +0 -1
  372. package/dist/slash-commands/sdd-format.d.ts.map +0 -1
  373. package/dist/slash-commands/sdd.d.ts.map +0 -1
  374. package/dist/slash-commands/security.d.ts.map +0 -1
  375. package/dist/slash-commands/session.d.ts.map +0 -1
  376. package/dist/slash-commands/setmodel.d.ts.map +0 -1
  377. package/dist/slash-commands/settings.d.ts.map +0 -1
  378. package/dist/slash-commands/shadow.d.ts.map +0 -1
  379. package/dist/slash-commands/slash-deep-help.d.ts.map +0 -1
  380. package/dist/slash-commands/spawn-agents.d.ts.map +0 -1
  381. package/dist/slash-commands/statusline.d.ts.map +0 -1
  382. package/dist/slash-commands/suggest.d.ts.map +0 -1
  383. package/dist/slash-commands/suggestion-store.d.ts.map +0 -1
  384. package/dist/slash-commands/supervisor.d.ts.map +0 -1
  385. package/dist/slash-commands/surfaces.d.ts.map +0 -1
  386. package/dist/slash-commands/tasks.d.ts.map +0 -1
  387. package/dist/slash-commands/techstack.d.ts.map +0 -1
  388. package/dist/slash-commands/telegram-pairing.d.ts.map +0 -1
  389. package/dist/slash-commands/telegram-settings.d.ts.map +0 -1
  390. package/dist/slash-commands/telegram-setup.d.ts.map +0 -1
  391. package/dist/slash-commands/todos.d.ts.map +0 -1
  392. package/dist/slash-commands/tool.d.ts.map +0 -1
  393. package/dist/slash-commands/tools.d.ts.map +0 -1
  394. package/dist/slash-commands/tuneup.d.ts.map +0 -1
  395. package/dist/slash-commands/working-dir.d.ts.map +0 -1
  396. package/dist/slash-commands/worktree.d.ts.map +0 -1
  397. package/dist/slash-commands/yolo.d.ts.map +0 -1
  398. package/dist/spinner.d.ts.map +0 -1
  399. package/dist/subcommands/contracts.d.ts.map +0 -1
  400. package/dist/subcommands/handlers/acp.d.ts.map +0 -1
  401. package/dist/subcommands/handlers/audit.d.ts.map +0 -1
  402. package/dist/subcommands/handlers/auth-local-help.d.ts.map +0 -1
  403. package/dist/subcommands/handlers/auth.d.ts.map +0 -1
  404. package/dist/subcommands/handlers/bench-run-help.d.ts.map +0 -1
  405. package/dist/subcommands/handlers/bench.d.ts.map +0 -1
  406. package/dist/subcommands/handlers/chronicle.d.ts.map +0 -1
  407. package/dist/subcommands/handlers/config-history.d.ts.map +0 -1
  408. package/dist/subcommands/handlers/diag-doctor.d.ts.map +0 -1
  409. package/dist/subcommands/handlers/export.d.ts.map +0 -1
  410. package/dist/subcommands/handlers/helpers.d.ts.map +0 -1
  411. package/dist/subcommands/handlers/hq.d.ts.map +0 -1
  412. package/dist/subcommands/handlers/init.d.ts.map +0 -1
  413. package/dist/subcommands/handlers/mailbox-serve.d.ts.map +0 -1
  414. package/dist/subcommands/handlers/mcp.d.ts.map +0 -1
  415. package/dist/subcommands/handlers/model-smoke-test.d.ts.map +0 -1
  416. package/dist/subcommands/handlers/modeldiag-profiles.d.ts.map +0 -1
  417. package/dist/subcommands/handlers/modeldiag.d.ts.map +0 -1
  418. package/dist/subcommands/handlers/models-add-help.d.ts.map +0 -1
  419. package/dist/subcommands/handlers/per-subcommand-deep-help-table.d.ts.map +0 -1
  420. package/dist/subcommands/handlers/per-subcommand-help-data.d.ts.map +0 -1
  421. package/dist/subcommands/handlers/per-subcommand-help-table.d.ts.map +0 -1
  422. package/dist/subcommands/handlers/per-subcommand-help-types.d.ts.map +0 -1
  423. package/dist/subcommands/handlers/per-subcommand-help.d.ts.map +0 -1
  424. package/dist/subcommands/handlers/permissions.d.ts.map +0 -1
  425. package/dist/subcommands/handlers/plugin-usage.d.ts.map +0 -1
  426. package/dist/subcommands/handlers/project.d.ts.map +0 -1
  427. package/dist/subcommands/handlers/projects.d.ts.map +0 -1
  428. package/dist/subcommands/handlers/providers-models.d.ts.map +0 -1
  429. package/dist/subcommands/handlers/quick.d.ts.map +0 -1
  430. package/dist/subcommands/handlers/replay.d.ts.map +0 -1
  431. package/dist/subcommands/handlers/rewind.d.ts.map +0 -1
  432. package/dist/subcommands/handlers/sessions-config.d.ts.map +0 -1
  433. package/dist/subcommands/handlers/sessions-fleet.d.ts.map +0 -1
  434. package/dist/subcommands/handlers/tools-skills.d.ts.map +0 -1
  435. package/dist/subcommands/handlers/update.d.ts.map +0 -1
  436. package/dist/subcommands/handlers/version-help.d.ts.map +0 -1
  437. package/dist/subcommands/index.d.ts.map +0 -1
  438. package/dist/theme.d.ts.map +0 -1
  439. package/dist/tools-skills-UNKLOB7M.js.map +0 -7
  440. package/dist/tui-thinking-word.d.ts.map +0 -1
  441. package/dist/tuneup.d.ts.map +0 -1
  442. package/dist/update-YC4TYW2Y.js.map +0 -7
  443. package/dist/update-check-UMYTOH7Z.js.map +0 -7
  444. package/dist/update-check.d.ts.map +0 -1
  445. package/dist/utils/delay-format.d.ts.map +0 -1
  446. package/dist/utils/hq-ttl.d.ts.map +0 -1
  447. package/dist/utils/win32-cmd.d.ts.map +0 -1
  448. package/dist/utils.d.ts.map +0 -1
  449. package/dist/version-help-DROHZRW6.js.map +0 -7
  450. package/dist/version.d.ts.map +0 -1
  451. package/dist/webui-server/client-registration.d.ts.map +0 -1
  452. package/dist/webui-server/connection-handler.d.ts.map +0 -1
  453. package/dist/webui-server/context-breakdown.d.ts.map +0 -1
  454. package/dist/webui-server/contracts.d.ts.map +0 -1
  455. package/dist/webui-server/cost-helpers.d.ts.map +0 -1
  456. package/dist/webui-server/kanban-host-adapter.d.ts.map +0 -1
  457. package/dist/webui-server/kanban-run-mirror.d.ts.map +0 -1
  458. package/dist/webui-server/kanban-supervisor.d.ts.map +0 -1
  459. package/dist/webui-server/lifecycle.d.ts.map +0 -1
  460. package/dist/webui-server/listen-helpers.d.ts.map +0 -1
  461. package/dist/webui-server/logger-shim.d.ts.map +0 -1
  462. package/dist/webui-server/node-pty-loader.d.ts.map +0 -1
  463. package/dist/webui-server/prefs-seeding.d.ts.map +0 -1
  464. package/dist/webui-server/privileged-actions.d.ts.map +0 -1
  465. package/dist/webui-server/provider-config.d.ts.map +0 -1
  466. package/dist/webui-server/session-start-payload.d.ts.map +0 -1
  467. package/dist/webui-server/setup-events.d.ts.map +0 -1
  468. package/dist/webui-server/static-serve.d.ts.map +0 -1
  469. package/dist/webui-server/stream-coalescer.d.ts.map +0 -1
  470. package/dist/webui-server/terminal-log-view.d.ts.map +0 -1
  471. package/dist/webui-server-XKFUOKMJ.js.map +0 -7
  472. package/dist/webui-server-options.d.ts.map +0 -1
  473. package/dist/webui-server.d.ts.map +0 -1
  474. package/dist/wiring/brain-and-orchestration.d.ts.map +0 -1
  475. package/dist/wiring/codebase-index.d.ts.map +0 -1
  476. package/dist/wiring/command-host-adapters.d.ts.map +0 -1
  477. package/dist/wiring/command-host-state.d.ts.map +0 -1
  478. package/dist/wiring/controllers.d.ts.map +0 -1
  479. package/dist/wiring/dep-watcher-bridge.d.ts.map +0 -1
  480. package/dist/wiring/dep-watcher.d.ts.map +0 -1
  481. package/dist/wiring/design-studio.d.ts.map +0 -1
  482. package/dist/wiring/director-setup.d.ts.map +0 -1
  483. package/dist/wiring/eternal-command-handlers.d.ts.map +0 -1
  484. package/dist/wiring/fleet-command-handlers.d.ts.map +0 -1
  485. package/dist/wiring/hq-telemetry.d.ts.map +0 -1
  486. package/dist/wiring/lifecycle-plugins.d.ts.map +0 -1
  487. package/dist/wiring/mailbox-bridge-bootstrap.d.ts.map +0 -1
  488. package/dist/wiring/management-tools.d.ts.map +0 -1
  489. package/dist/wiring/metrics.d.ts.map +0 -1
  490. package/dist/wiring/pipeline.d.ts.map +0 -1
  491. package/dist/wiring/plugins.d.ts.map +0 -1
  492. package/dist/wiring/provider-runtime-setup.d.ts.map +0 -1
  493. package/dist/wiring/provider-runtime.d.ts.map +0 -1
  494. package/dist/wiring/provider-status.d.ts.map +0 -1
  495. package/dist/wiring/provider-utility-tools.d.ts.map +0 -1
  496. package/dist/wiring/provider.d.ts.map +0 -1
  497. package/dist/wiring/replay.d.ts.map +0 -1
  498. package/dist/wiring/runtime-controller-deps.d.ts.map +0 -1
  499. package/dist/wiring/runtime-dispatch-state.d.ts.map +0 -1
  500. package/dist/wiring/runtime-lifecycle-deps.d.ts.map +0 -1
  501. package/dist/wiring/runtime-picker-deps.d.ts.map +0 -1
  502. package/dist/wiring/sage.d.ts.map +0 -1
  503. package/dist/wiring/sdd-handlers.d.ts.map +0 -1
  504. package/dist/wiring/security-command.d.ts.map +0 -1
  505. package/dist/wiring/session-command-handlers.d.ts.map +0 -1
  506. package/dist/wiring/session-registry.d.ts.map +0 -1
  507. package/dist/wiring/session.d.ts.map +0 -1
  508. package/dist/wiring/slash-commands.d.ts.map +0 -1
  509. package/dist/wiring/to-execute-deps.d.ts.map +0 -1
  510. package/dist/wiring/tools.d.ts.map +0 -1
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  makePromptDelegate,
7
7
  renderAgentsTemplate,
8
8
  renderDiff
9
- } from "./chunk-IHBYBYGA.js";
9
+ } from "./chunk-A6Q5KGLV.js";
10
10
  import {
11
11
  theme
12
12
  } from "./chunk-QD544J2B.js";
@@ -16,21 +16,21 @@ import {
16
16
  import {
17
17
  helpCmd,
18
18
  versionCmd
19
- } from "./chunk-ABXK4VVY.js";
19
+ } from "./chunk-ARWGQUB3.js";
20
20
  import {
21
21
  discoverAndMergeProviders
22
22
  } from "./chunk-TGDHN4LM.js";
23
23
  import {
24
24
  DEFAULT_PORT
25
- } from "./chunk-7JABKXET.js";
25
+ } from "./chunk-C5GH4YBL.js";
26
26
  import "./chunk-Q5GTM25S.js";
27
27
  import {
28
28
  CLI_VERSION
29
29
  } from "./chunk-XJXDOF63.js";
30
30
  import {
31
31
  runUpdateCommand
32
- } from "./chunk-AXVZMEWG.js";
33
- import "./chunk-VJUEZZYB.js";
32
+ } from "./chunk-I5MEUFDI.js";
33
+ import "./chunk-U3SS4NRH.js";
34
34
  import "./chunk-F4PEGAJZ.js";
35
35
  import {
36
36
  parseArgs,
@@ -54,7 +54,7 @@ import {
54
54
  import "./chunk-7OCVIDC7.js";
55
55
 
56
56
  // src/cli-entry-point.ts
57
- import { writeErr } from "@wrongstack/core/utils";
57
+ import { installCrashShield, writeErr } from "@wrongstack/core/utils";
58
58
  var SQLITE_WARNING_RE = /sqlite is an experimental feature/i;
59
59
  function installSqliteWarningFilter() {
60
60
  const originalEmit = process.emitWarning.bind(process);
@@ -91,6 +91,7 @@ function installBrokenPipeHandlers(options = {}) {
91
91
  function runAsMain(mainFn) {
92
92
  if (!isMain) return;
93
93
  installBrokenPipeHandlers();
94
+ installCrashShield();
94
95
  mainFn(process.argv.slice(2)).then(
95
96
  (c) => {
96
97
  process.exitCode = c;
@@ -1494,10 +1495,10 @@ function compactSingleLine(text) {
1494
1495
 
1495
1496
  // src/subcommands/index.ts
1496
1497
  var loaders = {
1497
- acp: async () => (await import("./acp-A5OSIU2P.js")).acpCmd,
1498
+ acp: async () => (await import("./acp-S4LZQB66.js")).acpCmd,
1498
1499
  init: async () => (await import("./init-E2NDDOHI.js")).initCmd,
1499
- auth: async () => (await import("./auth-CJWQJVRH.js")).authCmd,
1500
- update: async () => (await import("./update-YC4TYW2Y.js")).updateCmd,
1500
+ auth: async () => (await import("./auth-NLLGEYQR.js")).authCmd,
1501
+ update: async () => (await import("./update-MV6TUACD.js")).updateCmd,
1501
1502
  sessions: async () => (await import("./sessions-config-NLCMK3BY.js")).sessionsCmd,
1502
1503
  config: async () => (await import("./sessions-config-NLCMK3BY.js")).configCmd,
1503
1504
  rewind: async () => (await import("./rewind-EJMVFVLS.js")).rewindCmd,
@@ -1508,23 +1509,24 @@ var loaders = {
1508
1509
  providers: async () => (await import("./providers-models-GDELBHZK.js")).providersCmd,
1509
1510
  models: async () => (await import("./providers-models-GDELBHZK.js")).modelsCmd,
1510
1511
  mcp: async () => (await import("./mcp-CYLPUEHC.js")).mcpCmd,
1511
- plugin: async () => (await import("./plugin-usage-OU6X6LM3.js")).pluginCmd,
1512
- plugins: async () => (await import("./plugin-usage-OU6X6LM3.js")).pluginCmd,
1512
+ plugin: async () => (await import("./plugin-usage-VTL7ZTVC.js")).pluginCmd,
1513
+ plugins: async () => (await import("./plugin-usage-VTL7ZTVC.js")).pluginCmd,
1513
1514
  diag: async () => (await import("./diag-doctor-OQ3AA63O.js")).diagCmd,
1514
1515
  doctor: async () => (await import("./diag-doctor-OQ3AA63O.js")).doctorCmd,
1515
1516
  export: async () => (await import("./export-TPORYVRZ.js")).exportCmd,
1516
- usage: async () => (await import("./plugin-usage-OU6X6LM3.js")).usageCmd,
1517
- version: async () => (await import("./version-help-DROHZRW6.js")).versionCmd,
1518
- help: async () => (await import("./version-help-DROHZRW6.js")).helpCmd,
1517
+ usage: async () => (await import("./plugin-usage-VTL7ZTVC.js")).usageCmd,
1518
+ version: async () => (await import("./version-help-ASKQYXDJ.js")).versionCmd,
1519
+ help: async () => (await import("./version-help-ASKQYXDJ.js")).helpCmd,
1519
1520
  projects: async () => (await import("./projects-XE76NFNZ.js")).projectsCmd,
1520
1521
  modeldiag: async () => (await import("./modeldiag-HENYJ4N7.js")).modeldiagCmd,
1521
1522
  quick: async () => (await import("./quick-VIO2BEHS.js")).quickCmd,
1522
1523
  bench: async () => (await import("./bench-7ZDWSNEF.js")).benchCmd,
1523
1524
  chronicle: async () => (await import("./chronicle-QQEQFSSE.js")).chronicleCmd,
1524
- hq: async () => (await import("./hq-GBPGXIR5.js")).hqCmd,
1525
+ hq: async () => (await import("./hq-WO6CLUSI.js")).hqCmd,
1525
1526
  mailbox: async () => (await import("./mailbox-serve-DBOOOOWZ.js")).mailboxServeCmd,
1526
1527
  permissions: async () => (await import("./permissions-FNYLZIL4.js")).permissionsCmd,
1527
- project: async () => (await import("./project-BLQ3ALVL.js")).projectCmd
1528
+ project: async () => (await import("./project-BLQ3ALVL.js")).projectCmd,
1529
+ governance: async () => (await import("./governance-V2Z42RBE.js")).governanceCmd
1528
1530
  };
1529
1531
  var subcommands = Object.fromEntries(
1530
1532
  Object.entries(loaders).map(([name, load]) => [
@@ -2157,7 +2159,7 @@ async function isPortInUse(host, port) {
2157
2159
  }
2158
2160
  async function handleHqShortCircuit(flags) {
2159
2161
  if (flags["hq"] !== true) return null;
2160
- const { startHqServer } = await import("./hq-server-YQUUMTPU.js");
2162
+ const { startHqServer } = await import("./hq-server-6TSAORAC.js");
2161
2163
  const tunnelRequested = flags["tunnel"] === true;
2162
2164
  const host = typeof flags["host"] === "string" ? flags["host"] : tunnelRequested ? "127.0.0.1" : HQ_CLI_DEFAULT_HOST;
2163
2165
  if (tunnelRequested && !isLoopbackHost(host)) {
@@ -2316,9 +2318,9 @@ ${color8.green("Cloudflare Quick Tunnel ready:")} ${browserUrl}
2316
2318
  }
2317
2319
 
2318
2320
  // src/boot/launch-menu.ts
2319
- import { atomicWrite as atomicWrite3, color as color9, isStdinTTY as isStdinTTY2, setRawMode as setRawMode2 } from "@wrongstack/core/utils";
2320
- import { HQ_CLI_DEFAULT_HOST as HQ_CLI_DEFAULT_HOST2 } from "@wrongstack/core/hq";
2321
2321
  import * as fs8 from "node:fs/promises";
2322
+ import { HQ_CLI_DEFAULT_HOST as HQ_CLI_DEFAULT_HOST2 } from "@wrongstack/core/hq";
2323
+ import { atomicWrite as atomicWrite3, color as color9, isStdinTTY as isStdinTTY2, setRawMode as setRawMode2 } from "@wrongstack/core/utils";
2322
2324
 
2323
2325
  // src/boot/launch-banner.ts
2324
2326
  var STACK_ORANGE = { r: 253, g: 159, b: 2 };
@@ -2443,10 +2445,34 @@ function defaultHostFor(mode) {
2443
2445
  return mode === "hq" ? HQ_DEFAULT_HOST : DEFAULT_HOST;
2444
2446
  }
2445
2447
  var MODE_OPTIONS = [
2446
- { key: 1, mode: "tui-repl", label: "TUI / REPL", hint: "interactive terminal (default)", icon: "\u2328" },
2447
- { key: 2, mode: "webui", label: "WebUI", hint: `browser-based project UI (port ${DEFAULT_PORTS.webui})`, icon: "\u{1F310}" },
2448
- { key: 3, mode: "simpleui", label: "SimpleUI", hint: `lightweight browser UI (port ${DEFAULT_PORTS.simpleui})`, icon: "\u{1F4C4}" },
2449
- { key: 4, mode: "hq", label: "HQ", hint: `project-independent dashboard (port ${DEFAULT_PORT})`, icon: "\u{1F4CA}" }
2448
+ {
2449
+ key: 1,
2450
+ mode: "tui-repl",
2451
+ label: "TUI / REPL",
2452
+ hint: "interactive terminal (default)",
2453
+ icon: "\u2328"
2454
+ },
2455
+ {
2456
+ key: 2,
2457
+ mode: "webui",
2458
+ label: "WebUI",
2459
+ hint: `browser-based project UI (port ${DEFAULT_PORTS.webui})`,
2460
+ icon: "\u{1F310}"
2461
+ },
2462
+ {
2463
+ key: 3,
2464
+ mode: "simpleui",
2465
+ label: "SimpleUI",
2466
+ hint: `lightweight browser UI (port ${DEFAULT_PORTS.simpleui})`,
2467
+ icon: "\u{1F4C4}"
2468
+ },
2469
+ {
2470
+ key: 4,
2471
+ mode: "hq",
2472
+ label: "HQ",
2473
+ hint: `project-independent dashboard (port ${DEFAULT_PORT})`,
2474
+ icon: "\u{1F4CA}"
2475
+ }
2450
2476
  ];
2451
2477
  var MENU_TIMEOUT_MS = 8e3;
2452
2478
  var SUMMARY_TIMEOUT_MS = 5e3;
@@ -2478,6 +2504,7 @@ var KNOWN_SUBCOMMANDS = /* @__PURE__ */ new Set([
2478
2504
  "help",
2479
2505
  "provider",
2480
2506
  "project",
2507
+ "governance",
2481
2508
  "session",
2482
2509
  "sessions",
2483
2510
  "replay",
@@ -2620,6 +2647,7 @@ async function promptModeArrow(deps) {
2620
2647
  const settle = (result, finalLine) => {
2621
2648
  if (settled) return;
2622
2649
  settled = true;
2650
+ stopCountdown();
2623
2651
  stopInput();
2624
2652
  if (drawn > 0) out(`\x1B[${drawn}A`);
2625
2653
  out("\x1B[0J");
@@ -3121,7 +3149,7 @@ async function initializeCli(argv) {
3121
3149
  async function main(argv) {
3122
3150
  const cliCtx = await initializeCli(argv);
3123
3151
  if (typeof cliCtx === "number") return cliCtx;
3124
- const { runInteractive } = await import("./cli-main-GOY5YGVL.js");
3152
+ const { runInteractive } = await import("./cli-main-7QLL2PY6.js");
3125
3153
  return runInteractive(cliCtx);
3126
3154
  }
3127
3155
 
@@ -47,7 +47,7 @@ export interface LiveSettingsInput {
47
47
  breakerEnabled?: boolean | undefined;
48
48
  /** Auto kill/reset delay (ms) when the breaker trips. 0 = manual recovery. */
49
49
  breakerAutoKillResetMs?: number | undefined;
50
- /** TUI statusline density. Defaults to detailed when unset. */
50
+ /** TUI statusline density. Defaults to minimum when unset. */
51
51
  statuslineMode?: 'minimum' | 'detailed' | undefined;
52
52
  /** Single word shown in the TUI rainbow working-state chip. */
53
53
  thinkingWord?: string | undefined;
@@ -63,8 +63,9 @@ export interface LiveSettingsInput {
63
63
  cacheTtl?: 'default' | '5m' | '1h' | undefined;
64
64
  /** Show "Model Reasoning" blocks in chat history. Default: true. */
65
65
  showModelReasoning?: boolean | undefined;
66
- /** Optionally show the persistent AGENT SWARM and todo mission queue panel; defaults to true at the storage layer. */
67
- showAgentSwarmPanel?: boolean | undefined;
66
+ /** Agent swarm panel placement: 'bottom' (lower region), 'sidebar' (right sidebar), or 'off' (hidden).
67
+ * Backward-compat: legacy boolean values are coerced by the TUI settings adapter. Default: 'bottom'. */
68
+ showAgentSwarmPanel?: 'bottom' | 'sidebar' | 'off' | boolean | undefined;
68
69
  /** Show SAGE Memory Inject blocks in tool results. Default: false. */
69
70
  showSageMemoryInject?: boolean | undefined;
70
71
  /**
@@ -1,12 +1,7 @@
1
1
  import type { Config, PluginConfig, PluginManagerConfig } from '@wrongstack/core/types';
2
- export interface PluginAuditEntry {
3
- name: string;
4
- risk: 'low' | 'medium' | 'high';
5
- summary: string;
6
- defaultState: 'active' | 'inactive';
7
- canDisable: boolean;
8
- }
9
- export declare const PLUGIN_AUDIT_ENTRIES: readonly PluginAuditEntry[];
2
+ import { PLUGIN_AUDIT_ENTRIES, type PluginAuditEntry } from '@wrongstack/plugins/plugin-audit-catalog';
3
+ export { PLUGIN_AUDIT_ENTRIES };
4
+ export type { PluginAuditEntry };
10
5
  export declare const OFFICIAL_PLUGINS: readonly [{
11
6
  readonly alias: 'telegram';
12
7
  readonly specifier: '@wrongstack/telegram';
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  runPluginManagementCommand
3
- } from "./chunk-XWEGWYDU.js";
3
+ } from "./chunk-PEKUKUCH.js";
4
4
  import {
5
5
  activeProfileConfigPath
6
6
  } from "./chunk-DPJZQCVP.js";
@@ -37,4 +37,4 @@ export {
37
37
  pluginCmd,
38
38
  usageCmd
39
39
  };
40
- //# sourceMappingURL=plugin-usage-OU6X6LM3.js.map
40
+ //# sourceMappingURL=plugin-usage-VTL7ZTVC.js.map
@@ -7,8 +7,8 @@ import {
7
7
  pluginNameFromSpec,
8
8
  setupPlugins,
9
9
  warnIfDeprecatedPluginName
10
- } from "./chunk-QUNHS6O3.js";
11
- import "./chunk-XWEGWYDU.js";
10
+ } from "./chunk-4U3DMA2Y.js";
11
+ import "./chunk-PEKUKUCH.js";
12
12
  import "./chunk-TYO2OVAD.js";
13
13
  import "./chunk-7OCVIDC7.js";
14
14
  export {
@@ -21,4 +21,4 @@ export {
21
21
  setupPlugins,
22
22
  warnIfDeprecatedPluginName
23
23
  };
24
- //# sourceMappingURL=plugins-4LJ5IUBI.js.map
24
+ //# sourceMappingURL=plugins-ETY6W3DC.js.map
@@ -1,5 +1,5 @@
1
- import { type SecretVault } from '@wrongstack/core/types';
2
1
  import type { ConfigStore } from '@wrongstack/core/types';
2
+ import { type SecretVault } from '@wrongstack/core/types';
3
3
  /** Configuration and storage dependencies needed to persist a setting.
4
4
  * This is safe to call from non-interactive surfaces such as the TUI,
5
5
  * headless runs, and the arg-driven `/settings` slash command. */
@@ -14,6 +14,8 @@ import type { SlashCommandContext } from './command-context.js';
14
14
  * remove <n|ref> Remove by 1-based index or by exact reference.
15
15
  * clear Empty the explicit chain (smart default takes over
16
16
  * again when `auto` is on).
17
+ * bridge set <ref> Set the single continuity route tried before the chain.
18
+ * bridge clear Disable the continuity bridge.
17
19
  * auto on|off Toggle the smart default (config.fallbackAuto).
18
20
  */
19
21
  export declare function buildFallbackCommand(opts: SlashCommandContext): SlashCommand;
@@ -1,5 +1,5 @@
1
- import type { Config, Provider } from '@wrongstack/core/types';
2
1
  import type { OneShotOrchestrator } from '@wrongstack/core/execution';
2
+ import type { Config, Provider } from '@wrongstack/core/types';
3
3
  /**
4
4
  * Result of refining a user's raw goal into a clear, actionable mission.
5
5
  */
@@ -0,0 +1,20 @@
1
+ import type { IncomingMessage } from 'node:http';
2
+ export interface AcpGateVerdict {
3
+ ok: boolean;
4
+ /** WebSocket close code to send when `ok` is false. */
5
+ code?: number;
6
+ reason?: string;
7
+ }
8
+ export interface AcpConnectionGateOptions {
9
+ host: string;
10
+ port: number;
11
+ token: string;
12
+ /** Concurrent connection ceiling. */
13
+ maxConnections?: number;
14
+ }
15
+ export interface AcpConnectionGate {
16
+ /** Decide whether to admit a handshake. Does not mutate connection count. */
17
+ check(req: Pick<IncomingMessage, 'headers' | 'url'>, liveConnections: number): AcpGateVerdict;
18
+ }
19
+ export declare function createAcpConnectionGate(opts: AcpConnectionGateOptions): AcpConnectionGate;
20
+ //# sourceMappingURL=acp-connection-gate.d.ts.map
@@ -0,0 +1,8 @@
1
+ import type { GovernanceDaemonOperatorStatusReadResult } from '@wrongstack/runtime/governance-bootstrap';
2
+ import type { SubcommandDeps, SubcommandHandler } from '../contracts.js';
3
+ export interface GovernanceStatusCommandDependencies {
4
+ readonly readStatus: (projectRoot: string) => Promise<GovernanceDaemonOperatorStatusReadResult>;
5
+ }
6
+ export declare function runGovernanceStatusCommand(args: string[], deps: SubcommandDeps, dependencies?: GovernanceStatusCommandDependencies): Promise<number>;
7
+ export declare const governanceCmd: SubcommandHandler;
8
+ //# sourceMappingURL=governance.d.ts.map
@@ -3,8 +3,8 @@ import {
3
3
  detectUpdatePackageName,
4
4
  runUpdateCommand,
5
5
  updateCmd
6
- } from "./chunk-AXVZMEWG.js";
7
- import "./chunk-VJUEZZYB.js";
6
+ } from "./chunk-I5MEUFDI.js";
7
+ import "./chunk-U3SS4NRH.js";
8
8
  import "./chunk-F4PEGAJZ.js";
9
9
  import "./chunk-7OCVIDC7.js";
10
10
  export {
@@ -13,4 +13,4 @@ export {
13
13
  runUpdateCommand,
14
14
  updateCmd
15
15
  };
16
- //# sourceMappingURL=update-YC4TYW2Y.js.map
16
+ //# sourceMappingURL=update-MV6TUACD.js.map
@@ -1,7 +1,10 @@
1
- export interface Win32CmdShimInvocation {
2
- command: string;
3
- args: string[];
4
- windowsVerbatimArguments: true;
5
- }
6
- export declare function buildWin32CmdShimInvocation(command: string, args?: readonly string[]): Win32CmdShimInvocation;
1
+ /**
2
+ * Re-export of the canonical Windows `.cmd`/`.bat` shim builder.
3
+ *
4
+ * This file previously held its own copy, byte-identical to the one in
5
+ * `@wrongstack/acp`, while `@wrongstack/mcp` used a weaker quoting helper that
6
+ * left metacharacter-bearing arguments unquoted under `shell: true`. Keeping one
7
+ * implementation in core removes the divergence risk (WS-004 / CMDI-005).
8
+ */
9
+ export { buildWin32CmdShimInvocation, type Win32CmdShimInvocation, } from '@wrongstack/core/utils';
7
10
  //# sourceMappingURL=win32-cmd.d.ts.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  helpCmd,
3
3
  versionCmd
4
- } from "./chunk-ABXK4VVY.js";
4
+ } from "./chunk-ARWGQUB3.js";
5
5
  import "./chunk-XJXDOF63.js";
6
6
  import "./chunk-7OCVIDC7.js";
7
7
  export {
8
8
  helpCmd,
9
9
  versionCmd
10
10
  };
11
- //# sourceMappingURL=version-help-DROHZRW6.js.map
11
+ //# sourceMappingURL=version-help-ASKQYXDJ.js.map
@@ -841,7 +841,7 @@ async function runWebUI(opts) {
841
841
  const wsPort = httpPort;
842
842
  const globalRoot = opts.globalConfigPath ? path5.dirname(opts.globalConfigPath) : wstackGlobalRoot();
843
843
  const profileConfigPath = opts.profileConfigPath ?? opts.globalConfigPath ?? path5.join(globalRoot, "config.json");
844
- const rateLimitMax = Number.parseInt(process.env["WEBUI_RATE_LIMIT"] ?? "0", 10);
844
+ const rateLimitMax = Number.parseInt(process.env["WEBUI_RATE_LIMIT"] ?? "600", 10);
845
845
  const clients = /* @__PURE__ */ new Map();
846
846
  const pendingConfirms = /* @__PURE__ */ new Map();
847
847
  const secretScrubber = new DefaultSecretScrubber();
@@ -1127,18 +1127,25 @@ async function runWebUI(opts) {
1127
1127
  // not inside the profile directory — resolve via global root to stay correct.
1128
1128
  getVault(opts.globalConfigPath),
1129
1129
  (snapshot) => {
1130
+ const hadFallbackBridge = Boolean(opts.appConfig?.fallbackBridge?.trim());
1130
1131
  try {
1131
1132
  if (opts.appConfig && !Object.isFrozen(opts.appConfig)) {
1132
1133
  opts.appConfig.providers = snapshot.providers;
1133
1134
  if (snapshot.uiLocale) opts.appConfig.uiLocale = snapshot.uiLocale;
1135
+ if (snapshot.fallbackBridge !== void 0) {
1136
+ opts.appConfig.fallbackBridge = snapshot.fallbackBridge;
1137
+ } else {
1138
+ delete opts.appConfig.fallbackBridge;
1139
+ }
1134
1140
  }
1135
1141
  } catch {
1136
1142
  }
1137
- const routingChanged = snapshot.fallbackModels !== void 0 || snapshot.fallbackProfiles !== void 0 || snapshot.favoriteModels !== void 0 || snapshot.favoriteModelsOnly !== void 0 || snapshot.modelMatrix !== void 0 || snapshot.fallbackAuto !== void 0;
1143
+ const routingChanged = snapshot.fallbackModels !== void 0 || snapshot.fallbackBridge !== void 0 || hadFallbackBridge || snapshot.fallbackProfiles !== void 0 || snapshot.favoriteModels !== void 0 || snapshot.favoriteModelsOnly !== void 0 || snapshot.modelMatrix !== void 0 || snapshot.fallbackAuto !== void 0;
1138
1144
  if (routingChanged) {
1139
1145
  const configStore = opts.agent.container?.safeResolve?.(TOKENS.ConfigStore);
1140
1146
  configStore?.update({
1141
1147
  ...snapshot.fallbackModels !== void 0 ? { fallbackModels: snapshot.fallbackModels } : {},
1148
+ fallbackBridge: snapshot.fallbackBridge ?? "",
1142
1149
  ...snapshot.fallbackProfiles !== void 0 ? { fallbackProfiles: snapshot.fallbackProfiles } : {},
1143
1150
  ...snapshot.favoriteModels !== void 0 ? { favoriteModels: snapshot.favoriteModels } : {},
1144
1151
  ...snapshot.favoriteModelsOnly !== void 0 ? { favoriteModelsOnly: snapshot.favoriteModelsOnly } : {},
@@ -1480,4 +1487,4 @@ async function runWebUI(opts) {
1480
1487
  export {
1481
1488
  runWebUI
1482
1489
  };
1483
- //# sourceMappingURL=webui-server-XKFUOKMJ.js.map
1490
+ //# sourceMappingURL=webui-server-PCLSXX6L.js.map
@@ -58,6 +58,8 @@ export interface BrainOrchestrationDeps {
58
58
  modeId?: string | undefined;
59
59
  /** Shared provider/model status tracker for the Director. */
60
60
  statusTracker?: import('@wrongstack/core/coordination').ProviderModelStatusTracker | undefined;
61
+ /** Trusted governance hook for in-process Fleet tool pipelines. */
62
+ installToolBoundary?: ((pipelines: import('@wrongstack/core/agent').AgentPipelines) => void) | undefined;
61
63
  }
62
64
  export interface BrainOrchestrationResult {
63
65
  brain: ObservableBrainArbiter;
@@ -1,8 +1,8 @@
1
- import type { Config, Logger, ModelsRegistry, Provider, ProviderConfig, SecretVault } from '@wrongstack/core/types';
2
1
  import { type FallbackProfileManager } from '@wrongstack/core/agent';
3
- import type { EventBus } from '@wrongstack/core/kernel';
4
2
  import type { ProviderModelStatusTracker } from '@wrongstack/core/coordination';
3
+ import type { EventBus } from '@wrongstack/core/kernel';
5
4
  import type { ProviderRegistry } from '@wrongstack/core/registry';
5
+ import type { Config, Logger, ModelsRegistry, Provider, ProviderConfig, SecretVault } from '@wrongstack/core/types';
6
6
  import type { WstackPaths } from '@wrongstack/core/utils';
7
7
  export declare function serializeProviderRuntimeSnapshot(snapshot: unknown): string;
8
8
  type AnyObj = any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wrongstack/cli",
3
- "version": "0.297.0",
3
+ "version": "0.298.1",
4
4
  "license": "MIT",
5
5
  "description": "WrongStack CLI — terminal AI coding agent with provider catalog from models.dev. Provides `wrongstack` and `wstack` binaries.",
6
6
  "keywords": [
@@ -37,36 +37,37 @@
37
37
  },
38
38
  "files": [
39
39
  "dist",
40
+ "!dist/**/*.map",
40
41
  "data"
41
42
  ],
42
43
  "dependencies": {
43
44
  "ws": "^8.21.1",
44
- "@wrongstack/acp": "0.297.0",
45
- "@wrongstack/runtime": "0.297.0",
46
- "@wrongstack/mcp": "0.297.0",
47
- "@wrongstack/kanban": "0.297.0",
48
- "@wrongstack/plug-lsp": "0.297.0",
49
- "@wrongstack/sdd": "0.297.0",
50
- "@wrongstack/providers": "0.297.0",
51
- "@wrongstack/simpleui": "0.297.0",
52
- "@wrongstack/core": "0.297.0",
53
- "@wrongstack/plugins": "0.297.0",
54
- "@wrongstack/bench": "0.297.0",
55
- "@wrongstack/techstack": "0.297.0",
56
- "@wrongstack/security-scanner": "0.297.0",
57
- "@wrongstack/tui": "0.297.0",
58
- "@wrongstack/sage": "0.297.0",
59
- "@wrongstack/webui": "0.297.0",
60
- "@wrongstack/tools": "0.297.0",
61
- "@wrongstack/webui-server": "0.297.0",
62
- "@wrongstack/webui-hq": "0.297.0",
63
- "@wrongstack/telegram": "0.297.0"
45
+ "@wrongstack/acp": "0.298.1",
46
+ "@wrongstack/mcp": "0.298.1",
47
+ "@wrongstack/bench": "0.298.1",
48
+ "@wrongstack/kanban": "0.298.1",
49
+ "@wrongstack/providers": "0.298.1",
50
+ "@wrongstack/plug-lsp": "0.298.1",
51
+ "@wrongstack/runtime": "0.298.1",
52
+ "@wrongstack/core": "0.298.1",
53
+ "@wrongstack/plugins": "0.298.1",
54
+ "@wrongstack/sdd": "0.298.1",
55
+ "@wrongstack/security-scanner": "0.298.1",
56
+ "@wrongstack/simpleui": "0.298.1",
57
+ "@wrongstack/techstack": "0.298.1",
58
+ "@wrongstack/sage": "0.298.1",
59
+ "@wrongstack/telegram": "0.298.1",
60
+ "@wrongstack/webui": "0.298.1",
61
+ "@wrongstack/webui-server": "0.298.1",
62
+ "@wrongstack/tools": "0.298.1",
63
+ "@wrongstack/tui": "0.298.1",
64
+ "@wrongstack/webui-hq": "0.298.1"
64
65
  },
65
66
  "optionalDependencies": {
66
- "@wrongstack/desktop": "0.297.0"
67
+ "@wrongstack/desktop": "0.298.1"
67
68
  },
68
69
  "devDependencies": {
69
- "@types/node": "^26.1.1",
70
+ "@types/node": "^26.1.2",
70
71
  "@types/ws": "^8.18.1",
71
72
  "jsdom": "^29.1.1",
72
73
  "typescript": "^7.0.2"