pulseed 0.5.3 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -9
- package/dist/adapters/datasources/artifact-metric-datasource.d.ts +18 -0
- package/dist/adapters/datasources/artifact-metric-datasource.d.ts.map +1 -0
- package/dist/adapters/datasources/artifact-metric-datasource.js +592 -0
- package/dist/adapters/datasources/artifact-metric-datasource.js.map +1 -0
- package/dist/adapters/types/mcp.d.ts +6 -6
- package/dist/base/state/state-manager-goal-state.d.ts +40 -0
- package/dist/base/state/state-manager-goal-state.d.ts.map +1 -0
- package/dist/base/state/state-manager-goal-state.js +235 -0
- package/dist/base/state/state-manager-goal-state.js.map +1 -0
- package/dist/base/state/state-manager.d.ts +0 -5
- package/dist/base/state/state-manager.d.ts.map +1 -1
- package/dist/base/state/state-manager.js +27 -273
- package/dist/base/state/state-manager.js.map +1 -1
- package/dist/base/types/goal-activation.d.ts +37 -0
- package/dist/base/types/goal-activation.d.ts.map +1 -0
- package/dist/base/types/goal-activation.js +13 -0
- package/dist/base/types/goal-activation.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/interface/chat/chat-history.d.ts +129 -0
- package/dist/interface/chat/chat-history.d.ts.map +1 -1
- package/dist/interface/chat/chat-history.js +135 -0
- package/dist/interface/chat/chat-history.js.map +1 -1
- package/dist/interface/chat/chat-runner-command-helpers.d.ts +50 -0
- package/dist/interface/chat/chat-runner-command-helpers.d.ts.map +1 -0
- package/dist/interface/chat/chat-runner-command-helpers.js +189 -0
- package/dist/interface/chat/chat-runner-command-helpers.js.map +1 -0
- package/dist/interface/chat/chat-runner-commands.d.ts +82 -0
- package/dist/interface/chat/chat-runner-commands.d.ts.map +1 -0
- package/dist/interface/chat/chat-runner-commands.js +906 -0
- package/dist/interface/chat/chat-runner-commands.js.map +1 -0
- package/dist/interface/chat/chat-runner-event-bridge.d.ts +60 -0
- package/dist/interface/chat/chat-runner-event-bridge.d.ts.map +1 -0
- package/dist/interface/chat/chat-runner-event-bridge.js +377 -0
- package/dist/interface/chat/chat-runner-event-bridge.js.map +1 -0
- package/dist/interface/chat/chat-runner-routes.d.ts +67 -0
- package/dist/interface/chat/chat-runner-routes.d.ts.map +1 -0
- package/dist/interface/chat/chat-runner-routes.js +610 -0
- package/dist/interface/chat/chat-runner-routes.js.map +1 -0
- package/dist/interface/chat/chat-runner-runtime.d.ts +37 -0
- package/dist/interface/chat/chat-runner-runtime.d.ts.map +1 -0
- package/dist/interface/chat/chat-runner-runtime.js +236 -0
- package/dist/interface/chat/chat-runner-runtime.js.map +1 -0
- package/dist/interface/chat/chat-runner-state.d.ts +20 -0
- package/dist/interface/chat/chat-runner-state.d.ts.map +1 -0
- package/dist/interface/chat/chat-runner-state.js +157 -0
- package/dist/interface/chat/chat-runner-state.js.map +1 -0
- package/dist/interface/chat/chat-runner-support.d.ts +39 -0
- package/dist/interface/chat/chat-runner-support.d.ts.map +1 -0
- package/dist/interface/chat/chat-runner-support.js +170 -0
- package/dist/interface/chat/chat-runner-support.js.map +1 -0
- package/dist/interface/chat/chat-runner.d.ts +10 -153
- package/dist/interface/chat/chat-runner.d.ts.map +1 -1
- package/dist/interface/chat/chat-runner.js +330 -2643
- package/dist/interface/chat/chat-runner.js.map +1 -1
- package/dist/interface/chat/chat-session-store.d.ts +32 -0
- package/dist/interface/chat/chat-session-store.d.ts.map +1 -1
- package/dist/interface/chat/chat-session-store.js +100 -10
- package/dist/interface/chat/chat-session-store.js.map +1 -1
- package/dist/interface/chat/cross-platform-session.d.ts.map +1 -1
- package/dist/interface/chat/cross-platform-session.js +15 -6
- package/dist/interface/chat/cross-platform-session.js.map +1 -1
- package/dist/interface/chat/event-subscriber.d.ts.map +1 -1
- package/dist/interface/chat/event-subscriber.js +61 -0
- package/dist/interface/chat/event-subscriber.js.map +1 -1
- package/dist/interface/chat/failure-recovery.d.ts +43 -1
- package/dist/interface/chat/failure-recovery.d.ts.map +1 -1
- package/dist/interface/chat/failure-recovery.js +259 -89
- package/dist/interface/chat/failure-recovery.js.map +1 -1
- package/dist/interface/chat/ingress-router.d.ts +2 -26
- package/dist/interface/chat/ingress-router.d.ts.map +1 -1
- package/dist/interface/chat/ingress-router.js +14 -88
- package/dist/interface/chat/ingress-router.js.map +1 -1
- package/dist/interface/chat/tend-command.d.ts.map +1 -1
- package/dist/interface/chat/tend-command.js +3 -0
- package/dist/interface/chat/tend-command.js.map +1 -1
- package/dist/interface/cli/cli-command-registry.d.ts.map +1 -1
- package/dist/interface/cli/cli-command-registry.js +19 -3
- package/dist/interface/cli/cli-command-registry.js.map +1 -1
- package/dist/interface/cli/commands/daemon-shared.d.ts +33 -0
- package/dist/interface/cli/commands/daemon-shared.d.ts.map +1 -0
- package/dist/interface/cli/commands/daemon-shared.js +152 -0
- package/dist/interface/cli/commands/daemon-shared.js.map +1 -0
- package/dist/interface/cli/commands/daemon.d.ts +2 -2
- package/dist/interface/cli/commands/daemon.d.ts.map +1 -1
- package/dist/interface/cli/commands/daemon.js +62 -127
- package/dist/interface/cli/commands/daemon.js.map +1 -1
- package/dist/interface/cli/commands/goal-read.d.ts.map +1 -1
- package/dist/interface/cli/commands/goal-read.js +10 -3
- package/dist/interface/cli/commands/goal-read.js.map +1 -1
- package/dist/interface/cli/commands/notify.d.ts.map +1 -1
- package/dist/interface/cli/commands/notify.js +7 -1
- package/dist/interface/cli/commands/notify.js.map +1 -1
- package/dist/interface/cli/commands/run.d.ts.map +1 -1
- package/dist/interface/cli/commands/run.js +29 -0
- package/dist/interface/cli/commands/run.js.map +1 -1
- package/dist/interface/cli/commands/runtime.d.ts +1 -1
- package/dist/interface/cli/commands/runtime.d.ts.map +1 -1
- package/dist/interface/cli/commands/runtime.js +407 -2
- package/dist/interface/cli/commands/runtime.js.map +1 -1
- package/dist/interface/cli/commands/schedule/history.d.ts.map +1 -1
- package/dist/interface/cli/commands/schedule/history.js +5 -1
- package/dist/interface/cli/commands/schedule/history.js.map +1 -1
- package/dist/interface/cli/commands/schedule.js +34 -4
- package/dist/interface/cli/commands/schedule.js.map +1 -1
- package/dist/interface/cli/data-source-bootstrap.d.ts.map +1 -1
- package/dist/interface/cli/data-source-bootstrap.js +25 -12
- package/dist/interface/cli/data-source-bootstrap.js.map +1 -1
- package/dist/interface/cli/setup.d.ts.map +1 -1
- package/dist/interface/cli/setup.js +14 -0
- package/dist/interface/cli/setup.js.map +1 -1
- package/dist/interface/cli/utils/loop-runner.d.ts.map +1 -1
- package/dist/interface/cli/utils/loop-runner.js +2 -1
- package/dist/interface/cli/utils/loop-runner.js.map +1 -1
- package/dist/interface/cli/utils.d.ts.map +1 -1
- package/dist/interface/cli/utils.js +8 -1
- package/dist/interface/cli/utils.js.map +1 -1
- package/dist/interface/tui/app.d.ts +4 -1
- package/dist/interface/tui/app.d.ts.map +1 -1
- package/dist/interface/tui/app.js +282 -11
- package/dist/interface/tui/app.js.map +1 -1
- package/dist/interface/tui/chat/suggestions.d.ts.map +1 -1
- package/dist/interface/tui/chat/suggestions.js +118 -4
- package/dist/interface/tui/chat/suggestions.js.map +1 -1
- package/dist/interface/tui/chat-surface.d.ts +2 -0
- package/dist/interface/tui/chat-surface.d.ts.map +1 -1
- package/dist/interface/tui/chat-surface.js +3 -0
- package/dist/interface/tui/chat-surface.js.map +1 -1
- package/dist/interface/tui/dashboard.d.ts +37 -1
- package/dist/interface/tui/dashboard.d.ts.map +1 -1
- package/dist/interface/tui/dashboard.js +264 -1
- package/dist/interface/tui/dashboard.js.map +1 -1
- package/dist/interface/tui/entry-approval.d.ts +8 -0
- package/dist/interface/tui/entry-approval.d.ts.map +1 -0
- package/dist/interface/tui/entry-approval.js +59 -0
- package/dist/interface/tui/entry-approval.js.map +1 -0
- package/dist/interface/tui/entry-daemon.d.ts +12 -0
- package/dist/interface/tui/entry-daemon.d.ts.map +1 -0
- package/dist/interface/tui/entry-daemon.js +74 -0
- package/dist/interface/tui/entry-daemon.js.map +1 -0
- package/dist/interface/tui/entry-deps.d.ts +24 -0
- package/dist/interface/tui/entry-deps.d.ts.map +1 -0
- package/dist/interface/tui/entry-deps.js +427 -0
- package/dist/interface/tui/entry-deps.js.map +1 -0
- package/dist/interface/tui/entry.d.ts +2 -4
- package/dist/interface/tui/entry.d.ts.map +1 -1
- package/dist/interface/tui/entry.js +11 -556
- package/dist/interface/tui/entry.js.map +1 -1
- package/dist/interface/tui/fullscreen-chat-render.d.ts +127 -0
- package/dist/interface/tui/fullscreen-chat-render.d.ts.map +1 -0
- package/dist/interface/tui/fullscreen-chat-render.js +667 -0
- package/dist/interface/tui/fullscreen-chat-render.js.map +1 -0
- package/dist/interface/tui/fullscreen-chat.d.ts +2 -111
- package/dist/interface/tui/fullscreen-chat.d.ts.map +1 -1
- package/dist/interface/tui/fullscreen-chat.js +4 -663
- package/dist/interface/tui/fullscreen-chat.js.map +1 -1
- package/dist/interface/tui/help-overlay.d.ts.map +1 -1
- package/dist/interface/tui/help-overlay.js +1 -1
- package/dist/interface/tui/help-overlay.js.map +1 -1
- package/dist/interface/tui/intent-recognizer.d.ts +8 -3
- package/dist/interface/tui/intent-recognizer.d.ts.map +1 -1
- package/dist/interface/tui/intent-recognizer.js +74 -68
- package/dist/interface/tui/intent-recognizer.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-default-profile.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-default-profile.js +49 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-default-profile.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-router.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-router.js +2 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-router.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-runtime.d.ts +2 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-runtime.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-runtime.js +31 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-runtime.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-turn-context.d.ts +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-turn-context.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-turn-context.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.d.ts +1 -0
- package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.js +36 -2
- package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.d.ts +1 -1
- package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.js +2 -1
- package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/core-loop-control-tools.d.ts +19 -0
- package/dist/orchestrator/execution/agent-loop/core-loop-control-tools.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/core-loop-control-tools.js +165 -14
- package/dist/orchestrator/execution/agent-loop/core-loop-control-tools.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/core-phase-runner.d.ts +1 -1
- package/dist/orchestrator/execution/agent-loop/core-phase-runner.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/core-phase-runner.js +10 -1
- package/dist/orchestrator/execution/agent-loop/core-phase-runner.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/kaggle-training-benchmark.d.ts +2 -0
- package/dist/orchestrator/execution/agent-loop/kaggle-training-benchmark.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/kaggle-training-benchmark.js +4 -0
- package/dist/orchestrator/execution/agent-loop/kaggle-training-benchmark.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-result.d.ts +8 -8
- package/dist/orchestrator/execution/reflection-generator.d.ts +1 -0
- package/dist/orchestrator/execution/reflection-generator.d.ts.map +1 -1
- package/dist/orchestrator/execution/reflection-generator.js +10 -1
- package/dist/orchestrator/execution/reflection-generator.js.map +1 -1
- package/dist/orchestrator/execution/task/task-context-enricher.d.ts +2 -0
- package/dist/orchestrator/execution/task/task-context-enricher.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-context-enricher.js +9 -4
- package/dist/orchestrator/execution/task/task-context-enricher.js.map +1 -1
- package/dist/orchestrator/execution/task/task-execution-helpers-internal.d.ts +5 -0
- package/dist/orchestrator/execution/task/task-execution-helpers-internal.d.ts.map +1 -0
- package/dist/orchestrator/execution/task/task-execution-helpers-internal.js +6 -0
- package/dist/orchestrator/execution/task/task-execution-helpers-internal.js.map +1 -0
- package/dist/orchestrator/execution/task/task-generation.d.ts +3 -1
- package/dist/orchestrator/execution/task/task-generation.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-generation.js +25 -5
- package/dist/orchestrator/execution/task/task-generation.js.map +1 -1
- package/dist/orchestrator/execution/task/task-lifecycle-runner.d.ts +77 -0
- package/dist/orchestrator/execution/task/task-lifecycle-runner.d.ts.map +1 -0
- package/dist/orchestrator/execution/task/task-lifecycle-runner.js +188 -0
- package/dist/orchestrator/execution/task/task-lifecycle-runner.js.map +1 -0
- package/dist/orchestrator/execution/task/task-lifecycle.d.ts +17 -8
- package/dist/orchestrator/execution/task/task-lifecycle.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-lifecycle.js +144 -187
- package/dist/orchestrator/execution/task/task-lifecycle.js.map +1 -1
- package/dist/orchestrator/execution/task/task-prompt-builder.d.ts +2 -1
- package/dist/orchestrator/execution/task/task-prompt-builder.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-prompt-builder.js +4 -2
- package/dist/orchestrator/execution/task/task-prompt-builder.js.map +1 -1
- package/dist/orchestrator/execution/task/task-verifier-internal.d.ts +2 -0
- package/dist/orchestrator/execution/task/task-verifier-internal.d.ts.map +1 -0
- package/dist/orchestrator/execution/task/task-verifier-internal.js +2 -0
- package/dist/orchestrator/execution/task/task-verifier-internal.js.map +1 -0
- package/dist/orchestrator/execution/types/pipeline.d.ts +6 -6
- package/dist/orchestrator/goal/goal-negotiator.d.ts.map +1 -1
- package/dist/orchestrator/goal/goal-negotiator.js +23 -3
- package/dist/orchestrator/goal/goal-negotiator.js.map +1 -1
- package/dist/orchestrator/goal/types/goal.d.ts +282 -0
- package/dist/orchestrator/goal/types/goal.d.ts.map +1 -1
- package/dist/orchestrator/goal/types/goal.js +20 -0
- package/dist/orchestrator/goal/types/goal.js.map +1 -1
- package/dist/orchestrator/loop/core-loop/contracts.d.ts +47 -3
- package/dist/orchestrator/loop/core-loop/contracts.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/contracts.js.map +1 -1
- package/dist/orchestrator/loop/core-loop/decision-engine.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/decision-engine.js +4 -0
- package/dist/orchestrator/loop/core-loop/decision-engine.js.map +1 -1
- package/dist/orchestrator/loop/core-loop/dream-review-checkpoint.d.ts +48 -0
- package/dist/orchestrator/loop/core-loop/dream-review-checkpoint.d.ts.map +1 -0
- package/dist/orchestrator/loop/core-loop/dream-review-checkpoint.js +377 -0
- package/dist/orchestrator/loop/core-loop/dream-review-checkpoint.js.map +1 -0
- package/dist/orchestrator/loop/core-loop/evidence-ledger.js +1 -1
- package/dist/orchestrator/loop/core-loop/evidence-ledger.js.map +1 -1
- package/dist/orchestrator/loop/core-loop/iteration-kernel-knowledge.d.ts +7 -0
- package/dist/orchestrator/loop/core-loop/iteration-kernel-knowledge.d.ts.map +1 -0
- package/dist/orchestrator/loop/core-loop/iteration-kernel-knowledge.js +43 -0
- package/dist/orchestrator/loop/core-loop/iteration-kernel-knowledge.js.map +1 -0
- package/dist/orchestrator/loop/core-loop/iteration-kernel-wait.d.ts +14 -0
- package/dist/orchestrator/loop/core-loop/iteration-kernel-wait.d.ts.map +1 -0
- package/dist/orchestrator/loop/core-loop/iteration-kernel-wait.js +41 -0
- package/dist/orchestrator/loop/core-loop/iteration-kernel-wait.js.map +1 -0
- package/dist/orchestrator/loop/core-loop/iteration-kernel.d.ts +4 -2
- package/dist/orchestrator/loop/core-loop/iteration-kernel.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/iteration-kernel.js +507 -87
- package/dist/orchestrator/loop/core-loop/iteration-kernel.js.map +1 -1
- package/dist/orchestrator/loop/core-loop/phase-policy.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/phase-policy.js +40 -5
- package/dist/orchestrator/loop/core-loop/phase-policy.js.map +1 -1
- package/dist/orchestrator/loop/core-loop/phase-runtime.d.ts +2 -0
- package/dist/orchestrator/loop/core-loop/phase-runtime.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/phase-runtime.js +43 -2
- package/dist/orchestrator/loop/core-loop/phase-runtime.js.map +1 -1
- package/dist/orchestrator/loop/core-loop/phase-specs.d.ts +969 -2
- package/dist/orchestrator/loop/core-loop/phase-specs.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/phase-specs.js +198 -0
- package/dist/orchestrator/loop/core-loop/phase-specs.js.map +1 -1
- package/dist/orchestrator/loop/core-loop/public-research.d.ts +32 -0
- package/dist/orchestrator/loop/core-loop/public-research.d.ts.map +1 -0
- package/dist/orchestrator/loop/core-loop/public-research.js +112 -0
- package/dist/orchestrator/loop/core-loop/public-research.js.map +1 -0
- package/dist/orchestrator/loop/core-loop/task-cycle-stall.d.ts +9 -0
- package/dist/orchestrator/loop/core-loop/task-cycle-stall.d.ts.map +1 -0
- package/dist/orchestrator/loop/core-loop/task-cycle-stall.js +433 -0
- package/dist/orchestrator/loop/core-loop/task-cycle-stall.js.map +1 -0
- package/dist/orchestrator/loop/core-loop/task-cycle-wait.d.ts +11 -0
- package/dist/orchestrator/loop/core-loop/task-cycle-wait.d.ts.map +1 -0
- package/dist/orchestrator/loop/core-loop/task-cycle-wait.js +176 -0
- package/dist/orchestrator/loop/core-loop/task-cycle-wait.js.map +1 -0
- package/dist/orchestrator/loop/core-loop/task-cycle.d.ts +7 -15
- package/dist/orchestrator/loop/core-loop/task-cycle.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/task-cycle.js +17 -444
- package/dist/orchestrator/loop/core-loop/task-cycle.js.map +1 -1
- package/dist/orchestrator/loop/core-loop.d.ts +18 -5
- package/dist/orchestrator/loop/core-loop.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop.js +287 -17
- package/dist/orchestrator/loop/core-loop.js.map +1 -1
- package/dist/orchestrator/loop/loop-report-helper.d.ts.map +1 -1
- package/dist/orchestrator/loop/loop-report-helper.js +4 -0
- package/dist/orchestrator/loop/loop-report-helper.js.map +1 -1
- package/dist/orchestrator/loop/loop-result-types.d.ts +20 -1
- package/dist/orchestrator/loop/loop-result-types.d.ts.map +1 -1
- package/dist/orchestrator/loop/loop-result-types.js.map +1 -1
- package/dist/orchestrator/loop/post-loop-hooks.d.ts +1 -0
- package/dist/orchestrator/loop/post-loop-hooks.d.ts.map +1 -1
- package/dist/orchestrator/loop/post-loop-hooks.js +34 -1
- package/dist/orchestrator/loop/post-loop-hooks.js.map +1 -1
- package/dist/orchestrator/loop/run-policy.d.ts +10 -0
- package/dist/orchestrator/loop/run-policy.d.ts.map +1 -0
- package/dist/orchestrator/loop/run-policy.js +30 -0
- package/dist/orchestrator/loop/run-policy.js.map +1 -0
- package/dist/orchestrator/strategy/divergent-exploration.d.ts +37 -0
- package/dist/orchestrator/strategy/divergent-exploration.d.ts.map +1 -0
- package/dist/orchestrator/strategy/divergent-exploration.js +324 -0
- package/dist/orchestrator/strategy/divergent-exploration.js.map +1 -0
- package/dist/orchestrator/strategy/portfolio-manager.d.ts +3 -2
- package/dist/orchestrator/strategy/portfolio-manager.d.ts.map +1 -1
- package/dist/orchestrator/strategy/portfolio-manager.js +16 -11
- package/dist/orchestrator/strategy/portfolio-manager.js.map +1 -1
- package/dist/orchestrator/strategy/portfolio-rebalance.d.ts +1 -1
- package/dist/orchestrator/strategy/portfolio-rebalance.d.ts.map +1 -1
- package/dist/orchestrator/strategy/portfolio-rebalance.js +31 -9
- package/dist/orchestrator/strategy/portfolio-rebalance.js.map +1 -1
- package/dist/orchestrator/strategy/strategy-helpers.d.ts +108 -0
- package/dist/orchestrator/strategy/strategy-helpers.d.ts.map +1 -1
- package/dist/orchestrator/strategy/strategy-helpers.js +34 -2
- package/dist/orchestrator/strategy/strategy-helpers.js.map +1 -1
- package/dist/orchestrator/strategy/strategy-manager-base.d.ts +31 -2
- package/dist/orchestrator/strategy/strategy-manager-base.d.ts.map +1 -1
- package/dist/orchestrator/strategy/strategy-manager-base.js +93 -12
- package/dist/orchestrator/strategy/strategy-manager-base.js.map +1 -1
- package/dist/orchestrator/strategy/strategy-manager.d.ts +1 -11
- package/dist/orchestrator/strategy/strategy-manager.d.ts.map +1 -1
- package/dist/orchestrator/strategy/strategy-manager.js +78 -19
- package/dist/orchestrator/strategy/strategy-manager.js.map +1 -1
- package/dist/orchestrator/strategy/types/cross-portfolio.d.ts +2 -2
- package/dist/orchestrator/strategy/types/strategy.d.ts +364 -0
- package/dist/orchestrator/strategy/types/strategy.d.ts.map +1 -1
- package/dist/orchestrator/strategy/types/strategy.js +43 -0
- package/dist/orchestrator/strategy/types/strategy.js.map +1 -1
- package/dist/platform/dream/dream-activation.d.ts +1 -1
- package/dist/platform/dream/dream-consolidator/fs-metrics.d.ts +18 -0
- package/dist/platform/dream/dream-consolidator/fs-metrics.d.ts.map +1 -0
- package/dist/platform/dream/dream-consolidator/fs-metrics.js +130 -0
- package/dist/platform/dream/dream-consolidator/fs-metrics.js.map +1 -0
- package/dist/platform/dream/dream-consolidator.d.ts +4 -14
- package/dist/platform/dream/dream-consolidator.d.ts.map +1 -1
- package/dist/platform/dream/dream-consolidator.js +46 -166
- package/dist/platform/dream/dream-consolidator.js.map +1 -1
- package/dist/platform/dream/dream-event-workflows.d.ts +6 -6
- package/dist/platform/dream/dream-soil-sync.d.ts +1 -0
- package/dist/platform/dream/dream-soil-sync.d.ts.map +1 -1
- package/dist/platform/dream/dream-soil-sync.js +8 -1
- package/dist/platform/dream/dream-soil-sync.js.map +1 -1
- package/dist/platform/dream/dream-types.d.ts +94 -89
- package/dist/platform/dream/dream-types.d.ts.map +1 -1
- package/dist/platform/dream/dream-types.js +1 -0
- package/dist/platform/dream/dream-types.js.map +1 -1
- package/dist/platform/dream/playbook-memory.d.ts +4 -4
- package/dist/platform/drive/metric-history.d.ts +61 -0
- package/dist/platform/drive/metric-history.d.ts.map +1 -0
- package/dist/platform/drive/metric-history.js +206 -0
- package/dist/platform/drive/metric-history.js.map +1 -0
- package/dist/platform/drive/progress-predictor.d.ts +7 -0
- package/dist/platform/drive/progress-predictor.d.ts.map +1 -1
- package/dist/platform/drive/progress-predictor.js +23 -0
- package/dist/platform/drive/progress-predictor.js.map +1 -1
- package/dist/platform/drive/stall-detector/analysis.d.ts +5 -0
- package/dist/platform/drive/stall-detector/analysis.d.ts.map +1 -0
- package/dist/platform/drive/stall-detector/analysis.js +55 -0
- package/dist/platform/drive/stall-detector/analysis.js.map +1 -0
- package/dist/platform/drive/stall-detector/repetitive.d.ts +3 -0
- package/dist/platform/drive/stall-detector/repetitive.d.ts.map +1 -0
- package/dist/platform/drive/stall-detector/repetitive.js +72 -0
- package/dist/platform/drive/stall-detector/repetitive.js.map +1 -0
- package/dist/platform/drive/stall-detector/thresholds.d.ts +10 -0
- package/dist/platform/drive/stall-detector/thresholds.d.ts.map +1 -0
- package/dist/platform/drive/stall-detector/thresholds.js +61 -0
- package/dist/platform/drive/stall-detector/thresholds.js.map +1 -0
- package/dist/platform/drive/stall-detector.d.ts +5 -21
- package/dist/platform/drive/stall-detector.d.ts.map +1 -1
- package/dist/platform/drive/stall-detector.js +47 -201
- package/dist/platform/drive/stall-detector.js.map +1 -1
- package/dist/platform/drive/types/satisficing.d.ts +2 -2
- package/dist/platform/drive/types/stall.d.ts +4 -0
- package/dist/platform/drive/types/stall.d.ts.map +1 -1
- package/dist/platform/drive/types/stall.js +1 -0
- package/dist/platform/drive/types/stall.js.map +1 -1
- package/dist/platform/knowledge/knowledge-manager-agent-memory.d.ts +55 -0
- package/dist/platform/knowledge/knowledge-manager-agent-memory.d.ts.map +1 -0
- package/dist/platform/knowledge/knowledge-manager-agent-memory.js +232 -0
- package/dist/platform/knowledge/knowledge-manager-agent-memory.js.map +1 -0
- package/dist/platform/knowledge/knowledge-manager-internals.d.ts +10 -0
- package/dist/platform/knowledge/knowledge-manager-internals.d.ts.map +1 -0
- package/dist/platform/knowledge/knowledge-manager-internals.js +43 -0
- package/dist/platform/knowledge/knowledge-manager-internals.js.map +1 -0
- package/dist/platform/knowledge/knowledge-manager-store.d.ts +13 -0
- package/dist/platform/knowledge/knowledge-manager-store.d.ts.map +1 -0
- package/dist/platform/knowledge/knowledge-manager-store.js +67 -0
- package/dist/platform/knowledge/knowledge-manager-store.js.map +1 -0
- package/dist/platform/knowledge/knowledge-manager.d.ts +6 -2
- package/dist/platform/knowledge/knowledge-manager.d.ts.map +1 -1
- package/dist/platform/knowledge/knowledge-manager.js +43 -344
- package/dist/platform/knowledge/knowledge-manager.js.map +1 -1
- package/dist/platform/knowledge/memory/memory-lifecycle-storage.d.ts +4 -0
- package/dist/platform/knowledge/memory/memory-lifecycle-storage.d.ts.map +1 -0
- package/dist/platform/knowledge/memory/memory-lifecycle-storage.js +106 -0
- package/dist/platform/knowledge/memory/memory-lifecycle-storage.js.map +1 -0
- package/dist/platform/knowledge/memory/memory-lifecycle.d.ts.map +1 -1
- package/dist/platform/knowledge/memory/memory-lifecycle.js +6 -112
- package/dist/platform/knowledge/memory/memory-lifecycle.js.map +1 -1
- package/dist/platform/knowledge/types/learning.d.ts +2 -2
- package/dist/platform/observation/capability-detector/prompts.d.ts +18 -0
- package/dist/platform/observation/capability-detector/prompts.d.ts.map +1 -0
- package/dist/platform/observation/capability-detector/prompts.js +80 -0
- package/dist/platform/observation/capability-detector/prompts.js.map +1 -0
- package/dist/platform/observation/capability-detector/recommendations.d.ts +5 -0
- package/dist/platform/observation/capability-detector/recommendations.d.ts.map +1 -0
- package/dist/platform/observation/capability-detector/recommendations.js +76 -0
- package/dist/platform/observation/capability-detector/recommendations.js.map +1 -0
- package/dist/platform/observation/capability-detector/types.d.ts +112 -0
- package/dist/platform/observation/capability-detector/types.d.ts.map +1 -0
- package/dist/platform/observation/capability-detector/types.js +75 -0
- package/dist/platform/observation/capability-detector/types.js.map +1 -0
- package/dist/platform/observation/capability-detector.d.ts +4 -9
- package/dist/platform/observation/capability-detector.d.ts.map +1 -1
- package/dist/platform/observation/capability-detector.js +12 -212
- package/dist/platform/observation/capability-detector.js.map +1 -1
- package/dist/platform/observation/context-provider/collector.d.ts +13 -0
- package/dist/platform/observation/context-provider/collector.d.ts.map +1 -0
- package/dist/platform/observation/context-provider/collector.js +259 -0
- package/dist/platform/observation/context-provider/collector.js.map +1 -0
- package/dist/platform/observation/context-provider/search-terms.d.ts +2 -0
- package/dist/platform/observation/context-provider/search-terms.d.ts.map +1 -0
- package/dist/platform/observation/context-provider/search-terms.js +24 -0
- package/dist/platform/observation/context-provider/search-terms.js.map +1 -0
- package/dist/platform/observation/context-provider/shared.d.ts +17 -0
- package/dist/platform/observation/context-provider/shared.d.ts.map +1 -0
- package/dist/platform/observation/context-provider/shared.js +87 -0
- package/dist/platform/observation/context-provider/shared.js.map +1 -0
- package/dist/platform/observation/context-provider.d.ts +3 -28
- package/dist/platform/observation/context-provider.d.ts.map +1 -1
- package/dist/platform/observation/context-provider.js +7 -395
- package/dist/platform/observation/context-provider.js.map +1 -1
- package/dist/platform/observation/data-source-adapter.d.ts +1 -0
- package/dist/platform/observation/data-source-adapter.d.ts.map +1 -1
- package/dist/platform/observation/data-source-adapter.js.map +1 -1
- package/dist/platform/observation/observation-datasource.d.ts.map +1 -1
- package/dist/platform/observation/observation-datasource.js +2 -0
- package/dist/platform/observation/observation-datasource.js.map +1 -1
- package/dist/platform/observation/types/data-source.d.ts +153 -9
- package/dist/platform/observation/types/data-source.d.ts.map +1 -1
- package/dist/platform/observation/types/data-source.js +13 -1
- package/dist/platform/observation/types/data-source.js.map +1 -1
- package/dist/platform/soil/compiled-memory-projections.d.ts +2 -0
- package/dist/platform/soil/compiled-memory-projections.d.ts.map +1 -1
- package/dist/platform/soil/compiled-memory-projections.js +59 -0
- package/dist/platform/soil/compiled-memory-projections.js.map +1 -1
- package/dist/platform/soil/contracts.d.ts +67 -67
- package/dist/platform/soil/importer.d.ts +6 -6
- package/dist/platform/soil/retriever.d.ts +25 -0
- package/dist/platform/soil/retriever.d.ts.map +1 -1
- package/dist/platform/soil/retriever.js +94 -5
- package/dist/platform/soil/retriever.js.map +1 -1
- package/dist/platform/soil/sqlite-repository-helpers.d.ts +80 -0
- package/dist/platform/soil/sqlite-repository-helpers.d.ts.map +1 -0
- package/dist/platform/soil/sqlite-repository-helpers.js +143 -0
- package/dist/platform/soil/sqlite-repository-helpers.js.map +1 -0
- package/dist/platform/soil/sqlite-repository-search.d.ts +8 -0
- package/dist/platform/soil/sqlite-repository-search.d.ts.map +1 -0
- package/dist/platform/soil/sqlite-repository-search.js +367 -0
- package/dist/platform/soil/sqlite-repository-search.js.map +1 -0
- package/dist/platform/soil/sqlite-repository-storage.d.ts +8 -0
- package/dist/platform/soil/sqlite-repository-storage.d.ts.map +1 -0
- package/dist/platform/soil/sqlite-repository-storage.js +278 -0
- package/dist/platform/soil/sqlite-repository-storage.js.map +1 -0
- package/dist/platform/soil/sqlite-repository.d.ts +1 -4
- package/dist/platform/soil/sqlite-repository.d.ts.map +1 -1
- package/dist/platform/soil/sqlite-repository.js +26 -820
- package/dist/platform/soil/sqlite-repository.js.map +1 -1
- package/dist/platform/soil/types.d.ts +8 -8
- package/dist/platform/time/deadline-finalization.d.ts +57 -0
- package/dist/platform/time/deadline-finalization.d.ts.map +1 -0
- package/dist/platform/time/deadline-finalization.js +136 -0
- package/dist/platform/time/deadline-finalization.js.map +1 -0
- package/dist/platform/time/execution-mode.d.ts +29 -0
- package/dist/platform/time/execution-mode.d.ts.map +1 -0
- package/dist/platform/time/execution-mode.js +84 -0
- package/dist/platform/time/execution-mode.js.map +1 -0
- package/dist/platform/traits/types/curiosity.d.ts +9 -9
- package/dist/platform/traits/types/guardrail.d.ts +6 -6
- package/dist/reporting/report-formatters.d.ts.map +1 -1
- package/dist/reporting/report-formatters.js +67 -2
- package/dist/reporting/report-formatters.js.map +1 -1
- package/dist/reporting/reporting-engine.d.ts.map +1 -1
- package/dist/reporting/reporting-engine.js +3 -1
- package/dist/reporting/reporting-engine.js.map +1 -1
- package/dist/reporting/reporting-types.d.ts +4 -0
- package/dist/reporting/reporting-types.d.ts.map +1 -1
- package/dist/reporting/types/report.d.ts +59 -0
- package/dist/reporting/types/report.d.ts.map +1 -1
- package/dist/reporting/types/report.js +9 -0
- package/dist/reporting/types/report.js.map +1 -1
- package/dist/runtime/command-dispatcher.d.ts +2 -0
- package/dist/runtime/command-dispatcher.d.ts.map +1 -1
- package/dist/runtime/command-dispatcher.js +16 -0
- package/dist/runtime/command-dispatcher.js.map +1 -1
- package/dist/runtime/confirmation-decision.d.ts +94 -0
- package/dist/runtime/confirmation-decision.d.ts.map +1 -0
- package/dist/runtime/confirmation-decision.js +109 -0
- package/dist/runtime/confirmation-decision.js.map +1 -0
- package/dist/runtime/control/daemon-runtime-control-executor.d.ts.map +1 -1
- package/dist/runtime/control/daemon-runtime-control-executor.js +31 -1
- package/dist/runtime/control/daemon-runtime-control-executor.js.map +1 -1
- package/dist/runtime/control/runtime-control-intent.d.ts +9 -1
- package/dist/runtime/control/runtime-control-intent.d.ts.map +1 -1
- package/dist/runtime/control/runtime-control-intent.js +82 -16
- package/dist/runtime/control/runtime-control-intent.js.map +1 -1
- package/dist/runtime/control/runtime-control-service.d.ts +35 -1
- package/dist/runtime/control/runtime-control-service.d.ts.map +1 -1
- package/dist/runtime/control/runtime-control-service.js +285 -5
- package/dist/runtime/control/runtime-control-service.js.map +1 -1
- package/dist/runtime/daemon/client.d.ts +12 -0
- package/dist/runtime/daemon/client.d.ts.map +1 -1
- package/dist/runtime/daemon/client.js +9 -0
- package/dist/runtime/daemon/client.js.map +1 -1
- package/dist/runtime/daemon/index.d.ts +1 -1
- package/dist/runtime/daemon/index.d.ts.map +1 -1
- package/dist/runtime/daemon/index.js +1 -1
- package/dist/runtime/daemon/index.js.map +1 -1
- package/dist/runtime/daemon/maintenance.d.ts +2 -10
- package/dist/runtime/daemon/maintenance.d.ts.map +1 -1
- package/dist/runtime/daemon/maintenance.js +14 -45
- package/dist/runtime/daemon/maintenance.js.map +1 -1
- package/dist/runtime/daemon/runner-bootstrap.d.ts +25 -0
- package/dist/runtime/daemon/runner-bootstrap.d.ts.map +1 -0
- package/dist/runtime/daemon/runner-bootstrap.js +77 -0
- package/dist/runtime/daemon/runner-bootstrap.js.map +1 -0
- package/dist/runtime/daemon/runner-commands.d.ts +13 -9
- package/dist/runtime/daemon/runner-commands.d.ts.map +1 -1
- package/dist/runtime/daemon/runner-commands.js +272 -21
- package/dist/runtime/daemon/runner-commands.js.map +1 -1
- package/dist/runtime/daemon/runner-goal-cycle.d.ts.map +1 -1
- package/dist/runtime/daemon/runner-goal-cycle.js +62 -6
- package/dist/runtime/daemon/runner-goal-cycle.js.map +1 -1
- package/dist/runtime/daemon/runner-resident-curiosity.d.ts +12 -0
- package/dist/runtime/daemon/runner-resident-curiosity.d.ts.map +1 -0
- package/dist/runtime/daemon/runner-resident-curiosity.js +155 -0
- package/dist/runtime/daemon/runner-resident-curiosity.js.map +1 -0
- package/dist/runtime/daemon/runner-resident-dream.d.ts +20 -0
- package/dist/runtime/daemon/runner-resident-dream.d.ts.map +1 -0
- package/dist/runtime/daemon/runner-resident-dream.js +148 -0
- package/dist/runtime/daemon/runner-resident-dream.js.map +1 -0
- package/dist/runtime/daemon/runner-resident-proactive.d.ts +4 -0
- package/dist/runtime/daemon/runner-resident-proactive.d.ts.map +1 -0
- package/dist/runtime/daemon/runner-resident-proactive.js +113 -0
- package/dist/runtime/daemon/runner-resident-proactive.js.map +1 -0
- package/dist/runtime/daemon/runner-resident-shared.d.ts +40 -0
- package/dist/runtime/daemon/runner-resident-shared.d.ts.map +1 -0
- package/dist/runtime/daemon/runner-resident-shared.js +101 -0
- package/dist/runtime/daemon/runner-resident-shared.js.map +1 -0
- package/dist/runtime/daemon/runner-resident.d.ts +4 -68
- package/dist/runtime/daemon/runner-resident.d.ts.map +1 -1
- package/dist/runtime/daemon/runner-resident.js +4 -506
- package/dist/runtime/daemon/runner-resident.js.map +1 -1
- package/dist/runtime/daemon/runner-runtime.d.ts +12 -0
- package/dist/runtime/daemon/runner-runtime.d.ts.map +1 -0
- package/dist/runtime/daemon/runner-runtime.js +43 -0
- package/dist/runtime/daemon/runner-runtime.js.map +1 -0
- package/dist/runtime/daemon/runner-startup.d.ts.map +1 -1
- package/dist/runtime/daemon/runner-startup.js +15 -6
- package/dist/runtime/daemon/runner-startup.js.map +1 -1
- package/dist/runtime/daemon/runner.d.ts +14 -23
- package/dist/runtime/daemon/runner.d.ts.map +1 -1
- package/dist/runtime/daemon/runner.js +40 -110
- package/dist/runtime/daemon/runner.js.map +1 -1
- package/dist/runtime/daemon/runtime-ownership.d.ts +9 -0
- package/dist/runtime/daemon/runtime-ownership.d.ts.map +1 -1
- package/dist/runtime/daemon/runtime-ownership.js +248 -1
- package/dist/runtime/daemon/runtime-ownership.js.map +1 -1
- package/dist/runtime/daemon/wait-deadline-resolver.d.ts +5 -2
- package/dist/runtime/daemon/wait-deadline-resolver.d.ts.map +1 -1
- package/dist/runtime/daemon/wait-deadline-resolver.js +55 -35
- package/dist/runtime/daemon/wait-deadline-resolver.js.map +1 -1
- package/dist/runtime/dream-sidecar-review.d.ts +92 -0
- package/dist/runtime/dream-sidecar-review.d.ts.map +1 -0
- package/dist/runtime/dream-sidecar-review.js +495 -0
- package/dist/runtime/dream-sidecar-review.js.map +1 -0
- package/dist/runtime/event/dispatcher.d.ts +0 -2
- package/dist/runtime/event/dispatcher.d.ts.map +1 -1
- package/dist/runtime/event/dispatcher.js +0 -4
- package/dist/runtime/event/dispatcher.js.map +1 -1
- package/dist/runtime/event/server-command-handler.d.ts +2 -4
- package/dist/runtime/event/server-command-handler.d.ts.map +1 -1
- package/dist/runtime/event/server-command-handler.js +36 -6
- package/dist/runtime/event/server-command-handler.js.map +1 -1
- package/dist/runtime/event/server-snapshot-reader.d.ts +15 -1
- package/dist/runtime/event/server-snapshot-reader.d.ts.map +1 -1
- package/dist/runtime/event/server-snapshot-reader.js +66 -2
- package/dist/runtime/event/server-snapshot-reader.js.map +1 -1
- package/dist/runtime/event/server-types.d.ts +7 -0
- package/dist/runtime/event/server-types.d.ts.map +1 -1
- package/dist/runtime/event/server.d.ts +5 -0
- package/dist/runtime/event/server.d.ts.map +1 -1
- package/dist/runtime/event/server.js +43 -11
- package/dist/runtime/event/server.js.map +1 -1
- package/dist/runtime/evidence-answer.d.ts +41 -0
- package/dist/runtime/evidence-answer.d.ts.map +1 -0
- package/dist/runtime/evidence-answer.js +366 -0
- package/dist/runtime/evidence-answer.js.map +1 -0
- package/dist/runtime/executor/goal-worker.d.ts +6 -2
- package/dist/runtime/executor/goal-worker.d.ts.map +1 -1
- package/dist/runtime/executor/goal-worker.js +7 -2
- package/dist/runtime/executor/goal-worker.js.map +1 -1
- package/dist/runtime/executor/loop-supervisor.d.ts +7 -0
- package/dist/runtime/executor/loop-supervisor.d.ts.map +1 -1
- package/dist/runtime/executor/loop-supervisor.js +72 -17
- package/dist/runtime/executor/loop-supervisor.js.map +1 -1
- package/dist/runtime/guardrails/backpressure-controller.d.ts +32 -0
- package/dist/runtime/guardrails/backpressure-controller.d.ts.map +1 -0
- package/dist/runtime/guardrails/backpressure-controller.js +88 -0
- package/dist/runtime/guardrails/backpressure-controller.js.map +1 -0
- package/dist/runtime/guardrails/circuit-breaker.d.ts +32 -0
- package/dist/runtime/guardrails/circuit-breaker.d.ts.map +1 -0
- package/dist/runtime/guardrails/circuit-breaker.js +88 -0
- package/dist/runtime/guardrails/circuit-breaker.js.map +1 -0
- package/dist/runtime/guardrails/guardrail-store.d.ts +23 -0
- package/dist/runtime/guardrails/guardrail-store.d.ts.map +1 -0
- package/dist/runtime/guardrails/guardrail-store.js +95 -0
- package/dist/runtime/guardrails/guardrail-store.js.map +1 -0
- package/dist/runtime/guardrails/index.d.ts +4 -0
- package/dist/runtime/guardrails/index.d.ts.map +1 -0
- package/dist/runtime/guardrails/index.js +4 -0
- package/dist/runtime/guardrails/index.js.map +1 -0
- package/dist/runtime/interactive-automation/browser-session-store.d.ts +43 -0
- package/dist/runtime/interactive-automation/browser-session-store.d.ts.map +1 -0
- package/dist/runtime/interactive-automation/browser-session-store.js +104 -0
- package/dist/runtime/interactive-automation/browser-session-store.js.map +1 -0
- package/dist/runtime/interactive-automation/failure-classifier.d.ts +12 -0
- package/dist/runtime/interactive-automation/failure-classifier.d.ts.map +1 -0
- package/dist/runtime/interactive-automation/failure-classifier.js +50 -0
- package/dist/runtime/interactive-automation/failure-classifier.js.map +1 -0
- package/dist/runtime/interactive-automation/index.d.ts +2 -0
- package/dist/runtime/interactive-automation/index.d.ts.map +1 -1
- package/dist/runtime/interactive-automation/index.js +2 -0
- package/dist/runtime/interactive-automation/index.js.map +1 -1
- package/dist/runtime/interactive-automation/providers/manus-browser.d.ts.map +1 -1
- package/dist/runtime/interactive-automation/providers/manus-browser.js +17 -1
- package/dist/runtime/interactive-automation/providers/manus-browser.js.map +1 -1
- package/dist/runtime/interactive-automation/types.d.ts +4 -0
- package/dist/runtime/interactive-automation/types.d.ts.map +1 -1
- package/dist/runtime/interactive-automation/types.js.map +1 -1
- package/dist/runtime/notification-routing.d.ts +45 -2
- package/dist/runtime/notification-routing.d.ts.map +1 -1
- package/dist/runtime/notification-routing.js +196 -79
- package/dist/runtime/notification-routing.js.map +1 -1
- package/dist/runtime/run-spec/confirmation.d.ts +34 -0
- package/dist/runtime/run-spec/confirmation.d.ts.map +1 -0
- package/dist/runtime/run-spec/confirmation.js +176 -0
- package/dist/runtime/run-spec/confirmation.js.map +1 -0
- package/dist/runtime/run-spec/derive.d.ts +284 -0
- package/dist/runtime/run-spec/derive.d.ts.map +1 -0
- package/dist/runtime/run-spec/derive.js +379 -0
- package/dist/runtime/run-spec/derive.js.map +1 -0
- package/dist/runtime/run-spec/index.d.ts +5 -0
- package/dist/runtime/run-spec/index.d.ts.map +1 -0
- package/dist/runtime/run-spec/index.js +5 -0
- package/dist/runtime/run-spec/index.js.map +1 -0
- package/dist/runtime/run-spec/store.d.ts +11 -0
- package/dist/runtime/run-spec/store.d.ts.map +1 -0
- package/dist/runtime/run-spec/store.js +36 -0
- package/dist/runtime/run-spec/store.js.map +1 -0
- package/dist/runtime/run-spec/types.d.ts +495 -0
- package/dist/runtime/run-spec/types.d.ts.map +1 -0
- package/dist/runtime/run-spec/types.js +87 -0
- package/dist/runtime/run-spec/types.js.map +1 -0
- package/dist/runtime/schedule/engine-cron-reflection.d.ts +31 -0
- package/dist/runtime/schedule/engine-cron-reflection.d.ts.map +1 -0
- package/dist/runtime/schedule/engine-cron-reflection.js +229 -0
- package/dist/runtime/schedule/engine-cron-reflection.js.map +1 -0
- package/dist/runtime/schedule/engine-execution.d.ts +48 -0
- package/dist/runtime/schedule/engine-execution.d.ts.map +1 -0
- package/dist/runtime/schedule/engine-execution.js +424 -0
- package/dist/runtime/schedule/engine-execution.js.map +1 -0
- package/dist/runtime/schedule/engine-heartbeat.d.ts +5 -0
- package/dist/runtime/schedule/engine-heartbeat.d.ts.map +1 -0
- package/dist/runtime/schedule/engine-heartbeat.js +104 -0
- package/dist/runtime/schedule/engine-heartbeat.js.map +1 -0
- package/dist/runtime/schedule/engine-layers.d.ts +4 -1
- package/dist/runtime/schedule/engine-layers.d.ts.map +1 -1
- package/dist/runtime/schedule/engine-layers.js +15 -229
- package/dist/runtime/schedule/engine-layers.js.map +1 -1
- package/dist/runtime/schedule/engine-mutations.d.ts +37 -0
- package/dist/runtime/schedule/engine-mutations.d.ts.map +1 -0
- package/dist/runtime/schedule/engine-mutations.js +263 -0
- package/dist/runtime/schedule/engine-mutations.js.map +1 -0
- package/dist/runtime/schedule/engine.d.ts +13 -39
- package/dist/runtime/schedule/engine.d.ts.map +1 -1
- package/dist/runtime/schedule/engine.js +65 -810
- package/dist/runtime/schedule/engine.js.map +1 -1
- package/dist/runtime/schedule/history.d.ts +20 -4
- package/dist/runtime/schedule/history.d.ts.map +1 -1
- package/dist/runtime/schedule/history.js +8 -0
- package/dist/runtime/schedule/history.js.map +1 -1
- package/dist/runtime/schedule/index.d.ts +1 -0
- package/dist/runtime/schedule/index.d.ts.map +1 -1
- package/dist/runtime/schedule/index.js +1 -0
- package/dist/runtime/schedule/index.js.map +1 -1
- package/dist/runtime/schedule/legacy-cron-migration.d.ts +9 -0
- package/dist/runtime/schedule/legacy-cron-migration.d.ts.map +1 -0
- package/dist/runtime/schedule/legacy-cron-migration.js +89 -0
- package/dist/runtime/schedule/legacy-cron-migration.js.map +1 -0
- package/dist/runtime/schedule/wait-projection.d.ts +6 -0
- package/dist/runtime/schedule/wait-projection.d.ts.map +1 -0
- package/dist/runtime/schedule/wait-projection.js +102 -0
- package/dist/runtime/schedule/wait-projection.js.map +1 -0
- package/dist/runtime/session-registry/registry-helpers.d.ts +34 -0
- package/dist/runtime/session-registry/registry-helpers.d.ts.map +1 -0
- package/dist/runtime/session-registry/registry-helpers.js +241 -0
- package/dist/runtime/session-registry/registry-helpers.js.map +1 -0
- package/dist/runtime/session-registry/registry.d.ts.map +1 -1
- package/dist/runtime/session-registry/registry.js +16 -243
- package/dist/runtime/session-registry/registry.js.map +1 -1
- package/dist/runtime/session-registry/types.d.ts +138 -130
- package/dist/runtime/session-registry/types.d.ts.map +1 -1
- package/dist/runtime/session-registry/types.js +2 -0
- package/dist/runtime/session-registry/types.js.map +1 -1
- package/dist/runtime/store/artifact-retention.d.ts +44 -0
- package/dist/runtime/store/artifact-retention.d.ts.map +1 -0
- package/dist/runtime/store/artifact-retention.js +263 -0
- package/dist/runtime/store/artifact-retention.js.map +1 -0
- package/dist/runtime/store/background-run-store.d.ts +1 -0
- package/dist/runtime/store/background-run-store.d.ts.map +1 -1
- package/dist/runtime/store/background-run-store.js +1 -0
- package/dist/runtime/store/background-run-store.js.map +1 -1
- package/dist/runtime/store/budget-store.d.ts +442 -0
- package/dist/runtime/store/budget-store.d.ts.map +1 -0
- package/dist/runtime/store/budget-store.js +318 -0
- package/dist/runtime/store/budget-store.js.map +1 -0
- package/dist/runtime/store/dream-checkpoints.d.ts +9 -0
- package/dist/runtime/store/dream-checkpoints.d.ts.map +1 -0
- package/dist/runtime/store/dream-checkpoints.js +16 -0
- package/dist/runtime/store/dream-checkpoints.js.map +1 -0
- package/dist/runtime/store/evaluator-results.d.ts +97 -0
- package/dist/runtime/store/evaluator-results.d.ts.map +1 -0
- package/dist/runtime/store/evaluator-results.js +355 -0
- package/dist/runtime/store/evaluator-results.js.map +1 -0
- package/dist/runtime/store/evidence-ledger.d.ts +5298 -0
- package/dist/runtime/store/evidence-ledger.d.ts.map +1 -0
- package/dist/runtime/store/evidence-ledger.js +1452 -0
- package/dist/runtime/store/evidence-ledger.js.map +1 -0
- package/dist/runtime/store/experiment-queue-store.d.ts +1164 -0
- package/dist/runtime/store/experiment-queue-store.d.ts.map +1 -0
- package/dist/runtime/store/experiment-queue-store.js +341 -0
- package/dist/runtime/store/experiment-queue-store.js.map +1 -0
- package/dist/runtime/store/health-store.d.ts.map +1 -1
- package/dist/runtime/store/health-store.js +6 -0
- package/dist/runtime/store/health-store.js.map +1 -1
- package/dist/runtime/store/index.d.ts +25 -2
- package/dist/runtime/store/index.d.ts.map +1 -1
- package/dist/runtime/store/index.js +13 -1
- package/dist/runtime/store/index.js.map +1 -1
- package/dist/runtime/store/metric-history.d.ts +10 -0
- package/dist/runtime/store/metric-history.d.ts.map +1 -0
- package/dist/runtime/store/metric-history.js +56 -0
- package/dist/runtime/store/metric-history.js.map +1 -0
- package/dist/runtime/store/operator-handoff-store.d.ts +179 -0
- package/dist/runtime/store/operator-handoff-store.d.ts.map +1 -0
- package/dist/runtime/store/operator-handoff-store.js +120 -0
- package/dist/runtime/store/operator-handoff-store.js.map +1 -0
- package/dist/runtime/store/postmortem-report.d.ts +485 -0
- package/dist/runtime/store/postmortem-report.d.ts.map +1 -0
- package/dist/runtime/store/postmortem-report.js +561 -0
- package/dist/runtime/store/postmortem-report.js.map +1 -0
- package/dist/runtime/store/reproducibility-manifest.d.ts +565 -0
- package/dist/runtime/store/reproducibility-manifest.d.ts.map +1 -0
- package/dist/runtime/store/reproducibility-manifest.js +392 -0
- package/dist/runtime/store/reproducibility-manifest.js.map +1 -0
- package/dist/runtime/store/research-evidence.d.ts +8 -0
- package/dist/runtime/store/research-evidence.d.ts.map +1 -0
- package/dist/runtime/store/research-evidence.js +15 -0
- package/dist/runtime/store/research-evidence.js.map +1 -0
- package/dist/runtime/store/runtime-operation-schemas.d.ts +80 -34
- package/dist/runtime/store/runtime-operation-schemas.d.ts.map +1 -1
- package/dist/runtime/store/runtime-operation-schemas.js +16 -1
- package/dist/runtime/store/runtime-operation-schemas.js.map +1 -1
- package/dist/runtime/store/runtime-paths.d.ts +25 -0
- package/dist/runtime/store/runtime-paths.d.ts.map +1 -1
- package/dist/runtime/store/runtime-paths.js +73 -0
- package/dist/runtime/store/runtime-paths.js.map +1 -1
- package/dist/runtime/store/runtime-schemas.d.ts +1934 -15
- package/dist/runtime/store/runtime-schemas.d.ts.map +1 -1
- package/dist/runtime/store/runtime-schemas.js +201 -0
- package/dist/runtime/store/runtime-schemas.js.map +1 -1
- package/dist/runtime/store/safe-pause-store.d.ts +28 -0
- package/dist/runtime/store/safe-pause-store.d.ts.map +1 -0
- package/dist/runtime/store/safe-pause-store.js +103 -0
- package/dist/runtime/store/safe-pause-store.js.map +1 -0
- package/dist/runtime/types/daemon.d.ts +234 -14
- package/dist/runtime/types/daemon.d.ts.map +1 -1
- package/dist/runtime/types/daemon.js +29 -2
- package/dist/runtime/types/daemon.js.map +1 -1
- package/dist/runtime/types/envelope.d.ts +10 -10
- package/dist/runtime/types/hook.d.ts +9 -9
- package/dist/runtime/types/notification.d.ts +6 -6
- package/dist/runtime/types/plugin.d.ts +2 -2
- package/dist/runtime/types/schedule.d.ts +162 -54
- package/dist/runtime/types/schedule.d.ts.map +1 -1
- package/dist/runtime/types/schedule.js +15 -1
- package/dist/runtime/types/schedule.js.map +1 -1
- package/dist/runtime/types/trigger.d.ts +2 -2
- package/dist/tools/automation/InteractiveAutomationTools.d.ts +10 -0
- package/dist/tools/automation/InteractiveAutomationTools.d.ts.map +1 -1
- package/dist/tools/automation/InteractiveAutomationTools.js +139 -8
- package/dist/tools/automation/InteractiveAutomationTools.js.map +1 -1
- package/dist/tools/builtin/exports.d.ts +2 -1
- package/dist/tools/builtin/exports.d.ts.map +1 -1
- package/dist/tools/builtin/exports.js +2 -1
- package/dist/tools/builtin/exports.js.map +1 -1
- package/dist/tools/builtin/factory.d.ts +7 -0
- package/dist/tools/builtin/factory.d.ts.map +1 -1
- package/dist/tools/builtin/factory.js +26 -3
- package/dist/tools/builtin/factory.js.map +1 -1
- package/dist/tools/fs/FileValidationTool/protected-path-policy.d.ts +1 -0
- package/dist/tools/fs/FileValidationTool/protected-path-policy.d.ts.map +1 -1
- package/dist/tools/fs/FileValidationTool/protected-path-policy.js +17 -4
- package/dist/tools/fs/FileValidationTool/protected-path-policy.js.map +1 -1
- package/dist/tools/fs/ListDirTool/ListDirTool.js +1 -1
- package/dist/tools/fs/ListDirTool/ListDirTool.js.map +1 -1
- package/dist/tools/kaggle/KaggleExperimentTools.d.ts +792 -8
- package/dist/tools/kaggle/KaggleExperimentTools.d.ts.map +1 -1
- package/dist/tools/kaggle/KaggleExperimentTools.js +284 -19
- package/dist/tools/kaggle/KaggleExperimentTools.js.map +1 -1
- package/dist/tools/kaggle/KaggleSubmissionTools.d.ts +18 -12
- package/dist/tools/kaggle/KaggleSubmissionTools.d.ts.map +1 -1
- package/dist/tools/kaggle/KaggleSubmissionTools.js +23 -4
- package/dist/tools/kaggle/KaggleSubmissionTools.js.map +1 -1
- package/dist/tools/kaggle/KaggleWorkspacePrepareTool.d.ts +28 -9
- package/dist/tools/kaggle/KaggleWorkspacePrepareTool.d.ts.map +1 -1
- package/dist/tools/kaggle/KaggleWorkspacePrepareTool.js +182 -4
- package/dist/tools/kaggle/KaggleWorkspacePrepareTool.js.map +1 -1
- package/dist/tools/kaggle/index.d.ts +1 -1
- package/dist/tools/kaggle/index.d.ts.map +1 -1
- package/dist/tools/kaggle/index.js +1 -1
- package/dist/tools/kaggle/index.js.map +1 -1
- package/dist/tools/kaggle/metrics.d.ts +845 -4
- package/dist/tools/kaggle/metrics.d.ts.map +1 -1
- package/dist/tools/kaggle/metrics.js +410 -1
- package/dist/tools/kaggle/metrics.js.map +1 -1
- package/dist/tools/kaggle/paths.d.ts.map +1 -1
- package/dist/tools/kaggle/paths.js +6 -0
- package/dist/tools/kaggle/paths.js.map +1 -1
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/ConfigureNotificationRoutingTool.d.ts +6 -0
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/ConfigureNotificationRoutingTool.d.ts.map +1 -1
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/ConfigureNotificationRoutingTool.js +9 -2
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/ConfigureNotificationRoutingTool.js.map +1 -1
- package/dist/tools/mutation/TaskCreateTool/TaskCreateTool.d.ts +4 -4
- package/dist/tools/network/McpStdioTool/McpStdioTool.d.ts +4 -4
- package/dist/tools/query/CodeSearchRepairTool/CodeSearchRepairTool.d.ts.map +1 -1
- package/dist/tools/query/CodeSearchRepairTool/CodeSearchRepairTool.js +23 -2
- package/dist/tools/query/CodeSearchRepairTool/CodeSearchRepairTool.js.map +1 -1
- package/dist/tools/query/CodeSearchTool/CodeSearchTool.d.ts.map +1 -1
- package/dist/tools/query/CodeSearchTool/CodeSearchTool.js +24 -2
- package/dist/tools/query/CodeSearchTool/CodeSearchTool.js.map +1 -1
- package/dist/tools/query/MemoryRecallTool/MemoryRecallTool.d.ts +2 -2
- package/dist/tools/query/SoilQueryTool/SoilQueryTool.d.ts.map +1 -1
- package/dist/tools/query/SoilQueryTool/SoilQueryTool.js +43 -9
- package/dist/tools/query/SoilQueryTool/SoilQueryTool.js.map +1 -1
- package/dist/tools/query/code-search-root.d.ts +8 -0
- package/dist/tools/query/code-search-root.d.ts.map +1 -0
- package/dist/tools/query/code-search-root.js +41 -0
- package/dist/tools/query/code-search-root.js.map +1 -0
- package/dist/tools/query/runtime-dream-review-tool.d.ts +34 -0
- package/dist/tools/query/runtime-dream-review-tool.d.ts.map +1 -0
- package/dist/tools/query/runtime-dream-review-tool.js +62 -0
- package/dist/tools/query/runtime-dream-review-tool.js.map +1 -0
- package/dist/tools/query/runtime-session-tools.d.ts +560 -0
- package/dist/tools/query/runtime-session-tools.d.ts.map +1 -0
- package/dist/tools/query/runtime-session-tools.js +1017 -0
- package/dist/tools/query/runtime-session-tools.js.map +1 -0
- package/dist/tools/runtime/LongRunningRuntimeTools.d.ts +821 -0
- package/dist/tools/runtime/LongRunningRuntimeTools.d.ts.map +1 -0
- package/dist/tools/runtime/LongRunningRuntimeTools.js +905 -0
- package/dist/tools/runtime/LongRunningRuntimeTools.js.map +1 -0
- package/dist/tools/schedule/CreateScheduleTool/CreateScheduleTool.d.ts +62 -32
- package/dist/tools/schedule/CreateScheduleTool/CreateScheduleTool.d.ts.map +1 -1
- package/dist/tools/schedule/UpdateScheduleTool/UpdateScheduleTool.d.ts +78 -44
- package/dist/tools/schedule/UpdateScheduleTool/UpdateScheduleTool.d.ts.map +1 -1
- package/dist/tools/system/ProcessSessionTool/ProcessSessionTool.d.ts +1 -0
- package/dist/tools/system/ProcessSessionTool/ProcessSessionTool.d.ts.map +1 -1
- package/dist/tools/system/ProcessSessionTool/ProcessSessionTool.js +11 -0
- package/dist/tools/system/ProcessSessionTool/ProcessSessionTool.js.map +1 -1
- package/dist/tools/system/ShellTool/ShellTool.d.ts.map +1 -1
- package/dist/tools/system/ShellTool/ShellTool.js +2 -1
- package/dist/tools/system/ShellTool/ShellTool.js.map +1 -1
- package/dist/tools/system/TestRunnerTool/TestRunnerTool.d.ts +4 -4
- package/dist/tools/types.d.ts +2 -0
- package/dist/tools/types.d.ts.map +1 -1
- package/dist/tools/types.js.map +1 -1
- package/package.json +2 -1
- package/dist/base/types/cron.d.ts +0 -2
- package/dist/base/types/cron.d.ts.map +0 -1
- package/dist/base/types/cron.js +0 -3
- package/dist/base/types/cron.js.map +0 -1
- package/dist/runtime/cron-scheduler.d.ts +0 -13
- package/dist/runtime/cron-scheduler.d.ts.map +0 -1
- package/dist/runtime/cron-scheduler.js +0 -90
- package/dist/runtime/cron-scheduler.js.map +0 -1
- package/dist/runtime/types/cron.d.ts +0 -59
- package/dist/runtime/types/cron.d.ts.map +0 -1
- package/dist/runtime/types/cron.js +0 -13
- package/dist/runtime/types/cron.js.map +0 -1
|
@@ -22,29 +22,29 @@ export declare const RuntimeEnvelopeSchema: z.ZodObject<{
|
|
|
22
22
|
name: string;
|
|
23
23
|
created_at: number;
|
|
24
24
|
priority: "low" | "high" | "normal" | "critical";
|
|
25
|
-
kind: "system" | "command" | "event" | "approval";
|
|
26
|
-
attempt: number;
|
|
27
25
|
message_id: string;
|
|
26
|
+
kind: "event" | "command" | "approval" | "system";
|
|
27
|
+
attempt: number;
|
|
28
28
|
goal_id?: string | undefined;
|
|
29
|
-
idempotency_key?: string | undefined;
|
|
30
|
-
payload?: unknown;
|
|
31
29
|
correlation_id?: string | undefined;
|
|
30
|
+
idempotency_key?: string | undefined;
|
|
32
31
|
dedupe_key?: string | undefined;
|
|
32
|
+
payload?: unknown;
|
|
33
33
|
ttl_ms?: number | undefined;
|
|
34
34
|
}, {
|
|
35
35
|
source: string;
|
|
36
36
|
name: string;
|
|
37
37
|
created_at: number;
|
|
38
38
|
priority: "low" | "high" | "normal" | "critical";
|
|
39
|
-
kind: "system" | "command" | "event" | "approval";
|
|
40
39
|
message_id: string;
|
|
40
|
+
kind: "event" | "command" | "approval" | "system";
|
|
41
41
|
goal_id?: string | undefined;
|
|
42
|
-
idempotency_key?: string | undefined;
|
|
43
|
-
payload?: unknown;
|
|
44
|
-
attempt?: number | undefined;
|
|
45
42
|
correlation_id?: string | undefined;
|
|
43
|
+
idempotency_key?: string | undefined;
|
|
46
44
|
dedupe_key?: string | undefined;
|
|
45
|
+
payload?: unknown;
|
|
47
46
|
ttl_ms?: number | undefined;
|
|
47
|
+
attempt?: number | undefined;
|
|
48
48
|
}>;
|
|
49
49
|
export type RuntimeEnvelope = z.infer<typeof RuntimeEnvelopeSchema>;
|
|
50
50
|
export declare const RuntimeQueueStateSchema: z.ZodEnum<["accepted", "queued", "claimed", "retry_wait", "completed", "deadletter", "cancelled"]>;
|
|
@@ -61,23 +61,161 @@ export declare const RuntimeQueueRecordSchema: z.ZodObject<{
|
|
|
61
61
|
}, "strip", z.ZodTypeAny, {
|
|
62
62
|
updated_at: number;
|
|
63
63
|
state: "completed" | "cancelled" | "queued" | "claimed" | "retry_wait" | "deadletter";
|
|
64
|
-
attempt: number;
|
|
65
64
|
message_id: string;
|
|
65
|
+
attempt: number;
|
|
66
66
|
available_at: number;
|
|
67
|
-
last_error?: string | undefined;
|
|
68
67
|
claimed_by?: string | undefined;
|
|
69
68
|
lease_until?: number | undefined;
|
|
69
|
+
last_error?: string | undefined;
|
|
70
70
|
}, {
|
|
71
71
|
updated_at: number;
|
|
72
72
|
state: "completed" | "cancelled" | "queued" | "claimed" | "retry_wait" | "deadletter";
|
|
73
73
|
message_id: string;
|
|
74
74
|
available_at: number;
|
|
75
|
-
last_error?: string | undefined;
|
|
76
75
|
attempt?: number | undefined;
|
|
77
76
|
claimed_by?: string | undefined;
|
|
78
77
|
lease_until?: number | undefined;
|
|
78
|
+
last_error?: string | undefined;
|
|
79
79
|
}>;
|
|
80
80
|
export type RuntimeQueueRecord = z.infer<typeof RuntimeQueueRecordSchema>;
|
|
81
|
+
export declare const RuntimeSafePauseStateSchema: z.ZodEnum<["running", "pause_requested", "paused", "resumed", "emergency_stopped", "completed"]>;
|
|
82
|
+
export type RuntimeSafePauseState = z.infer<typeof RuntimeSafePauseStateSchema>;
|
|
83
|
+
export declare const RuntimeSafePauseCheckpointSchema: z.ZodObject<{
|
|
84
|
+
checkpoint_id: z.ZodString;
|
|
85
|
+
checkpointed_at: z.ZodString;
|
|
86
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
87
|
+
active_goals: z.ZodArray<z.ZodString, "many">;
|
|
88
|
+
queued_goal_ids: z.ZodArray<z.ZodString, "many">;
|
|
89
|
+
current_mode: z.ZodNullable<z.ZodString>;
|
|
90
|
+
candidate_evidence_refs: z.ZodArray<z.ZodString, "many">;
|
|
91
|
+
artifact_refs: z.ZodArray<z.ZodString, "many">;
|
|
92
|
+
next_action: z.ZodNullable<z.ZodString>;
|
|
93
|
+
supervisor_state_ref: z.ZodNullable<z.ZodString>;
|
|
94
|
+
background_run_ids: z.ZodArray<z.ZodString, "many">;
|
|
95
|
+
}, "strip", z.ZodTypeAny, {
|
|
96
|
+
artifact_refs: string[];
|
|
97
|
+
checkpoint_id: string;
|
|
98
|
+
checkpointed_at: string;
|
|
99
|
+
active_goals: string[];
|
|
100
|
+
queued_goal_ids: string[];
|
|
101
|
+
current_mode: string | null;
|
|
102
|
+
candidate_evidence_refs: string[];
|
|
103
|
+
next_action: string | null;
|
|
104
|
+
supervisor_state_ref: string | null;
|
|
105
|
+
background_run_ids: string[];
|
|
106
|
+
reason?: string | undefined;
|
|
107
|
+
}, {
|
|
108
|
+
artifact_refs: string[];
|
|
109
|
+
checkpoint_id: string;
|
|
110
|
+
checkpointed_at: string;
|
|
111
|
+
active_goals: string[];
|
|
112
|
+
queued_goal_ids: string[];
|
|
113
|
+
current_mode: string | null;
|
|
114
|
+
candidate_evidence_refs: string[];
|
|
115
|
+
next_action: string | null;
|
|
116
|
+
supervisor_state_ref: string | null;
|
|
117
|
+
background_run_ids: string[];
|
|
118
|
+
reason?: string | undefined;
|
|
119
|
+
}>;
|
|
120
|
+
export type RuntimeSafePauseCheckpoint = z.infer<typeof RuntimeSafePauseCheckpointSchema>;
|
|
121
|
+
export declare const RuntimeSafePauseRecordSchema: z.ZodObject<{
|
|
122
|
+
schema_version: z.ZodLiteral<"runtime-safe-pause-v1">;
|
|
123
|
+
goal_id: z.ZodString;
|
|
124
|
+
state: z.ZodEnum<["running", "pause_requested", "paused", "resumed", "emergency_stopped", "completed"]>;
|
|
125
|
+
requested_at: z.ZodOptional<z.ZodString>;
|
|
126
|
+
paused_at: z.ZodOptional<z.ZodString>;
|
|
127
|
+
resumed_at: z.ZodOptional<z.ZodString>;
|
|
128
|
+
completed_at: z.ZodOptional<z.ZodString>;
|
|
129
|
+
updated_at: z.ZodString;
|
|
130
|
+
requested_by: z.ZodOptional<z.ZodString>;
|
|
131
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
132
|
+
checkpoint: z.ZodOptional<z.ZodObject<{
|
|
133
|
+
checkpoint_id: z.ZodString;
|
|
134
|
+
checkpointed_at: z.ZodString;
|
|
135
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
136
|
+
active_goals: z.ZodArray<z.ZodString, "many">;
|
|
137
|
+
queued_goal_ids: z.ZodArray<z.ZodString, "many">;
|
|
138
|
+
current_mode: z.ZodNullable<z.ZodString>;
|
|
139
|
+
candidate_evidence_refs: z.ZodArray<z.ZodString, "many">;
|
|
140
|
+
artifact_refs: z.ZodArray<z.ZodString, "many">;
|
|
141
|
+
next_action: z.ZodNullable<z.ZodString>;
|
|
142
|
+
supervisor_state_ref: z.ZodNullable<z.ZodString>;
|
|
143
|
+
background_run_ids: z.ZodArray<z.ZodString, "many">;
|
|
144
|
+
}, "strip", z.ZodTypeAny, {
|
|
145
|
+
artifact_refs: string[];
|
|
146
|
+
checkpoint_id: string;
|
|
147
|
+
checkpointed_at: string;
|
|
148
|
+
active_goals: string[];
|
|
149
|
+
queued_goal_ids: string[];
|
|
150
|
+
current_mode: string | null;
|
|
151
|
+
candidate_evidence_refs: string[];
|
|
152
|
+
next_action: string | null;
|
|
153
|
+
supervisor_state_ref: string | null;
|
|
154
|
+
background_run_ids: string[];
|
|
155
|
+
reason?: string | undefined;
|
|
156
|
+
}, {
|
|
157
|
+
artifact_refs: string[];
|
|
158
|
+
checkpoint_id: string;
|
|
159
|
+
checkpointed_at: string;
|
|
160
|
+
active_goals: string[];
|
|
161
|
+
queued_goal_ids: string[];
|
|
162
|
+
current_mode: string | null;
|
|
163
|
+
candidate_evidence_refs: string[];
|
|
164
|
+
next_action: string | null;
|
|
165
|
+
supervisor_state_ref: string | null;
|
|
166
|
+
background_run_ids: string[];
|
|
167
|
+
reason?: string | undefined;
|
|
168
|
+
}>>;
|
|
169
|
+
}, "strip", z.ZodTypeAny, {
|
|
170
|
+
updated_at: string;
|
|
171
|
+
goal_id: string;
|
|
172
|
+
schema_version: "runtime-safe-pause-v1";
|
|
173
|
+
state: "running" | "completed" | "paused" | "pause_requested" | "resumed" | "emergency_stopped";
|
|
174
|
+
completed_at?: string | undefined;
|
|
175
|
+
reason?: string | undefined;
|
|
176
|
+
requested_at?: string | undefined;
|
|
177
|
+
paused_at?: string | undefined;
|
|
178
|
+
resumed_at?: string | undefined;
|
|
179
|
+
requested_by?: string | undefined;
|
|
180
|
+
checkpoint?: {
|
|
181
|
+
artifact_refs: string[];
|
|
182
|
+
checkpoint_id: string;
|
|
183
|
+
checkpointed_at: string;
|
|
184
|
+
active_goals: string[];
|
|
185
|
+
queued_goal_ids: string[];
|
|
186
|
+
current_mode: string | null;
|
|
187
|
+
candidate_evidence_refs: string[];
|
|
188
|
+
next_action: string | null;
|
|
189
|
+
supervisor_state_ref: string | null;
|
|
190
|
+
background_run_ids: string[];
|
|
191
|
+
reason?: string | undefined;
|
|
192
|
+
} | undefined;
|
|
193
|
+
}, {
|
|
194
|
+
updated_at: string;
|
|
195
|
+
goal_id: string;
|
|
196
|
+
schema_version: "runtime-safe-pause-v1";
|
|
197
|
+
state: "running" | "completed" | "paused" | "pause_requested" | "resumed" | "emergency_stopped";
|
|
198
|
+
completed_at?: string | undefined;
|
|
199
|
+
reason?: string | undefined;
|
|
200
|
+
requested_at?: string | undefined;
|
|
201
|
+
paused_at?: string | undefined;
|
|
202
|
+
resumed_at?: string | undefined;
|
|
203
|
+
requested_by?: string | undefined;
|
|
204
|
+
checkpoint?: {
|
|
205
|
+
artifact_refs: string[];
|
|
206
|
+
checkpoint_id: string;
|
|
207
|
+
checkpointed_at: string;
|
|
208
|
+
active_goals: string[];
|
|
209
|
+
queued_goal_ids: string[];
|
|
210
|
+
current_mode: string | null;
|
|
211
|
+
candidate_evidence_refs: string[];
|
|
212
|
+
next_action: string | null;
|
|
213
|
+
supervisor_state_ref: string | null;
|
|
214
|
+
background_run_ids: string[];
|
|
215
|
+
reason?: string | undefined;
|
|
216
|
+
} | undefined;
|
|
217
|
+
}>;
|
|
218
|
+
export type RuntimeSafePauseRecord = z.infer<typeof RuntimeSafePauseRecordSchema>;
|
|
81
219
|
export declare const GoalLeaseRecordSchema: z.ZodObject<{
|
|
82
220
|
goal_id: z.ZodString;
|
|
83
221
|
owner_token: z.ZodString;
|
|
@@ -119,7 +257,7 @@ export declare const ApprovalRecordSchema: z.ZodObject<{
|
|
|
119
257
|
payload: z.ZodUnknown;
|
|
120
258
|
}, "strip", z.ZodTypeAny, {
|
|
121
259
|
created_at: number;
|
|
122
|
-
state: "pending" | "cancelled" | "expired" | "
|
|
260
|
+
state: "pending" | "cancelled" | "expired" | "approved" | "denied";
|
|
123
261
|
correlation_id: string;
|
|
124
262
|
approval_id: string;
|
|
125
263
|
request_envelope_id: string;
|
|
@@ -130,7 +268,7 @@ export declare const ApprovalRecordSchema: z.ZodObject<{
|
|
|
130
268
|
response_channel?: string | undefined;
|
|
131
269
|
}, {
|
|
132
270
|
created_at: number;
|
|
133
|
-
state: "pending" | "cancelled" | "expired" | "
|
|
271
|
+
state: "pending" | "cancelled" | "expired" | "approved" | "denied";
|
|
134
272
|
correlation_id: string;
|
|
135
273
|
approval_id: string;
|
|
136
274
|
request_envelope_id: string;
|
|
@@ -153,19 +291,657 @@ export declare const OutboxRecordSchema: z.ZodObject<{
|
|
|
153
291
|
seq: number;
|
|
154
292
|
event_type: string;
|
|
155
293
|
goal_id?: string | undefined;
|
|
156
|
-
payload?: unknown;
|
|
157
294
|
correlation_id?: string | undefined;
|
|
295
|
+
payload?: unknown;
|
|
158
296
|
}, {
|
|
159
297
|
created_at: number;
|
|
160
298
|
seq: number;
|
|
161
299
|
event_type: string;
|
|
162
300
|
goal_id?: string | undefined;
|
|
163
|
-
payload?: unknown;
|
|
164
301
|
correlation_id?: string | undefined;
|
|
302
|
+
payload?: unknown;
|
|
165
303
|
}>;
|
|
166
304
|
export type OutboxRecord = z.infer<typeof OutboxRecordSchema>;
|
|
167
305
|
export declare const RuntimeHealthStatusSchema: z.ZodEnum<["ok", "degraded", "failed"]>;
|
|
168
306
|
export type RuntimeHealthStatus = z.infer<typeof RuntimeHealthStatusSchema>;
|
|
307
|
+
export declare const RuntimeLongRunProcessStatusSchema: z.ZodEnum<["alive", "dead", "unknown"]>;
|
|
308
|
+
export type RuntimeLongRunProcessStatus = z.infer<typeof RuntimeLongRunProcessStatusSchema>;
|
|
309
|
+
export declare const RuntimeLongRunChildActivityStatusSchema: z.ZodEnum<["active", "idle", "unknown"]>;
|
|
310
|
+
export type RuntimeLongRunChildActivityStatus = z.infer<typeof RuntimeLongRunChildActivityStatusSchema>;
|
|
311
|
+
export declare const RuntimeLongRunFreshnessStatusSchema: z.ZodEnum<["fresh", "stale", "missing", "unknown"]>;
|
|
312
|
+
export type RuntimeLongRunFreshnessStatus = z.infer<typeof RuntimeLongRunFreshnessStatusSchema>;
|
|
313
|
+
export declare const RuntimeLongRunMetricProgressStatusSchema: z.ZodEnum<["improved", "plateau", "regressed", "missing", "unknown"]>;
|
|
314
|
+
export type RuntimeLongRunMetricProgressStatus = z.infer<typeof RuntimeLongRunMetricProgressStatusSchema>;
|
|
315
|
+
export declare const RuntimeLongRunBlockerStatusSchema: z.ZodEnum<["none", "approval_wait", "auth_wait", "operator_wait", "resource_pressure", "blocked", "unknown"]>;
|
|
316
|
+
export type RuntimeLongRunBlockerStatus = z.infer<typeof RuntimeLongRunBlockerStatusSchema>;
|
|
317
|
+
export declare const RuntimeLongRunHealthSummarySchema: z.ZodEnum<["alive_and_progressing", "alive_but_metric_stalled", "alive_but_artifact_stalled", "alive_but_waiting", "alive_but_stalled", "dead_but_resumable", "dead_needs_intervention", "unknown"]>;
|
|
318
|
+
export type RuntimeLongRunHealthSummary = z.infer<typeof RuntimeLongRunHealthSummarySchema>;
|
|
319
|
+
export declare const RuntimeLongRunHealthSignalsSchema: z.ZodObject<{
|
|
320
|
+
process: z.ZodObject<{
|
|
321
|
+
checked_at: z.ZodNumber;
|
|
322
|
+
observed_at: z.ZodOptional<z.ZodNumber>;
|
|
323
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
324
|
+
} & {
|
|
325
|
+
status: z.ZodEnum<["alive", "dead", "unknown"]>;
|
|
326
|
+
pid: z.ZodOptional<z.ZodNumber>;
|
|
327
|
+
}, "strip", z.ZodTypeAny, {
|
|
328
|
+
status: "unknown" | "alive" | "dead";
|
|
329
|
+
checked_at: number;
|
|
330
|
+
reason?: string | undefined;
|
|
331
|
+
observed_at?: number | undefined;
|
|
332
|
+
pid?: number | undefined;
|
|
333
|
+
}, {
|
|
334
|
+
status: "unknown" | "alive" | "dead";
|
|
335
|
+
checked_at: number;
|
|
336
|
+
reason?: string | undefined;
|
|
337
|
+
observed_at?: number | undefined;
|
|
338
|
+
pid?: number | undefined;
|
|
339
|
+
}>;
|
|
340
|
+
child_activity: z.ZodObject<{
|
|
341
|
+
checked_at: z.ZodNumber;
|
|
342
|
+
observed_at: z.ZodOptional<z.ZodNumber>;
|
|
343
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
344
|
+
} & {
|
|
345
|
+
status: z.ZodEnum<["active", "idle", "unknown"]>;
|
|
346
|
+
active_count: z.ZodOptional<z.ZodNumber>;
|
|
347
|
+
}, "strip", z.ZodTypeAny, {
|
|
348
|
+
status: "unknown" | "active" | "idle";
|
|
349
|
+
checked_at: number;
|
|
350
|
+
reason?: string | undefined;
|
|
351
|
+
observed_at?: number | undefined;
|
|
352
|
+
active_count?: number | undefined;
|
|
353
|
+
}, {
|
|
354
|
+
status: "unknown" | "active" | "idle";
|
|
355
|
+
checked_at: number;
|
|
356
|
+
reason?: string | undefined;
|
|
357
|
+
observed_at?: number | undefined;
|
|
358
|
+
active_count?: number | undefined;
|
|
359
|
+
}>;
|
|
360
|
+
log_freshness: z.ZodObject<{
|
|
361
|
+
checked_at: z.ZodNumber;
|
|
362
|
+
observed_at: z.ZodOptional<z.ZodNumber>;
|
|
363
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
364
|
+
} & {
|
|
365
|
+
status: z.ZodEnum<["fresh", "stale", "missing", "unknown"]>;
|
|
366
|
+
path: z.ZodOptional<z.ZodString>;
|
|
367
|
+
}, "strip", z.ZodTypeAny, {
|
|
368
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
369
|
+
checked_at: number;
|
|
370
|
+
path?: string | undefined;
|
|
371
|
+
reason?: string | undefined;
|
|
372
|
+
observed_at?: number | undefined;
|
|
373
|
+
}, {
|
|
374
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
375
|
+
checked_at: number;
|
|
376
|
+
path?: string | undefined;
|
|
377
|
+
reason?: string | undefined;
|
|
378
|
+
observed_at?: number | undefined;
|
|
379
|
+
}>;
|
|
380
|
+
artifact_freshness: z.ZodObject<{
|
|
381
|
+
checked_at: z.ZodNumber;
|
|
382
|
+
observed_at: z.ZodOptional<z.ZodNumber>;
|
|
383
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
384
|
+
} & {
|
|
385
|
+
status: z.ZodEnum<["fresh", "stale", "missing", "unknown"]>;
|
|
386
|
+
path: z.ZodOptional<z.ZodString>;
|
|
387
|
+
}, "strip", z.ZodTypeAny, {
|
|
388
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
389
|
+
checked_at: number;
|
|
390
|
+
path?: string | undefined;
|
|
391
|
+
reason?: string | undefined;
|
|
392
|
+
observed_at?: number | undefined;
|
|
393
|
+
}, {
|
|
394
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
395
|
+
checked_at: number;
|
|
396
|
+
path?: string | undefined;
|
|
397
|
+
reason?: string | undefined;
|
|
398
|
+
observed_at?: number | undefined;
|
|
399
|
+
}>;
|
|
400
|
+
metric_freshness: z.ZodObject<{
|
|
401
|
+
checked_at: z.ZodNumber;
|
|
402
|
+
observed_at: z.ZodOptional<z.ZodNumber>;
|
|
403
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
404
|
+
} & {
|
|
405
|
+
status: z.ZodEnum<["fresh", "stale", "missing", "unknown"]>;
|
|
406
|
+
metric_name: z.ZodOptional<z.ZodString>;
|
|
407
|
+
}, "strip", z.ZodTypeAny, {
|
|
408
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
409
|
+
checked_at: number;
|
|
410
|
+
reason?: string | undefined;
|
|
411
|
+
observed_at?: number | undefined;
|
|
412
|
+
metric_name?: string | undefined;
|
|
413
|
+
}, {
|
|
414
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
415
|
+
checked_at: number;
|
|
416
|
+
reason?: string | undefined;
|
|
417
|
+
observed_at?: number | undefined;
|
|
418
|
+
metric_name?: string | undefined;
|
|
419
|
+
}>;
|
|
420
|
+
metric_progress: z.ZodObject<{
|
|
421
|
+
checked_at: z.ZodNumber;
|
|
422
|
+
observed_at: z.ZodOptional<z.ZodNumber>;
|
|
423
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
424
|
+
} & {
|
|
425
|
+
status: z.ZodEnum<["improved", "plateau", "regressed", "missing", "unknown"]>;
|
|
426
|
+
metric_name: z.ZodOptional<z.ZodString>;
|
|
427
|
+
previous_value: z.ZodOptional<z.ZodNumber>;
|
|
428
|
+
current_value: z.ZodOptional<z.ZodNumber>;
|
|
429
|
+
}, "strip", z.ZodTypeAny, {
|
|
430
|
+
status: "unknown" | "improved" | "missing" | "plateau" | "regressed";
|
|
431
|
+
checked_at: number;
|
|
432
|
+
current_value?: number | undefined;
|
|
433
|
+
previous_value?: number | undefined;
|
|
434
|
+
reason?: string | undefined;
|
|
435
|
+
observed_at?: number | undefined;
|
|
436
|
+
metric_name?: string | undefined;
|
|
437
|
+
}, {
|
|
438
|
+
status: "unknown" | "improved" | "missing" | "plateau" | "regressed";
|
|
439
|
+
checked_at: number;
|
|
440
|
+
current_value?: number | undefined;
|
|
441
|
+
previous_value?: number | undefined;
|
|
442
|
+
reason?: string | undefined;
|
|
443
|
+
observed_at?: number | undefined;
|
|
444
|
+
metric_name?: string | undefined;
|
|
445
|
+
}>;
|
|
446
|
+
blocker: z.ZodObject<{
|
|
447
|
+
checked_at: z.ZodNumber;
|
|
448
|
+
observed_at: z.ZodOptional<z.ZodNumber>;
|
|
449
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
450
|
+
} & {
|
|
451
|
+
status: z.ZodEnum<["none", "approval_wait", "auth_wait", "operator_wait", "resource_pressure", "blocked", "unknown"]>;
|
|
452
|
+
}, "strip", z.ZodTypeAny, {
|
|
453
|
+
status: "unknown" | "none" | "approval_wait" | "auth_wait" | "operator_wait" | "resource_pressure" | "blocked";
|
|
454
|
+
checked_at: number;
|
|
455
|
+
reason?: string | undefined;
|
|
456
|
+
observed_at?: number | undefined;
|
|
457
|
+
}, {
|
|
458
|
+
status: "unknown" | "none" | "approval_wait" | "auth_wait" | "operator_wait" | "resource_pressure" | "blocked";
|
|
459
|
+
checked_at: number;
|
|
460
|
+
reason?: string | undefined;
|
|
461
|
+
observed_at?: number | undefined;
|
|
462
|
+
}>;
|
|
463
|
+
expected_next_checkpoint_at: z.ZodOptional<z.ZodNumber>;
|
|
464
|
+
resumable: z.ZodOptional<z.ZodBoolean>;
|
|
465
|
+
}, "strip", z.ZodTypeAny, {
|
|
466
|
+
process: {
|
|
467
|
+
status: "unknown" | "alive" | "dead";
|
|
468
|
+
checked_at: number;
|
|
469
|
+
reason?: string | undefined;
|
|
470
|
+
observed_at?: number | undefined;
|
|
471
|
+
pid?: number | undefined;
|
|
472
|
+
};
|
|
473
|
+
child_activity: {
|
|
474
|
+
status: "unknown" | "active" | "idle";
|
|
475
|
+
checked_at: number;
|
|
476
|
+
reason?: string | undefined;
|
|
477
|
+
observed_at?: number | undefined;
|
|
478
|
+
active_count?: number | undefined;
|
|
479
|
+
};
|
|
480
|
+
log_freshness: {
|
|
481
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
482
|
+
checked_at: number;
|
|
483
|
+
path?: string | undefined;
|
|
484
|
+
reason?: string | undefined;
|
|
485
|
+
observed_at?: number | undefined;
|
|
486
|
+
};
|
|
487
|
+
artifact_freshness: {
|
|
488
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
489
|
+
checked_at: number;
|
|
490
|
+
path?: string | undefined;
|
|
491
|
+
reason?: string | undefined;
|
|
492
|
+
observed_at?: number | undefined;
|
|
493
|
+
};
|
|
494
|
+
metric_freshness: {
|
|
495
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
496
|
+
checked_at: number;
|
|
497
|
+
reason?: string | undefined;
|
|
498
|
+
observed_at?: number | undefined;
|
|
499
|
+
metric_name?: string | undefined;
|
|
500
|
+
};
|
|
501
|
+
metric_progress: {
|
|
502
|
+
status: "unknown" | "improved" | "missing" | "plateau" | "regressed";
|
|
503
|
+
checked_at: number;
|
|
504
|
+
current_value?: number | undefined;
|
|
505
|
+
previous_value?: number | undefined;
|
|
506
|
+
reason?: string | undefined;
|
|
507
|
+
observed_at?: number | undefined;
|
|
508
|
+
metric_name?: string | undefined;
|
|
509
|
+
};
|
|
510
|
+
blocker: {
|
|
511
|
+
status: "unknown" | "none" | "approval_wait" | "auth_wait" | "operator_wait" | "resource_pressure" | "blocked";
|
|
512
|
+
checked_at: number;
|
|
513
|
+
reason?: string | undefined;
|
|
514
|
+
observed_at?: number | undefined;
|
|
515
|
+
};
|
|
516
|
+
expected_next_checkpoint_at?: number | undefined;
|
|
517
|
+
resumable?: boolean | undefined;
|
|
518
|
+
}, {
|
|
519
|
+
process: {
|
|
520
|
+
status: "unknown" | "alive" | "dead";
|
|
521
|
+
checked_at: number;
|
|
522
|
+
reason?: string | undefined;
|
|
523
|
+
observed_at?: number | undefined;
|
|
524
|
+
pid?: number | undefined;
|
|
525
|
+
};
|
|
526
|
+
child_activity: {
|
|
527
|
+
status: "unknown" | "active" | "idle";
|
|
528
|
+
checked_at: number;
|
|
529
|
+
reason?: string | undefined;
|
|
530
|
+
observed_at?: number | undefined;
|
|
531
|
+
active_count?: number | undefined;
|
|
532
|
+
};
|
|
533
|
+
log_freshness: {
|
|
534
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
535
|
+
checked_at: number;
|
|
536
|
+
path?: string | undefined;
|
|
537
|
+
reason?: string | undefined;
|
|
538
|
+
observed_at?: number | undefined;
|
|
539
|
+
};
|
|
540
|
+
artifact_freshness: {
|
|
541
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
542
|
+
checked_at: number;
|
|
543
|
+
path?: string | undefined;
|
|
544
|
+
reason?: string | undefined;
|
|
545
|
+
observed_at?: number | undefined;
|
|
546
|
+
};
|
|
547
|
+
metric_freshness: {
|
|
548
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
549
|
+
checked_at: number;
|
|
550
|
+
reason?: string | undefined;
|
|
551
|
+
observed_at?: number | undefined;
|
|
552
|
+
metric_name?: string | undefined;
|
|
553
|
+
};
|
|
554
|
+
metric_progress: {
|
|
555
|
+
status: "unknown" | "improved" | "missing" | "plateau" | "regressed";
|
|
556
|
+
checked_at: number;
|
|
557
|
+
current_value?: number | undefined;
|
|
558
|
+
previous_value?: number | undefined;
|
|
559
|
+
reason?: string | undefined;
|
|
560
|
+
observed_at?: number | undefined;
|
|
561
|
+
metric_name?: string | undefined;
|
|
562
|
+
};
|
|
563
|
+
blocker: {
|
|
564
|
+
status: "unknown" | "none" | "approval_wait" | "auth_wait" | "operator_wait" | "resource_pressure" | "blocked";
|
|
565
|
+
checked_at: number;
|
|
566
|
+
reason?: string | undefined;
|
|
567
|
+
observed_at?: number | undefined;
|
|
568
|
+
};
|
|
569
|
+
expected_next_checkpoint_at?: number | undefined;
|
|
570
|
+
resumable?: boolean | undefined;
|
|
571
|
+
}>;
|
|
572
|
+
export type RuntimeLongRunHealthSignals = z.infer<typeof RuntimeLongRunHealthSignalsSchema>;
|
|
573
|
+
export declare const RuntimeLongRunHealthSchema: z.ZodObject<{
|
|
574
|
+
summary: z.ZodEnum<["alive_and_progressing", "alive_but_metric_stalled", "alive_but_artifact_stalled", "alive_but_waiting", "alive_but_stalled", "dead_but_resumable", "dead_needs_intervention", "unknown"]>;
|
|
575
|
+
checked_at: z.ZodNumber;
|
|
576
|
+
signals: z.ZodObject<{
|
|
577
|
+
process: z.ZodObject<{
|
|
578
|
+
checked_at: z.ZodNumber;
|
|
579
|
+
observed_at: z.ZodOptional<z.ZodNumber>;
|
|
580
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
581
|
+
} & {
|
|
582
|
+
status: z.ZodEnum<["alive", "dead", "unknown"]>;
|
|
583
|
+
pid: z.ZodOptional<z.ZodNumber>;
|
|
584
|
+
}, "strip", z.ZodTypeAny, {
|
|
585
|
+
status: "unknown" | "alive" | "dead";
|
|
586
|
+
checked_at: number;
|
|
587
|
+
reason?: string | undefined;
|
|
588
|
+
observed_at?: number | undefined;
|
|
589
|
+
pid?: number | undefined;
|
|
590
|
+
}, {
|
|
591
|
+
status: "unknown" | "alive" | "dead";
|
|
592
|
+
checked_at: number;
|
|
593
|
+
reason?: string | undefined;
|
|
594
|
+
observed_at?: number | undefined;
|
|
595
|
+
pid?: number | undefined;
|
|
596
|
+
}>;
|
|
597
|
+
child_activity: z.ZodObject<{
|
|
598
|
+
checked_at: z.ZodNumber;
|
|
599
|
+
observed_at: z.ZodOptional<z.ZodNumber>;
|
|
600
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
601
|
+
} & {
|
|
602
|
+
status: z.ZodEnum<["active", "idle", "unknown"]>;
|
|
603
|
+
active_count: z.ZodOptional<z.ZodNumber>;
|
|
604
|
+
}, "strip", z.ZodTypeAny, {
|
|
605
|
+
status: "unknown" | "active" | "idle";
|
|
606
|
+
checked_at: number;
|
|
607
|
+
reason?: string | undefined;
|
|
608
|
+
observed_at?: number | undefined;
|
|
609
|
+
active_count?: number | undefined;
|
|
610
|
+
}, {
|
|
611
|
+
status: "unknown" | "active" | "idle";
|
|
612
|
+
checked_at: number;
|
|
613
|
+
reason?: string | undefined;
|
|
614
|
+
observed_at?: number | undefined;
|
|
615
|
+
active_count?: number | undefined;
|
|
616
|
+
}>;
|
|
617
|
+
log_freshness: z.ZodObject<{
|
|
618
|
+
checked_at: z.ZodNumber;
|
|
619
|
+
observed_at: z.ZodOptional<z.ZodNumber>;
|
|
620
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
621
|
+
} & {
|
|
622
|
+
status: z.ZodEnum<["fresh", "stale", "missing", "unknown"]>;
|
|
623
|
+
path: z.ZodOptional<z.ZodString>;
|
|
624
|
+
}, "strip", z.ZodTypeAny, {
|
|
625
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
626
|
+
checked_at: number;
|
|
627
|
+
path?: string | undefined;
|
|
628
|
+
reason?: string | undefined;
|
|
629
|
+
observed_at?: number | undefined;
|
|
630
|
+
}, {
|
|
631
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
632
|
+
checked_at: number;
|
|
633
|
+
path?: string | undefined;
|
|
634
|
+
reason?: string | undefined;
|
|
635
|
+
observed_at?: number | undefined;
|
|
636
|
+
}>;
|
|
637
|
+
artifact_freshness: z.ZodObject<{
|
|
638
|
+
checked_at: z.ZodNumber;
|
|
639
|
+
observed_at: z.ZodOptional<z.ZodNumber>;
|
|
640
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
641
|
+
} & {
|
|
642
|
+
status: z.ZodEnum<["fresh", "stale", "missing", "unknown"]>;
|
|
643
|
+
path: z.ZodOptional<z.ZodString>;
|
|
644
|
+
}, "strip", z.ZodTypeAny, {
|
|
645
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
646
|
+
checked_at: number;
|
|
647
|
+
path?: string | undefined;
|
|
648
|
+
reason?: string | undefined;
|
|
649
|
+
observed_at?: number | undefined;
|
|
650
|
+
}, {
|
|
651
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
652
|
+
checked_at: number;
|
|
653
|
+
path?: string | undefined;
|
|
654
|
+
reason?: string | undefined;
|
|
655
|
+
observed_at?: number | undefined;
|
|
656
|
+
}>;
|
|
657
|
+
metric_freshness: z.ZodObject<{
|
|
658
|
+
checked_at: z.ZodNumber;
|
|
659
|
+
observed_at: z.ZodOptional<z.ZodNumber>;
|
|
660
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
661
|
+
} & {
|
|
662
|
+
status: z.ZodEnum<["fresh", "stale", "missing", "unknown"]>;
|
|
663
|
+
metric_name: z.ZodOptional<z.ZodString>;
|
|
664
|
+
}, "strip", z.ZodTypeAny, {
|
|
665
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
666
|
+
checked_at: number;
|
|
667
|
+
reason?: string | undefined;
|
|
668
|
+
observed_at?: number | undefined;
|
|
669
|
+
metric_name?: string | undefined;
|
|
670
|
+
}, {
|
|
671
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
672
|
+
checked_at: number;
|
|
673
|
+
reason?: string | undefined;
|
|
674
|
+
observed_at?: number | undefined;
|
|
675
|
+
metric_name?: string | undefined;
|
|
676
|
+
}>;
|
|
677
|
+
metric_progress: z.ZodObject<{
|
|
678
|
+
checked_at: z.ZodNumber;
|
|
679
|
+
observed_at: z.ZodOptional<z.ZodNumber>;
|
|
680
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
681
|
+
} & {
|
|
682
|
+
status: z.ZodEnum<["improved", "plateau", "regressed", "missing", "unknown"]>;
|
|
683
|
+
metric_name: z.ZodOptional<z.ZodString>;
|
|
684
|
+
previous_value: z.ZodOptional<z.ZodNumber>;
|
|
685
|
+
current_value: z.ZodOptional<z.ZodNumber>;
|
|
686
|
+
}, "strip", z.ZodTypeAny, {
|
|
687
|
+
status: "unknown" | "improved" | "missing" | "plateau" | "regressed";
|
|
688
|
+
checked_at: number;
|
|
689
|
+
current_value?: number | undefined;
|
|
690
|
+
previous_value?: number | undefined;
|
|
691
|
+
reason?: string | undefined;
|
|
692
|
+
observed_at?: number | undefined;
|
|
693
|
+
metric_name?: string | undefined;
|
|
694
|
+
}, {
|
|
695
|
+
status: "unknown" | "improved" | "missing" | "plateau" | "regressed";
|
|
696
|
+
checked_at: number;
|
|
697
|
+
current_value?: number | undefined;
|
|
698
|
+
previous_value?: number | undefined;
|
|
699
|
+
reason?: string | undefined;
|
|
700
|
+
observed_at?: number | undefined;
|
|
701
|
+
metric_name?: string | undefined;
|
|
702
|
+
}>;
|
|
703
|
+
blocker: z.ZodObject<{
|
|
704
|
+
checked_at: z.ZodNumber;
|
|
705
|
+
observed_at: z.ZodOptional<z.ZodNumber>;
|
|
706
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
707
|
+
} & {
|
|
708
|
+
status: z.ZodEnum<["none", "approval_wait", "auth_wait", "operator_wait", "resource_pressure", "blocked", "unknown"]>;
|
|
709
|
+
}, "strip", z.ZodTypeAny, {
|
|
710
|
+
status: "unknown" | "none" | "approval_wait" | "auth_wait" | "operator_wait" | "resource_pressure" | "blocked";
|
|
711
|
+
checked_at: number;
|
|
712
|
+
reason?: string | undefined;
|
|
713
|
+
observed_at?: number | undefined;
|
|
714
|
+
}, {
|
|
715
|
+
status: "unknown" | "none" | "approval_wait" | "auth_wait" | "operator_wait" | "resource_pressure" | "blocked";
|
|
716
|
+
checked_at: number;
|
|
717
|
+
reason?: string | undefined;
|
|
718
|
+
observed_at?: number | undefined;
|
|
719
|
+
}>;
|
|
720
|
+
expected_next_checkpoint_at: z.ZodOptional<z.ZodNumber>;
|
|
721
|
+
resumable: z.ZodOptional<z.ZodBoolean>;
|
|
722
|
+
}, "strip", z.ZodTypeAny, {
|
|
723
|
+
process: {
|
|
724
|
+
status: "unknown" | "alive" | "dead";
|
|
725
|
+
checked_at: number;
|
|
726
|
+
reason?: string | undefined;
|
|
727
|
+
observed_at?: number | undefined;
|
|
728
|
+
pid?: number | undefined;
|
|
729
|
+
};
|
|
730
|
+
child_activity: {
|
|
731
|
+
status: "unknown" | "active" | "idle";
|
|
732
|
+
checked_at: number;
|
|
733
|
+
reason?: string | undefined;
|
|
734
|
+
observed_at?: number | undefined;
|
|
735
|
+
active_count?: number | undefined;
|
|
736
|
+
};
|
|
737
|
+
log_freshness: {
|
|
738
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
739
|
+
checked_at: number;
|
|
740
|
+
path?: string | undefined;
|
|
741
|
+
reason?: string | undefined;
|
|
742
|
+
observed_at?: number | undefined;
|
|
743
|
+
};
|
|
744
|
+
artifact_freshness: {
|
|
745
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
746
|
+
checked_at: number;
|
|
747
|
+
path?: string | undefined;
|
|
748
|
+
reason?: string | undefined;
|
|
749
|
+
observed_at?: number | undefined;
|
|
750
|
+
};
|
|
751
|
+
metric_freshness: {
|
|
752
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
753
|
+
checked_at: number;
|
|
754
|
+
reason?: string | undefined;
|
|
755
|
+
observed_at?: number | undefined;
|
|
756
|
+
metric_name?: string | undefined;
|
|
757
|
+
};
|
|
758
|
+
metric_progress: {
|
|
759
|
+
status: "unknown" | "improved" | "missing" | "plateau" | "regressed";
|
|
760
|
+
checked_at: number;
|
|
761
|
+
current_value?: number | undefined;
|
|
762
|
+
previous_value?: number | undefined;
|
|
763
|
+
reason?: string | undefined;
|
|
764
|
+
observed_at?: number | undefined;
|
|
765
|
+
metric_name?: string | undefined;
|
|
766
|
+
};
|
|
767
|
+
blocker: {
|
|
768
|
+
status: "unknown" | "none" | "approval_wait" | "auth_wait" | "operator_wait" | "resource_pressure" | "blocked";
|
|
769
|
+
checked_at: number;
|
|
770
|
+
reason?: string | undefined;
|
|
771
|
+
observed_at?: number | undefined;
|
|
772
|
+
};
|
|
773
|
+
expected_next_checkpoint_at?: number | undefined;
|
|
774
|
+
resumable?: boolean | undefined;
|
|
775
|
+
}, {
|
|
776
|
+
process: {
|
|
777
|
+
status: "unknown" | "alive" | "dead";
|
|
778
|
+
checked_at: number;
|
|
779
|
+
reason?: string | undefined;
|
|
780
|
+
observed_at?: number | undefined;
|
|
781
|
+
pid?: number | undefined;
|
|
782
|
+
};
|
|
783
|
+
child_activity: {
|
|
784
|
+
status: "unknown" | "active" | "idle";
|
|
785
|
+
checked_at: number;
|
|
786
|
+
reason?: string | undefined;
|
|
787
|
+
observed_at?: number | undefined;
|
|
788
|
+
active_count?: number | undefined;
|
|
789
|
+
};
|
|
790
|
+
log_freshness: {
|
|
791
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
792
|
+
checked_at: number;
|
|
793
|
+
path?: string | undefined;
|
|
794
|
+
reason?: string | undefined;
|
|
795
|
+
observed_at?: number | undefined;
|
|
796
|
+
};
|
|
797
|
+
artifact_freshness: {
|
|
798
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
799
|
+
checked_at: number;
|
|
800
|
+
path?: string | undefined;
|
|
801
|
+
reason?: string | undefined;
|
|
802
|
+
observed_at?: number | undefined;
|
|
803
|
+
};
|
|
804
|
+
metric_freshness: {
|
|
805
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
806
|
+
checked_at: number;
|
|
807
|
+
reason?: string | undefined;
|
|
808
|
+
observed_at?: number | undefined;
|
|
809
|
+
metric_name?: string | undefined;
|
|
810
|
+
};
|
|
811
|
+
metric_progress: {
|
|
812
|
+
status: "unknown" | "improved" | "missing" | "plateau" | "regressed";
|
|
813
|
+
checked_at: number;
|
|
814
|
+
current_value?: number | undefined;
|
|
815
|
+
previous_value?: number | undefined;
|
|
816
|
+
reason?: string | undefined;
|
|
817
|
+
observed_at?: number | undefined;
|
|
818
|
+
metric_name?: string | undefined;
|
|
819
|
+
};
|
|
820
|
+
blocker: {
|
|
821
|
+
status: "unknown" | "none" | "approval_wait" | "auth_wait" | "operator_wait" | "resource_pressure" | "blocked";
|
|
822
|
+
checked_at: number;
|
|
823
|
+
reason?: string | undefined;
|
|
824
|
+
observed_at?: number | undefined;
|
|
825
|
+
};
|
|
826
|
+
expected_next_checkpoint_at?: number | undefined;
|
|
827
|
+
resumable?: boolean | undefined;
|
|
828
|
+
}>;
|
|
829
|
+
}, "strip", z.ZodTypeAny, {
|
|
830
|
+
checked_at: number;
|
|
831
|
+
summary: "unknown" | "alive_and_progressing" | "alive_but_metric_stalled" | "alive_but_artifact_stalled" | "alive_but_waiting" | "alive_but_stalled" | "dead_but_resumable" | "dead_needs_intervention";
|
|
832
|
+
signals: {
|
|
833
|
+
process: {
|
|
834
|
+
status: "unknown" | "alive" | "dead";
|
|
835
|
+
checked_at: number;
|
|
836
|
+
reason?: string | undefined;
|
|
837
|
+
observed_at?: number | undefined;
|
|
838
|
+
pid?: number | undefined;
|
|
839
|
+
};
|
|
840
|
+
child_activity: {
|
|
841
|
+
status: "unknown" | "active" | "idle";
|
|
842
|
+
checked_at: number;
|
|
843
|
+
reason?: string | undefined;
|
|
844
|
+
observed_at?: number | undefined;
|
|
845
|
+
active_count?: number | undefined;
|
|
846
|
+
};
|
|
847
|
+
log_freshness: {
|
|
848
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
849
|
+
checked_at: number;
|
|
850
|
+
path?: string | undefined;
|
|
851
|
+
reason?: string | undefined;
|
|
852
|
+
observed_at?: number | undefined;
|
|
853
|
+
};
|
|
854
|
+
artifact_freshness: {
|
|
855
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
856
|
+
checked_at: number;
|
|
857
|
+
path?: string | undefined;
|
|
858
|
+
reason?: string | undefined;
|
|
859
|
+
observed_at?: number | undefined;
|
|
860
|
+
};
|
|
861
|
+
metric_freshness: {
|
|
862
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
863
|
+
checked_at: number;
|
|
864
|
+
reason?: string | undefined;
|
|
865
|
+
observed_at?: number | undefined;
|
|
866
|
+
metric_name?: string | undefined;
|
|
867
|
+
};
|
|
868
|
+
metric_progress: {
|
|
869
|
+
status: "unknown" | "improved" | "missing" | "plateau" | "regressed";
|
|
870
|
+
checked_at: number;
|
|
871
|
+
current_value?: number | undefined;
|
|
872
|
+
previous_value?: number | undefined;
|
|
873
|
+
reason?: string | undefined;
|
|
874
|
+
observed_at?: number | undefined;
|
|
875
|
+
metric_name?: string | undefined;
|
|
876
|
+
};
|
|
877
|
+
blocker: {
|
|
878
|
+
status: "unknown" | "none" | "approval_wait" | "auth_wait" | "operator_wait" | "resource_pressure" | "blocked";
|
|
879
|
+
checked_at: number;
|
|
880
|
+
reason?: string | undefined;
|
|
881
|
+
observed_at?: number | undefined;
|
|
882
|
+
};
|
|
883
|
+
expected_next_checkpoint_at?: number | undefined;
|
|
884
|
+
resumable?: boolean | undefined;
|
|
885
|
+
};
|
|
886
|
+
}, {
|
|
887
|
+
checked_at: number;
|
|
888
|
+
summary: "unknown" | "alive_and_progressing" | "alive_but_metric_stalled" | "alive_but_artifact_stalled" | "alive_but_waiting" | "alive_but_stalled" | "dead_but_resumable" | "dead_needs_intervention";
|
|
889
|
+
signals: {
|
|
890
|
+
process: {
|
|
891
|
+
status: "unknown" | "alive" | "dead";
|
|
892
|
+
checked_at: number;
|
|
893
|
+
reason?: string | undefined;
|
|
894
|
+
observed_at?: number | undefined;
|
|
895
|
+
pid?: number | undefined;
|
|
896
|
+
};
|
|
897
|
+
child_activity: {
|
|
898
|
+
status: "unknown" | "active" | "idle";
|
|
899
|
+
checked_at: number;
|
|
900
|
+
reason?: string | undefined;
|
|
901
|
+
observed_at?: number | undefined;
|
|
902
|
+
active_count?: number | undefined;
|
|
903
|
+
};
|
|
904
|
+
log_freshness: {
|
|
905
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
906
|
+
checked_at: number;
|
|
907
|
+
path?: string | undefined;
|
|
908
|
+
reason?: string | undefined;
|
|
909
|
+
observed_at?: number | undefined;
|
|
910
|
+
};
|
|
911
|
+
artifact_freshness: {
|
|
912
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
913
|
+
checked_at: number;
|
|
914
|
+
path?: string | undefined;
|
|
915
|
+
reason?: string | undefined;
|
|
916
|
+
observed_at?: number | undefined;
|
|
917
|
+
};
|
|
918
|
+
metric_freshness: {
|
|
919
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
920
|
+
checked_at: number;
|
|
921
|
+
reason?: string | undefined;
|
|
922
|
+
observed_at?: number | undefined;
|
|
923
|
+
metric_name?: string | undefined;
|
|
924
|
+
};
|
|
925
|
+
metric_progress: {
|
|
926
|
+
status: "unknown" | "improved" | "missing" | "plateau" | "regressed";
|
|
927
|
+
checked_at: number;
|
|
928
|
+
current_value?: number | undefined;
|
|
929
|
+
previous_value?: number | undefined;
|
|
930
|
+
reason?: string | undefined;
|
|
931
|
+
observed_at?: number | undefined;
|
|
932
|
+
metric_name?: string | undefined;
|
|
933
|
+
};
|
|
934
|
+
blocker: {
|
|
935
|
+
status: "unknown" | "none" | "approval_wait" | "auth_wait" | "operator_wait" | "resource_pressure" | "blocked";
|
|
936
|
+
checked_at: number;
|
|
937
|
+
reason?: string | undefined;
|
|
938
|
+
observed_at?: number | undefined;
|
|
939
|
+
};
|
|
940
|
+
expected_next_checkpoint_at?: number | undefined;
|
|
941
|
+
resumable?: boolean | undefined;
|
|
942
|
+
};
|
|
943
|
+
}>;
|
|
944
|
+
export type RuntimeLongRunHealth = z.infer<typeof RuntimeLongRunHealthSchema>;
|
|
169
945
|
export declare const RuntimeHealthCapabilitySchema: z.ZodObject<{
|
|
170
946
|
status: z.ZodEnum<["ok", "degraded", "failed"]>;
|
|
171
947
|
checked_at: z.ZodNumber;
|
|
@@ -455,6 +1231,377 @@ export declare const RuntimeDaemonHealthSchema: z.ZodObject<{
|
|
|
455
1231
|
degraded_at?: number | undefined;
|
|
456
1232
|
recovered_at?: number | undefined;
|
|
457
1233
|
}>>;
|
|
1234
|
+
long_running: z.ZodOptional<z.ZodObject<{
|
|
1235
|
+
summary: z.ZodEnum<["alive_and_progressing", "alive_but_metric_stalled", "alive_but_artifact_stalled", "alive_but_waiting", "alive_but_stalled", "dead_but_resumable", "dead_needs_intervention", "unknown"]>;
|
|
1236
|
+
checked_at: z.ZodNumber;
|
|
1237
|
+
signals: z.ZodObject<{
|
|
1238
|
+
process: z.ZodObject<{
|
|
1239
|
+
checked_at: z.ZodNumber;
|
|
1240
|
+
observed_at: z.ZodOptional<z.ZodNumber>;
|
|
1241
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1242
|
+
} & {
|
|
1243
|
+
status: z.ZodEnum<["alive", "dead", "unknown"]>;
|
|
1244
|
+
pid: z.ZodOptional<z.ZodNumber>;
|
|
1245
|
+
}, "strip", z.ZodTypeAny, {
|
|
1246
|
+
status: "unknown" | "alive" | "dead";
|
|
1247
|
+
checked_at: number;
|
|
1248
|
+
reason?: string | undefined;
|
|
1249
|
+
observed_at?: number | undefined;
|
|
1250
|
+
pid?: number | undefined;
|
|
1251
|
+
}, {
|
|
1252
|
+
status: "unknown" | "alive" | "dead";
|
|
1253
|
+
checked_at: number;
|
|
1254
|
+
reason?: string | undefined;
|
|
1255
|
+
observed_at?: number | undefined;
|
|
1256
|
+
pid?: number | undefined;
|
|
1257
|
+
}>;
|
|
1258
|
+
child_activity: z.ZodObject<{
|
|
1259
|
+
checked_at: z.ZodNumber;
|
|
1260
|
+
observed_at: z.ZodOptional<z.ZodNumber>;
|
|
1261
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1262
|
+
} & {
|
|
1263
|
+
status: z.ZodEnum<["active", "idle", "unknown"]>;
|
|
1264
|
+
active_count: z.ZodOptional<z.ZodNumber>;
|
|
1265
|
+
}, "strip", z.ZodTypeAny, {
|
|
1266
|
+
status: "unknown" | "active" | "idle";
|
|
1267
|
+
checked_at: number;
|
|
1268
|
+
reason?: string | undefined;
|
|
1269
|
+
observed_at?: number | undefined;
|
|
1270
|
+
active_count?: number | undefined;
|
|
1271
|
+
}, {
|
|
1272
|
+
status: "unknown" | "active" | "idle";
|
|
1273
|
+
checked_at: number;
|
|
1274
|
+
reason?: string | undefined;
|
|
1275
|
+
observed_at?: number | undefined;
|
|
1276
|
+
active_count?: number | undefined;
|
|
1277
|
+
}>;
|
|
1278
|
+
log_freshness: z.ZodObject<{
|
|
1279
|
+
checked_at: z.ZodNumber;
|
|
1280
|
+
observed_at: z.ZodOptional<z.ZodNumber>;
|
|
1281
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1282
|
+
} & {
|
|
1283
|
+
status: z.ZodEnum<["fresh", "stale", "missing", "unknown"]>;
|
|
1284
|
+
path: z.ZodOptional<z.ZodString>;
|
|
1285
|
+
}, "strip", z.ZodTypeAny, {
|
|
1286
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
1287
|
+
checked_at: number;
|
|
1288
|
+
path?: string | undefined;
|
|
1289
|
+
reason?: string | undefined;
|
|
1290
|
+
observed_at?: number | undefined;
|
|
1291
|
+
}, {
|
|
1292
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
1293
|
+
checked_at: number;
|
|
1294
|
+
path?: string | undefined;
|
|
1295
|
+
reason?: string | undefined;
|
|
1296
|
+
observed_at?: number | undefined;
|
|
1297
|
+
}>;
|
|
1298
|
+
artifact_freshness: z.ZodObject<{
|
|
1299
|
+
checked_at: z.ZodNumber;
|
|
1300
|
+
observed_at: z.ZodOptional<z.ZodNumber>;
|
|
1301
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1302
|
+
} & {
|
|
1303
|
+
status: z.ZodEnum<["fresh", "stale", "missing", "unknown"]>;
|
|
1304
|
+
path: z.ZodOptional<z.ZodString>;
|
|
1305
|
+
}, "strip", z.ZodTypeAny, {
|
|
1306
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
1307
|
+
checked_at: number;
|
|
1308
|
+
path?: string | undefined;
|
|
1309
|
+
reason?: string | undefined;
|
|
1310
|
+
observed_at?: number | undefined;
|
|
1311
|
+
}, {
|
|
1312
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
1313
|
+
checked_at: number;
|
|
1314
|
+
path?: string | undefined;
|
|
1315
|
+
reason?: string | undefined;
|
|
1316
|
+
observed_at?: number | undefined;
|
|
1317
|
+
}>;
|
|
1318
|
+
metric_freshness: z.ZodObject<{
|
|
1319
|
+
checked_at: z.ZodNumber;
|
|
1320
|
+
observed_at: z.ZodOptional<z.ZodNumber>;
|
|
1321
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1322
|
+
} & {
|
|
1323
|
+
status: z.ZodEnum<["fresh", "stale", "missing", "unknown"]>;
|
|
1324
|
+
metric_name: z.ZodOptional<z.ZodString>;
|
|
1325
|
+
}, "strip", z.ZodTypeAny, {
|
|
1326
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
1327
|
+
checked_at: number;
|
|
1328
|
+
reason?: string | undefined;
|
|
1329
|
+
observed_at?: number | undefined;
|
|
1330
|
+
metric_name?: string | undefined;
|
|
1331
|
+
}, {
|
|
1332
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
1333
|
+
checked_at: number;
|
|
1334
|
+
reason?: string | undefined;
|
|
1335
|
+
observed_at?: number | undefined;
|
|
1336
|
+
metric_name?: string | undefined;
|
|
1337
|
+
}>;
|
|
1338
|
+
metric_progress: z.ZodObject<{
|
|
1339
|
+
checked_at: z.ZodNumber;
|
|
1340
|
+
observed_at: z.ZodOptional<z.ZodNumber>;
|
|
1341
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1342
|
+
} & {
|
|
1343
|
+
status: z.ZodEnum<["improved", "plateau", "regressed", "missing", "unknown"]>;
|
|
1344
|
+
metric_name: z.ZodOptional<z.ZodString>;
|
|
1345
|
+
previous_value: z.ZodOptional<z.ZodNumber>;
|
|
1346
|
+
current_value: z.ZodOptional<z.ZodNumber>;
|
|
1347
|
+
}, "strip", z.ZodTypeAny, {
|
|
1348
|
+
status: "unknown" | "improved" | "missing" | "plateau" | "regressed";
|
|
1349
|
+
checked_at: number;
|
|
1350
|
+
current_value?: number | undefined;
|
|
1351
|
+
previous_value?: number | undefined;
|
|
1352
|
+
reason?: string | undefined;
|
|
1353
|
+
observed_at?: number | undefined;
|
|
1354
|
+
metric_name?: string | undefined;
|
|
1355
|
+
}, {
|
|
1356
|
+
status: "unknown" | "improved" | "missing" | "plateau" | "regressed";
|
|
1357
|
+
checked_at: number;
|
|
1358
|
+
current_value?: number | undefined;
|
|
1359
|
+
previous_value?: number | undefined;
|
|
1360
|
+
reason?: string | undefined;
|
|
1361
|
+
observed_at?: number | undefined;
|
|
1362
|
+
metric_name?: string | undefined;
|
|
1363
|
+
}>;
|
|
1364
|
+
blocker: z.ZodObject<{
|
|
1365
|
+
checked_at: z.ZodNumber;
|
|
1366
|
+
observed_at: z.ZodOptional<z.ZodNumber>;
|
|
1367
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1368
|
+
} & {
|
|
1369
|
+
status: z.ZodEnum<["none", "approval_wait", "auth_wait", "operator_wait", "resource_pressure", "blocked", "unknown"]>;
|
|
1370
|
+
}, "strip", z.ZodTypeAny, {
|
|
1371
|
+
status: "unknown" | "none" | "approval_wait" | "auth_wait" | "operator_wait" | "resource_pressure" | "blocked";
|
|
1372
|
+
checked_at: number;
|
|
1373
|
+
reason?: string | undefined;
|
|
1374
|
+
observed_at?: number | undefined;
|
|
1375
|
+
}, {
|
|
1376
|
+
status: "unknown" | "none" | "approval_wait" | "auth_wait" | "operator_wait" | "resource_pressure" | "blocked";
|
|
1377
|
+
checked_at: number;
|
|
1378
|
+
reason?: string | undefined;
|
|
1379
|
+
observed_at?: number | undefined;
|
|
1380
|
+
}>;
|
|
1381
|
+
expected_next_checkpoint_at: z.ZodOptional<z.ZodNumber>;
|
|
1382
|
+
resumable: z.ZodOptional<z.ZodBoolean>;
|
|
1383
|
+
}, "strip", z.ZodTypeAny, {
|
|
1384
|
+
process: {
|
|
1385
|
+
status: "unknown" | "alive" | "dead";
|
|
1386
|
+
checked_at: number;
|
|
1387
|
+
reason?: string | undefined;
|
|
1388
|
+
observed_at?: number | undefined;
|
|
1389
|
+
pid?: number | undefined;
|
|
1390
|
+
};
|
|
1391
|
+
child_activity: {
|
|
1392
|
+
status: "unknown" | "active" | "idle";
|
|
1393
|
+
checked_at: number;
|
|
1394
|
+
reason?: string | undefined;
|
|
1395
|
+
observed_at?: number | undefined;
|
|
1396
|
+
active_count?: number | undefined;
|
|
1397
|
+
};
|
|
1398
|
+
log_freshness: {
|
|
1399
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
1400
|
+
checked_at: number;
|
|
1401
|
+
path?: string | undefined;
|
|
1402
|
+
reason?: string | undefined;
|
|
1403
|
+
observed_at?: number | undefined;
|
|
1404
|
+
};
|
|
1405
|
+
artifact_freshness: {
|
|
1406
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
1407
|
+
checked_at: number;
|
|
1408
|
+
path?: string | undefined;
|
|
1409
|
+
reason?: string | undefined;
|
|
1410
|
+
observed_at?: number | undefined;
|
|
1411
|
+
};
|
|
1412
|
+
metric_freshness: {
|
|
1413
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
1414
|
+
checked_at: number;
|
|
1415
|
+
reason?: string | undefined;
|
|
1416
|
+
observed_at?: number | undefined;
|
|
1417
|
+
metric_name?: string | undefined;
|
|
1418
|
+
};
|
|
1419
|
+
metric_progress: {
|
|
1420
|
+
status: "unknown" | "improved" | "missing" | "plateau" | "regressed";
|
|
1421
|
+
checked_at: number;
|
|
1422
|
+
current_value?: number | undefined;
|
|
1423
|
+
previous_value?: number | undefined;
|
|
1424
|
+
reason?: string | undefined;
|
|
1425
|
+
observed_at?: number | undefined;
|
|
1426
|
+
metric_name?: string | undefined;
|
|
1427
|
+
};
|
|
1428
|
+
blocker: {
|
|
1429
|
+
status: "unknown" | "none" | "approval_wait" | "auth_wait" | "operator_wait" | "resource_pressure" | "blocked";
|
|
1430
|
+
checked_at: number;
|
|
1431
|
+
reason?: string | undefined;
|
|
1432
|
+
observed_at?: number | undefined;
|
|
1433
|
+
};
|
|
1434
|
+
expected_next_checkpoint_at?: number | undefined;
|
|
1435
|
+
resumable?: boolean | undefined;
|
|
1436
|
+
}, {
|
|
1437
|
+
process: {
|
|
1438
|
+
status: "unknown" | "alive" | "dead";
|
|
1439
|
+
checked_at: number;
|
|
1440
|
+
reason?: string | undefined;
|
|
1441
|
+
observed_at?: number | undefined;
|
|
1442
|
+
pid?: number | undefined;
|
|
1443
|
+
};
|
|
1444
|
+
child_activity: {
|
|
1445
|
+
status: "unknown" | "active" | "idle";
|
|
1446
|
+
checked_at: number;
|
|
1447
|
+
reason?: string | undefined;
|
|
1448
|
+
observed_at?: number | undefined;
|
|
1449
|
+
active_count?: number | undefined;
|
|
1450
|
+
};
|
|
1451
|
+
log_freshness: {
|
|
1452
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
1453
|
+
checked_at: number;
|
|
1454
|
+
path?: string | undefined;
|
|
1455
|
+
reason?: string | undefined;
|
|
1456
|
+
observed_at?: number | undefined;
|
|
1457
|
+
};
|
|
1458
|
+
artifact_freshness: {
|
|
1459
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
1460
|
+
checked_at: number;
|
|
1461
|
+
path?: string | undefined;
|
|
1462
|
+
reason?: string | undefined;
|
|
1463
|
+
observed_at?: number | undefined;
|
|
1464
|
+
};
|
|
1465
|
+
metric_freshness: {
|
|
1466
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
1467
|
+
checked_at: number;
|
|
1468
|
+
reason?: string | undefined;
|
|
1469
|
+
observed_at?: number | undefined;
|
|
1470
|
+
metric_name?: string | undefined;
|
|
1471
|
+
};
|
|
1472
|
+
metric_progress: {
|
|
1473
|
+
status: "unknown" | "improved" | "missing" | "plateau" | "regressed";
|
|
1474
|
+
checked_at: number;
|
|
1475
|
+
current_value?: number | undefined;
|
|
1476
|
+
previous_value?: number | undefined;
|
|
1477
|
+
reason?: string | undefined;
|
|
1478
|
+
observed_at?: number | undefined;
|
|
1479
|
+
metric_name?: string | undefined;
|
|
1480
|
+
};
|
|
1481
|
+
blocker: {
|
|
1482
|
+
status: "unknown" | "none" | "approval_wait" | "auth_wait" | "operator_wait" | "resource_pressure" | "blocked";
|
|
1483
|
+
checked_at: number;
|
|
1484
|
+
reason?: string | undefined;
|
|
1485
|
+
observed_at?: number | undefined;
|
|
1486
|
+
};
|
|
1487
|
+
expected_next_checkpoint_at?: number | undefined;
|
|
1488
|
+
resumable?: boolean | undefined;
|
|
1489
|
+
}>;
|
|
1490
|
+
}, "strip", z.ZodTypeAny, {
|
|
1491
|
+
checked_at: number;
|
|
1492
|
+
summary: "unknown" | "alive_and_progressing" | "alive_but_metric_stalled" | "alive_but_artifact_stalled" | "alive_but_waiting" | "alive_but_stalled" | "dead_but_resumable" | "dead_needs_intervention";
|
|
1493
|
+
signals: {
|
|
1494
|
+
process: {
|
|
1495
|
+
status: "unknown" | "alive" | "dead";
|
|
1496
|
+
checked_at: number;
|
|
1497
|
+
reason?: string | undefined;
|
|
1498
|
+
observed_at?: number | undefined;
|
|
1499
|
+
pid?: number | undefined;
|
|
1500
|
+
};
|
|
1501
|
+
child_activity: {
|
|
1502
|
+
status: "unknown" | "active" | "idle";
|
|
1503
|
+
checked_at: number;
|
|
1504
|
+
reason?: string | undefined;
|
|
1505
|
+
observed_at?: number | undefined;
|
|
1506
|
+
active_count?: number | undefined;
|
|
1507
|
+
};
|
|
1508
|
+
log_freshness: {
|
|
1509
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
1510
|
+
checked_at: number;
|
|
1511
|
+
path?: string | undefined;
|
|
1512
|
+
reason?: string | undefined;
|
|
1513
|
+
observed_at?: number | undefined;
|
|
1514
|
+
};
|
|
1515
|
+
artifact_freshness: {
|
|
1516
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
1517
|
+
checked_at: number;
|
|
1518
|
+
path?: string | undefined;
|
|
1519
|
+
reason?: string | undefined;
|
|
1520
|
+
observed_at?: number | undefined;
|
|
1521
|
+
};
|
|
1522
|
+
metric_freshness: {
|
|
1523
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
1524
|
+
checked_at: number;
|
|
1525
|
+
reason?: string | undefined;
|
|
1526
|
+
observed_at?: number | undefined;
|
|
1527
|
+
metric_name?: string | undefined;
|
|
1528
|
+
};
|
|
1529
|
+
metric_progress: {
|
|
1530
|
+
status: "unknown" | "improved" | "missing" | "plateau" | "regressed";
|
|
1531
|
+
checked_at: number;
|
|
1532
|
+
current_value?: number | undefined;
|
|
1533
|
+
previous_value?: number | undefined;
|
|
1534
|
+
reason?: string | undefined;
|
|
1535
|
+
observed_at?: number | undefined;
|
|
1536
|
+
metric_name?: string | undefined;
|
|
1537
|
+
};
|
|
1538
|
+
blocker: {
|
|
1539
|
+
status: "unknown" | "none" | "approval_wait" | "auth_wait" | "operator_wait" | "resource_pressure" | "blocked";
|
|
1540
|
+
checked_at: number;
|
|
1541
|
+
reason?: string | undefined;
|
|
1542
|
+
observed_at?: number | undefined;
|
|
1543
|
+
};
|
|
1544
|
+
expected_next_checkpoint_at?: number | undefined;
|
|
1545
|
+
resumable?: boolean | undefined;
|
|
1546
|
+
};
|
|
1547
|
+
}, {
|
|
1548
|
+
checked_at: number;
|
|
1549
|
+
summary: "unknown" | "alive_and_progressing" | "alive_but_metric_stalled" | "alive_but_artifact_stalled" | "alive_but_waiting" | "alive_but_stalled" | "dead_but_resumable" | "dead_needs_intervention";
|
|
1550
|
+
signals: {
|
|
1551
|
+
process: {
|
|
1552
|
+
status: "unknown" | "alive" | "dead";
|
|
1553
|
+
checked_at: number;
|
|
1554
|
+
reason?: string | undefined;
|
|
1555
|
+
observed_at?: number | undefined;
|
|
1556
|
+
pid?: number | undefined;
|
|
1557
|
+
};
|
|
1558
|
+
child_activity: {
|
|
1559
|
+
status: "unknown" | "active" | "idle";
|
|
1560
|
+
checked_at: number;
|
|
1561
|
+
reason?: string | undefined;
|
|
1562
|
+
observed_at?: number | undefined;
|
|
1563
|
+
active_count?: number | undefined;
|
|
1564
|
+
};
|
|
1565
|
+
log_freshness: {
|
|
1566
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
1567
|
+
checked_at: number;
|
|
1568
|
+
path?: string | undefined;
|
|
1569
|
+
reason?: string | undefined;
|
|
1570
|
+
observed_at?: number | undefined;
|
|
1571
|
+
};
|
|
1572
|
+
artifact_freshness: {
|
|
1573
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
1574
|
+
checked_at: number;
|
|
1575
|
+
path?: string | undefined;
|
|
1576
|
+
reason?: string | undefined;
|
|
1577
|
+
observed_at?: number | undefined;
|
|
1578
|
+
};
|
|
1579
|
+
metric_freshness: {
|
|
1580
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
1581
|
+
checked_at: number;
|
|
1582
|
+
reason?: string | undefined;
|
|
1583
|
+
observed_at?: number | undefined;
|
|
1584
|
+
metric_name?: string | undefined;
|
|
1585
|
+
};
|
|
1586
|
+
metric_progress: {
|
|
1587
|
+
status: "unknown" | "improved" | "missing" | "plateau" | "regressed";
|
|
1588
|
+
checked_at: number;
|
|
1589
|
+
current_value?: number | undefined;
|
|
1590
|
+
previous_value?: number | undefined;
|
|
1591
|
+
reason?: string | undefined;
|
|
1592
|
+
observed_at?: number | undefined;
|
|
1593
|
+
metric_name?: string | undefined;
|
|
1594
|
+
};
|
|
1595
|
+
blocker: {
|
|
1596
|
+
status: "unknown" | "none" | "approval_wait" | "auth_wait" | "operator_wait" | "resource_pressure" | "blocked";
|
|
1597
|
+
checked_at: number;
|
|
1598
|
+
reason?: string | undefined;
|
|
1599
|
+
observed_at?: number | undefined;
|
|
1600
|
+
};
|
|
1601
|
+
expected_next_checkpoint_at?: number | undefined;
|
|
1602
|
+
resumable?: boolean | undefined;
|
|
1603
|
+
};
|
|
1604
|
+
}>>;
|
|
458
1605
|
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
459
1606
|
}, "strip", z.ZodTypeAny, {
|
|
460
1607
|
status: "ok" | "failed" | "degraded";
|
|
@@ -489,6 +1636,64 @@ export declare const RuntimeDaemonHealthSchema: z.ZodObject<{
|
|
|
489
1636
|
degraded_at?: number | undefined;
|
|
490
1637
|
recovered_at?: number | undefined;
|
|
491
1638
|
} | undefined;
|
|
1639
|
+
long_running?: {
|
|
1640
|
+
checked_at: number;
|
|
1641
|
+
summary: "unknown" | "alive_and_progressing" | "alive_but_metric_stalled" | "alive_but_artifact_stalled" | "alive_but_waiting" | "alive_but_stalled" | "dead_but_resumable" | "dead_needs_intervention";
|
|
1642
|
+
signals: {
|
|
1643
|
+
process: {
|
|
1644
|
+
status: "unknown" | "alive" | "dead";
|
|
1645
|
+
checked_at: number;
|
|
1646
|
+
reason?: string | undefined;
|
|
1647
|
+
observed_at?: number | undefined;
|
|
1648
|
+
pid?: number | undefined;
|
|
1649
|
+
};
|
|
1650
|
+
child_activity: {
|
|
1651
|
+
status: "unknown" | "active" | "idle";
|
|
1652
|
+
checked_at: number;
|
|
1653
|
+
reason?: string | undefined;
|
|
1654
|
+
observed_at?: number | undefined;
|
|
1655
|
+
active_count?: number | undefined;
|
|
1656
|
+
};
|
|
1657
|
+
log_freshness: {
|
|
1658
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
1659
|
+
checked_at: number;
|
|
1660
|
+
path?: string | undefined;
|
|
1661
|
+
reason?: string | undefined;
|
|
1662
|
+
observed_at?: number | undefined;
|
|
1663
|
+
};
|
|
1664
|
+
artifact_freshness: {
|
|
1665
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
1666
|
+
checked_at: number;
|
|
1667
|
+
path?: string | undefined;
|
|
1668
|
+
reason?: string | undefined;
|
|
1669
|
+
observed_at?: number | undefined;
|
|
1670
|
+
};
|
|
1671
|
+
metric_freshness: {
|
|
1672
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
1673
|
+
checked_at: number;
|
|
1674
|
+
reason?: string | undefined;
|
|
1675
|
+
observed_at?: number | undefined;
|
|
1676
|
+
metric_name?: string | undefined;
|
|
1677
|
+
};
|
|
1678
|
+
metric_progress: {
|
|
1679
|
+
status: "unknown" | "improved" | "missing" | "plateau" | "regressed";
|
|
1680
|
+
checked_at: number;
|
|
1681
|
+
current_value?: number | undefined;
|
|
1682
|
+
previous_value?: number | undefined;
|
|
1683
|
+
reason?: string | undefined;
|
|
1684
|
+
observed_at?: number | undefined;
|
|
1685
|
+
metric_name?: string | undefined;
|
|
1686
|
+
};
|
|
1687
|
+
blocker: {
|
|
1688
|
+
status: "unknown" | "none" | "approval_wait" | "auth_wait" | "operator_wait" | "resource_pressure" | "blocked";
|
|
1689
|
+
checked_at: number;
|
|
1690
|
+
reason?: string | undefined;
|
|
1691
|
+
observed_at?: number | undefined;
|
|
1692
|
+
};
|
|
1693
|
+
expected_next_checkpoint_at?: number | undefined;
|
|
1694
|
+
resumable?: boolean | undefined;
|
|
1695
|
+
};
|
|
1696
|
+
} | undefined;
|
|
492
1697
|
}, {
|
|
493
1698
|
status: "ok" | "failed" | "degraded";
|
|
494
1699
|
checked_at: number;
|
|
@@ -522,6 +1727,64 @@ export declare const RuntimeDaemonHealthSchema: z.ZodObject<{
|
|
|
522
1727
|
degraded_at?: number | undefined;
|
|
523
1728
|
recovered_at?: number | undefined;
|
|
524
1729
|
} | undefined;
|
|
1730
|
+
long_running?: {
|
|
1731
|
+
checked_at: number;
|
|
1732
|
+
summary: "unknown" | "alive_and_progressing" | "alive_but_metric_stalled" | "alive_but_artifact_stalled" | "alive_but_waiting" | "alive_but_stalled" | "dead_but_resumable" | "dead_needs_intervention";
|
|
1733
|
+
signals: {
|
|
1734
|
+
process: {
|
|
1735
|
+
status: "unknown" | "alive" | "dead";
|
|
1736
|
+
checked_at: number;
|
|
1737
|
+
reason?: string | undefined;
|
|
1738
|
+
observed_at?: number | undefined;
|
|
1739
|
+
pid?: number | undefined;
|
|
1740
|
+
};
|
|
1741
|
+
child_activity: {
|
|
1742
|
+
status: "unknown" | "active" | "idle";
|
|
1743
|
+
checked_at: number;
|
|
1744
|
+
reason?: string | undefined;
|
|
1745
|
+
observed_at?: number | undefined;
|
|
1746
|
+
active_count?: number | undefined;
|
|
1747
|
+
};
|
|
1748
|
+
log_freshness: {
|
|
1749
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
1750
|
+
checked_at: number;
|
|
1751
|
+
path?: string | undefined;
|
|
1752
|
+
reason?: string | undefined;
|
|
1753
|
+
observed_at?: number | undefined;
|
|
1754
|
+
};
|
|
1755
|
+
artifact_freshness: {
|
|
1756
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
1757
|
+
checked_at: number;
|
|
1758
|
+
path?: string | undefined;
|
|
1759
|
+
reason?: string | undefined;
|
|
1760
|
+
observed_at?: number | undefined;
|
|
1761
|
+
};
|
|
1762
|
+
metric_freshness: {
|
|
1763
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
1764
|
+
checked_at: number;
|
|
1765
|
+
reason?: string | undefined;
|
|
1766
|
+
observed_at?: number | undefined;
|
|
1767
|
+
metric_name?: string | undefined;
|
|
1768
|
+
};
|
|
1769
|
+
metric_progress: {
|
|
1770
|
+
status: "unknown" | "improved" | "missing" | "plateau" | "regressed";
|
|
1771
|
+
checked_at: number;
|
|
1772
|
+
current_value?: number | undefined;
|
|
1773
|
+
previous_value?: number | undefined;
|
|
1774
|
+
reason?: string | undefined;
|
|
1775
|
+
observed_at?: number | undefined;
|
|
1776
|
+
metric_name?: string | undefined;
|
|
1777
|
+
};
|
|
1778
|
+
blocker: {
|
|
1779
|
+
status: "unknown" | "none" | "approval_wait" | "auth_wait" | "operator_wait" | "resource_pressure" | "blocked";
|
|
1780
|
+
checked_at: number;
|
|
1781
|
+
reason?: string | undefined;
|
|
1782
|
+
observed_at?: number | undefined;
|
|
1783
|
+
};
|
|
1784
|
+
expected_next_checkpoint_at?: number | undefined;
|
|
1785
|
+
resumable?: boolean | undefined;
|
|
1786
|
+
};
|
|
1787
|
+
} | undefined;
|
|
525
1788
|
}>;
|
|
526
1789
|
export type RuntimeDaemonHealth = z.infer<typeof RuntimeDaemonHealthSchema>;
|
|
527
1790
|
export declare const RuntimeComponentsHealthSchema: z.ZodObject<{
|
|
@@ -664,6 +1927,377 @@ export declare const RuntimeHealthSnapshotSchema: z.ZodObject<{
|
|
|
664
1927
|
degraded_at?: number | undefined;
|
|
665
1928
|
recovered_at?: number | undefined;
|
|
666
1929
|
}>>;
|
|
1930
|
+
long_running: z.ZodOptional<z.ZodObject<{
|
|
1931
|
+
summary: z.ZodEnum<["alive_and_progressing", "alive_but_metric_stalled", "alive_but_artifact_stalled", "alive_but_waiting", "alive_but_stalled", "dead_but_resumable", "dead_needs_intervention", "unknown"]>;
|
|
1932
|
+
checked_at: z.ZodNumber;
|
|
1933
|
+
signals: z.ZodObject<{
|
|
1934
|
+
process: z.ZodObject<{
|
|
1935
|
+
checked_at: z.ZodNumber;
|
|
1936
|
+
observed_at: z.ZodOptional<z.ZodNumber>;
|
|
1937
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1938
|
+
} & {
|
|
1939
|
+
status: z.ZodEnum<["alive", "dead", "unknown"]>;
|
|
1940
|
+
pid: z.ZodOptional<z.ZodNumber>;
|
|
1941
|
+
}, "strip", z.ZodTypeAny, {
|
|
1942
|
+
status: "unknown" | "alive" | "dead";
|
|
1943
|
+
checked_at: number;
|
|
1944
|
+
reason?: string | undefined;
|
|
1945
|
+
observed_at?: number | undefined;
|
|
1946
|
+
pid?: number | undefined;
|
|
1947
|
+
}, {
|
|
1948
|
+
status: "unknown" | "alive" | "dead";
|
|
1949
|
+
checked_at: number;
|
|
1950
|
+
reason?: string | undefined;
|
|
1951
|
+
observed_at?: number | undefined;
|
|
1952
|
+
pid?: number | undefined;
|
|
1953
|
+
}>;
|
|
1954
|
+
child_activity: z.ZodObject<{
|
|
1955
|
+
checked_at: z.ZodNumber;
|
|
1956
|
+
observed_at: z.ZodOptional<z.ZodNumber>;
|
|
1957
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1958
|
+
} & {
|
|
1959
|
+
status: z.ZodEnum<["active", "idle", "unknown"]>;
|
|
1960
|
+
active_count: z.ZodOptional<z.ZodNumber>;
|
|
1961
|
+
}, "strip", z.ZodTypeAny, {
|
|
1962
|
+
status: "unknown" | "active" | "idle";
|
|
1963
|
+
checked_at: number;
|
|
1964
|
+
reason?: string | undefined;
|
|
1965
|
+
observed_at?: number | undefined;
|
|
1966
|
+
active_count?: number | undefined;
|
|
1967
|
+
}, {
|
|
1968
|
+
status: "unknown" | "active" | "idle";
|
|
1969
|
+
checked_at: number;
|
|
1970
|
+
reason?: string | undefined;
|
|
1971
|
+
observed_at?: number | undefined;
|
|
1972
|
+
active_count?: number | undefined;
|
|
1973
|
+
}>;
|
|
1974
|
+
log_freshness: z.ZodObject<{
|
|
1975
|
+
checked_at: z.ZodNumber;
|
|
1976
|
+
observed_at: z.ZodOptional<z.ZodNumber>;
|
|
1977
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1978
|
+
} & {
|
|
1979
|
+
status: z.ZodEnum<["fresh", "stale", "missing", "unknown"]>;
|
|
1980
|
+
path: z.ZodOptional<z.ZodString>;
|
|
1981
|
+
}, "strip", z.ZodTypeAny, {
|
|
1982
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
1983
|
+
checked_at: number;
|
|
1984
|
+
path?: string | undefined;
|
|
1985
|
+
reason?: string | undefined;
|
|
1986
|
+
observed_at?: number | undefined;
|
|
1987
|
+
}, {
|
|
1988
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
1989
|
+
checked_at: number;
|
|
1990
|
+
path?: string | undefined;
|
|
1991
|
+
reason?: string | undefined;
|
|
1992
|
+
observed_at?: number | undefined;
|
|
1993
|
+
}>;
|
|
1994
|
+
artifact_freshness: z.ZodObject<{
|
|
1995
|
+
checked_at: z.ZodNumber;
|
|
1996
|
+
observed_at: z.ZodOptional<z.ZodNumber>;
|
|
1997
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
1998
|
+
} & {
|
|
1999
|
+
status: z.ZodEnum<["fresh", "stale", "missing", "unknown"]>;
|
|
2000
|
+
path: z.ZodOptional<z.ZodString>;
|
|
2001
|
+
}, "strip", z.ZodTypeAny, {
|
|
2002
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
2003
|
+
checked_at: number;
|
|
2004
|
+
path?: string | undefined;
|
|
2005
|
+
reason?: string | undefined;
|
|
2006
|
+
observed_at?: number | undefined;
|
|
2007
|
+
}, {
|
|
2008
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
2009
|
+
checked_at: number;
|
|
2010
|
+
path?: string | undefined;
|
|
2011
|
+
reason?: string | undefined;
|
|
2012
|
+
observed_at?: number | undefined;
|
|
2013
|
+
}>;
|
|
2014
|
+
metric_freshness: z.ZodObject<{
|
|
2015
|
+
checked_at: z.ZodNumber;
|
|
2016
|
+
observed_at: z.ZodOptional<z.ZodNumber>;
|
|
2017
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2018
|
+
} & {
|
|
2019
|
+
status: z.ZodEnum<["fresh", "stale", "missing", "unknown"]>;
|
|
2020
|
+
metric_name: z.ZodOptional<z.ZodString>;
|
|
2021
|
+
}, "strip", z.ZodTypeAny, {
|
|
2022
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
2023
|
+
checked_at: number;
|
|
2024
|
+
reason?: string | undefined;
|
|
2025
|
+
observed_at?: number | undefined;
|
|
2026
|
+
metric_name?: string | undefined;
|
|
2027
|
+
}, {
|
|
2028
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
2029
|
+
checked_at: number;
|
|
2030
|
+
reason?: string | undefined;
|
|
2031
|
+
observed_at?: number | undefined;
|
|
2032
|
+
metric_name?: string | undefined;
|
|
2033
|
+
}>;
|
|
2034
|
+
metric_progress: z.ZodObject<{
|
|
2035
|
+
checked_at: z.ZodNumber;
|
|
2036
|
+
observed_at: z.ZodOptional<z.ZodNumber>;
|
|
2037
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2038
|
+
} & {
|
|
2039
|
+
status: z.ZodEnum<["improved", "plateau", "regressed", "missing", "unknown"]>;
|
|
2040
|
+
metric_name: z.ZodOptional<z.ZodString>;
|
|
2041
|
+
previous_value: z.ZodOptional<z.ZodNumber>;
|
|
2042
|
+
current_value: z.ZodOptional<z.ZodNumber>;
|
|
2043
|
+
}, "strip", z.ZodTypeAny, {
|
|
2044
|
+
status: "unknown" | "improved" | "missing" | "plateau" | "regressed";
|
|
2045
|
+
checked_at: number;
|
|
2046
|
+
current_value?: number | undefined;
|
|
2047
|
+
previous_value?: number | undefined;
|
|
2048
|
+
reason?: string | undefined;
|
|
2049
|
+
observed_at?: number | undefined;
|
|
2050
|
+
metric_name?: string | undefined;
|
|
2051
|
+
}, {
|
|
2052
|
+
status: "unknown" | "improved" | "missing" | "plateau" | "regressed";
|
|
2053
|
+
checked_at: number;
|
|
2054
|
+
current_value?: number | undefined;
|
|
2055
|
+
previous_value?: number | undefined;
|
|
2056
|
+
reason?: string | undefined;
|
|
2057
|
+
observed_at?: number | undefined;
|
|
2058
|
+
metric_name?: string | undefined;
|
|
2059
|
+
}>;
|
|
2060
|
+
blocker: z.ZodObject<{
|
|
2061
|
+
checked_at: z.ZodNumber;
|
|
2062
|
+
observed_at: z.ZodOptional<z.ZodNumber>;
|
|
2063
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
2064
|
+
} & {
|
|
2065
|
+
status: z.ZodEnum<["none", "approval_wait", "auth_wait", "operator_wait", "resource_pressure", "blocked", "unknown"]>;
|
|
2066
|
+
}, "strip", z.ZodTypeAny, {
|
|
2067
|
+
status: "unknown" | "none" | "approval_wait" | "auth_wait" | "operator_wait" | "resource_pressure" | "blocked";
|
|
2068
|
+
checked_at: number;
|
|
2069
|
+
reason?: string | undefined;
|
|
2070
|
+
observed_at?: number | undefined;
|
|
2071
|
+
}, {
|
|
2072
|
+
status: "unknown" | "none" | "approval_wait" | "auth_wait" | "operator_wait" | "resource_pressure" | "blocked";
|
|
2073
|
+
checked_at: number;
|
|
2074
|
+
reason?: string | undefined;
|
|
2075
|
+
observed_at?: number | undefined;
|
|
2076
|
+
}>;
|
|
2077
|
+
expected_next_checkpoint_at: z.ZodOptional<z.ZodNumber>;
|
|
2078
|
+
resumable: z.ZodOptional<z.ZodBoolean>;
|
|
2079
|
+
}, "strip", z.ZodTypeAny, {
|
|
2080
|
+
process: {
|
|
2081
|
+
status: "unknown" | "alive" | "dead";
|
|
2082
|
+
checked_at: number;
|
|
2083
|
+
reason?: string | undefined;
|
|
2084
|
+
observed_at?: number | undefined;
|
|
2085
|
+
pid?: number | undefined;
|
|
2086
|
+
};
|
|
2087
|
+
child_activity: {
|
|
2088
|
+
status: "unknown" | "active" | "idle";
|
|
2089
|
+
checked_at: number;
|
|
2090
|
+
reason?: string | undefined;
|
|
2091
|
+
observed_at?: number | undefined;
|
|
2092
|
+
active_count?: number | undefined;
|
|
2093
|
+
};
|
|
2094
|
+
log_freshness: {
|
|
2095
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
2096
|
+
checked_at: number;
|
|
2097
|
+
path?: string | undefined;
|
|
2098
|
+
reason?: string | undefined;
|
|
2099
|
+
observed_at?: number | undefined;
|
|
2100
|
+
};
|
|
2101
|
+
artifact_freshness: {
|
|
2102
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
2103
|
+
checked_at: number;
|
|
2104
|
+
path?: string | undefined;
|
|
2105
|
+
reason?: string | undefined;
|
|
2106
|
+
observed_at?: number | undefined;
|
|
2107
|
+
};
|
|
2108
|
+
metric_freshness: {
|
|
2109
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
2110
|
+
checked_at: number;
|
|
2111
|
+
reason?: string | undefined;
|
|
2112
|
+
observed_at?: number | undefined;
|
|
2113
|
+
metric_name?: string | undefined;
|
|
2114
|
+
};
|
|
2115
|
+
metric_progress: {
|
|
2116
|
+
status: "unknown" | "improved" | "missing" | "plateau" | "regressed";
|
|
2117
|
+
checked_at: number;
|
|
2118
|
+
current_value?: number | undefined;
|
|
2119
|
+
previous_value?: number | undefined;
|
|
2120
|
+
reason?: string | undefined;
|
|
2121
|
+
observed_at?: number | undefined;
|
|
2122
|
+
metric_name?: string | undefined;
|
|
2123
|
+
};
|
|
2124
|
+
blocker: {
|
|
2125
|
+
status: "unknown" | "none" | "approval_wait" | "auth_wait" | "operator_wait" | "resource_pressure" | "blocked";
|
|
2126
|
+
checked_at: number;
|
|
2127
|
+
reason?: string | undefined;
|
|
2128
|
+
observed_at?: number | undefined;
|
|
2129
|
+
};
|
|
2130
|
+
expected_next_checkpoint_at?: number | undefined;
|
|
2131
|
+
resumable?: boolean | undefined;
|
|
2132
|
+
}, {
|
|
2133
|
+
process: {
|
|
2134
|
+
status: "unknown" | "alive" | "dead";
|
|
2135
|
+
checked_at: number;
|
|
2136
|
+
reason?: string | undefined;
|
|
2137
|
+
observed_at?: number | undefined;
|
|
2138
|
+
pid?: number | undefined;
|
|
2139
|
+
};
|
|
2140
|
+
child_activity: {
|
|
2141
|
+
status: "unknown" | "active" | "idle";
|
|
2142
|
+
checked_at: number;
|
|
2143
|
+
reason?: string | undefined;
|
|
2144
|
+
observed_at?: number | undefined;
|
|
2145
|
+
active_count?: number | undefined;
|
|
2146
|
+
};
|
|
2147
|
+
log_freshness: {
|
|
2148
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
2149
|
+
checked_at: number;
|
|
2150
|
+
path?: string | undefined;
|
|
2151
|
+
reason?: string | undefined;
|
|
2152
|
+
observed_at?: number | undefined;
|
|
2153
|
+
};
|
|
2154
|
+
artifact_freshness: {
|
|
2155
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
2156
|
+
checked_at: number;
|
|
2157
|
+
path?: string | undefined;
|
|
2158
|
+
reason?: string | undefined;
|
|
2159
|
+
observed_at?: number | undefined;
|
|
2160
|
+
};
|
|
2161
|
+
metric_freshness: {
|
|
2162
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
2163
|
+
checked_at: number;
|
|
2164
|
+
reason?: string | undefined;
|
|
2165
|
+
observed_at?: number | undefined;
|
|
2166
|
+
metric_name?: string | undefined;
|
|
2167
|
+
};
|
|
2168
|
+
metric_progress: {
|
|
2169
|
+
status: "unknown" | "improved" | "missing" | "plateau" | "regressed";
|
|
2170
|
+
checked_at: number;
|
|
2171
|
+
current_value?: number | undefined;
|
|
2172
|
+
previous_value?: number | undefined;
|
|
2173
|
+
reason?: string | undefined;
|
|
2174
|
+
observed_at?: number | undefined;
|
|
2175
|
+
metric_name?: string | undefined;
|
|
2176
|
+
};
|
|
2177
|
+
blocker: {
|
|
2178
|
+
status: "unknown" | "none" | "approval_wait" | "auth_wait" | "operator_wait" | "resource_pressure" | "blocked";
|
|
2179
|
+
checked_at: number;
|
|
2180
|
+
reason?: string | undefined;
|
|
2181
|
+
observed_at?: number | undefined;
|
|
2182
|
+
};
|
|
2183
|
+
expected_next_checkpoint_at?: number | undefined;
|
|
2184
|
+
resumable?: boolean | undefined;
|
|
2185
|
+
}>;
|
|
2186
|
+
}, "strip", z.ZodTypeAny, {
|
|
2187
|
+
checked_at: number;
|
|
2188
|
+
summary: "unknown" | "alive_and_progressing" | "alive_but_metric_stalled" | "alive_but_artifact_stalled" | "alive_but_waiting" | "alive_but_stalled" | "dead_but_resumable" | "dead_needs_intervention";
|
|
2189
|
+
signals: {
|
|
2190
|
+
process: {
|
|
2191
|
+
status: "unknown" | "alive" | "dead";
|
|
2192
|
+
checked_at: number;
|
|
2193
|
+
reason?: string | undefined;
|
|
2194
|
+
observed_at?: number | undefined;
|
|
2195
|
+
pid?: number | undefined;
|
|
2196
|
+
};
|
|
2197
|
+
child_activity: {
|
|
2198
|
+
status: "unknown" | "active" | "idle";
|
|
2199
|
+
checked_at: number;
|
|
2200
|
+
reason?: string | undefined;
|
|
2201
|
+
observed_at?: number | undefined;
|
|
2202
|
+
active_count?: number | undefined;
|
|
2203
|
+
};
|
|
2204
|
+
log_freshness: {
|
|
2205
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
2206
|
+
checked_at: number;
|
|
2207
|
+
path?: string | undefined;
|
|
2208
|
+
reason?: string | undefined;
|
|
2209
|
+
observed_at?: number | undefined;
|
|
2210
|
+
};
|
|
2211
|
+
artifact_freshness: {
|
|
2212
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
2213
|
+
checked_at: number;
|
|
2214
|
+
path?: string | undefined;
|
|
2215
|
+
reason?: string | undefined;
|
|
2216
|
+
observed_at?: number | undefined;
|
|
2217
|
+
};
|
|
2218
|
+
metric_freshness: {
|
|
2219
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
2220
|
+
checked_at: number;
|
|
2221
|
+
reason?: string | undefined;
|
|
2222
|
+
observed_at?: number | undefined;
|
|
2223
|
+
metric_name?: string | undefined;
|
|
2224
|
+
};
|
|
2225
|
+
metric_progress: {
|
|
2226
|
+
status: "unknown" | "improved" | "missing" | "plateau" | "regressed";
|
|
2227
|
+
checked_at: number;
|
|
2228
|
+
current_value?: number | undefined;
|
|
2229
|
+
previous_value?: number | undefined;
|
|
2230
|
+
reason?: string | undefined;
|
|
2231
|
+
observed_at?: number | undefined;
|
|
2232
|
+
metric_name?: string | undefined;
|
|
2233
|
+
};
|
|
2234
|
+
blocker: {
|
|
2235
|
+
status: "unknown" | "none" | "approval_wait" | "auth_wait" | "operator_wait" | "resource_pressure" | "blocked";
|
|
2236
|
+
checked_at: number;
|
|
2237
|
+
reason?: string | undefined;
|
|
2238
|
+
observed_at?: number | undefined;
|
|
2239
|
+
};
|
|
2240
|
+
expected_next_checkpoint_at?: number | undefined;
|
|
2241
|
+
resumable?: boolean | undefined;
|
|
2242
|
+
};
|
|
2243
|
+
}, {
|
|
2244
|
+
checked_at: number;
|
|
2245
|
+
summary: "unknown" | "alive_and_progressing" | "alive_but_metric_stalled" | "alive_but_artifact_stalled" | "alive_but_waiting" | "alive_but_stalled" | "dead_but_resumable" | "dead_needs_intervention";
|
|
2246
|
+
signals: {
|
|
2247
|
+
process: {
|
|
2248
|
+
status: "unknown" | "alive" | "dead";
|
|
2249
|
+
checked_at: number;
|
|
2250
|
+
reason?: string | undefined;
|
|
2251
|
+
observed_at?: number | undefined;
|
|
2252
|
+
pid?: number | undefined;
|
|
2253
|
+
};
|
|
2254
|
+
child_activity: {
|
|
2255
|
+
status: "unknown" | "active" | "idle";
|
|
2256
|
+
checked_at: number;
|
|
2257
|
+
reason?: string | undefined;
|
|
2258
|
+
observed_at?: number | undefined;
|
|
2259
|
+
active_count?: number | undefined;
|
|
2260
|
+
};
|
|
2261
|
+
log_freshness: {
|
|
2262
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
2263
|
+
checked_at: number;
|
|
2264
|
+
path?: string | undefined;
|
|
2265
|
+
reason?: string | undefined;
|
|
2266
|
+
observed_at?: number | undefined;
|
|
2267
|
+
};
|
|
2268
|
+
artifact_freshness: {
|
|
2269
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
2270
|
+
checked_at: number;
|
|
2271
|
+
path?: string | undefined;
|
|
2272
|
+
reason?: string | undefined;
|
|
2273
|
+
observed_at?: number | undefined;
|
|
2274
|
+
};
|
|
2275
|
+
metric_freshness: {
|
|
2276
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
2277
|
+
checked_at: number;
|
|
2278
|
+
reason?: string | undefined;
|
|
2279
|
+
observed_at?: number | undefined;
|
|
2280
|
+
metric_name?: string | undefined;
|
|
2281
|
+
};
|
|
2282
|
+
metric_progress: {
|
|
2283
|
+
status: "unknown" | "improved" | "missing" | "plateau" | "regressed";
|
|
2284
|
+
checked_at: number;
|
|
2285
|
+
current_value?: number | undefined;
|
|
2286
|
+
previous_value?: number | undefined;
|
|
2287
|
+
reason?: string | undefined;
|
|
2288
|
+
observed_at?: number | undefined;
|
|
2289
|
+
metric_name?: string | undefined;
|
|
2290
|
+
};
|
|
2291
|
+
blocker: {
|
|
2292
|
+
status: "unknown" | "none" | "approval_wait" | "auth_wait" | "operator_wait" | "resource_pressure" | "blocked";
|
|
2293
|
+
checked_at: number;
|
|
2294
|
+
reason?: string | undefined;
|
|
2295
|
+
observed_at?: number | undefined;
|
|
2296
|
+
};
|
|
2297
|
+
expected_next_checkpoint_at?: number | undefined;
|
|
2298
|
+
resumable?: boolean | undefined;
|
|
2299
|
+
};
|
|
2300
|
+
}>>;
|
|
667
2301
|
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
668
2302
|
}, "strip", z.ZodTypeAny, {
|
|
669
2303
|
status: "ok" | "failed" | "degraded";
|
|
@@ -699,6 +2333,64 @@ export declare const RuntimeHealthSnapshotSchema: z.ZodObject<{
|
|
|
699
2333
|
degraded_at?: number | undefined;
|
|
700
2334
|
recovered_at?: number | undefined;
|
|
701
2335
|
} | undefined;
|
|
2336
|
+
long_running?: {
|
|
2337
|
+
checked_at: number;
|
|
2338
|
+
summary: "unknown" | "alive_and_progressing" | "alive_but_metric_stalled" | "alive_but_artifact_stalled" | "alive_but_waiting" | "alive_but_stalled" | "dead_but_resumable" | "dead_needs_intervention";
|
|
2339
|
+
signals: {
|
|
2340
|
+
process: {
|
|
2341
|
+
status: "unknown" | "alive" | "dead";
|
|
2342
|
+
checked_at: number;
|
|
2343
|
+
reason?: string | undefined;
|
|
2344
|
+
observed_at?: number | undefined;
|
|
2345
|
+
pid?: number | undefined;
|
|
2346
|
+
};
|
|
2347
|
+
child_activity: {
|
|
2348
|
+
status: "unknown" | "active" | "idle";
|
|
2349
|
+
checked_at: number;
|
|
2350
|
+
reason?: string | undefined;
|
|
2351
|
+
observed_at?: number | undefined;
|
|
2352
|
+
active_count?: number | undefined;
|
|
2353
|
+
};
|
|
2354
|
+
log_freshness: {
|
|
2355
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
2356
|
+
checked_at: number;
|
|
2357
|
+
path?: string | undefined;
|
|
2358
|
+
reason?: string | undefined;
|
|
2359
|
+
observed_at?: number | undefined;
|
|
2360
|
+
};
|
|
2361
|
+
artifact_freshness: {
|
|
2362
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
2363
|
+
checked_at: number;
|
|
2364
|
+
path?: string | undefined;
|
|
2365
|
+
reason?: string | undefined;
|
|
2366
|
+
observed_at?: number | undefined;
|
|
2367
|
+
};
|
|
2368
|
+
metric_freshness: {
|
|
2369
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
2370
|
+
checked_at: number;
|
|
2371
|
+
reason?: string | undefined;
|
|
2372
|
+
observed_at?: number | undefined;
|
|
2373
|
+
metric_name?: string | undefined;
|
|
2374
|
+
};
|
|
2375
|
+
metric_progress: {
|
|
2376
|
+
status: "unknown" | "improved" | "missing" | "plateau" | "regressed";
|
|
2377
|
+
checked_at: number;
|
|
2378
|
+
current_value?: number | undefined;
|
|
2379
|
+
previous_value?: number | undefined;
|
|
2380
|
+
reason?: string | undefined;
|
|
2381
|
+
observed_at?: number | undefined;
|
|
2382
|
+
metric_name?: string | undefined;
|
|
2383
|
+
};
|
|
2384
|
+
blocker: {
|
|
2385
|
+
status: "unknown" | "none" | "approval_wait" | "auth_wait" | "operator_wait" | "resource_pressure" | "blocked";
|
|
2386
|
+
checked_at: number;
|
|
2387
|
+
reason?: string | undefined;
|
|
2388
|
+
observed_at?: number | undefined;
|
|
2389
|
+
};
|
|
2390
|
+
expected_next_checkpoint_at?: number | undefined;
|
|
2391
|
+
resumable?: boolean | undefined;
|
|
2392
|
+
};
|
|
2393
|
+
} | undefined;
|
|
702
2394
|
}, {
|
|
703
2395
|
status: "ok" | "failed" | "degraded";
|
|
704
2396
|
checked_at: number;
|
|
@@ -733,9 +2425,236 @@ export declare const RuntimeHealthSnapshotSchema: z.ZodObject<{
|
|
|
733
2425
|
degraded_at?: number | undefined;
|
|
734
2426
|
recovered_at?: number | undefined;
|
|
735
2427
|
} | undefined;
|
|
2428
|
+
long_running?: {
|
|
2429
|
+
checked_at: number;
|
|
2430
|
+
summary: "unknown" | "alive_and_progressing" | "alive_but_metric_stalled" | "alive_but_artifact_stalled" | "alive_but_waiting" | "alive_but_stalled" | "dead_but_resumable" | "dead_needs_intervention";
|
|
2431
|
+
signals: {
|
|
2432
|
+
process: {
|
|
2433
|
+
status: "unknown" | "alive" | "dead";
|
|
2434
|
+
checked_at: number;
|
|
2435
|
+
reason?: string | undefined;
|
|
2436
|
+
observed_at?: number | undefined;
|
|
2437
|
+
pid?: number | undefined;
|
|
2438
|
+
};
|
|
2439
|
+
child_activity: {
|
|
2440
|
+
status: "unknown" | "active" | "idle";
|
|
2441
|
+
checked_at: number;
|
|
2442
|
+
reason?: string | undefined;
|
|
2443
|
+
observed_at?: number | undefined;
|
|
2444
|
+
active_count?: number | undefined;
|
|
2445
|
+
};
|
|
2446
|
+
log_freshness: {
|
|
2447
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
2448
|
+
checked_at: number;
|
|
2449
|
+
path?: string | undefined;
|
|
2450
|
+
reason?: string | undefined;
|
|
2451
|
+
observed_at?: number | undefined;
|
|
2452
|
+
};
|
|
2453
|
+
artifact_freshness: {
|
|
2454
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
2455
|
+
checked_at: number;
|
|
2456
|
+
path?: string | undefined;
|
|
2457
|
+
reason?: string | undefined;
|
|
2458
|
+
observed_at?: number | undefined;
|
|
2459
|
+
};
|
|
2460
|
+
metric_freshness: {
|
|
2461
|
+
status: "unknown" | "stale" | "missing" | "fresh";
|
|
2462
|
+
checked_at: number;
|
|
2463
|
+
reason?: string | undefined;
|
|
2464
|
+
observed_at?: number | undefined;
|
|
2465
|
+
metric_name?: string | undefined;
|
|
2466
|
+
};
|
|
2467
|
+
metric_progress: {
|
|
2468
|
+
status: "unknown" | "improved" | "missing" | "plateau" | "regressed";
|
|
2469
|
+
checked_at: number;
|
|
2470
|
+
current_value?: number | undefined;
|
|
2471
|
+
previous_value?: number | undefined;
|
|
2472
|
+
reason?: string | undefined;
|
|
2473
|
+
observed_at?: number | undefined;
|
|
2474
|
+
metric_name?: string | undefined;
|
|
2475
|
+
};
|
|
2476
|
+
blocker: {
|
|
2477
|
+
status: "unknown" | "none" | "approval_wait" | "auth_wait" | "operator_wait" | "resource_pressure" | "blocked";
|
|
2478
|
+
checked_at: number;
|
|
2479
|
+
reason?: string | undefined;
|
|
2480
|
+
observed_at?: number | undefined;
|
|
2481
|
+
};
|
|
2482
|
+
expected_next_checkpoint_at?: number | undefined;
|
|
2483
|
+
resumable?: boolean | undefined;
|
|
2484
|
+
};
|
|
2485
|
+
} | undefined;
|
|
736
2486
|
}>;
|
|
737
2487
|
export type RuntimeHealthSnapshot = z.infer<typeof RuntimeHealthSnapshotSchema>;
|
|
2488
|
+
export declare const BrowserAutomationSessionStateSchema: z.ZodEnum<["fresh", "authenticated", "auth_required", "expired", "blocked", "unavailable"]>;
|
|
2489
|
+
export type BrowserAutomationSessionState = z.infer<typeof BrowserAutomationSessionStateSchema>;
|
|
2490
|
+
export declare const BrowserAutomationSessionRecordSchema: z.ZodObject<{
|
|
2491
|
+
session_id: z.ZodString;
|
|
2492
|
+
provider_id: z.ZodString;
|
|
2493
|
+
service_key: z.ZodString;
|
|
2494
|
+
workspace: z.ZodString;
|
|
2495
|
+
actor_key: z.ZodString;
|
|
2496
|
+
state: z.ZodEnum<["fresh", "authenticated", "auth_required", "expired", "blocked", "unavailable"]>;
|
|
2497
|
+
created_at: z.ZodString;
|
|
2498
|
+
updated_at: z.ZodString;
|
|
2499
|
+
last_auth_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2500
|
+
expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2501
|
+
last_failure_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2502
|
+
last_failure_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2503
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2504
|
+
}, "strip", z.ZodTypeAny, {
|
|
2505
|
+
created_at: string;
|
|
2506
|
+
updated_at: string;
|
|
2507
|
+
state: "expired" | "fresh" | "blocked" | "authenticated" | "auth_required" | "unavailable";
|
|
2508
|
+
session_id: string;
|
|
2509
|
+
provider_id: string;
|
|
2510
|
+
service_key: string;
|
|
2511
|
+
workspace: string;
|
|
2512
|
+
actor_key: string;
|
|
2513
|
+
metadata?: Record<string, unknown> | undefined;
|
|
2514
|
+
expires_at?: string | null | undefined;
|
|
2515
|
+
last_auth_at?: string | null | undefined;
|
|
2516
|
+
last_failure_code?: string | null | undefined;
|
|
2517
|
+
last_failure_message?: string | null | undefined;
|
|
2518
|
+
}, {
|
|
2519
|
+
created_at: string;
|
|
2520
|
+
updated_at: string;
|
|
2521
|
+
state: "expired" | "fresh" | "blocked" | "authenticated" | "auth_required" | "unavailable";
|
|
2522
|
+
session_id: string;
|
|
2523
|
+
provider_id: string;
|
|
2524
|
+
service_key: string;
|
|
2525
|
+
workspace: string;
|
|
2526
|
+
actor_key: string;
|
|
2527
|
+
metadata?: Record<string, unknown> | undefined;
|
|
2528
|
+
expires_at?: string | null | undefined;
|
|
2529
|
+
last_auth_at?: string | null | undefined;
|
|
2530
|
+
last_failure_code?: string | null | undefined;
|
|
2531
|
+
last_failure_message?: string | null | undefined;
|
|
2532
|
+
}>;
|
|
2533
|
+
export type BrowserAutomationSessionRecord = z.infer<typeof BrowserAutomationSessionRecordSchema>;
|
|
2534
|
+
export declare const CircuitBreakerStateSchema: z.ZodEnum<["closed", "open", "half_open", "paused"]>;
|
|
2535
|
+
export type CircuitBreakerState = z.infer<typeof CircuitBreakerStateSchema>;
|
|
2536
|
+
export declare const CircuitBreakerRecordSchema: z.ZodObject<{
|
|
2537
|
+
key: z.ZodString;
|
|
2538
|
+
provider_id: z.ZodString;
|
|
2539
|
+
service_key: z.ZodString;
|
|
2540
|
+
state: z.ZodEnum<["closed", "open", "half_open", "paused"]>;
|
|
2541
|
+
failure_count: z.ZodNumber;
|
|
2542
|
+
last_failure_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2543
|
+
last_failure_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2544
|
+
last_failure_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2545
|
+
opened_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2546
|
+
cooldown_until: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2547
|
+
updated_at: z.ZodString;
|
|
2548
|
+
}, "strip", z.ZodTypeAny, {
|
|
2549
|
+
updated_at: string;
|
|
2550
|
+
state: "paused" | "closed" | "open" | "half_open";
|
|
2551
|
+
provider_id: string;
|
|
2552
|
+
service_key: string;
|
|
2553
|
+
key: string;
|
|
2554
|
+
failure_count: number;
|
|
2555
|
+
cooldown_until?: string | null | undefined;
|
|
2556
|
+
last_failure_code?: string | null | undefined;
|
|
2557
|
+
last_failure_message?: string | null | undefined;
|
|
2558
|
+
last_failure_at?: string | null | undefined;
|
|
2559
|
+
opened_at?: string | null | undefined;
|
|
2560
|
+
}, {
|
|
2561
|
+
updated_at: string;
|
|
2562
|
+
state: "paused" | "closed" | "open" | "half_open";
|
|
2563
|
+
provider_id: string;
|
|
2564
|
+
service_key: string;
|
|
2565
|
+
key: string;
|
|
2566
|
+
failure_count: number;
|
|
2567
|
+
cooldown_until?: string | null | undefined;
|
|
2568
|
+
last_failure_code?: string | null | undefined;
|
|
2569
|
+
last_failure_message?: string | null | undefined;
|
|
2570
|
+
last_failure_at?: string | null | undefined;
|
|
2571
|
+
opened_at?: string | null | undefined;
|
|
2572
|
+
}>;
|
|
2573
|
+
export type CircuitBreakerRecord = z.infer<typeof CircuitBreakerRecordSchema>;
|
|
2574
|
+
export declare const BackpressureLeaseSchema: z.ZodObject<{
|
|
2575
|
+
provider_id: z.ZodString;
|
|
2576
|
+
service_key: z.ZodString;
|
|
2577
|
+
run_key: z.ZodString;
|
|
2578
|
+
acquired_at: z.ZodString;
|
|
2579
|
+
}, "strip", z.ZodTypeAny, {
|
|
2580
|
+
acquired_at: string;
|
|
2581
|
+
provider_id: string;
|
|
2582
|
+
service_key: string;
|
|
2583
|
+
run_key: string;
|
|
2584
|
+
}, {
|
|
2585
|
+
acquired_at: string;
|
|
2586
|
+
provider_id: string;
|
|
2587
|
+
service_key: string;
|
|
2588
|
+
run_key: string;
|
|
2589
|
+
}>;
|
|
2590
|
+
export type BackpressureLease = z.infer<typeof BackpressureLeaseSchema>;
|
|
2591
|
+
export declare const BackpressureSnapshotSchema: z.ZodObject<{
|
|
2592
|
+
updated_at: z.ZodString;
|
|
2593
|
+
active: z.ZodArray<z.ZodObject<{
|
|
2594
|
+
provider_id: z.ZodString;
|
|
2595
|
+
service_key: z.ZodString;
|
|
2596
|
+
run_key: z.ZodString;
|
|
2597
|
+
acquired_at: z.ZodString;
|
|
2598
|
+
}, "strip", z.ZodTypeAny, {
|
|
2599
|
+
acquired_at: string;
|
|
2600
|
+
provider_id: string;
|
|
2601
|
+
service_key: string;
|
|
2602
|
+
run_key: string;
|
|
2603
|
+
}, {
|
|
2604
|
+
acquired_at: string;
|
|
2605
|
+
provider_id: string;
|
|
2606
|
+
service_key: string;
|
|
2607
|
+
run_key: string;
|
|
2608
|
+
}>, "many">;
|
|
2609
|
+
throttled: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2610
|
+
provider_id: z.ZodString;
|
|
2611
|
+
service_key: z.ZodString;
|
|
2612
|
+
reason: z.ZodString;
|
|
2613
|
+
at: z.ZodString;
|
|
2614
|
+
}, "strip", z.ZodTypeAny, {
|
|
2615
|
+
at: string;
|
|
2616
|
+
reason: string;
|
|
2617
|
+
provider_id: string;
|
|
2618
|
+
service_key: string;
|
|
2619
|
+
}, {
|
|
2620
|
+
at: string;
|
|
2621
|
+
reason: string;
|
|
2622
|
+
provider_id: string;
|
|
2623
|
+
service_key: string;
|
|
2624
|
+
}>, "many">>;
|
|
2625
|
+
}, "strip", z.ZodTypeAny, {
|
|
2626
|
+
active: {
|
|
2627
|
+
acquired_at: string;
|
|
2628
|
+
provider_id: string;
|
|
2629
|
+
service_key: string;
|
|
2630
|
+
run_key: string;
|
|
2631
|
+
}[];
|
|
2632
|
+
updated_at: string;
|
|
2633
|
+
throttled: {
|
|
2634
|
+
at: string;
|
|
2635
|
+
reason: string;
|
|
2636
|
+
provider_id: string;
|
|
2637
|
+
service_key: string;
|
|
2638
|
+
}[];
|
|
2639
|
+
}, {
|
|
2640
|
+
active: {
|
|
2641
|
+
acquired_at: string;
|
|
2642
|
+
provider_id: string;
|
|
2643
|
+
service_key: string;
|
|
2644
|
+
run_key: string;
|
|
2645
|
+
}[];
|
|
2646
|
+
updated_at: string;
|
|
2647
|
+
throttled?: {
|
|
2648
|
+
at: string;
|
|
2649
|
+
reason: string;
|
|
2650
|
+
provider_id: string;
|
|
2651
|
+
service_key: string;
|
|
2652
|
+
}[] | undefined;
|
|
2653
|
+
}>;
|
|
2654
|
+
export type BackpressureSnapshot = z.infer<typeof BackpressureSnapshotSchema>;
|
|
738
2655
|
export declare function summarizeRuntimeHealthStatus(components: Record<string, RuntimeHealthStatus>): RuntimeHealthStatus;
|
|
2656
|
+
export declare function classifyLongRunHealth(signals: RuntimeLongRunHealthSignals): RuntimeLongRunHealthSummary;
|
|
2657
|
+
export declare function buildLongRunHealth(signals: RuntimeLongRunHealthSignals, checkedAt?: number): RuntimeLongRunHealth;
|
|
739
2658
|
export declare function evolveRuntimeHealthKpi(previous: RuntimeHealthKpi | null | undefined, nextStatuses: RuntimeHealthCapabilityStatuses, checkedAt: number, reasons?: Partial<Record<keyof RuntimeHealthCapabilityStatuses, string>>): RuntimeHealthKpi;
|
|
740
2659
|
export declare function summarizeRuntimeHealthKpi(kpi: RuntimeHealthKpi): RuntimeHealthStatus;
|
|
741
2660
|
export declare function compactRuntimeHealthKpi(kpi: RuntimeHealthKpi | null | undefined): RuntimeHealthKpiSnapshot | null;
|