@wrongstack/cli 0.306.4 → 0.307.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 (71) hide show
  1. package/dist/{auth-L3WGSGDX.js → auth-TVOOHL4Q.js} +45 -106
  2. package/dist/boot/short-circuit-flags.d.ts +2 -2
  3. package/dist/chimera-cascade-evidence.d.ts +1 -1
  4. package/dist/chunk-2VMJ3E5Z.js +71 -0
  5. package/dist/{chunk-RHLQT3EV.js → chunk-CB35UVXO.js} +1636 -1528
  6. package/dist/{chunk-YKBRFSGL.js → chunk-DOJLAULS.js} +28 -28
  7. package/dist/{chunk-KXN5HZDL.js → chunk-PKHGLWUJ.js} +24 -6
  8. package/dist/{chunk-HITHEXE3.js → chunk-TOG7OMKJ.js} +2 -2
  9. package/dist/{chunk-ARWGQUB3.js → chunk-XSG33WHN.js} +15 -5
  10. package/dist/{cli-main-4TZCCZR6.js → cli-main-YDOZZOZA.js} +21606 -20849
  11. package/dist/cli-main.d.ts +0 -20
  12. package/dist/{execution-547PM3NI.js → execution-CGT6J5ZN.js} +304 -272
  13. package/dist/fleet/host-learning-scheduler.d.ts +27 -0
  14. package/dist/fleet/host-shadow-manager.d.ts +64 -0
  15. package/dist/fleet/host.d.ts +5 -140
  16. package/dist/{hq-ZK6PGN3W.js → hq-PA6RH2UW.js} +2 -2
  17. package/dist/hq-server/mailbox-gateway-manager.d.ts +32 -0
  18. package/dist/hq-server/routes/auth/bootstrap-routes.d.ts +5 -0
  19. package/dist/hq-server/routes/auth/common.d.ts +11 -0
  20. package/dist/hq-server/routes/auth/password-routes.d.ts +9 -0
  21. package/dist/hq-server/routes/auth/session-audit-routes.d.ts +6 -0
  22. package/dist/hq-server/routes/auth/totp-routes.d.ts +9 -0
  23. package/dist/hq-server/routes/auth-handlers.d.ts +5 -132
  24. package/dist/hq-server/routes/command-handlers.d.ts +7 -0
  25. package/dist/hq-server/routes/data-handlers.d.ts +8 -0
  26. package/dist/hq-server/routes/mailbox-handlers.d.ts +22 -0
  27. package/dist/hq-server/routes.d.ts +3 -3
  28. package/dist/hq-server/server-lifecycle.d.ts +37 -0
  29. package/dist/hq-server/snapshot.d.ts +6 -5
  30. package/dist/hq-server/types.d.ts +4 -0
  31. package/dist/hq-server/upgrade-handler.d.ts +34 -0
  32. package/dist/hq-server/ws-client-events.d.ts +25 -0
  33. package/dist/hq-server/ws-leader.d.ts +47 -0
  34. package/dist/hq-server/ws-resume.d.ts +27 -0
  35. package/dist/hq-server/ws.d.ts +4 -71
  36. package/dist/{hq-server-IVZLVCFV.js → hq-server-PBRU275L.js} +2 -2
  37. package/dist/hq-server.d.ts +0 -38
  38. package/dist/index.js +1267 -122
  39. package/dist/{mcp-W7HHN7IA.js → mcp-CMLFHRG2.js} +14 -7
  40. package/dist/mcp-serve.d.ts +12 -1
  41. package/dist/{modeldiag-6VS5KDP5.js → modeldiag-ICMPHT5L.js} +868 -831
  42. package/dist/{providers-models-HQN3AT3K.js → providers-models-4FAKM2WO.js} +4 -4
  43. package/dist/repl-eternal-loop.d.ts +8 -0
  44. package/dist/repl-goal-banner.d.ts +21 -0
  45. package/dist/slash-commands/brain-council.d.ts +36 -0
  46. package/dist/slash-commands/brain-status.d.ts +12 -0
  47. package/dist/slash-commands/kanban-board-handlers.d.ts +13 -0
  48. package/dist/slash-commands/kanban-lifecycle-diagnostics.d.ts +16 -0
  49. package/dist/slash-commands/kanban-task-subcommands.d.ts +8 -0
  50. package/dist/slash-commands/memory-audience.d.ts +14 -0
  51. package/dist/slash-commands/memory-gather.d.ts +9 -0
  52. package/dist/slash-commands/memory-stats.d.ts +5 -0
  53. package/dist/slash-commands/settings-mutations.d.ts +6 -0
  54. package/dist/slash-commands/settings-view.d.ts +5 -0
  55. package/dist/subcommands/handlers/modeldiag-bench.d.ts +10 -0
  56. package/dist/subcommands/handlers/modeldiag-eval.d.ts +27 -0
  57. package/dist/subcommands/handlers/modeldiag-test.d.ts +8 -0
  58. package/dist/{version-help-ASKQYXDJ.js → version-help-TFD6VPF3.js} +2 -2
  59. package/dist/vibe-protocol-wiring.d.ts +10 -0
  60. package/dist/webui-server/credential-watcher.d.ts +15 -0
  61. package/dist/webui-server/domain-handlers.d.ts +21 -0
  62. package/dist/webui-server/route-contexts.d.ts +41 -0
  63. package/dist/{webui-server-FTG7JAZU.js → webui-server-IPHGJGXE.js} +515 -437
  64. package/dist/wiring/cli-execute-builder.d.ts +88 -0
  65. package/dist/wiring/cli-heap-watchdog.d.ts +33 -0
  66. package/dist/wiring/cli-prompt-and-tools-setup.d.ts +25 -0
  67. package/dist/wiring/cli-slash-commands-setup.d.ts +79 -0
  68. package/dist/wiring/heap-watchdog-setup.d.ts +53 -0
  69. package/dist/wiring/metrics.d.ts +1 -0
  70. package/dist/wiring/replay-governance-setup.d.ts +31 -0
  71. package/package.json +27 -27
@@ -3,26 +3,6 @@ import { CLI_VERSION } from './version.js';
3
3
  export { CLI_VERSION };
4
4
  /**
5
5
  * Everything the CLI needs once it knows it is running an interactive session.
6
- *
7
- * The boundary that keeps the ~30 wiring modules imported above — and
8
- * `@wrongstack/sdd`, `/acp`, `/sage`, `/mcp`, `/security-scanner` behind them
9
- * — out of the graph that every `wstack` invocation loads is the
10
- * `await import('./cli-main.js')` in `cli-entry-main.ts:33`. Because
11
- * `@wrongstack/cli` is built with `splitting: true` (see
12
- * `scripts/build-package.mjs`), that dynamic import makes the whole module
13
- * graph behind this file a deferred chunk, so subcommands like `wstack
14
- * version` and `wstack mailbox serve` never pay for it at boot.
15
- *
16
- * A secondary boundary lives inside this function at the
17
- * `await import('./execution.js')` further below — it defers the dispatch
18
- * layer (slash commands, UI controllers) until after the wiring/agent
19
- * setup is complete, keeping the post-setup chunk focused on dispatch.
20
- * See `cli-entry-main.ts` for the full rationale and the bundling
21
- * constraint that makes the outer boundary real.
22
- *
23
- * This function is intentionally exported: `cli-entry-main.ts` consumes it
24
- * via `await import('./cli-main.js')`, and that dynamic import requires
25
- * the binding to be a real ESM export. There is no in-tree static caller.
26
6
  */
27
7
  export declare function runInteractive(cliCtx: CliContext): Promise<number>;
28
8
  //# sourceMappingURL=cli-main.d.ts.map