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