@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,67 @@
1
+ import { type SlashCommand } from '@wrongstack/core';
2
+ export interface StatuslineConfig {
3
+ version?: boolean | undefined;
4
+ state?: boolean | undefined;
5
+ model?: boolean | undefined;
6
+ todos?: boolean | undefined;
7
+ plan?: boolean | undefined;
8
+ tasks?: boolean | undefined;
9
+ fleet?: boolean | undefined;
10
+ fleet_agents?: boolean | undefined;
11
+ git?: boolean | undefined;
12
+ elapsed?: boolean | undefined;
13
+ context?: boolean | undefined;
14
+ tokens?: boolean | undefined;
15
+ cache?: boolean | undefined;
16
+ cost?: boolean | undefined;
17
+ queue?: boolean | undefined;
18
+ processes?: boolean | undefined;
19
+ hint?: boolean | undefined;
20
+ index?: boolean | undefined;
21
+ breaker?: boolean | undefined;
22
+ working_dir?: boolean | undefined;
23
+ project?: boolean | undefined;
24
+ yolo?: boolean | undefined;
25
+ autonomy?: boolean | undefined;
26
+ eternal_stage?: boolean | undefined;
27
+ goal?: boolean | undefined;
28
+ mode?: boolean | undefined;
29
+ auto_proceed?: boolean | undefined;
30
+ sessions?: boolean | undefined;
31
+ tools?: boolean | undefined;
32
+ token_saving?: boolean | undefined;
33
+ brain?: boolean | undefined;
34
+ mailbox?: boolean | undefined;
35
+ enhance?: boolean | undefined;
36
+ debug_stream?: boolean | undefined;
37
+ next_steps?: boolean | undefined;
38
+ }
39
+ export declare const DEFAULTS: StatuslineConfig;
40
+ export type StatuslineConfigKey = keyof StatuslineConfig;
41
+ export declare const STATUSLINE_CONFIG_KEYS: StatuslineConfigKey[];
42
+ export declare function loadStatuslineConfig(): Promise<StatuslineConfig>;
43
+ export declare function ensureStatuslineConfig(): Promise<StatuslineConfig>;
44
+ export declare function saveStatuslineConfig(cfg: StatuslineConfig): Promise<void>;
45
+ export interface StatuslineCommandDeps {
46
+ cwd: string;
47
+ /** Current hidden items list. Written by the command when toggling. */
48
+ hiddenItems: Array<StatuslineConfigKey>;
49
+ setHiddenItems: (items: Array<StatuslineConfigKey>) => void;
50
+ getConfig: () => Promise<StatuslineConfig>;
51
+ setConfig: (cfg: StatuslineConfig) => Promise<void>;
52
+ /**
53
+ * Atomically updates hidden items in memory AND persists to disk.
54
+ * Used by the TUI statusline picker.
55
+ */
56
+ saveStatuslineHiddenItems?: (items: Array<StatuslineConfigKey>) => Promise<void>;
57
+ /**
58
+ * Slash-command → TUI panel bridge. When present (TUI mounted), a bare
59
+ * `/statusline` opens the interactive picker instead of printing the
60
+ * chip list; the text output remains the REPL/args fallback.
61
+ */
62
+ onPanelOpen?: {
63
+ current: ((action: string) => boolean) | null;
64
+ } | undefined;
65
+ }
66
+ export declare function buildStatuslineCommand(deps: StatuslineCommandDeps): SlashCommand;
67
+ //# sourceMappingURL=statusline.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"statusline.d.ts","sourceRoot":"","sources":["../../src/slash-commands/statusline.ts"],"names":[],"mappings":"AAGA,OAAO,EAAqC,KAAK,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAKxF,MAAM,WAAW,gBAAgB;IAC/B,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC5B,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC5B,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC5B,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC5B,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC5B,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACnC,GAAG,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC1B,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC7B,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC5B,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC5B,SAAS,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAChC,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC5B,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,WAAW,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAClC,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,aAAa,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACpC,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC3B,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC3B,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACnC,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/B,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC5B,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACnC,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC5B,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACnC,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAClC;AAED,eAAO,MAAM,QAAQ,EAAE,gBAoCtB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,MAAM,gBAAgB,CAAC;AAEzD,eAAO,MAAM,sBAAsB,EAAE,mBAAmB,EAoCvD,CAAC;AAqCF,wBAAsB,oBAAoB,IAAI,OAAO,CAAC,gBAAgB,CAAC,CAQtE;AAED,wBAAsB,sBAAsB,IAAI,OAAO,CAAC,gBAAgB,CAAC,CAkBxE;AAED,wBAAsB,oBAAoB,CAAC,GAAG,EAAE,gBAAgB,GAAG,OAAO,CAAC,IAAI,CAAC,CAkB/E;AAED,MAAM,WAAW,qBAAqB;IACpC,GAAG,EAAE,MAAM,CAAC;IACZ,uEAAuE;IACvE,WAAW,EAAE,KAAK,CAChB,mBAAmB,CACpB,CAAC;IACF,cAAc,EAAE,CACd,KAAK,EAAE,KAAK,CACV,mBAAmB,CACpB,KACE,IAAI,CAAC;IACV,SAAS,EAAE,MAAM,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAC3C,SAAS,EAAE,CAAC,GAAG,EAAE,gBAAgB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpD;;;OAGG;IACH,yBAAyB,CAAC,EAAE,CAC1B,KAAK,EAAE,KAAK,CACV,mBAAmB,CACpB,KACE,OAAO,CAAC,IAAI,CAAC,CAAC;IACnB;;;;OAIG;IACH,WAAW,CAAC,EAAE;QAAE,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,GAAG,IAAI,CAAA;KAAE,GAAG,SAAS,CAAC;CAC7E;AA2CD,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,qBAAqB,GAAG,YAAY,CA2GhF"}
@@ -0,0 +1,4 @@
1
+ import type { SlashCommand } from '@wrongstack/core';
2
+ import type { SlashCommandContext } from './index.js';
3
+ export declare function buildSuggestCommand(opts: SlashCommandContext): SlashCommand;
4
+ //# sourceMappingURL=suggest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"suggest.d.ts","sourceRoot":"","sources":["../../src/slash-commands/suggest.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAW,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAG9D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAkEtD,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CA6F3E"}
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Shared suggestion store for /suggest and /next slash commands.
3
+ *
4
+ * Previously, suggestions were stored in a closure variable (`currentSuggestions`)
5
+ * inside cli-main.ts, accessed via the `onSuggestions` callback on
6
+ * `SlashCommandContext`. This closure-based approach works correctly in the REPL
7
+ * but can fail in the TUI when the callback goes through multiple indirections
8
+ * (SlashCommandRegistry → SlashCommand.run → closed-over opts).
9
+ *
10
+ * By using a module-level store, both /suggest (writer) and /next (reader)
11
+ * access the same array directly, bypassing the callback indirection entirely.
12
+ * The CLI's `onSuggestions` callback now reads/writes this shared store to
13
+ * maintain backward compatibility with the REPL autonomy loop's
14
+ * `getSuggestions`/`onSuggestionsParsed` flow.
15
+ *
16
+ * Auto suggestions (items with auto="true" attribute) are stored separately
17
+ * for YOLO+auto autonomy mode.
18
+ */
19
+ /** Store suggestions (called by /suggest and onSuggestionsParsed). */
20
+ export declare function setSuggestions(suggestions: string[]): void;
21
+ /** Store auto suggestions (items with auto="true" attribute). Called by onAutoSuggestionsParsed. */
22
+ export declare function setAutoSuggestions(suggestions: string[]): void;
23
+ /** Retrieve current suggestions (called by /next selection and getSuggestions). */
24
+ export declare function getSuggestions(): string[];
25
+ /** Retrieve current auto suggestions (called by YOLO+auto autonomy). */
26
+ export declare function getAutoSuggestions(): string[];
27
+ /** Clear suggestions (called by /next clear). */
28
+ export declare function clearSuggestions(): void;
29
+ //# sourceMappingURL=suggestion-store.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"suggestion-store.d.ts","sourceRoot":"","sources":["../../src/slash-commands/suggestion-store.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAKH,sEAAsE;AACtE,wBAAgB,cAAc,CAAC,WAAW,EAAE,MAAM,EAAE,GAAG,IAAI,CAE1D;AAED,oGAAoG;AACpG,wBAAgB,kBAAkB,CAAC,WAAW,EAAE,MAAM,EAAE,GAAG,IAAI,CAE9D;AAED,mFAAmF;AACnF,wBAAgB,cAAc,IAAI,MAAM,EAAE,CAEzC;AAED,wEAAwE;AACxE,wBAAgB,kBAAkB,IAAI,MAAM,EAAE,CAE7C;AAED,iDAAiD;AACjD,wBAAgB,gBAAgB,IAAI,IAAI,CAGvC"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * /supervisor — inspect and toggle the brain-gated FleetSupervisor.
3
+ *
4
+ * The supervisor is the fleet's shadow watcher: it monitors queue shape and
5
+ * worker activity while a Director fleet runs, and — through the tiered
6
+ * Brain (policy → LLM → human, /brain risk ceiling) — rebalances pending
7
+ * tasks off overloaded workers, spawns helpers on deep backlogs, steers
8
+ * stuck or repeatedly-failing workers, and keeps the leader informed.
9
+ *
10
+ * /supervisor status — running state, config, recent activity
11
+ * /supervisor status same
12
+ * /supervisor on|off arm / disarm the evaluation loop for this session
13
+ * /supervisor log [n] show the last n signal→decision→action entries
14
+ */
15
+ import type { SlashCommand } from '@wrongstack/core';
16
+ import type { SlashCommandContext } from './index.js';
17
+ export declare function buildSupervisorCommand(opts: SlashCommandContext): SlashCommand;
18
+ //# sourceMappingURL=supervisor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"supervisor.d.ts","sourceRoot":"","sources":["../../src/slash-commands/supervisor.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAGrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAatD,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAmF9E"}
@@ -0,0 +1,4 @@
1
+ import type { SlashCommand } from '@wrongstack/core';
2
+ export declare function buildDesktopCommand(): SlashCommand;
3
+ export declare function buildWebuiCommand(): SlashCommand;
4
+ //# sourceMappingURL=surfaces.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"surfaces.d.ts","sourceRoot":"","sources":["../../src/slash-commands/surfaces.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AA0BrD,wBAAgB,mBAAmB,IAAI,YAAY,CAelD;AAED,wBAAgB,iBAAiB,IAAI,YAAY,CAiBhD"}
@@ -0,0 +1,4 @@
1
+ import type { SlashCommand } from '@wrongstack/core';
2
+ import type { SlashCommandContext } from './index.js';
3
+ export declare function buildTasksCommand(_opts: SlashCommandContext): SlashCommand;
4
+ //# sourceMappingURL=tasks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../src/slash-commands/tasks.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAmBrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AA6CtD,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,mBAAmB,GAAG,YAAY,CA6U1E"}
@@ -0,0 +1,4 @@
1
+ import type { SlashCommand } from '@wrongstack/core';
2
+ import type { SlashCommandContext } from './index.js';
3
+ export declare function buildTechStackCommand(opts: SlashCommandContext): SlashCommand;
4
+ //# sourceMappingURL=techstack.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"techstack.d.ts","sourceRoot":"","sources":["../../src/slash-commands/techstack.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAW,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAE9D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAwKtD,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CA2G7E"}
@@ -0,0 +1,4 @@
1
+ import type { SlashCommand } from '@wrongstack/core';
2
+ import type { SlashCommandContext } from './index.js';
3
+ export declare function buildTelegramSettingsCommand(opts: SlashCommandContext): SlashCommand;
4
+ //# sourceMappingURL=telegram-settings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"telegram-settings.d.ts","sourceRoot":"","sources":["../../src/slash-commands/telegram-settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAIrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AA6BtD,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAiLpF"}
@@ -0,0 +1,11 @@
1
+ import type { SlashCommand } from '@wrongstack/core';
2
+ import type { SlashCommandContext } from './index.js';
3
+ /**
4
+ * `/telegram-setup` — configure the Telegram plugin in one command.
5
+ *
6
+ * Argument-driven (not interactive) so it works identically in the plain
7
+ * REPL and the Ink TUI. The bot token is validated against the Telegram
8
+ * API before being persisted.
9
+ */
10
+ export declare function buildTelegramSetupCommand(opts: SlashCommandContext): SlashCommand;
11
+ //# sourceMappingURL=telegram-setup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"telegram-setup.d.ts","sourceRoot":"","sources":["../../src/slash-commands/telegram-setup.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAGrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AA8BtD;;;;;;GAMG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAwJjF"}
@@ -0,0 +1,4 @@
1
+ import type { SlashCommand } from '@wrongstack/core';
2
+ import type { SlashCommandContext } from './index.js';
3
+ export declare function buildTodosCommand(opts: SlashCommandContext): SlashCommand;
4
+ //# sourceMappingURL=todos.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"todos.d.ts","sourceRoot":"","sources":["../../src/slash-commands/todos.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAGrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AA0BtD,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CA8EzE"}
@@ -0,0 +1,4 @@
1
+ import { type SlashCommand } from '@wrongstack/core';
2
+ import type { SlashCommandContext } from './index.js';
3
+ export declare function buildToolCommand(opts: SlashCommandContext): SlashCommand;
4
+ //# sourceMappingURL=tool.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tool.d.ts","sourceRoot":"","sources":["../../src/slash-commands/tool.ts"],"names":[],"mappings":"AAAA,OAAO,EAQL,KAAK,YAAY,EAIlB,MAAM,kBAAkB,CAAC;AAG1B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAmBtD,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAsdxE"}
@@ -0,0 +1,4 @@
1
+ import type { SlashCommand } from '@wrongstack/core';
2
+ import type { SlashCommandContext } from './index.js';
3
+ export declare function buildToolsCommand(opts: SlashCommandContext): SlashCommand;
4
+ //# sourceMappingURL=tools.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../src/slash-commands/tools.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAYtD,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CA+DzE"}
@@ -0,0 +1,15 @@
1
+ import type { SlashCommand } from '@wrongstack/core';
2
+ import type { SlashCommandContext } from './index.js';
3
+ /**
4
+ * `/tuneup` (alias `/checkup`) — broad session health, context-cost, and
5
+ * performance checkup.
6
+ *
7
+ * Where `/doctor` repairs the config JSON, `/tuneup` sweeps the wider setup and
8
+ * suggests the config knobs that make a session faster and more resilient.
9
+ * Report-only by default; `/tuneup fix` applies the safe deterministic subset,
10
+ * `/tuneup fix --power` also enables the autonomy/yolo/director profile (explicit
11
+ * opt-in so a plain tune-up never flips those), and `/tuneup deep` hands the
12
+ * findings to the agent for a project-specific optimization plan.
13
+ */
14
+ export declare function buildTuneupCommand(opts: SlashCommandContext): SlashCommand;
15
+ //# sourceMappingURL=tuneup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tuneup.d.ts","sourceRoot":"","sources":["../../src/slash-commands/tuneup.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAkBrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEtD;;;;;;;;;;GAUG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CA0F1E"}
@@ -0,0 +1,14 @@
1
+ import { type SlashCommand } from '@wrongstack/core';
2
+ import type { SlashCommandContext } from './index.js';
3
+ /**
4
+ * Register the `/working_dir` slash command (aliases: `/wd`, `/cd`).
5
+ *
6
+ * Usage:
7
+ * /working_dir Show current working directory
8
+ * /working_dir <path> Change working directory to <path>
9
+ *
10
+ * The path must be inside the project root. Relative paths resolve from
11
+ * the project root, not the current working directory (by convention).
12
+ */
13
+ export declare function buildWorkingDirCommand(_opts: SlashCommandContext): SlashCommand;
14
+ //# sourceMappingURL=working-dir.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"working-dir.d.ts","sourceRoot":"","sources":["../../src/slash-commands/working-dir.ts"],"names":[],"mappings":"AAEA,OAAO,EAAS,KAAK,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAC5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAGtD;;;;;;;;;GASG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,mBAAmB,GAAG,YAAY,CAoF/E"}
@@ -0,0 +1,8 @@
1
+ import type { SlashCommand } from '@wrongstack/core';
2
+ import type { SlashCommandContext } from './index.js';
3
+ /**
4
+ * /worktree — inspect and manage the git worktrees AutoPhase uses for per-phase
5
+ * isolation. Subcommands: list (default), merge <branch>, prune, clean.
6
+ */
7
+ export declare function buildWorktreeCommand(opts: SlashCommandContext): SlashCommand;
8
+ //# sourceMappingURL=worktree.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"worktree.d.ts","sourceRoot":"","sources":["../../src/slash-commands/worktree.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEtD;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAoE5E"}
@@ -0,0 +1,4 @@
1
+ import type { SlashCommand } from '@wrongstack/core';
2
+ import type { SlashCommandContext } from './index.js';
3
+ export declare function buildYoloCommand(opts: SlashCommandContext): SlashCommand;
4
+ //# sourceMappingURL=yolo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"yolo.d.ts","sourceRoot":"","sources":["../../src/slash-commands/yolo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEtD,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAmExE"}
@@ -0,0 +1,44 @@
1
+ export interface ContextInfo {
2
+ used: number;
3
+ max: number;
4
+ }
5
+ /**
6
+ * Minimal single-line spinner. Writes to stderr so it doesn't get mixed with
7
+ * the agent's stdout output (assistant text, tool diffs). Auto-no-ops outside
8
+ * a TTY so logs don't get spammed with control codes.
9
+ *
10
+ * When a {@link ContextInfo} is set via {@link setContext}, the spinner line
11
+ * appends a compact `ctx ████░░ 42% (12k/200k)` chip so the user can see
12
+ * how full the model's context window is while waiting for a response.
13
+ */
14
+ export declare class Spinner {
15
+ private timer?;
16
+ private frame;
17
+ private active;
18
+ private label;
19
+ private startedAt;
20
+ private context?;
21
+ private readonly out;
22
+ private readonly enabled;
23
+ /**
24
+ * @param out Stream the spinner writes to (default stderr).
25
+ * @param opts.enabled Hard override. When `false`, every method becomes a
26
+ * no-op regardless of TTY state — used to silence the spinner when the Ink
27
+ * TUI owns the screen (the spinner writes to stderr on an 80ms timer, which
28
+ * interleaves with Ink's stdout cursor math and corrupts the live region:
29
+ * it leaks the input row into scrollback and paints a stray
30
+ * "thinking… ctx" tracker at the very bottom). Defaults to TTY detection.
31
+ */
32
+ constructor(out?: NodeJS.WriteStream, opts?: {
33
+ enabled?: boolean | undefined;
34
+ });
35
+ start(label: string): void;
36
+ stop(): void;
37
+ /** Stop and persist a one-line note where the spinner was (e.g. "✓ done in 1.4s"). */
38
+ stopWith(note: string): void;
39
+ /** Update the live context-window chip shown on the spinner line. */
40
+ setContext(ctx: ContextInfo | undefined): void;
41
+ private render;
42
+ private clearLine;
43
+ }
44
+ //# sourceMappingURL=spinner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spinner.d.ts","sourceRoot":"","sources":["../src/spinner.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;CACb;AAED;;;;;;;;GAQG;AACH,qBAAa,OAAO;IAClB,OAAO,CAAC,KAAK,CAAC,CAA6B;IAC3C,OAAO,CAAC,KAAK,CAAK;IAClB,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,KAAK,CAAM;IACnB,OAAO,CAAC,SAAS,CAAK;IACtB,OAAO,CAAC,OAAO,CAAC,CAA0B;IAC1C,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAqB;IACzC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAU;IAElC;;;;;;;;OAQG;IACH,YAAY,GAAG,GAAE,MAAM,CAAC,WAA4B,EAAE,IAAI,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;KAAE,EAG7F;IAED,KAAK,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAYzB;IAED,IAAI,IAAI,IAAI,CAMX;IAED,sFAAsF;IACtF,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAG3B;IAED,qEAAqE;IACrE,UAAU,CAAC,GAAG,EAAE,WAAW,GAAG,SAAS,GAAG,IAAI,CAE7C;IAED,OAAO,CAAC,MAAM;IAUd,OAAO,CAAC,SAAS;CAIlB"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * ACP CLI integration.
3
+ *
4
+ * `wstack acp` — start WrongStack as an ACP server (blocks)
5
+ * `wstack acp list` — list ACP agents installed on $PATH
6
+ * `wstack acp spawn <id> <task>` — run a task on one named ACP agent
7
+ * `wstack acp parallel <csv> <task>` — fan a task out to multiple agents
8
+ *
9
+ * DIR-2: `wstack acp` runs WrongStack as a standard-compliant ACP agent.
10
+ * ACP clients (Zed, JetBrains, VS Code ACP extension) spawn it as a subprocess.
11
+ * This is the correct CLI entry point to test DIR-2 against a real ACP client.
12
+ */
13
+ import type { SubcommandHandler } from '../index.js';
14
+ export declare const acpCmd: SubcommandHandler;
15
+ //# sourceMappingURL=acp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"acp.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/acp.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AA8BH,OAAO,KAAK,EAAkB,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAYrE,eAAO,MAAM,MAAM,EAAE,iBAqFpB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { SubcommandHandler } from '../index.js';
2
+ /**
3
+ * `wstack audit <sessionId>` — inspect a session's tamper-evident
4
+ * tool audit log. Shows the chained hash entries and runs
5
+ * `ToolAuditLog.verify()` to surface any post-hoc modifications.
6
+ *
7
+ * Subcommands:
8
+ * - `wstack audit <sessionId>` — show entries + verify
9
+ * - `wstack audit --list` — list all sessions with audit logs
10
+ */
11
+ export declare const auditCmd: SubcommandHandler;
12
+ //# sourceMappingURL=audit.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"audit.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/audit.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD;;;;;;;;GAQG;AACH,eAAO,MAAM,QAAQ,EAAE,iBA0DtB,CAAC"}
@@ -0,0 +1,69 @@
1
+ import type { TerminalRenderer } from '../../renderer.js';
2
+ /**
3
+ * One entry per flag the `wstack auth local` subcommand
4
+ * accepts. Each entry is `{ flag, description }` — the
5
+ * renderer is responsible for column alignment.
6
+ *
7
+ * Keep this list in sync with `packages/cli/src/arg-parser.ts`
8
+ * (`AuthFlags.audit`, `AuthFlags.name`, etc.). The test
9
+ * `documents every local-auth flag with its parser-accepted
10
+ * shape` in `subcommand-handlers.test.ts` pins the
11
+ * relationship — a missing entry here is a red test.
12
+ */
13
+ export declare const LOCAL_AUTH_FLAGS: ReadonlyArray<{
14
+ flag: string;
15
+ description: string;
16
+ }>;
17
+ /** Width of the flag column in the rendered help. Picked to
18
+ * fit the longest flag (`--model <spec> / -m <spec>`) plus
19
+ * one space of padding before the description starts. */
20
+ export declare const LOCAL_FLAG_COLUMN_WIDTH = 38;
21
+ /**
22
+ * One-line usage summary that appears at the top of the
23
+ * help block. Kept in sync with the actual `wstack auth
24
+ * local` argv shape — the dispatch in `auth.ts` doesn't
25
+ * reorder flags, so the order here matches the order the
26
+ * user types them.
27
+ */
28
+ export declare const LOCAL_AUTH_HELP_USAGE: string;
29
+ /**
30
+ * Return true when the user asked for help on the local
31
+ * subcommand. Recognized forms:
32
+ *
33
+ * - `local --help` (canonical)
34
+ * - `local -h` (short alias)
35
+ * - `local --help=true` (defensive — a future `--help=<bool>`
36
+ * parser would still trigger help)
37
+ * - `local -- --help` (defensive — `--` separator is honored)
38
+ *
39
+ * The check is intentionally permissive: a user who types
40
+ * `--hel` (typo) or `--HELP` (wrong case) will fall through
41
+ * to the normal dispatch and trigger a "no such flag"
42
+ * error from `parseAuthFlags`. Only the canonical forms
43
+ * (lowercase, exact match) trigger the help short-circuit.
44
+ */
45
+ export declare function wantsLocalHelp(args: ReadonlyArray<string>): boolean;
46
+ /**
47
+ * Build the `wstack auth local` help block as a string. The
48
+ * returned string is the exact bytes the renderer would have
49
+ * written — color codes and all. Used by surfaces that can't
50
+ * hold a `TerminalRenderer` (slash commands return
51
+ * `{ message: string }` instead of writing directly) and by
52
+ * the `auth:local` deep-help entry in `per-subcommand-help.ts`
53
+ * via its `customBody` field.
54
+ *
55
+ * Single source of truth: the body here is the same string
56
+ * `wstack auth local --help`, `wstack auth local -- --help`,
57
+ * `/auth local help`, and `/help auth local` all render. Drift
58
+ * between the four surfaces is structurally impossible.
59
+ */
60
+ export declare function renderAuthLocalHelpToString(): string;
61
+ /**
62
+ * Render the `wstack auth local` help block to the given
63
+ * renderer. Thin wrapper over `renderAuthLocalHelpToString` —
64
+ * kept as a separate function so the existing call sites in
65
+ * `auth.ts` (which pass a `TerminalRenderer` directly) don't
66
+ * need to change.
67
+ */
68
+ export declare function renderAuthLocalHelp(renderer: TerminalRenderer): void;
69
+ //# sourceMappingURL=auth-local-help.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth-local-help.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/auth-local-help.ts"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAE1D;;;;;;;;;;GAUG;AACH,eAAO,MAAM,gBAAgB,EAAE,aAAa,CAAC;IAC3C,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;CACrB,CAoCA,CAAC;AAEF;;0DAE0D;AAC1D,eAAO,MAAM,uBAAuB,KAAK,CAAC;AAE1C;;;;;;GAMG;AACH,eAAO,MAAM,qBAAqB,QAE+B,CAAC;AAElE;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,aAAa,CAAC,MAAM,CAAC,GAAG,OAAO,CAEnE;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,2BAA2B,IAAI,MAAM,CAiCpD;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,gBAAgB,GAAG,IAAI,CAEpE"}
@@ -0,0 +1,3 @@
1
+ import type { SubcommandHandler } from '../index.js';
2
+ export declare const authCmd: SubcommandHandler;
3
+ //# sourceMappingURL=auth.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/auth.ts"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD,eAAO,MAAM,OAAO,EAAE,iBA+ErB,CAAC"}
@@ -0,0 +1,145 @@
1
+ import type { TerminalRenderer } from '../../renderer.js';
2
+ /**
3
+ * Per-flag help data for `wstack bench run`.
4
+ *
5
+ * The `BENCH_RUN_FLAGS` array is the **single source of truth** for
6
+ * the `wstack bench run` flag list. It's consumed by:
7
+ *
8
+ * - This file's `renderBenchRunHelpToString()` (renders the
9
+ * column-aligned help block)
10
+ * - `packages/cli/src/subcommands/handlers/bench.ts`'s
11
+ * `benchRun()` function (parses the flags — see the
12
+ * `flagStr` / `flagBool` reads there)
13
+ * - The `bench:run` deep-help entry in
14
+ * `per-subcommand-help.ts` via its `customBody` field
15
+ * (delivers the rendered block to every help surface)
16
+ *
17
+ * Adding a new flag to `wstack bench run` is a one-line change
18
+ * here; the parser picks it up automatically and the help block
19
+ * re-renders with the new flag in place. Drift between the
20
+ * three surfaces is structurally impossible.
21
+ *
22
+ * The flags are organized into three semantic groups:
23
+ *
24
+ * - **Suite selection** — which benchmark suite to run, plus
25
+ * suite-specific flags (`--suite`, `--polyglot-dir`,
26
+ * `--languages`, `--dataset-dir`, `--docker`)
27
+ * - **Model matrix** — which model cells to evaluate
28
+ * (`--models`)
29
+ * - **Run control** — scaling and output (`--limit`, `--out`,
30
+ * `--concurrency`)
31
+ *
32
+ * The grouping is reflected in the `group` field of each entry,
33
+ * which the renderer uses to print a "Flags" section with
34
+ * subheaders ("Suite selection:", "Model matrix:", "Run control:")
35
+ * so the help block reads top-to-bottom in the order a user
36
+ * would configure a run.
37
+ *
38
+ * The `kind` field discriminates the parser behavior:
39
+ *
40
+ * - `'boolean'` — the flag accepts `--flag` (sets to true).
41
+ * The parser uses `flagBool(deps, name)` to read these.
42
+ * - `'value'` — the flag accepts a value (`--flag <value>`).
43
+ * The parser reads these via `flagStr(deps, name)` directly.
44
+ */
45
+ export type BenchRunFlagGroup = 'suite' | 'models' | 'control';
46
+ export interface BenchRunFlag {
47
+ /** The flag's canonical name (no `--` prefix, no value placeholder). */
48
+ name: string;
49
+ /**
50
+ * The display form, with the `--` prefix and any value
51
+ * placeholder. For boolean flags, the renderer shows just
52
+ * `--flag` (no `--no-flag` counterpart — `bench run` flags
53
+ * are positive-only).
54
+ */
55
+ flag: string;
56
+ /** One-line description shown in the help block. */
57
+ description: string;
58
+ /** Which semantic group the flag belongs to. */
59
+ group: BenchRunFlagGroup;
60
+ /** Parser shape: `boolean` for toggles, `value` for `--flag <v>`. */
61
+ kind: 'boolean' | 'value';
62
+ /**
63
+ * Default value (only for value-kind flags). Rendered in the
64
+ * description as `(default: <value>)`. The parser's default
65
+ * behavior matches — both surfaces stay in sync because the
66
+ * description is data-driven from the same source.
67
+ */
68
+ defaultValue?: string;
69
+ /**
70
+ * When `true`, the flag is required (the parser errors out
71
+ * if it's missing). Rendered as "(required)" in the
72
+ * description. Only meaningful for value-kind flags.
73
+ */
74
+ required?: boolean;
75
+ }
76
+ /**
77
+ * The flag list — the canonical source of truth for
78
+ * `wstack bench run`. Order matters: it's the order the flags
79
+ * render in the help block.
80
+ */
81
+ export declare const BENCH_RUN_FLAGS: ReadonlyArray<BenchRunFlag>;
82
+ /**
83
+ * The names of the boolean flags (the parser iterates these to
84
+ * read each toggle via `flagBool`). The list is derived from
85
+ * `BENCH_RUN_FLAGS` to keep the two in sync — a new boolean
86
+ * flag added to `BENCH_RUN_FLAGS` shows up here automatically.
87
+ */
88
+ export declare const BENCH_RUN_BOOLEAN_FLAG_NAMES: ReadonlyArray<string>;
89
+ /**
90
+ * The names of the value flags (the parser reads these via
91
+ * `flagStr` directly). Same derivation strategy as the
92
+ * boolean list.
93
+ */
94
+ export declare const BENCH_RUN_VALUE_FLAG_NAMES: ReadonlyArray<string>;
95
+ /**
96
+ * The width of the flag column in the rendered help block.
97
+ * Chosen so the longest flag (`--polyglot-dir <path>`) fits
98
+ * with one space of padding before the description starts.
99
+ */
100
+ export declare const BENCH_RUN_FLAG_COLUMN_WIDTH = 28;
101
+ /**
102
+ * Build the `wstack bench run` help block as a string. The
103
+ * returned string is the exact bytes the renderer would have
104
+ * written — color codes and all. Used by surfaces that can't
105
+ * hold a `TerminalRenderer` (slash commands return
106
+ * `{ message: string }` instead of writing directly) and by
107
+ * the `bench:run` deep-help entry in `per-subcommand-help.ts`
108
+ * via its `customBody` field.
109
+ *
110
+ * Single source of truth: the body here is the same string
111
+ * `wstack bench run --help`, `wstack bench run -- --help`,
112
+ * `/bench run help`, and `/help bench run` all render. Drift
113
+ * between the four surfaces is structurally impossible.
114
+ *
115
+ * The block layout is:
116
+ * 1. Bold title line
117
+ * 2. Dimmed description (1-2 lines, wrapped at the call site)
118
+ * 3. Empty line
119
+ * 4. Bold "Usage" + the usage line (constructed from
120
+ * `BENCH_RUN_FLAGS` so the flag ordering matches the list)
121
+ * 5. Empty line
122
+ * 6. Bold "Flags" + the flags, grouped by `group` with
123
+ * subheaders ("Suite selection:" / "Model matrix:" /
124
+ * "Run control:") when the group changes
125
+ * 7. Empty line
126
+ * 8. Dimmed "See also:" line (single line, hardcoded)
127
+ */
128
+ export declare function renderBenchRunHelpToString(): string;
129
+ /**
130
+ * Render the `wstack bench run` help block directly to a
131
+ * renderer. Thin wrapper over `renderBenchRunHelpToString()`
132
+ * for callers that have a `TerminalRenderer` in hand (e.g.
133
+ * the `wstack bench run --help` bypass in `bench.ts`).
134
+ */
135
+ export declare function renderBenchRunHelp(renderer: TerminalRenderer): void;
136
+ /**
137
+ * Build the `Usage:` line that `benchRun` could write to
138
+ * stderr if the `--suite polyglot` path is missing the
139
+ * required `--polyglot-dir` flag. This is a parser-side
140
+ * fallback; the help block's usage line is the canonical
141
+ * version. Future refactor opportunity: have the parser
142
+ * import this function and call it directly.
143
+ */
144
+ export declare function buildBenchRunUsageLine(): string;
145
+ //# sourceMappingURL=bench-run-help.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bench-run-help.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/bench-run-help.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAE1D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,CAAC;AAE/D,MAAM,WAAW,YAAY;IAC3B,wEAAwE;IACxE,IAAI,EAAE,MAAM,CAAC;IACb;;;;;OAKG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,oDAAoD;IACpD,WAAW,EAAE,MAAM,CAAC;IACpB,gDAAgD;IAChD,KAAK,EAAE,iBAAiB,CAAC;IACzB,qEAAqE;IACrE,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC;IAC1B;;;;;OAKG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;GAIG;AACH,eAAO,MAAM,eAAe,EAAE,aAAa,CAAC,YAAY,CAuEvD,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,4BAA4B,EAAE,aAAa,CAAC,MAAM,CAE1C,CAAC;AAEtB;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,EAAE,aAAa,CAAC,MAAM,CAExC,CAAC;AAEtB;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,KAAK,CAAC;AAE9C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,0BAA0B,IAAI,MAAM,CAiBnD;AA2DD;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,QAAQ,EAAE,gBAAgB,GAAG,IAAI,CAEnE;AAED;;;;;;;GAOG;AACH,wBAAgB,sBAAsB,IAAI,MAAM,CAE/C"}
@@ -0,0 +1,13 @@
1
+ import type { SubcommandHandler } from '../index.js';
2
+ /**
3
+ * `wstack bench` — run model-independent agentic benchmarks (local manifests,
4
+ * Aider polyglot, SWE-bench Verified) with deterministic graders and a harness
5
+ * fingerprint.
6
+ *
7
+ * wstack bench run --suite <id> --models <config> [...]
8
+ * wstack bench mine --transcript <session.jsonl> [--out <eval-dir>]
9
+ * wstack bench report <dir>
10
+ * wstack bench list [--models <config>]
11
+ */
12
+ export declare const benchCmd: SubcommandHandler;
13
+ //# sourceMappingURL=bench.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bench.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/bench.ts"],"names":[],"mappings":"AA6BA,OAAO,KAAK,EAAkB,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErE;;;;;;;;;GASG;AACH,eAAO,MAAM,QAAQ,EAAE,iBAgBtB,CAAC"}