@wrongstack/cli 0.284.1 → 0.286.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 (568) 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 +87 -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 +24 -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/brain-menu/panel-service.d.ts +15 -0
  95. package/dist/brain-menu/panel-service.d.ts.map +1 -0
  96. package/dist/cli-bundled-prompts.d.ts +12 -0
  97. package/dist/cli-bundled-prompts.d.ts.map +1 -0
  98. package/dist/cli-bundled-skills.d.ts +13 -0
  99. package/dist/cli-bundled-skills.d.ts.map +1 -0
  100. package/dist/cli-context.d.ts +30 -0
  101. package/dist/cli-context.d.ts.map +1 -0
  102. package/dist/cli-entry-point.d.ts +2 -0
  103. package/dist/cli-entry-point.d.ts.map +1 -0
  104. package/dist/cli-eternal-flag.d.ts +68 -0
  105. package/dist/cli-eternal-flag.d.ts.map +1 -0
  106. package/dist/cli-main.d.ts +13 -0
  107. package/dist/cli-main.d.ts.map +1 -0
  108. package/dist/cli-recovery-prompt.d.ts +19 -0
  109. package/dist/cli-recovery-prompt.d.ts.map +1 -0
  110. package/dist/cli-update-notice.d.ts +3 -0
  111. package/dist/cli-update-notice.d.ts.map +1 -0
  112. package/dist/config-doctor.d.ts +39 -0
  113. package/dist/config-doctor.d.ts.map +1 -0
  114. package/dist/config-history.d.ts +54 -0
  115. package/dist/config-history.d.ts.map +1 -0
  116. package/dist/context-limit.d.ts +51 -0
  117. package/dist/context-limit.d.ts.map +1 -0
  118. package/dist/context-overflow-diagnostic.d.ts +3 -0
  119. package/dist/context-overflow-diagnostic.d.ts.map +1 -0
  120. package/dist/diff-renderer.d.ts +2 -0
  121. package/dist/diff-renderer.d.ts.map +1 -0
  122. package/dist/execute-deps.d.ts +254 -0
  123. package/dist/execute-deps.d.ts.map +1 -0
  124. package/dist/execution.d.ts +102 -0
  125. package/dist/execution.d.ts.map +1 -0
  126. package/dist/first-run-auth-gate.d.ts +18 -0
  127. package/dist/first-run-auth-gate.d.ts.map +1 -0
  128. package/dist/fleet/host.d.ts +533 -0
  129. package/dist/fleet/host.d.ts.map +1 -0
  130. package/dist/fleet/routing.d.ts +8 -0
  131. package/dist/fleet/routing.d.ts.map +1 -0
  132. package/dist/fleet/status-broadcast.d.ts +42 -0
  133. package/dist/fleet/status-broadcast.d.ts.map +1 -0
  134. package/dist/fleet/supervisor-registry.d.ts +16 -0
  135. package/dist/fleet/supervisor-registry.d.ts.map +1 -0
  136. package/dist/fleet-statusline.d.ts +71 -0
  137. package/dist/fleet-statusline.d.ts.map +1 -0
  138. package/dist/hooks-wiring.d.ts +26 -0
  139. package/dist/hooks-wiring.d.ts.map +1 -0
  140. package/dist/hq-command-controller.d.ts +52 -0
  141. package/dist/hq-command-controller.d.ts.map +1 -0
  142. package/dist/hq-dashboard-html.d.ts +2 -0
  143. package/dist/hq-dashboard-html.d.ts.map +1 -0
  144. package/dist/hq-publisher.d.ts +16 -0
  145. package/dist/hq-publisher.d.ts.map +1 -0
  146. package/dist/hq-server/auth.d.ts +37 -0
  147. package/dist/hq-server/auth.d.ts.map +1 -0
  148. package/dist/hq-server/snapshot.d.ts +14 -0
  149. package/dist/hq-server/snapshot.d.ts.map +1 -0
  150. package/dist/hq-server/types.d.ts +67 -0
  151. package/dist/hq-server/types.d.ts.map +1 -0
  152. package/dist/hq-server/utils.d.ts +63 -0
  153. package/dist/hq-server/utils.d.ts.map +1 -0
  154. package/dist/hq-server/ws.d.ts +14 -0
  155. package/dist/hq-server/ws.d.ts.map +1 -0
  156. package/dist/hq-server.d.ts +60 -0
  157. package/dist/hq-server.d.ts.map +1 -0
  158. package/dist/hq-static-serve.d.ts +26 -0
  159. package/dist/hq-static-serve.d.ts.map +1 -0
  160. package/dist/index.d.ts +3 -5
  161. package/dist/index.d.ts.map +1 -0
  162. package/dist/index.js +10474 -5429
  163. package/dist/index.js.map +7 -1
  164. package/dist/input-reader.d.ts +45 -0
  165. package/dist/input-reader.d.ts.map +1 -0
  166. package/dist/launch-hints.d.ts +46 -0
  167. package/dist/launch-hints.d.ts.map +1 -0
  168. package/dist/mailbox-bridge-bootstrap.d.ts +85 -0
  169. package/dist/mailbox-bridge-bootstrap.d.ts.map +1 -0
  170. package/dist/mcp-serve.d.ts +21 -0
  171. package/dist/mcp-serve.d.ts.map +1 -0
  172. package/dist/multi-agent.d.ts +4 -0
  173. package/dist/multi-agent.d.ts.map +1 -0
  174. package/dist/next-task-predictor.d.ts +45 -0
  175. package/dist/next-task-predictor.d.ts.map +1 -0
  176. package/dist/permission-prompt.d.ts +11 -0
  177. package/dist/permission-prompt.d.ts.map +1 -0
  178. package/dist/picker.d.ts +86 -0
  179. package/dist/picker.d.ts.map +1 -0
  180. package/dist/plugin-api-factory.d.ts +3 -0
  181. package/dist/plugin-api-factory.d.ts.map +1 -0
  182. package/dist/plugin-management.d.ts +43 -0
  183. package/dist/plugin-management.d.ts.map +1 -0
  184. package/dist/pre-launch/indexing-question.d.ts +28 -0
  185. package/dist/pre-launch/indexing-question.d.ts.map +1 -0
  186. package/dist/pre-launch/launch-prompts.d.ts +52 -0
  187. package/dist/pre-launch/launch-prompts.d.ts.map +1 -0
  188. package/dist/pre-launch/project-check.d.ts +25 -0
  189. package/dist/pre-launch/project-check.d.ts.map +1 -0
  190. package/dist/pre-launch.d.ts +4 -0
  191. package/dist/pre-launch.d.ts.map +1 -0
  192. package/dist/preflight.d.ts +58 -0
  193. package/dist/preflight.d.ts.map +1 -0
  194. package/dist/project-picker.d.ts +56 -0
  195. package/dist/project-picker.d.ts.map +1 -0
  196. package/dist/provider-config-utils.d.ts +58 -0
  197. package/dist/provider-config-utils.d.ts.map +1 -0
  198. package/dist/provider-helpers.d.ts +53 -0
  199. package/dist/provider-helpers.d.ts.map +1 -0
  200. package/dist/renderer.d.ts +76 -0
  201. package/dist/renderer.d.ts.map +1 -0
  202. package/dist/repl.d.ts +164 -0
  203. package/dist/repl.d.ts.map +1 -0
  204. package/dist/services/project-facts.d.ts +17 -0
  205. package/dist/services/project-facts.d.ts.map +1 -0
  206. package/dist/session-event-wiring.d.ts +48 -0
  207. package/dist/session-event-wiring.d.ts.map +1 -0
  208. package/dist/session-stats.d.ts +38 -0
  209. package/dist/session-stats.d.ts.map +1 -0
  210. package/dist/settings-menu.d.ts +87 -0
  211. package/dist/settings-menu.d.ts.map +1 -0
  212. package/dist/shutdown-cleanup.d.ts +44 -0
  213. package/dist/shutdown-cleanup.d.ts.map +1 -0
  214. package/dist/slash-commands/acp.d.ts +23 -0
  215. package/dist/slash-commands/acp.d.ts.map +1 -0
  216. package/dist/slash-commands/agents.d.ts +18 -0
  217. package/dist/slash-commands/agents.d.ts.map +1 -0
  218. package/dist/slash-commands/audit.d.ts +11 -0
  219. package/dist/slash-commands/audit.d.ts.map +1 -0
  220. package/dist/slash-commands/auth.d.ts +20 -0
  221. package/dist/slash-commands/auth.d.ts.map +1 -0
  222. package/dist/slash-commands/autonomy.d.ts +5 -0
  223. package/dist/slash-commands/autonomy.d.ts.map +1 -0
  224. package/dist/slash-commands/autophase.d.ts +13 -0
  225. package/dist/slash-commands/autophase.d.ts.map +1 -0
  226. package/dist/slash-commands/brain.d.ts +4 -0
  227. package/dist/slash-commands/brain.d.ts.map +1 -0
  228. package/dist/slash-commands/btw.d.ts +13 -0
  229. package/dist/slash-commands/btw.d.ts.map +1 -0
  230. package/dist/slash-commands/clear.d.ts +4 -0
  231. package/dist/slash-commands/clear.d.ts.map +1 -0
  232. package/dist/slash-commands/codebase-reindex.d.ts +11 -0
  233. package/dist/slash-commands/codebase-reindex.d.ts.map +1 -0
  234. package/dist/slash-commands/collab.d.ts +26 -0
  235. package/dist/slash-commands/collab.d.ts.map +1 -0
  236. package/dist/slash-commands/commit-llm.d.ts +41 -0
  237. package/dist/slash-commands/commit-llm.d.ts.map +1 -0
  238. package/dist/slash-commands/compact.d.ts +4 -0
  239. package/dist/slash-commands/compact.d.ts.map +1 -0
  240. package/dist/slash-commands/context.d.ts +4 -0
  241. package/dist/slash-commands/context.d.ts.map +1 -0
  242. package/dist/slash-commands/coordinator.d.ts +4 -0
  243. package/dist/slash-commands/coordinator.d.ts.map +1 -0
  244. package/dist/slash-commands/delegate.d.ts +17 -0
  245. package/dist/slash-commands/delegate.d.ts.map +1 -0
  246. package/dist/slash-commands/design.d.ts +16 -0
  247. package/dist/slash-commands/design.d.ts.map +1 -0
  248. package/dist/slash-commands/dev.d.ts +9 -0
  249. package/dist/slash-commands/dev.d.ts.map +1 -0
  250. package/dist/slash-commands/diag-stats.d.ts +5 -0
  251. package/dist/slash-commands/diag-stats.d.ts.map +1 -0
  252. package/dist/slash-commands/dispatch-llm.d.ts +12 -0
  253. package/dist/slash-commands/dispatch-llm.d.ts.map +1 -0
  254. package/dist/slash-commands/doctor.d.ts +13 -0
  255. package/dist/slash-commands/doctor.d.ts.map +1 -0
  256. package/dist/slash-commands/enhance.d.ts +13 -0
  257. package/dist/slash-commands/enhance.d.ts.map +1 -0
  258. package/dist/slash-commands/ensemble.d.ts +17 -0
  259. package/dist/slash-commands/ensemble.d.ts.map +1 -0
  260. package/dist/slash-commands/f-keys.d.ts +18 -0
  261. package/dist/slash-commands/f-keys.d.ts.map +1 -0
  262. package/dist/slash-commands/fallback.d.ts +20 -0
  263. package/dist/slash-commands/fallback.d.ts.map +1 -0
  264. package/dist/slash-commands/fix-classifier.d.ts +28 -0
  265. package/dist/slash-commands/fix-classifier.d.ts.map +1 -0
  266. package/dist/slash-commands/fix.d.ts +4 -0
  267. package/dist/slash-commands/fix.d.ts.map +1 -0
  268. package/dist/slash-commands/fleet.d.ts +20 -0
  269. package/dist/slash-commands/fleet.d.ts.map +1 -0
  270. package/dist/slash-commands/git.d.ts +16 -0
  271. package/dist/slash-commands/git.d.ts.map +1 -0
  272. package/dist/slash-commands/gitid.d.ts +22 -0
  273. package/dist/slash-commands/gitid.d.ts.map +1 -0
  274. package/dist/slash-commands/goal-refiner.d.ts +80 -0
  275. package/dist/slash-commands/goal-refiner.d.ts.map +1 -0
  276. package/dist/slash-commands/goal.d.ts +4 -0
  277. package/dist/slash-commands/goal.d.ts.map +1 -0
  278. package/dist/slash-commands/health.d.ts +4 -0
  279. package/dist/slash-commands/health.d.ts.map +1 -0
  280. package/dist/slash-commands/help.d.ts +4 -0
  281. package/dist/slash-commands/help.d.ts.map +1 -0
  282. package/dist/slash-commands/helpers.d.ts +33 -0
  283. package/dist/slash-commands/helpers.d.ts.map +1 -0
  284. package/dist/slash-commands/hq.d.ts +4 -0
  285. package/dist/slash-commands/hq.d.ts.map +1 -0
  286. package/dist/slash-commands/index.d.ts +543 -0
  287. package/dist/slash-commands/index.d.ts.map +1 -0
  288. package/dist/slash-commands/init.d.ts +4 -0
  289. package/dist/slash-commands/init.d.ts.map +1 -0
  290. package/dist/slash-commands/interrupt.d.ts +15 -0
  291. package/dist/slash-commands/interrupt.d.ts.map +1 -0
  292. package/dist/slash-commands/kanban.d.ts +4 -0
  293. package/dist/slash-commands/kanban.d.ts.map +1 -0
  294. package/dist/slash-commands/mailbox-demo.d.ts +19 -0
  295. package/dist/slash-commands/mailbox-demo.d.ts.map +1 -0
  296. package/dist/slash-commands/mailbox-serve.d.ts +20 -0
  297. package/dist/slash-commands/mailbox-serve.d.ts.map +1 -0
  298. package/dist/slash-commands/mailbox.d.ts +28 -0
  299. package/dist/slash-commands/mailbox.d.ts.map +1 -0
  300. package/dist/slash-commands/mcp-utils.d.ts +24 -0
  301. package/dist/slash-commands/mcp-utils.d.ts.map +1 -0
  302. package/dist/slash-commands/mcp.d.ts +27 -0
  303. package/dist/slash-commands/mcp.d.ts.map +1 -0
  304. package/dist/slash-commands/memory.d.ts +4 -0
  305. package/dist/slash-commands/memory.d.ts.map +1 -0
  306. package/dist/slash-commands/metrics.d.ts +4 -0
  307. package/dist/slash-commands/metrics.d.ts.map +1 -0
  308. package/dist/slash-commands/mode.d.ts +6 -0
  309. package/dist/slash-commands/mode.d.ts.map +1 -0
  310. package/dist/slash-commands/modelcaps.d.ts +4 -0
  311. package/dist/slash-commands/modelcaps.d.ts.map +1 -0
  312. package/dist/slash-commands/models.d.ts +23 -0
  313. package/dist/slash-commands/models.d.ts.map +1 -0
  314. package/dist/slash-commands/mouse.d.ts +14 -0
  315. package/dist/slash-commands/mouse.d.ts.map +1 -0
  316. package/dist/slash-commands/next.d.ts +21 -0
  317. package/dist/slash-commands/next.d.ts.map +1 -0
  318. package/dist/slash-commands/plan.d.ts +4 -0
  319. package/dist/slash-commands/plan.d.ts.map +1 -0
  320. package/dist/slash-commands/plugin.d.ts +4 -0
  321. package/dist/slash-commands/plugin.d.ts.map +1 -0
  322. package/dist/slash-commands/project-utils.d.ts +51 -0
  323. package/dist/slash-commands/project-utils.d.ts.map +1 -0
  324. package/dist/slash-commands/project.d.ts +4 -0
  325. package/dist/slash-commands/project.d.ts.map +1 -0
  326. package/dist/slash-commands/prune.d.ts +4 -0
  327. package/dist/slash-commands/prune.d.ts.map +1 -0
  328. package/dist/slash-commands/refiner.d.ts +15 -0
  329. package/dist/slash-commands/refiner.d.ts.map +1 -0
  330. package/dist/slash-commands/review.d.ts +4 -0
  331. package/dist/slash-commands/review.d.ts.map +1 -0
  332. package/dist/slash-commands/sdd/project-context.d.ts +7 -0
  333. package/dist/slash-commands/sdd/project-context.d.ts.map +1 -0
  334. package/dist/slash-commands/sdd/rendering.d.ts +2 -0
  335. package/dist/slash-commands/sdd/rendering.d.ts.map +1 -0
  336. package/dist/slash-commands/sdd/spec-detection.d.ts +21 -0
  337. package/dist/slash-commands/sdd/spec-detection.d.ts.map +1 -0
  338. package/dist/slash-commands/sdd/state.d.ts +40 -0
  339. package/dist/slash-commands/sdd/state.d.ts.map +1 -0
  340. package/dist/slash-commands/sdd/task-manager.d.ts +37 -0
  341. package/dist/slash-commands/sdd/task-manager.d.ts.map +1 -0
  342. package/dist/slash-commands/sdd.d.ts +15 -0
  343. package/dist/slash-commands/sdd.d.ts.map +1 -0
  344. package/dist/slash-commands/security.d.ts +4 -0
  345. package/dist/slash-commands/security.d.ts.map +1 -0
  346. package/dist/slash-commands/session.d.ts +7 -0
  347. package/dist/slash-commands/session.d.ts.map +1 -0
  348. package/dist/slash-commands/setmodel.d.ts +20 -0
  349. package/dist/slash-commands/setmodel.d.ts.map +1 -0
  350. package/dist/slash-commands/settings.d.ts +12 -0
  351. package/dist/slash-commands/settings.d.ts.map +1 -0
  352. package/dist/slash-commands/shadow.d.ts +28 -0
  353. package/dist/slash-commands/shadow.d.ts.map +1 -0
  354. package/dist/slash-commands/slash-deep-help.d.ts +51 -0
  355. package/dist/slash-commands/slash-deep-help.d.ts.map +1 -0
  356. package/dist/slash-commands/spawn-agents.d.ts +6 -0
  357. package/dist/slash-commands/spawn-agents.d.ts.map +1 -0
  358. package/dist/slash-commands/statusline.d.ts +67 -0
  359. package/dist/slash-commands/statusline.d.ts.map +1 -0
  360. package/dist/slash-commands/suggest.d.ts +4 -0
  361. package/dist/slash-commands/suggest.d.ts.map +1 -0
  362. package/dist/slash-commands/suggestion-store.d.ts +29 -0
  363. package/dist/slash-commands/suggestion-store.d.ts.map +1 -0
  364. package/dist/slash-commands/supervisor.d.ts +18 -0
  365. package/dist/slash-commands/supervisor.d.ts.map +1 -0
  366. package/dist/slash-commands/surfaces.d.ts +4 -0
  367. package/dist/slash-commands/surfaces.d.ts.map +1 -0
  368. package/dist/slash-commands/tasks.d.ts +4 -0
  369. package/dist/slash-commands/tasks.d.ts.map +1 -0
  370. package/dist/slash-commands/techstack.d.ts +4 -0
  371. package/dist/slash-commands/techstack.d.ts.map +1 -0
  372. package/dist/slash-commands/telegram-settings.d.ts +4 -0
  373. package/dist/slash-commands/telegram-settings.d.ts.map +1 -0
  374. package/dist/slash-commands/telegram-setup.d.ts +11 -0
  375. package/dist/slash-commands/telegram-setup.d.ts.map +1 -0
  376. package/dist/slash-commands/todos.d.ts +4 -0
  377. package/dist/slash-commands/todos.d.ts.map +1 -0
  378. package/dist/slash-commands/tool.d.ts +4 -0
  379. package/dist/slash-commands/tool.d.ts.map +1 -0
  380. package/dist/slash-commands/tools.d.ts +4 -0
  381. package/dist/slash-commands/tools.d.ts.map +1 -0
  382. package/dist/slash-commands/tuneup.d.ts +15 -0
  383. package/dist/slash-commands/tuneup.d.ts.map +1 -0
  384. package/dist/slash-commands/working-dir.d.ts +14 -0
  385. package/dist/slash-commands/working-dir.d.ts.map +1 -0
  386. package/dist/slash-commands/worktree.d.ts +8 -0
  387. package/dist/slash-commands/worktree.d.ts.map +1 -0
  388. package/dist/slash-commands/yolo.d.ts +4 -0
  389. package/dist/slash-commands/yolo.d.ts.map +1 -0
  390. package/dist/spinner.d.ts +44 -0
  391. package/dist/spinner.d.ts.map +1 -0
  392. package/dist/subcommands/handlers/acp.d.ts +15 -0
  393. package/dist/subcommands/handlers/acp.d.ts.map +1 -0
  394. package/dist/subcommands/handlers/audit.d.ts +12 -0
  395. package/dist/subcommands/handlers/audit.d.ts.map +1 -0
  396. package/dist/subcommands/handlers/auth-local-help.d.ts +69 -0
  397. package/dist/subcommands/handlers/auth-local-help.d.ts.map +1 -0
  398. package/dist/subcommands/handlers/auth.d.ts +3 -0
  399. package/dist/subcommands/handlers/auth.d.ts.map +1 -0
  400. package/dist/subcommands/handlers/bench-run-help.d.ts +145 -0
  401. package/dist/subcommands/handlers/bench-run-help.d.ts.map +1 -0
  402. package/dist/subcommands/handlers/bench.d.ts +13 -0
  403. package/dist/subcommands/handlers/bench.d.ts.map +1 -0
  404. package/dist/subcommands/handlers/config-history.d.ts +10 -0
  405. package/dist/subcommands/handlers/config-history.d.ts.map +1 -0
  406. package/dist/subcommands/handlers/diag-doctor.d.ts +4 -0
  407. package/dist/subcommands/handlers/diag-doctor.d.ts.map +1 -0
  408. package/dist/subcommands/handlers/export.d.ts +3 -0
  409. package/dist/subcommands/handlers/export.d.ts.map +1 -0
  410. package/dist/subcommands/handlers/helpers.d.ts +2 -0
  411. package/dist/subcommands/handlers/helpers.d.ts.map +1 -0
  412. package/dist/subcommands/handlers/hq.d.ts +3 -0
  413. package/dist/subcommands/handlers/hq.d.ts.map +1 -0
  414. package/dist/subcommands/handlers/init.d.ts +7 -0
  415. package/dist/subcommands/handlers/init.d.ts.map +1 -0
  416. package/dist/subcommands/handlers/mailbox-serve.d.ts +3 -0
  417. package/dist/subcommands/handlers/mailbox-serve.d.ts.map +1 -0
  418. package/dist/subcommands/handlers/mcp.d.ts +3 -0
  419. package/dist/subcommands/handlers/mcp.d.ts.map +1 -0
  420. package/dist/subcommands/handlers/modeldiag.d.ts +3 -0
  421. package/dist/subcommands/handlers/modeldiag.d.ts.map +1 -0
  422. package/dist/subcommands/handlers/models-add-help.d.ts +142 -0
  423. package/dist/subcommands/handlers/models-add-help.d.ts.map +1 -0
  424. package/dist/subcommands/handlers/per-subcommand-help.d.ts +136 -0
  425. package/dist/subcommands/handlers/per-subcommand-help.d.ts.map +1 -0
  426. package/dist/subcommands/handlers/plugin-usage.d.ts +4 -0
  427. package/dist/subcommands/handlers/plugin-usage.d.ts.map +1 -0
  428. package/dist/subcommands/handlers/projects.d.ts +3 -0
  429. package/dist/subcommands/handlers/projects.d.ts.map +1 -0
  430. package/dist/subcommands/handlers/providers-models.d.ts +4 -0
  431. package/dist/subcommands/handlers/providers-models.d.ts.map +1 -0
  432. package/dist/subcommands/handlers/quick.d.ts +14 -0
  433. package/dist/subcommands/handlers/quick.d.ts.map +1 -0
  434. package/dist/subcommands/handlers/replay.d.ts +12 -0
  435. package/dist/subcommands/handlers/replay.d.ts.map +1 -0
  436. package/dist/subcommands/handlers/rewind.d.ts +3 -0
  437. package/dist/subcommands/handlers/rewind.d.ts.map +1 -0
  438. package/dist/subcommands/handlers/sessions-config.d.ts +4 -0
  439. package/dist/subcommands/handlers/sessions-config.d.ts.map +1 -0
  440. package/dist/subcommands/handlers/sessions-fleet.d.ts +15 -0
  441. package/dist/subcommands/handlers/sessions-fleet.d.ts.map +1 -0
  442. package/dist/subcommands/handlers/tools-skills.d.ts +4 -0
  443. package/dist/subcommands/handlers/tools-skills.d.ts.map +1 -0
  444. package/dist/subcommands/handlers/update.d.ts +7 -0
  445. package/dist/subcommands/handlers/update.d.ts.map +1 -0
  446. package/dist/subcommands/handlers/version-help.d.ts +4 -0
  447. package/dist/subcommands/handlers/version-help.d.ts.map +1 -0
  448. package/dist/subcommands/index.d.ts +26 -0
  449. package/dist/subcommands/index.d.ts.map +1 -0
  450. package/dist/theme.d.ts +12 -0
  451. package/dist/theme.d.ts.map +1 -0
  452. package/dist/tui-thinking-word.d.ts +5 -0
  453. package/dist/tui-thinking-word.d.ts.map +1 -0
  454. package/dist/tuneup.d.ts +162 -0
  455. package/dist/tuneup.d.ts.map +1 -0
  456. package/dist/update-check.d.ts +22 -0
  457. package/dist/update-check.d.ts.map +1 -0
  458. package/dist/utils/delay-format.d.ts +5 -0
  459. package/dist/utils/delay-format.d.ts.map +1 -0
  460. package/dist/utils/win32-cmd.d.ts +7 -0
  461. package/dist/utils/win32-cmd.d.ts.map +1 -0
  462. package/dist/utils.d.ts +58 -0
  463. package/dist/utils.d.ts.map +1 -0
  464. package/dist/version.d.ts +4 -0
  465. package/dist/version.d.ts.map +1 -0
  466. package/dist/webui-server/client-registration.d.ts +41 -0
  467. package/dist/webui-server/client-registration.d.ts.map +1 -0
  468. package/dist/webui-server/connection-handler.d.ts +59 -0
  469. package/dist/webui-server/connection-handler.d.ts.map +1 -0
  470. package/dist/webui-server/context-breakdown.d.ts +57 -0
  471. package/dist/webui-server/context-breakdown.d.ts.map +1 -0
  472. package/dist/webui-server/cost-helpers.d.ts +29 -0
  473. package/dist/webui-server/cost-helpers.d.ts.map +1 -0
  474. package/dist/webui-server/lifecycle.d.ts +108 -0
  475. package/dist/webui-server/lifecycle.d.ts.map +1 -0
  476. package/dist/webui-server/logger-shim.d.ts +10 -0
  477. package/dist/webui-server/logger-shim.d.ts.map +1 -0
  478. package/dist/webui-server/message-router.d.ts +39 -0
  479. package/dist/webui-server/message-router.d.ts.map +1 -0
  480. package/dist/webui-server/prefs-seeding.d.ts +57 -0
  481. package/dist/webui-server/prefs-seeding.d.ts.map +1 -0
  482. package/dist/webui-server/provider-config.d.ts +61 -0
  483. package/dist/webui-server/provider-config.d.ts.map +1 -0
  484. package/dist/webui-server/session-start-payload.d.ts +20 -0
  485. package/dist/webui-server/session-start-payload.d.ts.map +1 -0
  486. package/dist/webui-server/session-status-poll.d.ts +14 -0
  487. package/dist/webui-server/session-status-poll.d.ts.map +1 -0
  488. package/dist/webui-server/setup-events.d.ts +45 -0
  489. package/dist/webui-server/setup-events.d.ts.map +1 -0
  490. package/dist/webui-server/static-serve.d.ts +70 -0
  491. package/dist/webui-server/static-serve.d.ts.map +1 -0
  492. package/dist/webui-server/stream-coalescer.d.ts +41 -0
  493. package/dist/webui-server/stream-coalescer.d.ts.map +1 -0
  494. package/dist/webui-server/ws-handlers/agent-config.d.ts +47 -0
  495. package/dist/webui-server/ws-handlers/agent-config.d.ts.map +1 -0
  496. package/dist/webui-server/ws-handlers/brain.d.ts +43 -0
  497. package/dist/webui-server/ws-handlers/brain.d.ts.map +1 -0
  498. package/dist/webui-server/ws-handlers/connection.d.ts +57 -0
  499. package/dist/webui-server/ws-handlers/connection.d.ts.map +1 -0
  500. package/dist/webui-server/ws-handlers/context.d.ts +55 -0
  501. package/dist/webui-server/ws-handlers/context.d.ts.map +1 -0
  502. package/dist/webui-server/ws-handlers/index.d.ts +60 -0
  503. package/dist/webui-server/ws-handlers/index.d.ts.map +1 -0
  504. package/dist/webui-server/ws-handlers/introspection.d.ts +35 -0
  505. package/dist/webui-server/ws-handlers/introspection.d.ts.map +1 -0
  506. package/dist/webui-server/ws-handlers/kanban.d.ts +41 -0
  507. package/dist/webui-server/ws-handlers/kanban.d.ts.map +1 -0
  508. package/dist/webui-server/ws-handlers/mailbox.d.ts +60 -0
  509. package/dist/webui-server/ws-handlers/mailbox.d.ts.map +1 -0
  510. package/dist/webui-server/ws-handlers/oauth.d.ts +16 -0
  511. package/dist/webui-server/ws-handlers/oauth.d.ts.map +1 -0
  512. package/dist/webui-server/ws-handlers/prefs.d.ts +32 -0
  513. package/dist/webui-server/ws-handlers/prefs.d.ts.map +1 -0
  514. package/dist/webui-server/ws-handlers/process.d.ts +6 -0
  515. package/dist/webui-server/ws-handlers/process.d.ts.map +1 -0
  516. package/dist/webui-server/ws-handlers/projects.d.ts +44 -0
  517. package/dist/webui-server/ws-handlers/projects.d.ts.map +1 -0
  518. package/dist/webui-server/ws-handlers/providers.d.ts +36 -0
  519. package/dist/webui-server/ws-handlers/providers.d.ts.map +1 -0
  520. package/dist/webui-server/ws-handlers/sessions.d.ts +38 -0
  521. package/dist/webui-server/ws-handlers/sessions.d.ts.map +1 -0
  522. package/dist/webui-server/ws-handlers/worklist.d.ts +49 -0
  523. package/dist/webui-server/ws-handlers/worklist.d.ts.map +1 -0
  524. package/dist/webui-server.d.ts +165 -0
  525. package/dist/webui-server.d.ts.map +1 -0
  526. package/dist/wiring/brain-and-orchestration.d.ts +81 -0
  527. package/dist/wiring/brain-and-orchestration.d.ts.map +1 -0
  528. package/dist/wiring/codebase-index.d.ts +33 -0
  529. package/dist/wiring/codebase-index.d.ts.map +1 -0
  530. package/dist/wiring/controllers.d.ts +51 -0
  531. package/dist/wiring/controllers.d.ts.map +1 -0
  532. package/dist/wiring/dep-watcher.d.ts +23 -0
  533. package/dist/wiring/dep-watcher.d.ts.map +1 -0
  534. package/dist/wiring/design-studio.d.ts +17 -0
  535. package/dist/wiring/design-studio.d.ts.map +1 -0
  536. package/dist/wiring/director-setup.d.ts +51 -0
  537. package/dist/wiring/director-setup.d.ts.map +1 -0
  538. package/dist/wiring/hq-telemetry.d.ts +44 -0
  539. package/dist/wiring/hq-telemetry.d.ts.map +1 -0
  540. package/dist/wiring/lifecycle-plugins.d.ts +61 -0
  541. package/dist/wiring/lifecycle-plugins.d.ts.map +1 -0
  542. package/dist/wiring/mailbox-bridge-bootstrap.d.ts +53 -0
  543. package/dist/wiring/mailbox-bridge-bootstrap.d.ts.map +1 -0
  544. package/dist/wiring/metrics.d.ts +40 -0
  545. package/dist/wiring/metrics.d.ts.map +1 -0
  546. package/dist/wiring/pipeline.d.ts +96 -0
  547. package/dist/wiring/pipeline.d.ts.map +1 -0
  548. package/dist/wiring/plugins.d.ts +109 -0
  549. package/dist/wiring/plugins.d.ts.map +1 -0
  550. package/dist/wiring/provider-runtime-setup.d.ts +47 -0
  551. package/dist/wiring/provider-runtime-setup.d.ts.map +1 -0
  552. package/dist/wiring/provider-runtime.d.ts +57 -0
  553. package/dist/wiring/provider-runtime.d.ts.map +1 -0
  554. package/dist/wiring/provider.d.ts +13 -0
  555. package/dist/wiring/provider.d.ts.map +1 -0
  556. package/dist/wiring/replay.d.ts +32 -0
  557. package/dist/wiring/replay.d.ts.map +1 -0
  558. package/dist/wiring/session.d.ts +58 -0
  559. package/dist/wiring/session.d.ts.map +1 -0
  560. package/dist/wiring/slash-commands.d.ts +76 -0
  561. package/dist/wiring/slash-commands.d.ts.map +1 -0
  562. package/dist/wiring/super-memory.d.ts +9 -0
  563. package/dist/wiring/super-memory.d.ts.map +1 -0
  564. package/dist/wiring/to-execute-deps.d.ts +11 -0
  565. package/dist/wiring/to-execute-deps.d.ts.map +1 -0
  566. package/dist/wiring/tools.d.ts +41 -0
  567. package/dist/wiring/tools.d.ts.map +1 -0
  568. package/package.json +20 -20
@@ -0,0 +1,16 @@
1
+ import type { SlashCommand } from '@wrongstack/core';
2
+ import type { SlashCommandContext } from './index.js';
3
+ export declare function runGit(args: string[], cwd: string): Promise<{
4
+ stdout: string;
5
+ stderr: string;
6
+ code: number;
7
+ }>;
8
+ /**
9
+ * Read-only operational Git command. Mutating workflows remain on `/commit`,
10
+ * `/push`, and the permission-gated `git` tool.
11
+ */
12
+ export declare function buildGitCommand(opts: SlashCommandContext): SlashCommand;
13
+ export declare function buildCommitCommand(opts: SlashCommandContext): SlashCommand;
14
+ export declare function buildGitcheckCommand(opts: SlashCommandContext): SlashCommand;
15
+ export declare function buildPushCommand(opts: SlashCommandContext): SlashCommand;
16
+ //# sourceMappingURL=git.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"git.d.ts","sourceRoot":"","sources":["../../src/slash-commands/git.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAItD,wBAAsB,MAAM,CAC1B,IAAI,EAAE,MAAM,EAAE,EACd,GAAG,EAAE,MAAM,GACV,OAAO,CAAC;IAAE,MAAM,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC,CAyB3D;AA+ED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CA0DvE;AA4HD,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CA+F1E;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAmB5E;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAkCxE"}
@@ -0,0 +1,22 @@
1
+ import { type SlashCommand } from '@wrongstack/core';
2
+ import type { SlashCommandContext } from './index.js';
3
+ /**
4
+ * `/gitid` — view or change the commit identity (author/committer name +
5
+ * email) used by every git command the agent runs. Applied via the
6
+ * `GIT_AUTHOR_*` / `GIT_COMMITTER_*` env vars on child processes, so the
7
+ * repo's and the user's own `git config` are never modified — commits made
8
+ * outside WrongStack are unaffected.
9
+ *
10
+ * Subcommands:
11
+ * (none) Show the configured identity.
12
+ * set <name...> <email> Set identity (email = last argument).
13
+ * Add --session to apply without persisting.
14
+ * clear Remove the identity (git config applies
15
+ * again). Add --session for this session only.
16
+ *
17
+ * Persisted to ~/.wrongstack/config.json (user-level). The in-project
18
+ * repo-committed config can NOT set this — identity spoofing must not be
19
+ * repo-controllable.
20
+ */
21
+ export declare function buildGitIdCommand(opts: SlashCommandContext): SlashCommand;
22
+ //# sourceMappingURL=gitid.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gitid.d.ts","sourceRoot":"","sources":["../../src/slash-commands/gitid.ts"],"names":[],"mappings":"AAEA,OAAO,EASL,KAAK,YAAY,EAClB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AA6CtD;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CA2HzE"}
@@ -0,0 +1,80 @@
1
+ import { type Config, type Provider } from '@wrongstack/core';
2
+ /**
3
+ * Result of refining a user's raw goal into a clear, actionable mission.
4
+ */
5
+ export interface RefinedGoal {
6
+ /** Unambiguous, detailed goal statement. */
7
+ refinedGoal: string;
8
+ /** Concrete, verifiable deliverables (one per entry). */
9
+ deliverables: string[];
10
+ }
11
+ /**
12
+ * Options for goal refinement with fallback tiers.
13
+ */
14
+ export interface GoalRefinerOptions {
15
+ /** Primary provider (usually the session's main LLM). */
16
+ primaryProvider?: Provider | undefined;
17
+ /** Primary model on the primary provider. */
18
+ primaryModel?: string | undefined;
19
+ /**
20
+ * Optional dedicated refiner provider instance (e.g. a cheap/fast
21
+ * provider for refinement). Tried before the primary when set.
22
+ */
23
+ refinerProvider?: Provider | undefined;
24
+ /** Model on the refiner provider. Ignored when `refinerProvider` is unset. */
25
+ refinerModel?: string | undefined;
26
+ }
27
+ /**
28
+ * Resolved refiner target after validating against available providers,
29
+ * favorite models, and the currently active session model.
30
+ * Both `provider` and `model` are defined when a viable dedicated refiner
31
+ * is found; otherwise the caller should use the primary session defaults.
32
+ */
33
+ export interface ResolvedRefinerTarget {
34
+ /** Resolved provider instance, ready for `provider.complete()`. */
35
+ provider: Provider;
36
+ /** Resolved model id on that provider. */
37
+ model: string;
38
+ }
39
+ /**
40
+ * Validate and resolve a dedicated refiner provider+model from the user
41
+ * config. Returns undefined when:
42
+ * - Neither refinerProvider nor refinerModel is configured
43
+ * - The configured provider is unavailable (createProvider returns
44
+ * undefined, meaning the provider doesn't exist or has no credentials)
45
+ * - The configured model is not a favorite model AND is not the
46
+ * currently active session model
47
+ *
48
+ * When only `refinerModel` is set (no provider), the model is used on
49
+ * the active session provider — validated against the same constraints.
50
+ *
51
+ * @param cfg — live Config from configStore
52
+ * @param createProvider— factory: providerId → Provider | undefined
53
+ * @param activeProviderId — the session's active provider id (config.provider)
54
+ * @param activeModel — the session's active model (config.model)
55
+ */
56
+ export declare function resolveRefinerTarget(cfg: Config, createProvider: ((providerId: string) => Provider | undefined) | undefined, activeProviderId: string, activeModel: string): ResolvedRefinerTarget | undefined;
57
+ /**
58
+ * Refine a raw goal using the best available model/provider, with a
59
+ * four-tier fallback chain:
60
+ * 1. Dedicated refiner provider + refiner model (if both configured)
61
+ * 2. Dedicated refiner model on the primary provider (if model but no provider)
62
+ * 3. Primary provider + primary model (session default)
63
+ * 4. Heuristic (regex-based extraction, no LLM call)
64
+ *
65
+ * Each tier falls through to the next on any failure (timeout, error,
66
+ * parse failure, null result).
67
+ */
68
+ export declare function refineGoalWithFallback(rawGoal: string, opts: GoalRefinerOptions): Promise<RefinedGoal>;
69
+ /**
70
+ * Prompt the LLM to refine a raw user goal into a concrete mission
71
+ * with unambiguous deliverables. Returns null if no LLM is available
72
+ * or the call fails.
73
+ */
74
+ export declare function refineGoal(rawGoal: string, provider: Provider, model: string): Promise<RefinedGoal | null>;
75
+ /**
76
+ * Heuristic-only refinement — used when no LLM is available.
77
+ * Produces a basic structure from the raw goal.
78
+ */
79
+ export declare function refineGoalHeuristic(rawGoal: string): RefinedGoal;
80
+ //# sourceMappingURL=goal-refiner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"goal-refiner.d.ts","sourceRoot":"","sources":["../../src/slash-commands/goal-refiner.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,MAAM,EACX,KAAK,QAAQ,EACd,MAAM,kBAAkB,CAAC;AAE1B;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,4CAA4C;IAC5C,WAAW,EAAE,MAAM,CAAC;IACpB,yDAAyD;IACzD,YAAY,EAAE,MAAM,EAAE,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,yDAAyD;IACzD,eAAe,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IACvC,6CAA6C;IAC7C,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC;;;OAGG;IACH,eAAe,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IACvC,8EAA8E;IAC9E,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACnC;AAMD;;;;;GAKG;AACH,MAAM,WAAW,qBAAqB;IACpC,mEAAmE;IACnE,QAAQ,EAAE,QAAQ,CAAC;IACnB,0CAA0C;IAC1C,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,oBAAoB,CAClC,GAAG,EAAE,MAAM,EACX,cAAc,EAAE,CAAC,CAAC,UAAU,EAAE,MAAM,KAAK,QAAQ,GAAG,SAAS,CAAC,GAAG,SAAS,EAC1E,gBAAgB,EAAE,MAAM,EACxB,WAAW,EAAE,MAAM,GAClB,qBAAqB,GAAG,SAAS,CAsBnC;AAED;;;;;;;;;;GAUG;AACH,wBAAsB,sBAAsB,CAC1C,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,kBAAkB,GACvB,OAAO,CAAC,WAAW,CAAC,CAqBtB;AAED;;;;GAIG;AACH,wBAAsB,UAAU,CAC9B,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC,WAAW,GAAG,IAAI,CAAC,CAuB7B;AAqDD;;;GAGG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,MAAM,GAAG,WAAW,CAMhE"}
@@ -0,0 +1,4 @@
1
+ import type { SlashCommand } from '@wrongstack/core';
2
+ import type { SlashCommandContext } from './index.js';
3
+ export declare function buildGoalCommand(opts: SlashCommandContext): SlashCommand;
4
+ //# sourceMappingURL=goal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"goal.d.ts","sourceRoot":"","sources":["../../src/slash-commands/goal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAWrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAiBtD,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAqRxE"}
@@ -0,0 +1,4 @@
1
+ import type { SlashCommand } from '@wrongstack/core';
2
+ import type { SlashCommandContext } from './index.js';
3
+ export declare function buildHealthCommand(opts: SlashCommandContext): SlashCommand;
4
+ //# sourceMappingURL=health.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"health.d.ts","sourceRoot":"","sources":["../../src/slash-commands/health.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAQtD,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAyC1E"}
@@ -0,0 +1,4 @@
1
+ import type { SlashCommand } from '@wrongstack/core';
2
+ import type { SlashCommandContext } from './index.js';
3
+ export declare function buildHelpCommand(opts: SlashCommandContext): SlashCommand;
4
+ //# sourceMappingURL=help.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"help.d.ts","sourceRoot":"","sources":["../../src/slash-commands/help.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEtD,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAqExE"}
@@ -0,0 +1,33 @@
1
+ import type { Context } from '@wrongstack/core';
2
+ export { detectProjectFacts, renderAgentsTemplate } from '../services/project-facts.js';
3
+ export type { ProjectFacts } from '../services/project-facts.js';
4
+ /**
5
+ * Parse a slash command's args string into subcommand + rest tokens.
6
+ *
7
+ * /fleet spawn bug-hunter 2 -> { cmd: 'spawn', rest: ['bug-hunter', '2'] }
8
+ * /mcp -> { cmd: '', rest: [] }
9
+ * /goal set build the API -> { cmd: 'set', rest: ['build', 'the', 'API'] }
10
+ *
11
+ * Used by ~20 multi-subcommand slash commands to replace the repetitive
12
+ * `args.trim().split(/\s+/)` preamble.
13
+ */
14
+ export declare function parseSubcommand(args: string): {
15
+ cmd: string;
16
+ rest: string[];
17
+ };
18
+ /**
19
+ * Generate a consistent "unknown subcommand" message for the `default` branch
20
+ * of a subcommand switch.
21
+ *
22
+ * unknownSubcommand('frobulate', ['status', 'kill', 'usage'], 'fleet')
23
+ * // -> 'Unknown subcommand "frobulate" for /fleet. Valid: status, kill, usage.'
24
+ */
25
+ export declare function unknownSubcommand(cmd: string, valid: string[], name?: string): string;
26
+ export declare function countTurnPairs(messages: Context['messages']): number;
27
+ export declare function countToolUses(messages: Context['messages']): number;
28
+ export declare function countToolResults(messages: Context['messages']): number;
29
+ /** Messages-only token estimate. Delegates to the canonical shared estimator so
30
+ * `/context` shows the same number compaction and the context bar work with. */
31
+ export declare function estimateTokens(messages: Context['messages']): number;
32
+ export declare function statusIcon(status: string): string;
33
+ //# sourceMappingURL=helpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../src/slash-commands/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAGhD,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AACxF,YAAY,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAEjE;;;;;;;;;GASG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,EAAE,CAAA;CAAE,CAG7E;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAKrF;AAED,wBAAgB,cAAc,CAAC,QAAQ,EAAE,OAAO,CAAC,UAAU,CAAC,GAAG,MAAM,CAMpE;AAED,wBAAgB,aAAa,CAAC,QAAQ,EAAE,OAAO,CAAC,UAAU,CAAC,GAAG,MAAM,CAMnE;AAED,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,OAAO,CAAC,UAAU,CAAC,GAAG,MAAM,CAMtE;AAED;iFACiF;AACjF,wBAAgB,cAAc,CAAC,QAAQ,EAAE,OAAO,CAAC,UAAU,CAAC,GAAG,MAAM,CAEpE;AAED,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAIjD"}
@@ -0,0 +1,4 @@
1
+ import type { SlashCommand } from '@wrongstack/core';
2
+ import type { SlashCommandContext } from './index.js';
3
+ export declare function buildHqCommand(opts: SlashCommandContext): SlashCommand;
4
+ //# sourceMappingURL=hq.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hq.d.ts","sourceRoot":"","sources":["../../src/slash-commands/hq.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAkB,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAUrE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AA4BtD,wBAAgB,cAAc,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAiLtE"}