@wrongstack/cli 0.284.1 → 0.286.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/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 +87 -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 +24 -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/brain-menu/panel-service.d.ts +15 -0
- package/dist/brain-menu/panel-service.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 +68 -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 +254 -0
- package/dist/execute-deps.d.ts.map +1 -0
- package/dist/execution.d.ts +102 -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/auth.d.ts +37 -0
- package/dist/hq-server/auth.d.ts.map +1 -0
- package/dist/hq-server/snapshot.d.ts +14 -0
- package/dist/hq-server/snapshot.d.ts.map +1 -0
- package/dist/hq-server/types.d.ts +67 -0
- package/dist/hq-server/types.d.ts.map +1 -0
- package/dist/hq-server/utils.d.ts +63 -0
- package/dist/hq-server/utils.d.ts.map +1 -0
- package/dist/hq-server/ws.d.ts +14 -0
- package/dist/hq-server/ws.d.ts.map +1 -0
- package/dist/hq-server.d.ts +60 -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 +10474 -5429
- 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 +21 -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 +164 -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 +18 -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/git.d.ts +16 -0
- package/dist/slash-commands/git.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 +80 -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/health.d.ts +4 -0
- package/dist/slash-commands/health.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 +543 -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 +27 -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/metrics.d.ts +4 -0
- package/dist/slash-commands/metrics.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/plan.d.ts +4 -0
- package/dist/slash-commands/plan.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/refiner.d.ts +15 -0
- package/dist/slash-commands/refiner.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 +43 -0
- package/dist/webui-server/ws-handlers/brain.d.ts.map +1 -0
- package/dist/webui-server/ws-handlers/connection.d.ts +57 -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 +60 -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 +165 -0
- package/dist/webui-server.d.ts.map +1 -0
- package/dist/wiring/brain-and-orchestration.d.ts +81 -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 +51 -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 +44 -0
- package/dist/wiring/hq-telemetry.d.ts.map +1 -0
- package/dist/wiring/lifecycle-plugins.d.ts +61 -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 +40 -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 +109 -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 +58 -0
- package/dist/wiring/session.d.ts.map +1 -0
- package/dist/wiring/slash-commands.d.ts +76 -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,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"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { SubcommandHandler } from '../index.js';
|
|
2
|
+
/**
|
|
3
|
+
* `wrongstack config history` — list history entries or show details.
|
|
4
|
+
*/
|
|
5
|
+
export declare const historyCmd: SubcommandHandler;
|
|
6
|
+
/**
|
|
7
|
+
* `wrongstack config restore <id>` or `wrongstack config restore --latest`
|
|
8
|
+
*/
|
|
9
|
+
export declare const restoreCmd: SubcommandHandler;
|
|
10
|
+
//# sourceMappingURL=config-history.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config-history.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/config-history.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACrD;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,iBA6CxB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,iBA2BxB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"diag-doctor.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/diag-doctor.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAGrD,eAAO,MAAM,OAAO,EAAE,iBAuBrB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,iBAgJvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/export.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD,eAAO,MAAM,SAAS,EAAE,iBAkDvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/helpers.ts"],"names":[],"mappings":"AAEA,wBAAgB,UAAU,CAAC,GAAG,EAAE,OAAO,GAAG,OAAO,CAShD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hq.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/hq.ts"],"names":[],"mappings":"AA8BA,OAAO,KAAK,EAAkB,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAOrE,eAAO,MAAM,KAAK,EAAE,iBAoBnB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { SubcommandHandler } from '../index.js';
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated Use `wstack auth` instead. The auth command handles provider setup,
|
|
4
|
+
* key management, and model selection in one interactive workflow.
|
|
5
|
+
*/
|
|
6
|
+
export declare const initCmd: SubcommandHandler;
|
|
7
|
+
//# sourceMappingURL=init.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/init.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD;;;GAGG;AACH,eAAO,MAAM,OAAO,EAAE,iBAarB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mailbox-serve.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/mailbox-serve.ts"],"names":[],"mappings":"AAoFA,OAAO,KAAK,EAAkB,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAwDrE,eAAO,MAAM,eAAe,EAAE,iBAc7B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mcp.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/mcp.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAkB,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAIrE,eAAO,MAAM,MAAM,EAAE,iBAyCpB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modeldiag.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/modeldiag.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AA0erD,eAAO,MAAM,YAAY,EAAE,iBA4qB1B,CAAC"}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import type { TerminalRenderer } from '../../renderer.js';
|
|
2
|
+
/**
|
|
3
|
+
* Per-flag help data for `wstack models add`.
|
|
4
|
+
*
|
|
5
|
+
* The `MODELS_ADD_FLAGS` array is the **single source of truth** for
|
|
6
|
+
* the `wstack models add` flag list. It's consumed by:
|
|
7
|
+
*
|
|
8
|
+
* - This file's `renderModelsAddHelpToString()` (renders the
|
|
9
|
+
* column-aligned help block)
|
|
10
|
+
* - `packages/cli/src/subcommands/handlers/providers-models.ts`'s
|
|
11
|
+
* `modelsAdd()` function (parses the flags — see the
|
|
12
|
+
* `parseBoolFlag` / value-flag reads there)
|
|
13
|
+
* - The `models:add` deep-help entry in
|
|
14
|
+
* `per-subcommand-help.ts` via its `customBody` field
|
|
15
|
+
* (delivers the rendered block to every help surface)
|
|
16
|
+
*
|
|
17
|
+
* Adding a new flag to `wstack models add` is a one-line change
|
|
18
|
+
* here; the parser picks it up automatically and the help block
|
|
19
|
+
* re-renders with the new flag in place. Drift between the
|
|
20
|
+
* three surfaces is structurally impossible.
|
|
21
|
+
*
|
|
22
|
+
* The flags are organized into two semantic groups:
|
|
23
|
+
*
|
|
24
|
+
* - **Identity** — flags that identify the model in the catalog
|
|
25
|
+
* (`--provider`, `--name`, plus the `<mid>` positional which
|
|
26
|
+
* is shown in the usage line, not in this array).
|
|
27
|
+
* - **Capabilities** — flags that describe what the model can do
|
|
28
|
+
* (`--max-context`, `--max-output`, `--tools`, `--vision`,
|
|
29
|
+
* `--reasoning`, `--streaming`, `--json-mode`).
|
|
30
|
+
*
|
|
31
|
+
* The grouping is reflected in the `group` field of each entry,
|
|
32
|
+
* which the renderer uses to print a "Flags" section with
|
|
33
|
+
* subheaders ("Identity:" and "Capabilities:") so the help block
|
|
34
|
+
* reads top-to-bottom in the order a user would set them.
|
|
35
|
+
*
|
|
36
|
+
* The `kind` field discriminates the parser behavior:
|
|
37
|
+
*
|
|
38
|
+
* - `'boolean'` — the flag accepts `--flag` (sets to true) and
|
|
39
|
+
* `--no-flag` (sets to false). The parser uses
|
|
40
|
+
* `parseBoolFlag(flags, flagName)` to read these.
|
|
41
|
+
* - `'value'` — the flag accepts a value (`--flag <value>`).
|
|
42
|
+
* The parser reads these via `flags[flagName]` directly.
|
|
43
|
+
*/
|
|
44
|
+
export type ModelsAddFlagGroup = 'identity' | 'capabilities';
|
|
45
|
+
export interface ModelsAddFlag {
|
|
46
|
+
/** The flag's canonical name (no `--` prefix, no value placeholder). */
|
|
47
|
+
name: string;
|
|
48
|
+
/**
|
|
49
|
+
* The display form, with the `--` prefix and any value
|
|
50
|
+
* placeholder. For boolean flags, the renderer appends the
|
|
51
|
+
* ` / --no-<name>` counterpart automatically.
|
|
52
|
+
*/
|
|
53
|
+
flag: string;
|
|
54
|
+
/** One-line description shown in the help block. */
|
|
55
|
+
description: string;
|
|
56
|
+
/** Which semantic group the flag belongs to. */
|
|
57
|
+
group: ModelsAddFlagGroup;
|
|
58
|
+
/** Parser shape: `boolean` for toggles, `value` for `--flag <v>`. */
|
|
59
|
+
kind: 'boolean' | 'value';
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* The flag list — the canonical source of truth for `wstack models add`.
|
|
63
|
+
*
|
|
64
|
+
* Order matters: it's the order the flags render in the help block,
|
|
65
|
+
* and the order the parser iterates them when reading boolean values.
|
|
66
|
+
* The list is grouped by `group` (identity first, then capabilities)
|
|
67
|
+
* but the renderer preserves the original order and prints subheaders
|
|
68
|
+
* when the group changes.
|
|
69
|
+
*/
|
|
70
|
+
export declare const MODELS_ADD_FLAGS: ReadonlyArray<ModelsAddFlag>;
|
|
71
|
+
/**
|
|
72
|
+
* The names of the boolean flags (the parser iterates these to
|
|
73
|
+
* read each toggle via `parseBoolFlag`). The list is derived from
|
|
74
|
+
* `MODELS_ADD_FLAGS` to keep the two in sync — a new boolean
|
|
75
|
+
* flag added to `MODELS_ADD_FLAGS` shows up here automatically.
|
|
76
|
+
*/
|
|
77
|
+
export declare const MODELS_ADD_BOOLEAN_FLAG_NAMES: ReadonlyArray<string>;
|
|
78
|
+
/**
|
|
79
|
+
* The names of the value flags (the parser reads these via
|
|
80
|
+
* `flags[name]` directly). Same derivation strategy as the
|
|
81
|
+
* boolean list.
|
|
82
|
+
*/
|
|
83
|
+
export declare const MODELS_ADD_VALUE_FLAG_NAMES: ReadonlyArray<string>;
|
|
84
|
+
/**
|
|
85
|
+
* The width of the flag column in the rendered help block.
|
|
86
|
+
* Chosen so the longest flag (`--max-context <N>`) fits with
|
|
87
|
+
* one space of padding before the description starts.
|
|
88
|
+
*/
|
|
89
|
+
export declare const MODELS_ADD_FLAG_COLUMN_WIDTH = 30;
|
|
90
|
+
/**
|
|
91
|
+
* Build the `wstack models add` help block as a string. The
|
|
92
|
+
* returned string is the exact bytes the renderer would have
|
|
93
|
+
* written — color codes and all. Used by surfaces that can't
|
|
94
|
+
* hold a `TerminalRenderer` (slash commands return
|
|
95
|
+
* `{ message: string }` instead of writing directly) and by
|
|
96
|
+
* the `models:add` deep-help entry in `per-subcommand-help.ts`
|
|
97
|
+
* via its `customBody` field.
|
|
98
|
+
*
|
|
99
|
+
* Single source of truth: the body here is the same string
|
|
100
|
+
* `wstack models add --help`, `wstack models add -- --help`,
|
|
101
|
+
* `/models add help`, and `/help models add` all render. Drift
|
|
102
|
+
* between the four surfaces is structurally impossible.
|
|
103
|
+
*
|
|
104
|
+
* The block layout is:
|
|
105
|
+
* 1. Bold title line
|
|
106
|
+
* 2. Dimmed description (1-2 lines, wrapped at the call site)
|
|
107
|
+
* 3. Empty line
|
|
108
|
+
* 4. Bold "Usage" + the usage line (constructed from
|
|
109
|
+
* `MODELS_ADD_FLAGS` so the flag ordering matches the list)
|
|
110
|
+
* 5. Empty line
|
|
111
|
+
* 6. Bold "Flags" + the flags, grouped by `group` with
|
|
112
|
+
* subheaders ("Identity:" / "Capabilities:") when the
|
|
113
|
+
* group changes
|
|
114
|
+
* 7. Empty line
|
|
115
|
+
* 8. Dimmed "See also:" line (single line, hardcoded)
|
|
116
|
+
*/
|
|
117
|
+
export declare function renderModelsAddHelpToString(): string;
|
|
118
|
+
/**
|
|
119
|
+
* Render the `wstack models add` help block directly to a
|
|
120
|
+
* renderer. Thin wrapper over `renderModelsAddHelpToString()`
|
|
121
|
+
* for callers that have a `TerminalRenderer` in hand (e.g.
|
|
122
|
+
* the `wstack models add --help` bypass in
|
|
123
|
+
* `providers-models.ts`).
|
|
124
|
+
*/
|
|
125
|
+
export declare function renderModelsAddHelp(renderer: TerminalRenderer): void;
|
|
126
|
+
/**
|
|
127
|
+
* Build the `Usage:` line that `modelsAdd` writes to stderr
|
|
128
|
+
* when the `<mid>` positional is missing. This is the parser's
|
|
129
|
+
* equivalent of the help block's usage line — it should match
|
|
130
|
+
* what `buildUsageLine()` produces so the two stay in sync.
|
|
131
|
+
*
|
|
132
|
+
* The two are not currently auto-derived from the same source
|
|
133
|
+
* (the parser writes a literal string for the stderr path, the
|
|
134
|
+
* help block builds it from `MODELS_ADD_FLAGS`). Future refactor
|
|
135
|
+
* opportunity: have the parser import this function and call it
|
|
136
|
+
* directly. For now, the test
|
|
137
|
+
* `modelsAddHelpParity > usage line matches` pins the contract
|
|
138
|
+
* (a future contributor who changes one without the other fails
|
|
139
|
+
* the test).
|
|
140
|
+
*/
|
|
141
|
+
export declare function buildModelsAddUsageLine(): string;
|
|
142
|
+
//# sourceMappingURL=models-add-help.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"models-add-help.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/models-add-help.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAE1D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,MAAM,MAAM,kBAAkB,GAAG,UAAU,GAAG,cAAc,CAAC;AAE7D,MAAM,WAAW,aAAa;IAC5B,wEAAwE;IACxE,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,oDAAoD;IACpD,WAAW,EAAE,MAAM,CAAC;IACpB,gDAAgD;IAChD,KAAK,EAAE,kBAAkB,CAAC;IAC1B,qEAAqE;IACrE,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC;CAC3B;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,gBAAgB,EAAE,aAAa,CAAC,aAAa,CAkEzD,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,6BAA6B,EAAE,aAAa,CAAC,MAAM,CAE3C,CAAC;AAEtB;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,EAAE,aAAa,CAAC,MAAM,CAEzC,CAAC;AAEtB;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,KAAK,CAAC;AAE/C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,2BAA2B,IAAI,MAAM,CAiBpD;AA2CD;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,gBAAgB,GAAG,IAAI,CAEpE;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,uBAAuB,IAAI,MAAM,CAEhD"}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import type { TerminalRenderer } from '../../renderer.js';
|
|
2
|
+
/**
|
|
3
|
+
* One entry per subcommand the user can ask `--help` for. Each
|
|
4
|
+
* entry is `{ title, description, usage, subcommands?, flags? }`
|
|
5
|
+
* — the renderer is responsible for the column-aligned output.
|
|
6
|
+
*
|
|
7
|
+
* Subcommands with no flags of their own (e.g. `init`, `version`)
|
|
8
|
+
* just supply title/description/usage. Subcommands with a
|
|
9
|
+
* subcommand hierarchy (e.g. `mcp`, `plugin`, `models`) supply
|
|
10
|
+
* a `subcommands` table — a list of `{ name, description }` rows
|
|
11
|
+
* for the dispatch tree. The user can then run
|
|
12
|
+
* `wstack <subcommand> <sub-sub> --help` for the focused help of
|
|
13
|
+
* any deeper level.
|
|
14
|
+
*/
|
|
15
|
+
export interface PerSubcommandHelp {
|
|
16
|
+
/** The subcommand name as it appears in argv (e.g. 'init', 'mcp'). */
|
|
17
|
+
name: string;
|
|
18
|
+
/** Display title for the help block (e.g. 'wstack init — …'). */
|
|
19
|
+
title: string;
|
|
20
|
+
/** One-line description of what the command does. */
|
|
21
|
+
description: string;
|
|
22
|
+
/** Usage line — `wstack <subcommand> [args]`. */
|
|
23
|
+
usage: string;
|
|
24
|
+
/** Optional subcommand table. Empty for subcommands that take no subargs. */
|
|
25
|
+
subcommands?: ReadonlyArray<{
|
|
26
|
+
name: string;
|
|
27
|
+
description: string;
|
|
28
|
+
}>;
|
|
29
|
+
/**
|
|
30
|
+
* Optional "see also" pointer — the most common adjacent
|
|
31
|
+
* subcommand the user will want to read about. Renders as
|
|
32
|
+
* a single dim line at the bottom of the help block.
|
|
33
|
+
*/
|
|
34
|
+
seeAlso?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Optional custom body renderer. When set, the standard
|
|
37
|
+
* title / description / usage / subcommands / seeAlso layout
|
|
38
|
+
* is **replaced** by whatever this function returns. The
|
|
39
|
+
* caller is responsible for the full layout — including
|
|
40
|
+
* the title line, the usage line, and any closing "see
|
|
41
|
+
* also" pointer.
|
|
42
|
+
*
|
|
43
|
+
* **See the top-of-file JSDoc for the full "delegation pattern"
|
|
44
|
+
* documentation** (when to use, when NOT to use, a worked
|
|
45
|
+
* example for adding a new delegated entry, and the
|
|
46
|
+
* single-source-of-truth contract). The worked example walks
|
|
47
|
+
* through creating a hypothetical `plugin-official-help.ts`
|
|
48
|
+
* module and wiring it into the `deepHelpTable` via
|
|
49
|
+
* `customBody`.
|
|
50
|
+
*
|
|
51
|
+
* **For the on-ramp guide, see `docs/help-modules.md`**. It
|
|
52
|
+
* walks through the full pattern (when to write a help
|
|
53
|
+
* module, the canonical data shape, wiring the dispatcher,
|
|
54
|
+
* testing, and a worked example) — the canonical reference
|
|
55
|
+
* for new contributors adding their first help module.
|
|
56
|
+
*
|
|
57
|
+
* Use case: a deep-help entry whose help text is already
|
|
58
|
+
* maintained by a dedicated module (e.g. `auth-local-help.ts`
|
|
59
|
+
* owns the `wstack auth local` flag list). The deep entry
|
|
60
|
+
* delegates to that module's renderer so the flag list
|
|
61
|
+
* stays single-source-of-truth. Setting `customBody` to a
|
|
62
|
+
* thunk that calls the module's string renderer gives
|
|
63
|
+
* `/auth local help`, `/help auth local`, and
|
|
64
|
+
* `wstack auth local --help` the same exact block.
|
|
65
|
+
*
|
|
66
|
+
* Note: when `customBody` is set, the `title`, `description`,
|
|
67
|
+
* `usage`, `subcommands`, and `seeAlso` fields are still
|
|
68
|
+
* required by the type but are **not rendered** — the
|
|
69
|
+
* `customBody` function owns the full block. The required
|
|
70
|
+
* fields exist so the test infrastructure can still iterate
|
|
71
|
+
* the entry shape uniformly.
|
|
72
|
+
*/
|
|
73
|
+
customBody?: () => string;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Build the rendered help text for one entry — the same string that
|
|
77
|
+
* `renderBlock` would write to a renderer, returned instead of being
|
|
78
|
+
* emitted. Used by surfaces that can't write directly (slash commands
|
|
79
|
+
* return `{ message: string }` instead of holding a `TerminalRenderer`).
|
|
80
|
+
*
|
|
81
|
+
* Note: the title/description/usage are formatted with ANSI color
|
|
82
|
+
* codes (from `@wrongstack/core/color`). Surfaces that display the
|
|
83
|
+
* returned string in a non-ANSI context (a log file, a test assertion)
|
|
84
|
+
* will see the raw escape codes. Tests should match on substrings,
|
|
85
|
+
* not the full block; UI surfaces should render to a TTY.
|
|
86
|
+
*/
|
|
87
|
+
export declare function renderBlockToString(help: PerSubcommandHelp): string;
|
|
88
|
+
/**
|
|
89
|
+
* Render a deep-subcommand focused help block (e.g. for
|
|
90
|
+
* `wstack mcp add --help`). The key format is `"<top>:<deep>"`
|
|
91
|
+
* (e.g. `"mcp:add"`). Returns `true` if a block was rendered,
|
|
92
|
+
* `false` if no deep help is registered for the key — callers
|
|
93
|
+
* fall back to the top-level help short-circuit.
|
|
94
|
+
*/
|
|
95
|
+
export declare function renderDeepHelp(key: string, renderer: TerminalRenderer): boolean;
|
|
96
|
+
/**
|
|
97
|
+
* String-returning variant of `renderDeepHelp` for slash commands.
|
|
98
|
+
* Returns the rendered deep-help text, or `undefined` if the
|
|
99
|
+
* `<top>:<deep>` key is not in the table.
|
|
100
|
+
*/
|
|
101
|
+
export declare function renderDeepHelpToString(key: string): string | undefined;
|
|
102
|
+
/**
|
|
103
|
+
* The list of deep-subcommand keys that have focused help blocks.
|
|
104
|
+
* Same shape as `subcommandsWithFocusedHelp` but for the
|
|
105
|
+
* `<top>:<deep>` table. Used by tests to assert the contract.
|
|
106
|
+
*/
|
|
107
|
+
export declare const deepSubcommandsWithFocusedHelp: ReadonlyArray<string>;
|
|
108
|
+
/**
|
|
109
|
+
* Render the focused help block for the given subcommand. Returns
|
|
110
|
+
* `true` if a block was rendered (the subcommand was found in
|
|
111
|
+
* the table) and `false` if no focused help exists — callers can
|
|
112
|
+
* fall back to the generic "see top-level help" message.
|
|
113
|
+
*/
|
|
114
|
+
export declare function renderFocusedHelp(subcommand: string, renderer: TerminalRenderer): boolean;
|
|
115
|
+
/**
|
|
116
|
+
* String-returning variant of `renderFocusedHelp` for surfaces that
|
|
117
|
+
* can't hold a `TerminalRenderer` — slash commands return
|
|
118
|
+
* `{ message: string }` instead of writing directly. Returns the
|
|
119
|
+
* rendered help text, or `undefined` if the subcommand is not in
|
|
120
|
+
* the table (callers fall back to the inline `help` field).
|
|
121
|
+
*/
|
|
122
|
+
export declare function renderFocusedHelpToString(subcommand: string): string | undefined;
|
|
123
|
+
/**
|
|
124
|
+
* The list of subcommand names that have a focused help block.
|
|
125
|
+
* Subcommands not in this list fall back to the generic
|
|
126
|
+
* `renderGenericHelp` message — the bypass still works (the user
|
|
127
|
+
* gets something) but the output is terser.
|
|
128
|
+
*/
|
|
129
|
+
export declare const subcommandsWithFocusedHelp: ReadonlyArray<string>;
|
|
130
|
+
/**
|
|
131
|
+
* Generic help block for subcommands that don't have a focused
|
|
132
|
+
* entry in the help table. Tells the user that the subcommand
|
|
133
|
+
* takes no flags and points at the top-level help for the rest.
|
|
134
|
+
*/
|
|
135
|
+
export declare function renderGenericHelp(subcommand: string, renderer: TerminalRenderer): void;
|
|
136
|
+
//# sourceMappingURL=per-subcommand-help.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"per-subcommand-help.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/per-subcommand-help.ts"],"names":[],"mappings":"AA2LA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAK1D;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,iBAAiB;IAChC,sEAAsE;IACtE,IAAI,EAAE,MAAM,CAAC;IACb,iEAAiE;IACjE,KAAK,EAAE,MAAM,CAAC;IACd,qDAAqD;IACrD,WAAW,EAAE,MAAM,CAAC;IACpB,iDAAiD;IACjD,KAAK,EAAE,MAAM,CAAC;IACd,6EAA6E;IAC7E,WAAW,CAAC,EAAE,aAAa,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACnE;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAqCG;IACH,UAAU,CAAC,EAAE,MAAM,MAAM,CAAC;CAC3B;AAGD;;;;;;;;;;;GAWG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,iBAAiB,GAAG,MAAM,CAiCnE;AA89BD;;;;;;GAMG;AACH,wBAAgB,cAAc,CAC5B,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,gBAAgB,GACzB,OAAO,CAKT;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAGtE;AAED;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,EAAE,aAAa,CAAC,MAAM,CACrC,CAAC;AAE7B;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAC/B,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,gBAAgB,GACzB,OAAO,CAKT;AAED;;;;;;GAMG;AACH,wBAAgB,yBAAyB,CACvC,UAAU,EAAE,MAAM,GACjB,MAAM,GAAG,SAAS,CAGpB;AAED;;;;;GAKG;AACH,eAAO,MAAM,0BAA0B,EAAE,aAAa,CAAC,MAAM,CACrC,CAAC;AAEzB;;;;GAIG;AACH,wBAAgB,iBAAiB,CAC/B,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,gBAAgB,GACzB,IAAI,CAaN"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin-usage.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/plugin-usage.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD,eAAO,MAAM,SAAS,EAAE,iBAavB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,iBAOtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projects.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/projects.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD,eAAO,MAAM,WAAW,EAAE,iBAyBzB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"providers-models.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/providers-models.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACrD,eAAO,MAAM,YAAY,EAAE,iBA6C1B,CAAC;AAoDF,eAAO,MAAM,SAAS,EAAE,iBA+IvB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { SubcommandHandler } from '../index.js';
|
|
2
|
+
/**
|
|
3
|
+
* `wrongstack quick` — launch directly into the TUI with sensible defaults.
|
|
4
|
+
*
|
|
5
|
+
* NOTE: The actual handling is done in `boot()` (boot.ts) which intercepts 'quick'
|
|
6
|
+
* before the subcommand dispatch in cli-main.ts. boot() sets flags.quick and
|
|
7
|
+
* flags.tui, lists plugins, clears positional, and returns BootContext.
|
|
8
|
+
* execute() then goes to the TUI path with initialAgentsMonitorOpen: true.
|
|
9
|
+
*
|
|
10
|
+
* This handler is kept for completeness (registered in subcommands/index.ts) but
|
|
11
|
+
* is never called in the `wrongstack quick` flow.
|
|
12
|
+
*/
|
|
13
|
+
export declare const quickCmd: SubcommandHandler;
|
|
14
|
+
//# sourceMappingURL=quick.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quick.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/quick.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,QAAQ,EAAE,iBAItB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { SubcommandHandler } from '../index.js';
|
|
2
|
+
/**
|
|
3
|
+
* `wstack replay <sessionId>` — convenience wrapper around
|
|
4
|
+
* `wstack --replay <sessionId>`. Lists the recorded entries for
|
|
5
|
+
* the session and shows a hint for the user to re-run with
|
|
6
|
+
* the actual replay flag. Keeps the flag-based path canonical
|
|
7
|
+
* (so the boot container wiring stays simple) while exposing
|
|
8
|
+
* a discoverable subcommand for users who type `wstack replay`
|
|
9
|
+
* expecting it to exist.
|
|
10
|
+
*/
|
|
11
|
+
export declare const replayCmd: SubcommandHandler;
|
|
12
|
+
//# sourceMappingURL=replay.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"replay.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/replay.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD;;;;;;;;GAQG;AACH,eAAO,MAAM,SAAS,EAAE,iBA2EvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rewind.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/rewind.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAwCrD,eAAO,MAAM,SAAS,EAAE,iBA4HvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sessions-config.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/sessions-config.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAkB,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAGrE,eAAO,MAAM,WAAW,EAAE,iBAqEzB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,iBAmBvB,CAAC"}
|