@wrongstack/core 0.284.1 → 0.285.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-status-tracker.d.ts +74 -0
- package/dist/agent-status-tracker.d.ts.map +1 -0
- package/dist/autophase/auto-phase-planner.d.ts +79 -0
- package/dist/autophase/auto-phase-planner.d.ts.map +1 -0
- package/dist/autophase/auto-phase-runner.d.ts +79 -0
- package/dist/autophase/auto-phase-runner.d.ts.map +1 -0
- package/dist/autophase/checkpoint.d.ts +49 -0
- package/dist/autophase/checkpoint.d.ts.map +1 -0
- package/dist/autophase/index.d.ts +9 -0
- package/dist/autophase/index.d.ts.map +1 -0
- package/dist/autophase/phase-graph-builder.d.ts +46 -0
- package/dist/autophase/phase-graph-builder.d.ts.map +1 -0
- package/dist/autophase/phase-orchestrator.d.ts +150 -0
- package/dist/autophase/phase-orchestrator.d.ts.map +1 -0
- package/dist/autophase/phase-store.d.ts +29 -0
- package/dist/autophase/phase-store.d.ts.map +1 -0
- package/dist/autophase/types.d.ts +329 -0
- package/dist/autophase/types.d.ts.map +1 -0
- package/dist/boot.d.ts +73 -0
- package/dist/boot.d.ts.map +1 -0
- package/dist/coordination/adaptive-concurrency.d.ts +63 -0
- package/dist/coordination/adaptive-concurrency.d.ts.map +1 -0
- package/dist/coordination/agent-bridge.d.ts +24 -0
- package/dist/coordination/agent-bridge.d.ts.map +1 -0
- package/dist/coordination/agent-monitor.d.ts +100 -0
- package/dist/coordination/agent-monitor.d.ts.map +1 -0
- package/dist/coordination/agent-subagent-runner.d.ts +74 -0
- package/dist/coordination/agent-subagent-runner.d.ts.map +1 -0
- package/dist/coordination/agents/agent-prompts.d.ts +2 -0
- package/dist/coordination/agents/agent-prompts.d.ts.map +1 -0
- package/dist/coordination/agents/index.d.ts +35 -0
- package/dist/coordination/agents/index.d.ts.map +1 -0
- package/dist/coordination/agents/phase1-discovery.d.ts +4 -0
- package/dist/coordination/agents/phase1-discovery.d.ts.map +1 -0
- package/dist/coordination/agents/phase2-planning.d.ts +4 -0
- package/dist/coordination/agents/phase2-planning.d.ts.map +1 -0
- package/dist/coordination/agents/phase3-build.d.ts +4 -0
- package/dist/coordination/agents/phase3-build.d.ts.map +1 -0
- package/dist/coordination/agents/phase3-techstack.d.ts +13 -0
- package/dist/coordination/agents/phase3-techstack.d.ts.map +1 -0
- package/dist/coordination/agents/phase4-verify.d.ts +4 -0
- package/dist/coordination/agents/phase4-verify.d.ts.map +1 -0
- package/dist/coordination/agents/phase5-review.d.ts +4 -0
- package/dist/coordination/agents/phase5-review.d.ts.map +1 -0
- package/dist/coordination/agents/phase6-domain.d.ts +4 -0
- package/dist/coordination/agents/phase6-domain.d.ts.map +1 -0
- package/dist/coordination/agents/phase7-knowledge.d.ts +4 -0
- package/dist/coordination/agents/phase7-knowledge.d.ts.map +1 -0
- package/dist/coordination/agents/phase8-delivery.d.ts +4 -0
- package/dist/coordination/agents/phase8-delivery.d.ts.map +1 -0
- package/dist/coordination/agents/phase9-meta.d.ts +4 -0
- package/dist/coordination/agents/phase9-meta.d.ts.map +1 -0
- package/dist/coordination/agents/types.d.ts +79 -0
- package/dist/coordination/agents/types.d.ts.map +1 -0
- package/dist/coordination/agents.d.ts +8 -0
- package/dist/coordination/agents.d.ts.map +1 -0
- package/dist/coordination/auto-extend.d.ts +46 -0
- package/dist/coordination/auto-extend.d.ts.map +1 -0
- package/dist/coordination/autonomous-brain.d.ts +154 -0
- package/dist/coordination/autonomous-brain.d.ts.map +1 -0
- package/dist/coordination/autonomous-coordinator.d.ts +239 -0
- package/dist/coordination/autonomous-coordinator.d.ts.map +1 -0
- package/dist/coordination/brain-monitor.d.ts +74 -0
- package/dist/coordination/brain-monitor.d.ts.map +1 -0
- package/dist/coordination/brain.d.ts +104 -0
- package/dist/coordination/brain.d.ts.map +1 -0
- package/dist/coordination/change-manager.d.ts +151 -0
- package/dist/coordination/change-manager.d.ts.map +1 -0
- package/dist/coordination/checkpoint-wiring.d.ts +61 -0
- package/dist/coordination/checkpoint-wiring.d.ts.map +1 -0
- package/dist/coordination/collab-bus.d.ts +132 -0
- package/dist/coordination/collab-bus.d.ts.map +1 -0
- package/dist/coordination/collab-debug.d.ts +302 -0
- package/dist/coordination/collab-debug.d.ts.map +1 -0
- package/dist/coordination/commit-safety.d.ts +72 -0
- package/dist/coordination/commit-safety.d.ts.map +1 -0
- package/dist/coordination/consensus-protocol.d.ts +106 -0
- package/dist/coordination/consensus-protocol.d.ts.map +1 -0
- package/dist/coordination/coordinator/error-classifier.d.ts +15 -0
- package/dist/coordination/coordinator/error-classifier.d.ts.map +1 -0
- package/dist/coordination/delegate-tool.d.ts +101 -0
- package/dist/coordination/delegate-tool.d.ts.map +1 -0
- package/dist/coordination/dep-watcher-bridge.d.ts +47 -0
- package/dist/coordination/dep-watcher-bridge.d.ts.map +1 -0
- package/dist/coordination/dep-watcher.d.ts +74 -0
- package/dist/coordination/dep-watcher.d.ts.map +1 -0
- package/dist/coordination/director/director-errors.d.ts +29 -0
- package/dist/coordination/director/director-errors.d.ts.map +1 -0
- package/dist/coordination/director-construction.d.ts +90 -0
- package/dist/coordination/director-construction.d.ts.map +1 -0
- package/dist/coordination/director-prompts.d.ts +119 -0
- package/dist/coordination/director-prompts.d.ts.map +1 -0
- package/dist/coordination/director-session.d.ts +68 -0
- package/dist/coordination/director-session.d.ts.map +1 -0
- package/dist/coordination/director-tools.d.ts +65 -0
- package/dist/coordination/director-tools.d.ts.map +1 -0
- package/dist/coordination/director.d.ts +802 -0
- package/dist/coordination/director.d.ts.map +1 -0
- package/dist/coordination/dispatcher.d.ts +82 -0
- package/dist/coordination/dispatcher.d.ts.map +1 -0
- package/dist/coordination/file-author-tracker.d.ts +76 -0
- package/dist/coordination/file-author-tracker.d.ts.map +1 -0
- package/dist/coordination/fleet-bus.d.ts +122 -0
- package/dist/coordination/fleet-bus.d.ts.map +1 -0
- package/dist/coordination/fleet-event-validation.d.ts +10 -0
- package/dist/coordination/fleet-event-validation.d.ts.map +1 -0
- package/dist/coordination/fleet-manager.d.ts +234 -0
- package/dist/coordination/fleet-manager.d.ts.map +1 -0
- package/dist/coordination/fleet-spawn.d.ts +102 -0
- package/dist/coordination/fleet-spawn.d.ts.map +1 -0
- package/dist/coordination/fleet-status-tool.d.ts +36 -0
- package/dist/coordination/fleet-status-tool.d.ts.map +1 -0
- package/dist/coordination/fleet-supervisor.d.ts +157 -0
- package/dist/coordination/fleet-supervisor.d.ts.map +1 -0
- package/dist/coordination/fleet.d.ts +96 -0
- package/dist/coordination/fleet.d.ts.map +1 -0
- package/dist/coordination/global-mailbox.d.ts +234 -0
- package/dist/coordination/global-mailbox.d.ts.map +1 -0
- package/dist/coordination/icoordinator.d.ts +97 -0
- package/dist/coordination/icoordinator.d.ts.map +1 -0
- package/dist/coordination/ifleet-manager.d.ts +177 -0
- package/dist/coordination/ifleet-manager.d.ts.map +1 -0
- package/dist/coordination/in-memory-transport.d.ts +12 -0
- package/dist/coordination/in-memory-transport.d.ts.map +1 -0
- package/dist/coordination/index.d.ts +78 -2587
- package/dist/coordination/index.d.ts.map +1 -0
- package/dist/coordination/index.js +739 -254
- package/dist/coordination/index.js.map +7 -1
- package/dist/coordination/knowledge-graph.d.ts +217 -0
- package/dist/coordination/knowledge-graph.d.ts.map +1 -0
- package/dist/coordination/large-answer-store.d.ts +61 -0
- package/dist/coordination/large-answer-store.d.ts.map +1 -0
- package/dist/coordination/mail-tools.d.ts +34 -0
- package/dist/coordination/mail-tools.d.ts.map +1 -0
- package/dist/coordination/mailbox-actions.d.ts +68 -0
- package/dist/coordination/mailbox-actions.d.ts.map +1 -0
- package/dist/coordination/mailbox-health.d.ts +131 -0
- package/dist/coordination/mailbox-health.d.ts.map +1 -0
- package/dist/coordination/mailbox-hooks.d.ts +55 -0
- package/dist/coordination/mailbox-hooks.d.ts.map +1 -0
- package/dist/coordination/mailbox-tool.d.ts +75 -0
- package/dist/coordination/mailbox-tool.d.ts.map +1 -0
- package/dist/{mailbox-types-BGZWrYTJ.d.ts → coordination/mailbox-types.d.ts} +37 -22
- package/dist/coordination/mailbox-types.d.ts.map +1 -0
- package/dist/coordination/mailbox.d.ts +69 -0
- package/dist/coordination/mailbox.d.ts.map +1 -0
- package/dist/coordination/model-matrix.d.ts +98 -0
- package/dist/coordination/model-matrix.d.ts.map +1 -0
- package/dist/coordination/multi-agent-coordinator.d.ts +202 -0
- package/dist/coordination/multi-agent-coordinator.d.ts.map +1 -0
- package/dist/coordination/null-fleet-bus.d.ts +10 -0
- package/dist/coordination/null-fleet-bus.d.ts.map +1 -0
- package/dist/coordination/package-author-tracker.d.ts +87 -0
- package/dist/coordination/package-author-tracker.d.ts.map +1 -0
- package/dist/coordination/package-outdated-watcher.d.ts +83 -0
- package/dist/coordination/package-outdated-watcher.d.ts.map +1 -0
- package/dist/coordination/single-instance-mailbox.d.ts +154 -0
- package/dist/coordination/single-instance-mailbox.d.ts.map +1 -0
- package/dist/coordination/spawn-budget.d.ts +6 -0
- package/dist/coordination/spawn-budget.d.ts.map +1 -0
- package/dist/coordination/subagent-budget.d.ts +323 -0
- package/dist/coordination/subagent-budget.d.ts.map +1 -0
- package/dist/coordination/subagent-nicknames.d.ts +42 -0
- package/dist/coordination/subagent-nicknames.d.ts.map +1 -0
- package/dist/coordination/subagent-result-tool.d.ts +20 -0
- package/dist/coordination/subagent-result-tool.d.ts.map +1 -0
- package/dist/coordination/task-auctioneer.d.ts +143 -0
- package/dist/coordination/task-auctioneer.d.ts.map +1 -0
- package/dist/coordination/task-dag.d.ts +147 -0
- package/dist/coordination/task-dag.d.ts.map +1 -0
- package/dist/coordination/techstack-mailbox-consumer.d.ts +50 -0
- package/dist/coordination/techstack-mailbox-consumer.d.ts.map +1 -0
- package/dist/coordination/transport.d.ts +2 -0
- package/dist/coordination/transport.d.ts.map +1 -0
- package/dist/coordination/worktree-task-runner.d.ts +45 -0
- package/dist/coordination/worktree-task-runner.d.ts.map +1 -0
- package/dist/core/agent-internals.d.ts +41 -0
- package/dist/core/agent-internals.d.ts.map +1 -0
- package/dist/core/agent-loop.d.ts +18 -0
- package/dist/core/agent-loop.d.ts.map +1 -0
- package/dist/core/agent-response.d.ts +21 -0
- package/dist/core/agent-response.d.ts.map +1 -0
- package/dist/core/agent-tools.d.ts +21 -0
- package/dist/core/agent-tools.d.ts.map +1 -0
- package/dist/core/agent-types.d.ts +95 -0
- package/dist/core/agent-types.d.ts.map +1 -0
- package/dist/core/agent.d.ts +54 -0
- package/dist/core/agent.d.ts.map +1 -0
- package/dist/core/btw.d.ts +40 -0
- package/dist/core/btw.d.ts.map +1 -0
- package/dist/core/context.d.ts +269 -0
- package/dist/core/context.d.ts.map +1 -0
- package/dist/core/continue-intent.d.ts +92 -0
- package/dist/core/continue-intent.d.ts.map +1 -0
- package/dist/core/continue-to-next-iteration.d.ts +96 -0
- package/dist/core/continue-to-next-iteration.d.ts.map +1 -0
- package/dist/core/conversation-state.d.ts +96 -0
- package/dist/core/conversation-state.d.ts.map +1 -0
- package/dist/core/fallback-model.d.ts +94 -0
- package/dist/core/fallback-model.d.ts.map +1 -0
- package/dist/core/fleet-pulse.d.ts +42 -0
- package/dist/core/fleet-pulse.d.ts.map +1 -0
- package/dist/core/input-builder.d.ts +95 -0
- package/dist/core/input-builder.d.ts.map +1 -0
- package/dist/core/instruction-bundle.d.ts +22 -0
- package/dist/core/instruction-bundle.d.ts.map +1 -0
- package/dist/core/iteration-limit.d.ts +35 -0
- package/dist/core/iteration-limit.d.ts.map +1 -0
- package/dist/core/mailbox-loop.d.ts +63 -0
- package/dist/core/mailbox-loop.d.ts.map +1 -0
- package/dist/core/modes/brief.d.ts +2 -0
- package/dist/core/modes/brief.d.ts.map +1 -0
- package/dist/core/modes/default.d.ts +8 -0
- package/dist/core/modes/default.d.ts.map +1 -0
- package/dist/core/modes/teach.d.ts +2 -0
- package/dist/core/modes/teach.d.ts.map +1 -0
- package/dist/core/provider-runner.d.ts +24 -0
- package/dist/core/provider-runner.d.ts.map +1 -0
- package/dist/core/queued-messages.d.ts +55 -0
- package/dist/core/queued-messages.d.ts.map +1 -0
- package/dist/core/run-env.d.ts +49 -0
- package/dist/core/run-env.d.ts.map +1 -0
- package/dist/core/streaming-response-builder.d.ts +78 -0
- package/dist/core/streaming-response-builder.d.ts.map +1 -0
- package/dist/core/system-prompt-builder.d.ts +213 -0
- package/dist/core/system-prompt-builder.d.ts.map +1 -0
- package/dist/defaults/index.d.ts +68 -158
- package/dist/defaults/index.d.ts.map +1 -0
- package/dist/defaults/index.js +1257 -819
- package/dist/defaults/index.js.map +7 -1
- package/dist/execution/auto-compaction-middleware.d.ts +123 -0
- package/dist/execution/auto-compaction-middleware.d.ts.map +1 -0
- package/dist/execution/autonomous-runner.d.ts +55 -0
- package/dist/execution/autonomous-runner.d.ts.map +1 -0
- package/dist/execution/autonomy-brain.d.ts +90 -0
- package/dist/execution/autonomy-brain.d.ts.map +1 -0
- package/dist/execution/autonomy-prompt-contributor.d.ts +39 -0
- package/dist/execution/autonomy-prompt-contributor.d.ts.map +1 -0
- package/dist/execution/compaction-core.d.ts +103 -0
- package/dist/execution/compaction-core.d.ts.map +1 -0
- package/dist/execution/compactor.d.ts +56 -0
- package/dist/execution/compactor.d.ts.map +1 -0
- package/dist/execution/design-color.d.ts +31 -0
- package/dist/execution/design-color.d.ts.map +1 -0
- package/dist/execution/design-detect.d.ts +96 -0
- package/dist/execution/design-detect.d.ts.map +1 -0
- package/dist/execution/design-kit-loader.d.ts +53 -0
- package/dist/execution/design-kit-loader.d.ts.map +1 -0
- package/dist/execution/design-materialize.d.ts +32 -0
- package/dist/execution/design-materialize.d.ts.map +1 -0
- package/dist/execution/design-project-store.d.ts +57 -0
- package/dist/execution/design-project-store.d.ts.map +1 -0
- package/dist/execution/design-verify.d.ts +44 -0
- package/dist/execution/design-verify.d.ts.map +1 -0
- package/dist/execution/error-handler.d.ts +34 -0
- package/dist/execution/error-handler.d.ts.map +1 -0
- package/dist/{parallel-eternal-engine-HUrtePLd.d.ts → execution/eternal-autonomy.d.ts} +10 -225
- package/dist/execution/eternal-autonomy.d.ts.map +1 -0
- package/dist/execution/goal-preamble.d.ts +2 -0
- package/dist/execution/goal-preamble.d.ts.map +1 -0
- package/dist/execution/index.d.ts +21 -180
- package/dist/execution/index.d.ts.map +1 -0
- package/dist/execution/index.js +465 -180
- package/dist/execution/index.js.map +7 -1
- package/dist/execution/intelligent-compactor.d.ts +85 -0
- package/dist/execution/intelligent-compactor.d.ts.map +1 -0
- package/dist/execution/model-runtime.d.ts +75 -0
- package/dist/execution/model-runtime.d.ts.map +1 -0
- package/dist/execution/parallel-eternal-engine.d.ts +130 -0
- package/dist/execution/parallel-eternal-engine.d.ts.map +1 -0
- package/dist/execution/prompt-enhancer.d.ts +12 -13
- package/dist/execution/prompt-enhancer.d.ts.map +1 -0
- package/dist/execution/prompt-enhancer.js +13 -7
- package/dist/execution/prompt-enhancer.js.map +7 -1
- package/dist/execution/prompt-loader.d.ts +52 -0
- package/dist/execution/prompt-loader.d.ts.map +1 -0
- package/dist/execution/provider-runner-impl.d.ts +14 -0
- package/dist/execution/provider-runner-impl.d.ts.map +1 -0
- package/dist/execution/regex-patterns.d.ts +7 -0
- package/dist/execution/regex-patterns.d.ts.map +1 -0
- package/dist/execution/retry-policy.d.ts +35 -0
- package/dist/execution/retry-policy.d.ts.map +1 -0
- package/dist/execution/selective-compactor.d.ts +94 -0
- package/dist/execution/selective-compactor.d.ts.map +1 -0
- package/dist/execution/skill-loader.d.ts +43 -0
- package/dist/execution/skill-loader.d.ts.map +1 -0
- package/dist/execution/strategy-compactor.d.ts +43 -0
- package/dist/execution/strategy-compactor.d.ts.map +1 -0
- package/dist/execution/tool-executor.d.ts +112 -0
- package/dist/execution/tool-executor.d.ts.map +1 -0
- package/dist/extension/extension-points.d.ts +121 -0
- package/dist/extension/extension-points.d.ts.map +1 -0
- package/dist/extension/index.d.ts +3 -10
- package/dist/extension/index.d.ts.map +1 -0
- package/dist/extension/index.js +59 -5
- package/dist/extension/index.js.map +7 -1
- package/dist/extension/registry.d.ts +86 -0
- package/dist/extension/registry.d.ts.map +1 -0
- package/dist/fleet-notifier.d.ts +28 -0
- package/dist/fleet-notifier.d.ts.map +1 -0
- package/dist/hooks/http-executor.d.ts +11 -0
- package/dist/hooks/http-executor.d.ts.map +1 -0
- package/dist/hooks/index.d.ts +10 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/registry.d.ts +71 -0
- package/dist/hooks/registry.d.ts.map +1 -0
- package/dist/hooks/runner.d.ts +65 -0
- package/dist/hooks/runner.d.ts.map +1 -0
- package/dist/hooks/shell-executor.d.ts +33 -0
- package/dist/hooks/shell-executor.d.ts.map +1 -0
- package/dist/hooks/shell-hooks-equal.d.ts +15 -0
- package/dist/hooks/shell-hooks-equal.d.ts.map +1 -0
- package/dist/hq/agent-bridge.d.ts +27 -0
- package/dist/hq/agent-bridge.d.ts.map +1 -0
- package/dist/hq/alerts.d.ts +67 -0
- package/dist/hq/alerts.d.ts.map +1 -0
- package/dist/hq/auth-store.d.ts +161 -0
- package/dist/hq/auth-store.d.ts.map +1 -0
- package/dist/hq/brain-bridge.d.ts +37 -0
- package/dist/hq/brain-bridge.d.ts.map +1 -0
- package/dist/hq/commands.d.ts +122 -0
- package/dist/hq/commands.d.ts.map +1 -0
- package/dist/hq/cost-bridge.d.ts +36 -0
- package/dist/hq/cost-bridge.d.ts.map +1 -0
- package/dist/hq/factory.d.ts +66 -0
- package/dist/hq/factory.d.ts.map +1 -0
- package/dist/hq/fleet-bridge.d.ts +39 -0
- package/dist/hq/fleet-bridge.d.ts.map +1 -0
- package/dist/hq/index.d.ts +18 -816
- package/dist/hq/index.d.ts.map +1 -0
- package/dist/hq/index.js +417 -122
- package/dist/hq/index.js.map +7 -1
- package/dist/hq/mailbox-mapper.d.ts +27 -0
- package/dist/hq/mailbox-mapper.d.ts.map +1 -0
- package/dist/hq/persistence.d.ts +121 -0
- package/dist/hq/persistence.d.ts.map +1 -0
- package/dist/hq/protocol.d.ts +560 -0
- package/dist/hq/protocol.d.ts.map +1 -0
- package/dist/hq/publisher.d.ts +177 -0
- package/dist/hq/publisher.d.ts.map +1 -0
- package/dist/hq/redaction.d.ts +30 -0
- package/dist/hq/redaction.d.ts.map +1 -0
- package/dist/hq/session-bridge.d.ts +29 -0
- package/dist/hq/session-bridge.d.ts.map +1 -0
- package/dist/hq/tool-bridge.d.ts +41 -0
- package/dist/hq/tool-bridge.d.ts.map +1 -0
- package/dist/hq/transcript-mapper.d.ts +36 -0
- package/dist/hq/transcript-mapper.d.ts.map +1 -0
- package/dist/hq/worktree-bridge.d.ts +34 -0
- package/dist/hq/worktree-bridge.d.ts.map +1 -0
- package/dist/index.d.ts +108 -2872
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2724 -1344
- package/dist/index.js.map +7 -1
- package/dist/infrastructure/context-manager.d.ts +92 -0
- package/dist/infrastructure/context-manager.d.ts.map +1 -0
- package/dist/infrastructure/index.d.ts +6 -64
- package/dist/infrastructure/index.d.ts.map +1 -0
- package/dist/infrastructure/index.js +39 -12
- package/dist/infrastructure/index.js.map +7 -1
- package/dist/infrastructure/logger.d.ts +99 -0
- package/dist/infrastructure/logger.d.ts.map +1 -0
- package/dist/infrastructure/mcp-servers.d.ts +83 -0
- package/dist/infrastructure/mcp-servers.d.ts.map +1 -0
- package/dist/{path-resolver-CMS5307d.d.ts → infrastructure/path-resolver.d.ts} +3 -5
- package/dist/infrastructure/path-resolver.d.ts.map +1 -0
- package/dist/infrastructure/token-counter.d.ts +57 -0
- package/dist/infrastructure/token-counter.d.ts.map +1 -0
- package/dist/kernel/container.d.ts +84 -0
- package/dist/kernel/container.d.ts.map +1 -0
- package/dist/{events-Bgnh43r9.d.ts → kernel/events.d.ts} +112 -206
- package/dist/kernel/events.d.ts.map +1 -0
- package/dist/kernel/index.d.ts +6 -107
- package/dist/kernel/index.d.ts.map +1 -0
- package/dist/kernel/index.js +56 -4
- package/dist/kernel/index.js.map +7 -1
- package/dist/kernel/pipeline.d.ts +105 -0
- package/dist/kernel/pipeline.d.ts.map +1 -0
- package/dist/kernel/run-controller.d.ts +55 -0
- package/dist/kernel/run-controller.d.ts.map +1 -0
- package/dist/kernel/tokens.d.ts +53 -0
- package/dist/kernel/tokens.d.ts.map +1 -0
- package/dist/mailbox-attach.d.ts +27 -0
- package/dist/mailbox-attach.d.ts.map +1 -0
- package/dist/middleware/collab-pause.d.ts +73 -0
- package/dist/middleware/collab-pause.d.ts.map +1 -0
- package/dist/models/codex-catalog.d.ts +41 -0
- package/dist/models/codex-catalog.d.ts.map +1 -0
- package/dist/models/index.d.ts +8 -163
- package/dist/models/index.d.ts.map +1 -0
- package/dist/models/index.js +150 -51
- package/dist/models/index.js.map +7 -1
- package/dist/models/llm-selector.d.ts +47 -0
- package/dist/models/llm-selector.d.ts.map +1 -0
- package/dist/models/mode-store.d.ts +22 -0
- package/dist/models/mode-store.d.ts.map +1 -0
- package/dist/models/model-intelligence.d.ts +56 -0
- package/dist/models/model-intelligence.d.ts.map +1 -0
- package/dist/models/model-router.d.ts +100 -0
- package/dist/models/model-router.d.ts.map +1 -0
- package/dist/models/models-registry.d.ts +106 -0
- package/dist/models/models-registry.d.ts.map +1 -0
- package/dist/models/provider-model-resolve.d.ts +69 -0
- package/dist/models/provider-model-resolve.d.ts.map +1 -0
- package/dist/observability/event-bridge.d.ts +10 -0
- package/dist/observability/event-bridge.d.ts.map +1 -0
- package/dist/observability/health.d.ts +18 -0
- package/dist/observability/health.d.ts.map +1 -0
- package/dist/observability/index.d.ts +9 -354
- package/dist/observability/index.d.ts.map +1 -0
- package/dist/observability/index.js +21 -8
- package/dist/observability/index.js.map +7 -1
- package/dist/observability/metrics.d.ts +26 -0
- package/dist/observability/metrics.d.ts.map +1 -0
- package/dist/observability/otel-tracer.d.ts +41 -0
- package/dist/observability/otel-tracer.d.ts.map +1 -0
- package/dist/observability/otlp-metrics.d.ts +111 -0
- package/dist/observability/otlp-metrics.d.ts.map +1 -0
- package/dist/observability/otlp-traces.d.ts +95 -0
- package/dist/observability/otlp-traces.d.ts.map +1 -0
- package/dist/observability/prometheus.d.ts +49 -0
- package/dist/observability/prometheus.d.ts.map +1 -0
- package/dist/observability/tracer.d.ts +9 -0
- package/dist/observability/tracer.d.ts.map +1 -0
- package/dist/plugin/api.d.ts +226 -0
- package/dist/plugin/api.d.ts.map +1 -0
- package/dist/plugin/loader.d.ts +73 -0
- package/dist/plugin/loader.d.ts.map +1 -0
- package/dist/plugins/chimera-plugin.d.ts +37 -0
- package/dist/plugins/chimera-plugin.d.ts.map +1 -0
- package/dist/plugins/git-plugin.d.ts +15 -0
- package/dist/plugins/git-plugin.d.ts.map +1 -0
- package/dist/plugins/observability-plugin.d.ts +19 -0
- package/dist/plugins/observability-plugin.d.ts.map +1 -0
- package/dist/plugins/plan-plugin.d.ts +16 -0
- package/dist/plugins/plan-plugin.d.ts.map +1 -0
- package/dist/plugins/prompts-plugin.d.ts +26 -0
- package/dist/plugins/prompts-plugin.d.ts.map +1 -0
- package/dist/plugins/security-plugin.d.ts +19 -0
- package/dist/plugins/security-plugin.d.ts.map +1 -0
- package/dist/plugins/skills-plugin.d.ts +42 -0
- package/dist/plugins/skills-plugin.d.ts.map +1 -0
- package/dist/plugins/sync-plugin.d.ts +22 -0
- package/dist/plugins/sync-plugin.d.ts.map +1 -0
- package/dist/prompts/index.d.ts +3 -0
- package/dist/prompts/index.d.ts.map +1 -0
- package/dist/prompts/prompt-installer.d.ts +50 -0
- package/dist/prompts/prompt-installer.d.ts.map +1 -0
- package/dist/prompts/prompt-manifest-store.d.ts +18 -0
- package/dist/prompts/prompt-manifest-store.d.ts.map +1 -0
- package/dist/registry/provider-registry.d.ts +51 -0
- package/dist/registry/provider-registry.d.ts.map +1 -0
- package/dist/registry/slash-command-registry.d.ts +61 -0
- package/dist/registry/slash-command-registry.d.ts.map +1 -0
- package/dist/registry/tool-registry.d.ts +154 -0
- package/dist/registry/tool-registry.d.ts.map +1 -0
- package/dist/replay/hash.d.ts +31 -0
- package/dist/replay/hash.d.ts.map +1 -0
- package/dist/replay/replay-provider-runner.d.ts +53 -0
- package/dist/replay/replay-provider-runner.d.ts.map +1 -0
- package/dist/{index-CbyuOE5y.d.ts → security/capabilities.d.ts} +31 -34
- package/dist/security/capabilities.d.ts.map +1 -0
- package/dist/security/config-secrets.d.ts +25 -0
- package/dist/security/config-secrets.d.ts.map +1 -0
- package/dist/security/index.d.ts +6 -8
- package/dist/security/index.d.ts.map +1 -0
- package/dist/security/index.js +102 -381
- package/dist/security/index.js.map +7 -1
- package/dist/security/permission-policy.d.ts +153 -0
- package/dist/security/permission-policy.d.ts.map +1 -0
- package/dist/security/secret-scrubber.d.ts +14 -0
- package/dist/security/secret-scrubber.d.ts.map +1 -0
- package/dist/security/secret-vault.d.ts +87 -0
- package/dist/security/secret-vault.d.ts.map +1 -0
- package/dist/security/yolo-risk.d.ts +11 -0
- package/dist/security/yolo-risk.d.ts.map +1 -0
- package/dist/{session-registry-Dvg7i_IA.d.ts → session-registry.d.ts} +8 -9
- package/dist/session-registry.d.ts.map +1 -0
- package/dist/skills/foreign-sources.d.ts +59 -0
- package/dist/skills/foreign-sources.d.ts.map +1 -0
- package/dist/skills/frontmatter.d.ts +44 -0
- package/dist/skills/frontmatter.d.ts.map +1 -0
- package/dist/skills/github-fetcher.d.ts +38 -0
- package/dist/skills/github-fetcher.d.ts.map +1 -0
- package/dist/skills/index.d.ts +11 -582
- package/dist/skills/index.d.ts.map +1 -0
- package/dist/skills/index.js +81 -43
- package/dist/skills/index.js.map +7 -1
- package/dist/skills/limits.d.ts +92 -0
- package/dist/skills/limits.d.ts.map +1 -0
- package/dist/skills/manifest-store.d.ts +42 -0
- package/dist/skills/manifest-store.d.ts.map +1 -0
- package/dist/skills/registry/github-direct-adapter.d.ts +17 -0
- package/dist/skills/registry/github-direct-adapter.d.ts.map +1 -0
- package/dist/skills/registry/registry-adapter.d.ts +84 -0
- package/dist/skills/registry/registry-adapter.d.ts.map +1 -0
- package/dist/skills/registry/skills-sh-adapter.d.ts +13 -0
- package/dist/skills/registry/skills-sh-adapter.d.ts.map +1 -0
- package/dist/skills/skill-generator.d.ts +82 -0
- package/dist/skills/skill-generator.d.ts.map +1 -0
- package/dist/skills/skill-installer.d.ts +124 -0
- package/dist/skills/skill-installer.d.ts.map +1 -0
- package/dist/storage/annotations-store.d.ts +118 -0
- package/dist/storage/annotations-store.d.ts.map +1 -0
- package/dist/storage/attachment-store.d.ts +31 -0
- package/dist/storage/attachment-store.d.ts.map +1 -0
- package/dist/storage/cloud-sync.d.ts +44 -0
- package/dist/storage/cloud-sync.d.ts.map +1 -0
- package/dist/storage/completed-work-checkpoint.d.ts +11 -0
- package/dist/storage/completed-work-checkpoint.d.ts.map +1 -0
- package/dist/storage/config-loader.d.ts +104 -0
- package/dist/storage/config-loader.d.ts.map +1 -0
- package/dist/storage/config-migration.d.ts +87 -0
- package/dist/storage/config-migration.d.ts.map +1 -0
- package/dist/storage/config-store.d.ts +22 -0
- package/dist/storage/config-store.d.ts.map +1 -0
- package/dist/{director-state-CMS_bMs4.d.ts → storage/director-state.d.ts} +28 -8
- package/dist/storage/director-state.d.ts.map +1 -0
- package/dist/storage/file-session-writer.d.ts +169 -0
- package/dist/storage/file-session-writer.d.ts.map +1 -0
- package/dist/{goal-store-Datpp-ar.d.ts → storage/goal-store.d.ts} +26 -19
- package/dist/storage/goal-store.d.ts.map +1 -0
- package/dist/storage/index.d.ts +39 -1031
- package/dist/storage/index.d.ts.map +1 -0
- package/dist/storage/index.js +655 -300
- package/dist/storage/index.js.map +7 -1
- package/dist/storage/input-history-store.d.ts +56 -0
- package/dist/storage/input-history-store.d.ts.map +1 -0
- package/dist/storage/memory-backend.d.ts +66 -0
- package/dist/storage/memory-backend.d.ts.map +1 -0
- package/dist/storage/memory-consolidator.d.ts +50 -0
- package/dist/storage/memory-consolidator.d.ts.map +1 -0
- package/dist/storage/memory-graph-backend.d.ts +117 -0
- package/dist/storage/memory-graph-backend.d.ts.map +1 -0
- package/dist/storage/memory-store.d.ts +119 -0
- package/dist/storage/memory-store.d.ts.map +1 -0
- package/dist/storage/plan-store.d.ts +78 -0
- package/dist/storage/plan-store.d.ts.map +1 -0
- package/dist/storage/plan-templates.d.ts +21 -0
- package/dist/storage/plan-templates.d.ts.map +1 -0
- package/dist/storage/prompt-store.d.ts +37 -0
- package/dist/storage/prompt-store.d.ts.map +1 -0
- package/dist/storage/prompt-usage-store.d.ts +29 -0
- package/dist/storage/prompt-usage-store.d.ts.map +1 -0
- package/dist/storage/provider-config-watcher.d.ts +34 -0
- package/dist/storage/provider-config-watcher.d.ts.map +1 -0
- package/dist/storage/queue-store.d.ts +37 -0
- package/dist/storage/queue-store.d.ts.map +1 -0
- package/dist/storage/recovery-lock.d.ts +79 -0
- package/dist/storage/recovery-lock.d.ts.map +1 -0
- package/dist/storage/replay-log-store.d.ts +97 -0
- package/dist/storage/replay-log-store.d.ts.map +1 -0
- package/dist/storage/session-analyzer.d.ts +48 -0
- package/dist/storage/session-analyzer.d.ts.map +1 -0
- package/dist/storage/session-checkpoint-cas.d.ts +37 -0
- package/dist/storage/session-checkpoint-cas.d.ts.map +1 -0
- package/dist/{session-event-bridge-D_z_mBwk.d.ts → storage/session-event-bridge.d.ts} +14 -15
- package/dist/storage/session-event-bridge.d.ts.map +1 -0
- package/dist/storage/session-helpers.d.ts +9 -0
- package/dist/storage/session-helpers.d.ts.map +1 -0
- package/dist/storage/session-id.d.ts +18 -0
- package/dist/storage/session-id.d.ts.map +1 -0
- package/dist/storage/session-reader.d.ts +21 -0
- package/dist/storage/session-reader.d.ts.map +1 -0
- package/dist/storage/session-recovery.d.ts +93 -0
- package/dist/storage/session-recovery.d.ts.map +1 -0
- package/dist/storage/session-resume-validation.d.ts +6 -0
- package/dist/storage/session-resume-validation.d.ts.map +1 -0
- package/dist/storage/session-rewinder.d.ts +21 -0
- package/dist/storage/session-rewinder.d.ts.map +1 -0
- package/dist/storage/session-store.d.ts +210 -0
- package/dist/storage/session-store.d.ts.map +1 -0
- package/dist/storage/session-summary.d.ts +12 -0
- package/dist/storage/session-summary.d.ts.map +1 -0
- package/dist/storage/session-tool-call-ends.d.ts +5 -0
- package/dist/storage/session-tool-call-ends.d.ts.map +1 -0
- package/dist/storage/storage-concurrency.d.ts +2 -0
- package/dist/storage/storage-concurrency.d.ts.map +1 -0
- package/dist/storage/task-store.d.ts +33 -0
- package/dist/storage/task-store.d.ts.map +1 -0
- package/dist/storage/todos-checkpoint.d.ts +39 -0
- package/dist/storage/todos-checkpoint.d.ts.map +1 -0
- package/dist/storage/tool-audit-log.d.ts +141 -0
- package/dist/storage/tool-audit-log.d.ts.map +1 -0
- package/dist/tasking/index.d.ts +3 -124
- package/dist/tasking/index.d.ts.map +1 -0
- package/dist/tasking/index.js +57 -4
- package/dist/tasking/index.js.map +7 -1
- package/dist/tasking/task-store.d.ts +22 -0
- package/dist/tasking/task-store.d.ts.map +1 -0
- package/dist/tasking/task-tracker.d.ts +102 -0
- package/dist/tasking/task-tracker.d.ts.map +1 -0
- package/dist/tools/index.d.ts +2 -59
- package/dist/tools/index.d.ts.map +1 -0
- package/dist/tools/index.js +93 -14
- package/dist/tools/index.js.map +7 -1
- package/dist/tools/mcp-control.d.ts +53 -0
- package/dist/tools/mcp-control.d.ts.map +1 -0
- package/dist/tools/mcp-use.d.ts +24 -0
- package/dist/tools/mcp-use.d.ts.map +1 -0
- package/dist/types/agent-bridge.d.ts +42 -0
- package/dist/types/agent-bridge.d.ts.map +1 -0
- package/dist/types/attachment.d.ts +54 -0
- package/dist/types/attachment.d.ts.map +1 -0
- package/dist/types/autonomy.d.ts +5 -0
- package/dist/types/autonomy.d.ts.map +1 -0
- package/dist/types/blocks.d.ts +76 -0
- package/dist/types/blocks.d.ts.map +1 -0
- package/dist/{compactor-DQLL4HTo.d.ts → types/compactor.d.ts} +5 -7
- package/dist/types/compactor.d.ts.map +1 -0
- package/dist/{config-MRqn1V-u.d.ts → types/config.d.ts} +135 -354
- package/dist/types/config.d.ts.map +1 -0
- package/dist/types/context-evidence.d.ts +68 -0
- package/dist/types/context-evidence.d.ts.map +1 -0
- package/dist/types/context-window.d.ts +35 -0
- package/dist/types/context-window.d.ts.map +1 -0
- package/dist/{default-config-B79_gJYv.d.ts → types/default-config.d.ts} +10 -11
- package/dist/types/default-config.d.ts.map +1 -0
- package/dist/types/design-kit.d.ts +91 -0
- package/dist/types/design-kit.d.ts.map +1 -0
- package/dist/{retry-policy-CQ7KwXJa.d.ts → types/error-handler.d.ts} +5 -12
- package/dist/types/error-handler.d.ts.map +1 -0
- package/dist/types/errors.d.ts +277 -0
- package/dist/types/errors.d.ts.map +1 -0
- package/dist/types/hooks.d.ts +167 -0
- package/dist/types/hooks.d.ts.map +1 -0
- package/dist/types/index.d.ts +40 -244
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +90 -12
- package/dist/types/index.js.map +7 -1
- package/dist/{input-reader-E-ffP2ee.d.ts → types/input-reader.d.ts} +3 -4
- package/dist/types/input-reader.d.ts.map +1 -0
- package/dist/{logger-B63L5bTg.d.ts → types/logger.d.ts} +3 -4
- package/dist/types/logger.d.ts.map +1 -0
- package/dist/types/memory.d.ts +89 -0
- package/dist/types/memory.d.ts.map +1 -0
- package/dist/types/messages.d.ts +24 -0
- package/dist/types/messages.d.ts.map +1 -0
- package/dist/types/mode-prompts.d.ts +2 -0
- package/dist/types/mode-prompts.d.ts.map +1 -0
- package/dist/{mode-CZlO9iU1.d.ts → types/mode.d.ts} +6 -7
- package/dist/types/mode.d.ts.map +1 -0
- package/dist/types/models-registry.d.ts +105 -0
- package/dist/types/models-registry.d.ts.map +1 -0
- package/dist/types/multi-agent.d.ts +435 -0
- package/dist/types/multi-agent.d.ts.map +1 -0
- package/dist/{observability-D-HZN_mF.d.ts → types/observability.d.ts} +12 -13
- package/dist/types/observability.d.ts.map +1 -0
- package/dist/{path-resolver-CPRj4bFY.d.ts → types/path-resolver.d.ts} +2 -3
- package/dist/types/path-resolver.d.ts.map +1 -0
- package/dist/{permission-ByDKXEcG.d.ts → types/permission.d.ts} +8 -9
- package/dist/types/permission.d.ts.map +1 -0
- package/dist/types/plugin.d.ts +385 -0
- package/dist/types/plugin.d.ts.map +1 -0
- package/dist/types/prompt-registry.d.ts +81 -0
- package/dist/types/prompt-registry.d.ts.map +1 -0
- package/dist/{prompt-DLd35n4Q.d.ts → types/prompt.d.ts} +14 -15
- package/dist/types/prompt.d.ts.map +1 -0
- package/dist/{provider-runner-ChL-kVg6.d.ts → types/provider-runner.d.ts} +9 -10
- package/dist/types/provider-runner.d.ts.map +1 -0
- package/dist/types/provider.d.ts +387 -0
- package/dist/types/provider.d.ts.map +1 -0
- package/dist/types/renderer.d.ts +23 -0
- package/dist/types/renderer.d.ts.map +1 -0
- package/dist/types/retry-policy.d.ts +7 -0
- package/dist/types/retry-policy.d.ts.map +1 -0
- package/dist/types/secret-scrubber.d.ts +5 -0
- package/dist/types/secret-scrubber.d.ts.map +1 -0
- package/dist/{secret-vault-BAKpgFw_.d.ts → types/secret-vault.d.ts} +13 -7
- package/dist/types/secret-vault.d.ts.map +1 -0
- package/dist/{selector-D8O6B_Rm.d.ts → types/selector.d.ts} +4 -6
- package/dist/types/selector.d.ts.map +1 -0
- package/dist/types/session-reader.d.ts +81 -0
- package/dist/types/session-reader.d.ts.map +1 -0
- package/dist/{session-rewinder-C9HnMkhP.d.ts → types/session-rewinder.d.ts} +5 -6
- package/dist/types/session-rewinder.d.ts.map +1 -0
- package/dist/types/session.d.ts +650 -0
- package/dist/types/session.d.ts.map +1 -0
- package/dist/types/side-effect.d.ts +34 -0
- package/dist/types/side-effect.d.ts.map +1 -0
- package/dist/{skill-DHniprNl.d.ts → types/skill.d.ts} +4 -5
- package/dist/types/skill.d.ts.map +1 -0
- package/dist/types/slash-command.d.ts +59 -0
- package/dist/types/slash-command.d.ts.map +1 -0
- package/dist/types/spec.d.ts +77 -0
- package/dist/types/spec.d.ts.map +1 -0
- package/dist/types/system-prompt-contributor.d.ts +20 -0
- package/dist/types/system-prompt-contributor.d.ts.map +1 -0
- package/dist/types/system-prompt.d.ts +51 -0
- package/dist/types/system-prompt.d.ts.map +1 -0
- package/dist/{task-graph-CH3acNQ7.d.ts → types/task-graph.d.ts} +21 -22
- package/dist/types/task-graph.d.ts.map +1 -0
- package/dist/types/token-counter.d.ts +42 -0
- package/dist/types/token-counter.d.ts.map +1 -0
- package/dist/types/tool-executor.d.ts +133 -0
- package/dist/types/tool-executor.d.ts.map +1 -0
- package/dist/types/tool-markers.d.ts +23 -0
- package/dist/types/tool-markers.d.ts.map +1 -0
- package/dist/types/tool.d.ts +245 -0
- package/dist/types/tool.d.ts.map +1 -0
- package/dist/types/utility-types.d.ts +31 -0
- package/dist/types/utility-types.d.ts.map +1 -0
- package/dist/utils/assert-never.d.ts +14 -0
- package/dist/utils/assert-never.d.ts.map +1 -0
- package/dist/utils/atomic-write.d.ts +12 -0
- package/dist/utils/atomic-write.d.ts.map +1 -0
- package/dist/utils/child-env.d.ts +67 -0
- package/dist/utils/child-env.d.ts.map +1 -0
- package/dist/utils/color.d.ts +20 -0
- package/dist/utils/color.d.ts.map +1 -0
- package/dist/utils/config-json.d.ts +14 -0
- package/dist/utils/config-json.d.ts.map +1 -0
- package/dist/utils/context-evidence.d.ts +47 -0
- package/dist/utils/context-evidence.d.ts.map +1 -0
- package/dist/utils/deep-merge.d.ts +64 -0
- package/dist/utils/deep-merge.d.ts.map +1 -0
- package/dist/utils/diff.d.ts +11 -0
- package/dist/utils/diff.d.ts.map +1 -0
- package/dist/utils/error.d.ts +2 -3
- package/dist/utils/error.d.ts.map +1 -0
- package/dist/utils/error.js +3 -3
- package/dist/utils/error.js.map +7 -1
- package/dist/utils/expect-defined.d.ts +2 -3
- package/dist/utils/expect-defined.d.ts.map +1 -0
- package/dist/utils/expect-defined.js +3 -3
- package/dist/utils/expect-defined.js.map +7 -1
- package/dist/utils/glob-expand.d.ts +10 -0
- package/dist/utils/glob-expand.d.ts.map +1 -0
- package/dist/utils/glob-match.d.ts +4 -0
- package/dist/utils/glob-match.d.ts.map +1 -0
- package/dist/utils/index.d.ts +37 -920
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +242 -33
- package/dist/utils/index.js.map +7 -1
- package/dist/utils/instruction-file.d.ts +3 -0
- package/dist/utils/instruction-file.d.ts.map +1 -0
- package/dist/utils/ip-guard.d.ts +34 -0
- package/dist/utils/ip-guard.d.ts.map +1 -0
- package/dist/utils/json-repair.d.ts +23 -0
- package/dist/utils/json-repair.d.ts.map +1 -0
- package/dist/utils/json-schema-validate.d.ts +42 -0
- package/dist/utils/json-schema-validate.d.ts.map +1 -0
- package/dist/utils/lru-cache.d.ts +29 -0
- package/dist/utils/lru-cache.d.ts.map +1 -0
- package/dist/utils/merge-custom-models.d.ts +12 -0
- package/dist/utils/merge-custom-models.d.ts.map +1 -0
- package/dist/utils/merge-models-payload.d.ts +20 -0
- package/dist/utils/merge-models-payload.d.ts.map +1 -0
- package/dist/utils/message-invariants.d.ts +22 -0
- package/dist/utils/message-invariants.d.ts.map +1 -0
- package/dist/utils/newline-normalize.d.ts +5 -0
- package/dist/utils/newline-normalize.d.ts.map +1 -0
- package/dist/utils/regex-guard.d.ts +21 -0
- package/dist/utils/regex-guard.d.ts.map +1 -0
- package/dist/utils/safe-json.d.ts +31 -0
- package/dist/utils/safe-json.d.ts.map +1 -0
- package/dist/utils/session-scoped-path.d.ts +13 -0
- package/dist/utils/session-scoped-path.d.ts.map +1 -0
- package/dist/utils/sleep.d.ts +5 -0
- package/dist/utils/sleep.d.ts.map +1 -0
- package/dist/utils/slug.d.ts +13 -0
- package/dist/utils/slug.d.ts.map +1 -0
- package/dist/utils/string.d.ts +9 -0
- package/dist/utils/string.d.ts.map +1 -0
- package/dist/utils/task-format.d.ts +22 -0
- package/dist/utils/task-format.d.ts.map +1 -0
- package/dist/utils/term.d.ts +133 -0
- package/dist/utils/term.d.ts.map +1 -0
- package/dist/utils/todos-format.d.ts +30 -0
- package/dist/utils/todos-format.d.ts.map +1 -0
- package/dist/utils/token-estimate.d.ts +112 -0
- package/dist/utils/token-estimate.d.ts.map +1 -0
- package/dist/utils/tool-description-mode.d.ts +28 -0
- package/dist/utils/tool-description-mode.d.ts.map +1 -0
- package/dist/utils/tool-output-serializer.d.ts +40 -0
- package/dist/utils/tool-output-serializer.d.ts.map +1 -0
- package/dist/utils/tool-result-render-mode.d.ts +55 -0
- package/dist/utils/tool-result-render-mode.d.ts.map +1 -0
- package/dist/utils/tool-subject.d.ts +5 -0
- package/dist/utils/tool-subject.d.ts.map +1 -0
- package/dist/utils/tool-wire-compact.d.ts +28 -0
- package/dist/utils/tool-wire-compact.d.ts.map +1 -0
- package/dist/utils/ulid.d.ts +11 -0
- package/dist/utils/ulid.d.ts.map +1 -0
- package/dist/{wstack-paths-C3K40Qst.d.ts → utils/wstack-paths.d.ts} +7 -8
- package/dist/utils/wstack-paths.d.ts.map +1 -0
- package/dist/worktree/index.d.ts +2 -0
- package/dist/worktree/index.d.ts.map +1 -0
- package/dist/{worktree-manager-DzwxKE35.d.ts → worktree/worktree-manager.d.ts} +19 -13
- package/dist/worktree/worktree-manager.d.ts.map +1 -0
- package/instructions/autonomy/active-mission.md +2 -4
- package/instructions/sections/tool/delegation-full.md +1 -1
- package/package.json +4 -5
- package/skills/node-modern/SKILL.md +2 -2
- package/skills/plugin-author/SKILL.md +9 -16
- package/dist/dispatcher-types.d-BBeXBQgS.d.ts +0 -66
- package/dist/global-mailbox-sZwyI6CS.d.ts +0 -959
- package/dist/index--Gm41aBJ.d.ts +0 -671
- package/dist/mcp-servers-DEV4s6Ks.d.ts +0 -259
- package/dist/multi-agent-coordinator-4RCRZKjN.d.ts +0 -1770
- package/dist/null-fleet-bus-CFoNVQEK.d.ts +0 -2127
- package/dist/pipeline-DGDyIohT.d.ts +0 -331
- package/dist/provider-model-resolve-o2hHLs79.d.ts +0 -263
- package/dist/secret-scrubber-3MHDDAtm.d.ts +0 -6
- package/dist/secret-vault-DxohkUBc.d.ts +0 -272
- package/dist/session-reader-7Esxrkpw.d.ts +0 -155
- package/dist/task-format-GX0B1mMC.d.ts +0 -23
- package/dist/todos-checkpoint-FY7PjmMx.d.ts +0 -850
- package/dist/tool-BNlnIJvo.d.ts +0 -2190
- package/dist/tool-executor-CckSCM5E.d.ts +0 -906
|
@@ -0,0 +1,323 @@
|
|
|
1
|
+
import type { Usage } from '../types/provider.js';
|
|
2
|
+
import type { EventBus } from '../kernel/events.js';
|
|
3
|
+
export type BudgetKind = 'tool_calls' | 'iterations' | 'tokens' | 'timeout' | 'idle_timeout' | 'cost';
|
|
4
|
+
/**
|
|
5
|
+
* Fraction of the wall-clock `timeoutMs` window at which a PROACTIVE extension
|
|
6
|
+
* is negotiated — BEFORE the deadline is actually crossed. The coordinator
|
|
7
|
+
* watchdog (`executeWithTimeout`) arms at `timeoutMs * TIMEOUT_PREEMPT_FRACTION`
|
|
8
|
+
* so a still-progressing subagent gets its ceiling raised while it is below the
|
|
9
|
+
* limit, and never enters a "timed out" state. Reactive enforcement at the real
|
|
10
|
+
* deadline still stands for the no-progress / denied case. Shared so the asking
|
|
11
|
+
* side and any future caller agree on the same lead point.
|
|
12
|
+
*/
|
|
13
|
+
export declare const TIMEOUT_PREEMPT_FRACTION = 0.85;
|
|
14
|
+
/**
|
|
15
|
+
* Hard safety net for budget negotiation decisions. If no listener responds to
|
|
16
|
+
* `budget.threshold_reached` within this window the negotiation defaults to
|
|
17
|
+
* `'stop'`. Exported so the coordinator's watchdog can reuse the same ceiling
|
|
18
|
+
* without hardcoding a second copy.
|
|
19
|
+
*/
|
|
20
|
+
export declare const DECISION_TIMEOUT_MS = 60000;
|
|
21
|
+
export declare class BudgetExceededError extends Error {
|
|
22
|
+
readonly kind: BudgetKind;
|
|
23
|
+
readonly limit: number;
|
|
24
|
+
readonly observed: number;
|
|
25
|
+
constructor(kind: BudgetKind, limit: number, observed: number);
|
|
26
|
+
}
|
|
27
|
+
export interface BudgetLimits {
|
|
28
|
+
maxIterations?: number | undefined;
|
|
29
|
+
maxToolCalls?: number | undefined;
|
|
30
|
+
maxTokens?: number | undefined;
|
|
31
|
+
/** Estimated USD cost ceiling. */
|
|
32
|
+
maxCostUsd?: number | undefined;
|
|
33
|
+
/**
|
|
34
|
+
* Hard wall-clock timeout measured from `start()`. Off by default — set it
|
|
35
|
+
* explicitly only when a task must finish within an absolute window. For
|
|
36
|
+
* the everyday "don't kill an agent that's still working" guard, prefer
|
|
37
|
+
* `idleTimeoutMs`, which resets on activity.
|
|
38
|
+
*/
|
|
39
|
+
timeoutMs?: number | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* Idle timeout: the maximum gap (ms) between activity signals (iterations,
|
|
42
|
+
* tool calls, token usage, streamed progress) before the subagent is
|
|
43
|
+
* considered hung and reaped. Unlike `timeoutMs`, an actively-working
|
|
44
|
+
* agent continuously resets this clock via `markActivity()`, so it never
|
|
45
|
+
* trips on a long-but-productive run — only on a genuine stall.
|
|
46
|
+
*/
|
|
47
|
+
idleTimeoutMs?: number | undefined;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Controls how the budget behaves when `onThreshold` is set and a limit is hit.
|
|
51
|
+
*
|
|
52
|
+
* `'auto'` — emit `budget.threshold_reached` on the EventBus and wait for a
|
|
53
|
+
* coordinator response (extend/stop). If no listener responds within
|
|
54
|
+
* `DECISION_TIMEOUT_MS` the decision defaults to `'stop'`.
|
|
55
|
+
* `'sync'` — do not emit any event; treat the threshold as a hard stop and
|
|
56
|
+
* throw `BudgetExceededError` synchronously. Useful for fire-and-forget
|
|
57
|
+
* subagents that have an `onThreshold` handler for logging/metrics but are
|
|
58
|
+
* not wired into a coordinator.
|
|
59
|
+
*
|
|
60
|
+
* @default 'auto'
|
|
61
|
+
*/
|
|
62
|
+
export type BudgetNegotiationMode = 'auto' | 'sync';
|
|
63
|
+
export type BudgetSessionIdSource = string | (() => string | undefined);
|
|
64
|
+
export interface SubagentBudgetOptions {
|
|
65
|
+
sessionId?: BudgetSessionIdSource | undefined;
|
|
66
|
+
}
|
|
67
|
+
export interface BudgetUsage {
|
|
68
|
+
iterations: number;
|
|
69
|
+
toolCalls: number;
|
|
70
|
+
tokens: {
|
|
71
|
+
input: number;
|
|
72
|
+
output: number;
|
|
73
|
+
total: number;
|
|
74
|
+
};
|
|
75
|
+
costUsd: number;
|
|
76
|
+
elapsedMs: number;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Thrown by `SubagentBudget.record*` when a soft limit is hit and
|
|
80
|
+
* an `onThreshold` handler is configured that wants to ask the
|
|
81
|
+
* coordinator (via `budget.threshold_reached` event). The runner
|
|
82
|
+
* catches this and awaits the embedded `decision` promise to get
|
|
83
|
+
* the coordinator's extend/stop decision.
|
|
84
|
+
*
|
|
85
|
+
* Distinct from `BudgetExceededError` which is a hard stop.
|
|
86
|
+
*/
|
|
87
|
+
export declare class BudgetThresholdSignal extends Error {
|
|
88
|
+
readonly kind: BudgetKind;
|
|
89
|
+
readonly limit: number;
|
|
90
|
+
readonly used: number;
|
|
91
|
+
/** Resolves to 'extend' (with optional new limits) or 'stop' */
|
|
92
|
+
readonly decision: Promise<BudgetThresholdDecision>;
|
|
93
|
+
constructor(kind: BudgetKind, limit: number, used: number, decision: Promise<BudgetThresholdDecision>);
|
|
94
|
+
}
|
|
95
|
+
export type BudgetThresholdDecision = 'stop' | {
|
|
96
|
+
extend: Partial<BudgetLimits>;
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* Callback invoked when a budget limit is about to be exceeded.
|
|
100
|
+
* Return 'throw' for hard stop (default — throws BudgetExceededError).
|
|
101
|
+
* Return 'continue' to allow one more unit and re-check next time.
|
|
102
|
+
* Return a Promise to ask the coordinator via `budget.threshold_reached`
|
|
103
|
+
* event (uses the same grant/deny pattern as `iteration.limit_reached`).
|
|
104
|
+
*/
|
|
105
|
+
export type BudgetThresholdHandler = (info: {
|
|
106
|
+
kind: BudgetKind;
|
|
107
|
+
used: number;
|
|
108
|
+
limit: number;
|
|
109
|
+
requestDecision: () => Promise<BudgetThresholdDecision>;
|
|
110
|
+
/**
|
|
111
|
+
* Direct grant/deny hooks for SYNCHRONOUS policy or recording handlers that
|
|
112
|
+
* decide in-process without a wired `budget.threshold_reached` listener
|
|
113
|
+
* (e.g. the coordinator watchdog). `extend` patches the limits in place;
|
|
114
|
+
* `deny` records the intent to stop. Production listener-driven handlers use
|
|
115
|
+
* `requestDecision()` instead and can ignore these.
|
|
116
|
+
*/
|
|
117
|
+
extend?: (extra: Partial<BudgetLimits>) => void;
|
|
118
|
+
deny?: () => void;
|
|
119
|
+
}) => 'throw' | 'continue' | 'stop' | {
|
|
120
|
+
extend: Partial<BudgetLimits>;
|
|
121
|
+
} | Promise<BudgetThresholdDecision>;
|
|
122
|
+
/**
|
|
123
|
+
* Per-subagent budget enforcement. Each subagent gets its own instance so a
|
|
124
|
+
* runaway agent can't drain the cost ceiling of its siblings. All record/check
|
|
125
|
+
* methods are O(1) and safe to call from hot paths.
|
|
126
|
+
*
|
|
127
|
+
* Behavior without `onThreshold`: hard stops synchronously on every limit hit.
|
|
128
|
+
*
|
|
129
|
+
* Behavior with `onThreshold` and `_mode === 'auto'`: emits `budget.threshold_reached`
|
|
130
|
+
* on the EventBus and throws `BudgetThresholdSignal`. The coordinator's verdict
|
|
131
|
+
* (extend/stop) resolves the embedded promise. If no listener responds within
|
|
132
|
+
* `DECISION_TIMEOUT_MS` the decision defaults to `'stop'`.
|
|
133
|
+
*
|
|
134
|
+
* Behavior with `onThreshold` and `_mode === 'sync'`: throws `BudgetExceededError`
|
|
135
|
+
* synchronously regardless of EventBus state or listener presence. This is useful
|
|
136
|
+
* for fire-and-forget subagents that have an `onThreshold` handler for logging/metrics
|
|
137
|
+
* but are not wired into a coordinator — the `'sync'` mode makes the hard-stop
|
|
138
|
+
* behavior explicit and means tests can use `expect().toThrow()` even without
|
|
139
|
+
* a fully-wired EventBus.
|
|
140
|
+
*/
|
|
141
|
+
export declare class SubagentBudget {
|
|
142
|
+
readonly limits: Readonly<BudgetLimits>;
|
|
143
|
+
/** Patch one or more budget limits in-place after construction.
|
|
144
|
+
* Used by the coordinator watchdog when granting an extension.
|
|
145
|
+
* All fields are optional — only provided fields are updated.
|
|
146
|
+
* This is the single write path for limit mutations so that future
|
|
147
|
+
* validation or side-effects live in one place (M1). */
|
|
148
|
+
patchLimits(ext: Partial<BudgetLimits>): void;
|
|
149
|
+
private iterations;
|
|
150
|
+
private toolCalls;
|
|
151
|
+
private tokenInput;
|
|
152
|
+
private tokenOutput;
|
|
153
|
+
private costUsd;
|
|
154
|
+
private startTime;
|
|
155
|
+
/**
|
|
156
|
+
* Timestamp of the most recent activity (iteration / tool call / token
|
|
157
|
+
* usage / streamed progress). Drives the idle timeout — reset by
|
|
158
|
+
* `markActivity()`. Initialised to `start()` time so a never-active agent
|
|
159
|
+
* still eventually trips its idle window.
|
|
160
|
+
*/
|
|
161
|
+
private lastActivityTime;
|
|
162
|
+
private _onThreshold;
|
|
163
|
+
private readonly _sessionId;
|
|
164
|
+
/**
|
|
165
|
+
* Hard cap on how long `_negotiateExtension` waits for the coordinator to
|
|
166
|
+
* respond before defaulting to 'stop'. Without this fallback an absent
|
|
167
|
+
* or hung listener (Director not built / event filter detached mid-run)
|
|
168
|
+
* leaves the budget over-limit and never enforces anything.
|
|
169
|
+
*/
|
|
170
|
+
private static readonly DECISION_TIMEOUT_MS;
|
|
171
|
+
/**
|
|
172
|
+
* Injected by the runner when wiring the budget to its EventBus.
|
|
173
|
+
* Used to emit `budget.threshold_reached` events in `'auto'` mode.
|
|
174
|
+
*/
|
|
175
|
+
_events?: EventBus | undefined;
|
|
176
|
+
/**
|
|
177
|
+
* Guard against dual-path races between the coordinator watchdog
|
|
178
|
+
* (`executeWithTimeout`) and the budget's own `checkTimeout()`.
|
|
179
|
+
* Both paths detect `elapsed >= timeoutMs` and can emit
|
|
180
|
+
* `budget.threshold_reached` for kind `'timeout'` simultaneously.
|
|
181
|
+
* Set to the current `timeoutMs` ceiling by the coordinator BEFORE
|
|
182
|
+
* calling `onThreshold`, and cleared after the negotiation resolves.
|
|
183
|
+
* `checkTimeout()` skips its wall-clock check while this is set so
|
|
184
|
+
* the coordinator's watchdog is the sole source of wall-clock timeout
|
|
185
|
+
* events — `checkTimeout()` focuses exclusively on `idle_timeout`.
|
|
186
|
+
*/
|
|
187
|
+
private _watchdogActive;
|
|
188
|
+
/** Returns the timeout ceiling currently being negotiated by the watchdog,
|
|
189
|
+
* or `undefined` when no wall-clock negotiation is in flight.
|
|
190
|
+
* Used by `executeWithTimeout` to detect a stale lock (M3). */
|
|
191
|
+
get watchdogActive(): number | undefined;
|
|
192
|
+
/** Called by the coordinator watchdog BEFORE calling `onThreshold` so that
|
|
193
|
+
* `checkTimeout()` skips its wall-clock check for this ceiling. Prevents
|
|
194
|
+
* the budget's own `checkTimeout()` from emitting a second
|
|
195
|
+
* `budget.threshold_reached` event while the watchdog is already
|
|
196
|
+
* negotiating the same wall-clock deadline (C1). */
|
|
197
|
+
setWatchdogNegotiation(timeoutMs: number): void;
|
|
198
|
+
/** Clears the watchdog guard after negotiation resolves. Called in the
|
|
199
|
+
* `finally` block of both the pre-empt and deadline branches so it fires
|
|
200
|
+
* on every exit path: grant, deny, throw, or error. */
|
|
201
|
+
clearWatchdogNegotiation(): void;
|
|
202
|
+
/**
|
|
203
|
+
* Negotiation mode — controls whether a threshold hit tries to emit
|
|
204
|
+
* `budget.threshold_reached` and wait for a coordinator decision, or
|
|
205
|
+
* falls straight through to a synchronous hard stop.
|
|
206
|
+
*
|
|
207
|
+
* `'auto'` (default) — emit on the EventBus and wait; times out to 'stop'.
|
|
208
|
+
* `'sync'` — throw `BudgetExceededError` immediately regardless of listeners.
|
|
209
|
+
*/
|
|
210
|
+
private _mode;
|
|
211
|
+
/**
|
|
212
|
+
* Optional callback for soft-limit handling. When set, the budget will
|
|
213
|
+
* invoke it rather than throw immediately. The handler decides whether to
|
|
214
|
+
* throw synchronously, continue, or ask the coordinator for an extension.
|
|
215
|
+
*/
|
|
216
|
+
get onThreshold(): BudgetThresholdHandler | undefined;
|
|
217
|
+
set onThreshold(fn: BudgetThresholdHandler | undefined);
|
|
218
|
+
/** Returns the current negotiation mode. */
|
|
219
|
+
get mode(): BudgetNegotiationMode;
|
|
220
|
+
constructor(limits?: BudgetLimits, mode?: BudgetNegotiationMode, options?: SubagentBudgetOptions);
|
|
221
|
+
private currentSessionId;
|
|
222
|
+
start(): void;
|
|
223
|
+
/**
|
|
224
|
+
* Reset the idle clock. Called on any sign of forward progress —
|
|
225
|
+
* iterations, tool calls, token usage, and streamed tool/text progress —
|
|
226
|
+
* so a long-but-productive subagent never trips its `idleTimeoutMs`.
|
|
227
|
+
*/
|
|
228
|
+
markActivity(): void;
|
|
229
|
+
/**
|
|
230
|
+
* Milliseconds since the last activity signal. Returns 0 before `start()`
|
|
231
|
+
* (nothing to measure yet). Used by the coordinator watchdog to decide
|
|
232
|
+
* whether to re-arm (still active) or reap (genuinely idle).
|
|
233
|
+
*/
|
|
234
|
+
idleMs(): number;
|
|
235
|
+
/** Returns true if we're within 10% of any limit — useful for pre-flight checks. */
|
|
236
|
+
isNearLimit(): boolean;
|
|
237
|
+
/**
|
|
238
|
+
* Synchronous budget check. Always throws synchronously so callers (especially
|
|
239
|
+
* test event handlers using `expect().toThrow()`) get an unhandled rejection
|
|
240
|
+
* when the budget is exceeded without a handler.
|
|
241
|
+
*
|
|
242
|
+
* Decision table:
|
|
243
|
+
* - no `onThreshold` handler → throw `BudgetExceededError` (hard stop, always)
|
|
244
|
+
* - `mode === 'sync'` → throw `BudgetExceededError` (hard stop, always)
|
|
245
|
+
* - `mode === 'auto'` + no listener → throw `BudgetExceededError` (hard stop; no one to ask)
|
|
246
|
+
* - `mode === 'auto'` + listener → throw `BudgetThresholdSignal` with async decision promise
|
|
247
|
+
*/
|
|
248
|
+
/**
|
|
249
|
+
* Collects all exceeded budget kinds into a single NOOP-free negotiation.
|
|
250
|
+
* Called by recordIteration / recordToolCall / recordUsage — each may call
|
|
251
|
+
* this for its own kind. The first call starts the negotiation and stores
|
|
252
|
+
* the Promise in _pendingNegotiation. Subsequent calls for DIFFERENT
|
|
253
|
+
* kinds (while a negotiation is in flight) are NOOPs — they don't start
|
|
254
|
+
* new conversations with the coordinator. This prevents an EventBus flood
|
|
255
|
+
* when multiple budget kinds are exceeded simultaneously in one iteration.
|
|
256
|
+
*
|
|
257
|
+
* Returns the kinds that were found to be exceeded (for logging/debugging).
|
|
258
|
+
*/
|
|
259
|
+
private checkLimits;
|
|
260
|
+
/**
|
|
261
|
+
* Invoke `onThreshold` once for `entry` on the NO-LISTENER path and report
|
|
262
|
+
* whether it decided synchronously. Returns `true` when the handler returned
|
|
263
|
+
* a synchronous decision (already honored — an `extend` patched the limits),
|
|
264
|
+
* or `false` when it returned a Promise (async; the caller hard-stops, since
|
|
265
|
+
* there is no listener to resolve the negotiation). The handler is given the
|
|
266
|
+
* full info shape (`requestDecision` plus direct `extend`/`deny`) so both
|
|
267
|
+
* recording handlers and policy handlers work without a wired listener.
|
|
268
|
+
*/
|
|
269
|
+
private _invokeHandlerSync;
|
|
270
|
+
/**
|
|
271
|
+
* Emit `budget.threshold_reached` and resolve to the listener's verdict.
|
|
272
|
+
* Resolves to `'stop'` immediately when there is no listener (or no bus) so
|
|
273
|
+
* no negotiation can hang and no fallback timer leaks. Mirrors the
|
|
274
|
+
* coordinator watchdog's own request path so both agree on the no-listener
|
|
275
|
+
* default.
|
|
276
|
+
*/
|
|
277
|
+
private _busRequestDecision;
|
|
278
|
+
/**
|
|
279
|
+
* Per-kind in-flight negotiation Promises. Each budget kind can have its
|
|
280
|
+
* own concurrent negotiation — e.g. iterations and timeout can both
|
|
281
|
+
* be exceeded simultaneously without blocking each other. The same kind
|
|
282
|
+
* cannot start two concurrent negotiations (dedup guard).
|
|
283
|
+
* Cleared in `_negotiateExtension`'s `finally` block.
|
|
284
|
+
*/
|
|
285
|
+
private _pendingNegotiations;
|
|
286
|
+
/**
|
|
287
|
+
* Drive the threshold handler to a decision. Resolves with `'stop'`
|
|
288
|
+
* (signal the runner to abort) or `{ extend: ... }` (limits already
|
|
289
|
+
* patched in-place; the runner should not abort). Clears the
|
|
290
|
+
* per-kind slot in `_pendingNegotiations` in `finally`.
|
|
291
|
+
*
|
|
292
|
+
* The 'continue' return from a sync handler is treated as
|
|
293
|
+
* `{ extend: {} }` — keep going without patching; next overrun fires
|
|
294
|
+
* a fresh signal.
|
|
295
|
+
*/
|
|
296
|
+
private _negotiateExtension;
|
|
297
|
+
recordIteration(): void;
|
|
298
|
+
recordToolCall(): void;
|
|
299
|
+
recordUsage(usage: Usage, costUsd?: number): void;
|
|
300
|
+
/**
|
|
301
|
+
* Wall-clock / idle budget check. Delegates to `checkLimits(elapsed)`, so
|
|
302
|
+
* `timeout` and `idle_timeout` follow the SAME negotiation path as the other
|
|
303
|
+
* kinds — they are NOT a special-cased hard stop. This is deliberate: a
|
|
304
|
+
* heartbeat-aware policy (see `attachAutoExtend` and `CollabSession`) grants
|
|
305
|
+
* a timeout extension only while the agent is making progress and denies it
|
|
306
|
+
* once the agent is genuinely stuck, which is safer than an unconditional
|
|
307
|
+
* hard kill of a long-but-working agent. The runner translates the resulting
|
|
308
|
+
* `BudgetThresholdSignal` decision (`extend` → patch limits in place,
|
|
309
|
+
* `stop` → abort) just like every other kind.
|
|
310
|
+
*
|
|
311
|
+
* Decision table (same as `checkLimits`):
|
|
312
|
+
* - no `onThreshold` handler → throw `BudgetExceededError` (hard stop)
|
|
313
|
+
* - `mode === 'sync'` → throw `BudgetExceededError` (hard stop)
|
|
314
|
+
* - `mode === 'auto'` + no listener → throw `BudgetExceededError` (no one to ask)
|
|
315
|
+
* - `mode === 'auto'` + listener → throw `BudgetThresholdSignal` (negotiated;
|
|
316
|
+
* a heartbeat-aware policy may extend the timeout)
|
|
317
|
+
*/
|
|
318
|
+
checkTimeout(): void;
|
|
319
|
+
/** Returns true if a wall-clock or idle timeout has occurred without throwing. */
|
|
320
|
+
isTimedOut(): boolean;
|
|
321
|
+
usage(): BudgetUsage;
|
|
322
|
+
}
|
|
323
|
+
//# sourceMappingURL=subagent-budget.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subagent-budget.d.ts","sourceRoot":"","sources":["../../src/coordination/subagent-budget.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEpD,MAAM,MAAM,UAAU,GAAG,YAAY,GAAG,YAAY,GAAG,QAAQ,GAAG,SAAS,GAAG,cAAc,GAAG,MAAM,CAAC;AAEtG;;;;;;;;GAQG;AACH,eAAO,MAAM,wBAAwB,OAAO,CAAC;AAE7C;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,QAAS,CAAC;AAE1C,qBAAa,mBAAoB,SAAQ,KAAK;IAC5C,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAE1B,YAAY,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAM5D;CACF;AAED,MAAM,WAAW,YAAY;IAC3B,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAClC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,kCAAkC;IAClC,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B;;;;;;OAMG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACpC;AAED;;;;;;;;;;;;GAYG;AACH,MAAM,MAAM,qBAAqB,GAAG,MAAM,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AG,SAAS,CAEpD;IACD,IAAI,WAAW,CAAC,EAAE,EAAE,sBAAsB,GAAG,SAAS,EAErD;IAED,4CAA4C;IAC5C,IAAI,IAAI,IAAI,qBAAqB,CAEhC;IAED,YACE,MAAM,GAAE,YAAiB,EACzB,IAAI,GAAE,qBAA8B,EACpC,OAAO,GAAE,qBAA0B,EAWpC;IAED,OAAO,CAAC,gBAAgB;IAKxB,KAAK,IAAI,IAAI,CAGZ;IAED;;;;OAIG;IACH,YAAY,IAAI,IAAI,CAEnB;IAED;;;;OAIG;IACH,MAAM,IAAI,MAAM,CAGf;IAED,oFAAoF;IACpF,WAAW,IAAI,OAAO,CAOrB;IAED;;;;;;;;;;OAUG;IACH;;;;;;;;;;OAUG;IACH,OAAO,CAAC,WAAW;IA8GnB;;;;;;;;OAQG;IACH,OAAO,CAAC,kBAAkB;IA2B1B;;;;;;OAMG;IACH,OAAO,CAAC,mBAAmB;IAyC3B;;;;;;OAMG;IACH,OAAO,CAAC,oBAAoB,CAA2D;IAEvF;;;;;;;;;OASG;YACW,mBAAmB;IAoCjC,eAAe,IAAI,IAAI,CAItB;IAED,cAAc,IAAI,IAAI,CAIrB;IAED,WAAW,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,SAAI,GAAG,IAAI,CAM3C;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,YAAY,IAAI,IAAI,CAkBnB;IAED,kFAAkF;IAClF,UAAU,IAAI,OAAO,CAMpB;IAED,KAAK,IAAI,WAAW,CAYnB;CACF"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Subagent nickname pool — famous scientists, mathematicians, and computing pioneers.
|
|
3
|
+
* Names are grouped by domain affinity so the nickname hints at the agent's role.
|
|
4
|
+
*/
|
|
5
|
+
/** Result of a nickname assignment. */
|
|
6
|
+
export interface NicknameAssignment {
|
|
7
|
+
/**
|
|
8
|
+
* Canonical pool key (e.g. `von-neumann`). This — NOT the display string — is
|
|
9
|
+
* what callers must add to their `used` set and later remove on release.
|
|
10
|
+
* Deriving the key by parsing the display string is unsafe: multi-word names
|
|
11
|
+
* like "Von Neumann" would be truncated to "von" and never dedupe correctly.
|
|
12
|
+
*/
|
|
13
|
+
key: string;
|
|
14
|
+
/** Human display string, e.g. `Von Neumann (Backend)`. */
|
|
15
|
+
display: string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Assign a unique nickname to a subagent based on its role.
|
|
19
|
+
*
|
|
20
|
+
* Returns both the canonical pool `key` (for the `used` set) and the formatted
|
|
21
|
+
* `display` string (`Name (Role)`, e.g. `Einstein (Bug Hunter)`).
|
|
22
|
+
*
|
|
23
|
+
* @param role - The subagent's role id (e.g. 'bug-hunter', 'security-scanner')
|
|
24
|
+
* @param used - Set of nickname KEYS already assigned in this fleet
|
|
25
|
+
* (so no two subagents share the same base name)
|
|
26
|
+
*/
|
|
27
|
+
export declare function assignNickname(role: string, used: ReadonlySet<string>): NicknameAssignment;
|
|
28
|
+
/**
|
|
29
|
+
* Resolve a previously-assigned display string back to its canonical pool key,
|
|
30
|
+
* for release paths that only retained the formatted name (e.g. a manifest
|
|
31
|
+
* entry). Strips the trailing ` (Role)` suffix, then matches the base name
|
|
32
|
+
* against the pool. Returns `undefined` when the name is not a known nickname.
|
|
33
|
+
*
|
|
34
|
+
* Use this instead of `name.split(' ')[0]` — the latter mangles multi-word
|
|
35
|
+
* names like "Von Neumann" and "Berners-Lee".
|
|
36
|
+
*/
|
|
37
|
+
export declare function nicknameKeyFromDisplay(display: string): string | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* Returns all available nickname keys. Useful for testing or reset logic.
|
|
40
|
+
*/
|
|
41
|
+
export declare function getAllNicknameKeys(): string[];
|
|
42
|
+
//# sourceMappingURL=subagent-nicknames.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subagent-nicknames.d.ts","sourceRoot":"","sources":["../../src/coordination/subagent-nicknames.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAoGH,uCAAuC;AACvC,MAAM,WAAW,kBAAkB;IACjC;;;;;OAKG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ,0DAA0D;IAC1D,OAAO,EAAE,MAAM,CAAC;CACjB;AAED;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,CAAC,MAAM,CAAC,GAAG,kBAAkB,CA2B1F;AAED;;;;;;;;GAQG;AACH,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAM1E;AAUD;;GAEG;AACH,wBAAgB,kBAAkB,IAAI,MAAM,EAAE,CAE7C"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { Context } from '../core/context.js';
|
|
2
|
+
import type { SubagentStructuredReport } from '../types/multi-agent.js';
|
|
3
|
+
import type { Tool } from '../types/tool.js';
|
|
4
|
+
/** Context metadata key used to hand the submitted report to the task runner. */
|
|
5
|
+
export declare const SUBAGENT_STRUCTURED_REPORT_META_KEY = "subagentStructuredReport";
|
|
6
|
+
export declare const MAX_SUBAGENT_STRUCTURED_REPORT_CHARS = 8000;
|
|
7
|
+
/**
|
|
8
|
+
* Validate and normalize a model-supplied structured result. The tool executor
|
|
9
|
+
* already applies JSON Schema validation, but this guard keeps direct callers,
|
|
10
|
+
* custom executors, and data read back from Context metadata honest too.
|
|
11
|
+
*/
|
|
12
|
+
export declare function normalizeSubagentStructuredReport(value: unknown): SubagentStructuredReport | undefined;
|
|
13
|
+
export declare function readSubagentStructuredReport(ctx: Pick<Context, 'meta'> | {
|
|
14
|
+
meta?: Record<string, unknown>;
|
|
15
|
+
} | undefined): SubagentStructuredReport | undefined;
|
|
16
|
+
/** Stable compact text form for mailbox/roll-up surfaces. */
|
|
17
|
+
export declare function formatSubagentStructuredReport(report: SubagentStructuredReport): string;
|
|
18
|
+
/** Safe, task-local handoff channel from a subagent to its Director. */
|
|
19
|
+
export declare function makeSubagentResultTool(): Tool;
|
|
20
|
+
//# sourceMappingURL=subagent-result-tool.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subagent-result-tool.d.ts","sourceRoot":"","sources":["../../src/coordination/subagent-result-tool.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACxE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAE7C,iFAAiF;AACjF,eAAO,MAAM,mCAAmC,6BAA6B,CAAC;AAC9E,eAAO,MAAM,oCAAoC,OAAQ,CAAC;AAQ1D;;;;GAIG;AACH,wBAAgB,iCAAiC,CAC/C,KAAK,EAAE,OAAO,GACb,wBAAwB,GAAG,SAAS,CAoCtC;AAED,wBAAgB,4BAA4B,CAC1C,GAAG,EAAE,IAAI,CAAC,OAAO,EAAE,MAAM,CAAC,GAAG;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAAE,GAAG,SAAS,GAC1E,wBAAwB,GAAG,SAAS,CAEtC;AAED,6DAA6D;AAC7D,wBAAgB,8BAA8B,CAAC,MAAM,EAAE,wBAAwB,GAAG,MAAM,CAevF;AAED,wEAAwE;AACxE,wBAAgB,sBAAsB,IAAI,IAAI,CA8D7C"}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import type { GoalNode, GoalStatus, GoalPriority } from './knowledge-graph.js';
|
|
2
|
+
import type { KnowledgeGraph } from './knowledge-graph.js';
|
|
3
|
+
import type { FleetBus } from './fleet-bus.js';
|
|
4
|
+
import type { Mailbox } from './mailbox-types.js';
|
|
5
|
+
export type { GoalStatus, GoalPriority };
|
|
6
|
+
export interface TaskBid {
|
|
7
|
+
id: string;
|
|
8
|
+
taskId: string;
|
|
9
|
+
agentId: string;
|
|
10
|
+
agentName: string;
|
|
11
|
+
agentRole: string;
|
|
12
|
+
/** Dispatcher score for this task */
|
|
13
|
+
score: number;
|
|
14
|
+
/** Why this agent is a good fit */
|
|
15
|
+
rationale: string;
|
|
16
|
+
submittedAt: string;
|
|
17
|
+
}
|
|
18
|
+
export interface TaskAuctionOptions {
|
|
19
|
+
graph: KnowledgeGraph;
|
|
20
|
+
fleet?: FleetBus | undefined;
|
|
21
|
+
mailbox?: Mailbox | undefined;
|
|
22
|
+
selfAgentId?: string | undefined;
|
|
23
|
+
/** How long a bid window stays open before auto-awarding. Default: 30s */
|
|
24
|
+
bidWindowMs?: number | undefined;
|
|
25
|
+
/** Maximum concurrent tasks per agent. Default: 3 */
|
|
26
|
+
maxTasksPerAgent?: number | undefined;
|
|
27
|
+
/** Minimum confidence threshold for dispatcher scoring. Default: 0.3 */
|
|
28
|
+
minConfidence?: number | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* Maximum times a task can be republished when no bids are received.
|
|
31
|
+
* After this, the task is marked as 'failed' with reason 'no_bids'.
|
|
32
|
+
* Default: 3.
|
|
33
|
+
*/
|
|
34
|
+
maxBidRetries?: number | undefined;
|
|
35
|
+
}
|
|
36
|
+
export declare class TaskAuctioneer {
|
|
37
|
+
private readonly graph;
|
|
38
|
+
private readonly fleet?;
|
|
39
|
+
private readonly mailbox?;
|
|
40
|
+
private readonly selfAgentId;
|
|
41
|
+
private readonly bidWindowMs;
|
|
42
|
+
private readonly maxTasksPerAgent;
|
|
43
|
+
private readonly minConfidence;
|
|
44
|
+
private readonly maxBidRetries;
|
|
45
|
+
/** Pending bids keyed by taskId. */
|
|
46
|
+
private readonly pendingBids;
|
|
47
|
+
/** Active bid windows keyed by taskId. */
|
|
48
|
+
private readonly bidTimers;
|
|
49
|
+
/** FleetBus subscription disposers, detached in dispose(). */
|
|
50
|
+
private readonly unsubs;
|
|
51
|
+
/** How many times a task has been republished with no bids received. */
|
|
52
|
+
private readonly bidRetryCounts;
|
|
53
|
+
/** Agent → current task count (from graph + in-flight). */
|
|
54
|
+
private readonly agentTaskCounts;
|
|
55
|
+
constructor(opts: TaskAuctionOptions);
|
|
56
|
+
/**
|
|
57
|
+
* Detach all FleetBus subscriptions and cancel any open bid-window timers.
|
|
58
|
+
* Call when the owning coordinator stops/restarts so handlers and timers
|
|
59
|
+
* don't accumulate across cycles.
|
|
60
|
+
*/
|
|
61
|
+
dispose(): void;
|
|
62
|
+
/**
|
|
63
|
+
* Publish a new task to the auction. Creates a GoalNode and broadcasts
|
|
64
|
+
* it to all online agents. Returns the goal id.
|
|
65
|
+
*
|
|
66
|
+
* If `targetAgent` is specified, the task is assigned directly without auction.
|
|
67
|
+
*/
|
|
68
|
+
publishTask(input: {
|
|
69
|
+
title: string;
|
|
70
|
+
description: string;
|
|
71
|
+
priority?: GoalPriority;
|
|
72
|
+
tags?: string[];
|
|
73
|
+
targetAgent?: string;
|
|
74
|
+
parentGoal?: string;
|
|
75
|
+
satisfiesGoals?: string[];
|
|
76
|
+
/** Goal ids that must reach 'done' before this goal becomes workable. */
|
|
77
|
+
blockedBy?: string[];
|
|
78
|
+
deadline?: string;
|
|
79
|
+
reward?: string;
|
|
80
|
+
}): Promise<string>;
|
|
81
|
+
/**
|
|
82
|
+
* Submit a bid for a task. Called by agents who want to work on it.
|
|
83
|
+
* Returns true if the bid was accepted, false if the task was already claimed.
|
|
84
|
+
*/
|
|
85
|
+
bid(taskId: string, agent: {
|
|
86
|
+
agentId: string;
|
|
87
|
+
agentName: string;
|
|
88
|
+
agentRole: string;
|
|
89
|
+
}, rationale: string): Promise<boolean>;
|
|
90
|
+
/**
|
|
91
|
+
* Award a task to a specific agent. Called internally by the bid window
|
|
92
|
+
* expiry, or can be called directly to force an award.
|
|
93
|
+
*/
|
|
94
|
+
claim(taskId: string, agentId: string, agentName: string): Promise<boolean>;
|
|
95
|
+
/**
|
|
96
|
+
* Mark a task as done. Called by the agent when it finishes.
|
|
97
|
+
*/
|
|
98
|
+
complete(taskId: string, _result?: string): Promise<void>;
|
|
99
|
+
/**
|
|
100
|
+
* Mark a task as failed. Optionally spawn a retry.
|
|
101
|
+
*/
|
|
102
|
+
fail(taskId: string, error: string): Promise<void>;
|
|
103
|
+
/**
|
|
104
|
+
* Find the best available tasks for an agent based on its capabilities.
|
|
105
|
+
* Returns tasks sorted by match score (best first).
|
|
106
|
+
*/
|
|
107
|
+
findWork(_agentId: string, agentRole: string, limit?: number): Promise<{
|
|
108
|
+
task: GoalNode;
|
|
109
|
+
score: number;
|
|
110
|
+
bids: number;
|
|
111
|
+
}[]>;
|
|
112
|
+
/** Get all pending tasks (available for bidding). */
|
|
113
|
+
getPendingTasks(): GoalNode[];
|
|
114
|
+
/** Get tasks assigned to a specific agent. */
|
|
115
|
+
getTasksForAgent(agentId: string): GoalNode[];
|
|
116
|
+
/** Get the current bid count for a task. */
|
|
117
|
+
getBidCount(taskId: string): number;
|
|
118
|
+
/** Get bids for a task. */
|
|
119
|
+
getBids(taskId: string): TaskBid[];
|
|
120
|
+
/** Get task stats for a project-wide dashboard. */
|
|
121
|
+
getStats(): {
|
|
122
|
+
total: number;
|
|
123
|
+
pending: number;
|
|
124
|
+
in_progress: number;
|
|
125
|
+
done: number;
|
|
126
|
+
failed: number;
|
|
127
|
+
totalBids: number;
|
|
128
|
+
avgBidsPerTask: number;
|
|
129
|
+
};
|
|
130
|
+
private _emit;
|
|
131
|
+
private _broadcastTask;
|
|
132
|
+
private _mailboxPublish;
|
|
133
|
+
private _notifyAgent;
|
|
134
|
+
private _startBidWindow;
|
|
135
|
+
private _cancelBidWindow;
|
|
136
|
+
private _evaluateBids;
|
|
137
|
+
private _assignDirect;
|
|
138
|
+
private _onBidEvent;
|
|
139
|
+
private _onClaimedEvent;
|
|
140
|
+
private _getAgentTaskCount;
|
|
141
|
+
private agentTaskCount;
|
|
142
|
+
}
|
|
143
|
+
//# sourceMappingURL=task-auctioneer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"task-auctioneer.d.ts","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