@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
|
@@ -1,211 +1,22 @@
|
|
|
1
|
-
import { U as Usage, d as Context, i as ContentBlock, l as ToolErrorCategory, m as ToolProgressEvent, g as Tool, n as RiskTier, o as ToolOutputMetadata } from './tool-BNlnIJvo.js';
|
|
2
|
-
import { a as PermissionDecision } from './permission-ByDKXEcG.js';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Brain coordination primitives.
|
|
6
|
-
*
|
|
7
|
-
* Brain is an authority layer above a leader/director but below the human. It is
|
|
8
|
-
* intentionally modeled as a decision interface first, not as an autonomous
|
|
9
|
-
* bypass: callers ask for a decision, Brain either answers within policy or
|
|
10
|
-
* escalates to the human.
|
|
11
|
-
*/
|
|
12
|
-
|
|
13
|
-
type BrainDecisionSource = 'autophase' | 'director' | 'tool' | 'user' | 'system';
|
|
14
|
-
type BrainRisk = 'low' | 'medium' | 'high' | 'critical';
|
|
15
|
-
type BrainFallback = 'ask_human' | 'deny' | 'continue';
|
|
16
|
-
interface BrainDecisionOption {
|
|
17
|
-
id: string;
|
|
18
|
-
label: string;
|
|
19
|
-
consequence?: string | undefined;
|
|
20
|
-
risk?: BrainRisk | undefined;
|
|
21
|
-
recommended?: boolean | undefined;
|
|
22
|
-
}
|
|
23
|
-
interface BrainDecisionRequest {
|
|
24
|
-
id: string;
|
|
25
|
-
/** Active host session id for surfaces that multiplex multiple sessions. */
|
|
26
|
-
sessionId?: string | undefined;
|
|
27
|
-
source: BrainDecisionSource;
|
|
28
|
-
question: string;
|
|
29
|
-
context?: string | undefined;
|
|
30
|
-
options?: BrainDecisionOption[] | undefined;
|
|
31
|
-
risk: BrainRisk;
|
|
32
|
-
/** What a non-LLM/default Brain should do when policy cannot decide safely. */
|
|
33
|
-
fallback: BrainFallback;
|
|
34
|
-
}
|
|
35
|
-
type BrainDecision = {
|
|
36
|
-
type: 'answer';
|
|
37
|
-
optionId?: string | undefined;
|
|
38
|
-
text: string;
|
|
39
|
-
rationale?: string | undefined;
|
|
40
|
-
} | {
|
|
41
|
-
type: 'ask_human';
|
|
42
|
-
prompt: string;
|
|
43
|
-
options?: BrainDecisionOption[] | undefined;
|
|
44
|
-
rationale?: string | undefined;
|
|
45
|
-
} | {
|
|
46
|
-
type: 'deny';
|
|
47
|
-
reason: string;
|
|
48
|
-
};
|
|
49
|
-
interface BrainArbiter {
|
|
50
|
-
decide(request: BrainDecisionRequest): Promise<BrainDecision>;
|
|
51
|
-
}
|
|
52
|
-
/**
|
|
53
|
-
* Event-emitting decorator for any Brain implementation. Hosts wire this around
|
|
54
|
-
* their actual arbiter so TUI/session surfaces can render Brain decisions
|
|
55
|
-
* without coupling to the caller that requested the decision.
|
|
56
|
-
*/
|
|
57
|
-
declare class ObservableBrainArbiter implements BrainArbiter {
|
|
58
|
-
private readonly inner;
|
|
59
|
-
private readonly events;
|
|
60
|
-
constructor(inner: BrainArbiter, events: EventBus);
|
|
61
|
-
decide(request: BrainDecisionRequest): Promise<BrainDecision>;
|
|
62
|
-
}
|
|
63
|
-
interface BrainDecisionQueueOptions {
|
|
64
|
-
/** Safety fallback if the human never answers. Default: no timeout. */
|
|
65
|
-
timeoutMs?: number | undefined;
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* Bridge between an `ask_human` Brain decision and the UI. It emits the visible
|
|
69
|
-
* ask-human event, then resolves when the TUI emits `brain.human_answered`.
|
|
70
|
-
*/
|
|
71
|
-
declare class BrainDecisionQueue {
|
|
72
|
-
private readonly events;
|
|
73
|
-
private readonly opts;
|
|
74
|
-
private readonly pending;
|
|
75
|
-
private readonly offAnswer;
|
|
76
|
-
constructor(events: EventBus, opts?: BrainDecisionQueueOptions);
|
|
77
|
-
requestHumanDecision(request: BrainDecisionRequest): Promise<BrainDecision>;
|
|
78
|
-
dispose(): void;
|
|
79
|
-
}
|
|
80
|
-
/**
|
|
81
|
-
* Decorator that turns `ask_human` into an actual awaited human decision.
|
|
82
|
-
* The wrapped Brain remains policy-only; this layer owns the UI/event bridge.
|
|
83
|
-
*/
|
|
84
|
-
declare class HumanEscalatingBrainArbiter implements BrainArbiter {
|
|
85
|
-
private readonly inner;
|
|
86
|
-
private readonly queue;
|
|
87
|
-
constructor(inner: BrainArbiter, queue: BrainDecisionQueue);
|
|
88
|
-
decide(request: BrainDecisionRequest): Promise<BrainDecision>;
|
|
89
|
-
}
|
|
90
|
-
interface DefaultBrainArbiterOptions {
|
|
91
|
-
/** Allow deterministic auto-answering for low-risk requests. Default true. */
|
|
92
|
-
allowLowRiskAutoAnswer?: boolean | undefined;
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* Conservative deterministic Brain implementation.
|
|
96
|
-
*
|
|
97
|
-
* It only auto-answers low-risk requests when the caller provided a recommended
|
|
98
|
-
* option. Everything else follows the request fallback. This gives hosts a safe
|
|
99
|
-
* policy object to wire before an LLM-backed Brain exists.
|
|
100
|
-
*/
|
|
101
|
-
declare class DefaultBrainArbiter implements BrainArbiter {
|
|
102
|
-
private readonly allowLowRiskAutoAnswer;
|
|
103
|
-
constructor(opts?: DefaultBrainArbiterOptions);
|
|
104
|
-
decide(request: BrainDecisionRequest): Promise<BrainDecision>;
|
|
105
|
-
}
|
|
106
|
-
declare function formatHumanPrompt(request: BrainDecisionRequest): string;
|
|
107
|
-
|
|
108
|
-
type MemoryScope = 'project-agents' | 'project-memory' | 'user-memory';
|
|
109
|
-
type MemoryType = 'fact' | 'decision' | 'convention' | 'preference' | 'reference' | 'anti_pattern';
|
|
110
|
-
declare const MEMORY_TYPE_LABELS: Record<MemoryType, string>;
|
|
111
|
-
type MemoryPriority = 'critical' | 'high' | 'medium' | 'low';
|
|
112
|
-
interface MemoryEntry {
|
|
113
|
-
scope: MemoryScope;
|
|
114
|
-
text: string;
|
|
115
|
-
ts: string;
|
|
116
|
-
/** Category — helps the agent decide whether to inject or ignore. */
|
|
117
|
-
type?: MemoryType | undefined;
|
|
118
|
-
/** Free-form tags for grouping (e.g. ["build", "pnpm", "typescript"]). */
|
|
119
|
-
tags?: string[] | undefined;
|
|
120
|
-
/** Priority — critical entries are always injected; low may be skipped. */
|
|
121
|
-
priority?: MemoryPriority | undefined;
|
|
122
|
-
/** Session or agent that created this entry. */
|
|
123
|
-
source?: string | undefined;
|
|
124
|
-
/** 0.0–1.0 confidence. Low-confidence entries are injected less often. */
|
|
125
|
-
confidence?: number | undefined;
|
|
126
|
-
/** ISO timestamp of last access (read or injection into context). */
|
|
127
|
-
lastAccessed?: string | undefined;
|
|
128
|
-
}
|
|
129
|
-
interface MemoryRememberedPayload {
|
|
130
|
-
scope: MemoryScope;
|
|
131
|
-
text: string;
|
|
132
|
-
ts: string;
|
|
133
|
-
type?: MemoryType | undefined;
|
|
134
|
-
tags?: string[] | undefined;
|
|
135
|
-
priority?: MemoryPriority | undefined;
|
|
136
|
-
}
|
|
137
|
-
interface MemoryForgottenPayload {
|
|
138
|
-
scope: MemoryScope;
|
|
139
|
-
query: string;
|
|
140
|
-
removed: number;
|
|
141
|
-
}
|
|
142
|
-
interface MemoryClearedPayload {
|
|
143
|
-
/** Scope that was cleared, or undefined when all scopes were cleared. */
|
|
144
|
-
scope?: MemoryScope | undefined;
|
|
145
|
-
}
|
|
146
|
-
interface MemoryConsolidatedPayload {
|
|
147
|
-
scope: MemoryScope;
|
|
148
|
-
/** Entries removed by deduplication. */
|
|
149
|
-
removed: number;
|
|
150
|
-
}
|
|
151
|
-
/**
|
|
152
|
-
* Context used to score memory relevance for context injection.
|
|
153
|
-
* Passed by the system prompt builder.
|
|
154
|
-
*/
|
|
155
|
-
interface MemoryRelevanceContext {
|
|
156
|
-
/** Current user message or task description. */
|
|
157
|
-
currentTask: string;
|
|
158
|
-
/** Active skills in this session (e.g. ["typescript-strict", "git-flow"]). */
|
|
159
|
-
activeSkills?: string[] | undefined;
|
|
160
|
-
/** Active mode (e.g. "Teach", "Brief", "Code Reviewer"). */
|
|
161
|
-
activeMode?: string | undefined;
|
|
162
|
-
/** Available tools — memories referencing relevant tools score higher. */
|
|
163
|
-
toolNames?: string[] | undefined;
|
|
164
|
-
}
|
|
165
|
-
interface ScoredEntry extends MemoryEntry {
|
|
166
|
-
score: number;
|
|
167
|
-
matchReason: string;
|
|
168
|
-
}
|
|
169
|
-
interface MemoryStore {
|
|
170
|
-
readAll(): Promise<string>;
|
|
171
|
-
read(scope: MemoryScope): Promise<string>;
|
|
172
|
-
remember(text: string, scope?: MemoryScope, metadata?: Omit<Partial<MemoryEntry>, 'scope' | 'text' | 'ts'>): Promise<void>;
|
|
173
|
-
forget(query: string, scope?: MemoryScope): Promise<number>;
|
|
174
|
-
consolidate(scope: MemoryScope): Promise<void>;
|
|
175
|
-
clear(scope?: MemoryScope): Promise<void>;
|
|
176
|
-
/** List entries, newest first. */
|
|
177
|
-
list(scope?: MemoryScope, limit?: number): Promise<MemoryEntry[]>;
|
|
178
|
-
/** Search by content (substring or semantic). */
|
|
179
|
-
search(query: string, scope?: MemoryScope, limit?: number): Promise<MemoryEntry[]>;
|
|
180
|
-
/** Access the backend for advanced queries. */
|
|
181
|
-
getBackend?(): unknown;
|
|
182
|
-
/** Graph-based related memory traversal. */
|
|
183
|
-
findRelated?(text: string, scope?: MemoryScope, limit?: number): Promise<MemoryEntry[]>;
|
|
184
|
-
/**
|
|
185
|
-
* Score and rank memories by relevance to the current context.
|
|
186
|
-
* Returns only entries that meet a relevance threshold.
|
|
187
|
-
*/
|
|
188
|
-
scoreRelevant?(ctx: MemoryRelevanceContext, scope?: MemoryScope, limit?: number): Promise<ScoredEntry[]>;
|
|
189
|
-
/**
|
|
190
|
-
* Attach a trace ID to this store so that all subsequent `storage.*`
|
|
191
|
-
* events include it for observability correlation. Mutates the store
|
|
192
|
-
* in place and returns the same instance (convenience chaining).
|
|
193
|
-
*/
|
|
194
|
-
withTraceId(traceId: string): MemoryStore;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
1
|
/**
|
|
198
2
|
* EventBus — observe-only typed event bus.
|
|
199
3
|
* Subscribers cannot modify or cancel. Subscriber exceptions are caught.
|
|
200
4
|
*/
|
|
201
|
-
|
|
5
|
+
import type { BrainDecision, BrainDecisionRequest } from '../coordination/brain.js';
|
|
6
|
+
import type { Context } from '../core/context.js';
|
|
7
|
+
import type { ContentBlock } from '../types/blocks.js';
|
|
8
|
+
import type { MemoryClearedPayload, MemoryConsolidatedPayload, MemoryForgottenPayload, MemoryRememberedPayload } from '../types/memory.js';
|
|
9
|
+
import type { PermissionDecision } from '../types/permission.js';
|
|
10
|
+
import type { Usage } from '../types/provider.js';
|
|
11
|
+
import type { RiskTier, Tool, ToolErrorCategory, ToolProgressEvent } from '../types/tool.js';
|
|
12
|
+
import type { ToolOutputMetadata } from '../types/context-evidence.js';
|
|
202
13
|
/**
|
|
203
14
|
* Structural shape of a tracked agent as flushed by AgentStatusTracker. Kept
|
|
204
15
|
* structural (not imported from the root `session-registry` module) so the
|
|
205
16
|
* low-level kernel layer takes on no dependency on composition modules. The
|
|
206
17
|
* real `AgentEntry` is assignable to this.
|
|
207
18
|
*/
|
|
208
|
-
interface TrackedAgentSnapshot {
|
|
19
|
+
export interface TrackedAgentSnapshot {
|
|
209
20
|
id: string;
|
|
210
21
|
name: string;
|
|
211
22
|
startedAt?: string | undefined;
|
|
@@ -221,7 +32,7 @@ interface TrackedAgentSnapshot {
|
|
|
221
32
|
partialText?: string | undefined;
|
|
222
33
|
lastActivityAt: string;
|
|
223
34
|
}
|
|
224
|
-
interface EventMap {
|
|
35
|
+
export interface EventMap {
|
|
225
36
|
'brain.decision_requested': {
|
|
226
37
|
sessionId?: string | undefined;
|
|
227
38
|
request: BrainDecisionRequest;
|
|
@@ -988,6 +799,16 @@ interface EventMap {
|
|
|
988
799
|
/** Final assistant text from the subagent's last turn. */
|
|
989
800
|
finalText?: string | undefined;
|
|
990
801
|
};
|
|
802
|
+
/**
|
|
803
|
+
* Fired after a subagent has been removed from the live coordinator and its
|
|
804
|
+
* resources released. Surfaces must delete the agent instead of retaining a
|
|
805
|
+
* terminal/idle card indefinitely.
|
|
806
|
+
*/
|
|
807
|
+
'subagent.removed': {
|
|
808
|
+
sessionId?: string | undefined;
|
|
809
|
+
subagentId: string;
|
|
810
|
+
reason?: string | undefined;
|
|
811
|
+
};
|
|
991
812
|
/**
|
|
992
813
|
* Fired by the delegate tool when a subagent finishes. The agent's run
|
|
993
814
|
* loop listens for this to collect `delegateSummaries` for the RunResult,
|
|
@@ -1318,6 +1139,92 @@ interface EventMap {
|
|
|
1318
1139
|
'memory.forgotten': MemoryForgottenPayload;
|
|
1319
1140
|
'memory.cleared': MemoryClearedPayload;
|
|
1320
1141
|
'memory.consolidated': MemoryConsolidatedPayload;
|
|
1142
|
+
/** Structured Super Memory lifecycle events. Kept structural so core never depends on the package. */
|
|
1143
|
+
'memory.accepted': {
|
|
1144
|
+
memoryId: string;
|
|
1145
|
+
sessionId?: string | undefined;
|
|
1146
|
+
traceId?: string | undefined;
|
|
1147
|
+
};
|
|
1148
|
+
'memory.candidate_created': {
|
|
1149
|
+
candidateId: string;
|
|
1150
|
+
sessionId?: string | undefined;
|
|
1151
|
+
traceId?: string | undefined;
|
|
1152
|
+
};
|
|
1153
|
+
'memory.candidate_rejected': {
|
|
1154
|
+
candidateId: string;
|
|
1155
|
+
reason: string;
|
|
1156
|
+
sessionId?: string | undefined;
|
|
1157
|
+
traceId?: string | undefined;
|
|
1158
|
+
};
|
|
1159
|
+
'memory.updated': {
|
|
1160
|
+
memoryId: string;
|
|
1161
|
+
status: string;
|
|
1162
|
+
sessionId?: string | undefined;
|
|
1163
|
+
traceId?: string | undefined;
|
|
1164
|
+
};
|
|
1165
|
+
'memory.merged': {
|
|
1166
|
+
memoryId: string;
|
|
1167
|
+
mergedIds: string[];
|
|
1168
|
+
sessionId?: string | undefined;
|
|
1169
|
+
traceId?: string | undefined;
|
|
1170
|
+
};
|
|
1171
|
+
'memory.superseded': {
|
|
1172
|
+
memoryId: string;
|
|
1173
|
+
supersededBy: string;
|
|
1174
|
+
sessionId?: string | undefined;
|
|
1175
|
+
traceId?: string | undefined;
|
|
1176
|
+
};
|
|
1177
|
+
'memory.contradicted': {
|
|
1178
|
+
memoryId: string;
|
|
1179
|
+
contradicts: string[];
|
|
1180
|
+
sessionId?: string | undefined;
|
|
1181
|
+
traceId?: string | undefined;
|
|
1182
|
+
};
|
|
1183
|
+
'memory.staled': {
|
|
1184
|
+
memoryId: string;
|
|
1185
|
+
reason: string;
|
|
1186
|
+
sessionId?: string | undefined;
|
|
1187
|
+
traceId?: string | undefined;
|
|
1188
|
+
};
|
|
1189
|
+
'memory.archived': {
|
|
1190
|
+
memoryId: string;
|
|
1191
|
+
reason: string;
|
|
1192
|
+
sessionId?: string | undefined;
|
|
1193
|
+
traceId?: string | undefined;
|
|
1194
|
+
};
|
|
1195
|
+
'memory.injected': {
|
|
1196
|
+
memoryIds: string[];
|
|
1197
|
+
trigger: string;
|
|
1198
|
+
sessionId?: string | undefined;
|
|
1199
|
+
traceId?: string | undefined;
|
|
1200
|
+
};
|
|
1201
|
+
'memory.verified': {
|
|
1202
|
+
memoryId: string;
|
|
1203
|
+
status: string;
|
|
1204
|
+
sessionId?: string | undefined;
|
|
1205
|
+
traceId?: string | undefined;
|
|
1206
|
+
};
|
|
1207
|
+
'memory.hygiene_started': {
|
|
1208
|
+
examined: number;
|
|
1209
|
+
sessionId?: string | undefined;
|
|
1210
|
+
traceId?: string | undefined;
|
|
1211
|
+
};
|
|
1212
|
+
'memory.hygiene_completed': {
|
|
1213
|
+
examined: number;
|
|
1214
|
+
deduplicated: number;
|
|
1215
|
+
staled: number;
|
|
1216
|
+
archived: number;
|
|
1217
|
+
sessionId?: string | undefined;
|
|
1218
|
+
traceId?: string | undefined;
|
|
1219
|
+
};
|
|
1220
|
+
'memory.graph_edge_added': {
|
|
1221
|
+
edgeId: string;
|
|
1222
|
+
from: string;
|
|
1223
|
+
to: string;
|
|
1224
|
+
relation: string;
|
|
1225
|
+
sessionId?: string | undefined;
|
|
1226
|
+
traceId?: string | undefined;
|
|
1227
|
+
};
|
|
1321
1228
|
/**
|
|
1322
1229
|
* Fired when a store completes a read operation. Carries the session ID
|
|
1323
1230
|
* and file path so dashboards can correlate storage I/O with agent
|
|
@@ -1400,12 +1307,12 @@ interface EventMap {
|
|
|
1400
1307
|
_original?: Error | undefined;
|
|
1401
1308
|
};
|
|
1402
1309
|
}
|
|
1403
|
-
type EventName = keyof EventMap;
|
|
1404
|
-
type Listener<E extends EventName> = (payload: EventMap[E]) => void;
|
|
1405
|
-
interface EventLogger {
|
|
1310
|
+
export type EventName = keyof EventMap;
|
|
1311
|
+
export type Listener<E extends EventName> = (payload: EventMap[E]) => void;
|
|
1312
|
+
export interface EventLogger {
|
|
1406
1313
|
error(msg: string, ctx?: unknown): void | undefined;
|
|
1407
1314
|
}
|
|
1408
|
-
declare class EventBus {
|
|
1315
|
+
export declare class EventBus {
|
|
1409
1316
|
private readonly listeners;
|
|
1410
1317
|
private readonly wildcards;
|
|
1411
1318
|
private logger?;
|
|
@@ -1491,7 +1398,7 @@ declare class EventBus {
|
|
|
1491
1398
|
* the `using` keyword in Node ≥ 22, or can be used manually with
|
|
1492
1399
|
* `bus.teardown()`.
|
|
1493
1400
|
*/
|
|
1494
|
-
declare class ScopedEventBus extends EventBus {
|
|
1401
|
+
export declare class ScopedEventBus extends EventBus {
|
|
1495
1402
|
private readonly registrations;
|
|
1496
1403
|
private nextKey;
|
|
1497
1404
|
/**
|
|
@@ -1547,5 +1454,4 @@ declare class ScopedEventBus extends EventBus {
|
|
|
1547
1454
|
/** Number of tracked registrations. */
|
|
1548
1455
|
get scopedListenerCount(): number;
|
|
1549
1456
|
}
|
|
1550
|
-
|
|
1551
|
-
export { type BrainArbiter as B, DefaultBrainArbiter as D, EventBus as E, HumanEscalatingBrainArbiter as H, type Listener as L, type MemoryScope as M, ObservableBrainArbiter as O, type ScoredEntry as S, type TrackedAgentSnapshot as T, type EventName as a, type MemoryEntry as b, type MemoryStore as c, type MemoryRelevanceContext as d, type BrainDecision as e, type BrainDecisionOption as f, BrainDecisionQueue as g, type BrainDecisionRequest as h, type BrainDecisionSource as i, type BrainFallback as j, type BrainRisk as k, type DefaultBrainArbiterOptions as l, type EventLogger as m, type EventMap as n, MEMORY_TYPE_LABELS as o, type MemoryClearedPayload as p, type MemoryConsolidatedPayload as q, type MemoryForgottenPayload as r, type MemoryPriority as s, type MemoryRememberedPayload as t, type MemoryType as u, ScopedEventBus as v, formatHumanPrompt as w };
|
|
1457
|
+
//# sourceMappingURL=events.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/kernel/events.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AACpF,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,EAAE,oBAAoB,EAAE,yBAAyB,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAC3I,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAC7F,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAEvE;;;;;GAKG;AACH,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC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AAM,CAEhC;CACF"}
|
package/dist/kernel/index.d.ts
CHANGED
|
@@ -1,107 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
3
|
-
|
|
4
|
-
export {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import { E as ErrorHandler, R as RetryPolicy } from '../retry-policy-CQ7KwXJa.js';
|
|
8
|
-
import { I as InputReader } from '../input-reader-E-ffP2ee.js';
|
|
9
|
-
import { L as Logger } from '../logger-B63L5bTg.js';
|
|
10
|
-
import { M as ModeStore } from '../mode-CZlO9iU1.js';
|
|
11
|
-
import { P as PathResolver } from '../path-resolver-CPRj4bFY.js';
|
|
12
|
-
import { P as PermissionPolicy } from '../permission-ByDKXEcG.js';
|
|
13
|
-
import { P as ProviderRunner } from '../provider-runner-ChL-kVg6.js';
|
|
14
|
-
import { S as SecretScrubber } from '../secret-scrubber-3MHDDAtm.js';
|
|
15
|
-
import { T as TokenCounter, k as SessionStore } from '../tool-BNlnIJvo.js';
|
|
16
|
-
import { P as PromptLoader } from '../prompt-DLd35n4Q.js';
|
|
17
|
-
import { S as SkillLoader } from '../skill-DHniprNl.js';
|
|
18
|
-
import { W as WorktreeManager } from '../worktree-manager-DzwxKE35.js';
|
|
19
|
-
import '../mailbox-types-BGZWrYTJ.js';
|
|
20
|
-
import '../observability-D-HZN_mF.js';
|
|
21
|
-
|
|
22
|
-
declare const TOKENS: {
|
|
23
|
-
readonly Logger: Token<Logger>;
|
|
24
|
-
readonly TokenCounter: Token<TokenCounter>;
|
|
25
|
-
readonly SessionStore: Token<SessionStore>;
|
|
26
|
-
readonly MemoryStore: Token<MemoryStore>;
|
|
27
|
-
readonly PermissionPolicy: Token<PermissionPolicy>;
|
|
28
|
-
readonly Compactor: Token<Compactor>;
|
|
29
|
-
readonly PathResolver: Token<PathResolver>;
|
|
30
|
-
readonly ConfigLoader: Token<ConfigLoader>;
|
|
31
|
-
readonly ConfigStore: Token<ConfigStore>;
|
|
32
|
-
readonly Renderer: Token<Renderer>;
|
|
33
|
-
readonly InputReader: Token<InputReader>;
|
|
34
|
-
readonly ErrorHandler: Token<ErrorHandler>;
|
|
35
|
-
readonly RetryPolicy: Token<RetryPolicy>;
|
|
36
|
-
readonly SkillLoader: Token<SkillLoader>;
|
|
37
|
-
readonly PromptLoader: Token<PromptLoader>;
|
|
38
|
-
readonly SystemPromptBuilder: Token<SystemPromptBuilder>;
|
|
39
|
-
readonly SecretScrubber: Token<SecretScrubber>;
|
|
40
|
-
readonly ModelsRegistry: Token<ModelsRegistry>;
|
|
41
|
-
readonly ModeStore: Token<ModeStore>;
|
|
42
|
-
/** Replaces the entire provider call layer — retry, streaming, tracing. */
|
|
43
|
-
readonly ProviderRunner: Token<ProviderRunner>;
|
|
44
|
-
/** Optional git-worktree lifecycle manager (per-phase isolation in AutoPhase). */
|
|
45
|
-
readonly WorktreeManager: Token<WorktreeManager>;
|
|
46
|
-
/** Optional global Brain arbiter for policy/decision escalation. */
|
|
47
|
-
readonly BrainArbiter: Token<BrainArbiter>;
|
|
48
|
-
/** Lifecycle hook registry (shell + in-process hooks). */
|
|
49
|
-
readonly HookRegistry: Token<HookRegistry>;
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* RunController centralises abort + cleanup for a single agent run. It
|
|
54
|
-
* wraps a single AbortController and exposes a registry of teardown
|
|
55
|
-
* hooks that fire (LIFO, exactly once) when the run aborts OR ends
|
|
56
|
-
* normally. Anyone holding the controller can:
|
|
57
|
-
*
|
|
58
|
-
* - read `signal` to bail out cooperatively
|
|
59
|
-
* - call `abort(reason?)` to abort the run
|
|
60
|
-
* - call `onAbort(fn)` to register a cleanup hook
|
|
61
|
-
* - call `dispose()` when the run ends normally — this fires the
|
|
62
|
-
* hooks too, so cleanup runs regardless of outcome
|
|
63
|
-
*
|
|
64
|
-
* Hooks must be idempotent and synchronous-or-quick. Errors thrown
|
|
65
|
-
* inside hooks are caught and surfaced through `errorSink` (or the
|
|
66
|
-
* console as a last resort) so one bad hook can't block the others.
|
|
67
|
-
*/
|
|
68
|
-
interface RunControllerOptions {
|
|
69
|
-
/** Optional parent signal — abort propagates from parent → this. */
|
|
70
|
-
parentSignal?: AbortSignal | undefined;
|
|
71
|
-
/** Receives errors thrown by cleanup hooks. Defaults to console.warn. */
|
|
72
|
-
errorSink?: (err: unknown, where: string) => void;
|
|
73
|
-
}
|
|
74
|
-
declare class RunController {
|
|
75
|
-
private readonly ctrl;
|
|
76
|
-
private readonly hooks;
|
|
77
|
-
private disposed;
|
|
78
|
-
private hooksDrained;
|
|
79
|
-
private readonly errorSink;
|
|
80
|
-
constructor(opts?: RunControllerOptions);
|
|
81
|
-
get signal(): AbortSignal;
|
|
82
|
-
get aborted(): boolean;
|
|
83
|
-
abort(reason?: unknown): void;
|
|
84
|
-
/**
|
|
85
|
-
* Register a teardown hook. Returns an unsubscribe function so callers
|
|
86
|
-
* can opt out before the hook fires (e.g. when a tool finishes cleanly
|
|
87
|
-
* before abort happens).
|
|
88
|
-
*
|
|
89
|
-
* If the controller has already drained its hooks (a prior abort() or
|
|
90
|
-
* dispose() ran), the new hook is fired immediately on a best-effort
|
|
91
|
-
* basis — otherwise a hook registered after teardown would be silently
|
|
92
|
-
* dropped and the resource it cleans up would leak. The returned
|
|
93
|
-
* unsubscribe is a no-op in that case (the hook has already run). Errors
|
|
94
|
-
* from the immediate run are routed through `errorSink` like any other
|
|
95
|
-
* cleanup failure.
|
|
96
|
-
*/
|
|
97
|
-
onAbort(fn: () => void | Promise<void>): () => void;
|
|
98
|
-
/**
|
|
99
|
-
* Fire cleanup hooks and tear down listeners — called when the run
|
|
100
|
-
* ends *normally* so cleanup happens regardless of outcome. Subsequent
|
|
101
|
-
* aborts become no-ops.
|
|
102
|
-
*/
|
|
103
|
-
dispose(): Promise<void>;
|
|
104
|
-
private runHooks;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
export { RunController, type RunControllerOptions, TOKENS, Token };
|
|
1
|
+
export { Container, type Token, type Factory, type Decorator, type BindOptions, } from './container.js';
|
|
2
|
+
export { Pipeline, type Middleware, type MiddlewareHandler, type NextFn, type PipelineOptions, } from './pipeline.js';
|
|
3
|
+
export { EventBus, ScopedEventBus, type EventMap, type EventName, type Listener, type EventLogger, } from './events.js';
|
|
4
|
+
export { TOKENS } from './tokens.js';
|
|
5
|
+
export { RunController, type RunControllerOptions } from './run-controller.js';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/kernel/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,KAAK,KAAK,EACV,KAAK,OAAO,EACZ,KAAK,SAAS,EACd,KAAK,WAAW,GACjB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,QAAQ,EACR,KAAK,UAAU,EACf,KAAK,iBAAiB,EACtB,KAAK,MAAM,EACX,KAAK,eAAe,GACrB,MAAM,eAAe,CAAC;AACvB,OAAO,EACL,QAAQ,EACR,cAAc,EACd,KAAK,QAAQ,EACb,KAAK,SAAS,EACd,KAAK,QAAQ,EACb,KAAK,WAAW,GACjB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,KAAK,oBAAoB,EAAE,MAAM,qBAAqB,CAAC"}
|
package/dist/kernel/index.js
CHANGED
|
@@ -5,14 +5,61 @@ function toErrorMessage(err) {
|
|
|
5
5
|
|
|
6
6
|
// src/types/errors.ts
|
|
7
7
|
var ERROR_CODES = {
|
|
8
|
+
// Provider
|
|
9
|
+
PROVIDER_RATE_LIMITED: "PROVIDER_RATE_LIMITED",
|
|
10
|
+
PROVIDER_AUTH_FAILED: "PROVIDER_AUTH_FAILED",
|
|
11
|
+
PROVIDER_OVERLOADED: "PROVIDER_OVERLOADED",
|
|
12
|
+
PROVIDER_INVALID_REQUEST: "PROVIDER_INVALID_REQUEST",
|
|
13
|
+
PROVIDER_SERVER_ERROR: "PROVIDER_SERVER_ERROR",
|
|
14
|
+
PROVIDER_NETWORK_ERROR: "PROVIDER_NETWORK_ERROR",
|
|
15
|
+
PROVIDER_CONTEXT_OVERFLOW: "PROVIDER_CONTEXT_OVERFLOW",
|
|
16
|
+
// Tool
|
|
17
|
+
TOOL_NOT_FOUND: "TOOL_NOT_FOUND",
|
|
18
|
+
TOOL_PERMISSION_DENIED: "TOOL_PERMISSION_DENIED",
|
|
19
|
+
TOOL_EXECUTION_FAILED: "TOOL_EXECUTION_FAILED",
|
|
20
|
+
TOOL_TIMEOUT: "TOOL_TIMEOUT",
|
|
21
|
+
TOOL_INPUT_INVALID: "TOOL_INPUT_INVALID",
|
|
22
|
+
// Config
|
|
23
|
+
CONFIG_INVALID: "CONFIG_INVALID",
|
|
24
|
+
CONFIG_NOT_FOUND: "CONFIG_NOT_FOUND",
|
|
25
|
+
CONFIG_PARSE_FAILED: "CONFIG_PARSE_FAILED",
|
|
26
|
+
CONFIG_MIGRATION_NEEDED: "CONFIG_MIGRATION_NEEDED",
|
|
27
|
+
// Plugin
|
|
28
|
+
PLUGIN_LOAD_FAILED: "PLUGIN_LOAD_FAILED",
|
|
29
|
+
PLUGIN_API_MISMATCH: "PLUGIN_API_MISMATCH",
|
|
30
|
+
PLUGIN_MISSING_DEPENDENCY: "PLUGIN_MISSING_DEPENDENCY",
|
|
31
|
+
// Agent
|
|
32
|
+
AGENT_ITERATION_LIMIT: "AGENT_ITERATION_LIMIT",
|
|
33
|
+
AGENT_CONTEXT_OVERFLOW: "AGENT_CONTEXT_OVERFLOW",
|
|
34
|
+
AGENT_ABORTED: "AGENT_ABORTED",
|
|
35
|
+
AGENT_RUN_FAILED: "AGENT_RUN_FAILED",
|
|
36
|
+
// Session
|
|
37
|
+
SESSION_NOT_FOUND: "SESSION_NOT_FOUND",
|
|
38
|
+
SESSION_CORRUPTED: "SESSION_CORRUPTED",
|
|
39
|
+
SESSION_WRITE_FAILED: "SESSION_WRITE_FAILED",
|
|
8
40
|
// Container / Registry
|
|
9
41
|
CONTAINER_TOKEN_ALREADY_BOUND: "CONTAINER_TOKEN_ALREADY_BOUND",
|
|
10
42
|
CONTAINER_TOKEN_NOT_BOUND: "CONTAINER_TOKEN_NOT_BOUND",
|
|
11
43
|
CONTAINER_CIRCULAR_DEPENDENCY: "CONTAINER_CIRCULAR_DEPENDENCY",
|
|
12
44
|
REGISTRY_DUPLICATE: "REGISTRY_DUPLICATE",
|
|
13
45
|
REGISTRY_NOT_FOUND: "REGISTRY_NOT_FOUND",
|
|
46
|
+
REGISTRY_INVALID: "REGISTRY_INVALID",
|
|
47
|
+
// File system
|
|
48
|
+
FS_READ_FAILED: "FS_READ_FAILED",
|
|
49
|
+
FS_WRITE_FAILED: "FS_WRITE_FAILED",
|
|
50
|
+
FS_MKDIR_FAILED: "FS_MKDIR_FAILED",
|
|
51
|
+
FS_DELETE_FAILED: "FS_DELETE_FAILED",
|
|
52
|
+
FS_ATOMIC_WRITE_FAILED: "FS_ATOMIC_WRITE_FAILED",
|
|
53
|
+
// SDD (Spec-Driven Development)
|
|
54
|
+
SDD_VALIDATION_FAILED: "SDD_VALIDATION_FAILED",
|
|
55
|
+
SDD_PARSE_FAILED: "SDD_PARSE_FAILED",
|
|
56
|
+
SDD_INVALID_STATE: "SDD_INVALID_STATE",
|
|
57
|
+
SDD_NOT_READY: "SDD_NOT_READY",
|
|
14
58
|
// General
|
|
15
|
-
VALIDATION_ERROR: "VALIDATION_ERROR"
|
|
59
|
+
VALIDATION_ERROR: "VALIDATION_ERROR",
|
|
60
|
+
PARSE_FAILED: "PARSE_FAILED",
|
|
61
|
+
UNKNOWN: "UNKNOWN"
|
|
62
|
+
};
|
|
16
63
|
var WrongStackError = class extends Error {
|
|
17
64
|
code;
|
|
18
65
|
subsystem;
|
|
@@ -810,7 +857,12 @@ var RunController = class {
|
|
|
810
857
|
);
|
|
811
858
|
}
|
|
812
859
|
};
|
|
813
|
-
|
|
814
|
-
|
|
860
|
+
export {
|
|
861
|
+
Container,
|
|
862
|
+
EventBus,
|
|
863
|
+
Pipeline,
|
|
864
|
+
RunController,
|
|
865
|
+
ScopedEventBus,
|
|
866
|
+
TOKENS
|
|
867
|
+
};
|
|
815
868
|
//# sourceMappingURL=index.js.map
|
|
816
|
-
//# sourceMappingURL=index.js.map
|