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,485 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { type RuntimeStorePaths } from "./runtime-paths.js";
|
|
3
|
+
export declare const RuntimePostmortemScopeSchema: z.ZodEffects<z.ZodObject<{
|
|
4
|
+
goal_id: z.ZodOptional<z.ZodString>;
|
|
5
|
+
run_id: z.ZodOptional<z.ZodString>;
|
|
6
|
+
}, "strict", z.ZodTypeAny, {
|
|
7
|
+
goal_id?: string | undefined;
|
|
8
|
+
run_id?: string | undefined;
|
|
9
|
+
}, {
|
|
10
|
+
goal_id?: string | undefined;
|
|
11
|
+
run_id?: string | undefined;
|
|
12
|
+
}>, {
|
|
13
|
+
goal_id?: string | undefined;
|
|
14
|
+
run_id?: string | undefined;
|
|
15
|
+
}, {
|
|
16
|
+
goal_id?: string | undefined;
|
|
17
|
+
run_id?: string | undefined;
|
|
18
|
+
}>;
|
|
19
|
+
export type RuntimePostmortemScope = z.infer<typeof RuntimePostmortemScopeSchema>;
|
|
20
|
+
export declare const RuntimePostmortemEvidenceRefSchema: z.ZodObject<{
|
|
21
|
+
kind: z.ZodString;
|
|
22
|
+
ref: z.ZodString;
|
|
23
|
+
observed_at: z.ZodOptional<z.ZodString>;
|
|
24
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
25
|
+
}, "strict", z.ZodTypeAny, {
|
|
26
|
+
kind: string;
|
|
27
|
+
ref: string;
|
|
28
|
+
observed_at?: string | undefined;
|
|
29
|
+
summary?: string | undefined;
|
|
30
|
+
}, {
|
|
31
|
+
kind: string;
|
|
32
|
+
ref: string;
|
|
33
|
+
observed_at?: string | undefined;
|
|
34
|
+
summary?: string | undefined;
|
|
35
|
+
}>;
|
|
36
|
+
export type RuntimePostmortemEvidenceRef = z.infer<typeof RuntimePostmortemEvidenceRefSchema>;
|
|
37
|
+
export declare const RuntimePostmortemReportSchema: z.ZodObject<{
|
|
38
|
+
schema_version: z.ZodLiteral<"runtime-postmortem-v1">;
|
|
39
|
+
postmortem_id: z.ZodString;
|
|
40
|
+
generated_at: z.ZodString;
|
|
41
|
+
scope: z.ZodEffects<z.ZodObject<{
|
|
42
|
+
goal_id: z.ZodOptional<z.ZodString>;
|
|
43
|
+
run_id: z.ZodOptional<z.ZodString>;
|
|
44
|
+
}, "strict", z.ZodTypeAny, {
|
|
45
|
+
goal_id?: string | undefined;
|
|
46
|
+
run_id?: string | undefined;
|
|
47
|
+
}, {
|
|
48
|
+
goal_id?: string | undefined;
|
|
49
|
+
run_id?: string | undefined;
|
|
50
|
+
}>, {
|
|
51
|
+
goal_id?: string | undefined;
|
|
52
|
+
run_id?: string | undefined;
|
|
53
|
+
}, {
|
|
54
|
+
goal_id?: string | undefined;
|
|
55
|
+
run_id?: string | undefined;
|
|
56
|
+
}>;
|
|
57
|
+
final_status: z.ZodString;
|
|
58
|
+
trigger: z.ZodEnum<["completion", "pause", "finalization", "operator_request"]>;
|
|
59
|
+
artifact_paths: z.ZodObject<{
|
|
60
|
+
json_path: z.ZodString;
|
|
61
|
+
markdown_path: z.ZodString;
|
|
62
|
+
state_relative_json_path: z.ZodString;
|
|
63
|
+
state_relative_markdown_path: z.ZodString;
|
|
64
|
+
}, "strict", z.ZodTypeAny, {
|
|
65
|
+
json_path: string;
|
|
66
|
+
markdown_path: string;
|
|
67
|
+
state_relative_json_path: string;
|
|
68
|
+
state_relative_markdown_path: string;
|
|
69
|
+
}, {
|
|
70
|
+
json_path: string;
|
|
71
|
+
markdown_path: string;
|
|
72
|
+
state_relative_json_path: string;
|
|
73
|
+
state_relative_markdown_path: string;
|
|
74
|
+
}>;
|
|
75
|
+
timeline: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
76
|
+
occurred_at: z.ZodString;
|
|
77
|
+
kind: z.ZodString;
|
|
78
|
+
summary: z.ZodString;
|
|
79
|
+
evidence_refs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
80
|
+
kind: z.ZodString;
|
|
81
|
+
ref: z.ZodString;
|
|
82
|
+
observed_at: z.ZodOptional<z.ZodString>;
|
|
83
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
84
|
+
}, "strict", z.ZodTypeAny, {
|
|
85
|
+
kind: string;
|
|
86
|
+
ref: string;
|
|
87
|
+
observed_at?: string | undefined;
|
|
88
|
+
summary?: string | undefined;
|
|
89
|
+
}, {
|
|
90
|
+
kind: string;
|
|
91
|
+
ref: string;
|
|
92
|
+
observed_at?: string | undefined;
|
|
93
|
+
summary?: string | undefined;
|
|
94
|
+
}>, "many">>;
|
|
95
|
+
}, "strict", z.ZodTypeAny, {
|
|
96
|
+
kind: string;
|
|
97
|
+
summary: string;
|
|
98
|
+
occurred_at: string;
|
|
99
|
+
evidence_refs: {
|
|
100
|
+
kind: string;
|
|
101
|
+
ref: string;
|
|
102
|
+
observed_at?: string | undefined;
|
|
103
|
+
summary?: string | undefined;
|
|
104
|
+
}[];
|
|
105
|
+
}, {
|
|
106
|
+
kind: string;
|
|
107
|
+
summary: string;
|
|
108
|
+
occurred_at: string;
|
|
109
|
+
evidence_refs?: {
|
|
110
|
+
kind: string;
|
|
111
|
+
ref: string;
|
|
112
|
+
observed_at?: string | undefined;
|
|
113
|
+
summary?: string | undefined;
|
|
114
|
+
}[] | undefined;
|
|
115
|
+
}>, "many">>;
|
|
116
|
+
metric_timeline: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
117
|
+
metric_key: z.ZodString;
|
|
118
|
+
direction: z.ZodEnum<["maximize", "minimize"]>;
|
|
119
|
+
trend: z.ZodString;
|
|
120
|
+
latest_value: z.ZodNumber;
|
|
121
|
+
best_value: z.ZodNumber;
|
|
122
|
+
observation_count: z.ZodNumber;
|
|
123
|
+
source_refs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
124
|
+
kind: z.ZodString;
|
|
125
|
+
ref: z.ZodString;
|
|
126
|
+
observed_at: z.ZodOptional<z.ZodString>;
|
|
127
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
128
|
+
}, "strict", z.ZodTypeAny, {
|
|
129
|
+
kind: string;
|
|
130
|
+
ref: string;
|
|
131
|
+
observed_at?: string | undefined;
|
|
132
|
+
summary?: string | undefined;
|
|
133
|
+
}, {
|
|
134
|
+
kind: string;
|
|
135
|
+
ref: string;
|
|
136
|
+
observed_at?: string | undefined;
|
|
137
|
+
summary?: string | undefined;
|
|
138
|
+
}>, "many">>;
|
|
139
|
+
summary: z.ZodString;
|
|
140
|
+
}, "strict", z.ZodTypeAny, {
|
|
141
|
+
direction: "maximize" | "minimize";
|
|
142
|
+
summary: string;
|
|
143
|
+
trend: string;
|
|
144
|
+
observation_count: number;
|
|
145
|
+
source_refs: {
|
|
146
|
+
kind: string;
|
|
147
|
+
ref: string;
|
|
148
|
+
observed_at?: string | undefined;
|
|
149
|
+
summary?: string | undefined;
|
|
150
|
+
}[];
|
|
151
|
+
metric_key: string;
|
|
152
|
+
latest_value: number;
|
|
153
|
+
best_value: number;
|
|
154
|
+
}, {
|
|
155
|
+
direction: "maximize" | "minimize";
|
|
156
|
+
summary: string;
|
|
157
|
+
trend: string;
|
|
158
|
+
observation_count: number;
|
|
159
|
+
metric_key: string;
|
|
160
|
+
latest_value: number;
|
|
161
|
+
best_value: number;
|
|
162
|
+
source_refs?: {
|
|
163
|
+
kind: string;
|
|
164
|
+
ref: string;
|
|
165
|
+
observed_at?: string | undefined;
|
|
166
|
+
summary?: string | undefined;
|
|
167
|
+
}[] | undefined;
|
|
168
|
+
}>, "many">>;
|
|
169
|
+
candidate_decisions: z.ZodObject<{
|
|
170
|
+
lineages: z.ZodDefault<z.ZodArray<z.ZodUnknown, "many">>;
|
|
171
|
+
selection_summary: z.ZodUnknown;
|
|
172
|
+
recommended_portfolio: z.ZodDefault<z.ZodArray<z.ZodUnknown, "many">>;
|
|
173
|
+
near_misses: z.ZodDefault<z.ZodArray<z.ZodUnknown, "many">>;
|
|
174
|
+
failed_lineages: z.ZodDefault<z.ZodArray<z.ZodUnknown, "many">>;
|
|
175
|
+
}, "strict", z.ZodTypeAny, {
|
|
176
|
+
lineages: unknown[];
|
|
177
|
+
recommended_portfolio: unknown[];
|
|
178
|
+
near_misses: unknown[];
|
|
179
|
+
failed_lineages: unknown[];
|
|
180
|
+
selection_summary?: unknown;
|
|
181
|
+
}, {
|
|
182
|
+
lineages?: unknown[] | undefined;
|
|
183
|
+
selection_summary?: unknown;
|
|
184
|
+
recommended_portfolio?: unknown[] | undefined;
|
|
185
|
+
near_misses?: unknown[] | undefined;
|
|
186
|
+
failed_lineages?: unknown[] | undefined;
|
|
187
|
+
}>;
|
|
188
|
+
final_outputs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
189
|
+
label: z.ZodString;
|
|
190
|
+
path: z.ZodOptional<z.ZodString>;
|
|
191
|
+
state_relative_path: z.ZodOptional<z.ZodString>;
|
|
192
|
+
url: z.ZodOptional<z.ZodString>;
|
|
193
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
194
|
+
retention_class: z.ZodOptional<z.ZodString>;
|
|
195
|
+
evidence_entry_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
196
|
+
manifest_id: z.ZodOptional<z.ZodString>;
|
|
197
|
+
sha256: z.ZodOptional<z.ZodString>;
|
|
198
|
+
observed_at: z.ZodOptional<z.ZodString>;
|
|
199
|
+
}, "strict", z.ZodTypeAny, {
|
|
200
|
+
label: string;
|
|
201
|
+
evidence_entry_ids: string[];
|
|
202
|
+
path?: string | undefined;
|
|
203
|
+
kind?: string | undefined;
|
|
204
|
+
observed_at?: string | undefined;
|
|
205
|
+
url?: string | undefined;
|
|
206
|
+
sha256?: string | undefined;
|
|
207
|
+
state_relative_path?: string | undefined;
|
|
208
|
+
retention_class?: string | undefined;
|
|
209
|
+
manifest_id?: string | undefined;
|
|
210
|
+
}, {
|
|
211
|
+
label: string;
|
|
212
|
+
path?: string | undefined;
|
|
213
|
+
kind?: string | undefined;
|
|
214
|
+
observed_at?: string | undefined;
|
|
215
|
+
url?: string | undefined;
|
|
216
|
+
sha256?: string | undefined;
|
|
217
|
+
state_relative_path?: string | undefined;
|
|
218
|
+
retention_class?: string | undefined;
|
|
219
|
+
manifest_id?: string | undefined;
|
|
220
|
+
evidence_entry_ids?: string[] | undefined;
|
|
221
|
+
}>, "many">>;
|
|
222
|
+
evaluator_gaps: z.ZodDefault<z.ZodArray<z.ZodUnknown, "many">>;
|
|
223
|
+
handoffs: z.ZodDefault<z.ZodArray<z.ZodUnknown, "many">>;
|
|
224
|
+
manifests: z.ZodDefault<z.ZodArray<z.ZodUnknown, "many">>;
|
|
225
|
+
budgets: z.ZodDefault<z.ZodArray<z.ZodUnknown, "many">>;
|
|
226
|
+
experiment_queues: z.ZodDefault<z.ZodArray<z.ZodUnknown, "many">>;
|
|
227
|
+
follow_up_actions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
228
|
+
title: z.ZodString;
|
|
229
|
+
rationale: z.ZodString;
|
|
230
|
+
evidence_refs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
231
|
+
kind: z.ZodString;
|
|
232
|
+
ref: z.ZodString;
|
|
233
|
+
observed_at: z.ZodOptional<z.ZodString>;
|
|
234
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
235
|
+
}, "strict", z.ZodTypeAny, {
|
|
236
|
+
kind: string;
|
|
237
|
+
ref: string;
|
|
238
|
+
observed_at?: string | undefined;
|
|
239
|
+
summary?: string | undefined;
|
|
240
|
+
}, {
|
|
241
|
+
kind: string;
|
|
242
|
+
ref: string;
|
|
243
|
+
observed_at?: string | undefined;
|
|
244
|
+
summary?: string | undefined;
|
|
245
|
+
}>, "many">>;
|
|
246
|
+
approval_required: z.ZodDefault<z.ZodBoolean>;
|
|
247
|
+
auto_create: z.ZodDefault<z.ZodLiteral<false>>;
|
|
248
|
+
}, "strict", z.ZodTypeAny, {
|
|
249
|
+
approval_required: boolean;
|
|
250
|
+
title: string;
|
|
251
|
+
rationale: string;
|
|
252
|
+
evidence_refs: {
|
|
253
|
+
kind: string;
|
|
254
|
+
ref: string;
|
|
255
|
+
observed_at?: string | undefined;
|
|
256
|
+
summary?: string | undefined;
|
|
257
|
+
}[];
|
|
258
|
+
auto_create: false;
|
|
259
|
+
}, {
|
|
260
|
+
title: string;
|
|
261
|
+
rationale: string;
|
|
262
|
+
approval_required?: boolean | undefined;
|
|
263
|
+
evidence_refs?: {
|
|
264
|
+
kind: string;
|
|
265
|
+
ref: string;
|
|
266
|
+
observed_at?: string | undefined;
|
|
267
|
+
summary?: string | undefined;
|
|
268
|
+
}[] | undefined;
|
|
269
|
+
auto_create?: false | undefined;
|
|
270
|
+
}>, "many">>;
|
|
271
|
+
evidence_refs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
272
|
+
kind: z.ZodString;
|
|
273
|
+
ref: z.ZodString;
|
|
274
|
+
observed_at: z.ZodOptional<z.ZodString>;
|
|
275
|
+
summary: z.ZodOptional<z.ZodString>;
|
|
276
|
+
}, "strict", z.ZodTypeAny, {
|
|
277
|
+
kind: string;
|
|
278
|
+
ref: string;
|
|
279
|
+
observed_at?: string | undefined;
|
|
280
|
+
summary?: string | undefined;
|
|
281
|
+
}, {
|
|
282
|
+
kind: string;
|
|
283
|
+
ref: string;
|
|
284
|
+
observed_at?: string | undefined;
|
|
285
|
+
summary?: string | undefined;
|
|
286
|
+
}>, "many">>;
|
|
287
|
+
warnings: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
288
|
+
}, "strict", z.ZodTypeAny, {
|
|
289
|
+
trigger: "finalization" | "pause" | "completion" | "operator_request";
|
|
290
|
+
generated_at: string;
|
|
291
|
+
schema_version: "runtime-postmortem-v1";
|
|
292
|
+
budgets: unknown[];
|
|
293
|
+
scope: {
|
|
294
|
+
goal_id?: string | undefined;
|
|
295
|
+
run_id?: string | undefined;
|
|
296
|
+
};
|
|
297
|
+
evidence_refs: {
|
|
298
|
+
kind: string;
|
|
299
|
+
ref: string;
|
|
300
|
+
observed_at?: string | undefined;
|
|
301
|
+
summary?: string | undefined;
|
|
302
|
+
}[];
|
|
303
|
+
warnings: string[];
|
|
304
|
+
manifests: unknown[];
|
|
305
|
+
timeline: {
|
|
306
|
+
kind: string;
|
|
307
|
+
summary: string;
|
|
308
|
+
occurred_at: string;
|
|
309
|
+
evidence_refs: {
|
|
310
|
+
kind: string;
|
|
311
|
+
ref: string;
|
|
312
|
+
observed_at?: string | undefined;
|
|
313
|
+
summary?: string | undefined;
|
|
314
|
+
}[];
|
|
315
|
+
}[];
|
|
316
|
+
postmortem_id: string;
|
|
317
|
+
final_status: string;
|
|
318
|
+
artifact_paths: {
|
|
319
|
+
json_path: string;
|
|
320
|
+
markdown_path: string;
|
|
321
|
+
state_relative_json_path: string;
|
|
322
|
+
state_relative_markdown_path: string;
|
|
323
|
+
};
|
|
324
|
+
metric_timeline: {
|
|
325
|
+
direction: "maximize" | "minimize";
|
|
326
|
+
summary: string;
|
|
327
|
+
trend: string;
|
|
328
|
+
observation_count: number;
|
|
329
|
+
source_refs: {
|
|
330
|
+
kind: string;
|
|
331
|
+
ref: string;
|
|
332
|
+
observed_at?: string | undefined;
|
|
333
|
+
summary?: string | undefined;
|
|
334
|
+
}[];
|
|
335
|
+
metric_key: string;
|
|
336
|
+
latest_value: number;
|
|
337
|
+
best_value: number;
|
|
338
|
+
}[];
|
|
339
|
+
candidate_decisions: {
|
|
340
|
+
lineages: unknown[];
|
|
341
|
+
recommended_portfolio: unknown[];
|
|
342
|
+
near_misses: unknown[];
|
|
343
|
+
failed_lineages: unknown[];
|
|
344
|
+
selection_summary?: unknown;
|
|
345
|
+
};
|
|
346
|
+
final_outputs: {
|
|
347
|
+
label: string;
|
|
348
|
+
evidence_entry_ids: string[];
|
|
349
|
+
path?: string | undefined;
|
|
350
|
+
kind?: string | undefined;
|
|
351
|
+
observed_at?: string | undefined;
|
|
352
|
+
url?: string | undefined;
|
|
353
|
+
sha256?: string | undefined;
|
|
354
|
+
state_relative_path?: string | undefined;
|
|
355
|
+
retention_class?: string | undefined;
|
|
356
|
+
manifest_id?: string | undefined;
|
|
357
|
+
}[];
|
|
358
|
+
evaluator_gaps: unknown[];
|
|
359
|
+
handoffs: unknown[];
|
|
360
|
+
experiment_queues: unknown[];
|
|
361
|
+
follow_up_actions: {
|
|
362
|
+
approval_required: boolean;
|
|
363
|
+
title: string;
|
|
364
|
+
rationale: string;
|
|
365
|
+
evidence_refs: {
|
|
366
|
+
kind: string;
|
|
367
|
+
ref: string;
|
|
368
|
+
observed_at?: string | undefined;
|
|
369
|
+
summary?: string | undefined;
|
|
370
|
+
}[];
|
|
371
|
+
auto_create: false;
|
|
372
|
+
}[];
|
|
373
|
+
}, {
|
|
374
|
+
trigger: "finalization" | "pause" | "completion" | "operator_request";
|
|
375
|
+
generated_at: string;
|
|
376
|
+
schema_version: "runtime-postmortem-v1";
|
|
377
|
+
scope: {
|
|
378
|
+
goal_id?: string | undefined;
|
|
379
|
+
run_id?: string | undefined;
|
|
380
|
+
};
|
|
381
|
+
postmortem_id: string;
|
|
382
|
+
final_status: string;
|
|
383
|
+
artifact_paths: {
|
|
384
|
+
json_path: string;
|
|
385
|
+
markdown_path: string;
|
|
386
|
+
state_relative_json_path: string;
|
|
387
|
+
state_relative_markdown_path: string;
|
|
388
|
+
};
|
|
389
|
+
candidate_decisions: {
|
|
390
|
+
lineages?: unknown[] | undefined;
|
|
391
|
+
selection_summary?: unknown;
|
|
392
|
+
recommended_portfolio?: unknown[] | undefined;
|
|
393
|
+
near_misses?: unknown[] | undefined;
|
|
394
|
+
failed_lineages?: unknown[] | undefined;
|
|
395
|
+
};
|
|
396
|
+
budgets?: unknown[] | undefined;
|
|
397
|
+
evidence_refs?: {
|
|
398
|
+
kind: string;
|
|
399
|
+
ref: string;
|
|
400
|
+
observed_at?: string | undefined;
|
|
401
|
+
summary?: string | undefined;
|
|
402
|
+
}[] | undefined;
|
|
403
|
+
warnings?: string[] | undefined;
|
|
404
|
+
manifests?: unknown[] | undefined;
|
|
405
|
+
timeline?: {
|
|
406
|
+
kind: string;
|
|
407
|
+
summary: string;
|
|
408
|
+
occurred_at: string;
|
|
409
|
+
evidence_refs?: {
|
|
410
|
+
kind: string;
|
|
411
|
+
ref: string;
|
|
412
|
+
observed_at?: string | undefined;
|
|
413
|
+
summary?: string | undefined;
|
|
414
|
+
}[] | undefined;
|
|
415
|
+
}[] | undefined;
|
|
416
|
+
metric_timeline?: {
|
|
417
|
+
direction: "maximize" | "minimize";
|
|
418
|
+
summary: string;
|
|
419
|
+
trend: string;
|
|
420
|
+
observation_count: number;
|
|
421
|
+
metric_key: string;
|
|
422
|
+
latest_value: number;
|
|
423
|
+
best_value: number;
|
|
424
|
+
source_refs?: {
|
|
425
|
+
kind: string;
|
|
426
|
+
ref: string;
|
|
427
|
+
observed_at?: string | undefined;
|
|
428
|
+
summary?: string | undefined;
|
|
429
|
+
}[] | undefined;
|
|
430
|
+
}[] | undefined;
|
|
431
|
+
final_outputs?: {
|
|
432
|
+
label: string;
|
|
433
|
+
path?: string | undefined;
|
|
434
|
+
kind?: string | undefined;
|
|
435
|
+
observed_at?: string | undefined;
|
|
436
|
+
url?: string | undefined;
|
|
437
|
+
sha256?: string | undefined;
|
|
438
|
+
state_relative_path?: string | undefined;
|
|
439
|
+
retention_class?: string | undefined;
|
|
440
|
+
manifest_id?: string | undefined;
|
|
441
|
+
evidence_entry_ids?: string[] | undefined;
|
|
442
|
+
}[] | undefined;
|
|
443
|
+
evaluator_gaps?: unknown[] | undefined;
|
|
444
|
+
handoffs?: unknown[] | undefined;
|
|
445
|
+
experiment_queues?: unknown[] | undefined;
|
|
446
|
+
follow_up_actions?: {
|
|
447
|
+
title: string;
|
|
448
|
+
rationale: string;
|
|
449
|
+
approval_required?: boolean | undefined;
|
|
450
|
+
evidence_refs?: {
|
|
451
|
+
kind: string;
|
|
452
|
+
ref: string;
|
|
453
|
+
observed_at?: string | undefined;
|
|
454
|
+
summary?: string | undefined;
|
|
455
|
+
}[] | undefined;
|
|
456
|
+
auto_create?: false | undefined;
|
|
457
|
+
}[] | undefined;
|
|
458
|
+
}>;
|
|
459
|
+
export type RuntimePostmortemReport = z.infer<typeof RuntimePostmortemReportSchema>;
|
|
460
|
+
export interface RuntimePostmortemGenerateInput {
|
|
461
|
+
goalId?: string;
|
|
462
|
+
runId?: string;
|
|
463
|
+
finalStatus?: string;
|
|
464
|
+
trigger?: RuntimePostmortemReport["trigger"];
|
|
465
|
+
}
|
|
466
|
+
export declare class RuntimePostmortemReportStore {
|
|
467
|
+
private readonly paths;
|
|
468
|
+
constructor(runtimeRootOrPaths?: string | RuntimeStorePaths);
|
|
469
|
+
generate(input: RuntimePostmortemGenerateInput): Promise<RuntimePostmortemReport>;
|
|
470
|
+
load(postmortemId: string): Promise<RuntimePostmortemReport | null>;
|
|
471
|
+
latestFor(input: {
|
|
472
|
+
goalId?: string;
|
|
473
|
+
runId?: string;
|
|
474
|
+
}): Promise<RuntimePostmortemReport | null>;
|
|
475
|
+
markdownFor(report: RuntimePostmortemReport): string;
|
|
476
|
+
private readEvidence;
|
|
477
|
+
private readManifests;
|
|
478
|
+
private readHandoffs;
|
|
479
|
+
private readBudgets;
|
|
480
|
+
private readExperimentQueues;
|
|
481
|
+
private reportPaths;
|
|
482
|
+
private writeReport;
|
|
483
|
+
private appendEvidenceEntry;
|
|
484
|
+
}
|
|
485
|
+
//# sourceMappingURL=postmortem-report.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"postmortem-report.d.ts","sourceRoot":"","sources":["../../../src/runtime/store/postmortem-report.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAIL,KAAK,iBAAiB,EACvB,MAAM,oBAAoB,CAAC;AAe5B,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;EAKvC,CAAC;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAElF,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;EAKpC,CAAC;AACZ,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAE9F,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8D/B,CAAC;AACZ,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEpF,MAAM,WAAW,8BAA8B;IAC7C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,uBAAuB,CAAC,SAAS,CAAC,CAAC;CAC9C;AAED,qBAAa,4BAA4B;IACvC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAoB;gBAE9B,kBAAkB,CAAC,EAAE,MAAM,GAAG,iBAAiB;IAMrD,QAAQ,CAAC,KAAK,EAAE,8BAA8B,GAAG,OAAO,CAAC,uBAAuB,CAAC;IAwDjF,IAAI,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,uBAAuB,GAAG,IAAI,CAAC;IAUnE,SAAS,CAAC,KAAK,EAAE;QAAE,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,uBAAuB,GAAG,IAAI,CAAC;IAQpG,WAAW,CAAC,MAAM,EAAE,uBAAuB,GAAG,MAAM;YAItC,YAAY;YAkBZ,aAAa;YAuBb,YAAY;YAMZ,WAAW;YAMX,oBAAoB;IAMlC,OAAO,CAAC,WAAW;YAUL,WAAW;YAQX,mBAAmB;CAmClC"}
|