pulseed 0.6.4 → 0.6.6
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 +105 -86
- package/dist/adapters/datasources/artifact-metric-datasource.d.ts +1 -1
- package/dist/adapters/datasources/artifact-metric-datasource.d.ts.map +1 -1
- package/dist/adapters/datasources/artifact-metric-datasource.js +20 -249
- package/dist/adapters/datasources/artifact-metric-datasource.js.map +1 -1
- package/dist/adapters/datasources/artifact-metric-discovery.d.ts +44 -0
- package/dist/adapters/datasources/artifact-metric-discovery.d.ts.map +1 -0
- package/dist/adapters/datasources/artifact-metric-discovery.js +256 -0
- package/dist/adapters/datasources/artifact-metric-discovery.js.map +1 -0
- package/dist/adapters/datasources/mcp-datasource.d.ts.map +1 -1
- package/dist/adapters/datasources/mcp-datasource.js +2 -4
- package/dist/adapters/datasources/mcp-datasource.js.map +1 -1
- package/dist/adapters/datasources/shell-datasource.d.ts.map +1 -1
- package/dist/adapters/datasources/shell-datasource.js +9 -2
- package/dist/adapters/datasources/shell-datasource.js.map +1 -1
- package/dist/adapters/mcp-client-manager.d.ts +1 -0
- package/dist/adapters/mcp-client-manager.d.ts.map +1 -1
- package/dist/adapters/mcp-client-manager.js +8 -3
- package/dist/adapters/mcp-client-manager.js.map +1 -1
- package/dist/adapters/types/a2a.d.ts +6 -6
- package/dist/adapters/types/mcp.d.ts +6 -6
- package/dist/base/config/global-config.d.ts +67 -5
- package/dist/base/config/global-config.d.ts.map +1 -1
- package/dist/base/config/global-config.js +76 -25
- package/dist/base/config/global-config.js.map +1 -1
- package/dist/base/config/identity-loader.d.ts +1 -1
- package/dist/base/config/identity-loader.d.ts.map +1 -1
- package/dist/base/config/identity-loader.js +3 -6
- package/dist/base/config/identity-loader.js.map +1 -1
- package/dist/base/config/tool-metadata.js +39 -39
- package/dist/base/config/tool-metadata.js.map +1 -1
- package/dist/base/llm/anthropic-runtime.d.ts +3 -0
- package/dist/base/llm/anthropic-runtime.d.ts.map +1 -0
- package/dist/base/llm/anthropic-runtime.js +4 -0
- package/dist/base/llm/anthropic-runtime.js.map +1 -0
- package/dist/base/llm/base-llm-client.d.ts.map +1 -1
- package/dist/base/llm/base-llm-client.js +15 -3
- package/dist/base/llm/base-llm-client.js.map +1 -1
- package/dist/base/llm/codex-llm-client.d.ts +13 -2
- package/dist/base/llm/codex-llm-client.d.ts.map +1 -1
- package/dist/base/llm/codex-llm-client.js +435 -38
- package/dist/base/llm/codex-llm-client.js.map +1 -1
- package/dist/base/llm/llm-client.d.ts +27 -4
- package/dist/base/llm/llm-client.d.ts.map +1 -1
- package/dist/base/llm/llm-client.js +43 -10
- package/dist/base/llm/llm-client.js.map +1 -1
- package/dist/base/llm/ollama-client.d.ts.map +1 -1
- package/dist/base/llm/ollama-client.js +6 -1
- package/dist/base/llm/ollama-client.js.map +1 -1
- package/dist/base/llm/openai-client.d.ts +1 -0
- package/dist/base/llm/openai-client.d.ts.map +1 -1
- package/dist/base/llm/openai-client.js +239 -20
- package/dist/base/llm/openai-client.js.map +1 -1
- package/dist/base/llm/provider-config-models.d.ts +13 -0
- package/dist/base/llm/provider-config-models.d.ts.map +1 -0
- package/dist/base/llm/provider-config-models.js +37 -0
- package/dist/base/llm/provider-config-models.js.map +1 -0
- package/dist/base/llm/provider-config-resolution.d.ts +18 -0
- package/dist/base/llm/provider-config-resolution.d.ts.map +1 -0
- package/dist/base/llm/provider-config-resolution.js +116 -0
- package/dist/base/llm/provider-config-resolution.js.map +1 -0
- package/dist/base/llm/provider-config-types.d.ts +103 -0
- package/dist/base/llm/provider-config-types.d.ts.map +1 -0
- package/dist/base/llm/provider-config-types.js +2 -0
- package/dist/base/llm/provider-config-types.js.map +1 -0
- package/dist/base/llm/provider-config.d.ts +3 -111
- package/dist/base/llm/provider-config.d.ts.map +1 -1
- package/dist/base/llm/provider-config.js +22 -160
- package/dist/base/llm/provider-config.js.map +1 -1
- package/dist/base/llm/provider-factory.d.ts +10 -0
- package/dist/base/llm/provider-factory.d.ts.map +1 -1
- package/dist/base/llm/provider-factory.js +26 -1
- package/dist/base/llm/provider-factory.js.map +1 -1
- package/dist/base/state/legacy-archived-goal-recovery.d.ts +8 -0
- package/dist/base/state/legacy-archived-goal-recovery.d.ts.map +1 -0
- package/dist/base/state/legacy-archived-goal-recovery.js +29 -0
- package/dist/base/state/legacy-archived-goal-recovery.js.map +1 -0
- package/dist/base/state/legacy-state-manager-wal-recovery.d.ts +13 -0
- package/dist/base/state/legacy-state-manager-wal-recovery.d.ts.map +1 -0
- package/dist/base/state/legacy-state-manager-wal-recovery.js +102 -0
- package/dist/base/state/legacy-state-manager-wal-recovery.js.map +1 -0
- package/dist/base/state/{state-wal.d.ts → legacy-state-wal.d.ts} +7 -1
- package/dist/base/state/legacy-state-wal.d.ts.map +1 -0
- package/dist/base/state/{state-wal.js → legacy-state-wal.js} +50 -2
- package/dist/base/state/legacy-state-wal.js.map +1 -0
- package/dist/base/state/state-manager.d.ts +73 -44
- package/dist/base/state/state-manager.d.ts.map +1 -1
- package/dist/base/state/state-manager.js +492 -265
- package/dist/base/state/state-manager.js.map +1 -1
- package/dist/base/state/state-snapshot.d.ts.map +1 -1
- package/dist/base/state/state-snapshot.js +16 -3
- package/dist/base/state/state-snapshot.js.map +1 -1
- package/dist/base/types/time-horizon.d.ts +1 -0
- package/dist/base/types/time-horizon.d.ts.map +1 -1
- package/dist/base/types/time-horizon.js +20 -19
- package/dist/base/types/time-horizon.js.map +1 -1
- package/dist/base/utils/abort-reason.d.ts +11 -0
- package/dist/base/utils/abort-reason.d.ts.map +1 -0
- package/dist/base/utils/abort-reason.js +17 -0
- package/dist/base/utils/abort-reason.js.map +1 -0
- package/dist/base/utils/event-spool.d.ts +26 -0
- package/dist/base/utils/event-spool.d.ts.map +1 -0
- package/dist/base/utils/event-spool.js +149 -0
- package/dist/base/utils/event-spool.js.map +1 -0
- package/dist/base/utils/execFileNoThrow.d.ts.map +1 -1
- package/dist/base/utils/execFileNoThrow.js +21 -3
- package/dist/base/utils/execFileNoThrow.js.map +1 -1
- package/dist/base/utils/json-io.d.ts +25 -1
- package/dist/base/utils/json-io.d.ts.map +1 -1
- package/dist/base/utils/json-io.js +144 -3
- package/dist/base/utils/json-io.js.map +1 -1
- package/dist/base/utils/package-metadata.d.ts +10 -0
- package/dist/base/utils/package-metadata.d.ts.map +1 -0
- package/dist/base/utils/package-metadata.js +40 -0
- package/dist/base/utils/package-metadata.js.map +1 -0
- package/dist/base/utils/paths.d.ts +7 -0
- package/dist/base/utils/paths.d.ts.map +1 -1
- package/dist/base/utils/paths.js +13 -0
- package/dist/base/utils/paths.js.map +1 -1
- package/dist/base/utils/process-pid.d.ts +15 -0
- package/dist/base/utils/process-pid.d.ts.map +1 -0
- package/dist/base/utils/process-pid.js +45 -0
- package/dist/base/utils/process-pid.js.map +1 -0
- package/dist/base/utils/usage-counter.d.ts +14 -0
- package/dist/base/utils/usage-counter.d.ts.map +1 -0
- package/dist/base/utils/usage-counter.js +50 -0
- package/dist/base/utils/usage-counter.js.map +1 -0
- package/dist/base/utils/workspace-root.d.ts +6 -0
- package/dist/base/utils/workspace-root.d.ts.map +1 -0
- package/dist/base/utils/workspace-root.js +87 -0
- package/dist/base/utils/workspace-root.js.map +1 -0
- package/dist/grounding/contracts.d.ts +2 -0
- package/dist/grounding/contracts.d.ts.map +1 -1
- package/dist/grounding/profile-surface.d.ts +30 -0
- package/dist/grounding/profile-surface.d.ts.map +1 -0
- package/dist/grounding/profile-surface.js +257 -0
- package/dist/grounding/profile-surface.js.map +1 -0
- package/dist/grounding/providers/helpers.d.ts +6 -1
- package/dist/grounding/providers/helpers.d.ts.map +1 -1
- package/dist/grounding/providers/helpers.js +11 -3
- package/dist/grounding/providers/helpers.js.map +1 -1
- package/dist/grounding/providers/knowledge-provider.d.ts.map +1 -1
- package/dist/grounding/providers/knowledge-provider.js +22 -5
- package/dist/grounding/providers/knowledge-provider.js.map +1 -1
- package/dist/grounding/providers/session-history-provider.d.ts.map +1 -1
- package/dist/grounding/providers/session-history-provider.js +12 -22
- package/dist/grounding/providers/session-history-provider.js.map +1 -1
- package/dist/grounding/providers/soil-provider.d.ts.map +1 -1
- package/dist/grounding/providers/soil-provider.js +65 -10
- package/dist/grounding/providers/soil-provider.js.map +1 -1
- package/dist/grounding/providers/task-state-provider.d.ts.map +1 -1
- package/dist/grounding/providers/task-state-provider.js +7 -27
- package/dist/grounding/providers/task-state-provider.js.map +1 -1
- package/dist/grounding/providers/trust-state-provider.d.ts.map +1 -1
- package/dist/grounding/providers/trust-state-provider.js +5 -4
- package/dist/grounding/providers/trust-state-provider.js.map +1 -1
- package/dist/grounding/surface-contract-source-helpers.d.ts +37 -0
- package/dist/grounding/surface-contract-source-helpers.d.ts.map +1 -0
- package/dist/grounding/surface-contract-source-helpers.js +58 -0
- package/dist/grounding/surface-contract-source-helpers.js.map +1 -0
- package/dist/grounding/surface-contracts.d.ts +19531 -0
- package/dist/grounding/surface-contracts.d.ts.map +1 -0
- package/dist/grounding/surface-contracts.js +1352 -0
- package/dist/grounding/surface-contracts.js.map +1 -0
- package/dist/index.d.ts +17 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +9 -4
- package/dist/index.js.map +1 -1
- package/dist/interface/chat/chat-agentloop-state-migration.d.ts +14 -0
- package/dist/interface/chat/chat-agentloop-state-migration.d.ts.map +1 -0
- package/dist/interface/chat/chat-agentloop-state-migration.js +252 -0
- package/dist/interface/chat/chat-agentloop-state-migration.js.map +1 -0
- package/dist/interface/chat/chat-command-args.d.ts +47 -0
- package/dist/interface/chat/chat-command-args.d.ts.map +1 -0
- package/dist/interface/chat/chat-command-args.js +134 -0
- package/dist/interface/chat/chat-command-args.js.map +1 -0
- package/dist/interface/chat/chat-event-state.d.ts.map +1 -1
- package/dist/interface/chat/chat-event-state.js +17 -0
- package/dist/interface/chat/chat-event-state.js.map +1 -1
- package/dist/interface/chat/chat-events.d.ts +23 -11
- package/dist/interface/chat/chat-events.d.ts.map +1 -1
- package/dist/interface/chat/chat-history.d.ts +18 -8969
- package/dist/interface/chat/chat-history.d.ts.map +1 -1
- package/dist/interface/chat/chat-history.js +67 -182
- package/dist/interface/chat/chat-history.js.map +1 -1
- package/dist/interface/chat/chat-runner-command-helpers.d.ts +4 -8
- package/dist/interface/chat/chat-runner-command-helpers.d.ts.map +1 -1
- package/dist/interface/chat/chat-runner-command-helpers.js +25 -50
- package/dist/interface/chat/chat-runner-command-helpers.js.map +1 -1
- package/dist/interface/chat/chat-runner-commands.d.ts +2 -7
- package/dist/interface/chat/chat-runner-commands.d.ts.map +1 -1
- package/dist/interface/chat/chat-runner-commands.js +112 -197
- package/dist/interface/chat/chat-runner-commands.js.map +1 -1
- package/dist/interface/chat/chat-runner-contracts.d.ts +34 -3
- package/dist/interface/chat/chat-runner-contracts.d.ts.map +1 -1
- package/dist/interface/chat/chat-runner-event-bridge.d.ts +35 -21
- package/dist/interface/chat/chat-runner-event-bridge.d.ts.map +1 -1
- package/dist/interface/chat/chat-runner-event-bridge.js +406 -71
- package/dist/interface/chat/chat-runner-event-bridge.js.map +1 -1
- package/dist/interface/chat/chat-runner-guardrail-status.d.ts +12 -0
- package/dist/interface/chat/chat-runner-guardrail-status.d.ts.map +1 -0
- package/dist/interface/chat/chat-runner-guardrail-status.js +173 -0
- package/dist/interface/chat/chat-runner-guardrail-status.js.map +1 -0
- package/dist/interface/chat/chat-runner-routes.d.ts +34 -88
- package/dist/interface/chat/chat-runner-routes.d.ts.map +1 -1
- package/dist/interface/chat/chat-runner-routes.js +815 -426
- package/dist/interface/chat/chat-runner-routes.js.map +1 -1
- package/dist/interface/chat/chat-runner-runtime.d.ts +9 -4
- package/dist/interface/chat/chat-runner-runtime.d.ts.map +1 -1
- package/dist/interface/chat/chat-runner-runtime.js +47 -17
- package/dist/interface/chat/chat-runner-runtime.js.map +1 -1
- package/dist/interface/chat/chat-runner-setup-format.d.ts +11 -0
- package/dist/interface/chat/chat-runner-setup-format.d.ts.map +1 -0
- package/dist/interface/chat/chat-runner-setup-format.js +28 -0
- package/dist/interface/chat/chat-runner-setup-format.js.map +1 -0
- package/dist/interface/chat/chat-runner-state.d.ts +2 -6
- package/dist/interface/chat/chat-runner-state.d.ts.map +1 -1
- package/dist/interface/chat/chat-runner-state.js +22 -128
- package/dist/interface/chat/chat-runner-state.js.map +1 -1
- package/dist/interface/chat/chat-runner-support.d.ts +2 -2
- package/dist/interface/chat/chat-runner.d.ts +36 -1
- package/dist/interface/chat/chat-runner.d.ts.map +1 -1
- package/dist/interface/chat/chat-runner.js +449 -188
- package/dist/interface/chat/chat-runner.js.map +1 -1
- package/dist/interface/chat/chat-session-contracts.d.ts +8872 -0
- package/dist/interface/chat/chat-session-contracts.d.ts.map +1 -0
- package/dist/interface/chat/chat-session-contracts.js +143 -0
- package/dist/interface/chat/chat-session-contracts.js.map +1 -0
- package/dist/interface/chat/chat-session-data-store.d.ts +26 -0
- package/dist/interface/chat/chat-session-data-store.d.ts.map +1 -0
- package/dist/interface/chat/chat-session-data-store.js +227 -0
- package/dist/interface/chat/chat-session-data-store.js.map +1 -0
- package/dist/interface/chat/chat-session-store.d.ts +8 -3
- package/dist/interface/chat/chat-session-store.d.ts.map +1 -1
- package/dist/interface/chat/chat-session-store.js +111 -246
- package/dist/interface/chat/chat-session-store.js.map +1 -1
- package/dist/interface/chat/chat-state-base-dir.d.ts +3 -0
- package/dist/interface/chat/chat-state-base-dir.d.ts.map +1 -0
- package/dist/interface/chat/chat-state-base-dir.js +17 -0
- package/dist/interface/chat/chat-state-base-dir.js.map +1 -0
- package/dist/interface/chat/chat-state-service.d.ts.map +1 -1
- package/dist/interface/chat/chat-state-service.js +2 -3
- package/dist/interface/chat/chat-state-service.js.map +1 -1
- package/dist/interface/chat/chat-usage-contracts.d.ts +102 -0
- package/dist/interface/chat/chat-usage-contracts.d.ts.map +1 -0
- package/dist/interface/chat/chat-usage-contracts.js +17 -0
- package/dist/interface/chat/chat-usage-contracts.js.map +1 -0
- package/dist/interface/chat/chat-usage.d.ts +12 -0
- package/dist/interface/chat/chat-usage.d.ts.map +1 -0
- package/dist/interface/chat/chat-usage.js +38 -0
- package/dist/interface/chat/chat-usage.js.map +1 -0
- package/dist/interface/chat/cross-platform-session-normalization.d.ts +50 -0
- package/dist/interface/chat/cross-platform-session-normalization.d.ts.map +1 -0
- package/dist/interface/chat/cross-platform-session-normalization.js +134 -0
- package/dist/interface/chat/cross-platform-session-normalization.js.map +1 -0
- package/dist/interface/chat/cross-platform-session-types.d.ts +105 -0
- package/dist/interface/chat/cross-platform-session-types.d.ts.map +1 -0
- package/dist/interface/chat/cross-platform-session-types.js +2 -0
- package/dist/interface/chat/cross-platform-session-types.js.map +1 -0
- package/dist/interface/chat/cross-platform-session.d.ts +12 -101
- package/dist/interface/chat/cross-platform-session.d.ts.map +1 -1
- package/dist/interface/chat/cross-platform-session.js +410 -220
- 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 +3 -2
- package/dist/interface/chat/event-subscriber.js.map +1 -1
- package/dist/interface/chat/failure-recovery.d.ts +5 -5
- package/dist/interface/chat/failure-recovery.d.ts.map +1 -1
- package/dist/interface/chat/failure-recovery.js +23 -18
- package/dist/interface/chat/failure-recovery.js.map +1 -1
- package/dist/interface/chat/feedback-ingestion.d.ts +17 -0
- package/dist/interface/chat/feedback-ingestion.d.ts.map +1 -0
- package/dist/interface/chat/feedback-ingestion.js +140 -0
- package/dist/interface/chat/feedback-ingestion.js.map +1 -0
- package/dist/interface/chat/gateway-progress.d.ts +17 -0
- package/dist/interface/chat/gateway-progress.d.ts.map +1 -0
- package/dist/interface/chat/gateway-progress.js +2 -0
- package/dist/interface/chat/gateway-progress.js.map +1 -0
- package/dist/interface/chat/grounding.d.ts.map +1 -1
- package/dist/interface/chat/grounding.js +2 -0
- package/dist/interface/chat/grounding.js.map +1 -1
- package/dist/interface/chat/ingress-router.d.ts +11 -63
- package/dist/interface/chat/ingress-router.d.ts.map +1 -1
- package/dist/interface/chat/ingress-router.js +90 -142
- package/dist/interface/chat/ingress-router.js.map +1 -1
- package/dist/interface/chat/ingress-types.d.ts +52 -0
- package/dist/interface/chat/ingress-types.d.ts.map +1 -0
- package/dist/interface/chat/ingress-types.js +2 -0
- package/dist/interface/chat/ingress-types.js.map +1 -0
- package/dist/interface/chat/operation-progress.d.ts +2 -0
- package/dist/interface/chat/operation-progress.d.ts.map +1 -1
- package/dist/interface/chat/operation-progress.js +1 -0
- package/dist/interface/chat/operation-progress.js.map +1 -1
- package/dist/interface/chat/recovery-resume.d.ts +33 -0
- package/dist/interface/chat/recovery-resume.d.ts.map +1 -0
- package/dist/interface/chat/recovery-resume.js +92 -0
- package/dist/interface/chat/recovery-resume.js.map +1 -0
- package/dist/interface/chat/resume-choice.d.ts +2 -0
- package/dist/interface/chat/resume-choice.d.ts.map +1 -0
- package/dist/interface/chat/resume-choice.js +10 -0
- package/dist/interface/chat/resume-choice.js.map +1 -0
- package/dist/interface/chat/runtime-evidence-gate.d.ts +17 -0
- package/dist/interface/chat/runtime-evidence-gate.d.ts.map +1 -0
- package/dist/interface/chat/runtime-evidence-gate.js +171 -0
- package/dist/interface/chat/runtime-evidence-gate.js.map +1 -0
- package/dist/interface/chat/seedy-presence-text.d.ts +7 -0
- package/dist/interface/chat/seedy-presence-text.d.ts.map +1 -0
- package/dist/interface/chat/seedy-presence-text.js +78 -0
- package/dist/interface/chat/seedy-presence-text.js.map +1 -0
- package/dist/interface/chat/seedy-presence-view-model.d.ts +15 -0
- package/dist/interface/chat/seedy-presence-view-model.d.ts.map +1 -0
- package/dist/interface/chat/seedy-presence-view-model.js +90 -0
- package/dist/interface/chat/seedy-presence-view-model.js.map +1 -0
- package/dist/interface/chat/seedy-turn-presence.d.ts +103 -0
- package/dist/interface/chat/seedy-turn-presence.d.ts.map +1 -0
- package/dist/interface/chat/seedy-turn-presence.js +195 -0
- package/dist/interface/chat/seedy-turn-presence.js.map +1 -0
- package/dist/interface/chat/setup-config-write.js +1 -1
- package/dist/interface/chat/setup-config-write.js.map +1 -1
- package/dist/interface/chat/telegram-setup-guidance.d.ts +55 -0
- package/dist/interface/chat/telegram-setup-guidance.d.ts.map +1 -0
- package/dist/interface/chat/telegram-setup-guidance.js +105 -0
- package/dist/interface/chat/telegram-setup-guidance.js.map +1 -0
- package/dist/interface/chat/tend-command.d.ts +1 -0
- package/dist/interface/chat/tend-command.d.ts.map +1 -1
- package/dist/interface/chat/tend-command.js +67 -15
- package/dist/interface/chat/tend-command.js.map +1 -1
- package/dist/interface/chat/turn-context.d.ts +2 -0
- package/dist/interface/chat/turn-context.d.ts.map +1 -1
- package/dist/interface/chat/turn-context.js +2 -0
- package/dist/interface/chat/turn-context.js.map +1 -1
- package/dist/interface/chat/turn-language.d.ts +0 -1
- package/dist/interface/chat/turn-language.d.ts.map +1 -1
- package/dist/interface/chat/turn-language.js +0 -3
- package/dist/interface/chat/turn-language.js.map +1 -1
- package/dist/interface/chat/turn-protocol.d.ts +1 -2
- package/dist/interface/chat/turn-protocol.d.ts.map +1 -1
- package/dist/interface/chat/turn-protocol.js.map +1 -1
- package/dist/interface/chat/turn-state.d.ts +22 -0
- package/dist/interface/chat/turn-state.d.ts.map +1 -0
- package/dist/interface/chat/turn-state.js +2 -0
- package/dist/interface/chat/turn-state.js.map +1 -0
- package/dist/interface/cli/cli-command-registry.d.ts +6 -6
- package/dist/interface/cli/cli-command-registry.d.ts.map +1 -1
- package/dist/interface/cli/cli-command-registry.js +55 -50
- package/dist/interface/cli/cli-command-registry.js.map +1 -1
- package/dist/interface/cli/cli-runner.d.ts +2 -2
- package/dist/interface/cli/cli-runner.d.ts.map +1 -1
- package/dist/interface/cli/cli-runner.js +85 -9
- package/dist/interface/cli/cli-runner.js.map +1 -1
- package/dist/interface/cli/commands/approval.d.ts +1 -1
- package/dist/interface/cli/commands/approval.d.ts.map +1 -1
- package/dist/interface/cli/commands/approval.js +2 -33
- package/dist/interface/cli/commands/approval.js.map +1 -1
- package/dist/interface/cli/commands/config.d.ts +2 -2
- package/dist/interface/cli/commands/config.d.ts.map +1 -1
- package/dist/interface/cli/commands/config.js +85 -28
- package/dist/interface/cli/commands/config.js.map +1 -1
- package/dist/interface/cli/commands/daemon-shared.d.ts +8 -8
- package/dist/interface/cli/commands/daemon-shared.d.ts.map +1 -1
- package/dist/interface/cli/commands/daemon-shared.js +55 -55
- package/dist/interface/cli/commands/daemon-shared.js.map +1 -1
- package/dist/interface/cli/commands/daemon-status-health.d.ts +16 -0
- package/dist/interface/cli/commands/daemon-status-health.d.ts.map +1 -0
- package/dist/interface/cli/commands/daemon-status-health.js +134 -0
- package/dist/interface/cli/commands/daemon-status-health.js.map +1 -0
- package/dist/interface/cli/commands/daemon.d.ts +8 -2
- package/dist/interface/cli/commands/daemon.d.ts.map +1 -1
- package/dist/interface/cli/commands/daemon.js +203 -105
- package/dist/interface/cli/commands/daemon.js.map +1 -1
- package/dist/interface/cli/commands/display-format.d.ts +8 -0
- package/dist/interface/cli/commands/display-format.d.ts.map +1 -0
- package/dist/interface/cli/commands/display-format.js +79 -0
- package/dist/interface/cli/commands/display-format.js.map +1 -0
- package/dist/interface/cli/commands/doctor.d.ts +3 -2
- package/dist/interface/cli/commands/doctor.d.ts.map +1 -1
- package/dist/interface/cli/commands/doctor.js +220 -109
- package/dist/interface/cli/commands/doctor.js.map +1 -1
- package/dist/interface/cli/commands/exact-number.d.ts +2 -0
- package/dist/interface/cli/commands/exact-number.d.ts.map +1 -0
- package/dist/interface/cli/commands/exact-number.js +9 -0
- package/dist/interface/cli/commands/exact-number.js.map +1 -0
- package/dist/interface/cli/commands/gateway.d.ts +1 -1
- package/dist/interface/cli/commands/gateway.d.ts.map +1 -1
- package/dist/interface/cli/commands/gateway.js +40 -1
- package/dist/interface/cli/commands/gateway.js.map +1 -1
- package/dist/interface/cli/commands/goal-dispatch.d.ts.map +1 -1
- package/dist/interface/cli/commands/goal-dispatch.js +9 -2
- package/dist/interface/cli/commands/goal-dispatch.js.map +1 -1
- package/dist/interface/cli/commands/goal-read.d.ts +8 -2
- package/dist/interface/cli/commands/goal-read.d.ts.map +1 -1
- package/dist/interface/cli/commands/goal-read.js +143 -70
- package/dist/interface/cli/commands/goal-read.js.map +1 -1
- package/dist/interface/cli/commands/goal-utils.d.ts +5 -12
- package/dist/interface/cli/commands/goal-utils.d.ts.map +1 -1
- package/dist/interface/cli/commands/goal-utils.js +27 -20
- package/dist/interface/cli/commands/goal-utils.js.map +1 -1
- package/dist/interface/cli/commands/goal-write.d.ts +2 -2
- package/dist/interface/cli/commands/goal-write.d.ts.map +1 -1
- package/dist/interface/cli/commands/goal-write.js +17 -7
- package/dist/interface/cli/commands/goal-write.js.map +1 -1
- package/dist/interface/cli/commands/goal.d.ts +1 -1
- package/dist/interface/cli/commands/goal.d.ts.map +1 -1
- package/dist/interface/cli/commands/goal.js +1 -1
- package/dist/interface/cli/commands/goal.js.map +1 -1
- package/dist/interface/cli/commands/install.d.ts +1 -0
- package/dist/interface/cli/commands/install.d.ts.map +1 -1
- package/dist/interface/cli/commands/install.js +20 -4
- package/dist/interface/cli/commands/install.js.map +1 -1
- package/dist/interface/cli/commands/logs.d.ts +1 -0
- package/dist/interface/cli/commands/logs.d.ts.map +1 -1
- package/dist/interface/cli/commands/logs.js +23 -4
- package/dist/interface/cli/commands/logs.js.map +1 -1
- package/dist/interface/cli/commands/notify.d.ts.map +1 -1
- package/dist/interface/cli/commands/notify.js +59 -15
- package/dist/interface/cli/commands/notify.js.map +1 -1
- package/dist/interface/cli/commands/operator-binding-status.d.ts +2 -0
- package/dist/interface/cli/commands/operator-binding-status.d.ts.map +1 -1
- package/dist/interface/cli/commands/operator-binding-status.js +191 -14
- package/dist/interface/cli/commands/operator-binding-status.js.map +1 -1
- package/dist/interface/cli/commands/plugin.d.ts.map +1 -1
- package/dist/interface/cli/commands/plugin.js +54 -40
- package/dist/interface/cli/commands/plugin.js.map +1 -1
- package/dist/interface/cli/commands/profile.d.ts.map +1 -1
- package/dist/interface/cli/commands/profile.js +3 -2
- package/dist/interface/cli/commands/profile.js.map +1 -1
- package/dist/interface/cli/commands/run.d.ts +5 -5
- package/dist/interface/cli/commands/run.d.ts.map +1 -1
- package/dist/interface/cli/commands/run.js +15 -26
- package/dist/interface/cli/commands/run.js.map +1 -1
- package/dist/interface/cli/commands/runtime.d.ts.map +1 -1
- package/dist/interface/cli/commands/runtime.js +73 -11
- package/dist/interface/cli/commands/runtime.js.map +1 -1
- package/dist/interface/cli/commands/schedule/cost.d.ts +1 -1
- package/dist/interface/cli/commands/schedule/cost.d.ts.map +1 -1
- package/dist/interface/cli/commands/schedule/cost.js +9 -22
- package/dist/interface/cli/commands/schedule/cost.js.map +1 -1
- package/dist/interface/cli/commands/schedule/history.d.ts.map +1 -1
- package/dist/interface/cli/commands/schedule/history.js +19 -1
- package/dist/interface/cli/commands/schedule/history.js.map +1 -1
- package/dist/interface/cli/commands/schedule/shared.d.ts.map +1 -1
- package/dist/interface/cli/commands/schedule/shared.js +25 -8
- package/dist/interface/cli/commands/schedule/shared.js.map +1 -1
- package/dist/interface/cli/commands/schedule.d.ts +1 -1
- package/dist/interface/cli/commands/schedule.d.ts.map +1 -1
- package/dist/interface/cli/commands/schedule.js +163 -86
- package/dist/interface/cli/commands/schedule.js.map +1 -1
- package/dist/interface/cli/commands/setup/import/apply.d.ts.map +1 -1
- package/dist/interface/cli/commands/setup/import/apply.js +153 -7
- package/dist/interface/cli/commands/setup/import/apply.js.map +1 -1
- package/dist/interface/cli/commands/setup/import/discovery.js +14 -15
- package/dist/interface/cli/commands/setup/import/discovery.js.map +1 -1
- package/dist/interface/cli/commands/setup/import/fs-utils.d.ts +4 -0
- package/dist/interface/cli/commands/setup/import/fs-utils.d.ts.map +1 -1
- package/dist/interface/cli/commands/setup/import/fs-utils.js +20 -2
- package/dist/interface/cli/commands/setup/import/fs-utils.js.map +1 -1
- package/dist/interface/cli/commands/setup/import/provider.d.ts.map +1 -1
- package/dist/interface/cli/commands/setup/import/provider.js +44 -31
- package/dist/interface/cli/commands/setup/import/provider.js.map +1 -1
- package/dist/interface/cli/commands/setup/import/telegram.d.ts.map +1 -1
- package/dist/interface/cli/commands/setup/import/telegram.js +4 -3
- package/dist/interface/cli/commands/setup/import/telegram.js.map +1 -1
- package/dist/interface/cli/commands/setup/import/types.d.ts +3 -0
- package/dist/interface/cli/commands/setup/import/types.d.ts.map +1 -1
- package/dist/interface/cli/commands/setup/resident-readiness.d.ts +42 -0
- package/dist/interface/cli/commands/setup/resident-readiness.d.ts.map +1 -0
- package/dist/interface/cli/commands/setup/resident-readiness.js +79 -0
- package/dist/interface/cli/commands/setup/resident-readiness.js.map +1 -0
- package/dist/interface/cli/commands/setup/steps-gateway.d.ts +10 -0
- package/dist/interface/cli/commands/setup/steps-gateway.d.ts.map +1 -1
- package/dist/interface/cli/commands/setup/steps-gateway.js +89 -44
- package/dist/interface/cli/commands/setup/steps-gateway.js.map +1 -1
- package/dist/interface/cli/commands/setup/steps-runtime.d.ts +1 -0
- package/dist/interface/cli/commands/setup/steps-runtime.d.ts.map +1 -1
- package/dist/interface/cli/commands/setup/steps-runtime.js +29 -18
- package/dist/interface/cli/commands/setup/steps-runtime.js.map +1 -1
- package/dist/interface/cli/commands/setup-wizard.d.ts +3 -33
- package/dist/interface/cli/commands/setup-wizard.d.ts.map +1 -1
- package/dist/interface/cli/commands/setup-wizard.js +18 -81
- package/dist/interface/cli/commands/setup-wizard.js.map +1 -1
- package/dist/interface/cli/commands/skills.d.ts.map +1 -1
- package/dist/interface/cli/commands/skills.js +10 -2
- package/dist/interface/cli/commands/skills.js.map +1 -1
- package/dist/interface/cli/commands/suggest-normalizer.d.ts +7 -3
- package/dist/interface/cli/commands/suggest-normalizer.d.ts.map +1 -1
- package/dist/interface/cli/commands/suggest-normalizer.js +70 -23
- package/dist/interface/cli/commands/suggest-normalizer.js.map +1 -1
- package/dist/interface/cli/commands/suggest.d.ts +1 -0
- package/dist/interface/cli/commands/suggest.d.ts.map +1 -1
- package/dist/interface/cli/commands/suggest.js +40 -10
- package/dist/interface/cli/commands/suggest.js.map +1 -1
- package/dist/interface/cli/commands/task-read.d.ts +1 -1
- package/dist/interface/cli/commands/task-read.d.ts.map +1 -1
- package/dist/interface/cli/commands/task-read.js +8 -30
- package/dist/interface/cli/commands/task-read.js.map +1 -1
- package/dist/interface/cli/commands/telegram-id-parser.d.ts +10 -0
- package/dist/interface/cli/commands/telegram-id-parser.d.ts.map +1 -0
- package/dist/interface/cli/commands/telegram-id-parser.js +26 -0
- package/dist/interface/cli/commands/telegram-id-parser.js.map +1 -0
- package/dist/interface/cli/commands/telegram.d.ts +2 -1
- package/dist/interface/cli/commands/telegram.d.ts.map +1 -1
- package/dist/interface/cli/commands/telegram.js +66 -20
- package/dist/interface/cli/commands/telegram.js.map +1 -1
- package/dist/interface/cli/commands/usage.d.ts.map +1 -1
- package/dist/interface/cli/commands/usage.js +17 -83
- package/dist/interface/cli/commands/usage.js.map +1 -1
- package/dist/interface/cli/data-source-bootstrap.d.ts +1 -1
- package/dist/interface/cli/data-source-bootstrap.d.ts.map +1 -1
- package/dist/interface/cli/data-source-bootstrap.js +43 -10
- package/dist/interface/cli/data-source-bootstrap.js.map +1 -1
- package/dist/interface/cli/datasource-config-file.d.ts +5 -0
- package/dist/interface/cli/datasource-config-file.d.ts.map +1 -0
- package/dist/interface/cli/datasource-config-file.js +14 -0
- package/dist/interface/cli/datasource-config-file.js.map +1 -0
- package/dist/interface/cli/ensure-api-key.d.ts.map +1 -1
- package/dist/interface/cli/ensure-api-key.js +5 -1
- package/dist/interface/cli/ensure-api-key.js.map +1 -1
- package/dist/interface/cli/setup.d.ts.map +1 -1
- package/dist/interface/cli/setup.js +13 -10
- package/dist/interface/cli/setup.js.map +1 -1
- package/dist/interface/cli/utils/loop-runner.d.ts +2 -2
- package/dist/interface/cli/utils/loop-runner.d.ts.map +1 -1
- package/dist/interface/cli/utils/loop-runner.js +3 -3
- 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 +5 -2
- package/dist/interface/cli/utils.js.map +1 -1
- package/dist/interface/current-goal-summary.d.ts +20 -0
- package/dist/interface/current-goal-summary.d.ts.map +1 -0
- package/dist/interface/current-goal-summary.js +197 -0
- package/dist/interface/current-goal-summary.js.map +1 -0
- package/dist/interface/goal-status-display.d.ts +7 -0
- package/dist/interface/goal-status-display.d.ts.map +1 -0
- package/dist/interface/goal-status-display.js +48 -0
- package/dist/interface/goal-status-display.js.map +1 -0
- package/dist/interface/mcp-server/tools.d.ts.map +1 -1
- package/dist/interface/mcp-server/tools.js +6 -29
- package/dist/interface/mcp-server/tools.js.map +1 -1
- package/dist/interface/runtime-budget-summary.d.ts +19 -0
- package/dist/interface/runtime-budget-summary.d.ts.map +1 -0
- package/dist/interface/runtime-budget-summary.js +157 -0
- package/dist/interface/runtime-budget-summary.js.map +1 -0
- package/dist/interface/tui/actions.d.ts +7 -0
- package/dist/interface/tui/actions.d.ts.map +1 -1
- package/dist/interface/tui/actions.js +91 -46
- package/dist/interface/tui/actions.js.map +1 -1
- package/dist/interface/tui/app-approval.d.ts +4 -0
- package/dist/interface/tui/app-approval.d.ts.map +1 -0
- package/dist/interface/tui/app-approval.js +53 -0
- package/dist/interface/tui/app-approval.js.map +1 -0
- package/dist/interface/tui/app-shell.d.ts +18 -0
- package/dist/interface/tui/app-shell.d.ts.map +1 -0
- package/dist/interface/tui/app-shell.js +47 -0
- package/dist/interface/tui/app-shell.js.map +1 -0
- package/dist/interface/tui/app.d.ts +4 -6
- package/dist/interface/tui/app.d.ts.map +1 -1
- package/dist/interface/tui/app.js +81 -77
- package/dist/interface/tui/app.js.map +1 -1
- package/dist/interface/tui/chat/scroll.d.ts.map +1 -1
- package/dist/interface/tui/chat/scroll.js +18 -8
- package/dist/interface/tui/chat/scroll.js.map +1 -1
- package/dist/interface/tui/chat/suggestions.js +19 -19
- package/dist/interface/tui/chat/suggestions.js.map +1 -1
- package/dist/interface/tui/chat.d.ts +1 -1
- package/dist/interface/tui/chat.d.ts.map +1 -1
- package/dist/interface/tui/chat.js +4 -3
- package/dist/interface/tui/chat.js.map +1 -1
- package/dist/interface/tui/dashboard.d.ts.map +1 -1
- package/dist/interface/tui/dashboard.js +2 -2
- package/dist/interface/tui/dashboard.js.map +1 -1
- package/dist/interface/tui/entry-daemon.d.ts.map +1 -1
- package/dist/interface/tui/entry-daemon.js +9 -4
- package/dist/interface/tui/entry-daemon.js.map +1 -1
- package/dist/interface/tui/entry-deps.d.ts.map +1 -1
- package/dist/interface/tui/entry-deps.js +12 -9
- package/dist/interface/tui/entry-deps.js.map +1 -1
- package/dist/interface/tui/flicker-overlay.d.ts.map +1 -1
- package/dist/interface/tui/flicker-overlay.js +5 -4
- package/dist/interface/tui/flicker-overlay.js.map +1 -1
- package/dist/interface/tui/fullscreen-chat-actions.d.ts +17 -0
- package/dist/interface/tui/fullscreen-chat-actions.d.ts.map +1 -0
- package/dist/interface/tui/fullscreen-chat-actions.js +98 -0
- package/dist/interface/tui/fullscreen-chat-actions.js.map +1 -0
- package/dist/interface/tui/fullscreen-chat-composer.d.ts +28 -0
- package/dist/interface/tui/fullscreen-chat-composer.d.ts.map +1 -0
- package/dist/interface/tui/fullscreen-chat-composer.js +385 -0
- package/dist/interface/tui/fullscreen-chat-composer.js.map +1 -0
- package/dist/interface/tui/fullscreen-chat-render-types.d.ts +68 -0
- package/dist/interface/tui/fullscreen-chat-render-types.d.ts.map +1 -0
- package/dist/interface/tui/fullscreen-chat-render-types.js +2 -0
- package/dist/interface/tui/fullscreen-chat-render-types.js.map +1 -0
- package/dist/interface/tui/fullscreen-chat-render-utils.d.ts +10 -0
- package/dist/interface/tui/fullscreen-chat-render-utils.d.ts.map +1 -0
- package/dist/interface/tui/fullscreen-chat-render-utils.js +45 -0
- package/dist/interface/tui/fullscreen-chat-render-utils.js.map +1 -0
- package/dist/interface/tui/fullscreen-chat-render.d.ts +13 -93
- package/dist/interface/tui/fullscreen-chat-render.d.ts.map +1 -1
- package/dist/interface/tui/fullscreen-chat-render.js +19 -420
- package/dist/interface/tui/fullscreen-chat-render.js.map +1 -1
- package/dist/interface/tui/fullscreen-chat.d.ts.map +1 -1
- package/dist/interface/tui/fullscreen-chat.js +2 -97
- 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.map +1 -1
- package/dist/interface/tui/intent-recognizer.js +59 -3
- package/dist/interface/tui/intent-recognizer.js.map +1 -1
- package/dist/interface/tui/markdown-code-highlight.d.ts +7 -0
- package/dist/interface/tui/markdown-code-highlight.d.ts.map +1 -0
- package/dist/interface/tui/markdown-code-highlight.js +64 -0
- package/dist/interface/tui/markdown-code-highlight.js.map +1 -0
- package/dist/interface/tui/markdown-inline.d.ts +9 -0
- package/dist/interface/tui/markdown-inline.d.ts.map +1 -0
- package/dist/interface/tui/markdown-inline.js +86 -0
- package/dist/interface/tui/markdown-inline.js.map +1 -0
- package/dist/interface/tui/markdown-renderer-types.d.ts +16 -0
- package/dist/interface/tui/markdown-renderer-types.d.ts.map +1 -0
- package/dist/interface/tui/markdown-renderer-types.js +2 -0
- package/dist/interface/tui/markdown-renderer-types.js.map +1 -0
- package/dist/interface/tui/markdown-renderer.d.ts +4 -25
- package/dist/interface/tui/markdown-renderer.d.ts.map +1 -1
- package/dist/interface/tui/markdown-renderer.js +8 -164
- package/dist/interface/tui/markdown-renderer.js.map +1 -1
- package/dist/interface/tui/report-view.d.ts +2 -1
- package/dist/interface/tui/report-view.d.ts.map +1 -1
- package/dist/interface/tui/report-view.js +18 -7
- package/dist/interface/tui/report-view.js.map +1 -1
- package/dist/interface/tui/settings-overlay.js +4 -4
- package/dist/interface/tui/settings-overlay.js.map +1 -1
- package/dist/interface/tui/use-loop.d.ts +3 -3
- package/dist/interface/tui/use-loop.d.ts.map +1 -1
- package/dist/interface/tui/use-loop.js +18 -8
- package/dist/interface/tui/use-loop.js.map +1 -1
- package/dist/interface/usage-counter.d.ts +3 -0
- package/dist/interface/usage-counter.d.ts.map +1 -0
- package/dist/interface/usage-counter.js +2 -0
- package/dist/interface/usage-counter.js.map +1 -0
- package/dist/interface/usage-period.d.ts +2 -0
- package/dist/interface/usage-period.d.ts.map +1 -0
- package/dist/interface/usage-period.js +23 -0
- package/dist/interface/usage-period.js.map +1 -0
- package/dist/orchestrator/execution/adapter-layer.d.ts +8 -1
- package/dist/orchestrator/execution/adapter-layer.d.ts.map +1 -1
- package/dist/orchestrator/execution/adapter-layer.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-context-assembler.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-context-assembler.js +19 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-context-assembler.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 +1 -4
- package/dist/orchestrator/execution/agent-loop/agent-loop-default-profile.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-events.d.ts +3 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-events.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-events.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-model-client.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-model-client.js +22 -3
- package/dist/orchestrator/execution/agent-loop/agent-loop-model-client.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-model.d.ts +5 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-model.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-model.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-prompts.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-prompts.js +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-prompts.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-result.d.ts +8 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-result.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-db-store.d.ts +37 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-db-store.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-db-store.js +206 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-db-store.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-factory.d.ts +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-factory.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-factory.js +6 -12
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-factory.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-state.d.ts +0 -6
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-state.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-state.js +0 -21
- package/dist/orchestrator/execution/agent-loop/agent-loop-session-state.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-trace-store.d.ts +0 -7
- package/dist/orchestrator/execution/agent-loop/agent-loop-trace-store.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-trace-store.js +0 -20
- package/dist/orchestrator/execution/agent-loop/agent-loop-trace-store.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-workspace-snapshot.d.ts +17 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-workspace-snapshot.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-workspace-snapshot.js +144 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-workspace-snapshot.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/anthropic-messages-agent-loop-model-client.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/anthropic-messages-agent-loop-model-client.js +2 -2
- package/dist/orchestrator/execution/agent-loop/anthropic-messages-agent-loop-model-client.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.d.ts +2 -9
- 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 +86 -203
- package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-tool-observation.d.ts +11 -0
- package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-tool-observation.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-tool-observation.js +63 -0
- package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-tool-observation.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.d.ts +2 -2
- 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 +6 -3
- package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.js.map +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 +16 -2
- package/dist/orchestrator/execution/agent-loop/core-phase-runner.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/durable-loop-control-tools.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/durable-loop-control-tools.js +26 -13
- package/dist/orchestrator/execution/agent-loop/durable-loop-control-tools.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/response-item-tool-router.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/response-item-tool-router.js +1 -0
- package/dist/orchestrator/execution/agent-loop/response-item-tool-router.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/response-item.d.ts +58 -55
- package/dist/orchestrator/execution/agent-loop/response-item.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/response-item.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/self-protection.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/self-protection.js +2 -2
- package/dist/orchestrator/execution/agent-loop/self-protection.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-context.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-context.js +31 -6
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-context.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-factory.js +32 -11
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-factory.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-result.d.ts +27 -14
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-result.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-result.js +70 -8
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-result.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-runner.d.ts +2 -0
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-runner.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-runner.js +181 -0
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-runner.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-worktree.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-worktree.js +27 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-worktree.js.map +1 -1
- package/dist/orchestrator/execution/checkpoint-manager.d.ts +0 -3
- package/dist/orchestrator/execution/checkpoint-manager.d.ts.map +1 -1
- package/dist/orchestrator/execution/checkpoint-manager.js +12 -52
- package/dist/orchestrator/execution/checkpoint-manager.js.map +1 -1
- package/dist/orchestrator/execution/context/context-budget.d.ts.map +1 -1
- package/dist/orchestrator/execution/context/context-budget.js +36 -14
- package/dist/orchestrator/execution/context/context-budget.js.map +1 -1
- package/dist/orchestrator/execution/context/issue-context-fetcher.d.ts +1 -1
- package/dist/orchestrator/execution/context/issue-context-fetcher.d.ts.map +1 -1
- package/dist/orchestrator/execution/context/issue-context-fetcher.js +11 -3
- package/dist/orchestrator/execution/context/issue-context-fetcher.js.map +1 -1
- package/dist/orchestrator/execution/pipeline-executor.d.ts.map +1 -1
- package/dist/orchestrator/execution/pipeline-executor.js +3 -5
- package/dist/orchestrator/execution/pipeline-executor.js.map +1 -1
- package/dist/orchestrator/execution/session-manager.d.ts +4 -7
- package/dist/orchestrator/execution/session-manager.d.ts.map +1 -1
- package/dist/orchestrator/execution/session-manager.js +8 -38
- package/dist/orchestrator/execution/session-manager.js.map +1 -1
- package/dist/orchestrator/execution/task/task-artifact-contract.d.ts +1 -0
- package/dist/orchestrator/execution/task/task-artifact-contract.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-artifact-contract.js +74 -5
- package/dist/orchestrator/execution/task/task-artifact-contract.js.map +1 -1
- package/dist/orchestrator/execution/task/task-diff-capture.d.ts +2 -0
- package/dist/orchestrator/execution/task/task-diff-capture.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-diff-capture.js +101 -11
- package/dist/orchestrator/execution/task/task-diff-capture.js.map +1 -1
- package/dist/orchestrator/execution/task/task-execution-helpers.d.ts +2 -1
- package/dist/orchestrator/execution/task/task-execution-helpers.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-execution-helpers.js +19 -6
- package/dist/orchestrator/execution/task/task-execution-helpers.js.map +1 -1
- package/dist/orchestrator/execution/task/task-execution-types.d.ts +2 -0
- package/dist/orchestrator/execution/task/task-execution-types.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-execution-types.js.map +1 -1
- package/dist/orchestrator/execution/task/task-executor.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-executor.js +7 -6
- package/dist/orchestrator/execution/task/task-executor.js.map +1 -1
- package/dist/orchestrator/execution/task/task-generation-schema.d.ts +210 -0
- package/dist/orchestrator/execution/task/task-generation-schema.d.ts.map +1 -0
- package/dist/orchestrator/execution/task/task-generation-schema.js +42 -0
- package/dist/orchestrator/execution/task/task-generation-schema.js.map +1 -0
- package/dist/orchestrator/execution/task/task-generation-workspace-contract.d.ts +11 -0
- package/dist/orchestrator/execution/task/task-generation-workspace-contract.d.ts.map +1 -0
- package/dist/orchestrator/execution/task/task-generation-workspace-contract.js +149 -0
- package/dist/orchestrator/execution/task/task-generation-workspace-contract.js.map +1 -0
- package/dist/orchestrator/execution/task/task-generation.d.ts +3 -198
- package/dist/orchestrator/execution/task/task-generation.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-generation.js +74 -88
- package/dist/orchestrator/execution/task/task-generation.js.map +1 -1
- package/dist/orchestrator/execution/task/task-history-metrics.d.ts +2 -0
- package/dist/orchestrator/execution/task/task-history-metrics.d.ts.map +1 -0
- package/dist/orchestrator/execution/task/task-history-metrics.js +13 -0
- package/dist/orchestrator/execution/task/task-history-metrics.js.map +1 -0
- package/dist/orchestrator/execution/task/task-lifecycle-policies.d.ts +29 -0
- package/dist/orchestrator/execution/task/task-lifecycle-policies.d.ts.map +1 -0
- package/dist/orchestrator/execution/task/task-lifecycle-policies.js +96 -0
- package/dist/orchestrator/execution/task/task-lifecycle-policies.js.map +1 -0
- package/dist/orchestrator/execution/task/task-lifecycle-runner.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-lifecycle-runner.js +35 -3
- package/dist/orchestrator/execution/task/task-lifecycle-runner.js.map +1 -1
- package/dist/orchestrator/execution/task/task-lifecycle.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-lifecycle.js +60 -52
- package/dist/orchestrator/execution/task/task-lifecycle.js.map +1 -1
- package/dist/orchestrator/execution/task/task-outcome-ledger.d.ts +2 -1
- package/dist/orchestrator/execution/task/task-outcome-ledger.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-outcome-ledger.js +11 -72
- package/dist/orchestrator/execution/task/task-outcome-ledger.js.map +1 -1
- package/dist/orchestrator/execution/task/task-post-execution.d.ts +2 -1
- package/dist/orchestrator/execution/task/task-post-execution.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-post-execution.js +3 -3
- package/dist/orchestrator/execution/task/task-post-execution.js.map +1 -1
- package/dist/orchestrator/execution/task/task-prompt-builder.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-prompt-builder.js +44 -22
- package/dist/orchestrator/execution/task/task-prompt-builder.js.map +1 -1
- package/dist/orchestrator/execution/task/task-verifier-evidence.d.ts +33 -0
- package/dist/orchestrator/execution/task/task-verifier-evidence.d.ts.map +1 -0
- package/dist/orchestrator/execution/task/task-verifier-evidence.js +164 -0
- package/dist/orchestrator/execution/task/task-verifier-evidence.js.map +1 -0
- package/dist/orchestrator/execution/task/task-verifier-rules.d.ts +1 -0
- package/dist/orchestrator/execution/task/task-verifier-rules.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-verifier-rules.js +106 -51
- package/dist/orchestrator/execution/task/task-verifier-rules.js.map +1 -1
- package/dist/orchestrator/execution/task/task-verifier-types.d.ts +2 -2
- package/dist/orchestrator/execution/task/task-verifier-types.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-verifier-workspace-guards.d.ts +10 -0
- package/dist/orchestrator/execution/task/task-verifier-workspace-guards.d.ts.map +1 -0
- package/dist/orchestrator/execution/task/task-verifier-workspace-guards.js +65 -0
- package/dist/orchestrator/execution/task/task-verifier-workspace-guards.js.map +1 -0
- package/dist/orchestrator/execution/task/task-verifier.d.ts +3 -2
- package/dist/orchestrator/execution/task/task-verifier.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-verifier.js +216 -212
- package/dist/orchestrator/execution/task/task-verifier.js.map +1 -1
- package/dist/orchestrator/execution/types/session.d.ts +2 -0
- package/dist/orchestrator/execution/types/session.d.ts.map +1 -1
- package/dist/orchestrator/execution/types/session.js +11 -7
- package/dist/orchestrator/execution/types/session.js.map +1 -1
- package/dist/orchestrator/execution/types/task-group.d.ts +14 -0
- package/dist/orchestrator/execution/types/task-group.d.ts.map +1 -1
- package/dist/orchestrator/execution/types/task.d.ts +49 -0
- package/dist/orchestrator/execution/types/task.d.ts.map +1 -1
- package/dist/orchestrator/execution/types/task.js +8 -0
- package/dist/orchestrator/execution/types/task.js.map +1 -1
- package/dist/orchestrator/goal/goal-dependency-graph.d.ts +7 -5
- package/dist/orchestrator/goal/goal-dependency-graph.d.ts.map +1 -1
- package/dist/orchestrator/goal/goal-dependency-graph.js +53 -18
- package/dist/orchestrator/goal/goal-dependency-graph.js.map +1 -1
- package/dist/orchestrator/goal/goal-negotiator.d.ts +5 -1
- package/dist/orchestrator/goal/goal-negotiator.d.ts.map +1 -1
- package/dist/orchestrator/goal/goal-negotiator.js +7 -6
- package/dist/orchestrator/goal/goal-negotiator.js.map +1 -1
- package/dist/orchestrator/goal/goal-refiner.d.ts.map +1 -1
- package/dist/orchestrator/goal/goal-refiner.js +15 -8
- package/dist/orchestrator/goal/goal-refiner.js.map +1 -1
- package/dist/orchestrator/goal/goal-suggest.d.ts +6 -2
- package/dist/orchestrator/goal/goal-suggest.d.ts.map +1 -1
- package/dist/orchestrator/goal/goal-suggest.js +19 -30
- package/dist/orchestrator/goal/goal-suggest.js.map +1 -1
- package/dist/orchestrator/goal/milestone-evaluator.d.ts.map +1 -1
- package/dist/orchestrator/goal/milestone-evaluator.js +65 -31
- package/dist/orchestrator/goal/milestone-evaluator.js.map +1 -1
- package/dist/orchestrator/goal/negotiator-context.d.ts.map +1 -1
- package/dist/orchestrator/goal/negotiator-context.js +68 -76
- package/dist/orchestrator/goal/negotiator-context.js.map +1 -1
- package/dist/orchestrator/goal/negotiator-feasibility.d.ts.map +1 -1
- package/dist/orchestrator/goal/negotiator-feasibility.js +2 -1
- package/dist/orchestrator/goal/negotiator-feasibility.js.map +1 -1
- package/dist/orchestrator/goal/types/dependency.d.ts +55 -0
- package/dist/orchestrator/goal/types/dependency.d.ts.map +1 -1
- package/dist/orchestrator/goal/types/dependency.js +5 -0
- package/dist/orchestrator/goal/types/dependency.js.map +1 -1
- package/dist/orchestrator/goal/types/goal-refiner.d.ts.map +1 -1
- package/dist/orchestrator/goal/types/goal-refiner.js +0 -1
- package/dist/orchestrator/goal/types/goal-refiner.js.map +1 -1
- package/dist/orchestrator/loop/checkpoint-manager-loop.d.ts.map +1 -1
- package/dist/orchestrator/loop/checkpoint-manager-loop.js +6 -9
- package/dist/orchestrator/loop/checkpoint-manager-loop.js.map +1 -1
- package/dist/orchestrator/loop/durable-loop/contracts.d.ts +2 -0
- package/dist/orchestrator/loop/durable-loop/contracts.d.ts.map +1 -1
- package/dist/orchestrator/loop/durable-loop/contracts.js.map +1 -1
- package/dist/orchestrator/loop/durable-loop/dream-review-checkpoint.js +1 -9
- package/dist/orchestrator/loop/durable-loop/dream-review-checkpoint.js.map +1 -1
- package/dist/orchestrator/loop/durable-loop/iteration-kernel-evidence-helpers.d.ts +13 -0
- package/dist/orchestrator/loop/durable-loop/iteration-kernel-evidence-helpers.d.ts.map +1 -0
- package/dist/orchestrator/loop/durable-loop/iteration-kernel-evidence-helpers.js +65 -0
- package/dist/orchestrator/loop/durable-loop/iteration-kernel-evidence-helpers.js.map +1 -0
- package/dist/orchestrator/loop/durable-loop/iteration-kernel-wait.d.ts.map +1 -1
- package/dist/orchestrator/loop/durable-loop/iteration-kernel-wait.js +1 -2
- package/dist/orchestrator/loop/durable-loop/iteration-kernel-wait.js.map +1 -1
- package/dist/orchestrator/loop/durable-loop/iteration-kernel.d.ts.map +1 -1
- package/dist/orchestrator/loop/durable-loop/iteration-kernel.js +9 -65
- package/dist/orchestrator/loop/durable-loop/iteration-kernel.js.map +1 -1
- package/dist/orchestrator/loop/durable-loop/learning.js +3 -3
- package/dist/orchestrator/loop/durable-loop/learning.js.map +1 -1
- package/dist/orchestrator/loop/durable-loop/phase-specs.d.ts +76 -66
- package/dist/orchestrator/loop/durable-loop/phase-specs.d.ts.map +1 -1
- package/dist/orchestrator/loop/durable-loop/phase-specs.js +33 -26
- package/dist/orchestrator/loop/durable-loop/phase-specs.js.map +1 -1
- package/dist/orchestrator/loop/durable-loop/task-cycle-stall.d.ts +3 -1
- package/dist/orchestrator/loop/durable-loop/task-cycle-stall.d.ts.map +1 -1
- package/dist/orchestrator/loop/durable-loop/task-cycle-stall.js +10 -4
- package/dist/orchestrator/loop/durable-loop/task-cycle-stall.js.map +1 -1
- package/dist/orchestrator/loop/durable-loop/task-cycle-wait.js +2 -3
- package/dist/orchestrator/loop/durable-loop/task-cycle-wait.js.map +1 -1
- package/dist/orchestrator/loop/durable-loop/task-cycle.d.ts +1 -4
- package/dist/orchestrator/loop/durable-loop/task-cycle.d.ts.map +1 -1
- package/dist/orchestrator/loop/durable-loop/task-cycle.js +32 -12
- package/dist/orchestrator/loop/durable-loop/task-cycle.js.map +1 -1
- package/dist/orchestrator/loop/iteration-budget.d.ts +11 -1
- package/dist/orchestrator/loop/iteration-budget.d.ts.map +1 -1
- package/dist/orchestrator/loop/iteration-budget.js +29 -11
- package/dist/orchestrator/loop/iteration-budget.js.map +1 -1
- package/dist/orchestrator/loop/loop-report-helper.d.ts.map +1 -1
- package/dist/orchestrator/loop/loop-report-helper.js +2 -0
- package/dist/orchestrator/loop/loop-report-helper.js.map +1 -1
- package/dist/orchestrator/loop/tree-loop-runner.d.ts.map +1 -1
- package/dist/orchestrator/loop/tree-loop-runner.js +18 -8
- package/dist/orchestrator/loop/tree-loop-runner.js.map +1 -1
- package/dist/orchestrator/strategy/cross-goal-portfolio.d.ts.map +1 -1
- package/dist/orchestrator/strategy/cross-goal-portfolio.js +7 -5
- package/dist/orchestrator/strategy/cross-goal-portfolio.js.map +1 -1
- package/dist/orchestrator/strategy/portfolio-manager.d.ts +7 -1
- package/dist/orchestrator/strategy/portfolio-manager.d.ts.map +1 -1
- package/dist/orchestrator/strategy/portfolio-manager.js +8 -6
- package/dist/orchestrator/strategy/portfolio-manager.js.map +1 -1
- package/dist/orchestrator/strategy/portfolio-rebalance.d.ts +6 -5
- package/dist/orchestrator/strategy/portfolio-rebalance.d.ts.map +1 -1
- package/dist/orchestrator/strategy/portfolio-rebalance.js +28 -398
- package/dist/orchestrator/strategy/portfolio-rebalance.js.map +1 -1
- package/dist/orchestrator/strategy/portfolio-wait-observation.d.ts +18 -0
- package/dist/orchestrator/strategy/portfolio-wait-observation.d.ts.map +1 -0
- package/dist/orchestrator/strategy/portfolio-wait-observation.js +377 -0
- package/dist/orchestrator/strategy/portfolio-wait-observation.js.map +1 -0
- package/dist/orchestrator/strategy/strategy-helpers.d.ts +3 -2
- package/dist/orchestrator/strategy/strategy-helpers.d.ts.map +1 -1
- package/dist/orchestrator/strategy/strategy-helpers.js +5 -17
- package/dist/orchestrator/strategy/strategy-helpers.js.map +1 -1
- package/dist/orchestrator/strategy/strategy-manager-base.d.ts.map +1 -1
- package/dist/orchestrator/strategy/strategy-manager-base.js +5 -10
- package/dist/orchestrator/strategy/strategy-manager-base.js.map +1 -1
- package/dist/orchestrator/strategy/strategy-manager.d.ts +1 -3
- package/dist/orchestrator/strategy/strategy-manager.d.ts.map +1 -1
- package/dist/orchestrator/strategy/strategy-manager.js +23 -44
- package/dist/orchestrator/strategy/strategy-manager.js.map +1 -1
- package/dist/orchestrator/strategy/strategy-template-registry.d.ts +5 -6
- package/dist/orchestrator/strategy/strategy-template-registry.d.ts.map +1 -1
- package/dist/orchestrator/strategy/strategy-template-registry.js +10 -25
- package/dist/orchestrator/strategy/strategy-template-registry.js.map +1 -1
- package/dist/orchestrator/strategy/strategy-template-state-migration.d.ts +14 -0
- package/dist/orchestrator/strategy/strategy-template-state-migration.d.ts.map +1 -0
- package/dist/orchestrator/strategy/strategy-template-state-migration.js +136 -0
- package/dist/orchestrator/strategy/strategy-template-state-migration.js.map +1 -0
- package/dist/orchestrator/strategy/strategy-template-state-store.d.ts +16 -0
- package/dist/orchestrator/strategy/strategy-template-state-store.d.ts.map +1 -0
- package/dist/orchestrator/strategy/strategy-template-state-store.js +84 -0
- package/dist/orchestrator/strategy/strategy-template-state-store.js.map +1 -0
- package/dist/orchestrator/strategy/strategy-workspace.d.ts.map +1 -1
- package/dist/orchestrator/strategy/strategy-workspace.js +6 -19
- package/dist/orchestrator/strategy/strategy-workspace.js.map +1 -1
- package/dist/orchestrator/strategy/types/cross-portfolio.d.ts +7 -6
- package/dist/orchestrator/strategy/types/cross-portfolio.d.ts.map +1 -1
- package/dist/orchestrator/strategy/types/cross-portfolio.js +2 -1
- package/dist/orchestrator/strategy/types/cross-portfolio.js.map +1 -1
- package/dist/orchestrator/strategy/types/portfolio.d.ts +1 -0
- package/dist/orchestrator/strategy/types/portfolio.d.ts.map +1 -1
- package/dist/orchestrator/strategy/types/portfolio.js +2 -1
- package/dist/orchestrator/strategy/types/portfolio.js.map +1 -1
- package/dist/orchestrator/strategy/types/strategy.d.ts +8 -3
- package/dist/orchestrator/strategy/types/strategy.d.ts.map +1 -1
- package/dist/orchestrator/strategy/types/strategy.js +25 -17
- package/dist/orchestrator/strategy/types/strategy.js.map +1 -1
- package/dist/platform/code-search/candidate-normalizer.d.ts.map +1 -1
- package/dist/platform/code-search/candidate-normalizer.js +4 -2
- package/dist/platform/code-search/candidate-normalizer.js.map +1 -1
- package/dist/platform/code-search/candidate.d.ts.map +1 -1
- package/dist/platform/code-search/candidate.js +5 -0
- package/dist/platform/code-search/candidate.js.map +1 -1
- package/dist/platform/code-search/contracts.d.ts +8 -0
- package/dist/platform/code-search/contracts.d.ts.map +1 -1
- package/dist/platform/code-search/contracts.js.map +1 -1
- package/dist/platform/code-search/indexes/file-index.d.ts.map +1 -1
- package/dist/platform/code-search/indexes/file-index.js +4 -0
- package/dist/platform/code-search/indexes/file-index.js.map +1 -1
- package/dist/platform/code-search/indexes/package-graph.d.ts.map +1 -1
- package/dist/platform/code-search/indexes/package-graph.js +5 -2
- package/dist/platform/code-search/indexes/package-graph.js.map +1 -1
- package/dist/platform/code-search/parse-position.d.ts +2 -0
- package/dist/platform/code-search/parse-position.d.ts.map +1 -0
- package/dist/platform/code-search/parse-position.js +10 -0
- package/dist/platform/code-search/parse-position.js.map +1 -0
- package/dist/platform/code-search/progressive-reader.d.ts.map +1 -1
- package/dist/platform/code-search/progressive-reader.js +58 -13
- package/dist/platform/code-search/progressive-reader.js.map +1 -1
- package/dist/platform/code-search/query-planner.d.ts.map +1 -1
- package/dist/platform/code-search/query-planner.js +4 -3
- package/dist/platform/code-search/query-planner.js.map +1 -1
- package/dist/platform/code-search/verification-retrieval.d.ts.map +1 -1
- package/dist/platform/code-search/verification-retrieval.js +2 -1
- package/dist/platform/code-search/verification-retrieval.js.map +1 -1
- package/dist/platform/corrections/cognition-memory-review.d.ts +233 -0
- package/dist/platform/corrections/cognition-memory-review.d.ts.map +1 -0
- package/dist/platform/corrections/cognition-memory-review.js +93 -0
- package/dist/platform/corrections/cognition-memory-review.js.map +1 -0
- package/dist/platform/corrections/index.d.ts +2 -0
- package/dist/platform/corrections/index.d.ts.map +1 -1
- package/dist/platform/corrections/index.js +2 -0
- package/dist/platform/corrections/index.js.map +1 -1
- package/dist/platform/corrections/memory-correction-ledger.d.ts +60 -60
- package/dist/platform/corrections/memory-governance.d.ts +6 -6
- package/dist/platform/corrections/memory-quarantine.d.ts +3 -3
- package/dist/platform/corrections/user-memory-operations.js +4 -4
- package/dist/platform/corrections/user-memory-operations.js.map +1 -1
- package/dist/platform/dream/dream-activation-artifacts.d.ts.map +1 -1
- package/dist/platform/dream/dream-activation-artifacts.js +4 -16
- package/dist/platform/dream/dream-activation-artifacts.js.map +1 -1
- package/dist/platform/dream/dream-activation.d.ts +2 -185
- package/dist/platform/dream/dream-activation.d.ts.map +1 -1
- package/dist/platform/dream/dream-activation.js +10 -57
- package/dist/platform/dream/dream-activation.js.map +1 -1
- package/dist/platform/dream/dream-analyzer.d.ts +1 -2
- package/dist/platform/dream/dream-analyzer.d.ts.map +1 -1
- package/dist/platform/dream/dream-analyzer.js +21 -59
- package/dist/platform/dream/dream-analyzer.js.map +1 -1
- package/dist/platform/dream/dream-consolidator/evidence-helpers.d.ts +12 -0
- package/dist/platform/dream/dream-consolidator/evidence-helpers.d.ts.map +1 -0
- package/dist/platform/dream/dream-consolidator/evidence-helpers.js +73 -0
- package/dist/platform/dream/dream-consolidator/evidence-helpers.js.map +1 -0
- package/dist/platform/dream/dream-consolidator/fs-metrics.d.ts.map +1 -1
- package/dist/platform/dream/dream-consolidator/fs-metrics.js +27 -38
- package/dist/platform/dream/dream-consolidator/fs-metrics.js.map +1 -1
- package/dist/platform/dream/dream-consolidator.d.ts +3 -0
- package/dist/platform/dream/dream-consolidator.d.ts.map +1 -1
- package/dist/platform/dream/dream-consolidator.js +35 -129
- package/dist/platform/dream/dream-consolidator.js.map +1 -1
- package/dist/platform/dream/dream-decision-heuristics.d.ts +421 -0
- package/dist/platform/dream/dream-decision-heuristics.d.ts.map +1 -0
- package/dist/platform/dream/dream-decision-heuristics.js +27 -0
- package/dist/platform/dream/dream-decision-heuristics.js.map +1 -0
- package/dist/platform/dream/dream-event-workflows.d.ts.map +1 -1
- package/dist/platform/dream/dream-event-workflows.js +23 -37
- package/dist/platform/dream/dream-event-workflows.js.map +1 -1
- package/dist/platform/dream/dream-importance.d.ts +1 -2
- package/dist/platform/dream/dream-importance.d.ts.map +1 -1
- package/dist/platform/dream/dream-importance.js +6 -24
- package/dist/platform/dream/dream-importance.js.map +1 -1
- package/dist/platform/dream/dream-log-collector.d.ts +4 -15
- package/dist/platform/dream/dream-log-collector.d.ts.map +1 -1
- package/dist/platform/dream/dream-log-collector.js +12 -101
- package/dist/platform/dream/dream-log-collector.js.map +1 -1
- package/dist/platform/dream/dream-schedule-suggestions.d.ts +1 -2
- package/dist/platform/dream/dream-schedule-suggestions.d.ts.map +1 -1
- package/dist/platform/dream/dream-schedule-suggestions.js +6 -20
- package/dist/platform/dream/dream-schedule-suggestions.js.map +1 -1
- package/dist/platform/dream/dream-soil-sync.d.ts.map +1 -1
- package/dist/platform/dream/dream-soil-sync.js +2 -6
- package/dist/platform/dream/dream-soil-sync.js.map +1 -1
- package/dist/platform/dream/dream-types.d.ts +269 -269
- package/dist/platform/dream/dream-types.js +2 -2
- package/dist/platform/dream/dream-types.js.map +1 -1
- package/dist/platform/dream/index.d.ts +1 -0
- package/dist/platform/dream/index.d.ts.map +1 -1
- package/dist/platform/dream/index.js +1 -0
- package/dist/platform/dream/index.js.map +1 -1
- package/dist/platform/dream/playbook-memory.d.ts +8 -8
- package/dist/platform/dream/playbook-memory.d.ts.map +1 -1
- package/dist/platform/dream/playbook-memory.js +14 -75
- package/dist/platform/dream/playbook-memory.js.map +1 -1
- package/dist/platform/dream/procedural-memory.d.ts +262 -0
- package/dist/platform/dream/procedural-memory.d.ts.map +1 -0
- package/dist/platform/dream/procedural-memory.js +78 -0
- package/dist/platform/dream/procedural-memory.js.map +1 -0
- package/dist/platform/drive/drive-schedule-state-migration.d.ts +13 -0
- package/dist/platform/drive/drive-schedule-state-migration.d.ts.map +1 -0
- package/dist/platform/drive/drive-schedule-state-migration.js +115 -0
- package/dist/platform/drive/drive-schedule-state-migration.js.map +1 -0
- package/dist/platform/drive/drive-schedule-state-store.d.ts +15 -0
- package/dist/platform/drive/drive-schedule-state-store.d.ts.map +1 -0
- package/dist/platform/drive/drive-schedule-state-store.js +84 -0
- package/dist/platform/drive/drive-schedule-state-store.js.map +1 -0
- package/dist/platform/drive/drive-scorer.d.ts +6 -6
- package/dist/platform/drive/drive-scorer.d.ts.map +1 -1
- package/dist/platform/drive/drive-scorer.js +44 -16
- package/dist/platform/drive/drive-scorer.js.map +1 -1
- package/dist/platform/drive/drive-system.d.ts +10 -8
- package/dist/platform/drive/drive-system.d.ts.map +1 -1
- package/dist/platform/drive/drive-system.js +42 -57
- package/dist/platform/drive/drive-system.js.map +1 -1
- package/dist/platform/drive/gap-calculator.d.ts.map +1 -1
- package/dist/platform/drive/gap-calculator.js +36 -8
- package/dist/platform/drive/gap-calculator.js.map +1 -1
- package/dist/platform/drive/satisficing-helpers.d.ts.map +1 -1
- package/dist/platform/drive/satisficing-helpers.js +14 -10
- package/dist/platform/drive/satisficing-helpers.js.map +1 -1
- package/dist/platform/drive/satisficing-judge.d.ts.map +1 -1
- package/dist/platform/drive/satisficing-judge.js +16 -10
- package/dist/platform/drive/satisficing-judge.js.map +1 -1
- package/dist/platform/drive/satisficing-propagation.d.ts.map +1 -1
- package/dist/platform/drive/satisficing-propagation.js +20 -16
- package/dist/platform/drive/satisficing-propagation.js.map +1 -1
- package/dist/platform/drive/stall-detector/repetitive.d.ts +28 -1
- package/dist/platform/drive/stall-detector/repetitive.d.ts.map +1 -1
- package/dist/platform/drive/stall-detector/repetitive.js.map +1 -1
- package/dist/platform/drive/stall-detector/thresholds.d.ts.map +1 -1
- package/dist/platform/drive/stall-detector/thresholds.js +2 -1
- package/dist/platform/drive/stall-detector/thresholds.js.map +1 -1
- package/dist/platform/drive/stall-detector.d.ts +7 -32
- package/dist/platform/drive/stall-detector.d.ts.map +1 -1
- package/dist/platform/drive/stall-detector.js +16 -13
- package/dist/platform/drive/stall-detector.js.map +1 -1
- package/dist/platform/drive/types/drive.d.ts +4 -0
- package/dist/platform/drive/types/drive.d.ts.map +1 -1
- package/dist/platform/drive/types/drive.js +26 -15
- package/dist/platform/drive/types/drive.js.map +1 -1
- package/dist/platform/drive/types/satisficing.js +1 -1
- package/dist/platform/drive/types/satisficing.js.map +1 -1
- package/dist/platform/knowledge/knowledge-graph-state-migration.d.ts +15 -0
- package/dist/platform/knowledge/knowledge-graph-state-migration.d.ts.map +1 -0
- package/dist/platform/knowledge/knowledge-graph-state-migration.js +137 -0
- package/dist/platform/knowledge/knowledge-graph-state-migration.js.map +1 -0
- package/dist/platform/knowledge/knowledge-graph-state-store.d.ts +38 -0
- package/dist/platform/knowledge/knowledge-graph-state-store.d.ts.map +1 -0
- package/dist/platform/knowledge/knowledge-graph-state-store.js +137 -0
- package/dist/platform/knowledge/knowledge-graph-state-store.js.map +1 -0
- package/dist/platform/knowledge/knowledge-graph.d.ts +17 -12
- package/dist/platform/knowledge/knowledge-graph.d.ts.map +1 -1
- package/dist/platform/knowledge/knowledge-graph.js +35 -44
- package/dist/platform/knowledge/knowledge-graph.js.map +1 -1
- package/dist/platform/knowledge/knowledge-manager-agent-memory.d.ts.map +1 -1
- package/dist/platform/knowledge/knowledge-manager-agent-memory.js +18 -8
- package/dist/platform/knowledge/knowledge-manager-agent-memory.js.map +1 -1
- package/dist/platform/knowledge/knowledge-manager-internals.d.ts +3 -2
- package/dist/platform/knowledge/knowledge-manager-internals.d.ts.map +1 -1
- package/dist/platform/knowledge/knowledge-manager-internals.js +8 -7
- package/dist/platform/knowledge/knowledge-manager-internals.js.map +1 -1
- package/dist/platform/knowledge/knowledge-manager-query.js +2 -2
- package/dist/platform/knowledge/knowledge-manager-query.js.map +1 -1
- package/dist/platform/knowledge/knowledge-manager-store.js +3 -3
- package/dist/platform/knowledge/knowledge-manager-store.js.map +1 -1
- package/dist/platform/knowledge/knowledge-manager.d.ts +5 -6
- package/dist/platform/knowledge/knowledge-manager.d.ts.map +1 -1
- package/dist/platform/knowledge/knowledge-manager.js +53 -27
- package/dist/platform/knowledge/knowledge-manager.js.map +1 -1
- package/dist/platform/knowledge/knowledge-memory-state-store.d.ts +17 -0
- package/dist/platform/knowledge/knowledge-memory-state-store.d.ts.map +1 -0
- package/dist/platform/knowledge/knowledge-memory-state-store.js +565 -0
- package/dist/platform/knowledge/knowledge-memory-state-store.js.map +1 -0
- package/dist/platform/knowledge/knowledge-search.d.ts.map +1 -1
- package/dist/platform/knowledge/knowledge-search.js +4 -17
- package/dist/platform/knowledge/knowledge-search.js.map +1 -1
- package/dist/platform/knowledge/learning/learning-cross-goal.d.ts +2 -2
- package/dist/platform/knowledge/learning/learning-cross-goal.d.ts.map +1 -1
- package/dist/platform/knowledge/learning/learning-feedback.d.ts +3 -3
- package/dist/platform/knowledge/learning/learning-feedback.d.ts.map +1 -1
- package/dist/platform/knowledge/learning/learning-feedback.js +3 -11
- package/dist/platform/knowledge/learning/learning-feedback.js.map +1 -1
- package/dist/platform/knowledge/learning/learning-pipeline.d.ts +4 -5
- package/dist/platform/knowledge/learning/learning-pipeline.d.ts.map +1 -1
- package/dist/platform/knowledge/learning/learning-pipeline.js +16 -33
- package/dist/platform/knowledge/learning/learning-pipeline.js.map +1 -1
- package/dist/platform/knowledge/memory/memory-compression.d.ts.map +1 -1
- package/dist/platform/knowledge/memory/memory-compression.js +19 -43
- package/dist/platform/knowledge/memory/memory-compression.js.map +1 -1
- package/dist/platform/knowledge/memory/memory-exports.d.ts +2 -1
- package/dist/platform/knowledge/memory/memory-exports.d.ts.map +1 -1
- package/dist/platform/knowledge/memory/memory-exports.js +2 -1
- package/dist/platform/knowledge/memory/memory-exports.js.map +1 -1
- package/dist/platform/knowledge/memory/memory-index.d.ts +1 -1
- package/dist/platform/knowledge/memory/memory-index.d.ts.map +1 -1
- package/dist/platform/knowledge/memory/memory-index.js +11 -115
- package/dist/platform/knowledge/memory/memory-index.js.map +1 -1
- package/dist/platform/knowledge/memory/memory-lifecycle-state-store.d.ts +51 -0
- package/dist/platform/knowledge/memory/memory-lifecycle-state-store.d.ts.map +1 -0
- package/dist/platform/knowledge/memory/memory-lifecycle-state-store.js +498 -0
- package/dist/platform/knowledge/memory/memory-lifecycle-state-store.js.map +1 -0
- package/dist/platform/knowledge/memory/memory-lifecycle-storage.d.ts.map +1 -1
- package/dist/platform/knowledge/memory/memory-lifecycle-storage.js +13 -91
- package/dist/platform/knowledge/memory/memory-lifecycle-storage.js.map +1 -1
- package/dist/platform/knowledge/memory/memory-lifecycle.d.ts +7 -9
- package/dist/platform/knowledge/memory/memory-lifecycle.d.ts.map +1 -1
- package/dist/platform/knowledge/memory/memory-lifecycle.js +14 -24
- package/dist/platform/knowledge/memory/memory-lifecycle.js.map +1 -1
- package/dist/platform/knowledge/memory/memory-persistence.d.ts +1 -27
- package/dist/platform/knowledge/memory/memory-persistence.d.ts.map +1 -1
- package/dist/platform/knowledge/memory/memory-persistence.js +0 -122
- package/dist/platform/knowledge/memory/memory-persistence.js.map +1 -1
- package/dist/platform/knowledge/memory/memory-query.d.ts.map +1 -1
- package/dist/platform/knowledge/memory/memory-query.js +3 -59
- package/dist/platform/knowledge/memory/memory-query.js.map +1 -1
- package/dist/platform/knowledge/memory/memory-selection.d.ts.map +1 -1
- package/dist/platform/knowledge/memory/memory-selection.js +7 -19
- package/dist/platform/knowledge/memory/memory-selection.js.map +1 -1
- package/dist/platform/knowledge/memory/memory-stats.d.ts.map +1 -1
- package/dist/platform/knowledge/memory/memory-stats.js +4 -5
- package/dist/platform/knowledge/memory/memory-stats.js.map +1 -1
- package/dist/platform/knowledge/transfer/knowledge-transfer-types.d.ts.map +1 -1
- package/dist/platform/knowledge/transfer/knowledge-transfer-types.js +6 -10
- package/dist/platform/knowledge/transfer/knowledge-transfer-types.js.map +1 -1
- package/dist/platform/knowledge/transfer/knowledge-transfer.d.ts +3 -2
- package/dist/platform/knowledge/transfer/knowledge-transfer.d.ts.map +1 -1
- package/dist/platform/knowledge/transfer/knowledge-transfer.js +19 -34
- package/dist/platform/knowledge/transfer/knowledge-transfer.js.map +1 -1
- package/dist/platform/knowledge/transfer/transfer-trust.d.ts +6 -5
- package/dist/platform/knowledge/transfer/transfer-trust.d.ts.map +1 -1
- package/dist/platform/knowledge/transfer/transfer-trust.js +23 -30
- package/dist/platform/knowledge/transfer/transfer-trust.js.map +1 -1
- package/dist/platform/knowledge/types/agent-memory.d.ts +204 -204
- package/dist/platform/knowledge/types/embedding.js +2 -2
- package/dist/platform/knowledge/types/embedding.js.map +1 -1
- package/dist/platform/knowledge/types/memory-lifecycle.d.ts +4 -4
- package/dist/platform/knowledge/vector-index-state-migration.d.ts +14 -0
- package/dist/platform/knowledge/vector-index-state-migration.d.ts.map +1 -0
- package/dist/platform/knowledge/vector-index-state-migration.js +132 -0
- package/dist/platform/knowledge/vector-index-state-migration.js.map +1 -0
- package/dist/platform/knowledge/vector-index-state-store.d.ts +19 -0
- package/dist/platform/knowledge/vector-index-state-store.d.ts.map +1 -0
- package/dist/platform/knowledge/vector-index-state-store.js +124 -0
- package/dist/platform/knowledge/vector-index-state-store.js.map +1 -0
- package/dist/platform/knowledge/vector-index.d.ts +11 -6
- package/dist/platform/knowledge/vector-index.d.ts.map +1 -1
- package/dist/platform/knowledge/vector-index.js +27 -37
- package/dist/platform/knowledge/vector-index.js.map +1 -1
- package/dist/platform/observation/capability-dependencies.d.ts +4 -3
- package/dist/platform/observation/capability-dependencies.d.ts.map +1 -1
- package/dist/platform/observation/capability-dependencies.js +8 -15
- package/dist/platform/observation/capability-dependencies.js.map +1 -1
- package/dist/platform/observation/capability-detector.d.ts.map +1 -1
- package/dist/platform/observation/capability-detector.js +8 -2
- package/dist/platform/observation/capability-detector.js.map +1 -1
- package/dist/platform/observation/capability-graph.d.ts +16 -0
- package/dist/platform/observation/capability-graph.d.ts.map +1 -0
- package/dist/platform/observation/capability-graph.js +387 -0
- package/dist/platform/observation/capability-graph.js.map +1 -0
- package/dist/platform/observation/capability-readiness.d.ts +13 -0
- package/dist/platform/observation/capability-readiness.d.ts.map +1 -0
- package/dist/platform/observation/capability-readiness.js +192 -0
- package/dist/platform/observation/capability-readiness.js.map +1 -0
- package/dist/platform/observation/capability-registry.d.ts +3 -3
- package/dist/platform/observation/capability-registry.d.ts.map +1 -1
- package/dist/platform/observation/capability-registry.js +5 -14
- package/dist/platform/observation/capability-registry.js.map +1 -1
- package/dist/platform/observation/data-source-adapter.js +1 -1
- package/dist/platform/observation/data-source-adapter.js.map +1 -1
- package/dist/platform/observation/dimension-pre-checker.d.ts.map +1 -1
- package/dist/platform/observation/dimension-pre-checker.js +12 -2
- package/dist/platform/observation/dimension-pre-checker.js.map +1 -1
- package/dist/platform/observation/observation-apply.d.ts.map +1 -1
- package/dist/platform/observation/observation-apply.js +2 -14
- package/dist/platform/observation/observation-apply.js.map +1 -1
- package/dist/platform/observation/observation-datasource.d.ts.map +1 -1
- package/dist/platform/observation/observation-datasource.js +2 -14
- package/dist/platform/observation/observation-datasource.js.map +1 -1
- package/dist/platform/observation/observation-engine.js +0 -2
- package/dist/platform/observation/observation-engine.js.map +1 -1
- package/dist/platform/observation/observation-value.d.ts +2 -0
- package/dist/platform/observation/observation-value.d.ts.map +1 -0
- package/dist/platform/observation/observation-value.js +18 -0
- package/dist/platform/observation/observation-value.js.map +1 -0
- package/dist/platform/observation/types/capability.d.ts +689 -0
- package/dist/platform/observation/types/capability.d.ts.map +1 -1
- package/dist/platform/observation/types/capability.js +170 -2
- package/dist/platform/observation/types/capability.js.map +1 -1
- package/dist/platform/observation/types/data-source.d.ts +122 -25
- package/dist/platform/observation/types/data-source.d.ts.map +1 -1
- package/dist/platform/observation/types/data-source.js +17 -9
- package/dist/platform/observation/types/data-source.js.map +1 -1
- package/dist/platform/profile/governed-memory.d.ts +667 -0
- package/dist/platform/profile/governed-memory.d.ts.map +1 -0
- package/dist/platform/profile/governed-memory.js +535 -0
- package/dist/platform/profile/governed-memory.js.map +1 -0
- package/dist/platform/profile/profile-change-proposal.d.ts +91 -89
- package/dist/platform/profile/profile-change-proposal.d.ts.map +1 -1
- package/dist/platform/profile/profile-change-proposal.js +134 -19
- package/dist/platform/profile/profile-change-proposal.js.map +1 -1
- package/dist/platform/profile/relationship-profile.d.ts +51 -51
- package/dist/platform/profile/relationship-profile.d.ts.map +1 -1
- package/dist/platform/profile/relationship-profile.js +3 -2
- package/dist/platform/profile/relationship-profile.js.map +1 -1
- package/dist/platform/profile/retrieval-context.d.ts +16 -0
- package/dist/platform/profile/retrieval-context.d.ts.map +1 -1
- package/dist/platform/profile/retrieval-context.js +17 -0
- package/dist/platform/profile/retrieval-context.js.map +1 -1
- package/dist/platform/profile/user-md-profile-import.d.ts +6 -6
- package/dist/platform/soil/compiled-memory-projections.js +6 -6
- package/dist/platform/soil/compiled-memory-projections.js.map +1 -1
- package/dist/platform/soil/content-projections.js +12 -12
- package/dist/platform/soil/content-projections.js.map +1 -1
- package/dist/platform/soil/contracts.d.ts +416 -387
- package/dist/platform/soil/contracts.d.ts.map +1 -1
- package/dist/platform/soil/contracts.js +23 -3
- package/dist/platform/soil/contracts.js.map +1 -1
- package/dist/platform/soil/doctor.d.ts +0 -1
- package/dist/platform/soil/doctor.d.ts.map +1 -1
- package/dist/platform/soil/doctor.js +3 -17
- package/dist/platform/soil/doctor.js.map +1 -1
- package/dist/platform/soil/frontmatter.js +1 -1
- package/dist/platform/soil/frontmatter.js.map +1 -1
- package/dist/platform/soil/importer.d.ts +6 -6
- package/dist/platform/soil/index-store.d.ts.map +1 -1
- package/dist/platform/soil/index-store.js +6 -7
- package/dist/platform/soil/index-store.js.map +1 -1
- package/dist/platform/soil/projections.d.ts.map +1 -1
- package/dist/platform/soil/projections.js +8 -4
- package/dist/platform/soil/projections.js.map +1 -1
- package/dist/platform/soil/runtime-rebuild.d.ts.map +1 -1
- package/dist/platform/soil/runtime-rebuild.js +17 -23
- package/dist/platform/soil/runtime-rebuild.js.map +1 -1
- package/dist/platform/soil/source-paths.d.ts +2 -0
- package/dist/platform/soil/source-paths.d.ts.map +1 -0
- package/dist/platform/soil/source-paths.js +25 -0
- package/dist/platform/soil/source-paths.js.map +1 -0
- package/dist/platform/soil/sqlite-repository-helpers.d.ts.map +1 -1
- package/dist/platform/soil/sqlite-repository-helpers.js +7 -3
- package/dist/platform/soil/sqlite-repository-helpers.js.map +1 -1
- package/dist/platform/soil/sqlite-repository-search.d.ts.map +1 -1
- package/dist/platform/soil/sqlite-repository-search.js +5 -1
- package/dist/platform/soil/sqlite-repository-search.js.map +1 -1
- package/dist/platform/soil/types.d.ts +19 -18
- package/dist/platform/soil/types.d.ts.map +1 -1
- package/dist/platform/soil/types.js +58 -16
- package/dist/platform/soil/types.js.map +1 -1
- package/dist/platform/time/time-horizon-engine.d.ts.map +1 -1
- package/dist/platform/time/time-horizon-engine.js +8 -3
- package/dist/platform/time/time-horizon-engine.js.map +1 -1
- package/dist/platform/traits/character-policy.d.ts +4 -0
- package/dist/platform/traits/character-policy.d.ts.map +1 -0
- package/dist/platform/traits/character-policy.js +10 -0
- package/dist/platform/traits/character-policy.js.map +1 -0
- package/dist/platform/traits/curiosity-engine.d.ts +5 -26
- package/dist/platform/traits/curiosity-engine.d.ts.map +1 -1
- package/dist/platform/traits/curiosity-engine.js +29 -203
- package/dist/platform/traits/curiosity-engine.js.map +1 -1
- package/dist/platform/traits/curiosity-triggers.d.ts +16 -0
- package/dist/platform/traits/curiosity-triggers.d.ts.map +1 -0
- package/dist/platform/traits/curiosity-triggers.js +187 -0
- package/dist/platform/traits/curiosity-triggers.js.map +1 -0
- package/dist/platform/traits/ethics-gate.d.ts +5 -4
- package/dist/platform/traits/ethics-gate.d.ts.map +1 -1
- package/dist/platform/traits/ethics-gate.js +11 -17
- package/dist/platform/traits/ethics-gate.js.map +1 -1
- package/dist/platform/traits/trust-manager.d.ts +5 -2
- package/dist/platform/traits/trust-manager.d.ts.map +1 -1
- package/dist/platform/traits/trust-manager.js +11 -20
- package/dist/platform/traits/trust-manager.js.map +1 -1
- package/dist/platform/traits/types/curiosity.d.ts +12 -12
- package/dist/platform/traits/types/curiosity.d.ts.map +1 -1
- package/dist/platform/traits/types/curiosity.js +24 -11
- package/dist/platform/traits/types/curiosity.js.map +1 -1
- package/dist/platform/traits/types/guardrail.d.ts +6 -6
- package/dist/prompt/gateway.d.ts +2 -2
- package/dist/prompt/gateway.d.ts.map +1 -1
- package/dist/prompt/gateway.js +4 -3
- package/dist/prompt/gateway.js.map +1 -1
- package/dist/prompt/purposes/dream.d.ts.map +1 -1
- package/dist/prompt/purposes/dream.js +3 -2
- package/dist/prompt/purposes/dream.js.map +1 -1
- package/dist/prompt/purposes/verification.d.ts +2 -2
- package/dist/reflection/cognition-writeback-evaluator.d.ts +10 -0
- package/dist/reflection/cognition-writeback-evaluator.d.ts.map +1 -0
- package/dist/reflection/cognition-writeback-evaluator.js +49 -0
- package/dist/reflection/cognition-writeback-evaluator.js.map +1 -0
- package/dist/reflection/cognition-writeback-queue.d.ts +835 -0
- package/dist/reflection/cognition-writeback-queue.d.ts.map +1 -0
- package/dist/reflection/cognition-writeback-queue.js +198 -0
- package/dist/reflection/cognition-writeback-queue.js.map +1 -0
- package/dist/reflection/dream-consolidation.d.ts +4 -0
- package/dist/reflection/dream-consolidation.d.ts.map +1 -1
- package/dist/reflection/dream-consolidation.js +28 -8
- package/dist/reflection/dream-consolidation.js.map +1 -1
- package/dist/reflection/evening-catchup.d.ts.map +1 -1
- package/dist/reflection/evening-catchup.js +21 -13
- package/dist/reflection/evening-catchup.js.map +1 -1
- package/dist/reflection/index.d.ts +4 -0
- package/dist/reflection/index.d.ts.map +1 -1
- package/dist/reflection/index.js +2 -0
- package/dist/reflection/index.js.map +1 -1
- package/dist/reflection/morning-planning.d.ts.map +1 -1
- package/dist/reflection/morning-planning.js +17 -6
- package/dist/reflection/morning-planning.js.map +1 -1
- package/dist/reflection/reflection-profile-surface.d.ts +8 -0
- package/dist/reflection/reflection-profile-surface.d.ts.map +1 -0
- package/dist/reflection/reflection-profile-surface.js +20 -0
- package/dist/reflection/reflection-profile-surface.js.map +1 -0
- package/dist/reflection/reflection-report-state-migration.d.ts +14 -0
- package/dist/reflection/reflection-report-state-migration.d.ts.map +1 -0
- package/dist/reflection/reflection-report-state-migration.js +169 -0
- package/dist/reflection/reflection-report-state-migration.js.map +1 -0
- package/dist/reflection/reflection-report-state-store.d.ts +23 -0
- package/dist/reflection/reflection-report-state-store.d.ts.map +1 -0
- package/dist/reflection/reflection-report-state-store.js +90 -0
- package/dist/reflection/reflection-report-state-store.js.map +1 -0
- package/dist/reflection/reflection-utils.d.ts +7 -1
- package/dist/reflection/reflection-utils.d.ts.map +1 -1
- package/dist/reflection/reflection-utils.js +24 -7
- package/dist/reflection/reflection-utils.js.map +1 -1
- package/dist/reflection/types.d.ts +16 -4
- package/dist/reflection/types.d.ts.map +1 -1
- package/dist/reflection/types.js +14 -9
- package/dist/reflection/types.js.map +1 -1
- package/dist/reflection/weekly-review.d.ts.map +1 -1
- package/dist/reflection/weekly-review.js +29 -8
- package/dist/reflection/weekly-review.js.map +1 -1
- package/dist/reporting/report-formatters.d.ts +1 -1
- package/dist/reporting/report-formatters.d.ts.map +1 -1
- package/dist/reporting/report-formatters.js +46 -17
- package/dist/reporting/report-formatters.js.map +1 -1
- package/dist/reporting/report-summary-builders.d.ts +16 -0
- package/dist/reporting/report-summary-builders.d.ts.map +1 -0
- package/dist/reporting/report-summary-builders.js +125 -0
- package/dist/reporting/report-summary-builders.js.map +1 -0
- package/dist/reporting/reporting-engine.d.ts +1 -1
- package/dist/reporting/reporting-engine.d.ts.map +1 -1
- package/dist/reporting/reporting-engine.js +11 -132
- package/dist/reporting/reporting-engine.js.map +1 -1
- package/dist/reporting/reporting-types.d.ts +7 -0
- package/dist/reporting/reporting-types.d.ts.map +1 -1
- package/dist/reporting/types/report.d.ts +5 -0
- package/dist/reporting/types/report.d.ts.map +1 -1
- package/dist/reporting/types/report.js +1 -0
- package/dist/reporting/types/report.js.map +1 -1
- package/dist/runtime/approval-broker.d.ts +8 -2
- package/dist/runtime/approval-broker.d.ts.map +1 -1
- package/dist/runtime/approval-broker.js +87 -7
- package/dist/runtime/approval-broker.js.map +1 -1
- package/dist/runtime/assets/checksum.d.ts +2 -0
- package/dist/runtime/assets/checksum.d.ts.map +1 -0
- package/dist/runtime/assets/checksum.js +44 -0
- package/dist/runtime/assets/checksum.js.map +1 -0
- package/dist/runtime/assets/index.d.ts +4 -0
- package/dist/runtime/assets/index.d.ts.map +1 -0
- package/dist/runtime/assets/index.js +4 -0
- package/dist/runtime/assets/index.js.map +1 -0
- package/dist/runtime/assets/registry.d.ts +16 -0
- package/dist/runtime/assets/registry.d.ts.map +1 -0
- package/dist/runtime/assets/registry.js +105 -0
- package/dist/runtime/assets/registry.js.map +1 -0
- package/dist/runtime/assets/types.d.ts +233 -0
- package/dist/runtime/assets/types.d.ts.map +1 -0
- package/dist/runtime/assets/types.js +92 -0
- package/dist/runtime/assets/types.js.map +1 -0
- package/dist/runtime/attention/attention-admission.d.ts +29 -0
- package/dist/runtime/attention/attention-admission.d.ts.map +1 -0
- package/dist/runtime/attention/attention-admission.js +92 -0
- package/dist/runtime/attention/attention-admission.js.map +1 -0
- package/dist/runtime/attention/attention-agenda.d.ts +21 -0
- package/dist/runtime/attention/attention-agenda.d.ts.map +1 -0
- package/dist/runtime/attention/attention-agenda.js +539 -0
- package/dist/runtime/attention/attention-agenda.js.map +1 -0
- package/dist/runtime/attention/attention-clustering.d.ts +54 -0
- package/dist/runtime/attention/attention-clustering.d.ts.map +1 -0
- package/dist/runtime/attention/attention-clustering.js +243 -0
- package/dist/runtime/attention/attention-clustering.js.map +1 -0
- package/dist/runtime/attention/attention-continuity.d.ts +609 -0
- package/dist/runtime/attention/attention-continuity.d.ts.map +1 -0
- package/dist/runtime/attention/attention-continuity.js +414 -0
- package/dist/runtime/attention/attention-continuity.js.map +1 -0
- package/dist/runtime/attention/attention-cycle.d.ts +56 -0
- package/dist/runtime/attention/attention-cycle.d.ts.map +1 -0
- package/dist/runtime/attention/attention-cycle.js +266 -0
- package/dist/runtime/attention/attention-cycle.js.map +1 -0
- package/dist/runtime/attention/attention-decomposition.d.ts +15 -0
- package/dist/runtime/attention/attention-decomposition.d.ts.map +1 -0
- package/dist/runtime/attention/attention-decomposition.js +157 -0
- package/dist/runtime/attention/attention-decomposition.js.map +1 -0
- package/dist/runtime/attention/attention-diagnostics.d.ts +122 -0
- package/dist/runtime/attention/attention-diagnostics.d.ts.map +1 -0
- package/dist/runtime/attention/attention-diagnostics.js +101 -0
- package/dist/runtime/attention/attention-diagnostics.js.map +1 -0
- package/dist/runtime/attention/attention-feedback.d.ts +58 -0
- package/dist/runtime/attention/attention-feedback.d.ts.map +1 -0
- package/dist/runtime/attention/attention-feedback.js +212 -0
- package/dist/runtime/attention/attention-feedback.js.map +1 -0
- package/dist/runtime/attention/attention-input.d.ts +673 -0
- package/dist/runtime/attention/attention-input.d.ts.map +1 -0
- package/dist/runtime/attention/attention-input.js +439 -0
- package/dist/runtime/attention/attention-input.js.map +1 -0
- package/dist/runtime/attention/attention-metabolism-types.d.ts +222 -0
- package/dist/runtime/attention/attention-metabolism-types.d.ts.map +1 -0
- package/dist/runtime/attention/attention-metabolism-types.js +2 -0
- package/dist/runtime/attention/attention-metabolism-types.js.map +1 -0
- package/dist/runtime/attention/attention-metabolism.d.ts +21 -0
- package/dist/runtime/attention/attention-metabolism.d.ts.map +1 -0
- package/dist/runtime/attention/attention-metabolism.js +1351 -0
- package/dist/runtime/attention/attention-metabolism.js.map +1 -0
- package/dist/runtime/attention/attention-promotion.d.ts +15 -0
- package/dist/runtime/attention/attention-promotion.d.ts.map +1 -0
- package/dist/runtime/attention/attention-promotion.js +110 -0
- package/dist/runtime/attention/attention-promotion.js.map +1 -0
- package/dist/runtime/attention/attention-refs.d.ts +12 -0
- package/dist/runtime/attention/attention-refs.d.ts.map +1 -0
- package/dist/runtime/attention/attention-refs.js +46 -0
- package/dist/runtime/attention/attention-refs.js.map +1 -0
- package/dist/runtime/attention/attention-scope.d.ts +33 -0
- package/dist/runtime/attention/attention-scope.d.ts.map +1 -0
- package/dist/runtime/attention/attention-scope.js +215 -0
- package/dist/runtime/attention/attention-scope.js.map +1 -0
- package/dist/runtime/attention/attention-semantic.d.ts +65 -0
- package/dist/runtime/attention/attention-semantic.d.ts.map +1 -0
- package/dist/runtime/attention/attention-semantic.js +102 -0
- package/dist/runtime/attention/attention-semantic.js.map +1 -0
- package/dist/runtime/attention/direct-path-inventory.d.ts +25 -0
- package/dist/runtime/attention/direct-path-inventory.d.ts.map +1 -0
- package/dist/runtime/attention/direct-path-inventory.js +377 -0
- package/dist/runtime/attention/direct-path-inventory.js.map +1 -0
- package/dist/runtime/attention/feedback-ingestion.d.ts +2236 -0
- package/dist/runtime/attention/feedback-ingestion.d.ts.map +1 -0
- package/dist/runtime/attention/feedback-ingestion.js +568 -0
- package/dist/runtime/attention/feedback-ingestion.js.map +1 -0
- package/dist/runtime/attention/index.d.ts +31 -0
- package/dist/runtime/attention/index.d.ts.map +1 -0
- package/dist/runtime/attention/index.js +16 -0
- package/dist/runtime/attention/index.js.map +1 -0
- package/dist/runtime/attention/proactive-policy.d.ts +200 -0
- package/dist/runtime/attention/proactive-policy.d.ts.map +1 -0
- package/dist/runtime/attention/proactive-policy.js +133 -0
- package/dist/runtime/attention/proactive-policy.js.map +1 -0
- package/dist/runtime/attention/surface-delivery.d.ts +215 -0
- package/dist/runtime/attention/surface-delivery.d.ts.map +1 -0
- package/dist/runtime/attention/surface-delivery.js +232 -0
- package/dist/runtime/attention/surface-delivery.js.map +1 -0
- package/dist/runtime/builtin-integrations.d.ts +4 -0
- package/dist/runtime/builtin-integrations.d.ts.map +1 -1
- package/dist/runtime/builtin-integrations.js +29 -0
- package/dist/runtime/builtin-integrations.js.map +1 -1
- package/dist/runtime/capability-execution-resolver.d.ts +9 -0
- package/dist/runtime/capability-execution-resolver.d.ts.map +1 -0
- package/dist/runtime/capability-execution-resolver.js +92 -0
- package/dist/runtime/capability-execution-resolver.js.map +1 -0
- package/dist/runtime/capability-operation-planner.d.ts +81 -0
- package/dist/runtime/capability-operation-planner.d.ts.map +1 -0
- package/dist/runtime/capability-operation-planner.js +481 -0
- package/dist/runtime/capability-operation-planner.js.map +1 -0
- package/dist/runtime/change-detector.d.ts.map +1 -1
- package/dist/runtime/change-detector.js +17 -2
- package/dist/runtime/change-detector.js.map +1 -1
- package/dist/runtime/channels/http-post.d.ts +5 -1
- package/dist/runtime/channels/http-post.d.ts.map +1 -1
- package/dist/runtime/channels/http-post.js +65 -9
- package/dist/runtime/channels/http-post.js.map +1 -1
- package/dist/runtime/cognition/audit-sink.d.ts +37 -0
- package/dist/runtime/cognition/audit-sink.d.ts.map +1 -0
- package/dist/runtime/cognition/audit-sink.js +108 -0
- package/dist/runtime/cognition/audit-sink.js.map +1 -0
- package/dist/runtime/cognition/cloud-boundary.d.ts +308 -0
- package/dist/runtime/cognition/cloud-boundary.d.ts.map +1 -0
- package/dist/runtime/cognition/cloud-boundary.js +114 -0
- package/dist/runtime/cognition/cloud-boundary.js.map +1 -0
- package/dist/runtime/cognition/companion-cognition-service.d.ts +18 -0
- package/dist/runtime/cognition/companion-cognition-service.d.ts.map +1 -0
- package/dist/runtime/cognition/companion-cognition-service.js +224 -0
- package/dist/runtime/cognition/companion-cognition-service.js.map +1 -0
- package/dist/runtime/cognition/contracts.d.ts +19901 -0
- package/dist/runtime/cognition/contracts.d.ts.map +1 -0
- package/dist/runtime/cognition/contracts.js +559 -0
- package/dist/runtime/cognition/contracts.js.map +1 -0
- package/dist/runtime/cognition/index.d.ts +13 -0
- package/dist/runtime/cognition/index.d.ts.map +1 -0
- package/dist/runtime/cognition/index.js +9 -0
- package/dist/runtime/cognition/index.js.map +1 -0
- package/dist/runtime/cognition/memory-context.d.ts +19 -0
- package/dist/runtime/cognition/memory-context.d.ts.map +1 -0
- package/dist/runtime/cognition/memory-context.js +187 -0
- package/dist/runtime/cognition/memory-context.js.map +1 -0
- package/dist/runtime/cognition/ports.d.ts +11 -0
- package/dist/runtime/cognition/ports.d.ts.map +1 -0
- package/dist/runtime/cognition/ports.js +2 -0
- package/dist/runtime/cognition/ports.js.map +1 -0
- package/dist/runtime/cognition/situation.d.ts +6 -0
- package/dist/runtime/cognition/situation.d.ts.map +1 -0
- package/dist/runtime/cognition/situation.js +66 -0
- package/dist/runtime/cognition/situation.js.map +1 -0
- package/dist/runtime/cognition/tool-authority.d.ts +21 -0
- package/dist/runtime/cognition/tool-authority.d.ts.map +1 -0
- package/dist/runtime/cognition/tool-authority.js +56 -0
- package/dist/runtime/cognition/tool-authority.js.map +1 -0
- package/dist/runtime/cognition/writeback.d.ts +17 -0
- package/dist/runtime/cognition/writeback.d.ts.map +1 -0
- package/dist/runtime/cognition/writeback.js +40 -0
- package/dist/runtime/cognition/writeback.js.map +1 -0
- package/dist/runtime/companion-state-reducer.d.ts +10 -0
- package/dist/runtime/companion-state-reducer.d.ts.map +1 -0
- package/dist/runtime/companion-state-reducer.js +601 -0
- package/dist/runtime/companion-state-reducer.js.map +1 -0
- package/dist/runtime/companion-state-runtime-selectors.d.ts +44 -0
- package/dist/runtime/companion-state-runtime-selectors.d.ts.map +1 -0
- package/dist/runtime/companion-state-runtime-selectors.js +308 -0
- package/dist/runtime/companion-state-runtime-selectors.js.map +1 -0
- package/dist/runtime/confirmation-decision.d.ts +2 -2
- package/dist/runtime/confirmation-decision.d.ts.map +1 -1
- package/dist/runtime/confirmation-decision.js +3 -2
- package/dist/runtime/confirmation-decision.js.map +1 -1
- package/dist/runtime/control/admission-policy.d.ts +1228 -0
- package/dist/runtime/control/admission-policy.d.ts.map +1 -0
- package/dist/runtime/control/admission-policy.js +455 -0
- package/dist/runtime/control/admission-policy.js.map +1 -0
- package/dist/runtime/control/autonomy-governor.d.ts +1345 -0
- package/dist/runtime/control/autonomy-governor.d.ts.map +1 -0
- package/dist/runtime/control/autonomy-governor.js +1030 -0
- package/dist/runtime/control/autonomy-governor.js.map +1 -0
- package/dist/runtime/control/autonomy-ttl.d.ts +4 -0
- package/dist/runtime/control/autonomy-ttl.d.ts.map +1 -0
- package/dist/runtime/control/autonomy-ttl.js +8 -0
- package/dist/runtime/control/autonomy-ttl.js.map +1 -0
- package/dist/runtime/control/capability-status-projection.d.ts +987 -0
- package/dist/runtime/control/capability-status-projection.d.ts.map +1 -0
- package/dist/runtime/control/capability-status-projection.js +384 -0
- package/dist/runtime/control/capability-status-projection.js.map +1 -0
- package/dist/runtime/control/companion-action-projection.d.ts +640 -0
- package/dist/runtime/control/companion-action-projection.d.ts.map +1 -0
- package/dist/runtime/control/companion-action-projection.js +304 -0
- package/dist/runtime/control/companion-action-projection.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 +2 -3
- package/dist/runtime/control/daemon-runtime-control-executor.js.map +1 -1
- package/dist/runtime/control/index.d.ts +14 -1
- package/dist/runtime/control/index.d.ts.map +1 -1
- package/dist/runtime/control/index.js +7 -0
- package/dist/runtime/control/index.js.map +1 -1
- package/dist/runtime/control/internal-autonomy-default.d.ts +163 -0
- package/dist/runtime/control/internal-autonomy-default.d.ts.map +1 -0
- package/dist/runtime/control/internal-autonomy-default.js +379 -0
- package/dist/runtime/control/internal-autonomy-default.js.map +1 -0
- package/dist/runtime/control/runtime-control-intent.d.ts +4 -0
- package/dist/runtime/control/runtime-control-intent.d.ts.map +1 -1
- package/dist/runtime/control/runtime-control-intent.js +29 -6
- package/dist/runtime/control/runtime-control-intent.js.map +1 -1
- package/dist/runtime/control/runtime-control-messages.d.ts +5 -0
- package/dist/runtime/control/runtime-control-messages.d.ts.map +1 -0
- package/dist/runtime/control/runtime-control-messages.js +11 -0
- package/dist/runtime/control/runtime-control-messages.js.map +1 -0
- package/dist/runtime/control/runtime-control-permission-grants.d.ts +16 -0
- package/dist/runtime/control/runtime-control-permission-grants.d.ts.map +1 -0
- package/dist/runtime/control/runtime-control-permission-grants.js +125 -0
- package/dist/runtime/control/runtime-control-permission-grants.js.map +1 -0
- package/dist/runtime/control/runtime-control-result-routing.d.ts +1 -0
- package/dist/runtime/control/runtime-control-result-routing.d.ts.map +1 -1
- package/dist/runtime/control/runtime-control-result-routing.js +1 -1
- package/dist/runtime/control/runtime-control-result-routing.js.map +1 -1
- package/dist/runtime/control/runtime-control-service.d.ts +74 -1
- package/dist/runtime/control/runtime-control-service.d.ts.map +1 -1
- package/dist/runtime/control/runtime-control-service.js +1084 -15
- package/dist/runtime/control/runtime-control-service.js.map +1 -1
- package/dist/runtime/control/runtime-target-resolver.d.ts.map +1 -1
- package/dist/runtime/control/runtime-target-resolver.js +54 -8
- package/dist/runtime/control/runtime-target-resolver.js.map +1 -1
- package/dist/runtime/conversational-approval-decision.d.ts +2 -2
- package/dist/runtime/daemon/browser-backpressure-policy.d.ts +23 -0
- package/dist/runtime/daemon/browser-backpressure-policy.d.ts.map +1 -0
- package/dist/runtime/daemon/browser-backpressure-policy.js +94 -0
- package/dist/runtime/daemon/browser-backpressure-policy.js.map +1 -0
- package/dist/runtime/daemon/client.d.ts +2 -0
- package/dist/runtime/daemon/client.d.ts.map +1 -1
- package/dist/runtime/daemon/client.js +64 -24
- package/dist/runtime/daemon/client.js.map +1 -1
- package/dist/runtime/daemon/config-json.d.ts +5 -0
- package/dist/runtime/daemon/config-json.d.ts.map +1 -0
- package/dist/runtime/daemon/config-json.js +19 -0
- package/dist/runtime/daemon/config-json.js.map +1 -0
- package/dist/runtime/daemon/maintenance.d.ts +12 -2
- package/dist/runtime/daemon/maintenance.d.ts.map +1 -1
- package/dist/runtime/daemon/maintenance.js +59 -22
- package/dist/runtime/daemon/maintenance.js.map +1 -1
- package/dist/runtime/daemon/persistence.d.ts +1 -1
- package/dist/runtime/daemon/persistence.d.ts.map +1 -1
- package/dist/runtime/daemon/persistence.js +10 -20
- package/dist/runtime/daemon/persistence.js.map +1 -1
- package/dist/runtime/daemon/resident-attention-orchestrator.d.ts +35 -0
- package/dist/runtime/daemon/resident-attention-orchestrator.d.ts.map +1 -0
- package/dist/runtime/daemon/resident-attention-orchestrator.js +495 -0
- package/dist/runtime/daemon/resident-attention-orchestrator.js.map +1 -0
- package/dist/runtime/daemon/runner-bootstrap.d.ts.map +1 -1
- package/dist/runtime/daemon/runner-bootstrap.js +8 -6
- package/dist/runtime/daemon/runner-bootstrap.js.map +1 -1
- package/dist/runtime/daemon/runner-commands.d.ts +6 -6
- package/dist/runtime/daemon/runner-commands.d.ts.map +1 -1
- package/dist/runtime/daemon/runner-commands.js +10 -6
- 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 +4 -1
- package/dist/runtime/daemon/runner-goal-cycle.js.map +1 -1
- package/dist/runtime/daemon/runner-recovery.d.ts +2 -2
- package/dist/runtime/daemon/runner-recovery.d.ts.map +1 -1
- package/dist/runtime/daemon/runner-recovery.js +82 -88
- package/dist/runtime/daemon/runner-recovery.js.map +1 -1
- package/dist/runtime/daemon/runner-resident-curiosity.d.ts +6 -4
- package/dist/runtime/daemon/runner-resident-curiosity.d.ts.map +1 -1
- package/dist/runtime/daemon/runner-resident-curiosity.js +125 -20
- package/dist/runtime/daemon/runner-resident-curiosity.js.map +1 -1
- package/dist/runtime/daemon/runner-resident-dream.d.ts +2 -3
- package/dist/runtime/daemon/runner-resident-dream.d.ts.map +1 -1
- package/dist/runtime/daemon/runner-resident-dream.js +4 -14
- package/dist/runtime/daemon/runner-resident-dream.js.map +1 -1
- package/dist/runtime/daemon/runner-resident-proactive.d.ts +14 -3
- package/dist/runtime/daemon/runner-resident-proactive.d.ts.map +1 -1
- package/dist/runtime/daemon/runner-resident-proactive.js +312 -23
- package/dist/runtime/daemon/runner-resident-proactive.js.map +1 -1
- package/dist/runtime/daemon/runner-resident-shared.d.ts +25 -0
- package/dist/runtime/daemon/runner-resident-shared.d.ts.map +1 -1
- package/dist/runtime/daemon/runner-resident-shared.js +57 -12
- package/dist/runtime/daemon/runner-resident-shared.js.map +1 -1
- package/dist/runtime/daemon/runner-resident.d.ts +1 -1
- package/dist/runtime/daemon/runner-resident.d.ts.map +1 -1
- package/dist/runtime/daemon/runner-resident.js +1 -1
- package/dist/runtime/daemon/runner-resident.js.map +1 -1
- package/dist/runtime/daemon/runner-startup.d.ts +2 -1
- package/dist/runtime/daemon/runner-startup.d.ts.map +1 -1
- package/dist/runtime/daemon/runner-startup.js +19 -14
- package/dist/runtime/daemon/runner-startup.js.map +1 -1
- package/dist/runtime/daemon/runner.d.ts +28 -14
- package/dist/runtime/daemon/runner.d.ts.map +1 -1
- package/dist/runtime/daemon/runner.js +30 -20
- package/dist/runtime/daemon/runner.js.map +1 -1
- package/dist/runtime/daemon/runtime-ownership.d.ts +8 -0
- package/dist/runtime/daemon/runtime-ownership.d.ts.map +1 -1
- package/dist/runtime/daemon/runtime-ownership.js +157 -18
- package/dist/runtime/daemon/runtime-ownership.js.map +1 -1
- package/dist/runtime/daemon/runtime-root.d.ts.map +1 -1
- package/dist/runtime/daemon/runtime-root.js +13 -17
- package/dist/runtime/daemon/runtime-root.js.map +1 -1
- package/dist/runtime/daemon/types.d.ts +18 -4
- package/dist/runtime/daemon/types.d.ts.map +1 -1
- package/dist/runtime/daemon/types.js +8 -1
- package/dist/runtime/daemon/types.js.map +1 -1
- package/dist/runtime/daemon/wait-deadline-resolver.d.ts +9 -2
- package/dist/runtime/daemon/wait-deadline-resolver.d.ts.map +1 -1
- package/dist/runtime/daemon/wait-deadline-resolver.js +13 -12
- package/dist/runtime/daemon/wait-deadline-resolver.js.map +1 -1
- package/dist/runtime/decision/companion-behavior-eval-contract.d.ts +645 -0
- package/dist/runtime/decision/companion-behavior-eval-contract.d.ts.map +1 -0
- package/dist/runtime/decision/companion-behavior-eval-contract.js +263 -0
- package/dist/runtime/decision/companion-behavior-eval-contract.js.map +1 -0
- package/dist/runtime/decision/companion-character-policy-projection.d.ts +325 -0
- package/dist/runtime/decision/companion-character-policy-projection.d.ts.map +1 -0
- package/dist/runtime/decision/companion-character-policy-projection.js +231 -0
- package/dist/runtime/decision/companion-character-policy-projection.js.map +1 -0
- package/dist/runtime/decision/companion-decision-contract.d.ts +503 -0
- package/dist/runtime/decision/companion-decision-contract.d.ts.map +1 -0
- package/dist/runtime/decision/companion-decision-contract.js +128 -0
- package/dist/runtime/decision/companion-decision-contract.js.map +1 -0
- package/dist/runtime/decision/companion-gadget-planning.d.ts +2252 -0
- package/dist/runtime/decision/companion-gadget-planning.d.ts.map +1 -0
- package/dist/runtime/decision/companion-gadget-planning.js +534 -0
- package/dist/runtime/decision/companion-gadget-planning.js.map +1 -0
- package/dist/runtime/decision/core-companion-memory-projection.d.ts +3059 -0
- package/dist/runtime/decision/core-companion-memory-projection.d.ts.map +1 -0
- package/dist/runtime/decision/core-companion-memory-projection.js +449 -0
- package/dist/runtime/decision/core-companion-memory-projection.js.map +1 -0
- package/dist/runtime/decision/index.d.ts +11 -0
- package/dist/runtime/decision/index.d.ts.map +1 -0
- package/dist/runtime/decision/index.js +6 -0
- package/dist/runtime/decision/index.js.map +1 -0
- package/dist/runtime/dream-sidecar-review.d.ts.map +1 -1
- package/dist/runtime/dream-sidecar-review.js +2 -2
- package/dist/runtime/dream-sidecar-review.js.map +1 -1
- package/dist/runtime/event/outbox-seq.d.ts +2 -0
- package/dist/runtime/event/outbox-seq.d.ts.map +1 -0
- package/dist/runtime/event/outbox-seq.js +11 -0
- package/dist/runtime/event/outbox-seq.js.map +1 -0
- package/dist/runtime/event/server-auth.d.ts +1 -1
- package/dist/runtime/event/server-auth.d.ts.map +1 -1
- package/dist/runtime/event/server-auth.js +3 -1
- package/dist/runtime/event/server-auth.js.map +1 -1
- package/dist/runtime/event/server-command-handler.d.ts.map +1 -1
- package/dist/runtime/event/server-command-handler.js +45 -44
- package/dist/runtime/event/server-command-handler.js.map +1 -1
- package/dist/runtime/event/server-file-ingestion.d.ts +1 -0
- package/dist/runtime/event/server-file-ingestion.d.ts.map +1 -1
- package/dist/runtime/event/server-file-ingestion.js +18 -29
- package/dist/runtime/event/server-file-ingestion.js.map +1 -1
- package/dist/runtime/event/server-http.d.ts +2 -1
- package/dist/runtime/event/server-http.d.ts.map +1 -1
- package/dist/runtime/event/server-http.js +2 -18
- package/dist/runtime/event/server-http.js.map +1 -1
- package/dist/runtime/event/server-router.d.ts +2 -0
- package/dist/runtime/event/server-router.d.ts.map +1 -1
- package/dist/runtime/event/server-router.js +21 -12
- package/dist/runtime/event/server-router.js.map +1 -1
- package/dist/runtime/event/server-snapshot-reader.d.ts +12 -2
- package/dist/runtime/event/server-snapshot-reader.d.ts.map +1 -1
- package/dist/runtime/event/server-snapshot-reader.js +159 -62
- package/dist/runtime/event/server-snapshot-reader.js.map +1 -1
- package/dist/runtime/event/server-sse.d.ts.map +1 -1
- package/dist/runtime/event/server-sse.js +3 -4
- package/dist/runtime/event/server-sse.js.map +1 -1
- package/dist/runtime/event/server-trigger-handler.d.ts.map +1 -1
- package/dist/runtime/event/server-trigger-handler.js +7 -10
- package/dist/runtime/event/server-trigger-handler.js.map +1 -1
- package/dist/runtime/event/server-types.d.ts +6 -0
- package/dist/runtime/event/server-types.d.ts.map +1 -1
- package/dist/runtime/event/server.d.ts +1 -0
- package/dist/runtime/event/server.d.ts.map +1 -1
- package/dist/runtime/event/server.js +15 -4
- package/dist/runtime/event/server.js.map +1 -1
- package/dist/runtime/evidence-answer.d.ts +26 -0
- package/dist/runtime/evidence-answer.d.ts.map +1 -1
- package/dist/runtime/evidence-answer.js +134 -14
- package/dist/runtime/evidence-answer.js.map +1 -1
- package/dist/runtime/executor/goal-worker.d.ts +3 -3
- package/dist/runtime/executor/goal-worker.d.ts.map +1 -1
- package/dist/runtime/executor/goal-worker.js +4 -4
- package/dist/runtime/executor/goal-worker.js.map +1 -1
- package/dist/runtime/executor/loop-supervisor.d.ts +13 -6
- package/dist/runtime/executor/loop-supervisor.d.ts.map +1 -1
- package/dist/runtime/executor/loop-supervisor.js +91 -23
- package/dist/runtime/executor/loop-supervisor.js.map +1 -1
- package/dist/runtime/foreign-plugins/compatibility.d.ts +18 -1
- package/dist/runtime/foreign-plugins/compatibility.d.ts.map +1 -1
- package/dist/runtime/foreign-plugins/compatibility.js +183 -55
- package/dist/runtime/foreign-plugins/compatibility.js.map +1 -1
- package/dist/runtime/foreign-plugins/index.d.ts +2 -2
- package/dist/runtime/foreign-plugins/index.d.ts.map +1 -1
- package/dist/runtime/foreign-plugins/index.js +1 -1
- package/dist/runtime/foreign-plugins/index.js.map +1 -1
- package/dist/runtime/foreign-plugins/types.d.ts +347 -14
- package/dist/runtime/foreign-plugins/types.d.ts.map +1 -1
- package/dist/runtime/foreign-plugins/types.js +88 -1
- package/dist/runtime/foreign-plugins/types.js.map +1 -1
- package/dist/runtime/gateway/channel-adapter.d.ts +3 -0
- package/dist/runtime/gateway/channel-adapter.d.ts.map +1 -1
- package/dist/runtime/gateway/channel-display-policy.js +1 -1
- package/dist/runtime/gateway/channel-display-policy.js.map +1 -1
- package/dist/runtime/gateway/channel-policy.d.ts +55 -0
- package/dist/runtime/gateway/channel-policy.d.ts.map +1 -1
- package/dist/runtime/gateway/channel-policy.js +108 -0
- package/dist/runtime/gateway/channel-policy.js.map +1 -1
- package/dist/runtime/gateway/channel-presence-policy.d.ts +34 -0
- package/dist/runtime/gateway/channel-presence-policy.d.ts.map +1 -0
- package/dist/runtime/gateway/channel-presence-policy.js +118 -0
- package/dist/runtime/gateway/channel-presence-policy.js.map +1 -0
- package/dist/runtime/gateway/chat-event-rendering.d.ts +18 -27
- package/dist/runtime/gateway/chat-event-rendering.d.ts.map +1 -1
- package/dist/runtime/gateway/chat-event-rendering.js +49 -34
- package/dist/runtime/gateway/chat-event-rendering.js.map +1 -1
- package/dist/runtime/gateway/chat-session-dispatch.d.ts +13 -0
- package/dist/runtime/gateway/chat-session-dispatch.d.ts.map +1 -1
- package/dist/runtime/gateway/chat-session-dispatch.js +43 -6
- package/dist/runtime/gateway/chat-session-dispatch.js.map +1 -1
- package/dist/runtime/gateway/chat-session-port.d.ts +2 -0
- package/dist/runtime/gateway/chat-session-port.d.ts.map +1 -1
- package/dist/runtime/gateway/chat-session-port.js.map +1 -1
- package/dist/runtime/gateway/config-json.d.ts +3 -0
- package/dist/runtime/gateway/config-json.d.ts.map +1 -0
- package/dist/runtime/gateway/config-json.js +27 -0
- package/dist/runtime/gateway/config-json.js.map +1 -0
- package/dist/runtime/gateway/direct-chat-latency-smoke.d.ts +2 -0
- package/dist/runtime/gateway/direct-chat-latency-smoke.d.ts.map +1 -0
- package/dist/runtime/gateway/direct-chat-latency-smoke.js +214 -0
- package/dist/runtime/gateway/direct-chat-latency-smoke.js.map +1 -0
- package/dist/runtime/gateway/discord-gateway-adapter.d.ts +1 -1
- package/dist/runtime/gateway/discord-gateway-adapter.d.ts.map +1 -1
- package/dist/runtime/gateway/discord-gateway-adapter.js +87 -43
- package/dist/runtime/gateway/discord-gateway-adapter.js.map +1 -1
- package/dist/runtime/gateway/gateway-progress-narration.d.ts +12 -0
- package/dist/runtime/gateway/gateway-progress-narration.d.ts.map +1 -0
- package/dist/runtime/gateway/gateway-progress-narration.js +294 -0
- package/dist/runtime/gateway/gateway-progress-narration.js.map +1 -0
- package/dist/runtime/gateway/http-channel-adapter.d.ts +1 -0
- package/dist/runtime/gateway/http-channel-adapter.d.ts.map +1 -1
- package/dist/runtime/gateway/http-channel-adapter.js +2 -0
- package/dist/runtime/gateway/http-channel-adapter.js.map +1 -1
- package/dist/runtime/gateway/index.d.ts +7 -0
- package/dist/runtime/gateway/index.d.ts.map +1 -1
- package/dist/runtime/gateway/index.js +5 -0
- package/dist/runtime/gateway/index.js.map +1 -1
- package/dist/runtime/gateway/ingress-gateway.d.ts.map +1 -1
- package/dist/runtime/gateway/ingress-gateway.js +2 -6
- package/dist/runtime/gateway/ingress-gateway.js.map +1 -1
- package/dist/runtime/gateway/non-tui-display-projector.d.ts +5 -0
- package/dist/runtime/gateway/non-tui-display-projector.d.ts.map +1 -1
- package/dist/runtime/gateway/non-tui-display-projector.js +202 -27
- package/dist/runtime/gateway/non-tui-display-projector.js.map +1 -1
- package/dist/runtime/gateway/seedy-presence-projector.d.ts +74 -0
- package/dist/runtime/gateway/seedy-presence-projector.d.ts.map +1 -0
- package/dist/runtime/gateway/seedy-presence-projector.js +395 -0
- package/dist/runtime/gateway/seedy-presence-projector.js.map +1 -0
- package/dist/runtime/gateway/seedy-presence-rendering.d.ts +9 -0
- package/dist/runtime/gateway/seedy-presence-rendering.d.ts.map +1 -0
- package/dist/runtime/gateway/seedy-presence-rendering.js +103 -0
- package/dist/runtime/gateway/seedy-presence-rendering.js.map +1 -0
- package/dist/runtime/gateway/signal-gateway-adapter.d.ts +1 -0
- package/dist/runtime/gateway/signal-gateway-adapter.d.ts.map +1 -1
- package/dist/runtime/gateway/signal-gateway-adapter.js +67 -38
- package/dist/runtime/gateway/signal-gateway-adapter.js.map +1 -1
- package/dist/runtime/gateway/slack-channel-adapter.d.ts +1 -0
- package/dist/runtime/gateway/slack-channel-adapter.d.ts.map +1 -1
- package/dist/runtime/gateway/slack-channel-adapter.js +85 -34
- package/dist/runtime/gateway/slack-channel-adapter.js.map +1 -1
- package/dist/runtime/gateway/telegram-gateway-adapter.d.ts +19 -4
- package/dist/runtime/gateway/telegram-gateway-adapter.d.ts.map +1 -1
- package/dist/runtime/gateway/telegram-gateway-adapter.js +428 -117
- package/dist/runtime/gateway/telegram-gateway-adapter.js.map +1 -1
- package/dist/runtime/gateway/whatsapp-gateway-adapter.d.ts +1 -1
- package/dist/runtime/gateway/whatsapp-gateway-adapter.d.ts.map +1 -1
- package/dist/runtime/gateway/whatsapp-gateway-adapter.js +86 -54
- package/dist/runtime/gateway/whatsapp-gateway-adapter.js.map +1 -1
- package/dist/runtime/gateway/ws-channel-adapter.d.ts.map +1 -1
- package/dist/runtime/gateway/ws-channel-adapter.js +3 -4
- package/dist/runtime/gateway/ws-channel-adapter.js.map +1 -1
- package/dist/runtime/goal-lease-manager.d.ts +9 -14
- package/dist/runtime/goal-lease-manager.d.ts.map +1 -1
- package/dist/runtime/goal-lease-manager.js +85 -141
- package/dist/runtime/goal-lease-manager.js.map +1 -1
- package/dist/runtime/guardrails/backpressure-controller.d.ts +1 -1
- package/dist/runtime/guardrails/backpressure-controller.d.ts.map +1 -1
- package/dist/runtime/guardrails/backpressure-controller.js +5 -4
- package/dist/runtime/guardrails/backpressure-controller.js.map +1 -1
- package/dist/runtime/guardrails/backpressure-limits.d.ts +5 -0
- package/dist/runtime/guardrails/backpressure-limits.d.ts.map +1 -0
- package/dist/runtime/guardrails/backpressure-limits.js +13 -0
- package/dist/runtime/guardrails/backpressure-limits.js.map +1 -0
- package/dist/runtime/guardrails/guardrail-store.d.ts +8 -10
- package/dist/runtime/guardrails/guardrail-store.d.ts.map +1 -1
- package/dist/runtime/guardrails/guardrail-store.js +78 -55
- package/dist/runtime/guardrails/guardrail-store.js.map +1 -1
- package/dist/runtime/hook-manager.d.ts +2 -0
- package/dist/runtime/hook-manager.d.ts.map +1 -1
- package/dist/runtime/hook-manager.js +10 -4
- package/dist/runtime/hook-manager.js.map +1 -1
- package/dist/runtime/http-body.d.ts +8 -0
- package/dist/runtime/http-body.d.ts.map +1 -0
- package/dist/runtime/http-body.js +43 -0
- package/dist/runtime/http-body.js.map +1 -0
- package/dist/runtime/intention/companion-intention-state.d.ts +680 -0
- package/dist/runtime/intention/companion-intention-state.d.ts.map +1 -0
- package/dist/runtime/intention/companion-intention-state.js +146 -0
- package/dist/runtime/intention/companion-intention-state.js.map +1 -0
- package/dist/runtime/intention/index.d.ts +3 -0
- package/dist/runtime/intention/index.d.ts.map +1 -0
- package/dist/runtime/intention/index.js +2 -0
- package/dist/runtime/intention/index.js.map +1 -0
- package/dist/runtime/interactive-automation/browser-session-resolver.d.ts +26 -0
- package/dist/runtime/interactive-automation/browser-session-resolver.d.ts.map +1 -0
- package/dist/runtime/interactive-automation/browser-session-resolver.js +75 -0
- package/dist/runtime/interactive-automation/browser-session-resolver.js.map +1 -0
- package/dist/runtime/interactive-automation/browser-session-store.d.ts +8 -4
- package/dist/runtime/interactive-automation/browser-session-store.d.ts.map +1 -1
- package/dist/runtime/interactive-automation/browser-session-store.js +78 -9
- package/dist/runtime/interactive-automation/browser-session-store.js.map +1 -1
- 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/runtime-auth-handoff-store.d.ts +40 -0
- package/dist/runtime/interactive-automation/runtime-auth-handoff-store.d.ts.map +1 -0
- package/dist/runtime/interactive-automation/runtime-auth-handoff-store.js +198 -0
- package/dist/runtime/interactive-automation/runtime-auth-handoff-store.js.map +1 -0
- package/dist/runtime/leader-lock-manager.d.ts +27 -4
- package/dist/runtime/leader-lock-manager.d.ts.map +1 -1
- package/dist/runtime/leader-lock-manager.js +102 -105
- package/dist/runtime/leader-lock-manager.js.map +1 -1
- package/dist/runtime/mcp/compatibility.d.ts +53 -0
- package/dist/runtime/mcp/compatibility.d.ts.map +1 -0
- package/dist/runtime/mcp/compatibility.js +94 -0
- package/dist/runtime/mcp/compatibility.js.map +1 -0
- package/dist/runtime/mcp/index.d.ts +3 -0
- package/dist/runtime/mcp/index.d.ts.map +1 -0
- package/dist/runtime/mcp/index.js +2 -0
- package/dist/runtime/mcp/index.js.map +1 -0
- package/dist/runtime/notification-routing.d.ts.map +1 -1
- package/dist/runtime/notification-routing.js +2 -1
- package/dist/runtime/notification-routing.js.map +1 -1
- package/dist/runtime/observation/index.d.ts +3 -0
- package/dist/runtime/observation/index.d.ts.map +1 -0
- package/dist/runtime/observation/index.js +2 -0
- package/dist/runtime/observation/index.js.map +1 -0
- package/dist/runtime/observation/observation-contracts.d.ts +1518 -0
- package/dist/runtime/observation/observation-contracts.d.ts.map +1 -0
- package/dist/runtime/observation/observation-contracts.js +311 -0
- package/dist/runtime/observation/observation-contracts.js.map +1 -0
- package/dist/runtime/permission-dialogue.d.ts +87 -10
- package/dist/runtime/permission-dialogue.d.ts.map +1 -1
- package/dist/runtime/permission-dialogue.js +39 -4
- package/dist/runtime/permission-dialogue.js.map +1 -1
- package/dist/runtime/permission-grant-decision.d.ts +50 -0
- package/dist/runtime/permission-grant-decision.d.ts.map +1 -0
- package/dist/runtime/permission-grant-decision.js +139 -0
- package/dist/runtime/permission-grant-decision.js.map +1 -0
- package/dist/runtime/pid-manager.d.ts +1 -0
- package/dist/runtime/pid-manager.d.ts.map +1 -1
- package/dist/runtime/pid-manager.js +44 -21
- package/dist/runtime/pid-manager.js.map +1 -1
- package/dist/runtime/plugin-loader.d.ts +10 -1
- package/dist/runtime/plugin-loader.d.ts.map +1 -1
- package/dist/runtime/plugin-loader.js +104 -78
- package/dist/runtime/plugin-loader.js.map +1 -1
- package/dist/runtime/plugin-manifest-reader.d.ts +38 -0
- package/dist/runtime/plugin-manifest-reader.d.ts.map +1 -0
- package/dist/runtime/plugin-manifest-reader.js +163 -0
- package/dist/runtime/plugin-manifest-reader.js.map +1 -0
- package/dist/runtime/port-utils.d.ts.map +1 -1
- package/dist/runtime/port-utils.js +20 -6
- package/dist/runtime/port-utils.js.map +1 -1
- package/dist/runtime/queue/journal-backed-queue.d.ts +8 -7
- package/dist/runtime/queue/journal-backed-queue.d.ts.map +1 -1
- package/dist/runtime/queue/journal-backed-queue.js +172 -122
- package/dist/runtime/queue/journal-backed-queue.js.map +1 -1
- package/dist/runtime/resident-runtime-interface.d.ts +1034 -0
- package/dist/runtime/resident-runtime-interface.d.ts.map +1 -0
- package/dist/runtime/resident-runtime-interface.js +429 -0
- package/dist/runtime/resident-runtime-interface.js.map +1 -0
- package/dist/runtime/run-spec/confirmation.d.ts +4 -1
- package/dist/runtime/run-spec/confirmation.d.ts.map +1 -1
- package/dist/runtime/run-spec/confirmation.js +101 -6
- package/dist/runtime/run-spec/confirmation.js.map +1 -1
- package/dist/runtime/run-spec/derive.d.ts +29 -29
- package/dist/runtime/run-spec/derive.d.ts.map +1 -1
- package/dist/runtime/run-spec/derive.js +8 -7
- package/dist/runtime/run-spec/derive.js.map +1 -1
- package/dist/runtime/run-spec/handoff.d.ts.map +1 -1
- package/dist/runtime/run-spec/handoff.js +73 -38
- package/dist/runtime/run-spec/handoff.js.map +1 -1
- package/dist/runtime/run-spec/index.d.ts +2 -0
- package/dist/runtime/run-spec/index.d.ts.map +1 -1
- package/dist/runtime/run-spec/index.js +1 -0
- package/dist/runtime/run-spec/index.js.map +1 -1
- package/dist/runtime/run-spec/pending-dialogue-arbiter.d.ts +4 -4
- package/dist/runtime/run-spec/pending-dialogue-arbiter.js +1 -1
- package/dist/runtime/run-spec/pending-dialogue-arbiter.js.map +1 -1
- package/dist/runtime/run-spec/run-spec-state-migration.d.ts +13 -0
- package/dist/runtime/run-spec/run-spec-state-migration.d.ts.map +1 -0
- package/dist/runtime/run-spec/run-spec-state-migration.js +117 -0
- package/dist/runtime/run-spec/run-spec-state-migration.js.map +1 -0
- package/dist/runtime/run-spec/store.d.ts +9 -3
- package/dist/runtime/run-spec/store.d.ts.map +1 -1
- package/dist/runtime/run-spec/store.js +68 -19
- package/dist/runtime/run-spec/store.js.map +1 -1
- package/dist/runtime/run-spec/types.d.ts +49 -44
- package/dist/runtime/run-spec/types.d.ts.map +1 -1
- package/dist/runtime/run-spec/types.js +11 -6
- package/dist/runtime/run-spec/types.js.map +1 -1
- package/dist/runtime/schedule/engine-execution.d.ts +7 -3
- package/dist/runtime/schedule/engine-execution.d.ts.map +1 -1
- package/dist/runtime/schedule/engine-execution.js +61 -26
- package/dist/runtime/schedule/engine-execution.js.map +1 -1
- package/dist/runtime/schedule/engine-heartbeat.d.ts.map +1 -1
- package/dist/runtime/schedule/engine-heartbeat.js +15 -7
- package/dist/runtime/schedule/engine-heartbeat.js.map +1 -1
- 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 +155 -12
- package/dist/runtime/schedule/engine-layers.js.map +1 -1
- package/dist/runtime/schedule/engine-mutations.js.map +1 -1
- package/dist/runtime/schedule/engine.d.ts +7 -3
- package/dist/runtime/schedule/engine.d.ts.map +1 -1
- package/dist/runtime/schedule/engine.js +62 -13
- package/dist/runtime/schedule/engine.js.map +1 -1
- package/dist/runtime/schedule/entry-normalization.d.ts +9 -0
- package/dist/runtime/schedule/entry-normalization.d.ts.map +1 -0
- package/dist/runtime/schedule/entry-normalization.js +105 -0
- package/dist/runtime/schedule/entry-normalization.js.map +1 -0
- package/dist/runtime/schedule/entry-store.d.ts +7 -6
- package/dist/runtime/schedule/entry-store.d.ts.map +1 -1
- package/dist/runtime/schedule/entry-store.js +94 -67
- package/dist/runtime/schedule/entry-store.js.map +1 -1
- package/dist/runtime/schedule/history.d.ts +649 -9
- package/dist/runtime/schedule/history.d.ts.map +1 -1
- package/dist/runtime/schedule/history.js +66 -23
- package/dist/runtime/schedule/history.js.map +1 -1
- package/dist/runtime/schedule/legacy-cron-migration.d.ts.map +1 -1
- package/dist/runtime/schedule/legacy-cron-migration.js +34 -8
- package/dist/runtime/schedule/legacy-cron-migration.js.map +1 -1
- package/dist/runtime/schedule/presets.d.ts +20 -20
- package/dist/runtime/schedule/presets.d.ts.map +1 -1
- package/dist/runtime/schedule/presets.js +4 -2
- package/dist/runtime/schedule/presets.js.map +1 -1
- package/dist/runtime/schedule/source.d.ts +30 -28
- package/dist/runtime/schedule/source.d.ts.map +1 -1
- package/dist/runtime/schedule/source.js +16 -5
- package/dist/runtime/schedule/source.js.map +1 -1
- package/dist/runtime/schedule/wait-projection.d.ts.map +1 -1
- package/dist/runtime/schedule/wait-projection.js +6 -9
- package/dist/runtime/schedule/wait-projection.js.map +1 -1
- package/dist/runtime/session-registry/registry-helpers.d.ts +2 -0
- package/dist/runtime/session-registry/registry-helpers.d.ts.map +1 -1
- package/dist/runtime/session-registry/registry-helpers.js +34 -10
- package/dist/runtime/session-registry/registry-helpers.js.map +1 -1
- package/dist/runtime/session-registry/registry.d.ts +3 -2
- package/dist/runtime/session-registry/registry.d.ts.map +1 -1
- package/dist/runtime/session-registry/registry.js +118 -211
- package/dist/runtime/session-registry/registry.js.map +1 -1
- package/dist/runtime/session-registry/types.d.ts +160 -160
- package/dist/runtime/session-registry/types.d.ts.map +1 -1
- package/dist/runtime/session-registry/types.js +1 -0
- package/dist/runtime/session-registry/types.js.map +1 -1
- package/dist/runtime/skills/skill-bundle.d.ts +45 -0
- package/dist/runtime/skills/skill-bundle.d.ts.map +1 -0
- package/dist/runtime/skills/skill-bundle.js +203 -0
- package/dist/runtime/skills/skill-bundle.js.map +1 -0
- package/dist/runtime/skills/skill-parser.d.ts +1 -0
- package/dist/runtime/skills/skill-parser.d.ts.map +1 -1
- package/dist/runtime/skills/skill-parser.js +30 -11
- package/dist/runtime/skills/skill-parser.js.map +1 -1
- package/dist/runtime/skills/skill-registry.d.ts +5 -0
- package/dist/runtime/skills/skill-registry.d.ts.map +1 -1
- package/dist/runtime/skills/skill-registry.js +53 -9
- package/dist/runtime/skills/skill-registry.js.map +1 -1
- package/dist/runtime/store/approval-store.d.ts +5 -5
- package/dist/runtime/store/approval-store.d.ts.map +1 -1
- package/dist/runtime/store/approval-store.js +86 -81
- package/dist/runtime/store/approval-store.js.map +1 -1
- package/dist/runtime/store/artifact-retention.d.ts.map +1 -1
- package/dist/runtime/store/artifact-retention.js +13 -2
- package/dist/runtime/store/artifact-retention.js.map +1 -1
- package/dist/runtime/store/attention-state-store.d.ts +195 -0
- package/dist/runtime/store/attention-state-store.d.ts.map +1 -0
- package/dist/runtime/store/attention-state-store.js +1186 -0
- package/dist/runtime/store/attention-state-store.js.map +1 -0
- package/dist/runtime/store/background-run-store.d.ts +233 -2
- package/dist/runtime/store/background-run-store.d.ts.map +1 -1
- package/dist/runtime/store/background-run-store.js +65 -9
- package/dist/runtime/store/background-run-store.js.map +1 -1
- package/dist/runtime/store/budget-store.d.ts +101 -48
- package/dist/runtime/store/budget-store.d.ts.map +1 -1
- package/dist/runtime/store/budget-store.js +226 -47
- package/dist/runtime/store/budget-store.js.map +1 -1
- package/dist/runtime/store/capability-registry-state-migration.d.ts +24 -0
- package/dist/runtime/store/capability-registry-state-migration.d.ts.map +1 -0
- package/dist/runtime/store/capability-registry-state-migration.js +208 -0
- package/dist/runtime/store/capability-registry-state-migration.js.map +1 -0
- package/dist/runtime/store/capability-registry-state-store.d.ts +36 -0
- package/dist/runtime/store/capability-registry-state-store.d.ts.map +1 -0
- package/dist/runtime/store/capability-registry-state-store.js +181 -0
- package/dist/runtime/store/capability-registry-state-store.js.map +1 -0
- package/dist/runtime/store/capability-verification-schemas.d.ts +184 -0
- package/dist/runtime/store/capability-verification-schemas.d.ts.map +1 -0
- package/dist/runtime/store/capability-verification-schemas.js +150 -0
- package/dist/runtime/store/capability-verification-schemas.js.map +1 -0
- package/dist/runtime/store/capability-verification-store.d.ts +31 -0
- package/dist/runtime/store/capability-verification-store.d.ts.map +1 -0
- package/dist/runtime/store/capability-verification-store.js +198 -0
- package/dist/runtime/store/capability-verification-store.js.map +1 -0
- package/dist/runtime/store/control-db/control-db.d.ts +80 -0
- package/dist/runtime/store/control-db/control-db.d.ts.map +1 -0
- package/dist/runtime/store/control-db/control-db.js +313 -0
- package/dist/runtime/store/control-db/control-db.js.map +1 -0
- package/dist/runtime/store/control-db/index.d.ts +7 -0
- package/dist/runtime/store/control-db/index.d.ts.map +1 -0
- package/dist/runtime/store/control-db/index.js +4 -0
- package/dist/runtime/store/control-db/index.js.map +1 -0
- package/dist/runtime/store/control-db/runtime-control-db.d.ts +11 -0
- package/dist/runtime/store/control-db/runtime-control-db.d.ts.map +1 -0
- package/dist/runtime/store/control-db/runtime-control-db.js +27 -0
- package/dist/runtime/store/control-db/runtime-control-db.js.map +1 -0
- package/dist/runtime/store/control-db/schema.d.ts +41 -0
- package/dist/runtime/store/control-db/schema.d.ts.map +1 -0
- package/dist/runtime/store/control-db/schema.js +2032 -0
- package/dist/runtime/store/control-db/schema.js.map +1 -0
- package/dist/runtime/store/curiosity-state-migration.d.ts +14 -0
- package/dist/runtime/store/curiosity-state-migration.d.ts.map +1 -0
- package/dist/runtime/store/curiosity-state-migration.js +98 -0
- package/dist/runtime/store/curiosity-state-migration.js.map +1 -0
- package/dist/runtime/store/curiosity-state-store.d.ts +19 -0
- package/dist/runtime/store/curiosity-state-store.d.ts.map +1 -0
- package/dist/runtime/store/curiosity-state-store.js +161 -0
- package/dist/runtime/store/curiosity-state-store.js.map +1 -0
- package/dist/runtime/store/daemon-state-store.d.ts +25 -0
- package/dist/runtime/store/daemon-state-store.d.ts.map +1 -0
- package/dist/runtime/store/daemon-state-store.js +145 -0
- package/dist/runtime/store/daemon-state-store.js.map +1 -0
- package/dist/runtime/store/dream-decision-heuristic-migration.d.ts +8 -0
- package/dist/runtime/store/dream-decision-heuristic-migration.d.ts.map +1 -0
- package/dist/runtime/store/dream-decision-heuristic-migration.js +89 -0
- package/dist/runtime/store/dream-decision-heuristic-migration.js.map +1 -0
- package/dist/runtime/store/dream-decision-heuristic-store.d.ts +13 -0
- package/dist/runtime/store/dream-decision-heuristic-store.d.ts.map +1 -0
- package/dist/runtime/store/dream-decision-heuristic-store.js +62 -0
- package/dist/runtime/store/dream-decision-heuristic-store.js.map +1 -0
- package/dist/runtime/store/ethics-log-migration.d.ts +12 -0
- package/dist/runtime/store/ethics-log-migration.d.ts.map +1 -0
- package/dist/runtime/store/ethics-log-migration.js +94 -0
- package/dist/runtime/store/ethics-log-migration.js.map +1 -0
- package/dist/runtime/store/ethics-log-store.d.ts +20 -0
- package/dist/runtime/store/ethics-log-store.d.ts.map +1 -0
- package/dist/runtime/store/ethics-log-store.js +90 -0
- package/dist/runtime/store/ethics-log-store.js.map +1 -0
- package/dist/runtime/store/evidence-ledger.d.ts +8 -203
- package/dist/runtime/store/evidence-ledger.d.ts.map +1 -1
- package/dist/runtime/store/evidence-ledger.js +172 -507
- package/dist/runtime/store/evidence-ledger.js.map +1 -1
- package/dist/runtime/store/evidence-types.d.ts +860 -841
- package/dist/runtime/store/evidence-types.d.ts.map +1 -1
- package/dist/runtime/store/evidence-types.js +7 -4
- package/dist/runtime/store/evidence-types.js.map +1 -1
- package/dist/runtime/store/execution-session-state-migration.d.ts +14 -0
- package/dist/runtime/store/execution-session-state-migration.d.ts.map +1 -0
- package/dist/runtime/store/execution-session-state-migration.js +184 -0
- package/dist/runtime/store/execution-session-state-migration.js.map +1 -0
- package/dist/runtime/store/execution-session-state-store.d.ts +21 -0
- package/dist/runtime/store/execution-session-state-store.d.ts.map +1 -0
- package/dist/runtime/store/execution-session-state-store.js +117 -0
- package/dist/runtime/store/execution-session-state-store.js.map +1 -0
- package/dist/runtime/store/experiment-queue-store.d.ts +76 -72
- package/dist/runtime/store/experiment-queue-store.d.ts.map +1 -1
- package/dist/runtime/store/experiment-queue-store.js +72 -9
- package/dist/runtime/store/experiment-queue-store.js.map +1 -1
- package/dist/runtime/store/feedback-ingestion-store.d.ts +19 -0
- package/dist/runtime/store/feedback-ingestion-store.d.ts.map +1 -0
- package/dist/runtime/store/feedback-ingestion-store.js +147 -0
- package/dist/runtime/store/feedback-ingestion-store.js.map +1 -0
- package/dist/runtime/store/goal-orchestration-state-migration.d.ts +14 -0
- package/dist/runtime/store/goal-orchestration-state-migration.d.ts.map +1 -0
- package/dist/runtime/store/goal-orchestration-state-migration.js +206 -0
- package/dist/runtime/store/goal-orchestration-state-migration.js.map +1 -0
- package/dist/runtime/store/goal-orchestration-state-store.d.ts +25 -0
- package/dist/runtime/store/goal-orchestration-state-store.d.ts.map +1 -0
- package/dist/runtime/store/goal-orchestration-state-store.js +101 -0
- package/dist/runtime/store/goal-orchestration-state-store.js.map +1 -0
- package/dist/runtime/store/goal-task-state-migration.d.ts +24 -0
- package/dist/runtime/store/goal-task-state-migration.d.ts.map +1 -0
- package/dist/runtime/store/goal-task-state-migration.js +554 -0
- package/dist/runtime/store/goal-task-state-migration.js.map +1 -0
- package/dist/runtime/store/goal-task-state-store.d.ts +85 -0
- package/dist/runtime/store/goal-task-state-store.d.ts.map +1 -0
- package/dist/runtime/store/goal-task-state-store.js +992 -0
- package/dist/runtime/store/goal-task-state-store.js.map +1 -0
- package/dist/runtime/store/health-store.d.ts +5 -2
- package/dist/runtime/store/health-store.d.ts.map +1 -1
- package/dist/runtime/store/health-store.js +70 -23
- package/dist/runtime/store/health-store.js.map +1 -1
- package/dist/runtime/store/index.d.ts +91 -4
- package/dist/runtime/store/index.d.ts.map +1 -1
- package/dist/runtime/store/index.js +49 -3
- package/dist/runtime/store/index.js.map +1 -1
- package/dist/runtime/store/knowledge-memory-state-migration.d.ts +14 -0
- package/dist/runtime/store/knowledge-memory-state-migration.d.ts.map +1 -0
- package/dist/runtime/store/knowledge-memory-state-migration.js +160 -0
- package/dist/runtime/store/knowledge-memory-state-migration.js.map +1 -0
- package/dist/runtime/store/knowledge-transfer-state-migration.d.ts +14 -0
- package/dist/runtime/store/knowledge-transfer-state-migration.d.ts.map +1 -0
- package/dist/runtime/store/knowledge-transfer-state-migration.js +210 -0
- package/dist/runtime/store/knowledge-transfer-state-migration.js.map +1 -0
- package/dist/runtime/store/knowledge-transfer-state-store.d.ts +658 -0
- package/dist/runtime/store/knowledge-transfer-state-store.d.ts.map +1 -0
- package/dist/runtime/store/knowledge-transfer-state-store.js +214 -0
- package/dist/runtime/store/knowledge-transfer-state-store.js.map +1 -0
- package/dist/runtime/store/learning-runtime-state-migration.d.ts +16 -0
- package/dist/runtime/store/learning-runtime-state-migration.d.ts.map +1 -0
- package/dist/runtime/store/learning-runtime-state-migration.js +202 -0
- package/dist/runtime/store/learning-runtime-state-migration.js.map +1 -0
- package/dist/runtime/store/learning-runtime-state-store.d.ts +53 -0
- package/dist/runtime/store/learning-runtime-state-store.d.ts.map +1 -0
- package/dist/runtime/store/learning-runtime-state-store.js +232 -0
- package/dist/runtime/store/learning-runtime-state-store.js.map +1 -0
- package/dist/runtime/store/memory-lifecycle-state-migration.d.ts +18 -0
- package/dist/runtime/store/memory-lifecycle-state-migration.d.ts.map +1 -0
- package/dist/runtime/store/memory-lifecycle-state-migration.js +344 -0
- package/dist/runtime/store/memory-lifecycle-state-migration.js.map +1 -0
- package/dist/runtime/store/metric-history.d.ts +4 -1
- package/dist/runtime/store/metric-history.d.ts.map +1 -1
- package/dist/runtime/store/metric-history.js +18 -3
- package/dist/runtime/store/metric-history.js.map +1 -1
- package/dist/runtime/store/operator-handoff-store.d.ts +22 -17
- package/dist/runtime/store/operator-handoff-store.d.ts.map +1 -1
- package/dist/runtime/store/operator-handoff-store.js +74 -7
- package/dist/runtime/store/operator-handoff-store.js.map +1 -1
- package/dist/runtime/store/outbox-store.d.ts +5 -3
- package/dist/runtime/store/outbox-store.d.ts.map +1 -1
- package/dist/runtime/store/outbox-store.js +76 -66
- package/dist/runtime/store/outbox-store.js.map +1 -1
- package/dist/runtime/store/permission-grant-store.d.ts +961 -0
- package/dist/runtime/store/permission-grant-store.d.ts.map +1 -0
- package/dist/runtime/store/permission-grant-store.js +525 -0
- package/dist/runtime/store/permission-grant-store.js.map +1 -0
- package/dist/runtime/store/permission-wait-plan-store.d.ts +633 -0
- package/dist/runtime/store/permission-wait-plan-store.d.ts.map +1 -0
- package/dist/runtime/store/permission-wait-plan-store.js +366 -0
- package/dist/runtime/store/permission-wait-plan-store.js.map +1 -0
- package/dist/runtime/store/plugin-channel-runtime-state-migration.d.ts +14 -0
- package/dist/runtime/store/plugin-channel-runtime-state-migration.d.ts.map +1 -0
- package/dist/runtime/store/plugin-channel-runtime-state-migration.js +204 -0
- package/dist/runtime/store/plugin-channel-runtime-state-migration.js.map +1 -0
- package/dist/runtime/store/plugin-channel-runtime-state-store.d.ts +78 -0
- package/dist/runtime/store/plugin-channel-runtime-state-store.d.ts.map +1 -0
- package/dist/runtime/store/plugin-channel-runtime-state-store.js +278 -0
- package/dist/runtime/store/plugin-channel-runtime-state-store.js.map +1 -0
- package/dist/runtime/store/postmortem-report.d.ts +10 -8
- package/dist/runtime/store/postmortem-report.d.ts.map +1 -1
- package/dist/runtime/store/postmortem-report.js +40 -18
- package/dist/runtime/store/postmortem-report.js.map +1 -1
- package/dist/runtime/store/proactive-intervention-store.d.ts +2376 -33
- package/dist/runtime/store/proactive-intervention-store.d.ts.map +1 -1
- package/dist/runtime/store/proactive-intervention-store.js +83 -37
- package/dist/runtime/store/proactive-intervention-store.js.map +1 -1
- package/dist/runtime/store/process-session-state-store.d.ts +83 -0
- package/dist/runtime/store/process-session-state-store.d.ts.map +1 -0
- package/dist/runtime/store/process-session-state-store.js +199 -0
- package/dist/runtime/store/process-session-state-store.js.map +1 -0
- package/dist/runtime/store/queue-daemon-schedule-state-migration.d.ts +17 -0
- package/dist/runtime/store/queue-daemon-schedule-state-migration.d.ts.map +1 -0
- package/dist/runtime/store/queue-daemon-schedule-state-migration.js +261 -0
- package/dist/runtime/store/queue-daemon-schedule-state-migration.js.map +1 -0
- package/dist/runtime/store/relationship-profile-proposal-state-migration.d.ts +13 -0
- package/dist/runtime/store/relationship-profile-proposal-state-migration.d.ts.map +1 -0
- package/dist/runtime/store/relationship-profile-proposal-state-migration.js +94 -0
- package/dist/runtime/store/relationship-profile-proposal-state-migration.js.map +1 -0
- package/dist/runtime/store/reproducibility-manifest.d.ts +33 -33
- package/dist/runtime/store/reproducibility-manifest.d.ts.map +1 -1
- package/dist/runtime/store/reproducibility-manifest.js +22 -11
- package/dist/runtime/store/reproducibility-manifest.js.map +1 -1
- package/dist/runtime/store/runtime-control-state-migration.d.ts +23 -0
- package/dist/runtime/store/runtime-control-state-migration.d.ts.map +1 -0
- package/dist/runtime/store/runtime-control-state-migration.js +151 -0
- package/dist/runtime/store/runtime-control-state-migration.js.map +1 -0
- package/dist/runtime/store/runtime-control-store-migration.d.ts +18 -0
- package/dist/runtime/store/runtime-control-store-migration.d.ts.map +1 -0
- package/dist/runtime/store/runtime-control-store-migration.js +119 -0
- package/dist/runtime/store/runtime-control-store-migration.js.map +1 -0
- package/dist/runtime/store/runtime-evidence-state-store.d.ts +34 -0
- package/dist/runtime/store/runtime-evidence-state-store.d.ts.map +1 -0
- package/dist/runtime/store/runtime-evidence-state-store.js +181 -0
- package/dist/runtime/store/runtime-evidence-state-store.js.map +1 -0
- package/dist/runtime/store/runtime-evidence-strategy-dream-state-migration.d.ts +24 -0
- package/dist/runtime/store/runtime-evidence-strategy-dream-state-migration.d.ts.map +1 -0
- package/dist/runtime/store/runtime-evidence-strategy-dream-state-migration.js +369 -0
- package/dist/runtime/store/runtime-evidence-strategy-dream-state-migration.js.map +1 -0
- package/dist/runtime/store/runtime-evidence-summary-types.d.ts +213 -0
- package/dist/runtime/store/runtime-evidence-summary-types.d.ts.map +1 -0
- package/dist/runtime/store/runtime-evidence-summary-types.js +2 -0
- package/dist/runtime/store/runtime-evidence-summary-types.js.map +1 -0
- package/dist/runtime/store/runtime-journal-state-migration.d.ts +20 -0
- package/dist/runtime/store/runtime-journal-state-migration.d.ts.map +1 -0
- package/dist/runtime/store/runtime-journal-state-migration.js +280 -0
- package/dist/runtime/store/runtime-journal-state-migration.js.map +1 -0
- package/dist/runtime/store/runtime-journal.d.ts +0 -11
- package/dist/runtime/store/runtime-journal.d.ts.map +1 -1
- package/dist/runtime/store/runtime-journal.js +0 -25
- package/dist/runtime/store/runtime-journal.js.map +1 -1
- package/dist/runtime/store/runtime-operation-companion.d.ts +13 -0
- package/dist/runtime/store/runtime-operation-companion.d.ts.map +1 -0
- package/dist/runtime/store/runtime-operation-companion.js +597 -0
- package/dist/runtime/store/runtime-operation-companion.js.map +1 -0
- package/dist/runtime/store/runtime-operation-schemas.d.ts +692 -70
- package/dist/runtime/store/runtime-operation-schemas.d.ts.map +1 -1
- package/dist/runtime/store/runtime-operation-schemas.js +70 -1
- package/dist/runtime/store/runtime-operation-schemas.js.map +1 -1
- package/dist/runtime/store/runtime-operation-store.d.ts +19 -8
- package/dist/runtime/store/runtime-operation-store.d.ts.map +1 -1
- package/dist/runtime/store/runtime-operation-store.js +173 -36
- package/dist/runtime/store/runtime-operation-store.js.map +1 -1
- package/dist/runtime/store/runtime-paths.d.ts +4 -15
- package/dist/runtime/store/runtime-paths.d.ts.map +1 -1
- package/dist/runtime/store/runtime-paths.js +10 -55
- package/dist/runtime/store/runtime-paths.js.map +1 -1
- package/dist/runtime/store/runtime-schemas.d.ts +2689 -56
- package/dist/runtime/store/runtime-schemas.d.ts.map +1 -1
- package/dist/runtime/store/runtime-schemas.js +153 -35
- package/dist/runtime/store/runtime-schemas.js.map +1 -1
- package/dist/runtime/store/safe-pause-store.d.ts +5 -2
- package/dist/runtime/store/safe-pause-store.d.ts.map +1 -1
- package/dist/runtime/store/safe-pause-store.js +46 -8
- package/dist/runtime/store/safe-pause-store.js.map +1 -1
- package/dist/runtime/store/stall-state-migration.d.ts +13 -0
- package/dist/runtime/store/stall-state-migration.d.ts.map +1 -0
- package/dist/runtime/store/stall-state-migration.js +143 -0
- package/dist/runtime/store/stall-state-migration.js.map +1 -0
- package/dist/runtime/store/stall-state-store.d.ts +22 -0
- package/dist/runtime/store/stall-state-store.d.ts.map +1 -0
- package/dist/runtime/store/stall-state-store.js +76 -0
- package/dist/runtime/store/stall-state-store.js.map +1 -0
- package/dist/runtime/store/strategy-dream-state-store.d.ts +65 -0
- package/dist/runtime/store/strategy-dream-state-store.d.ts.map +1 -0
- package/dist/runtime/store/strategy-dream-state-store.js +524 -0
- package/dist/runtime/store/strategy-dream-state-store.js.map +1 -0
- package/dist/runtime/store/supervisor-state-store.d.ts +71 -0
- package/dist/runtime/store/supervisor-state-store.d.ts.map +1 -0
- package/dist/runtime/store/supervisor-state-store.js +134 -0
- package/dist/runtime/store/supervisor-state-store.js.map +1 -0
- package/dist/runtime/store/transfer-trust-state-migration.d.ts +15 -0
- package/dist/runtime/store/transfer-trust-state-migration.d.ts.map +1 -0
- package/dist/runtime/store/transfer-trust-state-migration.js +281 -0
- package/dist/runtime/store/transfer-trust-state-migration.js.map +1 -0
- package/dist/runtime/store/transfer-trust-state-store.d.ts +62 -0
- package/dist/runtime/store/transfer-trust-state-store.d.ts.map +1 -0
- package/dist/runtime/store/transfer-trust-state-store.js +322 -0
- package/dist/runtime/store/transfer-trust-state-store.js.map +1 -0
- package/dist/runtime/store/trust-state-migration.d.ts +14 -0
- package/dist/runtime/store/trust-state-migration.d.ts.map +1 -0
- package/dist/runtime/store/trust-state-migration.js +99 -0
- package/dist/runtime/store/trust-state-migration.js.map +1 -0
- package/dist/runtime/store/trust-state-store.d.ts +18 -0
- package/dist/runtime/store/trust-state-store.d.ts.map +1 -0
- package/dist/runtime/store/trust-state-store.js +132 -0
- package/dist/runtime/store/trust-state-store.js.map +1 -0
- package/dist/runtime/trigger-mapper.d.ts +1 -0
- package/dist/runtime/trigger-mapper.d.ts.map +1 -1
- package/dist/runtime/trigger-mapper.js +83 -18
- package/dist/runtime/trigger-mapper.js.map +1 -1
- package/dist/runtime/trigger-mappings-json.d.ts +4 -0
- package/dist/runtime/trigger-mappings-json.d.ts.map +1 -0
- package/dist/runtime/trigger-mappings-json.js +10 -0
- package/dist/runtime/trigger-mappings-json.js.map +1 -0
- package/dist/runtime/types/capability-operation-plan.d.ts +580 -0
- package/dist/runtime/types/capability-operation-plan.d.ts.map +1 -0
- package/dist/runtime/types/capability-operation-plan.js +38 -0
- package/dist/runtime/types/capability-operation-plan.js.map +1 -0
- package/dist/runtime/types/companion-autonomy.d.ts +10283 -0
- package/dist/runtime/types/companion-autonomy.d.ts.map +1 -0
- package/dist/runtime/types/companion-autonomy.js +1091 -0
- package/dist/runtime/types/companion-autonomy.js.map +1 -0
- package/dist/runtime/types/companion-state.d.ts +8234 -0
- package/dist/runtime/types/companion-state.d.ts.map +1 -0
- package/dist/runtime/types/companion-state.js +403 -0
- package/dist/runtime/types/companion-state.js.map +1 -0
- package/dist/runtime/types/companion.d.ts +74 -72
- package/dist/runtime/types/companion.d.ts.map +1 -1
- package/dist/runtime/types/companion.js +3 -1
- package/dist/runtime/types/companion.js.map +1 -1
- package/dist/runtime/types/daemon.d.ts +2121 -33
- package/dist/runtime/types/daemon.d.ts.map +1 -1
- package/dist/runtime/types/daemon.js +69 -26
- package/dist/runtime/types/daemon.js.map +1 -1
- package/dist/runtime/types/envelope.d.ts +8 -8
- package/dist/runtime/types/envelope.js +2 -2
- package/dist/runtime/types/envelope.js.map +1 -1
- package/dist/runtime/types/hook.d.ts.map +1 -1
- package/dist/runtime/types/hook.js +2 -1
- package/dist/runtime/types/hook.js.map +1 -1
- package/dist/runtime/types/notification.d.ts +57 -56
- package/dist/runtime/types/notification.d.ts.map +1 -1
- package/dist/runtime/types/notification.js +24 -10
- package/dist/runtime/types/notification.js.map +1 -1
- package/dist/runtime/types/plugin.d.ts +8 -8
- package/dist/runtime/types/plugin.d.ts.map +1 -1
- package/dist/runtime/types/plugin.js +30 -15
- package/dist/runtime/types/plugin.js.map +1 -1
- package/dist/runtime/types/schedule.d.ts +1385 -97
- package/dist/runtime/types/schedule.d.ts.map +1 -1
- package/dist/runtime/types/schedule.js +120 -27
- package/dist/runtime/types/schedule.js.map +1 -1
- package/dist/runtime/types/trigger.d.ts +6 -6
- package/dist/runtime/visibility/cognitive-replay-index.d.ts +1072 -0
- package/dist/runtime/visibility/cognitive-replay-index.d.ts.map +1 -0
- package/dist/runtime/visibility/cognitive-replay-index.js +226 -0
- package/dist/runtime/visibility/cognitive-replay-index.js.map +1 -0
- package/dist/runtime/visibility/companion-audit-visibility.d.ts +161 -0
- package/dist/runtime/visibility/companion-audit-visibility.d.ts.map +1 -0
- package/dist/runtime/visibility/companion-audit-visibility.js +565 -0
- package/dist/runtime/visibility/companion-audit-visibility.js.map +1 -0
- package/dist/runtime/visibility/index.d.ts +5 -0
- package/dist/runtime/visibility/index.d.ts.map +1 -0
- package/dist/runtime/visibility/index.js +3 -0
- package/dist/runtime/visibility/index.js.map +1 -0
- package/dist/runtime/watchdog.d.ts +9 -1
- package/dist/runtime/watchdog.d.ts.map +1 -1
- package/dist/runtime/watchdog.js +53 -11
- package/dist/runtime/watchdog.js.map +1 -1
- package/dist/tools/automation/InteractiveAutomationTools.d.ts +68 -208
- package/dist/tools/automation/InteractiveAutomationTools.d.ts.map +1 -1
- package/dist/tools/automation/InteractiveAutomationTools.js +76 -123
- package/dist/tools/automation/InteractiveAutomationTools.js.map +1 -1
- package/dist/tools/automation/automation-tool-base.d.ts +37 -0
- package/dist/tools/automation/automation-tool-base.d.ts.map +1 -0
- package/dist/tools/automation/automation-tool-base.js +77 -0
- package/dist/tools/automation/automation-tool-base.js.map +1 -0
- package/dist/tools/automation/interactive-automation-schemas.d.ts +136 -0
- package/dist/tools/automation/interactive-automation-schemas.d.ts.map +1 -0
- package/dist/tools/automation/interactive-automation-schemas.js +54 -0
- package/dist/tools/automation/interactive-automation-schemas.js.map +1 -0
- package/dist/tools/builtin/factory.d.ts +6 -3
- package/dist/tools/builtin/factory.d.ts.map +1 -1
- package/dist/tools/builtin/factory.js +10 -4
- package/dist/tools/builtin/factory.js.map +1 -1
- package/dist/tools/capability-execution-records.d.ts +8 -0
- package/dist/tools/capability-execution-records.d.ts.map +1 -0
- package/dist/tools/capability-execution-records.js +165 -0
- package/dist/tools/capability-execution-records.js.map +1 -0
- package/dist/tools/execution/MemoryCorrectionTool/MemoryCorrectionTool.d.ts +4 -4
- package/dist/tools/execution/MemorySaveTool/MemorySaveTool.d.ts +40 -40
- package/dist/tools/execution/QueryDataSourceTool/QueryDataSourceTool.d.ts +2 -2
- package/dist/tools/execution/QueryDataSourceTool/QueryDataSourceTool.d.ts.map +1 -1
- package/dist/tools/execution/QueryDataSourceTool/QueryDataSourceTool.js +1 -1
- package/dist/tools/execution/QueryDataSourceTool/QueryDataSourceTool.js.map +1 -1
- package/dist/tools/execution/RunAdapterTool/RunAdapterTool.d.ts +2 -2
- package/dist/tools/execution/RunAdapterTool/RunAdapterTool.d.ts.map +1 -1
- package/dist/tools/execution/RunAdapterTool/RunAdapterTool.js +1 -1
- package/dist/tools/execution/RunAdapterTool/RunAdapterTool.js.map +1 -1
- package/dist/tools/execution/SoilDoctorTool/SoilDoctorTool.d.ts +2 -2
- package/dist/tools/execution/SoilDoctorTool/SoilDoctorTool.d.ts.map +1 -1
- package/dist/tools/execution/SoilDoctorTool/SoilDoctorTool.js +1 -1
- package/dist/tools/execution/SoilDoctorTool/SoilDoctorTool.js.map +1 -1
- package/dist/tools/execution/SoilImportTool/SoilImportTool.d.ts +8 -8
- package/dist/tools/execution/SoilImportTool/SoilImportTool.js +4 -4
- package/dist/tools/execution/SoilImportTool/SoilImportTool.js.map +1 -1
- package/dist/tools/execution/SoilOpenTool/SoilOpenTool.d.ts +2 -2
- package/dist/tools/execution/SoilOpenTool/SoilOpenTool.d.ts.map +1 -1
- package/dist/tools/execution/SoilOpenTool/SoilOpenTool.js +1 -1
- package/dist/tools/execution/SoilOpenTool/SoilOpenTool.js.map +1 -1
- package/dist/tools/execution/SoilPublishTool/SoilPublishTool.d.ts +2 -2
- package/dist/tools/execution/SoilPublishTool/SoilPublishTool.d.ts.map +1 -1
- package/dist/tools/execution/SoilPublishTool/SoilPublishTool.js +1 -1
- package/dist/tools/execution/SoilPublishTool/SoilPublishTool.js.map +1 -1
- package/dist/tools/execution/SoilRebuildTool/SoilRebuildTool.d.ts +2 -2
- package/dist/tools/execution/SoilRebuildTool/SoilRebuildTool.d.ts.map +1 -1
- package/dist/tools/execution/SoilRebuildTool/SoilRebuildTool.js +1 -1
- package/dist/tools/execution/SoilRebuildTool/SoilRebuildTool.js.map +1 -1
- package/dist/tools/execution/SpawnSessionTool/SpawnSessionTool.d.ts +3 -2
- package/dist/tools/execution/SpawnSessionTool/SpawnSessionTool.d.ts.map +1 -1
- package/dist/tools/execution/SpawnSessionTool/SpawnSessionTool.js +3 -2
- package/dist/tools/execution/SpawnSessionTool/SpawnSessionTool.js.map +1 -1
- package/dist/tools/execution-orchestrator.d.ts +2 -9
- package/dist/tools/execution-orchestrator.d.ts.map +1 -1
- package/dist/tools/execution-orchestrator.js.map +1 -1
- package/dist/tools/executor.d.ts +2 -0
- package/dist/tools/executor.d.ts.map +1 -1
- package/dist/tools/executor.js +163 -22
- package/dist/tools/executor.js.map +1 -1
- package/dist/tools/fs/ApplyPatchTool/ApplyPatchTool.d.ts +2 -2
- package/dist/tools/fs/ApplyPatchTool/ApplyPatchTool.d.ts.map +1 -1
- package/dist/tools/fs/ApplyPatchTool/ApplyPatchTool.js +1 -1
- package/dist/tools/fs/ApplyPatchTool/ApplyPatchTool.js.map +1 -1
- package/dist/tools/fs/FileEditTool/FileEditTool.d.ts +2 -2
- package/dist/tools/fs/FileEditTool/FileEditTool.d.ts.map +1 -1
- package/dist/tools/fs/FileEditTool/FileEditTool.js +1 -1
- package/dist/tools/fs/FileEditTool/FileEditTool.js.map +1 -1
- package/dist/tools/fs/FileWriteTool/FileWriteTool.d.ts +2 -2
- package/dist/tools/fs/FileWriteTool/FileWriteTool.d.ts.map +1 -1
- package/dist/tools/fs/FileWriteTool/FileWriteTool.js +1 -1
- package/dist/tools/fs/FileWriteTool/FileWriteTool.js.map +1 -1
- package/dist/tools/fs/GlobTool/GlobTool.d.ts +2 -2
- package/dist/tools/fs/GlobTool/GlobTool.d.ts.map +1 -1
- package/dist/tools/fs/GlobTool/GlobTool.js +23 -9
- package/dist/tools/fs/GlobTool/GlobTool.js.map +1 -1
- package/dist/tools/fs/GrepTool/GrepTool.d.ts +8 -2
- package/dist/tools/fs/GrepTool/GrepTool.d.ts.map +1 -1
- package/dist/tools/fs/GrepTool/GrepTool.js +53 -7
- package/dist/tools/fs/GrepTool/GrepTool.js.map +1 -1
- package/dist/tools/fs/GrepTool/prompt.d.ts +1 -1
- package/dist/tools/fs/GrepTool/prompt.d.ts.map +1 -1
- package/dist/tools/fs/GrepTool/prompt.js +1 -1
- package/dist/tools/fs/GrepTool/prompt.js.map +1 -1
- package/dist/tools/fs/JsonQueryTool/JsonQueryTool.d.ts +2 -2
- package/dist/tools/fs/JsonQueryTool/JsonQueryTool.d.ts.map +1 -1
- package/dist/tools/fs/JsonQueryTool/JsonQueryTool.js +20 -5
- package/dist/tools/fs/JsonQueryTool/JsonQueryTool.js.map +1 -1
- package/dist/tools/fs/JsonQueryTool/constants.d.ts +1 -0
- package/dist/tools/fs/JsonQueryTool/constants.d.ts.map +1 -1
- package/dist/tools/fs/JsonQueryTool/constants.js +1 -0
- package/dist/tools/fs/JsonQueryTool/constants.js.map +1 -1
- package/dist/tools/fs/ListDirTool/ListDirTool.d.ts +2 -2
- package/dist/tools/fs/ListDirTool/ListDirTool.d.ts.map +1 -1
- package/dist/tools/fs/ListDirTool/ListDirTool.js +7 -4
- package/dist/tools/fs/ListDirTool/ListDirTool.js.map +1 -1
- package/dist/tools/fs/ReadPulseedFileTool/ReadPulseedFileTool.d.ts +2 -2
- package/dist/tools/fs/ReadPulseedFileTool/ReadPulseedFileTool.d.ts.map +1 -1
- package/dist/tools/fs/ReadPulseedFileTool/ReadPulseedFileTool.js +1 -1
- package/dist/tools/fs/ReadPulseedFileTool/ReadPulseedFileTool.js.map +1 -1
- package/dist/tools/fs/ReadTool/ReadTool.d.ts +2 -2
- package/dist/tools/fs/ReadTool/ReadTool.d.ts.map +1 -1
- package/dist/tools/fs/ReadTool/ReadTool.js +51 -12
- package/dist/tools/fs/ReadTool/ReadTool.js.map +1 -1
- package/dist/tools/fs/WritePulseedFileTool/WritePulseedFileTool.d.ts +2 -2
- package/dist/tools/fs/WritePulseedFileTool/WritePulseedFileTool.d.ts.map +1 -1
- package/dist/tools/fs/WritePulseedFileTool/WritePulseedFileTool.js +1 -2
- package/dist/tools/fs/WritePulseedFileTool/WritePulseedFileTool.js.map +1 -1
- package/dist/tools/interaction/AskHumanTool/AskHumanTool.d.ts +75 -2
- package/dist/tools/interaction/AskHumanTool/AskHumanTool.d.ts.map +1 -1
- package/dist/tools/interaction/AskHumanTool/AskHumanTool.js +55 -6
- package/dist/tools/interaction/AskHumanTool/AskHumanTool.js.map +1 -1
- package/dist/tools/interaction/AskHumanTool/prompt.d.ts +1 -1
- package/dist/tools/interaction/AskHumanTool/prompt.d.ts.map +1 -1
- package/dist/tools/interaction/AskHumanTool/prompt.js +1 -1
- package/dist/tools/interaction/AskHumanTool/prompt.js.map +1 -1
- package/dist/tools/interaction/CreatePlanTool/CreatePlanTool.d.ts +2 -2
- package/dist/tools/interaction/CreatePlanTool/CreatePlanTool.d.ts.map +1 -1
- package/dist/tools/interaction/CreatePlanTool/CreatePlanTool.js +4 -4
- package/dist/tools/interaction/CreatePlanTool/CreatePlanTool.js.map +1 -1
- package/dist/tools/interaction/ReadPlanTool/ReadPlanTool.d.ts +2 -2
- package/dist/tools/interaction/ReadPlanTool/ReadPlanTool.d.ts.map +1 -1
- package/dist/tools/interaction/ReadPlanTool/ReadPlanTool.js +14 -5
- package/dist/tools/interaction/ReadPlanTool/ReadPlanTool.js.map +1 -1
- package/dist/tools/interaction/plan-utils.d.ts +3 -0
- package/dist/tools/interaction/plan-utils.d.ts.map +1 -1
- package/dist/tools/interaction/plan-utils.js +3 -0
- package/dist/tools/interaction/plan-utils.js.map +1 -1
- package/dist/tools/kaggle/KaggleExperimentTools.d.ts +2 -2
- package/dist/tools/kaggle/KaggleExperimentTools.d.ts.map +1 -1
- package/dist/tools/kaggle/KaggleExperimentTools.js +18 -323
- package/dist/tools/kaggle/KaggleExperimentTools.js.map +1 -1
- package/dist/tools/kaggle/KaggleSubmissionTools.d.ts +6 -6
- package/dist/tools/kaggle/KaggleSubmissionTools.d.ts.map +1 -1
- package/dist/tools/kaggle/KaggleSubmissionTools.js +13 -6
- package/dist/tools/kaggle/KaggleSubmissionTools.js.map +1 -1
- package/dist/tools/kaggle/KaggleWorkspacePrepareTool.js +6 -5
- package/dist/tools/kaggle/KaggleWorkspacePrepareTool.js.map +1 -1
- package/dist/tools/kaggle/experiment-artifacts.d.ts +16 -0
- package/dist/tools/kaggle/experiment-artifacts.d.ts.map +1 -0
- package/dist/tools/kaggle/experiment-artifacts.js +103 -0
- package/dist/tools/kaggle/experiment-artifacts.js.map +1 -0
- package/dist/tools/kaggle/metrics.d.ts +2 -2
- package/dist/tools/kaggle/metrics.js +3 -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 +12 -8
- package/dist/tools/kaggle/paths.js.map +1 -1
- package/dist/tools/kaggle/tee-wrapper.d.ts +2 -0
- package/dist/tools/kaggle/tee-wrapper.d.ts.map +1 -0
- package/dist/tools/kaggle/tee-wrapper.js +244 -0
- package/dist/tools/kaggle/tee-wrapper.js.map +1 -0
- package/dist/tools/media/ViewImageTool/ViewImageTool.d.ts +2 -2
- package/dist/tools/media/ViewImageTool/ViewImageTool.d.ts.map +1 -1
- package/dist/tools/media/ViewImageTool/ViewImageTool.js +1 -1
- package/dist/tools/media/ViewImageTool/ViewImageTool.js.map +1 -1
- package/dist/tools/mutation/ArchiveGoalTool/ArchiveGoalTool.d.ts +2 -2
- package/dist/tools/mutation/ArchiveGoalTool/ArchiveGoalTool.d.ts.map +1 -1
- package/dist/tools/mutation/ArchiveGoalTool/ArchiveGoalTool.js +1 -1
- package/dist/tools/mutation/ArchiveGoalTool/ArchiveGoalTool.js.map +1 -1
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/ConfigureNotificationRoutingTool.d.ts +2 -2
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/ConfigureNotificationRoutingTool.d.ts.map +1 -1
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/ConfigureNotificationRoutingTool.js +1 -1
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/ConfigureNotificationRoutingTool.js.map +1 -1
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/prompt.d.ts +1 -1
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/prompt.d.ts.map +1 -1
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/prompt.js +1 -1
- package/dist/tools/mutation/ConfigureNotificationRoutingTool/prompt.js.map +1 -1
- package/dist/tools/mutation/DeleteGoalTool/DeleteGoalTool.d.ts +2 -2
- package/dist/tools/mutation/DeleteGoalTool/DeleteGoalTool.d.ts.map +1 -1
- package/dist/tools/mutation/DeleteGoalTool/DeleteGoalTool.js +1 -1
- package/dist/tools/mutation/DeleteGoalTool/DeleteGoalTool.js.map +1 -1
- package/dist/tools/mutation/ResetTrustTool/ResetTrustTool.d.ts +2 -2
- package/dist/tools/mutation/ResetTrustTool/ResetTrustTool.d.ts.map +1 -1
- package/dist/tools/mutation/ResetTrustTool/ResetTrustTool.js +1 -1
- package/dist/tools/mutation/ResetTrustTool/ResetTrustTool.js.map +1 -1
- package/dist/tools/mutation/SetGoalTool/SetGoalTool.d.ts +2 -2
- package/dist/tools/mutation/SetGoalTool/SetGoalTool.d.ts.map +1 -1
- package/dist/tools/mutation/SetGoalTool/SetGoalTool.js +1 -1
- package/dist/tools/mutation/SetGoalTool/SetGoalTool.js.map +1 -1
- package/dist/tools/mutation/TaskCreateTool/TaskCreateTool.d.ts +8 -8
- package/dist/tools/mutation/TaskCreateTool/TaskCreateTool.d.ts.map +1 -1
- package/dist/tools/mutation/TaskCreateTool/TaskCreateTool.js +8 -5
- package/dist/tools/mutation/TaskCreateTool/TaskCreateTool.js.map +1 -1
- package/dist/tools/mutation/TaskOutputTool/TaskOutputTool.d.ts +2 -2
- package/dist/tools/mutation/TaskOutputTool/TaskOutputTool.d.ts.map +1 -1
- package/dist/tools/mutation/TaskOutputTool/TaskOutputTool.js +3 -3
- package/dist/tools/mutation/TaskOutputTool/TaskOutputTool.js.map +1 -1
- package/dist/tools/mutation/TaskStopTool/TaskStopTool.d.ts +2 -2
- package/dist/tools/mutation/TaskStopTool/TaskStopTool.d.ts.map +1 -1
- package/dist/tools/mutation/TaskStopTool/TaskStopTool.js +3 -3
- package/dist/tools/mutation/TaskStopTool/TaskStopTool.js.map +1 -1
- package/dist/tools/mutation/TaskUpdateTool/TaskUpdateTool.d.ts +10 -10
- package/dist/tools/mutation/TaskUpdateTool/TaskUpdateTool.d.ts.map +1 -1
- package/dist/tools/mutation/TaskUpdateTool/TaskUpdateTool.js +58 -13
- package/dist/tools/mutation/TaskUpdateTool/TaskUpdateTool.js.map +1 -1
- package/dist/tools/mutation/TogglePluginTool/TogglePluginTool.d.ts +2 -2
- package/dist/tools/mutation/TogglePluginTool/TogglePluginTool.d.ts.map +1 -1
- package/dist/tools/mutation/TogglePluginTool/TogglePluginTool.js +1 -1
- package/dist/tools/mutation/TogglePluginTool/TogglePluginTool.js.map +1 -1
- package/dist/tools/mutation/UpdateConfigTool/UpdateConfigTool.d.ts +2 -2
- package/dist/tools/mutation/UpdateConfigTool/UpdateConfigTool.d.ts.map +1 -1
- package/dist/tools/mutation/UpdateConfigTool/UpdateConfigTool.js +1 -1
- package/dist/tools/mutation/UpdateConfigTool/UpdateConfigTool.js.map +1 -1
- package/dist/tools/mutation/UpdateGoalTool/UpdateGoalTool.d.ts +2 -2
- package/dist/tools/mutation/UpdateGoalTool/UpdateGoalTool.d.ts.map +1 -1
- package/dist/tools/mutation/UpdateGoalTool/UpdateGoalTool.js +1 -1
- package/dist/tools/mutation/UpdateGoalTool/UpdateGoalTool.js.map +1 -1
- package/dist/tools/mutation/task-history-utils.d.ts.map +1 -1
- package/dist/tools/mutation/task-history-utils.js +4 -7
- package/dist/tools/mutation/task-history-utils.js.map +1 -1
- package/dist/tools/network/GitHubCliTool/GitHubCliTool.d.ts +10 -10
- package/dist/tools/network/GitHubCliTool/GitHubCliTool.d.ts.map +1 -1
- package/dist/tools/network/GitHubCliTool/GitHubCliTool.js +6 -5
- package/dist/tools/network/GitHubCliTool/GitHubCliTool.js.map +1 -1
- package/dist/tools/network/HttpFetchTool/HttpFetchTool.d.ts +2 -2
- package/dist/tools/network/HttpFetchTool/HttpFetchTool.d.ts.map +1 -1
- package/dist/tools/network/HttpFetchTool/HttpFetchTool.js +19 -7
- package/dist/tools/network/HttpFetchTool/HttpFetchTool.js.map +1 -1
- package/dist/tools/network/McpStdioTool/McpStdioTool.d.ts +14 -14
- package/dist/tools/network/McpStdioTool/McpStdioTool.js +1 -1
- package/dist/tools/network/McpStdioTool/McpStdioTool.js.map +1 -1
- package/dist/tools/network/WebSearchTool/WebSearchTool.d.ts +3 -3
- package/dist/tools/network/WebSearchTool/WebSearchTool.d.ts.map +1 -1
- package/dist/tools/network/WebSearchTool/WebSearchTool.js +2 -2
- package/dist/tools/network/WebSearchTool/WebSearchTool.js.map +1 -1
- package/dist/tools/permission-grant-evaluator.d.ts +22 -0
- package/dist/tools/permission-grant-evaluator.d.ts.map +1 -0
- package/dist/tools/permission-grant-evaluator.js +289 -0
- package/dist/tools/permission-grant-evaluator.js.map +1 -0
- package/dist/tools/permission.d.ts.map +1 -1
- package/dist/tools/permission.js +21 -1
- package/dist/tools/permission.js.map +1 -1
- package/dist/tools/query/ArchitectureTool/ArchitectureTool.d.ts +2 -2
- package/dist/tools/query/ArchitectureTool/ArchitectureTool.d.ts.map +1 -1
- package/dist/tools/query/ArchitectureTool/ArchitectureTool.js +1 -1
- package/dist/tools/query/ArchitectureTool/ArchitectureTool.js.map +1 -1
- package/dist/tools/query/CodeReadContextTool/CodeReadContextTool.d.ts +262 -12
- package/dist/tools/query/CodeReadContextTool/CodeReadContextTool.d.ts.map +1 -1
- package/dist/tools/query/CodeReadContextTool/CodeReadContextTool.js +31 -13
- package/dist/tools/query/CodeReadContextTool/CodeReadContextTool.js.map +1 -1
- package/dist/tools/query/CodeSearchRepairTool/CodeSearchRepairTool.d.ts +4 -4
- package/dist/tools/query/CodeSearchRepairTool/CodeSearchRepairTool.d.ts.map +1 -1
- package/dist/tools/query/CodeSearchRepairTool/CodeSearchRepairTool.js +3 -3
- package/dist/tools/query/CodeSearchRepairTool/CodeSearchRepairTool.js.map +1 -1
- package/dist/tools/query/CodeSearchTool/CodeSearchTool.d.ts +4 -4
- package/dist/tools/query/CodeSearchTool/CodeSearchTool.d.ts.map +1 -1
- package/dist/tools/query/CodeSearchTool/CodeSearchTool.js +12 -7
- package/dist/tools/query/CodeSearchTool/CodeSearchTool.js.map +1 -1
- package/dist/tools/query/ConfigTool/ConfigTool.d.ts +3 -3
- package/dist/tools/query/ConfigTool/ConfigTool.d.ts.map +1 -1
- package/dist/tools/query/ConfigTool/ConfigTool.js +17 -29
- package/dist/tools/query/ConfigTool/ConfigTool.js.map +1 -1
- package/dist/tools/query/ConfigTool/prompt.d.ts +1 -1
- package/dist/tools/query/ConfigTool/prompt.d.ts.map +1 -1
- package/dist/tools/query/ConfigTool/prompt.js +1 -1
- package/dist/tools/query/ConfigTool/prompt.js.map +1 -1
- package/dist/tools/query/GoalStateTool/GoalStateTool.d.ts +2 -2
- package/dist/tools/query/GoalStateTool/GoalStateTool.d.ts.map +1 -1
- package/dist/tools/query/GoalStateTool/GoalStateTool.js +1 -1
- package/dist/tools/query/GoalStateTool/GoalStateTool.js.map +1 -1
- package/dist/tools/query/KnowledgeQueryTool/KnowledgeQueryTool.d.ts +2 -2
- package/dist/tools/query/KnowledgeQueryTool/KnowledgeQueryTool.d.ts.map +1 -1
- package/dist/tools/query/KnowledgeQueryTool/KnowledgeQueryTool.js +1 -1
- package/dist/tools/query/KnowledgeQueryTool/KnowledgeQueryTool.js.map +1 -1
- package/dist/tools/query/MemoryRecallTool/MemoryRecallTool.d.ts +10 -10
- package/dist/tools/query/MemoryRecallTool/MemoryRecallTool.d.ts.map +1 -1
- package/dist/tools/query/MemoryRecallTool/MemoryRecallTool.js +1 -1
- package/dist/tools/query/MemoryRecallTool/MemoryRecallTool.js.map +1 -1
- package/dist/tools/query/PluginStateTool/PluginStateTool.d.ts +2 -2
- package/dist/tools/query/PluginStateTool/PluginStateTool.d.ts.map +1 -1
- package/dist/tools/query/PluginStateTool/PluginStateTool.js +11 -7
- package/dist/tools/query/PluginStateTool/PluginStateTool.js.map +1 -1
- package/dist/tools/query/ProgressHistoryTool/ProgressHistoryTool.d.ts +2 -2
- package/dist/tools/query/ProgressHistoryTool/ProgressHistoryTool.d.ts.map +1 -1
- package/dist/tools/query/ProgressHistoryTool/ProgressHistoryTool.js +1 -1
- package/dist/tools/query/ProgressHistoryTool/ProgressHistoryTool.js.map +1 -1
- package/dist/tools/query/SessionHistoryTool/SessionHistoryTool.d.ts +8 -3
- package/dist/tools/query/SessionHistoryTool/SessionHistoryTool.d.ts.map +1 -1
- package/dist/tools/query/SessionHistoryTool/SessionHistoryTool.js +29 -53
- package/dist/tools/query/SessionHistoryTool/SessionHistoryTool.js.map +1 -1
- package/dist/tools/query/SkillSearchTool/SkillSearchTool.d.ts +2 -2
- package/dist/tools/query/SkillSearchTool/SkillSearchTool.d.ts.map +1 -1
- package/dist/tools/query/SkillSearchTool/SkillSearchTool.js +1 -1
- package/dist/tools/query/SkillSearchTool/SkillSearchTool.js.map +1 -1
- package/dist/tools/query/SoilQueryTool/SoilQueryTool.d.ts +8 -8
- package/dist/tools/query/TaskGetTool/TaskGetTool.d.ts +2 -2
- package/dist/tools/query/TaskGetTool/TaskGetTool.d.ts.map +1 -1
- package/dist/tools/query/TaskGetTool/TaskGetTool.js +2 -9
- package/dist/tools/query/TaskGetTool/TaskGetTool.js.map +1 -1
- package/dist/tools/query/TaskListTool/TaskListTool.d.ts +2 -2
- package/dist/tools/query/TaskListTool/TaskListTool.d.ts.map +1 -1
- package/dist/tools/query/TaskListTool/TaskListTool.js +2 -22
- package/dist/tools/query/TaskListTool/TaskListTool.js.map +1 -1
- package/dist/tools/query/ToolSearchTool/ToolSearchTool.d.ts +2 -2
- package/dist/tools/query/ToolSearchTool/ToolSearchTool.d.ts.map +1 -1
- package/dist/tools/query/ToolSearchTool/ToolSearchTool.js +2 -1
- package/dist/tools/query/ToolSearchTool/ToolSearchTool.js.map +1 -1
- package/dist/tools/query/TrustStateTool/TrustStateTool.d.ts +6 -3
- package/dist/tools/query/TrustStateTool/TrustStateTool.d.ts.map +1 -1
- package/dist/tools/query/TrustStateTool/TrustStateTool.js +10 -5
- package/dist/tools/query/TrustStateTool/TrustStateTool.js.map +1 -1
- package/dist/tools/query/runtime-dream-review-tool.d.ts +2 -2
- package/dist/tools/query/runtime-dream-review-tool.d.ts.map +1 -1
- package/dist/tools/query/runtime-dream-review-tool.js +1 -1
- package/dist/tools/query/runtime-dream-review-tool.js.map +1 -1
- package/dist/tools/query/runtime-session-tool-schemas.d.ts +211 -0
- package/dist/tools/query/runtime-session-tool-schemas.d.ts.map +1 -0
- package/dist/tools/query/runtime-session-tool-schemas.js +83 -0
- package/dist/tools/query/runtime-session-tool-schemas.js.map +1 -0
- package/dist/tools/query/runtime-session-tools.d.ts +72 -280
- package/dist/tools/query/runtime-session-tools.d.ts.map +1 -1
- package/dist/tools/query/runtime-session-tools.js +87 -294
- package/dist/tools/query/runtime-session-tools.js.map +1 -1
- package/dist/tools/registry.d.ts +1 -1
- package/dist/tools/registry.d.ts.map +1 -1
- package/dist/tools/registry.js +4 -2
- package/dist/tools/registry.js.map +1 -1
- package/dist/tools/runtime/LongRunningRuntimeTools.d.ts +44 -554
- package/dist/tools/runtime/LongRunningRuntimeTools.d.ts.map +1 -1
- package/dist/tools/runtime/LongRunningRuntimeTools.js +29 -226
- package/dist/tools/runtime/LongRunningRuntimeTools.js.map +1 -1
- package/dist/tools/runtime/RunSpecHandoffTools.d.ts.map +1 -1
- package/dist/tools/runtime/RunSpecHandoffTools.js +13 -12
- package/dist/tools/runtime/RunSpecHandoffTools.js.map +1 -1
- package/dist/tools/runtime/SetupRuntimeControlTools.js +28 -16
- package/dist/tools/runtime/SetupRuntimeControlTools.js.map +1 -1
- package/dist/tools/runtime/long-running-report-render.d.ts +5 -0
- package/dist/tools/runtime/long-running-report-render.d.ts.map +1 -0
- package/dist/tools/runtime/long-running-report-render.js +53 -0
- package/dist/tools/runtime/long-running-report-render.js.map +1 -0
- package/dist/tools/runtime/long-running-runtime-paths.d.ts +8 -0
- package/dist/tools/runtime/long-running-runtime-paths.d.ts.map +1 -0
- package/dist/tools/runtime/long-running-runtime-paths.js +77 -0
- package/dist/tools/runtime/long-running-runtime-paths.js.map +1 -0
- package/dist/tools/runtime/long-running-runtime-schemas.d.ts +515 -0
- package/dist/tools/runtime/long-running-runtime-schemas.d.ts.map +1 -0
- package/dist/tools/runtime/long-running-runtime-schemas.js +92 -0
- package/dist/tools/runtime/long-running-runtime-schemas.js.map +1 -0
- package/dist/tools/schedule/CreateScheduleTool/CreateScheduleTool.d.ts +509 -145
- package/dist/tools/schedule/CreateScheduleTool/CreateScheduleTool.d.ts.map +1 -1
- package/dist/tools/schedule/CreateScheduleTool/CreateScheduleTool.js +14 -14
- package/dist/tools/schedule/CreateScheduleTool/CreateScheduleTool.js.map +1 -1
- package/dist/tools/schedule/GetScheduleTool/GetScheduleTool.d.ts +2 -2
- package/dist/tools/schedule/GetScheduleTool/GetScheduleTool.d.ts.map +1 -1
- package/dist/tools/schedule/GetScheduleTool/GetScheduleTool.js +1 -1
- package/dist/tools/schedule/GetScheduleTool/GetScheduleTool.js.map +1 -1
- package/dist/tools/schedule/ListSchedulesTool/ListSchedulesTool.d.ts +6 -6
- package/dist/tools/schedule/ListSchedulesTool/ListSchedulesTool.d.ts.map +1 -1
- package/dist/tools/schedule/ListSchedulesTool/ListSchedulesTool.js +1 -1
- package/dist/tools/schedule/ListSchedulesTool/ListSchedulesTool.js.map +1 -1
- package/dist/tools/schedule/PauseScheduleTool/PauseScheduleTool.d.ts +2 -2
- package/dist/tools/schedule/PauseScheduleTool/PauseScheduleTool.d.ts.map +1 -1
- package/dist/tools/schedule/PauseScheduleTool/PauseScheduleTool.js +1 -1
- package/dist/tools/schedule/PauseScheduleTool/PauseScheduleTool.js.map +1 -1
- package/dist/tools/schedule/RemoveScheduleTool/RemoveScheduleTool.d.ts +2 -2
- package/dist/tools/schedule/RemoveScheduleTool/RemoveScheduleTool.d.ts.map +1 -1
- package/dist/tools/schedule/RemoveScheduleTool/RemoveScheduleTool.js +1 -1
- package/dist/tools/schedule/RemoveScheduleTool/RemoveScheduleTool.js.map +1 -1
- package/dist/tools/schedule/ResumeScheduleTool/ResumeScheduleTool.d.ts +2 -2
- package/dist/tools/schedule/ResumeScheduleTool/ResumeScheduleTool.d.ts.map +1 -1
- package/dist/tools/schedule/ResumeScheduleTool/ResumeScheduleTool.js +1 -1
- package/dist/tools/schedule/ResumeScheduleTool/ResumeScheduleTool.js.map +1 -1
- package/dist/tools/schedule/RunScheduleTool/RunScheduleTool.d.ts +2 -2
- package/dist/tools/schedule/RunScheduleTool/RunScheduleTool.d.ts.map +1 -1
- package/dist/tools/schedule/RunScheduleTool/RunScheduleTool.js +1 -1
- package/dist/tools/schedule/RunScheduleTool/RunScheduleTool.js.map +1 -1
- package/dist/tools/schedule/UpdateScheduleTool/UpdateScheduleTool.d.ts +594 -106
- package/dist/tools/schedule/UpdateScheduleTool/UpdateScheduleTool.d.ts.map +1 -1
- package/dist/tools/schedule/UpdateScheduleTool/UpdateScheduleTool.js +8 -8
- package/dist/tools/schedule/UpdateScheduleTool/UpdateScheduleTool.js.map +1 -1
- package/dist/tools/schedule/schedule-tool-input-schemas.d.ts +611 -0
- package/dist/tools/schedule/schedule-tool-input-schemas.d.ts.map +1 -0
- package/dist/tools/schedule/schedule-tool-input-schemas.js +152 -0
- package/dist/tools/schedule/schedule-tool-input-schemas.js.map +1 -0
- package/dist/tools/shared/parse-tool-output.d.ts.map +1 -1
- package/dist/tools/shared/parse-tool-output.js +6 -3
- package/dist/tools/shared/parse-tool-output.js.map +1 -1
- package/dist/tools/system/EnvTool/EnvTool.d.ts +6 -6
- package/dist/tools/system/EnvTool/EnvTool.d.ts.map +1 -1
- package/dist/tools/system/EnvTool/EnvTool.js +1 -1
- package/dist/tools/system/EnvTool/EnvTool.js.map +1 -1
- package/dist/tools/system/GitDiffTool/GitDiffTool.d.ts +6 -6
- package/dist/tools/system/GitDiffTool/GitDiffTool.d.ts.map +1 -1
- package/dist/tools/system/GitDiffTool/GitDiffTool.js +1 -1
- package/dist/tools/system/GitDiffTool/GitDiffTool.js.map +1 -1
- package/dist/tools/system/GitLogTool/GitLogTool.d.ts +6 -6
- package/dist/tools/system/GitLogTool/GitLogTool.d.ts.map +1 -1
- package/dist/tools/system/GitLogTool/GitLogTool.js +4 -2
- package/dist/tools/system/GitLogTool/GitLogTool.js.map +1 -1
- package/dist/tools/system/ProcessSessionTool/ProcessSessionTool.d.ts +17 -14
- package/dist/tools/system/ProcessSessionTool/ProcessSessionTool.d.ts.map +1 -1
- package/dist/tools/system/ProcessSessionTool/ProcessSessionTool.js +43 -54
- package/dist/tools/system/ProcessSessionTool/ProcessSessionTool.js.map +1 -1
- package/dist/tools/system/ProcessStatusTool/ProcessStatusTool.d.ts +3 -3
- package/dist/tools/system/ProcessStatusTool/ProcessStatusTool.d.ts.map +1 -1
- package/dist/tools/system/ProcessStatusTool/ProcessStatusTool.js +43 -10
- package/dist/tools/system/ProcessStatusTool/ProcessStatusTool.js.map +1 -1
- package/dist/tools/system/ShellCommandTool/ShellCommandTool.d.ts +2 -2
- package/dist/tools/system/ShellCommandTool/ShellCommandTool.d.ts.map +1 -1
- package/dist/tools/system/ShellCommandTool/ShellCommandTool.js +4 -4
- package/dist/tools/system/ShellCommandTool/ShellCommandTool.js.map +1 -1
- package/dist/tools/system/ShellTool/ShellTool.d.ts +5 -2
- package/dist/tools/system/ShellTool/ShellTool.d.ts.map +1 -1
- package/dist/tools/system/ShellTool/ShellTool.js +11 -4
- package/dist/tools/system/ShellTool/ShellTool.js.map +1 -1
- package/dist/tools/system/ShellTool/command-policy.d.ts +1 -0
- package/dist/tools/system/ShellTool/command-policy.d.ts.map +1 -1
- package/dist/tools/system/ShellTool/command-policy.js +10 -0
- package/dist/tools/system/ShellTool/command-policy.js.map +1 -1
- package/dist/tools/system/ShellTool/prompt.d.ts +1 -1
- package/dist/tools/system/ShellTool/prompt.d.ts.map +1 -1
- package/dist/tools/system/ShellTool/prompt.js +1 -1
- package/dist/tools/system/ShellTool/prompt.js.map +1 -1
- package/dist/tools/system/SleepTool/SleepTool.d.ts +2 -2
- package/dist/tools/system/SleepTool/SleepTool.d.ts.map +1 -1
- package/dist/tools/system/SleepTool/SleepTool.js +1 -1
- package/dist/tools/system/SleepTool/SleepTool.js.map +1 -1
- package/dist/tools/system/TestRunnerTool/TestRunnerTool.d.ts +8 -6
- package/dist/tools/system/TestRunnerTool/TestRunnerTool.d.ts.map +1 -1
- package/dist/tools/system/TestRunnerTool/TestRunnerTool.js +59 -44
- package/dist/tools/system/TestRunnerTool/TestRunnerTool.js.map +1 -1
- package/dist/tools/system/UpdatePlanTool/UpdatePlanTool.d.ts +4 -4
- package/dist/tools/system/UpdatePlanTool/UpdatePlanTool.d.ts.map +1 -1
- package/dist/tools/system/UpdatePlanTool/UpdatePlanTool.js +6 -5
- package/dist/tools/system/UpdatePlanTool/UpdatePlanTool.js.map +1 -1
- package/dist/tools/tool-definition-adapter.d.ts.map +1 -1
- package/dist/tools/tool-definition-adapter.js +189 -20
- package/dist/tools/tool-definition-adapter.js.map +1 -1
- package/dist/tools/types.d.ts +100 -7
- package/dist/tools/types.d.ts.map +1 -1
- package/dist/tools/types.js +26 -8
- package/dist/tools/types.js.map +1 -1
- package/package.json +10 -3
- package/dist/base/state/state-lock.d.ts +0 -17
- package/dist/base/state/state-lock.d.ts.map +0 -1
- package/dist/base/state/state-lock.js +0 -134
- package/dist/base/state/state-lock.js.map +0 -1
- package/dist/base/state/state-manager-goal-state.d.ts +0 -40
- package/dist/base/state/state-manager-goal-state.d.ts.map +0 -1
- package/dist/base/state/state-manager-goal-state.js +0 -235
- package/dist/base/state/state-manager-goal-state.js.map +0 -1
- package/dist/base/state/state-manager-goal-write.d.ts +0 -26
- package/dist/base/state/state-manager-goal-write.d.ts.map +0 -1
- package/dist/base/state/state-manager-goal-write.js +0 -116
- package/dist/base/state/state-manager-goal-write.js.map +0 -1
- package/dist/base/state/state-manager-wal.d.ts +0 -11
- package/dist/base/state/state-manager-wal.d.ts.map +0 -1
- package/dist/base/state/state-manager-wal.js +0 -101
- package/dist/base/state/state-manager-wal.js.map +0 -1
- package/dist/base/state/state-wal.d.ts.map +0 -1
- package/dist/base/state/state-wal.js.map +0 -1
- package/dist/interface/chat/freeform-route-classifier.d.ts +0 -21
- package/dist/interface/chat/freeform-route-classifier.d.ts.map +0 -1
- package/dist/interface/chat/freeform-route-classifier.js +0 -43
- package/dist/interface/chat/freeform-route-classifier.js.map +0 -1
- package/dist/orchestrator/ethics-gate.d.ts +0 -3
- package/dist/orchestrator/ethics-gate.d.ts.map +0 -1
- package/dist/orchestrator/ethics-gate.js +0 -2
- package/dist/orchestrator/ethics-gate.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/capability.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop/capability.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/capability.js +0 -2
- package/dist/orchestrator/loop/core-loop/capability.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/contracts.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop/contracts.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/contracts.js +0 -2
- package/dist/orchestrator/loop/core-loop/contracts.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/control.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop/control.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/control.js +0 -2
- package/dist/orchestrator/loop/core-loop/control.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/decision-engine.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop/decision-engine.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/decision-engine.js +0 -2
- package/dist/orchestrator/loop/core-loop/decision-engine.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/dream-review-checkpoint.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop/dream-review-checkpoint.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/dream-review-checkpoint.js +0 -2
- package/dist/orchestrator/loop/core-loop/dream-review-checkpoint.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/evidence-ledger.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop/evidence-ledger.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/evidence-ledger.js +0 -2
- package/dist/orchestrator/loop/core-loop/evidence-ledger.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/iteration-kernel-knowledge.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop/iteration-kernel-knowledge.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/iteration-kernel-knowledge.js +0 -2
- package/dist/orchestrator/loop/core-loop/iteration-kernel-knowledge.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/iteration-kernel-wait.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop/iteration-kernel-wait.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/iteration-kernel-wait.js +0 -2
- package/dist/orchestrator/loop/core-loop/iteration-kernel-wait.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/iteration-kernel.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop/iteration-kernel.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/iteration-kernel.js +0 -2
- package/dist/orchestrator/loop/core-loop/iteration-kernel.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/learning.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop/learning.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/learning.js +0 -2
- package/dist/orchestrator/loop/core-loop/learning.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/phase-policy.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop/phase-policy.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/phase-policy.js +0 -2
- package/dist/orchestrator/loop/core-loop/phase-policy.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/phase-runtime.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop/phase-runtime.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/phase-runtime.js +0 -2
- package/dist/orchestrator/loop/core-loop/phase-runtime.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/phase-specs.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop/phase-specs.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/phase-specs.js +0 -2
- package/dist/orchestrator/loop/core-loop/phase-specs.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/preparation.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop/preparation.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/preparation.js +0 -2
- package/dist/orchestrator/loop/core-loop/preparation.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/public-research.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop/public-research.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/public-research.js +0 -2
- package/dist/orchestrator/loop/core-loop/public-research.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/task-cycle-stall.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop/task-cycle-stall.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/task-cycle-stall.js +0 -2
- package/dist/orchestrator/loop/core-loop/task-cycle-stall.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/task-cycle-wait.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop/task-cycle-wait.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/task-cycle-wait.js +0 -2
- package/dist/orchestrator/loop/core-loop/task-cycle-wait.js.map +0 -1
- package/dist/orchestrator/loop/core-loop/task-cycle.d.ts +0 -2
- package/dist/orchestrator/loop/core-loop/task-cycle.d.ts.map +0 -1
- package/dist/orchestrator/loop/core-loop/task-cycle.js +0 -2
- package/dist/orchestrator/loop/core-loop/task-cycle.js.map +0 -1
- package/dist/platform/dream/dream-log-store.d.ts +0 -22
- package/dist/platform/dream/dream-log-store.d.ts.map +0 -1
- package/dist/platform/dream/dream-log-store.js +0 -150
- package/dist/platform/dream/dream-log-store.js.map +0 -1
- package/dist/platform/ethics-gate.d.ts +0 -2
- package/dist/platform/ethics-gate.d.ts.map +0 -1
- package/dist/platform/ethics-gate.js +0 -2
- package/dist/platform/ethics-gate.js.map +0 -1
|
@@ -174,9 +174,9 @@ export declare const RuntimeSafePauseRecordSchema: z.ZodObject<{
|
|
|
174
174
|
completed_at?: string | undefined;
|
|
175
175
|
reason?: string | undefined;
|
|
176
176
|
requested_at?: string | undefined;
|
|
177
|
+
requested_by?: string | undefined;
|
|
177
178
|
paused_at?: string | undefined;
|
|
178
179
|
resumed_at?: string | undefined;
|
|
179
|
-
requested_by?: string | undefined;
|
|
180
180
|
checkpoint?: {
|
|
181
181
|
artifact_refs: string[];
|
|
182
182
|
checkpoint_id: string;
|
|
@@ -198,9 +198,9 @@ export declare const RuntimeSafePauseRecordSchema: z.ZodObject<{
|
|
|
198
198
|
completed_at?: string | undefined;
|
|
199
199
|
reason?: string | undefined;
|
|
200
200
|
requested_at?: string | undefined;
|
|
201
|
+
requested_by?: string | undefined;
|
|
201
202
|
paused_at?: string | undefined;
|
|
202
203
|
resumed_at?: string | undefined;
|
|
203
|
-
requested_by?: string | undefined;
|
|
204
204
|
checkpoint?: {
|
|
205
205
|
artifact_refs: string[];
|
|
206
206
|
checkpoint_id: string;
|
|
@@ -252,19 +252,19 @@ export declare const ApprovalOriginSchema: z.ZodObject<{
|
|
|
252
252
|
turn_id: z.ZodOptional<z.ZodString>;
|
|
253
253
|
reply_target: z.ZodOptional<z.ZodUnknown>;
|
|
254
254
|
}, "strip", z.ZodTypeAny, {
|
|
255
|
-
channel: string;
|
|
256
255
|
conversation_id: string;
|
|
256
|
+
channel: string;
|
|
257
257
|
session_id?: string | undefined;
|
|
258
258
|
user_id?: string | undefined;
|
|
259
|
-
turn_id?: string | undefined;
|
|
260
259
|
reply_target?: unknown;
|
|
260
|
+
turn_id?: string | undefined;
|
|
261
261
|
}, {
|
|
262
|
-
channel: string;
|
|
263
262
|
conversation_id: string;
|
|
263
|
+
channel: string;
|
|
264
264
|
session_id?: string | undefined;
|
|
265
265
|
user_id?: string | undefined;
|
|
266
|
-
turn_id?: string | undefined;
|
|
267
266
|
reply_target?: unknown;
|
|
267
|
+
turn_id?: string | undefined;
|
|
268
268
|
}>;
|
|
269
269
|
export type ApprovalOrigin = z.infer<typeof ApprovalOriginSchema>;
|
|
270
270
|
export declare const ApprovalRecordSchema: z.ZodObject<{
|
|
@@ -285,59 +285,59 @@ export declare const ApprovalRecordSchema: z.ZodObject<{
|
|
|
285
285
|
turn_id: z.ZodOptional<z.ZodString>;
|
|
286
286
|
reply_target: z.ZodOptional<z.ZodUnknown>;
|
|
287
287
|
}, "strip", z.ZodTypeAny, {
|
|
288
|
-
channel: string;
|
|
289
288
|
conversation_id: string;
|
|
289
|
+
channel: string;
|
|
290
290
|
session_id?: string | undefined;
|
|
291
291
|
user_id?: string | undefined;
|
|
292
|
-
turn_id?: string | undefined;
|
|
293
292
|
reply_target?: unknown;
|
|
293
|
+
turn_id?: string | undefined;
|
|
294
294
|
}, {
|
|
295
|
-
channel: string;
|
|
296
295
|
conversation_id: string;
|
|
296
|
+
channel: string;
|
|
297
297
|
session_id?: string | undefined;
|
|
298
298
|
user_id?: string | undefined;
|
|
299
|
-
turn_id?: string | undefined;
|
|
300
299
|
reply_target?: unknown;
|
|
300
|
+
turn_id?: string | undefined;
|
|
301
301
|
}>>;
|
|
302
302
|
payload: z.ZodUnknown;
|
|
303
303
|
}, "strip", z.ZodTypeAny, {
|
|
304
304
|
created_at: number;
|
|
305
305
|
state: "pending" | "cancelled" | "expired" | "approved" | "denied";
|
|
306
|
-
|
|
306
|
+
expires_at: number;
|
|
307
307
|
approval_id: string;
|
|
308
|
+
correlation_id: string;
|
|
308
309
|
request_envelope_id: string;
|
|
309
|
-
expires_at: number;
|
|
310
310
|
origin?: {
|
|
311
|
-
channel: string;
|
|
312
311
|
conversation_id: string;
|
|
312
|
+
channel: string;
|
|
313
313
|
session_id?: string | undefined;
|
|
314
314
|
user_id?: string | undefined;
|
|
315
|
-
turn_id?: string | undefined;
|
|
316
315
|
reply_target?: unknown;
|
|
316
|
+
turn_id?: string | undefined;
|
|
317
317
|
} | undefined;
|
|
318
318
|
goal_id?: string | undefined;
|
|
319
|
+
response_channel?: string | undefined;
|
|
319
320
|
payload?: unknown;
|
|
320
321
|
resolved_at?: number | undefined;
|
|
321
|
-
response_channel?: string | undefined;
|
|
322
322
|
}, {
|
|
323
323
|
created_at: number;
|
|
324
324
|
state: "pending" | "cancelled" | "expired" | "approved" | "denied";
|
|
325
|
-
|
|
325
|
+
expires_at: number;
|
|
326
326
|
approval_id: string;
|
|
327
|
+
correlation_id: string;
|
|
327
328
|
request_envelope_id: string;
|
|
328
|
-
expires_at: number;
|
|
329
329
|
origin?: {
|
|
330
|
-
channel: string;
|
|
331
330
|
conversation_id: string;
|
|
331
|
+
channel: string;
|
|
332
332
|
session_id?: string | undefined;
|
|
333
333
|
user_id?: string | undefined;
|
|
334
|
-
turn_id?: string | undefined;
|
|
335
334
|
reply_target?: unknown;
|
|
335
|
+
turn_id?: string | undefined;
|
|
336
336
|
} | undefined;
|
|
337
337
|
goal_id?: string | undefined;
|
|
338
|
+
response_channel?: string | undefined;
|
|
338
339
|
payload?: unknown;
|
|
339
340
|
resolved_at?: number | undefined;
|
|
340
|
-
response_channel?: string | undefined;
|
|
341
341
|
}>;
|
|
342
342
|
export type ApprovalRecord = z.infer<typeof ApprovalRecordSchema>;
|
|
343
343
|
export declare const OutboxRecordSchema: z.ZodObject<{
|
|
@@ -349,15 +349,15 @@ export declare const OutboxRecordSchema: z.ZodObject<{
|
|
|
349
349
|
payload: z.ZodUnknown;
|
|
350
350
|
}, "strip", z.ZodTypeAny, {
|
|
351
351
|
created_at: number;
|
|
352
|
-
seq: number;
|
|
353
352
|
event_type: string;
|
|
353
|
+
seq: number;
|
|
354
354
|
goal_id?: string | undefined;
|
|
355
355
|
correlation_id?: string | undefined;
|
|
356
356
|
payload?: unknown;
|
|
357
357
|
}, {
|
|
358
358
|
created_at: number;
|
|
359
|
-
seq: number;
|
|
360
359
|
event_type: string;
|
|
360
|
+
seq: number;
|
|
361
361
|
goal_id?: string | undefined;
|
|
362
362
|
correlation_id?: string | undefined;
|
|
363
363
|
payload?: unknown;
|
|
@@ -375,7 +375,48 @@ export declare const RuntimeLongRunMetricProgressStatusSchema: z.ZodEnum<["impro
|
|
|
375
375
|
export type RuntimeLongRunMetricProgressStatus = z.infer<typeof RuntimeLongRunMetricProgressStatusSchema>;
|
|
376
376
|
export declare const RuntimeLongRunBlockerStatusSchema: z.ZodEnum<["none", "approval_wait", "auth_wait", "operator_wait", "resource_pressure", "blocked", "unknown"]>;
|
|
377
377
|
export type RuntimeLongRunBlockerStatus = z.infer<typeof RuntimeLongRunBlockerStatusSchema>;
|
|
378
|
-
export declare const
|
|
378
|
+
export declare const RuntimeArtifactExpectationSchema: z.ZodDiscriminatedUnion<"state", [z.ZodObject<{
|
|
379
|
+
state: z.ZodLiteral<"none">;
|
|
380
|
+
reason: z.ZodEnum<["no_active_goal", "idle_no_worker"]>;
|
|
381
|
+
}, "strip", z.ZodTypeAny, {
|
|
382
|
+
reason: "no_active_goal" | "idle_no_worker";
|
|
383
|
+
state: "none";
|
|
384
|
+
}, {
|
|
385
|
+
reason: "no_active_goal" | "idle_no_worker";
|
|
386
|
+
state: "none";
|
|
387
|
+
}>, z.ZodObject<{
|
|
388
|
+
state: z.ZodLiteral<"expected">;
|
|
389
|
+
reason: z.ZodEnum<["active_goal", "active_worker", "recent_artifact_contract"]>;
|
|
390
|
+
}, "strip", z.ZodTypeAny, {
|
|
391
|
+
reason: "active_goal" | "active_worker" | "recent_artifact_contract";
|
|
392
|
+
state: "expected";
|
|
393
|
+
}, {
|
|
394
|
+
reason: "active_goal" | "active_worker" | "recent_artifact_contract";
|
|
395
|
+
state: "expected";
|
|
396
|
+
}>, z.ZodObject<{
|
|
397
|
+
state: z.ZodLiteral<"recently_expected">;
|
|
398
|
+
reason: z.ZodLiteral<"recent_goal_or_worker">;
|
|
399
|
+
stale_after_ms: z.ZodNumber;
|
|
400
|
+
}, "strip", z.ZodTypeAny, {
|
|
401
|
+
reason: "recent_goal_or_worker";
|
|
402
|
+
state: "recently_expected";
|
|
403
|
+
stale_after_ms: number;
|
|
404
|
+
}, {
|
|
405
|
+
reason: "recent_goal_or_worker";
|
|
406
|
+
state: "recently_expected";
|
|
407
|
+
stale_after_ms: number;
|
|
408
|
+
}>, z.ZodObject<{
|
|
409
|
+
state: z.ZodLiteral<"unknown">;
|
|
410
|
+
reason: z.ZodString;
|
|
411
|
+
}, "strip", z.ZodTypeAny, {
|
|
412
|
+
reason: string;
|
|
413
|
+
state: "unknown";
|
|
414
|
+
}, {
|
|
415
|
+
reason: string;
|
|
416
|
+
state: "unknown";
|
|
417
|
+
}>]>;
|
|
418
|
+
export type RuntimeArtifactExpectation = z.infer<typeof RuntimeArtifactExpectationSchema>;
|
|
419
|
+
export declare const RuntimeLongRunHealthSummarySchema: z.ZodEnum<["alive_and_progressing", "alive_idle_no_artifact_stream", "alive_but_metric_stalled", "alive_but_artifact_stalled", "alive_but_waiting", "alive_but_stalled", "dead_but_resumable", "dead_needs_intervention", "unknown"]>;
|
|
379
420
|
export type RuntimeLongRunHealthSummary = z.infer<typeof RuntimeLongRunHealthSummarySchema>;
|
|
380
421
|
export declare const RuntimeLongRunHealthSignalsSchema: z.ZodObject<{
|
|
381
422
|
process: z.ZodObject<{
|
|
@@ -513,18 +554,70 @@ export declare const RuntimeLongRunHealthSignalsSchema: z.ZodObject<{
|
|
|
513
554
|
reason: z.ZodOptional<z.ZodString>;
|
|
514
555
|
} & {
|
|
515
556
|
status: z.ZodEnum<["none", "approval_wait", "auth_wait", "operator_wait", "resource_pressure", "blocked", "unknown"]>;
|
|
557
|
+
active_goal_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
558
|
+
pending_approval_count: z.ZodOptional<z.ZodNumber>;
|
|
559
|
+
goal_scoped_pending_approval_count: z.ZodOptional<z.ZodNumber>;
|
|
560
|
+
unrelated_pending_approval_count: z.ZodOptional<z.ZodNumber>;
|
|
516
561
|
}, "strip", z.ZodTypeAny, {
|
|
517
562
|
status: "unknown" | "blocked" | "none" | "approval_wait" | "auth_wait" | "operator_wait" | "resource_pressure";
|
|
518
563
|
checked_at: number;
|
|
519
564
|
reason?: string | undefined;
|
|
520
565
|
observed_at?: number | undefined;
|
|
566
|
+
active_goal_ids?: string[] | undefined;
|
|
567
|
+
pending_approval_count?: number | undefined;
|
|
568
|
+
goal_scoped_pending_approval_count?: number | undefined;
|
|
569
|
+
unrelated_pending_approval_count?: number | undefined;
|
|
521
570
|
}, {
|
|
522
571
|
status: "unknown" | "blocked" | "none" | "approval_wait" | "auth_wait" | "operator_wait" | "resource_pressure";
|
|
523
572
|
checked_at: number;
|
|
524
573
|
reason?: string | undefined;
|
|
525
574
|
observed_at?: number | undefined;
|
|
575
|
+
active_goal_ids?: string[] | undefined;
|
|
576
|
+
pending_approval_count?: number | undefined;
|
|
577
|
+
goal_scoped_pending_approval_count?: number | undefined;
|
|
578
|
+
unrelated_pending_approval_count?: number | undefined;
|
|
526
579
|
}>;
|
|
527
580
|
expected_next_checkpoint_at: z.ZodOptional<z.ZodNumber>;
|
|
581
|
+
artifact_expectation: z.ZodOptional<z.ZodDiscriminatedUnion<"state", [z.ZodObject<{
|
|
582
|
+
state: z.ZodLiteral<"none">;
|
|
583
|
+
reason: z.ZodEnum<["no_active_goal", "idle_no_worker"]>;
|
|
584
|
+
}, "strip", z.ZodTypeAny, {
|
|
585
|
+
reason: "no_active_goal" | "idle_no_worker";
|
|
586
|
+
state: "none";
|
|
587
|
+
}, {
|
|
588
|
+
reason: "no_active_goal" | "idle_no_worker";
|
|
589
|
+
state: "none";
|
|
590
|
+
}>, z.ZodObject<{
|
|
591
|
+
state: z.ZodLiteral<"expected">;
|
|
592
|
+
reason: z.ZodEnum<["active_goal", "active_worker", "recent_artifact_contract"]>;
|
|
593
|
+
}, "strip", z.ZodTypeAny, {
|
|
594
|
+
reason: "active_goal" | "active_worker" | "recent_artifact_contract";
|
|
595
|
+
state: "expected";
|
|
596
|
+
}, {
|
|
597
|
+
reason: "active_goal" | "active_worker" | "recent_artifact_contract";
|
|
598
|
+
state: "expected";
|
|
599
|
+
}>, z.ZodObject<{
|
|
600
|
+
state: z.ZodLiteral<"recently_expected">;
|
|
601
|
+
reason: z.ZodLiteral<"recent_goal_or_worker">;
|
|
602
|
+
stale_after_ms: z.ZodNumber;
|
|
603
|
+
}, "strip", z.ZodTypeAny, {
|
|
604
|
+
reason: "recent_goal_or_worker";
|
|
605
|
+
state: "recently_expected";
|
|
606
|
+
stale_after_ms: number;
|
|
607
|
+
}, {
|
|
608
|
+
reason: "recent_goal_or_worker";
|
|
609
|
+
state: "recently_expected";
|
|
610
|
+
stale_after_ms: number;
|
|
611
|
+
}>, z.ZodObject<{
|
|
612
|
+
state: z.ZodLiteral<"unknown">;
|
|
613
|
+
reason: z.ZodString;
|
|
614
|
+
}, "strip", z.ZodTypeAny, {
|
|
615
|
+
reason: string;
|
|
616
|
+
state: "unknown";
|
|
617
|
+
}, {
|
|
618
|
+
reason: string;
|
|
619
|
+
state: "unknown";
|
|
620
|
+
}>]>>;
|
|
528
621
|
resumable: z.ZodOptional<z.ZodBoolean>;
|
|
529
622
|
}, "strip", z.ZodTypeAny, {
|
|
530
623
|
process: {
|
|
@@ -577,9 +670,27 @@ export declare const RuntimeLongRunHealthSignalsSchema: z.ZodObject<{
|
|
|
577
670
|
checked_at: number;
|
|
578
671
|
reason?: string | undefined;
|
|
579
672
|
observed_at?: number | undefined;
|
|
673
|
+
active_goal_ids?: string[] | undefined;
|
|
674
|
+
pending_approval_count?: number | undefined;
|
|
675
|
+
goal_scoped_pending_approval_count?: number | undefined;
|
|
676
|
+
unrelated_pending_approval_count?: number | undefined;
|
|
580
677
|
};
|
|
581
|
-
expected_next_checkpoint_at?: number | undefined;
|
|
582
678
|
resumable?: boolean | undefined;
|
|
679
|
+
expected_next_checkpoint_at?: number | undefined;
|
|
680
|
+
artifact_expectation?: {
|
|
681
|
+
reason: "no_active_goal" | "idle_no_worker";
|
|
682
|
+
state: "none";
|
|
683
|
+
} | {
|
|
684
|
+
reason: "active_goal" | "active_worker" | "recent_artifact_contract";
|
|
685
|
+
state: "expected";
|
|
686
|
+
} | {
|
|
687
|
+
reason: "recent_goal_or_worker";
|
|
688
|
+
state: "recently_expected";
|
|
689
|
+
stale_after_ms: number;
|
|
690
|
+
} | {
|
|
691
|
+
reason: string;
|
|
692
|
+
state: "unknown";
|
|
693
|
+
} | undefined;
|
|
583
694
|
}, {
|
|
584
695
|
process: {
|
|
585
696
|
status: "unknown" | "alive" | "dead";
|
|
@@ -631,13 +742,31 @@ export declare const RuntimeLongRunHealthSignalsSchema: z.ZodObject<{
|
|
|
631
742
|
checked_at: number;
|
|
632
743
|
reason?: string | undefined;
|
|
633
744
|
observed_at?: number | undefined;
|
|
745
|
+
active_goal_ids?: string[] | undefined;
|
|
746
|
+
pending_approval_count?: number | undefined;
|
|
747
|
+
goal_scoped_pending_approval_count?: number | undefined;
|
|
748
|
+
unrelated_pending_approval_count?: number | undefined;
|
|
634
749
|
};
|
|
635
|
-
expected_next_checkpoint_at?: number | undefined;
|
|
636
750
|
resumable?: boolean | undefined;
|
|
751
|
+
expected_next_checkpoint_at?: number | undefined;
|
|
752
|
+
artifact_expectation?: {
|
|
753
|
+
reason: "no_active_goal" | "idle_no_worker";
|
|
754
|
+
state: "none";
|
|
755
|
+
} | {
|
|
756
|
+
reason: "active_goal" | "active_worker" | "recent_artifact_contract";
|
|
757
|
+
state: "expected";
|
|
758
|
+
} | {
|
|
759
|
+
reason: "recent_goal_or_worker";
|
|
760
|
+
state: "recently_expected";
|
|
761
|
+
stale_after_ms: number;
|
|
762
|
+
} | {
|
|
763
|
+
reason: string;
|
|
764
|
+
state: "unknown";
|
|
765
|
+
} | undefined;
|
|
637
766
|
}>;
|
|
638
767
|
export type RuntimeLongRunHealthSignals = z.infer<typeof RuntimeLongRunHealthSignalsSchema>;
|
|
639
768
|
export declare const RuntimeLongRunHealthSchema: z.ZodObject<{
|
|
640
|
-
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"]>;
|
|
769
|
+
summary: z.ZodEnum<["alive_and_progressing", "alive_idle_no_artifact_stream", "alive_but_metric_stalled", "alive_but_artifact_stalled", "alive_but_waiting", "alive_but_stalled", "dead_but_resumable", "dead_needs_intervention", "unknown"]>;
|
|
641
770
|
checked_at: z.ZodNumber;
|
|
642
771
|
signals: z.ZodObject<{
|
|
643
772
|
process: z.ZodObject<{
|
|
@@ -775,18 +904,70 @@ export declare const RuntimeLongRunHealthSchema: z.ZodObject<{
|
|
|
775
904
|
reason: z.ZodOptional<z.ZodString>;
|
|
776
905
|
} & {
|
|
777
906
|
status: z.ZodEnum<["none", "approval_wait", "auth_wait", "operator_wait", "resource_pressure", "blocked", "unknown"]>;
|
|
907
|
+
active_goal_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
908
|
+
pending_approval_count: z.ZodOptional<z.ZodNumber>;
|
|
909
|
+
goal_scoped_pending_approval_count: z.ZodOptional<z.ZodNumber>;
|
|
910
|
+
unrelated_pending_approval_count: z.ZodOptional<z.ZodNumber>;
|
|
778
911
|
}, "strip", z.ZodTypeAny, {
|
|
779
912
|
status: "unknown" | "blocked" | "none" | "approval_wait" | "auth_wait" | "operator_wait" | "resource_pressure";
|
|
780
913
|
checked_at: number;
|
|
781
914
|
reason?: string | undefined;
|
|
782
915
|
observed_at?: number | undefined;
|
|
916
|
+
active_goal_ids?: string[] | undefined;
|
|
917
|
+
pending_approval_count?: number | undefined;
|
|
918
|
+
goal_scoped_pending_approval_count?: number | undefined;
|
|
919
|
+
unrelated_pending_approval_count?: number | undefined;
|
|
783
920
|
}, {
|
|
784
921
|
status: "unknown" | "blocked" | "none" | "approval_wait" | "auth_wait" | "operator_wait" | "resource_pressure";
|
|
785
922
|
checked_at: number;
|
|
786
923
|
reason?: string | undefined;
|
|
787
924
|
observed_at?: number | undefined;
|
|
925
|
+
active_goal_ids?: string[] | undefined;
|
|
926
|
+
pending_approval_count?: number | undefined;
|
|
927
|
+
goal_scoped_pending_approval_count?: number | undefined;
|
|
928
|
+
unrelated_pending_approval_count?: number | undefined;
|
|
788
929
|
}>;
|
|
789
930
|
expected_next_checkpoint_at: z.ZodOptional<z.ZodNumber>;
|
|
931
|
+
artifact_expectation: z.ZodOptional<z.ZodDiscriminatedUnion<"state", [z.ZodObject<{
|
|
932
|
+
state: z.ZodLiteral<"none">;
|
|
933
|
+
reason: z.ZodEnum<["no_active_goal", "idle_no_worker"]>;
|
|
934
|
+
}, "strip", z.ZodTypeAny, {
|
|
935
|
+
reason: "no_active_goal" | "idle_no_worker";
|
|
936
|
+
state: "none";
|
|
937
|
+
}, {
|
|
938
|
+
reason: "no_active_goal" | "idle_no_worker";
|
|
939
|
+
state: "none";
|
|
940
|
+
}>, z.ZodObject<{
|
|
941
|
+
state: z.ZodLiteral<"expected">;
|
|
942
|
+
reason: z.ZodEnum<["active_goal", "active_worker", "recent_artifact_contract"]>;
|
|
943
|
+
}, "strip", z.ZodTypeAny, {
|
|
944
|
+
reason: "active_goal" | "active_worker" | "recent_artifact_contract";
|
|
945
|
+
state: "expected";
|
|
946
|
+
}, {
|
|
947
|
+
reason: "active_goal" | "active_worker" | "recent_artifact_contract";
|
|
948
|
+
state: "expected";
|
|
949
|
+
}>, z.ZodObject<{
|
|
950
|
+
state: z.ZodLiteral<"recently_expected">;
|
|
951
|
+
reason: z.ZodLiteral<"recent_goal_or_worker">;
|
|
952
|
+
stale_after_ms: z.ZodNumber;
|
|
953
|
+
}, "strip", z.ZodTypeAny, {
|
|
954
|
+
reason: "recent_goal_or_worker";
|
|
955
|
+
state: "recently_expected";
|
|
956
|
+
stale_after_ms: number;
|
|
957
|
+
}, {
|
|
958
|
+
reason: "recent_goal_or_worker";
|
|
959
|
+
state: "recently_expected";
|
|
960
|
+
stale_after_ms: number;
|
|
961
|
+
}>, z.ZodObject<{
|
|
962
|
+
state: z.ZodLiteral<"unknown">;
|
|
963
|
+
reason: z.ZodString;
|
|
964
|
+
}, "strip", z.ZodTypeAny, {
|
|
965
|
+
reason: string;
|
|
966
|
+
state: "unknown";
|
|
967
|
+
}, {
|
|
968
|
+
reason: string;
|
|
969
|
+
state: "unknown";
|
|
970
|
+
}>]>>;
|
|
790
971
|
resumable: z.ZodOptional<z.ZodBoolean>;
|
|
791
972
|
}, "strip", z.ZodTypeAny, {
|
|
792
973
|
process: {
|
|
@@ -839,9 +1020,27 @@ export declare const RuntimeLongRunHealthSchema: z.ZodObject<{
|
|
|
839
1020
|
checked_at: number;
|
|
840
1021
|
reason?: string | undefined;
|
|
841
1022
|
observed_at?: number | undefined;
|
|
1023
|
+
active_goal_ids?: string[] | undefined;
|
|
1024
|
+
pending_approval_count?: number | undefined;
|
|
1025
|
+
goal_scoped_pending_approval_count?: number | undefined;
|
|
1026
|
+
unrelated_pending_approval_count?: number | undefined;
|
|
842
1027
|
};
|
|
843
|
-
expected_next_checkpoint_at?: number | undefined;
|
|
844
1028
|
resumable?: boolean | undefined;
|
|
1029
|
+
expected_next_checkpoint_at?: number | undefined;
|
|
1030
|
+
artifact_expectation?: {
|
|
1031
|
+
reason: "no_active_goal" | "idle_no_worker";
|
|
1032
|
+
state: "none";
|
|
1033
|
+
} | {
|
|
1034
|
+
reason: "active_goal" | "active_worker" | "recent_artifact_contract";
|
|
1035
|
+
state: "expected";
|
|
1036
|
+
} | {
|
|
1037
|
+
reason: "recent_goal_or_worker";
|
|
1038
|
+
state: "recently_expected";
|
|
1039
|
+
stale_after_ms: number;
|
|
1040
|
+
} | {
|
|
1041
|
+
reason: string;
|
|
1042
|
+
state: "unknown";
|
|
1043
|
+
} | undefined;
|
|
845
1044
|
}, {
|
|
846
1045
|
process: {
|
|
847
1046
|
status: "unknown" | "alive" | "dead";
|
|
@@ -893,12 +1092,30 @@ export declare const RuntimeLongRunHealthSchema: z.ZodObject<{
|
|
|
893
1092
|
checked_at: number;
|
|
894
1093
|
reason?: string | undefined;
|
|
895
1094
|
observed_at?: number | undefined;
|
|
1095
|
+
active_goal_ids?: string[] | undefined;
|
|
1096
|
+
pending_approval_count?: number | undefined;
|
|
1097
|
+
goal_scoped_pending_approval_count?: number | undefined;
|
|
1098
|
+
unrelated_pending_approval_count?: number | undefined;
|
|
896
1099
|
};
|
|
897
|
-
expected_next_checkpoint_at?: number | undefined;
|
|
898
1100
|
resumable?: boolean | undefined;
|
|
1101
|
+
expected_next_checkpoint_at?: number | undefined;
|
|
1102
|
+
artifact_expectation?: {
|
|
1103
|
+
reason: "no_active_goal" | "idle_no_worker";
|
|
1104
|
+
state: "none";
|
|
1105
|
+
} | {
|
|
1106
|
+
reason: "active_goal" | "active_worker" | "recent_artifact_contract";
|
|
1107
|
+
state: "expected";
|
|
1108
|
+
} | {
|
|
1109
|
+
reason: "recent_goal_or_worker";
|
|
1110
|
+
state: "recently_expected";
|
|
1111
|
+
stale_after_ms: number;
|
|
1112
|
+
} | {
|
|
1113
|
+
reason: string;
|
|
1114
|
+
state: "unknown";
|
|
1115
|
+
} | undefined;
|
|
899
1116
|
}>;
|
|
900
1117
|
}, "strip", z.ZodTypeAny, {
|
|
901
|
-
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";
|
|
1118
|
+
summary: "unknown" | "alive_and_progressing" | "alive_idle_no_artifact_stream" | "alive_but_metric_stalled" | "alive_but_artifact_stalled" | "alive_but_waiting" | "alive_but_stalled" | "dead_but_resumable" | "dead_needs_intervention";
|
|
902
1119
|
checked_at: number;
|
|
903
1120
|
signals: {
|
|
904
1121
|
process: {
|
|
@@ -951,12 +1168,30 @@ export declare const RuntimeLongRunHealthSchema: z.ZodObject<{
|
|
|
951
1168
|
checked_at: number;
|
|
952
1169
|
reason?: string | undefined;
|
|
953
1170
|
observed_at?: number | undefined;
|
|
1171
|
+
active_goal_ids?: string[] | undefined;
|
|
1172
|
+
pending_approval_count?: number | undefined;
|
|
1173
|
+
goal_scoped_pending_approval_count?: number | undefined;
|
|
1174
|
+
unrelated_pending_approval_count?: number | undefined;
|
|
954
1175
|
};
|
|
955
|
-
expected_next_checkpoint_at?: number | undefined;
|
|
956
1176
|
resumable?: boolean | undefined;
|
|
1177
|
+
expected_next_checkpoint_at?: number | undefined;
|
|
1178
|
+
artifact_expectation?: {
|
|
1179
|
+
reason: "no_active_goal" | "idle_no_worker";
|
|
1180
|
+
state: "none";
|
|
1181
|
+
} | {
|
|
1182
|
+
reason: "active_goal" | "active_worker" | "recent_artifact_contract";
|
|
1183
|
+
state: "expected";
|
|
1184
|
+
} | {
|
|
1185
|
+
reason: "recent_goal_or_worker";
|
|
1186
|
+
state: "recently_expected";
|
|
1187
|
+
stale_after_ms: number;
|
|
1188
|
+
} | {
|
|
1189
|
+
reason: string;
|
|
1190
|
+
state: "unknown";
|
|
1191
|
+
} | undefined;
|
|
957
1192
|
};
|
|
958
1193
|
}, {
|
|
959
|
-
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";
|
|
1194
|
+
summary: "unknown" | "alive_and_progressing" | "alive_idle_no_artifact_stream" | "alive_but_metric_stalled" | "alive_but_artifact_stalled" | "alive_but_waiting" | "alive_but_stalled" | "dead_but_resumable" | "dead_needs_intervention";
|
|
960
1195
|
checked_at: number;
|
|
961
1196
|
signals: {
|
|
962
1197
|
process: {
|
|
@@ -1009,9 +1244,27 @@ export declare const RuntimeLongRunHealthSchema: z.ZodObject<{
|
|
|
1009
1244
|
checked_at: number;
|
|
1010
1245
|
reason?: string | undefined;
|
|
1011
1246
|
observed_at?: number | undefined;
|
|
1247
|
+
active_goal_ids?: string[] | undefined;
|
|
1248
|
+
pending_approval_count?: number | undefined;
|
|
1249
|
+
goal_scoped_pending_approval_count?: number | undefined;
|
|
1250
|
+
unrelated_pending_approval_count?: number | undefined;
|
|
1012
1251
|
};
|
|
1013
|
-
expected_next_checkpoint_at?: number | undefined;
|
|
1014
1252
|
resumable?: boolean | undefined;
|
|
1253
|
+
expected_next_checkpoint_at?: number | undefined;
|
|
1254
|
+
artifact_expectation?: {
|
|
1255
|
+
reason: "no_active_goal" | "idle_no_worker";
|
|
1256
|
+
state: "none";
|
|
1257
|
+
} | {
|
|
1258
|
+
reason: "active_goal" | "active_worker" | "recent_artifact_contract";
|
|
1259
|
+
state: "expected";
|
|
1260
|
+
} | {
|
|
1261
|
+
reason: "recent_goal_or_worker";
|
|
1262
|
+
state: "recently_expected";
|
|
1263
|
+
stale_after_ms: number;
|
|
1264
|
+
} | {
|
|
1265
|
+
reason: string;
|
|
1266
|
+
state: "unknown";
|
|
1267
|
+
} | undefined;
|
|
1015
1268
|
};
|
|
1016
1269
|
}>;
|
|
1017
1270
|
export type RuntimeLongRunHealth = z.infer<typeof RuntimeLongRunHealthSchema>;
|
|
@@ -1305,7 +1558,7 @@ export declare const RuntimeDaemonHealthSchema: z.ZodObject<{
|
|
|
1305
1558
|
recovered_at?: number | undefined;
|
|
1306
1559
|
}>>;
|
|
1307
1560
|
long_running: z.ZodOptional<z.ZodObject<{
|
|
1308
|
-
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"]>;
|
|
1561
|
+
summary: z.ZodEnum<["alive_and_progressing", "alive_idle_no_artifact_stream", "alive_but_metric_stalled", "alive_but_artifact_stalled", "alive_but_waiting", "alive_but_stalled", "dead_but_resumable", "dead_needs_intervention", "unknown"]>;
|
|
1309
1562
|
checked_at: z.ZodNumber;
|
|
1310
1563
|
signals: z.ZodObject<{
|
|
1311
1564
|
process: z.ZodObject<{
|
|
@@ -1443,18 +1696,70 @@ export declare const RuntimeDaemonHealthSchema: z.ZodObject<{
|
|
|
1443
1696
|
reason: z.ZodOptional<z.ZodString>;
|
|
1444
1697
|
} & {
|
|
1445
1698
|
status: z.ZodEnum<["none", "approval_wait", "auth_wait", "operator_wait", "resource_pressure", "blocked", "unknown"]>;
|
|
1699
|
+
active_goal_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1700
|
+
pending_approval_count: z.ZodOptional<z.ZodNumber>;
|
|
1701
|
+
goal_scoped_pending_approval_count: z.ZodOptional<z.ZodNumber>;
|
|
1702
|
+
unrelated_pending_approval_count: z.ZodOptional<z.ZodNumber>;
|
|
1446
1703
|
}, "strip", z.ZodTypeAny, {
|
|
1447
1704
|
status: "unknown" | "blocked" | "none" | "approval_wait" | "auth_wait" | "operator_wait" | "resource_pressure";
|
|
1448
1705
|
checked_at: number;
|
|
1449
1706
|
reason?: string | undefined;
|
|
1450
1707
|
observed_at?: number | undefined;
|
|
1708
|
+
active_goal_ids?: string[] | undefined;
|
|
1709
|
+
pending_approval_count?: number | undefined;
|
|
1710
|
+
goal_scoped_pending_approval_count?: number | undefined;
|
|
1711
|
+
unrelated_pending_approval_count?: number | undefined;
|
|
1451
1712
|
}, {
|
|
1452
1713
|
status: "unknown" | "blocked" | "none" | "approval_wait" | "auth_wait" | "operator_wait" | "resource_pressure";
|
|
1453
1714
|
checked_at: number;
|
|
1454
1715
|
reason?: string | undefined;
|
|
1455
1716
|
observed_at?: number | undefined;
|
|
1717
|
+
active_goal_ids?: string[] | undefined;
|
|
1718
|
+
pending_approval_count?: number | undefined;
|
|
1719
|
+
goal_scoped_pending_approval_count?: number | undefined;
|
|
1720
|
+
unrelated_pending_approval_count?: number | undefined;
|
|
1456
1721
|
}>;
|
|
1457
1722
|
expected_next_checkpoint_at: z.ZodOptional<z.ZodNumber>;
|
|
1723
|
+
artifact_expectation: z.ZodOptional<z.ZodDiscriminatedUnion<"state", [z.ZodObject<{
|
|
1724
|
+
state: z.ZodLiteral<"none">;
|
|
1725
|
+
reason: z.ZodEnum<["no_active_goal", "idle_no_worker"]>;
|
|
1726
|
+
}, "strip", z.ZodTypeAny, {
|
|
1727
|
+
reason: "no_active_goal" | "idle_no_worker";
|
|
1728
|
+
state: "none";
|
|
1729
|
+
}, {
|
|
1730
|
+
reason: "no_active_goal" | "idle_no_worker";
|
|
1731
|
+
state: "none";
|
|
1732
|
+
}>, z.ZodObject<{
|
|
1733
|
+
state: z.ZodLiteral<"expected">;
|
|
1734
|
+
reason: z.ZodEnum<["active_goal", "active_worker", "recent_artifact_contract"]>;
|
|
1735
|
+
}, "strip", z.ZodTypeAny, {
|
|
1736
|
+
reason: "active_goal" | "active_worker" | "recent_artifact_contract";
|
|
1737
|
+
state: "expected";
|
|
1738
|
+
}, {
|
|
1739
|
+
reason: "active_goal" | "active_worker" | "recent_artifact_contract";
|
|
1740
|
+
state: "expected";
|
|
1741
|
+
}>, z.ZodObject<{
|
|
1742
|
+
state: z.ZodLiteral<"recently_expected">;
|
|
1743
|
+
reason: z.ZodLiteral<"recent_goal_or_worker">;
|
|
1744
|
+
stale_after_ms: z.ZodNumber;
|
|
1745
|
+
}, "strip", z.ZodTypeAny, {
|
|
1746
|
+
reason: "recent_goal_or_worker";
|
|
1747
|
+
state: "recently_expected";
|
|
1748
|
+
stale_after_ms: number;
|
|
1749
|
+
}, {
|
|
1750
|
+
reason: "recent_goal_or_worker";
|
|
1751
|
+
state: "recently_expected";
|
|
1752
|
+
stale_after_ms: number;
|
|
1753
|
+
}>, z.ZodObject<{
|
|
1754
|
+
state: z.ZodLiteral<"unknown">;
|
|
1755
|
+
reason: z.ZodString;
|
|
1756
|
+
}, "strip", z.ZodTypeAny, {
|
|
1757
|
+
reason: string;
|
|
1758
|
+
state: "unknown";
|
|
1759
|
+
}, {
|
|
1760
|
+
reason: string;
|
|
1761
|
+
state: "unknown";
|
|
1762
|
+
}>]>>;
|
|
1458
1763
|
resumable: z.ZodOptional<z.ZodBoolean>;
|
|
1459
1764
|
}, "strip", z.ZodTypeAny, {
|
|
1460
1765
|
process: {
|
|
@@ -1507,9 +1812,27 @@ export declare const RuntimeDaemonHealthSchema: z.ZodObject<{
|
|
|
1507
1812
|
checked_at: number;
|
|
1508
1813
|
reason?: string | undefined;
|
|
1509
1814
|
observed_at?: number | undefined;
|
|
1815
|
+
active_goal_ids?: string[] | undefined;
|
|
1816
|
+
pending_approval_count?: number | undefined;
|
|
1817
|
+
goal_scoped_pending_approval_count?: number | undefined;
|
|
1818
|
+
unrelated_pending_approval_count?: number | undefined;
|
|
1510
1819
|
};
|
|
1511
|
-
expected_next_checkpoint_at?: number | undefined;
|
|
1512
1820
|
resumable?: boolean | undefined;
|
|
1821
|
+
expected_next_checkpoint_at?: number | undefined;
|
|
1822
|
+
artifact_expectation?: {
|
|
1823
|
+
reason: "no_active_goal" | "idle_no_worker";
|
|
1824
|
+
state: "none";
|
|
1825
|
+
} | {
|
|
1826
|
+
reason: "active_goal" | "active_worker" | "recent_artifact_contract";
|
|
1827
|
+
state: "expected";
|
|
1828
|
+
} | {
|
|
1829
|
+
reason: "recent_goal_or_worker";
|
|
1830
|
+
state: "recently_expected";
|
|
1831
|
+
stale_after_ms: number;
|
|
1832
|
+
} | {
|
|
1833
|
+
reason: string;
|
|
1834
|
+
state: "unknown";
|
|
1835
|
+
} | undefined;
|
|
1513
1836
|
}, {
|
|
1514
1837
|
process: {
|
|
1515
1838
|
status: "unknown" | "alive" | "dead";
|
|
@@ -1561,12 +1884,30 @@ export declare const RuntimeDaemonHealthSchema: z.ZodObject<{
|
|
|
1561
1884
|
checked_at: number;
|
|
1562
1885
|
reason?: string | undefined;
|
|
1563
1886
|
observed_at?: number | undefined;
|
|
1887
|
+
active_goal_ids?: string[] | undefined;
|
|
1888
|
+
pending_approval_count?: number | undefined;
|
|
1889
|
+
goal_scoped_pending_approval_count?: number | undefined;
|
|
1890
|
+
unrelated_pending_approval_count?: number | undefined;
|
|
1564
1891
|
};
|
|
1565
|
-
expected_next_checkpoint_at?: number | undefined;
|
|
1566
1892
|
resumable?: boolean | undefined;
|
|
1893
|
+
expected_next_checkpoint_at?: number | undefined;
|
|
1894
|
+
artifact_expectation?: {
|
|
1895
|
+
reason: "no_active_goal" | "idle_no_worker";
|
|
1896
|
+
state: "none";
|
|
1897
|
+
} | {
|
|
1898
|
+
reason: "active_goal" | "active_worker" | "recent_artifact_contract";
|
|
1899
|
+
state: "expected";
|
|
1900
|
+
} | {
|
|
1901
|
+
reason: "recent_goal_or_worker";
|
|
1902
|
+
state: "recently_expected";
|
|
1903
|
+
stale_after_ms: number;
|
|
1904
|
+
} | {
|
|
1905
|
+
reason: string;
|
|
1906
|
+
state: "unknown";
|
|
1907
|
+
} | undefined;
|
|
1567
1908
|
}>;
|
|
1568
1909
|
}, "strip", z.ZodTypeAny, {
|
|
1569
|
-
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";
|
|
1910
|
+
summary: "unknown" | "alive_and_progressing" | "alive_idle_no_artifact_stream" | "alive_but_metric_stalled" | "alive_but_artifact_stalled" | "alive_but_waiting" | "alive_but_stalled" | "dead_but_resumable" | "dead_needs_intervention";
|
|
1570
1911
|
checked_at: number;
|
|
1571
1912
|
signals: {
|
|
1572
1913
|
process: {
|
|
@@ -1619,12 +1960,30 @@ export declare const RuntimeDaemonHealthSchema: z.ZodObject<{
|
|
|
1619
1960
|
checked_at: number;
|
|
1620
1961
|
reason?: string | undefined;
|
|
1621
1962
|
observed_at?: number | undefined;
|
|
1963
|
+
active_goal_ids?: string[] | undefined;
|
|
1964
|
+
pending_approval_count?: number | undefined;
|
|
1965
|
+
goal_scoped_pending_approval_count?: number | undefined;
|
|
1966
|
+
unrelated_pending_approval_count?: number | undefined;
|
|
1622
1967
|
};
|
|
1623
|
-
expected_next_checkpoint_at?: number | undefined;
|
|
1624
1968
|
resumable?: boolean | undefined;
|
|
1969
|
+
expected_next_checkpoint_at?: number | undefined;
|
|
1970
|
+
artifact_expectation?: {
|
|
1971
|
+
reason: "no_active_goal" | "idle_no_worker";
|
|
1972
|
+
state: "none";
|
|
1973
|
+
} | {
|
|
1974
|
+
reason: "active_goal" | "active_worker" | "recent_artifact_contract";
|
|
1975
|
+
state: "expected";
|
|
1976
|
+
} | {
|
|
1977
|
+
reason: "recent_goal_or_worker";
|
|
1978
|
+
state: "recently_expected";
|
|
1979
|
+
stale_after_ms: number;
|
|
1980
|
+
} | {
|
|
1981
|
+
reason: string;
|
|
1982
|
+
state: "unknown";
|
|
1983
|
+
} | undefined;
|
|
1625
1984
|
};
|
|
1626
1985
|
}, {
|
|
1627
|
-
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";
|
|
1986
|
+
summary: "unknown" | "alive_and_progressing" | "alive_idle_no_artifact_stream" | "alive_but_metric_stalled" | "alive_but_artifact_stalled" | "alive_but_waiting" | "alive_but_stalled" | "dead_but_resumable" | "dead_needs_intervention";
|
|
1628
1987
|
checked_at: number;
|
|
1629
1988
|
signals: {
|
|
1630
1989
|
process: {
|
|
@@ -1677,9 +2036,27 @@ export declare const RuntimeDaemonHealthSchema: z.ZodObject<{
|
|
|
1677
2036
|
checked_at: number;
|
|
1678
2037
|
reason?: string | undefined;
|
|
1679
2038
|
observed_at?: number | undefined;
|
|
2039
|
+
active_goal_ids?: string[] | undefined;
|
|
2040
|
+
pending_approval_count?: number | undefined;
|
|
2041
|
+
goal_scoped_pending_approval_count?: number | undefined;
|
|
2042
|
+
unrelated_pending_approval_count?: number | undefined;
|
|
1680
2043
|
};
|
|
1681
|
-
expected_next_checkpoint_at?: number | undefined;
|
|
1682
2044
|
resumable?: boolean | undefined;
|
|
2045
|
+
expected_next_checkpoint_at?: number | undefined;
|
|
2046
|
+
artifact_expectation?: {
|
|
2047
|
+
reason: "no_active_goal" | "idle_no_worker";
|
|
2048
|
+
state: "none";
|
|
2049
|
+
} | {
|
|
2050
|
+
reason: "active_goal" | "active_worker" | "recent_artifact_contract";
|
|
2051
|
+
state: "expected";
|
|
2052
|
+
} | {
|
|
2053
|
+
reason: "recent_goal_or_worker";
|
|
2054
|
+
state: "recently_expected";
|
|
2055
|
+
stale_after_ms: number;
|
|
2056
|
+
} | {
|
|
2057
|
+
reason: string;
|
|
2058
|
+
state: "unknown";
|
|
2059
|
+
} | undefined;
|
|
1683
2060
|
};
|
|
1684
2061
|
}>>;
|
|
1685
2062
|
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -1717,7 +2094,7 @@ export declare const RuntimeDaemonHealthSchema: z.ZodObject<{
|
|
|
1717
2094
|
recovered_at?: number | undefined;
|
|
1718
2095
|
} | undefined;
|
|
1719
2096
|
long_running?: {
|
|
1720
|
-
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";
|
|
2097
|
+
summary: "unknown" | "alive_and_progressing" | "alive_idle_no_artifact_stream" | "alive_but_metric_stalled" | "alive_but_artifact_stalled" | "alive_but_waiting" | "alive_but_stalled" | "dead_but_resumable" | "dead_needs_intervention";
|
|
1721
2098
|
checked_at: number;
|
|
1722
2099
|
signals: {
|
|
1723
2100
|
process: {
|
|
@@ -1770,9 +2147,27 @@ export declare const RuntimeDaemonHealthSchema: z.ZodObject<{
|
|
|
1770
2147
|
checked_at: number;
|
|
1771
2148
|
reason?: string | undefined;
|
|
1772
2149
|
observed_at?: number | undefined;
|
|
2150
|
+
active_goal_ids?: string[] | undefined;
|
|
2151
|
+
pending_approval_count?: number | undefined;
|
|
2152
|
+
goal_scoped_pending_approval_count?: number | undefined;
|
|
2153
|
+
unrelated_pending_approval_count?: number | undefined;
|
|
1773
2154
|
};
|
|
1774
|
-
expected_next_checkpoint_at?: number | undefined;
|
|
1775
2155
|
resumable?: boolean | undefined;
|
|
2156
|
+
expected_next_checkpoint_at?: number | undefined;
|
|
2157
|
+
artifact_expectation?: {
|
|
2158
|
+
reason: "no_active_goal" | "idle_no_worker";
|
|
2159
|
+
state: "none";
|
|
2160
|
+
} | {
|
|
2161
|
+
reason: "active_goal" | "active_worker" | "recent_artifact_contract";
|
|
2162
|
+
state: "expected";
|
|
2163
|
+
} | {
|
|
2164
|
+
reason: "recent_goal_or_worker";
|
|
2165
|
+
state: "recently_expected";
|
|
2166
|
+
stale_after_ms: number;
|
|
2167
|
+
} | {
|
|
2168
|
+
reason: string;
|
|
2169
|
+
state: "unknown";
|
|
2170
|
+
} | undefined;
|
|
1776
2171
|
};
|
|
1777
2172
|
} | undefined;
|
|
1778
2173
|
}, {
|
|
@@ -1809,7 +2204,7 @@ export declare const RuntimeDaemonHealthSchema: z.ZodObject<{
|
|
|
1809
2204
|
recovered_at?: number | undefined;
|
|
1810
2205
|
} | undefined;
|
|
1811
2206
|
long_running?: {
|
|
1812
|
-
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";
|
|
2207
|
+
summary: "unknown" | "alive_and_progressing" | "alive_idle_no_artifact_stream" | "alive_but_metric_stalled" | "alive_but_artifact_stalled" | "alive_but_waiting" | "alive_but_stalled" | "dead_but_resumable" | "dead_needs_intervention";
|
|
1813
2208
|
checked_at: number;
|
|
1814
2209
|
signals: {
|
|
1815
2210
|
process: {
|
|
@@ -1862,9 +2257,27 @@ export declare const RuntimeDaemonHealthSchema: z.ZodObject<{
|
|
|
1862
2257
|
checked_at: number;
|
|
1863
2258
|
reason?: string | undefined;
|
|
1864
2259
|
observed_at?: number | undefined;
|
|
2260
|
+
active_goal_ids?: string[] | undefined;
|
|
2261
|
+
pending_approval_count?: number | undefined;
|
|
2262
|
+
goal_scoped_pending_approval_count?: number | undefined;
|
|
2263
|
+
unrelated_pending_approval_count?: number | undefined;
|
|
1865
2264
|
};
|
|
1866
|
-
expected_next_checkpoint_at?: number | undefined;
|
|
1867
2265
|
resumable?: boolean | undefined;
|
|
2266
|
+
expected_next_checkpoint_at?: number | undefined;
|
|
2267
|
+
artifact_expectation?: {
|
|
2268
|
+
reason: "no_active_goal" | "idle_no_worker";
|
|
2269
|
+
state: "none";
|
|
2270
|
+
} | {
|
|
2271
|
+
reason: "active_goal" | "active_worker" | "recent_artifact_contract";
|
|
2272
|
+
state: "expected";
|
|
2273
|
+
} | {
|
|
2274
|
+
reason: "recent_goal_or_worker";
|
|
2275
|
+
state: "recently_expected";
|
|
2276
|
+
stale_after_ms: number;
|
|
2277
|
+
} | {
|
|
2278
|
+
reason: string;
|
|
2279
|
+
state: "unknown";
|
|
2280
|
+
} | undefined;
|
|
1868
2281
|
};
|
|
1869
2282
|
} | undefined;
|
|
1870
2283
|
}>;
|
|
@@ -2010,7 +2423,7 @@ export declare const RuntimeHealthSnapshotSchema: z.ZodObject<{
|
|
|
2010
2423
|
recovered_at?: number | undefined;
|
|
2011
2424
|
}>>;
|
|
2012
2425
|
long_running: z.ZodOptional<z.ZodObject<{
|
|
2013
|
-
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"]>;
|
|
2426
|
+
summary: z.ZodEnum<["alive_and_progressing", "alive_idle_no_artifact_stream", "alive_but_metric_stalled", "alive_but_artifact_stalled", "alive_but_waiting", "alive_but_stalled", "dead_but_resumable", "dead_needs_intervention", "unknown"]>;
|
|
2014
2427
|
checked_at: z.ZodNumber;
|
|
2015
2428
|
signals: z.ZodObject<{
|
|
2016
2429
|
process: z.ZodObject<{
|
|
@@ -2148,18 +2561,70 @@ export declare const RuntimeHealthSnapshotSchema: z.ZodObject<{
|
|
|
2148
2561
|
reason: z.ZodOptional<z.ZodString>;
|
|
2149
2562
|
} & {
|
|
2150
2563
|
status: z.ZodEnum<["none", "approval_wait", "auth_wait", "operator_wait", "resource_pressure", "blocked", "unknown"]>;
|
|
2564
|
+
active_goal_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2565
|
+
pending_approval_count: z.ZodOptional<z.ZodNumber>;
|
|
2566
|
+
goal_scoped_pending_approval_count: z.ZodOptional<z.ZodNumber>;
|
|
2567
|
+
unrelated_pending_approval_count: z.ZodOptional<z.ZodNumber>;
|
|
2151
2568
|
}, "strip", z.ZodTypeAny, {
|
|
2152
2569
|
status: "unknown" | "blocked" | "none" | "approval_wait" | "auth_wait" | "operator_wait" | "resource_pressure";
|
|
2153
2570
|
checked_at: number;
|
|
2154
2571
|
reason?: string | undefined;
|
|
2155
2572
|
observed_at?: number | undefined;
|
|
2573
|
+
active_goal_ids?: string[] | undefined;
|
|
2574
|
+
pending_approval_count?: number | undefined;
|
|
2575
|
+
goal_scoped_pending_approval_count?: number | undefined;
|
|
2576
|
+
unrelated_pending_approval_count?: number | undefined;
|
|
2156
2577
|
}, {
|
|
2157
2578
|
status: "unknown" | "blocked" | "none" | "approval_wait" | "auth_wait" | "operator_wait" | "resource_pressure";
|
|
2158
2579
|
checked_at: number;
|
|
2159
2580
|
reason?: string | undefined;
|
|
2160
2581
|
observed_at?: number | undefined;
|
|
2582
|
+
active_goal_ids?: string[] | undefined;
|
|
2583
|
+
pending_approval_count?: number | undefined;
|
|
2584
|
+
goal_scoped_pending_approval_count?: number | undefined;
|
|
2585
|
+
unrelated_pending_approval_count?: number | undefined;
|
|
2161
2586
|
}>;
|
|
2162
2587
|
expected_next_checkpoint_at: z.ZodOptional<z.ZodNumber>;
|
|
2588
|
+
artifact_expectation: z.ZodOptional<z.ZodDiscriminatedUnion<"state", [z.ZodObject<{
|
|
2589
|
+
state: z.ZodLiteral<"none">;
|
|
2590
|
+
reason: z.ZodEnum<["no_active_goal", "idle_no_worker"]>;
|
|
2591
|
+
}, "strip", z.ZodTypeAny, {
|
|
2592
|
+
reason: "no_active_goal" | "idle_no_worker";
|
|
2593
|
+
state: "none";
|
|
2594
|
+
}, {
|
|
2595
|
+
reason: "no_active_goal" | "idle_no_worker";
|
|
2596
|
+
state: "none";
|
|
2597
|
+
}>, z.ZodObject<{
|
|
2598
|
+
state: z.ZodLiteral<"expected">;
|
|
2599
|
+
reason: z.ZodEnum<["active_goal", "active_worker", "recent_artifact_contract"]>;
|
|
2600
|
+
}, "strip", z.ZodTypeAny, {
|
|
2601
|
+
reason: "active_goal" | "active_worker" | "recent_artifact_contract";
|
|
2602
|
+
state: "expected";
|
|
2603
|
+
}, {
|
|
2604
|
+
reason: "active_goal" | "active_worker" | "recent_artifact_contract";
|
|
2605
|
+
state: "expected";
|
|
2606
|
+
}>, z.ZodObject<{
|
|
2607
|
+
state: z.ZodLiteral<"recently_expected">;
|
|
2608
|
+
reason: z.ZodLiteral<"recent_goal_or_worker">;
|
|
2609
|
+
stale_after_ms: z.ZodNumber;
|
|
2610
|
+
}, "strip", z.ZodTypeAny, {
|
|
2611
|
+
reason: "recent_goal_or_worker";
|
|
2612
|
+
state: "recently_expected";
|
|
2613
|
+
stale_after_ms: number;
|
|
2614
|
+
}, {
|
|
2615
|
+
reason: "recent_goal_or_worker";
|
|
2616
|
+
state: "recently_expected";
|
|
2617
|
+
stale_after_ms: number;
|
|
2618
|
+
}>, z.ZodObject<{
|
|
2619
|
+
state: z.ZodLiteral<"unknown">;
|
|
2620
|
+
reason: z.ZodString;
|
|
2621
|
+
}, "strip", z.ZodTypeAny, {
|
|
2622
|
+
reason: string;
|
|
2623
|
+
state: "unknown";
|
|
2624
|
+
}, {
|
|
2625
|
+
reason: string;
|
|
2626
|
+
state: "unknown";
|
|
2627
|
+
}>]>>;
|
|
2163
2628
|
resumable: z.ZodOptional<z.ZodBoolean>;
|
|
2164
2629
|
}, "strip", z.ZodTypeAny, {
|
|
2165
2630
|
process: {
|
|
@@ -2212,9 +2677,27 @@ export declare const RuntimeHealthSnapshotSchema: z.ZodObject<{
|
|
|
2212
2677
|
checked_at: number;
|
|
2213
2678
|
reason?: string | undefined;
|
|
2214
2679
|
observed_at?: number | undefined;
|
|
2680
|
+
active_goal_ids?: string[] | undefined;
|
|
2681
|
+
pending_approval_count?: number | undefined;
|
|
2682
|
+
goal_scoped_pending_approval_count?: number | undefined;
|
|
2683
|
+
unrelated_pending_approval_count?: number | undefined;
|
|
2215
2684
|
};
|
|
2216
|
-
expected_next_checkpoint_at?: number | undefined;
|
|
2217
2685
|
resumable?: boolean | undefined;
|
|
2686
|
+
expected_next_checkpoint_at?: number | undefined;
|
|
2687
|
+
artifact_expectation?: {
|
|
2688
|
+
reason: "no_active_goal" | "idle_no_worker";
|
|
2689
|
+
state: "none";
|
|
2690
|
+
} | {
|
|
2691
|
+
reason: "active_goal" | "active_worker" | "recent_artifact_contract";
|
|
2692
|
+
state: "expected";
|
|
2693
|
+
} | {
|
|
2694
|
+
reason: "recent_goal_or_worker";
|
|
2695
|
+
state: "recently_expected";
|
|
2696
|
+
stale_after_ms: number;
|
|
2697
|
+
} | {
|
|
2698
|
+
reason: string;
|
|
2699
|
+
state: "unknown";
|
|
2700
|
+
} | undefined;
|
|
2218
2701
|
}, {
|
|
2219
2702
|
process: {
|
|
2220
2703
|
status: "unknown" | "alive" | "dead";
|
|
@@ -2266,12 +2749,30 @@ export declare const RuntimeHealthSnapshotSchema: z.ZodObject<{
|
|
|
2266
2749
|
checked_at: number;
|
|
2267
2750
|
reason?: string | undefined;
|
|
2268
2751
|
observed_at?: number | undefined;
|
|
2752
|
+
active_goal_ids?: string[] | undefined;
|
|
2753
|
+
pending_approval_count?: number | undefined;
|
|
2754
|
+
goal_scoped_pending_approval_count?: number | undefined;
|
|
2755
|
+
unrelated_pending_approval_count?: number | undefined;
|
|
2269
2756
|
};
|
|
2270
|
-
expected_next_checkpoint_at?: number | undefined;
|
|
2271
2757
|
resumable?: boolean | undefined;
|
|
2758
|
+
expected_next_checkpoint_at?: number | undefined;
|
|
2759
|
+
artifact_expectation?: {
|
|
2760
|
+
reason: "no_active_goal" | "idle_no_worker";
|
|
2761
|
+
state: "none";
|
|
2762
|
+
} | {
|
|
2763
|
+
reason: "active_goal" | "active_worker" | "recent_artifact_contract";
|
|
2764
|
+
state: "expected";
|
|
2765
|
+
} | {
|
|
2766
|
+
reason: "recent_goal_or_worker";
|
|
2767
|
+
state: "recently_expected";
|
|
2768
|
+
stale_after_ms: number;
|
|
2769
|
+
} | {
|
|
2770
|
+
reason: string;
|
|
2771
|
+
state: "unknown";
|
|
2772
|
+
} | undefined;
|
|
2272
2773
|
}>;
|
|
2273
2774
|
}, "strip", z.ZodTypeAny, {
|
|
2274
|
-
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";
|
|
2775
|
+
summary: "unknown" | "alive_and_progressing" | "alive_idle_no_artifact_stream" | "alive_but_metric_stalled" | "alive_but_artifact_stalled" | "alive_but_waiting" | "alive_but_stalled" | "dead_but_resumable" | "dead_needs_intervention";
|
|
2275
2776
|
checked_at: number;
|
|
2276
2777
|
signals: {
|
|
2277
2778
|
process: {
|
|
@@ -2324,12 +2825,30 @@ export declare const RuntimeHealthSnapshotSchema: z.ZodObject<{
|
|
|
2324
2825
|
checked_at: number;
|
|
2325
2826
|
reason?: string | undefined;
|
|
2326
2827
|
observed_at?: number | undefined;
|
|
2828
|
+
active_goal_ids?: string[] | undefined;
|
|
2829
|
+
pending_approval_count?: number | undefined;
|
|
2830
|
+
goal_scoped_pending_approval_count?: number | undefined;
|
|
2831
|
+
unrelated_pending_approval_count?: number | undefined;
|
|
2327
2832
|
};
|
|
2328
|
-
expected_next_checkpoint_at?: number | undefined;
|
|
2329
2833
|
resumable?: boolean | undefined;
|
|
2834
|
+
expected_next_checkpoint_at?: number | undefined;
|
|
2835
|
+
artifact_expectation?: {
|
|
2836
|
+
reason: "no_active_goal" | "idle_no_worker";
|
|
2837
|
+
state: "none";
|
|
2838
|
+
} | {
|
|
2839
|
+
reason: "active_goal" | "active_worker" | "recent_artifact_contract";
|
|
2840
|
+
state: "expected";
|
|
2841
|
+
} | {
|
|
2842
|
+
reason: "recent_goal_or_worker";
|
|
2843
|
+
state: "recently_expected";
|
|
2844
|
+
stale_after_ms: number;
|
|
2845
|
+
} | {
|
|
2846
|
+
reason: string;
|
|
2847
|
+
state: "unknown";
|
|
2848
|
+
} | undefined;
|
|
2330
2849
|
};
|
|
2331
2850
|
}, {
|
|
2332
|
-
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";
|
|
2851
|
+
summary: "unknown" | "alive_and_progressing" | "alive_idle_no_artifact_stream" | "alive_but_metric_stalled" | "alive_but_artifact_stalled" | "alive_but_waiting" | "alive_but_stalled" | "dead_but_resumable" | "dead_needs_intervention";
|
|
2333
2852
|
checked_at: number;
|
|
2334
2853
|
signals: {
|
|
2335
2854
|
process: {
|
|
@@ -2382,9 +2901,27 @@ export declare const RuntimeHealthSnapshotSchema: z.ZodObject<{
|
|
|
2382
2901
|
checked_at: number;
|
|
2383
2902
|
reason?: string | undefined;
|
|
2384
2903
|
observed_at?: number | undefined;
|
|
2904
|
+
active_goal_ids?: string[] | undefined;
|
|
2905
|
+
pending_approval_count?: number | undefined;
|
|
2906
|
+
goal_scoped_pending_approval_count?: number | undefined;
|
|
2907
|
+
unrelated_pending_approval_count?: number | undefined;
|
|
2385
2908
|
};
|
|
2386
|
-
expected_next_checkpoint_at?: number | undefined;
|
|
2387
2909
|
resumable?: boolean | undefined;
|
|
2910
|
+
expected_next_checkpoint_at?: number | undefined;
|
|
2911
|
+
artifact_expectation?: {
|
|
2912
|
+
reason: "no_active_goal" | "idle_no_worker";
|
|
2913
|
+
state: "none";
|
|
2914
|
+
} | {
|
|
2915
|
+
reason: "active_goal" | "active_worker" | "recent_artifact_contract";
|
|
2916
|
+
state: "expected";
|
|
2917
|
+
} | {
|
|
2918
|
+
reason: "recent_goal_or_worker";
|
|
2919
|
+
state: "recently_expected";
|
|
2920
|
+
stale_after_ms: number;
|
|
2921
|
+
} | {
|
|
2922
|
+
reason: string;
|
|
2923
|
+
state: "unknown";
|
|
2924
|
+
} | undefined;
|
|
2388
2925
|
};
|
|
2389
2926
|
}>>;
|
|
2390
2927
|
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -2423,7 +2960,7 @@ export declare const RuntimeHealthSnapshotSchema: z.ZodObject<{
|
|
|
2423
2960
|
recovered_at?: number | undefined;
|
|
2424
2961
|
} | undefined;
|
|
2425
2962
|
long_running?: {
|
|
2426
|
-
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";
|
|
2963
|
+
summary: "unknown" | "alive_and_progressing" | "alive_idle_no_artifact_stream" | "alive_but_metric_stalled" | "alive_but_artifact_stalled" | "alive_but_waiting" | "alive_but_stalled" | "dead_but_resumable" | "dead_needs_intervention";
|
|
2427
2964
|
checked_at: number;
|
|
2428
2965
|
signals: {
|
|
2429
2966
|
process: {
|
|
@@ -2476,9 +3013,27 @@ export declare const RuntimeHealthSnapshotSchema: z.ZodObject<{
|
|
|
2476
3013
|
checked_at: number;
|
|
2477
3014
|
reason?: string | undefined;
|
|
2478
3015
|
observed_at?: number | undefined;
|
|
3016
|
+
active_goal_ids?: string[] | undefined;
|
|
3017
|
+
pending_approval_count?: number | undefined;
|
|
3018
|
+
goal_scoped_pending_approval_count?: number | undefined;
|
|
3019
|
+
unrelated_pending_approval_count?: number | undefined;
|
|
2479
3020
|
};
|
|
2480
|
-
expected_next_checkpoint_at?: number | undefined;
|
|
2481
3021
|
resumable?: boolean | undefined;
|
|
3022
|
+
expected_next_checkpoint_at?: number | undefined;
|
|
3023
|
+
artifact_expectation?: {
|
|
3024
|
+
reason: "no_active_goal" | "idle_no_worker";
|
|
3025
|
+
state: "none";
|
|
3026
|
+
} | {
|
|
3027
|
+
reason: "active_goal" | "active_worker" | "recent_artifact_contract";
|
|
3028
|
+
state: "expected";
|
|
3029
|
+
} | {
|
|
3030
|
+
reason: "recent_goal_or_worker";
|
|
3031
|
+
state: "recently_expected";
|
|
3032
|
+
stale_after_ms: number;
|
|
3033
|
+
} | {
|
|
3034
|
+
reason: string;
|
|
3035
|
+
state: "unknown";
|
|
3036
|
+
} | undefined;
|
|
2482
3037
|
};
|
|
2483
3038
|
} | undefined;
|
|
2484
3039
|
}, {
|
|
@@ -2516,7 +3071,7 @@ export declare const RuntimeHealthSnapshotSchema: z.ZodObject<{
|
|
|
2516
3071
|
recovered_at?: number | undefined;
|
|
2517
3072
|
} | undefined;
|
|
2518
3073
|
long_running?: {
|
|
2519
|
-
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";
|
|
3074
|
+
summary: "unknown" | "alive_and_progressing" | "alive_idle_no_artifact_stream" | "alive_but_metric_stalled" | "alive_but_artifact_stalled" | "alive_but_waiting" | "alive_but_stalled" | "dead_but_resumable" | "dead_needs_intervention";
|
|
2520
3075
|
checked_at: number;
|
|
2521
3076
|
signals: {
|
|
2522
3077
|
process: {
|
|
@@ -2569,9 +3124,27 @@ export declare const RuntimeHealthSnapshotSchema: z.ZodObject<{
|
|
|
2569
3124
|
checked_at: number;
|
|
2570
3125
|
reason?: string | undefined;
|
|
2571
3126
|
observed_at?: number | undefined;
|
|
3127
|
+
active_goal_ids?: string[] | undefined;
|
|
3128
|
+
pending_approval_count?: number | undefined;
|
|
3129
|
+
goal_scoped_pending_approval_count?: number | undefined;
|
|
3130
|
+
unrelated_pending_approval_count?: number | undefined;
|
|
2572
3131
|
};
|
|
2573
|
-
expected_next_checkpoint_at?: number | undefined;
|
|
2574
3132
|
resumable?: boolean | undefined;
|
|
3133
|
+
expected_next_checkpoint_at?: number | undefined;
|
|
3134
|
+
artifact_expectation?: {
|
|
3135
|
+
reason: "no_active_goal" | "idle_no_worker";
|
|
3136
|
+
state: "none";
|
|
3137
|
+
} | {
|
|
3138
|
+
reason: "active_goal" | "active_worker" | "recent_artifact_contract";
|
|
3139
|
+
state: "expected";
|
|
3140
|
+
} | {
|
|
3141
|
+
reason: "recent_goal_or_worker";
|
|
3142
|
+
state: "recently_expected";
|
|
3143
|
+
stale_after_ms: number;
|
|
3144
|
+
} | {
|
|
3145
|
+
reason: string;
|
|
3146
|
+
state: "unknown";
|
|
3147
|
+
} | undefined;
|
|
2575
3148
|
};
|
|
2576
3149
|
} | undefined;
|
|
2577
3150
|
}>;
|
|
@@ -2595,7 +3168,7 @@ export declare const BrowserAutomationSessionRecordSchema: z.ZodObject<{
|
|
|
2595
3168
|
}, "strip", z.ZodTypeAny, {
|
|
2596
3169
|
created_at: string;
|
|
2597
3170
|
updated_at: string;
|
|
2598
|
-
state: "blocked" | "expired" | "
|
|
3171
|
+
state: "blocked" | "expired" | "unavailable" | "authenticated" | "fresh" | "auth_required";
|
|
2599
3172
|
session_id: string;
|
|
2600
3173
|
provider_id: string;
|
|
2601
3174
|
service_key: string;
|
|
@@ -2609,7 +3182,7 @@ export declare const BrowserAutomationSessionRecordSchema: z.ZodObject<{
|
|
|
2609
3182
|
}, {
|
|
2610
3183
|
created_at: string;
|
|
2611
3184
|
updated_at: string;
|
|
2612
|
-
state: "blocked" | "expired" | "
|
|
3185
|
+
state: "blocked" | "expired" | "unavailable" | "authenticated" | "fresh" | "auth_required";
|
|
2613
3186
|
session_id: string;
|
|
2614
3187
|
provider_id: string;
|
|
2615
3188
|
service_key: string;
|
|
@@ -2622,6 +3195,211 @@ export declare const BrowserAutomationSessionRecordSchema: z.ZodObject<{
|
|
|
2622
3195
|
last_failure_message?: string | null | undefined;
|
|
2623
3196
|
}>;
|
|
2624
3197
|
export type BrowserAutomationSessionRecord = z.infer<typeof BrowserAutomationSessionRecordSchema>;
|
|
3198
|
+
export declare const RuntimeAuthHandoffStateSchema: z.ZodEnum<["requested", "pending_operator", "in_progress", "completed", "cancelled", "expired", "superseded", "blocked"]>;
|
|
3199
|
+
export type RuntimeAuthHandoffState = z.infer<typeof RuntimeAuthHandoffStateSchema>;
|
|
3200
|
+
export declare const RuntimeAuthHandoffRecordSchema: z.ZodObject<{
|
|
3201
|
+
schema_version: z.ZodLiteral<"runtime-auth-handoff-v1">;
|
|
3202
|
+
handoff_id: z.ZodString;
|
|
3203
|
+
provider_id: z.ZodString;
|
|
3204
|
+
service_key: z.ZodString;
|
|
3205
|
+
workspace: z.ZodString;
|
|
3206
|
+
actor_key: z.ZodString;
|
|
3207
|
+
state: z.ZodEnum<["requested", "pending_operator", "in_progress", "completed", "cancelled", "expired", "superseded", "blocked"]>;
|
|
3208
|
+
requested_at: z.ZodString;
|
|
3209
|
+
updated_at: z.ZodString;
|
|
3210
|
+
expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3211
|
+
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3212
|
+
browser_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3213
|
+
resumable_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3214
|
+
supersedes_handoff_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3215
|
+
superseded_by_handoff_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3216
|
+
reply_target: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3217
|
+
surface: z.ZodOptional<z.ZodEnum<["chat", "gateway", "cli", "tui"]>>;
|
|
3218
|
+
channel: z.ZodOptional<z.ZodEnum<["tui", "plugin_gateway", "cli", "web"]>>;
|
|
3219
|
+
platform: z.ZodOptional<z.ZodString>;
|
|
3220
|
+
conversation_id: z.ZodOptional<z.ZodString>;
|
|
3221
|
+
message_id: z.ZodOptional<z.ZodString>;
|
|
3222
|
+
response_channel: z.ZodOptional<z.ZodString>;
|
|
3223
|
+
outbox_topic: z.ZodOptional<z.ZodString>;
|
|
3224
|
+
identity_key: z.ZodOptional<z.ZodString>;
|
|
3225
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
3226
|
+
deliveryMode: z.ZodOptional<z.ZodEnum<["reply", "notify", "thread_reply"]>>;
|
|
3227
|
+
delivery_mode: z.ZodOptional<z.ZodEnum<["reply", "notify", "thread_reply"]>>;
|
|
3228
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3229
|
+
}, "strip", z.ZodTypeAny, {
|
|
3230
|
+
metadata?: Record<string, unknown> | undefined;
|
|
3231
|
+
surface?: "chat" | "tui" | "cli" | "gateway" | undefined;
|
|
3232
|
+
platform?: string | undefined;
|
|
3233
|
+
conversation_id?: string | undefined;
|
|
3234
|
+
identity_key?: string | undefined;
|
|
3235
|
+
user_id?: string | undefined;
|
|
3236
|
+
channel?: "web" | "tui" | "cli" | "plugin_gateway" | undefined;
|
|
3237
|
+
message_id?: string | undefined;
|
|
3238
|
+
response_channel?: string | undefined;
|
|
3239
|
+
outbox_topic?: string | undefined;
|
|
3240
|
+
deliveryMode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
3241
|
+
delivery_mode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
3242
|
+
}, {
|
|
3243
|
+
metadata?: Record<string, unknown> | undefined;
|
|
3244
|
+
surface?: "chat" | "tui" | "cli" | "gateway" | undefined;
|
|
3245
|
+
platform?: string | undefined;
|
|
3246
|
+
conversation_id?: string | undefined;
|
|
3247
|
+
identity_key?: string | undefined;
|
|
3248
|
+
user_id?: string | undefined;
|
|
3249
|
+
channel?: "web" | "tui" | "cli" | "plugin_gateway" | undefined;
|
|
3250
|
+
message_id?: string | undefined;
|
|
3251
|
+
response_channel?: string | undefined;
|
|
3252
|
+
outbox_topic?: string | undefined;
|
|
3253
|
+
deliveryMode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
3254
|
+
delivery_mode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
3255
|
+
}>>>;
|
|
3256
|
+
requested_by: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3257
|
+
surface: z.ZodEnum<["chat", "gateway", "cli", "tui"]>;
|
|
3258
|
+
platform: z.ZodOptional<z.ZodString>;
|
|
3259
|
+
conversation_id: z.ZodOptional<z.ZodString>;
|
|
3260
|
+
identity_key: z.ZodOptional<z.ZodString>;
|
|
3261
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
3262
|
+
}, "strip", z.ZodTypeAny, {
|
|
3263
|
+
surface: "chat" | "tui" | "cli" | "gateway";
|
|
3264
|
+
platform?: string | undefined;
|
|
3265
|
+
conversation_id?: string | undefined;
|
|
3266
|
+
identity_key?: string | undefined;
|
|
3267
|
+
user_id?: string | undefined;
|
|
3268
|
+
}, {
|
|
3269
|
+
surface: "chat" | "tui" | "cli" | "gateway";
|
|
3270
|
+
platform?: string | undefined;
|
|
3271
|
+
conversation_id?: string | undefined;
|
|
3272
|
+
identity_key?: string | undefined;
|
|
3273
|
+
user_id?: string | undefined;
|
|
3274
|
+
}>>>;
|
|
3275
|
+
failure_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3276
|
+
failure_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3277
|
+
resume_hint: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3278
|
+
tool_name: z.ZodLiteral<"browser_run_workflow">;
|
|
3279
|
+
input_ref: z.ZodOptional<z.ZodString>;
|
|
3280
|
+
task_summary: z.ZodString;
|
|
3281
|
+
}, "strip", z.ZodTypeAny, {
|
|
3282
|
+
tool_name: "browser_run_workflow";
|
|
3283
|
+
task_summary: string;
|
|
3284
|
+
input_ref?: string | undefined;
|
|
3285
|
+
}, {
|
|
3286
|
+
tool_name: "browser_run_workflow";
|
|
3287
|
+
task_summary: string;
|
|
3288
|
+
input_ref?: string | undefined;
|
|
3289
|
+
}>>>;
|
|
3290
|
+
evidence_refs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3291
|
+
kind: z.ZodString;
|
|
3292
|
+
ref: z.ZodString;
|
|
3293
|
+
observed_at: z.ZodOptional<z.ZodString>;
|
|
3294
|
+
}, "strip", z.ZodTypeAny, {
|
|
3295
|
+
kind: string;
|
|
3296
|
+
ref: string;
|
|
3297
|
+
observed_at?: string | undefined;
|
|
3298
|
+
}, {
|
|
3299
|
+
kind: string;
|
|
3300
|
+
ref: string;
|
|
3301
|
+
observed_at?: string | undefined;
|
|
3302
|
+
}>, "many">>;
|
|
3303
|
+
}, "strip", z.ZodTypeAny, {
|
|
3304
|
+
updated_at: string;
|
|
3305
|
+
schema_version: "runtime-auth-handoff-v1";
|
|
3306
|
+
evidence_refs: {
|
|
3307
|
+
kind: string;
|
|
3308
|
+
ref: string;
|
|
3309
|
+
observed_at?: string | undefined;
|
|
3310
|
+
}[];
|
|
3311
|
+
state: "completed" | "cancelled" | "blocked" | "expired" | "in_progress" | "requested" | "superseded" | "pending_operator";
|
|
3312
|
+
provider_id: string;
|
|
3313
|
+
requested_at: string;
|
|
3314
|
+
handoff_id: string;
|
|
3315
|
+
service_key: string;
|
|
3316
|
+
workspace: string;
|
|
3317
|
+
actor_key: string;
|
|
3318
|
+
completed_at?: string | null | undefined;
|
|
3319
|
+
resume_hint?: {
|
|
3320
|
+
tool_name: "browser_run_workflow";
|
|
3321
|
+
task_summary: string;
|
|
3322
|
+
input_ref?: string | undefined;
|
|
3323
|
+
} | null | undefined;
|
|
3324
|
+
expires_at?: string | null | undefined;
|
|
3325
|
+
requested_by?: {
|
|
3326
|
+
surface: "chat" | "tui" | "cli" | "gateway";
|
|
3327
|
+
platform?: string | undefined;
|
|
3328
|
+
conversation_id?: string | undefined;
|
|
3329
|
+
identity_key?: string | undefined;
|
|
3330
|
+
user_id?: string | undefined;
|
|
3331
|
+
} | null | undefined;
|
|
3332
|
+
reply_target?: {
|
|
3333
|
+
metadata?: Record<string, unknown> | undefined;
|
|
3334
|
+
surface?: "chat" | "tui" | "cli" | "gateway" | undefined;
|
|
3335
|
+
platform?: string | undefined;
|
|
3336
|
+
conversation_id?: string | undefined;
|
|
3337
|
+
identity_key?: string | undefined;
|
|
3338
|
+
user_id?: string | undefined;
|
|
3339
|
+
channel?: "web" | "tui" | "cli" | "plugin_gateway" | undefined;
|
|
3340
|
+
message_id?: string | undefined;
|
|
3341
|
+
response_channel?: string | undefined;
|
|
3342
|
+
outbox_topic?: string | undefined;
|
|
3343
|
+
deliveryMode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
3344
|
+
delivery_mode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
3345
|
+
} | null | undefined;
|
|
3346
|
+
browser_session_id?: string | null | undefined;
|
|
3347
|
+
resumable_session_id?: string | null | undefined;
|
|
3348
|
+
supersedes_handoff_id?: string | null | undefined;
|
|
3349
|
+
superseded_by_handoff_id?: string | null | undefined;
|
|
3350
|
+
failure_code?: string | null | undefined;
|
|
3351
|
+
failure_message?: string | null | undefined;
|
|
3352
|
+
}, {
|
|
3353
|
+
updated_at: string;
|
|
3354
|
+
schema_version: "runtime-auth-handoff-v1";
|
|
3355
|
+
state: "completed" | "cancelled" | "blocked" | "expired" | "in_progress" | "requested" | "superseded" | "pending_operator";
|
|
3356
|
+
provider_id: string;
|
|
3357
|
+
requested_at: string;
|
|
3358
|
+
handoff_id: string;
|
|
3359
|
+
service_key: string;
|
|
3360
|
+
workspace: string;
|
|
3361
|
+
actor_key: string;
|
|
3362
|
+
completed_at?: string | null | undefined;
|
|
3363
|
+
evidence_refs?: {
|
|
3364
|
+
kind: string;
|
|
3365
|
+
ref: string;
|
|
3366
|
+
observed_at?: string | undefined;
|
|
3367
|
+
}[] | undefined;
|
|
3368
|
+
resume_hint?: {
|
|
3369
|
+
tool_name: "browser_run_workflow";
|
|
3370
|
+
task_summary: string;
|
|
3371
|
+
input_ref?: string | undefined;
|
|
3372
|
+
} | null | undefined;
|
|
3373
|
+
expires_at?: string | null | undefined;
|
|
3374
|
+
requested_by?: {
|
|
3375
|
+
surface: "chat" | "tui" | "cli" | "gateway";
|
|
3376
|
+
platform?: string | undefined;
|
|
3377
|
+
conversation_id?: string | undefined;
|
|
3378
|
+
identity_key?: string | undefined;
|
|
3379
|
+
user_id?: string | undefined;
|
|
3380
|
+
} | null | undefined;
|
|
3381
|
+
reply_target?: {
|
|
3382
|
+
metadata?: Record<string, unknown> | undefined;
|
|
3383
|
+
surface?: "chat" | "tui" | "cli" | "gateway" | undefined;
|
|
3384
|
+
platform?: string | undefined;
|
|
3385
|
+
conversation_id?: string | undefined;
|
|
3386
|
+
identity_key?: string | undefined;
|
|
3387
|
+
user_id?: string | undefined;
|
|
3388
|
+
channel?: "web" | "tui" | "cli" | "plugin_gateway" | undefined;
|
|
3389
|
+
message_id?: string | undefined;
|
|
3390
|
+
response_channel?: string | undefined;
|
|
3391
|
+
outbox_topic?: string | undefined;
|
|
3392
|
+
deliveryMode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
3393
|
+
delivery_mode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
3394
|
+
} | null | undefined;
|
|
3395
|
+
browser_session_id?: string | null | undefined;
|
|
3396
|
+
resumable_session_id?: string | null | undefined;
|
|
3397
|
+
supersedes_handoff_id?: string | null | undefined;
|
|
3398
|
+
superseded_by_handoff_id?: string | null | undefined;
|
|
3399
|
+
failure_code?: string | null | undefined;
|
|
3400
|
+
failure_message?: string | null | undefined;
|
|
3401
|
+
}>;
|
|
3402
|
+
export type RuntimeAuthHandoffRecord = z.infer<typeof RuntimeAuthHandoffRecordSchema>;
|
|
2625
3403
|
export declare const CircuitBreakerStateSchema: z.ZodEnum<["closed", "open", "half_open", "paused"]>;
|
|
2626
3404
|
export type CircuitBreakerState = z.infer<typeof CircuitBreakerStateSchema>;
|
|
2627
3405
|
export declare const CircuitBreakerRecordSchema: z.ZodObject<{
|
|
@@ -2743,6 +3521,1861 @@ export declare const BackpressureSnapshotSchema: z.ZodObject<{
|
|
|
2743
3521
|
}[] | undefined;
|
|
2744
3522
|
}>;
|
|
2745
3523
|
export type BackpressureSnapshot = z.infer<typeof BackpressureSnapshotSchema>;
|
|
3524
|
+
export declare const RuntimeAutomationSnapshotSchema: z.ZodObject<{
|
|
3525
|
+
schema_version: z.ZodLiteral<"runtime-automation-snapshot-v1">;
|
|
3526
|
+
generated_at: z.ZodString;
|
|
3527
|
+
auth_handoffs: z.ZodObject<{
|
|
3528
|
+
pending: z.ZodArray<z.ZodObject<{
|
|
3529
|
+
schema_version: z.ZodLiteral<"runtime-auth-handoff-v1">;
|
|
3530
|
+
handoff_id: z.ZodString;
|
|
3531
|
+
provider_id: z.ZodString;
|
|
3532
|
+
service_key: z.ZodString;
|
|
3533
|
+
workspace: z.ZodString;
|
|
3534
|
+
actor_key: z.ZodString;
|
|
3535
|
+
state: z.ZodEnum<["requested", "pending_operator", "in_progress", "completed", "cancelled", "expired", "superseded", "blocked"]>;
|
|
3536
|
+
requested_at: z.ZodString;
|
|
3537
|
+
updated_at: z.ZodString;
|
|
3538
|
+
expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3539
|
+
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3540
|
+
browser_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3541
|
+
resumable_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3542
|
+
supersedes_handoff_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3543
|
+
superseded_by_handoff_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3544
|
+
reply_target: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3545
|
+
surface: z.ZodOptional<z.ZodEnum<["chat", "gateway", "cli", "tui"]>>;
|
|
3546
|
+
channel: z.ZodOptional<z.ZodEnum<["tui", "plugin_gateway", "cli", "web"]>>;
|
|
3547
|
+
platform: z.ZodOptional<z.ZodString>;
|
|
3548
|
+
conversation_id: z.ZodOptional<z.ZodString>;
|
|
3549
|
+
message_id: z.ZodOptional<z.ZodString>;
|
|
3550
|
+
response_channel: z.ZodOptional<z.ZodString>;
|
|
3551
|
+
outbox_topic: z.ZodOptional<z.ZodString>;
|
|
3552
|
+
identity_key: z.ZodOptional<z.ZodString>;
|
|
3553
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
3554
|
+
deliveryMode: z.ZodOptional<z.ZodEnum<["reply", "notify", "thread_reply"]>>;
|
|
3555
|
+
delivery_mode: z.ZodOptional<z.ZodEnum<["reply", "notify", "thread_reply"]>>;
|
|
3556
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3557
|
+
}, "strip", z.ZodTypeAny, {
|
|
3558
|
+
metadata?: Record<string, unknown> | undefined;
|
|
3559
|
+
surface?: "chat" | "tui" | "cli" | "gateway" | undefined;
|
|
3560
|
+
platform?: string | undefined;
|
|
3561
|
+
conversation_id?: string | undefined;
|
|
3562
|
+
identity_key?: string | undefined;
|
|
3563
|
+
user_id?: string | undefined;
|
|
3564
|
+
channel?: "web" | "tui" | "cli" | "plugin_gateway" | undefined;
|
|
3565
|
+
message_id?: string | undefined;
|
|
3566
|
+
response_channel?: string | undefined;
|
|
3567
|
+
outbox_topic?: string | undefined;
|
|
3568
|
+
deliveryMode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
3569
|
+
delivery_mode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
3570
|
+
}, {
|
|
3571
|
+
metadata?: Record<string, unknown> | undefined;
|
|
3572
|
+
surface?: "chat" | "tui" | "cli" | "gateway" | undefined;
|
|
3573
|
+
platform?: string | undefined;
|
|
3574
|
+
conversation_id?: string | undefined;
|
|
3575
|
+
identity_key?: string | undefined;
|
|
3576
|
+
user_id?: string | undefined;
|
|
3577
|
+
channel?: "web" | "tui" | "cli" | "plugin_gateway" | undefined;
|
|
3578
|
+
message_id?: string | undefined;
|
|
3579
|
+
response_channel?: string | undefined;
|
|
3580
|
+
outbox_topic?: string | undefined;
|
|
3581
|
+
deliveryMode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
3582
|
+
delivery_mode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
3583
|
+
}>>>;
|
|
3584
|
+
requested_by: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3585
|
+
surface: z.ZodEnum<["chat", "gateway", "cli", "tui"]>;
|
|
3586
|
+
platform: z.ZodOptional<z.ZodString>;
|
|
3587
|
+
conversation_id: z.ZodOptional<z.ZodString>;
|
|
3588
|
+
identity_key: z.ZodOptional<z.ZodString>;
|
|
3589
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
3590
|
+
}, "strip", z.ZodTypeAny, {
|
|
3591
|
+
surface: "chat" | "tui" | "cli" | "gateway";
|
|
3592
|
+
platform?: string | undefined;
|
|
3593
|
+
conversation_id?: string | undefined;
|
|
3594
|
+
identity_key?: string | undefined;
|
|
3595
|
+
user_id?: string | undefined;
|
|
3596
|
+
}, {
|
|
3597
|
+
surface: "chat" | "tui" | "cli" | "gateway";
|
|
3598
|
+
platform?: string | undefined;
|
|
3599
|
+
conversation_id?: string | undefined;
|
|
3600
|
+
identity_key?: string | undefined;
|
|
3601
|
+
user_id?: string | undefined;
|
|
3602
|
+
}>>>;
|
|
3603
|
+
failure_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3604
|
+
failure_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3605
|
+
resume_hint: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3606
|
+
tool_name: z.ZodLiteral<"browser_run_workflow">;
|
|
3607
|
+
input_ref: z.ZodOptional<z.ZodString>;
|
|
3608
|
+
task_summary: z.ZodString;
|
|
3609
|
+
}, "strip", z.ZodTypeAny, {
|
|
3610
|
+
tool_name: "browser_run_workflow";
|
|
3611
|
+
task_summary: string;
|
|
3612
|
+
input_ref?: string | undefined;
|
|
3613
|
+
}, {
|
|
3614
|
+
tool_name: "browser_run_workflow";
|
|
3615
|
+
task_summary: string;
|
|
3616
|
+
input_ref?: string | undefined;
|
|
3617
|
+
}>>>;
|
|
3618
|
+
evidence_refs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3619
|
+
kind: z.ZodString;
|
|
3620
|
+
ref: z.ZodString;
|
|
3621
|
+
observed_at: z.ZodOptional<z.ZodString>;
|
|
3622
|
+
}, "strip", z.ZodTypeAny, {
|
|
3623
|
+
kind: string;
|
|
3624
|
+
ref: string;
|
|
3625
|
+
observed_at?: string | undefined;
|
|
3626
|
+
}, {
|
|
3627
|
+
kind: string;
|
|
3628
|
+
ref: string;
|
|
3629
|
+
observed_at?: string | undefined;
|
|
3630
|
+
}>, "many">>;
|
|
3631
|
+
}, "strip", z.ZodTypeAny, {
|
|
3632
|
+
updated_at: string;
|
|
3633
|
+
schema_version: "runtime-auth-handoff-v1";
|
|
3634
|
+
evidence_refs: {
|
|
3635
|
+
kind: string;
|
|
3636
|
+
ref: string;
|
|
3637
|
+
observed_at?: string | undefined;
|
|
3638
|
+
}[];
|
|
3639
|
+
state: "completed" | "cancelled" | "blocked" | "expired" | "in_progress" | "requested" | "superseded" | "pending_operator";
|
|
3640
|
+
provider_id: string;
|
|
3641
|
+
requested_at: string;
|
|
3642
|
+
handoff_id: string;
|
|
3643
|
+
service_key: string;
|
|
3644
|
+
workspace: string;
|
|
3645
|
+
actor_key: string;
|
|
3646
|
+
completed_at?: string | null | undefined;
|
|
3647
|
+
resume_hint?: {
|
|
3648
|
+
tool_name: "browser_run_workflow";
|
|
3649
|
+
task_summary: string;
|
|
3650
|
+
input_ref?: string | undefined;
|
|
3651
|
+
} | null | undefined;
|
|
3652
|
+
expires_at?: string | null | undefined;
|
|
3653
|
+
requested_by?: {
|
|
3654
|
+
surface: "chat" | "tui" | "cli" | "gateway";
|
|
3655
|
+
platform?: string | undefined;
|
|
3656
|
+
conversation_id?: string | undefined;
|
|
3657
|
+
identity_key?: string | undefined;
|
|
3658
|
+
user_id?: string | undefined;
|
|
3659
|
+
} | null | undefined;
|
|
3660
|
+
reply_target?: {
|
|
3661
|
+
metadata?: Record<string, unknown> | undefined;
|
|
3662
|
+
surface?: "chat" | "tui" | "cli" | "gateway" | undefined;
|
|
3663
|
+
platform?: string | undefined;
|
|
3664
|
+
conversation_id?: string | undefined;
|
|
3665
|
+
identity_key?: string | undefined;
|
|
3666
|
+
user_id?: string | undefined;
|
|
3667
|
+
channel?: "web" | "tui" | "cli" | "plugin_gateway" | undefined;
|
|
3668
|
+
message_id?: string | undefined;
|
|
3669
|
+
response_channel?: string | undefined;
|
|
3670
|
+
outbox_topic?: string | undefined;
|
|
3671
|
+
deliveryMode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
3672
|
+
delivery_mode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
3673
|
+
} | null | undefined;
|
|
3674
|
+
browser_session_id?: string | null | undefined;
|
|
3675
|
+
resumable_session_id?: string | null | undefined;
|
|
3676
|
+
supersedes_handoff_id?: string | null | undefined;
|
|
3677
|
+
superseded_by_handoff_id?: string | null | undefined;
|
|
3678
|
+
failure_code?: string | null | undefined;
|
|
3679
|
+
failure_message?: string | null | undefined;
|
|
3680
|
+
}, {
|
|
3681
|
+
updated_at: string;
|
|
3682
|
+
schema_version: "runtime-auth-handoff-v1";
|
|
3683
|
+
state: "completed" | "cancelled" | "blocked" | "expired" | "in_progress" | "requested" | "superseded" | "pending_operator";
|
|
3684
|
+
provider_id: string;
|
|
3685
|
+
requested_at: string;
|
|
3686
|
+
handoff_id: string;
|
|
3687
|
+
service_key: string;
|
|
3688
|
+
workspace: string;
|
|
3689
|
+
actor_key: string;
|
|
3690
|
+
completed_at?: string | null | undefined;
|
|
3691
|
+
evidence_refs?: {
|
|
3692
|
+
kind: string;
|
|
3693
|
+
ref: string;
|
|
3694
|
+
observed_at?: string | undefined;
|
|
3695
|
+
}[] | undefined;
|
|
3696
|
+
resume_hint?: {
|
|
3697
|
+
tool_name: "browser_run_workflow";
|
|
3698
|
+
task_summary: string;
|
|
3699
|
+
input_ref?: string | undefined;
|
|
3700
|
+
} | null | undefined;
|
|
3701
|
+
expires_at?: string | null | undefined;
|
|
3702
|
+
requested_by?: {
|
|
3703
|
+
surface: "chat" | "tui" | "cli" | "gateway";
|
|
3704
|
+
platform?: string | undefined;
|
|
3705
|
+
conversation_id?: string | undefined;
|
|
3706
|
+
identity_key?: string | undefined;
|
|
3707
|
+
user_id?: string | undefined;
|
|
3708
|
+
} | null | undefined;
|
|
3709
|
+
reply_target?: {
|
|
3710
|
+
metadata?: Record<string, unknown> | undefined;
|
|
3711
|
+
surface?: "chat" | "tui" | "cli" | "gateway" | undefined;
|
|
3712
|
+
platform?: string | undefined;
|
|
3713
|
+
conversation_id?: string | undefined;
|
|
3714
|
+
identity_key?: string | undefined;
|
|
3715
|
+
user_id?: string | undefined;
|
|
3716
|
+
channel?: "web" | "tui" | "cli" | "plugin_gateway" | undefined;
|
|
3717
|
+
message_id?: string | undefined;
|
|
3718
|
+
response_channel?: string | undefined;
|
|
3719
|
+
outbox_topic?: string | undefined;
|
|
3720
|
+
deliveryMode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
3721
|
+
delivery_mode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
3722
|
+
} | null | undefined;
|
|
3723
|
+
browser_session_id?: string | null | undefined;
|
|
3724
|
+
resumable_session_id?: string | null | undefined;
|
|
3725
|
+
supersedes_handoff_id?: string | null | undefined;
|
|
3726
|
+
superseded_by_handoff_id?: string | null | undefined;
|
|
3727
|
+
failure_code?: string | null | undefined;
|
|
3728
|
+
failure_message?: string | null | undefined;
|
|
3729
|
+
}>, "many">;
|
|
3730
|
+
stale: z.ZodArray<z.ZodObject<{
|
|
3731
|
+
schema_version: z.ZodLiteral<"runtime-auth-handoff-v1">;
|
|
3732
|
+
handoff_id: z.ZodString;
|
|
3733
|
+
provider_id: z.ZodString;
|
|
3734
|
+
service_key: z.ZodString;
|
|
3735
|
+
workspace: z.ZodString;
|
|
3736
|
+
actor_key: z.ZodString;
|
|
3737
|
+
state: z.ZodEnum<["requested", "pending_operator", "in_progress", "completed", "cancelled", "expired", "superseded", "blocked"]>;
|
|
3738
|
+
requested_at: z.ZodString;
|
|
3739
|
+
updated_at: z.ZodString;
|
|
3740
|
+
expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3741
|
+
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3742
|
+
browser_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3743
|
+
resumable_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3744
|
+
supersedes_handoff_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3745
|
+
superseded_by_handoff_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3746
|
+
reply_target: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3747
|
+
surface: z.ZodOptional<z.ZodEnum<["chat", "gateway", "cli", "tui"]>>;
|
|
3748
|
+
channel: z.ZodOptional<z.ZodEnum<["tui", "plugin_gateway", "cli", "web"]>>;
|
|
3749
|
+
platform: z.ZodOptional<z.ZodString>;
|
|
3750
|
+
conversation_id: z.ZodOptional<z.ZodString>;
|
|
3751
|
+
message_id: z.ZodOptional<z.ZodString>;
|
|
3752
|
+
response_channel: z.ZodOptional<z.ZodString>;
|
|
3753
|
+
outbox_topic: z.ZodOptional<z.ZodString>;
|
|
3754
|
+
identity_key: z.ZodOptional<z.ZodString>;
|
|
3755
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
3756
|
+
deliveryMode: z.ZodOptional<z.ZodEnum<["reply", "notify", "thread_reply"]>>;
|
|
3757
|
+
delivery_mode: z.ZodOptional<z.ZodEnum<["reply", "notify", "thread_reply"]>>;
|
|
3758
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3759
|
+
}, "strip", z.ZodTypeAny, {
|
|
3760
|
+
metadata?: Record<string, unknown> | undefined;
|
|
3761
|
+
surface?: "chat" | "tui" | "cli" | "gateway" | undefined;
|
|
3762
|
+
platform?: string | undefined;
|
|
3763
|
+
conversation_id?: string | undefined;
|
|
3764
|
+
identity_key?: string | undefined;
|
|
3765
|
+
user_id?: string | undefined;
|
|
3766
|
+
channel?: "web" | "tui" | "cli" | "plugin_gateway" | undefined;
|
|
3767
|
+
message_id?: string | undefined;
|
|
3768
|
+
response_channel?: string | undefined;
|
|
3769
|
+
outbox_topic?: string | undefined;
|
|
3770
|
+
deliveryMode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
3771
|
+
delivery_mode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
3772
|
+
}, {
|
|
3773
|
+
metadata?: Record<string, unknown> | undefined;
|
|
3774
|
+
surface?: "chat" | "tui" | "cli" | "gateway" | undefined;
|
|
3775
|
+
platform?: string | undefined;
|
|
3776
|
+
conversation_id?: string | undefined;
|
|
3777
|
+
identity_key?: string | undefined;
|
|
3778
|
+
user_id?: string | undefined;
|
|
3779
|
+
channel?: "web" | "tui" | "cli" | "plugin_gateway" | undefined;
|
|
3780
|
+
message_id?: string | undefined;
|
|
3781
|
+
response_channel?: string | undefined;
|
|
3782
|
+
outbox_topic?: string | undefined;
|
|
3783
|
+
deliveryMode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
3784
|
+
delivery_mode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
3785
|
+
}>>>;
|
|
3786
|
+
requested_by: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3787
|
+
surface: z.ZodEnum<["chat", "gateway", "cli", "tui"]>;
|
|
3788
|
+
platform: z.ZodOptional<z.ZodString>;
|
|
3789
|
+
conversation_id: z.ZodOptional<z.ZodString>;
|
|
3790
|
+
identity_key: z.ZodOptional<z.ZodString>;
|
|
3791
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
3792
|
+
}, "strip", z.ZodTypeAny, {
|
|
3793
|
+
surface: "chat" | "tui" | "cli" | "gateway";
|
|
3794
|
+
platform?: string | undefined;
|
|
3795
|
+
conversation_id?: string | undefined;
|
|
3796
|
+
identity_key?: string | undefined;
|
|
3797
|
+
user_id?: string | undefined;
|
|
3798
|
+
}, {
|
|
3799
|
+
surface: "chat" | "tui" | "cli" | "gateway";
|
|
3800
|
+
platform?: string | undefined;
|
|
3801
|
+
conversation_id?: string | undefined;
|
|
3802
|
+
identity_key?: string | undefined;
|
|
3803
|
+
user_id?: string | undefined;
|
|
3804
|
+
}>>>;
|
|
3805
|
+
failure_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3806
|
+
failure_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3807
|
+
resume_hint: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3808
|
+
tool_name: z.ZodLiteral<"browser_run_workflow">;
|
|
3809
|
+
input_ref: z.ZodOptional<z.ZodString>;
|
|
3810
|
+
task_summary: z.ZodString;
|
|
3811
|
+
}, "strip", z.ZodTypeAny, {
|
|
3812
|
+
tool_name: "browser_run_workflow";
|
|
3813
|
+
task_summary: string;
|
|
3814
|
+
input_ref?: string | undefined;
|
|
3815
|
+
}, {
|
|
3816
|
+
tool_name: "browser_run_workflow";
|
|
3817
|
+
task_summary: string;
|
|
3818
|
+
input_ref?: string | undefined;
|
|
3819
|
+
}>>>;
|
|
3820
|
+
evidence_refs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
3821
|
+
kind: z.ZodString;
|
|
3822
|
+
ref: z.ZodString;
|
|
3823
|
+
observed_at: z.ZodOptional<z.ZodString>;
|
|
3824
|
+
}, "strip", z.ZodTypeAny, {
|
|
3825
|
+
kind: string;
|
|
3826
|
+
ref: string;
|
|
3827
|
+
observed_at?: string | undefined;
|
|
3828
|
+
}, {
|
|
3829
|
+
kind: string;
|
|
3830
|
+
ref: string;
|
|
3831
|
+
observed_at?: string | undefined;
|
|
3832
|
+
}>, "many">>;
|
|
3833
|
+
}, "strip", z.ZodTypeAny, {
|
|
3834
|
+
updated_at: string;
|
|
3835
|
+
schema_version: "runtime-auth-handoff-v1";
|
|
3836
|
+
evidence_refs: {
|
|
3837
|
+
kind: string;
|
|
3838
|
+
ref: string;
|
|
3839
|
+
observed_at?: string | undefined;
|
|
3840
|
+
}[];
|
|
3841
|
+
state: "completed" | "cancelled" | "blocked" | "expired" | "in_progress" | "requested" | "superseded" | "pending_operator";
|
|
3842
|
+
provider_id: string;
|
|
3843
|
+
requested_at: string;
|
|
3844
|
+
handoff_id: string;
|
|
3845
|
+
service_key: string;
|
|
3846
|
+
workspace: string;
|
|
3847
|
+
actor_key: string;
|
|
3848
|
+
completed_at?: string | null | undefined;
|
|
3849
|
+
resume_hint?: {
|
|
3850
|
+
tool_name: "browser_run_workflow";
|
|
3851
|
+
task_summary: string;
|
|
3852
|
+
input_ref?: string | undefined;
|
|
3853
|
+
} | null | undefined;
|
|
3854
|
+
expires_at?: string | null | undefined;
|
|
3855
|
+
requested_by?: {
|
|
3856
|
+
surface: "chat" | "tui" | "cli" | "gateway";
|
|
3857
|
+
platform?: string | undefined;
|
|
3858
|
+
conversation_id?: string | undefined;
|
|
3859
|
+
identity_key?: string | undefined;
|
|
3860
|
+
user_id?: string | undefined;
|
|
3861
|
+
} | null | undefined;
|
|
3862
|
+
reply_target?: {
|
|
3863
|
+
metadata?: Record<string, unknown> | undefined;
|
|
3864
|
+
surface?: "chat" | "tui" | "cli" | "gateway" | undefined;
|
|
3865
|
+
platform?: string | undefined;
|
|
3866
|
+
conversation_id?: string | undefined;
|
|
3867
|
+
identity_key?: string | undefined;
|
|
3868
|
+
user_id?: string | undefined;
|
|
3869
|
+
channel?: "web" | "tui" | "cli" | "plugin_gateway" | undefined;
|
|
3870
|
+
message_id?: string | undefined;
|
|
3871
|
+
response_channel?: string | undefined;
|
|
3872
|
+
outbox_topic?: string | undefined;
|
|
3873
|
+
deliveryMode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
3874
|
+
delivery_mode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
3875
|
+
} | null | undefined;
|
|
3876
|
+
browser_session_id?: string | null | undefined;
|
|
3877
|
+
resumable_session_id?: string | null | undefined;
|
|
3878
|
+
supersedes_handoff_id?: string | null | undefined;
|
|
3879
|
+
superseded_by_handoff_id?: string | null | undefined;
|
|
3880
|
+
failure_code?: string | null | undefined;
|
|
3881
|
+
failure_message?: string | null | undefined;
|
|
3882
|
+
}, {
|
|
3883
|
+
updated_at: string;
|
|
3884
|
+
schema_version: "runtime-auth-handoff-v1";
|
|
3885
|
+
state: "completed" | "cancelled" | "blocked" | "expired" | "in_progress" | "requested" | "superseded" | "pending_operator";
|
|
3886
|
+
provider_id: string;
|
|
3887
|
+
requested_at: string;
|
|
3888
|
+
handoff_id: string;
|
|
3889
|
+
service_key: string;
|
|
3890
|
+
workspace: string;
|
|
3891
|
+
actor_key: string;
|
|
3892
|
+
completed_at?: string | null | undefined;
|
|
3893
|
+
evidence_refs?: {
|
|
3894
|
+
kind: string;
|
|
3895
|
+
ref: string;
|
|
3896
|
+
observed_at?: string | undefined;
|
|
3897
|
+
}[] | undefined;
|
|
3898
|
+
resume_hint?: {
|
|
3899
|
+
tool_name: "browser_run_workflow";
|
|
3900
|
+
task_summary: string;
|
|
3901
|
+
input_ref?: string | undefined;
|
|
3902
|
+
} | null | undefined;
|
|
3903
|
+
expires_at?: string | null | undefined;
|
|
3904
|
+
requested_by?: {
|
|
3905
|
+
surface: "chat" | "tui" | "cli" | "gateway";
|
|
3906
|
+
platform?: string | undefined;
|
|
3907
|
+
conversation_id?: string | undefined;
|
|
3908
|
+
identity_key?: string | undefined;
|
|
3909
|
+
user_id?: string | undefined;
|
|
3910
|
+
} | null | undefined;
|
|
3911
|
+
reply_target?: {
|
|
3912
|
+
metadata?: Record<string, unknown> | undefined;
|
|
3913
|
+
surface?: "chat" | "tui" | "cli" | "gateway" | undefined;
|
|
3914
|
+
platform?: string | undefined;
|
|
3915
|
+
conversation_id?: string | undefined;
|
|
3916
|
+
identity_key?: string | undefined;
|
|
3917
|
+
user_id?: string | undefined;
|
|
3918
|
+
channel?: "web" | "tui" | "cli" | "plugin_gateway" | undefined;
|
|
3919
|
+
message_id?: string | undefined;
|
|
3920
|
+
response_channel?: string | undefined;
|
|
3921
|
+
outbox_topic?: string | undefined;
|
|
3922
|
+
deliveryMode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
3923
|
+
delivery_mode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
3924
|
+
} | null | undefined;
|
|
3925
|
+
browser_session_id?: string | null | undefined;
|
|
3926
|
+
resumable_session_id?: string | null | undefined;
|
|
3927
|
+
supersedes_handoff_id?: string | null | undefined;
|
|
3928
|
+
superseded_by_handoff_id?: string | null | undefined;
|
|
3929
|
+
failure_code?: string | null | undefined;
|
|
3930
|
+
failure_message?: string | null | undefined;
|
|
3931
|
+
}>, "many">;
|
|
3932
|
+
recent_terminal: z.ZodArray<z.ZodObject<{
|
|
3933
|
+
schema_version: z.ZodLiteral<"runtime-auth-handoff-v1">;
|
|
3934
|
+
handoff_id: z.ZodString;
|
|
3935
|
+
provider_id: z.ZodString;
|
|
3936
|
+
service_key: z.ZodString;
|
|
3937
|
+
workspace: z.ZodString;
|
|
3938
|
+
actor_key: z.ZodString;
|
|
3939
|
+
state: z.ZodEnum<["requested", "pending_operator", "in_progress", "completed", "cancelled", "expired", "superseded", "blocked"]>;
|
|
3940
|
+
requested_at: z.ZodString;
|
|
3941
|
+
updated_at: z.ZodString;
|
|
3942
|
+
expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3943
|
+
completed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3944
|
+
browser_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3945
|
+
resumable_session_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3946
|
+
supersedes_handoff_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3947
|
+
superseded_by_handoff_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3948
|
+
reply_target: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3949
|
+
surface: z.ZodOptional<z.ZodEnum<["chat", "gateway", "cli", "tui"]>>;
|
|
3950
|
+
channel: z.ZodOptional<z.ZodEnum<["tui", "plugin_gateway", "cli", "web"]>>;
|
|
3951
|
+
platform: z.ZodOptional<z.ZodString>;
|
|
3952
|
+
conversation_id: z.ZodOptional<z.ZodString>;
|
|
3953
|
+
message_id: z.ZodOptional<z.ZodString>;
|
|
3954
|
+
response_channel: z.ZodOptional<z.ZodString>;
|
|
3955
|
+
outbox_topic: z.ZodOptional<z.ZodString>;
|
|
3956
|
+
identity_key: z.ZodOptional<z.ZodString>;
|
|
3957
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
3958
|
+
deliveryMode: z.ZodOptional<z.ZodEnum<["reply", "notify", "thread_reply"]>>;
|
|
3959
|
+
delivery_mode: z.ZodOptional<z.ZodEnum<["reply", "notify", "thread_reply"]>>;
|
|
3960
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3961
|
+
}, "strip", z.ZodTypeAny, {
|
|
3962
|
+
metadata?: Record<string, unknown> | undefined;
|
|
3963
|
+
surface?: "chat" | "tui" | "cli" | "gateway" | undefined;
|
|
3964
|
+
platform?: string | undefined;
|
|
3965
|
+
conversation_id?: string | undefined;
|
|
3966
|
+
identity_key?: string | undefined;
|
|
3967
|
+
user_id?: string | undefined;
|
|
3968
|
+
channel?: "web" | "tui" | "cli" | "plugin_gateway" | undefined;
|
|
3969
|
+
message_id?: string | undefined;
|
|
3970
|
+
response_channel?: string | undefined;
|
|
3971
|
+
outbox_topic?: string | undefined;
|
|
3972
|
+
deliveryMode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
3973
|
+
delivery_mode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
3974
|
+
}, {
|
|
3975
|
+
metadata?: Record<string, unknown> | undefined;
|
|
3976
|
+
surface?: "chat" | "tui" | "cli" | "gateway" | undefined;
|
|
3977
|
+
platform?: string | undefined;
|
|
3978
|
+
conversation_id?: string | undefined;
|
|
3979
|
+
identity_key?: string | undefined;
|
|
3980
|
+
user_id?: string | undefined;
|
|
3981
|
+
channel?: "web" | "tui" | "cli" | "plugin_gateway" | undefined;
|
|
3982
|
+
message_id?: string | undefined;
|
|
3983
|
+
response_channel?: string | undefined;
|
|
3984
|
+
outbox_topic?: string | undefined;
|
|
3985
|
+
deliveryMode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
3986
|
+
delivery_mode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
3987
|
+
}>>>;
|
|
3988
|
+
requested_by: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3989
|
+
surface: z.ZodEnum<["chat", "gateway", "cli", "tui"]>;
|
|
3990
|
+
platform: z.ZodOptional<z.ZodString>;
|
|
3991
|
+
conversation_id: z.ZodOptional<z.ZodString>;
|
|
3992
|
+
identity_key: z.ZodOptional<z.ZodString>;
|
|
3993
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
3994
|
+
}, "strip", z.ZodTypeAny, {
|
|
3995
|
+
surface: "chat" | "tui" | "cli" | "gateway";
|
|
3996
|
+
platform?: string | undefined;
|
|
3997
|
+
conversation_id?: string | undefined;
|
|
3998
|
+
identity_key?: string | undefined;
|
|
3999
|
+
user_id?: string | undefined;
|
|
4000
|
+
}, {
|
|
4001
|
+
surface: "chat" | "tui" | "cli" | "gateway";
|
|
4002
|
+
platform?: string | undefined;
|
|
4003
|
+
conversation_id?: string | undefined;
|
|
4004
|
+
identity_key?: string | undefined;
|
|
4005
|
+
user_id?: string | undefined;
|
|
4006
|
+
}>>>;
|
|
4007
|
+
failure_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4008
|
+
failure_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4009
|
+
resume_hint: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4010
|
+
tool_name: z.ZodLiteral<"browser_run_workflow">;
|
|
4011
|
+
input_ref: z.ZodOptional<z.ZodString>;
|
|
4012
|
+
task_summary: z.ZodString;
|
|
4013
|
+
}, "strip", z.ZodTypeAny, {
|
|
4014
|
+
tool_name: "browser_run_workflow";
|
|
4015
|
+
task_summary: string;
|
|
4016
|
+
input_ref?: string | undefined;
|
|
4017
|
+
}, {
|
|
4018
|
+
tool_name: "browser_run_workflow";
|
|
4019
|
+
task_summary: string;
|
|
4020
|
+
input_ref?: string | undefined;
|
|
4021
|
+
}>>>;
|
|
4022
|
+
evidence_refs: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
4023
|
+
kind: z.ZodString;
|
|
4024
|
+
ref: z.ZodString;
|
|
4025
|
+
observed_at: z.ZodOptional<z.ZodString>;
|
|
4026
|
+
}, "strip", z.ZodTypeAny, {
|
|
4027
|
+
kind: string;
|
|
4028
|
+
ref: string;
|
|
4029
|
+
observed_at?: string | undefined;
|
|
4030
|
+
}, {
|
|
4031
|
+
kind: string;
|
|
4032
|
+
ref: string;
|
|
4033
|
+
observed_at?: string | undefined;
|
|
4034
|
+
}>, "many">>;
|
|
4035
|
+
}, "strip", z.ZodTypeAny, {
|
|
4036
|
+
updated_at: string;
|
|
4037
|
+
schema_version: "runtime-auth-handoff-v1";
|
|
4038
|
+
evidence_refs: {
|
|
4039
|
+
kind: string;
|
|
4040
|
+
ref: string;
|
|
4041
|
+
observed_at?: string | undefined;
|
|
4042
|
+
}[];
|
|
4043
|
+
state: "completed" | "cancelled" | "blocked" | "expired" | "in_progress" | "requested" | "superseded" | "pending_operator";
|
|
4044
|
+
provider_id: string;
|
|
4045
|
+
requested_at: string;
|
|
4046
|
+
handoff_id: string;
|
|
4047
|
+
service_key: string;
|
|
4048
|
+
workspace: string;
|
|
4049
|
+
actor_key: string;
|
|
4050
|
+
completed_at?: string | null | undefined;
|
|
4051
|
+
resume_hint?: {
|
|
4052
|
+
tool_name: "browser_run_workflow";
|
|
4053
|
+
task_summary: string;
|
|
4054
|
+
input_ref?: string | undefined;
|
|
4055
|
+
} | null | undefined;
|
|
4056
|
+
expires_at?: string | null | undefined;
|
|
4057
|
+
requested_by?: {
|
|
4058
|
+
surface: "chat" | "tui" | "cli" | "gateway";
|
|
4059
|
+
platform?: string | undefined;
|
|
4060
|
+
conversation_id?: string | undefined;
|
|
4061
|
+
identity_key?: string | undefined;
|
|
4062
|
+
user_id?: string | undefined;
|
|
4063
|
+
} | null | undefined;
|
|
4064
|
+
reply_target?: {
|
|
4065
|
+
metadata?: Record<string, unknown> | undefined;
|
|
4066
|
+
surface?: "chat" | "tui" | "cli" | "gateway" | undefined;
|
|
4067
|
+
platform?: string | undefined;
|
|
4068
|
+
conversation_id?: string | undefined;
|
|
4069
|
+
identity_key?: string | undefined;
|
|
4070
|
+
user_id?: string | undefined;
|
|
4071
|
+
channel?: "web" | "tui" | "cli" | "plugin_gateway" | undefined;
|
|
4072
|
+
message_id?: string | undefined;
|
|
4073
|
+
response_channel?: string | undefined;
|
|
4074
|
+
outbox_topic?: string | undefined;
|
|
4075
|
+
deliveryMode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
4076
|
+
delivery_mode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
4077
|
+
} | null | undefined;
|
|
4078
|
+
browser_session_id?: string | null | undefined;
|
|
4079
|
+
resumable_session_id?: string | null | undefined;
|
|
4080
|
+
supersedes_handoff_id?: string | null | undefined;
|
|
4081
|
+
superseded_by_handoff_id?: string | null | undefined;
|
|
4082
|
+
failure_code?: string | null | undefined;
|
|
4083
|
+
failure_message?: string | null | undefined;
|
|
4084
|
+
}, {
|
|
4085
|
+
updated_at: string;
|
|
4086
|
+
schema_version: "runtime-auth-handoff-v1";
|
|
4087
|
+
state: "completed" | "cancelled" | "blocked" | "expired" | "in_progress" | "requested" | "superseded" | "pending_operator";
|
|
4088
|
+
provider_id: string;
|
|
4089
|
+
requested_at: string;
|
|
4090
|
+
handoff_id: string;
|
|
4091
|
+
service_key: string;
|
|
4092
|
+
workspace: string;
|
|
4093
|
+
actor_key: string;
|
|
4094
|
+
completed_at?: string | null | undefined;
|
|
4095
|
+
evidence_refs?: {
|
|
4096
|
+
kind: string;
|
|
4097
|
+
ref: string;
|
|
4098
|
+
observed_at?: string | undefined;
|
|
4099
|
+
}[] | undefined;
|
|
4100
|
+
resume_hint?: {
|
|
4101
|
+
tool_name: "browser_run_workflow";
|
|
4102
|
+
task_summary: string;
|
|
4103
|
+
input_ref?: string | undefined;
|
|
4104
|
+
} | null | undefined;
|
|
4105
|
+
expires_at?: string | null | undefined;
|
|
4106
|
+
requested_by?: {
|
|
4107
|
+
surface: "chat" | "tui" | "cli" | "gateway";
|
|
4108
|
+
platform?: string | undefined;
|
|
4109
|
+
conversation_id?: string | undefined;
|
|
4110
|
+
identity_key?: string | undefined;
|
|
4111
|
+
user_id?: string | undefined;
|
|
4112
|
+
} | null | undefined;
|
|
4113
|
+
reply_target?: {
|
|
4114
|
+
metadata?: Record<string, unknown> | undefined;
|
|
4115
|
+
surface?: "chat" | "tui" | "cli" | "gateway" | undefined;
|
|
4116
|
+
platform?: string | undefined;
|
|
4117
|
+
conversation_id?: string | undefined;
|
|
4118
|
+
identity_key?: string | undefined;
|
|
4119
|
+
user_id?: string | undefined;
|
|
4120
|
+
channel?: "web" | "tui" | "cli" | "plugin_gateway" | undefined;
|
|
4121
|
+
message_id?: string | undefined;
|
|
4122
|
+
response_channel?: string | undefined;
|
|
4123
|
+
outbox_topic?: string | undefined;
|
|
4124
|
+
deliveryMode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
4125
|
+
delivery_mode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
4126
|
+
} | null | undefined;
|
|
4127
|
+
browser_session_id?: string | null | undefined;
|
|
4128
|
+
resumable_session_id?: string | null | undefined;
|
|
4129
|
+
supersedes_handoff_id?: string | null | undefined;
|
|
4130
|
+
superseded_by_handoff_id?: string | null | undefined;
|
|
4131
|
+
failure_code?: string | null | undefined;
|
|
4132
|
+
failure_message?: string | null | undefined;
|
|
4133
|
+
}>, "many">;
|
|
4134
|
+
}, "strip", z.ZodTypeAny, {
|
|
4135
|
+
pending: {
|
|
4136
|
+
updated_at: string;
|
|
4137
|
+
schema_version: "runtime-auth-handoff-v1";
|
|
4138
|
+
evidence_refs: {
|
|
4139
|
+
kind: string;
|
|
4140
|
+
ref: string;
|
|
4141
|
+
observed_at?: string | undefined;
|
|
4142
|
+
}[];
|
|
4143
|
+
state: "completed" | "cancelled" | "blocked" | "expired" | "in_progress" | "requested" | "superseded" | "pending_operator";
|
|
4144
|
+
provider_id: string;
|
|
4145
|
+
requested_at: string;
|
|
4146
|
+
handoff_id: string;
|
|
4147
|
+
service_key: string;
|
|
4148
|
+
workspace: string;
|
|
4149
|
+
actor_key: string;
|
|
4150
|
+
completed_at?: string | null | undefined;
|
|
4151
|
+
resume_hint?: {
|
|
4152
|
+
tool_name: "browser_run_workflow";
|
|
4153
|
+
task_summary: string;
|
|
4154
|
+
input_ref?: string | undefined;
|
|
4155
|
+
} | null | undefined;
|
|
4156
|
+
expires_at?: string | null | undefined;
|
|
4157
|
+
requested_by?: {
|
|
4158
|
+
surface: "chat" | "tui" | "cli" | "gateway";
|
|
4159
|
+
platform?: string | undefined;
|
|
4160
|
+
conversation_id?: string | undefined;
|
|
4161
|
+
identity_key?: string | undefined;
|
|
4162
|
+
user_id?: string | undefined;
|
|
4163
|
+
} | null | undefined;
|
|
4164
|
+
reply_target?: {
|
|
4165
|
+
metadata?: Record<string, unknown> | undefined;
|
|
4166
|
+
surface?: "chat" | "tui" | "cli" | "gateway" | undefined;
|
|
4167
|
+
platform?: string | undefined;
|
|
4168
|
+
conversation_id?: string | undefined;
|
|
4169
|
+
identity_key?: string | undefined;
|
|
4170
|
+
user_id?: string | undefined;
|
|
4171
|
+
channel?: "web" | "tui" | "cli" | "plugin_gateway" | undefined;
|
|
4172
|
+
message_id?: string | undefined;
|
|
4173
|
+
response_channel?: string | undefined;
|
|
4174
|
+
outbox_topic?: string | undefined;
|
|
4175
|
+
deliveryMode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
4176
|
+
delivery_mode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
4177
|
+
} | null | undefined;
|
|
4178
|
+
browser_session_id?: string | null | undefined;
|
|
4179
|
+
resumable_session_id?: string | null | undefined;
|
|
4180
|
+
supersedes_handoff_id?: string | null | undefined;
|
|
4181
|
+
superseded_by_handoff_id?: string | null | undefined;
|
|
4182
|
+
failure_code?: string | null | undefined;
|
|
4183
|
+
failure_message?: string | null | undefined;
|
|
4184
|
+
}[];
|
|
4185
|
+
stale: {
|
|
4186
|
+
updated_at: string;
|
|
4187
|
+
schema_version: "runtime-auth-handoff-v1";
|
|
4188
|
+
evidence_refs: {
|
|
4189
|
+
kind: string;
|
|
4190
|
+
ref: string;
|
|
4191
|
+
observed_at?: string | undefined;
|
|
4192
|
+
}[];
|
|
4193
|
+
state: "completed" | "cancelled" | "blocked" | "expired" | "in_progress" | "requested" | "superseded" | "pending_operator";
|
|
4194
|
+
provider_id: string;
|
|
4195
|
+
requested_at: string;
|
|
4196
|
+
handoff_id: string;
|
|
4197
|
+
service_key: string;
|
|
4198
|
+
workspace: string;
|
|
4199
|
+
actor_key: string;
|
|
4200
|
+
completed_at?: string | null | undefined;
|
|
4201
|
+
resume_hint?: {
|
|
4202
|
+
tool_name: "browser_run_workflow";
|
|
4203
|
+
task_summary: string;
|
|
4204
|
+
input_ref?: string | undefined;
|
|
4205
|
+
} | null | undefined;
|
|
4206
|
+
expires_at?: string | null | undefined;
|
|
4207
|
+
requested_by?: {
|
|
4208
|
+
surface: "chat" | "tui" | "cli" | "gateway";
|
|
4209
|
+
platform?: string | undefined;
|
|
4210
|
+
conversation_id?: string | undefined;
|
|
4211
|
+
identity_key?: string | undefined;
|
|
4212
|
+
user_id?: string | undefined;
|
|
4213
|
+
} | null | undefined;
|
|
4214
|
+
reply_target?: {
|
|
4215
|
+
metadata?: Record<string, unknown> | undefined;
|
|
4216
|
+
surface?: "chat" | "tui" | "cli" | "gateway" | undefined;
|
|
4217
|
+
platform?: string | undefined;
|
|
4218
|
+
conversation_id?: string | undefined;
|
|
4219
|
+
identity_key?: string | undefined;
|
|
4220
|
+
user_id?: string | undefined;
|
|
4221
|
+
channel?: "web" | "tui" | "cli" | "plugin_gateway" | undefined;
|
|
4222
|
+
message_id?: string | undefined;
|
|
4223
|
+
response_channel?: string | undefined;
|
|
4224
|
+
outbox_topic?: string | undefined;
|
|
4225
|
+
deliveryMode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
4226
|
+
delivery_mode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
4227
|
+
} | null | undefined;
|
|
4228
|
+
browser_session_id?: string | null | undefined;
|
|
4229
|
+
resumable_session_id?: string | null | undefined;
|
|
4230
|
+
supersedes_handoff_id?: string | null | undefined;
|
|
4231
|
+
superseded_by_handoff_id?: string | null | undefined;
|
|
4232
|
+
failure_code?: string | null | undefined;
|
|
4233
|
+
failure_message?: string | null | undefined;
|
|
4234
|
+
}[];
|
|
4235
|
+
recent_terminal: {
|
|
4236
|
+
updated_at: string;
|
|
4237
|
+
schema_version: "runtime-auth-handoff-v1";
|
|
4238
|
+
evidence_refs: {
|
|
4239
|
+
kind: string;
|
|
4240
|
+
ref: string;
|
|
4241
|
+
observed_at?: string | undefined;
|
|
4242
|
+
}[];
|
|
4243
|
+
state: "completed" | "cancelled" | "blocked" | "expired" | "in_progress" | "requested" | "superseded" | "pending_operator";
|
|
4244
|
+
provider_id: string;
|
|
4245
|
+
requested_at: string;
|
|
4246
|
+
handoff_id: string;
|
|
4247
|
+
service_key: string;
|
|
4248
|
+
workspace: string;
|
|
4249
|
+
actor_key: string;
|
|
4250
|
+
completed_at?: string | null | undefined;
|
|
4251
|
+
resume_hint?: {
|
|
4252
|
+
tool_name: "browser_run_workflow";
|
|
4253
|
+
task_summary: string;
|
|
4254
|
+
input_ref?: string | undefined;
|
|
4255
|
+
} | null | undefined;
|
|
4256
|
+
expires_at?: string | null | undefined;
|
|
4257
|
+
requested_by?: {
|
|
4258
|
+
surface: "chat" | "tui" | "cli" | "gateway";
|
|
4259
|
+
platform?: string | undefined;
|
|
4260
|
+
conversation_id?: string | undefined;
|
|
4261
|
+
identity_key?: string | undefined;
|
|
4262
|
+
user_id?: string | undefined;
|
|
4263
|
+
} | null | undefined;
|
|
4264
|
+
reply_target?: {
|
|
4265
|
+
metadata?: Record<string, unknown> | undefined;
|
|
4266
|
+
surface?: "chat" | "tui" | "cli" | "gateway" | undefined;
|
|
4267
|
+
platform?: string | undefined;
|
|
4268
|
+
conversation_id?: string | undefined;
|
|
4269
|
+
identity_key?: string | undefined;
|
|
4270
|
+
user_id?: string | undefined;
|
|
4271
|
+
channel?: "web" | "tui" | "cli" | "plugin_gateway" | undefined;
|
|
4272
|
+
message_id?: string | undefined;
|
|
4273
|
+
response_channel?: string | undefined;
|
|
4274
|
+
outbox_topic?: string | undefined;
|
|
4275
|
+
deliveryMode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
4276
|
+
delivery_mode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
4277
|
+
} | null | undefined;
|
|
4278
|
+
browser_session_id?: string | null | undefined;
|
|
4279
|
+
resumable_session_id?: string | null | undefined;
|
|
4280
|
+
supersedes_handoff_id?: string | null | undefined;
|
|
4281
|
+
superseded_by_handoff_id?: string | null | undefined;
|
|
4282
|
+
failure_code?: string | null | undefined;
|
|
4283
|
+
failure_message?: string | null | undefined;
|
|
4284
|
+
}[];
|
|
4285
|
+
}, {
|
|
4286
|
+
pending: {
|
|
4287
|
+
updated_at: string;
|
|
4288
|
+
schema_version: "runtime-auth-handoff-v1";
|
|
4289
|
+
state: "completed" | "cancelled" | "blocked" | "expired" | "in_progress" | "requested" | "superseded" | "pending_operator";
|
|
4290
|
+
provider_id: string;
|
|
4291
|
+
requested_at: string;
|
|
4292
|
+
handoff_id: string;
|
|
4293
|
+
service_key: string;
|
|
4294
|
+
workspace: string;
|
|
4295
|
+
actor_key: string;
|
|
4296
|
+
completed_at?: string | null | undefined;
|
|
4297
|
+
evidence_refs?: {
|
|
4298
|
+
kind: string;
|
|
4299
|
+
ref: string;
|
|
4300
|
+
observed_at?: string | undefined;
|
|
4301
|
+
}[] | undefined;
|
|
4302
|
+
resume_hint?: {
|
|
4303
|
+
tool_name: "browser_run_workflow";
|
|
4304
|
+
task_summary: string;
|
|
4305
|
+
input_ref?: string | undefined;
|
|
4306
|
+
} | null | undefined;
|
|
4307
|
+
expires_at?: string | null | undefined;
|
|
4308
|
+
requested_by?: {
|
|
4309
|
+
surface: "chat" | "tui" | "cli" | "gateway";
|
|
4310
|
+
platform?: string | undefined;
|
|
4311
|
+
conversation_id?: string | undefined;
|
|
4312
|
+
identity_key?: string | undefined;
|
|
4313
|
+
user_id?: string | undefined;
|
|
4314
|
+
} | null | undefined;
|
|
4315
|
+
reply_target?: {
|
|
4316
|
+
metadata?: Record<string, unknown> | undefined;
|
|
4317
|
+
surface?: "chat" | "tui" | "cli" | "gateway" | undefined;
|
|
4318
|
+
platform?: string | undefined;
|
|
4319
|
+
conversation_id?: string | undefined;
|
|
4320
|
+
identity_key?: string | undefined;
|
|
4321
|
+
user_id?: string | undefined;
|
|
4322
|
+
channel?: "web" | "tui" | "cli" | "plugin_gateway" | undefined;
|
|
4323
|
+
message_id?: string | undefined;
|
|
4324
|
+
response_channel?: string | undefined;
|
|
4325
|
+
outbox_topic?: string | undefined;
|
|
4326
|
+
deliveryMode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
4327
|
+
delivery_mode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
4328
|
+
} | null | undefined;
|
|
4329
|
+
browser_session_id?: string | null | undefined;
|
|
4330
|
+
resumable_session_id?: string | null | undefined;
|
|
4331
|
+
supersedes_handoff_id?: string | null | undefined;
|
|
4332
|
+
superseded_by_handoff_id?: string | null | undefined;
|
|
4333
|
+
failure_code?: string | null | undefined;
|
|
4334
|
+
failure_message?: string | null | undefined;
|
|
4335
|
+
}[];
|
|
4336
|
+
stale: {
|
|
4337
|
+
updated_at: string;
|
|
4338
|
+
schema_version: "runtime-auth-handoff-v1";
|
|
4339
|
+
state: "completed" | "cancelled" | "blocked" | "expired" | "in_progress" | "requested" | "superseded" | "pending_operator";
|
|
4340
|
+
provider_id: string;
|
|
4341
|
+
requested_at: string;
|
|
4342
|
+
handoff_id: string;
|
|
4343
|
+
service_key: string;
|
|
4344
|
+
workspace: string;
|
|
4345
|
+
actor_key: string;
|
|
4346
|
+
completed_at?: string | null | undefined;
|
|
4347
|
+
evidence_refs?: {
|
|
4348
|
+
kind: string;
|
|
4349
|
+
ref: string;
|
|
4350
|
+
observed_at?: string | undefined;
|
|
4351
|
+
}[] | undefined;
|
|
4352
|
+
resume_hint?: {
|
|
4353
|
+
tool_name: "browser_run_workflow";
|
|
4354
|
+
task_summary: string;
|
|
4355
|
+
input_ref?: string | undefined;
|
|
4356
|
+
} | null | undefined;
|
|
4357
|
+
expires_at?: string | null | undefined;
|
|
4358
|
+
requested_by?: {
|
|
4359
|
+
surface: "chat" | "tui" | "cli" | "gateway";
|
|
4360
|
+
platform?: string | undefined;
|
|
4361
|
+
conversation_id?: string | undefined;
|
|
4362
|
+
identity_key?: string | undefined;
|
|
4363
|
+
user_id?: string | undefined;
|
|
4364
|
+
} | null | undefined;
|
|
4365
|
+
reply_target?: {
|
|
4366
|
+
metadata?: Record<string, unknown> | undefined;
|
|
4367
|
+
surface?: "chat" | "tui" | "cli" | "gateway" | undefined;
|
|
4368
|
+
platform?: string | undefined;
|
|
4369
|
+
conversation_id?: string | undefined;
|
|
4370
|
+
identity_key?: string | undefined;
|
|
4371
|
+
user_id?: string | undefined;
|
|
4372
|
+
channel?: "web" | "tui" | "cli" | "plugin_gateway" | undefined;
|
|
4373
|
+
message_id?: string | undefined;
|
|
4374
|
+
response_channel?: string | undefined;
|
|
4375
|
+
outbox_topic?: string | undefined;
|
|
4376
|
+
deliveryMode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
4377
|
+
delivery_mode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
4378
|
+
} | null | undefined;
|
|
4379
|
+
browser_session_id?: string | null | undefined;
|
|
4380
|
+
resumable_session_id?: string | null | undefined;
|
|
4381
|
+
supersedes_handoff_id?: string | null | undefined;
|
|
4382
|
+
superseded_by_handoff_id?: string | null | undefined;
|
|
4383
|
+
failure_code?: string | null | undefined;
|
|
4384
|
+
failure_message?: string | null | undefined;
|
|
4385
|
+
}[];
|
|
4386
|
+
recent_terminal: {
|
|
4387
|
+
updated_at: string;
|
|
4388
|
+
schema_version: "runtime-auth-handoff-v1";
|
|
4389
|
+
state: "completed" | "cancelled" | "blocked" | "expired" | "in_progress" | "requested" | "superseded" | "pending_operator";
|
|
4390
|
+
provider_id: string;
|
|
4391
|
+
requested_at: string;
|
|
4392
|
+
handoff_id: string;
|
|
4393
|
+
service_key: string;
|
|
4394
|
+
workspace: string;
|
|
4395
|
+
actor_key: string;
|
|
4396
|
+
completed_at?: string | null | undefined;
|
|
4397
|
+
evidence_refs?: {
|
|
4398
|
+
kind: string;
|
|
4399
|
+
ref: string;
|
|
4400
|
+
observed_at?: string | undefined;
|
|
4401
|
+
}[] | undefined;
|
|
4402
|
+
resume_hint?: {
|
|
4403
|
+
tool_name: "browser_run_workflow";
|
|
4404
|
+
task_summary: string;
|
|
4405
|
+
input_ref?: string | undefined;
|
|
4406
|
+
} | null | undefined;
|
|
4407
|
+
expires_at?: string | null | undefined;
|
|
4408
|
+
requested_by?: {
|
|
4409
|
+
surface: "chat" | "tui" | "cli" | "gateway";
|
|
4410
|
+
platform?: string | undefined;
|
|
4411
|
+
conversation_id?: string | undefined;
|
|
4412
|
+
identity_key?: string | undefined;
|
|
4413
|
+
user_id?: string | undefined;
|
|
4414
|
+
} | null | undefined;
|
|
4415
|
+
reply_target?: {
|
|
4416
|
+
metadata?: Record<string, unknown> | undefined;
|
|
4417
|
+
surface?: "chat" | "tui" | "cli" | "gateway" | undefined;
|
|
4418
|
+
platform?: string | undefined;
|
|
4419
|
+
conversation_id?: string | undefined;
|
|
4420
|
+
identity_key?: string | undefined;
|
|
4421
|
+
user_id?: string | undefined;
|
|
4422
|
+
channel?: "web" | "tui" | "cli" | "plugin_gateway" | undefined;
|
|
4423
|
+
message_id?: string | undefined;
|
|
4424
|
+
response_channel?: string | undefined;
|
|
4425
|
+
outbox_topic?: string | undefined;
|
|
4426
|
+
deliveryMode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
4427
|
+
delivery_mode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
4428
|
+
} | null | undefined;
|
|
4429
|
+
browser_session_id?: string | null | undefined;
|
|
4430
|
+
resumable_session_id?: string | null | undefined;
|
|
4431
|
+
supersedes_handoff_id?: string | null | undefined;
|
|
4432
|
+
superseded_by_handoff_id?: string | null | undefined;
|
|
4433
|
+
failure_code?: string | null | undefined;
|
|
4434
|
+
failure_message?: string | null | undefined;
|
|
4435
|
+
}[];
|
|
4436
|
+
}>;
|
|
4437
|
+
browser_sessions: z.ZodObject<{
|
|
4438
|
+
authenticated: z.ZodArray<z.ZodObject<{
|
|
4439
|
+
session_id: z.ZodString;
|
|
4440
|
+
provider_id: z.ZodString;
|
|
4441
|
+
service_key: z.ZodString;
|
|
4442
|
+
workspace: z.ZodString;
|
|
4443
|
+
actor_key: z.ZodString;
|
|
4444
|
+
state: z.ZodEnum<["fresh", "authenticated", "auth_required", "expired", "blocked", "unavailable"]>;
|
|
4445
|
+
created_at: z.ZodString;
|
|
4446
|
+
updated_at: z.ZodString;
|
|
4447
|
+
last_auth_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4448
|
+
expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4449
|
+
last_failure_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4450
|
+
last_failure_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4451
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4452
|
+
}, "strip", z.ZodTypeAny, {
|
|
4453
|
+
created_at: string;
|
|
4454
|
+
updated_at: string;
|
|
4455
|
+
state: "blocked" | "expired" | "unavailable" | "authenticated" | "fresh" | "auth_required";
|
|
4456
|
+
session_id: string;
|
|
4457
|
+
provider_id: string;
|
|
4458
|
+
service_key: string;
|
|
4459
|
+
workspace: string;
|
|
4460
|
+
actor_key: string;
|
|
4461
|
+
metadata?: Record<string, unknown> | undefined;
|
|
4462
|
+
expires_at?: string | null | undefined;
|
|
4463
|
+
last_auth_at?: string | null | undefined;
|
|
4464
|
+
last_failure_code?: string | null | undefined;
|
|
4465
|
+
last_failure_message?: string | null | undefined;
|
|
4466
|
+
}, {
|
|
4467
|
+
created_at: string;
|
|
4468
|
+
updated_at: string;
|
|
4469
|
+
state: "blocked" | "expired" | "unavailable" | "authenticated" | "fresh" | "auth_required";
|
|
4470
|
+
session_id: string;
|
|
4471
|
+
provider_id: string;
|
|
4472
|
+
service_key: string;
|
|
4473
|
+
workspace: string;
|
|
4474
|
+
actor_key: string;
|
|
4475
|
+
metadata?: Record<string, unknown> | undefined;
|
|
4476
|
+
expires_at?: string | null | undefined;
|
|
4477
|
+
last_auth_at?: string | null | undefined;
|
|
4478
|
+
last_failure_code?: string | null | undefined;
|
|
4479
|
+
last_failure_message?: string | null | undefined;
|
|
4480
|
+
}>, "many">;
|
|
4481
|
+
stale: z.ZodArray<z.ZodObject<{
|
|
4482
|
+
session_id: z.ZodString;
|
|
4483
|
+
provider_id: z.ZodString;
|
|
4484
|
+
service_key: z.ZodString;
|
|
4485
|
+
workspace: z.ZodString;
|
|
4486
|
+
actor_key: z.ZodString;
|
|
4487
|
+
state: z.ZodEnum<["fresh", "authenticated", "auth_required", "expired", "blocked", "unavailable"]>;
|
|
4488
|
+
created_at: z.ZodString;
|
|
4489
|
+
updated_at: z.ZodString;
|
|
4490
|
+
last_auth_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4491
|
+
expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4492
|
+
last_failure_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4493
|
+
last_failure_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4494
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4495
|
+
}, "strip", z.ZodTypeAny, {
|
|
4496
|
+
created_at: string;
|
|
4497
|
+
updated_at: string;
|
|
4498
|
+
state: "blocked" | "expired" | "unavailable" | "authenticated" | "fresh" | "auth_required";
|
|
4499
|
+
session_id: string;
|
|
4500
|
+
provider_id: string;
|
|
4501
|
+
service_key: string;
|
|
4502
|
+
workspace: string;
|
|
4503
|
+
actor_key: string;
|
|
4504
|
+
metadata?: Record<string, unknown> | undefined;
|
|
4505
|
+
expires_at?: string | null | undefined;
|
|
4506
|
+
last_auth_at?: string | null | undefined;
|
|
4507
|
+
last_failure_code?: string | null | undefined;
|
|
4508
|
+
last_failure_message?: string | null | undefined;
|
|
4509
|
+
}, {
|
|
4510
|
+
created_at: string;
|
|
4511
|
+
updated_at: string;
|
|
4512
|
+
state: "blocked" | "expired" | "unavailable" | "authenticated" | "fresh" | "auth_required";
|
|
4513
|
+
session_id: string;
|
|
4514
|
+
provider_id: string;
|
|
4515
|
+
service_key: string;
|
|
4516
|
+
workspace: string;
|
|
4517
|
+
actor_key: string;
|
|
4518
|
+
metadata?: Record<string, unknown> | undefined;
|
|
4519
|
+
expires_at?: string | null | undefined;
|
|
4520
|
+
last_auth_at?: string | null | undefined;
|
|
4521
|
+
last_failure_code?: string | null | undefined;
|
|
4522
|
+
last_failure_message?: string | null | undefined;
|
|
4523
|
+
}>, "many">;
|
|
4524
|
+
}, "strip", z.ZodTypeAny, {
|
|
4525
|
+
stale: {
|
|
4526
|
+
created_at: string;
|
|
4527
|
+
updated_at: string;
|
|
4528
|
+
state: "blocked" | "expired" | "unavailable" | "authenticated" | "fresh" | "auth_required";
|
|
4529
|
+
session_id: string;
|
|
4530
|
+
provider_id: string;
|
|
4531
|
+
service_key: string;
|
|
4532
|
+
workspace: string;
|
|
4533
|
+
actor_key: string;
|
|
4534
|
+
metadata?: Record<string, unknown> | undefined;
|
|
4535
|
+
expires_at?: string | null | undefined;
|
|
4536
|
+
last_auth_at?: string | null | undefined;
|
|
4537
|
+
last_failure_code?: string | null | undefined;
|
|
4538
|
+
last_failure_message?: string | null | undefined;
|
|
4539
|
+
}[];
|
|
4540
|
+
authenticated: {
|
|
4541
|
+
created_at: string;
|
|
4542
|
+
updated_at: string;
|
|
4543
|
+
state: "blocked" | "expired" | "unavailable" | "authenticated" | "fresh" | "auth_required";
|
|
4544
|
+
session_id: string;
|
|
4545
|
+
provider_id: string;
|
|
4546
|
+
service_key: string;
|
|
4547
|
+
workspace: string;
|
|
4548
|
+
actor_key: string;
|
|
4549
|
+
metadata?: Record<string, unknown> | undefined;
|
|
4550
|
+
expires_at?: string | null | undefined;
|
|
4551
|
+
last_auth_at?: string | null | undefined;
|
|
4552
|
+
last_failure_code?: string | null | undefined;
|
|
4553
|
+
last_failure_message?: string | null | undefined;
|
|
4554
|
+
}[];
|
|
4555
|
+
}, {
|
|
4556
|
+
stale: {
|
|
4557
|
+
created_at: string;
|
|
4558
|
+
updated_at: string;
|
|
4559
|
+
state: "blocked" | "expired" | "unavailable" | "authenticated" | "fresh" | "auth_required";
|
|
4560
|
+
session_id: string;
|
|
4561
|
+
provider_id: string;
|
|
4562
|
+
service_key: string;
|
|
4563
|
+
workspace: string;
|
|
4564
|
+
actor_key: string;
|
|
4565
|
+
metadata?: Record<string, unknown> | undefined;
|
|
4566
|
+
expires_at?: string | null | undefined;
|
|
4567
|
+
last_auth_at?: string | null | undefined;
|
|
4568
|
+
last_failure_code?: string | null | undefined;
|
|
4569
|
+
last_failure_message?: string | null | undefined;
|
|
4570
|
+
}[];
|
|
4571
|
+
authenticated: {
|
|
4572
|
+
created_at: string;
|
|
4573
|
+
updated_at: string;
|
|
4574
|
+
state: "blocked" | "expired" | "unavailable" | "authenticated" | "fresh" | "auth_required";
|
|
4575
|
+
session_id: string;
|
|
4576
|
+
provider_id: string;
|
|
4577
|
+
service_key: string;
|
|
4578
|
+
workspace: string;
|
|
4579
|
+
actor_key: string;
|
|
4580
|
+
metadata?: Record<string, unknown> | undefined;
|
|
4581
|
+
expires_at?: string | null | undefined;
|
|
4582
|
+
last_auth_at?: string | null | undefined;
|
|
4583
|
+
last_failure_code?: string | null | undefined;
|
|
4584
|
+
last_failure_message?: string | null | undefined;
|
|
4585
|
+
}[];
|
|
4586
|
+
}>;
|
|
4587
|
+
guardrails: z.ZodObject<{
|
|
4588
|
+
open_breakers: z.ZodArray<z.ZodObject<{
|
|
4589
|
+
key: z.ZodString;
|
|
4590
|
+
provider_id: z.ZodString;
|
|
4591
|
+
service_key: z.ZodString;
|
|
4592
|
+
state: z.ZodEnum<["closed", "open", "half_open", "paused"]>;
|
|
4593
|
+
failure_count: z.ZodNumber;
|
|
4594
|
+
last_failure_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4595
|
+
last_failure_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4596
|
+
last_failure_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4597
|
+
opened_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4598
|
+
cooldown_until: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4599
|
+
updated_at: z.ZodString;
|
|
4600
|
+
}, "strip", z.ZodTypeAny, {
|
|
4601
|
+
updated_at: string;
|
|
4602
|
+
state: "paused" | "closed" | "open" | "half_open";
|
|
4603
|
+
provider_id: string;
|
|
4604
|
+
service_key: string;
|
|
4605
|
+
key: string;
|
|
4606
|
+
failure_count: number;
|
|
4607
|
+
cooldown_until?: string | null | undefined;
|
|
4608
|
+
last_failure_code?: string | null | undefined;
|
|
4609
|
+
last_failure_message?: string | null | undefined;
|
|
4610
|
+
last_failure_at?: string | null | undefined;
|
|
4611
|
+
opened_at?: string | null | undefined;
|
|
4612
|
+
}, {
|
|
4613
|
+
updated_at: string;
|
|
4614
|
+
state: "paused" | "closed" | "open" | "half_open";
|
|
4615
|
+
provider_id: string;
|
|
4616
|
+
service_key: string;
|
|
4617
|
+
key: string;
|
|
4618
|
+
failure_count: number;
|
|
4619
|
+
cooldown_until?: string | null | undefined;
|
|
4620
|
+
last_failure_code?: string | null | undefined;
|
|
4621
|
+
last_failure_message?: string | null | undefined;
|
|
4622
|
+
last_failure_at?: string | null | undefined;
|
|
4623
|
+
opened_at?: string | null | undefined;
|
|
4624
|
+
}>, "many">;
|
|
4625
|
+
paused_breakers: z.ZodArray<z.ZodObject<{
|
|
4626
|
+
key: z.ZodString;
|
|
4627
|
+
provider_id: z.ZodString;
|
|
4628
|
+
service_key: z.ZodString;
|
|
4629
|
+
state: z.ZodEnum<["closed", "open", "half_open", "paused"]>;
|
|
4630
|
+
failure_count: z.ZodNumber;
|
|
4631
|
+
last_failure_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4632
|
+
last_failure_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4633
|
+
last_failure_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4634
|
+
opened_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4635
|
+
cooldown_until: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4636
|
+
updated_at: z.ZodString;
|
|
4637
|
+
}, "strip", z.ZodTypeAny, {
|
|
4638
|
+
updated_at: string;
|
|
4639
|
+
state: "paused" | "closed" | "open" | "half_open";
|
|
4640
|
+
provider_id: string;
|
|
4641
|
+
service_key: string;
|
|
4642
|
+
key: string;
|
|
4643
|
+
failure_count: number;
|
|
4644
|
+
cooldown_until?: string | null | undefined;
|
|
4645
|
+
last_failure_code?: string | null | undefined;
|
|
4646
|
+
last_failure_message?: string | null | undefined;
|
|
4647
|
+
last_failure_at?: string | null | undefined;
|
|
4648
|
+
opened_at?: string | null | undefined;
|
|
4649
|
+
}, {
|
|
4650
|
+
updated_at: string;
|
|
4651
|
+
state: "paused" | "closed" | "open" | "half_open";
|
|
4652
|
+
provider_id: string;
|
|
4653
|
+
service_key: string;
|
|
4654
|
+
key: string;
|
|
4655
|
+
failure_count: number;
|
|
4656
|
+
cooldown_until?: string | null | undefined;
|
|
4657
|
+
last_failure_code?: string | null | undefined;
|
|
4658
|
+
last_failure_message?: string | null | undefined;
|
|
4659
|
+
last_failure_at?: string | null | undefined;
|
|
4660
|
+
opened_at?: string | null | undefined;
|
|
4661
|
+
}>, "many">;
|
|
4662
|
+
half_open_breakers: z.ZodArray<z.ZodObject<{
|
|
4663
|
+
key: z.ZodString;
|
|
4664
|
+
provider_id: z.ZodString;
|
|
4665
|
+
service_key: z.ZodString;
|
|
4666
|
+
state: z.ZodEnum<["closed", "open", "half_open", "paused"]>;
|
|
4667
|
+
failure_count: z.ZodNumber;
|
|
4668
|
+
last_failure_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4669
|
+
last_failure_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4670
|
+
last_failure_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4671
|
+
opened_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4672
|
+
cooldown_until: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4673
|
+
updated_at: z.ZodString;
|
|
4674
|
+
}, "strip", z.ZodTypeAny, {
|
|
4675
|
+
updated_at: string;
|
|
4676
|
+
state: "paused" | "closed" | "open" | "half_open";
|
|
4677
|
+
provider_id: string;
|
|
4678
|
+
service_key: string;
|
|
4679
|
+
key: string;
|
|
4680
|
+
failure_count: number;
|
|
4681
|
+
cooldown_until?: string | null | undefined;
|
|
4682
|
+
last_failure_code?: string | null | undefined;
|
|
4683
|
+
last_failure_message?: string | null | undefined;
|
|
4684
|
+
last_failure_at?: string | null | undefined;
|
|
4685
|
+
opened_at?: string | null | undefined;
|
|
4686
|
+
}, {
|
|
4687
|
+
updated_at: string;
|
|
4688
|
+
state: "paused" | "closed" | "open" | "half_open";
|
|
4689
|
+
provider_id: string;
|
|
4690
|
+
service_key: string;
|
|
4691
|
+
key: string;
|
|
4692
|
+
failure_count: number;
|
|
4693
|
+
cooldown_until?: string | null | undefined;
|
|
4694
|
+
last_failure_code?: string | null | undefined;
|
|
4695
|
+
last_failure_message?: string | null | undefined;
|
|
4696
|
+
last_failure_at?: string | null | undefined;
|
|
4697
|
+
opened_at?: string | null | undefined;
|
|
4698
|
+
}>, "many">;
|
|
4699
|
+
}, "strip", z.ZodTypeAny, {
|
|
4700
|
+
open_breakers: {
|
|
4701
|
+
updated_at: string;
|
|
4702
|
+
state: "paused" | "closed" | "open" | "half_open";
|
|
4703
|
+
provider_id: string;
|
|
4704
|
+
service_key: string;
|
|
4705
|
+
key: string;
|
|
4706
|
+
failure_count: number;
|
|
4707
|
+
cooldown_until?: string | null | undefined;
|
|
4708
|
+
last_failure_code?: string | null | undefined;
|
|
4709
|
+
last_failure_message?: string | null | undefined;
|
|
4710
|
+
last_failure_at?: string | null | undefined;
|
|
4711
|
+
opened_at?: string | null | undefined;
|
|
4712
|
+
}[];
|
|
4713
|
+
paused_breakers: {
|
|
4714
|
+
updated_at: string;
|
|
4715
|
+
state: "paused" | "closed" | "open" | "half_open";
|
|
4716
|
+
provider_id: string;
|
|
4717
|
+
service_key: string;
|
|
4718
|
+
key: string;
|
|
4719
|
+
failure_count: number;
|
|
4720
|
+
cooldown_until?: string | null | undefined;
|
|
4721
|
+
last_failure_code?: string | null | undefined;
|
|
4722
|
+
last_failure_message?: string | null | undefined;
|
|
4723
|
+
last_failure_at?: string | null | undefined;
|
|
4724
|
+
opened_at?: string | null | undefined;
|
|
4725
|
+
}[];
|
|
4726
|
+
half_open_breakers: {
|
|
4727
|
+
updated_at: string;
|
|
4728
|
+
state: "paused" | "closed" | "open" | "half_open";
|
|
4729
|
+
provider_id: string;
|
|
4730
|
+
service_key: string;
|
|
4731
|
+
key: string;
|
|
4732
|
+
failure_count: number;
|
|
4733
|
+
cooldown_until?: string | null | undefined;
|
|
4734
|
+
last_failure_code?: string | null | undefined;
|
|
4735
|
+
last_failure_message?: string | null | undefined;
|
|
4736
|
+
last_failure_at?: string | null | undefined;
|
|
4737
|
+
opened_at?: string | null | undefined;
|
|
4738
|
+
}[];
|
|
4739
|
+
}, {
|
|
4740
|
+
open_breakers: {
|
|
4741
|
+
updated_at: string;
|
|
4742
|
+
state: "paused" | "closed" | "open" | "half_open";
|
|
4743
|
+
provider_id: string;
|
|
4744
|
+
service_key: string;
|
|
4745
|
+
key: string;
|
|
4746
|
+
failure_count: number;
|
|
4747
|
+
cooldown_until?: string | null | undefined;
|
|
4748
|
+
last_failure_code?: string | null | undefined;
|
|
4749
|
+
last_failure_message?: string | null | undefined;
|
|
4750
|
+
last_failure_at?: string | null | undefined;
|
|
4751
|
+
opened_at?: string | null | undefined;
|
|
4752
|
+
}[];
|
|
4753
|
+
paused_breakers: {
|
|
4754
|
+
updated_at: string;
|
|
4755
|
+
state: "paused" | "closed" | "open" | "half_open";
|
|
4756
|
+
provider_id: string;
|
|
4757
|
+
service_key: string;
|
|
4758
|
+
key: string;
|
|
4759
|
+
failure_count: number;
|
|
4760
|
+
cooldown_until?: string | null | undefined;
|
|
4761
|
+
last_failure_code?: string | null | undefined;
|
|
4762
|
+
last_failure_message?: string | null | undefined;
|
|
4763
|
+
last_failure_at?: string | null | undefined;
|
|
4764
|
+
opened_at?: string | null | undefined;
|
|
4765
|
+
}[];
|
|
4766
|
+
half_open_breakers: {
|
|
4767
|
+
updated_at: string;
|
|
4768
|
+
state: "paused" | "closed" | "open" | "half_open";
|
|
4769
|
+
provider_id: string;
|
|
4770
|
+
service_key: string;
|
|
4771
|
+
key: string;
|
|
4772
|
+
failure_count: number;
|
|
4773
|
+
cooldown_until?: string | null | undefined;
|
|
4774
|
+
last_failure_code?: string | null | undefined;
|
|
4775
|
+
last_failure_message?: string | null | undefined;
|
|
4776
|
+
last_failure_at?: string | null | undefined;
|
|
4777
|
+
opened_at?: string | null | undefined;
|
|
4778
|
+
}[];
|
|
4779
|
+
}>;
|
|
4780
|
+
backpressure: z.ZodObject<{
|
|
4781
|
+
active: z.ZodArray<z.ZodObject<{
|
|
4782
|
+
provider_id: z.ZodString;
|
|
4783
|
+
service_key: z.ZodString;
|
|
4784
|
+
run_key: z.ZodString;
|
|
4785
|
+
acquired_at: z.ZodString;
|
|
4786
|
+
}, "strip", z.ZodTypeAny, {
|
|
4787
|
+
acquired_at: string;
|
|
4788
|
+
provider_id: string;
|
|
4789
|
+
service_key: string;
|
|
4790
|
+
run_key: string;
|
|
4791
|
+
}, {
|
|
4792
|
+
acquired_at: string;
|
|
4793
|
+
provider_id: string;
|
|
4794
|
+
service_key: string;
|
|
4795
|
+
run_key: string;
|
|
4796
|
+
}>, "many">;
|
|
4797
|
+
throttled: z.ZodArray<z.ZodObject<{
|
|
4798
|
+
provider_id: z.ZodString;
|
|
4799
|
+
service_key: z.ZodString;
|
|
4800
|
+
reason: z.ZodString;
|
|
4801
|
+
at: z.ZodString;
|
|
4802
|
+
}, "strip", z.ZodTypeAny, {
|
|
4803
|
+
at: string;
|
|
4804
|
+
reason: string;
|
|
4805
|
+
provider_id: string;
|
|
4806
|
+
service_key: string;
|
|
4807
|
+
}, {
|
|
4808
|
+
at: string;
|
|
4809
|
+
reason: string;
|
|
4810
|
+
provider_id: string;
|
|
4811
|
+
service_key: string;
|
|
4812
|
+
}>, "many">;
|
|
4813
|
+
}, "strip", z.ZodTypeAny, {
|
|
4814
|
+
active: {
|
|
4815
|
+
acquired_at: string;
|
|
4816
|
+
provider_id: string;
|
|
4817
|
+
service_key: string;
|
|
4818
|
+
run_key: string;
|
|
4819
|
+
}[];
|
|
4820
|
+
throttled: {
|
|
4821
|
+
at: string;
|
|
4822
|
+
reason: string;
|
|
4823
|
+
provider_id: string;
|
|
4824
|
+
service_key: string;
|
|
4825
|
+
}[];
|
|
4826
|
+
}, {
|
|
4827
|
+
active: {
|
|
4828
|
+
acquired_at: string;
|
|
4829
|
+
provider_id: string;
|
|
4830
|
+
service_key: string;
|
|
4831
|
+
run_key: string;
|
|
4832
|
+
}[];
|
|
4833
|
+
throttled: {
|
|
4834
|
+
at: string;
|
|
4835
|
+
reason: string;
|
|
4836
|
+
provider_id: string;
|
|
4837
|
+
service_key: string;
|
|
4838
|
+
}[];
|
|
4839
|
+
}>;
|
|
4840
|
+
blocked_work: z.ZodArray<z.ZodObject<{
|
|
4841
|
+
kind: z.ZodEnum<["auth_wait", "guardrail_open", "backpressure", "provider_unavailable"]>;
|
|
4842
|
+
provider_id: z.ZodString;
|
|
4843
|
+
service_key: z.ZodString;
|
|
4844
|
+
run_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4845
|
+
goal_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4846
|
+
handoff_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4847
|
+
reason: z.ZodString;
|
|
4848
|
+
since: z.ZodString;
|
|
4849
|
+
retry_after: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4850
|
+
}, "strip", z.ZodTypeAny, {
|
|
4851
|
+
kind: "backpressure" | "auth_wait" | "guardrail_open" | "provider_unavailable";
|
|
4852
|
+
reason: string;
|
|
4853
|
+
provider_id: string;
|
|
4854
|
+
service_key: string;
|
|
4855
|
+
since: string;
|
|
4856
|
+
goal_id?: string | null | undefined;
|
|
4857
|
+
run_id?: string | null | undefined;
|
|
4858
|
+
handoff_id?: string | null | undefined;
|
|
4859
|
+
retry_after?: string | null | undefined;
|
|
4860
|
+
}, {
|
|
4861
|
+
kind: "backpressure" | "auth_wait" | "guardrail_open" | "provider_unavailable";
|
|
4862
|
+
reason: string;
|
|
4863
|
+
provider_id: string;
|
|
4864
|
+
service_key: string;
|
|
4865
|
+
since: string;
|
|
4866
|
+
goal_id?: string | null | undefined;
|
|
4867
|
+
run_id?: string | null | undefined;
|
|
4868
|
+
handoff_id?: string | null | undefined;
|
|
4869
|
+
retry_after?: string | null | undefined;
|
|
4870
|
+
}>, "many">;
|
|
4871
|
+
}, "strip", z.ZodTypeAny, {
|
|
4872
|
+
generated_at: string;
|
|
4873
|
+
schema_version: "runtime-automation-snapshot-v1";
|
|
4874
|
+
backpressure: {
|
|
4875
|
+
active: {
|
|
4876
|
+
acquired_at: string;
|
|
4877
|
+
provider_id: string;
|
|
4878
|
+
service_key: string;
|
|
4879
|
+
run_key: string;
|
|
4880
|
+
}[];
|
|
4881
|
+
throttled: {
|
|
4882
|
+
at: string;
|
|
4883
|
+
reason: string;
|
|
4884
|
+
provider_id: string;
|
|
4885
|
+
service_key: string;
|
|
4886
|
+
}[];
|
|
4887
|
+
};
|
|
4888
|
+
auth_handoffs: {
|
|
4889
|
+
pending: {
|
|
4890
|
+
updated_at: string;
|
|
4891
|
+
schema_version: "runtime-auth-handoff-v1";
|
|
4892
|
+
evidence_refs: {
|
|
4893
|
+
kind: string;
|
|
4894
|
+
ref: string;
|
|
4895
|
+
observed_at?: string | undefined;
|
|
4896
|
+
}[];
|
|
4897
|
+
state: "completed" | "cancelled" | "blocked" | "expired" | "in_progress" | "requested" | "superseded" | "pending_operator";
|
|
4898
|
+
provider_id: string;
|
|
4899
|
+
requested_at: string;
|
|
4900
|
+
handoff_id: string;
|
|
4901
|
+
service_key: string;
|
|
4902
|
+
workspace: string;
|
|
4903
|
+
actor_key: string;
|
|
4904
|
+
completed_at?: string | null | undefined;
|
|
4905
|
+
resume_hint?: {
|
|
4906
|
+
tool_name: "browser_run_workflow";
|
|
4907
|
+
task_summary: string;
|
|
4908
|
+
input_ref?: string | undefined;
|
|
4909
|
+
} | null | undefined;
|
|
4910
|
+
expires_at?: string | null | undefined;
|
|
4911
|
+
requested_by?: {
|
|
4912
|
+
surface: "chat" | "tui" | "cli" | "gateway";
|
|
4913
|
+
platform?: string | undefined;
|
|
4914
|
+
conversation_id?: string | undefined;
|
|
4915
|
+
identity_key?: string | undefined;
|
|
4916
|
+
user_id?: string | undefined;
|
|
4917
|
+
} | null | undefined;
|
|
4918
|
+
reply_target?: {
|
|
4919
|
+
metadata?: Record<string, unknown> | undefined;
|
|
4920
|
+
surface?: "chat" | "tui" | "cli" | "gateway" | undefined;
|
|
4921
|
+
platform?: string | undefined;
|
|
4922
|
+
conversation_id?: string | undefined;
|
|
4923
|
+
identity_key?: string | undefined;
|
|
4924
|
+
user_id?: string | undefined;
|
|
4925
|
+
channel?: "web" | "tui" | "cli" | "plugin_gateway" | undefined;
|
|
4926
|
+
message_id?: string | undefined;
|
|
4927
|
+
response_channel?: string | undefined;
|
|
4928
|
+
outbox_topic?: string | undefined;
|
|
4929
|
+
deliveryMode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
4930
|
+
delivery_mode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
4931
|
+
} | null | undefined;
|
|
4932
|
+
browser_session_id?: string | null | undefined;
|
|
4933
|
+
resumable_session_id?: string | null | undefined;
|
|
4934
|
+
supersedes_handoff_id?: string | null | undefined;
|
|
4935
|
+
superseded_by_handoff_id?: string | null | undefined;
|
|
4936
|
+
failure_code?: string | null | undefined;
|
|
4937
|
+
failure_message?: string | null | undefined;
|
|
4938
|
+
}[];
|
|
4939
|
+
stale: {
|
|
4940
|
+
updated_at: string;
|
|
4941
|
+
schema_version: "runtime-auth-handoff-v1";
|
|
4942
|
+
evidence_refs: {
|
|
4943
|
+
kind: string;
|
|
4944
|
+
ref: string;
|
|
4945
|
+
observed_at?: string | undefined;
|
|
4946
|
+
}[];
|
|
4947
|
+
state: "completed" | "cancelled" | "blocked" | "expired" | "in_progress" | "requested" | "superseded" | "pending_operator";
|
|
4948
|
+
provider_id: string;
|
|
4949
|
+
requested_at: string;
|
|
4950
|
+
handoff_id: string;
|
|
4951
|
+
service_key: string;
|
|
4952
|
+
workspace: string;
|
|
4953
|
+
actor_key: string;
|
|
4954
|
+
completed_at?: string | null | undefined;
|
|
4955
|
+
resume_hint?: {
|
|
4956
|
+
tool_name: "browser_run_workflow";
|
|
4957
|
+
task_summary: string;
|
|
4958
|
+
input_ref?: string | undefined;
|
|
4959
|
+
} | null | undefined;
|
|
4960
|
+
expires_at?: string | null | undefined;
|
|
4961
|
+
requested_by?: {
|
|
4962
|
+
surface: "chat" | "tui" | "cli" | "gateway";
|
|
4963
|
+
platform?: string | undefined;
|
|
4964
|
+
conversation_id?: string | undefined;
|
|
4965
|
+
identity_key?: string | undefined;
|
|
4966
|
+
user_id?: string | undefined;
|
|
4967
|
+
} | null | undefined;
|
|
4968
|
+
reply_target?: {
|
|
4969
|
+
metadata?: Record<string, unknown> | undefined;
|
|
4970
|
+
surface?: "chat" | "tui" | "cli" | "gateway" | undefined;
|
|
4971
|
+
platform?: string | undefined;
|
|
4972
|
+
conversation_id?: string | undefined;
|
|
4973
|
+
identity_key?: string | undefined;
|
|
4974
|
+
user_id?: string | undefined;
|
|
4975
|
+
channel?: "web" | "tui" | "cli" | "plugin_gateway" | undefined;
|
|
4976
|
+
message_id?: string | undefined;
|
|
4977
|
+
response_channel?: string | undefined;
|
|
4978
|
+
outbox_topic?: string | undefined;
|
|
4979
|
+
deliveryMode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
4980
|
+
delivery_mode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
4981
|
+
} | null | undefined;
|
|
4982
|
+
browser_session_id?: string | null | undefined;
|
|
4983
|
+
resumable_session_id?: string | null | undefined;
|
|
4984
|
+
supersedes_handoff_id?: string | null | undefined;
|
|
4985
|
+
superseded_by_handoff_id?: string | null | undefined;
|
|
4986
|
+
failure_code?: string | null | undefined;
|
|
4987
|
+
failure_message?: string | null | undefined;
|
|
4988
|
+
}[];
|
|
4989
|
+
recent_terminal: {
|
|
4990
|
+
updated_at: string;
|
|
4991
|
+
schema_version: "runtime-auth-handoff-v1";
|
|
4992
|
+
evidence_refs: {
|
|
4993
|
+
kind: string;
|
|
4994
|
+
ref: string;
|
|
4995
|
+
observed_at?: string | undefined;
|
|
4996
|
+
}[];
|
|
4997
|
+
state: "completed" | "cancelled" | "blocked" | "expired" | "in_progress" | "requested" | "superseded" | "pending_operator";
|
|
4998
|
+
provider_id: string;
|
|
4999
|
+
requested_at: string;
|
|
5000
|
+
handoff_id: string;
|
|
5001
|
+
service_key: string;
|
|
5002
|
+
workspace: string;
|
|
5003
|
+
actor_key: string;
|
|
5004
|
+
completed_at?: string | null | undefined;
|
|
5005
|
+
resume_hint?: {
|
|
5006
|
+
tool_name: "browser_run_workflow";
|
|
5007
|
+
task_summary: string;
|
|
5008
|
+
input_ref?: string | undefined;
|
|
5009
|
+
} | null | undefined;
|
|
5010
|
+
expires_at?: string | null | undefined;
|
|
5011
|
+
requested_by?: {
|
|
5012
|
+
surface: "chat" | "tui" | "cli" | "gateway";
|
|
5013
|
+
platform?: string | undefined;
|
|
5014
|
+
conversation_id?: string | undefined;
|
|
5015
|
+
identity_key?: string | undefined;
|
|
5016
|
+
user_id?: string | undefined;
|
|
5017
|
+
} | null | undefined;
|
|
5018
|
+
reply_target?: {
|
|
5019
|
+
metadata?: Record<string, unknown> | undefined;
|
|
5020
|
+
surface?: "chat" | "tui" | "cli" | "gateway" | undefined;
|
|
5021
|
+
platform?: string | undefined;
|
|
5022
|
+
conversation_id?: string | undefined;
|
|
5023
|
+
identity_key?: string | undefined;
|
|
5024
|
+
user_id?: string | undefined;
|
|
5025
|
+
channel?: "web" | "tui" | "cli" | "plugin_gateway" | undefined;
|
|
5026
|
+
message_id?: string | undefined;
|
|
5027
|
+
response_channel?: string | undefined;
|
|
5028
|
+
outbox_topic?: string | undefined;
|
|
5029
|
+
deliveryMode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
5030
|
+
delivery_mode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
5031
|
+
} | null | undefined;
|
|
5032
|
+
browser_session_id?: string | null | undefined;
|
|
5033
|
+
resumable_session_id?: string | null | undefined;
|
|
5034
|
+
supersedes_handoff_id?: string | null | undefined;
|
|
5035
|
+
superseded_by_handoff_id?: string | null | undefined;
|
|
5036
|
+
failure_code?: string | null | undefined;
|
|
5037
|
+
failure_message?: string | null | undefined;
|
|
5038
|
+
}[];
|
|
5039
|
+
};
|
|
5040
|
+
browser_sessions: {
|
|
5041
|
+
stale: {
|
|
5042
|
+
created_at: string;
|
|
5043
|
+
updated_at: string;
|
|
5044
|
+
state: "blocked" | "expired" | "unavailable" | "authenticated" | "fresh" | "auth_required";
|
|
5045
|
+
session_id: string;
|
|
5046
|
+
provider_id: string;
|
|
5047
|
+
service_key: string;
|
|
5048
|
+
workspace: string;
|
|
5049
|
+
actor_key: string;
|
|
5050
|
+
metadata?: Record<string, unknown> | undefined;
|
|
5051
|
+
expires_at?: string | null | undefined;
|
|
5052
|
+
last_auth_at?: string | null | undefined;
|
|
5053
|
+
last_failure_code?: string | null | undefined;
|
|
5054
|
+
last_failure_message?: string | null | undefined;
|
|
5055
|
+
}[];
|
|
5056
|
+
authenticated: {
|
|
5057
|
+
created_at: string;
|
|
5058
|
+
updated_at: string;
|
|
5059
|
+
state: "blocked" | "expired" | "unavailable" | "authenticated" | "fresh" | "auth_required";
|
|
5060
|
+
session_id: string;
|
|
5061
|
+
provider_id: string;
|
|
5062
|
+
service_key: string;
|
|
5063
|
+
workspace: string;
|
|
5064
|
+
actor_key: string;
|
|
5065
|
+
metadata?: Record<string, unknown> | undefined;
|
|
5066
|
+
expires_at?: string | null | undefined;
|
|
5067
|
+
last_auth_at?: string | null | undefined;
|
|
5068
|
+
last_failure_code?: string | null | undefined;
|
|
5069
|
+
last_failure_message?: string | null | undefined;
|
|
5070
|
+
}[];
|
|
5071
|
+
};
|
|
5072
|
+
guardrails: {
|
|
5073
|
+
open_breakers: {
|
|
5074
|
+
updated_at: string;
|
|
5075
|
+
state: "paused" | "closed" | "open" | "half_open";
|
|
5076
|
+
provider_id: string;
|
|
5077
|
+
service_key: string;
|
|
5078
|
+
key: string;
|
|
5079
|
+
failure_count: number;
|
|
5080
|
+
cooldown_until?: string | null | undefined;
|
|
5081
|
+
last_failure_code?: string | null | undefined;
|
|
5082
|
+
last_failure_message?: string | null | undefined;
|
|
5083
|
+
last_failure_at?: string | null | undefined;
|
|
5084
|
+
opened_at?: string | null | undefined;
|
|
5085
|
+
}[];
|
|
5086
|
+
paused_breakers: {
|
|
5087
|
+
updated_at: string;
|
|
5088
|
+
state: "paused" | "closed" | "open" | "half_open";
|
|
5089
|
+
provider_id: string;
|
|
5090
|
+
service_key: string;
|
|
5091
|
+
key: string;
|
|
5092
|
+
failure_count: number;
|
|
5093
|
+
cooldown_until?: string | null | undefined;
|
|
5094
|
+
last_failure_code?: string | null | undefined;
|
|
5095
|
+
last_failure_message?: string | null | undefined;
|
|
5096
|
+
last_failure_at?: string | null | undefined;
|
|
5097
|
+
opened_at?: string | null | undefined;
|
|
5098
|
+
}[];
|
|
5099
|
+
half_open_breakers: {
|
|
5100
|
+
updated_at: string;
|
|
5101
|
+
state: "paused" | "closed" | "open" | "half_open";
|
|
5102
|
+
provider_id: string;
|
|
5103
|
+
service_key: string;
|
|
5104
|
+
key: string;
|
|
5105
|
+
failure_count: number;
|
|
5106
|
+
cooldown_until?: string | null | undefined;
|
|
5107
|
+
last_failure_code?: string | null | undefined;
|
|
5108
|
+
last_failure_message?: string | null | undefined;
|
|
5109
|
+
last_failure_at?: string | null | undefined;
|
|
5110
|
+
opened_at?: string | null | undefined;
|
|
5111
|
+
}[];
|
|
5112
|
+
};
|
|
5113
|
+
blocked_work: {
|
|
5114
|
+
kind: "backpressure" | "auth_wait" | "guardrail_open" | "provider_unavailable";
|
|
5115
|
+
reason: string;
|
|
5116
|
+
provider_id: string;
|
|
5117
|
+
service_key: string;
|
|
5118
|
+
since: string;
|
|
5119
|
+
goal_id?: string | null | undefined;
|
|
5120
|
+
run_id?: string | null | undefined;
|
|
5121
|
+
handoff_id?: string | null | undefined;
|
|
5122
|
+
retry_after?: string | null | undefined;
|
|
5123
|
+
}[];
|
|
5124
|
+
}, {
|
|
5125
|
+
generated_at: string;
|
|
5126
|
+
schema_version: "runtime-automation-snapshot-v1";
|
|
5127
|
+
backpressure: {
|
|
5128
|
+
active: {
|
|
5129
|
+
acquired_at: string;
|
|
5130
|
+
provider_id: string;
|
|
5131
|
+
service_key: string;
|
|
5132
|
+
run_key: string;
|
|
5133
|
+
}[];
|
|
5134
|
+
throttled: {
|
|
5135
|
+
at: string;
|
|
5136
|
+
reason: string;
|
|
5137
|
+
provider_id: string;
|
|
5138
|
+
service_key: string;
|
|
5139
|
+
}[];
|
|
5140
|
+
};
|
|
5141
|
+
auth_handoffs: {
|
|
5142
|
+
pending: {
|
|
5143
|
+
updated_at: string;
|
|
5144
|
+
schema_version: "runtime-auth-handoff-v1";
|
|
5145
|
+
state: "completed" | "cancelled" | "blocked" | "expired" | "in_progress" | "requested" | "superseded" | "pending_operator";
|
|
5146
|
+
provider_id: string;
|
|
5147
|
+
requested_at: string;
|
|
5148
|
+
handoff_id: string;
|
|
5149
|
+
service_key: string;
|
|
5150
|
+
workspace: string;
|
|
5151
|
+
actor_key: string;
|
|
5152
|
+
completed_at?: string | null | undefined;
|
|
5153
|
+
evidence_refs?: {
|
|
5154
|
+
kind: string;
|
|
5155
|
+
ref: string;
|
|
5156
|
+
observed_at?: string | undefined;
|
|
5157
|
+
}[] | undefined;
|
|
5158
|
+
resume_hint?: {
|
|
5159
|
+
tool_name: "browser_run_workflow";
|
|
5160
|
+
task_summary: string;
|
|
5161
|
+
input_ref?: string | undefined;
|
|
5162
|
+
} | null | undefined;
|
|
5163
|
+
expires_at?: string | null | undefined;
|
|
5164
|
+
requested_by?: {
|
|
5165
|
+
surface: "chat" | "tui" | "cli" | "gateway";
|
|
5166
|
+
platform?: string | undefined;
|
|
5167
|
+
conversation_id?: string | undefined;
|
|
5168
|
+
identity_key?: string | undefined;
|
|
5169
|
+
user_id?: string | undefined;
|
|
5170
|
+
} | null | undefined;
|
|
5171
|
+
reply_target?: {
|
|
5172
|
+
metadata?: Record<string, unknown> | undefined;
|
|
5173
|
+
surface?: "chat" | "tui" | "cli" | "gateway" | undefined;
|
|
5174
|
+
platform?: string | undefined;
|
|
5175
|
+
conversation_id?: string | undefined;
|
|
5176
|
+
identity_key?: string | undefined;
|
|
5177
|
+
user_id?: string | undefined;
|
|
5178
|
+
channel?: "web" | "tui" | "cli" | "plugin_gateway" | undefined;
|
|
5179
|
+
message_id?: string | undefined;
|
|
5180
|
+
response_channel?: string | undefined;
|
|
5181
|
+
outbox_topic?: string | undefined;
|
|
5182
|
+
deliveryMode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
5183
|
+
delivery_mode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
5184
|
+
} | null | undefined;
|
|
5185
|
+
browser_session_id?: string | null | undefined;
|
|
5186
|
+
resumable_session_id?: string | null | undefined;
|
|
5187
|
+
supersedes_handoff_id?: string | null | undefined;
|
|
5188
|
+
superseded_by_handoff_id?: string | null | undefined;
|
|
5189
|
+
failure_code?: string | null | undefined;
|
|
5190
|
+
failure_message?: string | null | undefined;
|
|
5191
|
+
}[];
|
|
5192
|
+
stale: {
|
|
5193
|
+
updated_at: string;
|
|
5194
|
+
schema_version: "runtime-auth-handoff-v1";
|
|
5195
|
+
state: "completed" | "cancelled" | "blocked" | "expired" | "in_progress" | "requested" | "superseded" | "pending_operator";
|
|
5196
|
+
provider_id: string;
|
|
5197
|
+
requested_at: string;
|
|
5198
|
+
handoff_id: string;
|
|
5199
|
+
service_key: string;
|
|
5200
|
+
workspace: string;
|
|
5201
|
+
actor_key: string;
|
|
5202
|
+
completed_at?: string | null | undefined;
|
|
5203
|
+
evidence_refs?: {
|
|
5204
|
+
kind: string;
|
|
5205
|
+
ref: string;
|
|
5206
|
+
observed_at?: string | undefined;
|
|
5207
|
+
}[] | undefined;
|
|
5208
|
+
resume_hint?: {
|
|
5209
|
+
tool_name: "browser_run_workflow";
|
|
5210
|
+
task_summary: string;
|
|
5211
|
+
input_ref?: string | undefined;
|
|
5212
|
+
} | null | undefined;
|
|
5213
|
+
expires_at?: string | null | undefined;
|
|
5214
|
+
requested_by?: {
|
|
5215
|
+
surface: "chat" | "tui" | "cli" | "gateway";
|
|
5216
|
+
platform?: string | undefined;
|
|
5217
|
+
conversation_id?: string | undefined;
|
|
5218
|
+
identity_key?: string | undefined;
|
|
5219
|
+
user_id?: string | undefined;
|
|
5220
|
+
} | null | undefined;
|
|
5221
|
+
reply_target?: {
|
|
5222
|
+
metadata?: Record<string, unknown> | undefined;
|
|
5223
|
+
surface?: "chat" | "tui" | "cli" | "gateway" | undefined;
|
|
5224
|
+
platform?: string | undefined;
|
|
5225
|
+
conversation_id?: string | undefined;
|
|
5226
|
+
identity_key?: string | undefined;
|
|
5227
|
+
user_id?: string | undefined;
|
|
5228
|
+
channel?: "web" | "tui" | "cli" | "plugin_gateway" | undefined;
|
|
5229
|
+
message_id?: string | undefined;
|
|
5230
|
+
response_channel?: string | undefined;
|
|
5231
|
+
outbox_topic?: string | undefined;
|
|
5232
|
+
deliveryMode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
5233
|
+
delivery_mode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
5234
|
+
} | null | undefined;
|
|
5235
|
+
browser_session_id?: string | null | undefined;
|
|
5236
|
+
resumable_session_id?: string | null | undefined;
|
|
5237
|
+
supersedes_handoff_id?: string | null | undefined;
|
|
5238
|
+
superseded_by_handoff_id?: string | null | undefined;
|
|
5239
|
+
failure_code?: string | null | undefined;
|
|
5240
|
+
failure_message?: string | null | undefined;
|
|
5241
|
+
}[];
|
|
5242
|
+
recent_terminal: {
|
|
5243
|
+
updated_at: string;
|
|
5244
|
+
schema_version: "runtime-auth-handoff-v1";
|
|
5245
|
+
state: "completed" | "cancelled" | "blocked" | "expired" | "in_progress" | "requested" | "superseded" | "pending_operator";
|
|
5246
|
+
provider_id: string;
|
|
5247
|
+
requested_at: string;
|
|
5248
|
+
handoff_id: string;
|
|
5249
|
+
service_key: string;
|
|
5250
|
+
workspace: string;
|
|
5251
|
+
actor_key: string;
|
|
5252
|
+
completed_at?: string | null | undefined;
|
|
5253
|
+
evidence_refs?: {
|
|
5254
|
+
kind: string;
|
|
5255
|
+
ref: string;
|
|
5256
|
+
observed_at?: string | undefined;
|
|
5257
|
+
}[] | undefined;
|
|
5258
|
+
resume_hint?: {
|
|
5259
|
+
tool_name: "browser_run_workflow";
|
|
5260
|
+
task_summary: string;
|
|
5261
|
+
input_ref?: string | undefined;
|
|
5262
|
+
} | null | undefined;
|
|
5263
|
+
expires_at?: string | null | undefined;
|
|
5264
|
+
requested_by?: {
|
|
5265
|
+
surface: "chat" | "tui" | "cli" | "gateway";
|
|
5266
|
+
platform?: string | undefined;
|
|
5267
|
+
conversation_id?: string | undefined;
|
|
5268
|
+
identity_key?: string | undefined;
|
|
5269
|
+
user_id?: string | undefined;
|
|
5270
|
+
} | null | undefined;
|
|
5271
|
+
reply_target?: {
|
|
5272
|
+
metadata?: Record<string, unknown> | undefined;
|
|
5273
|
+
surface?: "chat" | "tui" | "cli" | "gateway" | undefined;
|
|
5274
|
+
platform?: string | undefined;
|
|
5275
|
+
conversation_id?: string | undefined;
|
|
5276
|
+
identity_key?: string | undefined;
|
|
5277
|
+
user_id?: string | undefined;
|
|
5278
|
+
channel?: "web" | "tui" | "cli" | "plugin_gateway" | undefined;
|
|
5279
|
+
message_id?: string | undefined;
|
|
5280
|
+
response_channel?: string | undefined;
|
|
5281
|
+
outbox_topic?: string | undefined;
|
|
5282
|
+
deliveryMode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
5283
|
+
delivery_mode?: "reply" | "notify" | "thread_reply" | undefined;
|
|
5284
|
+
} | null | undefined;
|
|
5285
|
+
browser_session_id?: string | null | undefined;
|
|
5286
|
+
resumable_session_id?: string | null | undefined;
|
|
5287
|
+
supersedes_handoff_id?: string | null | undefined;
|
|
5288
|
+
superseded_by_handoff_id?: string | null | undefined;
|
|
5289
|
+
failure_code?: string | null | undefined;
|
|
5290
|
+
failure_message?: string | null | undefined;
|
|
5291
|
+
}[];
|
|
5292
|
+
};
|
|
5293
|
+
browser_sessions: {
|
|
5294
|
+
stale: {
|
|
5295
|
+
created_at: string;
|
|
5296
|
+
updated_at: string;
|
|
5297
|
+
state: "blocked" | "expired" | "unavailable" | "authenticated" | "fresh" | "auth_required";
|
|
5298
|
+
session_id: string;
|
|
5299
|
+
provider_id: string;
|
|
5300
|
+
service_key: string;
|
|
5301
|
+
workspace: string;
|
|
5302
|
+
actor_key: string;
|
|
5303
|
+
metadata?: Record<string, unknown> | undefined;
|
|
5304
|
+
expires_at?: string | null | undefined;
|
|
5305
|
+
last_auth_at?: string | null | undefined;
|
|
5306
|
+
last_failure_code?: string | null | undefined;
|
|
5307
|
+
last_failure_message?: string | null | undefined;
|
|
5308
|
+
}[];
|
|
5309
|
+
authenticated: {
|
|
5310
|
+
created_at: string;
|
|
5311
|
+
updated_at: string;
|
|
5312
|
+
state: "blocked" | "expired" | "unavailable" | "authenticated" | "fresh" | "auth_required";
|
|
5313
|
+
session_id: string;
|
|
5314
|
+
provider_id: string;
|
|
5315
|
+
service_key: string;
|
|
5316
|
+
workspace: string;
|
|
5317
|
+
actor_key: string;
|
|
5318
|
+
metadata?: Record<string, unknown> | undefined;
|
|
5319
|
+
expires_at?: string | null | undefined;
|
|
5320
|
+
last_auth_at?: string | null | undefined;
|
|
5321
|
+
last_failure_code?: string | null | undefined;
|
|
5322
|
+
last_failure_message?: string | null | undefined;
|
|
5323
|
+
}[];
|
|
5324
|
+
};
|
|
5325
|
+
guardrails: {
|
|
5326
|
+
open_breakers: {
|
|
5327
|
+
updated_at: string;
|
|
5328
|
+
state: "paused" | "closed" | "open" | "half_open";
|
|
5329
|
+
provider_id: string;
|
|
5330
|
+
service_key: string;
|
|
5331
|
+
key: string;
|
|
5332
|
+
failure_count: number;
|
|
5333
|
+
cooldown_until?: string | null | undefined;
|
|
5334
|
+
last_failure_code?: string | null | undefined;
|
|
5335
|
+
last_failure_message?: string | null | undefined;
|
|
5336
|
+
last_failure_at?: string | null | undefined;
|
|
5337
|
+
opened_at?: string | null | undefined;
|
|
5338
|
+
}[];
|
|
5339
|
+
paused_breakers: {
|
|
5340
|
+
updated_at: string;
|
|
5341
|
+
state: "paused" | "closed" | "open" | "half_open";
|
|
5342
|
+
provider_id: string;
|
|
5343
|
+
service_key: string;
|
|
5344
|
+
key: string;
|
|
5345
|
+
failure_count: number;
|
|
5346
|
+
cooldown_until?: string | null | undefined;
|
|
5347
|
+
last_failure_code?: string | null | undefined;
|
|
5348
|
+
last_failure_message?: string | null | undefined;
|
|
5349
|
+
last_failure_at?: string | null | undefined;
|
|
5350
|
+
opened_at?: string | null | undefined;
|
|
5351
|
+
}[];
|
|
5352
|
+
half_open_breakers: {
|
|
5353
|
+
updated_at: string;
|
|
5354
|
+
state: "paused" | "closed" | "open" | "half_open";
|
|
5355
|
+
provider_id: string;
|
|
5356
|
+
service_key: string;
|
|
5357
|
+
key: string;
|
|
5358
|
+
failure_count: number;
|
|
5359
|
+
cooldown_until?: string | null | undefined;
|
|
5360
|
+
last_failure_code?: string | null | undefined;
|
|
5361
|
+
last_failure_message?: string | null | undefined;
|
|
5362
|
+
last_failure_at?: string | null | undefined;
|
|
5363
|
+
opened_at?: string | null | undefined;
|
|
5364
|
+
}[];
|
|
5365
|
+
};
|
|
5366
|
+
blocked_work: {
|
|
5367
|
+
kind: "backpressure" | "auth_wait" | "guardrail_open" | "provider_unavailable";
|
|
5368
|
+
reason: string;
|
|
5369
|
+
provider_id: string;
|
|
5370
|
+
service_key: string;
|
|
5371
|
+
since: string;
|
|
5372
|
+
goal_id?: string | null | undefined;
|
|
5373
|
+
run_id?: string | null | undefined;
|
|
5374
|
+
handoff_id?: string | null | undefined;
|
|
5375
|
+
retry_after?: string | null | undefined;
|
|
5376
|
+
}[];
|
|
5377
|
+
}>;
|
|
5378
|
+
export type RuntimeAutomationSnapshot = z.infer<typeof RuntimeAutomationSnapshotSchema>;
|
|
2746
5379
|
export declare function summarizeRuntimeHealthStatus(components: Record<string, RuntimeHealthStatus>): RuntimeHealthStatus;
|
|
2747
5380
|
export declare function classifyLongRunHealth(signals: RuntimeLongRunHealthSignals): RuntimeLongRunHealthSummary;
|
|
2748
5381
|
export declare function buildLongRunHealth(signals: RuntimeLongRunHealthSignals, checkedAt?: number): RuntimeLongRunHealth;
|