@wrongstack/cli 1.1.4 → 1.1.6
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.
- package/dist/{acp-MZ5MQBFN.js → acp-CZBSFQB7.js} +6 -5
- package/dist/acp-leader/acp-leader-confirm.d.ts +2 -0
- package/dist/acp-leader/acp-leader-host-binding.d.ts +1 -0
- package/dist/acp-leader/acp-leader-host.d.ts +9 -0
- package/dist/acp-leader/acp-leader-picker.d.ts +6 -3
- package/dist/acp-leader/acp-leader-provider.d.ts +10 -0
- package/dist/acp-leader/acp-leader-skills.d.ts +5 -0
- package/dist/acp-leader/acp-leader-stream.d.ts +9 -0
- package/dist/{auth-IHQS6AFW.js → auth-2ZG5DBHS.js} +4 -4
- package/dist/boot/launch-menu-arrow.d.ts +20 -0
- package/dist/boot/launch-menu-types.d.ts +36 -0
- package/dist/boot/launch-menu.d.ts +1 -57
- package/dist/boot/tui-session-resume-rollback.d.ts +31 -0
- package/dist/{boot-auto-thin-7D4OVEWA.js → boot-auto-thin-N2CIGTXE.js} +3 -3
- package/dist/{chunk-TZPKOS5G.js → chunk-2XQ6SRKG.js} +2 -2
- package/dist/{chunk-3EXRPTAU.js → chunk-5TQ65PXQ.js} +17 -17
- package/dist/{chunk-VAQXOZKP.js → chunk-AJM4EFCM.js} +139 -136
- package/dist/{chunk-C2BBH4S4.js → chunk-E3MJFAFR.js} +2 -2
- package/dist/{chunk-COGI7EQU.js → chunk-EAATL6FL.js} +713 -21
- package/dist/{chunk-AWRZWPJ3.js → chunk-FWUIKCCO.js} +152 -123
- package/dist/{chunk-TAE3EGBM.js → chunk-H5DCQFUI.js} +5 -5
- package/dist/{chunk-BIGSVBPI.js → chunk-KNYIEQAY.js} +64 -61
- package/dist/chunk-LYWOV4OX.js +252 -0
- package/dist/{chunk-75OLD563.js → chunk-M7PSENGF.js} +3 -1
- package/dist/{chunk-I5LJLKA3.js → chunk-MKMM5RIW.js} +12 -5
- package/dist/{chunk-ZF4HRR5F.js → chunk-P7MEEUGT.js} +275 -250
- package/dist/chunk-PGC44T7N.js +255 -0
- package/dist/chunk-QLYPIJ7X.js +258 -0
- package/dist/{chunk-JKTJSLUT.js → chunk-QRWXHGLB.js} +242 -18
- package/dist/chunk-RN5CFAVQ.js +292 -0
- package/dist/{chunk-WDXNBYGD.js → chunk-TDP7CZGE.js} +6 -1
- package/dist/{chunk-6VPWQ4TG.js → chunk-UROB7MK5.js} +2 -1
- package/dist/{chunk-IJLIAPCW.js → chunk-VPSAKGLK.js} +47 -47
- package/dist/{chunk-2LTHDKZX.js → chunk-W7X23HI6.js} +18 -18
- package/dist/{chunk-GKGWPFW2.js → chunk-X4DEQLAZ.js} +1 -1
- package/dist/{cli-context-E44HQ4ZO.js → cli-context-6KS3HV5R.js} +247 -236
- package/dist/{cli-main-OT63I2FX.js → cli-main-NF3YGDME.js} +1779 -1494
- package/dist/cli-main-boot.d.ts +1 -1
- package/dist/config-doctor-known-keys.d.ts +33 -0
- package/dist/config-doctor.d.ts +2 -47
- package/dist/config-history-support.d.ts +36 -0
- package/dist/config-history.d.ts +1 -1
- package/dist/{config-transfer-Y7XJMJRN.js → config-transfer-B4GOZTFC.js} +2 -2
- package/dist/{execution-OK34CJKJ.js → execution-RVDUXLNT.js} +6522 -6426
- package/dist/execution-tui.d.ts +30 -0
- package/dist/fleet/acp-wrongstack-bridge.d.ts +11 -3
- package/dist/fleet/host-acp.d.ts +3 -0
- package/dist/fleet/wrongforge-client.d.ts +116 -0
- package/dist/fleet/wrongforge-gateway.d.ts +20 -0
- package/dist/fleet/wrongforge-info.d.ts +32 -0
- package/dist/fleet/wrongforge-quota.d.ts +10 -0
- package/dist/fleet/wrongforge-runner.d.ts +37 -0
- package/dist/fleet/wrongforge-runtime.d.ts +10 -0
- package/dist/{hq-JD5AZVMG.js → hq-V2M4IYCI.js} +320 -306
- package/dist/hq-server/login-attempt-store.d.ts +2 -0
- package/dist/hq-server/sweeps.d.ts +28 -0
- package/dist/{hq-server-BI23EPM7.js → hq-server-QM7EIVGJ.js} +3 -3
- package/dist/index.js +5 -5
- package/dist/mcp-22CFBX4H.js +236 -0
- package/dist/mcp-serve.d.ts +0 -63
- package/dist/{modeldiag-HDIKG37X.js → modeldiag-5PBB777J.js} +4 -4
- package/dist/{per-subcommand-help-4GYSCMLU.js → per-subcommand-help-MQGERD4E.js} +2 -2
- package/dist/plugin-llm-command.d.ts +9 -0
- package/dist/{plugin-usage-TYF5HY4K.js → plugin-usage-UWKYMNQU.js} +3 -3
- package/dist/{plugins-XGAXDLPT.js → plugins-VP7JQH47.js} +4 -4
- package/dist/{sdd-runtime-6MFUXWJK.js → sdd-runtime-HIJ4Z5TF.js} +2 -2
- package/dist/services/sdd/state.d.ts +2 -0
- package/dist/session-event-wiring-types.d.ts +62 -0
- package/dist/session-event-wiring.d.ts +2 -52
- package/dist/{sessions-config-SJVQXCIE.js → sessions-config-7MK742OW.js} +2 -2
- package/dist/short-circuit-flags-276OLPIN.js +11 -0
- package/dist/slash-commands/command-context-fleet.d.ts +187 -0
- package/dist/slash-commands/command-context-sdd-goal.d.ts +102 -0
- package/dist/slash-commands/command-context.d.ts +3 -282
- package/dist/slash-commands/project-switch-interactive.d.ts +11 -0
- package/dist/slash-commands/setmodel-helpers.d.ts +36 -0
- package/dist/subcommands/handlers/hq-token.d.ts +3 -0
- package/dist/subcommands/handlers/hq.d.ts +0 -21
- package/dist/subcommands/handlers/per-subcommand-help-operations.d.ts +8 -0
- package/dist/subcommands/handlers/tools-cli-args.d.ts +57 -0
- package/dist/subcommands/handlers/tools-cli.d.ts +5 -0
- package/dist/subcommands/handlers/tools-serve.d.ts +4 -0
- package/dist/{subcommands-YADUV7IJ.js → subcommands-SKJPUJ7N.js} +2 -2
- package/dist/tool-gateway-http.d.ts +30 -0
- package/dist/tool-gateway.d.ts +185 -0
- package/dist/tools-cli-44MLIUQO.js +509 -0
- package/dist/tools-serve-TRCET2M7.js +102 -0
- package/dist/{tools-skills-55QVTMSK.js → tools-skills-WDTMCE46.js} +7 -2
- package/dist/tuneup-runtime-checks.d.ts +7 -0
- package/dist/tuneup-types.d.ts +118 -0
- package/dist/tuneup.d.ts +3 -122
- package/dist/{typesafe-YBEADNAH.js → typesafe-QLSMFU7J.js} +1 -1
- package/dist/{version-help-RBZC5GZZ.js → version-help-X6CC4CFY.js} +2 -2
- package/dist/{webui-server-CB64CFDG.js → webui-server-6I6QOECV.js} +44 -6
- package/dist/wiring/provider-runtime-setup.d.ts +3 -1
- package/dist/wiring/session-runtime.d.ts +1 -1
- package/dist/wrongforge-gateway-UOFBK56J.js +92 -0
- package/dist/wrongforge-leader/wrongforge-leader-gateway.d.ts +9 -0
- package/dist/wrongforge-leader/wrongforge-leader-picker.d.ts +12 -0
- package/dist/wrongforge-leader/wrongforge-leader-provider.d.ts +56 -0
- package/package.json +1 -1
- package/dist/mcp-W7A5HUXV.js +0 -560
- package/dist/short-circuit-flags-QEXUS3BY.js +0 -11
|
@@ -704,6 +704,254 @@ var deepHelpTable = {
|
|
|
704
704
|
}
|
|
705
705
|
};
|
|
706
706
|
|
|
707
|
+
// src/subcommands/handlers/per-subcommand-help-operations.ts
|
|
708
|
+
var OPERATIONS_HELP_ENTRIES = {
|
|
709
|
+
// -- Lifecycle ---------------------------------------------------------
|
|
710
|
+
update: {
|
|
711
|
+
name: "update",
|
|
712
|
+
title: "wstack update \u2014 self-update the CLI",
|
|
713
|
+
description: "Check the latest npm version and update the globally-installed `wrongstack` package. Use `--check-only` to just print the current/latest without installing. Pass `--pm <manager>` (or its shorthand `--npm`, `--pnpm`, `--yarn`, `--bun`) to force a specific package manager; pass `--allow-scripts` (alias `--lifecycle-scripts`) to opt into package lifecycle scripts during the update (off by default). The update is global; run from any project root.",
|
|
714
|
+
usage: "wstack update [--check-only] [--pm <manager>] [--allow-scripts (alias: --lifecycle-scripts)]",
|
|
715
|
+
seeAlso: "wstack version (read-only version info)"
|
|
716
|
+
},
|
|
717
|
+
remote: {
|
|
718
|
+
name: "remote",
|
|
719
|
+
title: "wstack remote \u2014 run WrongStack on another machine over SSH",
|
|
720
|
+
description: "Runs WrongStack on the remote machine, in the given project directory, and opens its WebUI here through an SSH tunnel; the agent, its tools and its daemons run remotely. The system ssh is used, so ~/.ssh/config, your agent and known_hosts apply. The matching build is uploaded once per version to ~/.wrongstack/remote and checked by SHA-256. A dropped connection is reopened; the remote host keeps running meanwhile. Nothing from your local configuration is copied: set up a provider in the remote WebUI the first time.",
|
|
721
|
+
usage: "wstack remote <user@host:/path | ssh://user@host:port/path> [--port <n>] [--open] [--keep] [--ssh-config <file>] [--remote-binary <file>]",
|
|
722
|
+
seeAlso: "wstack --remote <target> (same command)"
|
|
723
|
+
},
|
|
724
|
+
// -- ACP (Agent Client Protocol) --------------------------------------
|
|
725
|
+
acp: {
|
|
726
|
+
name: "acp",
|
|
727
|
+
title: "wstack acp \u2014 Agent Client Protocol (ACP) integration",
|
|
728
|
+
description: "Run WrongStack as an ACP server (stdio) for editor clients (Zed, JetBrains, VS Code ACP), or orchestrate external ACP agents through spawn, probe, bench, and parallel fan-out.",
|
|
729
|
+
usage: "wstack acp [server|list|sync|spawn|parallel|probe|bench] [...]",
|
|
730
|
+
subcommands: [
|
|
731
|
+
{ name: "server / serve", description: "Start WrongStack as an ACP stdio server (default)." },
|
|
732
|
+
{ name: "list", description: "List available ACP agents from the cache." },
|
|
733
|
+
{ name: "sync", description: "Sync the official ACP agent registry into local cache." },
|
|
734
|
+
{ name: "spawn <id> <task>", description: "Spawn an ACP agent and wait for results." },
|
|
735
|
+
{
|
|
736
|
+
name: "parallel <csv> <task>",
|
|
737
|
+
description: "Fan a task out to multiple ACP agents in parallel."
|
|
738
|
+
},
|
|
739
|
+
{ name: "probe [csv]", description: "Handshake-test installed ACP agents." },
|
|
740
|
+
{ name: "bench [csv] [--fs]", description: "End-to-end benchmark and grade ACP agents." }
|
|
741
|
+
],
|
|
742
|
+
seeAlso: "wstack mcp serve (the MCP equivalent; pick the protocol your client speaks)"
|
|
743
|
+
},
|
|
744
|
+
// -- Model diagnostics (read-only) -----------------------------------
|
|
745
|
+
modeldiag: {
|
|
746
|
+
name: "modeldiag",
|
|
747
|
+
title: "wstack modeldiag \u2014 model benchmarks + heuristic diagnostics",
|
|
748
|
+
description: "Read-only diagnostics for the configured model: key check, capability scan (vision / tools / context window), heuristic strengths/weaknesses (bestFor / avoidFor), sequential live provider/model smoke tests, and real benchmarks against a small prompt suite. Smoke tests use tiny prompts and never print credentials.",
|
|
749
|
+
usage: "wstack modeldiag [preflight|test|eval] [...]",
|
|
750
|
+
subcommands: [
|
|
751
|
+
{
|
|
752
|
+
name: "preflight [provider-profile]",
|
|
753
|
+
description: "Check native cloud provider setup without model requests or exposing credential values."
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
name: "<no subcommand>",
|
|
757
|
+
description: "Print configured model capabilities, context limits, and recommendations."
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
name: "test [--plan|--all-models|--json]",
|
|
761
|
+
description: "Run live sequential smoke tests across configured models."
|
|
762
|
+
},
|
|
763
|
+
{
|
|
764
|
+
name: "eval [--providers <csv>]",
|
|
765
|
+
description: "Run model competency matrix evaluation across tasks."
|
|
766
|
+
}
|
|
767
|
+
],
|
|
768
|
+
seeAlso: "wstack modeldiag test --plan; wstack modeldiag test; wstack modeldiag test --all-models"
|
|
769
|
+
},
|
|
770
|
+
// -- Bench (developer / CI only) -------------------------------------
|
|
771
|
+
bench: {
|
|
772
|
+
name: "bench",
|
|
773
|
+
title: "wstack bench \u2014 run model-independent agentic benchmarks",
|
|
774
|
+
description: "Run WrongStack against the bundled smoke suite, a local manifest, Aider polyglot, or SWE-bench Verified with deterministic graders. Default `bench run` is the bundled core edit-eval; pass --cell provider/model (or a saved model).",
|
|
775
|
+
usage: "wstack bench [run|compare|report|list|mine|review|route|experiment] [...]",
|
|
776
|
+
subcommands: [
|
|
777
|
+
{ name: "run", description: "Run a suite. Default: bundled smoke + --cell or saved model." },
|
|
778
|
+
{
|
|
779
|
+
name: "compare <a> <b>",
|
|
780
|
+
description: "Diff two finished run directories (fingerprint-aware)."
|
|
781
|
+
},
|
|
782
|
+
{ name: "report <dir>", description: "Render the Markdown report for a prior run." },
|
|
783
|
+
{
|
|
784
|
+
name: "review --transcript <file>",
|
|
785
|
+
description: "Read-only transcript behavior/compaction evidence; optional --policy."
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
name: "route <dir> --policy <file>",
|
|
789
|
+
description: "Shadow routing recommendations from graded model-matrix evidence."
|
|
790
|
+
},
|
|
791
|
+
{
|
|
792
|
+
name: "experiment <a> <b> --dimension compaction|behavior",
|
|
793
|
+
description: "Compare paired task/model/attempt runs with explicit experiment provenance."
|
|
794
|
+
},
|
|
795
|
+
{ name: "list", description: "List available suites and the model configs in the catalog." }
|
|
796
|
+
],
|
|
797
|
+
seeAlso: "wstack modeldiag (read-only diagnostics; bench actually runs the model)"
|
|
798
|
+
},
|
|
799
|
+
// -- Quick launch ------------------------------------------------------
|
|
800
|
+
quick: {
|
|
801
|
+
name: "quick",
|
|
802
|
+
title: "wstack quick \u2014 launch the TUI with sensible defaults",
|
|
803
|
+
description: "Accept every default, list installed plugins, and open the TUI with the agents-monitor panel pre-shown. Equivalent to `wstack --tui --quick`; the dedicated subcommand is for discoverability and tab-completion. The actual TUI launch is intercepted in `boot()` before this handler runs.",
|
|
804
|
+
usage: "wstack quick",
|
|
805
|
+
seeAlso: "wstack --tui (the underlying flag; quick is just a shortcut)"
|
|
806
|
+
},
|
|
807
|
+
// -- Aliases and meta commands ───────────────────────────────────────
|
|
808
|
+
plugins: {
|
|
809
|
+
name: "plugins",
|
|
810
|
+
title: "wstack plugins \u2014 alias for wstack plugin",
|
|
811
|
+
description: "Alias for `wstack plugin`. See `wstack plugin --help` for the full set of subcommands.",
|
|
812
|
+
usage: "wstack plugins (alias for wstack plugin)",
|
|
813
|
+
seeAlso: "wstack plugin (the canonical command)"
|
|
814
|
+
},
|
|
815
|
+
help: {
|
|
816
|
+
name: "help",
|
|
817
|
+
title: "wstack help \u2014 print top-level help",
|
|
818
|
+
description: "Print the top-level help text listing every subcommand with a one-line summary. Equivalent to `wstack --help`.",
|
|
819
|
+
usage: "wstack help",
|
|
820
|
+
seeAlso: "wstack --help"
|
|
821
|
+
},
|
|
822
|
+
// -- HQ (dashboard server) ──────────────────────────────────────────
|
|
823
|
+
hq: {
|
|
824
|
+
name: "hq",
|
|
825
|
+
title: "wstack hq \u2014 serve HQ, manage authentication, or install its system service",
|
|
826
|
+
description: "Start the HQ server \u2014 a web dashboard for monitoring sessions, fleet status, and agent activity across projects; manage browser/client authentication, or install the persistent Ubuntu systemd service.",
|
|
827
|
+
usage: "wstack hq [serve] [...] | wstack hq token [create|list|revoke] | wstack hq service [install|status|update|uninstall]",
|
|
828
|
+
subcommands: [
|
|
829
|
+
{ name: "serve", description: "Start the HQ dashboard server (default)." },
|
|
830
|
+
{
|
|
831
|
+
name: "token create [label]",
|
|
832
|
+
description: "Mint a browser or client authentication token."
|
|
833
|
+
},
|
|
834
|
+
{ name: "token list", description: "List active HQ authentication tokens." },
|
|
835
|
+
{ name: "token revoke <id>", description: "Revoke an issued HQ authentication token." },
|
|
836
|
+
{
|
|
837
|
+
name: "service install",
|
|
838
|
+
description: "Install an always-on systemd service and guarded automatic updater."
|
|
839
|
+
},
|
|
840
|
+
{ name: "service status", description: "Inspect the HQ service and update timer." },
|
|
841
|
+
{ name: "service update", description: "Run the guarded update job immediately." },
|
|
842
|
+
{
|
|
843
|
+
name: "service uninstall",
|
|
844
|
+
description: "Remove systemd units while preserving HQ data and secrets."
|
|
845
|
+
}
|
|
846
|
+
],
|
|
847
|
+
seeAlso: "wstack sessions fleet (CLI equivalent for fleet status)"
|
|
848
|
+
},
|
|
849
|
+
// -- Mailbox (external agent bridge) ────────────────────────────────
|
|
850
|
+
mailbox: {
|
|
851
|
+
name: "mailbox",
|
|
852
|
+
title: "wstack mailbox \u2014 serve the external-agent mailbox HTTP bridge",
|
|
853
|
+
description: "Start the mailbox HTTP bridge that lets external coding agents (Claude Code, Aider, custom scripts) communicate with the shared project mailbox. The server exposes a REST + SSE API for sending, checking, and acknowledging messages. Use `wstack mailbox serve` to start the listener.",
|
|
854
|
+
usage: "wstack mailbox serve [--port <n>]",
|
|
855
|
+
subcommands: [{ name: "serve", description: "Start the mailbox HTTP bridge listener." }],
|
|
856
|
+
seeAlso: "wstack hq (the HQ server includes mailbox routing)"
|
|
857
|
+
},
|
|
858
|
+
// -- Permissions ────────────────────────────────────────────────────
|
|
859
|
+
permissions: {
|
|
860
|
+
name: "permissions",
|
|
861
|
+
title: "wstack permissions \u2014 list and explain the permission rules",
|
|
862
|
+
description: "Side-effect-free views of the permission policy the agent runs under: every rule in the order it is checked, and how one tool call is decided, without prompting, modifying trust files, or mutating state. Inside a session, /permissions also sets allow/deny rules for that session only.",
|
|
863
|
+
usage: "wstack permissions [rules|explain <tool> [--input '<json>']] [--json]",
|
|
864
|
+
subcommands: [
|
|
865
|
+
{
|
|
866
|
+
name: "rules",
|
|
867
|
+
description: "List every permission rule, in the order they are checked (first match decides)."
|
|
868
|
+
},
|
|
869
|
+
{
|
|
870
|
+
name: "explain <tool>",
|
|
871
|
+
description: "Explain how the permission policy decides a tool call, and name the rule."
|
|
872
|
+
}
|
|
873
|
+
],
|
|
874
|
+
seeAlso: "wstack tools (list available tools)"
|
|
875
|
+
},
|
|
876
|
+
// -- Project management ─────────────────────────────────────────────
|
|
877
|
+
project: {
|
|
878
|
+
name: "project",
|
|
879
|
+
title: "wstack project \u2014 manage committed repository identity",
|
|
880
|
+
description: "Manage the committed repository identity (project.json) used to scope HQ dashboards, Kanban state, and multi-agent coordination. Commit the generated ID file so every clone shares the same project.",
|
|
881
|
+
usage: "wstack project [id|init|rekey] [--yes]",
|
|
882
|
+
subcommands: [
|
|
883
|
+
{ name: "id", description: "Show the current project ID and config path (default)." },
|
|
884
|
+
{ name: "init", description: "Initialize a project ID if not already present." },
|
|
885
|
+
{ name: "rekey", description: "Generate a new project ID for a fork (requires --yes)." }
|
|
886
|
+
],
|
|
887
|
+
seeAlso: "wstack projects (list all tracked projects)"
|
|
888
|
+
},
|
|
889
|
+
governance: {
|
|
890
|
+
name: "governance",
|
|
891
|
+
title: "wstack governance \u2014 inspect deterministic project-daemon health",
|
|
892
|
+
description: "Read token-free attachment-broker health from the current project daemon. Warnings are advisory: they surface deterministic operator escalation signals without stopping active tasks or model execution.",
|
|
893
|
+
usage: "wstack governance status [--json]",
|
|
894
|
+
subcommands: [{ name: "status", description: "Show daemon and attachment-broker health." }],
|
|
895
|
+
seeAlso: "wstack doctor (broader environment diagnostics)"
|
|
896
|
+
},
|
|
897
|
+
"import-claude-code": {
|
|
898
|
+
name: "import-claude-code",
|
|
899
|
+
title: "wstack import-claude-code \u2014 bring a Claude Code setup across",
|
|
900
|
+
description: "Import MCP servers from ~/.claude.json (user + this project) and the repository's .mcp.json into the active profile. Previews by default. Repository servers arrive disabled unless --enable-project-servers. Skills are read in place; hooks, permission rules and CLAUDE.md are reported with next steps, not translated.",
|
|
901
|
+
usage: "wstack import-claude-code [--apply] [--overwrite] [--enable-project-servers]",
|
|
902
|
+
subcommands: [
|
|
903
|
+
{ name: "--apply", description: "Write the plan (default: preview only)." },
|
|
904
|
+
{ name: "--overwrite", description: "Replace servers that already exist by name." },
|
|
905
|
+
{
|
|
906
|
+
name: "--enable-project-servers",
|
|
907
|
+
description: "Enable the repository's .mcp.json servers on import."
|
|
908
|
+
}
|
|
909
|
+
],
|
|
910
|
+
seeAlso: "wstack mcp list; --mcp-config (one-off servers without importing)"
|
|
911
|
+
},
|
|
912
|
+
sage: {
|
|
913
|
+
name: "sage",
|
|
914
|
+
title: "wstack sage \u2014 this project's SAGE memory in other coding agents",
|
|
915
|
+
description: "Wire SAGE memory into Claude Code, Codex, Cursor or Antigravity over MCP: writes the MCP server entry plus a skill/rule telling the agent when to recall and how to propose. The server attaches to the SAGE daemon while wstack is open in this project and never starts one. Tools are read-only plus memory_candidates (list/propose); a proposal becomes memory only through WrongStack review. Search is lexical: semantic recall runs inside a WrongStack host.",
|
|
916
|
+
usage: "wstack sage connect <claude-code|codex|cursor|antigravity|all|print> [--dry-run]",
|
|
917
|
+
subcommands: [
|
|
918
|
+
{ name: "connect <client|all>", description: "Write the MCP entry and skill for a client." },
|
|
919
|
+
{ name: "connect print", description: "Print JSON/TOML config for any other MCP client." },
|
|
920
|
+
{ name: "disconnect <client|all>", description: "Remove what connect wrote." },
|
|
921
|
+
{ name: "mcp [--origin <name>]", description: "The stdio MCP server clients run." },
|
|
922
|
+
{
|
|
923
|
+
name: "sync [--restart-service]",
|
|
924
|
+
description: "Run project memory sync with HQ; optionally restart this project\u2019s SAGE owner."
|
|
925
|
+
},
|
|
926
|
+
{ name: "--dry-run", description: "Show the file changes without writing." },
|
|
927
|
+
{ name: "--command <path>", description: "Executable to launch instead of wstack." }
|
|
928
|
+
],
|
|
929
|
+
seeAlso: "wstack mcp serve (all WrongStack tools over MCP)"
|
|
930
|
+
},
|
|
931
|
+
// -- Chronicle ──────────────────────────────────────────────────────
|
|
932
|
+
chronicle: {
|
|
933
|
+
name: "chronicle",
|
|
934
|
+
title: "wstack chronicle \u2014 query cross-session provenance ledger",
|
|
935
|
+
description: "Query the cross-session event ledger, inspect daemon status, compute facet aggregations, view token/cost metrics, or purge old retention entries.",
|
|
936
|
+
usage: "wstack chronicle [query|status|facet|metrics|prune|compact] [...]",
|
|
937
|
+
subcommands: [
|
|
938
|
+
{ name: "query [field=value ...]", description: "Query recorded provenance events." },
|
|
939
|
+
{ name: "status", description: "Check the Chronicle daemon and pipeline status." },
|
|
940
|
+
{ name: "facet <field>", description: "Group and count events across a facet." },
|
|
941
|
+
{
|
|
942
|
+
name: "metrics [providers|tasks|files|summary]",
|
|
943
|
+
description: "Query aggregated metrics from metrics.db."
|
|
944
|
+
},
|
|
945
|
+
{
|
|
946
|
+
name: "prune [--days N] [--dry-run]",
|
|
947
|
+
description: "Purge journal entries older than N days."
|
|
948
|
+
},
|
|
949
|
+
{ name: "compact", description: "Defragment and compact SQLite ledger." }
|
|
950
|
+
],
|
|
951
|
+
seeAlso: "wstack audit (per-session audit log); wstack usage (cost summary)"
|
|
952
|
+
}
|
|
953
|
+
};
|
|
954
|
+
|
|
707
955
|
// src/subcommands/handlers/per-subcommand-help-table.ts
|
|
708
956
|
var helpTable = {
|
|
709
957
|
automation: {
|
|
@@ -745,7 +993,7 @@ var helpTable = {
|
|
|
745
993
|
{ name: "restart <id>", description: "Restart a running MCP server." },
|
|
746
994
|
{
|
|
747
995
|
name: "serve",
|
|
748
|
-
description: "Run the wstack MCP server; --resources/--prompts
|
|
996
|
+
description: "Run the wstack MCP server (read-only; --allow <caps> or --yolo widens); --resources/--prompts expose selected files."
|
|
749
997
|
},
|
|
750
998
|
{
|
|
751
999
|
name: "serve <mailbox|kanban|codebase-index|requirement-intake|sage>",
|
|
@@ -959,10 +1207,30 @@ var helpTable = {
|
|
|
959
1207
|
},
|
|
960
1208
|
tools: {
|
|
961
1209
|
name: "tools",
|
|
962
|
-
title: "wstack tools \u2014 list registered tools",
|
|
963
|
-
description: "
|
|
964
|
-
usage: "wstack tools",
|
|
965
|
-
|
|
1210
|
+
title: "wstack tools \u2014 list registered tools, or call one from outside a session",
|
|
1211
|
+
description: "Bare: list every registered tool with owner and permission. list/describe/run/batch: call built-in tools from any script or external agent. Read-only unless --allow <caps> (e.g. fs.write) or --yolo. Exit: 0 ok, 1 failed, 2 bad input, 3 not exposed/denied, 4 needs confirmation.",
|
|
1212
|
+
usage: "wstack tools [list|describe <tool>|run <tool> [--input <json|@file|stdin>] [-- --<field> <value>]|batch|agent-guide] [--json] [--allow <caps>|--yolo]",
|
|
1213
|
+
subcommands: [
|
|
1214
|
+
{ name: "list", description: "Tools callable from outside a session, one line each." },
|
|
1215
|
+
{ name: "describe <tool>", description: "Description, capabilities and input JSON schema." },
|
|
1216
|
+
{
|
|
1217
|
+
name: "run <tool>",
|
|
1218
|
+
description: "--input <json>|@file.json|bare (stdin); schema fields after --: -- --path a.ts --limit 5."
|
|
1219
|
+
},
|
|
1220
|
+
{
|
|
1221
|
+
name: "batch",
|
|
1222
|
+
description: 'JSONL calls ({"tool","input","id"}) on stdin or --input @f; one result line each.'
|
|
1223
|
+
},
|
|
1224
|
+
{
|
|
1225
|
+
name: "agent-guide",
|
|
1226
|
+
description: "A short Markdown guide for an agent's instruction file (AGENTS.md, CLAUDE.md)."
|
|
1227
|
+
},
|
|
1228
|
+
{
|
|
1229
|
+
name: "serve",
|
|
1230
|
+
description: "REST for an external agent: GET /v1/tools, POST /v1/tools/<name>/call; --port 0, token required."
|
|
1231
|
+
}
|
|
1232
|
+
],
|
|
1233
|
+
seeAlso: "wstack mcp serve (the same tools over MCP), wstack skills"
|
|
966
1234
|
},
|
|
967
1235
|
skills: {
|
|
968
1236
|
name: "skills",
|
|
@@ -977,250 +1245,7 @@ var helpTable = {
|
|
|
977
1245
|
description: "List every project WrongStack has seen (tracked by a hashed root). Each entry shows the project root and the last-seen timestamp. Useful for cleaning up the global projects dir after a workspace migration.",
|
|
978
1246
|
usage: "wstack projects"
|
|
979
1247
|
},
|
|
980
|
-
|
|
981
|
-
update: {
|
|
982
|
-
name: "update",
|
|
983
|
-
title: "wstack update \u2014 self-update the CLI",
|
|
984
|
-
description: "Check the latest npm version and update the globally-installed `wrongstack` package. Use `--check-only` to just print the current/latest without installing. Pass `--pm <manager>` (or its shorthand `--npm`, `--pnpm`, `--yarn`, `--bun`) to force a specific package manager; pass `--allow-scripts` (alias `--lifecycle-scripts`) to opt into package lifecycle scripts during the update (off by default). The update is global; run from any project root.",
|
|
985
|
-
usage: "wstack update [--check-only] [--pm <manager>] [--allow-scripts (alias: --lifecycle-scripts)]",
|
|
986
|
-
seeAlso: "wstack version (read-only version info)"
|
|
987
|
-
},
|
|
988
|
-
remote: {
|
|
989
|
-
name: "remote",
|
|
990
|
-
title: "wstack remote \u2014 run WrongStack on another machine over SSH",
|
|
991
|
-
description: "Runs WrongStack on the remote machine, in the given project directory, and opens its WebUI here through an SSH tunnel; the agent, its tools and its daemons run remotely. The system ssh is used, so ~/.ssh/config, your agent and known_hosts apply. The matching build is uploaded once per version to ~/.wrongstack/remote and checked by SHA-256. A dropped connection is reopened; the remote host keeps running meanwhile. Nothing from your local configuration is copied: set up a provider in the remote WebUI the first time.",
|
|
992
|
-
usage: "wstack remote <user@host:/path | ssh://user@host:port/path> [--port <n>] [--open] [--keep] [--ssh-config <file>] [--remote-binary <file>]",
|
|
993
|
-
seeAlso: "wstack --remote <target> (same command)"
|
|
994
|
-
},
|
|
995
|
-
// -- ACP (Agent Client Protocol) --------------------------------------
|
|
996
|
-
acp: {
|
|
997
|
-
name: "acp",
|
|
998
|
-
title: "wstack acp \u2014 Agent Client Protocol (ACP) integration",
|
|
999
|
-
description: "Run WrongStack as an ACP server (stdio) for editor clients (Zed, JetBrains, VS Code ACP), or orchestrate external ACP agents through spawn, probe, bench, and parallel fan-out.",
|
|
1000
|
-
usage: "wstack acp [server|list|sync|spawn|parallel|probe|bench] [...]",
|
|
1001
|
-
subcommands: [
|
|
1002
|
-
{ name: "server / serve", description: "Start WrongStack as an ACP stdio server (default)." },
|
|
1003
|
-
{ name: "list", description: "List available ACP agents from the cache." },
|
|
1004
|
-
{ name: "sync", description: "Sync the official ACP agent registry into local cache." },
|
|
1005
|
-
{ name: "spawn <id> <task>", description: "Spawn an ACP agent and wait for results." },
|
|
1006
|
-
{
|
|
1007
|
-
name: "parallel <csv> <task>",
|
|
1008
|
-
description: "Fan a task out to multiple ACP agents in parallel."
|
|
1009
|
-
},
|
|
1010
|
-
{ name: "probe [csv]", description: "Handshake-test installed ACP agents." },
|
|
1011
|
-
{ name: "bench [csv] [--fs]", description: "End-to-end benchmark and grade ACP agents." }
|
|
1012
|
-
],
|
|
1013
|
-
seeAlso: "wstack mcp serve (the MCP equivalent; pick the protocol your client speaks)"
|
|
1014
|
-
},
|
|
1015
|
-
// -- Model diagnostics (read-only) -----------------------------------
|
|
1016
|
-
modeldiag: {
|
|
1017
|
-
name: "modeldiag",
|
|
1018
|
-
title: "wstack modeldiag \u2014 model benchmarks + heuristic diagnostics",
|
|
1019
|
-
description: "Read-only diagnostics for the configured model: key check, capability scan (vision / tools / context window), heuristic strengths/weaknesses (bestFor / avoidFor), sequential live provider/model smoke tests, and real benchmarks against a small prompt suite. Smoke tests use tiny prompts and never print credentials.",
|
|
1020
|
-
usage: "wstack modeldiag [preflight|test|eval] [...]",
|
|
1021
|
-
subcommands: [
|
|
1022
|
-
{
|
|
1023
|
-
name: "preflight [provider-profile]",
|
|
1024
|
-
description: "Check native cloud provider setup without model requests or exposing credential values."
|
|
1025
|
-
},
|
|
1026
|
-
{
|
|
1027
|
-
name: "<no subcommand>",
|
|
1028
|
-
description: "Print configured model capabilities, context limits, and recommendations."
|
|
1029
|
-
},
|
|
1030
|
-
{
|
|
1031
|
-
name: "test [--plan|--all-models|--json]",
|
|
1032
|
-
description: "Run live sequential smoke tests across configured models."
|
|
1033
|
-
},
|
|
1034
|
-
{
|
|
1035
|
-
name: "eval [--providers <csv>]",
|
|
1036
|
-
description: "Run model competency matrix evaluation across tasks."
|
|
1037
|
-
}
|
|
1038
|
-
],
|
|
1039
|
-
seeAlso: "wstack modeldiag test --plan; wstack modeldiag test; wstack modeldiag test --all-models"
|
|
1040
|
-
},
|
|
1041
|
-
// -- Bench (developer / CI only) -------------------------------------
|
|
1042
|
-
bench: {
|
|
1043
|
-
name: "bench",
|
|
1044
|
-
title: "wstack bench \u2014 run model-independent agentic benchmarks",
|
|
1045
|
-
description: "Run WrongStack against the bundled smoke suite, a local manifest, Aider polyglot, or SWE-bench Verified with deterministic graders. Default `bench run` is the bundled core edit-eval; pass --cell provider/model (or a saved model).",
|
|
1046
|
-
usage: "wstack bench [run|compare|report|list|mine|review|route|experiment] [...]",
|
|
1047
|
-
subcommands: [
|
|
1048
|
-
{ name: "run", description: "Run a suite. Default: bundled smoke + --cell or saved model." },
|
|
1049
|
-
{
|
|
1050
|
-
name: "compare <a> <b>",
|
|
1051
|
-
description: "Diff two finished run directories (fingerprint-aware)."
|
|
1052
|
-
},
|
|
1053
|
-
{ name: "report <dir>", description: "Render the Markdown report for a prior run." },
|
|
1054
|
-
{
|
|
1055
|
-
name: "review --transcript <file>",
|
|
1056
|
-
description: "Read-only transcript behavior/compaction evidence; optional --policy."
|
|
1057
|
-
},
|
|
1058
|
-
{
|
|
1059
|
-
name: "route <dir> --policy <file>",
|
|
1060
|
-
description: "Shadow routing recommendations from graded model-matrix evidence."
|
|
1061
|
-
},
|
|
1062
|
-
{
|
|
1063
|
-
name: "experiment <a> <b> --dimension compaction|behavior",
|
|
1064
|
-
description: "Compare paired task/model/attempt runs with explicit experiment provenance."
|
|
1065
|
-
},
|
|
1066
|
-
{ name: "list", description: "List available suites and the model configs in the catalog." }
|
|
1067
|
-
],
|
|
1068
|
-
seeAlso: "wstack modeldiag (read-only diagnostics; bench actually runs the model)"
|
|
1069
|
-
},
|
|
1070
|
-
// -- Quick launch ------------------------------------------------------
|
|
1071
|
-
quick: {
|
|
1072
|
-
name: "quick",
|
|
1073
|
-
title: "wstack quick \u2014 launch the TUI with sensible defaults",
|
|
1074
|
-
description: "Accept every default, list installed plugins, and open the TUI with the agents-monitor panel pre-shown. Equivalent to `wstack --tui --quick`; the dedicated subcommand is for discoverability and tab-completion. The actual TUI launch is intercepted in `boot()` before this handler runs.",
|
|
1075
|
-
usage: "wstack quick",
|
|
1076
|
-
seeAlso: "wstack --tui (the underlying flag; quick is just a shortcut)"
|
|
1077
|
-
},
|
|
1078
|
-
// -- Aliases and meta commands ───────────────────────────────────────
|
|
1079
|
-
plugins: {
|
|
1080
|
-
name: "plugins",
|
|
1081
|
-
title: "wstack plugins \u2014 alias for wstack plugin",
|
|
1082
|
-
description: "Alias for `wstack plugin`. See `wstack plugin --help` for the full set of subcommands.",
|
|
1083
|
-
usage: "wstack plugins (alias for wstack plugin)",
|
|
1084
|
-
seeAlso: "wstack plugin (the canonical command)"
|
|
1085
|
-
},
|
|
1086
|
-
help: {
|
|
1087
|
-
name: "help",
|
|
1088
|
-
title: "wstack help \u2014 print top-level help",
|
|
1089
|
-
description: "Print the top-level help text listing every subcommand with a one-line summary. Equivalent to `wstack --help`.",
|
|
1090
|
-
usage: "wstack help",
|
|
1091
|
-
seeAlso: "wstack --help"
|
|
1092
|
-
},
|
|
1093
|
-
// -- HQ (dashboard server) ──────────────────────────────────────────
|
|
1094
|
-
hq: {
|
|
1095
|
-
name: "hq",
|
|
1096
|
-
title: "wstack hq \u2014 serve HQ, manage authentication, or install its system service",
|
|
1097
|
-
description: "Start the HQ server \u2014 a web dashboard for monitoring sessions, fleet status, and agent activity across projects; manage browser/client authentication, or install the persistent Ubuntu systemd service.",
|
|
1098
|
-
usage: "wstack hq [serve] [...] | wstack hq token [create|list|revoke] | wstack hq service [install|status|update|uninstall]",
|
|
1099
|
-
subcommands: [
|
|
1100
|
-
{ name: "serve", description: "Start the HQ dashboard server (default)." },
|
|
1101
|
-
{
|
|
1102
|
-
name: "token create [label]",
|
|
1103
|
-
description: "Mint a browser or client authentication token."
|
|
1104
|
-
},
|
|
1105
|
-
{ name: "token list", description: "List active HQ authentication tokens." },
|
|
1106
|
-
{ name: "token revoke <id>", description: "Revoke an issued HQ authentication token." },
|
|
1107
|
-
{
|
|
1108
|
-
name: "service install",
|
|
1109
|
-
description: "Install an always-on systemd service and guarded automatic updater."
|
|
1110
|
-
},
|
|
1111
|
-
{ name: "service status", description: "Inspect the HQ service and update timer." },
|
|
1112
|
-
{ name: "service update", description: "Run the guarded update job immediately." },
|
|
1113
|
-
{
|
|
1114
|
-
name: "service uninstall",
|
|
1115
|
-
description: "Remove systemd units while preserving HQ data and secrets."
|
|
1116
|
-
}
|
|
1117
|
-
],
|
|
1118
|
-
seeAlso: "wstack sessions fleet (CLI equivalent for fleet status)"
|
|
1119
|
-
},
|
|
1120
|
-
// -- Mailbox (external agent bridge) ────────────────────────────────
|
|
1121
|
-
mailbox: {
|
|
1122
|
-
name: "mailbox",
|
|
1123
|
-
title: "wstack mailbox \u2014 serve the external-agent mailbox HTTP bridge",
|
|
1124
|
-
description: "Start the mailbox HTTP bridge that lets external coding agents (Claude Code, Aider, custom scripts) communicate with the shared project mailbox. The server exposes a REST + SSE API for sending, checking, and acknowledging messages. Use `wstack mailbox serve` to start the listener.",
|
|
1125
|
-
usage: "wstack mailbox serve [--port <n>]",
|
|
1126
|
-
subcommands: [{ name: "serve", description: "Start the mailbox HTTP bridge listener." }],
|
|
1127
|
-
seeAlso: "wstack hq (the HQ server includes mailbox routing)"
|
|
1128
|
-
},
|
|
1129
|
-
// -- Permissions ────────────────────────────────────────────────────
|
|
1130
|
-
permissions: {
|
|
1131
|
-
name: "permissions",
|
|
1132
|
-
title: "wstack permissions \u2014 list and explain the permission rules",
|
|
1133
|
-
description: "Side-effect-free views of the permission policy the agent runs under: every rule in the order it is checked, and how one tool call is decided, without prompting, modifying trust files, or mutating state. Inside a session, /permissions also sets allow/deny rules for that session only.",
|
|
1134
|
-
usage: "wstack permissions [rules|explain <tool> [--input '<json>']] [--json]",
|
|
1135
|
-
subcommands: [
|
|
1136
|
-
{
|
|
1137
|
-
name: "rules",
|
|
1138
|
-
description: "List every permission rule, in the order they are checked (first match decides)."
|
|
1139
|
-
},
|
|
1140
|
-
{
|
|
1141
|
-
name: "explain <tool>",
|
|
1142
|
-
description: "Explain how the permission policy decides a tool call, and name the rule."
|
|
1143
|
-
}
|
|
1144
|
-
],
|
|
1145
|
-
seeAlso: "wstack tools (list available tools)"
|
|
1146
|
-
},
|
|
1147
|
-
// -- Project management ─────────────────────────────────────────────
|
|
1148
|
-
project: {
|
|
1149
|
-
name: "project",
|
|
1150
|
-
title: "wstack project \u2014 manage committed repository identity",
|
|
1151
|
-
description: "Manage the committed repository identity (project.json) used to scope HQ dashboards, Kanban state, and multi-agent coordination. Commit the generated ID file so every clone shares the same project.",
|
|
1152
|
-
usage: "wstack project [id|init|rekey] [--yes]",
|
|
1153
|
-
subcommands: [
|
|
1154
|
-
{ name: "id", description: "Show the current project ID and config path (default)." },
|
|
1155
|
-
{ name: "init", description: "Initialize a project ID if not already present." },
|
|
1156
|
-
{ name: "rekey", description: "Generate a new project ID for a fork (requires --yes)." }
|
|
1157
|
-
],
|
|
1158
|
-
seeAlso: "wstack projects (list all tracked projects)"
|
|
1159
|
-
},
|
|
1160
|
-
governance: {
|
|
1161
|
-
name: "governance",
|
|
1162
|
-
title: "wstack governance \u2014 inspect deterministic project-daemon health",
|
|
1163
|
-
description: "Read token-free attachment-broker health from the current project daemon. Warnings are advisory: they surface deterministic operator escalation signals without stopping active tasks or model execution.",
|
|
1164
|
-
usage: "wstack governance status [--json]",
|
|
1165
|
-
subcommands: [{ name: "status", description: "Show daemon and attachment-broker health." }],
|
|
1166
|
-
seeAlso: "wstack doctor (broader environment diagnostics)"
|
|
1167
|
-
},
|
|
1168
|
-
"import-claude-code": {
|
|
1169
|
-
name: "import-claude-code",
|
|
1170
|
-
title: "wstack import-claude-code \u2014 bring a Claude Code setup across",
|
|
1171
|
-
description: "Import MCP servers from ~/.claude.json (user + this project) and the repository's .mcp.json into the active profile. Previews by default. Repository servers arrive disabled unless --enable-project-servers. Skills are read in place; hooks, permission rules and CLAUDE.md are reported with next steps, not translated.",
|
|
1172
|
-
usage: "wstack import-claude-code [--apply] [--overwrite] [--enable-project-servers]",
|
|
1173
|
-
subcommands: [
|
|
1174
|
-
{ name: "--apply", description: "Write the plan (default: preview only)." },
|
|
1175
|
-
{ name: "--overwrite", description: "Replace servers that already exist by name." },
|
|
1176
|
-
{
|
|
1177
|
-
name: "--enable-project-servers",
|
|
1178
|
-
description: "Enable the repository's .mcp.json servers on import."
|
|
1179
|
-
}
|
|
1180
|
-
],
|
|
1181
|
-
seeAlso: "wstack mcp list; --mcp-config (one-off servers without importing)"
|
|
1182
|
-
},
|
|
1183
|
-
sage: {
|
|
1184
|
-
name: "sage",
|
|
1185
|
-
title: "wstack sage \u2014 this project's SAGE memory in other coding agents",
|
|
1186
|
-
description: "Wire SAGE memory into Claude Code, Codex, Cursor or Antigravity over MCP: writes the MCP server entry plus a skill/rule telling the agent when to recall and how to propose. The server attaches to the SAGE daemon while wstack is open in this project and never starts one. Tools are read-only plus memory_candidates (list/propose); a proposal becomes memory only through WrongStack review. Search is lexical: semantic recall runs inside a WrongStack host.",
|
|
1187
|
-
usage: "wstack sage connect <claude-code|codex|cursor|antigravity|all|print> [--dry-run]",
|
|
1188
|
-
subcommands: [
|
|
1189
|
-
{ name: "connect <client|all>", description: "Write the MCP entry and skill for a client." },
|
|
1190
|
-
{ name: "connect print", description: "Print JSON/TOML config for any other MCP client." },
|
|
1191
|
-
{ name: "disconnect <client|all>", description: "Remove what connect wrote." },
|
|
1192
|
-
{ name: "mcp [--origin <name>]", description: "The stdio MCP server clients run." },
|
|
1193
|
-
{
|
|
1194
|
-
name: "sync [--restart-service]",
|
|
1195
|
-
description: "Run project memory sync with HQ; optionally restart this project\u2019s SAGE owner."
|
|
1196
|
-
},
|
|
1197
|
-
{ name: "--dry-run", description: "Show the file changes without writing." },
|
|
1198
|
-
{ name: "--command <path>", description: "Executable to launch instead of wstack." }
|
|
1199
|
-
],
|
|
1200
|
-
seeAlso: "wstack mcp serve (all WrongStack tools over MCP)"
|
|
1201
|
-
},
|
|
1202
|
-
// -- Chronicle ──────────────────────────────────────────────────────
|
|
1203
|
-
chronicle: {
|
|
1204
|
-
name: "chronicle",
|
|
1205
|
-
title: "wstack chronicle \u2014 query cross-session provenance ledger",
|
|
1206
|
-
description: "Query the cross-session event ledger, inspect daemon status, compute facet aggregations, view token/cost metrics, or purge old retention entries.",
|
|
1207
|
-
usage: "wstack chronicle [query|status|facet|metrics|prune|compact] [...]",
|
|
1208
|
-
subcommands: [
|
|
1209
|
-
{ name: "query [field=value ...]", description: "Query recorded provenance events." },
|
|
1210
|
-
{ name: "status", description: "Check the Chronicle daemon and pipeline status." },
|
|
1211
|
-
{ name: "facet <field>", description: "Group and count events across a facet." },
|
|
1212
|
-
{
|
|
1213
|
-
name: "metrics [providers|tasks|files|summary]",
|
|
1214
|
-
description: "Query aggregated metrics from metrics.db."
|
|
1215
|
-
},
|
|
1216
|
-
{
|
|
1217
|
-
name: "prune [--days N] [--dry-run]",
|
|
1218
|
-
description: "Purge journal entries older than N days."
|
|
1219
|
-
},
|
|
1220
|
-
{ name: "compact", description: "Defragment and compact SQLite ledger." }
|
|
1221
|
-
],
|
|
1222
|
-
seeAlso: "wstack audit (per-session audit log); wstack usage (cost summary)"
|
|
1223
|
-
}
|
|
1248
|
+
...OPERATIONS_HELP_ENTRIES
|
|
1224
1249
|
};
|
|
1225
1250
|
|
|
1226
1251
|
// src/subcommands/handlers/per-subcommand-help.ts
|
|
@@ -1300,4 +1325,4 @@ export {
|
|
|
1300
1325
|
subcommandsWithFocusedHelp,
|
|
1301
1326
|
renderGenericHelp
|
|
1302
1327
|
};
|
|
1303
|
-
//# sourceMappingURL=chunk-
|
|
1328
|
+
//# sourceMappingURL=chunk-P7MEEUGT.js.map
|