@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
package/dist/input-reader.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-reader.d.ts","sourceRoot":"","sources":["../src/input-reader.ts"],"names":[],"mappings":"AAGA,OAAO,
|
|
1
|
+
{"version":3,"file":"input-reader.d.ts","sourceRoot":"","sources":["../src/input-reader.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAGxE,MAAM,WAAW,0BAA0B;IACzC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC7B;AAED,qBAAa,mBAAoB,YAAW,WAAW;IACrD,OAAO,CAAC,EAAE,CAAC,CAAiC;IAC5C,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAS;IACrC,OAAO,CAAC,OAAO,CAAgB;IAC/B,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,mBAAmB,CAAS;IAEpC,YAAY,IAAI,GAAE,0BAA+B,EAGhD;YAEa,WAAW;YASX,WAAW;IASzB,OAAO,CAAC,oBAAoB;IAI5B,OAAO,CAAC,MAAM;IAYR,QAAQ,CACZ,MAAM,CAAC,EAAE,MAAM,EACf,WAAW,CAAC,EAAE;QAAE,SAAS,EAAE,MAAM,CAAC;QAAC,aAAa,EAAE,MAAM,CAAA;KAAE,GAAG,SAAS,GACrE,OAAO,CAAC,MAAM,CAAC,CA+FjB;IAED;;;;;;;;;;OAUG;IACH,OAAO,CAAC,kBAAkB;IA2BpB,OAAO,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,YAAY,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,CAyCtE;IAED;;;;;;;;;OASG;IACG,UAAU,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CA2FhD;IAEK,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAK3B;CACF"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { HqKanbanSnapshotPayload, HqPublisher } from '@wrongstack/core/hq';
|
|
2
|
+
export interface KanbanHqSync {
|
|
3
|
+
attachPublisher(publisher: HqPublisher): Promise<void>;
|
|
4
|
+
handleRemote(snapshot: HqKanbanSnapshotPayload): Promise<void>;
|
|
5
|
+
stop(): void;
|
|
6
|
+
}
|
|
7
|
+
export declare function createKanbanHqSync(projectRoot: string, projectId?: string): KanbanHqSync;
|
|
8
|
+
//# sourceMappingURL=kanban-hq-sync.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kanban-hq-sync.d.ts","sourceRoot":"","sources":["../src/kanban-hq-sync.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAEV,uBAAuB,EAEvB,WAAW,EACZ,MAAM,qBAAqB,CAAC;AAkB7B,MAAM,WAAW,YAAY;IAC3B,eAAe,CAAC,SAAS,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACvD,YAAY,CAAC,QAAQ,EAAE,uBAAuB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC/D,IAAI,IAAI,IAAI,CAAC;CACd;AAgCD,wBAAgB,kBAAkB,CAChC,WAAW,EAAE,MAAM,EACnB,SAAS,SAAiC,GACzC,YAAY,CAmSd"}
|
|
@@ -47,7 +47,27 @@ export interface MailboxBridgeHandle {
|
|
|
47
47
|
source: 'joined' | 'spawned' | 'unhealthy' | 'failed';
|
|
48
48
|
}
|
|
49
49
|
export interface BootstrapOptions {
|
|
50
|
+
/**
|
|
51
|
+
* WrongStack's per-project STATE directory
|
|
52
|
+
* (`~/.wrongstack/projects/<slug>`). Owns the lock file and is what we
|
|
53
|
+
* poll for the spawned bridge's lock. NEVER pass this as the child's
|
|
54
|
+
* cwd — see `projectRoot`.
|
|
55
|
+
*/
|
|
50
56
|
projectDir: string;
|
|
57
|
+
/**
|
|
58
|
+
* The real project root (the user's repo, e.g. `D:\repos\Foo`) — used
|
|
59
|
+
* as the spawned bridge's cwd.
|
|
60
|
+
*
|
|
61
|
+
* This MUST be distinct from `projectDir`. `wstack mailbox serve`
|
|
62
|
+
* re-derives its own project identity from `process.cwd()` via
|
|
63
|
+
* `DefaultPathResolver`, so spawning it inside the state directory made
|
|
64
|
+
* it resolve `~/.wrongstack/projects/<slug>` as its project root and
|
|
65
|
+
* register a second, nested project (`<slug>-<hash>`) — with its own
|
|
66
|
+
* lock, token and `projects.json` entry. The parent then polled the
|
|
67
|
+
* correct `projectDir`, never saw that lock, timed out, and respawned a
|
|
68
|
+
* fresh bridge on every single boot.
|
|
69
|
+
*/
|
|
70
|
+
projectRoot: string;
|
|
51
71
|
/**
|
|
52
72
|
* Function used to spawn `wstack mailbox serve` if no live
|
|
53
73
|
* instance is found. Defaults to a real `child_process.spawn`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mailbox-bridge-bootstrap.d.ts","sourceRoot":"","sources":["../src/mailbox-bridge-bootstrap.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAKH,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAGrF,eAAO,MAAM,mCAAmC,OAAQ,CAAC;AACzD,eAAO,MAAM,+BAA+B,MAAM,CAAC;AAEnD,MAAM,WAAW,mBAAmB;IAClC,mEAAmE;IACnE,GAAG,EAAE,MAAM,CAAC;IACZ,6CAA6C;IAC7C,KAAK,EAAE,MAAM,CAAC;IACd,2DAA2D;IAC3D,QAAQ,EAAE,MAAM,CAAC;IACjB,uDAAuD;IACvD,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;;;;;;OASG;IACH,MAAM,EAAE,QAAQ,GAAG,SAAS,GAAG,WAAW,GAAG,QAAQ,CAAC;CACvD;AAED,MAAM,WAAW,gBAAgB;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB;;;;;;;;;OASG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,yDAAyD;IACzD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,MAAM,OAAO,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,KAAK,YAAY,CAAC;AAEpE,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,KAAK,IAAI,I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E,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,GAAG,SAAS,CAAC;IACxB,KAAK,IAAI,IAAI,CAAC;CACf;AAED,MAAM,MAAM,OAAO,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;AAE3E;;;;;GAKG;AACH,wBAAsB,uBAAuB,CAC3C,IAAI,EAAE,gBAAgB,GACrB,OAAO,CAAC,mBAAmB,CAAC,CA0F9B;AAiDD,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,CAAC;AAKhD,wBAAsB,iBAAiB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAMjF"}
|
package/dist/mcp-serve.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { Context
|
|
1
|
+
import { Context } from '@wrongstack/core/agent';
|
|
2
|
+
import type { PermissionPolicy, Tool } from '@wrongstack/core/types';
|
|
3
|
+
import { ToolRegistry } from '@wrongstack/core/registry';
|
|
2
4
|
import { type MCPServerPrompt, type MCPServerResource } from '@wrongstack/mcp';
|
|
3
5
|
import type { SubcommandDeps } from './subcommands/index.js';
|
|
4
6
|
export interface SelectedMcpServeContent {
|
package/dist/mcp-serve.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcp-serve.d.ts","sourceRoot":"","sources":["../src/mcp-serve.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"mcp-serve.d.ts","sourceRoot":"","sources":["../src/mcp-serve.ts"],"names":[],"mappings":"AAaA,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAEjD,OAAO,KAAK,EAAE,gBAAgB,EAAyC,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC5G,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEzD,OAAO,EAGL,KAAK,eAAe,EACpB,KAAK,iBAAiB,EAIvB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAqB7D,MAAM,WAAW,uBAAuB;IACtC,SAAS,EAAE,iBAAiB,EAAE,CAAC;IAC/B,OAAO,EAAE,eAAe,EAAE,CAAC;CAC5B;AAED,yFAAyF;AACzF,wBAAsB,2BAA2B,CAC/C,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,EACvC,GAAG,EAAE,MAAM,GACV,OAAO,CAAC,uBAAuB,CAAC,CA+ClC;AAyED,2FAA2F;AAC3F,wBAAgB,gBAAgB,CAC9B,GAAG,EAAE,MAAM,EACX,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,WAAW,EACnB,gBAAgB,UAAO,GACtB,OAAO,CA6BT;AAED;;;;;;GAMG;AACH,wBAAsB,kBAAkB,CACtC,QAAQ,EAAE,YAAY,EACtB,GAAG,EAAE,OAAO,EACZ,MAAM,EAAE,gBAAgB,EACxB,SAAS,EAAE,GAAG,CAAC,MAAM,CAAC,GAAG,IAAI,GAC5B,OAAO,CAAC,IAAI,EAAE,CAAC,CAQjB;AAED,wBAAsB,aAAa,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC,CA0IzE"}
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
*
|
|
10
10
|
* The result is display-only: predictions are shown to the user, never executed.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
13
|
-
import type { CommitLLMProvider } from './
|
|
12
|
+
import type { TodoItem } from '@wrongstack/core/agent';
|
|
13
|
+
import type { CommitLLMProvider } from './services/commit-message.js';
|
|
14
14
|
/** Provider shape required to predict — same structural contract as commit-llm. */
|
|
15
15
|
export type PredictLLMProvider = CommitLLMProvider;
|
|
16
16
|
export interface PredictionInput {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"next-task-predictor.d.ts","sourceRoot":"","sources":["../src/next-task-predictor.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;
|
|
1
|
+
{"version":3,"file":"next-task-predictor.d.ts","sourceRoot":"","sources":["../src/next-task-predictor.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAEtE,mFAAmF;AACnF,MAAM,MAAM,kBAAkB,GAAG,iBAAiB,CAAC;AAEnD,MAAM,WAAW,eAAe;IAC9B,oEAAoE;IACpE,WAAW,EAAE,MAAM,CAAC;IACpB,kFAAkF;IAClF,gBAAgB,EAAE,MAAM,CAAC;IACzB,2EAA2E;IAC3E,KAAK,EAAE,SAAS,QAAQ,EAAE,CAAC;CAC5B;AAED,MAAM,WAAW,WAAW;IAC1B,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,4CAA4C;IAC5C,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,oEAAoE;IACpE,MAAM,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;CAClC;AAaD,0EAA0E;AAC1E,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,eAAe,GAAG,MAAM,CAoBpE;AAED;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,SAAI,GAAG,MAAM,EAAE,CAmB/D;AAYD;;;;GAIG;AACH,wBAAsB,gBAAgB,CACpC,KAAK,EAAE,eAAe,EACtB,IAAI,EAAE,WAAW,GAChB,OAAO,CAAC,MAAM,EAAE,CAAC,CA6BnB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { InputReader, Tool } from '@wrongstack/core';
|
|
1
|
+
import type { InputReader, Tool } from '@wrongstack/core/types';
|
|
2
2
|
export type PromptDecision = 'yes' | 'no' | 'always' | 'deny';
|
|
3
3
|
/** Signature the Agent expects for confirming tool calls. */
|
|
4
4
|
export type ConfirmAwaiter = (tool: Tool, input: unknown, toolUseId: string, suggestedPattern: string) => Promise<'yes' | 'no' | 'always' | 'deny'>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"permission-prompt.d.ts","sourceRoot":"","sources":["../src/permission-prompt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"permission-prompt.d.ts","sourceRoot":"","sources":["../src/permission-prompt.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAKhE,MAAM,MAAM,cAAc,GAAG,KAAK,GAAG,IAAI,GAAG,QAAQ,GAAG,MAAM,CAAC;AAE9D,6DAA6D;AAC7D,MAAM,MAAM,cAAc,GAAG,CAC3B,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,OAAO,EACd,SAAS,EAAE,MAAM,EACjB,gBAAgB,EAAE,MAAM,KACrB,OAAO,CAAC,KAAK,GAAG,IAAI,GAAG,QAAQ,GAAG,MAAM,CAAC,CAAC;AAE/C,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,WAAW,UAChC,IAAI,SAAS,OAAO,oBAAoB,MAAM,KAAG,OAAO,CAAC,cAAc,CAAC,CA4B7F;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,WAAW,GAAG,cAAc,CAMtE"}
|
package/dist/picker.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Config, ModelsDevModel, ModelsRegistry, ResolvedProvider } from '@wrongstack/core';
|
|
1
|
+
import type { Config, ModelsDevModel, ModelsRegistry, ResolvedProvider } from '@wrongstack/core/types';
|
|
2
2
|
import type { ReadlineInputReader } from './input-reader.js';
|
|
3
3
|
import type { TerminalRenderer } from './renderer.js';
|
|
4
4
|
/**
|
package/dist/picker.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"picker.d.ts","sourceRoot":"","sources":["../src/picker.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"picker.d.ts","sourceRoot":"","sources":["../src/picker.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAKvG,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAE7D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AA+HtD;;;;;GAKG;AACH;;;;;;;;;;GAUG;AACH,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,gBAAgB,EAAE,GAAG,gBAAgB,EAAE,CAoBzF;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,gBAAgB,EAAE,GAAG,gBAAgB,EAAE,CAMhG;AAED,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,QAAQ,GAAG,WAAW,GAAG,WAAW,CAAC;CAC9C;AAED;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAC5B,KAAK,EAAE,mBAAmB,EAC1B,KAAK,EAAE,MAAM,EACb,UAAU,EAAE,MAAM,GACjB,mBAAmB,CAiCrB;AAaD,mFAAmF;AACnF,eAAO,MAAM,uBAAuB,KAAK,CAAC;AA6B1C;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,gBAAgB,EAAE,EAC5B,WAAW,EAAE,MAAM,EACnB,QAAQ,CAAC,EAAE,GAAG,CAAC,MAAM,CAA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|
+
import { type PluginAPI, type PluginAPIInit } from '@wrongstack/core/plugin';
|
|
2
2
|
export default function createApi(ownerName: string, base: Omit<PluginAPIInit, 'ownerName'>): PluginAPI;
|
|
3
3
|
//# sourceMappingURL=plugin-api-factory.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-api-factory.d.ts","sourceRoot":"","sources":["../src/plugin-api-factory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,SAAS,EAAE,KAAK,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"plugin-api-factory.d.ts","sourceRoot":"","sources":["../src/plugin-api-factory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,SAAS,EAAE,KAAK,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAE/F,MAAM,CAAC,OAAO,UAAU,SAAS,CAC/B,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,IAAI,CAAC,aAAa,EAAE,WAAW,CAAC,GACrC,SAAS,CAEX"}
|
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { Config, PluginConfig, PluginManagerConfig } from '@wrongstack/core/types';
|
|
2
|
+
export interface PluginAuditEntry {
|
|
3
|
+
name: string;
|
|
4
|
+
risk: 'low' | 'medium' | 'high';
|
|
5
|
+
summary: string;
|
|
6
|
+
defaultState: 'active' | 'inactive';
|
|
7
|
+
canDisable: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const PLUGIN_AUDIT_ENTRIES: readonly PluginAuditEntry[];
|
|
2
10
|
export declare const OFFICIAL_PLUGINS: readonly [{
|
|
3
11
|
readonly alias: 'telegram';
|
|
4
12
|
readonly specifier: '@wrongstack/telegram';
|
|
@@ -8,14 +16,6 @@ export declare const OFFICIAL_PLUGINS: readonly [{
|
|
|
8
16
|
readonly specifier: '@wrongstack/plug-lsp';
|
|
9
17
|
readonly description: 'Language Server Protocol tools for code intelligence.';
|
|
10
18
|
}];
|
|
11
|
-
export interface PluginAuditEntry {
|
|
12
|
-
name: string;
|
|
13
|
-
risk: 'low' | 'medium' | 'high';
|
|
14
|
-
summary: string;
|
|
15
|
-
defaultState: 'active' | 'inactive';
|
|
16
|
-
canDisable: boolean;
|
|
17
|
-
}
|
|
18
|
-
export declare const PLUGIN_AUDIT_ENTRIES: readonly PluginAuditEntry[];
|
|
19
19
|
export interface PluginManagementDeps {
|
|
20
20
|
config: Config;
|
|
21
21
|
configPath: string;
|
|
@@ -27,6 +27,7 @@ export interface PluginManagementResult {
|
|
|
27
27
|
patch?: {
|
|
28
28
|
plugins?: (string | PluginConfig)[] | undefined;
|
|
29
29
|
features?: Record<string, unknown>;
|
|
30
|
+
pluginManager?: PluginManagerConfig | undefined;
|
|
30
31
|
/**
|
|
31
32
|
* Full replacement `extensions` map (patchConfig is a SHALLOW merge,
|
|
32
33
|
* so per-plugin llm overrides must ship the whole merged object).
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin-management.d.ts","sourceRoot":"","sources":["../src/plugin-management.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"plugin-management.d.ts","sourceRoot":"","sources":["../src/plugin-management.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAGxF,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAC;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,QAAQ,GAAG,UAAU,CAAC;IACpC,UAAU,EAAE,OAAO,CAAC;CACrB;AAqED,eAAO,MAAM,oBAAoB,EAAE,SAAS,gBAAgB,EAG1D,CAAC;AAEH,eAAO,MAAM,gBAAgB;aAEzB,KAAK,EAAE,UAAU;aACjB,SAAS,EAAE,sBAAsB;aACjC,WAAW,EAAE,iEAAiE;;aAG9E,K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ources":["../src/preflight.ts"],"names":[],"mappings":"AA+CA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"preflight.d.ts","sourceRoot":"","sources":["../src/preflight.ts"],"names":[],"mappings":"AA+CA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAErD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAGpD,MAAM,WAAW,eAAe;IAC9B;2DACuD;IACvD,UAAU,EAAE,UAAU,GAAG,SAAS,CAAC;IACnC;;0CAEsC;IACtC,kBAAkB,EAAE,OAAO,CAAC;CAC7B;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,mBAAmB,IAAI,IAAI,CAK1C;AAED;;;;;;;;;GASG;AACH,wBAAgB,wBAAwB,IAAI,IAAI,CAE/C;AAED;;;;;GAKG;AACH,wBAAsB,sBAAsB,CAC1C,iBAAiB,EAAE,UAAU,GAAG,SAAS,GACxC,OAAO,CAAC,UAAU,GAAG,SAAS,CAAC,CAEjC;AAED;;;;;;;GAOG;AACH,wBAAsB,oBAAoB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAKxE;AAED;;;;GAIG;AACH,wBAAsB,YAAY,CAChC,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,UAAU,GAAG,SAAS,GACxC,OAAO,CAAC,eAAe,CAAC,CAS1B"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { Config
|
|
1
|
+
import type { Config } from '@wrongstack/core/types';
|
|
2
|
+
import type { WstackPaths } from '@wrongstack/core/utils';
|
|
2
3
|
/** Resolve the selected profile without ever treating the root bootstrap as settings. */
|
|
3
4
|
export declare function activeProfileName(config: Pick<Config, 'activeProfile'>): string;
|
|
4
5
|
/** Canonical settings file for the currently selected profile. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile-config-path.d.ts","sourceRoot":"","sources":["../src/profile-config-path.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"profile-config-path.d.ts","sourceRoot":"","sources":["../src/profile-config-path.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAE1D,yFAAyF;AACzF,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,eAAe,CAAC,GAAG,MAAM,CAI/E;AAED,kEAAkE;AAClE,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,IAAI,CAAC,WAAW,EAAE,eAAe,CAAC,EACzC,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,eAAe,CAAC,GACpC,MAAM,CAER"}
|
package/dist/project-picker.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project-picker.d.ts","sourceRoot":"","sources":["../src/project-picker.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"project-picker.d.ts","sourceRoot":"","sources":["../src/project-picker.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAwBnE,MAAM,WAAW,UAAU;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,IAAI,EAAE,SAAS,GAAG,QAAQ,CAAC;CAC5B;AAED,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,UAAU,EAAE,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACvC;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,gEAAgE;IAChE,OAAO,CAAC,EAAE,YAAY,GAAG,SAAS,CAAC;IACnC,gEAAgE;IAChE,MAAM,CAAC,EAAE,aAAa,GAAG,eAAe,GAAG,MAAM,GAAG,SAAS,CAAC;CAC/D;AA0BD;;GAEG;AACH,wBAAsB,gBAAgB,CAAC,IAAI,EAAE;IAC3C,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,kBAAkB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACzC,GAAG,OAAO,CAAC,UAAU,EAAE,CAAC,CAmCxB;AAuGD;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,QAAQ,EAAE,UAAU,EAAE,EAAE,MAAM,EAAE,MAAM,GAAG,UAAU,EAAE,CAchF;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,iBAAiB,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAGxF;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,UAAU,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC,GAAG,CAAC,GAAG,MAAM,CAMvF;AAED;;GAEG;AACH,wBAAsB,gBAAgB,CAAC,IAAI,EAAE;IAC3C,gBAAgB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACtC,kBAAkB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACzC,GAAG,OAAO,CAAC,YAAY,GAAG,SAAS,CAAC,CAySpC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { expectDefined } from '@wrongstack/core';
|
|
1
|
+
import { expectDefined } from '@wrongstack/core/utils';
|
|
2
2
|
export { expectDefined };
|
|
3
|
-
import type { ProviderApiKey, ProviderConfig, SecretVault } from '@wrongstack/core';
|
|
3
|
+
import type { ProviderApiKey, ProviderConfig, SecretVault } from '@wrongstack/core/types';
|
|
4
4
|
/**
|
|
5
5
|
* Normalize a ProviderConfig to the canonical `apiKeys[]` form.
|
|
6
6
|
* Migrates the legacy single-key `apiKey` field on the fly so every
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider-config-utils.d.ts","sourceRoot":"","sources":["../src/provider-config-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,
|
|
1
|
+
{"version":3,"file":"provider-config-utils.d.ts","sourceRoot":"","sources":["../src/provider-config-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAGvD,OAAO,EAAE,aAAa,EAAE,CAAC;AASzB,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAG1F;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,GAAG,EAAE,cAAc,GAAG,cAAc,EAAE,CAQnE;AAED;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,GAAG,EAAE,cAAc,EAAE,IAAI,EAAE,cAAc,EAAE,GAAG,IAAI,CAgB/E;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,cAAc,GAAG,MAAM,GAAG,SAAS,CAQ3E;AAqBD;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAchF;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,cAAc,EAAE,IAAI,EAAE,cAAc,EAAE,GAAG,MAAM,GAAG,SAAS,CAG3F;AAED,gEAAgE;AAChE,wBAAgB,SAAS,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAM7C;AAED,qDAAqD;AACrD,wBAAgB,MAAM,IAAI,MAAM,CAE/B;AAMD;;;;GAIG;AACH,wBAAsB,mBAAmB,CACvC,UAAU,EAAE,MAAM,EAClB,KAAK,EAAE,WAAW,EAClB,IAAI,CAAC,EAAE;IAAE,IAAI,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAAC,iBAAiB,CAAC,EAAE,MAAM,CAAA;CAAE,GAClE,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAC,CAqBzC;AAED;;;;GAIG;AACH,wBAAsB,qBAAqB,CACzC,UAAU,EAAE,MAAM,EAClB,KAAK,EAAE,WAAW,EAClB,OAAO,EAAE,CAAC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,KAAK,IAAI,EAC5D,iBAAiB,CAAC,EAAE,MAAM,GACzB,OAAO,CAAC,IAAI,CAAC,CA2Cf"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* and subcommands. Keeps provider key detection and alias resolution in
|
|
4
4
|
* one place so the logic doesn't drift between call sites.
|
|
5
5
|
*/
|
|
6
|
-
import type { Config, ModelsRegistry, ProviderConfig, ResolvedProvider } from '@wrongstack/core';
|
|
6
|
+
import type { Config, ModelsRegistry, ProviderConfig, ResolvedProvider } from '@wrongstack/core/types';
|
|
7
7
|
/** Return the provider's visible model ids.
|
|
8
8
|
*
|
|
9
9
|
* For most providers, `cfg.models` is a strict user allowlist. ChatGPT/OpenAI/Codex
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider-helpers.d.ts","sourceRoot":"","sources":["../src/provider-helpers.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"provider-helpers.d.ts","sourceRoot":"","sources":["../src/provider-helpers.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAuBvG;;;;;;6EAM6E;AAC7E,wBAAgB,eAAe,CAC7B,UAAU,EAAE,MAAM,EAClB,MAAM,EAAE,MAAM,EACd,eAAe,EAAE,MAAM,EAAE,EACzB,GAAG,CAAC,EAAE,cAAc,GAAG,SAAS,GAC/B,MAAM,EAAE,CAKV;AAoBD;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE;IAC/C,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;CAChC,GAAG,OAAO,CAGV;AAED;;;;;GAKG;AACH,wBAAgB,SAAS,CAAC,QAAQ,EAAE,gBAAgB,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAO9E;AAED;;;;;;;GAOG;AACH,wBAAsB,sBAAsB,CAC1C,cAAc,EAAE,cAAc,EAC9B,MAAM,EAAE,MAAM,GACb,OAAO,CAAC,KAAK,CAAC;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC,CAAC,CA4ClE;AAED;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAM/E"}
|
package/dist/renderer.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ContentBlock, Renderer, TextBlock, ToolResultRenderMode } from '@wrongstack/core';
|
|
1
|
+
import type { ContentBlock, Renderer, TextBlock, ToolResultRenderMode } from '@wrongstack/core/types';
|
|
2
2
|
export interface TerminalRendererOptions {
|
|
3
3
|
out?: NodeJS.WriteStream | undefined;
|
|
4
4
|
err?: NodeJS.WriteStream | undefined;
|
|
@@ -7,15 +7,14 @@ export declare class TerminalRenderer implements Renderer {
|
|
|
7
7
|
private readonly out;
|
|
8
8
|
private readonly err;
|
|
9
9
|
private lineStart;
|
|
10
|
+
/** When true, stdout-bound rendering is disabled (for non-terminal UI surfaces). */
|
|
11
|
+
private silent;
|
|
10
12
|
/**
|
|
11
|
-
* When true,
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* the input + status bar to be reprinted as scrollback junk.
|
|
15
|
-
* Stderr-bound methods (writeInfo/Warning/Error) still flow — they
|
|
16
|
-
* go to a different stream Ink does not manage.
|
|
13
|
+
* When true, Ink exclusively owns the terminal. Both stdout and stderr
|
|
14
|
+
* rendering must be disabled: either stream can interleave with Ink's
|
|
15
|
+
* cursor updates and make the TUI flicker or leave stray debug notes.
|
|
17
16
|
*/
|
|
18
|
-
private
|
|
17
|
+
private tuiActive;
|
|
19
18
|
/**
|
|
20
19
|
* Per-tool on-screen result render mode. Defaults to `'extend'` so
|
|
21
20
|
* existing callers without `setResultRenderMode` see full content.
|
|
@@ -27,16 +26,29 @@ export declare class TerminalRenderer implements Renderer {
|
|
|
27
26
|
private renderModes;
|
|
28
27
|
/** Mode applied when no entry is set for a given tool name. */
|
|
29
28
|
private static readonly DEFAULT_RENDER_MODE;
|
|
29
|
+
/** Maximum number of one-shot hints retained when callers abandon a result. */
|
|
30
|
+
private static readonly MAX_RENDER_MODES;
|
|
30
31
|
/** Lines kept per tool family in `extend` mode. */
|
|
31
32
|
private static readonly EXTEND_PREVIEW_LINES;
|
|
32
33
|
constructor(opts?: TerminalRendererOptions);
|
|
33
34
|
/**
|
|
34
|
-
* Toggle stdout suppression
|
|
35
|
-
*
|
|
36
|
-
* exits. Idempotent.
|
|
35
|
+
* Toggle stdout suppression for non-terminal UI surfaces such as WebUI.
|
|
36
|
+
* Diagnostics continue to flow to stderr. Idempotent.
|
|
37
37
|
*/
|
|
38
38
|
setSilent(silent: boolean): void;
|
|
39
39
|
isSilent(): boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Toggle exclusive TUI ownership of both terminal streams. Unlike
|
|
42
|
+
* {@link setSilent}, TUI mode suppresses stderr as well as stdout and clears
|
|
43
|
+
* any CLI-only result mode staged before Ink took ownership. While active,
|
|
44
|
+
* new result-mode hints are ignored. The two flags compose with OR semantics
|
|
45
|
+
* for stdout suppression only; TUI ownership adds the other behaviors.
|
|
46
|
+
* Enable immediately before starting Ink and disable in the paired
|
|
47
|
+
* `finally`, only after the TUI has fully exited.
|
|
48
|
+
*/
|
|
49
|
+
setTuiActive(active: boolean): void;
|
|
50
|
+
isTuiActive(): boolean;
|
|
51
|
+
private suppressStdout;
|
|
40
52
|
setResultRenderMode(name: string, mode: ToolResultRenderMode): void;
|
|
41
53
|
private getRenderMode;
|
|
42
54
|
private clearRenderMode;
|
package/dist/renderer.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderer.d.ts","sourceRoot":"","sources":["../src/renderer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,SAAS,EAAE,oBAAoB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"renderer.d.ts","sourceRoot":"","sources":["../src/renderer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,SAAS,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAKtG,MAAM,WAAW,uBAAuB;IACtC,GAAG,CAAC,EAAE,MAAM,CAAC,WAAW,GAAG,SAAS,CAAC;IACrC,GAAG,CAAC,EAAE,MAAM,CAAC,WAAW,GAAG,SAAS,CAAC;CACtC;AAED,qBAAa,gBAAiB,YAAW,QAAQ;IAC/C,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAqB;IACzC,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAqB;IACzC,OAAO,CAAC,SAAS,CAAQ;IACzB,oFAAoF;IACpF,OAAO,CAAC,MAAM,CAAS;IACvB;;;;OAIG;IACH,OAAO,CAAC,SAAS,CAAS;IAC1B;;;;;;;OAOG;IACH,OAAO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IZ;IAED;;;;;;;;OAQG;IACH,iBAAiB,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE,OAAO,GAAG,IAAI,CAwCpD;IAED;;;;OAIG;IACH,sBAAsB,CAAC,MAAM,EAAE;QAC7B,iBAAiB,CAAC,EAAE,KAAK,CAAC;YAAE,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;YAAC,EAAE,EAAE,OAAO,CAAA;SAAE,CAAC,CAAC;QACxE,QAAQ,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC;KACvC,GAAG,IAAI,CAkCP;CACF"}
|
package/dist/repl.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import type { Agent,
|
|
1
|
+
import type { Agent, TodoItem } from '@wrongstack/core/agent';
|
|
2
|
+
import type { AttachmentStore, TokenCounter } from '@wrongstack/core/types';
|
|
3
|
+
import type { SlashCommandRegistry } from '@wrongstack/core/registry';
|
|
2
4
|
import { type VisionAdapters } from '@wrongstack/runtime';
|
|
3
5
|
import type { ReadlineInputReader } from './input-reader.js';
|
|
4
6
|
import type { TerminalRenderer } from './renderer.js';
|
|
@@ -31,9 +33,9 @@ export interface ReplOptions {
|
|
|
31
33
|
tokenCounter?: TokenCounter | undefined;
|
|
32
34
|
visionAdapters?: VisionAdapters | undefined;
|
|
33
35
|
/** Autonomy mode state getter. */
|
|
34
|
-
getAutonomy?: (() => import('./
|
|
36
|
+
getAutonomy?: (() => import('./services/autonomy-mode.js').AutonomyMode) | undefined;
|
|
35
37
|
/** Set autonomy mode (used by SIGINT handler to flip back to 'off'). */
|
|
36
|
-
onAutonomy?: ((mode: import('./
|
|
38
|
+
onAutonomy?: ((mode: import('./services/autonomy-mode.js').AutonomyMode) => void) | undefined;
|
|
37
39
|
/**
|
|
38
40
|
* Whether next-task prediction is enabled. When true, the REPL runs a
|
|
39
41
|
* lightweight single-shot prediction after each completed turn and shows
|
|
@@ -89,13 +91,13 @@ export interface ReplOptions {
|
|
|
89
91
|
* iterations from this loop — so the engine and the REPL never compete
|
|
90
92
|
* for the shared Context. Returns null until /autonomy eternal primes it.
|
|
91
93
|
*/
|
|
92
|
-
getEternalEngine?: (() => import('@wrongstack/core').EternalAutonomyEngine | null) | undefined;
|
|
94
|
+
getEternalEngine?: (() => import('@wrongstack/core/execution').EternalAutonomyEngine | null) | undefined;
|
|
93
95
|
/**
|
|
94
96
|
* Access the parallel-eternal engine. When autonomy mode is 'eternal-parallel'
|
|
95
97
|
* the REPL drives this engine instead of reading user input.
|
|
96
98
|
* Returns null until /autonomy parallel primes it.
|
|
97
99
|
*/
|
|
98
|
-
getParallelEngine?: (() => import('@wrongstack/core').ParallelEternalEngine | null) | undefined;
|
|
100
|
+
getParallelEngine?: (() => import('@wrongstack/core/execution').ParallelEternalEngine | null) | undefined;
|
|
99
101
|
/**
|
|
100
102
|
* Access the active SDD parallel run's control surface (or null). A running
|
|
101
103
|
* `/sdd parallel` blocks the prompt while it awaits completion, so this is the
|
|
@@ -111,13 +113,13 @@ export interface ReplOptions {
|
|
|
111
113
|
/** Absolute project root — used to locate .wrongstack/goal.json for the goal banner. */
|
|
112
114
|
projectRoot?: string | undefined;
|
|
113
115
|
/** Full app config, used for HQ client publishing settings. */
|
|
114
|
-
appConfig?: import('@wrongstack/core').Config | undefined;
|
|
116
|
+
appConfig?: import('@wrongstack/core/types').Config | undefined;
|
|
115
117
|
/** Live active session id for cross-surface client registration. */
|
|
116
118
|
getSessionId?: (() => string | undefined) | undefined;
|
|
117
119
|
/** Resolve current model vision support. Falls back to provider capability when omitted. */
|
|
118
120
|
supportsVision?: (() => boolean | Promise<boolean>) | undefined;
|
|
119
121
|
/** Skill loader for the skill generator wizard. */
|
|
120
|
-
skillLoader?: import('@wrongstack/core').SkillLoader | undefined;
|
|
122
|
+
skillLoader?: import('@wrongstack/core/types').SkillLoader | undefined;
|
|
121
123
|
/** Controller for the agents monitor overlay. */
|
|
122
124
|
agentsMonitorController?: {
|
|
123
125
|
visible: boolean;
|
|
@@ -125,8 +127,8 @@ export interface ReplOptions {
|
|
|
125
127
|
} | undefined;
|
|
126
128
|
/** Controller for fleet stream (subagent output to history). */
|
|
127
129
|
fleetStreamController?: {
|
|
128
|
-
mode: import('@wrongstack/core').FleetChatVerbosity;
|
|
129
|
-
setMode: (mode: import('@wrongstack/core').FleetChatVerbosity) => void;
|
|
130
|
+
mode: import('@wrongstack/core/types').FleetChatVerbosity;
|
|
131
|
+
setMode: (mode: import('@wrongstack/core/types').FleetChatVerbosity) => void;
|
|
130
132
|
} | undefined;
|
|
131
133
|
/**
|
|
132
134
|
* Shared controller for the `/interrupt` slash command. The REPL installs
|
package/dist/repl.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"repl.d.ts","sourceRoot":"","sources":["../src/repl.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"repl.d.ts","sourceRoot":"","sources":["../src/repl.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAE5E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAKtE,OAAO,EAA2C,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAInG,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAE7D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAyCtD;;;;;;;;;;;;GAYG;AACH,wBAAgB,0BAA0B,CACxC,SAAS,EAAE,MAAM,EACjB,KAAK,CAAC,EAAE,SAAS,QAAQ,EAAE,GAAG,IAAI,GACjC,MAAM,EAAE,GAAG,IAAI,CAcjB;AAED;;;GAGG;AACH,wBAAgB,8BAA8B,CAAC,SAAS,EAAE,MAAM,GAAG,M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AAO,CAAC;QACjB,UAAU,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;KACxC,GACD,SAAS,CAAC;IACd,gEAAgE;IAChE,qBAAqB,CAAC,EAClB;QACE,IAAI,EAAE,OAAO,wBAAwB,EAAE,kBAAkB,CAAC;QAC1D,OAAO,EAAE,CAAC,IAAI,EAAE,OAAO,wBAAwB,EAAE,kBAAkB,KAAK,IAAI,CAAC;KAC9E,GACD,SAAS,CAAC;IACd;;;;;OAKG;IACH,mBAAmB,CAAC,EAChB;QACE,WAAW,EAAE,MAAM,OAAO,CAAC;KAC5B,GACD,SAAS,CAAC;IACd;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,CAAC,MAAM,MAAM,CAAC,GAAG,SAAS,CAAC;IAC9C;;;;OAIG;IACH,wBAAwB,CAAC,EAAE,CAAC,CAAC,eAAe,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;IAC3E;;;;OAIG;IACH,eAAe,CAAC,EAAE,CAAC,CAAC,gBAAgB,EAAE,MAAM,KAAK,OAAO,GAAG,IAAI,CAAC,GAAG,SAAS,CAAC;IAC7E,qFAAqF;IACrF,SAAS,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;CACtC;AAED,wBAAsB,OAAO,CAAC,IAAI,EAAE,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,CAm3BhE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autonomy-mode.d.ts","sourceRoot":"","sources":["../../src/services/autonomy-mode.ts"],"names":[],"mappings":"AAAA,+EAA+E;AAC/E,MAAM,MAAM,YAAY,GAAG,KAAK,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared LLM-powered commit message generation.
|
|
3
|
+
* Generates proper commit messages by analyzing git diffs via the configured LLM provider.
|
|
4
|
+
*/
|
|
5
|
+
export interface CommitLLMProvider {
|
|
6
|
+
complete(req: {
|
|
7
|
+
model: string;
|
|
8
|
+
system?: {
|
|
9
|
+
type: 'text' | undefined;
|
|
10
|
+
text: string;
|
|
11
|
+
}[];
|
|
12
|
+
messages: {
|
|
13
|
+
role: string;
|
|
14
|
+
content: {
|
|
15
|
+
type: 'text';
|
|
16
|
+
text: string;
|
|
17
|
+
}[];
|
|
18
|
+
}[];
|
|
19
|
+
maxTokens: number;
|
|
20
|
+
temperature?: number | undefined;
|
|
21
|
+
}, opts: {
|
|
22
|
+
signal: AbortSignal;
|
|
23
|
+
}): Promise<{
|
|
24
|
+
/** Normalized content blocks (Anthropic/OpenAI compatible) */
|
|
25
|
+
content: {
|
|
26
|
+
type: 'text';
|
|
27
|
+
text: string;
|
|
28
|
+
}[];
|
|
29
|
+
model: string;
|
|
30
|
+
}>;
|
|
31
|
+
}
|
|
32
|
+
export interface CommitLLMOpts {
|
|
33
|
+
provider: CommitLLMProvider;
|
|
34
|
+
model: string;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Generate a proper commit message by asking the LLM to analyze the diff.
|
|
38
|
+
* Falls back to heuristics on failure.
|
|
39
|
+
*/
|
|
40
|
+
export declare function generateCommitMessageWithLLM(diff: string, opts: CommitLLMOpts): Promise<string>;
|
|
41
|
+
//# sourceMappingURL=commit-message.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"commit-message.d.ts","sourceRoot":"","sources":["../../src/services/commit-message.ts"],"names":[],"mappings":"AACA;;;GAGG;AAEH,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CACN,GAAG,EAAE;QACH,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE;YAAE,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;YAAC,IAAI,EAAE,MAAM,CAAA;SAAE,EAAE,CAAC;QACtD,QAAQ,EAAE;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,OAAO,EAAE;gBAAE,IAAI,EAAE,MAAM,CAAC;gBAAC,IAAI,EAAE,MAAM,CAAA;aAAE,EAAE,CAAA;SAAE,EAAE,CAAC;QACxE,SAAS,EAAE,MAAM,CAAC;QAClB,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;KAClC,EACD,IAAI,EAAE;QAAE,MAAM,EAAE,WAAW,CAAA;KAAE,GAC5B,OAAO,CAAC;QACT,8DAA8D;QAC9D,OAAO,EAAE;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,MAAM,CAAA;SAAE,EAAE,CAAC;QAC1C,KAAK,EAAE,MAAM,CAAC;KACf,CAAC,CAAC;CACJ;AAED,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;;GAGG;AACH,wBAAsB,4BAA4B,CAChD,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,aAAa,GAClB,OAAO,CAAC,MAAM,CAAC,CAsCjB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* LLM-backed classifier for the smart agent dispatcher.
|
|
3
|
+
*
|
|
4
|
+
* Wraps the session provider in the `complete(prompt) => text` shape that
|
|
5
|
+
* `makeLLMClassifier` expects, so `/fleet dispatch` can fall back to the model
|
|
6
|
+
* when the heuristic router is ambiguous. Mirrors the one-shot completion
|
|
7
|
+
* pattern used by `generateCommitMessageWithLLM`.
|
|
8
|
+
*/
|
|
9
|
+
import type { DispatchClassifier } from '@wrongstack/core/coordination';
|
|
10
|
+
import type { CommitLLMProvider } from './commit-message.js';
|
|
11
|
+
export declare function makeProviderClassifier(provider: CommitLLMProvider, model: string): DispatchClassifier;
|
|
12
|
+
//# sourceMappingURL=dispatch-classifier.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dispatch-classifier.d.ts","sourceRoot":"","sources":["../../src/services/dispatch-classifier.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAExE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,iBAAiB,EAC3B,KAAK,EAAE,MAAM,GACZ,kBAAkB,CA8BpB"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared MCP management service.
|
|
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/types';
|
|
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-management.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mcp-management.d.ts","sourceRoot":"","sources":["../../src/services/mcp-management.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAGtE,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project-facts.d.ts","sourceRoot":"","sources":["../../src/services/project-facts.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"project-facts.d.ts","sourceRoot":"","sources":["../../src/services/project-facts.ts"],"names":[],"mappings":"AASA,MAAM,WAAW,YAAY;IAC3B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB;iFAC6E;IAC7E,SAAS,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IACjC,wEAAwE;IACxE,WAAW,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;IACnC,gEAAgE;IAChE,OAAO,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;CAChC;AA8MD,wBAAsB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,CAAC,CA+F5E;AAED,wBAAgB,oBAAoB,CAAC,CAAC,EAAE,YAAY,GAAG,MAAM,CA2F5D"}
|
|
@@ -0,0 +1,53 @@
|
|
|
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
|
+
/** Repo-committed identity shared by clones, worktrees, and machines. */
|
|
9
|
+
projectId?: string | undefined;
|
|
10
|
+
/** ISO timestamp of last use. */
|
|
11
|
+
lastSeen?: string | undefined;
|
|
12
|
+
/** ISO timestamp of when the project was first registered. */
|
|
13
|
+
createdAt?: string | undefined;
|
|
14
|
+
/** Working directory of the most recent session (may differ from root). */
|
|
15
|
+
lastWorkingDir?: string | undefined;
|
|
16
|
+
}
|
|
17
|
+
export interface ProjectsManifest {
|
|
18
|
+
projects: ProjectEntry[];
|
|
19
|
+
}
|
|
20
|
+
export declare function loadManifest(globalConfigPath?: string | undefined): Promise<ProjectsManifest>;
|
|
21
|
+
export declare function saveManifest(manifest: ProjectsManifest, globalConfigPath?: string | undefined): Promise<void>;
|
|
22
|
+
/**
|
|
23
|
+
* Generate a unique slug from a project root path.
|
|
24
|
+
*/
|
|
25
|
+
export declare function generateSlug(root: string): string;
|
|
26
|
+
/**
|
|
27
|
+
* Find a project entry by slug, name, or root (partial match).
|
|
28
|
+
*/
|
|
29
|
+
export declare function findProject(manifest: ProjectsManifest, query: string): ProjectEntry | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* Ensure the per-project data directory exists under ~/.wrongstack/projects/<slug>/.
|
|
32
|
+
*/
|
|
33
|
+
export declare function ensureProjectDataDir(slug: string, globalConfigPath?: string | undefined): Promise<string>;
|
|
34
|
+
/**
|
|
35
|
+
* Idempotent project registration: ensure `projectRoot` has an entry in
|
|
36
|
+
* projects.json, creating one when missing and refreshing `lastSeen` /
|
|
37
|
+
* `lastWorkingDir` when present. Returns the (created or updated) entry.
|
|
38
|
+
*
|
|
39
|
+
* Every surface that opens a project (CLI/TUI boot, standalone WebUI boot,
|
|
40
|
+
* WebUI projects.select) funnels through this so the manifest is the single
|
|
41
|
+
* source of truth for "which projects exist" regardless of entry point.
|
|
42
|
+
* Concurrent processes booting on the same machine serialize via a file
|
|
43
|
+
* lock around the read-modify-write.
|
|
44
|
+
*/
|
|
45
|
+
export declare function touchProjectInManifest(opts: {
|
|
46
|
+
projectRoot: string;
|
|
47
|
+
globalConfigPath?: string | undefined;
|
|
48
|
+
/** Working dir of this session when it differs from the root. */
|
|
49
|
+
workingDir?: string | undefined;
|
|
50
|
+
/** Friendly name for a NEWLY created entry (default: basename). */
|
|
51
|
+
name?: string | undefined;
|
|
52
|
+
}): Promise<ProjectEntry>;
|
|
53
|
+
//# sourceMappingURL=project-manifest.d.ts.map
|