@wrongstack/cli 0.284.0 → 0.285.0

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 (547) hide show
  1. package/README.md +4 -4
  2. package/data/providers.json +5 -3
  3. package/dist/acp-registry-cache.d.ts +33 -0
  4. package/dist/acp-registry-cache.d.ts.map +1 -0
  5. package/dist/acp-server-agent.d.ts +66 -0
  6. package/dist/acp-server-agent.d.ts.map +1 -0
  7. package/dist/arg-parser.d.ts +41 -0
  8. package/dist/arg-parser.d.ts.map +1 -0
  9. package/dist/auth-menu/add-provider.d.ts +15 -0
  10. package/dist/auth-menu/add-provider.d.ts.map +1 -0
  11. package/dist/auth-menu/anthropic-oauth.d.ts +43 -0
  12. package/dist/auth-menu/anthropic-oauth.d.ts.map +1 -0
  13. package/dist/auth-menu/auth-menu-audit.d.ts +175 -0
  14. package/dist/auth-menu/auth-menu-audit.d.ts.map +1 -0
  15. package/dist/auth-menu/direct.d.ts +15 -0
  16. package/dist/auth-menu/direct.d.ts.map +1 -0
  17. package/dist/auth-menu/github-copilot-oauth.d.ts +73 -0
  18. package/dist/auth-menu/github-copilot-oauth.d.ts.map +1 -0
  19. package/dist/auth-menu/helpers.d.ts +7 -0
  20. package/dist/auth-menu/helpers.d.ts.map +1 -0
  21. package/dist/auth-menu/index.d.ts +8 -0
  22. package/dist/auth-menu/index.d.ts.map +1 -0
  23. package/dist/auth-menu/local-presets.d.ts +36 -0
  24. package/dist/auth-menu/local-presets.d.ts.map +1 -0
  25. package/dist/auth-menu/local.d.ts +138 -0
  26. package/dist/auth-menu/local.d.ts.map +1 -0
  27. package/dist/auth-menu/oauth-menu.d.ts +10 -0
  28. package/dist/auth-menu/oauth-menu.d.ts.map +1 -0
  29. package/dist/auth-menu/openai-codex-oauth.d.ts +167 -0
  30. package/dist/auth-menu/openai-codex-oauth.d.ts.map +1 -0
  31. package/dist/auth-menu/panel-service.d.ts +32 -0
  32. package/dist/auth-menu/panel-service.d.ts.map +1 -0
  33. package/dist/auth-menu/provider-menu.d.ts +7 -0
  34. package/dist/auth-menu/provider-menu.d.ts.map +1 -0
  35. package/dist/auth-menu/shared.d.ts +32 -0
  36. package/dist/auth-menu/shared.d.ts.map +1 -0
  37. package/dist/auth-menu/top-menu.d.ts +11 -0
  38. package/dist/auth-menu/top-menu.d.ts.map +1 -0
  39. package/dist/auth-menu/types.d.ts +42 -0
  40. package/dist/auth-menu/types.d.ts.map +1 -0
  41. package/dist/auth-menu.d.ts +7 -0
  42. package/dist/auth-menu.d.ts.map +1 -0
  43. package/dist/autophase-host.d.ts +103 -0
  44. package/dist/autophase-host.d.ts.map +1 -0
  45. package/dist/boot/auto-discover-providers.d.ts +20 -0
  46. package/dist/boot/auto-discover-providers.d.ts.map +1 -0
  47. package/dist/boot/brain-decision-log.d.ts +38 -0
  48. package/dist/boot/brain-decision-log.d.ts.map +1 -0
  49. package/dist/boot/container-wiring.d.ts +34 -0
  50. package/dist/boot/container-wiring.d.ts.map +1 -0
  51. package/dist/boot/dispatch-singleshot.d.ts +35 -0
  52. package/dist/boot/dispatch-singleshot.d.ts.map +1 -0
  53. package/dist/boot/dispatch-webui.d.ts +82 -0
  54. package/dist/boot/dispatch-webui.d.ts.map +1 -0
  55. package/dist/boot/event-wiring.d.ts +22 -0
  56. package/dist/boot/event-wiring.d.ts.map +1 -0
  57. package/dist/boot/short-circuit-desktop.d.ts +3 -0
  58. package/dist/boot/short-circuit-desktop.d.ts.map +1 -0
  59. package/dist/boot/short-circuit-flags.d.ts +9 -0
  60. package/dist/boot/short-circuit-flags.d.ts.map +1 -0
  61. package/dist/boot/short-circuit-hq.d.ts +16 -0
  62. package/dist/boot/short-circuit-hq.d.ts.map +1 -0
  63. package/dist/boot/system-prompt-builder.d.ts +91 -0
  64. package/dist/boot/system-prompt-builder.d.ts.map +1 -0
  65. package/dist/boot/system-prompt.d.ts +66 -0
  66. package/dist/boot/system-prompt.d.ts.map +1 -0
  67. package/dist/boot/tool-registry.d.ts +42 -0
  68. package/dist/boot/tool-registry.d.ts.map +1 -0
  69. package/dist/boot/tui-autophase-wiring.d.ts +23 -0
  70. package/dist/boot/tui-autophase-wiring.d.ts.map +1 -0
  71. package/dist/boot/tui-coordinator-setup.d.ts +38 -0
  72. package/dist/boot/tui-coordinator-setup.d.ts.map +1 -0
  73. package/dist/boot/tui-debug-stream.d.ts +18 -0
  74. package/dist/boot/tui-debug-stream.d.ts.map +1 -0
  75. package/dist/boot/tui-live-sessions.d.ts +39 -0
  76. package/dist/boot/tui-live-sessions.d.ts.map +1 -0
  77. package/dist/boot/tui-project-picker-callback.d.ts +30 -0
  78. package/dist/boot/tui-project-picker-callback.d.ts.map +1 -0
  79. package/dist/boot/tui-project-spawn.d.ts +19 -0
  80. package/dist/boot/tui-project-spawn.d.ts.map +1 -0
  81. package/dist/boot/tui-project-switch.d.ts +26 -0
  82. package/dist/boot/tui-project-switch.d.ts.map +1 -0
  83. package/dist/boot/tui-runtime-state.d.ts +83 -0
  84. package/dist/boot/tui-runtime-state.d.ts.map +1 -0
  85. package/dist/boot/tui-sdd-callback.d.ts +20 -0
  86. package/dist/boot/tui-sdd-callback.d.ts.map +1 -0
  87. package/dist/boot/tui-session-resume.d.ts +21 -0
  88. package/dist/boot/tui-session-resume.d.ts.map +1 -0
  89. package/dist/boot/tui-settings-adapter.d.ts +23 -0
  90. package/dist/boot/tui-settings-adapter.d.ts.map +1 -0
  91. package/dist/boot-config.d.ts +26 -0
  92. package/dist/boot-config.d.ts.map +1 -0
  93. package/dist/boot.d.ts +30 -0
  94. package/dist/boot.d.ts.map +1 -0
  95. package/dist/cli-bundled-prompts.d.ts +12 -0
  96. package/dist/cli-bundled-prompts.d.ts.map +1 -0
  97. package/dist/cli-bundled-skills.d.ts +13 -0
  98. package/dist/cli-bundled-skills.d.ts.map +1 -0
  99. package/dist/cli-context.d.ts +30 -0
  100. package/dist/cli-context.d.ts.map +1 -0
  101. package/dist/cli-entry-point.d.ts +2 -0
  102. package/dist/cli-entry-point.d.ts.map +1 -0
  103. package/dist/cli-eternal-flag.d.ts +66 -0
  104. package/dist/cli-eternal-flag.d.ts.map +1 -0
  105. package/dist/cli-main.d.ts +13 -0
  106. package/dist/cli-main.d.ts.map +1 -0
  107. package/dist/cli-recovery-prompt.d.ts +19 -0
  108. package/dist/cli-recovery-prompt.d.ts.map +1 -0
  109. package/dist/cli-update-notice.d.ts +3 -0
  110. package/dist/cli-update-notice.d.ts.map +1 -0
  111. package/dist/config-doctor.d.ts +39 -0
  112. package/dist/config-doctor.d.ts.map +1 -0
  113. package/dist/config-history.d.ts +54 -0
  114. package/dist/config-history.d.ts.map +1 -0
  115. package/dist/context-limit.d.ts +51 -0
  116. package/dist/context-limit.d.ts.map +1 -0
  117. package/dist/context-overflow-diagnostic.d.ts +3 -0
  118. package/dist/context-overflow-diagnostic.d.ts.map +1 -0
  119. package/dist/diff-renderer.d.ts +2 -0
  120. package/dist/diff-renderer.d.ts.map +1 -0
  121. package/dist/execute-deps.d.ts +239 -0
  122. package/dist/execute-deps.d.ts.map +1 -0
  123. package/dist/execution.d.ts +99 -0
  124. package/dist/execution.d.ts.map +1 -0
  125. package/dist/first-run-auth-gate.d.ts +18 -0
  126. package/dist/first-run-auth-gate.d.ts.map +1 -0
  127. package/dist/fleet/host.d.ts +533 -0
  128. package/dist/fleet/host.d.ts.map +1 -0
  129. package/dist/fleet/routing.d.ts +8 -0
  130. package/dist/fleet/routing.d.ts.map +1 -0
  131. package/dist/fleet/status-broadcast.d.ts +42 -0
  132. package/dist/fleet/status-broadcast.d.ts.map +1 -0
  133. package/dist/fleet/supervisor-registry.d.ts +16 -0
  134. package/dist/fleet/supervisor-registry.d.ts.map +1 -0
  135. package/dist/fleet-statusline.d.ts +71 -0
  136. package/dist/fleet-statusline.d.ts.map +1 -0
  137. package/dist/hooks-wiring.d.ts +26 -0
  138. package/dist/hooks-wiring.d.ts.map +1 -0
  139. package/dist/hq-command-controller.d.ts +52 -0
  140. package/dist/hq-command-controller.d.ts.map +1 -0
  141. package/dist/hq-dashboard-html.d.ts +2 -0
  142. package/dist/hq-dashboard-html.d.ts.map +1 -0
  143. package/dist/hq-publisher.d.ts +16 -0
  144. package/dist/hq-publisher.d.ts.map +1 -0
  145. package/dist/hq-server.d.ts +56 -0
  146. package/dist/hq-server.d.ts.map +1 -0
  147. package/dist/hq-static-serve.d.ts +26 -0
  148. package/dist/hq-static-serve.d.ts.map +1 -0
  149. package/dist/index.d.ts +3 -5
  150. package/dist/index.d.ts.map +1 -0
  151. package/dist/index.js +6025 -3952
  152. package/dist/index.js.map +7 -1
  153. package/dist/input-reader.d.ts +45 -0
  154. package/dist/input-reader.d.ts.map +1 -0
  155. package/dist/launch-hints.d.ts +46 -0
  156. package/dist/launch-hints.d.ts.map +1 -0
  157. package/dist/mailbox-bridge-bootstrap.d.ts +85 -0
  158. package/dist/mailbox-bridge-bootstrap.d.ts.map +1 -0
  159. package/dist/mcp-serve.d.ts +23 -0
  160. package/dist/mcp-serve.d.ts.map +1 -0
  161. package/dist/multi-agent.d.ts +4 -0
  162. package/dist/multi-agent.d.ts.map +1 -0
  163. package/dist/next-task-predictor.d.ts +45 -0
  164. package/dist/next-task-predictor.d.ts.map +1 -0
  165. package/dist/permission-prompt.d.ts +11 -0
  166. package/dist/permission-prompt.d.ts.map +1 -0
  167. package/dist/picker.d.ts +86 -0
  168. package/dist/picker.d.ts.map +1 -0
  169. package/dist/plugin-api-factory.d.ts +3 -0
  170. package/dist/plugin-api-factory.d.ts.map +1 -0
  171. package/dist/plugin-management.d.ts +43 -0
  172. package/dist/plugin-management.d.ts.map +1 -0
  173. package/dist/pre-launch/indexing-question.d.ts +28 -0
  174. package/dist/pre-launch/indexing-question.d.ts.map +1 -0
  175. package/dist/pre-launch/launch-prompts.d.ts +52 -0
  176. package/dist/pre-launch/launch-prompts.d.ts.map +1 -0
  177. package/dist/pre-launch/project-check.d.ts +25 -0
  178. package/dist/pre-launch/project-check.d.ts.map +1 -0
  179. package/dist/pre-launch.d.ts +4 -0
  180. package/dist/pre-launch.d.ts.map +1 -0
  181. package/dist/preflight.d.ts +58 -0
  182. package/dist/preflight.d.ts.map +1 -0
  183. package/dist/project-picker.d.ts +56 -0
  184. package/dist/project-picker.d.ts.map +1 -0
  185. package/dist/provider-config-utils.d.ts +58 -0
  186. package/dist/provider-config-utils.d.ts.map +1 -0
  187. package/dist/provider-helpers.d.ts +53 -0
  188. package/dist/provider-helpers.d.ts.map +1 -0
  189. package/dist/renderer.d.ts +76 -0
  190. package/dist/renderer.d.ts.map +1 -0
  191. package/dist/repl.d.ts +162 -0
  192. package/dist/repl.d.ts.map +1 -0
  193. package/dist/services/project-facts.d.ts +17 -0
  194. package/dist/services/project-facts.d.ts.map +1 -0
  195. package/dist/session-event-wiring.d.ts +48 -0
  196. package/dist/session-event-wiring.d.ts.map +1 -0
  197. package/dist/session-stats.d.ts +38 -0
  198. package/dist/session-stats.d.ts.map +1 -0
  199. package/dist/settings-menu.d.ts +87 -0
  200. package/dist/settings-menu.d.ts.map +1 -0
  201. package/dist/shutdown-cleanup.d.ts +44 -0
  202. package/dist/shutdown-cleanup.d.ts.map +1 -0
  203. package/dist/slash-commands/acp.d.ts +23 -0
  204. package/dist/slash-commands/acp.d.ts.map +1 -0
  205. package/dist/slash-commands/agents.d.ts +16 -0
  206. package/dist/slash-commands/agents.d.ts.map +1 -0
  207. package/dist/slash-commands/audit.d.ts +11 -0
  208. package/dist/slash-commands/audit.d.ts.map +1 -0
  209. package/dist/slash-commands/auth.d.ts +20 -0
  210. package/dist/slash-commands/auth.d.ts.map +1 -0
  211. package/dist/slash-commands/autonomy.d.ts +5 -0
  212. package/dist/slash-commands/autonomy.d.ts.map +1 -0
  213. package/dist/slash-commands/autophase.d.ts +13 -0
  214. package/dist/slash-commands/autophase.d.ts.map +1 -0
  215. package/dist/slash-commands/brain.d.ts +4 -0
  216. package/dist/slash-commands/brain.d.ts.map +1 -0
  217. package/dist/slash-commands/btw.d.ts +13 -0
  218. package/dist/slash-commands/btw.d.ts.map +1 -0
  219. package/dist/slash-commands/clear.d.ts +4 -0
  220. package/dist/slash-commands/clear.d.ts.map +1 -0
  221. package/dist/slash-commands/codebase-reindex.d.ts +11 -0
  222. package/dist/slash-commands/codebase-reindex.d.ts.map +1 -0
  223. package/dist/slash-commands/collab.d.ts +26 -0
  224. package/dist/slash-commands/collab.d.ts.map +1 -0
  225. package/dist/slash-commands/commit-llm.d.ts +41 -0
  226. package/dist/slash-commands/commit-llm.d.ts.map +1 -0
  227. package/dist/slash-commands/compact.d.ts +4 -0
  228. package/dist/slash-commands/compact.d.ts.map +1 -0
  229. package/dist/slash-commands/context.d.ts +4 -0
  230. package/dist/slash-commands/context.d.ts.map +1 -0
  231. package/dist/slash-commands/coordinator.d.ts +4 -0
  232. package/dist/slash-commands/coordinator.d.ts.map +1 -0
  233. package/dist/slash-commands/delegate.d.ts +17 -0
  234. package/dist/slash-commands/delegate.d.ts.map +1 -0
  235. package/dist/slash-commands/design.d.ts +16 -0
  236. package/dist/slash-commands/design.d.ts.map +1 -0
  237. package/dist/slash-commands/dev.d.ts +9 -0
  238. package/dist/slash-commands/dev.d.ts.map +1 -0
  239. package/dist/slash-commands/diag-stats.d.ts +5 -0
  240. package/dist/slash-commands/diag-stats.d.ts.map +1 -0
  241. package/dist/slash-commands/dispatch-llm.d.ts +12 -0
  242. package/dist/slash-commands/dispatch-llm.d.ts.map +1 -0
  243. package/dist/slash-commands/doctor.d.ts +13 -0
  244. package/dist/slash-commands/doctor.d.ts.map +1 -0
  245. package/dist/slash-commands/enhance.d.ts +13 -0
  246. package/dist/slash-commands/enhance.d.ts.map +1 -0
  247. package/dist/slash-commands/ensemble.d.ts +17 -0
  248. package/dist/slash-commands/ensemble.d.ts.map +1 -0
  249. package/dist/slash-commands/f-keys.d.ts +18 -0
  250. package/dist/slash-commands/f-keys.d.ts.map +1 -0
  251. package/dist/slash-commands/fallback.d.ts +20 -0
  252. package/dist/slash-commands/fallback.d.ts.map +1 -0
  253. package/dist/slash-commands/fix-classifier.d.ts +28 -0
  254. package/dist/slash-commands/fix-classifier.d.ts.map +1 -0
  255. package/dist/slash-commands/fix.d.ts +4 -0
  256. package/dist/slash-commands/fix.d.ts.map +1 -0
  257. package/dist/slash-commands/fleet.d.ts +20 -0
  258. package/dist/slash-commands/fleet.d.ts.map +1 -0
  259. package/dist/slash-commands/gitid.d.ts +22 -0
  260. package/dist/slash-commands/gitid.d.ts.map +1 -0
  261. package/dist/slash-commands/goal-refiner.d.ts +22 -0
  262. package/dist/slash-commands/goal-refiner.d.ts.map +1 -0
  263. package/dist/slash-commands/goal.d.ts +4 -0
  264. package/dist/slash-commands/goal.d.ts.map +1 -0
  265. package/dist/slash-commands/help.d.ts +4 -0
  266. package/dist/slash-commands/help.d.ts.map +1 -0
  267. package/dist/slash-commands/helpers.d.ts +33 -0
  268. package/dist/slash-commands/helpers.d.ts.map +1 -0
  269. package/dist/slash-commands/hq.d.ts +4 -0
  270. package/dist/slash-commands/hq.d.ts.map +1 -0
  271. package/dist/slash-commands/index.d.ts +524 -0
  272. package/dist/slash-commands/index.d.ts.map +1 -0
  273. package/dist/slash-commands/init.d.ts +4 -0
  274. package/dist/slash-commands/init.d.ts.map +1 -0
  275. package/dist/slash-commands/interrupt.d.ts +15 -0
  276. package/dist/slash-commands/interrupt.d.ts.map +1 -0
  277. package/dist/slash-commands/kanban.d.ts +4 -0
  278. package/dist/slash-commands/kanban.d.ts.map +1 -0
  279. package/dist/slash-commands/mailbox-demo.d.ts +19 -0
  280. package/dist/slash-commands/mailbox-demo.d.ts.map +1 -0
  281. package/dist/slash-commands/mailbox-serve.d.ts +20 -0
  282. package/dist/slash-commands/mailbox-serve.d.ts.map +1 -0
  283. package/dist/slash-commands/mailbox.d.ts +28 -0
  284. package/dist/slash-commands/mailbox.d.ts.map +1 -0
  285. package/dist/slash-commands/mcp-utils.d.ts +24 -0
  286. package/dist/slash-commands/mcp-utils.d.ts.map +1 -0
  287. package/dist/slash-commands/mcp.d.ts +19 -0
  288. package/dist/slash-commands/mcp.d.ts.map +1 -0
  289. package/dist/slash-commands/memory.d.ts +4 -0
  290. package/dist/slash-commands/memory.d.ts.map +1 -0
  291. package/dist/slash-commands/mode.d.ts +6 -0
  292. package/dist/slash-commands/mode.d.ts.map +1 -0
  293. package/dist/slash-commands/modelcaps.d.ts +4 -0
  294. package/dist/slash-commands/modelcaps.d.ts.map +1 -0
  295. package/dist/slash-commands/models.d.ts +23 -0
  296. package/dist/slash-commands/models.d.ts.map +1 -0
  297. package/dist/slash-commands/mouse.d.ts +14 -0
  298. package/dist/slash-commands/mouse.d.ts.map +1 -0
  299. package/dist/slash-commands/next.d.ts +21 -0
  300. package/dist/slash-commands/next.d.ts.map +1 -0
  301. package/dist/slash-commands/plugin.d.ts +4 -0
  302. package/dist/slash-commands/plugin.d.ts.map +1 -0
  303. package/dist/slash-commands/project-utils.d.ts +51 -0
  304. package/dist/slash-commands/project-utils.d.ts.map +1 -0
  305. package/dist/slash-commands/project.d.ts +4 -0
  306. package/dist/slash-commands/project.d.ts.map +1 -0
  307. package/dist/slash-commands/prune.d.ts +4 -0
  308. package/dist/slash-commands/prune.d.ts.map +1 -0
  309. package/dist/slash-commands/review.d.ts +4 -0
  310. package/dist/slash-commands/review.d.ts.map +1 -0
  311. package/dist/slash-commands/sdd/project-context.d.ts +7 -0
  312. package/dist/slash-commands/sdd/project-context.d.ts.map +1 -0
  313. package/dist/slash-commands/sdd/rendering.d.ts +2 -0
  314. package/dist/slash-commands/sdd/rendering.d.ts.map +1 -0
  315. package/dist/slash-commands/sdd/spec-detection.d.ts +21 -0
  316. package/dist/slash-commands/sdd/spec-detection.d.ts.map +1 -0
  317. package/dist/slash-commands/sdd/state.d.ts +40 -0
  318. package/dist/slash-commands/sdd/state.d.ts.map +1 -0
  319. package/dist/slash-commands/sdd/task-manager.d.ts +37 -0
  320. package/dist/slash-commands/sdd/task-manager.d.ts.map +1 -0
  321. package/dist/slash-commands/sdd.d.ts +15 -0
  322. package/dist/slash-commands/sdd.d.ts.map +1 -0
  323. package/dist/slash-commands/security.d.ts +4 -0
  324. package/dist/slash-commands/security.d.ts.map +1 -0
  325. package/dist/slash-commands/session.d.ts +7 -0
  326. package/dist/slash-commands/session.d.ts.map +1 -0
  327. package/dist/slash-commands/setmodel.d.ts +20 -0
  328. package/dist/slash-commands/setmodel.d.ts.map +1 -0
  329. package/dist/slash-commands/settings.d.ts +12 -0
  330. package/dist/slash-commands/settings.d.ts.map +1 -0
  331. package/dist/slash-commands/shadow.d.ts +28 -0
  332. package/dist/slash-commands/shadow.d.ts.map +1 -0
  333. package/dist/slash-commands/slash-deep-help.d.ts +51 -0
  334. package/dist/slash-commands/slash-deep-help.d.ts.map +1 -0
  335. package/dist/slash-commands/spawn-agents.d.ts +6 -0
  336. package/dist/slash-commands/spawn-agents.d.ts.map +1 -0
  337. package/dist/slash-commands/statusline.d.ts +67 -0
  338. package/dist/slash-commands/statusline.d.ts.map +1 -0
  339. package/dist/slash-commands/suggest.d.ts +4 -0
  340. package/dist/slash-commands/suggest.d.ts.map +1 -0
  341. package/dist/slash-commands/suggestion-store.d.ts +29 -0
  342. package/dist/slash-commands/suggestion-store.d.ts.map +1 -0
  343. package/dist/slash-commands/supervisor.d.ts +18 -0
  344. package/dist/slash-commands/supervisor.d.ts.map +1 -0
  345. package/dist/slash-commands/surfaces.d.ts +4 -0
  346. package/dist/slash-commands/surfaces.d.ts.map +1 -0
  347. package/dist/slash-commands/tasks.d.ts +4 -0
  348. package/dist/slash-commands/tasks.d.ts.map +1 -0
  349. package/dist/slash-commands/techstack.d.ts +4 -0
  350. package/dist/slash-commands/techstack.d.ts.map +1 -0
  351. package/dist/slash-commands/telegram-settings.d.ts +4 -0
  352. package/dist/slash-commands/telegram-settings.d.ts.map +1 -0
  353. package/dist/slash-commands/telegram-setup.d.ts +11 -0
  354. package/dist/slash-commands/telegram-setup.d.ts.map +1 -0
  355. package/dist/slash-commands/todos.d.ts +4 -0
  356. package/dist/slash-commands/todos.d.ts.map +1 -0
  357. package/dist/slash-commands/tool.d.ts +4 -0
  358. package/dist/slash-commands/tool.d.ts.map +1 -0
  359. package/dist/slash-commands/tools.d.ts +4 -0
  360. package/dist/slash-commands/tools.d.ts.map +1 -0
  361. package/dist/slash-commands/tuneup.d.ts +15 -0
  362. package/dist/slash-commands/tuneup.d.ts.map +1 -0
  363. package/dist/slash-commands/working-dir.d.ts +14 -0
  364. package/dist/slash-commands/working-dir.d.ts.map +1 -0
  365. package/dist/slash-commands/worktree.d.ts +8 -0
  366. package/dist/slash-commands/worktree.d.ts.map +1 -0
  367. package/dist/slash-commands/yolo.d.ts +4 -0
  368. package/dist/slash-commands/yolo.d.ts.map +1 -0
  369. package/dist/spinner.d.ts +44 -0
  370. package/dist/spinner.d.ts.map +1 -0
  371. package/dist/subcommands/handlers/acp.d.ts +15 -0
  372. package/dist/subcommands/handlers/acp.d.ts.map +1 -0
  373. package/dist/subcommands/handlers/audit.d.ts +12 -0
  374. package/dist/subcommands/handlers/audit.d.ts.map +1 -0
  375. package/dist/subcommands/handlers/auth-local-help.d.ts +69 -0
  376. package/dist/subcommands/handlers/auth-local-help.d.ts.map +1 -0
  377. package/dist/subcommands/handlers/auth.d.ts +3 -0
  378. package/dist/subcommands/handlers/auth.d.ts.map +1 -0
  379. package/dist/subcommands/handlers/bench-run-help.d.ts +145 -0
  380. package/dist/subcommands/handlers/bench-run-help.d.ts.map +1 -0
  381. package/dist/subcommands/handlers/bench.d.ts +13 -0
  382. package/dist/subcommands/handlers/bench.d.ts.map +1 -0
  383. package/dist/subcommands/handlers/config-history.d.ts +10 -0
  384. package/dist/subcommands/handlers/config-history.d.ts.map +1 -0
  385. package/dist/subcommands/handlers/diag-doctor.d.ts +4 -0
  386. package/dist/subcommands/handlers/diag-doctor.d.ts.map +1 -0
  387. package/dist/subcommands/handlers/export.d.ts +3 -0
  388. package/dist/subcommands/handlers/export.d.ts.map +1 -0
  389. package/dist/subcommands/handlers/helpers.d.ts +2 -0
  390. package/dist/subcommands/handlers/helpers.d.ts.map +1 -0
  391. package/dist/subcommands/handlers/hq.d.ts +3 -0
  392. package/dist/subcommands/handlers/hq.d.ts.map +1 -0
  393. package/dist/subcommands/handlers/init.d.ts +7 -0
  394. package/dist/subcommands/handlers/init.d.ts.map +1 -0
  395. package/dist/subcommands/handlers/mailbox-serve.d.ts +3 -0
  396. package/dist/subcommands/handlers/mailbox-serve.d.ts.map +1 -0
  397. package/dist/subcommands/handlers/mcp.d.ts +3 -0
  398. package/dist/subcommands/handlers/mcp.d.ts.map +1 -0
  399. package/dist/subcommands/handlers/modeldiag.d.ts +3 -0
  400. package/dist/subcommands/handlers/modeldiag.d.ts.map +1 -0
  401. package/dist/subcommands/handlers/models-add-help.d.ts +142 -0
  402. package/dist/subcommands/handlers/models-add-help.d.ts.map +1 -0
  403. package/dist/subcommands/handlers/per-subcommand-help.d.ts +136 -0
  404. package/dist/subcommands/handlers/per-subcommand-help.d.ts.map +1 -0
  405. package/dist/subcommands/handlers/plugin-usage.d.ts +4 -0
  406. package/dist/subcommands/handlers/plugin-usage.d.ts.map +1 -0
  407. package/dist/subcommands/handlers/projects.d.ts +3 -0
  408. package/dist/subcommands/handlers/projects.d.ts.map +1 -0
  409. package/dist/subcommands/handlers/providers-models.d.ts +4 -0
  410. package/dist/subcommands/handlers/providers-models.d.ts.map +1 -0
  411. package/dist/subcommands/handlers/quick.d.ts +14 -0
  412. package/dist/subcommands/handlers/quick.d.ts.map +1 -0
  413. package/dist/subcommands/handlers/replay.d.ts +12 -0
  414. package/dist/subcommands/handlers/replay.d.ts.map +1 -0
  415. package/dist/subcommands/handlers/rewind.d.ts +3 -0
  416. package/dist/subcommands/handlers/rewind.d.ts.map +1 -0
  417. package/dist/subcommands/handlers/sessions-config.d.ts +4 -0
  418. package/dist/subcommands/handlers/sessions-config.d.ts.map +1 -0
  419. package/dist/subcommands/handlers/sessions-fleet.d.ts +15 -0
  420. package/dist/subcommands/handlers/sessions-fleet.d.ts.map +1 -0
  421. package/dist/subcommands/handlers/tools-skills.d.ts +4 -0
  422. package/dist/subcommands/handlers/tools-skills.d.ts.map +1 -0
  423. package/dist/subcommands/handlers/update.d.ts +7 -0
  424. package/dist/subcommands/handlers/update.d.ts.map +1 -0
  425. package/dist/subcommands/handlers/version-help.d.ts +4 -0
  426. package/dist/subcommands/handlers/version-help.d.ts.map +1 -0
  427. package/dist/subcommands/index.d.ts +26 -0
  428. package/dist/subcommands/index.d.ts.map +1 -0
  429. package/dist/theme.d.ts +12 -0
  430. package/dist/theme.d.ts.map +1 -0
  431. package/dist/tui-thinking-word.d.ts +5 -0
  432. package/dist/tui-thinking-word.d.ts.map +1 -0
  433. package/dist/tuneup.d.ts +162 -0
  434. package/dist/tuneup.d.ts.map +1 -0
  435. package/dist/update-check.d.ts +22 -0
  436. package/dist/update-check.d.ts.map +1 -0
  437. package/dist/utils/delay-format.d.ts +5 -0
  438. package/dist/utils/delay-format.d.ts.map +1 -0
  439. package/dist/utils/win32-cmd.d.ts +7 -0
  440. package/dist/utils/win32-cmd.d.ts.map +1 -0
  441. package/dist/utils.d.ts +58 -0
  442. package/dist/utils.d.ts.map +1 -0
  443. package/dist/version.d.ts +4 -0
  444. package/dist/version.d.ts.map +1 -0
  445. package/dist/webui-server/client-registration.d.ts +41 -0
  446. package/dist/webui-server/client-registration.d.ts.map +1 -0
  447. package/dist/webui-server/connection-handler.d.ts +59 -0
  448. package/dist/webui-server/connection-handler.d.ts.map +1 -0
  449. package/dist/webui-server/context-breakdown.d.ts +57 -0
  450. package/dist/webui-server/context-breakdown.d.ts.map +1 -0
  451. package/dist/webui-server/cost-helpers.d.ts +29 -0
  452. package/dist/webui-server/cost-helpers.d.ts.map +1 -0
  453. package/dist/webui-server/lifecycle.d.ts +108 -0
  454. package/dist/webui-server/lifecycle.d.ts.map +1 -0
  455. package/dist/webui-server/logger-shim.d.ts +10 -0
  456. package/dist/webui-server/logger-shim.d.ts.map +1 -0
  457. package/dist/webui-server/message-router.d.ts +39 -0
  458. package/dist/webui-server/message-router.d.ts.map +1 -0
  459. package/dist/webui-server/prefs-seeding.d.ts +57 -0
  460. package/dist/webui-server/prefs-seeding.d.ts.map +1 -0
  461. package/dist/webui-server/provider-config.d.ts +61 -0
  462. package/dist/webui-server/provider-config.d.ts.map +1 -0
  463. package/dist/webui-server/session-start-payload.d.ts +20 -0
  464. package/dist/webui-server/session-start-payload.d.ts.map +1 -0
  465. package/dist/webui-server/session-status-poll.d.ts +14 -0
  466. package/dist/webui-server/session-status-poll.d.ts.map +1 -0
  467. package/dist/webui-server/setup-events.d.ts +45 -0
  468. package/dist/webui-server/setup-events.d.ts.map +1 -0
  469. package/dist/webui-server/static-serve.d.ts +70 -0
  470. package/dist/webui-server/static-serve.d.ts.map +1 -0
  471. package/dist/webui-server/stream-coalescer.d.ts +41 -0
  472. package/dist/webui-server/stream-coalescer.d.ts.map +1 -0
  473. package/dist/webui-server/ws-handlers/agent-config.d.ts +47 -0
  474. package/dist/webui-server/ws-handlers/agent-config.d.ts.map +1 -0
  475. package/dist/webui-server/ws-handlers/brain.d.ts +36 -0
  476. package/dist/webui-server/ws-handlers/brain.d.ts.map +1 -0
  477. package/dist/webui-server/ws-handlers/connection.d.ts +50 -0
  478. package/dist/webui-server/ws-handlers/connection.d.ts.map +1 -0
  479. package/dist/webui-server/ws-handlers/context.d.ts +55 -0
  480. package/dist/webui-server/ws-handlers/context.d.ts.map +1 -0
  481. package/dist/webui-server/ws-handlers/index.d.ts +60 -0
  482. package/dist/webui-server/ws-handlers/index.d.ts.map +1 -0
  483. package/dist/webui-server/ws-handlers/introspection.d.ts +35 -0
  484. package/dist/webui-server/ws-handlers/introspection.d.ts.map +1 -0
  485. package/dist/webui-server/ws-handlers/kanban.d.ts +41 -0
  486. package/dist/webui-server/ws-handlers/kanban.d.ts.map +1 -0
  487. package/dist/webui-server/ws-handlers/mailbox.d.ts +51 -0
  488. package/dist/webui-server/ws-handlers/mailbox.d.ts.map +1 -0
  489. package/dist/webui-server/ws-handlers/oauth.d.ts +16 -0
  490. package/dist/webui-server/ws-handlers/oauth.d.ts.map +1 -0
  491. package/dist/webui-server/ws-handlers/prefs.d.ts +32 -0
  492. package/dist/webui-server/ws-handlers/prefs.d.ts.map +1 -0
  493. package/dist/webui-server/ws-handlers/process.d.ts +6 -0
  494. package/dist/webui-server/ws-handlers/process.d.ts.map +1 -0
  495. package/dist/webui-server/ws-handlers/projects.d.ts +44 -0
  496. package/dist/webui-server/ws-handlers/projects.d.ts.map +1 -0
  497. package/dist/webui-server/ws-handlers/providers.d.ts +36 -0
  498. package/dist/webui-server/ws-handlers/providers.d.ts.map +1 -0
  499. package/dist/webui-server/ws-handlers/sessions.d.ts +38 -0
  500. package/dist/webui-server/ws-handlers/sessions.d.ts.map +1 -0
  501. package/dist/webui-server/ws-handlers/worklist.d.ts +49 -0
  502. package/dist/webui-server/ws-handlers/worklist.d.ts.map +1 -0
  503. package/dist/webui-server.d.ts +160 -0
  504. package/dist/webui-server.d.ts.map +1 -0
  505. package/dist/wiring/brain-and-orchestration.d.ts +63 -0
  506. package/dist/wiring/brain-and-orchestration.d.ts.map +1 -0
  507. package/dist/wiring/codebase-index.d.ts +33 -0
  508. package/dist/wiring/codebase-index.d.ts.map +1 -0
  509. package/dist/wiring/controllers.d.ts +46 -0
  510. package/dist/wiring/controllers.d.ts.map +1 -0
  511. package/dist/wiring/dep-watcher.d.ts +23 -0
  512. package/dist/wiring/dep-watcher.d.ts.map +1 -0
  513. package/dist/wiring/design-studio.d.ts +17 -0
  514. package/dist/wiring/design-studio.d.ts.map +1 -0
  515. package/dist/wiring/director-setup.d.ts +51 -0
  516. package/dist/wiring/director-setup.d.ts.map +1 -0
  517. package/dist/wiring/hq-telemetry.d.ts +42 -0
  518. package/dist/wiring/hq-telemetry.d.ts.map +1 -0
  519. package/dist/wiring/lifecycle-plugins.d.ts +58 -0
  520. package/dist/wiring/lifecycle-plugins.d.ts.map +1 -0
  521. package/dist/wiring/mailbox-bridge-bootstrap.d.ts +53 -0
  522. package/dist/wiring/mailbox-bridge-bootstrap.d.ts.map +1 -0
  523. package/dist/wiring/metrics.d.ts +21 -0
  524. package/dist/wiring/metrics.d.ts.map +1 -0
  525. package/dist/wiring/pipeline.d.ts +96 -0
  526. package/dist/wiring/pipeline.d.ts.map +1 -0
  527. package/dist/wiring/plugins.d.ts +108 -0
  528. package/dist/wiring/plugins.d.ts.map +1 -0
  529. package/dist/wiring/provider-runtime-setup.d.ts +47 -0
  530. package/dist/wiring/provider-runtime-setup.d.ts.map +1 -0
  531. package/dist/wiring/provider-runtime.d.ts +57 -0
  532. package/dist/wiring/provider-runtime.d.ts.map +1 -0
  533. package/dist/wiring/provider.d.ts +13 -0
  534. package/dist/wiring/provider.d.ts.map +1 -0
  535. package/dist/wiring/replay.d.ts +32 -0
  536. package/dist/wiring/replay.d.ts.map +1 -0
  537. package/dist/wiring/session.d.ts +56 -0
  538. package/dist/wiring/session.d.ts.map +1 -0
  539. package/dist/wiring/slash-commands.d.ts +74 -0
  540. package/dist/wiring/slash-commands.d.ts.map +1 -0
  541. package/dist/wiring/super-memory.d.ts +9 -0
  542. package/dist/wiring/super-memory.d.ts.map +1 -0
  543. package/dist/wiring/to-execute-deps.d.ts +11 -0
  544. package/dist/wiring/to-execute-deps.d.ts.map +1 -0
  545. package/dist/wiring/tools.d.ts +41 -0
  546. package/dist/wiring/tools.d.ts.map +1 -0
  547. package/package.json +20 -20
@@ -0,0 +1,160 @@
1
+ import type { Agent, BrainArbiter, BrainAutoRisk, EventBus, MemoryStore, ModelsRegistry, ModeStore, PromptLoader, SessionStore, SessionWriter, SkillLoader } from '@wrongstack/core';
2
+ import type { MCPRegistry } from '@wrongstack/mcp';
3
+ export interface WSServerMessage {
4
+ type: string;
5
+ payload: unknown;
6
+ }
7
+ export interface WSClientMessage {
8
+ type: string;
9
+ payload?: unknown | undefined;
10
+ }
11
+ /**
12
+ * CLI-shaped webui options. Distinct from the standalone
13
+ * `WebUIOptions` exported by `@wrongstack/webui/server` (which is the
14
+ * type `startWebUI` accepts): the CLI builds its own agent/events/
15
+ * session/etc. up front because the same instances power the
16
+ * eternal-autonomy loop, and just hands the webui the surfaces it
17
+ * needs. This type used to be called `WebUIOptions` too, which
18
+ * caused a name collision with the standalone one whenever both
19
+ * were imported into the same module (the CLI here imports from
20
+ * `@wrongstack/webui/server` for shared helpers, so the collision
21
+ * was a real source of confusion when reading this file).
22
+ */
23
+ export interface CliWebUIOptions {
24
+ agent: Agent;
25
+ events: EventBus;
26
+ session: SessionWriter;
27
+ /** WebSocket backend port. Defaults to 3457 (auto-advances if taken). */
28
+ port?: number | undefined;
29
+ /** Host/interface to bind HTTP and WS servers. Defaults to 127.0.0.1. */
30
+ host?: string | undefined;
31
+ /** HTTP port serving the React frontend. Defaults to 3456 (auto-advances). */
32
+ httpPort?: number | undefined;
33
+ /** Fixed access token/password. Defaults to WEBUI_TOKEN or random per process. */
34
+ accessToken?: string | undefined;
35
+ /** Browser-facing HTTP URL, used when WebUI is exposed behind a tunnel/proxy. */
36
+ publicUrl?: string | undefined;
37
+ /** Browser-facing WebSocket URL injected into the frontend. */
38
+ publicWsUrl?: string | undefined;
39
+ /** Force token/password protection even on loopback binds. */
40
+ requireToken?: boolean | undefined;
41
+ /** Project root — recorded in the running-instance registry. */
42
+ projectRoot?: string | undefined;
43
+ /** Full app config, used for HQ client publishing settings. */
44
+ appConfig?: import('@wrongstack/core').Config | undefined;
45
+ /** Pop the browser open to the served URL once the frontend is ready. */
46
+ open?: boolean | undefined;
47
+ /**
48
+ * Fired once the WebSocket server is accepting connections. Useful for
49
+ * callers (and tests) that must not connect before the server is ready —
50
+ * port resolution now makes startup asynchronous, so a synchronous bind can
51
+ * no longer be assumed.
52
+ */
53
+ onListening?: (info: {
54
+ httpPort: number;
55
+ wsPort: number;
56
+ host: string;
57
+ url: string;
58
+ }) => void;
59
+ modelsRegistry?: ModelsRegistry | undefined;
60
+ globalConfigPath?: string | undefined;
61
+ /**
62
+ * Live MCP registry — the SAME instance the agent loop and `/mcp` use. When
63
+ * provided, the WebUI MCP settings panel can add/remove/enable/disable and
64
+ * actually start/stop servers (not just edit config). Threaded in from the
65
+ * CLI host (`execution.ts`), where the registry is constructed.
66
+ */
67
+ mcpRegistry?: MCPRegistry | undefined;
68
+ /**
69
+ * Subscribe to live per-iteration events from the eternal-autonomy
70
+ * engine. When provided, the WebUI broadcasts each iteration to every
71
+ * connected client. Observability-only — starting the loop still goes
72
+ * through REPL/TUI or the `--eternal` flag (the WebUI has no slash
73
+ * command dispatch surface yet).
74
+ */
75
+ subscribeEternalIteration?: ((fn: (entry: import('@wrongstack/core').JournalEntry) => void) => () => void) | undefined;
76
+ /** Callback to invoke when the WebUI is shut down by a client request. */
77
+ onExit?: (() => void) | undefined;
78
+ /**
79
+ * When true, HQ `run-command` control commands are allowed to route to
80
+ * this WebUI's agent (still delivered as a steer, so the agent's own
81
+ * permission policy applies). Mirrors the CLI's `--hq-allow-exec`. Off by
82
+ * default — without it, HQ run-command is rejected.
83
+ */
84
+ hqAllowExec?: boolean | undefined;
85
+ /**
86
+ * Per-task agent factory (the host's director-backed `makeSubagentFactory`).
87
+ * When present, the WebUI exposes the "New SDD Project" wizard, which runs the
88
+ * same multi-agent fleet as `/sdd execute`. Omitted → wizard is unavailable.
89
+ */
90
+ sddSubagentFactory?: import('@wrongstack/core').AgentFactory | undefined;
91
+ /** Session store — enables session.resume and session.delete from the WebUI. */
92
+ sessionStore?: SessionStore | undefined;
93
+ /** Host Brain arbiter (same instance bound at TOKENS.BrainArbiter). */
94
+ brain?: BrainArbiter | undefined;
95
+ /** Host brain settings — the SAME object /brain mutates (shared ceiling). */
96
+ brainSettings?: {
97
+ maxAutoRisk: BrainAutoRisk;
98
+ } | undefined;
99
+ /** Read the host's rolling brain decision log (newest last, ≤20 entries). */
100
+ getBrainLog?: (() => Array<{
101
+ at: number;
102
+ kind: string;
103
+ question: string;
104
+ outcome: string;
105
+ }>) | undefined;
106
+ /**
107
+ * Absolute path to the project's sessions directory (wpaths.projectSessions).
108
+ * Used by checkpoint/rewind handlers to locate session JSONL files. When
109
+ * absent, falls back to the legacy <projectRoot>/.wrongstack/sessions path.
110
+ */
111
+ sessionsDir?: string | undefined;
112
+ /**
113
+ * Called after session.resume swaps the active writer, with the new session
114
+ * id. The host uses this to re-point crash-recovery state (active.json) at
115
+ * the session that is now actually being written.
116
+ */
117
+ onSessionSwapped?: ((newSessionId: string) => void) | undefined;
118
+ /** Memory store — enables the MemoryPanel (memory.list, memory.remember, memory.forget). */
119
+ memoryStore?: MemoryStore | undefined;
120
+ /** Skill loader — enables the SkillsPanel (skills.list). */
121
+ skillLoader?: SkillLoader | undefined;
122
+ /** Prompt loader — enables the prompt library (prompts.list/search/content/favorite/create). */
123
+ promptLoader?: PromptLoader | undefined;
124
+ /** Mode store — enables the ModePicker (modes.list, mode.switch). */
125
+ modeStore?: ModeStore | undefined;
126
+ /** Active agent mode id passed to the frontend via session.start. */
127
+ modeId?: string | undefined;
128
+ /**
129
+ * Host callback invoked after model.switch resolves the active model's
130
+ * context window. The CLI uses this to refresh the shared auto-compactor
131
+ * denominator and context chip state.
132
+ */
133
+ onModelContextResolved?: ((providerId: string, modelId: string, maxContext: number) => void) | undefined;
134
+ /** When true, the frontend shows a provider/model setup screen instead of the chat. */
135
+ needsSetup?: boolean | undefined;
136
+ /**
137
+ * Forward `autonomy.switch` to the CLI's real autonomy state (the same
138
+ * setter the TUI/REPL use). Without it the switch only lands in
139
+ * context.meta and the running loop never changes mode.
140
+ */
141
+ onAutonomySwitch?: ((mode: string) => void) | undefined;
142
+ /** Forward browser YOLO changes to the host's live permission policy. */
143
+ onYoloSwitch?: ((enabled: boolean) => void) | undefined;
144
+ /** Optional kanban task dispatch hook, backed by the CLI multi-agent host. */
145
+ onKanbanDispatch?: ((description: string, opts?: {
146
+ provider?: string | undefined;
147
+ model?: string | undefined;
148
+ fallbackModels?: string[] | undefined;
149
+ tools?: string[] | undefined;
150
+ name?: string | undefined;
151
+ allowedCapabilities?: readonly string[] | undefined;
152
+ onDone?: ((result: {
153
+ status: 'completed' | 'failed';
154
+ result?: string | undefined;
155
+ error?: string | undefined;
156
+ }) => void | Promise<void>) | undefined;
157
+ }) => Promise<string>) | undefined;
158
+ }
159
+ export declare function runWebUI(opts: CliWebUIOptions): Promise<void>;
160
+ //# sourceMappingURL=webui-server.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webui-server.d.ts","sourceRoot":"","sources":["../src/webui-server.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,63 @@
1
+ import { type BrainAutoRisk, BrainDecisionQueue, type Config, ObservableBrainArbiter, type Provider, type SessionWriter, type ToolRegistry } from '@wrongstack/core';
2
+ import { MultiAgentHost } from '../multi-agent.js';
3
+ type AnyObj = any;
4
+ export interface BrainOrchestrationDeps {
5
+ events: AnyObj;
6
+ config: Config;
7
+ container: AnyObj;
8
+ provider: Provider;
9
+ session: SessionWriter;
10
+ context: AnyObj;
11
+ toolRegistry: ToolRegistry;
12
+ providerRegistry: AnyObj;
13
+ configStore: AnyObj;
14
+ modelsRegistry: AnyObj;
15
+ promptBuilder: AnyObj;
16
+ tokenCounter: AnyObj;
17
+ projectRoot: string;
18
+ cwd: string;
19
+ wpaths: AnyObj;
20
+ teardownHandlers: (() => void)[];
21
+ mailboxSessionTag: (id: string) => string;
22
+ brainMailbox: AnyObj;
23
+ agentMonitor: AnyObj;
24
+ directorMode: boolean;
25
+ manifestPath: string | undefined;
26
+ sharedScratchpadPath: string | undefined;
27
+ subagentSessionsRoot: string | undefined;
28
+ stateCheckpointPath: string | undefined;
29
+ fleetRootForPromotion: string;
30
+ maxConcurrent: number | undefined;
31
+ effectiveMaxContextRef: {
32
+ current: number;
33
+ };
34
+ mcpRegistry: AnyObj;
35
+ sessResult: AnyObj;
36
+ }
37
+ export interface BrainOrchestrationResult {
38
+ brain: ObservableBrainArbiter;
39
+ brainLog: AnyObj[];
40
+ brainSettings: {
41
+ maxAutoRisk: BrainAutoRisk;
42
+ };
43
+ brainQueue: BrainDecisionQueue;
44
+ multiAgentHost: MultiAgentHost;
45
+ shadowController: AnyObj;
46
+ shadowDefaults: {
47
+ intervalMs?: number;
48
+ provider?: string;
49
+ model?: string;
50
+ };
51
+ }
52
+ /**
53
+ * Wire the global Brain chain (policy → LLM → human), BrainMonitor,
54
+ * shadow controller, MultiAgentHost (subagent orchestration), and
55
+ * delegate/mcp_control/mcp_use tool registration.
56
+ *
57
+ * The HQ telemetry bridges (setupHqTelemetry) are called separately
58
+ * between brain chain setup and brain monitor creation in cli-main.ts,
59
+ * which is why this function has two logical halves stitched together.
60
+ */
61
+ export declare function setupBrainAndOrchestration(deps: BrainOrchestrationDeps): BrainOrchestrationResult;
62
+ export {};
63
+ //# sourceMappingURL=brain-and-orchestration.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"brain-and-orchestration.d.ts","sourceRoot":"","sources":["../../src/wiring/brain-and-orchestration.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,aAAa,EAClB,kBAAkB,EAElB,KAAK,MAAM,EASX,sBAAsB,EACtB,KAAK,QAAQ,EACb,KAAK,aAAa,EAElB,KAAK,YAAY,EAClB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAQnD,KAAK,MAAM,GAAG,GAAG,CAAC;AAElB,MAAM,WAAW,sBAAsB;IACrC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,QAAQ,CAAC;IACnB,OAAO,EAAE,aAAa,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,YAAY,CAAC;IAC3B,gBAAgB,EAAE,MAAM,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,MAAM,CAAC;IACf,gBAAgB,EAAE,CAAC,MAAM,IAAI,CAAC,EAAE,CAAC;IACjC,iBAAiB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,MAAM,CAAC;IAC1C,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,OAAO,CAAC;IACtB,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,oBAAoB,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,oBAAoB,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,mBAAmB,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,qBAAqB,EAAE,MAAM,CAAC;IAC9B,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,sBAAsB,EAAE;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;IAC5C,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,sBAAsB,CAAC;IAC9B,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,aAAa,EAAE;QAAE,WAAW,EAAE,aAAa,CAAA;KAAE,CAAC;IAC9C,UAAU,EAAE,kBAAkB,CAAC;IAC/B,cAAc,EAAE,cAAc,CAAC;IAC/B,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE;QAAE,UAAU,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAC5E;AAED;;;;;;;;GAQG;AACH,wBAAgB,0BAA0B,CACxC,IAAI,EAAE,sBAAsB,GAC3B,wBAAwB,CAiM1B"}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Automatic codebase-index wiring.
3
+ *
4
+ * Keeps the `codebase-search` symbol index fresh without the user ever calling
5
+ * `codebase-index` by hand. Three behaviors, each gated by `config.indexing`:
6
+ *
7
+ * 1. onSessionStart — a blocking incremental index at boot, with a visible
8
+ * one-line summary (the "show").
9
+ * 2. onEdit — a `toolCall` middleware that reindexes files the agent
10
+ * writes/edits via tools, in the background (debounced).
11
+ * 3. watchExternal — an `fs.watch` on the project root that reindexes files
12
+ * changed outside the agent (e.g. the user's editor).
13
+ *
14
+ * All three funnel through `@wrongstack/tools`' background indexer, which
15
+ * serializes every run on one mutex (the SQLite writer is synchronous, so
16
+ * concurrent runs would risk `SQLITE_BUSY`) and debounces per file.
17
+ */
18
+ import type { AgentPipelines, Context, IndexingConfig, Logger } from '@wrongstack/core';
19
+ export interface CodebaseIndexingDeps {
20
+ config: {
21
+ indexing?: IndexingConfig | undefined;
22
+ };
23
+ context: Context;
24
+ pipelines: AgentPipelines;
25
+ projectRoot: string;
26
+ logger: Logger;
27
+ }
28
+ /**
29
+ * Wire up automatic indexing. Returns a `dispose()` that stops the watcher and
30
+ * cancels pending reindexes — call it on process teardown.
31
+ */
32
+ export declare function setupCodebaseIndexing(deps: CodebaseIndexingDeps): Promise<() => void>;
33
+ //# sourceMappingURL=codebase-index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"codebase-index.d.ts","sourceRoot":"","sources":["../../src/wiring/codebase-index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAIH,OAAO,KAAK,EACV,cAAc,EACd,OAAO,EACP,cAAc,EACd,MAAM,EAEP,MAAM,kBAAkB,CAAC;AA6B1B,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE;QAAE,QAAQ,CAAC,EAAE,cAAc,GAAG,SAAS,CAAA;KAAE,CAAC;IAClD,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,cAAc,CAAC;IAC1B,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED;;;GAGG;AACH,wBAAsB,qBAAqB,CAAC,IAAI,EAAE,oBAAoB,GAAG,OAAO,CAAC,MAAM,IAAI,CAAC,CAkG3F"}
@@ -0,0 +1,46 @@
1
+ /**
2
+ * wiring/controllers — Factory functions for shared mutable controller objects.
3
+ *
4
+ * Extracted from cli-main.ts so each controller is testable in isolation
5
+ * and the wiring phase in main() doesn't need to inline them.
6
+ *
7
+ * Step 2 of the cli-main/ExecutionDeps refactor plan:
8
+ * docs/plans/cli-main-executiondeps-refactor.md
9
+ */
10
+ import type { Config } from '@wrongstack/core';
11
+ import type { StatuslineConfigKey } from '../slash-commands/statusline.js';
12
+ import { type StatuslineConfig } from '../slash-commands/statusline.js';
13
+ export interface FleetStreamController {
14
+ enabled: boolean;
15
+ setEnabled(enabled: boolean): void;
16
+ }
17
+ export declare function createFleetStreamController(): FleetStreamController;
18
+ export interface InterruptController {
19
+ abortLeader: () => boolean;
20
+ }
21
+ export declare function createInterruptController(): InterruptController;
22
+ export interface EnhanceController {
23
+ enabled: boolean;
24
+ setEnabled(enabled: boolean): void;
25
+ }
26
+ export declare function createEnhanceController(config: Config): EnhanceController;
27
+ export interface AgentsMonitorController {
28
+ visible: boolean;
29
+ setVisible(visible: boolean): void;
30
+ }
31
+ export declare function createAgentsMonitorController(): AgentsMonitorController;
32
+ export interface StatuslineConfigDeps {
33
+ get: () => Promise<StatuslineConfig>;
34
+ set: (cfg: StatuslineConfig) => Promise<void>;
35
+ }
36
+ export declare function createStatuslineConfigDeps(): StatuslineConfigDeps;
37
+ /**
38
+ * Load statusline hidden items from config. Returns the items list and
39
+ * mutation helpers that keep memory and disk in sync.
40
+ */
41
+ export declare function loadStatuslineHiddenItems(): Promise<{
42
+ hiddenItems: StatuslineConfigKey[];
43
+ setHiddenItems: (items: StatuslineConfigKey[]) => void;
44
+ saveHiddenItems: (items: StatuslineConfigKey[]) => Promise<void>;
45
+ }>;
46
+ //# sourceMappingURL=controllers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"controllers.d.ts","sourceRoot":"","sources":["../../src/wiring/controllers.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAC3E,OAAO,EAML,KAAK,gBAAgB,EACtB,MAAM,iCAAiC,CAAC;AAIzC,MAAM,WAAW,qBAAqB;IACpC,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;CACpC;AAED,wBAAgB,2BAA2B,IAAI,qBAAqB,CAOnE;AAID,MAAM,WAAW,mBAAmB;IAClC,WAAW,EAAE,MAAM,OAAO,CAAC;CAC5B;AAED,wBAAgB,yBAAyB,IAAI,mBAAmB,CAI/D;AAID,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;CACpC;AAED,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,MAAM,GAAG,iBAAiB,CAQzE;AAID,MAAM,WAAW,uBAAuB;IACtC,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;CACpC;AAED,wBAAgB,6BAA6B,IAAI,uBAAuB,CAOvE;AAID,MAAM,WAAW,oBAAoB;IACnC,GAAG,EAAE,MAAM,OAAO,CAAC,gBAAgB,CAAC,CAAC;IACrC,GAAG,EAAE,CAAC,GAAG,EAAE,gBAAgB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAC/C;AAED,wBAAgB,0BAA0B,IAAI,oBAAoB,CAKjE;AAED;;;GAGG;AACH,wBAAsB,yBAAyB,IAAI,OAAO,CAAC;IACzD,WAAW,EAAE,mBAAmB,EAAE,CAAC;IACnC,cAAc,EAAE,CAAC,KAAK,EAAE,mBAAmB,EAAE,KAAK,IAAI,CAAC;IACvD,eAAe,EAAE,CAAC,KAAK,EAAE,mBAAmB,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAClE,CAAC,CAkBD"}
@@ -0,0 +1,23 @@
1
+ import { type EventBus } from '@wrongstack/core';
2
+ import type { DefaultLogger } from '@wrongstack/core';
3
+ import type { MultiAgentHost } from '../multi-agent.js';
4
+ export interface SetupDepWatcherConsumersDeps {
5
+ dwCfg: Record<string, unknown> | undefined;
6
+ globalRoot: string;
7
+ projectSlug: string;
8
+ events: EventBus;
9
+ multiAgentHost: MultiAgentHost;
10
+ sessionId: string;
11
+ logger: DefaultLogger;
12
+ teardownHandlers: (() => void)[];
13
+ projectRoot: string;
14
+ }
15
+ /**
16
+ * Wire the tech-stack mailbox consumer and the package-outdated watcher.
17
+ * Both are gated on `dwCfg?.enabled` (the file-watcher plugin's depWatcher
18
+ * config). When enabled, the tech-stack consumer polls for dep-watcher
19
+ * messages and spawns a subagent; the package-outdated watcher notifies
20
+ * original authors when their added packages become outdated.
21
+ */
22
+ export declare function setupDepWatcherConsumers(deps: SetupDepWatcherConsumersDeps): void;
23
+ //# sourceMappingURL=dep-watcher.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dep-watcher.d.ts","sourceRoot":"","sources":["../../src/wiring/dep-watcher.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,QAAQ,EAMd,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,MAAM,WAAW,4BAA4B;IAC3C,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAAC;IAC3C,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,QAAQ,CAAC;IACjB,cAAc,EAAE,cAAc,CAAC;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,aAAa,CAAC;IACtB,gBAAgB,EAAE,CAAC,MAAM,IAAI,CAAC,EAAE,CAAC;IACjC,WAAW,EAAE,MAAM,CAAC;CACrB;AAED;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,4BAA4B,GAAG,IAAI,CAqFjF"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Design Studio wiring (CLI host).
3
+ *
4
+ * Thin wrapper over the shared core installer so the CLI/TUI host and both
5
+ * WebUI servers use one code path. The `design` tool ships in the builtin pack
6
+ * and `/design` is registered with the slash registry; this only installs the
7
+ * per-turn detection + kit-menu-injection middleware, which needs a live Context.
8
+ */
9
+ import type { AgentPipelines, Context } from '@wrongstack/core';
10
+ export interface InstallDesignStudioDeps {
11
+ pipelines: AgentPipelines;
12
+ context: Context;
13
+ /** When false, no middleware is installed (the tool + /design stay manual). */
14
+ enabled?: boolean | undefined;
15
+ }
16
+ export declare function installDesignStudio(deps: InstallDesignStudioDeps): void;
17
+ //# sourceMappingURL=design-studio.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"design-studio.d.ts","sourceRoot":"","sources":["../../src/wiring/design-studio.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAGhE,MAAM,WAAW,uBAAuB;IACtC,SAAS,EAAE,cAAc,CAAC;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,+EAA+E;IAC/E,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC/B;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,uBAAuB,GAAG,IAAI,CAMvE"}
@@ -0,0 +1,51 @@
1
+ import { type AutonomyStage, type Config, type Director, type EventBus, type EternalAutonomyEngine, type ParallelEternalEngine, type SessionWriter } from '@wrongstack/core';
2
+ import { type AgentMonitorService } from '@wrongstack/core/coordination';
3
+ import type { WstackPaths } from '@wrongstack/core';
4
+ /**
5
+ * Persistent ref for autonomy mode — set once here, read elsewhere via
6
+ * `autonomyModeRef.current`. Matches the shape created in cli-main.ts.
7
+ */
8
+ export interface AutonomyModeRef {
9
+ current: import('../slash-commands/autonomy.js').AutonomyMode;
10
+ }
11
+ export interface DirectorAutonomyDeps {
12
+ flags: Record<string, string | boolean>;
13
+ config: Config;
14
+ wpaths: WstackPaths;
15
+ session: SessionWriter;
16
+ events: EventBus;
17
+ autonomyModeRef: AutonomyModeRef;
18
+ }
19
+ export interface DirectorAutonomyResult {
20
+ director: Director | null;
21
+ directorMode: boolean;
22
+ maxConcurrent: number | undefined;
23
+ autonomyMode: import('../slash-commands/autonomy.js').AutonomyMode;
24
+ nextPredictEnabled: boolean;
25
+ currentSuggestions: string[];
26
+ eternalEngine: EternalAutonomyEngine | null;
27
+ parallelEngine: ParallelEternalEngine | null;
28
+ eternalListeners: Set<(entry: import('@wrongstack/core').JournalEntry) => void>;
29
+ broadcastEternalIteration: (entry: import('@wrongstack/core').JournalEntry) => void;
30
+ stageListeners: Set<(stage: AutonomyStage) => void>;
31
+ broadcastAutonomyStage: (stage: AutonomyStage) => void;
32
+ fleetRoot: string | undefined;
33
+ manifestPath: string | undefined;
34
+ sharedScratchpadPath: string | undefined;
35
+ subagentSessionsRoot: string | undefined;
36
+ stateCheckpointPath: string | undefined;
37
+ fleetRootForPromotion: string;
38
+ agentMonitor: AgentMonitorService;
39
+ }
40
+ /**
41
+ * Wire director / autonomy mode, fleet paths, eternal-engine scaffolding,
42
+ * and the Agent Monitor service. Returns everything the caller needs to
43
+ * reference later in the launch flow.
44
+ *
45
+ * The `director`, `eternalEngine`, `parallelEngine`, `autonomyMode`,
46
+ * `nextPredictEnabled`, and `currentSuggestions` fields are returned at
47
+ * their initial value — the caller may reassign `director` (from
48
+ * `multiAgentHost.ensureDirector()`) and the other mutable fields later.
49
+ */
50
+ export declare function setupDirectorAndAutonomy(deps: DirectorAutonomyDeps): DirectorAutonomyResult;
51
+ //# sourceMappingURL=director-setup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"director-setup.d.ts","sourceRoot":"","sources":["../../src/wiring/director-setup.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,MAAM,EACX,KAAK,QAAQ,EACb,KAAK,QAAQ,EACb,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAE1B,KAAK,aAAa,EACnB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,KAAK,mBAAmB,EAA6B,MAAM,+BAA+B,CAAC;AAEpG,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAMpD;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,OAAO,+BAA+B,EAAE,YAAY,CAAC;CAC/D;AAED,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC;IACxC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,WAAW,CAAC;IACpB,OAAO,EAAE,aAAa,CAAC;IACvB,MAAM,EAAE,QAAQ,CAAC;IACjB,eAAe,EAAE,eAAe,CAAC;CAClC;AAED,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,QAAQ,GAAG,IAAI,CAAC;IAC1B,YAAY,EAAE,OAAO,CAAC;IACtB,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,YAAY,EAAE,OAAO,+BAA+B,EAAE,YAAY,CAAC;IACnE,kBAAkB,EAAE,OAAO,CAAC;IAC5B,kBAAkB,EAAE,MAAM,EAAE,CAAC;IAC7B,aAAa,EAAE,qBAAqB,GAAG,IAAI,CAAC;IAC5C,cAAc,EAAE,qBAAqB,GAAG,IAAI,CAAC;IAC7C,gBAAgB,EAAE,GAAG,CAAC,CAAC,KAAK,EAAE,OAAO,kBAAkB,EAAE,YAAY,KAAK,IAAI,CAAC,CAAC;IAChF,yBAAyB,EAAE,CAAC,KAAK,EAAE,OAAO,kBAAkB,EAAE,YAAY,KAAK,IAAI,CAAC;IACpF,cAAc,EAAE,GAAG,CAAC,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC,CAAC;IACpD,sBAAsB,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;IACvD,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,oBAAoB,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,oBAAoB,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,mBAAmB,EAAE,MAAM,GAAG,SAAS,CAAC;IACxC,qBAAqB,EAAE,MAAM,CAAC;IAC9B,YAAY,EAAE,mBAAmB,CAAC;CACnC;AAMD;;;;;;;;;GASG;AACH,wBAAgB,wBAAwB,CAAC,IAAI,EAAE,oBAAoB,GAAG,sBAAsB,CAkH3F"}
@@ -0,0 +1,42 @@
1
+ import { type Config, type EventBus, type GlobalMailbox, type SessionWriter } from '@wrongstack/core';
2
+ import type { AgentMonitorService } from '@wrongstack/core/coordination';
3
+ import { createHqCommandDispatcher, type HqCommandController } from '../hq-command-controller.js';
4
+ /**
5
+ * Mutable holder for the HQ publisher reference. The ref is created in
6
+ * cli-main.ts before `brainMailbox` (which captures it via closure) and
7
+ * populated by `setupHqTelemetry` once the HQ connection establishes.
8
+ */
9
+ export interface HqPublisherRef {
10
+ current: any | undefined;
11
+ }
12
+ export interface SetupHqTelemetryDeps {
13
+ events: EventBus;
14
+ session: SessionWriter;
15
+ config: Config;
16
+ flags: Record<string, string | boolean>;
17
+ tuiOwnsScreen: boolean;
18
+ projectRoot: string;
19
+ globalRoot: string;
20
+ tracker: any | undefined;
21
+ agentMonitor: AgentMonitorService | undefined;
22
+ brainMailbox: GlobalMailbox;
23
+ teardownHandlers: (() => void)[];
24
+ mailboxSessionTag: (sessionId: string) => string;
25
+ hqPublisherRef: HqPublisherRef;
26
+ }
27
+ export interface HqTelemetryResult {
28
+ hqCommandController: HqCommandController;
29
+ hqOnCommand: ReturnType<typeof createHqCommandDispatcher>;
30
+ }
31
+ /**
32
+ * Wire the HQ command dispatch controller and the HQ WebSocket connection
33
+ * with its auxiliary telemetry bridges (session, fleet, brain, worktree,
34
+ * tool, cost). Also forwards agent-monitor events to HQ.
35
+ *
36
+ * The `hqPublisherRef` is populated once the connection establishes so
37
+ * the `brainMailbox` (which captured the ref earlier) can publish to HQ.
38
+ *
39
+ * Teardown handlers are pushed into `deps.teardownHandlers` internally.
40
+ */
41
+ export declare function setupHqTelemetry(deps: SetupHqTelemetryDeps): HqTelemetryResult;
42
+ //# sourceMappingURL=hq-telemetry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hq-telemetry.d.ts","sourceRoot":"","sources":["../../src/wiring/hq-telemetry.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,MAAM,EACX,KAAK,QAAQ,EACb,KAAK,aAAa,EAClB,KAAK,aAAa,EAOnB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAEzE,OAAO,EAAE,yBAAyB,EAAE,KAAK,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAElG;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAE7B,OAAO,EAAE,GAAG,GAAG,SAAS,CAAC;CAC1B;AAED,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,QAAQ,CAAC;IACjB,OAAO,EAAE,aAAa,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC;IACxC,aAAa,EAAE,OAAO,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IAEnB,OAAO,EAAE,GAAG,GAAG,SAAS,CAAC;IACzB,YAAY,EAAE,mBAAmB,GAAG,SAAS,CAAC;IAC9C,YAAY,EAAE,aAAa,CAAC;IAC5B,gBAAgB,EAAE,CAAC,MAAM,IAAI,CAAC,EAAE,CAAC;IACjC,iBAAiB,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,MAAM,CAAC;IACjD,cAAc,EAAE,cAAc,CAAC;CAChC;AAED,MAAM,WAAW,iBAAiB;IAChC,mBAAmB,EAAE,mBAAmB,CAAC;IACzC,WAAW,EAAE,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAAC;CAC3D;AAED;;;;;;;;;GASG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,oBAAoB,GAAG,iBAAiB,CAyK9E"}
@@ -0,0 +1,58 @@
1
+ import { type Config, GlobalMailbox, type HealthRegistry, HookRegistry, HookRunner, type Logger, type ModelsRegistry, type Provider, type ProviderConfig, type ProviderRegistry, type SecretVault, type SessionWriter, SlashCommandRegistry, type ToolRegistry, type WstackPaths } from '@wrongstack/core';
2
+ import { MCPRegistry } from '@wrongstack/mcp';
3
+ type AnyRecord = Record<string, any>;
4
+ export interface LifecyclePluginsDeps {
5
+ flags: Record<string, string | boolean>;
6
+ config: Config;
7
+ container: any;
8
+ pipelines: any;
9
+ logger: Logger;
10
+ session: SessionWriter;
11
+ sessionBridge: any;
12
+ events: any;
13
+ modelsRegistry: ModelsRegistry;
14
+ context: any;
15
+ provider: Provider;
16
+ modelCapabilitiesRef: AnyRecord;
17
+ reader: any;
18
+ wpaths: WstackPaths;
19
+ toolRegistry: ToolRegistry;
20
+ providerRegistry: ProviderRegistry;
21
+ configStore: any;
22
+ eventWiring: any;
23
+ healthRegistry: HealthRegistry;
24
+ skillLoader: any;
25
+ promptLoader: any;
26
+ vault: SecretVault;
27
+ metricsSink: any;
28
+ renderer: any;
29
+ buildProviderForIdRuntime: any;
30
+ }
31
+ export interface LifecyclePluginsResult {
32
+ hookRegistry: HookRegistry;
33
+ hookRunner: HookRunner;
34
+ autoCompactor: any;
35
+ effectiveMaxContextRef: {
36
+ current: number;
37
+ };
38
+ applyMaxContext: (providerId: string, modelId: string, mc: number, seq?: number) => void;
39
+ refreshMaxContext: (providerId: string, modelId: string, runtimeProviderConfig?: ProviderConfig) => Promise<void>;
40
+ agent: any;
41
+ mcpRegistry: MCPRegistry;
42
+ slashRegistry: SlashCommandRegistry;
43
+ hqPublisherRef: {
44
+ current: any;
45
+ };
46
+ brainMailbox: GlobalMailbox;
47
+ }
48
+ /**
49
+ * Wire lifecycle hooks, compaction + max-context management, agent creation,
50
+ * MCP servers, slash-registry, project mailbox, and plugins setup.
51
+ *
52
+ * Returns a result bag; the returned closures capture `effectiveMaxContext`
53
+ * and `autoCompactor` internally so the caller can invoke `applyMaxContext`
54
+ * / `refreshMaxContext` without needing those internals.
55
+ */
56
+ export declare function setupLifecycleAndPlugins(deps: LifecyclePluginsDeps): Promise<LifecyclePluginsResult>;
57
+ export {};
58
+ //# sourceMappingURL=lifecycle-plugins.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"lifecycle-plugins.d.ts","sourceRoot":"","sources":["../../src/wiring/lifecycle-plugins.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,MAAM,EAEX,aAAa,EACb,KAAK,cAAc,EACnB,YAAY,EACZ,UAAU,EACV,KAAK,MAAM,EACX,KAAK,cAAc,EAEnB,KAAK,QAAQ,EACb,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,aAAa,EAClB,oBAAoB,EAGpB,KAAK,YAAY,EACjB,KAAK,WAAW,EACjB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAgB9C,KAAK,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAErC,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC;IACxC,MAAM,EAAE,MAAM,CAAC;IAEf,SAAS,EAAE,GAAG,CAAC;IAEf,SAAS,EAAE,GAAG,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,aAAa,CAAC;IACvB,aAAa,EAAE,GAAG,CAAC;IAEnB,MAAM,EAAE,GAAG,CAAC;IACZ,cAAc,EAAE,cAAc,CAAC;IAE/B,OAAO,EAAE,GAAG,CAAC;IACb,QAAQ,EAAE,QAAQ,CAAC;IAEnB,oBAAoB,EAAE,SAAS,CAAC;IAEhC,MAAM,EAAE,GAAG,CAAC;IACZ,MAAM,EAAE,WAAW,CAAC;IACpB,YAAY,EAAE,YAAY,CAAC;IAC3B,gBAAgB,EAAE,gBAAgB,CAAC;IAEnC,WAAW,EAAE,GAAG,CAAC;IACjB,WAAW,EAAE,GAAG,CAAC;IACjB,cAAc,EAAE,cAAc,CAAC;IAE/B,WAAW,EAAE,GAAG,CAAC;IACjB,YAAY,EAAE,GAAG,CAAC;IAClB,KAAK,EAAE,WAAW,CAAC;IAEnB,WAAW,EAAE,GAAG,CAAC;IAEjB,QAAQ,EAAE,GAAG,CAAC;IAEd,yBAAyB,EAAE,GAAG,CAAC;CAChC;AAED,MAAM,WAAW,sBAAsB;IACrC,YAAY,EAAE,YAAY,CAAC;IAC3B,UAAU,EAAE,UAAU,CAAC;IAEvB,aAAa,EAAE,GAAG,CAAC;IACnB,sBAAsB,EAAE;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;IAC5C,eAAe,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACzF,iBAAiB,EAAE,CACjB,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,MAAM,EACf,qBAAqB,CAAC,EAAE,cAAc,KACnC,OAAO,CAAC,IAAI,CAAC,CAAC;IAEnB,KAAK,EAAE,GAAG,CAAC;IACX,WAAW,EAAE,WAAW,CAAC;IACzB,aAAa,EAAE,oBAAoB,CAAC;IACpC,cAAc,EAAE;QAAE,OAAO,EAAE,GAAG,CAAA;KAAE,CAAC;IACjC,YAAY,EAAE,aAAa,CAAC;CAC7B;AAED;;;;;;;GAOG;AACH,wBAAsB,wBAAwB,CAC5C,IAAI,EAAE,oBAAoB,GACzB,OAAO,CAAC,sBAAsB,CAAC,CA4PjC"}
@@ -0,0 +1,53 @@
1
+ /**
2
+ * mailbox-bridge-bootstrap wiring — boot-time integration glue.
3
+ *
4
+ * Called from each WrongStack boot surface (REPL/TUI via cli-main,
5
+ * webui-server, eternal-autonomy) BEFORE the agent constructs its
6
+ * mailbox checker. Resolves the project directory, gates on
7
+ * `config.features.mailboxBridge`, and either joins the existing
8
+ * bridge or spawns a fresh one via `tryAcquireMailboxBridge`.
9
+ *
10
+ * Never throws — bootstrap failures degrade to a warning + no bridge,
11
+ * matching the contract of the underlying helper. The agent still
12
+ * works against the local mailbox file; only external-agent HTTP
13
+ * access is impacted.
14
+ *
15
+ * The handle is stashed on `ctx.meta['mailboxBridge']` so any later
16
+ * surface (mailbox HTTP server, /mailbox-serve slash command, hq
17
+ * publisher) can read the bridge URL/token without re-running
18
+ * discovery.
19
+ */
20
+ import type { Config, Logger } from '@wrongstack/core';
21
+ import { type MailboxBridgeHandle } from '../mailbox-bridge-bootstrap.js';
22
+ /** Where on ctx.meta the bootstrap handle lives. */
23
+ export declare const MAILBOX_BRIDGE_META_KEY = "mailboxBridge";
24
+ /**
25
+ * Best-effort boot-time bridge bootstrap. Returns the handle
26
+ * (which may have source='failed' or be a no-op stub when the
27
+ * feature is disabled) or `null` when there's no project root to
28
+ * bootstrap against.
29
+ *
30
+ * Side effect: stashes the handle on `ctx.meta[MAILBOX_BRIDGE_META_KEY]`
31
+ * when `ctx` is provided, so subsequent code paths can find it
32
+ * without re-running discovery.
33
+ */
34
+ export declare function bootstrapMailboxBridgeAtStartup(params: {
35
+ projectRoot: string | undefined;
36
+ config: Pick<Config, 'features'> | undefined;
37
+ logger: Logger;
38
+ /** Surface label — logged for debugging when something goes wrong. */
39
+ source: 'cli' | 'webui' | 'eternal';
40
+ /** Optional override for the spawn timeout (default 5s). */
41
+ timeoutMs?: number;
42
+ /** The agent's Context, if available. The handle is stashed here. */
43
+ ctx?: {
44
+ meta: Record<string, unknown>;
45
+ } | undefined;
46
+ }): Promise<MailboxBridgeHandle | null>;
47
+ /**
48
+ * Read a previously-bootstrapped bridge handle from ctx.meta. Returns
49
+ * null when no bootstrap ran (e.g. feature disabled, no projectRoot,
50
+ * bootstrap failed and the caller didn't stash the failure stub).
51
+ */
52
+ export declare function readBootstrappedBridge(meta: Record<string, unknown> | undefined): MailboxBridgeHandle | null;
53
+ //# sourceMappingURL=mailbox-bridge-bootstrap.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mailbox-bridge-bootstrap.d.ts","sourceRoot":"","sources":["../../src/wiring/mailbox-bridge-bootstrap.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAGH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAEL,KAAK,mBAAmB,EACzB,MAAM,gCAAgC,CAAC;AAExC,oDAAoD;AACpD,eAAO,MAAM,uBAAuB,kBAAkB,CAAC;AAEvD;;;;;;;;;GASG;AACH,wBAAsB,+BAA+B,CAAC,MAAM,EAAE;IAC5D,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,GAAG,SAAS,CAAC;IAC7C,MAAM,EAAE,MAAM,CAAC;IACf,sEAAsE;IACtE,MAAM,EAAE,KAAK,GAAG,OAAO,GAAG,SAAS,CAAC;IACpC,4DAA4D;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qEAAqE;IACrE,GAAG,CAAC,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KAAE,GAAG,SAAS,CAAC;CACrD,GAAG,OAAO,CAAC,mBAAmB,GAAG,IAAI,CAAC,CA8DtC;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,GACxC,mBAAmB,GAAG,IAAI,CAM5B"}
@@ -0,0 +1,21 @@
1
+ import { type EventBus, type HealthRegistry, type MetricsServerHandle, type MetricsSink, type WstackPaths } from '@wrongstack/core';
2
+ export interface MetricsWiringDeps {
3
+ flags: Record<string, unknown>;
4
+ wpaths: WstackPaths;
5
+ events: EventBus;
6
+ logger: {
7
+ info(msg: string): void;
8
+ warn(msg: string): void;
9
+ };
10
+ config: {
11
+ provider: string;
12
+ model: string;
13
+ };
14
+ }
15
+ export interface MetricsWiringResult {
16
+ metricsSink: MetricsSink | undefined;
17
+ healthRegistry: HealthRegistry | undefined;
18
+ metricsServerHandle: MetricsServerHandle | undefined;
19
+ }
20
+ export declare function setupMetrics(params: MetricsWiringDeps): MetricsWiringResult;
21
+ //# sourceMappingURL=metrics.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"metrics.d.ts","sourceRoot":"","sources":["../../src/wiring/metrics.ts"],"names":[],"mappings":"AAIA,OAAO,EAEL,KAAK,QAAQ,EACb,KAAK,cAAc,EAEnB,KAAK,mBAAmB,EACxB,KAAK,WAAW,EAEhB,KAAK,WAAW,EAEjB,MAAM,kBAAkB,CAAC;AAE1B,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/B,MAAM,EAAE,WAAW,CAAC;IACpB,MAAM,EAAE,QAAQ,CAAC;IACjB,MAAM,EAAE;QAAE,IAAI,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,IAAI,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,CAAC;IAC7D,MAAM,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;CAC7C;AAED,MAAM,WAAW,mBAAmB;IAClC,WAAW,EAAE,WAAW,GAAG,SAAS,CAAC;IACrC,cAAc,EAAE,cAAc,GAAG,SAAS,CAAC;IAC3C,mBAAmB,EAAE,mBAAmB,GAAG,SAAS,CAAC;CACtD;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,iBAAiB,GAAG,mBAAmB,CA+E3E"}