@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,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `/mailbox` — the human operator's window into the project-level
|
|
3
|
+
* inter-agent mailbox.
|
|
4
|
+
*
|
|
5
|
+
* Every terminal/TUI/WebUI working on the same project shares one
|
|
6
|
+
* GlobalMailbox under `~/.wrongstack/projects/<slug>/_mailbox.jsonl`.
|
|
7
|
+
* Agents read it automatically each iteration (mailbox-loop) and can
|
|
8
|
+
* write via the `mailbox` tool; this command gives the USER the same
|
|
9
|
+
* powers — see who is online, read the inbox, message a specific agent,
|
|
10
|
+
* or broadcast to everyone.
|
|
11
|
+
*
|
|
12
|
+
* The command acts under THIS process's leader identity
|
|
13
|
+
* (`leader@<sessionTag>`, session-bound), so messages you send
|
|
14
|
+
* here are attributed to the same agent your conversation runs as, and
|
|
15
|
+
* replies addressed to it land in your agent's next iteration.
|
|
16
|
+
*
|
|
17
|
+
* Usage:
|
|
18
|
+
* /mailbox — inbox (unread for this leader)
|
|
19
|
+
* /mailbox agents — all registered agents on the project
|
|
20
|
+
* /mailbox online — only agents with a live heartbeat
|
|
21
|
+
* /mailbox send <id> [type=<t>] <message> — direct message an agent (type is one of note/ask/assign/steer/btw/broadcast/status/result/review)
|
|
22
|
+
* /mailbox broadcast <message> — message every agent ('*')
|
|
23
|
+
* /mailbox history [n] — last n messages on the project (default 20)
|
|
24
|
+
*/
|
|
25
|
+
import { type SlashCommand } from '@wrongstack/core';
|
|
26
|
+
import type { SlashCommandContext } from './index.js';
|
|
27
|
+
export declare function buildMailboxCommand(opts: SlashCommandContext): SlashCommand;
|
|
28
|
+
//# sourceMappingURL=mailbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mailbox.d.ts","sourceRoot":"","sources":["../../src/slash-commands/mailbox.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,EASL,KAAK,YAAY,EAElB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAkJtD,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAuO3E"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MCP management command utilities.
|
|
3
|
+
* Contains the argument parser and the actual management logic shared between
|
|
4
|
+
* the CLI subcommand handler (packages/cli/src/subcommands/handlers/mcp.ts)
|
|
5
|
+
* and the slash-command wiring in index.ts.
|
|
6
|
+
*/
|
|
7
|
+
import type { Config, MCPServerConfig } from '@wrongstack/core';
|
|
8
|
+
import type { MCPRegistry } from '@wrongstack/mcp';
|
|
9
|
+
export interface McpParsedArgs {
|
|
10
|
+
action: 'list' | 'add' | 'remove' | 'enable' | 'disable' | 'restart';
|
|
11
|
+
name: string;
|
|
12
|
+
enable?: boolean | undefined;
|
|
13
|
+
}
|
|
14
|
+
/** Parse "/mcp add github --enable" style args. Returns null on unknown/missing subcommand. */
|
|
15
|
+
export declare function parseMcpArgs(args: string): McpParsedArgs | null;
|
|
16
|
+
interface McpManagementDeps {
|
|
17
|
+
config: Config;
|
|
18
|
+
configPath: string;
|
|
19
|
+
mcpRegistry: MCPRegistry;
|
|
20
|
+
allServerPresets: Record<string, MCPServerConfig>;
|
|
21
|
+
}
|
|
22
|
+
export declare function runMcpManagementCommand(parsed: McpParsedArgs, deps: McpManagementDeps): Promise<string>;
|
|
23
|
+
export {};
|
|
24
|
+
//# sourceMappingURL=mcp-utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mcp-utils.d.ts","sourceRoot":"","sources":["../../src/slash-commands/mcp-utils.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAQhE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACnD,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,MAAM,GAAG,KAAK,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAC;IACrE,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC9B;AAED,+FAA+F;AAC/F,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,aAAa,GAAG,IAAI,CAuB/D;AAED,UAAU,iBAAiB;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,WAAW,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,eAAe,CAAC,CAAC;CACnD;AAED,wBAAsB,uBAAuB,CAC3C,MAAM,EAAE,aAAa,EACrB,IAAI,EAAE,iBAAiB,GACtB,OAAO,CAAC,MAAM,CAAC,CAiCjB"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { SlashCommand } from '@wrongstack/core';
|
|
2
|
+
import type { SlashCommandContext } from './index.js';
|
|
3
|
+
export type { McpParsedArgs } from './mcp-utils.js';
|
|
4
|
+
export { parseMcpArgs, runMcpManagementCommand } from './mcp-utils.js';
|
|
5
|
+
/**
|
|
6
|
+
* /mcp slash command — manage MCP servers from the REPL.
|
|
7
|
+
*
|
|
8
|
+
* Usage:
|
|
9
|
+
* /mcp — open interactive server picker (TUI) or list servers
|
|
10
|
+
* /mcp list — list all available and configured servers
|
|
11
|
+
* /mcp add <name> — add server preset to config (disabled by default)
|
|
12
|
+
* /mcp add <name> --enable — add and immediately enable
|
|
13
|
+
* /mcp remove <name> — remove server from config
|
|
14
|
+
* /mcp enable <name> — enable server in config + start it
|
|
15
|
+
* /mcp disable <name> — disable server in config + stop it
|
|
16
|
+
* /mcp restart <name> — stop and restart a running server
|
|
17
|
+
* /mcp resources <name> — discover cached/live resources
|
|
18
|
+
* /mcp prompts <name> — discover cached/live prompts
|
|
19
|
+
* /mcp read <name> <uri> — explicitly insert a selected resource
|
|
20
|
+
* /mcp get <name> <prompt> [key=value...] — explicitly insert a selected prompt
|
|
21
|
+
* /mcp auth start <name> <client-id> <redirect-uri> [scopes...] — begin OAuth
|
|
22
|
+
* /mcp auth complete <name> <callback-url> — finish OAuth from a callback URL
|
|
23
|
+
* /mcp auth status <name> — show non-secret authorization state
|
|
24
|
+
* /mcp auth logout <name> — remove stored OAuth credentials
|
|
25
|
+
*/
|
|
26
|
+
export declare function buildMcpSlashCommand(opts: SlashCommandContext): SlashCommand;
|
|
27
|
+
//# sourceMappingURL=mcp.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mcp.d.ts","sourceRoot":"","sources":["../../src/slash-commands/mcp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEtD,YAAY,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEpD,OAAO,EAAE,YAAY,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AAEvE;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CA+E5E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"memory.d.ts","sourceRoot":"","sources":["../../src/slash-commands/memory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AActD,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAqI1E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metrics.d.ts","sourceRoot":"","sources":["../../src/slash-commands/metrics.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAwB,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAE3E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEtD,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAsE3E"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { ModeStore, SlashCommand } from '@wrongstack/core';
|
|
2
|
+
import type { SlashCommandContext } from './index.js';
|
|
3
|
+
export declare function buildModeCommand(opts: SlashCommandContext & {
|
|
4
|
+
modeStore?: ModeStore | undefined;
|
|
5
|
+
}): SlashCommand;
|
|
6
|
+
//# sourceMappingURL=mode.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mode.d.ts","sourceRoot":"","sources":["../../src/slash-commands/mode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAqB,SAAS,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEnF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAqDtD,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,mBAAmB,GAAG;IAAE,SAAS,CAAC,EAAE,SAAS,GAAG,SAAS,CAAA;CAAE,GAChE,YAAY,CAyEd"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"modelcaps.d.ts","sourceRoot":"","sources":["../../src/slash-commands/modelcaps.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAiDtD,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAmL7E"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type SlashCommand } from '@wrongstack/core';
|
|
2
|
+
import type { SlashCommandContext } from './index.js';
|
|
3
|
+
/**
|
|
4
|
+
* `/models` — manage custom model definitions.
|
|
5
|
+
*
|
|
6
|
+
* Subcommands:
|
|
7
|
+
* /models List custom model definitions
|
|
8
|
+
* /models add <id> [flags] Add or update a custom model
|
|
9
|
+
* /models remove <id> Remove a custom model
|
|
10
|
+
*
|
|
11
|
+
* Flags for `add`:
|
|
12
|
+
* --provider <id> Owning provider (optional)
|
|
13
|
+
* --name "Display" Display name
|
|
14
|
+
* --max-context <N> Override max context window
|
|
15
|
+
* --max-output <N> Override max output tokens
|
|
16
|
+
* --tools Mark model as tool-capable
|
|
17
|
+
* --vision Mark model as vision-capable
|
|
18
|
+
* --reasoning Mark model as reasoning-capable
|
|
19
|
+
* --streaming Mark model as supporting streaming
|
|
20
|
+
* --json-mode Mark model as supporting JSON mode
|
|
21
|
+
*/
|
|
22
|
+
export declare function buildModelsCommand(opts: SlashCommandContext): SlashCommand;
|
|
23
|
+
//# sourceMappingURL=models.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../src/slash-commands/models.ts"],"names":[],"mappings":"AAEA,OAAO,EAQL,KAAK,YAAY,EAElB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAmItD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAqI1E"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { SlashCommand } from '@wrongstack/core';
|
|
2
|
+
import type { SlashCommandContext } from './index.js';
|
|
3
|
+
/**
|
|
4
|
+
* `/mouse` — toggle "full mouse mode" in the TUI: the chat history is rendered
|
|
5
|
+
* into a managed, in-app-scrolled viewport (wheel + scrollbar + clickable UI)
|
|
6
|
+
* instead of riding the terminal's native scrollback.
|
|
7
|
+
*
|
|
8
|
+
* The command is intentionally stateless: it doesn't hold the live value (which
|
|
9
|
+
* lives in the App's `mouseMode` state). It emits an intent via `metadata`, and
|
|
10
|
+
* the TUI App resolves it against its own state, persists the setting, and
|
|
11
|
+
* prints the resulting status. Outside the TUI the metadata is simply ignored.
|
|
12
|
+
*/
|
|
13
|
+
export declare function buildMouseCommand(_opts: SlashCommandContext): SlashCommand;
|
|
14
|
+
//# sourceMappingURL=mouse.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mouse.d.ts","sourceRoot":"","sources":["../../src/slash-commands/mouse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEtD;;;;;;;;;GASG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,mBAAmB,GAAG,YAAY,CAkC1E"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { SlashCommand } from '@wrongstack/core';
|
|
2
|
+
import type { SlashCommandContext } from './index.js';
|
|
3
|
+
/**
|
|
4
|
+
* `/next` — toggle next-task prediction AND select stored suggestions.
|
|
5
|
+
*
|
|
6
|
+
* Without numeric args: toggles prediction display (existing behavior).
|
|
7
|
+
*
|
|
8
|
+
* With numeric args (`/next 1`, `/next 1 2 3`): selects the corresponding
|
|
9
|
+
* suggestions from the stored list (populated by `/suggest` or by automatic
|
|
10
|
+
* suggestion generation after each turn). Each selected suggestion is
|
|
11
|
+
* injected as the next user message, bypassing refinement/classification.
|
|
12
|
+
*
|
|
13
|
+
* `/next list` shows the current suggestion list.
|
|
14
|
+
*
|
|
15
|
+
* When prediction is enabled, the REPL runs a lightweight single-shot LLM
|
|
16
|
+
* prediction after each completed turn and shows the 1-3 most likely next
|
|
17
|
+
* steps (display-only — nothing is executed). The toggle is persisted to
|
|
18
|
+
* config so it survives restarts.
|
|
19
|
+
*/
|
|
20
|
+
export declare function buildNextCommand(opts: SlashCommandContext): SlashCommand;
|
|
21
|
+
//# sourceMappingURL=next.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"next.d.ts","sourceRoot":"","sources":["../../src/slash-commands/next.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAGtD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CA8FxE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plan.d.ts","sourceRoot":"","sources":["../../src/slash-commands/plan.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAuBrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAYtD,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CA6OxE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../src/slash-commands/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEtD,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAgD1E"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export interface ProjectEntry {
|
|
2
|
+
/** User-friendly name (defaults to dirname, can be renamed). */
|
|
3
|
+
name: string;
|
|
4
|
+
/** Absolute path to the project root. */
|
|
5
|
+
root: string;
|
|
6
|
+
/** Stable unique slug (dirname-hash) for per-project data storage. */
|
|
7
|
+
slug: string;
|
|
8
|
+
/** ISO timestamp of last use. */
|
|
9
|
+
lastSeen?: string | undefined;
|
|
10
|
+
/** ISO timestamp of when the project was first registered. */
|
|
11
|
+
createdAt?: string | undefined;
|
|
12
|
+
/** Working directory of the most recent session (may differ from root). */
|
|
13
|
+
lastWorkingDir?: string | undefined;
|
|
14
|
+
}
|
|
15
|
+
export interface ProjectsManifest {
|
|
16
|
+
projects: ProjectEntry[];
|
|
17
|
+
}
|
|
18
|
+
export declare function loadManifest(globalConfigPath?: string | undefined): Promise<ProjectsManifest>;
|
|
19
|
+
export declare function saveManifest(manifest: ProjectsManifest, globalConfigPath?: string | undefined): Promise<void>;
|
|
20
|
+
/**
|
|
21
|
+
* Generate a unique slug from a project root path.
|
|
22
|
+
*/
|
|
23
|
+
export declare function generateSlug(root: string): string;
|
|
24
|
+
/**
|
|
25
|
+
* Find a project entry by slug, name, or root (partial match).
|
|
26
|
+
*/
|
|
27
|
+
export declare function findProject(manifest: ProjectsManifest, query: string): ProjectEntry | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* Ensure the per-project data directory exists under ~/.wrongstack/projects/<slug>/.
|
|
30
|
+
*/
|
|
31
|
+
export declare function ensureProjectDataDir(slug: string, globalConfigPath?: string | undefined): Promise<string>;
|
|
32
|
+
/**
|
|
33
|
+
* Idempotent project registration: ensure `projectRoot` has an entry in
|
|
34
|
+
* projects.json, creating one when missing and refreshing `lastSeen` /
|
|
35
|
+
* `lastWorkingDir` when present. Returns the (created or updated) entry.
|
|
36
|
+
*
|
|
37
|
+
* Every surface that opens a project (CLI/TUI boot, standalone WebUI boot,
|
|
38
|
+
* WebUI projects.select) funnels through this so the manifest is the single
|
|
39
|
+
* source of truth for "which projects exist" regardless of entry point.
|
|
40
|
+
* Concurrent processes booting on the same machine serialize via a file
|
|
41
|
+
* lock around the read-modify-write.
|
|
42
|
+
*/
|
|
43
|
+
export declare function touchProjectInManifest(opts: {
|
|
44
|
+
projectRoot: string;
|
|
45
|
+
globalConfigPath?: string | undefined;
|
|
46
|
+
/** Working dir of this session when it differs from the root. */
|
|
47
|
+
workingDir?: string | undefined;
|
|
48
|
+
/** Friendly name for a NEWLY created entry (default: basename). */
|
|
49
|
+
name?: string | undefined;
|
|
50
|
+
}): Promise<ProjectEntry>;
|
|
51
|
+
//# sourceMappingURL=project-utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project-utils.d.ts","sourceRoot":"","sources":["../../src/slash-commands/project-utils.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,YAAY;IAC3B,gEAAgE;IAChE,IAAI,EAAE,MAAM,CAAC;IACb,yCAAyC;IACzC,IAAI,EAAE,MAAM,CAAC;IACb,sEAAsE;IACtE,IAAI,EAAE,MAAM,CAAC;IACb,iCAAiC;IACjC,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,8DAA8D;IAC9D,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,2EAA2E;IAC3E,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACrC;AAED,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,YAAY,EAAE,CAAC;CAC1B;AAgBD,wBAAsB,YAAY,CAChC,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,GACpC,OAAO,CAAC,gBAAgB,CAAC,CAS3B;AAED,wBAAsB,YAAY,CAChC,QAAQ,EAAE,gBAAgB,EAC1B,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,GACpC,OAAO,CAAC,IAAI,CAAC,CAIf;AAID;;GAEG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAUjD;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,QAAQ,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,GAAG,YAAY,GAAG,SAAS,CAc/F;AAED;;GAEG;AACH,wBAAsB,oBAAoB,CACxC,IAAI,EAAE,MAAM,EACZ,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,GACpC,OAAO,CAAC,MAAM,CAAC,CAIjB;AAED;;;;;;;;;;GAUG;AACH,wBAAsB,sBAAsB,CAAC,IAAI,EAAE;IACjD,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,iEAAiE;IACjE,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,mEAAmE;IACnE,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B,GAAG,OAAO,CAAC,YAAY,CAAC,CA0BxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../../src/slash-commands/project.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAW,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAG9D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AA4BtD,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CA0G3E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prune.d.ts","sourceRoot":"","sources":["../../src/slash-commands/prune.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEtD,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAoFzE"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type SlashCommand } from '@wrongstack/core';
|
|
2
|
+
import type { SlashCommandContext } from './index.js';
|
|
3
|
+
/**
|
|
4
|
+
* `/refiner` — view or change the goal-refiner provider/model.
|
|
5
|
+
*
|
|
6
|
+
* Subcommands:
|
|
7
|
+
* (none) / show — show current refiner config
|
|
8
|
+
* set provider <id> — set the refiner provider
|
|
9
|
+
* set model <id> — set the refiner model
|
|
10
|
+
* clear — clear both (use session defaults)
|
|
11
|
+
*
|
|
12
|
+
* Same config backend as /settings refiner-provider and /settings refiner-model.
|
|
13
|
+
*/
|
|
14
|
+
export declare function buildRefinerCommand(opts: SlashCommandContext): SlashCommand;
|
|
15
|
+
//# sourceMappingURL=refiner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"refiner.d.ts","sourceRoot":"","sources":["../../src/slash-commands/refiner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAIvE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEtD;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAoI3E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"review.d.ts","sourceRoot":"","sources":["../../src/slash-commands/review.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAW,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAuCtD,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CA+F1E"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { AISpecBuilder, AISpecPhase, SpecStore } from '@wrongstack/sdd';
|
|
2
|
+
export declare function getActiveBuilder(): AISpecBuilder | null;
|
|
3
|
+
export declare function getActiveSDDContext(): string | null;
|
|
4
|
+
export declare function getActiveSDDPhase(): AISpecPhase | null;
|
|
5
|
+
export declare function findSpec(store: SpecStore, idOrTitle: string): Promise<import("@wrongstack/core").Specification | null>;
|
|
6
|
+
export declare function gatherProjectContext(projectRoot: string): Promise<string>;
|
|
7
|
+
//# sourceMappingURL=project-context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project-context.d.ts","sourceRoot":"","sources":["../../../src/slash-commands/sdd/project-context.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,WAAW,EAAkB,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAG7F,wBAAgB,gBAAgB,IAAI,aAAa,GAAG,IAAI,CAEvD;AAED,wBAAgB,mBAAmB,IAAI,MAAM,GAAG,IAAI,CAEnD;AAED,wBAAgB,iBAAiB,IAAI,WAAW,GAAG,IAAI,CAEtD;AAED,wBAAsB,QAAQ,CAAC,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,4DAWjE;AAED,wBAAsB,oBAAoB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAyC/E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rendering.d.ts","sourceRoot":"","sources":["../../../src/slash-commands/sdd/rendering.ts"],"names":[],"mappings":"AAAA,wBAAgB,OAAO,IAAI,MAAM,CA8FhC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns true if the text looks like conversational/explanatory output
|
|
3
|
+
* rather than a structured implementation plan.
|
|
4
|
+
*/
|
|
5
|
+
export declare function isExplanatoryText(text: string): boolean;
|
|
6
|
+
/**
|
|
7
|
+
* Parse a spec from AI output text and save it to the active session.
|
|
8
|
+
* Returns true if a spec was found and saved.
|
|
9
|
+
*/
|
|
10
|
+
export declare function trySaveSpecFromAIOutput(aiOutput: string): Promise<boolean>;
|
|
11
|
+
/**
|
|
12
|
+
* Try to save implementation plan from AI output during implementation phase.
|
|
13
|
+
* Returns true if a plan was saved.
|
|
14
|
+
*/
|
|
15
|
+
export declare function trySaveImplementationPlan(aiOutput: string): boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Auto-detect task completion patterns in AI output and mark tasks.
|
|
18
|
+
* Returns the number of tasks marked as completed.
|
|
19
|
+
*/
|
|
20
|
+
export declare function autoDetectTaskCompletion(aiOutput: string): number;
|
|
21
|
+
//# sourceMappingURL=spec-detection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spec-detection.d.ts","sourceRoot":"","sources":["../../../src/slash-commands/sdd/spec-detection.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAkBvD;AAED;;;GAGG;AACH,wBAAsB,uBAAuB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAOhF;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CA4BnE;AAED;;;GAGG;AACH,wBAAgB,wBAAwB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAgFjE"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { type AISpecBuilder, type AISpecPhase, type DefaultTaskStore, SpecVersioning, type TaskTracker } from '@wrongstack/sdd';
|
|
2
|
+
import type { SlashCommandContext } from '../index.js';
|
|
3
|
+
/** Key used to store SDD session state in ctx.meta for session isolation. */
|
|
4
|
+
export declare const SDD_META_KEY = "sdd.state";
|
|
5
|
+
/** Single shared SDD session state for the process lifetime. */
|
|
6
|
+
export declare class SDDState {
|
|
7
|
+
private builder;
|
|
8
|
+
private taskStore;
|
|
9
|
+
private taskTracker;
|
|
10
|
+
private taskGraphId;
|
|
11
|
+
private sessionStartTime;
|
|
12
|
+
private phaseStartTime;
|
|
13
|
+
private versioning;
|
|
14
|
+
getBuilder(): AISpecBuilder | null;
|
|
15
|
+
setBuilder(b: AISpecBuilder | null): void;
|
|
16
|
+
getTaskStore(): DefaultTaskStore | null;
|
|
17
|
+
setTaskStore(s: DefaultTaskStore | null): void;
|
|
18
|
+
getTaskTracker(): TaskTracker | null;
|
|
19
|
+
setTaskTracker(t: TaskTracker | null): void;
|
|
20
|
+
getTaskGraphId(): string | null;
|
|
21
|
+
setTaskGraphId(id: string | null): void;
|
|
22
|
+
getSessionStartTime(): number;
|
|
23
|
+
setSessionStartTime(t: number): void;
|
|
24
|
+
setPhaseStartTime(t: number): void;
|
|
25
|
+
getPhaseStartTime(): number;
|
|
26
|
+
getSessionElapsed(): number;
|
|
27
|
+
getPhaseElapsed(): number;
|
|
28
|
+
getVersioning(): SpecVersioning;
|
|
29
|
+
clearTaskState(): void;
|
|
30
|
+
getContext(): string | null;
|
|
31
|
+
getPhase(): AISpecPhase | null;
|
|
32
|
+
}
|
|
33
|
+
/** Process-lifetime singleton — used when no Context is available (CLI single-session mode). */
|
|
34
|
+
export declare const sddState: SDDState;
|
|
35
|
+
/**
|
|
36
|
+
* Get or create the SDD state for the current session.
|
|
37
|
+
* Uses ctx.meta so each concurrent browser/REPL session has isolated state.
|
|
38
|
+
*/
|
|
39
|
+
export declare function getSessionState(ctx: SlashCommandContext['context']): SDDState;
|
|
40
|
+
//# sourceMappingURL=state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../src/slash-commands/sdd/state.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,cAAc,EACd,KAAK,WAAW,EACjB,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAEvD,6EAA6E;AAC7E,eAAO,MAAM,YAAY,cAAc,CAAC;AAExC,gEAAgE;AAChE,qBAAa,QAAQ;IACnB,OAAO,CAAC,OAAO,CAA8B;IAC7C,OAAO,CAAC,SAAS,CAAiC;IAClD,OAAO,CAAC,WAAW,CAA4B;IAC/C,OAAO,CAAC,WAAW,CAAuB;IAC1C,OAAO,CAAC,gBAAgB,CAAsB;IAC9C,OAAO,CAAC,cAAc,CAAsB;IAC5C,OAAO,CAAC,UAAU,CAA+B;IAEjD,UAAU,IAAI,aAAa,GAAG,IAAI,CAEjC;IACD,UAAU,CAAC,CAAC,EAAE,aAAa,GAAG,IAAI,QAEjC;IACD,YAAY,IAAI,gBAAgB,GAAG,IAAI,CAEtC;IACD,YAAY,CAAC,CAAC,EAAE,gBAAgB,GAAG,IAAI,QAEtC;IACD,cAAc,IAAI,WAAW,GAAG,IAAI,CAEnC;IACD,cAAc,CAAC,CAAC,EAAE,WAAW,GAAG,IAAI,QAEnC;IACD,cAAc,IAAI,MAAM,GAAG,IAAI,CAE9B;IACD,cAAc,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,QAE/B;IACD,mBAAmB,IAAI,MAAM,CAE5B;IACD,mBAAmB,CAAC,CAAC,EAAE,MAAM,QAE5B;IACD,iBAAiB,CAAC,CAAC,EAAE,MAAM,QAE1B;IACD,iBAAiB,IAAI,MAAM,CAE1B;IACD,iBAAiB,IAAI,MAAM,CAE1B;IACD,eAAe,IAAI,MAAM,CAExB;IACD,aAAa,IAAI,cAAc,CAG9B;IAED,cAAc,IAAI,IAAI,CAIrB;IAED,UAAU,IAAI,MAAM,GAAG,IAAI,CAK1B;IAED,QAAQ,IAAI,WAAW,GAAG,IAAI,CAE7B;CACF;AAED,gGAAgG;AAChG,eAAO,MAAM,QAAQ,UAAiB,CAAC;AAEvC;;;GAGG;AACH,wBAAgB,eAAe,CAAC,GAAG,EAAE,mBAAmB,CAAC,SAAS,CAAC,GAAG,QAAQ,CAQ7E"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { type TaskProgress } from '@wrongstack/core';
|
|
2
|
+
import { renderProgress, TaskTracker } from '@wrongstack/sdd';
|
|
3
|
+
export type { TaskProgress };
|
|
4
|
+
export { renderProgress };
|
|
5
|
+
/**
|
|
6
|
+
* Format elapsed milliseconds as a human-readable string.
|
|
7
|
+
*/
|
|
8
|
+
export declare function formatElapsed(ms: number): string;
|
|
9
|
+
export declare function trySaveTasksFromAIOutput(aiOutput: string): Promise<boolean>;
|
|
10
|
+
export declare function getTaskProgress(): TaskProgress | null;
|
|
11
|
+
export declare function getCurrentTask(): {
|
|
12
|
+
id: string;
|
|
13
|
+
title: string;
|
|
14
|
+
description: string;
|
|
15
|
+
priority: string;
|
|
16
|
+
estimateHours: number;
|
|
17
|
+
tags: string[];
|
|
18
|
+
startedAt: number | undefined;
|
|
19
|
+
} | null;
|
|
20
|
+
export declare function advanceToNextTask(): boolean;
|
|
21
|
+
export declare function getTaskListText(): string | null;
|
|
22
|
+
export declare function renderTaskListWithProgress(): string | null;
|
|
23
|
+
export declare function getCurrentExecutingContext(): string | null;
|
|
24
|
+
/**
|
|
25
|
+
* Resolve a `/sdd done|skip|fail|review <N|title>` argument to a single task
|
|
26
|
+
* node. Tries a 1-based index into the given (already filtered/sorted) node
|
|
27
|
+
* list first, then a bidirectional case-insensitive title-substring match.
|
|
28
|
+
* Centralizes the matching the four mutation subcommands used to duplicate.
|
|
29
|
+
*/
|
|
30
|
+
export declare function matchTaskNode<T extends {
|
|
31
|
+
id: string;
|
|
32
|
+
title: string;
|
|
33
|
+
}>(nodes: T[], query: string): T | null;
|
|
34
|
+
export declare function markTaskCompleted(taskTitle: string): boolean;
|
|
35
|
+
export declare function getTaskGraphId(): string | null;
|
|
36
|
+
export declare function getTaskTrackerExport(): TaskTracker | null;
|
|
37
|
+
//# sourceMappingURL=task-manager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"task-manager.d.ts","sourceRoot":"","sources":["../../../src/slash-commands/sdd/task-manager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACpE,OAAO,EAAoB,cAAc,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAGhF,YAAY,EAAE,YAAY,EAAE,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,CAAC;AAE1B;;GAEG;AACH,wBAAgB,aAAa,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,CAUhD;AAkBD,wBAAsB,wBAAwB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAqCjF;AAED,wBAAgB,eAAe,IAAI,YAAY,GAAG,IAAI,CAIrD;AAED,wBAAgB,cAAc,IAAI;IAChC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;CAC/B,GAAG,IAAI,CAeP;AAED,wBAAgB,iBAAiB,IAAI,OAAO,CAW3C;AAED,wBAAgB,eAAe,IAAI,MAAM,GAAG,IAAI,CAW/C;AAED,wBAAgB,0BAA0B,IAAI,MAAM,GAAG,IAAI,CAuD1D;AAED,wBAAgB,0BAA0B,IAAI,MAAM,GAAG,IAAI,CAc1D;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,EACnE,KAAK,EAAE,CAAC,EAAE,EACV,KAAK,EAAE,MAAM,GACZ,CAAC,GAAG,IAAI,CAaV;AAED,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAY5D;AAED,wBAAgB,cAAc,IAAI,MAAM,GAAG,IAAI,CAE9C;AACD,wBAAgB,oBAAoB,IAAI,WAAW,GAAG,IAAI,CAEzD"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type SlashCommand } from '@wrongstack/core';
|
|
2
|
+
import { renderProgress, TaskTracker } from '@wrongstack/sdd';
|
|
3
|
+
import type { SlashCommandContext } from './index.js';
|
|
4
|
+
export type { TaskProgress } from '@wrongstack/core';
|
|
5
|
+
export { findSpec, gatherProjectContext, getActiveBuilder, getActiveSDDContext, getActiveSDDPhase, } from './sdd/project-context.js';
|
|
6
|
+
export { autoDetectTaskCompletion, isExplanatoryText, trySaveImplementationPlan, trySaveSpecFromAIOutput, } from './sdd/spec-detection.js';
|
|
7
|
+
export { getSessionState, SDDState, sddState } from './sdd/state.js';
|
|
8
|
+
export { advanceToNextTask, formatElapsed, getCurrentExecutingContext, getCurrentTask, getTaskGraphId, getTaskListText, getTaskProgress, getTaskTrackerExport, markTaskCompleted, renderTaskListWithProgress, trySaveTasksFromAIOutput, } from './sdd/task-manager.js';
|
|
9
|
+
export { renderProgress };
|
|
10
|
+
export declare function getTaskTracker(): TaskTracker | null;
|
|
11
|
+
/**
|
|
12
|
+
* `/sdd` — AI-driven Specification-Driven Development workflow.
|
|
13
|
+
*/
|
|
14
|
+
export declare function buildSddCommand(opts: SlashCommandContext): SlashCommand;
|
|
15
|
+
//# sourceMappingURL=sdd.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sdd.d.ts","sourceRoot":"","sources":["../../src/slash-commands/sdd.ts"],"names":[],"mappings":"AACA,OAAO,EAAiB,KAAK,YAAY,EAAwB,MAAM,kBAAkB,CAAC;AAC1F,OAAO,EAOL,cAAc,EAQd,WAAW,EAEZ,MAAM,iBAAiB,CAAC;AAEzB,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAUtD,YAAY,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AACrD,OAAO,EACL,QAAQ,EACR,oBAAoB,EACpB,gBAAgB,EAChB,mBAAmB,EACnB,iBAAiB,GAClB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,wBAAwB,EACxB,iBAAiB,EACjB,yBAAyB,EACzB,uBAAuB,GACxB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACrE,OAAO,EACL,iBAAiB,EACjB,aAAa,EACb,0BAA0B,EAC1B,cAAc,EACd,cAAc,EACd,eAAe,EACf,eAAe,EACf,oBAAoB,EACpB,iBAAiB,EACjB,0BAA0B,EAC1B,wBAAwB,GACzB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,CAAC;AAG1B,wBAAgB,cAAc,IAAI,WAAW,GAAG,IAAI,CAEnD;AAID;;GAEG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAgtCvE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"security.d.ts","sourceRoot":"","sources":["../../src/slash-commands/security.ts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAGrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AA0BtD,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAsC5E"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { SlashCommand } from '@wrongstack/core';
|
|
2
|
+
import type { SlashCommandContext } from './index.js';
|
|
3
|
+
export declare function isSafeSessionKillPid(pid: number): boolean;
|
|
4
|
+
export declare function buildSaveCommand(_opts: SlashCommandContext): SlashCommand;
|
|
5
|
+
export declare function buildLoadCommand(opts: SlashCommandContext): SlashCommand;
|
|
6
|
+
export declare function buildExitCommand(opts: SlashCommandContext): SlashCommand;
|
|
7
|
+
//# sourceMappingURL=session.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../../src/slash-commands/session.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAmB,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEtE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAsEtD,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAEzD;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,mBAAmB,GAAG,YAAY,CAgBzE;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CA6NxE;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAoBxE"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { type SlashCommand } from '@wrongstack/core';
|
|
2
|
+
import type { SlashCommandContext } from './index.js';
|
|
3
|
+
/**
|
|
4
|
+
* `/setmodel` — view or change the active leader model and the per-task
|
|
5
|
+
* model matrix. Argument-driven (never blocks on readline) so it behaves
|
|
6
|
+
* identically in the REPL and the TUI. Persists to ~/.wrongstack/config.json.
|
|
7
|
+
*
|
|
8
|
+
* Subcommands:
|
|
9
|
+
* (none) Show leader model, matrix, and a summary of which model each
|
|
10
|
+
* catalog role resolves to.
|
|
11
|
+
* list List keyed providers, their models, and valid matrix keys.
|
|
12
|
+
* leader Set the main (leader / brain) model.
|
|
13
|
+
* set Pin a role, phase, or * to a specific model.
|
|
14
|
+
* clear Remove a matrix entry.
|
|
15
|
+
* resolve Walk the resolution chain for one role and show the result.
|
|
16
|
+
* doctor Validate all matrix entries against available providers and
|
|
17
|
+
* models. Flag orphans, missing providers, and typos.
|
|
18
|
+
*/
|
|
19
|
+
export declare function buildSetModelCommand(opts: SlashCommandContext): SlashCommand;
|
|
20
|
+
//# sourceMappingURL=setmodel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setmodel.d.ts","sourceRoot":"","sources":["../../src/slash-commands/setmodel.ts"],"names":[],"mappings":"AAEA,OAAO,EAqBL,KAAK,YAAY,EAClB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAiItD;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAqf5E"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { SlashCommand } from '@wrongstack/core';
|
|
2
|
+
import type { SlashCommandContext } from './index.js';
|
|
3
|
+
/**
|
|
4
|
+
* `/settings` — view or change persisted settings.
|
|
5
|
+
*
|
|
6
|
+
* Deliberately argument-driven and non-blocking: it never calls `reader.readLine`.
|
|
7
|
+
* A blocking readline menu cannot run under the Ink TUI (Ink owns stdin in raw
|
|
8
|
+
* mode), where it would hang invisibly and the renderer would fight Ink's frame.
|
|
9
|
+
* Returning a single `{ message }` works identically in the plain REPL and the TUI.
|
|
10
|
+
*/
|
|
11
|
+
export declare function buildSettingsCommand(opts: SlashCommandContext): SlashCommand;
|
|
12
|
+
//# sourceMappingURL=settings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../../src/slash-commands/settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAsB,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAMzE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAGtD;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CA85B5E"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* /shadow slash command — Start, manage, and stop the Shadow Agent.
|
|
3
|
+
*
|
|
4
|
+
* Usage:
|
|
5
|
+
* /shadow start [--model=<provider/model>]
|
|
6
|
+
* /shadow stop
|
|
7
|
+
* /shadow status
|
|
8
|
+
* /shadow hoop <agent-id>
|
|
9
|
+
* /shadow model <provider/model>
|
|
10
|
+
* /shadow interval <ms>
|
|
11
|
+
*/
|
|
12
|
+
import type { SlashCommand } from '@wrongstack/core';
|
|
13
|
+
import type { SlashCommandContext } from './index.js';
|
|
14
|
+
/**
|
|
15
|
+
* /shadow — Shadow Agent management
|
|
16
|
+
*
|
|
17
|
+
* The Shadow Agent is a one-shot monitoring agent that:
|
|
18
|
+
* - Runs only on explicit request or after the host observes problematic work
|
|
19
|
+
* - Tracks all fleet agents and their current tasks
|
|
20
|
+
* - Monitors mailbox state and detects loops
|
|
21
|
+
* - Identifies spike tasks (start/stop instantly)
|
|
22
|
+
* - Provides fleet-wide visibility across all terminals
|
|
23
|
+
* - Uses deterministic evaluation first, LLM only for complex decisions
|
|
24
|
+
* - Can intervene via "hoop" command to stop agents and send notifications
|
|
25
|
+
*/
|
|
26
|
+
export declare function buildShadowCommand(opts: SlashCommandContext): SlashCommand;
|
|
27
|
+
export declare const shadowCommand: typeof buildShadowCommand;
|
|
28
|
+
//# sourceMappingURL=shadow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shadow.d.ts","sourceRoot":"","sources":["../../src/slash-commands/shadow.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,KAAK,EAAW,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAE9D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAKtD;;;;;;;;;;;GAWG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CA0O1E;AAgFD,eAAO,MAAM,aAAa,2BAAqB,CAAC"}
|