@wrongstack/cli 0.284.1 → 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 (546) hide show
  1. package/README.md +4 -4
  2. package/dist/acp-registry-cache.d.ts +33 -0
  3. package/dist/acp-registry-cache.d.ts.map +1 -0
  4. package/dist/acp-server-agent.d.ts +66 -0
  5. package/dist/acp-server-agent.d.ts.map +1 -0
  6. package/dist/arg-parser.d.ts +41 -0
  7. package/dist/arg-parser.d.ts.map +1 -0
  8. package/dist/auth-menu/add-provider.d.ts +15 -0
  9. package/dist/auth-menu/add-provider.d.ts.map +1 -0
  10. package/dist/auth-menu/anthropic-oauth.d.ts +43 -0
  11. package/dist/auth-menu/anthropic-oauth.d.ts.map +1 -0
  12. package/dist/auth-menu/auth-menu-audit.d.ts +175 -0
  13. package/dist/auth-menu/auth-menu-audit.d.ts.map +1 -0
  14. package/dist/auth-menu/direct.d.ts +15 -0
  15. package/dist/auth-menu/direct.d.ts.map +1 -0
  16. package/dist/auth-menu/github-copilot-oauth.d.ts +73 -0
  17. package/dist/auth-menu/github-copilot-oauth.d.ts.map +1 -0
  18. package/dist/auth-menu/helpers.d.ts +7 -0
  19. package/dist/auth-menu/helpers.d.ts.map +1 -0
  20. package/dist/auth-menu/index.d.ts +8 -0
  21. package/dist/auth-menu/index.d.ts.map +1 -0
  22. package/dist/auth-menu/local-presets.d.ts +36 -0
  23. package/dist/auth-menu/local-presets.d.ts.map +1 -0
  24. package/dist/auth-menu/local.d.ts +138 -0
  25. package/dist/auth-menu/local.d.ts.map +1 -0
  26. package/dist/auth-menu/oauth-menu.d.ts +10 -0
  27. package/dist/auth-menu/oauth-menu.d.ts.map +1 -0
  28. package/dist/auth-menu/openai-codex-oauth.d.ts +167 -0
  29. package/dist/auth-menu/openai-codex-oauth.d.ts.map +1 -0
  30. package/dist/auth-menu/panel-service.d.ts +32 -0
  31. package/dist/auth-menu/panel-service.d.ts.map +1 -0
  32. package/dist/auth-menu/provider-menu.d.ts +7 -0
  33. package/dist/auth-menu/provider-menu.d.ts.map +1 -0
  34. package/dist/auth-menu/shared.d.ts +32 -0
  35. package/dist/auth-menu/shared.d.ts.map +1 -0
  36. package/dist/auth-menu/top-menu.d.ts +11 -0
  37. package/dist/auth-menu/top-menu.d.ts.map +1 -0
  38. package/dist/auth-menu/types.d.ts +42 -0
  39. package/dist/auth-menu/types.d.ts.map +1 -0
  40. package/dist/auth-menu.d.ts +7 -0
  41. package/dist/auth-menu.d.ts.map +1 -0
  42. package/dist/autophase-host.d.ts +103 -0
  43. package/dist/autophase-host.d.ts.map +1 -0
  44. package/dist/boot/auto-discover-providers.d.ts +20 -0
  45. package/dist/boot/auto-discover-providers.d.ts.map +1 -0
  46. package/dist/boot/brain-decision-log.d.ts +38 -0
  47. package/dist/boot/brain-decision-log.d.ts.map +1 -0
  48. package/dist/boot/container-wiring.d.ts +34 -0
  49. package/dist/boot/container-wiring.d.ts.map +1 -0
  50. package/dist/boot/dispatch-singleshot.d.ts +35 -0
  51. package/dist/boot/dispatch-singleshot.d.ts.map +1 -0
  52. package/dist/boot/dispatch-webui.d.ts +82 -0
  53. package/dist/boot/dispatch-webui.d.ts.map +1 -0
  54. package/dist/boot/event-wiring.d.ts +22 -0
  55. package/dist/boot/event-wiring.d.ts.map +1 -0
  56. package/dist/boot/short-circuit-desktop.d.ts +3 -0
  57. package/dist/boot/short-circuit-desktop.d.ts.map +1 -0
  58. package/dist/boot/short-circuit-flags.d.ts +9 -0
  59. package/dist/boot/short-circuit-flags.d.ts.map +1 -0
  60. package/dist/boot/short-circuit-hq.d.ts +16 -0
  61. package/dist/boot/short-circuit-hq.d.ts.map +1 -0
  62. package/dist/boot/system-prompt-builder.d.ts +91 -0
  63. package/dist/boot/system-prompt-builder.d.ts.map +1 -0
  64. package/dist/boot/system-prompt.d.ts +66 -0
  65. package/dist/boot/system-prompt.d.ts.map +1 -0
  66. package/dist/boot/tool-registry.d.ts +42 -0
  67. package/dist/boot/tool-registry.d.ts.map +1 -0
  68. package/dist/boot/tui-autophase-wiring.d.ts +23 -0
  69. package/dist/boot/tui-autophase-wiring.d.ts.map +1 -0
  70. package/dist/boot/tui-coordinator-setup.d.ts +38 -0
  71. package/dist/boot/tui-coordinator-setup.d.ts.map +1 -0
  72. package/dist/boot/tui-debug-stream.d.ts +18 -0
  73. package/dist/boot/tui-debug-stream.d.ts.map +1 -0
  74. package/dist/boot/tui-live-sessions.d.ts +39 -0
  75. package/dist/boot/tui-live-sessions.d.ts.map +1 -0
  76. package/dist/boot/tui-project-picker-callback.d.ts +30 -0
  77. package/dist/boot/tui-project-picker-callback.d.ts.map +1 -0
  78. package/dist/boot/tui-project-spawn.d.ts +19 -0
  79. package/dist/boot/tui-project-spawn.d.ts.map +1 -0
  80. package/dist/boot/tui-project-switch.d.ts +26 -0
  81. package/dist/boot/tui-project-switch.d.ts.map +1 -0
  82. package/dist/boot/tui-runtime-state.d.ts +83 -0
  83. package/dist/boot/tui-runtime-state.d.ts.map +1 -0
  84. package/dist/boot/tui-sdd-callback.d.ts +20 -0
  85. package/dist/boot/tui-sdd-callback.d.ts.map +1 -0
  86. package/dist/boot/tui-session-resume.d.ts +21 -0
  87. package/dist/boot/tui-session-resume.d.ts.map +1 -0
  88. package/dist/boot/tui-settings-adapter.d.ts +23 -0
  89. package/dist/boot/tui-settings-adapter.d.ts.map +1 -0
  90. package/dist/boot-config.d.ts +26 -0
  91. package/dist/boot-config.d.ts.map +1 -0
  92. package/dist/boot.d.ts +30 -0
  93. package/dist/boot.d.ts.map +1 -0
  94. package/dist/cli-bundled-prompts.d.ts +12 -0
  95. package/dist/cli-bundled-prompts.d.ts.map +1 -0
  96. package/dist/cli-bundled-skills.d.ts +13 -0
  97. package/dist/cli-bundled-skills.d.ts.map +1 -0
  98. package/dist/cli-context.d.ts +30 -0
  99. package/dist/cli-context.d.ts.map +1 -0
  100. package/dist/cli-entry-point.d.ts +2 -0
  101. package/dist/cli-entry-point.d.ts.map +1 -0
  102. package/dist/cli-eternal-flag.d.ts +66 -0
  103. package/dist/cli-eternal-flag.d.ts.map +1 -0
  104. package/dist/cli-main.d.ts +13 -0
  105. package/dist/cli-main.d.ts.map +1 -0
  106. package/dist/cli-recovery-prompt.d.ts +19 -0
  107. package/dist/cli-recovery-prompt.d.ts.map +1 -0
  108. package/dist/cli-update-notice.d.ts +3 -0
  109. package/dist/cli-update-notice.d.ts.map +1 -0
  110. package/dist/config-doctor.d.ts +39 -0
  111. package/dist/config-doctor.d.ts.map +1 -0
  112. package/dist/config-history.d.ts +54 -0
  113. package/dist/config-history.d.ts.map +1 -0
  114. package/dist/context-limit.d.ts +51 -0
  115. package/dist/context-limit.d.ts.map +1 -0
  116. package/dist/context-overflow-diagnostic.d.ts +3 -0
  117. package/dist/context-overflow-diagnostic.d.ts.map +1 -0
  118. package/dist/diff-renderer.d.ts +2 -0
  119. package/dist/diff-renderer.d.ts.map +1 -0
  120. package/dist/execute-deps.d.ts +239 -0
  121. package/dist/execute-deps.d.ts.map +1 -0
  122. package/dist/execution.d.ts +99 -0
  123. package/dist/execution.d.ts.map +1 -0
  124. package/dist/first-run-auth-gate.d.ts +18 -0
  125. package/dist/first-run-auth-gate.d.ts.map +1 -0
  126. package/dist/fleet/host.d.ts +533 -0
  127. package/dist/fleet/host.d.ts.map +1 -0
  128. package/dist/fleet/routing.d.ts +8 -0
  129. package/dist/fleet/routing.d.ts.map +1 -0
  130. package/dist/fleet/status-broadcast.d.ts +42 -0
  131. package/dist/fleet/status-broadcast.d.ts.map +1 -0
  132. package/dist/fleet/supervisor-registry.d.ts +16 -0
  133. package/dist/fleet/supervisor-registry.d.ts.map +1 -0
  134. package/dist/fleet-statusline.d.ts +71 -0
  135. package/dist/fleet-statusline.d.ts.map +1 -0
  136. package/dist/hooks-wiring.d.ts +26 -0
  137. package/dist/hooks-wiring.d.ts.map +1 -0
  138. package/dist/hq-command-controller.d.ts +52 -0
  139. package/dist/hq-command-controller.d.ts.map +1 -0
  140. package/dist/hq-dashboard-html.d.ts +2 -0
  141. package/dist/hq-dashboard-html.d.ts.map +1 -0
  142. package/dist/hq-publisher.d.ts +16 -0
  143. package/dist/hq-publisher.d.ts.map +1 -0
  144. package/dist/hq-server.d.ts +56 -0
  145. package/dist/hq-server.d.ts.map +1 -0
  146. package/dist/hq-static-serve.d.ts +26 -0
  147. package/dist/hq-static-serve.d.ts.map +1 -0
  148. package/dist/index.d.ts +3 -5
  149. package/dist/index.d.ts.map +1 -0
  150. package/dist/index.js +6025 -3952
  151. package/dist/index.js.map +7 -1
  152. package/dist/input-reader.d.ts +45 -0
  153. package/dist/input-reader.d.ts.map +1 -0
  154. package/dist/launch-hints.d.ts +46 -0
  155. package/dist/launch-hints.d.ts.map +1 -0
  156. package/dist/mailbox-bridge-bootstrap.d.ts +85 -0
  157. package/dist/mailbox-bridge-bootstrap.d.ts.map +1 -0
  158. package/dist/mcp-serve.d.ts +23 -0
  159. package/dist/mcp-serve.d.ts.map +1 -0
  160. package/dist/multi-agent.d.ts +4 -0
  161. package/dist/multi-agent.d.ts.map +1 -0
  162. package/dist/next-task-predictor.d.ts +45 -0
  163. package/dist/next-task-predictor.d.ts.map +1 -0
  164. package/dist/permission-prompt.d.ts +11 -0
  165. package/dist/permission-prompt.d.ts.map +1 -0
  166. package/dist/picker.d.ts +86 -0
  167. package/dist/picker.d.ts.map +1 -0
  168. package/dist/plugin-api-factory.d.ts +3 -0
  169. package/dist/plugin-api-factory.d.ts.map +1 -0
  170. package/dist/plugin-management.d.ts +43 -0
  171. package/dist/plugin-management.d.ts.map +1 -0
  172. package/dist/pre-launch/indexing-question.d.ts +28 -0
  173. package/dist/pre-launch/indexing-question.d.ts.map +1 -0
  174. package/dist/pre-launch/launch-prompts.d.ts +52 -0
  175. package/dist/pre-launch/launch-prompts.d.ts.map +1 -0
  176. package/dist/pre-launch/project-check.d.ts +25 -0
  177. package/dist/pre-launch/project-check.d.ts.map +1 -0
  178. package/dist/pre-launch.d.ts +4 -0
  179. package/dist/pre-launch.d.ts.map +1 -0
  180. package/dist/preflight.d.ts +58 -0
  181. package/dist/preflight.d.ts.map +1 -0
  182. package/dist/project-picker.d.ts +56 -0
  183. package/dist/project-picker.d.ts.map +1 -0
  184. package/dist/provider-config-utils.d.ts +58 -0
  185. package/dist/provider-config-utils.d.ts.map +1 -0
  186. package/dist/provider-helpers.d.ts +53 -0
  187. package/dist/provider-helpers.d.ts.map +1 -0
  188. package/dist/renderer.d.ts +76 -0
  189. package/dist/renderer.d.ts.map +1 -0
  190. package/dist/repl.d.ts +162 -0
  191. package/dist/repl.d.ts.map +1 -0
  192. package/dist/services/project-facts.d.ts +17 -0
  193. package/dist/services/project-facts.d.ts.map +1 -0
  194. package/dist/session-event-wiring.d.ts +48 -0
  195. package/dist/session-event-wiring.d.ts.map +1 -0
  196. package/dist/session-stats.d.ts +38 -0
  197. package/dist/session-stats.d.ts.map +1 -0
  198. package/dist/settings-menu.d.ts +87 -0
  199. package/dist/settings-menu.d.ts.map +1 -0
  200. package/dist/shutdown-cleanup.d.ts +44 -0
  201. package/dist/shutdown-cleanup.d.ts.map +1 -0
  202. package/dist/slash-commands/acp.d.ts +23 -0
  203. package/dist/slash-commands/acp.d.ts.map +1 -0
  204. package/dist/slash-commands/agents.d.ts +16 -0
  205. package/dist/slash-commands/agents.d.ts.map +1 -0
  206. package/dist/slash-commands/audit.d.ts +11 -0
  207. package/dist/slash-commands/audit.d.ts.map +1 -0
  208. package/dist/slash-commands/auth.d.ts +20 -0
  209. package/dist/slash-commands/auth.d.ts.map +1 -0
  210. package/dist/slash-commands/autonomy.d.ts +5 -0
  211. package/dist/slash-commands/autonomy.d.ts.map +1 -0
  212. package/dist/slash-commands/autophase.d.ts +13 -0
  213. package/dist/slash-commands/autophase.d.ts.map +1 -0
  214. package/dist/slash-commands/brain.d.ts +4 -0
  215. package/dist/slash-commands/brain.d.ts.map +1 -0
  216. package/dist/slash-commands/btw.d.ts +13 -0
  217. package/dist/slash-commands/btw.d.ts.map +1 -0
  218. package/dist/slash-commands/clear.d.ts +4 -0
  219. package/dist/slash-commands/clear.d.ts.map +1 -0
  220. package/dist/slash-commands/codebase-reindex.d.ts +11 -0
  221. package/dist/slash-commands/codebase-reindex.d.ts.map +1 -0
  222. package/dist/slash-commands/collab.d.ts +26 -0
  223. package/dist/slash-commands/collab.d.ts.map +1 -0
  224. package/dist/slash-commands/commit-llm.d.ts +41 -0
  225. package/dist/slash-commands/commit-llm.d.ts.map +1 -0
  226. package/dist/slash-commands/compact.d.ts +4 -0
  227. package/dist/slash-commands/compact.d.ts.map +1 -0
  228. package/dist/slash-commands/context.d.ts +4 -0
  229. package/dist/slash-commands/context.d.ts.map +1 -0
  230. package/dist/slash-commands/coordinator.d.ts +4 -0
  231. package/dist/slash-commands/coordinator.d.ts.map +1 -0
  232. package/dist/slash-commands/delegate.d.ts +17 -0
  233. package/dist/slash-commands/delegate.d.ts.map +1 -0
  234. package/dist/slash-commands/design.d.ts +16 -0
  235. package/dist/slash-commands/design.d.ts.map +1 -0
  236. package/dist/slash-commands/dev.d.ts +9 -0
  237. package/dist/slash-commands/dev.d.ts.map +1 -0
  238. package/dist/slash-commands/diag-stats.d.ts +5 -0
  239. package/dist/slash-commands/diag-stats.d.ts.map +1 -0
  240. package/dist/slash-commands/dispatch-llm.d.ts +12 -0
  241. package/dist/slash-commands/dispatch-llm.d.ts.map +1 -0
  242. package/dist/slash-commands/doctor.d.ts +13 -0
  243. package/dist/slash-commands/doctor.d.ts.map +1 -0
  244. package/dist/slash-commands/enhance.d.ts +13 -0
  245. package/dist/slash-commands/enhance.d.ts.map +1 -0
  246. package/dist/slash-commands/ensemble.d.ts +17 -0
  247. package/dist/slash-commands/ensemble.d.ts.map +1 -0
  248. package/dist/slash-commands/f-keys.d.ts +18 -0
  249. package/dist/slash-commands/f-keys.d.ts.map +1 -0
  250. package/dist/slash-commands/fallback.d.ts +20 -0
  251. package/dist/slash-commands/fallback.d.ts.map +1 -0
  252. package/dist/slash-commands/fix-classifier.d.ts +28 -0
  253. package/dist/slash-commands/fix-classifier.d.ts.map +1 -0
  254. package/dist/slash-commands/fix.d.ts +4 -0
  255. package/dist/slash-commands/fix.d.ts.map +1 -0
  256. package/dist/slash-commands/fleet.d.ts +20 -0
  257. package/dist/slash-commands/fleet.d.ts.map +1 -0
  258. package/dist/slash-commands/gitid.d.ts +22 -0
  259. package/dist/slash-commands/gitid.d.ts.map +1 -0
  260. package/dist/slash-commands/goal-refiner.d.ts +22 -0
  261. package/dist/slash-commands/goal-refiner.d.ts.map +1 -0
  262. package/dist/slash-commands/goal.d.ts +4 -0
  263. package/dist/slash-commands/goal.d.ts.map +1 -0
  264. package/dist/slash-commands/help.d.ts +4 -0
  265. package/dist/slash-commands/help.d.ts.map +1 -0
  266. package/dist/slash-commands/helpers.d.ts +33 -0
  267. package/dist/slash-commands/helpers.d.ts.map +1 -0
  268. package/dist/slash-commands/hq.d.ts +4 -0
  269. package/dist/slash-commands/hq.d.ts.map +1 -0
  270. package/dist/slash-commands/index.d.ts +524 -0
  271. package/dist/slash-commands/index.d.ts.map +1 -0
  272. package/dist/slash-commands/init.d.ts +4 -0
  273. package/dist/slash-commands/init.d.ts.map +1 -0
  274. package/dist/slash-commands/interrupt.d.ts +15 -0
  275. package/dist/slash-commands/interrupt.d.ts.map +1 -0
  276. package/dist/slash-commands/kanban.d.ts +4 -0
  277. package/dist/slash-commands/kanban.d.ts.map +1 -0
  278. package/dist/slash-commands/mailbox-demo.d.ts +19 -0
  279. package/dist/slash-commands/mailbox-demo.d.ts.map +1 -0
  280. package/dist/slash-commands/mailbox-serve.d.ts +20 -0
  281. package/dist/slash-commands/mailbox-serve.d.ts.map +1 -0
  282. package/dist/slash-commands/mailbox.d.ts +28 -0
  283. package/dist/slash-commands/mailbox.d.ts.map +1 -0
  284. package/dist/slash-commands/mcp-utils.d.ts +24 -0
  285. package/dist/slash-commands/mcp-utils.d.ts.map +1 -0
  286. package/dist/slash-commands/mcp.d.ts +19 -0
  287. package/dist/slash-commands/mcp.d.ts.map +1 -0
  288. package/dist/slash-commands/memory.d.ts +4 -0
  289. package/dist/slash-commands/memory.d.ts.map +1 -0
  290. package/dist/slash-commands/mode.d.ts +6 -0
  291. package/dist/slash-commands/mode.d.ts.map +1 -0
  292. package/dist/slash-commands/modelcaps.d.ts +4 -0
  293. package/dist/slash-commands/modelcaps.d.ts.map +1 -0
  294. package/dist/slash-commands/models.d.ts +23 -0
  295. package/dist/slash-commands/models.d.ts.map +1 -0
  296. package/dist/slash-commands/mouse.d.ts +14 -0
  297. package/dist/slash-commands/mouse.d.ts.map +1 -0
  298. package/dist/slash-commands/next.d.ts +21 -0
  299. package/dist/slash-commands/next.d.ts.map +1 -0
  300. package/dist/slash-commands/plugin.d.ts +4 -0
  301. package/dist/slash-commands/plugin.d.ts.map +1 -0
  302. package/dist/slash-commands/project-utils.d.ts +51 -0
  303. package/dist/slash-commands/project-utils.d.ts.map +1 -0
  304. package/dist/slash-commands/project.d.ts +4 -0
  305. package/dist/slash-commands/project.d.ts.map +1 -0
  306. package/dist/slash-commands/prune.d.ts +4 -0
  307. package/dist/slash-commands/prune.d.ts.map +1 -0
  308. package/dist/slash-commands/review.d.ts +4 -0
  309. package/dist/slash-commands/review.d.ts.map +1 -0
  310. package/dist/slash-commands/sdd/project-context.d.ts +7 -0
  311. package/dist/slash-commands/sdd/project-context.d.ts.map +1 -0
  312. package/dist/slash-commands/sdd/rendering.d.ts +2 -0
  313. package/dist/slash-commands/sdd/rendering.d.ts.map +1 -0
  314. package/dist/slash-commands/sdd/spec-detection.d.ts +21 -0
  315. package/dist/slash-commands/sdd/spec-detection.d.ts.map +1 -0
  316. package/dist/slash-commands/sdd/state.d.ts +40 -0
  317. package/dist/slash-commands/sdd/state.d.ts.map +1 -0
  318. package/dist/slash-commands/sdd/task-manager.d.ts +37 -0
  319. package/dist/slash-commands/sdd/task-manager.d.ts.map +1 -0
  320. package/dist/slash-commands/sdd.d.ts +15 -0
  321. package/dist/slash-commands/sdd.d.ts.map +1 -0
  322. package/dist/slash-commands/security.d.ts +4 -0
  323. package/dist/slash-commands/security.d.ts.map +1 -0
  324. package/dist/slash-commands/session.d.ts +7 -0
  325. package/dist/slash-commands/session.d.ts.map +1 -0
  326. package/dist/slash-commands/setmodel.d.ts +20 -0
  327. package/dist/slash-commands/setmodel.d.ts.map +1 -0
  328. package/dist/slash-commands/settings.d.ts +12 -0
  329. package/dist/slash-commands/settings.d.ts.map +1 -0
  330. package/dist/slash-commands/shadow.d.ts +28 -0
  331. package/dist/slash-commands/shadow.d.ts.map +1 -0
  332. package/dist/slash-commands/slash-deep-help.d.ts +51 -0
  333. package/dist/slash-commands/slash-deep-help.d.ts.map +1 -0
  334. package/dist/slash-commands/spawn-agents.d.ts +6 -0
  335. package/dist/slash-commands/spawn-agents.d.ts.map +1 -0
  336. package/dist/slash-commands/statusline.d.ts +67 -0
  337. package/dist/slash-commands/statusline.d.ts.map +1 -0
  338. package/dist/slash-commands/suggest.d.ts +4 -0
  339. package/dist/slash-commands/suggest.d.ts.map +1 -0
  340. package/dist/slash-commands/suggestion-store.d.ts +29 -0
  341. package/dist/slash-commands/suggestion-store.d.ts.map +1 -0
  342. package/dist/slash-commands/supervisor.d.ts +18 -0
  343. package/dist/slash-commands/supervisor.d.ts.map +1 -0
  344. package/dist/slash-commands/surfaces.d.ts +4 -0
  345. package/dist/slash-commands/surfaces.d.ts.map +1 -0
  346. package/dist/slash-commands/tasks.d.ts +4 -0
  347. package/dist/slash-commands/tasks.d.ts.map +1 -0
  348. package/dist/slash-commands/techstack.d.ts +4 -0
  349. package/dist/slash-commands/techstack.d.ts.map +1 -0
  350. package/dist/slash-commands/telegram-settings.d.ts +4 -0
  351. package/dist/slash-commands/telegram-settings.d.ts.map +1 -0
  352. package/dist/slash-commands/telegram-setup.d.ts +11 -0
  353. package/dist/slash-commands/telegram-setup.d.ts.map +1 -0
  354. package/dist/slash-commands/todos.d.ts +4 -0
  355. package/dist/slash-commands/todos.d.ts.map +1 -0
  356. package/dist/slash-commands/tool.d.ts +4 -0
  357. package/dist/slash-commands/tool.d.ts.map +1 -0
  358. package/dist/slash-commands/tools.d.ts +4 -0
  359. package/dist/slash-commands/tools.d.ts.map +1 -0
  360. package/dist/slash-commands/tuneup.d.ts +15 -0
  361. package/dist/slash-commands/tuneup.d.ts.map +1 -0
  362. package/dist/slash-commands/working-dir.d.ts +14 -0
  363. package/dist/slash-commands/working-dir.d.ts.map +1 -0
  364. package/dist/slash-commands/worktree.d.ts +8 -0
  365. package/dist/slash-commands/worktree.d.ts.map +1 -0
  366. package/dist/slash-commands/yolo.d.ts +4 -0
  367. package/dist/slash-commands/yolo.d.ts.map +1 -0
  368. package/dist/spinner.d.ts +44 -0
  369. package/dist/spinner.d.ts.map +1 -0
  370. package/dist/subcommands/handlers/acp.d.ts +15 -0
  371. package/dist/subcommands/handlers/acp.d.ts.map +1 -0
  372. package/dist/subcommands/handlers/audit.d.ts +12 -0
  373. package/dist/subcommands/handlers/audit.d.ts.map +1 -0
  374. package/dist/subcommands/handlers/auth-local-help.d.ts +69 -0
  375. package/dist/subcommands/handlers/auth-local-help.d.ts.map +1 -0
  376. package/dist/subcommands/handlers/auth.d.ts +3 -0
  377. package/dist/subcommands/handlers/auth.d.ts.map +1 -0
  378. package/dist/subcommands/handlers/bench-run-help.d.ts +145 -0
  379. package/dist/subcommands/handlers/bench-run-help.d.ts.map +1 -0
  380. package/dist/subcommands/handlers/bench.d.ts +13 -0
  381. package/dist/subcommands/handlers/bench.d.ts.map +1 -0
  382. package/dist/subcommands/handlers/config-history.d.ts +10 -0
  383. package/dist/subcommands/handlers/config-history.d.ts.map +1 -0
  384. package/dist/subcommands/handlers/diag-doctor.d.ts +4 -0
  385. package/dist/subcommands/handlers/diag-doctor.d.ts.map +1 -0
  386. package/dist/subcommands/handlers/export.d.ts +3 -0
  387. package/dist/subcommands/handlers/export.d.ts.map +1 -0
  388. package/dist/subcommands/handlers/helpers.d.ts +2 -0
  389. package/dist/subcommands/handlers/helpers.d.ts.map +1 -0
  390. package/dist/subcommands/handlers/hq.d.ts +3 -0
  391. package/dist/subcommands/handlers/hq.d.ts.map +1 -0
  392. package/dist/subcommands/handlers/init.d.ts +7 -0
  393. package/dist/subcommands/handlers/init.d.ts.map +1 -0
  394. package/dist/subcommands/handlers/mailbox-serve.d.ts +3 -0
  395. package/dist/subcommands/handlers/mailbox-serve.d.ts.map +1 -0
  396. package/dist/subcommands/handlers/mcp.d.ts +3 -0
  397. package/dist/subcommands/handlers/mcp.d.ts.map +1 -0
  398. package/dist/subcommands/handlers/modeldiag.d.ts +3 -0
  399. package/dist/subcommands/handlers/modeldiag.d.ts.map +1 -0
  400. package/dist/subcommands/handlers/models-add-help.d.ts +142 -0
  401. package/dist/subcommands/handlers/models-add-help.d.ts.map +1 -0
  402. package/dist/subcommands/handlers/per-subcommand-help.d.ts +136 -0
  403. package/dist/subcommands/handlers/per-subcommand-help.d.ts.map +1 -0
  404. package/dist/subcommands/handlers/plugin-usage.d.ts +4 -0
  405. package/dist/subcommands/handlers/plugin-usage.d.ts.map +1 -0
  406. package/dist/subcommands/handlers/projects.d.ts +3 -0
  407. package/dist/subcommands/handlers/projects.d.ts.map +1 -0
  408. package/dist/subcommands/handlers/providers-models.d.ts +4 -0
  409. package/dist/subcommands/handlers/providers-models.d.ts.map +1 -0
  410. package/dist/subcommands/handlers/quick.d.ts +14 -0
  411. package/dist/subcommands/handlers/quick.d.ts.map +1 -0
  412. package/dist/subcommands/handlers/replay.d.ts +12 -0
  413. package/dist/subcommands/handlers/replay.d.ts.map +1 -0
  414. package/dist/subcommands/handlers/rewind.d.ts +3 -0
  415. package/dist/subcommands/handlers/rewind.d.ts.map +1 -0
  416. package/dist/subcommands/handlers/sessions-config.d.ts +4 -0
  417. package/dist/subcommands/handlers/sessions-config.d.ts.map +1 -0
  418. package/dist/subcommands/handlers/sessions-fleet.d.ts +15 -0
  419. package/dist/subcommands/handlers/sessions-fleet.d.ts.map +1 -0
  420. package/dist/subcommands/handlers/tools-skills.d.ts +4 -0
  421. package/dist/subcommands/handlers/tools-skills.d.ts.map +1 -0
  422. package/dist/subcommands/handlers/update.d.ts +7 -0
  423. package/dist/subcommands/handlers/update.d.ts.map +1 -0
  424. package/dist/subcommands/handlers/version-help.d.ts +4 -0
  425. package/dist/subcommands/handlers/version-help.d.ts.map +1 -0
  426. package/dist/subcommands/index.d.ts +26 -0
  427. package/dist/subcommands/index.d.ts.map +1 -0
  428. package/dist/theme.d.ts +12 -0
  429. package/dist/theme.d.ts.map +1 -0
  430. package/dist/tui-thinking-word.d.ts +5 -0
  431. package/dist/tui-thinking-word.d.ts.map +1 -0
  432. package/dist/tuneup.d.ts +162 -0
  433. package/dist/tuneup.d.ts.map +1 -0
  434. package/dist/update-check.d.ts +22 -0
  435. package/dist/update-check.d.ts.map +1 -0
  436. package/dist/utils/delay-format.d.ts +5 -0
  437. package/dist/utils/delay-format.d.ts.map +1 -0
  438. package/dist/utils/win32-cmd.d.ts +7 -0
  439. package/dist/utils/win32-cmd.d.ts.map +1 -0
  440. package/dist/utils.d.ts +58 -0
  441. package/dist/utils.d.ts.map +1 -0
  442. package/dist/version.d.ts +4 -0
  443. package/dist/version.d.ts.map +1 -0
  444. package/dist/webui-server/client-registration.d.ts +41 -0
  445. package/dist/webui-server/client-registration.d.ts.map +1 -0
  446. package/dist/webui-server/connection-handler.d.ts +59 -0
  447. package/dist/webui-server/connection-handler.d.ts.map +1 -0
  448. package/dist/webui-server/context-breakdown.d.ts +57 -0
  449. package/dist/webui-server/context-breakdown.d.ts.map +1 -0
  450. package/dist/webui-server/cost-helpers.d.ts +29 -0
  451. package/dist/webui-server/cost-helpers.d.ts.map +1 -0
  452. package/dist/webui-server/lifecycle.d.ts +108 -0
  453. package/dist/webui-server/lifecycle.d.ts.map +1 -0
  454. package/dist/webui-server/logger-shim.d.ts +10 -0
  455. package/dist/webui-server/logger-shim.d.ts.map +1 -0
  456. package/dist/webui-server/message-router.d.ts +39 -0
  457. package/dist/webui-server/message-router.d.ts.map +1 -0
  458. package/dist/webui-server/prefs-seeding.d.ts +57 -0
  459. package/dist/webui-server/prefs-seeding.d.ts.map +1 -0
  460. package/dist/webui-server/provider-config.d.ts +61 -0
  461. package/dist/webui-server/provider-config.d.ts.map +1 -0
  462. package/dist/webui-server/session-start-payload.d.ts +20 -0
  463. package/dist/webui-server/session-start-payload.d.ts.map +1 -0
  464. package/dist/webui-server/session-status-poll.d.ts +14 -0
  465. package/dist/webui-server/session-status-poll.d.ts.map +1 -0
  466. package/dist/webui-server/setup-events.d.ts +45 -0
  467. package/dist/webui-server/setup-events.d.ts.map +1 -0
  468. package/dist/webui-server/static-serve.d.ts +70 -0
  469. package/dist/webui-server/static-serve.d.ts.map +1 -0
  470. package/dist/webui-server/stream-coalescer.d.ts +41 -0
  471. package/dist/webui-server/stream-coalescer.d.ts.map +1 -0
  472. package/dist/webui-server/ws-handlers/agent-config.d.ts +47 -0
  473. package/dist/webui-server/ws-handlers/agent-config.d.ts.map +1 -0
  474. package/dist/webui-server/ws-handlers/brain.d.ts +36 -0
  475. package/dist/webui-server/ws-handlers/brain.d.ts.map +1 -0
  476. package/dist/webui-server/ws-handlers/connection.d.ts +50 -0
  477. package/dist/webui-server/ws-handlers/connection.d.ts.map +1 -0
  478. package/dist/webui-server/ws-handlers/context.d.ts +55 -0
  479. package/dist/webui-server/ws-handlers/context.d.ts.map +1 -0
  480. package/dist/webui-server/ws-handlers/index.d.ts +60 -0
  481. package/dist/webui-server/ws-handlers/index.d.ts.map +1 -0
  482. package/dist/webui-server/ws-handlers/introspection.d.ts +35 -0
  483. package/dist/webui-server/ws-handlers/introspection.d.ts.map +1 -0
  484. package/dist/webui-server/ws-handlers/kanban.d.ts +41 -0
  485. package/dist/webui-server/ws-handlers/kanban.d.ts.map +1 -0
  486. package/dist/webui-server/ws-handlers/mailbox.d.ts +51 -0
  487. package/dist/webui-server/ws-handlers/mailbox.d.ts.map +1 -0
  488. package/dist/webui-server/ws-handlers/oauth.d.ts +16 -0
  489. package/dist/webui-server/ws-handlers/oauth.d.ts.map +1 -0
  490. package/dist/webui-server/ws-handlers/prefs.d.ts +32 -0
  491. package/dist/webui-server/ws-handlers/prefs.d.ts.map +1 -0
  492. package/dist/webui-server/ws-handlers/process.d.ts +6 -0
  493. package/dist/webui-server/ws-handlers/process.d.ts.map +1 -0
  494. package/dist/webui-server/ws-handlers/projects.d.ts +44 -0
  495. package/dist/webui-server/ws-handlers/projects.d.ts.map +1 -0
  496. package/dist/webui-server/ws-handlers/providers.d.ts +36 -0
  497. package/dist/webui-server/ws-handlers/providers.d.ts.map +1 -0
  498. package/dist/webui-server/ws-handlers/sessions.d.ts +38 -0
  499. package/dist/webui-server/ws-handlers/sessions.d.ts.map +1 -0
  500. package/dist/webui-server/ws-handlers/worklist.d.ts +49 -0
  501. package/dist/webui-server/ws-handlers/worklist.d.ts.map +1 -0
  502. package/dist/webui-server.d.ts +160 -0
  503. package/dist/webui-server.d.ts.map +1 -0
  504. package/dist/wiring/brain-and-orchestration.d.ts +63 -0
  505. package/dist/wiring/brain-and-orchestration.d.ts.map +1 -0
  506. package/dist/wiring/codebase-index.d.ts +33 -0
  507. package/dist/wiring/codebase-index.d.ts.map +1 -0
  508. package/dist/wiring/controllers.d.ts +46 -0
  509. package/dist/wiring/controllers.d.ts.map +1 -0
  510. package/dist/wiring/dep-watcher.d.ts +23 -0
  511. package/dist/wiring/dep-watcher.d.ts.map +1 -0
  512. package/dist/wiring/design-studio.d.ts +17 -0
  513. package/dist/wiring/design-studio.d.ts.map +1 -0
  514. package/dist/wiring/director-setup.d.ts +51 -0
  515. package/dist/wiring/director-setup.d.ts.map +1 -0
  516. package/dist/wiring/hq-telemetry.d.ts +42 -0
  517. package/dist/wiring/hq-telemetry.d.ts.map +1 -0
  518. package/dist/wiring/lifecycle-plugins.d.ts +58 -0
  519. package/dist/wiring/lifecycle-plugins.d.ts.map +1 -0
  520. package/dist/wiring/mailbox-bridge-bootstrap.d.ts +53 -0
  521. package/dist/wiring/mailbox-bridge-bootstrap.d.ts.map +1 -0
  522. package/dist/wiring/metrics.d.ts +21 -0
  523. package/dist/wiring/metrics.d.ts.map +1 -0
  524. package/dist/wiring/pipeline.d.ts +96 -0
  525. package/dist/wiring/pipeline.d.ts.map +1 -0
  526. package/dist/wiring/plugins.d.ts +108 -0
  527. package/dist/wiring/plugins.d.ts.map +1 -0
  528. package/dist/wiring/provider-runtime-setup.d.ts +47 -0
  529. package/dist/wiring/provider-runtime-setup.d.ts.map +1 -0
  530. package/dist/wiring/provider-runtime.d.ts +57 -0
  531. package/dist/wiring/provider-runtime.d.ts.map +1 -0
  532. package/dist/wiring/provider.d.ts +13 -0
  533. package/dist/wiring/provider.d.ts.map +1 -0
  534. package/dist/wiring/replay.d.ts +32 -0
  535. package/dist/wiring/replay.d.ts.map +1 -0
  536. package/dist/wiring/session.d.ts +56 -0
  537. package/dist/wiring/session.d.ts.map +1 -0
  538. package/dist/wiring/slash-commands.d.ts +74 -0
  539. package/dist/wiring/slash-commands.d.ts.map +1 -0
  540. package/dist/wiring/super-memory.d.ts +9 -0
  541. package/dist/wiring/super-memory.d.ts.map +1 -0
  542. package/dist/wiring/to-execute-deps.d.ts +11 -0
  543. package/dist/wiring/to-execute-deps.d.ts.map +1 -0
  544. package/dist/wiring/tools.d.ts +41 -0
  545. package/dist/wiring/tools.d.ts.map +1 -0
  546. package/package.json +20 -20
@@ -0,0 +1,28 @@
1
+ /**
2
+ * `/mailbox` — the human operator's window into the project-level
3
+ * inter-agent mailbox.
4
+ *
5
+ * Every terminal/TUI/WebUI working on the same project shares one
6
+ * GlobalMailbox under `~/.wrongstack/projects/<slug>/_mailbox.jsonl`.
7
+ * Agents read it automatically each iteration (mailbox-loop) and can
8
+ * write via the `mailbox` tool; this command gives the USER the same
9
+ * powers — see who is online, read the inbox, message a specific agent,
10
+ * or broadcast to everyone.
11
+ *
12
+ * The command acts under THIS process's leader identity
13
+ * (`leader@<sessionTag>`, session-bound), so messages you send
14
+ * here are attributed to the same agent your conversation runs as, and
15
+ * replies addressed to it land in your agent's next iteration.
16
+ *
17
+ * Usage:
18
+ * /mailbox — inbox (unread for this leader)
19
+ * /mailbox agents — all registered agents on the project
20
+ * /mailbox online — only agents with a live heartbeat
21
+ * /mailbox send <id> [type=<t>] <message> — direct message an agent (type is one of note/ask/assign/steer/btw/broadcast/status/result/review)
22
+ * /mailbox broadcast <message> — message every agent ('*')
23
+ * /mailbox history [n] — last n messages on the project (default 20)
24
+ */
25
+ import { type SlashCommand } from '@wrongstack/core';
26
+ import type { SlashCommandContext } from './index.js';
27
+ export declare function buildMailboxCommand(opts: SlashCommandContext): SlashCommand;
28
+ //# sourceMappingURL=mailbox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mailbox.d.ts","sourceRoot":"","sources":["../../src/slash-commands/mailbox.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,EASL,KAAK,YAAY,EAElB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAkJtD,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAuO3E"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * MCP management command utilities.
3
+ * Contains the argument parser and the actual management logic shared between
4
+ * the CLI subcommand handler (packages/cli/src/subcommands/handlers/mcp.ts)
5
+ * and the slash-command wiring in index.ts.
6
+ */
7
+ import type { Config, MCPServerConfig } from '@wrongstack/core';
8
+ import type { MCPRegistry } from '@wrongstack/mcp';
9
+ export interface McpParsedArgs {
10
+ action: 'list' | 'add' | 'remove' | 'enable' | 'disable' | 'restart';
11
+ name: string;
12
+ enable?: boolean | undefined;
13
+ }
14
+ /** Parse "/mcp add github --enable" style args. Returns null on unknown/missing subcommand. */
15
+ export declare function parseMcpArgs(args: string): McpParsedArgs | null;
16
+ interface McpManagementDeps {
17
+ config: Config;
18
+ configPath: string;
19
+ mcpRegistry: MCPRegistry;
20
+ allServerPresets: Record<string, MCPServerConfig>;
21
+ }
22
+ export declare function runMcpManagementCommand(parsed: McpParsedArgs, deps: McpManagementDeps): Promise<string>;
23
+ export {};
24
+ //# sourceMappingURL=mcp-utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mcp-utils.d.ts","sourceRoot":"","sources":["../../src/slash-commands/mcp-utils.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAQhE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACnD,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,MAAM,GAAG,KAAK,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAC;IACrE,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC9B;AAED,+FAA+F;AAC/F,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,aAAa,GAAG,IAAI,CAuB/D;AAED,UAAU,iBAAiB;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,WAAW,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;CACnD;AAED,wBAAsB,uBAAuB,CAC3C,MAAM,EAAE,aAAa,EACrB,IAAI,EAAE,iBAAiB,GACtB,OAAO,CAAC,MAAM,CAAC,CAiCjB"}
@@ -0,0 +1,19 @@
1
+ import type { SlashCommand } from '@wrongstack/core';
2
+ import type { SlashCommandContext } from './index.js';
3
+ export type { McpParsedArgs } from './mcp-utils.js';
4
+ export { parseMcpArgs, runMcpManagementCommand } from './mcp-utils.js';
5
+ /**
6
+ * /mcp slash command — manage MCP servers from the REPL.
7
+ *
8
+ * Usage:
9
+ * /mcp — open interactive server picker (TUI) or list servers
10
+ * /mcp list — list all available and configured servers
11
+ * /mcp add <name> — add server preset to config (disabled by default)
12
+ * /mcp add <name> --enable — add and immediately enable
13
+ * /mcp remove <name> — remove server from config
14
+ * /mcp enable <name> — enable server in config + start it
15
+ * /mcp disable <name> — disable server in config + stop it
16
+ * /mcp restart <name> — stop and restart a running server
17
+ */
18
+ export declare function buildMcpSlashCommand(opts: SlashCommandContext): SlashCommand;
19
+ //# sourceMappingURL=mcp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mcp.d.ts","sourceRoot":"","sources":["../../src/slash-commands/mcp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEtD,YAAY,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEpD,OAAO,EAAE,YAAY,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AAEvE;;;;;;;;;;;;GAYG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAwC5E"}
@@ -0,0 +1,4 @@
1
+ import type { SlashCommand } from '@wrongstack/core';
2
+ import type { SlashCommandContext } from './index.js';
3
+ export declare function buildMemoryCommand(opts: SlashCommandContext): SlashCommand;
4
+ //# sourceMappingURL=memory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"memory.d.ts","sourceRoot":"","sources":["../../src/slash-commands/memory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AActD,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAqI1E"}
@@ -0,0 +1,6 @@
1
+ import type { ModeStore, SlashCommand } from '@wrongstack/core';
2
+ import type { SlashCommandContext } from './index.js';
3
+ export declare function buildModeCommand(opts: SlashCommandContext & {
4
+ modeStore?: ModeStore | undefined;
5
+ }): SlashCommand;
6
+ //# sourceMappingURL=mode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mode.d.ts","sourceRoot":"","sources":["../../src/slash-commands/mode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAqB,SAAS,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEnF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAqDtD,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,mBAAmB,GAAG;IAAE,SAAS,CAAC,EAAE,SAAS,GAAG,SAAS,CAAA;CAAE,GAChE,YAAY,CAyEd"}
@@ -0,0 +1,4 @@
1
+ import type { SlashCommand } from '@wrongstack/core';
2
+ import type { SlashCommandContext } from './index.js';
3
+ export declare function buildModelCapsCommand(opts: SlashCommandContext): SlashCommand;
4
+ //# sourceMappingURL=modelcaps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modelcaps.d.ts","sourceRoot":"","sources":["../../src/slash-commands/modelcaps.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAiDtD,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAmL7E"}
@@ -0,0 +1,23 @@
1
+ import { type SlashCommand } from '@wrongstack/core';
2
+ import type { SlashCommandContext } from './index.js';
3
+ /**
4
+ * `/models` — manage custom model definitions.
5
+ *
6
+ * Subcommands:
7
+ * /models List custom model definitions
8
+ * /models add <id> [flags] Add or update a custom model
9
+ * /models remove <id> Remove a custom model
10
+ *
11
+ * Flags for `add`:
12
+ * --provider <id> Owning provider (optional)
13
+ * --name "Display" Display name
14
+ * --max-context <N> Override max context window
15
+ * --max-output <N> Override max output tokens
16
+ * --tools Mark model as tool-capable
17
+ * --vision Mark model as vision-capable
18
+ * --reasoning Mark model as reasoning-capable
19
+ * --streaming Mark model as supporting streaming
20
+ * --json-mode Mark model as supporting JSON mode
21
+ */
22
+ export declare function buildModelsCommand(opts: SlashCommandContext): SlashCommand;
23
+ //# sourceMappingURL=models.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../src/slash-commands/models.ts"],"names":[],"mappings":"AAEA,OAAO,EAQL,KAAK,YAAY,EAElB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAmItD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAqI1E"}
@@ -0,0 +1,14 @@
1
+ import type { SlashCommand } from '@wrongstack/core';
2
+ import type { SlashCommandContext } from './index.js';
3
+ /**
4
+ * `/mouse` — toggle "full mouse mode" in the TUI: the chat history is rendered
5
+ * into a managed, in-app-scrolled viewport (wheel + scrollbar + clickable UI)
6
+ * instead of riding the terminal's native scrollback.
7
+ *
8
+ * The command is intentionally stateless: it doesn't hold the live value (which
9
+ * lives in the App's `mouseMode` state). It emits an intent via `metadata`, and
10
+ * the TUI App resolves it against its own state, persists the setting, and
11
+ * prints the resulting status. Outside the TUI the metadata is simply ignored.
12
+ */
13
+ export declare function buildMouseCommand(_opts: SlashCommandContext): SlashCommand;
14
+ //# sourceMappingURL=mouse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mouse.d.ts","sourceRoot":"","sources":["../../src/slash-commands/mouse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEtD;;;;;;;;;GASG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,mBAAmB,GAAG,YAAY,CAkC1E"}
@@ -0,0 +1,21 @@
1
+ import type { SlashCommand } from '@wrongstack/core';
2
+ import type { SlashCommandContext } from './index.js';
3
+ /**
4
+ * `/next` — toggle next-task prediction AND select stored suggestions.
5
+ *
6
+ * Without numeric args: toggles prediction display (existing behavior).
7
+ *
8
+ * With numeric args (`/next 1`, `/next 1 2 3`): selects the corresponding
9
+ * suggestions from the stored list (populated by `/suggest` or by automatic
10
+ * suggestion generation after each turn). Each selected suggestion is
11
+ * injected as the next user message, bypassing refinement/classification.
12
+ *
13
+ * `/next list` shows the current suggestion list.
14
+ *
15
+ * When prediction is enabled, the REPL runs a lightweight single-shot LLM
16
+ * prediction after each completed turn and shows the 1-3 most likely next
17
+ * steps (display-only — nothing is executed). The toggle is persisted to
18
+ * config so it survives restarts.
19
+ */
20
+ export declare function buildNextCommand(opts: SlashCommandContext): SlashCommand;
21
+ //# sourceMappingURL=next.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"next.d.ts","sourceRoot":"","sources":["../../src/slash-commands/next.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAGtD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CA8FxE"}
@@ -0,0 +1,4 @@
1
+ import type { SlashCommand } from '@wrongstack/core';
2
+ import type { SlashCommandContext } from './index.js';
3
+ export declare function buildPluginCommand(opts: SlashCommandContext): SlashCommand;
4
+ //# sourceMappingURL=plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../src/slash-commands/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEtD,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAgD1E"}
@@ -0,0 +1,51 @@
1
+ export interface ProjectEntry {
2
+ /** User-friendly name (defaults to dirname, can be renamed). */
3
+ name: string;
4
+ /** Absolute path to the project root. */
5
+ root: string;
6
+ /** Stable unique slug (dirname-hash) for per-project data storage. */
7
+ slug: string;
8
+ /** ISO timestamp of last use. */
9
+ lastSeen?: string | undefined;
10
+ /** ISO timestamp of when the project was first registered. */
11
+ createdAt?: string | undefined;
12
+ /** Working directory of the most recent session (may differ from root). */
13
+ lastWorkingDir?: string | undefined;
14
+ }
15
+ export interface ProjectsManifest {
16
+ projects: ProjectEntry[];
17
+ }
18
+ export declare function loadManifest(globalConfigPath?: string | undefined): Promise<ProjectsManifest>;
19
+ export declare function saveManifest(manifest: ProjectsManifest, globalConfigPath?: string | undefined): Promise<void>;
20
+ /**
21
+ * Generate a unique slug from a project root path.
22
+ */
23
+ export declare function generateSlug(root: string): string;
24
+ /**
25
+ * Find a project entry by slug, name, or root (partial match).
26
+ */
27
+ export declare function findProject(manifest: ProjectsManifest, query: string): ProjectEntry | undefined;
28
+ /**
29
+ * Ensure the per-project data directory exists under ~/.wrongstack/projects/<slug>/.
30
+ */
31
+ export declare function ensureProjectDataDir(slug: string, globalConfigPath?: string | undefined): Promise<string>;
32
+ /**
33
+ * Idempotent project registration: ensure `projectRoot` has an entry in
34
+ * projects.json, creating one when missing and refreshing `lastSeen` /
35
+ * `lastWorkingDir` when present. Returns the (created or updated) entry.
36
+ *
37
+ * Every surface that opens a project (CLI/TUI boot, standalone WebUI boot,
38
+ * WebUI projects.select) funnels through this so the manifest is the single
39
+ * source of truth for "which projects exist" regardless of entry point.
40
+ * Concurrent processes booting on the same machine serialize via a file
41
+ * lock around the read-modify-write.
42
+ */
43
+ export declare function touchProjectInManifest(opts: {
44
+ projectRoot: string;
45
+ globalConfigPath?: string | undefined;
46
+ /** Working dir of this session when it differs from the root. */
47
+ workingDir?: string | undefined;
48
+ /** Friendly name for a NEWLY created entry (default: basename). */
49
+ name?: string | undefined;
50
+ }): Promise<ProjectEntry>;
51
+ //# sourceMappingURL=project-utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"project-utils.d.ts","sourceRoot":"","sources":["../../src/slash-commands/project-utils.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,YAAY;IAC3B,gEAAgE;IAChE,IAAI,EAAE,MAAM,CAAC;IACb,yCAAyC;IACzC,IAAI,EAAE,MAAM,CAAC;IACb,sEAAsE;IACtE,IAAI,EAAE,MAAM,CAAC;IACb,iCAAiC;IACjC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,8DAA8D;IAC9D,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,2EAA2E;IAC3E,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC;AAED,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,YAAY,EAAE,CAAC;CAC1B;AAgBD,wBAAsB,YAAY,CAChC,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,GACpC,OAAO,CAAC,gBAAgB,CAAC,CAS3B;AAED,wBAAsB,YAAY,CAChC,QAAQ,EAAE,gBAAgB,EAC1B,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,GACpC,OAAO,CAAC,IAAI,CAAC,CAIf;AAID;;GAEG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAUjD;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,QAAQ,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,GAAG,YAAY,GAAG,SAAS,CAc/F;AAED;;GAEG;AACH,wBAAsB,oBAAoB,CACxC,IAAI,EAAE,MAAM,EACZ,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,GACpC,OAAO,CAAC,MAAM,CAAC,CAIjB;AAED;;;;;;;;;;GAUG;AACH,wBAAsB,sBAAsB,CAAC,IAAI,EAAE;IACjD,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,iEAAiE;IACjE,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,mEAAmE;IACnE,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B,GAAG,OAAO,CAAC,YAAY,CAAC,CA0BxB"}
@@ -0,0 +1,4 @@
1
+ import type { SlashCommand } from '@wrongstack/core';
2
+ import type { SlashCommandContext } from './index.js';
3
+ export declare function buildProjectCommand(opts: SlashCommandContext): SlashCommand;
4
+ //# sourceMappingURL=project.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../../src/slash-commands/project.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAW,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAG9D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AA4BtD,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CA0G3E"}
@@ -0,0 +1,4 @@
1
+ import type { SlashCommand } from '@wrongstack/core';
2
+ import type { SlashCommandContext } from './index.js';
3
+ export declare function buildPruneCommand(opts: SlashCommandContext): SlashCommand;
4
+ //# sourceMappingURL=prune.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prune.d.ts","sourceRoot":"","sources":["../../src/slash-commands/prune.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEtD,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAoFzE"}
@@ -0,0 +1,4 @@
1
+ import type { SlashCommand } from '@wrongstack/core';
2
+ import type { SlashCommandContext } from './index.js';
3
+ export declare function buildReviewCommand(opts: SlashCommandContext): SlashCommand;
4
+ //# sourceMappingURL=review.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"review.d.ts","sourceRoot":"","sources":["../../src/slash-commands/review.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAW,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAuCtD,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CA+F1E"}
@@ -0,0 +1,7 @@
1
+ import type { AISpecBuilder, AISpecPhase, SpecStore } from '@wrongstack/sdd';
2
+ export declare function getActiveBuilder(): AISpecBuilder | null;
3
+ export declare function getActiveSDDContext(): string | null;
4
+ export declare function getActiveSDDPhase(): AISpecPhase | null;
5
+ export declare function findSpec(store: SpecStore, idOrTitle: string): Promise<import("@wrongstack/core").Specification | null>;
6
+ export declare function gatherProjectContext(projectRoot: string): Promise<string>;
7
+ //# sourceMappingURL=project-context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"project-context.d.ts","sourceRoot":"","sources":["../../../src/slash-commands/sdd/project-context.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAkB,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAG7F,wBAAgB,gBAAgB,IAAI,aAAa,GAAG,IAAI,CAEvD;AAED,wBAAgB,mBAAmB,IAAI,MAAM,GAAG,IAAI,CAEnD;AAED,wBAAgB,iBAAiB,IAAI,WAAW,GAAG,IAAI,CAEtD;AAED,wBAAsB,QAAQ,CAAC,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,4DAWjE;AAED,wBAAsB,oBAAoB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAyC/E"}
@@ -0,0 +1,2 @@
1
+ export declare function sddHelp(): string;
2
+ //# sourceMappingURL=rendering.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rendering.d.ts","sourceRoot":"","sources":["../../../src/slash-commands/sdd/rendering.ts"],"names":[],"mappings":"AAAA,wBAAgB,OAAO,IAAI,MAAM,CA8FhC"}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Returns true if the text looks like conversational/explanatory output
3
+ * rather than a structured implementation plan.
4
+ */
5
+ export declare function isExplanatoryText(text: string): boolean;
6
+ /**
7
+ * Parse a spec from AI output text and save it to the active session.
8
+ * Returns true if a spec was found and saved.
9
+ */
10
+ export declare function trySaveSpecFromAIOutput(aiOutput: string): Promise<boolean>;
11
+ /**
12
+ * Try to save implementation plan from AI output during implementation phase.
13
+ * Returns true if a plan was saved.
14
+ */
15
+ export declare function trySaveImplementationPlan(aiOutput: string): boolean;
16
+ /**
17
+ * Auto-detect task completion patterns in AI output and mark tasks.
18
+ * Returns the number of tasks marked as completed.
19
+ */
20
+ export declare function autoDetectTaskCompletion(aiOutput: string): number;
21
+ //# sourceMappingURL=spec-detection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spec-detection.d.ts","sourceRoot":"","sources":["../../../src/slash-commands/sdd/spec-detection.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAkBvD;AAED;;;GAGG;AACH,wBAAsB,uBAAuB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAOhF;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CA4BnE;AAED;;;GAGG;AACH,wBAAgB,wBAAwB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAgFjE"}
@@ -0,0 +1,40 @@
1
+ import { type AISpecBuilder, type AISpecPhase, type DefaultTaskStore, SpecVersioning, type TaskTracker } from '@wrongstack/sdd';
2
+ import type { SlashCommandContext } from '../index.js';
3
+ /** Key used to store SDD session state in ctx.meta for session isolation. */
4
+ export declare const SDD_META_KEY = "sdd.state";
5
+ /** Single shared SDD session state for the process lifetime. */
6
+ export declare class SDDState {
7
+ private builder;
8
+ private taskStore;
9
+ private taskTracker;
10
+ private taskGraphId;
11
+ private sessionStartTime;
12
+ private phaseStartTime;
13
+ private versioning;
14
+ getBuilder(): AISpecBuilder | null;
15
+ setBuilder(b: AISpecBuilder | null): void;
16
+ getTaskStore(): DefaultTaskStore | null;
17
+ setTaskStore(s: DefaultTaskStore | null): void;
18
+ getTaskTracker(): TaskTracker | null;
19
+ setTaskTracker(t: TaskTracker | null): void;
20
+ getTaskGraphId(): string | null;
21
+ setTaskGraphId(id: string | null): void;
22
+ getSessionStartTime(): number;
23
+ setSessionStartTime(t: number): void;
24
+ setPhaseStartTime(t: number): void;
25
+ getPhaseStartTime(): number;
26
+ getSessionElapsed(): number;
27
+ getPhaseElapsed(): number;
28
+ getVersioning(): SpecVersioning;
29
+ clearTaskState(): void;
30
+ getContext(): string | null;
31
+ getPhase(): AISpecPhase | null;
32
+ }
33
+ /** Process-lifetime singleton — used when no Context is available (CLI single-session mode). */
34
+ export declare const sddState: SDDState;
35
+ /**
36
+ * Get or create the SDD state for the current session.
37
+ * Uses ctx.meta so each concurrent browser/REPL session has isolated state.
38
+ */
39
+ export declare function getSessionState(ctx: SlashCommandContext['context']): SDDState;
40
+ //# sourceMappingURL=state.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../src/slash-commands/sdd/state.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,cAAc,EACd,KAAK,WAAW,EACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAEvD,6EAA6E;AAC7E,eAAO,MAAM,YAAY,cAAc,CAAC;AAExC,gEAAgE;AAChE,qBAAa,QAAQ;IACnB,OAAO,CAAC,OAAO,CAA8B;IAC7C,OAAO,CAAC,SAAS,CAAiC;IAClD,OAAO,CAAC,WAAW,CAA4B;IAC/C,OAAO,CAAC,WAAW,CAAuB;IAC1C,OAAO,CAAC,gBAAgB,CAAsB;IAC9C,OAAO,CAAC,cAAc,CAAsB;IAC5C,OAAO,CAAC,UAAU,CAA+B;IAEjD,UAAU,IAAI,aAAa,GAAG,IAAI,CAEjC;IACD,UAAU,CAAC,CAAC,EAAE,aAAa,GAAG,IAAI,QAEjC;IACD,YAAY,IAAI,gBAAgB,GAAG,IAAI,CAEtC;IACD,YAAY,CAAC,CAAC,EAAE,gBAAgB,GAAG,IAAI,QAEtC;IACD,cAAc,IAAI,WAAW,GAAG,IAAI,CAEnC;IACD,cAAc,CAAC,CAAC,EAAE,WAAW,GAAG,IAAI,QAEnC;IACD,cAAc,IAAI,MAAM,GAAG,IAAI,CAE9B;IACD,cAAc,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,QAE/B;IACD,mBAAmB,IAAI,MAAM,CAE5B;IACD,mBAAmB,CAAC,CAAC,EAAE,MAAM,QAE5B;IACD,iBAAiB,CAAC,CAAC,EAAE,MAAM,QAE1B;IACD,iBAAiB,IAAI,MAAM,CAE1B;IACD,iBAAiB,IAAI,MAAM,CAE1B;IACD,eAAe,IAAI,MAAM,CAExB;IACD,aAAa,IAAI,cAAc,CAG9B;IAED,cAAc,IAAI,IAAI,CAIrB;IAED,UAAU,IAAI,MAAM,GAAG,IAAI,CAK1B;IAED,QAAQ,IAAI,WAAW,GAAG,IAAI,CAE7B;CACF;AAED,gGAAgG;AAChG,eAAO,MAAM,QAAQ,UAAiB,CAAC;AAEvC;;;GAGG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,mBAAmB,CAAC,SAAS,CAAC,GAAG,QAAQ,CAQ7E"}
@@ -0,0 +1,37 @@
1
+ import { type TaskProgress } from '@wrongstack/core';
2
+ import { renderProgress, TaskTracker } from '@wrongstack/sdd';
3
+ export type { TaskProgress };
4
+ export { renderProgress };
5
+ /**
6
+ * Format elapsed milliseconds as a human-readable string.
7
+ */
8
+ export declare function formatElapsed(ms: number): string;
9
+ export declare function trySaveTasksFromAIOutput(aiOutput: string): Promise<boolean>;
10
+ export declare function getTaskProgress(): TaskProgress | null;
11
+ export declare function getCurrentTask(): {
12
+ id: string;
13
+ title: string;
14
+ description: string;
15
+ priority: string;
16
+ estimateHours: number;
17
+ tags: string[];
18
+ startedAt: number | undefined;
19
+ } | null;
20
+ export declare function advanceToNextTask(): boolean;
21
+ export declare function getTaskListText(): string | null;
22
+ export declare function renderTaskListWithProgress(): string | null;
23
+ export declare function getCurrentExecutingContext(): string | null;
24
+ /**
25
+ * Resolve a `/sdd done|skip|fail|review <N|title>` argument to a single task
26
+ * node. Tries a 1-based index into the given (already filtered/sorted) node
27
+ * list first, then a bidirectional case-insensitive title-substring match.
28
+ * Centralizes the matching the four mutation subcommands used to duplicate.
29
+ */
30
+ export declare function matchTaskNode<T extends {
31
+ id: string;
32
+ title: string;
33
+ }>(nodes: T[], query: string): T | null;
34
+ export declare function markTaskCompleted(taskTitle: string): boolean;
35
+ export declare function getTaskGraphId(): string | null;
36
+ export declare function getTaskTrackerExport(): TaskTracker | null;
37
+ //# sourceMappingURL=task-manager.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"task-manager.d.ts","sourceRoot":"","sources":["../../../src/slash-commands/sdd/task-manager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACpE,OAAO,EAAoB,cAAc,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAGhF,YAAY,EAAE,YAAY,EAAE,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,CAAC;AAE1B;;GAEG;AACH,wBAAgB,aAAa,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,CAUhD;AAkBD,wBAAsB,wBAAwB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAqCjF;AAED,wBAAgB,eAAe,IAAI,YAAY,GAAG,IAAI,CAIrD;AAED,wBAAgB,cAAc,IAAI;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;CAC/B,GAAG,IAAI,CAeP;AAED,wBAAgB,iBAAiB,IAAI,OAAO,CAW3C;AAED,wBAAgB,eAAe,IAAI,MAAM,GAAG,IAAI,CAW/C;AAED,wBAAgB,0BAA0B,IAAI,MAAM,GAAG,IAAI,CAuD1D;AAED,wBAAgB,0BAA0B,IAAI,MAAM,GAAG,IAAI,CAc1D;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,EACnE,KAAK,EAAE,CAAC,EAAE,EACV,KAAK,EAAE,MAAM,GACZ,CAAC,GAAG,IAAI,CAaV;AAED,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAY5D;AAED,wBAAgB,cAAc,IAAI,MAAM,GAAG,IAAI,CAE9C;AACD,wBAAgB,oBAAoB,IAAI,WAAW,GAAG,IAAI,CAEzD"}
@@ -0,0 +1,15 @@
1
+ import { type SlashCommand } from '@wrongstack/core';
2
+ import { renderProgress, TaskTracker } from '@wrongstack/sdd';
3
+ import type { SlashCommandContext } from './index.js';
4
+ export type { TaskProgress } from '@wrongstack/core';
5
+ export { findSpec, gatherProjectContext, getActiveBuilder, getActiveSDDContext, getActiveSDDPhase, } from './sdd/project-context.js';
6
+ export { autoDetectTaskCompletion, isExplanatoryText, trySaveImplementationPlan, trySaveSpecFromAIOutput, } from './sdd/spec-detection.js';
7
+ export { getSessionState, SDDState, sddState } from './sdd/state.js';
8
+ export { advanceToNextTask, formatElapsed, getCurrentExecutingContext, getCurrentTask, getTaskGraphId, getTaskListText, getTaskProgress, getTaskTrackerExport, markTaskCompleted, renderTaskListWithProgress, trySaveTasksFromAIOutput, } from './sdd/task-manager.js';
9
+ export { renderProgress };
10
+ export declare function getTaskTracker(): TaskTracker | null;
11
+ /**
12
+ * `/sdd` — AI-driven Specification-Driven Development workflow.
13
+ */
14
+ export declare function buildSddCommand(opts: SlashCommandContext): SlashCommand;
15
+ //# sourceMappingURL=sdd.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sdd.d.ts","sourceRoot":"","sources":["../../src/slash-commands/sdd.ts"],"names":[],"mappings":"AACA,OAAO,EAAiB,KAAK,YAAY,EAAwB,MAAM,kBAAkB,CAAC;AAC1F,OAAO,EAOL,cAAc,EAQd,WAAW,EAEZ,MAAM,iBAAiB,CAAC;AAEzB,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAUtD,YAAY,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EACL,QAAQ,EACR,oBAAoB,EACpB,gBAAgB,EAChB,mBAAmB,EACnB,iBAAiB,GAClB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,wBAAwB,EACxB,iBAAiB,EACjB,yBAAyB,EACzB,uBAAuB,GACxB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACrE,OAAO,EACL,iBAAiB,EACjB,aAAa,EACb,0BAA0B,EAC1B,cAAc,EACd,cAAc,EACd,eAAe,EACf,eAAe,EACf,oBAAoB,EACpB,iBAAiB,EACjB,0BAA0B,EAC1B,wBAAwB,GACzB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,CAAC;AAG1B,wBAAgB,cAAc,IAAI,WAAW,GAAG,IAAI,CAEnD;AAID;;GAEG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAgtCvE"}
@@ -0,0 +1,4 @@
1
+ import type { SlashCommand } from '@wrongstack/core';
2
+ import type { SlashCommandContext } from './index.js';
3
+ export declare function buildSecurityCommand(opts: SlashCommandContext): SlashCommand;
4
+ //# sourceMappingURL=security.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"security.d.ts","sourceRoot":"","sources":["../../src/slash-commands/security.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAGrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAItD,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CA0B5E"}
@@ -0,0 +1,7 @@
1
+ import type { SlashCommand } from '@wrongstack/core';
2
+ import type { SlashCommandContext } from './index.js';
3
+ export declare function isSafeSessionKillPid(pid: number): boolean;
4
+ export declare function buildSaveCommand(_opts: SlashCommandContext): SlashCommand;
5
+ export declare function buildLoadCommand(opts: SlashCommandContext): SlashCommand;
6
+ export declare function buildExitCommand(opts: SlashCommandContext): SlashCommand;
7
+ //# sourceMappingURL=session.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../../src/slash-commands/session.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAmB,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEtE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAsEtD,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAEzD;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,mBAAmB,GAAG,YAAY,CAgBzE;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CA6NxE;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAoBxE"}
@@ -0,0 +1,20 @@
1
+ import { type SlashCommand } from '@wrongstack/core';
2
+ import type { SlashCommandContext } from './index.js';
3
+ /**
4
+ * `/setmodel` — view or change the active leader model and the per-task
5
+ * model matrix. Argument-driven (never blocks on readline) so it behaves
6
+ * identically in the REPL and the TUI. Persists to ~/.wrongstack/config.json.
7
+ *
8
+ * Subcommands:
9
+ * (none) Show leader model, matrix, and a summary of which model each
10
+ * catalog role resolves to.
11
+ * list List keyed providers, their models, and valid matrix keys.
12
+ * leader Set the main (leader / brain) model.
13
+ * set Pin a role, phase, or * to a specific model.
14
+ * clear Remove a matrix entry.
15
+ * resolve Walk the resolution chain for one role and show the result.
16
+ * doctor Validate all matrix entries against available providers and
17
+ * models. Flag orphans, missing providers, and typos.
18
+ */
19
+ export declare function buildSetModelCommand(opts: SlashCommandContext): SlashCommand;
20
+ //# sourceMappingURL=setmodel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setmodel.d.ts","sourceRoot":"","sources":["../../src/slash-commands/setmodel.ts"],"names":[],"mappings":"AAEA,OAAO,EAqBL,KAAK,YAAY,EAClB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAiItD;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAqf5E"}
@@ -0,0 +1,12 @@
1
+ import type { SlashCommand } from '@wrongstack/core';
2
+ import type { SlashCommandContext } from './index.js';
3
+ /**
4
+ * `/settings` — view or change persisted settings.
5
+ *
6
+ * Deliberately argument-driven and non-blocking: it never calls `reader.readLine`.
7
+ * A blocking readline menu cannot run under the Ink TUI (Ink owns stdin in raw
8
+ * mode), where it would hang invisibly and the renderer would fight Ink's frame.
9
+ * Returning a single `{ message }` works identically in the plain REPL and the TUI.
10
+ */
11
+ export declare function buildSettingsCommand(opts: SlashCommandContext): SlashCommand;
12
+ //# sourceMappingURL=settings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../src/slash-commands/settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAMrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAGtD;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CA6nB5E"}
@@ -0,0 +1,28 @@
1
+ /**
2
+ * /shadow slash command — Start, manage, and stop the Shadow Agent.
3
+ *
4
+ * Usage:
5
+ * /shadow start [--model=<provider/model>]
6
+ * /shadow stop
7
+ * /shadow status
8
+ * /shadow hoop <agent-id>
9
+ * /shadow model <provider/model>
10
+ * /shadow interval <ms>
11
+ */
12
+ import type { SlashCommand } from '@wrongstack/core';
13
+ import type { SlashCommandContext } from './index.js';
14
+ /**
15
+ * /shadow — Shadow Agent management
16
+ *
17
+ * The Shadow Agent is a one-shot monitoring agent that:
18
+ * - Runs only on explicit request or after the host observes problematic work
19
+ * - Tracks all fleet agents and their current tasks
20
+ * - Monitors mailbox state and detects loops
21
+ * - Identifies spike tasks (start/stop instantly)
22
+ * - Provides fleet-wide visibility across all terminals
23
+ * - Uses deterministic evaluation first, LLM only for complex decisions
24
+ * - Can intervene via "hoop" command to stop agents and send notifications
25
+ */
26
+ export declare function buildShadowCommand(opts: SlashCommandContext): SlashCommand;
27
+ export declare const shadowCommand: typeof buildShadowCommand;
28
+ //# sourceMappingURL=shadow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shadow.d.ts","sourceRoot":"","sources":["../../src/slash-commands/shadow.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,KAAK,EAAW,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAE9D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAKtD;;;;;;;;;;;GAWG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CA0O1E;AAgFD,eAAO,MAAM,aAAa,2BAAqB,CAAC"}
@@ -0,0 +1,51 @@
1
+ /**
2
+ * The list of slash command names that have a top-level counterpart.
3
+ * Used by `/help <name>` to decide whether to render the focused
4
+ * help block (preferred) or fall back to the inline `help` field.
5
+ */
6
+ export declare const slashesWithFocusedHelp: ReadonlyArray<string>;
7
+ /**
8
+ * Resolve a slash command name to its top-level subcommand
9
+ * counterpart, or `undefined` if the slash has no mirror.
10
+ * Accepts the primary name OR any alias — caller passes the
11
+ * resolved name (the slash command's `name` field, which is
12
+ * already canonical).
13
+ */
14
+ export declare function resolveSlashSubcommand(slashName: string): string | undefined;
15
+ /**
16
+ * Render the focused help block for a slash command. Returns
17
+ * the rendered string, or `undefined` if the slash has no
18
+ * top-level mirror (callers fall through to the inline `help`
19
+ * field).
20
+ *
21
+ * /help auth → renderSlashFocusedHelp('auth')
22
+ * → renderFocusedHelpToString('auth')
23
+ * → the same string `wstack auth --help` would write
24
+ */
25
+ export declare function renderSlashFocusedHelp(slashName: string): string | undefined;
26
+ /**
27
+ * Render the deep help block for a slash command's deep subcommand.
28
+ * Returns the rendered string, or `undefined` if either the slash
29
+ * has no top-level mirror OR the deep subcommand has no deep help
30
+ * entry.
31
+ *
32
+ * /help mcp add → renderSlashDeepHelp('mcp', 'add')
33
+ * → renderDeepHelpToString('mcp:add')
34
+ * → the same string `wstack mcp add --help` writes
35
+ */
36
+ export declare function renderSlashDeepHelp(slashName: string, deep: string): string | undefined;
37
+ /**
38
+ * Detect whether `args` ends with a help request — the
39
+ * user-facing convention is "the LAST token is `help`,
40
+ * `--help`, or `-h`" (e.g. `/mcp add help`, `/mcp restart --help`,
41
+ * `/mcp list -h`). Trailing whitespace is allowed.
42
+ *
43
+ * This is the function slash commands should call at the top
44
+ * of their `run()` method to short-circuit to the deep-help
45
+ * block BEFORE any other routing.
46
+ */
47
+ export declare function wantsDeepHelp(args: string): {
48
+ sub: string;
49
+ help: true;
50
+ } | null;
51
+ //# sourceMappingURL=slash-deep-help.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slash-deep-help.d.ts","sourceRoot":"","sources":["../../src/slash-commands/slash-deep-help.ts"],"names":[],"mappings":"AA2HA;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,EAAE,aAAa,CAAC,MAAM,CACzB,CAAC;AAEjC;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAE5E;AAED;;;;;;;;;GASG;AACH,wBAAgB,sBAAsB,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAI5E;AAED;;;;;;;;;GASG;AACH,wBAAgB,mBAAmB,CACjC,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,MAAM,GACX,MAAM,GAAG,SAAS,CAIpB;AAED;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,IAAI,CAAA;CAAE,GAAG,IAAI,CAY9E"}
@@ -0,0 +1,6 @@
1
+ import type { SlashCommand } from '@wrongstack/core';
2
+ import type { SlashCommandContext } from './index.js';
3
+ export declare function buildSpawnCommand(opts: SlashCommandContext): SlashCommand;
4
+ export declare function buildAgentsCommand(opts: SlashCommandContext): SlashCommand;
5
+ export declare function buildDirectorCommand(opts: SlashCommandContext): SlashCommand;
6
+ //# sourceMappingURL=spawn-agents.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spawn-agents.d.ts","sourceRoot":"","sources":["../../src/slash-commands/spawn-agents.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAGtD,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CA4CzE;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAwC1E;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAgC5E"}