pulseed 0.5.4 → 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/types/goal-activation.d.ts +14 -2
- package/dist/base/types/goal-activation.d.ts.map +1 -1
- package/dist/base/types/goal-activation.js +4 -0
- package/dist/base/types/goal-activation.js.map +1 -1
- 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-runner-commands.d.ts +6 -0
- package/dist/interface/chat/chat-runner-commands.d.ts.map +1 -1
- package/dist/interface/chat/chat-runner-commands.js +94 -2
- package/dist/interface/chat/chat-runner-commands.js.map +1 -1
- package/dist/interface/chat/chat-runner-event-bridge.d.ts +8 -1
- package/dist/interface/chat/chat-runner-event-bridge.d.ts.map +1 -1
- package/dist/interface/chat/chat-runner-event-bridge.js +69 -3
- package/dist/interface/chat/chat-runner-event-bridge.js.map +1 -1
- package/dist/interface/chat/chat-runner-routes.d.ts.map +1 -1
- package/dist/interface/chat/chat-runner-routes.js +23 -7
- package/dist/interface/chat/chat-runner-routes.js.map +1 -1
- package/dist/interface/chat/chat-runner-support.d.ts +25 -1
- package/dist/interface/chat/chat-runner-support.d.ts.map +1 -1
- package/dist/interface/chat/chat-runner-support.js +66 -12
- package/dist/interface/chat/chat-runner-support.js.map +1 -1
- package/dist/interface/chat/chat-runner.d.ts.map +1 -1
- package/dist/interface/chat/chat-runner.js +38 -8
- package/dist/interface/chat/chat-runner.js.map +1 -1
- package/dist/interface/chat/cross-platform-session.d.ts.map +1 -1
- package/dist/interface/chat/cross-platform-session.js +13 -1
- 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 +20 -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 -1
- package/dist/interface/chat/ingress-router.d.ts.map +1 -1
- package/dist/interface/chat/ingress-router.js +2 -3
- package/dist/interface/chat/ingress-router.js.map +1 -1
- package/dist/interface/chat/tend-command.js +1 -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 +2 -1
- package/dist/interface/cli/commands/daemon-shared.d.ts.map +1 -1
- package/dist/interface/cli/commands/daemon-shared.js +33 -1
- package/dist/interface/cli/commands/daemon-shared.js.map +1 -1
- package/dist/interface/cli/commands/daemon.d.ts.map +1 -1
- package/dist/interface/cli/commands/daemon.js +59 -8
- 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/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 +268 -10
- package/dist/interface/tui/app.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-deps.d.ts +3 -1
- package/dist/interface/tui/entry-deps.d.ts.map +1 -1
- package/dist/interface/tui/entry-deps.js +19 -1
- package/dist/interface/tui/entry-deps.js.map +1 -1
- package/dist/interface/tui/entry.d.ts.map +1 -1
- package/dist/interface/tui/entry.js +4 -2
- package/dist/interface/tui/entry.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 +41 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-default-profile.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.d.ts +1 -1
- package/dist/orchestrator/execution/agent-loop/core-loop-control-tools.d.ts +1 -1
- 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 +3 -2
- 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/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 +17 -2
- package/dist/orchestrator/execution/task/task-generation.js.map +1 -1
- package/dist/orchestrator/execution/task/task-lifecycle-runner.d.ts +5 -1
- package/dist/orchestrator/execution/task/task-lifecycle-runner.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-lifecycle-runner.js +9 -5
- package/dist/orchestrator/execution/task/task-lifecycle-runner.js.map +1 -1
- package/dist/orchestrator/execution/task/task-lifecycle.d.ts +10 -1
- package/dist/orchestrator/execution/task/task-lifecycle.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-lifecycle.js +108 -7
- 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/types/pipeline.d.ts +6 -6
- 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 +46 -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.d.ts +1 -0
- package/dist/orchestrator/loop/core-loop/iteration-kernel.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/iteration-kernel.js +492 -1
- 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 +35 -0
- 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.map +1 -1
- package/dist/orchestrator/loop/core-loop/task-cycle-stall.js +141 -5
- package/dist/orchestrator/loop/core-loop/task-cycle-stall.js.map +1 -1
- package/dist/orchestrator/loop/core-loop/task-cycle.d.ts +4 -0
- package/dist/orchestrator/loop/core-loop/task-cycle.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/task-cycle.js +7 -0
- package/dist/orchestrator/loop/core-loop/task-cycle.js.map +1 -1
- package/dist/orchestrator/loop/core-loop.d.ts +15 -5
- package/dist/orchestrator/loop/core-loop.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop.js +283 -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/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 +20 -1
- package/dist/orchestrator/strategy/strategy-manager-base.d.ts.map +1 -1
- package/dist/orchestrator/strategy/strategy-manager-base.js +71 -6
- package/dist/orchestrator/strategy/strategy-manager-base.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-event-workflows.d.ts +6 -6
- package/dist/platform/dream/dream-types.d.ts +91 -91
- 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.d.ts +3 -1
- package/dist/platform/drive/stall-detector.d.ts.map +1 -1
- package/dist/platform/drive/stall-detector.js +40 -1
- 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/types/learning.d.ts +2 -2
- 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/contracts.d.ts +65 -65
- package/dist/platform/soil/importer.d.ts +6 -6
- 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/runner-commands.d.ts +6 -2
- package/dist/runtime/daemon/runner-commands.d.ts.map +1 -1
- package/dist/runtime/daemon/runner-commands.js +237 -1
- 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 +59 -1
- package/dist/runtime/daemon/runner-goal-cycle.js.map +1 -1
- package/dist/runtime/daemon/runner-startup.d.ts.map +1 -1
- package/dist/runtime/daemon/runner-startup.js +12 -2
- package/dist/runtime/daemon/runner-startup.js.map +1 -1
- package/dist/runtime/daemon/runner.d.ts +4 -0
- package/dist/runtime/daemon/runner.d.ts.map +1 -1
- package/dist/runtime/daemon/runner.js +14 -1
- 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/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/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 +4 -1
- package/dist/runtime/executor/goal-worker.d.ts.map +1 -1
- package/dist/runtime/executor/goal-worker.js +5 -1
- package/dist/runtime/executor/goal-worker.js.map +1 -1
- package/dist/runtime/executor/loop-supervisor.d.ts +4 -0
- package/dist/runtime/executor/loop-supervisor.d.ts.map +1 -1
- package/dist/runtime/executor/loop-supervisor.js +35 -6
- 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-execution.d.ts +2 -1
- package/dist/runtime/schedule/engine-execution.d.ts.map +1 -1
- package/dist/runtime/schedule/engine-execution.js +1 -1
- package/dist/runtime/schedule/engine-execution.js.map +1 -1
- package/dist/runtime/schedule/engine-layers.d.ts +2 -1
- package/dist/runtime/schedule/engine-layers.d.ts.map +1 -1
- package/dist/runtime/schedule/engine-layers.js +3 -1
- package/dist/runtime/schedule/engine-layers.js.map +1 -1
- package/dist/runtime/schedule/engine.d.ts +2 -1
- package/dist/runtime/schedule/engine.d.ts.map +1 -1
- package/dist/runtime/schedule/engine.js.map +1 -1
- package/dist/runtime/schedule/history.d.ts +4 -4
- package/dist/runtime/session-registry/registry.d.ts.map +1 -1
- package/dist/runtime/session-registry/registry.js +2 -0
- package/dist/runtime/session-registry/registry.js.map +1 -1
- package/dist/runtime/session-registry/types.d.ts +102 -94
- 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 +70 -24
- 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 +1936 -17
- 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 +224 -14
- package/dist/runtime/types/daemon.d.ts.map +1 -1
- package/dist/runtime/types/daemon.js +27 -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 +97 -54
- package/dist/runtime/types/schedule.d.ts.map +1 -1
- package/dist/runtime/types/schedule.js +10 -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 +1 -1
- package/dist/tools/builtin/exports.d.ts.map +1 -1
- package/dist/tools/builtin/exports.js +1 -1
- package/dist/tools/builtin/exports.js.map +1 -1
- package/dist/tools/builtin/factory.d.ts +5 -0
- package/dist/tools/builtin/factory.d.ts.map +1 -1
- package/dist/tools/builtin/factory.js +18 -2
- package/dist/tools/builtin/factory.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/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/MemoryRecallTool/MemoryRecallTool.d.ts +2 -2
- 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.map +1 -1
- package/dist/tools/query/runtime-session-tools.js +2 -0
- package/dist/tools/query/runtime-session-tools.js.map +1 -1
- package/dist/tools/runtime/LongRunningRuntimeTools.d.ts +103 -103
- package/dist/tools/runtime/LongRunningRuntimeTools.d.ts.map +1 -1
- package/dist/tools/runtime/LongRunningRuntimeTools.js +60 -0
- package/dist/tools/runtime/LongRunningRuntimeTools.js.map +1 -1
- 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/TestRunnerTool/TestRunnerTool.d.ts +4 -4
- package/package.json +2 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"derive.js","sourceRoot":"","sources":["../../../src/runtime/run-spec/derive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AAajF,MAAM,sBAAsB,GAAG,GAAG,CAAC;AAEnC,MAAM,qBAAqB,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC;AAE3E,MA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;AAC9D,CAAC;AAED,SAAS,YAAY,CAAC,KAAoC,EAAE,QAA2B;IACrF,OAAO,KAAK,IAAI,QAAQ,CAAC;AAC3B,CAAC;AAED,SAAS,QAAQ,CAAC,MAA4B;IAC5C,OAAO,MAAM,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;AAC1D,CAAC;AAED,SAAS,YAAY,CAAC,GAAS,EAAE,MAAY;IAC3C,MAAM,OAAO,GAAG,MAAM,CAAC,OAAO,EAAE,GAAG,GAAG,CAAC,OAAO,EAAE,CAAC;IACjD,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,OAAO,IAAI,CAAC;QAAE,OAAO,IAAI,CAAC;IAC3D,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,CAAC;AACrC,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { deriveRunSpecFromText, understandRunSpecDraft, type RunSpecIntent } from "./derive.js";
|
|
2
|
+
export { createRunSpecStore, RunSpecStore } from "./store.js";
|
|
3
|
+
export { applyRunSpecRevision, formatRunSpecSetupProposal, handleRunSpecConfirmationInput, requiredMissingFields, type RunSpecConfirmationResult, } from "./confirmation.js";
|
|
4
|
+
export { RunSpecSchema, RunSpecIdSchema, RunSpecProfileSchema, RunSpecMetricDirectionSchema, type RunSpec, type RunSpecDerivationContext, type RunSpecMissingField, } from "./types.js";
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/runtime/run-spec/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AAChG,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC9D,OAAO,EACL,oBAAoB,EACpB,0BAA0B,EAC1B,8BAA8B,EAC9B,qBAAqB,EACrB,KAAK,yBAAyB,GAC/B,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,aAAa,EACb,eAAe,EACf,oBAAoB,EACpB,4BAA4B,EAC5B,KAAK,OAAO,EACZ,KAAK,wBAAwB,EAC7B,KAAK,mBAAmB,GACzB,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { deriveRunSpecFromText, understandRunSpecDraft } from "./derive.js";
|
|
2
|
+
export { createRunSpecStore, RunSpecStore } from "./store.js";
|
|
3
|
+
export { applyRunSpecRevision, formatRunSpecSetupProposal, handleRunSpecConfirmationInput, requiredMissingFields, } from "./confirmation.js";
|
|
4
|
+
export { RunSpecSchema, RunSpecIdSchema, RunSpecProfileSchema, RunSpecMetricDirectionSchema, } from "./types.js";
|
|
5
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/runtime/run-spec/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,sBAAsB,EAAsB,MAAM,aAAa,CAAC;AAChG,OAAO,EAAE,kBAAkB,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC9D,OAAO,EACL,oBAAoB,EACpB,0BAA0B,EAC1B,8BAA8B,EAC9B,qBAAqB,GAEtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,aAAa,EACb,eAAe,EACf,oBAAoB,EACpB,4BAA4B,GAI7B,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { StateManager } from "../../base/state/state-manager.js";
|
|
2
|
+
import { type RunSpec } from "./types.js";
|
|
3
|
+
export declare class RunSpecStore {
|
|
4
|
+
private readonly stateManager;
|
|
5
|
+
constructor(stateManager: Pick<StateManager, "getBaseDir">);
|
|
6
|
+
save(spec: RunSpec): Promise<RunSpec>;
|
|
7
|
+
load(id: string): Promise<RunSpec | null>;
|
|
8
|
+
private runSpecsDir;
|
|
9
|
+
}
|
|
10
|
+
export declare function createRunSpecStore(stateManager: Pick<StateManager, "getBaseDir">): RunSpecStore;
|
|
11
|
+
//# sourceMappingURL=store.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../../src/runtime/run-spec/store.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mCAAmC,CAAC;AACtE,OAAO,EAAkC,KAAK,OAAO,EAAE,MAAM,YAAY,CAAC;AAE1E,qBAAa,YAAY;IACX,OAAO,CAAC,QAAQ,CAAC,YAAY;gBAAZ,YAAY,EAAE,IAAI,CAAC,YAAY,EAAE,YAAY,CAAC;IAErE,IAAI,CAAC,IAAI,EAAE,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;IAQrC,IAAI,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC;IAW/C,OAAO,CAAC,WAAW;CAGpB;AAED,wBAAgB,kBAAkB,CAAC,YAAY,EAAE,IAAI,CAAC,YAAY,EAAE,YAAY,CAAC,GAAG,YAAY,CAE/F"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as fsp from "node:fs/promises";
|
|
2
|
+
import * as path from "node:path";
|
|
3
|
+
import { atomicWrite } from "../../base/state/state-manager.js";
|
|
4
|
+
import { RunSpecIdSchema, RunSpecSchema } from "./types.js";
|
|
5
|
+
export class RunSpecStore {
|
|
6
|
+
stateManager;
|
|
7
|
+
constructor(stateManager) {
|
|
8
|
+
this.stateManager = stateManager;
|
|
9
|
+
}
|
|
10
|
+
async save(spec) {
|
|
11
|
+
const parsed = RunSpecSchema.parse(spec);
|
|
12
|
+
const dir = this.runSpecsDir();
|
|
13
|
+
await fsp.mkdir(dir, { recursive: true });
|
|
14
|
+
await atomicWrite(path.join(dir, `${parsed.id}.json`), parsed);
|
|
15
|
+
return parsed;
|
|
16
|
+
}
|
|
17
|
+
async load(id) {
|
|
18
|
+
const parsedId = RunSpecIdSchema.parse(id);
|
|
19
|
+
try {
|
|
20
|
+
const raw = await fsp.readFile(path.join(this.runSpecsDir(), `${parsedId}.json`), "utf8");
|
|
21
|
+
return RunSpecSchema.parse(JSON.parse(raw));
|
|
22
|
+
}
|
|
23
|
+
catch (err) {
|
|
24
|
+
if (err.code === "ENOENT")
|
|
25
|
+
return null;
|
|
26
|
+
throw err;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
runSpecsDir() {
|
|
30
|
+
return path.join(this.stateManager.getBaseDir(), "run-specs");
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
export function createRunSpecStore(stateManager) {
|
|
34
|
+
return new RunSpecStore(stateManager);
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=store.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"store.js","sourceRoot":"","sources":["../../../src/runtime/run-spec/store.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,kBAAkB,CAAC;AACxC,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAEhE,OAAO,EAAE,eAAe,EAAE,aAAa,EAAgB,MAAM,YAAY,CAAC;AAE1E,MAAM,OAAO,YAAY;IACM;IAA7B,YAA6B,YAA8C;QAA9C,iBAAY,GAAZ,YAAY,CAAkC;IAAG,CAAC;IAE/E,KAAK,CAAC,IAAI,CAAC,IAAa;QACtB,MAAM,MAAM,GAAG,aAAa,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QACzC,MAAM,GAAG,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC;QAC/B,MAAM,GAAG,CAAC,KAAK,CAAC,GAAG,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;QAC1C,MAAM,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,MAAM,CAAC,EAAE,OAAO,CAAC,EAAE,MAAM,CAAC,CAAC;QAC/D,OAAO,MAAM,CAAC;IAChB,CAAC;IAED,KAAK,CAAC,IAAI,CAAC,EAAU;QACnB,MAAM,QAAQ,GAAG,eAAe,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;QAC3C,IAAI,CAAC;YACH,MAAM,GAAG,GAAG,MAAM,GAAG,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,GAAG,QAAQ,OAAO,CAAC,EAAE,MAAM,CAAC,CAAC;YAC1F,OAAO,aAAa,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;QAC9C,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACb,IAAK,GAA6B,CAAC,IAAI,KAAK,QAAQ;gBAAE,OAAO,IAAI,CAAC;YAClE,MAAM,GAAG,CAAC;QACZ,CAAC;IACH,CAAC;IAEO,WAAW;QACjB,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,UAAU,EAAE,EAAE,WAAW,CAAC,CAAC;IAChE,CAAC;CACF;AAED,MAAM,UAAU,kBAAkB,CAAC,YAA8C;IAC/E,OAAO,IAAI,YAAY,CAAC,YAAY,CAAC,CAAC;AACxC,CAAC"}
|
|
@@ -0,0 +1,495 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import type { ILLMClient } from "../../base/llm/llm-client.js";
|
|
3
|
+
export declare const RunSpecProfileSchema: z.ZodEnum<["generic", "kaggle"]>;
|
|
4
|
+
export type RunSpecProfile = z.infer<typeof RunSpecProfileSchema>;
|
|
5
|
+
export declare const RunSpecIdSchema: z.ZodString;
|
|
6
|
+
export type RunSpecId = z.infer<typeof RunSpecIdSchema>;
|
|
7
|
+
export declare const RunSpecMetricDirectionSchema: z.ZodEnum<["maximize", "minimize", "unknown"]>;
|
|
8
|
+
export type RunSpecMetricDirection = z.infer<typeof RunSpecMetricDirectionSchema>;
|
|
9
|
+
export declare const RunSpecConfidenceSchema: z.ZodEnum<["high", "medium", "low"]>;
|
|
10
|
+
export type RunSpecConfidence = z.infer<typeof RunSpecConfidenceSchema>;
|
|
11
|
+
export declare const RunSpecMissingFieldSchema: z.ZodObject<{
|
|
12
|
+
field: z.ZodString;
|
|
13
|
+
question: z.ZodString;
|
|
14
|
+
severity: z.ZodEnum<["required", "confirmation"]>;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
question: string;
|
|
17
|
+
severity: "required" | "confirmation";
|
|
18
|
+
field: string;
|
|
19
|
+
}, {
|
|
20
|
+
question: string;
|
|
21
|
+
severity: "required" | "confirmation";
|
|
22
|
+
field: string;
|
|
23
|
+
}>;
|
|
24
|
+
export type RunSpecMissingField = z.infer<typeof RunSpecMissingFieldSchema>;
|
|
25
|
+
export declare const RunSpecWorkspaceSchema: z.ZodObject<{
|
|
26
|
+
path: z.ZodString;
|
|
27
|
+
source: z.ZodEnum<["user", "context"]>;
|
|
28
|
+
confidence: z.ZodEnum<["high", "medium", "low"]>;
|
|
29
|
+
}, "strip", z.ZodTypeAny, {
|
|
30
|
+
path: string;
|
|
31
|
+
source: "context" | "user";
|
|
32
|
+
confidence: "low" | "high" | "medium";
|
|
33
|
+
}, {
|
|
34
|
+
path: string;
|
|
35
|
+
source: "context" | "user";
|
|
36
|
+
confidence: "low" | "high" | "medium";
|
|
37
|
+
}>;
|
|
38
|
+
export type RunSpecWorkspace = z.infer<typeof RunSpecWorkspaceSchema>;
|
|
39
|
+
export declare const RunSpecExecutionTargetSchema: z.ZodObject<{
|
|
40
|
+
kind: z.ZodEnum<["local", "daemon", "remote"]>;
|
|
41
|
+
remote_host: z.ZodNullable<z.ZodString>;
|
|
42
|
+
confidence: z.ZodEnum<["high", "medium", "low"]>;
|
|
43
|
+
}, "strip", z.ZodTypeAny, {
|
|
44
|
+
confidence: "low" | "high" | "medium";
|
|
45
|
+
kind: "local" | "remote" | "daemon";
|
|
46
|
+
remote_host: string | null;
|
|
47
|
+
}, {
|
|
48
|
+
confidence: "low" | "high" | "medium";
|
|
49
|
+
kind: "local" | "remote" | "daemon";
|
|
50
|
+
remote_host: string | null;
|
|
51
|
+
}>;
|
|
52
|
+
export type RunSpecExecutionTarget = z.infer<typeof RunSpecExecutionTargetSchema>;
|
|
53
|
+
export declare const RunSpecMetricSchema: z.ZodObject<{
|
|
54
|
+
name: z.ZodString;
|
|
55
|
+
direction: z.ZodEnum<["maximize", "minimize", "unknown"]>;
|
|
56
|
+
target: z.ZodNullable<z.ZodNumber>;
|
|
57
|
+
target_rank_percent: z.ZodNullable<z.ZodNumber>;
|
|
58
|
+
datasource: z.ZodNullable<z.ZodString>;
|
|
59
|
+
confidence: z.ZodEnum<["high", "medium", "low"]>;
|
|
60
|
+
}, "strip", z.ZodTypeAny, {
|
|
61
|
+
confidence: "low" | "high" | "medium";
|
|
62
|
+
name: string;
|
|
63
|
+
direction: "unknown" | "maximize" | "minimize";
|
|
64
|
+
target: number | null;
|
|
65
|
+
target_rank_percent: number | null;
|
|
66
|
+
datasource: string | null;
|
|
67
|
+
}, {
|
|
68
|
+
confidence: "low" | "high" | "medium";
|
|
69
|
+
name: string;
|
|
70
|
+
direction: "unknown" | "maximize" | "minimize";
|
|
71
|
+
target: number | null;
|
|
72
|
+
target_rank_percent: number | null;
|
|
73
|
+
datasource: string | null;
|
|
74
|
+
}>;
|
|
75
|
+
export type RunSpecMetric = z.infer<typeof RunSpecMetricSchema>;
|
|
76
|
+
export declare const RunSpecProgressContractSchema: z.ZodObject<{
|
|
77
|
+
kind: z.ZodEnum<["metric_target", "rank_percentile", "deadline_only", "open_ended", "unknown"]>;
|
|
78
|
+
dimension: z.ZodNullable<z.ZodString>;
|
|
79
|
+
threshold: z.ZodNullable<z.ZodNumber>;
|
|
80
|
+
semantics: z.ZodString;
|
|
81
|
+
confidence: z.ZodEnum<["high", "medium", "low"]>;
|
|
82
|
+
}, "strip", z.ZodTypeAny, {
|
|
83
|
+
confidence: "low" | "high" | "medium";
|
|
84
|
+
threshold: number | null;
|
|
85
|
+
dimension: string | null;
|
|
86
|
+
kind: "unknown" | "metric_target" | "rank_percentile" | "deadline_only" | "open_ended";
|
|
87
|
+
semantics: string;
|
|
88
|
+
}, {
|
|
89
|
+
confidence: "low" | "high" | "medium";
|
|
90
|
+
threshold: number | null;
|
|
91
|
+
dimension: string | null;
|
|
92
|
+
kind: "unknown" | "metric_target" | "rank_percentile" | "deadline_only" | "open_ended";
|
|
93
|
+
semantics: string;
|
|
94
|
+
}>;
|
|
95
|
+
export type RunSpecProgressContract = z.infer<typeof RunSpecProgressContractSchema>;
|
|
96
|
+
export declare const RunSpecDeadlineSchema: z.ZodObject<{
|
|
97
|
+
raw: z.ZodString;
|
|
98
|
+
iso_at: z.ZodNullable<z.ZodString>;
|
|
99
|
+
timezone: z.ZodNullable<z.ZodString>;
|
|
100
|
+
finalization_buffer_minutes: z.ZodNullable<z.ZodNumber>;
|
|
101
|
+
confidence: z.ZodEnum<["high", "medium", "low"]>;
|
|
102
|
+
}, "strip", z.ZodTypeAny, {
|
|
103
|
+
confidence: "low" | "high" | "medium";
|
|
104
|
+
raw: string;
|
|
105
|
+
timezone: string | null;
|
|
106
|
+
iso_at: string | null;
|
|
107
|
+
finalization_buffer_minutes: number | null;
|
|
108
|
+
}, {
|
|
109
|
+
confidence: "low" | "high" | "medium";
|
|
110
|
+
raw: string;
|
|
111
|
+
timezone: string | null;
|
|
112
|
+
iso_at: string | null;
|
|
113
|
+
finalization_buffer_minutes: number | null;
|
|
114
|
+
}>;
|
|
115
|
+
export type RunSpecDeadline = z.infer<typeof RunSpecDeadlineSchema>;
|
|
116
|
+
export declare const RunSpecBudgetSchema: z.ZodObject<{
|
|
117
|
+
max_trials: z.ZodNullable<z.ZodNumber>;
|
|
118
|
+
max_wall_clock_minutes: z.ZodNullable<z.ZodNumber>;
|
|
119
|
+
resident_policy: z.ZodEnum<["until_deadline", "best_effort", "unknown"]>;
|
|
120
|
+
}, "strip", z.ZodTypeAny, {
|
|
121
|
+
max_trials: number | null;
|
|
122
|
+
max_wall_clock_minutes: number | null;
|
|
123
|
+
resident_policy: "unknown" | "until_deadline" | "best_effort";
|
|
124
|
+
}, {
|
|
125
|
+
max_trials: number | null;
|
|
126
|
+
max_wall_clock_minutes: number | null;
|
|
127
|
+
resident_policy: "unknown" | "until_deadline" | "best_effort";
|
|
128
|
+
}>;
|
|
129
|
+
export type RunSpecBudget = z.infer<typeof RunSpecBudgetSchema>;
|
|
130
|
+
export declare const RunSpecApprovalPolicySchema: z.ZodObject<{
|
|
131
|
+
submit: z.ZodEnum<["approval_required", "allowed", "disallowed", "unspecified"]>;
|
|
132
|
+
publish: z.ZodEnum<["approval_required", "allowed", "disallowed", "unspecified"]>;
|
|
133
|
+
secret: z.ZodEnum<["approval_required", "disallowed", "unspecified"]>;
|
|
134
|
+
external_action: z.ZodEnum<["approval_required", "allowed", "disallowed", "unspecified"]>;
|
|
135
|
+
irreversible_action: z.ZodEnum<["approval_required", "disallowed", "unspecified"]>;
|
|
136
|
+
}, "strip", z.ZodTypeAny, {
|
|
137
|
+
secret: "approval_required" | "unspecified" | "disallowed";
|
|
138
|
+
external_action: "approval_required" | "allowed" | "unspecified" | "disallowed";
|
|
139
|
+
irreversible_action: "approval_required" | "unspecified" | "disallowed";
|
|
140
|
+
submit: "approval_required" | "allowed" | "unspecified" | "disallowed";
|
|
141
|
+
publish: "approval_required" | "allowed" | "unspecified" | "disallowed";
|
|
142
|
+
}, {
|
|
143
|
+
secret: "approval_required" | "unspecified" | "disallowed";
|
|
144
|
+
external_action: "approval_required" | "allowed" | "unspecified" | "disallowed";
|
|
145
|
+
irreversible_action: "approval_required" | "unspecified" | "disallowed";
|
|
146
|
+
submit: "approval_required" | "allowed" | "unspecified" | "disallowed";
|
|
147
|
+
publish: "approval_required" | "allowed" | "unspecified" | "disallowed";
|
|
148
|
+
}>;
|
|
149
|
+
export type RunSpecApprovalPolicy = z.infer<typeof RunSpecApprovalPolicySchema>;
|
|
150
|
+
export declare const RunSpecArtifactContractSchema: z.ZodObject<{
|
|
151
|
+
expected_artifacts: z.ZodArray<z.ZodString, "many">;
|
|
152
|
+
discovery_globs: z.ZodArray<z.ZodString, "many">;
|
|
153
|
+
primary_outputs: z.ZodArray<z.ZodString, "many">;
|
|
154
|
+
}, "strip", z.ZodTypeAny, {
|
|
155
|
+
expected_artifacts: string[];
|
|
156
|
+
discovery_globs: string[];
|
|
157
|
+
primary_outputs: string[];
|
|
158
|
+
}, {
|
|
159
|
+
expected_artifacts: string[];
|
|
160
|
+
discovery_globs: string[];
|
|
161
|
+
primary_outputs: string[];
|
|
162
|
+
}>;
|
|
163
|
+
export type RunSpecArtifactContract = z.infer<typeof RunSpecArtifactContractSchema>;
|
|
164
|
+
export declare const RunSpecLinksSchema: z.ZodObject<{
|
|
165
|
+
goal_id: z.ZodNullable<z.ZodString>;
|
|
166
|
+
runtime_session_id: z.ZodNullable<z.ZodString>;
|
|
167
|
+
conversation_id: z.ZodNullable<z.ZodString>;
|
|
168
|
+
}, "strip", z.ZodTypeAny, {
|
|
169
|
+
goal_id: string | null;
|
|
170
|
+
conversation_id: string | null;
|
|
171
|
+
runtime_session_id: string | null;
|
|
172
|
+
}, {
|
|
173
|
+
goal_id: string | null;
|
|
174
|
+
conversation_id: string | null;
|
|
175
|
+
runtime_session_id: string | null;
|
|
176
|
+
}>;
|
|
177
|
+
export type RunSpecLinks = z.infer<typeof RunSpecLinksSchema>;
|
|
178
|
+
export declare const RunSpecSchema: z.ZodObject<{
|
|
179
|
+
schema_version: z.ZodLiteral<"run-spec-v1">;
|
|
180
|
+
id: z.ZodString;
|
|
181
|
+
status: z.ZodEnum<["draft", "confirmed", "cancelled", "attached"]>;
|
|
182
|
+
profile: z.ZodEnum<["generic", "kaggle"]>;
|
|
183
|
+
source_text: z.ZodString;
|
|
184
|
+
objective: z.ZodString;
|
|
185
|
+
workspace: z.ZodNullable<z.ZodObject<{
|
|
186
|
+
path: z.ZodString;
|
|
187
|
+
source: z.ZodEnum<["user", "context"]>;
|
|
188
|
+
confidence: z.ZodEnum<["high", "medium", "low"]>;
|
|
189
|
+
}, "strip", z.ZodTypeAny, {
|
|
190
|
+
path: string;
|
|
191
|
+
source: "context" | "user";
|
|
192
|
+
confidence: "low" | "high" | "medium";
|
|
193
|
+
}, {
|
|
194
|
+
path: string;
|
|
195
|
+
source: "context" | "user";
|
|
196
|
+
confidence: "low" | "high" | "medium";
|
|
197
|
+
}>>;
|
|
198
|
+
execution_target: z.ZodObject<{
|
|
199
|
+
kind: z.ZodEnum<["local", "daemon", "remote"]>;
|
|
200
|
+
remote_host: z.ZodNullable<z.ZodString>;
|
|
201
|
+
confidence: z.ZodEnum<["high", "medium", "low"]>;
|
|
202
|
+
}, "strip", z.ZodTypeAny, {
|
|
203
|
+
confidence: "low" | "high" | "medium";
|
|
204
|
+
kind: "local" | "remote" | "daemon";
|
|
205
|
+
remote_host: string | null;
|
|
206
|
+
}, {
|
|
207
|
+
confidence: "low" | "high" | "medium";
|
|
208
|
+
kind: "local" | "remote" | "daemon";
|
|
209
|
+
remote_host: string | null;
|
|
210
|
+
}>;
|
|
211
|
+
metric: z.ZodNullable<z.ZodObject<{
|
|
212
|
+
name: z.ZodString;
|
|
213
|
+
direction: z.ZodEnum<["maximize", "minimize", "unknown"]>;
|
|
214
|
+
target: z.ZodNullable<z.ZodNumber>;
|
|
215
|
+
target_rank_percent: z.ZodNullable<z.ZodNumber>;
|
|
216
|
+
datasource: z.ZodNullable<z.ZodString>;
|
|
217
|
+
confidence: z.ZodEnum<["high", "medium", "low"]>;
|
|
218
|
+
}, "strip", z.ZodTypeAny, {
|
|
219
|
+
confidence: "low" | "high" | "medium";
|
|
220
|
+
name: string;
|
|
221
|
+
direction: "unknown" | "maximize" | "minimize";
|
|
222
|
+
target: number | null;
|
|
223
|
+
target_rank_percent: number | null;
|
|
224
|
+
datasource: string | null;
|
|
225
|
+
}, {
|
|
226
|
+
confidence: "low" | "high" | "medium";
|
|
227
|
+
name: string;
|
|
228
|
+
direction: "unknown" | "maximize" | "minimize";
|
|
229
|
+
target: number | null;
|
|
230
|
+
target_rank_percent: number | null;
|
|
231
|
+
datasource: string | null;
|
|
232
|
+
}>>;
|
|
233
|
+
progress_contract: z.ZodObject<{
|
|
234
|
+
kind: z.ZodEnum<["metric_target", "rank_percentile", "deadline_only", "open_ended", "unknown"]>;
|
|
235
|
+
dimension: z.ZodNullable<z.ZodString>;
|
|
236
|
+
threshold: z.ZodNullable<z.ZodNumber>;
|
|
237
|
+
semantics: z.ZodString;
|
|
238
|
+
confidence: z.ZodEnum<["high", "medium", "low"]>;
|
|
239
|
+
}, "strip", z.ZodTypeAny, {
|
|
240
|
+
confidence: "low" | "high" | "medium";
|
|
241
|
+
threshold: number | null;
|
|
242
|
+
dimension: string | null;
|
|
243
|
+
kind: "unknown" | "metric_target" | "rank_percentile" | "deadline_only" | "open_ended";
|
|
244
|
+
semantics: string;
|
|
245
|
+
}, {
|
|
246
|
+
confidence: "low" | "high" | "medium";
|
|
247
|
+
threshold: number | null;
|
|
248
|
+
dimension: string | null;
|
|
249
|
+
kind: "unknown" | "metric_target" | "rank_percentile" | "deadline_only" | "open_ended";
|
|
250
|
+
semantics: string;
|
|
251
|
+
}>;
|
|
252
|
+
deadline: z.ZodNullable<z.ZodObject<{
|
|
253
|
+
raw: z.ZodString;
|
|
254
|
+
iso_at: z.ZodNullable<z.ZodString>;
|
|
255
|
+
timezone: z.ZodNullable<z.ZodString>;
|
|
256
|
+
finalization_buffer_minutes: z.ZodNullable<z.ZodNumber>;
|
|
257
|
+
confidence: z.ZodEnum<["high", "medium", "low"]>;
|
|
258
|
+
}, "strip", z.ZodTypeAny, {
|
|
259
|
+
confidence: "low" | "high" | "medium";
|
|
260
|
+
raw: string;
|
|
261
|
+
timezone: string | null;
|
|
262
|
+
iso_at: string | null;
|
|
263
|
+
finalization_buffer_minutes: number | null;
|
|
264
|
+
}, {
|
|
265
|
+
confidence: "low" | "high" | "medium";
|
|
266
|
+
raw: string;
|
|
267
|
+
timezone: string | null;
|
|
268
|
+
iso_at: string | null;
|
|
269
|
+
finalization_buffer_minutes: number | null;
|
|
270
|
+
}>>;
|
|
271
|
+
budget: z.ZodObject<{
|
|
272
|
+
max_trials: z.ZodNullable<z.ZodNumber>;
|
|
273
|
+
max_wall_clock_minutes: z.ZodNullable<z.ZodNumber>;
|
|
274
|
+
resident_policy: z.ZodEnum<["until_deadline", "best_effort", "unknown"]>;
|
|
275
|
+
}, "strip", z.ZodTypeAny, {
|
|
276
|
+
max_trials: number | null;
|
|
277
|
+
max_wall_clock_minutes: number | null;
|
|
278
|
+
resident_policy: "unknown" | "until_deadline" | "best_effort";
|
|
279
|
+
}, {
|
|
280
|
+
max_trials: number | null;
|
|
281
|
+
max_wall_clock_minutes: number | null;
|
|
282
|
+
resident_policy: "unknown" | "until_deadline" | "best_effort";
|
|
283
|
+
}>;
|
|
284
|
+
approval_policy: z.ZodObject<{
|
|
285
|
+
submit: z.ZodEnum<["approval_required", "allowed", "disallowed", "unspecified"]>;
|
|
286
|
+
publish: z.ZodEnum<["approval_required", "allowed", "disallowed", "unspecified"]>;
|
|
287
|
+
secret: z.ZodEnum<["approval_required", "disallowed", "unspecified"]>;
|
|
288
|
+
external_action: z.ZodEnum<["approval_required", "allowed", "disallowed", "unspecified"]>;
|
|
289
|
+
irreversible_action: z.ZodEnum<["approval_required", "disallowed", "unspecified"]>;
|
|
290
|
+
}, "strip", z.ZodTypeAny, {
|
|
291
|
+
secret: "approval_required" | "unspecified" | "disallowed";
|
|
292
|
+
external_action: "approval_required" | "allowed" | "unspecified" | "disallowed";
|
|
293
|
+
irreversible_action: "approval_required" | "unspecified" | "disallowed";
|
|
294
|
+
submit: "approval_required" | "allowed" | "unspecified" | "disallowed";
|
|
295
|
+
publish: "approval_required" | "allowed" | "unspecified" | "disallowed";
|
|
296
|
+
}, {
|
|
297
|
+
secret: "approval_required" | "unspecified" | "disallowed";
|
|
298
|
+
external_action: "approval_required" | "allowed" | "unspecified" | "disallowed";
|
|
299
|
+
irreversible_action: "approval_required" | "unspecified" | "disallowed";
|
|
300
|
+
submit: "approval_required" | "allowed" | "unspecified" | "disallowed";
|
|
301
|
+
publish: "approval_required" | "allowed" | "unspecified" | "disallowed";
|
|
302
|
+
}>;
|
|
303
|
+
artifact_contract: z.ZodObject<{
|
|
304
|
+
expected_artifacts: z.ZodArray<z.ZodString, "many">;
|
|
305
|
+
discovery_globs: z.ZodArray<z.ZodString, "many">;
|
|
306
|
+
primary_outputs: z.ZodArray<z.ZodString, "many">;
|
|
307
|
+
}, "strip", z.ZodTypeAny, {
|
|
308
|
+
expected_artifacts: string[];
|
|
309
|
+
discovery_globs: string[];
|
|
310
|
+
primary_outputs: string[];
|
|
311
|
+
}, {
|
|
312
|
+
expected_artifacts: string[];
|
|
313
|
+
discovery_globs: string[];
|
|
314
|
+
primary_outputs: string[];
|
|
315
|
+
}>;
|
|
316
|
+
risk_flags: z.ZodArray<z.ZodString, "many">;
|
|
317
|
+
missing_fields: z.ZodArray<z.ZodObject<{
|
|
318
|
+
field: z.ZodString;
|
|
319
|
+
question: z.ZodString;
|
|
320
|
+
severity: z.ZodEnum<["required", "confirmation"]>;
|
|
321
|
+
}, "strip", z.ZodTypeAny, {
|
|
322
|
+
question: string;
|
|
323
|
+
severity: "required" | "confirmation";
|
|
324
|
+
field: string;
|
|
325
|
+
}, {
|
|
326
|
+
question: string;
|
|
327
|
+
severity: "required" | "confirmation";
|
|
328
|
+
field: string;
|
|
329
|
+
}>, "many">;
|
|
330
|
+
confidence: z.ZodEnum<["high", "medium", "low"]>;
|
|
331
|
+
links: z.ZodObject<{
|
|
332
|
+
goal_id: z.ZodNullable<z.ZodString>;
|
|
333
|
+
runtime_session_id: z.ZodNullable<z.ZodString>;
|
|
334
|
+
conversation_id: z.ZodNullable<z.ZodString>;
|
|
335
|
+
}, "strip", z.ZodTypeAny, {
|
|
336
|
+
goal_id: string | null;
|
|
337
|
+
conversation_id: string | null;
|
|
338
|
+
runtime_session_id: string | null;
|
|
339
|
+
}, {
|
|
340
|
+
goal_id: string | null;
|
|
341
|
+
conversation_id: string | null;
|
|
342
|
+
runtime_session_id: string | null;
|
|
343
|
+
}>;
|
|
344
|
+
created_at: z.ZodString;
|
|
345
|
+
updated_at: z.ZodString;
|
|
346
|
+
}, "strip", z.ZodTypeAny, {
|
|
347
|
+
status: "cancelled" | "confirmed" | "draft" | "attached";
|
|
348
|
+
confidence: "low" | "high" | "medium";
|
|
349
|
+
id: string;
|
|
350
|
+
deadline: {
|
|
351
|
+
confidence: "low" | "high" | "medium";
|
|
352
|
+
raw: string;
|
|
353
|
+
timezone: string | null;
|
|
354
|
+
iso_at: string | null;
|
|
355
|
+
finalization_buffer_minutes: number | null;
|
|
356
|
+
} | null;
|
|
357
|
+
created_at: string;
|
|
358
|
+
updated_at: string;
|
|
359
|
+
schema_version: "run-spec-v1";
|
|
360
|
+
metric: {
|
|
361
|
+
confidence: "low" | "high" | "medium";
|
|
362
|
+
name: string;
|
|
363
|
+
direction: "unknown" | "maximize" | "minimize";
|
|
364
|
+
target: number | null;
|
|
365
|
+
target_rank_percent: number | null;
|
|
366
|
+
datasource: string | null;
|
|
367
|
+
} | null;
|
|
368
|
+
approval_policy: {
|
|
369
|
+
secret: "approval_required" | "unspecified" | "disallowed";
|
|
370
|
+
external_action: "approval_required" | "allowed" | "unspecified" | "disallowed";
|
|
371
|
+
irreversible_action: "approval_required" | "unspecified" | "disallowed";
|
|
372
|
+
submit: "approval_required" | "allowed" | "unspecified" | "disallowed";
|
|
373
|
+
publish: "approval_required" | "allowed" | "unspecified" | "disallowed";
|
|
374
|
+
};
|
|
375
|
+
workspace: {
|
|
376
|
+
path: string;
|
|
377
|
+
source: "context" | "user";
|
|
378
|
+
confidence: "low" | "high" | "medium";
|
|
379
|
+
} | null;
|
|
380
|
+
budget: {
|
|
381
|
+
max_trials: number | null;
|
|
382
|
+
max_wall_clock_minutes: number | null;
|
|
383
|
+
resident_policy: "unknown" | "until_deadline" | "best_effort";
|
|
384
|
+
};
|
|
385
|
+
objective: string;
|
|
386
|
+
profile: "generic" | "kaggle";
|
|
387
|
+
source_text: string;
|
|
388
|
+
execution_target: {
|
|
389
|
+
confidence: "low" | "high" | "medium";
|
|
390
|
+
kind: "local" | "remote" | "daemon";
|
|
391
|
+
remote_host: string | null;
|
|
392
|
+
};
|
|
393
|
+
progress_contract: {
|
|
394
|
+
confidence: "low" | "high" | "medium";
|
|
395
|
+
threshold: number | null;
|
|
396
|
+
dimension: string | null;
|
|
397
|
+
kind: "unknown" | "metric_target" | "rank_percentile" | "deadline_only" | "open_ended";
|
|
398
|
+
semantics: string;
|
|
399
|
+
};
|
|
400
|
+
artifact_contract: {
|
|
401
|
+
expected_artifacts: string[];
|
|
402
|
+
discovery_globs: string[];
|
|
403
|
+
primary_outputs: string[];
|
|
404
|
+
};
|
|
405
|
+
risk_flags: string[];
|
|
406
|
+
missing_fields: {
|
|
407
|
+
question: string;
|
|
408
|
+
severity: "required" | "confirmation";
|
|
409
|
+
field: string;
|
|
410
|
+
}[];
|
|
411
|
+
links: {
|
|
412
|
+
goal_id: string | null;
|
|
413
|
+
conversation_id: string | null;
|
|
414
|
+
runtime_session_id: string | null;
|
|
415
|
+
};
|
|
416
|
+
}, {
|
|
417
|
+
status: "cancelled" | "confirmed" | "draft" | "attached";
|
|
418
|
+
confidence: "low" | "high" | "medium";
|
|
419
|
+
id: string;
|
|
420
|
+
deadline: {
|
|
421
|
+
confidence: "low" | "high" | "medium";
|
|
422
|
+
raw: string;
|
|
423
|
+
timezone: string | null;
|
|
424
|
+
iso_at: string | null;
|
|
425
|
+
finalization_buffer_minutes: number | null;
|
|
426
|
+
} | null;
|
|
427
|
+
created_at: string;
|
|
428
|
+
updated_at: string;
|
|
429
|
+
schema_version: "run-spec-v1";
|
|
430
|
+
metric: {
|
|
431
|
+
confidence: "low" | "high" | "medium";
|
|
432
|
+
name: string;
|
|
433
|
+
direction: "unknown" | "maximize" | "minimize";
|
|
434
|
+
target: number | null;
|
|
435
|
+
target_rank_percent: number | null;
|
|
436
|
+
datasource: string | null;
|
|
437
|
+
} | null;
|
|
438
|
+
approval_policy: {
|
|
439
|
+
secret: "approval_required" | "unspecified" | "disallowed";
|
|
440
|
+
external_action: "approval_required" | "allowed" | "unspecified" | "disallowed";
|
|
441
|
+
irreversible_action: "approval_required" | "unspecified" | "disallowed";
|
|
442
|
+
submit: "approval_required" | "allowed" | "unspecified" | "disallowed";
|
|
443
|
+
publish: "approval_required" | "allowed" | "unspecified" | "disallowed";
|
|
444
|
+
};
|
|
445
|
+
workspace: {
|
|
446
|
+
path: string;
|
|
447
|
+
source: "context" | "user";
|
|
448
|
+
confidence: "low" | "high" | "medium";
|
|
449
|
+
} | null;
|
|
450
|
+
budget: {
|
|
451
|
+
max_trials: number | null;
|
|
452
|
+
max_wall_clock_minutes: number | null;
|
|
453
|
+
resident_policy: "unknown" | "until_deadline" | "best_effort";
|
|
454
|
+
};
|
|
455
|
+
objective: string;
|
|
456
|
+
profile: "generic" | "kaggle";
|
|
457
|
+
source_text: string;
|
|
458
|
+
execution_target: {
|
|
459
|
+
confidence: "low" | "high" | "medium";
|
|
460
|
+
kind: "local" | "remote" | "daemon";
|
|
461
|
+
remote_host: string | null;
|
|
462
|
+
};
|
|
463
|
+
progress_contract: {
|
|
464
|
+
confidence: "low" | "high" | "medium";
|
|
465
|
+
threshold: number | null;
|
|
466
|
+
dimension: string | null;
|
|
467
|
+
kind: "unknown" | "metric_target" | "rank_percentile" | "deadline_only" | "open_ended";
|
|
468
|
+
semantics: string;
|
|
469
|
+
};
|
|
470
|
+
artifact_contract: {
|
|
471
|
+
expected_artifacts: string[];
|
|
472
|
+
discovery_globs: string[];
|
|
473
|
+
primary_outputs: string[];
|
|
474
|
+
};
|
|
475
|
+
risk_flags: string[];
|
|
476
|
+
missing_fields: {
|
|
477
|
+
question: string;
|
|
478
|
+
severity: "required" | "confirmation";
|
|
479
|
+
field: string;
|
|
480
|
+
}[];
|
|
481
|
+
links: {
|
|
482
|
+
goal_id: string | null;
|
|
483
|
+
conversation_id: string | null;
|
|
484
|
+
runtime_session_id: string | null;
|
|
485
|
+
};
|
|
486
|
+
}>;
|
|
487
|
+
export type RunSpec = z.infer<typeof RunSpecSchema>;
|
|
488
|
+
export interface RunSpecDerivationContext {
|
|
489
|
+
cwd?: string;
|
|
490
|
+
conversationId?: string | null;
|
|
491
|
+
now?: Date;
|
|
492
|
+
timezone?: string;
|
|
493
|
+
llmClient?: Pick<ILLMClient, "sendMessage" | "parseJSON">;
|
|
494
|
+
}
|
|
495
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/runtime/run-spec/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAE/D,eAAO,MAAM,oBAAoB,kCAAgC,CAAC;AAClE,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE,eAAO,MAAM,eAAe,aAE3B,CAAC;AACF,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAExD,eAAO,MAAM,4BAA4B,gDAA8C,CAAC;AACxF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAElF,eAAO,MAAM,uBAAuB,sCAAoC,CAAC;AACzE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAExE,eAAO,M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