pulseed 0.5.3 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -9
- package/dist/adapters/datasources/artifact-metric-datasource.d.ts +18 -0
- package/dist/adapters/datasources/artifact-metric-datasource.d.ts.map +1 -0
- package/dist/adapters/datasources/artifact-metric-datasource.js +592 -0
- package/dist/adapters/datasources/artifact-metric-datasource.js.map +1 -0
- package/dist/adapters/types/mcp.d.ts +6 -6
- package/dist/base/state/state-manager-goal-state.d.ts +40 -0
- package/dist/base/state/state-manager-goal-state.d.ts.map +1 -0
- package/dist/base/state/state-manager-goal-state.js +235 -0
- package/dist/base/state/state-manager-goal-state.js.map +1 -0
- package/dist/base/state/state-manager.d.ts +0 -5
- package/dist/base/state/state-manager.d.ts.map +1 -1
- package/dist/base/state/state-manager.js +27 -273
- package/dist/base/state/state-manager.js.map +1 -1
- package/dist/base/types/goal-activation.d.ts +37 -0
- package/dist/base/types/goal-activation.d.ts.map +1 -0
- package/dist/base/types/goal-activation.js +13 -0
- package/dist/base/types/goal-activation.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/interface/chat/chat-history.d.ts +129 -0
- package/dist/interface/chat/chat-history.d.ts.map +1 -1
- package/dist/interface/chat/chat-history.js +135 -0
- package/dist/interface/chat/chat-history.js.map +1 -1
- package/dist/interface/chat/chat-runner-command-helpers.d.ts +50 -0
- package/dist/interface/chat/chat-runner-command-helpers.d.ts.map +1 -0
- package/dist/interface/chat/chat-runner-command-helpers.js +189 -0
- package/dist/interface/chat/chat-runner-command-helpers.js.map +1 -0
- package/dist/interface/chat/chat-runner-commands.d.ts +82 -0
- package/dist/interface/chat/chat-runner-commands.d.ts.map +1 -0
- package/dist/interface/chat/chat-runner-commands.js +906 -0
- package/dist/interface/chat/chat-runner-commands.js.map +1 -0
- package/dist/interface/chat/chat-runner-event-bridge.d.ts +60 -0
- package/dist/interface/chat/chat-runner-event-bridge.d.ts.map +1 -0
- package/dist/interface/chat/chat-runner-event-bridge.js +377 -0
- package/dist/interface/chat/chat-runner-event-bridge.js.map +1 -0
- package/dist/interface/chat/chat-runner-routes.d.ts +67 -0
- package/dist/interface/chat/chat-runner-routes.d.ts.map +1 -0
- package/dist/interface/chat/chat-runner-routes.js +610 -0
- package/dist/interface/chat/chat-runner-routes.js.map +1 -0
- package/dist/interface/chat/chat-runner-runtime.d.ts +37 -0
- package/dist/interface/chat/chat-runner-runtime.d.ts.map +1 -0
- package/dist/interface/chat/chat-runner-runtime.js +236 -0
- package/dist/interface/chat/chat-runner-runtime.js.map +1 -0
- package/dist/interface/chat/chat-runner-state.d.ts +20 -0
- package/dist/interface/chat/chat-runner-state.d.ts.map +1 -0
- package/dist/interface/chat/chat-runner-state.js +157 -0
- package/dist/interface/chat/chat-runner-state.js.map +1 -0
- package/dist/interface/chat/chat-runner-support.d.ts +39 -0
- package/dist/interface/chat/chat-runner-support.d.ts.map +1 -0
- package/dist/interface/chat/chat-runner-support.js +170 -0
- package/dist/interface/chat/chat-runner-support.js.map +1 -0
- package/dist/interface/chat/chat-runner.d.ts +10 -153
- package/dist/interface/chat/chat-runner.d.ts.map +1 -1
- package/dist/interface/chat/chat-runner.js +330 -2643
- package/dist/interface/chat/chat-runner.js.map +1 -1
- package/dist/interface/chat/chat-session-store.d.ts +32 -0
- package/dist/interface/chat/chat-session-store.d.ts.map +1 -1
- package/dist/interface/chat/chat-session-store.js +100 -10
- package/dist/interface/chat/chat-session-store.js.map +1 -1
- package/dist/interface/chat/cross-platform-session.d.ts.map +1 -1
- package/dist/interface/chat/cross-platform-session.js +15 -6
- package/dist/interface/chat/cross-platform-session.js.map +1 -1
- package/dist/interface/chat/event-subscriber.d.ts.map +1 -1
- package/dist/interface/chat/event-subscriber.js +61 -0
- package/dist/interface/chat/event-subscriber.js.map +1 -1
- package/dist/interface/chat/failure-recovery.d.ts +43 -1
- package/dist/interface/chat/failure-recovery.d.ts.map +1 -1
- package/dist/interface/chat/failure-recovery.js +259 -89
- package/dist/interface/chat/failure-recovery.js.map +1 -1
- package/dist/interface/chat/ingress-router.d.ts +2 -26
- package/dist/interface/chat/ingress-router.d.ts.map +1 -1
- package/dist/interface/chat/ingress-router.js +14 -88
- package/dist/interface/chat/ingress-router.js.map +1 -1
- package/dist/interface/chat/tend-command.d.ts.map +1 -1
- package/dist/interface/chat/tend-command.js +3 -0
- package/dist/interface/chat/tend-command.js.map +1 -1
- package/dist/interface/cli/cli-command-registry.d.ts.map +1 -1
- package/dist/interface/cli/cli-command-registry.js +19 -3
- package/dist/interface/cli/cli-command-registry.js.map +1 -1
- package/dist/interface/cli/commands/daemon-shared.d.ts +33 -0
- package/dist/interface/cli/commands/daemon-shared.d.ts.map +1 -0
- package/dist/interface/cli/commands/daemon-shared.js +152 -0
- package/dist/interface/cli/commands/daemon-shared.js.map +1 -0
- package/dist/interface/cli/commands/daemon.d.ts +2 -2
- package/dist/interface/cli/commands/daemon.d.ts.map +1 -1
- package/dist/interface/cli/commands/daemon.js +62 -127
- package/dist/interface/cli/commands/daemon.js.map +1 -1
- package/dist/interface/cli/commands/goal-read.d.ts.map +1 -1
- package/dist/interface/cli/commands/goal-read.js +10 -3
- package/dist/interface/cli/commands/goal-read.js.map +1 -1
- package/dist/interface/cli/commands/notify.d.ts.map +1 -1
- package/dist/interface/cli/commands/notify.js +7 -1
- package/dist/interface/cli/commands/notify.js.map +1 -1
- package/dist/interface/cli/commands/run.d.ts.map +1 -1
- package/dist/interface/cli/commands/run.js +29 -0
- package/dist/interface/cli/commands/run.js.map +1 -1
- package/dist/interface/cli/commands/runtime.d.ts +1 -1
- package/dist/interface/cli/commands/runtime.d.ts.map +1 -1
- package/dist/interface/cli/commands/runtime.js +407 -2
- package/dist/interface/cli/commands/runtime.js.map +1 -1
- package/dist/interface/cli/commands/schedule/history.d.ts.map +1 -1
- package/dist/interface/cli/commands/schedule/history.js +5 -1
- package/dist/interface/cli/commands/schedule/history.js.map +1 -1
- package/dist/interface/cli/commands/schedule.js +34 -4
- package/dist/interface/cli/commands/schedule.js.map +1 -1
- package/dist/interface/cli/data-source-bootstrap.d.ts.map +1 -1
- package/dist/interface/cli/data-source-bootstrap.js +25 -12
- package/dist/interface/cli/data-source-bootstrap.js.map +1 -1
- package/dist/interface/cli/setup.d.ts.map +1 -1
- package/dist/interface/cli/setup.js +14 -0
- package/dist/interface/cli/setup.js.map +1 -1
- package/dist/interface/cli/utils/loop-runner.d.ts.map +1 -1
- package/dist/interface/cli/utils/loop-runner.js +2 -1
- package/dist/interface/cli/utils/loop-runner.js.map +1 -1
- package/dist/interface/cli/utils.d.ts.map +1 -1
- package/dist/interface/cli/utils.js +8 -1
- package/dist/interface/cli/utils.js.map +1 -1
- package/dist/interface/tui/app.d.ts +4 -1
- package/dist/interface/tui/app.d.ts.map +1 -1
- package/dist/interface/tui/app.js +282 -11
- package/dist/interface/tui/app.js.map +1 -1
- package/dist/interface/tui/chat/suggestions.d.ts.map +1 -1
- package/dist/interface/tui/chat/suggestions.js +118 -4
- package/dist/interface/tui/chat/suggestions.js.map +1 -1
- package/dist/interface/tui/chat-surface.d.ts +2 -0
- package/dist/interface/tui/chat-surface.d.ts.map +1 -1
- package/dist/interface/tui/chat-surface.js +3 -0
- package/dist/interface/tui/chat-surface.js.map +1 -1
- package/dist/interface/tui/dashboard.d.ts +37 -1
- package/dist/interface/tui/dashboard.d.ts.map +1 -1
- package/dist/interface/tui/dashboard.js +264 -1
- package/dist/interface/tui/dashboard.js.map +1 -1
- package/dist/interface/tui/entry-approval.d.ts +8 -0
- package/dist/interface/tui/entry-approval.d.ts.map +1 -0
- package/dist/interface/tui/entry-approval.js +59 -0
- package/dist/interface/tui/entry-approval.js.map +1 -0
- package/dist/interface/tui/entry-daemon.d.ts +12 -0
- package/dist/interface/tui/entry-daemon.d.ts.map +1 -0
- package/dist/interface/tui/entry-daemon.js +74 -0
- package/dist/interface/tui/entry-daemon.js.map +1 -0
- package/dist/interface/tui/entry-deps.d.ts +24 -0
- package/dist/interface/tui/entry-deps.d.ts.map +1 -0
- package/dist/interface/tui/entry-deps.js +427 -0
- package/dist/interface/tui/entry-deps.js.map +1 -0
- package/dist/interface/tui/entry.d.ts +2 -4
- package/dist/interface/tui/entry.d.ts.map +1 -1
- package/dist/interface/tui/entry.js +11 -556
- package/dist/interface/tui/entry.js.map +1 -1
- package/dist/interface/tui/fullscreen-chat-render.d.ts +127 -0
- package/dist/interface/tui/fullscreen-chat-render.d.ts.map +1 -0
- package/dist/interface/tui/fullscreen-chat-render.js +667 -0
- package/dist/interface/tui/fullscreen-chat-render.js.map +1 -0
- package/dist/interface/tui/fullscreen-chat.d.ts +2 -111
- package/dist/interface/tui/fullscreen-chat.d.ts.map +1 -1
- package/dist/interface/tui/fullscreen-chat.js +4 -663
- package/dist/interface/tui/fullscreen-chat.js.map +1 -1
- package/dist/interface/tui/help-overlay.d.ts.map +1 -1
- package/dist/interface/tui/help-overlay.js +1 -1
- package/dist/interface/tui/help-overlay.js.map +1 -1
- package/dist/interface/tui/intent-recognizer.d.ts +8 -3
- package/dist/interface/tui/intent-recognizer.d.ts.map +1 -1
- package/dist/interface/tui/intent-recognizer.js +74 -68
- package/dist/interface/tui/intent-recognizer.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-default-profile.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-default-profile.js +49 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-default-profile.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-router.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-router.js +2 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-router.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-runtime.d.ts +2 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-runtime.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-runtime.js +31 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-runtime.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-turn-context.d.ts +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-turn-context.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-turn-context.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.d.ts +1 -0
- package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.js +36 -2
- package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.d.ts +1 -1
- package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.js +2 -1
- package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/core-loop-control-tools.d.ts +19 -0
- package/dist/orchestrator/execution/agent-loop/core-loop-control-tools.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/core-loop-control-tools.js +165 -14
- package/dist/orchestrator/execution/agent-loop/core-loop-control-tools.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/core-phase-runner.d.ts +1 -1
- package/dist/orchestrator/execution/agent-loop/core-phase-runner.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/core-phase-runner.js +10 -1
- package/dist/orchestrator/execution/agent-loop/core-phase-runner.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/kaggle-training-benchmark.d.ts +2 -0
- package/dist/orchestrator/execution/agent-loop/kaggle-training-benchmark.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/kaggle-training-benchmark.js +4 -0
- package/dist/orchestrator/execution/agent-loop/kaggle-training-benchmark.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-result.d.ts +8 -8
- package/dist/orchestrator/execution/reflection-generator.d.ts +1 -0
- package/dist/orchestrator/execution/reflection-generator.d.ts.map +1 -1
- package/dist/orchestrator/execution/reflection-generator.js +10 -1
- package/dist/orchestrator/execution/reflection-generator.js.map +1 -1
- package/dist/orchestrator/execution/task/task-context-enricher.d.ts +2 -0
- package/dist/orchestrator/execution/task/task-context-enricher.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-context-enricher.js +9 -4
- package/dist/orchestrator/execution/task/task-context-enricher.js.map +1 -1
- package/dist/orchestrator/execution/task/task-execution-helpers-internal.d.ts +5 -0
- package/dist/orchestrator/execution/task/task-execution-helpers-internal.d.ts.map +1 -0
- package/dist/orchestrator/execution/task/task-execution-helpers-internal.js +6 -0
- package/dist/orchestrator/execution/task/task-execution-helpers-internal.js.map +1 -0
- package/dist/orchestrator/execution/task/task-generation.d.ts +3 -1
- package/dist/orchestrator/execution/task/task-generation.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-generation.js +25 -5
- package/dist/orchestrator/execution/task/task-generation.js.map +1 -1
- package/dist/orchestrator/execution/task/task-lifecycle-runner.d.ts +77 -0
- package/dist/orchestrator/execution/task/task-lifecycle-runner.d.ts.map +1 -0
- package/dist/orchestrator/execution/task/task-lifecycle-runner.js +188 -0
- package/dist/orchestrator/execution/task/task-lifecycle-runner.js.map +1 -0
- package/dist/orchestrator/execution/task/task-lifecycle.d.ts +17 -8
- package/dist/orchestrator/execution/task/task-lifecycle.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-lifecycle.js +144 -187
- package/dist/orchestrator/execution/task/task-lifecycle.js.map +1 -1
- package/dist/orchestrator/execution/task/task-prompt-builder.d.ts +2 -1
- package/dist/orchestrator/execution/task/task-prompt-builder.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-prompt-builder.js +4 -2
- package/dist/orchestrator/execution/task/task-prompt-builder.js.map +1 -1
- package/dist/orchestrator/execution/task/task-verifier-internal.d.ts +2 -0
- package/dist/orchestrator/execution/task/task-verifier-internal.d.ts.map +1 -0
- package/dist/orchestrator/execution/task/task-verifier-internal.js +2 -0
- package/dist/orchestrator/execution/task/task-verifier-internal.js.map +1 -0
- package/dist/orchestrator/execution/types/pipeline.d.ts +6 -6
- package/dist/orchestrator/goal/goal-negotiator.d.ts.map +1 -1
- package/dist/orchestrator/goal/goal-negotiator.js +23 -3
- package/dist/orchestrator/goal/goal-negotiator.js.map +1 -1
- package/dist/orchestrator/goal/types/goal.d.ts +282 -0
- package/dist/orchestrator/goal/types/goal.d.ts.map +1 -1
- package/dist/orchestrator/goal/types/goal.js +20 -0
- package/dist/orchestrator/goal/types/goal.js.map +1 -1
- package/dist/orchestrator/loop/core-loop/contracts.d.ts +47 -3
- package/dist/orchestrator/loop/core-loop/contracts.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/contracts.js.map +1 -1
- package/dist/orchestrator/loop/core-loop/decision-engine.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/decision-engine.js +4 -0
- package/dist/orchestrator/loop/core-loop/decision-engine.js.map +1 -1
- package/dist/orchestrator/loop/core-loop/dream-review-checkpoint.d.ts +48 -0
- package/dist/orchestrator/loop/core-loop/dream-review-checkpoint.d.ts.map +1 -0
- package/dist/orchestrator/loop/core-loop/dream-review-checkpoint.js +377 -0
- package/dist/orchestrator/loop/core-loop/dream-review-checkpoint.js.map +1 -0
- package/dist/orchestrator/loop/core-loop/evidence-ledger.js +1 -1
- package/dist/orchestrator/loop/core-loop/evidence-ledger.js.map +1 -1
- package/dist/orchestrator/loop/core-loop/iteration-kernel-knowledge.d.ts +7 -0
- package/dist/orchestrator/loop/core-loop/iteration-kernel-knowledge.d.ts.map +1 -0
- package/dist/orchestrator/loop/core-loop/iteration-kernel-knowledge.js +43 -0
- package/dist/orchestrator/loop/core-loop/iteration-kernel-knowledge.js.map +1 -0
- package/dist/orchestrator/loop/core-loop/iteration-kernel-wait.d.ts +14 -0
- package/dist/orchestrator/loop/core-loop/iteration-kernel-wait.d.ts.map +1 -0
- package/dist/orchestrator/loop/core-loop/iteration-kernel-wait.js +41 -0
- package/dist/orchestrator/loop/core-loop/iteration-kernel-wait.js.map +1 -0
- package/dist/orchestrator/loop/core-loop/iteration-kernel.d.ts +4 -2
- package/dist/orchestrator/loop/core-loop/iteration-kernel.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/iteration-kernel.js +507 -87
- package/dist/orchestrator/loop/core-loop/iteration-kernel.js.map +1 -1
- package/dist/orchestrator/loop/core-loop/phase-policy.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/phase-policy.js +40 -5
- package/dist/orchestrator/loop/core-loop/phase-policy.js.map +1 -1
- package/dist/orchestrator/loop/core-loop/phase-runtime.d.ts +2 -0
- package/dist/orchestrator/loop/core-loop/phase-runtime.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/phase-runtime.js +43 -2
- package/dist/orchestrator/loop/core-loop/phase-runtime.js.map +1 -1
- package/dist/orchestrator/loop/core-loop/phase-specs.d.ts +969 -2
- package/dist/orchestrator/loop/core-loop/phase-specs.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/phase-specs.js +198 -0
- package/dist/orchestrator/loop/core-loop/phase-specs.js.map +1 -1
- package/dist/orchestrator/loop/core-loop/public-research.d.ts +32 -0
- package/dist/orchestrator/loop/core-loop/public-research.d.ts.map +1 -0
- package/dist/orchestrator/loop/core-loop/public-research.js +112 -0
- package/dist/orchestrator/loop/core-loop/public-research.js.map +1 -0
- package/dist/orchestrator/loop/core-loop/task-cycle-stall.d.ts +9 -0
- package/dist/orchestrator/loop/core-loop/task-cycle-stall.d.ts.map +1 -0
- package/dist/orchestrator/loop/core-loop/task-cycle-stall.js +433 -0
- package/dist/orchestrator/loop/core-loop/task-cycle-stall.js.map +1 -0
- package/dist/orchestrator/loop/core-loop/task-cycle-wait.d.ts +11 -0
- package/dist/orchestrator/loop/core-loop/task-cycle-wait.d.ts.map +1 -0
- package/dist/orchestrator/loop/core-loop/task-cycle-wait.js +176 -0
- package/dist/orchestrator/loop/core-loop/task-cycle-wait.js.map +1 -0
- package/dist/orchestrator/loop/core-loop/task-cycle.d.ts +7 -15
- package/dist/orchestrator/loop/core-loop/task-cycle.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/task-cycle.js +17 -444
- package/dist/orchestrator/loop/core-loop/task-cycle.js.map +1 -1
- package/dist/orchestrator/loop/core-loop.d.ts +18 -5
- package/dist/orchestrator/loop/core-loop.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop.js +287 -17
- package/dist/orchestrator/loop/core-loop.js.map +1 -1
- package/dist/orchestrator/loop/loop-report-helper.d.ts.map +1 -1
- package/dist/orchestrator/loop/loop-report-helper.js +4 -0
- package/dist/orchestrator/loop/loop-report-helper.js.map +1 -1
- package/dist/orchestrator/loop/loop-result-types.d.ts +20 -1
- package/dist/orchestrator/loop/loop-result-types.d.ts.map +1 -1
- package/dist/orchestrator/loop/loop-result-types.js.map +1 -1
- package/dist/orchestrator/loop/post-loop-hooks.d.ts +1 -0
- package/dist/orchestrator/loop/post-loop-hooks.d.ts.map +1 -1
- package/dist/orchestrator/loop/post-loop-hooks.js +34 -1
- package/dist/orchestrator/loop/post-loop-hooks.js.map +1 -1
- package/dist/orchestrator/loop/run-policy.d.ts +10 -0
- package/dist/orchestrator/loop/run-policy.d.ts.map +1 -0
- package/dist/orchestrator/loop/run-policy.js +30 -0
- package/dist/orchestrator/loop/run-policy.js.map +1 -0
- package/dist/orchestrator/strategy/divergent-exploration.d.ts +37 -0
- package/dist/orchestrator/strategy/divergent-exploration.d.ts.map +1 -0
- package/dist/orchestrator/strategy/divergent-exploration.js +324 -0
- package/dist/orchestrator/strategy/divergent-exploration.js.map +1 -0
- package/dist/orchestrator/strategy/portfolio-manager.d.ts +3 -2
- package/dist/orchestrator/strategy/portfolio-manager.d.ts.map +1 -1
- package/dist/orchestrator/strategy/portfolio-manager.js +16 -11
- package/dist/orchestrator/strategy/portfolio-manager.js.map +1 -1
- package/dist/orchestrator/strategy/portfolio-rebalance.d.ts +1 -1
- package/dist/orchestrator/strategy/portfolio-rebalance.d.ts.map +1 -1
- package/dist/orchestrator/strategy/portfolio-rebalance.js +31 -9
- package/dist/orchestrator/strategy/portfolio-rebalance.js.map +1 -1
- package/dist/orchestrator/strategy/strategy-helpers.d.ts +108 -0
- package/dist/orchestrator/strategy/strategy-helpers.d.ts.map +1 -1
- package/dist/orchestrator/strategy/strategy-helpers.js +34 -2
- package/dist/orchestrator/strategy/strategy-helpers.js.map +1 -1
- package/dist/orchestrator/strategy/strategy-manager-base.d.ts +31 -2
- package/dist/orchestrator/strategy/strategy-manager-base.d.ts.map +1 -1
- package/dist/orchestrator/strategy/strategy-manager-base.js +93 -12
- package/dist/orchestrator/strategy/strategy-manager-base.js.map +1 -1
- package/dist/orchestrator/strategy/strategy-manager.d.ts +1 -11
- package/dist/orchestrator/strategy/strategy-manager.d.ts.map +1 -1
- package/dist/orchestrator/strategy/strategy-manager.js +78 -19
- package/dist/orchestrator/strategy/strategy-manager.js.map +1 -1
- package/dist/orchestrator/strategy/types/cross-portfolio.d.ts +2 -2
- package/dist/orchestrator/strategy/types/strategy.d.ts +364 -0
- package/dist/orchestrator/strategy/types/strategy.d.ts.map +1 -1
- package/dist/orchestrator/strategy/types/strategy.js +43 -0
- package/dist/orchestrator/strategy/types/strategy.js.map +1 -1
- package/dist/platform/dream/dream-activation.d.ts +1 -1
- package/dist/platform/dream/dream-consolidator/fs-metrics.d.ts +18 -0
- package/dist/platform/dream/dream-consolidator/fs-metrics.d.ts.map +1 -0
- package/dist/platform/dream/dream-consolidator/fs-metrics.js +130 -0
- package/dist/platform/dream/dream-consolidator/fs-metrics.js.map +1 -0
- package/dist/platform/dream/dream-consolidator.d.ts +4 -14
- package/dist/platform/dream/dream-consolidator.d.ts.map +1 -1
- package/dist/platform/dream/dream-consolidator.js +46 -166
- package/dist/platform/dream/dream-consolidator.js.map +1 -1
- package/dist/platform/dream/dream-event-workflows.d.ts +6 -6
- package/dist/platform/dream/dream-soil-sync.d.ts +1 -0
- package/dist/platform/dream/dream-soil-sync.d.ts.map +1 -1
- package/dist/platform/dream/dream-soil-sync.js +8 -1
- package/dist/platform/dream/dream-soil-sync.js.map +1 -1
- package/dist/platform/dream/dream-types.d.ts +94 -89
- package/dist/platform/dream/dream-types.d.ts.map +1 -1
- package/dist/platform/dream/dream-types.js +1 -0
- package/dist/platform/dream/dream-types.js.map +1 -1
- package/dist/platform/dream/playbook-memory.d.ts +4 -4
- package/dist/platform/drive/metric-history.d.ts +61 -0
- package/dist/platform/drive/metric-history.d.ts.map +1 -0
- package/dist/platform/drive/metric-history.js +206 -0
- package/dist/platform/drive/metric-history.js.map +1 -0
- package/dist/platform/drive/progress-predictor.d.ts +7 -0
- package/dist/platform/drive/progress-predictor.d.ts.map +1 -1
- package/dist/platform/drive/progress-predictor.js +23 -0
- package/dist/platform/drive/progress-predictor.js.map +1 -1
- package/dist/platform/drive/stall-detector/analysis.d.ts +5 -0
- package/dist/platform/drive/stall-detector/analysis.d.ts.map +1 -0
- package/dist/platform/drive/stall-detector/analysis.js +55 -0
- package/dist/platform/drive/stall-detector/analysis.js.map +1 -0
- package/dist/platform/drive/stall-detector/repetitive.d.ts +3 -0
- package/dist/platform/drive/stall-detector/repetitive.d.ts.map +1 -0
- package/dist/platform/drive/stall-detector/repetitive.js +72 -0
- package/dist/platform/drive/stall-detector/repetitive.js.map +1 -0
- package/dist/platform/drive/stall-detector/thresholds.d.ts +10 -0
- package/dist/platform/drive/stall-detector/thresholds.d.ts.map +1 -0
- package/dist/platform/drive/stall-detector/thresholds.js +61 -0
- package/dist/platform/drive/stall-detector/thresholds.js.map +1 -0
- package/dist/platform/drive/stall-detector.d.ts +5 -21
- package/dist/platform/drive/stall-detector.d.ts.map +1 -1
- package/dist/platform/drive/stall-detector.js +47 -201
- package/dist/platform/drive/stall-detector.js.map +1 -1
- package/dist/platform/drive/types/satisficing.d.ts +2 -2
- package/dist/platform/drive/types/stall.d.ts +4 -0
- package/dist/platform/drive/types/stall.d.ts.map +1 -1
- package/dist/platform/drive/types/stall.js +1 -0
- package/dist/platform/drive/types/stall.js.map +1 -1
- package/dist/platform/knowledge/knowledge-manager-agent-memory.d.ts +55 -0
- package/dist/platform/knowledge/knowledge-manager-agent-memory.d.ts.map +1 -0
- package/dist/platform/knowledge/knowledge-manager-agent-memory.js +232 -0
- package/dist/platform/knowledge/knowledge-manager-agent-memory.js.map +1 -0
- package/dist/platform/knowledge/knowledge-manager-internals.d.ts +10 -0
- package/dist/platform/knowledge/knowledge-manager-internals.d.ts.map +1 -0
- package/dist/platform/knowledge/knowledge-manager-internals.js +43 -0
- package/dist/platform/knowledge/knowledge-manager-internals.js.map +1 -0
- package/dist/platform/knowledge/knowledge-manager-store.d.ts +13 -0
- package/dist/platform/knowledge/knowledge-manager-store.d.ts.map +1 -0
- package/dist/platform/knowledge/knowledge-manager-store.js +67 -0
- package/dist/platform/knowledge/knowledge-manager-store.js.map +1 -0
- package/dist/platform/knowledge/knowledge-manager.d.ts +6 -2
- package/dist/platform/knowledge/knowledge-manager.d.ts.map +1 -1
- package/dist/platform/knowledge/knowledge-manager.js +43 -344
- package/dist/platform/knowledge/knowledge-manager.js.map +1 -1
- package/dist/platform/knowledge/memory/memory-lifecycle-storage.d.ts +4 -0
- package/dist/platform/knowledge/memory/memory-lifecycle-storage.d.ts.map +1 -0
- package/dist/platform/knowledge/memory/memory-lifecycle-storage.js +106 -0
- package/dist/platform/knowledge/memory/memory-lifecycle-storage.js.map +1 -0
- package/dist/platform/knowledge/memory/memory-lifecycle.d.ts.map +1 -1
- package/dist/platform/knowledge/memory/memory-lifecycle.js +6 -112
- package/dist/platform/knowledge/memory/memory-lifecycle.js.map +1 -1
- package/dist/platform/knowledge/types/learning.d.ts +2 -2
- package/dist/platform/observation/capability-detector/prompts.d.ts +18 -0
- package/dist/platform/observation/capability-detector/prompts.d.ts.map +1 -0
- package/dist/platform/observation/capability-detector/prompts.js +80 -0
- package/dist/platform/observation/capability-detector/prompts.js.map +1 -0
- package/dist/platform/observation/capability-detector/recommendations.d.ts +5 -0
- package/dist/platform/observation/capability-detector/recommendations.d.ts.map +1 -0
- package/dist/platform/observation/capability-detector/recommendations.js +76 -0
- package/dist/platform/observation/capability-detector/recommendations.js.map +1 -0
- package/dist/platform/observation/capability-detector/types.d.ts +112 -0
- package/dist/platform/observation/capability-detector/types.d.ts.map +1 -0
- package/dist/platform/observation/capability-detector/types.js +75 -0
- package/dist/platform/observation/capability-detector/types.js.map +1 -0
- package/dist/platform/observation/capability-detector.d.ts +4 -9
- package/dist/platform/observation/capability-detector.d.ts.map +1 -1
- package/dist/platform/observation/capability-detector.js +12 -212
- package/dist/platform/observation/capability-detector.js.map +1 -1
- package/dist/platform/observation/context-provider/collector.d.ts +13 -0
- package/dist/platform/observation/context-provider/collector.d.ts.map +1 -0
- package/dist/platform/observation/context-provider/collector.js +259 -0
- package/dist/platform/observation/context-provider/collector.js.map +1 -0
- package/dist/platform/observation/context-provider/search-terms.d.ts +2 -0
- package/dist/platform/observation/context-provider/search-terms.d.ts.map +1 -0
- package/dist/platform/observation/context-provider/search-terms.js +24 -0
- package/dist/platform/observation/context-provider/search-terms.js.map +1 -0
- package/dist/platform/observation/context-provider/shared.d.ts +17 -0
- package/dist/platform/observation/context-provider/shared.d.ts.map +1 -0
- package/dist/platform/observation/context-provider/shared.js +87 -0
- package/dist/platform/observation/context-provider/shared.js.map +1 -0
- package/dist/platform/observation/context-provider.d.ts +3 -28
- package/dist/platform/observation/context-provider.d.ts.map +1 -1
- package/dist/platform/observation/context-provider.js +7 -395
- package/dist/platform/observation/context-provider.js.map +1 -1
- package/dist/platform/observation/data-source-adapter.d.ts +1 -0
- package/dist/platform/observation/data-source-adapter.d.ts.map +1 -1
- package/dist/platform/observation/data-source-adapter.js.map +1 -1
- package/dist/platform/observation/observation-datasource.d.ts.map +1 -1
- package/dist/platform/observation/observation-datasource.js +2 -0
- package/dist/platform/observation/observation-datasource.js.map +1 -1
- package/dist/platform/observation/types/data-source.d.ts +153 -9
- package/dist/platform/observation/types/data-source.d.ts.map +1 -1
- package/dist/platform/observation/types/data-source.js +13 -1
- package/dist/platform/observation/types/data-source.js.map +1 -1
- package/dist/platform/soil/compiled-memory-projections.d.ts +2 -0
- package/dist/platform/soil/compiled-memory-projections.d.ts.map +1 -1
- package/dist/platform/soil/compiled-memory-projections.js +59 -0
- package/dist/platform/soil/compiled-memory-projections.js.map +1 -1
- package/dist/platform/soil/contracts.d.ts +67 -67
- package/dist/platform/soil/importer.d.ts +6 -6
- package/dist/platform/soil/retriever.d.ts +25 -0
- package/dist/platform/soil/retriever.d.ts.map +1 -1
- package/dist/platform/soil/retriever.js +94 -5
- package/dist/platform/soil/retriever.js.map +1 -1
- package/dist/platform/soil/sqlite-repository-helpers.d.ts +80 -0
- package/dist/platform/soil/sqlite-repository-helpers.d.ts.map +1 -0
- package/dist/platform/soil/sqlite-repository-helpers.js +143 -0
- package/dist/platform/soil/sqlite-repository-helpers.js.map +1 -0
- package/dist/platform/soil/sqlite-repository-search.d.ts +8 -0
- package/dist/platform/soil/sqlite-repository-search.d.ts.map +1 -0
- package/dist/platform/soil/sqlite-repository-search.js +367 -0
- package/dist/platform/soil/sqlite-repository-search.js.map +1 -0
- package/dist/platform/soil/sqlite-repository-storage.d.ts +8 -0
- package/dist/platform/soil/sqlite-repository-storage.d.ts.map +1 -0
- package/dist/platform/soil/sqlite-repository-storage.js +278 -0
- package/dist/platform/soil/sqlite-repository-storage.js.map +1 -0
- package/dist/platform/soil/sqlite-repository.d.ts +1 -4
- package/dist/platform/soil/sqlite-repository.d.ts.map +1 -1
- package/dist/platform/soil/sqlite-repository.js +26 -820
- package/dist/platform/soil/sqlite-repository.js.map +1 -1
- package/dist/platform/soil/types.d.ts +8 -8
- package/dist/platform/time/deadline-finalization.d.ts +57 -0
- package/dist/platform/time/deadline-finalization.d.ts.map +1 -0
- package/dist/platform/time/deadline-finalization.js +136 -0
- package/dist/platform/time/deadline-finalization.js.map +1 -0
- package/dist/platform/time/execution-mode.d.ts +29 -0
- package/dist/platform/time/execution-mode.d.ts.map +1 -0
- package/dist/platform/time/execution-mode.js +84 -0
- package/dist/platform/time/execution-mode.js.map +1 -0
- package/dist/platform/traits/types/curiosity.d.ts +9 -9
- package/dist/platform/traits/types/guardrail.d.ts +6 -6
- package/dist/reporting/report-formatters.d.ts.map +1 -1
- package/dist/reporting/report-formatters.js +67 -2
- package/dist/reporting/report-formatters.js.map +1 -1
- package/dist/reporting/reporting-engine.d.ts.map +1 -1
- package/dist/reporting/reporting-engine.js +3 -1
- package/dist/reporting/reporting-engine.js.map +1 -1
- package/dist/reporting/reporting-types.d.ts +4 -0
- package/dist/reporting/reporting-types.d.ts.map +1 -1
- package/dist/reporting/types/report.d.ts +59 -0
- package/dist/reporting/types/report.d.ts.map +1 -1
- package/dist/reporting/types/report.js +9 -0
- package/dist/reporting/types/report.js.map +1 -1
- package/dist/runtime/command-dispatcher.d.ts +2 -0
- package/dist/runtime/command-dispatcher.d.ts.map +1 -1
- package/dist/runtime/command-dispatcher.js +16 -0
- package/dist/runtime/command-dispatcher.js.map +1 -1
- package/dist/runtime/confirmation-decision.d.ts +94 -0
- package/dist/runtime/confirmation-decision.d.ts.map +1 -0
- package/dist/runtime/confirmation-decision.js +109 -0
- package/dist/runtime/confirmation-decision.js.map +1 -0
- package/dist/runtime/control/daemon-runtime-control-executor.d.ts.map +1 -1
- package/dist/runtime/control/daemon-runtime-control-executor.js +31 -1
- package/dist/runtime/control/daemon-runtime-control-executor.js.map +1 -1
- package/dist/runtime/control/runtime-control-intent.d.ts +9 -1
- package/dist/runtime/control/runtime-control-intent.d.ts.map +1 -1
- package/dist/runtime/control/runtime-control-intent.js +82 -16
- package/dist/runtime/control/runtime-control-intent.js.map +1 -1
- package/dist/runtime/control/runtime-control-service.d.ts +35 -1
- package/dist/runtime/control/runtime-control-service.d.ts.map +1 -1
- package/dist/runtime/control/runtime-control-service.js +285 -5
- package/dist/runtime/control/runtime-control-service.js.map +1 -1
- package/dist/runtime/daemon/client.d.ts +12 -0
- package/dist/runtime/daemon/client.d.ts.map +1 -1
- package/dist/runtime/daemon/client.js +9 -0
- package/dist/runtime/daemon/client.js.map +1 -1
- package/dist/runtime/daemon/index.d.ts +1 -1
- package/dist/runtime/daemon/index.d.ts.map +1 -1
- package/dist/runtime/daemon/index.js +1 -1
- package/dist/runtime/daemon/index.js.map +1 -1
- package/dist/runtime/daemon/maintenance.d.ts +2 -10
- package/dist/runtime/daemon/maintenance.d.ts.map +1 -1
- package/dist/runtime/daemon/maintenance.js +14 -45
- package/dist/runtime/daemon/maintenance.js.map +1 -1
- package/dist/runtime/daemon/runner-bootstrap.d.ts +25 -0
- package/dist/runtime/daemon/runner-bootstrap.d.ts.map +1 -0
- package/dist/runtime/daemon/runner-bootstrap.js +77 -0
- package/dist/runtime/daemon/runner-bootstrap.js.map +1 -0
- package/dist/runtime/daemon/runner-commands.d.ts +13 -9
- package/dist/runtime/daemon/runner-commands.d.ts.map +1 -1
- package/dist/runtime/daemon/runner-commands.js +272 -21
- package/dist/runtime/daemon/runner-commands.js.map +1 -1
- package/dist/runtime/daemon/runner-goal-cycle.d.ts.map +1 -1
- package/dist/runtime/daemon/runner-goal-cycle.js +62 -6
- package/dist/runtime/daemon/runner-goal-cycle.js.map +1 -1
- package/dist/runtime/daemon/runner-resident-curiosity.d.ts +12 -0
- package/dist/runtime/daemon/runner-resident-curiosity.d.ts.map +1 -0
- package/dist/runtime/daemon/runner-resident-curiosity.js +155 -0
- package/dist/runtime/daemon/runner-resident-curiosity.js.map +1 -0
- package/dist/runtime/daemon/runner-resident-dream.d.ts +20 -0
- package/dist/runtime/daemon/runner-resident-dream.d.ts.map +1 -0
- package/dist/runtime/daemon/runner-resident-dream.js +148 -0
- package/dist/runtime/daemon/runner-resident-dream.js.map +1 -0
- package/dist/runtime/daemon/runner-resident-proactive.d.ts +4 -0
- package/dist/runtime/daemon/runner-resident-proactive.d.ts.map +1 -0
- package/dist/runtime/daemon/runner-resident-proactive.js +113 -0
- package/dist/runtime/daemon/runner-resident-proactive.js.map +1 -0
- package/dist/runtime/daemon/runner-resident-shared.d.ts +40 -0
- package/dist/runtime/daemon/runner-resident-shared.d.ts.map +1 -0
- package/dist/runtime/daemon/runner-resident-shared.js +101 -0
- package/dist/runtime/daemon/runner-resident-shared.js.map +1 -0
- package/dist/runtime/daemon/runner-resident.d.ts +4 -68
- package/dist/runtime/daemon/runner-resident.d.ts.map +1 -1
- package/dist/runtime/daemon/runner-resident.js +4 -506
- package/dist/runtime/daemon/runner-resident.js.map +1 -1
- package/dist/runtime/daemon/runner-runtime.d.ts +12 -0
- package/dist/runtime/daemon/runner-runtime.d.ts.map +1 -0
- package/dist/runtime/daemon/runner-runtime.js +43 -0
- package/dist/runtime/daemon/runner-runtime.js.map +1 -0
- package/dist/runtime/daemon/runner-startup.d.ts.map +1 -1
- package/dist/runtime/daemon/runner-startup.js +15 -6
- package/dist/runtime/daemon/runner-startup.js.map +1 -1
- package/dist/runtime/daemon/runner.d.ts +14 -23
- package/dist/runtime/daemon/runner.d.ts.map +1 -1
- package/dist/runtime/daemon/runner.js +40 -110
- package/dist/runtime/daemon/runner.js.map +1 -1
- package/dist/runtime/daemon/runtime-ownership.d.ts +9 -0
- package/dist/runtime/daemon/runtime-ownership.d.ts.map +1 -1
- package/dist/runtime/daemon/runtime-ownership.js +248 -1
- package/dist/runtime/daemon/runtime-ownership.js.map +1 -1
- package/dist/runtime/daemon/wait-deadline-resolver.d.ts +5 -2
- package/dist/runtime/daemon/wait-deadline-resolver.d.ts.map +1 -1
- package/dist/runtime/daemon/wait-deadline-resolver.js +55 -35
- package/dist/runtime/daemon/wait-deadline-resolver.js.map +1 -1
- package/dist/runtime/dream-sidecar-review.d.ts +92 -0
- package/dist/runtime/dream-sidecar-review.d.ts.map +1 -0
- package/dist/runtime/dream-sidecar-review.js +495 -0
- package/dist/runtime/dream-sidecar-review.js.map +1 -0
- package/dist/runtime/event/dispatcher.d.ts +0 -2
- package/dist/runtime/event/dispatcher.d.ts.map +1 -1
- package/dist/runtime/event/dispatcher.js +0 -4
- package/dist/runtime/event/dispatcher.js.map +1 -1
- package/dist/runtime/event/server-command-handler.d.ts +2 -4
- package/dist/runtime/event/server-command-handler.d.ts.map +1 -1
- package/dist/runtime/event/server-command-handler.js +36 -6
- package/dist/runtime/event/server-command-handler.js.map +1 -1
- package/dist/runtime/event/server-snapshot-reader.d.ts +15 -1
- package/dist/runtime/event/server-snapshot-reader.d.ts.map +1 -1
- package/dist/runtime/event/server-snapshot-reader.js +66 -2
- package/dist/runtime/event/server-snapshot-reader.js.map +1 -1
- package/dist/runtime/event/server-types.d.ts +7 -0
- package/dist/runtime/event/server-types.d.ts.map +1 -1
- package/dist/runtime/event/server.d.ts +5 -0
- package/dist/runtime/event/server.d.ts.map +1 -1
- package/dist/runtime/event/server.js +43 -11
- package/dist/runtime/event/server.js.map +1 -1
- package/dist/runtime/evidence-answer.d.ts +41 -0
- package/dist/runtime/evidence-answer.d.ts.map +1 -0
- package/dist/runtime/evidence-answer.js +366 -0
- package/dist/runtime/evidence-answer.js.map +1 -0
- package/dist/runtime/executor/goal-worker.d.ts +6 -2
- package/dist/runtime/executor/goal-worker.d.ts.map +1 -1
- package/dist/runtime/executor/goal-worker.js +7 -2
- package/dist/runtime/executor/goal-worker.js.map +1 -1
- package/dist/runtime/executor/loop-supervisor.d.ts +7 -0
- package/dist/runtime/executor/loop-supervisor.d.ts.map +1 -1
- package/dist/runtime/executor/loop-supervisor.js +72 -17
- package/dist/runtime/executor/loop-supervisor.js.map +1 -1
- package/dist/runtime/guardrails/backpressure-controller.d.ts +32 -0
- package/dist/runtime/guardrails/backpressure-controller.d.ts.map +1 -0
- package/dist/runtime/guardrails/backpressure-controller.js +88 -0
- package/dist/runtime/guardrails/backpressure-controller.js.map +1 -0
- package/dist/runtime/guardrails/circuit-breaker.d.ts +32 -0
- package/dist/runtime/guardrails/circuit-breaker.d.ts.map +1 -0
- package/dist/runtime/guardrails/circuit-breaker.js +88 -0
- package/dist/runtime/guardrails/circuit-breaker.js.map +1 -0
- package/dist/runtime/guardrails/guardrail-store.d.ts +23 -0
- package/dist/runtime/guardrails/guardrail-store.d.ts.map +1 -0
- package/dist/runtime/guardrails/guardrail-store.js +95 -0
- package/dist/runtime/guardrails/guardrail-store.js.map +1 -0
- package/dist/runtime/guardrails/index.d.ts +4 -0
- package/dist/runtime/guardrails/index.d.ts.map +1 -0
- package/dist/runtime/guardrails/index.js +4 -0
- package/dist/runtime/guardrails/index.js.map +1 -0
- package/dist/runtime/interactive-automation/browser-session-store.d.ts +43 -0
- package/dist/runtime/interactive-automation/browser-session-store.d.ts.map +1 -0
- package/dist/runtime/interactive-automation/browser-session-store.js +104 -0
- package/dist/runtime/interactive-automation/browser-session-store.js.map +1 -0
- package/dist/runtime/interactive-automation/failure-classifier.d.ts +12 -0
- package/dist/runtime/interactive-automation/failure-classifier.d.ts.map +1 -0
- package/dist/runtime/interactive-automation/failure-classifier.js +50 -0
- package/dist/runtime/interactive-automation/failure-classifier.js.map +1 -0
- package/dist/runtime/interactive-automation/index.d.ts +2 -0
- package/dist/runtime/interactive-automation/index.d.ts.map +1 -1
- package/dist/runtime/interactive-automation/index.js +2 -0
- package/dist/runtime/interactive-automation/index.js.map +1 -1
- package/dist/runtime/interactive-automation/providers/manus-browser.d.ts.map +1 -1
- package/dist/runtime/interactive-automation/providers/manus-browser.js +17 -1
- package/dist/runtime/interactive-automation/providers/manus-browser.js.map +1 -1
- package/dist/runtime/interactive-automation/types.d.ts +4 -0
- package/dist/runtime/interactive-automation/types.d.ts.map +1 -1
- package/dist/runtime/interactive-automation/types.js.map +1 -1
- package/dist/runtime/notification-routing.d.ts +45 -2
- package/dist/runtime/notification-routing.d.ts.map +1 -1
- package/dist/runtime/notification-routing.js +196 -79
- package/dist/runtime/notification-routing.js.map +1 -1
- package/dist/runtime/run-spec/confirmation.d.ts +34 -0
- package/dist/runtime/run-spec/confirmation.d.ts.map +1 -0
- package/dist/runtime/run-spec/confirmation.js +176 -0
- package/dist/runtime/run-spec/confirmation.js.map +1 -0
- package/dist/runtime/run-spec/derive.d.ts +284 -0
- package/dist/runtime/run-spec/derive.d.ts.map +1 -0
- package/dist/runtime/run-spec/derive.js +379 -0
- package/dist/runtime/run-spec/derive.js.map +1 -0
- package/dist/runtime/run-spec/index.d.ts +5 -0
- package/dist/runtime/run-spec/index.d.ts.map +1 -0
- package/dist/runtime/run-spec/index.js +5 -0
- package/dist/runtime/run-spec/index.js.map +1 -0
- package/dist/runtime/run-spec/store.d.ts +11 -0
- package/dist/runtime/run-spec/store.d.ts.map +1 -0
- package/dist/runtime/run-spec/store.js +36 -0
- package/dist/runtime/run-spec/store.js.map +1 -0
- package/dist/runtime/run-spec/types.d.ts +495 -0
- package/dist/runtime/run-spec/types.d.ts.map +1 -0
- package/dist/runtime/run-spec/types.js +87 -0
- package/dist/runtime/run-spec/types.js.map +1 -0
- package/dist/runtime/schedule/engine-cron-reflection.d.ts +31 -0
- package/dist/runtime/schedule/engine-cron-reflection.d.ts.map +1 -0
- package/dist/runtime/schedule/engine-cron-reflection.js +229 -0
- package/dist/runtime/schedule/engine-cron-reflection.js.map +1 -0
- package/dist/runtime/schedule/engine-execution.d.ts +48 -0
- package/dist/runtime/schedule/engine-execution.d.ts.map +1 -0
- package/dist/runtime/schedule/engine-execution.js +424 -0
- package/dist/runtime/schedule/engine-execution.js.map +1 -0
- package/dist/runtime/schedule/engine-heartbeat.d.ts +5 -0
- package/dist/runtime/schedule/engine-heartbeat.d.ts.map +1 -0
- package/dist/runtime/schedule/engine-heartbeat.js +104 -0
- package/dist/runtime/schedule/engine-heartbeat.js.map +1 -0
- package/dist/runtime/schedule/engine-layers.d.ts +4 -1
- package/dist/runtime/schedule/engine-layers.d.ts.map +1 -1
- package/dist/runtime/schedule/engine-layers.js +15 -229
- package/dist/runtime/schedule/engine-layers.js.map +1 -1
- package/dist/runtime/schedule/engine-mutations.d.ts +37 -0
- package/dist/runtime/schedule/engine-mutations.d.ts.map +1 -0
- package/dist/runtime/schedule/engine-mutations.js +263 -0
- package/dist/runtime/schedule/engine-mutations.js.map +1 -0
- package/dist/runtime/schedule/engine.d.ts +13 -39
- package/dist/runtime/schedule/engine.d.ts.map +1 -1
- package/dist/runtime/schedule/engine.js +65 -810
- package/dist/runtime/schedule/engine.js.map +1 -1
- package/dist/runtime/schedule/history.d.ts +20 -4
- package/dist/runtime/schedule/history.d.ts.map +1 -1
- package/dist/runtime/schedule/history.js +8 -0
- package/dist/runtime/schedule/history.js.map +1 -1
- package/dist/runtime/schedule/index.d.ts +1 -0
- package/dist/runtime/schedule/index.d.ts.map +1 -1
- package/dist/runtime/schedule/index.js +1 -0
- package/dist/runtime/schedule/index.js.map +1 -1
- package/dist/runtime/schedule/legacy-cron-migration.d.ts +9 -0
- package/dist/runtime/schedule/legacy-cron-migration.d.ts.map +1 -0
- package/dist/runtime/schedule/legacy-cron-migration.js +89 -0
- package/dist/runtime/schedule/legacy-cron-migration.js.map +1 -0
- package/dist/runtime/schedule/wait-projection.d.ts +6 -0
- package/dist/runtime/schedule/wait-projection.d.ts.map +1 -0
- package/dist/runtime/schedule/wait-projection.js +102 -0
- package/dist/runtime/schedule/wait-projection.js.map +1 -0
- package/dist/runtime/session-registry/registry-helpers.d.ts +34 -0
- package/dist/runtime/session-registry/registry-helpers.d.ts.map +1 -0
- package/dist/runtime/session-registry/registry-helpers.js +241 -0
- package/dist/runtime/session-registry/registry-helpers.js.map +1 -0
- package/dist/runtime/session-registry/registry.d.ts.map +1 -1
- package/dist/runtime/session-registry/registry.js +16 -243
- package/dist/runtime/session-registry/registry.js.map +1 -1
- package/dist/runtime/session-registry/types.d.ts +138 -130
- package/dist/runtime/session-registry/types.d.ts.map +1 -1
- package/dist/runtime/session-registry/types.js +2 -0
- package/dist/runtime/session-registry/types.js.map +1 -1
- package/dist/runtime/store/artifact-retention.d.ts +44 -0
- package/dist/runtime/store/artifact-retention.d.ts.map +1 -0
- package/dist/runtime/store/artifact-retention.js +263 -0
- package/dist/runtime/store/artifact-retention.js.map +1 -0
- package/dist/runtime/store/background-run-store.d.ts +1 -0
- package/dist/runtime/store/background-run-store.d.ts.map +1 -1
- package/dist/runtime/store/background-run-store.js +1 -0
- package/dist/runtime/store/background-run-store.js.map +1 -1
- package/dist/runtime/store/budget-store.d.ts +442 -0
- package/dist/runtime/store/budget-store.d.ts.map +1 -0
- package/dist/runtime/store/budget-store.js +318 -0
- package/dist/runtime/store/budget-store.js.map +1 -0
- package/dist/runtime/store/dream-checkpoints.d.ts +9 -0
- package/dist/runtime/store/dream-checkpoints.d.ts.map +1 -0
- package/dist/runtime/store/dream-checkpoints.js +16 -0
- package/dist/runtime/store/dream-checkpoints.js.map +1 -0
- package/dist/runtime/store/evaluator-results.d.ts +97 -0
- package/dist/runtime/store/evaluator-results.d.ts.map +1 -0
- package/dist/runtime/store/evaluator-results.js +355 -0
- package/dist/runtime/store/evaluator-results.js.map +1 -0
- package/dist/runtime/store/evidence-ledger.d.ts +5298 -0
- package/dist/runtime/store/evidence-ledger.d.ts.map +1 -0
- package/dist/runtime/store/evidence-ledger.js +1452 -0
- package/dist/runtime/store/evidence-ledger.js.map +1 -0
- package/dist/runtime/store/experiment-queue-store.d.ts +1164 -0
- package/dist/runtime/store/experiment-queue-store.d.ts.map +1 -0
- package/dist/runtime/store/experiment-queue-store.js +341 -0
- package/dist/runtime/store/experiment-queue-store.js.map +1 -0
- package/dist/runtime/store/health-store.d.ts.map +1 -1
- package/dist/runtime/store/health-store.js +6 -0
- package/dist/runtime/store/health-store.js.map +1 -1
- package/dist/runtime/store/index.d.ts +25 -2
- package/dist/runtime/store/index.d.ts.map +1 -1
- package/dist/runtime/store/index.js +13 -1
- package/dist/runtime/store/index.js.map +1 -1
- package/dist/runtime/store/metric-history.d.ts +10 -0
- package/dist/runtime/store/metric-history.d.ts.map +1 -0
- package/dist/runtime/store/metric-history.js +56 -0
- package/dist/runtime/store/metric-history.js.map +1 -0
- package/dist/runtime/store/operator-handoff-store.d.ts +179 -0
- package/dist/runtime/store/operator-handoff-store.d.ts.map +1 -0
- package/dist/runtime/store/operator-handoff-store.js +120 -0
- package/dist/runtime/store/operator-handoff-store.js.map +1 -0
- package/dist/runtime/store/postmortem-report.d.ts +485 -0
- package/dist/runtime/store/postmortem-report.d.ts.map +1 -0
- package/dist/runtime/store/postmortem-report.js +561 -0
- package/dist/runtime/store/postmortem-report.js.map +1 -0
- package/dist/runtime/store/reproducibility-manifest.d.ts +565 -0
- package/dist/runtime/store/reproducibility-manifest.d.ts.map +1 -0
- package/dist/runtime/store/reproducibility-manifest.js +392 -0
- package/dist/runtime/store/reproducibility-manifest.js.map +1 -0
- package/dist/runtime/store/research-evidence.d.ts +8 -0
- package/dist/runtime/store/research-evidence.d.ts.map +1 -0
- package/dist/runtime/store/research-evidence.js +15 -0
- package/dist/runtime/store/research-evidence.js.map +1 -0
- package/dist/runtime/store/runtime-operation-schemas.d.ts +80 -34
- package/dist/runtime/store/runtime-operation-schemas.d.ts.map +1 -1
- package/dist/runtime/store/runtime-operation-schemas.js +16 -1
- package/dist/runtime/store/runtime-operation-schemas.js.map +1 -1
- package/dist/runtime/store/runtime-paths.d.ts +25 -0
- package/dist/runtime/store/runtime-paths.d.ts.map +1 -1
- package/dist/runtime/store/runtime-paths.js +73 -0
- package/dist/runtime/store/runtime-paths.js.map +1 -1
- package/dist/runtime/store/runtime-schemas.d.ts +1934 -15
- package/dist/runtime/store/runtime-schemas.d.ts.map +1 -1
- package/dist/runtime/store/runtime-schemas.js +201 -0
- package/dist/runtime/store/runtime-schemas.js.map +1 -1
- package/dist/runtime/store/safe-pause-store.d.ts +28 -0
- package/dist/runtime/store/safe-pause-store.d.ts.map +1 -0
- package/dist/runtime/store/safe-pause-store.js +103 -0
- package/dist/runtime/store/safe-pause-store.js.map +1 -0
- package/dist/runtime/types/daemon.d.ts +234 -14
- package/dist/runtime/types/daemon.d.ts.map +1 -1
- package/dist/runtime/types/daemon.js +29 -2
- package/dist/runtime/types/daemon.js.map +1 -1
- package/dist/runtime/types/envelope.d.ts +10 -10
- package/dist/runtime/types/hook.d.ts +9 -9
- package/dist/runtime/types/notification.d.ts +6 -6
- package/dist/runtime/types/plugin.d.ts +2 -2
- package/dist/runtime/types/schedule.d.ts +162 -54
- package/dist/runtime/types/schedule.d.ts.map +1 -1
- package/dist/runtime/types/schedule.js +15 -1
- package/dist/runtime/types/schedule.js.map +1 -1
- package/dist/runtime/types/trigger.d.ts +2 -2
- package/dist/tools/automation/InteractiveAutomationTools.d.ts +10 -0
- package/dist/tools/automation/InteractiveAutomationTools.d.ts.map +1 -1
- package/dist/tools/automation/InteractiveAutomationTools.js +139 -8
- package/dist/tools/automation/InteractiveAutomationTools.js.map +1 -1
- package/dist/tools/builtin/exports.d.ts +2 -1
- package/dist/tools/builtin/exports.d.ts.map +1 -1
- package/dist/tools/builtin/exports.js +2 -1
- package/dist/tools/builtin/exports.js.map +1 -1
- package/dist/tools/builtin/factory.d.ts +7 -0
- package/dist/tools/builtin/factory.d.ts.map +1 -1
- package/dist/tools/builtin/factory.js +26 -3
- package/dist/tools/builtin/factory.js.map +1 -1
- package/dist/tools/fs/FileValidationTool/protected-path-policy.d.ts +1 -0
- package/dist/tools/fs/FileValidationTool/protected-path-policy.d.ts.map +1 -1
- package/dist/tools/fs/FileValidationTool/protected-path-policy.js +17 -4
- package/dist/tools/fs/FileValidationTool/protected-path-policy.js.map +1 -1
- package/dist/tools/fs/ListDirTool/ListDirTool.js +1 -1
- package/dist/tools/fs/ListDirTool/ListDirTool.js.map +1 -1
- package/dist/tools/kaggle/KaggleExperimentTools.d.ts +792 -8
- package/dist/tools/kaggle/KaggleExperimentTools.d.ts.map +1 -1
- package/dist/tools/kaggle/KaggleExperimentTools.js +284 -19
- package/dist/tools/kaggle/KaggleExperimentTools.js.map +1 -1
- package/dist/tools/kaggle/KaggleSubmissionTools.d.ts +18 -12
- package/dist/tools/kaggle/KaggleSubmissionTools.d.ts.map +1 -1
- package/dist/tools/kaggle/KaggleSubmissionTools.js +23 -4
- package/dist/tools/kaggle/KaggleSubmissionTools.js.map +1 -1
- package/dist/tools/kaggle/KaggleWorkspacePrepareTool.d.ts +28 -9
- package/dist/tools/kaggle/KaggleWorkspacePrepareTool.d.ts.map +1 -1
- package/dist/tools/kaggle/KaggleWorkspacePrepareTool.js +182 -4
- package/dist/tools/kaggle/KaggleWorkspacePrepareTool.js.map +1 -1
- package/dist/tools/kaggle/index.d.ts +1 -1
- package/dist/tools/kaggle/index.d.ts.map +1 -1
- package/dist/tools/kaggle/index.js +1 -1
- package/dist/tools/kaggle/index.js.map +1 -1
- package/dist/tools/kaggle/metrics.d.ts +845 -4
- package/dist/tools/kaggle/metrics.d.ts.map +1 -1
- package/dist/tools/kaggle/metrics.js +410 -1
- package/dist/tools/kaggle/metrics.js.map +1 -1
- package/dist/tools/kaggle/paths.d.ts.map +1 -1
- package/dist/tools/kaggle/paths.js +6 -0
- package/dist/tools/kaggle/paths.js.map +1 -1
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/ConfigureNotificationRoutingTool.d.ts +6 -0
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/ConfigureNotificationRoutingTool.d.ts.map +1 -1
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/ConfigureNotificationRoutingTool.js +9 -2
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/ConfigureNotificationRoutingTool.js.map +1 -1
- package/dist/tools/mutation/TaskCreateTool/TaskCreateTool.d.ts +4 -4
- package/dist/tools/network/McpStdioTool/McpStdioTool.d.ts +4 -4
- package/dist/tools/query/CodeSearchRepairTool/CodeSearchRepairTool.d.ts.map +1 -1
- package/dist/tools/query/CodeSearchRepairTool/CodeSearchRepairTool.js +23 -2
- package/dist/tools/query/CodeSearchRepairTool/CodeSearchRepairTool.js.map +1 -1
- package/dist/tools/query/CodeSearchTool/CodeSearchTool.d.ts.map +1 -1
- package/dist/tools/query/CodeSearchTool/CodeSearchTool.js +24 -2
- package/dist/tools/query/CodeSearchTool/CodeSearchTool.js.map +1 -1
- package/dist/tools/query/MemoryRecallTool/MemoryRecallTool.d.ts +2 -2
- package/dist/tools/query/SoilQueryTool/SoilQueryTool.d.ts.map +1 -1
- package/dist/tools/query/SoilQueryTool/SoilQueryTool.js +43 -9
- package/dist/tools/query/SoilQueryTool/SoilQueryTool.js.map +1 -1
- package/dist/tools/query/code-search-root.d.ts +8 -0
- package/dist/tools/query/code-search-root.d.ts.map +1 -0
- package/dist/tools/query/code-search-root.js +41 -0
- package/dist/tools/query/code-search-root.js.map +1 -0
- package/dist/tools/query/runtime-dream-review-tool.d.ts +34 -0
- package/dist/tools/query/runtime-dream-review-tool.d.ts.map +1 -0
- package/dist/tools/query/runtime-dream-review-tool.js +62 -0
- package/dist/tools/query/runtime-dream-review-tool.js.map +1 -0
- package/dist/tools/query/runtime-session-tools.d.ts +560 -0
- package/dist/tools/query/runtime-session-tools.d.ts.map +1 -0
- package/dist/tools/query/runtime-session-tools.js +1017 -0
- package/dist/tools/query/runtime-session-tools.js.map +1 -0
- package/dist/tools/runtime/LongRunningRuntimeTools.d.ts +821 -0
- package/dist/tools/runtime/LongRunningRuntimeTools.d.ts.map +1 -0
- package/dist/tools/runtime/LongRunningRuntimeTools.js +905 -0
- package/dist/tools/runtime/LongRunningRuntimeTools.js.map +1 -0
- package/dist/tools/schedule/CreateScheduleTool/CreateScheduleTool.d.ts +62 -32
- package/dist/tools/schedule/CreateScheduleTool/CreateScheduleTool.d.ts.map +1 -1
- package/dist/tools/schedule/UpdateScheduleTool/UpdateScheduleTool.d.ts +78 -44
- package/dist/tools/schedule/UpdateScheduleTool/UpdateScheduleTool.d.ts.map +1 -1
- package/dist/tools/system/ProcessSessionTool/ProcessSessionTool.d.ts +1 -0
- package/dist/tools/system/ProcessSessionTool/ProcessSessionTool.d.ts.map +1 -1
- package/dist/tools/system/ProcessSessionTool/ProcessSessionTool.js +11 -0
- package/dist/tools/system/ProcessSessionTool/ProcessSessionTool.js.map +1 -1
- package/dist/tools/system/ShellTool/ShellTool.d.ts.map +1 -1
- package/dist/tools/system/ShellTool/ShellTool.js +2 -1
- package/dist/tools/system/ShellTool/ShellTool.js.map +1 -1
- package/dist/tools/system/TestRunnerTool/TestRunnerTool.d.ts +4 -4
- package/dist/tools/types.d.ts +2 -0
- package/dist/tools/types.d.ts.map +1 -1
- package/dist/tools/types.js.map +1 -1
- package/package.json +2 -1
- package/dist/base/types/cron.d.ts +0 -2
- package/dist/base/types/cron.d.ts.map +0 -1
- package/dist/base/types/cron.js +0 -3
- package/dist/base/types/cron.js.map +0 -1
- package/dist/runtime/cron-scheduler.d.ts +0 -13
- package/dist/runtime/cron-scheduler.d.ts.map +0 -1
- package/dist/runtime/cron-scheduler.js +0 -90
- package/dist/runtime/cron-scheduler.js.map +0 -1
- package/dist/runtime/types/cron.d.ts +0 -59
- package/dist/runtime/types/cron.d.ts.map +0 -1
- package/dist/runtime/types/cron.js +0 -13
- package/dist/runtime/types/cron.js.map +0 -1
|
@@ -43,6 +43,92 @@ export declare const ResourceEstimateSchema: z.ZodObject<{
|
|
|
43
43
|
llm_calls?: number | null | undefined;
|
|
44
44
|
}>;
|
|
45
45
|
export type ResourceEstimate = z.infer<typeof ResourceEstimateSchema>;
|
|
46
|
+
export declare const StrategyExplorationRoleSchema: z.ZodEnum<["exploitation", "adjacent_exploration", "divergent_exploration"]>;
|
|
47
|
+
export type StrategyExplorationRole = z.infer<typeof StrategyExplorationRoleSchema>;
|
|
48
|
+
export declare const StrategyExplorationExpectedCostSchema: z.ZodEnum<["low", "medium", "high"]>;
|
|
49
|
+
export type StrategyExplorationExpectedCost = z.infer<typeof StrategyExplorationExpectedCostSchema>;
|
|
50
|
+
export declare const StrategyLineageRelationshipSchema: z.ZodEnum<["current_best", "neighbor", "failed_lineage", "different_mechanism", "different_assumption", "unknown"]>;
|
|
51
|
+
export type StrategyLineageRelationship = z.infer<typeof StrategyLineageRelationshipSchema>;
|
|
52
|
+
export declare const StrategySmokeStatusSchema: z.ZodEnum<["not_run", "promote", "defer", "retire"]>;
|
|
53
|
+
export type StrategySmokeStatus = z.infer<typeof StrategySmokeStatusSchema>;
|
|
54
|
+
export declare const StrategySmokeMetadataSchema: z.ZodObject<{
|
|
55
|
+
status: z.ZodDefault<z.ZodEnum<["not_run", "promote", "defer", "retire"]>>;
|
|
56
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
57
|
+
evidence_ref: z.ZodOptional<z.ZodString>;
|
|
58
|
+
}, "strict", z.ZodTypeAny, {
|
|
59
|
+
status: "not_run" | "promote" | "defer" | "retire";
|
|
60
|
+
reason?: string | undefined;
|
|
61
|
+
evidence_ref?: string | undefined;
|
|
62
|
+
}, {
|
|
63
|
+
status?: "not_run" | "promote" | "defer" | "retire" | undefined;
|
|
64
|
+
reason?: string | undefined;
|
|
65
|
+
evidence_ref?: string | undefined;
|
|
66
|
+
}>;
|
|
67
|
+
export type StrategySmokeMetadata = z.infer<typeof StrategySmokeMetadataSchema>;
|
|
68
|
+
export declare const StrategyExplorationMetadataSchema: z.ZodObject<{
|
|
69
|
+
schema_version: z.ZodDefault<z.ZodLiteral<"strategy-exploration-v1">>;
|
|
70
|
+
phase: z.ZodDefault<z.ZodEnum<["normal", "divergent_stall_recovery"]>>;
|
|
71
|
+
role: z.ZodEnum<["exploitation", "adjacent_exploration", "divergent_exploration"]>;
|
|
72
|
+
strategy_family: z.ZodString;
|
|
73
|
+
novelty_score: z.ZodNumber;
|
|
74
|
+
similarity_to_recent_failures: z.ZodDefault<z.ZodNumber>;
|
|
75
|
+
expected_cost: z.ZodEnum<["low", "medium", "high"]>;
|
|
76
|
+
relationship_to_lineage: z.ZodEnum<["current_best", "neighbor", "failed_lineage", "different_mechanism", "different_assumption", "unknown"]>;
|
|
77
|
+
prior_evidence: z.ZodOptional<z.ZodString>;
|
|
78
|
+
downrank_reason: z.ZodOptional<z.ZodString>;
|
|
79
|
+
smoke: z.ZodDefault<z.ZodObject<{
|
|
80
|
+
status: z.ZodDefault<z.ZodEnum<["not_run", "promote", "defer", "retire"]>>;
|
|
81
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
82
|
+
evidence_ref: z.ZodOptional<z.ZodString>;
|
|
83
|
+
}, "strict", z.ZodTypeAny, {
|
|
84
|
+
status: "not_run" | "promote" | "defer" | "retire";
|
|
85
|
+
reason?: string | undefined;
|
|
86
|
+
evidence_ref?: string | undefined;
|
|
87
|
+
}, {
|
|
88
|
+
status?: "not_run" | "promote" | "defer" | "retire" | undefined;
|
|
89
|
+
reason?: string | undefined;
|
|
90
|
+
evidence_ref?: string | undefined;
|
|
91
|
+
}>>;
|
|
92
|
+
speculative: z.ZodDefault<z.ZodLiteral<true>>;
|
|
93
|
+
evidence_authority: z.ZodDefault<z.ZodLiteral<"speculative_hypothesis">>;
|
|
94
|
+
}, "strict", z.ZodTypeAny, {
|
|
95
|
+
schema_version: "strategy-exploration-v1";
|
|
96
|
+
phase: "normal" | "divergent_stall_recovery";
|
|
97
|
+
role: "exploitation" | "adjacent_exploration" | "divergent_exploration";
|
|
98
|
+
strategy_family: string;
|
|
99
|
+
novelty_score: number;
|
|
100
|
+
similarity_to_recent_failures: number;
|
|
101
|
+
expected_cost: "low" | "high" | "medium";
|
|
102
|
+
relationship_to_lineage: "unknown" | "current_best" | "neighbor" | "failed_lineage" | "different_mechanism" | "different_assumption";
|
|
103
|
+
smoke: {
|
|
104
|
+
status: "not_run" | "promote" | "defer" | "retire";
|
|
105
|
+
reason?: string | undefined;
|
|
106
|
+
evidence_ref?: string | undefined;
|
|
107
|
+
};
|
|
108
|
+
speculative: true;
|
|
109
|
+
evidence_authority: "speculative_hypothesis";
|
|
110
|
+
prior_evidence?: string | undefined;
|
|
111
|
+
downrank_reason?: string | undefined;
|
|
112
|
+
}, {
|
|
113
|
+
role: "exploitation" | "adjacent_exploration" | "divergent_exploration";
|
|
114
|
+
strategy_family: string;
|
|
115
|
+
novelty_score: number;
|
|
116
|
+
expected_cost: "low" | "high" | "medium";
|
|
117
|
+
relationship_to_lineage: "unknown" | "current_best" | "neighbor" | "failed_lineage" | "different_mechanism" | "different_assumption";
|
|
118
|
+
schema_version?: "strategy-exploration-v1" | undefined;
|
|
119
|
+
phase?: "normal" | "divergent_stall_recovery" | undefined;
|
|
120
|
+
similarity_to_recent_failures?: number | undefined;
|
|
121
|
+
prior_evidence?: string | undefined;
|
|
122
|
+
downrank_reason?: string | undefined;
|
|
123
|
+
smoke?: {
|
|
124
|
+
status?: "not_run" | "promote" | "defer" | "retire" | undefined;
|
|
125
|
+
reason?: string | undefined;
|
|
126
|
+
evidence_ref?: string | undefined;
|
|
127
|
+
} | undefined;
|
|
128
|
+
speculative?: true | undefined;
|
|
129
|
+
evidence_authority?: "speculative_hypothesis" | undefined;
|
|
130
|
+
}>;
|
|
131
|
+
export type StrategyExplorationMetadata = z.infer<typeof StrategyExplorationMetadataSchema>;
|
|
46
132
|
export declare const StrategySchema: z.ZodObject<{
|
|
47
133
|
id: z.ZodString;
|
|
48
134
|
goal_id: z.ZodString;
|
|
@@ -107,6 +193,69 @@ export declare const StrategySchema: z.ZodObject<{
|
|
|
107
193
|
toolset_locked: z.ZodDefault<z.ZodBoolean>;
|
|
108
194
|
allowed_tools: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
109
195
|
required_tools: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
196
|
+
exploration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
197
|
+
schema_version: z.ZodDefault<z.ZodLiteral<"strategy-exploration-v1">>;
|
|
198
|
+
phase: z.ZodDefault<z.ZodEnum<["normal", "divergent_stall_recovery"]>>;
|
|
199
|
+
role: z.ZodEnum<["exploitation", "adjacent_exploration", "divergent_exploration"]>;
|
|
200
|
+
strategy_family: z.ZodString;
|
|
201
|
+
novelty_score: z.ZodNumber;
|
|
202
|
+
similarity_to_recent_failures: z.ZodDefault<z.ZodNumber>;
|
|
203
|
+
expected_cost: z.ZodEnum<["low", "medium", "high"]>;
|
|
204
|
+
relationship_to_lineage: z.ZodEnum<["current_best", "neighbor", "failed_lineage", "different_mechanism", "different_assumption", "unknown"]>;
|
|
205
|
+
prior_evidence: z.ZodOptional<z.ZodString>;
|
|
206
|
+
downrank_reason: z.ZodOptional<z.ZodString>;
|
|
207
|
+
smoke: z.ZodDefault<z.ZodObject<{
|
|
208
|
+
status: z.ZodDefault<z.ZodEnum<["not_run", "promote", "defer", "retire"]>>;
|
|
209
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
210
|
+
evidence_ref: z.ZodOptional<z.ZodString>;
|
|
211
|
+
}, "strict", z.ZodTypeAny, {
|
|
212
|
+
status: "not_run" | "promote" | "defer" | "retire";
|
|
213
|
+
reason?: string | undefined;
|
|
214
|
+
evidence_ref?: string | undefined;
|
|
215
|
+
}, {
|
|
216
|
+
status?: "not_run" | "promote" | "defer" | "retire" | undefined;
|
|
217
|
+
reason?: string | undefined;
|
|
218
|
+
evidence_ref?: string | undefined;
|
|
219
|
+
}>>;
|
|
220
|
+
speculative: z.ZodDefault<z.ZodLiteral<true>>;
|
|
221
|
+
evidence_authority: z.ZodDefault<z.ZodLiteral<"speculative_hypothesis">>;
|
|
222
|
+
}, "strict", z.ZodTypeAny, {
|
|
223
|
+
schema_version: "strategy-exploration-v1";
|
|
224
|
+
phase: "normal" | "divergent_stall_recovery";
|
|
225
|
+
role: "exploitation" | "adjacent_exploration" | "divergent_exploration";
|
|
226
|
+
strategy_family: string;
|
|
227
|
+
novelty_score: number;
|
|
228
|
+
similarity_to_recent_failures: number;
|
|
229
|
+
expected_cost: "low" | "high" | "medium";
|
|
230
|
+
relationship_to_lineage: "unknown" | "current_best" | "neighbor" | "failed_lineage" | "different_mechanism" | "different_assumption";
|
|
231
|
+
smoke: {
|
|
232
|
+
status: "not_run" | "promote" | "defer" | "retire";
|
|
233
|
+
reason?: string | undefined;
|
|
234
|
+
evidence_ref?: string | undefined;
|
|
235
|
+
};
|
|
236
|
+
speculative: true;
|
|
237
|
+
evidence_authority: "speculative_hypothesis";
|
|
238
|
+
prior_evidence?: string | undefined;
|
|
239
|
+
downrank_reason?: string | undefined;
|
|
240
|
+
}, {
|
|
241
|
+
role: "exploitation" | "adjacent_exploration" | "divergent_exploration";
|
|
242
|
+
strategy_family: string;
|
|
243
|
+
novelty_score: number;
|
|
244
|
+
expected_cost: "low" | "high" | "medium";
|
|
245
|
+
relationship_to_lineage: "unknown" | "current_best" | "neighbor" | "failed_lineage" | "different_mechanism" | "different_assumption";
|
|
246
|
+
schema_version?: "strategy-exploration-v1" | undefined;
|
|
247
|
+
phase?: "normal" | "divergent_stall_recovery" | undefined;
|
|
248
|
+
similarity_to_recent_failures?: number | undefined;
|
|
249
|
+
prior_evidence?: string | undefined;
|
|
250
|
+
downrank_reason?: string | undefined;
|
|
251
|
+
smoke?: {
|
|
252
|
+
status?: "not_run" | "promote" | "defer" | "retire" | undefined;
|
|
253
|
+
reason?: string | undefined;
|
|
254
|
+
evidence_ref?: string | undefined;
|
|
255
|
+
} | undefined;
|
|
256
|
+
speculative?: true | undefined;
|
|
257
|
+
evidence_authority?: "speculative_hypothesis" | undefined;
|
|
258
|
+
}>>>;
|
|
110
259
|
}, "strip", z.ZodTypeAny, {
|
|
111
260
|
id: string;
|
|
112
261
|
created_at: string;
|
|
@@ -143,6 +292,25 @@ export declare const StrategySchema: z.ZodObject<{
|
|
|
143
292
|
toolset_locked: boolean;
|
|
144
293
|
allowed_tools: string[];
|
|
145
294
|
required_tools: string[];
|
|
295
|
+
exploration?: {
|
|
296
|
+
schema_version: "strategy-exploration-v1";
|
|
297
|
+
phase: "normal" | "divergent_stall_recovery";
|
|
298
|
+
role: "exploitation" | "adjacent_exploration" | "divergent_exploration";
|
|
299
|
+
strategy_family: string;
|
|
300
|
+
novelty_score: number;
|
|
301
|
+
similarity_to_recent_failures: number;
|
|
302
|
+
expected_cost: "low" | "high" | "medium";
|
|
303
|
+
relationship_to_lineage: "unknown" | "current_best" | "neighbor" | "failed_lineage" | "different_mechanism" | "different_assumption";
|
|
304
|
+
smoke: {
|
|
305
|
+
status: "not_run" | "promote" | "defer" | "retire";
|
|
306
|
+
reason?: string | undefined;
|
|
307
|
+
evidence_ref?: string | undefined;
|
|
308
|
+
};
|
|
309
|
+
speculative: true;
|
|
310
|
+
evidence_authority: "speculative_hypothesis";
|
|
311
|
+
prior_evidence?: string | undefined;
|
|
312
|
+
downrank_reason?: string | undefined;
|
|
313
|
+
} | null | undefined;
|
|
146
314
|
}, {
|
|
147
315
|
id: string;
|
|
148
316
|
created_at: string;
|
|
@@ -179,6 +347,25 @@ export declare const StrategySchema: z.ZodObject<{
|
|
|
179
347
|
toolset_locked?: boolean | undefined;
|
|
180
348
|
allowed_tools?: string[] | undefined;
|
|
181
349
|
required_tools?: string[] | undefined;
|
|
350
|
+
exploration?: {
|
|
351
|
+
role: "exploitation" | "adjacent_exploration" | "divergent_exploration";
|
|
352
|
+
strategy_family: string;
|
|
353
|
+
novelty_score: number;
|
|
354
|
+
expected_cost: "low" | "high" | "medium";
|
|
355
|
+
relationship_to_lineage: "unknown" | "current_best" | "neighbor" | "failed_lineage" | "different_mechanism" | "different_assumption";
|
|
356
|
+
schema_version?: "strategy-exploration-v1" | undefined;
|
|
357
|
+
phase?: "normal" | "divergent_stall_recovery" | undefined;
|
|
358
|
+
similarity_to_recent_failures?: number | undefined;
|
|
359
|
+
prior_evidence?: string | undefined;
|
|
360
|
+
downrank_reason?: string | undefined;
|
|
361
|
+
smoke?: {
|
|
362
|
+
status?: "not_run" | "promote" | "defer" | "retire" | undefined;
|
|
363
|
+
reason?: string | undefined;
|
|
364
|
+
evidence_ref?: string | undefined;
|
|
365
|
+
} | undefined;
|
|
366
|
+
speculative?: true | undefined;
|
|
367
|
+
evidence_authority?: "speculative_hypothesis" | undefined;
|
|
368
|
+
} | null | undefined;
|
|
182
369
|
}>;
|
|
183
370
|
export type Strategy = z.infer<typeof StrategySchema>;
|
|
184
371
|
export declare const WaitStrategySchema: z.ZodObject<{
|
|
@@ -245,6 +432,69 @@ export declare const WaitStrategySchema: z.ZodObject<{
|
|
|
245
432
|
toolset_locked: z.ZodDefault<z.ZodBoolean>;
|
|
246
433
|
allowed_tools: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
247
434
|
required_tools: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
435
|
+
exploration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
436
|
+
schema_version: z.ZodDefault<z.ZodLiteral<"strategy-exploration-v1">>;
|
|
437
|
+
phase: z.ZodDefault<z.ZodEnum<["normal", "divergent_stall_recovery"]>>;
|
|
438
|
+
role: z.ZodEnum<["exploitation", "adjacent_exploration", "divergent_exploration"]>;
|
|
439
|
+
strategy_family: z.ZodString;
|
|
440
|
+
novelty_score: z.ZodNumber;
|
|
441
|
+
similarity_to_recent_failures: z.ZodDefault<z.ZodNumber>;
|
|
442
|
+
expected_cost: z.ZodEnum<["low", "medium", "high"]>;
|
|
443
|
+
relationship_to_lineage: z.ZodEnum<["current_best", "neighbor", "failed_lineage", "different_mechanism", "different_assumption", "unknown"]>;
|
|
444
|
+
prior_evidence: z.ZodOptional<z.ZodString>;
|
|
445
|
+
downrank_reason: z.ZodOptional<z.ZodString>;
|
|
446
|
+
smoke: z.ZodDefault<z.ZodObject<{
|
|
447
|
+
status: z.ZodDefault<z.ZodEnum<["not_run", "promote", "defer", "retire"]>>;
|
|
448
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
449
|
+
evidence_ref: z.ZodOptional<z.ZodString>;
|
|
450
|
+
}, "strict", z.ZodTypeAny, {
|
|
451
|
+
status: "not_run" | "promote" | "defer" | "retire";
|
|
452
|
+
reason?: string | undefined;
|
|
453
|
+
evidence_ref?: string | undefined;
|
|
454
|
+
}, {
|
|
455
|
+
status?: "not_run" | "promote" | "defer" | "retire" | undefined;
|
|
456
|
+
reason?: string | undefined;
|
|
457
|
+
evidence_ref?: string | undefined;
|
|
458
|
+
}>>;
|
|
459
|
+
speculative: z.ZodDefault<z.ZodLiteral<true>>;
|
|
460
|
+
evidence_authority: z.ZodDefault<z.ZodLiteral<"speculative_hypothesis">>;
|
|
461
|
+
}, "strict", z.ZodTypeAny, {
|
|
462
|
+
schema_version: "strategy-exploration-v1";
|
|
463
|
+
phase: "normal" | "divergent_stall_recovery";
|
|
464
|
+
role: "exploitation" | "adjacent_exploration" | "divergent_exploration";
|
|
465
|
+
strategy_family: string;
|
|
466
|
+
novelty_score: number;
|
|
467
|
+
similarity_to_recent_failures: number;
|
|
468
|
+
expected_cost: "low" | "high" | "medium";
|
|
469
|
+
relationship_to_lineage: "unknown" | "current_best" | "neighbor" | "failed_lineage" | "different_mechanism" | "different_assumption";
|
|
470
|
+
smoke: {
|
|
471
|
+
status: "not_run" | "promote" | "defer" | "retire";
|
|
472
|
+
reason?: string | undefined;
|
|
473
|
+
evidence_ref?: string | undefined;
|
|
474
|
+
};
|
|
475
|
+
speculative: true;
|
|
476
|
+
evidence_authority: "speculative_hypothesis";
|
|
477
|
+
prior_evidence?: string | undefined;
|
|
478
|
+
downrank_reason?: string | undefined;
|
|
479
|
+
}, {
|
|
480
|
+
role: "exploitation" | "adjacent_exploration" | "divergent_exploration";
|
|
481
|
+
strategy_family: string;
|
|
482
|
+
novelty_score: number;
|
|
483
|
+
expected_cost: "low" | "high" | "medium";
|
|
484
|
+
relationship_to_lineage: "unknown" | "current_best" | "neighbor" | "failed_lineage" | "different_mechanism" | "different_assumption";
|
|
485
|
+
schema_version?: "strategy-exploration-v1" | undefined;
|
|
486
|
+
phase?: "normal" | "divergent_stall_recovery" | undefined;
|
|
487
|
+
similarity_to_recent_failures?: number | undefined;
|
|
488
|
+
prior_evidence?: string | undefined;
|
|
489
|
+
downrank_reason?: string | undefined;
|
|
490
|
+
smoke?: {
|
|
491
|
+
status?: "not_run" | "promote" | "defer" | "retire" | undefined;
|
|
492
|
+
reason?: string | undefined;
|
|
493
|
+
evidence_ref?: string | undefined;
|
|
494
|
+
} | undefined;
|
|
495
|
+
speculative?: true | undefined;
|
|
496
|
+
evidence_authority?: "speculative_hypothesis" | undefined;
|
|
497
|
+
}>>>;
|
|
248
498
|
} & {
|
|
249
499
|
wait_reason: z.ZodString;
|
|
250
500
|
wait_until: z.ZodString;
|
|
@@ -290,6 +540,25 @@ export declare const WaitStrategySchema: z.ZodObject<{
|
|
|
290
540
|
wait_until: string;
|
|
291
541
|
measurement_plan: string;
|
|
292
542
|
fallback_strategy_id: string | null;
|
|
543
|
+
exploration?: {
|
|
544
|
+
schema_version: "strategy-exploration-v1";
|
|
545
|
+
phase: "normal" | "divergent_stall_recovery";
|
|
546
|
+
role: "exploitation" | "adjacent_exploration" | "divergent_exploration";
|
|
547
|
+
strategy_family: string;
|
|
548
|
+
novelty_score: number;
|
|
549
|
+
similarity_to_recent_failures: number;
|
|
550
|
+
expected_cost: "low" | "high" | "medium";
|
|
551
|
+
relationship_to_lineage: "unknown" | "current_best" | "neighbor" | "failed_lineage" | "different_mechanism" | "different_assumption";
|
|
552
|
+
smoke: {
|
|
553
|
+
status: "not_run" | "promote" | "defer" | "retire";
|
|
554
|
+
reason?: string | undefined;
|
|
555
|
+
evidence_ref?: string | undefined;
|
|
556
|
+
};
|
|
557
|
+
speculative: true;
|
|
558
|
+
evidence_authority: "speculative_hypothesis";
|
|
559
|
+
prior_evidence?: string | undefined;
|
|
560
|
+
downrank_reason?: string | undefined;
|
|
561
|
+
} | null | undefined;
|
|
293
562
|
}, {
|
|
294
563
|
id: string;
|
|
295
564
|
created_at: string;
|
|
@@ -330,6 +599,25 @@ export declare const WaitStrategySchema: z.ZodObject<{
|
|
|
330
599
|
toolset_locked?: boolean | undefined;
|
|
331
600
|
allowed_tools?: string[] | undefined;
|
|
332
601
|
required_tools?: string[] | undefined;
|
|
602
|
+
exploration?: {
|
|
603
|
+
role: "exploitation" | "adjacent_exploration" | "divergent_exploration";
|
|
604
|
+
strategy_family: string;
|
|
605
|
+
novelty_score: number;
|
|
606
|
+
expected_cost: "low" | "high" | "medium";
|
|
607
|
+
relationship_to_lineage: "unknown" | "current_best" | "neighbor" | "failed_lineage" | "different_mechanism" | "different_assumption";
|
|
608
|
+
schema_version?: "strategy-exploration-v1" | undefined;
|
|
609
|
+
phase?: "normal" | "divergent_stall_recovery" | undefined;
|
|
610
|
+
similarity_to_recent_failures?: number | undefined;
|
|
611
|
+
prior_evidence?: string | undefined;
|
|
612
|
+
downrank_reason?: string | undefined;
|
|
613
|
+
smoke?: {
|
|
614
|
+
status?: "not_run" | "promote" | "defer" | "retire" | undefined;
|
|
615
|
+
reason?: string | undefined;
|
|
616
|
+
evidence_ref?: string | undefined;
|
|
617
|
+
} | undefined;
|
|
618
|
+
speculative?: true | undefined;
|
|
619
|
+
evidence_authority?: "speculative_hypothesis" | undefined;
|
|
620
|
+
} | null | undefined;
|
|
333
621
|
}>;
|
|
334
622
|
export type WaitStrategy = z.infer<typeof WaitStrategySchema>;
|
|
335
623
|
export declare const TimeUntilWaitConditionSchema: z.ZodObject<{
|
|
@@ -1008,6 +1296,25 @@ export declare const PortfolioSchema: z.ZodObject<{
|
|
|
1008
1296
|
toolset_locked: boolean;
|
|
1009
1297
|
allowed_tools: string[];
|
|
1010
1298
|
required_tools: string[];
|
|
1299
|
+
exploration?: {
|
|
1300
|
+
schema_version: "strategy-exploration-v1";
|
|
1301
|
+
phase: "normal" | "divergent_stall_recovery";
|
|
1302
|
+
role: "exploitation" | "adjacent_exploration" | "divergent_exploration";
|
|
1303
|
+
strategy_family: string;
|
|
1304
|
+
novelty_score: number;
|
|
1305
|
+
similarity_to_recent_failures: number;
|
|
1306
|
+
expected_cost: "low" | "high" | "medium";
|
|
1307
|
+
relationship_to_lineage: "unknown" | "current_best" | "neighbor" | "failed_lineage" | "different_mechanism" | "different_assumption";
|
|
1308
|
+
smoke: {
|
|
1309
|
+
status: "not_run" | "promote" | "defer" | "retire";
|
|
1310
|
+
reason?: string | undefined;
|
|
1311
|
+
evidence_ref?: string | undefined;
|
|
1312
|
+
};
|
|
1313
|
+
speculative: true;
|
|
1314
|
+
evidence_authority: "speculative_hypothesis";
|
|
1315
|
+
prior_evidence?: string | undefined;
|
|
1316
|
+
downrank_reason?: string | undefined;
|
|
1317
|
+
} | null | undefined;
|
|
1011
1318
|
} | {
|
|
1012
1319
|
id: string;
|
|
1013
1320
|
created_at: string;
|
|
@@ -1048,6 +1355,25 @@ export declare const PortfolioSchema: z.ZodObject<{
|
|
|
1048
1355
|
wait_until: string;
|
|
1049
1356
|
measurement_plan: string;
|
|
1050
1357
|
fallback_strategy_id: string | null;
|
|
1358
|
+
exploration?: {
|
|
1359
|
+
schema_version: "strategy-exploration-v1";
|
|
1360
|
+
phase: "normal" | "divergent_stall_recovery";
|
|
1361
|
+
role: "exploitation" | "adjacent_exploration" | "divergent_exploration";
|
|
1362
|
+
strategy_family: string;
|
|
1363
|
+
novelty_score: number;
|
|
1364
|
+
similarity_to_recent_failures: number;
|
|
1365
|
+
expected_cost: "low" | "high" | "medium";
|
|
1366
|
+
relationship_to_lineage: "unknown" | "current_best" | "neighbor" | "failed_lineage" | "different_mechanism" | "different_assumption";
|
|
1367
|
+
smoke: {
|
|
1368
|
+
status: "not_run" | "promote" | "defer" | "retire";
|
|
1369
|
+
reason?: string | undefined;
|
|
1370
|
+
evidence_ref?: string | undefined;
|
|
1371
|
+
};
|
|
1372
|
+
speculative: true;
|
|
1373
|
+
evidence_authority: "speculative_hypothesis";
|
|
1374
|
+
prior_evidence?: string | undefined;
|
|
1375
|
+
downrank_reason?: string | undefined;
|
|
1376
|
+
} | null | undefined;
|
|
1051
1377
|
})[], unknown[]>;
|
|
1052
1378
|
rebalance_interval: z.ZodObject<{
|
|
1053
1379
|
value: z.ZodNumber;
|
|
@@ -1098,6 +1424,25 @@ export declare const PortfolioSchema: z.ZodObject<{
|
|
|
1098
1424
|
toolset_locked: boolean;
|
|
1099
1425
|
allowed_tools: string[];
|
|
1100
1426
|
required_tools: string[];
|
|
1427
|
+
exploration?: {
|
|
1428
|
+
schema_version: "strategy-exploration-v1";
|
|
1429
|
+
phase: "normal" | "divergent_stall_recovery";
|
|
1430
|
+
role: "exploitation" | "adjacent_exploration" | "divergent_exploration";
|
|
1431
|
+
strategy_family: string;
|
|
1432
|
+
novelty_score: number;
|
|
1433
|
+
similarity_to_recent_failures: number;
|
|
1434
|
+
expected_cost: "low" | "high" | "medium";
|
|
1435
|
+
relationship_to_lineage: "unknown" | "current_best" | "neighbor" | "failed_lineage" | "different_mechanism" | "different_assumption";
|
|
1436
|
+
smoke: {
|
|
1437
|
+
status: "not_run" | "promote" | "defer" | "retire";
|
|
1438
|
+
reason?: string | undefined;
|
|
1439
|
+
evidence_ref?: string | undefined;
|
|
1440
|
+
};
|
|
1441
|
+
speculative: true;
|
|
1442
|
+
evidence_authority: "speculative_hypothesis";
|
|
1443
|
+
prior_evidence?: string | undefined;
|
|
1444
|
+
downrank_reason?: string | undefined;
|
|
1445
|
+
} | null | undefined;
|
|
1101
1446
|
} | {
|
|
1102
1447
|
id: string;
|
|
1103
1448
|
created_at: string;
|
|
@@ -1138,6 +1483,25 @@ export declare const PortfolioSchema: z.ZodObject<{
|
|
|
1138
1483
|
wait_until: string;
|
|
1139
1484
|
measurement_plan: string;
|
|
1140
1485
|
fallback_strategy_id: string | null;
|
|
1486
|
+
exploration?: {
|
|
1487
|
+
schema_version: "strategy-exploration-v1";
|
|
1488
|
+
phase: "normal" | "divergent_stall_recovery";
|
|
1489
|
+
role: "exploitation" | "adjacent_exploration" | "divergent_exploration";
|
|
1490
|
+
strategy_family: string;
|
|
1491
|
+
novelty_score: number;
|
|
1492
|
+
similarity_to_recent_failures: number;
|
|
1493
|
+
expected_cost: "low" | "high" | "medium";
|
|
1494
|
+
relationship_to_lineage: "unknown" | "current_best" | "neighbor" | "failed_lineage" | "different_mechanism" | "different_assumption";
|
|
1495
|
+
smoke: {
|
|
1496
|
+
status: "not_run" | "promote" | "defer" | "retire";
|
|
1497
|
+
reason?: string | undefined;
|
|
1498
|
+
evidence_ref?: string | undefined;
|
|
1499
|
+
};
|
|
1500
|
+
speculative: true;
|
|
1501
|
+
evidence_authority: "speculative_hypothesis";
|
|
1502
|
+
prior_evidence?: string | undefined;
|
|
1503
|
+
downrank_reason?: string | undefined;
|
|
1504
|
+
} | null | undefined;
|
|
1141
1505
|
})[];
|
|
1142
1506
|
rebalance_interval: {
|
|
1143
1507
|
value: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"strategy.d.ts","sourceRoot":"","sources":["../../../../src/orchestrator/strategy/types/strategy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAIvD,eAAO,MAAM,oBAAoB;;;;;;;;;;;;EAI/B,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAIlE,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIjC,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAItE,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"strategy.d.ts","sourceRoot":"","sources":["../../../../src/orchestrator/strategy/types/strategy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAIvD,eAAO,MAAM,oBAAoB;;;;;;;;;;;;EAI/B,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAIlE,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;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Y,EAAE,IAAI,EAAE,OAAO,GAAG,YAAY,CAY7F;AAED,wBAAgB,wBAAwB,CACtC,YAAY,EAAE,YAAY,EAC1B,QAAQ,EAAE,YAAY,GACrB,MAAM,GAAG,IAAI,CAYf;AAeD;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,OAAO,GAAG,QAAQ,GAAG,YAAY,CAMpE;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,OAAO,EAAE,GAAG,CAAC,QAAQ,GAAG,YAAY,CAAC,EAAE,CAE5E;AAKD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAK1B,CAAC;AACH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC"}
|
|
@@ -12,6 +12,47 @@ export const ResourceEstimateSchema = z.object({
|
|
|
12
12
|
duration: DurationSchema,
|
|
13
13
|
llm_calls: z.number().nullable().default(null),
|
|
14
14
|
});
|
|
15
|
+
// --- Exploration Metadata ---
|
|
16
|
+
export const StrategyExplorationRoleSchema = z.enum([
|
|
17
|
+
"exploitation",
|
|
18
|
+
"adjacent_exploration",
|
|
19
|
+
"divergent_exploration",
|
|
20
|
+
]);
|
|
21
|
+
export const StrategyExplorationExpectedCostSchema = z.enum(["low", "medium", "high"]);
|
|
22
|
+
export const StrategyLineageRelationshipSchema = z.enum([
|
|
23
|
+
"current_best",
|
|
24
|
+
"neighbor",
|
|
25
|
+
"failed_lineage",
|
|
26
|
+
"different_mechanism",
|
|
27
|
+
"different_assumption",
|
|
28
|
+
"unknown",
|
|
29
|
+
]);
|
|
30
|
+
export const StrategySmokeStatusSchema = z.enum([
|
|
31
|
+
"not_run",
|
|
32
|
+
"promote",
|
|
33
|
+
"defer",
|
|
34
|
+
"retire",
|
|
35
|
+
]);
|
|
36
|
+
export const StrategySmokeMetadataSchema = z.object({
|
|
37
|
+
status: StrategySmokeStatusSchema.default("not_run"),
|
|
38
|
+
reason: z.string().min(1).optional(),
|
|
39
|
+
evidence_ref: z.string().min(1).optional(),
|
|
40
|
+
}).strict();
|
|
41
|
+
export const StrategyExplorationMetadataSchema = z.object({
|
|
42
|
+
schema_version: z.literal("strategy-exploration-v1").default("strategy-exploration-v1"),
|
|
43
|
+
phase: z.enum(["normal", "divergent_stall_recovery"]).default("normal"),
|
|
44
|
+
role: StrategyExplorationRoleSchema,
|
|
45
|
+
strategy_family: z.string().min(1),
|
|
46
|
+
novelty_score: z.number().min(0).max(1),
|
|
47
|
+
similarity_to_recent_failures: z.number().min(0).max(1).default(0),
|
|
48
|
+
expected_cost: StrategyExplorationExpectedCostSchema,
|
|
49
|
+
relationship_to_lineage: StrategyLineageRelationshipSchema,
|
|
50
|
+
prior_evidence: z.string().min(1).optional(),
|
|
51
|
+
downrank_reason: z.string().min(1).optional(),
|
|
52
|
+
smoke: StrategySmokeMetadataSchema.default({ status: "not_run" }),
|
|
53
|
+
speculative: z.literal(true).default(true),
|
|
54
|
+
evidence_authority: z.literal("speculative_hypothesis").default("speculative_hypothesis"),
|
|
55
|
+
}).strict();
|
|
15
56
|
// --- Strategy ---
|
|
16
57
|
export const StrategySchema = z.object({
|
|
17
58
|
id: z.string(),
|
|
@@ -42,6 +83,8 @@ export const StrategySchema = z.object({
|
|
|
42
83
|
allowed_tools: z.array(z.string()).default([]),
|
|
43
84
|
// Tool availability scoring: tools required by this strategy candidate
|
|
44
85
|
required_tools: z.array(z.string()).default([]),
|
|
86
|
+
// Curiosity-driven stall recovery metadata. Speculative unless promoted by smoke evidence.
|
|
87
|
+
exploration: StrategyExplorationMetadataSchema.nullable().optional(),
|
|
45
88
|
});
|
|
46
89
|
// --- WaitStrategy ---
|
|
47
90
|
export const WaitStrategySchema = StrategySchema.extend({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"strategy.js","sourceRoot":"","sources":["../../../../src/orchestrator/strategy/types/strategy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAGhF,0BAA0B;AAE1B,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3C,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,UAAU,CAAC,CAAC;IAC3C,SAAS,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,CAAC,CAAC;CAChD,CAAC,CAAC;AAGH,4BAA4B;AAE5B,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC7C,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE;IACpB,QAAQ,EAAE,cAAc;IACxB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;CAC/C,CAAC,CAAC;AAGH,mBAAmB;AAEnB,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE;IACd,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,iBAAiB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACtC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE;IAE7B,UAAU,EAAE,CAA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,MAAM,EAAE;IACnB,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,SAAS,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC;IAC3F,kBAAkB,EAAE,cAAc;IAClC,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE;CAC/B,CAAC,CAAC"}
|
|
@@ -32,11 +32,11 @@ export declare const DreamDecisionHeuristicSchema: z.ZodObject<{
|
|
|
32
32
|
id: string;
|
|
33
33
|
strategy_id?: string | undefined;
|
|
34
34
|
reason?: string | undefined;
|
|
35
|
+
score_delta?: number | undefined;
|
|
35
36
|
if_stall_count_gte?: number | undefined;
|
|
36
37
|
strategy_hypothesis_includes?: string | undefined;
|
|
37
38
|
prefer_strategy_hypothesis_includes?: string | undefined;
|
|
38
39
|
avoid_strategy_hypothesis_includes?: string | undefined;
|
|
39
|
-
score_delta?: number | undefined;
|
|
40
40
|
}>;
|
|
41
41
|
export type DreamDecisionHeuristic = z.infer<typeof DreamDecisionHeuristicSchema>;
|
|
42
42
|
export declare function loadDreamActivationState(baseDir: string): Promise<DreamActivationRuntimeState>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare function countGoalDirs(baseDir: string, tier: "light" | "deep"): Promise<number>;
|
|
2
|
+
export declare function countGoalPairs(baseDir: string): Promise<number>;
|
|
3
|
+
export declare function countLearnedPatterns(baseDir: string): Promise<number>;
|
|
4
|
+
export declare function collectBacklogMetrics(baseDir: string): Promise<{
|
|
5
|
+
iteration_lines_pending: number;
|
|
6
|
+
event_lines_pending: number;
|
|
7
|
+
importance_entries_pending: number;
|
|
8
|
+
}>;
|
|
9
|
+
export declare function countFileLines(filePath: string): Promise<number>;
|
|
10
|
+
export declare function countFilesNamed(root: string, fileName: string): Promise<number>;
|
|
11
|
+
export declare function countJsonFiles(root: string): Promise<number>;
|
|
12
|
+
export declare function countJsonlLines(baseDir: string, relativePath: string): Promise<number>;
|
|
13
|
+
export declare function countAgentMemoryEntries(baseDir: string): Promise<number>;
|
|
14
|
+
export declare function countEventLines(baseDir: string, eventType: string): Promise<number>;
|
|
15
|
+
export declare function countTrustDomains(baseDir: string): Promise<number>;
|
|
16
|
+
export declare function countVerificationArtifacts(baseDir: string): Promise<number>;
|
|
17
|
+
export declare function walk(root: string): AsyncGenerator<string>;
|
|
18
|
+
//# sourceMappingURL=fs-metrics.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fs-metrics.d.ts","sourceRoot":"","sources":["../../../../src/platform/dream/dream-consolidator/fs-metrics.ts"],"names":[],"mappings":"AAKA,wBAAsB,aAAa,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAI5F;AAED,wBAAsB,cAAc,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAGrE;AAED,wBAAsB,oBAAoB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAW3E;AAED,wBAAsB,qBAAqB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC;IACpE,uBAAuB,EAAE,MAAM,CAAC;IAChC,mBAAmB,EAAE,MAAM,CAAC;IAC5B,0BAA0B,EAAE,MAAM,CAAC;CACpC,CAAC,CAgCD;AAED,wBAAsB,cAAc,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAGtE;AAED,wBAAsB,eAAe,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAQrF;AAED,wBAAsB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAQlE;AAED,wBAAsB,eAAe,CAAC,OAAO,EAAE,M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