pulseed 0.6.1 → 0.6.3
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 +1 -1
- package/dist/adapters/agents/claude-api.d.ts +2 -2
- package/dist/adapters/agents/claude-api.d.ts.map +1 -1
- package/dist/adapters/agents/claude-api.js +3 -2
- package/dist/adapters/agents/claude-api.js.map +1 -1
- package/dist/adapters/agents/openai-codex.d.ts +3 -0
- package/dist/adapters/agents/openai-codex.d.ts.map +1 -1
- package/dist/adapters/agents/openai-codex.js +5 -0
- package/dist/adapters/agents/openai-codex.js.map +1 -1
- package/dist/adapters/datasources/artifact-metric-datasource.d.ts +3 -0
- package/dist/adapters/datasources/artifact-metric-datasource.d.ts.map +1 -1
- package/dist/adapters/datasources/artifact-metric-datasource.js +20 -1
- package/dist/adapters/datasources/artifact-metric-datasource.js.map +1 -1
- package/dist/adapters/types/a2a.d.ts +24 -24
- package/dist/base/config/global-config.d.ts +4 -4
- package/dist/base/llm/codex-llm-client.d.ts +3 -0
- package/dist/base/llm/codex-llm-client.d.ts.map +1 -1
- package/dist/base/llm/codex-llm-client.js +71 -7
- package/dist/base/llm/codex-llm-client.js.map +1 -1
- package/dist/base/llm/llm-client.d.ts +2 -0
- package/dist/base/llm/llm-client.d.ts.map +1 -1
- package/dist/base/llm/llm-client.js +2 -2
- 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 +12 -0
- package/dist/base/llm/ollama-client.js.map +1 -1
- package/dist/base/llm/openai-client.d.ts +4 -0
- package/dist/base/llm/openai-client.d.ts.map +1 -1
- package/dist/base/llm/openai-client.js +29 -15
- package/dist/base/llm/openai-client.js.map +1 -1
- package/dist/base/llm/provider-config.d.ts +12 -2
- package/dist/base/llm/provider-config.d.ts.map +1 -1
- package/dist/base/llm/provider-config.js +46 -5
- package/dist/base/llm/provider-config.js.map +1 -1
- package/dist/base/llm/provider-factory.d.ts +1 -1
- package/dist/base/llm/provider-factory.d.ts.map +1 -1
- package/dist/base/llm/provider-factory.js +7 -2
- package/dist/base/llm/provider-factory.js.map +1 -1
- package/dist/base/state/state-manager-goal-write.d.ts +1 -1
- package/dist/base/state/state-manager-goal-write.d.ts.map +1 -1
- package/dist/base/state/state-manager.d.ts +2 -6
- package/dist/base/state/state-manager.d.ts.map +1 -1
- package/dist/base/state/state-manager.js.map +1 -1
- package/dist/base/state/state-write-fence.d.ts +7 -0
- package/dist/base/state/state-write-fence.d.ts.map +1 -0
- package/dist/base/state/state-write-fence.js +2 -0
- package/dist/base/state/state-write-fence.js.map +1 -0
- package/dist/base/types/companion.d.ts +2 -0
- package/dist/base/types/companion.d.ts.map +1 -0
- package/dist/base/types/companion.js +2 -0
- package/dist/base/types/companion.js.map +1 -0
- package/dist/base/types/core.d.ts +1 -1
- package/dist/base/types/core.d.ts.map +1 -1
- package/dist/base/types/core.js +1 -0
- package/dist/base/types/core.js.map +1 -1
- package/dist/base/types/index.d.ts +1 -0
- package/dist/base/types/index.d.ts.map +1 -1
- package/dist/base/types/index.js +1 -0
- package/dist/base/types/index.js.map +1 -1
- package/dist/base/utils/execFileNoThrow.d.ts +4 -0
- package/dist/base/utils/execFileNoThrow.d.ts.map +1 -1
- package/dist/base/utils/execFileNoThrow.js +81 -2
- package/dist/base/utils/execFileNoThrow.js.map +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/interface/chat/chat-event-state.d.ts +2 -0
- package/dist/interface/chat/chat-event-state.d.ts.map +1 -1
- package/dist/interface/chat/chat-event-state.js +28 -11
- package/dist/interface/chat/chat-event-state.js.map +1 -1
- package/dist/interface/chat/chat-events.d.ts +9 -1
- package/dist/interface/chat/chat-events.d.ts.map +1 -1
- package/dist/interface/chat/chat-history.d.ts +4739 -1
- package/dist/interface/chat/chat-history.d.ts.map +1 -1
- package/dist/interface/chat/chat-history.js +40 -2
- package/dist/interface/chat/chat-history.js.map +1 -1
- package/dist/interface/chat/chat-runner-command-helpers.d.ts +1 -0
- package/dist/interface/chat/chat-runner-command-helpers.d.ts.map +1 -1
- package/dist/interface/chat/chat-runner-command-helpers.js +1 -0
- package/dist/interface/chat/chat-runner-command-helpers.js.map +1 -1
- package/dist/interface/chat/chat-runner-commands.d.ts +4 -32
- package/dist/interface/chat/chat-runner-commands.d.ts.map +1 -1
- package/dist/interface/chat/chat-runner-commands.js +156 -7
- package/dist/interface/chat/chat-runner-commands.js.map +1 -1
- package/dist/interface/chat/chat-runner-contracts.d.ts +153 -0
- package/dist/interface/chat/chat-runner-contracts.d.ts.map +1 -0
- package/dist/interface/chat/chat-runner-contracts.js +2 -0
- package/dist/interface/chat/chat-runner-contracts.js.map +1 -0
- package/dist/interface/chat/chat-runner-event-bridge.d.ts +8 -2
- package/dist/interface/chat/chat-runner-event-bridge.d.ts.map +1 -1
- package/dist/interface/chat/chat-runner-event-bridge.js +76 -11
- package/dist/interface/chat/chat-runner-event-bridge.js.map +1 -1
- package/dist/interface/chat/chat-runner-routes.d.ts +66 -12
- package/dist/interface/chat/chat-runner-routes.d.ts.map +1 -1
- package/dist/interface/chat/chat-runner-routes.js +322 -30
- package/dist/interface/chat/chat-runner-routes.js.map +1 -1
- package/dist/interface/chat/chat-runner-runtime.d.ts +1 -1
- package/dist/interface/chat/chat-runner-runtime.d.ts.map +1 -1
- package/dist/interface/chat/chat-runner-runtime.js +4 -0
- package/dist/interface/chat/chat-runner-runtime.js.map +1 -1
- package/dist/interface/chat/chat-runner.d.ts +11 -71
- package/dist/interface/chat/chat-runner.d.ts.map +1 -1
- package/dist/interface/chat/chat-runner.js +440 -58
- package/dist/interface/chat/chat-runner.js.map +1 -1
- package/dist/interface/chat/chat-session-store.d.ts +2 -0
- package/dist/interface/chat/chat-session-store.d.ts.map +1 -1
- package/dist/interface/chat/chat-session-store.js +3 -6
- package/dist/interface/chat/chat-session-store.js.map +1 -1
- package/dist/interface/chat/chat-state-service.d.ts +1 -0
- package/dist/interface/chat/chat-state-service.d.ts.map +1 -1
- package/dist/interface/chat/chat-state-service.js +1 -0
- package/dist/interface/chat/chat-state-service.js.map +1 -1
- package/dist/interface/chat/cross-platform-session-global.d.ts +2 -1
- package/dist/interface/chat/cross-platform-session-global.d.ts.map +1 -1
- package/dist/interface/chat/cross-platform-session-global.js +4 -10
- package/dist/interface/chat/cross-platform-session-global.js.map +1 -1
- package/dist/interface/chat/cross-platform-session.d.ts +30 -1
- package/dist/interface/chat/cross-platform-session.d.ts.map +1 -1
- package/dist/interface/chat/cross-platform-session.js +413 -52
- package/dist/interface/chat/cross-platform-session.js.map +1 -1
- package/dist/interface/chat/event-subscriber.js +2 -2
- package/dist/interface/chat/event-subscriber.js.map +1 -1
- package/dist/interface/chat/failure-recovery.js +1 -1
- package/dist/interface/chat/failure-recovery.js.map +1 -1
- package/dist/interface/chat/freeform-route-classifier.d.ts +5 -5
- package/dist/interface/chat/freeform-route-classifier.js +3 -2
- package/dist/interface/chat/freeform-route-classifier.js.map +1 -1
- package/dist/interface/chat/gateway-setup-status.d.ts +33 -0
- package/dist/interface/chat/gateway-setup-status.d.ts.map +1 -0
- package/dist/interface/chat/gateway-setup-status.js +44 -0
- package/dist/interface/chat/gateway-setup-status.js.map +1 -0
- package/dist/interface/chat/ingress-router.d.ts +22 -0
- package/dist/interface/chat/ingress-router.d.ts.map +1 -1
- package/dist/interface/chat/ingress-router.js +148 -11
- package/dist/interface/chat/ingress-router.js.map +1 -1
- package/dist/interface/chat/operation-progress.d.ts +17 -0
- package/dist/interface/chat/operation-progress.d.ts.map +1 -0
- package/dist/interface/chat/operation-progress.js +29 -0
- package/dist/interface/chat/operation-progress.js.map +1 -0
- package/dist/interface/chat/setup-config-write.d.ts +27 -0
- package/dist/interface/chat/setup-config-write.d.ts.map +1 -0
- package/dist/interface/chat/setup-config-write.js +79 -0
- package/dist/interface/chat/setup-config-write.js.map +1 -0
- package/dist/interface/chat/setup-dialogue.d.ts +199 -0
- package/dist/interface/chat/setup-dialogue.d.ts.map +1 -0
- package/dist/interface/chat/setup-dialogue.js +97 -0
- package/dist/interface/chat/setup-dialogue.js.map +1 -0
- package/dist/interface/chat/setup-secret-intake.d.ts +68 -0
- package/dist/interface/chat/setup-secret-intake.d.ts.map +1 -0
- package/dist/interface/chat/setup-secret-intake.js +84 -0
- package/dist/interface/chat/setup-secret-intake.js.map +1 -0
- package/dist/interface/chat/turn-language.d.ts +23 -0
- package/dist/interface/chat/turn-language.d.ts.map +1 -0
- package/dist/interface/chat/turn-language.js +46 -0
- package/dist/interface/chat/turn-language.js.map +1 -0
- package/dist/interface/cli/cli-command-registry.d.ts +1 -1
- package/dist/interface/cli/cli-command-registry.d.ts.map +1 -1
- package/dist/interface/cli/cli-runner.js +1 -1
- package/dist/interface/cli/cli-runner.js.map +1 -1
- package/dist/interface/cli/commands/config.d.ts.map +1 -1
- package/dist/interface/cli/commands/config.js +12 -1
- package/dist/interface/cli/commands/config.js.map +1 -1
- package/dist/interface/cli/commands/daemon.d.ts.map +1 -1
- package/dist/interface/cli/commands/daemon.js +62 -1
- package/dist/interface/cli/commands/daemon.js.map +1 -1
- package/dist/interface/cli/commands/doctor.d.ts +1 -0
- package/dist/interface/cli/commands/doctor.d.ts.map +1 -1
- package/dist/interface/cli/commands/doctor.js +69 -0
- package/dist/interface/cli/commands/doctor.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 -1
- package/dist/interface/cli/commands/goal-dispatch.js.map +1 -1
- package/dist/interface/cli/commands/goal-raw.d.ts +1 -0
- package/dist/interface/cli/commands/goal-raw.d.ts.map +1 -1
- package/dist/interface/cli/commands/goal-raw.js +34 -2
- package/dist/interface/cli/commands/goal-raw.js.map +1 -1
- package/dist/interface/cli/commands/operator-binding-status.d.ts +59 -0
- package/dist/interface/cli/commands/operator-binding-status.d.ts.map +1 -0
- package/dist/interface/cli/commands/operator-binding-status.js +257 -0
- package/dist/interface/cli/commands/operator-binding-status.js.map +1 -0
- package/dist/interface/cli/commands/run.d.ts +2 -2
- package/dist/interface/cli/commands/run.d.ts.map +1 -1
- 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 +8 -1
- package/dist/interface/cli/commands/runtime.js.map +1 -1
- package/dist/interface/cli/commands/setup/import/flow.d.ts.map +1 -1
- package/dist/interface/cli/commands/setup/import/flow.js +2 -0
- package/dist/interface/cli/commands/setup/import/flow.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 +5 -1
- package/dist/interface/cli/commands/setup/import/provider.js.map +1 -1
- package/dist/interface/cli/commands/setup/import/types.d.ts +1 -0
- package/dist/interface/cli/commands/setup/import/types.d.ts.map +1 -1
- package/dist/interface/cli/commands/setup/steps-gateway.js +14 -3
- package/dist/interface/cli/commands/setup/steps-gateway.js.map +1 -1
- package/dist/interface/cli/commands/setup-shared.d.ts +2 -0
- package/dist/interface/cli/commands/setup-shared.d.ts.map +1 -1
- package/dist/interface/cli/commands/setup-shared.js +4 -1
- package/dist/interface/cli/commands/setup-shared.js.map +1 -1
- package/dist/interface/cli/commands/setup-wizard.d.ts +33 -0
- package/dist/interface/cli/commands/setup-wizard.d.ts.map +1 -1
- package/dist/interface/cli/commands/setup-wizard.js +124 -4
- package/dist/interface/cli/commands/setup-wizard.js.map +1 -1
- package/dist/interface/cli/commands/setup.d.ts.map +1 -1
- package/dist/interface/cli/commands/setup.js +13 -1
- package/dist/interface/cli/commands/setup.js.map +1 -1
- package/dist/interface/cli/commands/telegram.d.ts.map +1 -1
- package/dist/interface/cli/commands/telegram.js +27 -3
- package/dist/interface/cli/commands/telegram.js.map +1 -1
- package/dist/interface/cli/setup.d.ts +3 -3
- package/dist/interface/cli/setup.d.ts.map +1 -1
- package/dist/interface/cli/setup.js +3 -2
- package/dist/interface/cli/setup.js.map +1 -1
- package/dist/interface/cli/utils/loop-runner.d.ts +1 -1
- package/dist/interface/cli/utils/loop-runner.d.ts.map +1 -1
- package/dist/interface/cli/utils.js +1 -1
- package/dist/interface/tui/actions.d.ts.map +1 -1
- package/dist/interface/tui/actions.js +14 -6
- package/dist/interface/tui/actions.js.map +1 -1
- package/dist/interface/tui/app.d.ts +1 -7
- package/dist/interface/tui/app.d.ts.map +1 -1
- package/dist/interface/tui/app.js +71 -120
- package/dist/interface/tui/app.js.map +1 -1
- package/dist/interface/tui/chat/suggestions.js +1 -1
- package/dist/interface/tui/chat/suggestions.js.map +1 -1
- package/dist/interface/tui/chat-surface.d.ts +1 -0
- package/dist/interface/tui/chat-surface.d.ts.map +1 -1
- package/dist/interface/tui/chat-surface.js +15 -0
- package/dist/interface/tui/chat-surface.js.map +1 -1
- package/dist/interface/tui/entry-approval.js +2 -2
- package/dist/interface/tui/entry-approval.js.map +1 -1
- package/dist/interface/tui/entry-deps.d.ts +1 -1
- package/dist/interface/tui/entry-deps.d.ts.map +1 -1
- package/dist/interface/tui/entry-deps.js +54 -8
- package/dist/interface/tui/entry-deps.js.map +1 -1
- package/dist/interface/tui/input-action.d.ts +49 -0
- package/dist/interface/tui/input-action.d.ts.map +1 -0
- package/dist/interface/tui/input-action.js +46 -0
- package/dist/interface/tui/input-action.js.map +1 -0
- package/dist/interface/tui/markdown-renderer.d.ts.map +1 -1
- package/dist/interface/tui/markdown-renderer.js +4 -1
- package/dist/interface/tui/markdown-renderer.js.map +1 -1
- package/dist/interface/tui/use-loop.d.ts +1 -1
- package/dist/interface/tui/use-loop.d.ts.map +1 -1
- package/dist/orchestrator/execution/adapter-layer.d.ts +1 -1
- package/dist/orchestrator/execution/adapter-layer.d.ts.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 +12 -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 +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 +18 -1
- 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 +1 -0
- 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 +2 -1
- 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-result.d.ts +17 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-result.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-output.d.ts +3 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-output.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-runtime.d.ts +1 -0
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-runtime.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-runtime.js +20 -3
- package/dist/orchestrator/execution/agent-loop/agent-loop-tool-runtime.js.map +1 -1
- 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 +5 -3
- package/dist/orchestrator/execution/agent-loop/agent-loop-trace-store.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-timeline.d.ts +3 -1
- package/dist/orchestrator/execution/agent-loop/agent-timeline.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/agent-timeline.js +8 -20
- package/dist/orchestrator/execution/agent-loop/agent-timeline.js.map +1 -1
- 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 +5 -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.map +1 -1
- package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.js +43 -25
- package/dist/orchestrator/execution/agent-loop/bounded-agent-loop-runner.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.js +20 -4
- package/dist/orchestrator/execution/agent-loop/chat-agent-loop-runner.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/core-loop-control-tools.d.ts +1 -51
- package/dist/orchestrator/execution/agent-loop/core-loop-control-tools.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/core-loop-control-tools.js +3 -239
- package/dist/orchestrator/execution/agent-loop/core-loop-control-tools.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/durable-loop-control-tools.d.ts +60 -0
- package/dist/orchestrator/execution/agent-loop/durable-loop-control-tools.d.ts.map +1 -0
- package/dist/orchestrator/execution/agent-loop/durable-loop-control-tools.js +244 -0
- package/dist/orchestrator/execution/agent-loop/durable-loop-control-tools.js.map +1 -0
- package/dist/orchestrator/execution/agent-loop/index.d.ts +1 -1
- package/dist/orchestrator/execution/agent-loop/index.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/index.js +1 -1
- package/dist/orchestrator/execution/agent-loop/index.js.map +1 -1
- package/dist/orchestrator/execution/agent-loop/openai-responses-agent-loop-model-client.d.ts.map +1 -1
- package/dist/orchestrator/execution/agent-loop/openai-responses-agent-loop-model-client.js +5 -2
- package/dist/orchestrator/execution/agent-loop/openai-responses-agent-loop-model-client.js.map +1 -1
- 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 +2 -1
- package/dist/orchestrator/execution/agent-loop/task-agent-loop-result.js.map +1 -1
- package/dist/orchestrator/execution/task/task-generation.d.ts +50 -2
- package/dist/orchestrator/execution/task/task-generation.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-generation.js +19 -1
- package/dist/orchestrator/execution/task/task-generation.js.map +1 -1
- package/dist/orchestrator/execution/task/task-lifecycle-runner.d.ts +2 -1
- package/dist/orchestrator/execution/task/task-lifecycle-runner.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-lifecycle-runner.js +1 -1
- package/dist/orchestrator/execution/task/task-lifecycle-runner.js.map +1 -1
- package/dist/orchestrator/execution/task/task-lifecycle.d.ts +2 -1
- package/dist/orchestrator/execution/task/task-lifecycle.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-lifecycle.js +20 -14
- package/dist/orchestrator/execution/task/task-lifecycle.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 +9 -0
- package/dist/orchestrator/execution/task/task-prompt-builder.js.map +1 -1
- package/dist/orchestrator/execution/task/task-verifier-rules.d.ts +3 -1
- package/dist/orchestrator/execution/task/task-verifier-rules.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-verifier-rules.js +37 -33
- package/dist/orchestrator/execution/task/task-verifier-rules.js.map +1 -1
- package/dist/orchestrator/execution/task/task-verifier.d.ts.map +1 -1
- package/dist/orchestrator/execution/task/task-verifier.js +10 -2
- package/dist/orchestrator/execution/task/task-verifier.js.map +1 -1
- package/dist/orchestrator/execution/task/task-workspace.d.ts +8 -0
- package/dist/orchestrator/execution/task/task-workspace.d.ts.map +1 -0
- package/dist/orchestrator/execution/task/task-workspace.js +22 -0
- package/dist/orchestrator/execution/task/task-workspace.js.map +1 -0
- package/dist/orchestrator/execution/types/task-group.d.ts +73 -9
- package/dist/orchestrator/execution/types/task-group.d.ts.map +1 -1
- package/dist/orchestrator/execution/types/task.d.ts +103 -5
- package/dist/orchestrator/execution/types/task.d.ts.map +1 -1
- package/dist/orchestrator/execution/types/task.js +10 -0
- package/dist/orchestrator/execution/types/task.js.map +1 -1
- package/dist/orchestrator/goal/goal-decomposer.d.ts.map +1 -1
- package/dist/orchestrator/goal/goal-decomposer.js +2 -1
- package/dist/orchestrator/goal/goal-decomposer.js.map +1 -1
- package/dist/orchestrator/goal/goal-negotiator.d.ts.map +1 -1
- package/dist/orchestrator/goal/goal-negotiator.js +5 -2
- package/dist/orchestrator/goal/goal-negotiator.js.map +1 -1
- package/dist/orchestrator/goal/goal-suggest.d.ts +6 -6
- package/dist/orchestrator/goal/goal-validation.d.ts +4 -5
- package/dist/orchestrator/goal/goal-validation.d.ts.map +1 -1
- package/dist/orchestrator/goal/goal-validation.js +11 -17
- package/dist/orchestrator/goal/goal-validation.js.map +1 -1
- package/dist/orchestrator/goal/negotiator-prompts.d.ts.map +1 -1
- package/dist/orchestrator/goal/negotiator-prompts.js +8 -4
- package/dist/orchestrator/goal/negotiator-prompts.js.map +1 -1
- package/dist/orchestrator/goal/negotiator-steps.d.ts.map +1 -1
- package/dist/orchestrator/goal/negotiator-steps.js +7 -11
- package/dist/orchestrator/goal/negotiator-steps.js.map +1 -1
- package/dist/orchestrator/goal/types/goal-refiner.d.ts +6 -6
- package/dist/orchestrator/goal/types/goal.d.ts +167 -6
- package/dist/orchestrator/goal/types/goal.d.ts.map +1 -1
- package/dist/orchestrator/goal/types/goal.js +8 -0
- package/dist/orchestrator/goal/types/goal.js.map +1 -1
- package/dist/orchestrator/goal/types/negotiation.d.ts +120 -6
- package/dist/orchestrator/goal/types/negotiation.d.ts.map +1 -1
- package/dist/orchestrator/goal/types/negotiation.js +3 -0
- package/dist/orchestrator/goal/types/negotiation.js.map +1 -1
- package/dist/orchestrator/goal/types/suggest.d.ts +6 -6
- package/dist/orchestrator/loop/checkpoint-manager-loop.d.ts +1 -1
- package/dist/orchestrator/loop/checkpoint-manager-loop.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/capability.d.ts +1 -21
- package/dist/orchestrator/loop/core-loop/capability.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/capability.js +1 -150
- package/dist/orchestrator/loop/core-loop/capability.js.map +1 -1
- package/dist/orchestrator/loop/core-loop/contracts.d.ts +1 -318
- package/dist/orchestrator/loop/core-loop/contracts.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/contracts.js +1 -39
- package/dist/orchestrator/loop/core-loop/contracts.js.map +1 -1
- package/dist/orchestrator/loop/core-loop/control.d.ts +1 -26
- package/dist/orchestrator/loop/core-loop/control.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/control.js +1 -71
- package/dist/orchestrator/loop/core-loop/control.js.map +1 -1
- package/dist/orchestrator/loop/core-loop/decision-engine.d.ts +1 -78
- package/dist/orchestrator/loop/core-loop/decision-engine.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/decision-engine.js +1 -144
- package/dist/orchestrator/loop/core-loop/decision-engine.js.map +1 -1
- package/dist/orchestrator/loop/core-loop/dream-review-checkpoint.d.ts +1 -47
- package/dist/orchestrator/loop/core-loop/dream-review-checkpoint.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/dream-review-checkpoint.js +1 -385
- package/dist/orchestrator/loop/core-loop/dream-review-checkpoint.js.map +1 -1
- package/dist/orchestrator/loop/core-loop/evidence-ledger.d.ts +1 -21
- package/dist/orchestrator/loop/core-loop/evidence-ledger.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/evidence-ledger.js +1 -35
- package/dist/orchestrator/loop/core-loop/evidence-ledger.js.map +1 -1
- package/dist/orchestrator/loop/core-loop/iteration-kernel-knowledge.d.ts +1 -6
- package/dist/orchestrator/loop/core-loop/iteration-kernel-knowledge.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/iteration-kernel-knowledge.js +1 -42
- package/dist/orchestrator/loop/core-loop/iteration-kernel-knowledge.js.map +1 -1
- package/dist/orchestrator/loop/core-loop/iteration-kernel-wait.d.ts +1 -13
- package/dist/orchestrator/loop/core-loop/iteration-kernel-wait.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/iteration-kernel-wait.js +1 -40
- package/dist/orchestrator/loop/core-loop/iteration-kernel-wait.js.map +1 -1
- package/dist/orchestrator/loop/core-loop/iteration-kernel.d.ts +1 -36
- package/dist/orchestrator/loop/core-loop/iteration-kernel.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/iteration-kernel.js +1 -834
- package/dist/orchestrator/loop/core-loop/iteration-kernel.js.map +1 -1
- package/dist/orchestrator/loop/core-loop/learning.d.ts +1 -30
- package/dist/orchestrator/loop/core-loop/learning.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/learning.js +1 -91
- package/dist/orchestrator/loop/core-loop/learning.js.map +1 -1
- package/dist/orchestrator/loop/core-loop/phase-policy.d.ts +1 -19
- package/dist/orchestrator/loop/core-loop/phase-policy.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/phase-policy.js +1 -157
- package/dist/orchestrator/loop/core-loop/phase-policy.js.map +1 -1
- package/dist/orchestrator/loop/core-loop/phase-runtime.d.ts +1 -30
- package/dist/orchestrator/loop/core-loop/phase-runtime.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/phase-runtime.js +1 -102
- package/dist/orchestrator/loop/core-loop/phase-runtime.js.map +1 -1
- package/dist/orchestrator/loop/core-loop/phase-specs.d.ts +1 -1268
- package/dist/orchestrator/loop/core-loop/phase-specs.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/phase-specs.js +1 -348
- package/dist/orchestrator/loop/core-loop/phase-specs.js.map +1 -1
- package/dist/orchestrator/loop/core-loop/preparation.d.ts +1 -58
- package/dist/orchestrator/loop/core-loop/preparation.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/preparation.js +1 -367
- package/dist/orchestrator/loop/core-loop/preparation.js.map +1 -1
- package/dist/orchestrator/loop/core-loop/public-research.d.ts +1 -31
- package/dist/orchestrator/loop/core-loop/public-research.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/public-research.js +1 -111
- package/dist/orchestrator/loop/core-loop/public-research.js.map +1 -1
- package/dist/orchestrator/loop/core-loop/task-cycle-stall.d.ts +1 -8
- package/dist/orchestrator/loop/core-loop/task-cycle-stall.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/task-cycle-stall.js +1 -432
- package/dist/orchestrator/loop/core-loop/task-cycle-stall.js.map +1 -1
- package/dist/orchestrator/loop/core-loop/task-cycle-wait.d.ts +1 -10
- package/dist/orchestrator/loop/core-loop/task-cycle-wait.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/task-cycle-wait.js +1 -175
- package/dist/orchestrator/loop/core-loop/task-cycle-wait.js.map +1 -1
- package/dist/orchestrator/loop/core-loop/task-cycle.d.ts +1 -40
- package/dist/orchestrator/loop/core-loop/task-cycle.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop/task-cycle.js +1 -429
- package/dist/orchestrator/loop/core-loop/task-cycle.js.map +1 -1
- package/dist/orchestrator/loop/core-loop.d.ts +1 -85
- package/dist/orchestrator/loop/core-loop.d.ts.map +1 -1
- package/dist/orchestrator/loop/core-loop.js +3 -625
- package/dist/orchestrator/loop/core-loop.js.map +1 -1
- package/dist/orchestrator/loop/durable-loop/capability.d.ts +22 -0
- package/dist/orchestrator/loop/durable-loop/capability.d.ts.map +1 -0
- package/dist/orchestrator/loop/durable-loop/capability.js +151 -0
- package/dist/orchestrator/loop/durable-loop/capability.js.map +1 -0
- package/dist/orchestrator/loop/durable-loop/contracts.d.ts +319 -0
- package/dist/orchestrator/loop/durable-loop/contracts.d.ts.map +1 -0
- package/dist/orchestrator/loop/durable-loop/contracts.js +40 -0
- package/dist/orchestrator/loop/durable-loop/contracts.js.map +1 -0
- package/dist/orchestrator/loop/durable-loop/control.d.ts +27 -0
- package/dist/orchestrator/loop/durable-loop/control.d.ts.map +1 -0
- package/dist/orchestrator/loop/durable-loop/control.js +72 -0
- package/dist/orchestrator/loop/durable-loop/control.js.map +1 -0
- package/dist/orchestrator/loop/durable-loop/decision-engine.d.ts +79 -0
- package/dist/orchestrator/loop/durable-loop/decision-engine.d.ts.map +1 -0
- package/dist/orchestrator/loop/durable-loop/decision-engine.js +145 -0
- package/dist/orchestrator/loop/durable-loop/decision-engine.js.map +1 -0
- package/dist/orchestrator/loop/durable-loop/dream-review-checkpoint.d.ts +48 -0
- package/dist/orchestrator/loop/durable-loop/dream-review-checkpoint.d.ts.map +1 -0
- package/dist/orchestrator/loop/durable-loop/dream-review-checkpoint.js +386 -0
- package/dist/orchestrator/loop/durable-loop/dream-review-checkpoint.js.map +1 -0
- package/dist/orchestrator/loop/durable-loop/evidence-ledger.d.ts +22 -0
- package/dist/orchestrator/loop/durable-loop/evidence-ledger.d.ts.map +1 -0
- package/dist/orchestrator/loop/durable-loop/evidence-ledger.js +36 -0
- package/dist/orchestrator/loop/durable-loop/evidence-ledger.js.map +1 -0
- package/dist/orchestrator/loop/durable-loop/iteration-kernel-knowledge.d.ts +7 -0
- package/dist/orchestrator/loop/durable-loop/iteration-kernel-knowledge.d.ts.map +1 -0
- package/dist/orchestrator/loop/durable-loop/iteration-kernel-knowledge.js +43 -0
- package/dist/orchestrator/loop/durable-loop/iteration-kernel-knowledge.js.map +1 -0
- package/dist/orchestrator/loop/durable-loop/iteration-kernel-wait.d.ts +14 -0
- package/dist/orchestrator/loop/durable-loop/iteration-kernel-wait.d.ts.map +1 -0
- package/dist/orchestrator/loop/durable-loop/iteration-kernel-wait.js +41 -0
- package/dist/orchestrator/loop/durable-loop/iteration-kernel-wait.js.map +1 -0
- package/dist/orchestrator/loop/durable-loop/iteration-kernel.d.ts +38 -0
- package/dist/orchestrator/loop/durable-loop/iteration-kernel.d.ts.map +1 -0
- package/dist/orchestrator/loop/durable-loop/iteration-kernel.js +835 -0
- package/dist/orchestrator/loop/durable-loop/iteration-kernel.js.map +1 -0
- package/dist/orchestrator/loop/durable-loop/learning.d.ts +31 -0
- package/dist/orchestrator/loop/durable-loop/learning.d.ts.map +1 -0
- package/dist/orchestrator/loop/durable-loop/learning.js +92 -0
- package/dist/orchestrator/loop/durable-loop/learning.js.map +1 -0
- package/dist/orchestrator/loop/durable-loop/phase-policy.d.ts +20 -0
- package/dist/orchestrator/loop/durable-loop/phase-policy.d.ts.map +1 -0
- package/dist/orchestrator/loop/durable-loop/phase-policy.js +158 -0
- package/dist/orchestrator/loop/durable-loop/phase-policy.js.map +1 -0
- package/dist/orchestrator/loop/durable-loop/phase-runtime.d.ts +31 -0
- package/dist/orchestrator/loop/durable-loop/phase-runtime.d.ts.map +1 -0
- package/dist/orchestrator/loop/durable-loop/phase-runtime.js +103 -0
- package/dist/orchestrator/loop/durable-loop/phase-runtime.js.map +1 -0
- package/dist/orchestrator/loop/durable-loop/phase-specs.d.ts +1269 -0
- package/dist/orchestrator/loop/durable-loop/phase-specs.d.ts.map +1 -0
- package/dist/orchestrator/loop/durable-loop/phase-specs.js +349 -0
- package/dist/orchestrator/loop/durable-loop/phase-specs.js.map +1 -0
- package/dist/orchestrator/loop/durable-loop/preparation.d.ts +59 -0
- package/dist/orchestrator/loop/durable-loop/preparation.d.ts.map +1 -0
- package/dist/orchestrator/loop/durable-loop/preparation.js +368 -0
- package/dist/orchestrator/loop/durable-loop/preparation.js.map +1 -0
- package/dist/orchestrator/loop/durable-loop/public-research.d.ts +32 -0
- package/dist/orchestrator/loop/durable-loop/public-research.d.ts.map +1 -0
- package/dist/orchestrator/loop/durable-loop/public-research.js +112 -0
- package/dist/orchestrator/loop/durable-loop/public-research.js.map +1 -0
- package/dist/orchestrator/loop/durable-loop/task-cycle-stall.d.ts +9 -0
- package/dist/orchestrator/loop/durable-loop/task-cycle-stall.d.ts.map +1 -0
- package/dist/orchestrator/loop/durable-loop/task-cycle-stall.js +464 -0
- package/dist/orchestrator/loop/durable-loop/task-cycle-stall.js.map +1 -0
- package/dist/orchestrator/loop/durable-loop/task-cycle-wait.d.ts +11 -0
- package/dist/orchestrator/loop/durable-loop/task-cycle-wait.d.ts.map +1 -0
- package/dist/orchestrator/loop/durable-loop/task-cycle-wait.js +176 -0
- package/dist/orchestrator/loop/durable-loop/task-cycle-wait.js.map +1 -0
- package/dist/orchestrator/loop/durable-loop/task-cycle.d.ts +42 -0
- package/dist/orchestrator/loop/durable-loop/task-cycle.d.ts.map +1 -0
- package/dist/orchestrator/loop/durable-loop/task-cycle.js +430 -0
- package/dist/orchestrator/loop/durable-loop/task-cycle.js.map +1 -0
- package/dist/orchestrator/loop/durable-loop.d.ts +93 -0
- package/dist/orchestrator/loop/durable-loop.d.ts.map +1 -0
- package/dist/orchestrator/loop/durable-loop.js +651 -0
- package/dist/orchestrator/loop/durable-loop.js.map +1 -0
- package/dist/orchestrator/loop/loop-report-helper.d.ts +1 -1
- package/dist/orchestrator/loop/loop-report-helper.d.ts.map +1 -1
- package/dist/orchestrator/loop/loop-result-types.d.ts +1 -1
- package/dist/orchestrator/loop/loop-result-types.d.ts.map +1 -1
- package/dist/orchestrator/loop/parallel-dispatch.d.ts +2 -2
- package/dist/orchestrator/loop/parallel-dispatch.d.ts.map +1 -1
- package/dist/orchestrator/loop/post-loop-hooks.d.ts +1 -1
- package/dist/orchestrator/loop/post-loop-hooks.d.ts.map +1 -1
- package/dist/orchestrator/loop/run-policy.d.ts +1 -1
- package/dist/orchestrator/loop/run-policy.d.ts.map +1 -1
- package/dist/orchestrator/loop/tree-loop-runner.d.ts +1 -1
- package/dist/orchestrator/loop/tree-loop-runner.d.ts.map +1 -1
- package/dist/orchestrator/loop/tree-loop-runner.js +1 -1
- package/dist/orchestrator/loop/tree-loop-runner.js.map +1 -1
- package/dist/orchestrator/strategy/divergent-exploration.d.ts +2 -1
- package/dist/orchestrator/strategy/divergent-exploration.d.ts.map +1 -1
- package/dist/orchestrator/strategy/divergent-exploration.js +119 -36
- package/dist/orchestrator/strategy/divergent-exploration.js.map +1 -1
- package/dist/orchestrator/strategy/strategy-helpers.d.ts +86 -4
- package/dist/orchestrator/strategy/strategy-helpers.d.ts.map +1 -1
- package/dist/orchestrator/strategy/strategy-manager-base.d.ts +6 -2
- package/dist/orchestrator/strategy/strategy-manager-base.d.ts.map +1 -1
- package/dist/orchestrator/strategy/strategy-manager-base.js +71 -18
- package/dist/orchestrator/strategy/strategy-manager-base.js.map +1 -1
- package/dist/orchestrator/strategy/types/strategy.d.ts +450 -14
- package/dist/orchestrator/strategy/types/strategy.d.ts.map +1 -1
- package/dist/orchestrator/strategy/types/strategy.js +30 -0
- package/dist/orchestrator/strategy/types/strategy.js.map +1 -1
- package/dist/platform/code-search/contracts.d.ts +3 -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/indexer.d.ts.map +1 -1
- package/dist/platform/code-search/indexes/indexer.js +3 -0
- package/dist/platform/code-search/indexes/indexer.js.map +1 -1
- package/dist/platform/code-search/indexes/semantic-index.d.ts.map +1 -1
- package/dist/platform/code-search/indexes/semantic-index.js +3 -0
- package/dist/platform/code-search/indexes/semantic-index.js.map +1 -1
- package/dist/platform/code-search/orchestrator.d.ts.map +1 -1
- package/dist/platform/code-search/orchestrator.js +14 -3
- package/dist/platform/code-search/orchestrator.js.map +1 -1
- package/dist/platform/code-search/query-planner.d.ts.map +1 -1
- package/dist/platform/code-search/query-planner.js +1 -17
- package/dist/platform/code-search/query-planner.js.map +1 -1
- package/dist/platform/code-search/reranker.d.ts +5 -1
- package/dist/platform/code-search/reranker.d.ts.map +1 -1
- package/dist/platform/code-search/reranker.js +9 -5
- package/dist/platform/code-search/reranker.js.map +1 -1
- package/dist/platform/corrections/memory-correction-ledger.d.ts +30 -30
- package/dist/platform/dream/dream-activation.d.ts +161 -1
- package/dist/platform/dream/dream-activation.d.ts.map +1 -1
- package/dist/platform/dream/dream-activation.js +63 -14
- package/dist/platform/dream/dream-activation.js.map +1 -1
- package/dist/platform/dream/dream-event-workflows.d.ts +2 -2
- package/dist/platform/dream/dream-types.d.ts +52 -52
- package/dist/platform/dream/playbook-memory.d.ts +3 -3
- package/dist/platform/drive/stall-detector/repetitive.d.ts.map +1 -1
- package/dist/platform/drive/stall-detector/repetitive.js +50 -5
- package/dist/platform/drive/stall-detector/repetitive.js.map +1 -1
- package/dist/platform/drive/stall-detector.d.ts +19 -0
- package/dist/platform/drive/stall-detector.d.ts.map +1 -1
- package/dist/platform/drive/stall-detector.js.map +1 -1
- package/dist/platform/drive/types/stall.d.ts +1 -1
- package/dist/platform/knowledge/memory/memory-selection.d.ts.map +1 -1
- package/dist/platform/knowledge/memory/memory-selection.js +24 -18
- package/dist/platform/knowledge/memory/memory-selection.js.map +1 -1
- package/dist/platform/knowledge/transfer/knowledge-transfer-apply.d.ts.map +1 -1
- package/dist/platform/knowledge/transfer/knowledge-transfer-apply.js +7 -3
- package/dist/platform/knowledge/transfer/knowledge-transfer-apply.js.map +1 -1
- package/dist/platform/knowledge/types/agent-memory.d.ts +46 -46
- package/dist/platform/knowledge/types/embedding.d.ts +4 -4
- package/dist/platform/knowledge/types/knowledge.d.ts +53 -0
- package/dist/platform/knowledge/types/knowledge.d.ts.map +1 -1
- package/dist/platform/knowledge/types/knowledge.js +15 -0
- package/dist/platform/knowledge/types/knowledge.js.map +1 -1
- package/dist/platform/knowledge/types/memory-lifecycle.d.ts +2 -2
- package/dist/platform/observation/capability-detector/types.d.ts +4 -4
- package/dist/platform/observation/context-provider/collector.d.ts +2 -0
- package/dist/platform/observation/context-provider/collector.d.ts.map +1 -1
- package/dist/platform/observation/context-provider/collector.js +27 -2
- package/dist/platform/observation/context-provider/collector.js.map +1 -1
- package/dist/platform/observation/context-provider.d.ts +4 -0
- package/dist/platform/observation/context-provider.d.ts.map +1 -1
- package/dist/platform/observation/context-provider.js.map +1 -1
- package/dist/platform/observation/engine/observe-datasource-stage.d.ts +3 -2
- package/dist/platform/observation/engine/observe-datasource-stage.d.ts.map +1 -1
- package/dist/platform/observation/engine/observe-datasource-stage.js +2 -2
- package/dist/platform/observation/engine/observe-datasource-stage.js.map +1 -1
- package/dist/platform/observation/observation-apply.d.ts +1 -1
- package/dist/platform/observation/observation-apply.d.ts.map +1 -1
- package/dist/platform/observation/observation-apply.js +3 -3
- package/dist/platform/observation/observation-apply.js.map +1 -1
- package/dist/platform/observation/observation-datasource.d.ts +2 -2
- package/dist/platform/observation/observation-datasource.d.ts.map +1 -1
- package/dist/platform/observation/observation-datasource.js +13 -7
- package/dist/platform/observation/observation-datasource.js.map +1 -1
- package/dist/platform/observation/observation-engine.d.ts +1 -1
- package/dist/platform/observation/observation-engine.d.ts.map +1 -1
- package/dist/platform/observation/observation-engine.js +48 -7
- package/dist/platform/observation/observation-engine.js.map +1 -1
- package/dist/platform/observation/types/capability.d.ts +16 -16
- package/dist/platform/observation/types/data-source.d.ts +12 -0
- package/dist/platform/observation/types/data-source.d.ts.map +1 -1
- package/dist/platform/observation/types/data-source.js +1 -0
- package/dist/platform/observation/types/data-source.js.map +1 -1
- package/dist/platform/observation/workspace-context.d.ts +8 -1
- package/dist/platform/observation/workspace-context.d.ts.map +1 -1
- package/dist/platform/observation/workspace-context.js +35 -14
- package/dist/platform/observation/workspace-context.js.map +1 -1
- package/dist/platform/profile/profile-change-proposal.d.ts +20 -20
- package/dist/platform/profile/relationship-profile.d.ts +6 -6
- package/dist/platform/profile/user-md-profile-import.d.ts +2 -2
- package/dist/platform/soil/contracts.d.ts +98 -98
- package/dist/platform/soil/types.d.ts +8 -8
- package/dist/platform/traits/curiosity-engine.d.ts +2 -5
- package/dist/platform/traits/curiosity-engine.d.ts.map +1 -1
- package/dist/platform/traits/curiosity-engine.js.map +1 -1
- package/dist/platform/traits/curiosity-proposals.d.ts +2 -0
- package/dist/platform/traits/curiosity-proposals.d.ts.map +1 -1
- package/dist/platform/traits/curiosity-proposals.js +36 -17
- package/dist/platform/traits/curiosity-proposals.js.map +1 -1
- package/dist/platform/traits/curiosity-transfer.d.ts +9 -5
- package/dist/platform/traits/curiosity-transfer.d.ts.map +1 -1
- package/dist/platform/traits/curiosity-transfer.js +4 -1
- package/dist/platform/traits/curiosity-transfer.js.map +1 -1
- package/dist/platform/traits/ethics-gate.d.ts +16 -17
- package/dist/platform/traits/ethics-gate.d.ts.map +1 -1
- package/dist/platform/traits/ethics-gate.js +83 -47
- package/dist/platform/traits/ethics-gate.js.map +1 -1
- package/dist/platform/traits/ethics-rules.d.ts +4 -6
- package/dist/platform/traits/ethics-rules.d.ts.map +1 -1
- package/dist/platform/traits/ethics-rules.js +19 -261
- package/dist/platform/traits/ethics-rules.js.map +1 -1
- package/dist/platform/traits/types/curiosity.d.ts +157 -10
- package/dist/platform/traits/types/curiosity.d.ts.map +1 -1
- package/dist/platform/traits/types/curiosity.js +10 -0
- package/dist/platform/traits/types/curiosity.js.map +1 -1
- package/dist/platform/traits/types/guardrail.d.ts +6 -6
- package/dist/prompt/purposes/curiosity.d.ts +4 -4
- package/dist/runtime/approval-broker.d.ts +33 -0
- package/dist/runtime/approval-broker.d.ts.map +1 -1
- package/dist/runtime/approval-broker.js +155 -17
- package/dist/runtime/approval-broker.js.map +1 -1
- package/dist/runtime/companion-policy.d.ts +27 -0
- package/dist/runtime/companion-policy.d.ts.map +1 -0
- package/dist/runtime/companion-policy.js +135 -0
- package/dist/runtime/companion-policy.js.map +1 -0
- package/dist/runtime/confirmation-decision.d.ts +2 -2
- package/dist/runtime/control/daemon-runtime-control-executor.d.ts +0 -6
- package/dist/runtime/control/daemon-runtime-control-executor.d.ts.map +1 -1
- package/dist/runtime/control/daemon-runtime-control-executor.js +1 -1
- package/dist/runtime/control/daemon-runtime-control-executor.js.map +1 -1
- package/dist/runtime/control/index.d.ts +6 -3
- package/dist/runtime/control/index.d.ts.map +1 -1
- package/dist/runtime/control/index.js +2 -1
- package/dist/runtime/control/index.js.map +1 -1
- package/dist/runtime/control/runtime-control-intent.d.ts +16 -1
- package/dist/runtime/control/runtime-control-intent.d.ts.map +1 -1
- package/dist/runtime/control/runtime-control-intent.js +26 -13
- package/dist/runtime/control/runtime-control-intent.js.map +1 -1
- package/dist/runtime/control/runtime-control-service.d.ts +1 -1
- package/dist/runtime/control/runtime-control-service.d.ts.map +1 -1
- package/dist/runtime/control/runtime-control-service.js +29 -64
- package/dist/runtime/control/runtime-control-service.js.map +1 -1
- package/dist/runtime/control/runtime-target-resolver.d.ts +39 -0
- package/dist/runtime/control/runtime-target-resolver.d.ts.map +1 -0
- package/dist/runtime/control/runtime-target-resolver.js +112 -0
- package/dist/runtime/control/runtime-target-resolver.js.map +1 -0
- package/dist/runtime/conversational-approval-decision.d.ts +29 -0
- package/dist/runtime/conversational-approval-decision.d.ts.map +1 -0
- package/dist/runtime/conversational-approval-decision.js +92 -0
- package/dist/runtime/conversational-approval-decision.js.map +1 -0
- package/dist/runtime/daemon/client.d.ts +1 -4
- package/dist/runtime/daemon/client.d.ts.map +1 -1
- package/dist/runtime/daemon/client.js +0 -3
- package/dist/runtime/daemon/client.js.map +1 -1
- package/dist/runtime/daemon/control-contracts.d.ts +7 -0
- package/dist/runtime/daemon/control-contracts.d.ts.map +1 -0
- package/dist/runtime/daemon/control-contracts.js +2 -0
- package/dist/runtime/daemon/control-contracts.js.map +1 -0
- package/dist/runtime/daemon/runner-startup.js +1 -1
- package/dist/runtime/daemon/runner-startup.js.map +1 -1
- package/dist/runtime/daemon/runner.d.ts +1 -1
- package/dist/runtime/daemon/runner.d.ts.map +1 -1
- package/dist/runtime/executor/goal-worker.d.ts +9 -4
- package/dist/runtime/executor/goal-worker.d.ts.map +1 -1
- package/dist/runtime/executor/goal-worker.js +18 -1
- package/dist/runtime/executor/goal-worker.js.map +1 -1
- package/dist/runtime/executor/loop-supervisor.d.ts +3 -2
- package/dist/runtime/executor/loop-supervisor.d.ts.map +1 -1
- package/dist/runtime/executor/loop-supervisor.js +60 -8
- package/dist/runtime/executor/loop-supervisor.js.map +1 -1
- package/dist/runtime/gateway/channel-adapter.d.ts +19 -0
- package/dist/runtime/gateway/channel-adapter.d.ts.map +1 -1
- package/dist/runtime/gateway/channel-policy.d.ts +1 -0
- package/dist/runtime/gateway/channel-policy.d.ts.map +1 -1
- package/dist/runtime/gateway/channel-policy.js +6 -4
- package/dist/runtime/gateway/channel-policy.js.map +1 -1
- package/dist/runtime/gateway/chat-event-rendering.d.ts +34 -0
- package/dist/runtime/gateway/chat-event-rendering.d.ts.map +1 -0
- package/dist/runtime/gateway/chat-event-rendering.js +61 -0
- package/dist/runtime/gateway/chat-event-rendering.js.map +1 -0
- package/dist/runtime/gateway/chat-session-dispatch.d.ts +2 -13
- package/dist/runtime/gateway/chat-session-dispatch.d.ts.map +1 -1
- package/dist/runtime/gateway/chat-session-dispatch.js +6 -3
- package/dist/runtime/gateway/chat-session-dispatch.js.map +1 -1
- package/dist/runtime/gateway/chat-session-port.d.ts +25 -0
- package/dist/runtime/gateway/chat-session-port.d.ts.map +1 -0
- package/dist/runtime/gateway/chat-session-port.js +20 -0
- package/dist/runtime/gateway/chat-session-port.js.map +1 -0
- package/dist/runtime/gateway/discord-gateway-adapter.d.ts +3 -1
- package/dist/runtime/gateway/discord-gateway-adapter.d.ts.map +1 -1
- package/dist/runtime/gateway/discord-gateway-adapter.js +34 -2
- package/dist/runtime/gateway/discord-gateway-adapter.js.map +1 -1
- package/dist/runtime/gateway/index.d.ts +2 -0
- package/dist/runtime/gateway/index.d.ts.map +1 -1
- package/dist/runtime/gateway/index.js +1 -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 +1 -0
- package/dist/runtime/gateway/ingress-gateway.js.map +1 -1
- package/dist/runtime/gateway/signal-gateway-adapter.d.ts +2 -1
- package/dist/runtime/gateway/signal-gateway-adapter.d.ts.map +1 -1
- package/dist/runtime/gateway/signal-gateway-adapter.js +13 -3
- package/dist/runtime/gateway/signal-gateway-adapter.js.map +1 -1
- package/dist/runtime/gateway/slack-channel-adapter.d.ts +2 -1
- package/dist/runtime/gateway/slack-channel-adapter.d.ts.map +1 -1
- package/dist/runtime/gateway/slack-channel-adapter.js +6 -2
- package/dist/runtime/gateway/slack-channel-adapter.js.map +1 -1
- package/dist/runtime/gateway/telegram-gateway-adapter.d.ts +9 -2
- package/dist/runtime/gateway/telegram-gateway-adapter.d.ts.map +1 -1
- package/dist/runtime/gateway/telegram-gateway-adapter.js +141 -13
- package/dist/runtime/gateway/telegram-gateway-adapter.js.map +1 -1
- package/dist/runtime/gateway/typing-indicator.d.ts +11 -0
- package/dist/runtime/gateway/typing-indicator.d.ts.map +1 -0
- package/dist/runtime/gateway/typing-indicator.js +68 -0
- package/dist/runtime/gateway/typing-indicator.js.map +1 -0
- package/dist/runtime/gateway/whatsapp-gateway-adapter.d.ts +2 -1
- package/dist/runtime/gateway/whatsapp-gateway-adapter.d.ts.map +1 -1
- package/dist/runtime/gateway/whatsapp-gateway-adapter.js +22 -8
- 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 +1 -0
- package/dist/runtime/gateway/ws-channel-adapter.js.map +1 -1
- package/dist/runtime/interactive-automation/failure-classifier.d.ts +0 -1
- package/dist/runtime/interactive-automation/failure-classifier.d.ts.map +1 -1
- package/dist/runtime/interactive-automation/failure-classifier.js +0 -19
- package/dist/runtime/interactive-automation/failure-classifier.js.map +1 -1
- package/dist/runtime/interactive-automation/providers/manus-browser.d.ts.map +1 -1
- package/dist/runtime/interactive-automation/providers/manus-browser.js +30 -1
- package/dist/runtime/interactive-automation/providers/manus-browser.js.map +1 -1
- package/dist/runtime/logger.d.ts.map +1 -1
- package/dist/runtime/logger.js +5 -2
- package/dist/runtime/logger.js.map +1 -1
- package/dist/runtime/plugin-loader.js +2 -2
- package/dist/runtime/plugin-loader.js.map +1 -1
- package/dist/runtime/run-spec/derive.d.ts +24 -24
- package/dist/runtime/run-spec/derive.d.ts.map +1 -1
- package/dist/runtime/run-spec/derive.js +6 -0
- package/dist/runtime/run-spec/derive.js.map +1 -1
- package/dist/runtime/run-spec/handoff.d.ts +74 -0
- package/dist/runtime/run-spec/handoff.d.ts.map +1 -0
- package/dist/runtime/run-spec/handoff.js +496 -0
- package/dist/runtime/run-spec/handoff.js.map +1 -0
- 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 +2 -0
- package/dist/runtime/run-spec/index.js.map +1 -1
- package/dist/runtime/run-spec/pending-dialogue-arbiter.d.ts +25 -0
- package/dist/runtime/run-spec/pending-dialogue-arbiter.d.ts.map +1 -0
- package/dist/runtime/run-spec/pending-dialogue-arbiter.js +81 -0
- package/dist/runtime/run-spec/pending-dialogue-arbiter.js.map +1 -0
- package/dist/runtime/run-spec/types.d.ts +91 -42
- package/dist/runtime/run-spec/types.d.ts.map +1 -1
- package/dist/runtime/run-spec/types.js +7 -0
- package/dist/runtime/run-spec/types.js.map +1 -1
- package/dist/runtime/schedule/engine-execution.js +2 -35
- package/dist/runtime/schedule/engine-execution.js.map +1 -1
- package/dist/runtime/schedule/history.d.ts +2 -2
- package/dist/runtime/schedule/presets.d.ts +4 -4
- package/dist/runtime/schedule/source.d.ts +1 -1
- package/dist/runtime/session-registry/registry.d.ts.map +1 -1
- package/dist/runtime/session-registry/registry.js +27 -2
- package/dist/runtime/session-registry/registry.js.map +1 -1
- package/dist/runtime/session-registry/types.d.ts +120 -112
- 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/store/artifact-retention.d.ts +11 -6
- package/dist/runtime/store/artifact-retention.d.ts.map +1 -1
- package/dist/runtime/store/artifact-retention.js +0 -13
- package/dist/runtime/store/artifact-retention.js.map +1 -1
- package/dist/runtime/store/background-run-store.d.ts +1 -0
- package/dist/runtime/store/background-run-store.d.ts.map +1 -1
- package/dist/runtime/store/background-run-store.js +1 -0
- package/dist/runtime/store/background-run-store.js.map +1 -1
- package/dist/runtime/store/budget-store.d.ts +8 -8
- package/dist/runtime/store/dream-checkpoints.d.ts +1 -1
- package/dist/runtime/store/dream-checkpoints.d.ts.map +1 -1
- package/dist/runtime/store/evaluator-results.d.ts +1 -1
- package/dist/runtime/store/evaluator-results.d.ts.map +1 -1
- package/dist/runtime/store/evidence-ledger.d.ts +39 -6377
- package/dist/runtime/store/evidence-ledger.d.ts.map +1 -1
- package/dist/runtime/store/evidence-ledger.js +415 -501
- package/dist/runtime/store/evidence-ledger.js.map +1 -1
- package/dist/runtime/store/evidence-types.d.ts +6378 -0
- package/dist/runtime/store/evidence-types.d.ts.map +1 -0
- package/dist/runtime/store/evidence-types.js +459 -0
- package/dist/runtime/store/evidence-types.js.map +1 -0
- package/dist/runtime/store/experiment-queue-store.d.ts +109 -109
- package/dist/runtime/store/experiment-queue-store.d.ts.map +1 -1
- package/dist/runtime/store/experiment-queue-store.js +1 -1
- package/dist/runtime/store/experiment-queue-store.js.map +1 -1
- package/dist/runtime/store/index.d.ts +4 -4
- package/dist/runtime/store/index.d.ts.map +1 -1
- package/dist/runtime/store/index.js +2 -2
- package/dist/runtime/store/index.js.map +1 -1
- package/dist/runtime/store/metric-history.d.ts +1 -1
- package/dist/runtime/store/metric-history.d.ts.map +1 -1
- package/dist/runtime/store/operator-handoff-store.d.ts +12 -12
- package/dist/runtime/store/postmortem-report.d.ts +40 -40
- package/dist/runtime/store/postmortem-report.js.map +1 -1
- package/dist/runtime/store/proactive-intervention-store.d.ts +8 -8
- package/dist/runtime/store/reproducibility-manifest.d.ts +27 -27
- package/dist/runtime/store/reproducibility-manifest.d.ts.map +1 -1
- package/dist/runtime/store/reproducibility-manifest.js.map +1 -1
- package/dist/runtime/store/research-evidence.d.ts +1 -1
- package/dist/runtime/store/research-evidence.d.ts.map +1 -1
- package/dist/runtime/store/runtime-operation-schemas.d.ts +46 -46
- package/dist/runtime/store/runtime-schemas.d.ts +73 -12
- package/dist/runtime/store/runtime-schemas.d.ts.map +1 -1
- package/dist/runtime/store/runtime-schemas.js +9 -0
- package/dist/runtime/store/runtime-schemas.js.map +1 -1
- package/dist/runtime/types/companion.d.ts +394 -0
- package/dist/runtime/types/companion.d.ts.map +1 -0
- package/dist/runtime/types/companion.js +87 -0
- package/dist/runtime/types/companion.js.map +1 -0
- package/dist/runtime/types/daemon.d.ts +3 -3
- package/dist/runtime/types/hook.d.ts +12 -12
- package/dist/runtime/types/schedule.d.ts +32 -32
- package/dist/tools/builtin/exports.d.ts +2 -0
- package/dist/tools/builtin/exports.d.ts.map +1 -1
- package/dist/tools/builtin/exports.js +2 -0
- package/dist/tools/builtin/exports.js.map +1 -1
- package/dist/tools/builtin/factory.d.ts +10 -1
- package/dist/tools/builtin/factory.d.ts.map +1 -1
- package/dist/tools/builtin/factory.js +18 -1
- package/dist/tools/builtin/factory.js.map +1 -1
- package/dist/tools/executor.d.ts.map +1 -1
- package/dist/tools/executor.js +8 -6
- package/dist/tools/executor.js.map +1 -1
- package/dist/tools/fs/ApplyPatchTool/ApplyPatchTool.d.ts.map +1 -1
- package/dist/tools/fs/ApplyPatchTool/ApplyPatchTool.js +1 -0
- package/dist/tools/fs/ApplyPatchTool/ApplyPatchTool.js.map +1 -1
- package/dist/tools/fs/FileEditTool/FileEditTool.d.ts.map +1 -1
- package/dist/tools/fs/FileEditTool/FileEditTool.js +1 -0
- package/dist/tools/fs/FileEditTool/FileEditTool.js.map +1 -1
- package/dist/tools/fs/FileWriteTool/FileWriteTool.d.ts.map +1 -1
- package/dist/tools/fs/FileWriteTool/FileWriteTool.js +1 -0
- package/dist/tools/fs/FileWriteTool/FileWriteTool.js.map +1 -1
- package/dist/tools/fs/GlobTool/GlobTool.d.ts.map +1 -1
- package/dist/tools/fs/GlobTool/GlobTool.js +1 -0
- package/dist/tools/fs/GlobTool/GlobTool.js.map +1 -1
- package/dist/tools/fs/GrepTool/GrepTool.d.ts.map +1 -1
- package/dist/tools/fs/GrepTool/GrepTool.js +1 -0
- package/dist/tools/fs/GrepTool/GrepTool.js.map +1 -1
- package/dist/tools/fs/JsonQueryTool/JsonQueryTool.d.ts.map +1 -1
- package/dist/tools/fs/JsonQueryTool/JsonQueryTool.js +1 -0
- package/dist/tools/fs/JsonQueryTool/JsonQueryTool.js.map +1 -1
- package/dist/tools/fs/ListDirTool/ListDirTool.d.ts.map +1 -1
- package/dist/tools/fs/ListDirTool/ListDirTool.js +1 -0
- package/dist/tools/fs/ListDirTool/ListDirTool.js.map +1 -1
- package/dist/tools/fs/ReadTool/ReadTool.d.ts.map +1 -1
- package/dist/tools/fs/ReadTool/ReadTool.js +1 -0
- package/dist/tools/fs/ReadTool/ReadTool.js.map +1 -1
- package/dist/tools/kaggle/KaggleSubmissionTools.d.ts +4 -4
- package/dist/tools/kaggle/metrics.d.ts +4 -4
- package/dist/tools/mutation/TaskCreateTool/TaskCreateTool.d.ts +4 -4
- package/dist/tools/mutation/TaskUpdateTool/TaskUpdateTool.d.ts +10 -10
- package/dist/tools/network/GitHubCliTool/GitHubCliTool.d.ts +8 -8
- package/dist/tools/network/HttpFetchTool/HttpFetchTool.d.ts.map +1 -1
- package/dist/tools/network/HttpFetchTool/HttpFetchTool.js +1 -0
- package/dist/tools/network/HttpFetchTool/HttpFetchTool.js.map +1 -1
- package/dist/tools/network/WebSearchTool/WebSearchTool.d.ts.map +1 -1
- package/dist/tools/network/WebSearchTool/WebSearchTool.js +1 -0
- package/dist/tools/network/WebSearchTool/WebSearchTool.js.map +1 -1
- package/dist/tools/query/ArchitectureTool/ArchitectureTool.js +3 -3
- package/dist/tools/query/ArchitectureTool/ArchitectureTool.js.map +1 -1
- package/dist/tools/query/CodeReadContextTool/CodeReadContextTool.d.ts +20 -20
- package/dist/tools/query/CodeReadContextTool/CodeReadContextTool.d.ts.map +1 -1
- package/dist/tools/query/CodeReadContextTool/CodeReadContextTool.js +1 -0
- package/dist/tools/query/CodeReadContextTool/CodeReadContextTool.js.map +1 -1
- package/dist/tools/query/CodeSearchRepairTool/CodeSearchRepairTool.d.ts.map +1 -1
- package/dist/tools/query/CodeSearchRepairTool/CodeSearchRepairTool.js +1 -0
- package/dist/tools/query/CodeSearchRepairTool/CodeSearchRepairTool.js.map +1 -1
- package/dist/tools/query/CodeSearchTool/CodeSearchTool.d.ts.map +1 -1
- package/dist/tools/query/CodeSearchTool/CodeSearchTool.js +1 -0
- package/dist/tools/query/CodeSearchTool/CodeSearchTool.js.map +1 -1
- package/dist/tools/query/ConfigTool/ConfigTool.d.ts.map +1 -1
- package/dist/tools/query/ConfigTool/ConfigTool.js +1 -0
- package/dist/tools/query/ConfigTool/ConfigTool.js.map +1 -1
- package/dist/tools/query/KnowledgeQueryTool/KnowledgeQueryTool.d.ts.map +1 -1
- package/dist/tools/query/KnowledgeQueryTool/KnowledgeQueryTool.js +1 -0
- package/dist/tools/query/KnowledgeQueryTool/KnowledgeQueryTool.js.map +1 -1
- package/dist/tools/query/SkillSearchTool/SkillSearchTool.d.ts.map +1 -1
- package/dist/tools/query/SkillSearchTool/SkillSearchTool.js +1 -0
- package/dist/tools/query/SkillSearchTool/SkillSearchTool.js.map +1 -1
- package/dist/tools/query/ToolSearchTool/ToolSearchTool.d.ts.map +1 -1
- package/dist/tools/query/ToolSearchTool/ToolSearchTool.js +1 -0
- package/dist/tools/query/ToolSearchTool/ToolSearchTool.js.map +1 -1
- package/dist/tools/runtime/LongRunningRuntimeTools.d.ts +32 -32
- package/dist/tools/runtime/RunSpecHandoffTools.d.ts +12 -0
- package/dist/tools/runtime/RunSpecHandoffTools.d.ts.map +1 -0
- package/dist/tools/runtime/RunSpecHandoffTools.js +224 -0
- package/dist/tools/runtime/RunSpecHandoffTools.js.map +1 -0
- package/dist/tools/runtime/SetupRuntimeControlTools.d.ts +11 -0
- package/dist/tools/runtime/SetupRuntimeControlTools.d.ts.map +1 -0
- package/dist/tools/runtime/SetupRuntimeControlTools.js +463 -0
- package/dist/tools/runtime/SetupRuntimeControlTools.js.map +1 -0
- package/dist/tools/schedule/CreateScheduleTool/CreateScheduleTool.d.ts +28 -28
- package/dist/tools/schedule/UpdateScheduleTool/UpdateScheduleTool.d.ts +32 -32
- package/dist/tools/system/GitDiffTool/GitDiffTool.d.ts.map +1 -1
- package/dist/tools/system/GitDiffTool/GitDiffTool.js +1 -0
- package/dist/tools/system/GitDiffTool/GitDiffTool.js.map +1 -1
- package/dist/tools/system/GitLogTool/GitLogTool.d.ts.map +1 -1
- package/dist/tools/system/GitLogTool/GitLogTool.js +1 -0
- package/dist/tools/system/GitLogTool/GitLogTool.js.map +1 -1
- package/dist/tools/system/ShellTool/ShellTool.d.ts.map +1 -1
- package/dist/tools/system/ShellTool/ShellTool.js +2 -1
- package/dist/tools/system/ShellTool/ShellTool.js.map +1 -1
- package/dist/tools/system/TestRunnerTool/TestRunnerTool.d.ts.map +1 -1
- package/dist/tools/system/TestRunnerTool/TestRunnerTool.js +2 -1
- package/dist/tools/system/TestRunnerTool/TestRunnerTool.js.map +1 -1
- package/dist/tools/system/UpdatePlanTool/UpdatePlanTool.d.ts.map +1 -1
- package/dist/tools/system/UpdatePlanTool/UpdatePlanTool.js +1 -0
- package/dist/tools/system/UpdatePlanTool/UpdatePlanTool.js.map +1 -1
- package/dist/tools/types.d.ts +62 -2
- package/dist/tools/types.d.ts.map +1 -1
- package/dist/tools/types.js +25 -0
- package/dist/tools/types.js.map +1 -1
- package/package.json +1 -1
- package/dist/interface/tui/approval-overlay.d.ts +0 -8
- package/dist/interface/tui/approval-overlay.d.ts.map +0 -1
- package/dist/interface/tui/approval-overlay.js +0 -21
- package/dist/interface/tui/approval-overlay.js.map +0 -1
|
@@ -0,0 +1,1269 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import type { CorePhaseKind, CorePhaseSpec } from "../../execution/agent-loop/core-phase-runner.js";
|
|
3
|
+
export interface CorePhaseInvocationContext {
|
|
4
|
+
goalId: string;
|
|
5
|
+
taskId?: string;
|
|
6
|
+
gapAggregate?: number;
|
|
7
|
+
stallDetected?: boolean;
|
|
8
|
+
hasTaskResult?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const ObservationEvidenceSchema: z.ZodObject<{
|
|
11
|
+
summary: z.ZodString;
|
|
12
|
+
evidence: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
13
|
+
missing_info: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
14
|
+
confidence: z.ZodDefault<z.ZodNumber>;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
confidence: number;
|
|
17
|
+
evidence: string[];
|
|
18
|
+
summary: string;
|
|
19
|
+
missing_info: string[];
|
|
20
|
+
}, {
|
|
21
|
+
summary: string;
|
|
22
|
+
confidence?: number | undefined;
|
|
23
|
+
evidence?: string[] | undefined;
|
|
24
|
+
missing_info?: string[] | undefined;
|
|
25
|
+
}>;
|
|
26
|
+
export type ObservationEvidence = z.infer<typeof ObservationEvidenceSchema>;
|
|
27
|
+
export declare const WaitObservationEvidenceSchema: z.ZodObject<{
|
|
28
|
+
summary: z.ZodString;
|
|
29
|
+
observed_conditions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
30
|
+
process_refs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
31
|
+
artifact_refs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
32
|
+
approval_pending: z.ZodDefault<z.ZodBoolean>;
|
|
33
|
+
next_observe_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
confidence: z.ZodDefault<z.ZodNumber>;
|
|
35
|
+
}, "strip", z.ZodTypeAny, {
|
|
36
|
+
confidence: number;
|
|
37
|
+
summary: string;
|
|
38
|
+
next_observe_at: string | null;
|
|
39
|
+
process_refs: string[];
|
|
40
|
+
artifact_refs: string[];
|
|
41
|
+
approval_pending: boolean;
|
|
42
|
+
observed_conditions: string[];
|
|
43
|
+
}, {
|
|
44
|
+
summary: string;
|
|
45
|
+
confidence?: number | undefined;
|
|
46
|
+
next_observe_at?: string | null | undefined;
|
|
47
|
+
process_refs?: string[] | undefined;
|
|
48
|
+
artifact_refs?: string[] | undefined;
|
|
49
|
+
approval_pending?: boolean | undefined;
|
|
50
|
+
observed_conditions?: string[] | undefined;
|
|
51
|
+
}>;
|
|
52
|
+
export type WaitObservationEvidence = z.infer<typeof WaitObservationEvidenceSchema>;
|
|
53
|
+
export declare const KnowledgeRefreshEvidenceSchema: z.ZodObject<{
|
|
54
|
+
summary: z.ZodString;
|
|
55
|
+
required_knowledge: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
56
|
+
acquisition_candidates: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
57
|
+
confidence: z.ZodDefault<z.ZodNumber>;
|
|
58
|
+
worthwhile: z.ZodDefault<z.ZodBoolean>;
|
|
59
|
+
}, "strip", z.ZodTypeAny, {
|
|
60
|
+
confidence: number;
|
|
61
|
+
summary: string;
|
|
62
|
+
required_knowledge: string[];
|
|
63
|
+
acquisition_candidates: string[];
|
|
64
|
+
worthwhile: boolean;
|
|
65
|
+
}, {
|
|
66
|
+
summary: string;
|
|
67
|
+
confidence?: number | undefined;
|
|
68
|
+
required_knowledge?: string[] | undefined;
|
|
69
|
+
acquisition_candidates?: string[] | undefined;
|
|
70
|
+
worthwhile?: boolean | undefined;
|
|
71
|
+
}>;
|
|
72
|
+
export type KnowledgeRefreshEvidence = z.infer<typeof KnowledgeRefreshEvidenceSchema>;
|
|
73
|
+
export declare const StallInvestigationEvidenceSchema: z.ZodObject<{
|
|
74
|
+
summary: z.ZodString;
|
|
75
|
+
suspected_causes: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
76
|
+
recommended_next_evidence: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
77
|
+
relevant_actions: z.ZodDefault<z.ZodArray<z.ZodEnum<["refine", "pivot", "escalate", "continue"]>, "many">>;
|
|
78
|
+
confidence: z.ZodDefault<z.ZodNumber>;
|
|
79
|
+
}, "strip", z.ZodTypeAny, {
|
|
80
|
+
confidence: number;
|
|
81
|
+
summary: string;
|
|
82
|
+
suspected_causes: string[];
|
|
83
|
+
recommended_next_evidence: string[];
|
|
84
|
+
relevant_actions: ("refine" | "pivot" | "escalate" | "continue")[];
|
|
85
|
+
}, {
|
|
86
|
+
summary: string;
|
|
87
|
+
confidence?: number | undefined;
|
|
88
|
+
suspected_causes?: string[] | undefined;
|
|
89
|
+
recommended_next_evidence?: string[] | undefined;
|
|
90
|
+
relevant_actions?: ("refine" | "pivot" | "escalate" | "continue")[] | undefined;
|
|
91
|
+
}>;
|
|
92
|
+
export type StallInvestigationEvidence = z.infer<typeof StallInvestigationEvidenceSchema>;
|
|
93
|
+
export declare const ReplanningOptionsSchema: z.ZodObject<{
|
|
94
|
+
summary: z.ZodString;
|
|
95
|
+
recommended_action: z.ZodDefault<z.ZodEnum<["continue", "refine", "pivot"]>>;
|
|
96
|
+
candidates: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
97
|
+
title: z.ZodString;
|
|
98
|
+
rationale: z.ZodString;
|
|
99
|
+
expected_evidence_gain: z.ZodString;
|
|
100
|
+
blast_radius: z.ZodString;
|
|
101
|
+
target_dimensions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
102
|
+
dependencies: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
103
|
+
}, "strip", z.ZodTypeAny, {
|
|
104
|
+
rationale: string;
|
|
105
|
+
title: string;
|
|
106
|
+
blast_radius: string;
|
|
107
|
+
target_dimensions: string[];
|
|
108
|
+
dependencies: string[];
|
|
109
|
+
expected_evidence_gain: string;
|
|
110
|
+
}, {
|
|
111
|
+
rationale: string;
|
|
112
|
+
title: string;
|
|
113
|
+
blast_radius: string;
|
|
114
|
+
expected_evidence_gain: string;
|
|
115
|
+
target_dimensions?: string[] | undefined;
|
|
116
|
+
dependencies?: string[] | undefined;
|
|
117
|
+
}>, "many">>;
|
|
118
|
+
confidence: z.ZodDefault<z.ZodNumber>;
|
|
119
|
+
}, "strip", z.ZodTypeAny, {
|
|
120
|
+
confidence: number;
|
|
121
|
+
summary: string;
|
|
122
|
+
recommended_action: "refine" | "pivot" | "continue";
|
|
123
|
+
candidates: {
|
|
124
|
+
rationale: string;
|
|
125
|
+
title: string;
|
|
126
|
+
blast_radius: string;
|
|
127
|
+
target_dimensions: string[];
|
|
128
|
+
dependencies: string[];
|
|
129
|
+
expected_evidence_gain: string;
|
|
130
|
+
}[];
|
|
131
|
+
}, {
|
|
132
|
+
summary: string;
|
|
133
|
+
confidence?: number | undefined;
|
|
134
|
+
recommended_action?: "refine" | "pivot" | "continue" | undefined;
|
|
135
|
+
candidates?: {
|
|
136
|
+
rationale: string;
|
|
137
|
+
title: string;
|
|
138
|
+
blast_radius: string;
|
|
139
|
+
expected_evidence_gain: string;
|
|
140
|
+
target_dimensions?: string[] | undefined;
|
|
141
|
+
dependencies?: string[] | undefined;
|
|
142
|
+
}[] | undefined;
|
|
143
|
+
}>;
|
|
144
|
+
export type ReplanningOptions = z.infer<typeof ReplanningOptionsSchema>;
|
|
145
|
+
export declare const PublicResearchSourceSchema: z.ZodObject<{
|
|
146
|
+
url: z.ZodString;
|
|
147
|
+
title: z.ZodOptional<z.ZodString>;
|
|
148
|
+
source_type: z.ZodDefault<z.ZodEnum<["official_docs", "maintainer", "paper", "issue_thread", "example", "writeup", "other"]>>;
|
|
149
|
+
provenance: z.ZodDefault<z.ZodEnum<["quoted", "paraphrased", "summarized"]>>;
|
|
150
|
+
relevance: z.ZodOptional<z.ZodString>;
|
|
151
|
+
}, "strict", z.ZodTypeAny, {
|
|
152
|
+
url: string;
|
|
153
|
+
source_type: "other" | "official_docs" | "maintainer" | "paper" | "issue_thread" | "example" | "writeup";
|
|
154
|
+
provenance: "quoted" | "paraphrased" | "summarized";
|
|
155
|
+
title?: string | undefined;
|
|
156
|
+
relevance?: string | undefined;
|
|
157
|
+
}, {
|
|
158
|
+
url: string;
|
|
159
|
+
title?: string | undefined;
|
|
160
|
+
source_type?: "other" | "official_docs" | "maintainer" | "paper" | "issue_thread" | "example" | "writeup" | undefined;
|
|
161
|
+
provenance?: "quoted" | "paraphrased" | "summarized" | undefined;
|
|
162
|
+
relevance?: string | undefined;
|
|
163
|
+
}>;
|
|
164
|
+
export type PublicResearchSource = z.infer<typeof PublicResearchSourceSchema>;
|
|
165
|
+
export declare const PublicResearchFindingSchema: z.ZodObject<{
|
|
166
|
+
finding: z.ZodString;
|
|
167
|
+
source_urls: z.ZodArray<z.ZodString, "many">;
|
|
168
|
+
applicability: z.ZodString;
|
|
169
|
+
risks_constraints: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
170
|
+
proposed_experiment: z.ZodString;
|
|
171
|
+
expected_metric_impact: z.ZodString;
|
|
172
|
+
fact_vs_adaptation: z.ZodObject<{
|
|
173
|
+
facts: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
174
|
+
adaptation: z.ZodString;
|
|
175
|
+
}, "strict", z.ZodTypeAny, {
|
|
176
|
+
facts: string[];
|
|
177
|
+
adaptation: string;
|
|
178
|
+
}, {
|
|
179
|
+
adaptation: string;
|
|
180
|
+
facts?: string[] | undefined;
|
|
181
|
+
}>;
|
|
182
|
+
}, "strict", z.ZodTypeAny, {
|
|
183
|
+
applicability: string;
|
|
184
|
+
finding: string;
|
|
185
|
+
source_urls: string[];
|
|
186
|
+
risks_constraints: string[];
|
|
187
|
+
proposed_experiment: string;
|
|
188
|
+
expected_metric_impact: string;
|
|
189
|
+
fact_vs_adaptation: {
|
|
190
|
+
facts: string[];
|
|
191
|
+
adaptation: string;
|
|
192
|
+
};
|
|
193
|
+
}, {
|
|
194
|
+
applicability: string;
|
|
195
|
+
finding: string;
|
|
196
|
+
source_urls: string[];
|
|
197
|
+
proposed_experiment: string;
|
|
198
|
+
expected_metric_impact: string;
|
|
199
|
+
fact_vs_adaptation: {
|
|
200
|
+
adaptation: string;
|
|
201
|
+
facts?: string[] | undefined;
|
|
202
|
+
};
|
|
203
|
+
risks_constraints?: string[] | undefined;
|
|
204
|
+
}>;
|
|
205
|
+
export type PublicResearchFinding = z.infer<typeof PublicResearchFindingSchema>;
|
|
206
|
+
export declare const PublicResearchExternalActionSchema: z.ZodObject<{
|
|
207
|
+
label: z.ZodString;
|
|
208
|
+
reason: z.ZodString;
|
|
209
|
+
approval_required: z.ZodDefault<z.ZodLiteral<true>>;
|
|
210
|
+
}, "strict", z.ZodTypeAny, {
|
|
211
|
+
label: string;
|
|
212
|
+
approval_required: true;
|
|
213
|
+
reason: string;
|
|
214
|
+
}, {
|
|
215
|
+
label: string;
|
|
216
|
+
reason: string;
|
|
217
|
+
approval_required?: true | undefined;
|
|
218
|
+
}>;
|
|
219
|
+
export type PublicResearchExternalAction = z.infer<typeof PublicResearchExternalActionSchema>;
|
|
220
|
+
export declare const PublicResearchEvidenceSchema: z.ZodObject<{
|
|
221
|
+
summary: z.ZodString;
|
|
222
|
+
trigger: z.ZodEnum<["plateau", "uncertainty", "knowledge_gap"]>;
|
|
223
|
+
query: z.ZodString;
|
|
224
|
+
sources: z.ZodArray<z.ZodObject<{
|
|
225
|
+
url: z.ZodString;
|
|
226
|
+
title: z.ZodOptional<z.ZodString>;
|
|
227
|
+
source_type: z.ZodDefault<z.ZodEnum<["official_docs", "maintainer", "paper", "issue_thread", "example", "writeup", "other"]>>;
|
|
228
|
+
provenance: z.ZodDefault<z.ZodEnum<["quoted", "paraphrased", "summarized"]>>;
|
|
229
|
+
relevance: z.ZodOptional<z.ZodString>;
|
|
230
|
+
}, "strict", z.ZodTypeAny, {
|
|
231
|
+
url: string;
|
|
232
|
+
source_type: "other" | "official_docs" | "maintainer" | "paper" | "issue_thread" | "example" | "writeup";
|
|
233
|
+
provenance: "quoted" | "paraphrased" | "summarized";
|
|
234
|
+
title?: string | undefined;
|
|
235
|
+
relevance?: string | undefined;
|
|
236
|
+
}, {
|
|
237
|
+
url: string;
|
|
238
|
+
title?: string | undefined;
|
|
239
|
+
source_type?: "other" | "official_docs" | "maintainer" | "paper" | "issue_thread" | "example" | "writeup" | undefined;
|
|
240
|
+
provenance?: "quoted" | "paraphrased" | "summarized" | undefined;
|
|
241
|
+
relevance?: string | undefined;
|
|
242
|
+
}>, "many">;
|
|
243
|
+
findings: z.ZodArray<z.ZodObject<{
|
|
244
|
+
finding: z.ZodString;
|
|
245
|
+
source_urls: z.ZodArray<z.ZodString, "many">;
|
|
246
|
+
applicability: z.ZodString;
|
|
247
|
+
risks_constraints: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
248
|
+
proposed_experiment: z.ZodString;
|
|
249
|
+
expected_metric_impact: z.ZodString;
|
|
250
|
+
fact_vs_adaptation: z.ZodObject<{
|
|
251
|
+
facts: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
252
|
+
adaptation: z.ZodString;
|
|
253
|
+
}, "strict", z.ZodTypeAny, {
|
|
254
|
+
facts: string[];
|
|
255
|
+
adaptation: string;
|
|
256
|
+
}, {
|
|
257
|
+
adaptation: string;
|
|
258
|
+
facts?: string[] | undefined;
|
|
259
|
+
}>;
|
|
260
|
+
}, "strict", z.ZodTypeAny, {
|
|
261
|
+
applicability: string;
|
|
262
|
+
finding: string;
|
|
263
|
+
source_urls: string[];
|
|
264
|
+
risks_constraints: string[];
|
|
265
|
+
proposed_experiment: string;
|
|
266
|
+
expected_metric_impact: string;
|
|
267
|
+
fact_vs_adaptation: {
|
|
268
|
+
facts: string[];
|
|
269
|
+
adaptation: string;
|
|
270
|
+
};
|
|
271
|
+
}, {
|
|
272
|
+
applicability: string;
|
|
273
|
+
finding: string;
|
|
274
|
+
source_urls: string[];
|
|
275
|
+
proposed_experiment: string;
|
|
276
|
+
expected_metric_impact: string;
|
|
277
|
+
fact_vs_adaptation: {
|
|
278
|
+
adaptation: string;
|
|
279
|
+
facts?: string[] | undefined;
|
|
280
|
+
};
|
|
281
|
+
risks_constraints?: string[] | undefined;
|
|
282
|
+
}>, "many">;
|
|
283
|
+
candidate_playbook: z.ZodOptional<z.ZodObject<{
|
|
284
|
+
title: z.ZodString;
|
|
285
|
+
steps: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
286
|
+
source_urls: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
287
|
+
}, "strict", z.ZodTypeAny, {
|
|
288
|
+
title: string;
|
|
289
|
+
steps: string[];
|
|
290
|
+
source_urls: string[];
|
|
291
|
+
}, {
|
|
292
|
+
title: string;
|
|
293
|
+
steps?: string[] | undefined;
|
|
294
|
+
source_urls?: string[] | undefined;
|
|
295
|
+
}>>;
|
|
296
|
+
untrusted_content_policy: z.ZodDefault<z.ZodLiteral<"webpage_instructions_are_untrusted">>;
|
|
297
|
+
external_actions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
298
|
+
label: z.ZodString;
|
|
299
|
+
reason: z.ZodString;
|
|
300
|
+
approval_required: z.ZodDefault<z.ZodLiteral<true>>;
|
|
301
|
+
}, "strict", z.ZodTypeAny, {
|
|
302
|
+
label: string;
|
|
303
|
+
approval_required: true;
|
|
304
|
+
reason: string;
|
|
305
|
+
}, {
|
|
306
|
+
label: string;
|
|
307
|
+
reason: string;
|
|
308
|
+
approval_required?: true | undefined;
|
|
309
|
+
}>, "many">>;
|
|
310
|
+
confidence: z.ZodDefault<z.ZodNumber>;
|
|
311
|
+
}, "strip", z.ZodTypeAny, {
|
|
312
|
+
confidence: number;
|
|
313
|
+
external_actions: {
|
|
314
|
+
label: string;
|
|
315
|
+
approval_required: true;
|
|
316
|
+
reason: string;
|
|
317
|
+
}[];
|
|
318
|
+
trigger: "plateau" | "uncertainty" | "knowledge_gap";
|
|
319
|
+
summary: string;
|
|
320
|
+
sources: {
|
|
321
|
+
url: string;
|
|
322
|
+
source_type: "other" | "official_docs" | "maintainer" | "paper" | "issue_thread" | "example" | "writeup";
|
|
323
|
+
provenance: "quoted" | "paraphrased" | "summarized";
|
|
324
|
+
title?: string | undefined;
|
|
325
|
+
relevance?: string | undefined;
|
|
326
|
+
}[];
|
|
327
|
+
query: string;
|
|
328
|
+
findings: {
|
|
329
|
+
applicability: string;
|
|
330
|
+
finding: string;
|
|
331
|
+
source_urls: string[];
|
|
332
|
+
risks_constraints: string[];
|
|
333
|
+
proposed_experiment: string;
|
|
334
|
+
expected_metric_impact: string;
|
|
335
|
+
fact_vs_adaptation: {
|
|
336
|
+
facts: string[];
|
|
337
|
+
adaptation: string;
|
|
338
|
+
};
|
|
339
|
+
}[];
|
|
340
|
+
untrusted_content_policy: "webpage_instructions_are_untrusted";
|
|
341
|
+
candidate_playbook?: {
|
|
342
|
+
title: string;
|
|
343
|
+
steps: string[];
|
|
344
|
+
source_urls: string[];
|
|
345
|
+
} | undefined;
|
|
346
|
+
}, {
|
|
347
|
+
trigger: "plateau" | "uncertainty" | "knowledge_gap";
|
|
348
|
+
summary: string;
|
|
349
|
+
sources: {
|
|
350
|
+
url: string;
|
|
351
|
+
title?: string | undefined;
|
|
352
|
+
source_type?: "other" | "official_docs" | "maintainer" | "paper" | "issue_thread" | "example" | "writeup" | undefined;
|
|
353
|
+
provenance?: "quoted" | "paraphrased" | "summarized" | undefined;
|
|
354
|
+
relevance?: string | undefined;
|
|
355
|
+
}[];
|
|
356
|
+
query: string;
|
|
357
|
+
findings: {
|
|
358
|
+
applicability: string;
|
|
359
|
+
finding: string;
|
|
360
|
+
source_urls: string[];
|
|
361
|
+
proposed_experiment: string;
|
|
362
|
+
expected_metric_impact: string;
|
|
363
|
+
fact_vs_adaptation: {
|
|
364
|
+
adaptation: string;
|
|
365
|
+
facts?: string[] | undefined;
|
|
366
|
+
};
|
|
367
|
+
risks_constraints?: string[] | undefined;
|
|
368
|
+
}[];
|
|
369
|
+
confidence?: number | undefined;
|
|
370
|
+
external_actions?: {
|
|
371
|
+
label: string;
|
|
372
|
+
reason: string;
|
|
373
|
+
approval_required?: true | undefined;
|
|
374
|
+
}[] | undefined;
|
|
375
|
+
candidate_playbook?: {
|
|
376
|
+
title: string;
|
|
377
|
+
steps?: string[] | undefined;
|
|
378
|
+
source_urls?: string[] | undefined;
|
|
379
|
+
} | undefined;
|
|
380
|
+
untrusted_content_policy?: "webpage_instructions_are_untrusted" | undefined;
|
|
381
|
+
}>;
|
|
382
|
+
export type PublicResearchEvidence = z.infer<typeof PublicResearchEvidenceSchema>;
|
|
383
|
+
export declare const DreamReviewCheckpointTriggerSchema: z.ZodEnum<["iteration", "plateau", "breakthrough", "pre_finalization"]>;
|
|
384
|
+
export type DreamReviewCheckpointTrigger = z.infer<typeof DreamReviewCheckpointTriggerSchema>;
|
|
385
|
+
export declare const DreamReviewMemoryUsageStatsSchema: z.ZodObject<{
|
|
386
|
+
last_used_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
387
|
+
use_count: z.ZodDefault<z.ZodNumber>;
|
|
388
|
+
validated_count: z.ZodDefault<z.ZodNumber>;
|
|
389
|
+
negative_outcome_count: z.ZodDefault<z.ZodNumber>;
|
|
390
|
+
}, "strict", z.ZodTypeAny, {
|
|
391
|
+
last_used_at: string | null;
|
|
392
|
+
use_count: number;
|
|
393
|
+
validated_count: number;
|
|
394
|
+
negative_outcome_count: number;
|
|
395
|
+
}, {
|
|
396
|
+
last_used_at?: string | null | undefined;
|
|
397
|
+
use_count?: number | undefined;
|
|
398
|
+
validated_count?: number | undefined;
|
|
399
|
+
negative_outcome_count?: number | undefined;
|
|
400
|
+
}>;
|
|
401
|
+
export type DreamReviewMemoryUsageStats = z.infer<typeof DreamReviewMemoryUsageStatsSchema>;
|
|
402
|
+
export declare const DreamReviewMemoryRefSchema: z.ZodObject<{
|
|
403
|
+
source_type: z.ZodEnum<["soil", "playbook", "runtime_evidence", "other"]>;
|
|
404
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
405
|
+
summary: z.ZodString;
|
|
406
|
+
authority: z.ZodDefault<z.ZodLiteral<"advisory_only">>;
|
|
407
|
+
relevance_score: z.ZodOptional<z.ZodNumber>;
|
|
408
|
+
source_reliability: z.ZodOptional<z.ZodNumber>;
|
|
409
|
+
recency_score: z.ZodOptional<z.ZodNumber>;
|
|
410
|
+
prior_success_contribution: z.ZodOptional<z.ZodNumber>;
|
|
411
|
+
retrieval: z.ZodOptional<z.ZodObject<{
|
|
412
|
+
kind: z.ZodDefault<z.ZodEnum<["route_hit", "fallback_hit", "checkpoint", "manual", "unknown"]>>;
|
|
413
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
414
|
+
confidence: z.ZodOptional<z.ZodNumber>;
|
|
415
|
+
}, "strict", z.ZodTypeAny, {
|
|
416
|
+
kind: "unknown" | "manual" | "checkpoint" | "route_hit" | "fallback_hit";
|
|
417
|
+
confidence?: number | undefined;
|
|
418
|
+
score?: number | undefined;
|
|
419
|
+
}, {
|
|
420
|
+
confidence?: number | undefined;
|
|
421
|
+
kind?: "unknown" | "manual" | "checkpoint" | "route_hit" | "fallback_hit" | undefined;
|
|
422
|
+
score?: number | undefined;
|
|
423
|
+
}>>;
|
|
424
|
+
usage_stats: z.ZodOptional<z.ZodObject<{
|
|
425
|
+
last_used_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
426
|
+
use_count: z.ZodDefault<z.ZodNumber>;
|
|
427
|
+
validated_count: z.ZodDefault<z.ZodNumber>;
|
|
428
|
+
negative_outcome_count: z.ZodDefault<z.ZodNumber>;
|
|
429
|
+
}, "strict", z.ZodTypeAny, {
|
|
430
|
+
last_used_at: string | null;
|
|
431
|
+
use_count: number;
|
|
432
|
+
validated_count: number;
|
|
433
|
+
negative_outcome_count: number;
|
|
434
|
+
}, {
|
|
435
|
+
last_used_at?: string | null | undefined;
|
|
436
|
+
use_count?: number | undefined;
|
|
437
|
+
validated_count?: number | undefined;
|
|
438
|
+
negative_outcome_count?: number | undefined;
|
|
439
|
+
}>>;
|
|
440
|
+
ranking_trace: z.ZodOptional<z.ZodObject<{
|
|
441
|
+
score: z.ZodNumber;
|
|
442
|
+
decision: z.ZodEnum<["admitted", "rejected"]>;
|
|
443
|
+
reason: z.ZodString;
|
|
444
|
+
}, "strict", z.ZodTypeAny, {
|
|
445
|
+
reason: string;
|
|
446
|
+
score: number;
|
|
447
|
+
decision: "rejected" | "admitted";
|
|
448
|
+
}, {
|
|
449
|
+
reason: string;
|
|
450
|
+
score: number;
|
|
451
|
+
decision: "rejected" | "admitted";
|
|
452
|
+
}>>;
|
|
453
|
+
}, "strict", z.ZodTypeAny, {
|
|
454
|
+
summary: string;
|
|
455
|
+
source_type: "other" | "soil" | "playbook" | "runtime_evidence";
|
|
456
|
+
authority: "advisory_only";
|
|
457
|
+
recency_score?: number | undefined;
|
|
458
|
+
ref?: string | undefined;
|
|
459
|
+
relevance_score?: number | undefined;
|
|
460
|
+
source_reliability?: number | undefined;
|
|
461
|
+
prior_success_contribution?: number | undefined;
|
|
462
|
+
retrieval?: {
|
|
463
|
+
kind: "unknown" | "manual" | "checkpoint" | "route_hit" | "fallback_hit";
|
|
464
|
+
confidence?: number | undefined;
|
|
465
|
+
score?: number | undefined;
|
|
466
|
+
} | undefined;
|
|
467
|
+
usage_stats?: {
|
|
468
|
+
last_used_at: string | null;
|
|
469
|
+
use_count: number;
|
|
470
|
+
validated_count: number;
|
|
471
|
+
negative_outcome_count: number;
|
|
472
|
+
} | undefined;
|
|
473
|
+
ranking_trace?: {
|
|
474
|
+
reason: string;
|
|
475
|
+
score: number;
|
|
476
|
+
decision: "rejected" | "admitted";
|
|
477
|
+
} | undefined;
|
|
478
|
+
}, {
|
|
479
|
+
summary: string;
|
|
480
|
+
source_type: "other" | "soil" | "playbook" | "runtime_evidence";
|
|
481
|
+
recency_score?: number | undefined;
|
|
482
|
+
ref?: string | undefined;
|
|
483
|
+
authority?: "advisory_only" | undefined;
|
|
484
|
+
relevance_score?: number | undefined;
|
|
485
|
+
source_reliability?: number | undefined;
|
|
486
|
+
prior_success_contribution?: number | undefined;
|
|
487
|
+
retrieval?: {
|
|
488
|
+
confidence?: number | undefined;
|
|
489
|
+
kind?: "unknown" | "manual" | "checkpoint" | "route_hit" | "fallback_hit" | undefined;
|
|
490
|
+
score?: number | undefined;
|
|
491
|
+
} | undefined;
|
|
492
|
+
usage_stats?: {
|
|
493
|
+
last_used_at?: string | null | undefined;
|
|
494
|
+
use_count?: number | undefined;
|
|
495
|
+
validated_count?: number | undefined;
|
|
496
|
+
negative_outcome_count?: number | undefined;
|
|
497
|
+
} | undefined;
|
|
498
|
+
ranking_trace?: {
|
|
499
|
+
reason: string;
|
|
500
|
+
score: number;
|
|
501
|
+
decision: "rejected" | "admitted";
|
|
502
|
+
} | undefined;
|
|
503
|
+
}>;
|
|
504
|
+
export type DreamReviewMemoryRef = z.infer<typeof DreamReviewMemoryRefSchema>;
|
|
505
|
+
export declare const DreamReviewStrategyCandidateSchema: z.ZodObject<{
|
|
506
|
+
title: z.ZodString;
|
|
507
|
+
rationale: z.ZodString;
|
|
508
|
+
target_dimensions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
509
|
+
expected_evidence_gain: z.ZodOptional<z.ZodString>;
|
|
510
|
+
retry_reason: z.ZodOptional<z.ZodString>;
|
|
511
|
+
failed_lineage_warning: z.ZodOptional<z.ZodObject<{
|
|
512
|
+
fingerprint: z.ZodString;
|
|
513
|
+
count: z.ZodNumber;
|
|
514
|
+
reason: z.ZodString;
|
|
515
|
+
}, "strict", z.ZodTypeAny, {
|
|
516
|
+
reason: string;
|
|
517
|
+
count: number;
|
|
518
|
+
fingerprint: string;
|
|
519
|
+
}, {
|
|
520
|
+
reason: string;
|
|
521
|
+
count: number;
|
|
522
|
+
fingerprint: string;
|
|
523
|
+
}>>;
|
|
524
|
+
}, "strict", z.ZodTypeAny, {
|
|
525
|
+
rationale: string;
|
|
526
|
+
title: string;
|
|
527
|
+
target_dimensions: string[];
|
|
528
|
+
expected_evidence_gain?: string | undefined;
|
|
529
|
+
retry_reason?: string | undefined;
|
|
530
|
+
failed_lineage_warning?: {
|
|
531
|
+
reason: string;
|
|
532
|
+
count: number;
|
|
533
|
+
fingerprint: string;
|
|
534
|
+
} | undefined;
|
|
535
|
+
}, {
|
|
536
|
+
rationale: string;
|
|
537
|
+
title: string;
|
|
538
|
+
target_dimensions?: string[] | undefined;
|
|
539
|
+
expected_evidence_gain?: string | undefined;
|
|
540
|
+
retry_reason?: string | undefined;
|
|
541
|
+
failed_lineage_warning?: {
|
|
542
|
+
reason: string;
|
|
543
|
+
count: number;
|
|
544
|
+
fingerprint: string;
|
|
545
|
+
} | undefined;
|
|
546
|
+
}>;
|
|
547
|
+
export type DreamReviewStrategyCandidate = z.infer<typeof DreamReviewStrategyCandidateSchema>;
|
|
548
|
+
export declare const DreamReviewFailedLineageSchema: z.ZodObject<{
|
|
549
|
+
fingerprint: z.ZodString;
|
|
550
|
+
count: z.ZodNumber;
|
|
551
|
+
last_seen_at: z.ZodString;
|
|
552
|
+
strategy_family: z.ZodOptional<z.ZodString>;
|
|
553
|
+
hypothesis: z.ZodOptional<z.ZodString>;
|
|
554
|
+
primary_dimension: z.ZodOptional<z.ZodString>;
|
|
555
|
+
task_action: z.ZodOptional<z.ZodString>;
|
|
556
|
+
failure_reason: z.ZodOptional<z.ZodString>;
|
|
557
|
+
representative_entry_id: z.ZodString;
|
|
558
|
+
representative_summary: z.ZodString;
|
|
559
|
+
}, "strict", z.ZodTypeAny, {
|
|
560
|
+
count: number;
|
|
561
|
+
fingerprint: string;
|
|
562
|
+
last_seen_at: string;
|
|
563
|
+
representative_entry_id: string;
|
|
564
|
+
representative_summary: string;
|
|
565
|
+
primary_dimension?: string | undefined;
|
|
566
|
+
strategy_family?: string | undefined;
|
|
567
|
+
hypothesis?: string | undefined;
|
|
568
|
+
task_action?: string | undefined;
|
|
569
|
+
failure_reason?: string | undefined;
|
|
570
|
+
}, {
|
|
571
|
+
count: number;
|
|
572
|
+
fingerprint: string;
|
|
573
|
+
last_seen_at: string;
|
|
574
|
+
representative_entry_id: string;
|
|
575
|
+
representative_summary: string;
|
|
576
|
+
primary_dimension?: string | undefined;
|
|
577
|
+
strategy_family?: string | undefined;
|
|
578
|
+
hypothesis?: string | undefined;
|
|
579
|
+
task_action?: string | undefined;
|
|
580
|
+
failure_reason?: string | undefined;
|
|
581
|
+
}>;
|
|
582
|
+
export type DreamReviewFailedLineage = z.infer<typeof DreamReviewFailedLineageSchema>;
|
|
583
|
+
export declare const DreamReviewActiveHypothesisSchema: z.ZodObject<{
|
|
584
|
+
hypothesis: z.ZodString;
|
|
585
|
+
supporting_evidence_ref: z.ZodOptional<z.ZodString>;
|
|
586
|
+
target_metric_or_dimension: z.ZodString;
|
|
587
|
+
expected_next_observation: z.ZodString;
|
|
588
|
+
status: z.ZodDefault<z.ZodEnum<["active", "testing", "supported", "weakened"]>>;
|
|
589
|
+
}, "strict", z.ZodTypeAny, {
|
|
590
|
+
status: "active" | "testing" | "supported" | "weakened";
|
|
591
|
+
hypothesis: string;
|
|
592
|
+
target_metric_or_dimension: string;
|
|
593
|
+
expected_next_observation: string;
|
|
594
|
+
supporting_evidence_ref?: string | undefined;
|
|
595
|
+
}, {
|
|
596
|
+
hypothesis: string;
|
|
597
|
+
target_metric_or_dimension: string;
|
|
598
|
+
expected_next_observation: string;
|
|
599
|
+
status?: "active" | "testing" | "supported" | "weakened" | undefined;
|
|
600
|
+
supporting_evidence_ref?: string | undefined;
|
|
601
|
+
}>;
|
|
602
|
+
export type DreamReviewActiveHypothesis = z.infer<typeof DreamReviewActiveHypothesisSchema>;
|
|
603
|
+
export declare const DreamReviewRejectedApproachSchema: z.ZodObject<{
|
|
604
|
+
approach: z.ZodString;
|
|
605
|
+
rejection_reason: z.ZodString;
|
|
606
|
+
evidence_ref: z.ZodOptional<z.ZodString>;
|
|
607
|
+
revisit_condition: z.ZodOptional<z.ZodString>;
|
|
608
|
+
confidence: z.ZodDefault<z.ZodNumber>;
|
|
609
|
+
}, "strict", z.ZodTypeAny, {
|
|
610
|
+
confidence: number;
|
|
611
|
+
approach: string;
|
|
612
|
+
rejection_reason: string;
|
|
613
|
+
evidence_ref?: string | undefined;
|
|
614
|
+
revisit_condition?: string | undefined;
|
|
615
|
+
}, {
|
|
616
|
+
approach: string;
|
|
617
|
+
rejection_reason: string;
|
|
618
|
+
confidence?: number | undefined;
|
|
619
|
+
evidence_ref?: string | undefined;
|
|
620
|
+
revisit_condition?: string | undefined;
|
|
621
|
+
}>;
|
|
622
|
+
export type DreamReviewRejectedApproach = z.infer<typeof DreamReviewRejectedApproachSchema>;
|
|
623
|
+
export declare const DreamRunControlRecommendationActionSchema: z.ZodEnum<["stay_current_mode", "widen_exploration", "consolidate_candidates", "freeze_experiment_queue", "enter_finalization", "preserve_near_miss_candidates", "retire_low_value_lineage", "request_operator_approval"]>;
|
|
624
|
+
export type DreamRunControlRecommendationAction = z.infer<typeof DreamRunControlRecommendationActionSchema>;
|
|
625
|
+
export declare const DreamRunControlEvidenceRefSchema: z.ZodObject<{
|
|
626
|
+
kind: z.ZodEnum<["metric", "artifact", "lineage", "task_history", "deadline", "external_feedback", "memory", "runtime_state"]>;
|
|
627
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
628
|
+
summary: z.ZodString;
|
|
629
|
+
}, "strict", z.ZodTypeAny, {
|
|
630
|
+
kind: "deadline" | "metric" | "lineage" | "memory" | "artifact" | "task_history" | "external_feedback" | "runtime_state";
|
|
631
|
+
summary: string;
|
|
632
|
+
ref?: string | undefined;
|
|
633
|
+
}, {
|
|
634
|
+
kind: "deadline" | "metric" | "lineage" | "memory" | "artifact" | "task_history" | "external_feedback" | "runtime_state";
|
|
635
|
+
summary: string;
|
|
636
|
+
ref?: string | undefined;
|
|
637
|
+
}>;
|
|
638
|
+
export type DreamRunControlEvidenceRef = z.infer<typeof DreamRunControlEvidenceRefSchema>;
|
|
639
|
+
export declare const DreamRunControlPolicyDecisionSchema: z.ZodObject<{
|
|
640
|
+
disposition: z.ZodEnum<["auto_apply", "approval_required", "advisory_only"]>;
|
|
641
|
+
reason: z.ZodString;
|
|
642
|
+
}, "strict", z.ZodTypeAny, {
|
|
643
|
+
reason: string;
|
|
644
|
+
disposition: "approval_required" | "advisory_only" | "auto_apply";
|
|
645
|
+
}, {
|
|
646
|
+
reason: string;
|
|
647
|
+
disposition: "approval_required" | "advisory_only" | "auto_apply";
|
|
648
|
+
}>;
|
|
649
|
+
export type DreamRunControlPolicyDecision = z.infer<typeof DreamRunControlPolicyDecisionSchema>;
|
|
650
|
+
export declare const DreamRunControlRecommendationSchema: z.ZodObject<{
|
|
651
|
+
id: z.ZodOptional<z.ZodString>;
|
|
652
|
+
action: z.ZodEnum<["stay_current_mode", "widen_exploration", "consolidate_candidates", "freeze_experiment_queue", "enter_finalization", "preserve_near_miss_candidates", "retire_low_value_lineage", "request_operator_approval"]>;
|
|
653
|
+
rationale: z.ZodString;
|
|
654
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
655
|
+
kind: z.ZodEnum<["metric", "artifact", "lineage", "task_history", "deadline", "external_feedback", "memory", "runtime_state"]>;
|
|
656
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
657
|
+
summary: z.ZodString;
|
|
658
|
+
}, "strict", z.ZodTypeAny, {
|
|
659
|
+
kind: "deadline" | "metric" | "lineage" | "memory" | "artifact" | "task_history" | "external_feedback" | "runtime_state";
|
|
660
|
+
summary: string;
|
|
661
|
+
ref?: string | undefined;
|
|
662
|
+
}, {
|
|
663
|
+
kind: "deadline" | "metric" | "lineage" | "memory" | "artifact" | "task_history" | "external_feedback" | "runtime_state";
|
|
664
|
+
summary: string;
|
|
665
|
+
ref?: string | undefined;
|
|
666
|
+
}>, "many">;
|
|
667
|
+
target_mode: z.ZodOptional<z.ZodEnum<["exploration", "consolidation", "finalization"]>>;
|
|
668
|
+
target_strategy_family: z.ZodOptional<z.ZodString>;
|
|
669
|
+
candidate_refs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
670
|
+
lineage_refs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
671
|
+
approval_required: z.ZodDefault<z.ZodBoolean>;
|
|
672
|
+
risk: z.ZodDefault<z.ZodEnum<["low", "medium", "high"]>>;
|
|
673
|
+
confidence: z.ZodDefault<z.ZodNumber>;
|
|
674
|
+
policy_decision: z.ZodOptional<z.ZodObject<{
|
|
675
|
+
disposition: z.ZodEnum<["auto_apply", "approval_required", "advisory_only"]>;
|
|
676
|
+
reason: z.ZodString;
|
|
677
|
+
}, "strict", z.ZodTypeAny, {
|
|
678
|
+
reason: string;
|
|
679
|
+
disposition: "approval_required" | "advisory_only" | "auto_apply";
|
|
680
|
+
}, {
|
|
681
|
+
reason: string;
|
|
682
|
+
disposition: "approval_required" | "advisory_only" | "auto_apply";
|
|
683
|
+
}>>;
|
|
684
|
+
}, "strict", z.ZodTypeAny, {
|
|
685
|
+
confidence: number;
|
|
686
|
+
rationale: string;
|
|
687
|
+
approval_required: boolean;
|
|
688
|
+
evidence: {
|
|
689
|
+
kind: "deadline" | "metric" | "lineage" | "memory" | "artifact" | "task_history" | "external_feedback" | "runtime_state";
|
|
690
|
+
summary: string;
|
|
691
|
+
ref?: string | undefined;
|
|
692
|
+
}[];
|
|
693
|
+
action: "stay_current_mode" | "widen_exploration" | "consolidate_candidates" | "freeze_experiment_queue" | "enter_finalization" | "preserve_near_miss_candidates" | "retire_low_value_lineage" | "request_operator_approval";
|
|
694
|
+
candidate_refs: string[];
|
|
695
|
+
lineage_refs: string[];
|
|
696
|
+
risk: "low" | "high" | "medium";
|
|
697
|
+
id?: string | undefined;
|
|
698
|
+
target_mode?: "exploration" | "consolidation" | "finalization" | undefined;
|
|
699
|
+
target_strategy_family?: string | undefined;
|
|
700
|
+
policy_decision?: {
|
|
701
|
+
reason: string;
|
|
702
|
+
disposition: "approval_required" | "advisory_only" | "auto_apply";
|
|
703
|
+
} | undefined;
|
|
704
|
+
}, {
|
|
705
|
+
rationale: string;
|
|
706
|
+
evidence: {
|
|
707
|
+
kind: "deadline" | "metric" | "lineage" | "memory" | "artifact" | "task_history" | "external_feedback" | "runtime_state";
|
|
708
|
+
summary: string;
|
|
709
|
+
ref?: string | undefined;
|
|
710
|
+
}[];
|
|
711
|
+
action: "stay_current_mode" | "widen_exploration" | "consolidate_candidates" | "freeze_experiment_queue" | "enter_finalization" | "preserve_near_miss_candidates" | "retire_low_value_lineage" | "request_operator_approval";
|
|
712
|
+
confidence?: number | undefined;
|
|
713
|
+
id?: string | undefined;
|
|
714
|
+
approval_required?: boolean | undefined;
|
|
715
|
+
target_mode?: "exploration" | "consolidation" | "finalization" | undefined;
|
|
716
|
+
target_strategy_family?: string | undefined;
|
|
717
|
+
candidate_refs?: string[] | undefined;
|
|
718
|
+
lineage_refs?: string[] | undefined;
|
|
719
|
+
risk?: "low" | "high" | "medium" | undefined;
|
|
720
|
+
policy_decision?: {
|
|
721
|
+
reason: string;
|
|
722
|
+
disposition: "approval_required" | "advisory_only" | "auto_apply";
|
|
723
|
+
} | undefined;
|
|
724
|
+
}>;
|
|
725
|
+
export type DreamRunControlRecommendation = z.infer<typeof DreamRunControlRecommendationSchema>;
|
|
726
|
+
export declare const DreamReviewCheckpointEvidenceSchema: z.ZodObject<{
|
|
727
|
+
summary: z.ZodString;
|
|
728
|
+
trigger: z.ZodEnum<["iteration", "plateau", "breakthrough", "pre_finalization"]>;
|
|
729
|
+
current_goal: z.ZodString;
|
|
730
|
+
active_dimensions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
731
|
+
best_evidence_so_far: z.ZodOptional<z.ZodString>;
|
|
732
|
+
recent_strategy_families: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
733
|
+
exhausted: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
734
|
+
promising: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
735
|
+
relevant_memories: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
736
|
+
source_type: z.ZodEnum<["soil", "playbook", "runtime_evidence", "other"]>;
|
|
737
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
738
|
+
summary: z.ZodString;
|
|
739
|
+
authority: z.ZodDefault<z.ZodLiteral<"advisory_only">>;
|
|
740
|
+
relevance_score: z.ZodOptional<z.ZodNumber>;
|
|
741
|
+
source_reliability: z.ZodOptional<z.ZodNumber>;
|
|
742
|
+
recency_score: z.ZodOptional<z.ZodNumber>;
|
|
743
|
+
prior_success_contribution: z.ZodOptional<z.ZodNumber>;
|
|
744
|
+
retrieval: z.ZodOptional<z.ZodObject<{
|
|
745
|
+
kind: z.ZodDefault<z.ZodEnum<["route_hit", "fallback_hit", "checkpoint", "manual", "unknown"]>>;
|
|
746
|
+
score: z.ZodOptional<z.ZodNumber>;
|
|
747
|
+
confidence: z.ZodOptional<z.ZodNumber>;
|
|
748
|
+
}, "strict", z.ZodTypeAny, {
|
|
749
|
+
kind: "unknown" | "manual" | "checkpoint" | "route_hit" | "fallback_hit";
|
|
750
|
+
confidence?: number | undefined;
|
|
751
|
+
score?: number | undefined;
|
|
752
|
+
}, {
|
|
753
|
+
confidence?: number | undefined;
|
|
754
|
+
kind?: "unknown" | "manual" | "checkpoint" | "route_hit" | "fallback_hit" | undefined;
|
|
755
|
+
score?: number | undefined;
|
|
756
|
+
}>>;
|
|
757
|
+
usage_stats: z.ZodOptional<z.ZodObject<{
|
|
758
|
+
last_used_at: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
759
|
+
use_count: z.ZodDefault<z.ZodNumber>;
|
|
760
|
+
validated_count: z.ZodDefault<z.ZodNumber>;
|
|
761
|
+
negative_outcome_count: z.ZodDefault<z.ZodNumber>;
|
|
762
|
+
}, "strict", z.ZodTypeAny, {
|
|
763
|
+
last_used_at: string | null;
|
|
764
|
+
use_count: number;
|
|
765
|
+
validated_count: number;
|
|
766
|
+
negative_outcome_count: number;
|
|
767
|
+
}, {
|
|
768
|
+
last_used_at?: string | null | undefined;
|
|
769
|
+
use_count?: number | undefined;
|
|
770
|
+
validated_count?: number | undefined;
|
|
771
|
+
negative_outcome_count?: number | undefined;
|
|
772
|
+
}>>;
|
|
773
|
+
ranking_trace: z.ZodOptional<z.ZodObject<{
|
|
774
|
+
score: z.ZodNumber;
|
|
775
|
+
decision: z.ZodEnum<["admitted", "rejected"]>;
|
|
776
|
+
reason: z.ZodString;
|
|
777
|
+
}, "strict", z.ZodTypeAny, {
|
|
778
|
+
reason: string;
|
|
779
|
+
score: number;
|
|
780
|
+
decision: "rejected" | "admitted";
|
|
781
|
+
}, {
|
|
782
|
+
reason: string;
|
|
783
|
+
score: number;
|
|
784
|
+
decision: "rejected" | "admitted";
|
|
785
|
+
}>>;
|
|
786
|
+
}, "strict", z.ZodTypeAny, {
|
|
787
|
+
summary: string;
|
|
788
|
+
source_type: "other" | "soil" | "playbook" | "runtime_evidence";
|
|
789
|
+
authority: "advisory_only";
|
|
790
|
+
recency_score?: number | undefined;
|
|
791
|
+
ref?: string | undefined;
|
|
792
|
+
relevance_score?: number | undefined;
|
|
793
|
+
source_reliability?: number | undefined;
|
|
794
|
+
prior_success_contribution?: number | undefined;
|
|
795
|
+
retrieval?: {
|
|
796
|
+
kind: "unknown" | "manual" | "checkpoint" | "route_hit" | "fallback_hit";
|
|
797
|
+
confidence?: number | undefined;
|
|
798
|
+
score?: number | undefined;
|
|
799
|
+
} | undefined;
|
|
800
|
+
usage_stats?: {
|
|
801
|
+
last_used_at: string | null;
|
|
802
|
+
use_count: number;
|
|
803
|
+
validated_count: number;
|
|
804
|
+
negative_outcome_count: number;
|
|
805
|
+
} | undefined;
|
|
806
|
+
ranking_trace?: {
|
|
807
|
+
reason: string;
|
|
808
|
+
score: number;
|
|
809
|
+
decision: "rejected" | "admitted";
|
|
810
|
+
} | undefined;
|
|
811
|
+
}, {
|
|
812
|
+
summary: string;
|
|
813
|
+
source_type: "other" | "soil" | "playbook" | "runtime_evidence";
|
|
814
|
+
recency_score?: number | undefined;
|
|
815
|
+
ref?: string | undefined;
|
|
816
|
+
authority?: "advisory_only" | undefined;
|
|
817
|
+
relevance_score?: number | undefined;
|
|
818
|
+
source_reliability?: number | undefined;
|
|
819
|
+
prior_success_contribution?: number | undefined;
|
|
820
|
+
retrieval?: {
|
|
821
|
+
confidence?: number | undefined;
|
|
822
|
+
kind?: "unknown" | "manual" | "checkpoint" | "route_hit" | "fallback_hit" | undefined;
|
|
823
|
+
score?: number | undefined;
|
|
824
|
+
} | undefined;
|
|
825
|
+
usage_stats?: {
|
|
826
|
+
last_used_at?: string | null | undefined;
|
|
827
|
+
use_count?: number | undefined;
|
|
828
|
+
validated_count?: number | undefined;
|
|
829
|
+
negative_outcome_count?: number | undefined;
|
|
830
|
+
} | undefined;
|
|
831
|
+
ranking_trace?: {
|
|
832
|
+
reason: string;
|
|
833
|
+
score: number;
|
|
834
|
+
decision: "rejected" | "admitted";
|
|
835
|
+
} | undefined;
|
|
836
|
+
}>, "many">>;
|
|
837
|
+
active_hypotheses: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
838
|
+
hypothesis: z.ZodString;
|
|
839
|
+
supporting_evidence_ref: z.ZodOptional<z.ZodString>;
|
|
840
|
+
target_metric_or_dimension: z.ZodString;
|
|
841
|
+
expected_next_observation: z.ZodString;
|
|
842
|
+
status: z.ZodDefault<z.ZodEnum<["active", "testing", "supported", "weakened"]>>;
|
|
843
|
+
}, "strict", z.ZodTypeAny, {
|
|
844
|
+
status: "active" | "testing" | "supported" | "weakened";
|
|
845
|
+
hypothesis: string;
|
|
846
|
+
target_metric_or_dimension: string;
|
|
847
|
+
expected_next_observation: string;
|
|
848
|
+
supporting_evidence_ref?: string | undefined;
|
|
849
|
+
}, {
|
|
850
|
+
hypothesis: string;
|
|
851
|
+
target_metric_or_dimension: string;
|
|
852
|
+
expected_next_observation: string;
|
|
853
|
+
status?: "active" | "testing" | "supported" | "weakened" | undefined;
|
|
854
|
+
supporting_evidence_ref?: string | undefined;
|
|
855
|
+
}>, "many">>;
|
|
856
|
+
rejected_approaches: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
857
|
+
approach: z.ZodString;
|
|
858
|
+
rejection_reason: z.ZodString;
|
|
859
|
+
evidence_ref: z.ZodOptional<z.ZodString>;
|
|
860
|
+
revisit_condition: z.ZodOptional<z.ZodString>;
|
|
861
|
+
confidence: z.ZodDefault<z.ZodNumber>;
|
|
862
|
+
}, "strict", z.ZodTypeAny, {
|
|
863
|
+
confidence: number;
|
|
864
|
+
approach: string;
|
|
865
|
+
rejection_reason: string;
|
|
866
|
+
evidence_ref?: string | undefined;
|
|
867
|
+
revisit_condition?: string | undefined;
|
|
868
|
+
}, {
|
|
869
|
+
approach: string;
|
|
870
|
+
rejection_reason: string;
|
|
871
|
+
confidence?: number | undefined;
|
|
872
|
+
evidence_ref?: string | undefined;
|
|
873
|
+
revisit_condition?: string | undefined;
|
|
874
|
+
}>, "many">>;
|
|
875
|
+
next_strategy_candidates: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
876
|
+
title: z.ZodString;
|
|
877
|
+
rationale: z.ZodString;
|
|
878
|
+
target_dimensions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
879
|
+
expected_evidence_gain: z.ZodOptional<z.ZodString>;
|
|
880
|
+
retry_reason: z.ZodOptional<z.ZodString>;
|
|
881
|
+
failed_lineage_warning: z.ZodOptional<z.ZodObject<{
|
|
882
|
+
fingerprint: z.ZodString;
|
|
883
|
+
count: z.ZodNumber;
|
|
884
|
+
reason: z.ZodString;
|
|
885
|
+
}, "strict", z.ZodTypeAny, {
|
|
886
|
+
reason: string;
|
|
887
|
+
count: number;
|
|
888
|
+
fingerprint: string;
|
|
889
|
+
}, {
|
|
890
|
+
reason: string;
|
|
891
|
+
count: number;
|
|
892
|
+
fingerprint: string;
|
|
893
|
+
}>>;
|
|
894
|
+
}, "strict", z.ZodTypeAny, {
|
|
895
|
+
rationale: string;
|
|
896
|
+
title: string;
|
|
897
|
+
target_dimensions: string[];
|
|
898
|
+
expected_evidence_gain?: string | undefined;
|
|
899
|
+
retry_reason?: string | undefined;
|
|
900
|
+
failed_lineage_warning?: {
|
|
901
|
+
reason: string;
|
|
902
|
+
count: number;
|
|
903
|
+
fingerprint: string;
|
|
904
|
+
} | undefined;
|
|
905
|
+
}, {
|
|
906
|
+
rationale: string;
|
|
907
|
+
title: string;
|
|
908
|
+
target_dimensions?: string[] | undefined;
|
|
909
|
+
expected_evidence_gain?: string | undefined;
|
|
910
|
+
retry_reason?: string | undefined;
|
|
911
|
+
failed_lineage_warning?: {
|
|
912
|
+
reason: string;
|
|
913
|
+
count: number;
|
|
914
|
+
fingerprint: string;
|
|
915
|
+
} | undefined;
|
|
916
|
+
}>, "many">>;
|
|
917
|
+
run_control_recommendations: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
918
|
+
id: z.ZodOptional<z.ZodString>;
|
|
919
|
+
action: z.ZodEnum<["stay_current_mode", "widen_exploration", "consolidate_candidates", "freeze_experiment_queue", "enter_finalization", "preserve_near_miss_candidates", "retire_low_value_lineage", "request_operator_approval"]>;
|
|
920
|
+
rationale: z.ZodString;
|
|
921
|
+
evidence: z.ZodArray<z.ZodObject<{
|
|
922
|
+
kind: z.ZodEnum<["metric", "artifact", "lineage", "task_history", "deadline", "external_feedback", "memory", "runtime_state"]>;
|
|
923
|
+
ref: z.ZodOptional<z.ZodString>;
|
|
924
|
+
summary: z.ZodString;
|
|
925
|
+
}, "strict", z.ZodTypeAny, {
|
|
926
|
+
kind: "deadline" | "metric" | "lineage" | "memory" | "artifact" | "task_history" | "external_feedback" | "runtime_state";
|
|
927
|
+
summary: string;
|
|
928
|
+
ref?: string | undefined;
|
|
929
|
+
}, {
|
|
930
|
+
kind: "deadline" | "metric" | "lineage" | "memory" | "artifact" | "task_history" | "external_feedback" | "runtime_state";
|
|
931
|
+
summary: string;
|
|
932
|
+
ref?: string | undefined;
|
|
933
|
+
}>, "many">;
|
|
934
|
+
target_mode: z.ZodOptional<z.ZodEnum<["exploration", "consolidation", "finalization"]>>;
|
|
935
|
+
target_strategy_family: z.ZodOptional<z.ZodString>;
|
|
936
|
+
candidate_refs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
937
|
+
lineage_refs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
938
|
+
approval_required: z.ZodDefault<z.ZodBoolean>;
|
|
939
|
+
risk: z.ZodDefault<z.ZodEnum<["low", "medium", "high"]>>;
|
|
940
|
+
confidence: z.ZodDefault<z.ZodNumber>;
|
|
941
|
+
policy_decision: z.ZodOptional<z.ZodObject<{
|
|
942
|
+
disposition: z.ZodEnum<["auto_apply", "approval_required", "advisory_only"]>;
|
|
943
|
+
reason: z.ZodString;
|
|
944
|
+
}, "strict", z.ZodTypeAny, {
|
|
945
|
+
reason: string;
|
|
946
|
+
disposition: "approval_required" | "advisory_only" | "auto_apply";
|
|
947
|
+
}, {
|
|
948
|
+
reason: string;
|
|
949
|
+
disposition: "approval_required" | "advisory_only" | "auto_apply";
|
|
950
|
+
}>>;
|
|
951
|
+
}, "strict", z.ZodTypeAny, {
|
|
952
|
+
confidence: number;
|
|
953
|
+
rationale: string;
|
|
954
|
+
approval_required: boolean;
|
|
955
|
+
evidence: {
|
|
956
|
+
kind: "deadline" | "metric" | "lineage" | "memory" | "artifact" | "task_history" | "external_feedback" | "runtime_state";
|
|
957
|
+
summary: string;
|
|
958
|
+
ref?: string | undefined;
|
|
959
|
+
}[];
|
|
960
|
+
action: "stay_current_mode" | "widen_exploration" | "consolidate_candidates" | "freeze_experiment_queue" | "enter_finalization" | "preserve_near_miss_candidates" | "retire_low_value_lineage" | "request_operator_approval";
|
|
961
|
+
candidate_refs: string[];
|
|
962
|
+
lineage_refs: string[];
|
|
963
|
+
risk: "low" | "high" | "medium";
|
|
964
|
+
id?: string | undefined;
|
|
965
|
+
target_mode?: "exploration" | "consolidation" | "finalization" | undefined;
|
|
966
|
+
target_strategy_family?: string | undefined;
|
|
967
|
+
policy_decision?: {
|
|
968
|
+
reason: string;
|
|
969
|
+
disposition: "approval_required" | "advisory_only" | "auto_apply";
|
|
970
|
+
} | undefined;
|
|
971
|
+
}, {
|
|
972
|
+
rationale: string;
|
|
973
|
+
evidence: {
|
|
974
|
+
kind: "deadline" | "metric" | "lineage" | "memory" | "artifact" | "task_history" | "external_feedback" | "runtime_state";
|
|
975
|
+
summary: string;
|
|
976
|
+
ref?: string | undefined;
|
|
977
|
+
}[];
|
|
978
|
+
action: "stay_current_mode" | "widen_exploration" | "consolidate_candidates" | "freeze_experiment_queue" | "enter_finalization" | "preserve_near_miss_candidates" | "retire_low_value_lineage" | "request_operator_approval";
|
|
979
|
+
confidence?: number | undefined;
|
|
980
|
+
id?: string | undefined;
|
|
981
|
+
approval_required?: boolean | undefined;
|
|
982
|
+
target_mode?: "exploration" | "consolidation" | "finalization" | undefined;
|
|
983
|
+
target_strategy_family?: string | undefined;
|
|
984
|
+
candidate_refs?: string[] | undefined;
|
|
985
|
+
lineage_refs?: string[] | undefined;
|
|
986
|
+
risk?: "low" | "high" | "medium" | undefined;
|
|
987
|
+
policy_decision?: {
|
|
988
|
+
reason: string;
|
|
989
|
+
disposition: "approval_required" | "advisory_only" | "auto_apply";
|
|
990
|
+
} | undefined;
|
|
991
|
+
}>, "many">>;
|
|
992
|
+
guidance: z.ZodString;
|
|
993
|
+
uncertainty: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
994
|
+
context_authority: z.ZodDefault<z.ZodLiteral<"advisory_only">>;
|
|
995
|
+
confidence: z.ZodDefault<z.ZodNumber>;
|
|
996
|
+
}, "strip", z.ZodTypeAny, {
|
|
997
|
+
confidence: number;
|
|
998
|
+
trigger: "iteration" | "breakthrough" | "plateau" | "pre_finalization";
|
|
999
|
+
summary: string;
|
|
1000
|
+
uncertainty: string[];
|
|
1001
|
+
current_goal: string;
|
|
1002
|
+
active_dimensions: string[];
|
|
1003
|
+
recent_strategy_families: string[];
|
|
1004
|
+
exhausted: string[];
|
|
1005
|
+
promising: string[];
|
|
1006
|
+
relevant_memories: {
|
|
1007
|
+
summary: string;
|
|
1008
|
+
source_type: "other" | "soil" | "playbook" | "runtime_evidence";
|
|
1009
|
+
authority: "advisory_only";
|
|
1010
|
+
recency_score?: number | undefined;
|
|
1011
|
+
ref?: string | undefined;
|
|
1012
|
+
relevance_score?: number | undefined;
|
|
1013
|
+
source_reliability?: number | undefined;
|
|
1014
|
+
prior_success_contribution?: number | undefined;
|
|
1015
|
+
retrieval?: {
|
|
1016
|
+
kind: "unknown" | "manual" | "checkpoint" | "route_hit" | "fallback_hit";
|
|
1017
|
+
confidence?: number | undefined;
|
|
1018
|
+
score?: number | undefined;
|
|
1019
|
+
} | undefined;
|
|
1020
|
+
usage_stats?: {
|
|
1021
|
+
last_used_at: string | null;
|
|
1022
|
+
use_count: number;
|
|
1023
|
+
validated_count: number;
|
|
1024
|
+
negative_outcome_count: number;
|
|
1025
|
+
} | undefined;
|
|
1026
|
+
ranking_trace?: {
|
|
1027
|
+
reason: string;
|
|
1028
|
+
score: number;
|
|
1029
|
+
decision: "rejected" | "admitted";
|
|
1030
|
+
} | undefined;
|
|
1031
|
+
}[];
|
|
1032
|
+
active_hypotheses: {
|
|
1033
|
+
status: "active" | "testing" | "supported" | "weakened";
|
|
1034
|
+
hypothesis: string;
|
|
1035
|
+
target_metric_or_dimension: string;
|
|
1036
|
+
expected_next_observation: string;
|
|
1037
|
+
supporting_evidence_ref?: string | undefined;
|
|
1038
|
+
}[];
|
|
1039
|
+
rejected_approaches: {
|
|
1040
|
+
confidence: number;
|
|
1041
|
+
approach: string;
|
|
1042
|
+
rejection_reason: string;
|
|
1043
|
+
evidence_ref?: string | undefined;
|
|
1044
|
+
revisit_condition?: string | undefined;
|
|
1045
|
+
}[];
|
|
1046
|
+
next_strategy_candidates: {
|
|
1047
|
+
rationale: string;
|
|
1048
|
+
title: string;
|
|
1049
|
+
target_dimensions: string[];
|
|
1050
|
+
expected_evidence_gain?: string | undefined;
|
|
1051
|
+
retry_reason?: string | undefined;
|
|
1052
|
+
failed_lineage_warning?: {
|
|
1053
|
+
reason: string;
|
|
1054
|
+
count: number;
|
|
1055
|
+
fingerprint: string;
|
|
1056
|
+
} | undefined;
|
|
1057
|
+
}[];
|
|
1058
|
+
run_control_recommendations: {
|
|
1059
|
+
confidence: number;
|
|
1060
|
+
rationale: string;
|
|
1061
|
+
approval_required: boolean;
|
|
1062
|
+
evidence: {
|
|
1063
|
+
kind: "deadline" | "metric" | "lineage" | "memory" | "artifact" | "task_history" | "external_feedback" | "runtime_state";
|
|
1064
|
+
summary: string;
|
|
1065
|
+
ref?: string | undefined;
|
|
1066
|
+
}[];
|
|
1067
|
+
action: "stay_current_mode" | "widen_exploration" | "consolidate_candidates" | "freeze_experiment_queue" | "enter_finalization" | "preserve_near_miss_candidates" | "retire_low_value_lineage" | "request_operator_approval";
|
|
1068
|
+
candidate_refs: string[];
|
|
1069
|
+
lineage_refs: string[];
|
|
1070
|
+
risk: "low" | "high" | "medium";
|
|
1071
|
+
id?: string | undefined;
|
|
1072
|
+
target_mode?: "exploration" | "consolidation" | "finalization" | undefined;
|
|
1073
|
+
target_strategy_family?: string | undefined;
|
|
1074
|
+
policy_decision?: {
|
|
1075
|
+
reason: string;
|
|
1076
|
+
disposition: "approval_required" | "advisory_only" | "auto_apply";
|
|
1077
|
+
} | undefined;
|
|
1078
|
+
}[];
|
|
1079
|
+
guidance: string;
|
|
1080
|
+
context_authority: "advisory_only";
|
|
1081
|
+
best_evidence_so_far?: string | undefined;
|
|
1082
|
+
}, {
|
|
1083
|
+
trigger: "iteration" | "breakthrough" | "plateau" | "pre_finalization";
|
|
1084
|
+
summary: string;
|
|
1085
|
+
current_goal: string;
|
|
1086
|
+
guidance: string;
|
|
1087
|
+
confidence?: number | undefined;
|
|
1088
|
+
uncertainty?: string[] | undefined;
|
|
1089
|
+
active_dimensions?: string[] | undefined;
|
|
1090
|
+
best_evidence_so_far?: string | undefined;
|
|
1091
|
+
recent_strategy_families?: string[] | undefined;
|
|
1092
|
+
exhausted?: string[] | undefined;
|
|
1093
|
+
promising?: string[] | undefined;
|
|
1094
|
+
relevant_memories?: {
|
|
1095
|
+
summary: string;
|
|
1096
|
+
source_type: "other" | "soil" | "playbook" | "runtime_evidence";
|
|
1097
|
+
recency_score?: number | undefined;
|
|
1098
|
+
ref?: string | undefined;
|
|
1099
|
+
authority?: "advisory_only" | undefined;
|
|
1100
|
+
relevance_score?: number | undefined;
|
|
1101
|
+
source_reliability?: number | undefined;
|
|
1102
|
+
prior_success_contribution?: number | undefined;
|
|
1103
|
+
retrieval?: {
|
|
1104
|
+
confidence?: number | undefined;
|
|
1105
|
+
kind?: "unknown" | "manual" | "checkpoint" | "route_hit" | "fallback_hit" | undefined;
|
|
1106
|
+
score?: number | undefined;
|
|
1107
|
+
} | undefined;
|
|
1108
|
+
usage_stats?: {
|
|
1109
|
+
last_used_at?: string | null | undefined;
|
|
1110
|
+
use_count?: number | undefined;
|
|
1111
|
+
validated_count?: number | undefined;
|
|
1112
|
+
negative_outcome_count?: number | undefined;
|
|
1113
|
+
} | undefined;
|
|
1114
|
+
ranking_trace?: {
|
|
1115
|
+
reason: string;
|
|
1116
|
+
score: number;
|
|
1117
|
+
decision: "rejected" | "admitted";
|
|
1118
|
+
} | undefined;
|
|
1119
|
+
}[] | undefined;
|
|
1120
|
+
active_hypotheses?: {
|
|
1121
|
+
hypothesis: string;
|
|
1122
|
+
target_metric_or_dimension: string;
|
|
1123
|
+
expected_next_observation: string;
|
|
1124
|
+
status?: "active" | "testing" | "supported" | "weakened" | undefined;
|
|
1125
|
+
supporting_evidence_ref?: string | undefined;
|
|
1126
|
+
}[] | undefined;
|
|
1127
|
+
rejected_approaches?: {
|
|
1128
|
+
approach: string;
|
|
1129
|
+
rejection_reason: string;
|
|
1130
|
+
confidence?: number | undefined;
|
|
1131
|
+
evidence_ref?: string | undefined;
|
|
1132
|
+
revisit_condition?: string | undefined;
|
|
1133
|
+
}[] | undefined;
|
|
1134
|
+
next_strategy_candidates?: {
|
|
1135
|
+
rationale: string;
|
|
1136
|
+
title: string;
|
|
1137
|
+
target_dimensions?: string[] | undefined;
|
|
1138
|
+
expected_evidence_gain?: string | undefined;
|
|
1139
|
+
retry_reason?: string | undefined;
|
|
1140
|
+
failed_lineage_warning?: {
|
|
1141
|
+
reason: string;
|
|
1142
|
+
count: number;
|
|
1143
|
+
fingerprint: string;
|
|
1144
|
+
} | undefined;
|
|
1145
|
+
}[] | undefined;
|
|
1146
|
+
run_control_recommendations?: {
|
|
1147
|
+
rationale: string;
|
|
1148
|
+
evidence: {
|
|
1149
|
+
kind: "deadline" | "metric" | "lineage" | "memory" | "artifact" | "task_history" | "external_feedback" | "runtime_state";
|
|
1150
|
+
summary: string;
|
|
1151
|
+
ref?: string | undefined;
|
|
1152
|
+
}[];
|
|
1153
|
+
action: "stay_current_mode" | "widen_exploration" | "consolidate_candidates" | "freeze_experiment_queue" | "enter_finalization" | "preserve_near_miss_candidates" | "retire_low_value_lineage" | "request_operator_approval";
|
|
1154
|
+
confidence?: number | undefined;
|
|
1155
|
+
id?: string | undefined;
|
|
1156
|
+
approval_required?: boolean | undefined;
|
|
1157
|
+
target_mode?: "exploration" | "consolidation" | "finalization" | undefined;
|
|
1158
|
+
target_strategy_family?: string | undefined;
|
|
1159
|
+
candidate_refs?: string[] | undefined;
|
|
1160
|
+
lineage_refs?: string[] | undefined;
|
|
1161
|
+
risk?: "low" | "high" | "medium" | undefined;
|
|
1162
|
+
policy_decision?: {
|
|
1163
|
+
reason: string;
|
|
1164
|
+
disposition: "approval_required" | "advisory_only" | "auto_apply";
|
|
1165
|
+
} | undefined;
|
|
1166
|
+
}[] | undefined;
|
|
1167
|
+
context_authority?: "advisory_only" | undefined;
|
|
1168
|
+
}>;
|
|
1169
|
+
export type DreamReviewCheckpointEvidence = z.infer<typeof DreamReviewCheckpointEvidenceSchema>;
|
|
1170
|
+
export declare const VerificationEvidenceSchema: z.ZodObject<{
|
|
1171
|
+
summary: z.ZodString;
|
|
1172
|
+
supported_claims: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1173
|
+
unsupported_claims: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1174
|
+
blockers: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
1175
|
+
confidence: z.ZodDefault<z.ZodNumber>;
|
|
1176
|
+
}, "strip", z.ZodTypeAny, {
|
|
1177
|
+
confidence: number;
|
|
1178
|
+
summary: string;
|
|
1179
|
+
supported_claims: string[];
|
|
1180
|
+
unsupported_claims: string[];
|
|
1181
|
+
blockers: string[];
|
|
1182
|
+
}, {
|
|
1183
|
+
summary: string;
|
|
1184
|
+
confidence?: number | undefined;
|
|
1185
|
+
supported_claims?: string[] | undefined;
|
|
1186
|
+
unsupported_claims?: string[] | undefined;
|
|
1187
|
+
blockers?: string[] | undefined;
|
|
1188
|
+
}>;
|
|
1189
|
+
export type VerificationEvidence = z.infer<typeof VerificationEvidenceSchema>;
|
|
1190
|
+
declare function baseSpec<TInput, TOutput>(input: {
|
|
1191
|
+
phase: CorePhaseKind;
|
|
1192
|
+
inputSchema: z.ZodType<TInput, z.ZodTypeDef, unknown>;
|
|
1193
|
+
outputSchema: z.ZodType<TOutput, z.ZodTypeDef, unknown>;
|
|
1194
|
+
failPolicy: "return_low_confidence" | "fallback_deterministic" | "fail_cycle";
|
|
1195
|
+
runWhen: (ctx: CorePhaseInvocationContext) => boolean;
|
|
1196
|
+
}): Pick<CorePhaseSpec<TInput, TOutput>, "phase" | "inputSchema" | "outputSchema" | "failPolicy"> & {
|
|
1197
|
+
runWhen: (ctx: CorePhaseInvocationContext) => boolean;
|
|
1198
|
+
};
|
|
1199
|
+
export declare function buildObserveEvidenceSpec(): ReturnType<typeof baseSpec<{
|
|
1200
|
+
goalTitle: string;
|
|
1201
|
+
goalDescription: string;
|
|
1202
|
+
dimensions: string[];
|
|
1203
|
+
workspacePath?: string;
|
|
1204
|
+
}, ObservationEvidence>>;
|
|
1205
|
+
export declare function buildWaitObservationSpec(): ReturnType<typeof baseSpec<{
|
|
1206
|
+
goalTitle: string;
|
|
1207
|
+
waitStrategyId: string;
|
|
1208
|
+
waitReason: string;
|
|
1209
|
+
waitUntil: string;
|
|
1210
|
+
nextObserveAt?: string | null;
|
|
1211
|
+
conditions: string[];
|
|
1212
|
+
processRefs: string[];
|
|
1213
|
+
artifactRefs: string[];
|
|
1214
|
+
approvalPending: boolean;
|
|
1215
|
+
}, WaitObservationEvidence>>;
|
|
1216
|
+
export declare function buildKnowledgeRefreshSpec(): ReturnType<typeof baseSpec<{
|
|
1217
|
+
goalTitle: string;
|
|
1218
|
+
topDimensions: string[];
|
|
1219
|
+
gapAggregate: number;
|
|
1220
|
+
}, KnowledgeRefreshEvidence>>;
|
|
1221
|
+
export declare function buildStallInvestigationSpec(): ReturnType<typeof baseSpec<{
|
|
1222
|
+
goalTitle: string;
|
|
1223
|
+
stallType: string;
|
|
1224
|
+
dimensionName?: string;
|
|
1225
|
+
suggestedCause?: string;
|
|
1226
|
+
}, StallInvestigationEvidence>>;
|
|
1227
|
+
export declare function buildReplanningOptionsSpec(): ReturnType<typeof baseSpec<{
|
|
1228
|
+
goalTitle: string;
|
|
1229
|
+
targetDimensions: string[];
|
|
1230
|
+
gapAggregate: number;
|
|
1231
|
+
currentApproach?: string;
|
|
1232
|
+
}, ReplanningOptions>>;
|
|
1233
|
+
export declare function buildDreamReviewCheckpointSpec(): ReturnType<typeof baseSpec<{
|
|
1234
|
+
goalTitle: string;
|
|
1235
|
+
trigger: DreamReviewCheckpointTrigger;
|
|
1236
|
+
reason: string;
|
|
1237
|
+
activeDimensions: string[];
|
|
1238
|
+
bestEvidenceSummary?: string;
|
|
1239
|
+
recentStrategyFamilies: string[];
|
|
1240
|
+
activeHypotheses: DreamReviewActiveHypothesis[];
|
|
1241
|
+
rejectedApproaches: DreamReviewRejectedApproach[];
|
|
1242
|
+
failedLineages: DreamReviewFailedLineage[];
|
|
1243
|
+
metricTrendSummary?: string;
|
|
1244
|
+
finalizationReason?: string;
|
|
1245
|
+
currentExecutionMode?: "exploration" | "consolidation" | "finalization";
|
|
1246
|
+
runControlPolicy: "auto_apply_low_risk_require_approval_for_high_cost_or_irreversible";
|
|
1247
|
+
memoryAuthorityPolicy: "soil_and_playbooks_are_advisory_only";
|
|
1248
|
+
maxGuidanceItems: number;
|
|
1249
|
+
}, DreamReviewCheckpointEvidence>>;
|
|
1250
|
+
export declare function buildPublicResearchSpec(): ReturnType<typeof baseSpec<{
|
|
1251
|
+
goalTitle: string;
|
|
1252
|
+
trigger: "plateau" | "uncertainty" | "knowledge_gap";
|
|
1253
|
+
question: string;
|
|
1254
|
+
targetDimensions: string[];
|
|
1255
|
+
sourcePreference: string[];
|
|
1256
|
+
maxSources: number;
|
|
1257
|
+
sensitiveContextPolicy: "do_not_send_secrets_or_private_artifacts";
|
|
1258
|
+
untrustedContentPolicy: "webpage_instructions_are_untrusted";
|
|
1259
|
+
}, PublicResearchEvidence>>;
|
|
1260
|
+
export declare function buildVerificationEvidenceSpec(requiredTools?: readonly string[]): CorePhaseSpec<{
|
|
1261
|
+
taskId: string;
|
|
1262
|
+
taskDescription: string;
|
|
1263
|
+
successCriteria: string[];
|
|
1264
|
+
executionAction: string;
|
|
1265
|
+
}, VerificationEvidence> & {
|
|
1266
|
+
runWhen: (ctx: CorePhaseInvocationContext) => boolean;
|
|
1267
|
+
};
|
|
1268
|
+
export {};
|
|
1269
|
+
//# sourceMappingURL=phase-specs.d.ts.map
|