@wrongstack/cli 0.293.0 → 0.295.1
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 +7 -5
- package/dist/acp-registry-cache.d.ts +1 -1
- package/dist/acp-registry-cache.d.ts.map +1 -1
- package/dist/acp-server-agent.d.ts +2 -1
- package/dist/acp-server-agent.d.ts.map +1 -1
- package/dist/arg-parser.d.ts +1 -1
- package/dist/arg-parser.d.ts.map +1 -1
- package/dist/auth-menu/add-provider.d.ts +1 -1
- package/dist/auth-menu/add-provider.d.ts.map +1 -1
- package/dist/auth-menu/anthropic-oauth.d.ts.map +1 -1
- package/dist/auth-menu/auth-menu-audit.d.ts +1 -1
- package/dist/auth-menu/auth-menu-audit.d.ts.map +1 -1
- package/dist/auth-menu/direct.d.ts +1 -1
- package/dist/auth-menu/direct.d.ts.map +1 -1
- package/dist/auth-menu/github-copilot-oauth.d.ts.map +1 -1
- package/dist/auth-menu/helpers.d.ts +1 -1
- package/dist/auth-menu/helpers.d.ts.map +1 -1
- package/dist/auth-menu/local-presets.d.ts +2 -35
- package/dist/auth-menu/local-presets.d.ts.map +1 -1
- package/dist/auth-menu/local.d.ts +1 -1
- package/dist/auth-menu/local.d.ts.map +1 -1
- package/dist/auth-menu/loopback-server.d.ts +76 -0
- package/dist/auth-menu/loopback-server.d.ts.map +1 -0
- package/dist/auth-menu/openai-codex-oauth.d.ts +7 -22
- package/dist/auth-menu/openai-codex-oauth.d.ts.map +1 -1
- package/dist/auth-menu/panel-service.d.ts +1 -3
- package/dist/auth-menu/panel-service.d.ts.map +1 -1
- package/dist/auth-menu/shared.d.ts +1 -1
- package/dist/auth-menu/shared.d.ts.map +1 -1
- package/dist/auth-menu/types.d.ts +1 -2
- package/dist/auth-menu/types.d.ts.map +1 -1
- package/dist/boot/auto-discover-providers.d.ts +2 -2
- package/dist/boot/auto-discover-providers.d.ts.map +1 -1
- package/dist/boot/container-wiring.d.ts +3 -1
- package/dist/boot/container-wiring.d.ts.map +1 -1
- package/dist/boot/dispatch-singleshot.d.ts +2 -1
- package/dist/boot/dispatch-singleshot.d.ts.map +1 -1
- package/dist/boot/dispatch-tui.d.ts +4 -0
- package/dist/boot/dispatch-tui.d.ts.map +1 -0
- package/dist/boot/dispatch-webui.d.ts +13 -8
- package/dist/boot/dispatch-webui.d.ts.map +1 -1
- package/dist/boot/event-wiring.d.ts +1 -1
- package/dist/boot/event-wiring.d.ts.map +1 -1
- package/dist/boot/execution-mode.d.ts +10 -0
- package/dist/boot/execution-mode.d.ts.map +1 -0
- package/dist/boot/launch-menu.d.ts +1 -1
- package/dist/boot/launch-menu.d.ts.map +1 -1
- package/dist/boot/short-circuit-hq.d.ts.map +1 -1
- package/dist/boot/simpleui-full-auto.d.ts +1 -1
- package/dist/boot/simpleui-full-auto.d.ts.map +1 -1
- package/dist/boot/system-prompt-builder.d.ts +2 -2
- package/dist/boot/system-prompt-builder.d.ts.map +1 -1
- package/dist/boot/system-prompt.d.ts +3 -2
- package/dist/boot/system-prompt.d.ts.map +1 -1
- package/dist/boot/tool-registry.d.ts +7 -10
- package/dist/boot/tool-registry.d.ts.map +1 -1
- package/dist/boot/tui-coordinator-setup.d.ts +4 -2
- package/dist/boot/tui-coordinator-setup.d.ts.map +1 -1
- package/dist/boot/tui-goal-wiring.d.ts +1 -1
- package/dist/boot/tui-goal-wiring.d.ts.map +1 -1
- package/dist/boot/tui-live-sessions.d.ts +2 -2
- package/dist/boot/tui-project-picker-callback.d.ts +1 -1
- package/dist/boot/tui-project-picker-callback.d.ts.map +1 -1
- package/dist/boot/tui-project-switch.d.ts +7 -5
- package/dist/boot/tui-project-switch.d.ts.map +1 -1
- package/dist/boot/tui-runtime-state.d.ts +4 -1
- package/dist/boot/tui-runtime-state.d.ts.map +1 -1
- package/dist/boot/tui-sdd-callback.d.ts +2 -2
- package/dist/boot/tui-session-resume.d.ts +3 -1
- package/dist/boot/tui-session-resume.d.ts.map +1 -1
- package/dist/boot/tui-settings-adapter.d.ts +3 -1
- package/dist/boot/tui-settings-adapter.d.ts.map +1 -1
- package/dist/boot-config.d.ts +3 -1
- package/dist/boot-config.d.ts.map +1 -1
- package/dist/boot.d.ts +3 -1
- package/dist/boot.d.ts.map +1 -1
- package/dist/brain-menu/panel-service.d.ts +1 -1
- package/dist/brain-menu/panel-service.d.ts.map +1 -1
- package/dist/cli-context.d.ts +2 -1
- package/dist/cli-context.d.ts.map +1 -1
- package/dist/cli-entry-point.d.ts +20 -0
- package/dist/cli-entry-point.d.ts.map +1 -1
- package/dist/cli-eternal-flag.d.ts +6 -3
- package/dist/cli-eternal-flag.d.ts.map +1 -1
- package/dist/cli-main.d.ts +0 -9
- package/dist/cli-main.d.ts.map +1 -1
- package/dist/cli-recovery-prompt.d.ts +1 -1
- package/dist/cli-recovery-prompt.d.ts.map +1 -1
- package/dist/config-doctor.d.ts +2 -2
- package/dist/config-doctor.d.ts.map +1 -1
- package/dist/config-history.d.ts +3 -3
- package/dist/config-history.d.ts.map +1 -1
- package/dist/context-limit.d.ts +1 -1
- package/dist/context-limit.d.ts.map +1 -1
- package/dist/context-overflow-diagnostic.d.ts +1 -1
- package/dist/context-overflow-diagnostic.d.ts.map +1 -1
- package/dist/execute-deps.d.ts +23 -12
- package/dist/execute-deps.d.ts.map +1 -1
- package/dist/execution.d.ts +23 -1
- package/dist/execution.d.ts.map +1 -1
- package/dist/first-run-auth-gate.d.ts +5 -3
- package/dist/first-run-auth-gate.d.ts.map +1 -1
- package/dist/fleet/host.d.ts +30 -7
- package/dist/fleet/host.d.ts.map +1 -1
- package/dist/fleet/routing.d.ts +2 -2
- package/dist/fleet/routing.d.ts.map +1 -1
- package/dist/fleet/status-broadcast.d.ts +3 -2
- package/dist/fleet/status-broadcast.d.ts.map +1 -1
- package/dist/fleet/supervisor-registry.d.ts +1 -1
- package/dist/fleet/supervisor-registry.d.ts.map +1 -1
- package/dist/fleet-statusline.d.ts +1 -1
- package/dist/fleet-statusline.d.ts.map +1 -1
- package/dist/goal-host.d.ts +4 -1
- package/dist/goal-host.d.ts.map +1 -1
- package/dist/hooks-wiring.d.ts +3 -1
- package/dist/hooks-wiring.d.ts.map +1 -1
- package/dist/hq-command-controller.d.ts +2 -2
- package/dist/hq-command-controller.d.ts.map +1 -1
- package/dist/hq-publisher.d.ts +2 -1
- package/dist/hq-publisher.d.ts.map +1 -1
- package/dist/hq-recovery-html.d.ts +8 -0
- package/dist/hq-recovery-html.d.ts.map +1 -0
- package/dist/hq-server/audit-actor.d.ts +3 -0
- package/dist/hq-server/audit-actor.d.ts.map +1 -0
- package/dist/hq-server/auth-state.d.ts +10 -0
- package/dist/hq-server/auth-state.d.ts.map +1 -0
- package/dist/hq-server/auth.d.ts +2 -14
- package/dist/hq-server/auth.d.ts.map +1 -1
- package/dist/hq-server/preflight.d.ts +22 -0
- package/dist/hq-server/preflight.d.ts.map +1 -0
- package/dist/hq-server/routes/system-handlers.d.ts +16 -0
- package/dist/hq-server/routes/system-handlers.d.ts.map +1 -0
- package/dist/hq-server/routes.d.ts +8 -17
- package/dist/hq-server/routes.d.ts.map +1 -1
- package/dist/hq-server/snapshot.d.ts +9 -1
- package/dist/hq-server/snapshot.d.ts.map +1 -1
- package/dist/hq-server/trust-boundary.d.ts +15 -0
- package/dist/hq-server/trust-boundary.d.ts.map +1 -0
- package/dist/hq-server/types.d.ts +16 -2
- package/dist/hq-server/types.d.ts.map +1 -1
- package/dist/hq-server/utils.d.ts +1 -1
- package/dist/hq-server/utils.d.ts.map +1 -1
- package/dist/hq-server/ws.d.ts +1 -1
- package/dist/hq-server/ws.d.ts.map +1 -1
- package/dist/hq-server.d.ts +5 -10
- package/dist/hq-server.d.ts.map +1 -1
- package/dist/hq-static-serve.d.ts +4 -4
- package/dist/hq-static-serve.d.ts.map +1 -1
- package/dist/index.js +26158 -32987
- package/dist/index.js.map +4 -4
- package/dist/input-reader.d.ts +1 -1
- package/dist/input-reader.d.ts.map +1 -1
- package/dist/kanban-hq-sync.d.ts +8 -0
- package/dist/kanban-hq-sync.d.ts.map +1 -0
- package/dist/mailbox-bridge-bootstrap.d.ts +20 -0
- package/dist/mailbox-bridge-bootstrap.d.ts.map +1 -1
- package/dist/mcp-serve.d.ts +3 -1
- package/dist/mcp-serve.d.ts.map +1 -1
- package/dist/next-task-predictor.d.ts +2 -2
- package/dist/next-task-predictor.d.ts.map +1 -1
- package/dist/permission-prompt.d.ts +1 -1
- package/dist/permission-prompt.d.ts.map +1 -1
- package/dist/picker.d.ts +1 -1
- package/dist/picker.d.ts.map +1 -1
- package/dist/plugin-api-factory.d.ts +1 -1
- package/dist/plugin-api-factory.d.ts.map +1 -1
- package/dist/plugin-management.d.ts +10 -9
- package/dist/plugin-management.d.ts.map +1 -1
- package/dist/preflight.d.ts +1 -1
- package/dist/preflight.d.ts.map +1 -1
- package/dist/profile-config-path.d.ts +2 -1
- package/dist/profile-config-path.d.ts.map +1 -1
- package/dist/project-picker.d.ts +1 -1
- package/dist/project-picker.d.ts.map +1 -1
- package/dist/provider-config-utils.d.ts +2 -2
- package/dist/provider-config-utils.d.ts.map +1 -1
- package/dist/provider-helpers.d.ts +1 -1
- package/dist/provider-helpers.d.ts.map +1 -1
- package/dist/renderer.d.ts +23 -11
- package/dist/renderer.d.ts.map +1 -1
- package/dist/repl.d.ts +11 -9
- package/dist/repl.d.ts.map +1 -1
- package/dist/services/autonomy-mode.d.ts +3 -0
- package/dist/services/autonomy-mode.d.ts.map +1 -0
- package/dist/services/commit-message.d.ts +41 -0
- package/dist/services/commit-message.d.ts.map +1 -0
- package/dist/services/dispatch-classifier.d.ts +12 -0
- package/dist/services/dispatch-classifier.d.ts.map +1 -0
- package/dist/services/mcp-management.d.ts +24 -0
- package/dist/services/mcp-management.d.ts.map +1 -0
- package/dist/services/project-facts.d.ts.map +1 -1
- package/dist/services/project-manifest.d.ts +53 -0
- package/dist/services/project-manifest.d.ts.map +1 -0
- package/dist/services/sdd/project-context.d.ts.map +1 -0
- package/dist/services/sdd/spec-detection.d.ts.map +1 -0
- package/dist/{slash-commands → services}/sdd/state.d.ts +2 -2
- package/dist/services/sdd/state.d.ts.map +1 -0
- package/dist/{slash-commands → services}/sdd/task-manager.d.ts +1 -1
- package/dist/services/sdd/task-manager.d.ts.map +1 -0
- package/dist/services/sdd-runtime.d.ts +5 -0
- package/dist/services/sdd-runtime.d.ts.map +1 -0
- package/dist/services/statusline-config.d.ts +10 -0
- package/dist/services/statusline-config.d.ts.map +1 -0
- package/dist/services/suggestion-store.d.ts +36 -0
- package/dist/services/suggestion-store.d.ts.map +1 -0
- package/dist/session-event-wiring.d.ts +6 -2
- package/dist/session-event-wiring.d.ts.map +1 -1
- package/dist/session-stats.d.ts +2 -1
- package/dist/session-stats.d.ts.map +1 -1
- package/dist/settings-menu.d.ts +2 -4
- package/dist/settings-menu.d.ts.map +1 -1
- package/dist/simpleui-dist.d.ts +16 -0
- package/dist/simpleui-dist.d.ts.map +1 -1
- package/dist/slash-commands/acp.d.ts +2 -2
- package/dist/slash-commands/acp.d.ts.map +1 -1
- package/dist/slash-commands/agent-improve.d.ts +15 -0
- package/dist/slash-commands/agent-improve.d.ts.map +1 -0
- package/dist/slash-commands/agents.d.ts +2 -16
- package/dist/slash-commands/agents.d.ts.map +1 -1
- package/dist/slash-commands/audit.d.ts +2 -2
- package/dist/slash-commands/audit.d.ts.map +1 -1
- package/dist/slash-commands/auth.d.ts +2 -2
- package/dist/slash-commands/auth.d.ts.map +1 -1
- package/dist/slash-commands/autonomy.d.ts +3 -3
- package/dist/slash-commands/autonomy.d.ts.map +1 -1
- package/dist/slash-commands/brain.d.ts +2 -2
- package/dist/slash-commands/brain.d.ts.map +1 -1
- package/dist/slash-commands/btw.d.ts +2 -2
- package/dist/slash-commands/btw.d.ts.map +1 -1
- package/dist/slash-commands/clear.d.ts +2 -2
- package/dist/slash-commands/clear.d.ts.map +1 -1
- package/dist/slash-commands/codebase-reindex.d.ts +2 -2
- package/dist/slash-commands/codebase-reindex.d.ts.map +1 -1
- package/dist/slash-commands/collab.d.ts +2 -2
- package/dist/slash-commands/collab.d.ts.map +1 -1
- package/dist/slash-commands/command-context.d.ts +604 -0
- package/dist/slash-commands/command-context.d.ts.map +1 -0
- package/dist/slash-commands/commit-llm.d.ts +2 -40
- package/dist/slash-commands/commit-llm.d.ts.map +1 -1
- package/dist/slash-commands/compact.d.ts +2 -2
- package/dist/slash-commands/compact.d.ts.map +1 -1
- package/dist/slash-commands/context.d.ts +2 -2
- package/dist/slash-commands/context.d.ts.map +1 -1
- package/dist/slash-commands/coordinator.d.ts +2 -2
- package/dist/slash-commands/coordinator.d.ts.map +1 -1
- package/dist/slash-commands/delegate.d.ts +2 -2
- package/dist/slash-commands/delegate.d.ts.map +1 -1
- package/dist/slash-commands/design.d.ts +2 -2
- package/dist/slash-commands/design.d.ts.map +1 -1
- package/dist/slash-commands/dev.d.ts +2 -2
- package/dist/slash-commands/dev.d.ts.map +1 -1
- package/dist/slash-commands/diag-stats.d.ts +2 -2
- package/dist/slash-commands/diag-stats.d.ts.map +1 -1
- package/dist/slash-commands/dispatch-llm.d.ts +2 -11
- package/dist/slash-commands/dispatch-llm.d.ts.map +1 -1
- package/dist/slash-commands/doctor.d.ts +2 -2
- package/dist/slash-commands/doctor.d.ts.map +1 -1
- package/dist/slash-commands/enhance.d.ts +2 -2
- package/dist/slash-commands/enhance.d.ts.map +1 -1
- package/dist/slash-commands/ensemble.d.ts +2 -2
- package/dist/slash-commands/ensemble.d.ts.map +1 -1
- package/dist/slash-commands/f-keys.d.ts +2 -2
- package/dist/slash-commands/f-keys.d.ts.map +1 -1
- package/dist/slash-commands/fallback.d.ts +2 -2
- package/dist/slash-commands/fallback.d.ts.map +1 -1
- package/dist/slash-commands/fix.d.ts +2 -2
- package/dist/slash-commands/fix.d.ts.map +1 -1
- package/dist/slash-commands/fleet.d.ts +2 -2
- package/dist/slash-commands/fleet.d.ts.map +1 -1
- package/dist/slash-commands/git.d.ts +2 -2
- package/dist/slash-commands/git.d.ts.map +1 -1
- package/dist/slash-commands/gitid.d.ts +2 -2
- package/dist/slash-commands/gitid.d.ts.map +1 -1
- package/dist/slash-commands/goal-refiner.d.ts +2 -1
- package/dist/slash-commands/goal-refiner.d.ts.map +1 -1
- package/dist/slash-commands/goal.d.ts +2 -2
- package/dist/slash-commands/goal.d.ts.map +1 -1
- package/dist/slash-commands/health.d.ts +2 -2
- package/dist/slash-commands/health.d.ts.map +1 -1
- package/dist/slash-commands/help.d.ts +2 -2
- package/dist/slash-commands/help.d.ts.map +1 -1
- package/dist/slash-commands/helpers.d.ts +1 -1
- package/dist/slash-commands/helpers.d.ts.map +1 -1
- package/dist/slash-commands/hq.d.ts +2 -2
- package/dist/slash-commands/hq.d.ts.map +1 -1
- package/dist/slash-commands/index.d.ts +5 -593
- package/dist/slash-commands/index.d.ts.map +1 -1
- package/dist/slash-commands/init.d.ts +2 -2
- package/dist/slash-commands/init.d.ts.map +1 -1
- package/dist/slash-commands/interrupt.d.ts +2 -2
- package/dist/slash-commands/interrupt.d.ts.map +1 -1
- package/dist/slash-commands/kanban.d.ts +2 -2
- package/dist/slash-commands/kanban.d.ts.map +1 -1
- package/dist/slash-commands/mailbox-demo.d.ts +2 -2
- package/dist/slash-commands/mailbox-demo.d.ts.map +1 -1
- package/dist/slash-commands/mailbox-serve.d.ts +2 -2
- package/dist/slash-commands/mailbox-serve.d.ts.map +1 -1
- package/dist/slash-commands/mailbox.d.ts +4 -4
- package/dist/slash-commands/mailbox.d.ts.map +1 -1
- package/dist/slash-commands/mcp-utils.d.ts +2 -23
- package/dist/slash-commands/mcp-utils.d.ts.map +1 -1
- package/dist/slash-commands/mcp.d.ts +4 -4
- package/dist/slash-commands/mcp.d.ts.map +1 -1
- package/dist/slash-commands/memory.d.ts +2 -2
- package/dist/slash-commands/memory.d.ts.map +1 -1
- package/dist/slash-commands/metrics.d.ts +2 -2
- package/dist/slash-commands/metrics.d.ts.map +1 -1
- package/dist/slash-commands/mode.d.ts +2 -2
- package/dist/slash-commands/mode.d.ts.map +1 -1
- package/dist/slash-commands/modelcaps.d.ts +2 -2
- package/dist/slash-commands/modelcaps.d.ts.map +1 -1
- package/dist/slash-commands/models.d.ts +2 -2
- package/dist/slash-commands/models.d.ts.map +1 -1
- package/dist/slash-commands/mouse.d.ts +2 -2
- package/dist/slash-commands/mouse.d.ts.map +1 -1
- package/dist/slash-commands/next.d.ts +2 -2
- package/dist/slash-commands/next.d.ts.map +1 -1
- package/dist/slash-commands/plan.d.ts +2 -2
- package/dist/slash-commands/plan.d.ts.map +1 -1
- package/dist/slash-commands/plugin.d.ts +2 -2
- package/dist/slash-commands/plugin.d.ts.map +1 -1
- package/dist/slash-commands/profile.d.ts +2 -2
- package/dist/slash-commands/profile.d.ts.map +1 -1
- package/dist/slash-commands/project-utils.d.ts +2 -50
- package/dist/slash-commands/project-utils.d.ts.map +1 -1
- package/dist/slash-commands/project.d.ts +2 -2
- package/dist/slash-commands/project.d.ts.map +1 -1
- package/dist/slash-commands/provider-status.d.ts +1 -1
- package/dist/slash-commands/provider-status.d.ts.map +1 -1
- package/dist/slash-commands/prune.d.ts +2 -2
- package/dist/slash-commands/prune.d.ts.map +1 -1
- package/dist/slash-commands/refiner.d.ts +2 -2
- package/dist/slash-commands/refiner.d.ts.map +1 -1
- package/dist/slash-commands/review.d.ts +2 -2
- package/dist/slash-commands/review.d.ts.map +1 -1
- package/dist/slash-commands/sdd.d.ts +7 -7
- package/dist/slash-commands/sdd.d.ts.map +1 -1
- package/dist/slash-commands/security.d.ts +11 -2
- package/dist/slash-commands/security.d.ts.map +1 -1
- package/dist/slash-commands/session.d.ts +2 -2
- package/dist/slash-commands/session.d.ts.map +1 -1
- package/dist/slash-commands/setmodel.d.ts +2 -2
- package/dist/slash-commands/setmodel.d.ts.map +1 -1
- package/dist/slash-commands/settings.d.ts +2 -2
- package/dist/slash-commands/settings.d.ts.map +1 -1
- package/dist/slash-commands/shadow.d.ts +2 -13
- package/dist/slash-commands/shadow.d.ts.map +1 -1
- package/dist/slash-commands/spawn-agents.d.ts +2 -2
- package/dist/slash-commands/spawn-agents.d.ts.map +1 -1
- package/dist/slash-commands/statusline.d.ts +3 -45
- package/dist/slash-commands/statusline.d.ts.map +1 -1
- package/dist/slash-commands/suggest.d.ts +2 -2
- package/dist/slash-commands/suggest.d.ts.map +1 -1
- package/dist/slash-commands/suggestion-store.d.ts +2 -35
- package/dist/slash-commands/suggestion-store.d.ts.map +1 -1
- package/dist/slash-commands/supervisor.d.ts +2 -2
- package/dist/slash-commands/supervisor.d.ts.map +1 -1
- package/dist/slash-commands/surfaces.d.ts +1 -1
- package/dist/slash-commands/surfaces.d.ts.map +1 -1
- package/dist/slash-commands/tasks.d.ts +2 -2
- package/dist/slash-commands/tasks.d.ts.map +1 -1
- package/dist/slash-commands/techstack.d.ts +2 -2
- package/dist/slash-commands/techstack.d.ts.map +1 -1
- package/dist/slash-commands/telegram-settings.d.ts +2 -2
- package/dist/slash-commands/telegram-settings.d.ts.map +1 -1
- package/dist/slash-commands/telegram-setup.d.ts +2 -2
- package/dist/slash-commands/telegram-setup.d.ts.map +1 -1
- package/dist/slash-commands/todos.d.ts +2 -2
- package/dist/slash-commands/todos.d.ts.map +1 -1
- package/dist/slash-commands/tool.d.ts +2 -2
- package/dist/slash-commands/tool.d.ts.map +1 -1
- package/dist/slash-commands/tools.d.ts +2 -2
- package/dist/slash-commands/tools.d.ts.map +1 -1
- package/dist/slash-commands/tuneup.d.ts +2 -2
- package/dist/slash-commands/tuneup.d.ts.map +1 -1
- package/dist/slash-commands/working-dir.d.ts +2 -2
- package/dist/slash-commands/working-dir.d.ts.map +1 -1
- package/dist/slash-commands/worktree.d.ts +2 -2
- package/dist/slash-commands/worktree.d.ts.map +1 -1
- package/dist/slash-commands/yolo.d.ts +2 -2
- package/dist/slash-commands/yolo.d.ts.map +1 -1
- package/dist/subcommands/contracts.d.ts +23 -0
- package/dist/subcommands/contracts.d.ts.map +1 -0
- package/dist/subcommands/handlers/audit.d.ts.map +1 -1
- package/dist/subcommands/handlers/auth.d.ts.map +1 -1
- package/dist/subcommands/handlers/chronicle.d.ts.map +1 -1
- package/dist/subcommands/handlers/export.d.ts.map +1 -1
- package/dist/subcommands/handlers/hq.d.ts +1 -11
- package/dist/subcommands/handlers/hq.d.ts.map +1 -1
- package/dist/subcommands/handlers/mailbox-serve.d.ts.map +1 -1
- package/dist/subcommands/handlers/modeldiag.d.ts.map +1 -1
- package/dist/subcommands/handlers/per-subcommand-help.d.ts.map +1 -1
- package/dist/subcommands/handlers/permissions.d.ts +1 -1
- package/dist/subcommands/handlers/permissions.d.ts.map +1 -1
- package/dist/subcommands/handlers/project.d.ts +3 -0
- package/dist/subcommands/handlers/project.d.ts.map +1 -0
- package/dist/subcommands/handlers/providers-models.d.ts.map +1 -1
- package/dist/subcommands/handlers/replay.d.ts.map +1 -1
- package/dist/subcommands/handlers/rewind.d.ts.map +1 -1
- package/dist/subcommands/handlers/version-help.d.ts.map +1 -1
- package/dist/subcommands/index.d.ts +2 -24
- package/dist/subcommands/index.d.ts.map +1 -1
- package/dist/tuneup.d.ts +1 -1
- package/dist/tuneup.d.ts.map +1 -1
- package/dist/update-check.d.ts.map +1 -1
- package/dist/webui-server/client-registration.d.ts +2 -21
- package/dist/webui-server/client-registration.d.ts.map +1 -1
- package/dist/webui-server/connection-handler.d.ts +4 -27
- package/dist/webui-server/connection-handler.d.ts.map +1 -1
- package/dist/webui-server/context-breakdown.d.ts +1 -56
- package/dist/webui-server/context-breakdown.d.ts.map +1 -1
- package/dist/webui-server/contracts.d.ts +15 -0
- package/dist/webui-server/contracts.d.ts.map +1 -0
- package/dist/webui-server/cost-helpers.d.ts +1 -28
- package/dist/webui-server/cost-helpers.d.ts.map +1 -1
- package/dist/webui-server/kanban-host-adapter.d.ts +25 -0
- package/dist/webui-server/kanban-host-adapter.d.ts.map +1 -0
- package/dist/webui-server/kanban-run-mirror.d.ts +1 -76
- package/dist/webui-server/kanban-run-mirror.d.ts.map +1 -1
- package/dist/webui-server/kanban-supervisor.d.ts +1 -47
- package/dist/webui-server/kanban-supervisor.d.ts.map +1 -1
- package/dist/webui-server/lifecycle.d.ts +2 -111
- package/dist/webui-server/lifecycle.d.ts.map +1 -1
- package/dist/webui-server/logger-shim.d.ts +1 -1
- package/dist/webui-server/logger-shim.d.ts.map +1 -1
- package/dist/webui-server/prefs-seeding.d.ts +6 -42
- package/dist/webui-server/prefs-seeding.d.ts.map +1 -1
- package/dist/webui-server/privileged-actions.d.ts +14 -0
- package/dist/webui-server/privileged-actions.d.ts.map +1 -0
- package/dist/webui-server/session-start-payload.d.ts +2 -1
- package/dist/webui-server/session-start-payload.d.ts.map +1 -1
- package/dist/webui-server/setup-events.d.ts +8 -18
- package/dist/webui-server/setup-events.d.ts.map +1 -1
- package/dist/webui-server/static-serve.d.ts +1 -85
- package/dist/webui-server/static-serve.d.ts.map +1 -1
- package/dist/webui-server/stream-coalescer.d.ts +1 -48
- package/dist/webui-server/stream-coalescer.d.ts.map +1 -1
- package/dist/webui-server/terminal-log-view.d.ts +30 -0
- package/dist/webui-server/terminal-log-view.d.ts.map +1 -0
- package/dist/webui-server.d.ts +20 -17
- package/dist/webui-server.d.ts.map +1 -1
- package/dist/wiring/brain-and-orchestration.d.ts +5 -1
- package/dist/wiring/brain-and-orchestration.d.ts.map +1 -1
- package/dist/wiring/codebase-index.d.ts +2 -1
- package/dist/wiring/codebase-index.d.ts.map +1 -1
- package/dist/wiring/command-host-adapters.d.ts +16 -0
- package/dist/wiring/command-host-adapters.d.ts.map +1 -0
- package/dist/wiring/command-host-state.d.ts +86 -0
- package/dist/wiring/command-host-state.d.ts.map +1 -0
- package/dist/wiring/controllers.d.ts +4 -3
- package/dist/wiring/controllers.d.ts.map +1 -1
- package/dist/wiring/dep-watcher.d.ts +2 -2
- package/dist/wiring/dep-watcher.d.ts.map +1 -1
- package/dist/wiring/design-studio.d.ts +1 -1
- package/dist/wiring/design-studio.d.ts.map +1 -1
- package/dist/wiring/director-setup.d.ts +9 -6
- package/dist/wiring/director-setup.d.ts.map +1 -1
- package/dist/wiring/eternal-command-handlers.d.ts +37 -0
- package/dist/wiring/eternal-command-handlers.d.ts.map +1 -0
- package/dist/wiring/fleet-command-handlers.d.ts +16 -0
- package/dist/wiring/fleet-command-handlers.d.ts.map +1 -0
- package/dist/wiring/hq-telemetry.d.ts +4 -1
- package/dist/wiring/hq-telemetry.d.ts.map +1 -1
- package/dist/wiring/lifecycle-plugins.d.ts +9 -1
- package/dist/wiring/lifecycle-plugins.d.ts.map +1 -1
- package/dist/wiring/mailbox-bridge-bootstrap.d.ts +1 -1
- package/dist/wiring/mailbox-bridge-bootstrap.d.ts.map +1 -1
- package/dist/wiring/metrics.d.ts +4 -1
- package/dist/wiring/metrics.d.ts.map +1 -1
- package/dist/wiring/pipeline.d.ts +18 -13
- package/dist/wiring/pipeline.d.ts.map +1 -1
- package/dist/wiring/plugins.d.ts +16 -8
- package/dist/wiring/plugins.d.ts.map +1 -1
- package/dist/wiring/provider-runtime-setup.d.ts +6 -1
- package/dist/wiring/provider-runtime-setup.d.ts.map +1 -1
- package/dist/wiring/provider-runtime.d.ts +2 -2
- package/dist/wiring/provider-runtime.d.ts.map +1 -1
- package/dist/wiring/provider-status.d.ts +16 -0
- package/dist/wiring/provider-status.d.ts.map +1 -0
- package/dist/wiring/provider-utility-tools.d.ts +25 -0
- package/dist/wiring/provider-utility-tools.d.ts.map +1 -0
- package/dist/wiring/provider.d.ts +3 -2
- package/dist/wiring/provider.d.ts.map +1 -1
- package/dist/wiring/replay.d.ts +4 -1
- package/dist/wiring/replay.d.ts.map +1 -1
- package/dist/wiring/runtime-controller-deps.d.ts +41 -0
- package/dist/wiring/runtime-controller-deps.d.ts.map +1 -0
- package/dist/wiring/runtime-dispatch-state.d.ts +35 -0
- package/dist/wiring/runtime-dispatch-state.d.ts.map +1 -0
- package/dist/wiring/runtime-lifecycle-deps.d.ts +39 -0
- package/dist/wiring/runtime-lifecycle-deps.d.ts.map +1 -0
- package/dist/wiring/runtime-picker-deps.d.ts +22 -0
- package/dist/wiring/runtime-picker-deps.d.ts.map +1 -0
- package/dist/wiring/sage.d.ts +19 -0
- package/dist/wiring/sage.d.ts.map +1 -0
- package/dist/wiring/sdd-handlers.d.ts.map +1 -1
- package/dist/wiring/security-command.d.ts +11 -0
- package/dist/wiring/security-command.d.ts.map +1 -0
- package/dist/wiring/session-command-handlers.d.ts +55 -0
- package/dist/wiring/session-command-handlers.d.ts.map +1 -0
- package/dist/wiring/session.d.ts +13 -9
- package/dist/wiring/session.d.ts.map +1 -1
- package/dist/wiring/slash-commands.d.ts +14 -5
- package/dist/wiring/slash-commands.d.ts.map +1 -1
- package/dist/wiring/tools.d.ts +9 -20
- package/dist/wiring/tools.d.ts.map +1 -1
- package/package.json +23 -22
- package/dist/hq-dashboard-html.d.ts +0 -2
- package/dist/hq-dashboard-html.d.ts.map +0 -1
- package/dist/slash-commands/sdd/project-context.d.ts.map +0 -1
- package/dist/slash-commands/sdd/spec-detection.d.ts.map +0 -1
- package/dist/slash-commands/sdd/state.d.ts.map +0 -1
- package/dist/slash-commands/sdd/task-manager.d.ts.map +0 -1
- package/dist/webui-server/message-router.d.ts +0 -63
- package/dist/webui-server/message-router.d.ts.map +0 -1
- package/dist/webui-server/session-status-poll.d.ts +0 -16
- package/dist/webui-server/session-status-poll.d.ts.map +0 -1
- package/dist/webui-server/ws-handlers/agent-config.d.ts +0 -76
- package/dist/webui-server/ws-handlers/agent-config.d.ts.map +0 -1
- package/dist/webui-server/ws-handlers/brain.d.ts +0 -43
- package/dist/webui-server/ws-handlers/brain.d.ts.map +0 -1
- package/dist/webui-server/ws-handlers/connection.d.ts +0 -58
- package/dist/webui-server/ws-handlers/connection.d.ts.map +0 -1
- package/dist/webui-server/ws-handlers/context.d.ts +0 -55
- package/dist/webui-server/ws-handlers/context.d.ts.map +0 -1
- package/dist/webui-server/ws-handlers/index.d.ts +0 -60
- package/dist/webui-server/ws-handlers/index.d.ts.map +0 -1
- package/dist/webui-server/ws-handlers/introspection.d.ts +0 -35
- package/dist/webui-server/ws-handlers/introspection.d.ts.map +0 -1
- package/dist/webui-server/ws-handlers/kanban.d.ts +0 -66
- package/dist/webui-server/ws-handlers/kanban.d.ts.map +0 -1
- package/dist/webui-server/ws-handlers/mailbox.d.ts +0 -60
- package/dist/webui-server/ws-handlers/mailbox.d.ts.map +0 -1
- package/dist/webui-server/ws-handlers/oauth.d.ts +0 -16
- package/dist/webui-server/ws-handlers/oauth.d.ts.map +0 -1
- package/dist/webui-server/ws-handlers/prefs.d.ts +0 -34
- package/dist/webui-server/ws-handlers/prefs.d.ts.map +0 -1
- package/dist/webui-server/ws-handlers/process.d.ts +0 -6
- package/dist/webui-server/ws-handlers/process.d.ts.map +0 -1
- package/dist/webui-server/ws-handlers/projects.d.ts +0 -44
- package/dist/webui-server/ws-handlers/projects.d.ts.map +0 -1
- package/dist/webui-server/ws-handlers/providers.d.ts +0 -46
- package/dist/webui-server/ws-handlers/providers.d.ts.map +0 -1
- package/dist/webui-server/ws-handlers/sessions.d.ts +0 -38
- package/dist/webui-server/ws-handlers/sessions.d.ts.map +0 -1
- package/dist/webui-server/ws-handlers/worklist.d.ts +0 -49
- package/dist/webui-server/ws-handlers/worklist.d.ts.map +0 -1
- package/dist/wiring/super-memory.d.ts +0 -11
- package/dist/wiring/super-memory.d.ts.map +0 -1
- /package/dist/{slash-commands → services}/sdd/project-context.d.ts +0 -0
- /package/dist/{slash-commands → services}/sdd/spec-detection.d.ts +0 -0
|
@@ -1,48 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
state?: boolean | undefined;
|
|
5
|
-
model?: boolean | undefined;
|
|
6
|
-
todos?: boolean | undefined;
|
|
7
|
-
plan?: boolean | undefined;
|
|
8
|
-
tasks?: boolean | undefined;
|
|
9
|
-
fleet?: boolean | undefined;
|
|
10
|
-
fleet_agents?: boolean | undefined;
|
|
11
|
-
git?: boolean | undefined;
|
|
12
|
-
elapsed?: boolean | undefined;
|
|
13
|
-
context?: boolean | undefined;
|
|
14
|
-
tokens?: boolean | undefined;
|
|
15
|
-
cache?: boolean | undefined;
|
|
16
|
-
cost?: boolean | undefined;
|
|
17
|
-
queue?: boolean | undefined;
|
|
18
|
-
processes?: boolean | undefined;
|
|
19
|
-
hint?: boolean | undefined;
|
|
20
|
-
index?: boolean | undefined;
|
|
21
|
-
super_memory?: boolean | undefined;
|
|
22
|
-
breaker?: boolean | undefined;
|
|
23
|
-
working_dir?: boolean | undefined;
|
|
24
|
-
project?: boolean | undefined;
|
|
25
|
-
yolo?: boolean | undefined;
|
|
26
|
-
autonomy?: boolean | undefined;
|
|
27
|
-
eternal_stage?: boolean | undefined;
|
|
28
|
-
goal?: boolean | undefined;
|
|
29
|
-
mode?: boolean | undefined;
|
|
30
|
-
auto_proceed?: boolean | undefined;
|
|
31
|
-
sessions?: boolean | undefined;
|
|
32
|
-
tools?: boolean | undefined;
|
|
33
|
-
token_saving?: boolean | undefined;
|
|
34
|
-
brain?: boolean | undefined;
|
|
35
|
-
mailbox?: boolean | undefined;
|
|
36
|
-
enhance?: boolean | undefined;
|
|
37
|
-
debug_stream?: boolean | undefined;
|
|
38
|
-
next_steps?: boolean | undefined;
|
|
39
|
-
}
|
|
40
|
-
export declare const DEFAULTS: StatuslineConfig;
|
|
41
|
-
export type StatuslineConfigKey = keyof StatuslineConfig;
|
|
42
|
-
export declare const STATUSLINE_CONFIG_KEYS: StatuslineConfigKey[];
|
|
43
|
-
export declare function loadStatuslineConfig(): Promise<StatuslineConfig>;
|
|
44
|
-
export declare function ensureStatuslineConfig(): Promise<StatuslineConfig>;
|
|
45
|
-
export declare function saveStatuslineConfig(cfg: StatuslineConfig): Promise<void>;
|
|
1
|
+
import type { SlashCommand } from '@wrongstack/core/types';
|
|
2
|
+
import { type StatuslineConfig, type StatuslineConfigKey } from '../services/statusline-config.js';
|
|
3
|
+
export { DEFAULTS, ensureStatuslineConfig, loadStatuslineConfig, STATUSLINE_CONFIG_KEYS, type StatuslineConfig, type StatuslineConfigKey, saveStatuslineConfig, } from '../services/statusline-config.js';
|
|
46
4
|
export interface StatuslineCommandDeps {
|
|
47
5
|
cwd: string;
|
|
48
6
|
/** Current hidden items list. Written by the command when toggling. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"statusline.d.ts","sourceRoot":"","sources":["../../src/slash-commands/statusline.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"statusline.d.ts","sourceRoot":"","sources":["../../src/slash-commands/statusline.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAGL,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACzB,MAAM,kCAAkC,CAAC;AAE1C,OAAO,EACL,QAAQ,EACR,sBAAsB,EACtB,oBAAoB,EACpB,sBAAsB,EACtB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,oBAAoB,GACrB,MAAM,kCAAkC,CAAC;AAE1C,MAAM,WAAW,qBAAqB;IACpC,GAAG,EAAE,MAAM,CAAC;IACZ,uEAAuE;IACvE,WAAW,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;IACxC,cAAc,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,mBAAmB,CAAC,KAAK,IAAI,CAAC;IAC5D,SAAS,EAAE,MAAM,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAC3C,SAAS,EAAE,CAAC,GAAG,EAAE,gBAAgB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpD;;;OAGG;IACH,yBAAyB,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,mBAAmB,CAAC,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACjF;;;;OAIG;IACH,WAAW,CAAC,EAAE;QAAE,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,GAAG,IAAI,CAAA;KAAE,GAAG,SAAS,CAAC;CAC7E;AA6CD,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,qBAAqB,GAAG,YAAY,CA6GhF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SlashCommand } from '@wrongstack/core';
|
|
2
|
-
import type { SlashCommandContext } from './
|
|
1
|
+
import type { SlashCommand } from '@wrongstack/core/types';
|
|
2
|
+
import type { SlashCommandContext } from './command-context.js';
|
|
3
3
|
export declare function buildSuggestCommand(opts: SlashCommandContext): SlashCommand;
|
|
4
4
|
//# sourceMappingURL=suggest.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"suggest.d.ts","sourceRoot":"","sources":["../../src/slash-commands/suggest.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"suggest.d.ts","sourceRoot":"","sources":["../../src/slash-commands/suggest.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAG3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AA+EhE,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CA6F3E"}
|
|
@@ -1,36 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
* Previously, suggestions were stored in a closure variable (`currentSuggestions`)
|
|
5
|
-
* inside cli-main.ts, accessed via the `onSuggestions` callback on
|
|
6
|
-
* `SlashCommandContext`. This closure-based approach works correctly in the REPL
|
|
7
|
-
* but can fail in the TUI when the callback goes through multiple indirections
|
|
8
|
-
* (SlashCommandRegistry → SlashCommand.run → closed-over opts).
|
|
9
|
-
*
|
|
10
|
-
* By using a module-level store, both /suggest (writer) and /next (reader)
|
|
11
|
-
* access the same array directly, bypassing the callback indirection entirely.
|
|
12
|
-
* The CLI's `onSuggestions` callback now reads/writes this shared store to
|
|
13
|
-
* maintain backward compatibility with the REPL autonomy loop's
|
|
14
|
-
* `getSuggestions`/`onSuggestionsParsed` flow.
|
|
15
|
-
*
|
|
16
|
-
* Auto suggestions (items with auto="true" attribute) are stored separately
|
|
17
|
-
* for YOLO+auto autonomy mode.
|
|
18
|
-
*/
|
|
19
|
-
/** Store suggestions (called by /suggest and onSuggestionsParsed). */
|
|
20
|
-
export declare function setSuggestions(suggestions: string[]): void;
|
|
21
|
-
/** Store auto suggestions (items with auto="true" attribute). Called by onAutoSuggestionsParsed. */
|
|
22
|
-
export declare function setAutoSuggestions(suggestions: string[]): void;
|
|
23
|
-
/** Retrieve current suggestions (called by /next selection and getSuggestions). */
|
|
24
|
-
export declare function getSuggestions(): string[];
|
|
25
|
-
/** Retrieve current auto suggestions (called by YOLO+auto autonomy). */
|
|
26
|
-
export declare function getAutoSuggestions(): string[];
|
|
27
|
-
/**
|
|
28
|
-
* Remove suggestions at the given 0-based indices.
|
|
29
|
-
* Called by /next selection so selected prompts cannot be re-selected.
|
|
30
|
-
* Also clears auto-suggestions since an explicit user selection should
|
|
31
|
-
* override any auto-submit queue.
|
|
32
|
-
*/
|
|
33
|
-
export declare function removeSuggestions(indices: number[]): void;
|
|
34
|
-
/** Clear suggestions (called by /next clear). */
|
|
35
|
-
export declare function clearSuggestions(): void;
|
|
1
|
+
/** @deprecated Import shared state from services/suggestion-store instead. */
|
|
2
|
+
export * from '../services/suggestion-store.js';
|
|
36
3
|
//# sourceMappingURL=suggestion-store.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"suggestion-store.d.ts","sourceRoot":"","sources":["../../src/slash-commands/suggestion-store.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"suggestion-store.d.ts","sourceRoot":"","sources":["../../src/slash-commands/suggestion-store.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,cAAc,iCAAiC,CAAC"}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* /supervisor on|off arm / disarm the evaluation loop for this session
|
|
13
13
|
* /supervisor log [n] show the last n signal→decision→action entries
|
|
14
14
|
*/
|
|
15
|
-
import type { SlashCommand } from '@wrongstack/core';
|
|
16
|
-
import type { SlashCommandContext } from './
|
|
15
|
+
import type { SlashCommand } from '@wrongstack/core/types';
|
|
16
|
+
import type { SlashCommandContext } from './command-context.js';
|
|
17
17
|
export declare function buildSupervisorCommand(opts: SlashCommandContext): SlashCommand;
|
|
18
18
|
//# sourceMappingURL=supervisor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"supervisor.d.ts","sourceRoot":"","sources":["../../src/slash-commands/supervisor.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"supervisor.d.ts","sourceRoot":"","sources":["../../src/slash-commands/supervisor.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAG3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAahE,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAmF9E"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SlashCommand } from '@wrongstack/core';
|
|
1
|
+
import type { SlashCommand } from '@wrongstack/core/types';
|
|
2
2
|
export declare function buildDesktopCommand(): SlashCommand;
|
|
3
3
|
export declare function buildWebuiCommand(): SlashCommand;
|
|
4
4
|
//# sourceMappingURL=surfaces.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"surfaces.d.ts","sourceRoot":"","sources":["../../src/slash-commands/surfaces.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"surfaces.d.ts","sourceRoot":"","sources":["../../src/slash-commands/surfaces.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AA0B3D,wBAAgB,mBAAmB,IAAI,YAAY,CAelD;AAED,wBAAgB,iBAAiB,IAAI,YAAY,CAiBhD"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SlashCommand } from '@wrongstack/core';
|
|
2
|
-
import type { SlashCommandContext } from './
|
|
1
|
+
import type { SlashCommand } from '@wrongstack/core/types';
|
|
2
|
+
import type { SlashCommandContext } from './command-context.js';
|
|
3
3
|
export declare function buildTasksCommand(_opts: SlashCommandContext): SlashCommand;
|
|
4
4
|
//# sourceMappingURL=tasks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../src/slash-commands/tasks.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../src/slash-commands/tasks.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAQ3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AA6ChE,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,mBAAmB,GAAG,YAAY,CA6U1E"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SlashCommand } from '@wrongstack/core';
|
|
2
|
-
import type { SlashCommandContext } from './
|
|
1
|
+
import type { SlashCommand } from '@wrongstack/core/types';
|
|
2
|
+
import type { SlashCommandContext } from './command-context.js';
|
|
3
3
|
export declare function buildTechStackCommand(opts: SlashCommandContext): SlashCommand;
|
|
4
4
|
//# sourceMappingURL=techstack.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"techstack.d.ts","sourceRoot":"","sources":["../../src/slash-commands/techstack.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"techstack.d.ts","sourceRoot":"","sources":["../../src/slash-commands/techstack.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAG3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAuKhE,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CA4L7E"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SlashCommand } from '@wrongstack/core';
|
|
2
|
-
import type { SlashCommandContext } from './
|
|
1
|
+
import type { SlashCommand } from '@wrongstack/core/types';
|
|
2
|
+
import type { SlashCommandContext } from './command-context.js';
|
|
3
3
|
export declare function buildTelegramSettingsCommand(opts: SlashCommandContext): SlashCommand;
|
|
4
4
|
//# sourceMappingURL=telegram-settings.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"telegram-settings.d.ts","sourceRoot":"","sources":["../../src/slash-commands/telegram-settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"telegram-settings.d.ts","sourceRoot":"","sources":["../../src/slash-commands/telegram-settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAM3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AA6BhE,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAuNpF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { SlashCommand } from '@wrongstack/core';
|
|
2
|
-
import type { SlashCommandContext } from './
|
|
1
|
+
import type { SlashCommand } from '@wrongstack/core/types';
|
|
2
|
+
import type { SlashCommandContext } from './command-context.js';
|
|
3
3
|
export type TelegramChatIdClassification = {
|
|
4
4
|
kind: 'private';
|
|
5
5
|
chatId: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"telegram-setup.d.ts","sourceRoot":"","sources":["../../src/slash-commands/telegram-setup.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"telegram-setup.d.ts","sourceRoot":"","sources":["../../src/slash-commands/telegram-setup.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAI3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AA+BhE,MAAM,MAAM,4BAA4B,GACpC;IAAE,IAAI,EAAE,SAAS,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GACnC;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAAE,GACjC;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE,CAAC;AAExB,wFAAwF;AACxF,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,4BAA4B,CAMlF;AAED;;;GAGG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAqOjF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SlashCommand } from '@wrongstack/core';
|
|
2
|
-
import type { SlashCommandContext } from './
|
|
1
|
+
import type { SlashCommand } from '@wrongstack/core/types';
|
|
2
|
+
import type { SlashCommandContext } from './command-context.js';
|
|
3
3
|
export declare function buildTodosCommand(opts: SlashCommandContext): SlashCommand;
|
|
4
4
|
//# sourceMappingURL=todos.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"todos.d.ts","sourceRoot":"","sources":["../../src/slash-commands/todos.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"todos.d.ts","sourceRoot":"","sources":["../../src/slash-commands/todos.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAI3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AA0BhE,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CA8EzE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import type { SlashCommandContext } from './
|
|
1
|
+
import type { SlashCommand } from '@wrongstack/core/types';
|
|
2
|
+
import type { SlashCommandContext } from './command-context.js';
|
|
3
3
|
export declare function buildToolCommand(opts: SlashCommandContext): SlashCommand;
|
|
4
4
|
//# sourceMappingURL=tool.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool.d.ts","sourceRoot":"","sources":["../../src/slash-commands/tool.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tool.d.ts","sourceRoot":"","sources":["../../src/slash-commands/tool.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAA0D,MAAM,wBAAwB,CAAC;AAGnH,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAoBhE,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAsdxE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SlashCommand } from '@wrongstack/core';
|
|
2
|
-
import type { SlashCommandContext } from './
|
|
1
|
+
import type { SlashCommand } from '@wrongstack/core/types';
|
|
2
|
+
import type { SlashCommandContext } from './command-context.js';
|
|
3
3
|
export declare function buildToolsCommand(opts: SlashCommandContext): SlashCommand;
|
|
4
4
|
//# sourceMappingURL=tools.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../src/slash-commands/tools.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"tools.d.ts","sourceRoot":"","sources":["../../src/slash-commands/tools.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAE3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAYhE,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CA+DzE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { SlashCommand } from '@wrongstack/core';
|
|
2
|
-
import type { SlashCommandContext } from './
|
|
1
|
+
import type { SlashCommand } from '@wrongstack/core/types';
|
|
2
|
+
import type { SlashCommandContext } from './command-context.js';
|
|
3
3
|
/**
|
|
4
4
|
* `/tuneup` (alias `/checkup`) — broad session health, context-cost, and
|
|
5
5
|
* performance checkup.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tuneup.d.ts","sourceRoot":"","sources":["../../src/slash-commands/tuneup.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"tuneup.d.ts","sourceRoot":"","sources":["../../src/slash-commands/tuneup.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAkB3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAGhE;;;;;;;;;;GAUG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CA0F1E"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import type { SlashCommandContext } from './
|
|
1
|
+
import type { SlashCommand } from '@wrongstack/core/types';
|
|
2
|
+
import type { SlashCommandContext } from './command-context.js';
|
|
3
3
|
/**
|
|
4
4
|
* Register the `/working_dir` slash command (aliases: `/wd`, `/cd`).
|
|
5
5
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"working-dir.d.ts","sourceRoot":"","sources":["../../src/slash-commands/working-dir.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"working-dir.d.ts","sourceRoot":"","sources":["../../src/slash-commands/working-dir.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAGhE;;;;;;;;;GASG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,mBAAmB,GAAG,YAAY,CAoF/E"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { SlashCommand } from '@wrongstack/core';
|
|
2
|
-
import type { SlashCommandContext } from './
|
|
1
|
+
import type { SlashCommand } from '@wrongstack/core/types';
|
|
2
|
+
import type { SlashCommandContext } from './command-context.js';
|
|
3
3
|
/**
|
|
4
4
|
* /worktree — inspect and manage the git worktrees Goal uses for per-phase
|
|
5
5
|
* isolation. Subcommands: list (default), merge <branch>, prune, clean.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"worktree.d.ts","sourceRoot":"","sources":["../../src/slash-commands/worktree.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"worktree.d.ts","sourceRoot":"","sources":["../../src/slash-commands/worktree.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAEhE;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAoE5E"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SlashCommand } from '@wrongstack/core';
|
|
2
|
-
import type { SlashCommandContext } from './
|
|
1
|
+
import type { SlashCommand } from '@wrongstack/core/types';
|
|
2
|
+
import type { SlashCommandContext } from './command-context.js';
|
|
3
3
|
export declare function buildYoloCommand(opts: SlashCommandContext): SlashCommand;
|
|
4
4
|
//# sourceMappingURL=yolo.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"yolo.d.ts","sourceRoot":"","sources":["../../src/slash-commands/yolo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"yolo.d.ts","sourceRoot":"","sources":["../../src/slash-commands/yolo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAE3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAEhE,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,mBAAmB,GAAG,YAAY,CAmExE"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { ToolRegistry } from '@wrongstack/core/registry';
|
|
2
|
+
import type { Config, ModelsRegistry, SecretVault, SessionStore, SkillLoader } from '@wrongstack/core/types';
|
|
3
|
+
import type { WstackPaths } from '@wrongstack/core/utils';
|
|
4
|
+
import type { ReadlineInputReader } from '../input-reader.js';
|
|
5
|
+
import type { TerminalRenderer } from '../renderer.js';
|
|
6
|
+
export type SubcommandHandler = (args: string[], deps: SubcommandDeps) => Promise<number>;
|
|
7
|
+
export interface SubcommandDeps {
|
|
8
|
+
config: Config;
|
|
9
|
+
renderer: TerminalRenderer;
|
|
10
|
+
reader: ReadlineInputReader;
|
|
11
|
+
sessionStore?: SessionStore | undefined;
|
|
12
|
+
skillLoader?: SkillLoader | undefined;
|
|
13
|
+
toolRegistry?: ToolRegistry | undefined;
|
|
14
|
+
modelsRegistry: ModelsRegistry;
|
|
15
|
+
paths: WstackPaths;
|
|
16
|
+
vault: SecretVault;
|
|
17
|
+
cwd: string;
|
|
18
|
+
projectRoot: string;
|
|
19
|
+
userHome: string;
|
|
20
|
+
/** Parsed top-level flags after they have been removed from positional args. */
|
|
21
|
+
flags?: Record<string, string | boolean>;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=contracts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contracts.d.ts","sourceRoot":"","sources":["../../src/subcommands/contracts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,KAAK,EACV,MAAM,EACN,cAAc,EACd,WAAW,EACX,YAAY,EACZ,WAAW,EACZ,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEvD,MAAM,MAAM,iBAAiB,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,cAAc,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;AAE1F,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,MAAM,EAAE,mBAAmB,CAAC;IAC5B,YAAY,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IACxC,WAAW,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;IACtC,YAAY,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IACxC,cAAc,EAAE,cAAc,CAAC;IAC/B,KAAK,EAAE,WAAW,CAAC;IACnB,KAAK,EAAE,WAAW,CAAC;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,gFAAgF;IAChF,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC;CAC1C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"audit.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/audit.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"audit.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/audit.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD;;;;;;;;GAQG;AACH,eAAO,MAAM,QAAQ,EAAE,iBA0DtB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/auth.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD,eAAO,MAAM,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/auth.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD,eAAO,MAAM,OAAO,EAAE,iBA0ErB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chronicle.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/chronicle.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"chronicle.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/chronicle.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAOrD,sEAAsE;AACtE,eAAO,MAAM,YAAY,EAAE,iBAgH1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"export.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/export.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"export.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/export.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD,eAAO,MAAM,SAAS,EAAE,iBAkDvB,CAAC"}
|
|
@@ -1,14 +1,4 @@
|
|
|
1
1
|
import type { SubcommandHandler } from '../index.js';
|
|
2
|
-
|
|
3
|
-
* Build a free-form actor string for the auth audit log. Combines the OS
|
|
4
|
-
* username (best-effort) with the hostname so an operator reviewing the
|
|
5
|
-
* log can see "who minted this token" without parsing environment
|
|
6
|
-
* variables. Never includes the token string.
|
|
7
|
-
*
|
|
8
|
-
* Shared by the `wstack hq token` create/revoke handlers and by
|
|
9
|
-
* `startHqServer`'s first-run bootstrap so every audit entry point
|
|
10
|
-
* produces the same actor shape.
|
|
11
|
-
*/
|
|
12
|
-
export declare function resolveAuditActor(): string;
|
|
2
|
+
export { resolveAuditActor } from '../../hq-server/audit-actor.js';
|
|
13
3
|
export declare const hqCmd: SubcommandHandler;
|
|
14
4
|
//# sourceMappingURL=hq.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hq.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/hq.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"hq.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/hq.ts"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAkB,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAGrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AAiBnE,eAAO,MAAM,KAAK,EAAE,iBAwBnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mailbox-serve.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/mailbox-serve.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"mailbox-serve.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/mailbox-serve.ts"],"names":[],"mappings":"AA0EA,OAAO,KAAK,EAAkB,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAKrE,eAAO,MAAM,eAAe,EAAE,iBAc7B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modeldiag.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/modeldiag.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"modeldiag.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/modeldiag.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AA0erD,eAAO,MAAM,YAAY,EAAE,iBA4qB1B,CAAC"}
|
|
@@ -1 +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;
|
|
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;AAk+BD;;;;;;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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"permissions.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/permissions.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"permissions.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/permissions.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEzD;;;;;;GAMG;AACH,eAAO,MAAM,cAAc,EAAE,iBAyF5B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"project.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/project.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEzD,eAAO,MAAM,UAAU,EAAE,iBA2DxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"providers-models.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/providers-models.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"providers-models.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/providers-models.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AACrD,eAAO,MAAM,YAAY,EAAE,iBA6C1B,CAAC;AAoDF,eAAO,MAAM,SAAS,EAAE,iBA+IvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"replay.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/replay.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"replay.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/replay.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD;;;;;;;;GAQG;AACH,eAAO,MAAM,SAAS,EAAE,iBA2EvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rewind.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/rewind.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"rewind.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/rewind.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAwCrD,eAAO,MAAM,SAAS,EAAE,iBAgIvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version-help.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/version-help.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD,eAAO,MAAM,UAAU,EAAE,iBAKxB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"version-help.d.ts","sourceRoot":"","sources":["../../../src/subcommands/handlers/version-help.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD,eAAO,MAAM,UAAU,EAAE,iBAKxB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,iBA8DrB,CAAC"}
|
|
@@ -1,26 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
import type { TerminalRenderer } from '../renderer.js';
|
|
4
|
-
export type SubcommandHandler = (args: string[], deps: SubcommandDeps) => Promise<number>;
|
|
5
|
-
export interface SubcommandDeps {
|
|
6
|
-
config: Config;
|
|
7
|
-
renderer: TerminalRenderer;
|
|
8
|
-
reader: ReadlineInputReader;
|
|
9
|
-
sessionStore?: SessionStore | undefined;
|
|
10
|
-
skillLoader?: SkillLoader | undefined;
|
|
11
|
-
toolRegistry?: ToolRegistry | undefined;
|
|
12
|
-
modelsRegistry: ModelsRegistry;
|
|
13
|
-
paths: WstackPaths;
|
|
14
|
-
vault: SecretVault;
|
|
15
|
-
cwd: string;
|
|
16
|
-
projectRoot: string;
|
|
17
|
-
userHome: string;
|
|
18
|
-
/**
|
|
19
|
-
* Parsed top-level CLI flags (e.g. `--yolo`, `--tools`). The dispatcher
|
|
20
|
-
* strips flags from the positional args, so handlers that need them (e.g.
|
|
21
|
-
* `mcp serve --yolo`) read them here.
|
|
22
|
-
*/
|
|
23
|
-
flags?: Record<string, string | boolean>;
|
|
24
|
-
}
|
|
1
|
+
import type { SubcommandHandler } from './contracts.js';
|
|
2
|
+
export type { SubcommandDeps, SubcommandHandler } from './contracts.js';
|
|
25
3
|
export declare const subcommands: Record<string, SubcommandHandler>;
|
|
26
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/subcommands/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/subcommands/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACxD,YAAY,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AA2BxE,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAgCzD,CAAC"}
|
package/dist/tuneup.d.ts
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* - `handoff` — a line folded into an agent follow-up turn for the fuzzy,
|
|
18
18
|
* judgement-heavy items (instruction-file dedup / split).
|
|
19
19
|
*/
|
|
20
|
-
import type { Config } from '@wrongstack/core';
|
|
20
|
+
import type { Config } from '@wrongstack/core/types';
|
|
21
21
|
import type { UpdateInfo } from './update-check.js';
|
|
22
22
|
export type TuneupSeverity = 'error' | 'warning' | 'info' | 'ok';
|
|
23
23
|
/** Stable check-group ids — one section per group in the rendered report. */
|
package/dist/tuneup.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tuneup.d.ts","sourceRoot":"","sources":["../src/tuneup.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"tuneup.d.ts","sourceRoot":"","sources":["../src/tuneup.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAEpD,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,IAAI,CAAC;AAEjE,6EAA6E;AAC7E,MAAM,MAAM,cAAc,GACtB,SAAS,GACT,UAAU,GACV,QAAQ,GACR,KAAK,GACL,SAAS,GACT,QAAQ,GACR,OAAO,GACP,aAAa,GACb,aAAa,GACb,aAAa,GACb,QAAQ,CAAC;AAEb;;;;GAIG;AACH,MAAM,MAAM,YAAY,GACpB;IAAE,IAAI,EAAE,YAAY,CAAC;IAAC,IAAI,EAAE,MAAM,EAAE,CAAC;IAAC,KAAK,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GACrE;IAAE,IAAI,EAAE,gBAAgB,CAAC;IAAC,QAAQ,EAAE,MAAM,EAAE,CAAA;CAAE,GAC9C;IAAE,IAAI,EAAE,wBAAwB,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC;AAExF,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,cAAc,CAAC;IACzB,QAAQ,EAAE,cAAc,CAAC;IACzB,kCAAkC;IAClC,OAAO,EAAE,MAAM,CAAC;IAChB,wDAAwD;IACxD,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,2FAA2F;IAC3F,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,wEAAwE;IACxE,MAAM,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IAClC,wFAAwF;IACxF,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B;AAED,2DAA2D;AAC3D,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,0EAA0E;IAC1E,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC;AAED,qEAAqE;AACrE,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,gEAAgE;AAChE,MAAM,WAAW,gBAAgB;IAC/B,8DAA8D;IAC9D,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,4EAA4E;IAC5E,SAAS,EAAE,OAAO,CAAC;CACpB;AAED,wFAAwF;AACxF,MAAM,MAAM,iBAAiB,GAAG,MAAM,CACpC,MAAM,EACN;IAAE,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IAAC,IAAI,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IAAC,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAAE,CAC1F,CAAC;AAEF,gFAAgF;AAChF,MAAM,WAAW,SAAS;IACxB,6DAA6D;IAC7D,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,oEAAoE;IACpE,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,+DAA+D;IAC/D,aAAa,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACpC,iFAAiF;IACjF,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACnC;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,WAAW,EAAE,CAAC;IACtB,oDAAoD;IACpD,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,OAAO,GAAG,aAAa,CAAC;IACnC,yFAAyF;IACzF,GAAG,CAAC,EAAE,eAAe,EAAE,GAAG,SAAS,CAAC;IACpC,0FAA0F;IAC1F,WAAW,EAAE,gBAAgB,EAAE,CAAC;IAChC,4EAA4E;IAC5E,MAAM,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IAChC,uCAAuC;IACvC,KAAK,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;IACtC;;;OAGG;IACH,iBAAiB,CAAC,EAAE,KAAK,CAAC;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,GAAG,SAAS,CAAC;IAC1E,+BAA+B;IAC/B,GAAG,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAC5B,sEAAsE;IACtE,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC7B;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,aAAa,EAAE,CAAC;IAC1B,wEAAwE;IACxE,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,8EAA8E;AAC9E,eAAO,MAAM,uBAAuB,QAAS,CAAC;AAwD9C,6EAA6E;AAC7E,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAc1D;AAID,wBAAgB,WAAW,CAAC,KAAK,EAAE,WAAW,GAAG,aAAa,EAAE,CAsC/D;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,WAAW,GAAG,aAAa,EAAE,CA2B5D;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,WAAW,GAAG,aAAa,EAAE,CAehE;AAeD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,WAAW,GAAG,aAAa,EAAE,CAoCpE;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,WAAW,GAAG,aAAa,EAAE,CAiBnE;AAID,wBAAgB,UAAU,CAAC,KAAK,EAAE,WAAW,GAAG,aAAa,EAAE,CAmC9D;AASD,wBAAgB,YAAY,CAAC,KAAK,EAAE,WAAW,GAAG,aAAa,EAAE,CAehE;AAID,wBAAgB,aAAa,CAAC,KAAK,EAAE,WAAW,GAAG,aAAa,EAAE,CAwBjE;AAED,+EAA+E;AAC/E,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,WAAW,GAAG,aAAa,EAAE,CAkBrE;AAID,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,WAAW,GAAG,aAAa,EAAE,CA0CpE;AAID,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,WAAW,GAAG,aAAa,EAAE,CA0EpE;AAID,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,WAAW,GAAG,aAAa,EAAE,CAkCpE;AAID,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,WAAW,GAAG,aAAa,EAAE,CAWrE;AAID,oEAAoE;AACpE,wBAAgB,SAAS,CAAC,KAAK,EAAE,WAAW,GAAG,YAAY,CAwB1D;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,MAAM,EAAE,YAAY,GAAG,MAAM,CAiB5D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-check.d.ts","sourceRoot":"","sources":["../src/update-check.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-check.d.ts","sourceRoot":"","sources":["../src/update-check.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,EAAE,OAAO,CAAC;CACtB;AAED,KAAK,SAAS,GAAG,MAAM,MAAM,CAAC;AAG9B,MAAM,MAAM,iBAAiB,GAAG,YAAY,GAAG,iBAAiB,CAAC;AAOjE,yDAAyD;AACzD,wBAAgB,SAAS,CAAC,MAAM,GAAE,SAA0B,GAAG,MAAM,CAMpE;AAWD,qDAAqD;AACrD,wBAAgB,cAAc,IAAI,MAAM,CAYvC;AA0CD,8FAA8F;AAC9F,wBAAgB,OAAO,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,OAAO,CASrD;AAgDD;;;4EAG4E;AAC5E,wBAAgB,kBAAkB,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;AACxE,wBAAgB,kBAAkB,CAChC,WAAW,EAAE,iBAAiB,EAC9B,SAAS,CAAC,EAAE,MAAM,EAClB,MAAM,CAAC,EAAE,WAAW,GAAG,SAAS,GAC/B,OAAO,CAAC,MAAM,CAAC,CAAC;AA6BnB,MAAM,WAAW,qBAAqB;IACpC,MAAM,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;IACjC,MAAM,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAC/B,WAAW,CAAC,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAC5C,kGAAkG;IAClG,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CACpC;AAED,4FAA4F;AAC5F,wBAAsB,cAAc,CAClC,eAAe,CAAC,EAAE,WAAW,GAAG,qBAAqB,GAAG,SAAS,EACjE,YAAY,CAAC,EAAE,SAAS,GAAG,SAAS,GACnC,OAAO,CAAC,UAAU,CAAC,CAgDrB;AAED,qEAAqE;AACrE,wBAAsB,qBAAqB,CACzC,MAAM,CAAC,EAAE,WAAW,GAAG,SAAS,EAChC,MAAM,CAAC,EAAE,SAAS,GAAG,SAAS,GAC7B,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAMxB"}
|
|
@@ -1,40 +1,21 @@
|
|
|
1
|
-
import type { Config, EventBus } from '@wrongstack/core';
|
|
2
1
|
import { type HqCommandController } from '../hq-command-controller.js';
|
|
3
|
-
/**
|
|
4
|
-
* The control hooks the WebUI can offer HQ. When present, the WebUI client
|
|
5
|
-
* advertises `control.receive` and dispatches HQ commands (steer/btw/queue/
|
|
6
|
-
* broadcast via its mailbox, abort via the run controller) exactly like the
|
|
7
|
-
* CLI/TUI — so two-way control works for the WebUI client too, not just
|
|
8
|
-
* terminal surfaces. Omitted → telemetry-only (the previous behaviour).
|
|
9
|
-
*/
|
|
10
2
|
export interface WebuiHqControlHooks {
|
|
11
|
-
/** Abort the WebUI's active agent run. Returns true if a run was aborted. */
|
|
12
3
|
interruptLeader: () => boolean;
|
|
13
|
-
/** Whether raw shell execution is explicitly opted-in by the operator. */
|
|
14
4
|
allowRunCommand: () => boolean;
|
|
15
|
-
/** Optional: spawn a role subagent. */
|
|
16
5
|
spawnAgent?: HqCommandController['spawnAgent'];
|
|
17
|
-
/** Optional: stop the entire fleet. */
|
|
18
6
|
killFleet?: HqCommandController['killFleet'];
|
|
19
|
-
/** Optional: terminate one subagent by id. */
|
|
20
7
|
terminateAgent?: HqCommandController['terminateAgent'];
|
|
21
8
|
}
|
|
22
9
|
export interface WebuiClientRegistrationDeps {
|
|
23
10
|
projectRoot: string | undefined;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
events: EventBus;
|
|
27
|
-
/** Stable session id recorded in HQ telemetry (the writer at startup). */
|
|
11
|
+
appConfig: import('@wrongstack/core/types').Config | undefined;
|
|
12
|
+
events: import('@wrongstack/core/kernel').EventBus;
|
|
28
13
|
hqSessionId: string;
|
|
29
|
-
/** Live session id — session.resume swaps it, so it is read per heartbeat. */
|
|
30
14
|
getSessionId: () => string;
|
|
31
|
-
/** When provided, the WebUI becomes HQ-controllable (two-way control). */
|
|
32
15
|
hqControl?: WebuiHqControlHooks | undefined;
|
|
33
16
|
}
|
|
34
17
|
export interface WebuiClientRegistration {
|
|
35
|
-
/** Fire-and-forget registration; resolves to the client id (or null). */
|
|
36
18
|
register(): Promise<string | null>;
|
|
37
|
-
/** Stop heartbeats and tear down the HQ connection/telemetry bridge. */
|
|
38
19
|
unregister(): void;
|
|
39
20
|
}
|
|
40
21
|
export declare function createWebuiClientRegistration(deps: WebuiClientRegistrationDeps): WebuiClientRegistration;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-registration.d.ts","sourceRoot":"","sources":["../../src/webui-server/client-registration.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"client-registration.d.ts","sourceRoot":"","sources":["../../src/webui-server/client-registration.ts"],"names":[],"mappings":"AAEA,OAAO,EAA6B,KAAK,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAGlG,MAAM,WAAW,mBAAmB;IAClC,eAAe,EAAE,MAAM,OAAO,CAAC;IAC/B,eAAe,EAAE,MAAM,OAAO,CAAC;IAC/B,UAAU,CAAC,EAAE,mBAAmB,CAAC,YAAY,CAAC,CAAC;IAC/C,SAAS,CAAC,EAAE,mBAAmB,CAAC,WAAW,CAAC,CAAC;IAC7C,cAAc,CAAC,EAAE,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;CACxD;AAED,MAAM,WAAW,2BAA2B;IAC1C,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,SAAS,EAAE,OAAO,wBAAwB,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/D,MAAM,EAAE,OAAO,yBAAyB,EAAE,QAAQ,CAAC;IACnD,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,MAAM,CAAC;IAC3B,SAAS,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;CAC7C;AAED,MAAM,WAAW,uBAAuB;IACtC,QAAQ,IAAI,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IACnC,UAAU,IAAI,IAAI,CAAC;CACpB;AAED,wBAAgB,6BAA6B,CAC3C,IAAI,EAAE,2BAA2B,GAChC,uBAAuB,CA4BzB"}
|