@wrongstack/cli 0.284.0 → 0.285.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (547) hide show
  1. package/README.md +4 -4
  2. package/data/providers.json +5 -3
  3. package/dist/acp-registry-cache.d.ts +33 -0
  4. package/dist/acp-registry-cache.d.ts.map +1 -0
  5. package/dist/acp-server-agent.d.ts +66 -0
  6. package/dist/acp-server-agent.d.ts.map +1 -0
  7. package/dist/arg-parser.d.ts +41 -0
  8. package/dist/arg-parser.d.ts.map +1 -0
  9. package/dist/auth-menu/add-provider.d.ts +15 -0
  10. package/dist/auth-menu/add-provider.d.ts.map +1 -0
  11. package/dist/auth-menu/anthropic-oauth.d.ts +43 -0
  12. package/dist/auth-menu/anthropic-oauth.d.ts.map +1 -0
  13. package/dist/auth-menu/auth-menu-audit.d.ts +175 -0
  14. package/dist/auth-menu/auth-menu-audit.d.ts.map +1 -0
  15. package/dist/auth-menu/direct.d.ts +15 -0
  16. package/dist/auth-menu/direct.d.ts.map +1 -0
  17. package/dist/auth-menu/github-copilot-oauth.d.ts +73 -0
  18. package/dist/auth-menu/github-copilot-oauth.d.ts.map +1 -0
  19. package/dist/auth-menu/helpers.d.ts +7 -0
  20. package/dist/auth-menu/helpers.d.ts.map +1 -0
  21. package/dist/auth-menu/index.d.ts +8 -0
  22. package/dist/auth-menu/index.d.ts.map +1 -0
  23. package/dist/auth-menu/local-presets.d.ts +36 -0
  24. package/dist/auth-menu/local-presets.d.ts.map +1 -0
  25. package/dist/auth-menu/local.d.ts +138 -0
  26. package/dist/auth-menu/local.d.ts.map +1 -0
  27. package/dist/auth-menu/oauth-menu.d.ts +10 -0
  28. package/dist/auth-menu/oauth-menu.d.ts.map +1 -0
  29. package/dist/auth-menu/openai-codex-oauth.d.ts +167 -0
  30. package/dist/auth-menu/openai-codex-oauth.d.ts.map +1 -0
  31. package/dist/auth-menu/panel-service.d.ts +32 -0
  32. package/dist/auth-menu/panel-service.d.ts.map +1 -0
  33. package/dist/auth-menu/provider-menu.d.ts +7 -0
  34. package/dist/auth-menu/provider-menu.d.ts.map +1 -0
  35. package/dist/auth-menu/shared.d.ts +32 -0
  36. package/dist/auth-menu/shared.d.ts.map +1 -0
  37. package/dist/auth-menu/top-menu.d.ts +11 -0
  38. package/dist/auth-menu/top-menu.d.ts.map +1 -0
  39. package/dist/auth-menu/types.d.ts +42 -0
  40. package/dist/auth-menu/types.d.ts.map +1 -0
  41. package/dist/auth-menu.d.ts +7 -0
  42. package/dist/auth-menu.d.ts.map +1 -0
  43. package/dist/autophase-host.d.ts +103 -0
  44. package/dist/autophase-host.d.ts.map +1 -0
  45. package/dist/boot/auto-discover-providers.d.ts +20 -0
  46. package/dist/boot/auto-discover-providers.d.ts.map +1 -0
  47. package/dist/boot/brain-decision-log.d.ts +38 -0
  48. package/dist/boot/brain-decision-log.d.ts.map +1 -0
  49. package/dist/boot/container-wiring.d.ts +34 -0
  50. package/dist/boot/container-wiring.d.ts.map +1 -0
  51. package/dist/boot/dispatch-singleshot.d.ts +35 -0
  52. package/dist/boot/dispatch-singleshot.d.ts.map +1 -0
  53. package/dist/boot/dispatch-webui.d.ts +82 -0
  54. package/dist/boot/dispatch-webui.d.ts.map +1 -0
  55. package/dist/boot/event-wiring.d.ts +22 -0
  56. package/dist/boot/event-wiring.d.ts.map +1 -0
  57. package/dist/boot/short-circuit-desktop.d.ts +3 -0
  58. package/dist/boot/short-circuit-desktop.d.ts.map +1 -0
  59. package/dist/boot/short-circuit-flags.d.ts +9 -0
  60. package/dist/boot/short-circuit-flags.d.ts.map +1 -0
  61. package/dist/boot/short-circuit-hq.d.ts +16 -0
  62. package/dist/boot/short-circuit-hq.d.ts.map +1 -0
  63. package/dist/boot/system-prompt-builder.d.ts +91 -0
  64. package/dist/boot/system-prompt-builder.d.ts.map +1 -0
  65. package/dist/boot/system-prompt.d.ts +66 -0
  66. package/dist/boot/system-prompt.d.ts.map +1 -0
  67. package/dist/boot/tool-registry.d.ts +42 -0
  68. package/dist/boot/tool-registry.d.ts.map +1 -0
  69. package/dist/boot/tui-autophase-wiring.d.ts +23 -0
  70. package/dist/boot/tui-autophase-wiring.d.ts.map +1 -0
  71. package/dist/boot/tui-coordinator-setup.d.ts +38 -0
  72. package/dist/boot/tui-coordinator-setup.d.ts.map +1 -0
  73. package/dist/boot/tui-debug-stream.d.ts +18 -0
  74. package/dist/boot/tui-debug-stream.d.ts.map +1 -0
  75. package/dist/boot/tui-live-sessions.d.ts +39 -0
  76. package/dist/boot/tui-live-sessions.d.ts.map +1 -0
  77. package/dist/boot/tui-project-picker-callback.d.ts +30 -0
  78. package/dist/boot/tui-project-picker-callback.d.ts.map +1 -0
  79. package/dist/boot/tui-project-spawn.d.ts +19 -0
  80. package/dist/boot/tui-project-spawn.d.ts.map +1 -0
  81. package/dist/boot/tui-project-switch.d.ts +26 -0
  82. package/dist/boot/tui-project-switch.d.ts.map +1 -0
  83. package/dist/boot/tui-runtime-state.d.ts +83 -0
  84. package/dist/boot/tui-runtime-state.d.ts.map +1 -0
  85. package/dist/boot/tui-sdd-callback.d.ts +20 -0
  86. package/dist/boot/tui-sdd-callback.d.ts.map +1 -0
  87. package/dist/boot/tui-session-resume.d.ts +21 -0
  88. package/dist/boot/tui-session-resume.d.ts.map +1 -0
  89. package/dist/boot/tui-settings-adapter.d.ts +23 -0
  90. package/dist/boot/tui-settings-adapter.d.ts.map +1 -0
  91. package/dist/boot-config.d.ts +26 -0
  92. package/dist/boot-config.d.ts.map +1 -0
  93. package/dist/boot.d.ts +30 -0
  94. package/dist/boot.d.ts.map +1 -0
  95. package/dist/cli-bundled-prompts.d.ts +12 -0
  96. package/dist/cli-bundled-prompts.d.ts.map +1 -0
  97. package/dist/cli-bundled-skills.d.ts +13 -0
  98. package/dist/cli-bundled-skills.d.ts.map +1 -0
  99. package/dist/cli-context.d.ts +30 -0
  100. package/dist/cli-context.d.ts.map +1 -0
  101. package/dist/cli-entry-point.d.ts +2 -0
  102. package/dist/cli-entry-point.d.ts.map +1 -0
  103. package/dist/cli-eternal-flag.d.ts +66 -0
  104. package/dist/cli-eternal-flag.d.ts.map +1 -0
  105. package/dist/cli-main.d.ts +13 -0
  106. package/dist/cli-main.d.ts.map +1 -0
  107. package/dist/cli-recovery-prompt.d.ts +19 -0
  108. package/dist/cli-recovery-prompt.d.ts.map +1 -0
  109. package/dist/cli-update-notice.d.ts +3 -0
  110. package/dist/cli-update-notice.d.ts.map +1 -0
  111. package/dist/config-doctor.d.ts +39 -0
  112. package/dist/config-doctor.d.ts.map +1 -0
  113. package/dist/config-history.d.ts +54 -0
  114. package/dist/config-history.d.ts.map +1 -0
  115. package/dist/context-limit.d.ts +51 -0
  116. package/dist/context-limit.d.ts.map +1 -0
  117. package/dist/context-overflow-diagnostic.d.ts +3 -0
  118. package/dist/context-overflow-diagnostic.d.ts.map +1 -0
  119. package/dist/diff-renderer.d.ts +2 -0
  120. package/dist/diff-renderer.d.ts.map +1 -0
  121. package/dist/execute-deps.d.ts +239 -0
  122. package/dist/execute-deps.d.ts.map +1 -0
  123. package/dist/execution.d.ts +99 -0
  124. package/dist/execution.d.ts.map +1 -0
  125. package/dist/first-run-auth-gate.d.ts +18 -0
  126. package/dist/first-run-auth-gate.d.ts.map +1 -0
  127. package/dist/fleet/host.d.ts +533 -0
  128. package/dist/fleet/host.d.ts.map +1 -0
  129. package/dist/fleet/routing.d.ts +8 -0
  130. package/dist/fleet/routing.d.ts.map +1 -0
  131. package/dist/fleet/status-broadcast.d.ts +42 -0
  132. package/dist/fleet/status-broadcast.d.ts.map +1 -0
  133. package/dist/fleet/supervisor-registry.d.ts +16 -0
  134. package/dist/fleet/supervisor-registry.d.ts.map +1 -0
  135. package/dist/fleet-statusline.d.ts +71 -0
  136. package/dist/fleet-statusline.d.ts.map +1 -0
  137. package/dist/hooks-wiring.d.ts +26 -0
  138. package/dist/hooks-wiring.d.ts.map +1 -0
  139. package/dist/hq-command-controller.d.ts +52 -0
  140. package/dist/hq-command-controller.d.ts.map +1 -0
  141. package/dist/hq-dashboard-html.d.ts +2 -0
  142. package/dist/hq-dashboard-html.d.ts.map +1 -0
  143. package/dist/hq-publisher.d.ts +16 -0
  144. package/dist/hq-publisher.d.ts.map +1 -0
  145. package/dist/hq-server.d.ts +56 -0
  146. package/dist/hq-server.d.ts.map +1 -0
  147. package/dist/hq-static-serve.d.ts +26 -0
  148. package/dist/hq-static-serve.d.ts.map +1 -0
  149. package/dist/index.d.ts +3 -5
  150. package/dist/index.d.ts.map +1 -0
  151. package/dist/index.js +6025 -3952
  152. package/dist/index.js.map +7 -1
  153. package/dist/input-reader.d.ts +45 -0
  154. package/dist/input-reader.d.ts.map +1 -0
  155. package/dist/launch-hints.d.ts +46 -0
  156. package/dist/launch-hints.d.ts.map +1 -0
  157. package/dist/mailbox-bridge-bootstrap.d.ts +85 -0
  158. package/dist/mailbox-bridge-bootstrap.d.ts.map +1 -0
  159. package/dist/mcp-serve.d.ts +23 -0
  160. package/dist/mcp-serve.d.ts.map +1 -0
  161. package/dist/multi-agent.d.ts +4 -0
  162. package/dist/multi-agent.d.ts.map +1 -0
  163. package/dist/next-task-predictor.d.ts +45 -0
  164. package/dist/next-task-predictor.d.ts.map +1 -0
  165. package/dist/permission-prompt.d.ts +11 -0
  166. package/dist/permission-prompt.d.ts.map +1 -0
  167. package/dist/picker.d.ts +86 -0
  168. package/dist/picker.d.ts.map +1 -0
  169. package/dist/plugin-api-factory.d.ts +3 -0
  170. package/dist/plugin-api-factory.d.ts.map +1 -0
  171. package/dist/plugin-management.d.ts +43 -0
  172. package/dist/plugin-management.d.ts.map +1 -0
  173. package/dist/pre-launch/indexing-question.d.ts +28 -0
  174. package/dist/pre-launch/indexing-question.d.ts.map +1 -0
  175. package/dist/pre-launch/launch-prompts.d.ts +52 -0
  176. package/dist/pre-launch/launch-prompts.d.ts.map +1 -0
  177. package/dist/pre-launch/project-check.d.ts +25 -0
  178. package/dist/pre-launch/project-check.d.ts.map +1 -0
  179. package/dist/pre-launch.d.ts +4 -0
  180. package/dist/pre-launch.d.ts.map +1 -0
  181. package/dist/preflight.d.ts +58 -0
  182. package/dist/preflight.d.ts.map +1 -0
  183. package/dist/project-picker.d.ts +56 -0
  184. package/dist/project-picker.d.ts.map +1 -0
  185. package/dist/provider-config-utils.d.ts +58 -0
  186. package/dist/provider-config-utils.d.ts.map +1 -0
  187. package/dist/provider-helpers.d.ts +53 -0
  188. package/dist/provider-helpers.d.ts.map +1 -0
  189. package/dist/renderer.d.ts +76 -0
  190. package/dist/renderer.d.ts.map +1 -0
  191. package/dist/repl.d.ts +162 -0
  192. package/dist/repl.d.ts.map +1 -0
  193. package/dist/services/project-facts.d.ts +17 -0
  194. package/dist/services/project-facts.d.ts.map +1 -0
  195. package/dist/session-event-wiring.d.ts +48 -0
  196. package/dist/session-event-wiring.d.ts.map +1 -0
  197. package/dist/session-stats.d.ts +38 -0
  198. package/dist/session-stats.d.ts.map +1 -0
  199. package/dist/settings-menu.d.ts +87 -0
  200. package/dist/settings-menu.d.ts.map +1 -0
  201. package/dist/shutdown-cleanup.d.ts +44 -0
  202. package/dist/shutdown-cleanup.d.ts.map +1 -0
  203. package/dist/slash-commands/acp.d.ts +23 -0
  204. package/dist/slash-commands/acp.d.ts.map +1 -0
  205. package/dist/slash-commands/agents.d.ts +16 -0
  206. package/dist/slash-commands/agents.d.ts.map +1 -0
  207. package/dist/slash-commands/audit.d.ts +11 -0
  208. package/dist/slash-commands/audit.d.ts.map +1 -0
  209. package/dist/slash-commands/auth.d.ts +20 -0
  210. package/dist/slash-commands/auth.d.ts.map +1 -0
  211. package/dist/slash-commands/autonomy.d.ts +5 -0
  212. package/dist/slash-commands/autonomy.d.ts.map +1 -0
  213. package/dist/slash-commands/autophase.d.ts +13 -0
  214. package/dist/slash-commands/autophase.d.ts.map +1 -0
  215. package/dist/slash-commands/brain.d.ts +4 -0
  216. package/dist/slash-commands/brain.d.ts.map +1 -0
  217. package/dist/slash-commands/btw.d.ts +13 -0
  218. package/dist/slash-commands/btw.d.ts.map +1 -0
  219. package/dist/slash-commands/clear.d.ts +4 -0
  220. package/dist/slash-commands/clear.d.ts.map +1 -0
  221. package/dist/slash-commands/codebase-reindex.d.ts +11 -0
  222. package/dist/slash-commands/codebase-reindex.d.ts.map +1 -0
  223. package/dist/slash-commands/collab.d.ts +26 -0
  224. package/dist/slash-commands/collab.d.ts.map +1 -0
  225. package/dist/slash-commands/commit-llm.d.ts +41 -0
  226. package/dist/slash-commands/commit-llm.d.ts.map +1 -0
  227. package/dist/slash-commands/compact.d.ts +4 -0
  228. package/dist/slash-commands/compact.d.ts.map +1 -0
  229. package/dist/slash-commands/context.d.ts +4 -0
  230. package/dist/slash-commands/context.d.ts.map +1 -0
  231. package/dist/slash-commands/coordinator.d.ts +4 -0
  232. package/dist/slash-commands/coordinator.d.ts.map +1 -0
  233. package/dist/slash-commands/delegate.d.ts +17 -0
  234. package/dist/slash-commands/delegate.d.ts.map +1 -0
  235. package/dist/slash-commands/design.d.ts +16 -0
  236. package/dist/slash-commands/design.d.ts.map +1 -0
  237. package/dist/slash-commands/dev.d.ts +9 -0
  238. package/dist/slash-commands/dev.d.ts.map +1 -0
  239. package/dist/slash-commands/diag-stats.d.ts +5 -0
  240. package/dist/slash-commands/diag-stats.d.ts.map +1 -0
  241. package/dist/slash-commands/dispatch-llm.d.ts +12 -0
  242. package/dist/slash-commands/dispatch-llm.d.ts.map +1 -0
  243. package/dist/slash-commands/doctor.d.ts +13 -0
  244. package/dist/slash-commands/doctor.d.ts.map +1 -0
  245. package/dist/slash-commands/enhance.d.ts +13 -0
  246. package/dist/slash-commands/enhance.d.ts.map +1 -0
  247. package/dist/slash-commands/ensemble.d.ts +17 -0
  248. package/dist/slash-commands/ensemble.d.ts.map +1 -0
  249. package/dist/slash-commands/f-keys.d.ts +18 -0
  250. package/dist/slash-commands/f-keys.d.ts.map +1 -0
  251. package/dist/slash-commands/fallback.d.ts +20 -0
  252. package/dist/slash-commands/fallback.d.ts.map +1 -0
  253. package/dist/slash-commands/fix-classifier.d.ts +28 -0
  254. package/dist/slash-commands/fix-classifier.d.ts.map +1 -0
  255. package/dist/slash-commands/fix.d.ts +4 -0
  256. package/dist/slash-commands/fix.d.ts.map +1 -0
  257. package/dist/slash-commands/fleet.d.ts +20 -0
  258. package/dist/slash-commands/fleet.d.ts.map +1 -0
  259. package/dist/slash-commands/gitid.d.ts +22 -0
  260. package/dist/slash-commands/gitid.d.ts.map +1 -0
  261. package/dist/slash-commands/goal-refiner.d.ts +22 -0
  262. package/dist/slash-commands/goal-refiner.d.ts.map +1 -0
  263. package/dist/slash-commands/goal.d.ts +4 -0
  264. package/dist/slash-commands/goal.d.ts.map +1 -0
  265. package/dist/slash-commands/help.d.ts +4 -0
  266. package/dist/slash-commands/help.d.ts.map +1 -0
  267. package/dist/slash-commands/helpers.d.ts +33 -0
  268. package/dist/slash-commands/helpers.d.ts.map +1 -0
  269. package/dist/slash-commands/hq.d.ts +4 -0
  270. package/dist/slash-commands/hq.d.ts.map +1 -0
  271. package/dist/slash-commands/index.d.ts +524 -0
  272. package/dist/slash-commands/index.d.ts.map +1 -0
  273. package/dist/slash-commands/init.d.ts +4 -0
  274. package/dist/slash-commands/init.d.ts.map +1 -0
  275. package/dist/slash-commands/interrupt.d.ts +15 -0
  276. package/dist/slash-commands/interrupt.d.ts.map +1 -0
  277. package/dist/slash-commands/kanban.d.ts +4 -0
  278. package/dist/slash-commands/kanban.d.ts.map +1 -0
  279. package/dist/slash-commands/mailbox-demo.d.ts +19 -0
  280. package/dist/slash-commands/mailbox-demo.d.ts.map +1 -0
  281. package/dist/slash-commands/mailbox-serve.d.ts +20 -0
  282. package/dist/slash-commands/mailbox-serve.d.ts.map +1 -0
  283. package/dist/slash-commands/mailbox.d.ts +28 -0
  284. package/dist/slash-commands/mailbox.d.ts.map +1 -0
  285. package/dist/slash-commands/mcp-utils.d.ts +24 -0
  286. package/dist/slash-commands/mcp-utils.d.ts.map +1 -0
  287. package/dist/slash-commands/mcp.d.ts +19 -0
  288. package/dist/slash-commands/mcp.d.ts.map +1 -0
  289. package/dist/slash-commands/memory.d.ts +4 -0
  290. package/dist/slash-commands/memory.d.ts.map +1 -0
  291. package/dist/slash-commands/mode.d.ts +6 -0
  292. package/dist/slash-commands/mode.d.ts.map +1 -0
  293. package/dist/slash-commands/modelcaps.d.ts +4 -0
  294. package/dist/slash-commands/modelcaps.d.ts.map +1 -0
  295. package/dist/slash-commands/models.d.ts +23 -0
  296. package/dist/slash-commands/models.d.ts.map +1 -0
  297. package/dist/slash-commands/mouse.d.ts +14 -0
  298. package/dist/slash-commands/mouse.d.ts.map +1 -0
  299. package/dist/slash-commands/next.d.ts +21 -0
  300. package/dist/slash-commands/next.d.ts.map +1 -0
  301. package/dist/slash-commands/plugin.d.ts +4 -0
  302. package/dist/slash-commands/plugin.d.ts.map +1 -0
  303. package/dist/slash-commands/project-utils.d.ts +51 -0
  304. package/dist/slash-commands/project-utils.d.ts.map +1 -0
  305. package/dist/slash-commands/project.d.ts +4 -0
  306. package/dist/slash-commands/project.d.ts.map +1 -0
  307. package/dist/slash-commands/prune.d.ts +4 -0
  308. package/dist/slash-commands/prune.d.ts.map +1 -0
  309. package/dist/slash-commands/review.d.ts +4 -0
  310. package/dist/slash-commands/review.d.ts.map +1 -0
  311. package/dist/slash-commands/sdd/project-context.d.ts +7 -0
  312. package/dist/slash-commands/sdd/project-context.d.ts.map +1 -0
  313. package/dist/slash-commands/sdd/rendering.d.ts +2 -0
  314. package/dist/slash-commands/sdd/rendering.d.ts.map +1 -0
  315. package/dist/slash-commands/sdd/spec-detection.d.ts +21 -0
  316. package/dist/slash-commands/sdd/spec-detection.d.ts.map +1 -0
  317. package/dist/slash-commands/sdd/state.d.ts +40 -0
  318. package/dist/slash-commands/sdd/state.d.ts.map +1 -0
  319. package/dist/slash-commands/sdd/task-manager.d.ts +37 -0
  320. package/dist/slash-commands/sdd/task-manager.d.ts.map +1 -0
  321. package/dist/slash-commands/sdd.d.ts +15 -0
  322. package/dist/slash-commands/sdd.d.ts.map +1 -0
  323. package/dist/slash-commands/security.d.ts +4 -0
  324. package/dist/slash-commands/security.d.ts.map +1 -0
  325. package/dist/slash-commands/session.d.ts +7 -0
  326. package/dist/slash-commands/session.d.ts.map +1 -0
  327. package/dist/slash-commands/setmodel.d.ts +20 -0
  328. package/dist/slash-commands/setmodel.d.ts.map +1 -0
  329. package/dist/slash-commands/settings.d.ts +12 -0
  330. package/dist/slash-commands/settings.d.ts.map +1 -0
  331. package/dist/slash-commands/shadow.d.ts +28 -0
  332. package/dist/slash-commands/shadow.d.ts.map +1 -0
  333. package/dist/slash-commands/slash-deep-help.d.ts +51 -0
  334. package/dist/slash-commands/slash-deep-help.d.ts.map +1 -0
  335. package/dist/slash-commands/spawn-agents.d.ts +6 -0
  336. package/dist/slash-commands/spawn-agents.d.ts.map +1 -0
  337. package/dist/slash-commands/statusline.d.ts +67 -0
  338. package/dist/slash-commands/statusline.d.ts.map +1 -0
  339. package/dist/slash-commands/suggest.d.ts +4 -0
  340. package/dist/slash-commands/suggest.d.ts.map +1 -0
  341. package/dist/slash-commands/suggestion-store.d.ts +29 -0
  342. package/dist/slash-commands/suggestion-store.d.ts.map +1 -0
  343. package/dist/slash-commands/supervisor.d.ts +18 -0
  344. package/dist/slash-commands/supervisor.d.ts.map +1 -0
  345. package/dist/slash-commands/surfaces.d.ts +4 -0
  346. package/dist/slash-commands/surfaces.d.ts.map +1 -0
  347. package/dist/slash-commands/tasks.d.ts +4 -0
  348. package/dist/slash-commands/tasks.d.ts.map +1 -0
  349. package/dist/slash-commands/techstack.d.ts +4 -0
  350. package/dist/slash-commands/techstack.d.ts.map +1 -0
  351. package/dist/slash-commands/telegram-settings.d.ts +4 -0
  352. package/dist/slash-commands/telegram-settings.d.ts.map +1 -0
  353. package/dist/slash-commands/telegram-setup.d.ts +11 -0
  354. package/dist/slash-commands/telegram-setup.d.ts.map +1 -0
  355. package/dist/slash-commands/todos.d.ts +4 -0
  356. package/dist/slash-commands/todos.d.ts.map +1 -0
  357. package/dist/slash-commands/tool.d.ts +4 -0
  358. package/dist/slash-commands/tool.d.ts.map +1 -0
  359. package/dist/slash-commands/tools.d.ts +4 -0
  360. package/dist/slash-commands/tools.d.ts.map +1 -0
  361. package/dist/slash-commands/tuneup.d.ts +15 -0
  362. package/dist/slash-commands/tuneup.d.ts.map +1 -0
  363. package/dist/slash-commands/working-dir.d.ts +14 -0
  364. package/dist/slash-commands/working-dir.d.ts.map +1 -0
  365. package/dist/slash-commands/worktree.d.ts +8 -0
  366. package/dist/slash-commands/worktree.d.ts.map +1 -0
  367. package/dist/slash-commands/yolo.d.ts +4 -0
  368. package/dist/slash-commands/yolo.d.ts.map +1 -0
  369. package/dist/spinner.d.ts +44 -0
  370. package/dist/spinner.d.ts.map +1 -0
  371. package/dist/subcommands/handlers/acp.d.ts +15 -0
  372. package/dist/subcommands/handlers/acp.d.ts.map +1 -0
  373. package/dist/subcommands/handlers/audit.d.ts +12 -0
  374. package/dist/subcommands/handlers/audit.d.ts.map +1 -0
  375. package/dist/subcommands/handlers/auth-local-help.d.ts +69 -0
  376. package/dist/subcommands/handlers/auth-local-help.d.ts.map +1 -0
  377. package/dist/subcommands/handlers/auth.d.ts +3 -0
  378. package/dist/subcommands/handlers/auth.d.ts.map +1 -0
  379. package/dist/subcommands/handlers/bench-run-help.d.ts +145 -0
  380. package/dist/subcommands/handlers/bench-run-help.d.ts.map +1 -0
  381. package/dist/subcommands/handlers/bench.d.ts +13 -0
  382. package/dist/subcommands/handlers/bench.d.ts.map +1 -0
  383. package/dist/subcommands/handlers/config-history.d.ts +10 -0
  384. package/dist/subcommands/handlers/config-history.d.ts.map +1 -0
  385. package/dist/subcommands/handlers/diag-doctor.d.ts +4 -0
  386. package/dist/subcommands/handlers/diag-doctor.d.ts.map +1 -0
  387. package/dist/subcommands/handlers/export.d.ts +3 -0
  388. package/dist/subcommands/handlers/export.d.ts.map +1 -0
  389. package/dist/subcommands/handlers/helpers.d.ts +2 -0
  390. package/dist/subcommands/handlers/helpers.d.ts.map +1 -0
  391. package/dist/subcommands/handlers/hq.d.ts +3 -0
  392. package/dist/subcommands/handlers/hq.d.ts.map +1 -0
  393. package/dist/subcommands/handlers/init.d.ts +7 -0
  394. package/dist/subcommands/handlers/init.d.ts.map +1 -0
  395. package/dist/subcommands/handlers/mailbox-serve.d.ts +3 -0
  396. package/dist/subcommands/handlers/mailbox-serve.d.ts.map +1 -0
  397. package/dist/subcommands/handlers/mcp.d.ts +3 -0
  398. package/dist/subcommands/handlers/mcp.d.ts.map +1 -0
  399. package/dist/subcommands/handlers/modeldiag.d.ts +3 -0
  400. package/dist/subcommands/handlers/modeldiag.d.ts.map +1 -0
  401. package/dist/subcommands/handlers/models-add-help.d.ts +142 -0
  402. package/dist/subcommands/handlers/models-add-help.d.ts.map +1 -0
  403. package/dist/subcommands/handlers/per-subcommand-help.d.ts +136 -0
  404. package/dist/subcommands/handlers/per-subcommand-help.d.ts.map +1 -0
  405. package/dist/subcommands/handlers/plugin-usage.d.ts +4 -0
  406. package/dist/subcommands/handlers/plugin-usage.d.ts.map +1 -0
  407. package/dist/subcommands/handlers/projects.d.ts +3 -0
  408. package/dist/subcommands/handlers/projects.d.ts.map +1 -0
  409. package/dist/subcommands/handlers/providers-models.d.ts +4 -0
  410. package/dist/subcommands/handlers/providers-models.d.ts.map +1 -0
  411. package/dist/subcommands/handlers/quick.d.ts +14 -0
  412. package/dist/subcommands/handlers/quick.d.ts.map +1 -0
  413. package/dist/subcommands/handlers/replay.d.ts +12 -0
  414. package/dist/subcommands/handlers/replay.d.ts.map +1 -0
  415. package/dist/subcommands/handlers/rewind.d.ts +3 -0
  416. package/dist/subcommands/handlers/rewind.d.ts.map +1 -0
  417. package/dist/subcommands/handlers/sessions-config.d.ts +4 -0
  418. package/dist/subcommands/handlers/sessions-config.d.ts.map +1 -0
  419. package/dist/subcommands/handlers/sessions-fleet.d.ts +15 -0
  420. package/dist/subcommands/handlers/sessions-fleet.d.ts.map +1 -0
  421. package/dist/subcommands/handlers/tools-skills.d.ts +4 -0
  422. package/dist/subcommands/handlers/tools-skills.d.ts.map +1 -0
  423. package/dist/subcommands/handlers/update.d.ts +7 -0
  424. package/dist/subcommands/handlers/update.d.ts.map +1 -0
  425. package/dist/subcommands/handlers/version-help.d.ts +4 -0
  426. package/dist/subcommands/handlers/version-help.d.ts.map +1 -0
  427. package/dist/subcommands/index.d.ts +26 -0
  428. package/dist/subcommands/index.d.ts.map +1 -0
  429. package/dist/theme.d.ts +12 -0
  430. package/dist/theme.d.ts.map +1 -0
  431. package/dist/tui-thinking-word.d.ts +5 -0
  432. package/dist/tui-thinking-word.d.ts.map +1 -0
  433. package/dist/tuneup.d.ts +162 -0
  434. package/dist/tuneup.d.ts.map +1 -0
  435. package/dist/update-check.d.ts +22 -0
  436. package/dist/update-check.d.ts.map +1 -0
  437. package/dist/utils/delay-format.d.ts +5 -0
  438. package/dist/utils/delay-format.d.ts.map +1 -0
  439. package/dist/utils/win32-cmd.d.ts +7 -0
  440. package/dist/utils/win32-cmd.d.ts.map +1 -0
  441. package/dist/utils.d.ts +58 -0
  442. package/dist/utils.d.ts.map +1 -0
  443. package/dist/version.d.ts +4 -0
  444. package/dist/version.d.ts.map +1 -0
  445. package/dist/webui-server/client-registration.d.ts +41 -0
  446. package/dist/webui-server/client-registration.d.ts.map +1 -0
  447. package/dist/webui-server/connection-handler.d.ts +59 -0
  448. package/dist/webui-server/connection-handler.d.ts.map +1 -0
  449. package/dist/webui-server/context-breakdown.d.ts +57 -0
  450. package/dist/webui-server/context-breakdown.d.ts.map +1 -0
  451. package/dist/webui-server/cost-helpers.d.ts +29 -0
  452. package/dist/webui-server/cost-helpers.d.ts.map +1 -0
  453. package/dist/webui-server/lifecycle.d.ts +108 -0
  454. package/dist/webui-server/lifecycle.d.ts.map +1 -0
  455. package/dist/webui-server/logger-shim.d.ts +10 -0
  456. package/dist/webui-server/logger-shim.d.ts.map +1 -0
  457. package/dist/webui-server/message-router.d.ts +39 -0
  458. package/dist/webui-server/message-router.d.ts.map +1 -0
  459. package/dist/webui-server/prefs-seeding.d.ts +57 -0
  460. package/dist/webui-server/prefs-seeding.d.ts.map +1 -0
  461. package/dist/webui-server/provider-config.d.ts +61 -0
  462. package/dist/webui-server/provider-config.d.ts.map +1 -0
  463. package/dist/webui-server/session-start-payload.d.ts +20 -0
  464. package/dist/webui-server/session-start-payload.d.ts.map +1 -0
  465. package/dist/webui-server/session-status-poll.d.ts +14 -0
  466. package/dist/webui-server/session-status-poll.d.ts.map +1 -0
  467. package/dist/webui-server/setup-events.d.ts +45 -0
  468. package/dist/webui-server/setup-events.d.ts.map +1 -0
  469. package/dist/webui-server/static-serve.d.ts +70 -0
  470. package/dist/webui-server/static-serve.d.ts.map +1 -0
  471. package/dist/webui-server/stream-coalescer.d.ts +41 -0
  472. package/dist/webui-server/stream-coalescer.d.ts.map +1 -0
  473. package/dist/webui-server/ws-handlers/agent-config.d.ts +47 -0
  474. package/dist/webui-server/ws-handlers/agent-config.d.ts.map +1 -0
  475. package/dist/webui-server/ws-handlers/brain.d.ts +36 -0
  476. package/dist/webui-server/ws-handlers/brain.d.ts.map +1 -0
  477. package/dist/webui-server/ws-handlers/connection.d.ts +50 -0
  478. package/dist/webui-server/ws-handlers/connection.d.ts.map +1 -0
  479. package/dist/webui-server/ws-handlers/context.d.ts +55 -0
  480. package/dist/webui-server/ws-handlers/context.d.ts.map +1 -0
  481. package/dist/webui-server/ws-handlers/index.d.ts +60 -0
  482. package/dist/webui-server/ws-handlers/index.d.ts.map +1 -0
  483. package/dist/webui-server/ws-handlers/introspection.d.ts +35 -0
  484. package/dist/webui-server/ws-handlers/introspection.d.ts.map +1 -0
  485. package/dist/webui-server/ws-handlers/kanban.d.ts +41 -0
  486. package/dist/webui-server/ws-handlers/kanban.d.ts.map +1 -0
  487. package/dist/webui-server/ws-handlers/mailbox.d.ts +51 -0
  488. package/dist/webui-server/ws-handlers/mailbox.d.ts.map +1 -0
  489. package/dist/webui-server/ws-handlers/oauth.d.ts +16 -0
  490. package/dist/webui-server/ws-handlers/oauth.d.ts.map +1 -0
  491. package/dist/webui-server/ws-handlers/prefs.d.ts +32 -0
  492. package/dist/webui-server/ws-handlers/prefs.d.ts.map +1 -0
  493. package/dist/webui-server/ws-handlers/process.d.ts +6 -0
  494. package/dist/webui-server/ws-handlers/process.d.ts.map +1 -0
  495. package/dist/webui-server/ws-handlers/projects.d.ts +44 -0
  496. package/dist/webui-server/ws-handlers/projects.d.ts.map +1 -0
  497. package/dist/webui-server/ws-handlers/providers.d.ts +36 -0
  498. package/dist/webui-server/ws-handlers/providers.d.ts.map +1 -0
  499. package/dist/webui-server/ws-handlers/sessions.d.ts +38 -0
  500. package/dist/webui-server/ws-handlers/sessions.d.ts.map +1 -0
  501. package/dist/webui-server/ws-handlers/worklist.d.ts +49 -0
  502. package/dist/webui-server/ws-handlers/worklist.d.ts.map +1 -0
  503. package/dist/webui-server.d.ts +160 -0
  504. package/dist/webui-server.d.ts.map +1 -0
  505. package/dist/wiring/brain-and-orchestration.d.ts +63 -0
  506. package/dist/wiring/brain-and-orchestration.d.ts.map +1 -0
  507. package/dist/wiring/codebase-index.d.ts +33 -0
  508. package/dist/wiring/codebase-index.d.ts.map +1 -0
  509. package/dist/wiring/controllers.d.ts +46 -0
  510. package/dist/wiring/controllers.d.ts.map +1 -0
  511. package/dist/wiring/dep-watcher.d.ts +23 -0
  512. package/dist/wiring/dep-watcher.d.ts.map +1 -0
  513. package/dist/wiring/design-studio.d.ts +17 -0
  514. package/dist/wiring/design-studio.d.ts.map +1 -0
  515. package/dist/wiring/director-setup.d.ts +51 -0
  516. package/dist/wiring/director-setup.d.ts.map +1 -0
  517. package/dist/wiring/hq-telemetry.d.ts +42 -0
  518. package/dist/wiring/hq-telemetry.d.ts.map +1 -0
  519. package/dist/wiring/lifecycle-plugins.d.ts +58 -0
  520. package/dist/wiring/lifecycle-plugins.d.ts.map +1 -0
  521. package/dist/wiring/mailbox-bridge-bootstrap.d.ts +53 -0
  522. package/dist/wiring/mailbox-bridge-bootstrap.d.ts.map +1 -0
  523. package/dist/wiring/metrics.d.ts +21 -0
  524. package/dist/wiring/metrics.d.ts.map +1 -0
  525. package/dist/wiring/pipeline.d.ts +96 -0
  526. package/dist/wiring/pipeline.d.ts.map +1 -0
  527. package/dist/wiring/plugins.d.ts +108 -0
  528. package/dist/wiring/plugins.d.ts.map +1 -0
  529. package/dist/wiring/provider-runtime-setup.d.ts +47 -0
  530. package/dist/wiring/provider-runtime-setup.d.ts.map +1 -0
  531. package/dist/wiring/provider-runtime.d.ts +57 -0
  532. package/dist/wiring/provider-runtime.d.ts.map +1 -0
  533. package/dist/wiring/provider.d.ts +13 -0
  534. package/dist/wiring/provider.d.ts.map +1 -0
  535. package/dist/wiring/replay.d.ts +32 -0
  536. package/dist/wiring/replay.d.ts.map +1 -0
  537. package/dist/wiring/session.d.ts +56 -0
  538. package/dist/wiring/session.d.ts.map +1 -0
  539. package/dist/wiring/slash-commands.d.ts +74 -0
  540. package/dist/wiring/slash-commands.d.ts.map +1 -0
  541. package/dist/wiring/super-memory.d.ts +9 -0
  542. package/dist/wiring/super-memory.d.ts.map +1 -0
  543. package/dist/wiring/to-execute-deps.d.ts +11 -0
  544. package/dist/wiring/to-execute-deps.d.ts.map +1 -0
  545. package/dist/wiring/tools.d.ts +41 -0
  546. package/dist/wiring/tools.d.ts.map +1 -0
  547. package/package.json +20 -20
@@ -0,0 +1,10 @@
1
+ import type { SubcommandHandler } from '../index.js';
2
+ /**
3
+ * `wrongstack config history` — list history entries or show details.
4
+ */
5
+ export declare const historyCmd: SubcommandHandler;
6
+ /**
7
+ * `wrongstack config restore <id>` or `wrongstack config restore --latest`
8
+ */
9
+ export declare const restoreCmd: SubcommandHandler;
10
+ //# sourceMappingURL=config-history.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config-history.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/config-history.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACrD;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,iBA6CxB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,iBA2BxB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { SubcommandHandler } from '../index.js';
2
+ export declare const diagCmd: SubcommandHandler;
3
+ export declare const doctorCmd: SubcommandHandler;
4
+ //# sourceMappingURL=diag-doctor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"diag-doctor.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/diag-doctor.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAGrD,eAAO,MAAM,OAAO,EAAE,iBAuBrB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,iBAgJvB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { SubcommandHandler } from '../index.js';
2
+ export declare const exportCmd: SubcommandHandler;
3
+ //# sourceMappingURL=export.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"export.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/export.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD,eAAO,MAAM,SAAS,EAAE,iBAkDvB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare function redactKeys(obj: unknown): unknown;
2
+ //# sourceMappingURL=helpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/helpers.ts"],"names":[],"mappings":"AAEA,wBAAgB,UAAU,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAShD"}
@@ -0,0 +1,3 @@
1
+ import type { SubcommandHandler } from '../index.js';
2
+ export declare const hqCmd: SubcommandHandler;
3
+ //# sourceMappingURL=hq.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hq.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/hq.ts"],"names":[],"mappings":"AA8BA,OAAO,KAAK,EAAkB,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAOrE,eAAO,MAAM,KAAK,EAAE,iBAoBnB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { SubcommandHandler } from '../index.js';
2
+ /**
3
+ * @deprecated Use `wstack auth` instead. The auth command handles provider setup,
4
+ * key management, and model selection in one interactive workflow.
5
+ */
6
+ export declare const initCmd: SubcommandHandler;
7
+ //# sourceMappingURL=init.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/init.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD;;;GAGG;AACH,eAAO,MAAM,OAAO,EAAE,iBAarB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { SubcommandHandler } from '../index.js';
2
+ export declare const mailboxServeCmd: SubcommandHandler;
3
+ //# sourceMappingURL=mailbox-serve.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mailbox-serve.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/mailbox-serve.ts"],"names":[],"mappings":"AAkFA,OAAO,KAAK,EAAkB,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAcrE,eAAO,MAAM,eAAe,EAAE,iBAc7B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { SubcommandHandler } from '../index.js';
2
+ export declare const mcpCmd: SubcommandHandler;
3
+ //# sourceMappingURL=mcp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mcp.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/mcp.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAkB,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAIrE,eAAO,MAAM,MAAM,EAAE,iBAyCpB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { SubcommandHandler } from '../index.js';
2
+ export declare const modeldiagCmd: SubcommandHandler;
3
+ //# sourceMappingURL=modeldiag.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"modeldiag.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/modeldiag.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AA0erD,eAAO,MAAM,YAAY,EAAE,iBA4qB1B,CAAC"}
@@ -0,0 +1,142 @@
1
+ import type { TerminalRenderer } from '../../renderer.js';
2
+ /**
3
+ * Per-flag help data for `wstack models add`.
4
+ *
5
+ * The `MODELS_ADD_FLAGS` array is the **single source of truth** for
6
+ * the `wstack models add` flag list. It's consumed by:
7
+ *
8
+ * - This file's `renderModelsAddHelpToString()` (renders the
9
+ * column-aligned help block)
10
+ * - `packages/cli/src/subcommands/handlers/providers-models.ts`'s
11
+ * `modelsAdd()` function (parses the flags — see the
12
+ * `parseBoolFlag` / value-flag reads there)
13
+ * - The `models:add` 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 models add` 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 two semantic groups:
23
+ *
24
+ * - **Identity** — flags that identify the model in the catalog
25
+ * (`--provider`, `--name`, plus the `<mid>` positional which
26
+ * is shown in the usage line, not in this array).
27
+ * - **Capabilities** — flags that describe what the model can do
28
+ * (`--max-context`, `--max-output`, `--tools`, `--vision`,
29
+ * `--reasoning`, `--streaming`, `--json-mode`).
30
+ *
31
+ * The grouping is reflected in the `group` field of each entry,
32
+ * which the renderer uses to print a "Flags" section with
33
+ * subheaders ("Identity:" and "Capabilities:") so the help block
34
+ * reads top-to-bottom in the order a user would set them.
35
+ *
36
+ * The `kind` field discriminates the parser behavior:
37
+ *
38
+ * - `'boolean'` — the flag accepts `--flag` (sets to true) and
39
+ * `--no-flag` (sets to false). The parser uses
40
+ * `parseBoolFlag(flags, flagName)` to read these.
41
+ * - `'value'` — the flag accepts a value (`--flag <value>`).
42
+ * The parser reads these via `flags[flagName]` directly.
43
+ */
44
+ export type ModelsAddFlagGroup = 'identity' | 'capabilities';
45
+ export interface ModelsAddFlag {
46
+ /** The flag's canonical name (no `--` prefix, no value placeholder). */
47
+ name: string;
48
+ /**
49
+ * The display form, with the `--` prefix and any value
50
+ * placeholder. For boolean flags, the renderer appends the
51
+ * ` / --no-<name>` counterpart automatically.
52
+ */
53
+ flag: string;
54
+ /** One-line description shown in the help block. */
55
+ description: string;
56
+ /** Which semantic group the flag belongs to. */
57
+ group: ModelsAddFlagGroup;
58
+ /** Parser shape: `boolean` for toggles, `value` for `--flag <v>`. */
59
+ kind: 'boolean' | 'value';
60
+ }
61
+ /**
62
+ * The flag list — the canonical source of truth for `wstack models add`.
63
+ *
64
+ * Order matters: it's the order the flags render in the help block,
65
+ * and the order the parser iterates them when reading boolean values.
66
+ * The list is grouped by `group` (identity first, then capabilities)
67
+ * but the renderer preserves the original order and prints subheaders
68
+ * when the group changes.
69
+ */
70
+ export declare const MODELS_ADD_FLAGS: ReadonlyArray<ModelsAddFlag>;
71
+ /**
72
+ * The names of the boolean flags (the parser iterates these to
73
+ * read each toggle via `parseBoolFlag`). The list is derived from
74
+ * `MODELS_ADD_FLAGS` to keep the two in sync — a new boolean
75
+ * flag added to `MODELS_ADD_FLAGS` shows up here automatically.
76
+ */
77
+ export declare const MODELS_ADD_BOOLEAN_FLAG_NAMES: ReadonlyArray<string>;
78
+ /**
79
+ * The names of the value flags (the parser reads these via
80
+ * `flags[name]` directly). Same derivation strategy as the
81
+ * boolean list.
82
+ */
83
+ export declare const MODELS_ADD_VALUE_FLAG_NAMES: ReadonlyArray<string>;
84
+ /**
85
+ * The width of the flag column in the rendered help block.
86
+ * Chosen so the longest flag (`--max-context <N>`) fits with
87
+ * one space of padding before the description starts.
88
+ */
89
+ export declare const MODELS_ADD_FLAG_COLUMN_WIDTH = 30;
90
+ /**
91
+ * Build the `wstack models add` help block as a string. The
92
+ * returned string is the exact bytes the renderer would have
93
+ * written — color codes and all. Used by surfaces that can't
94
+ * hold a `TerminalRenderer` (slash commands return
95
+ * `{ message: string }` instead of writing directly) and by
96
+ * the `models:add` deep-help entry in `per-subcommand-help.ts`
97
+ * via its `customBody` field.
98
+ *
99
+ * Single source of truth: the body here is the same string
100
+ * `wstack models add --help`, `wstack models add -- --help`,
101
+ * `/models add help`, and `/help models add` all render. Drift
102
+ * between the four surfaces is structurally impossible.
103
+ *
104
+ * The block layout is:
105
+ * 1. Bold title line
106
+ * 2. Dimmed description (1-2 lines, wrapped at the call site)
107
+ * 3. Empty line
108
+ * 4. Bold "Usage" + the usage line (constructed from
109
+ * `MODELS_ADD_FLAGS` so the flag ordering matches the list)
110
+ * 5. Empty line
111
+ * 6. Bold "Flags" + the flags, grouped by `group` with
112
+ * subheaders ("Identity:" / "Capabilities:") when the
113
+ * group changes
114
+ * 7. Empty line
115
+ * 8. Dimmed "See also:" line (single line, hardcoded)
116
+ */
117
+ export declare function renderModelsAddHelpToString(): string;
118
+ /**
119
+ * Render the `wstack models add` help block directly to a
120
+ * renderer. Thin wrapper over `renderModelsAddHelpToString()`
121
+ * for callers that have a `TerminalRenderer` in hand (e.g.
122
+ * the `wstack models add --help` bypass in
123
+ * `providers-models.ts`).
124
+ */
125
+ export declare function renderModelsAddHelp(renderer: TerminalRenderer): void;
126
+ /**
127
+ * Build the `Usage:` line that `modelsAdd` writes to stderr
128
+ * when the `<mid>` positional is missing. This is the parser's
129
+ * equivalent of the help block's usage line — it should match
130
+ * what `buildUsageLine()` produces so the two stay in sync.
131
+ *
132
+ * The two are not currently auto-derived from the same source
133
+ * (the parser writes a literal string for the stderr path, the
134
+ * help block builds it from `MODELS_ADD_FLAGS`). Future refactor
135
+ * opportunity: have the parser import this function and call it
136
+ * directly. For now, the test
137
+ * `modelsAddHelpParity > usage line matches` pins the contract
138
+ * (a future contributor who changes one without the other fails
139
+ * the test).
140
+ */
141
+ export declare function buildModelsAddUsageLine(): string;
142
+ //# sourceMappingURL=models-add-help.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"models-add-help.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/models-add-help.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAE1D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAM,MAAM,kBAAkB,GAAG,UAAU,GAAG,cAAc,CAAC;AAE7D,MAAM,WAAW,aAAa;IAC5B,wEAAwE;IACxE,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,oDAAoD;IACpD,WAAW,EAAE,MAAM,CAAC;IACpB,gDAAgD;IAChD,KAAK,EAAE,kBAAkB,CAAC;IAC1B,qEAAqE;IACrE,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC;CAC3B;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,gBAAgB,EAAE,aAAa,CAAC,aAAa,CAkEzD,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,6BAA6B,EAAE,aAAa,CAAC,MAAM,CAE3C,CAAC;AAEtB;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,EAAE,aAAa,CAAC,MAAM,CAEzC,CAAC;AAEtB;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,KAAK,CAAC;AAE/C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,2BAA2B,IAAI,MAAM,CAiBpD;AA2CD;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,gBAAgB,GAAG,IAAI,CAEpE;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,uBAAuB,IAAI,MAAM,CAEhD"}
@@ -0,0 +1,136 @@
1
+ import type { TerminalRenderer } from '../../renderer.js';
2
+ /**
3
+ * One entry per subcommand the user can ask `--help` for. Each
4
+ * entry is `{ title, description, usage, subcommands?, flags? }`
5
+ * — the renderer is responsible for the column-aligned output.
6
+ *
7
+ * Subcommands with no flags of their own (e.g. `init`, `version`)
8
+ * just supply title/description/usage. Subcommands with a
9
+ * subcommand hierarchy (e.g. `mcp`, `plugin`, `models`) supply
10
+ * a `subcommands` table — a list of `{ name, description }` rows
11
+ * for the dispatch tree. The user can then run
12
+ * `wstack <subcommand> <sub-sub> --help` for the focused help of
13
+ * any deeper level.
14
+ */
15
+ export interface PerSubcommandHelp {
16
+ /** The subcommand name as it appears in argv (e.g. 'init', 'mcp'). */
17
+ name: string;
18
+ /** Display title for the help block (e.g. 'wstack init — …'). */
19
+ title: string;
20
+ /** One-line description of what the command does. */
21
+ description: string;
22
+ /** Usage line — `wstack <subcommand> [args]`. */
23
+ usage: string;
24
+ /** Optional subcommand table. Empty for subcommands that take no subargs. */
25
+ subcommands?: ReadonlyArray<{
26
+ name: string;
27
+ description: string;
28
+ }>;
29
+ /**
30
+ * Optional "see also" pointer — the most common adjacent
31
+ * subcommand the user will want to read about. Renders as
32
+ * a single dim line at the bottom of the help block.
33
+ */
34
+ seeAlso?: string;
35
+ /**
36
+ * Optional custom body renderer. When set, the standard
37
+ * title / description / usage / subcommands / seeAlso layout
38
+ * is **replaced** by whatever this function returns. The
39
+ * caller is responsible for the full layout — including
40
+ * the title line, the usage line, and any closing "see
41
+ * also" pointer.
42
+ *
43
+ * **See the top-of-file JSDoc for the full "delegation pattern"
44
+ * documentation** (when to use, when NOT to use, a worked
45
+ * example for adding a new delegated entry, and the
46
+ * single-source-of-truth contract). The worked example walks
47
+ * through creating a hypothetical `plugin-official-help.ts`
48
+ * module and wiring it into the `deepHelpTable` via
49
+ * `customBody`.
50
+ *
51
+ * **For the on-ramp guide, see `docs/help-modules.md`**. It
52
+ * walks through the full pattern (when to write a help
53
+ * module, the canonical data shape, wiring the dispatcher,
54
+ * testing, and a worked example) — the canonical reference
55
+ * for new contributors adding their first help module.
56
+ *
57
+ * Use case: a deep-help entry whose help text is already
58
+ * maintained by a dedicated module (e.g. `auth-local-help.ts`
59
+ * owns the `wstack auth local` flag list). The deep entry
60
+ * delegates to that module's renderer so the flag list
61
+ * stays single-source-of-truth. Setting `customBody` to a
62
+ * thunk that calls the module's string renderer gives
63
+ * `/auth local help`, `/help auth local`, and
64
+ * `wstack auth local --help` the same exact block.
65
+ *
66
+ * Note: when `customBody` is set, the `title`, `description`,
67
+ * `usage`, `subcommands`, and `seeAlso` fields are still
68
+ * required by the type but are **not rendered** — the
69
+ * `customBody` function owns the full block. The required
70
+ * fields exist so the test infrastructure can still iterate
71
+ * the entry shape uniformly.
72
+ */
73
+ customBody?: () => string;
74
+ }
75
+ /**
76
+ * Build the rendered help text for one entry — the same string that
77
+ * `renderBlock` would write to a renderer, returned instead of being
78
+ * emitted. Used by surfaces that can't write directly (slash commands
79
+ * return `{ message: string }` instead of holding a `TerminalRenderer`).
80
+ *
81
+ * Note: the title/description/usage are formatted with ANSI color
82
+ * codes (from `@wrongstack/core/color`). Surfaces that display the
83
+ * returned string in a non-ANSI context (a log file, a test assertion)
84
+ * will see the raw escape codes. Tests should match on substrings,
85
+ * not the full block; UI surfaces should render to a TTY.
86
+ */
87
+ export declare function renderBlockToString(help: PerSubcommandHelp): string;
88
+ /**
89
+ * Render a deep-subcommand focused help block (e.g. for
90
+ * `wstack mcp add --help`). The key format is `"<top>:<deep>"`
91
+ * (e.g. `"mcp:add"`). Returns `true` if a block was rendered,
92
+ * `false` if no deep help is registered for the key — callers
93
+ * fall back to the top-level help short-circuit.
94
+ */
95
+ export declare function renderDeepHelp(key: string, renderer: TerminalRenderer): boolean;
96
+ /**
97
+ * String-returning variant of `renderDeepHelp` for slash commands.
98
+ * Returns the rendered deep-help text, or `undefined` if the
99
+ * `<top>:<deep>` key is not in the table.
100
+ */
101
+ export declare function renderDeepHelpToString(key: string): string | undefined;
102
+ /**
103
+ * The list of deep-subcommand keys that have focused help blocks.
104
+ * Same shape as `subcommandsWithFocusedHelp` but for the
105
+ * `<top>:<deep>` table. Used by tests to assert the contract.
106
+ */
107
+ export declare const deepSubcommandsWithFocusedHelp: ReadonlyArray<string>;
108
+ /**
109
+ * Render the focused help block for the given subcommand. Returns
110
+ * `true` if a block was rendered (the subcommand was found in
111
+ * the table) and `false` if no focused help exists — callers can
112
+ * fall back to the generic "see top-level help" message.
113
+ */
114
+ export declare function renderFocusedHelp(subcommand: string, renderer: TerminalRenderer): boolean;
115
+ /**
116
+ * String-returning variant of `renderFocusedHelp` for surfaces that
117
+ * can't hold a `TerminalRenderer` — slash commands return
118
+ * `{ message: string }` instead of writing directly. Returns the
119
+ * rendered help text, or `undefined` if the subcommand is not in
120
+ * the table (callers fall back to the inline `help` field).
121
+ */
122
+ export declare function renderFocusedHelpToString(subcommand: string): string | undefined;
123
+ /**
124
+ * The list of subcommand names that have a focused help block.
125
+ * Subcommands not in this list fall back to the generic
126
+ * `renderGenericHelp` message — the bypass still works (the user
127
+ * gets something) but the output is terser.
128
+ */
129
+ export declare const subcommandsWithFocusedHelp: ReadonlyArray<string>;
130
+ /**
131
+ * Generic help block for subcommands that don't have a focused
132
+ * entry in the help table. Tells the user that the subcommand
133
+ * takes no flags and points at the top-level help for the rest.
134
+ */
135
+ export declare function renderGenericHelp(subcommand: string, renderer: TerminalRenderer): void;
136
+ //# sourceMappingURL=per-subcommand-help.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"per-subcommand-help.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/per-subcommand-help.ts"],"names":[],"mappings":"AA2LA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAK1D;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,iBAAiB;IAChC,sEAAsE;IACtE,IAAI,EAAE,MAAM,CAAC;IACb,iEAAiE;IACjE,KAAK,EAAE,MAAM,CAAC;IACd,qDAAqD;IACrD,WAAW,EAAE,MAAM,CAAC;IACpB,iDAAiD;IACjD,KAAK,EAAE,MAAM,CAAC;IACd,6EAA6E;IAC7E,WAAW,CAAC,EAAE,aAAa,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACnE;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAqCG;IACH,UAAU,CAAC,EAAE,MAAM,MAAM,CAAC;CAC3B;AAID;;;;;;;;;;;GAWG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,iBAAiB,GAAG,MAAM,CAiCnE;AA09BD;;;;;;GAMG;AACH,wBAAgB,cAAc,CAC5B,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,gBAAgB,GACzB,OAAO,CAKT;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAGtE;AAED;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,EAAE,aAAa,CAAC,MAAM,CACrC,CAAC;AAE7B;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAC/B,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,gBAAgB,GACzB,OAAO,CAKT;AAED;;;;;;GAMG;AACH,wBAAgB,yBAAyB,CACvC,UAAU,EAAE,MAAM,GACjB,MAAM,GAAG,SAAS,CAGpB;AAED;;;;;GAKG;AACH,eAAO,MAAM,0BAA0B,EAAE,aAAa,CAAC,MAAM,CACrC,CAAC;AAEzB;;;;GAIG;AACH,wBAAgB,iBAAiB,CAC/B,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,gBAAgB,GACzB,IAAI,CAaN"}
@@ -0,0 +1,4 @@
1
+ import type { SubcommandHandler } from '../index.js';
2
+ export declare const pluginCmd: SubcommandHandler;
3
+ export declare const usageCmd: SubcommandHandler;
4
+ //# sourceMappingURL=plugin-usage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin-usage.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/plugin-usage.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD,eAAO,MAAM,SAAS,EAAE,iBAavB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,iBAOtB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { SubcommandHandler } from '../index.js';
2
+ export declare const projectsCmd: SubcommandHandler;
3
+ //# sourceMappingURL=projects.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"projects.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/projects.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD,eAAO,MAAM,WAAW,EAAE,iBAyBzB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { SubcommandHandler } from '../index.js';
2
+ export declare const providersCmd: SubcommandHandler;
3
+ export declare const modelsCmd: SubcommandHandler;
4
+ //# sourceMappingURL=providers-models.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"providers-models.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/providers-models.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACrD,eAAO,MAAM,YAAY,EAAE,iBA6C1B,CAAC;AAoDF,eAAO,MAAM,SAAS,EAAE,iBA+IvB,CAAC"}
@@ -0,0 +1,14 @@
1
+ import type { SubcommandHandler } from '../index.js';
2
+ /**
3
+ * `wrongstack quick` — launch directly into the TUI with sensible defaults.
4
+ *
5
+ * NOTE: The actual handling is done in `boot()` (boot.ts) which intercepts 'quick'
6
+ * before the subcommand dispatch in cli-main.ts. boot() sets flags.quick and
7
+ * flags.tui, lists plugins, clears positional, and returns BootContext.
8
+ * execute() then goes to the TUI path with initialAgentsMonitorOpen: true.
9
+ *
10
+ * This handler is kept for completeness (registered in subcommands/index.ts) but
11
+ * is never called in the `wrongstack quick` flow.
12
+ */
13
+ export declare const quickCmd: SubcommandHandler;
14
+ //# sourceMappingURL=quick.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quick.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/quick.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,QAAQ,EAAE,iBAItB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import type { SubcommandHandler } from '../index.js';
2
+ /**
3
+ * `wstack replay <sessionId>` — convenience wrapper around
4
+ * `wstack --replay <sessionId>`. Lists the recorded entries for
5
+ * the session and shows a hint for the user to re-run with
6
+ * the actual replay flag. Keeps the flag-based path canonical
7
+ * (so the boot container wiring stays simple) while exposing
8
+ * a discoverable subcommand for users who type `wstack replay`
9
+ * expecting it to exist.
10
+ */
11
+ export declare const replayCmd: SubcommandHandler;
12
+ //# sourceMappingURL=replay.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"replay.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/replay.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD;;;;;;;;GAQG;AACH,eAAO,MAAM,SAAS,EAAE,iBA2EvB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { SubcommandHandler } from '../index.js';
2
+ export declare const rewindCmd: SubcommandHandler;
3
+ //# sourceMappingURL=rewind.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rewind.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/rewind.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAwCrD,eAAO,MAAM,SAAS,EAAE,iBA4HvB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { SubcommandHandler } from '../index.js';
2
+ export declare const sessionsCmd: SubcommandHandler;
3
+ export declare const configCmd: SubcommandHandler;
4
+ //# sourceMappingURL=sessions-config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sessions-config.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/sessions-config.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAkB,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAGrE,eAAO,MAAM,WAAW,EAAE,iBAqEzB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,iBAmBvB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import type { SubcommandHandler } from '../index.js';
2
+ /**
3
+ * `wrongstack sessions fleet [runId]`
4
+ *
5
+ * Lists fleet run artifacts under `projectSessions/<runId>/`.
6
+ * When runId is omitted, lists all fleet runs discovered under projectSessions.
7
+ *
8
+ * Artifacts shown:
9
+ * - fleet.json (manifest)
10
+ * - checkpoint.json (state snapshot, if present)
11
+ * - shared/ (scratchpad directory)
12
+ * - subagents/ (per-subagent JSONL transcripts)
13
+ */
14
+ export declare const sessionsFleetCmd: SubcommandHandler;
15
+ //# sourceMappingURL=sessions-fleet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sessions-fleet.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/sessions-fleet.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAkB,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErE;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,gBAAgB,EAAE,iBAO9B,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { SubcommandHandler } from '../index.js';
2
+ export declare const toolsCmd: SubcommandHandler;
3
+ export declare const skillsCmd: SubcommandHandler;
4
+ //# sourceMappingURL=tools-skills.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tools-skills.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/tools-skills.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD,eAAO,MAAM,QAAQ,EAAE,iBAQtB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,iBAQvB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { SubcommandHandler } from '../index.js';
2
+ type PackageManager = 'npm' | 'pnpm' | 'yarn' | 'bun';
3
+ /** `wrongstack update` — Update the CLI via the detected global package manager. */
4
+ export declare const updateCmd: SubcommandHandler;
5
+ export declare function detectUpdatePackageManager(env?: NodeJS.ProcessEnv, argv?: string[]): PackageManager;
6
+ export {};
7
+ //# sourceMappingURL=update.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/update.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD,KAAK,cAAc,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC;AAgBtD,oFAAoF;AACpF,eAAO,MAAM,SAAS,EAAE,iBAsFvB,CAAC;AAoDF,wBAAgB,0BAA0B,CACxC,GAAG,GAAE,MAAM,CAAC,UAAwB,EACpC,IAAI,GAAE,MAAM,EAAiB,GAC5B,cAAc,CA2BhB"}
@@ -0,0 +1,4 @@
1
+ import type { SubcommandHandler } from '../index.js';
2
+ export declare const versionCmd: SubcommandHandler;
3
+ export declare const helpCmd: SubcommandHandler;
4
+ //# sourceMappingURL=version-help.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version-help.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/version-help.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD,eAAO,MAAM,UAAU,EAAE,iBAKxB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,iBAuDrB,CAAC"}
@@ -0,0 +1,26 @@
1
+ import type { Config, ModelsRegistry, SecretVault, SessionStore, SkillLoader, ToolRegistry, WstackPaths } from '@wrongstack/core';
2
+ import type { ReadlineInputReader } from '../input-reader.js';
3
+ import type { TerminalRenderer } from '../renderer.js';
4
+ export type SubcommandHandler = (args: string[], deps: SubcommandDeps) => Promise<number>;
5
+ export interface SubcommandDeps {
6
+ config: Config;
7
+ renderer: TerminalRenderer;
8
+ reader: ReadlineInputReader;
9
+ sessionStore?: SessionStore | undefined;
10
+ skillLoader?: SkillLoader | undefined;
11
+ toolRegistry?: ToolRegistry | undefined;
12
+ modelsRegistry: ModelsRegistry;
13
+ paths: WstackPaths;
14
+ vault: SecretVault;
15
+ cwd: string;
16
+ projectRoot: string;
17
+ userHome: string;
18
+ /**
19
+ * Parsed top-level CLI flags (e.g. `--yolo`, `--tools`). The dispatcher
20
+ * strips flags from the positional args, so handlers that need them (e.g.
21
+ * `mcp serve --yolo`) read them here.
22
+ */
23
+ flags?: Record<string, string | boolean>;
24
+ }
25
+ export declare const subcommands: Record<string, SubcommandHandler>;
26
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/subcommands/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,MAAM,EACN,cAAc,EACd,WAAW,EACX,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,WAAW,EACZ,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEvD,MAAM,MAAM,iBAAiB,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,cAAc,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;AAE1F,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,MAAM,EAAE,mBAAmB,CAAC;IAC5B,YAAY,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IACxC,WAAW,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;IACtC,YAAY,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IACxC,cAAc,EAAE,cAAc,CAAC;IAC/B,KAAK,EAAE,WAAW,CAAC;IACnB,KAAK,EAAE,WAAW,CAAC;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC;CAC1C;AAwBD,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,CA6BzD,CAAC"}
@@ -0,0 +1,12 @@
1
+ export declare const theme: {
2
+ primary: (s: string) => string;
3
+ accent: (s: string) => string;
4
+ muted: (s: string) => string;
5
+ success: (s: string) => string;
6
+ warn: (s: string) => string;
7
+ error: (s: string) => string;
8
+ info: (s: string) => string;
9
+ bold: (s: string) => string;
10
+ underline: (s: string) => string;
11
+ };
12
+ //# sourceMappingURL=theme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../src/theme.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;IAChB,OAAO;IACP,MAAM;IACN,KAAK;IACL,OAAO;IACP,IAAI;IACJ,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,SAAS;CACV,CAAC"}
@@ -0,0 +1,5 @@
1
+ export declare const DEFAULT_TUI_THINKING_WORD = "thinking";
2
+ export declare const MAX_TUI_THINKING_WORD_LENGTH = 16;
3
+ /** Normalize autonomy.thinkingWord to a single short word for the TUI statusline. */
4
+ export declare function normalizeTuiThinkingWord(value: unknown): string;
5
+ //# sourceMappingURL=tui-thinking-word.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tui-thinking-word.d.ts","sourceRoot":"","sources":["../src/tui-thinking-word.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,yBAAyB,aAAa,CAAC;AACpD,eAAO,MAAM,4BAA4B,KAAK,CAAC;AAE/C,qFAAqF;AACrF,wBAAgB,wBAAwB,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAQ/D"}