stitchkit 0.134.2 → 0.135.1
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/CHANGELOG.md +42 -0
- package/README.md +1 -1
- package/dist/agent-executor/acp/v1-connect.d.ts +1 -1
- package/dist/agent-executor/acp/v1-connect.d.ts.map +1 -1
- package/dist/agent-executor/acp/v1-session.d.ts +1 -1
- package/dist/agent-executor/acp/v1-session.d.ts.map +1 -1
- package/dist/agent-executor/json-rpc-peer.d.ts +1 -1
- package/dist/agent-executor/json-rpc-peer.d.ts.map +1 -1
- package/dist/agent-runtime/browser/browser-control-contract.d.ts +1364 -0
- package/dist/agent-runtime/browser/browser-control-contract.d.ts.map +1 -0
- package/dist/agent-runtime/browser/browser-controller-view.d.ts +44 -0
- package/dist/agent-runtime/browser/browser-controller-view.d.ts.map +1 -0
- package/dist/agent-runtime/browser/browser-controller.d.ts +53 -0
- package/dist/agent-runtime/browser/browser-controller.d.ts.map +1 -0
- package/dist/agent-runtime/browser/control-interaction-schema.d.ts.map +1 -0
- package/dist/agent-runtime/browser/control-schema.d.ts +1378 -0
- package/dist/agent-runtime/browser/control-schema.d.ts.map +1 -0
- package/dist/agent-runtime/browser/control-view.d.ts +64 -0
- package/dist/agent-runtime/browser/control-view.d.ts.map +1 -0
- package/dist/agent-runtime/browser/react.d.ts.map +1 -0
- package/dist/agent-runtime/coding/coding-discovery.d.ts +25 -0
- package/dist/agent-runtime/coding/coding-discovery.d.ts.map +1 -0
- package/dist/agent-runtime/coding/coding-sandbox.d.ts +8 -0
- package/dist/agent-runtime/coding/coding-sandbox.d.ts.map +1 -0
- package/dist/agent-runtime/coding/coding-search-automaton.d.ts.map +1 -0
- package/dist/agent-runtime/coding/coding-search-case-fold.d.ts.map +1 -0
- package/dist/agent-runtime/coding/coding-search-class-ranges.d.ts.map +1 -0
- package/dist/agent-runtime/coding/coding-search-contract.d.ts.map +1 -0
- package/dist/agent-runtime/coding/coding-search-limits.d.ts.map +1 -0
- package/dist/agent-runtime/coding/coding-search-matcher.d.ts.map +1 -0
- package/dist/agent-runtime/coding/coding-search-output.d.ts.map +1 -0
- package/dist/agent-runtime/coding/coding-search-regex-syntax.d.ts.map +1 -0
- package/dist/agent-runtime/coding/coding-search-unit-classes.d.ts.map +1 -0
- package/dist/agent-runtime/coding/coding-shell-process.d.ts +36 -0
- package/dist/agent-runtime/coding/coding-shell-process.d.ts.map +1 -0
- package/dist/agent-runtime/coding/coding-tool-contract.d.ts +261 -0
- package/dist/agent-runtime/coding/coding-tool-contract.d.ts.map +1 -0
- package/dist/agent-runtime/coding/coding-tool-files.d.ts.map +1 -0
- package/dist/agent-runtime/coding/coding-tool-listing.d.ts.map +1 -0
- package/dist/agent-runtime/coding/coding-tool-paths.d.ts +53 -0
- package/dist/agent-runtime/coding/coding-tool-paths.d.ts.map +1 -0
- package/dist/agent-runtime/coding/coding-tool-refusals.d.ts.map +1 -0
- package/dist/agent-runtime/coding/coding-tool-search-patch.d.ts.map +1 -0
- package/dist/agent-runtime/coding/coding-tool-search.d.ts +113 -0
- package/dist/agent-runtime/coding/coding-tool-search.d.ts.map +1 -0
- package/dist/agent-runtime/coding/coding-tool-shell.d.ts.map +1 -0
- package/dist/agent-runtime/coding/coding-tool-utf8.d.ts.map +1 -0
- package/dist/agent-runtime/coding/coding-tools.d.ts.map +1 -0
- package/dist/agent-runtime/coding/contained-scan-budget.d.ts.map +1 -0
- package/dist/agent-runtime/coding/contained-scan-contract.d.ts.map +1 -0
- package/dist/agent-runtime/coding/contained-scan.d.ts +56 -0
- package/dist/agent-runtime/coding/contained-scan.d.ts.map +1 -0
- package/dist/agent-runtime/coding/workspace-glob.d.ts.map +1 -0
- package/dist/agent-runtime/context-issue.d.ts +1 -1
- package/dist/agent-runtime/context-issue.d.ts.map +1 -1
- package/dist/agent-runtime/deferred-tool-types.d.ts +3 -1
- package/dist/agent-runtime/deferred-tool-types.d.ts.map +1 -1
- package/dist/agent-runtime/harness/harness-contract.d.ts +206 -0
- package/dist/agent-runtime/harness/harness-contract.d.ts.map +1 -0
- package/dist/agent-runtime/harness/harness-control.d.ts +34 -0
- package/dist/agent-runtime/harness/harness-control.d.ts.map +1 -0
- package/dist/agent-runtime/harness/harness-file-resources.d.ts +33 -0
- package/dist/agent-runtime/harness/harness-file-resources.d.ts.map +1 -0
- package/dist/agent-runtime/harness/harness-resources.d.ts.map +1 -0
- package/dist/agent-runtime/harness/harness.d.ts +15 -0
- package/dist/agent-runtime/harness/harness.d.ts.map +1 -0
- package/dist/agent-runtime/history/compaction.d.ts +103 -0
- package/dist/agent-runtime/history/compaction.d.ts.map +1 -0
- package/dist/agent-runtime/history/history.d.ts +93 -0
- package/dist/agent-runtime/history/history.d.ts.map +1 -0
- package/dist/agent-runtime/history/run-history-parts.d.ts +14 -0
- package/dist/agent-runtime/history/run-history-parts.d.ts.map +1 -0
- package/dist/agent-runtime/loop/admission-lanes.d.ts +35 -0
- package/dist/agent-runtime/loop/admission-lanes.d.ts.map +1 -0
- package/dist/agent-runtime/loop/coordinator.d.ts.map +1 -0
- package/dist/agent-runtime/loop/deferred-tool-search.d.ts +9 -0
- package/dist/agent-runtime/loop/deferred-tool-search.d.ts.map +1 -0
- package/dist/agent-runtime/loop/deferred-tool-selection.d.ts +32 -0
- package/dist/agent-runtime/loop/deferred-tool-selection.d.ts.map +1 -0
- package/dist/agent-runtime/loop/deferred-tools-internal.d.ts +19 -0
- package/dist/agent-runtime/loop/deferred-tools-internal.d.ts.map +1 -0
- package/dist/agent-runtime/loop/deferred-tools.d.ts +4 -0
- package/dist/agent-runtime/loop/deferred-tools.d.ts.map +1 -0
- package/dist/agent-runtime/loop/injection.d.ts +28 -0
- package/dist/agent-runtime/loop/injection.d.ts.map +1 -0
- package/dist/agent-runtime/loop/invocation-attempt.d.ts +32 -0
- package/dist/agent-runtime/loop/invocation-attempt.d.ts.map +1 -0
- package/dist/agent-runtime/loop/invocation-failure.d.ts.map +1 -0
- package/dist/agent-runtime/loop/invocation-payload.d.ts +38 -0
- package/dist/agent-runtime/loop/invocation-payload.d.ts.map +1 -0
- package/dist/agent-runtime/loop/invocation-read.d.ts +134 -0
- package/dist/agent-runtime/loop/invocation-read.d.ts.map +1 -0
- package/dist/agent-runtime/loop/invocation-spend.d.ts +9 -0
- package/dist/agent-runtime/loop/invocation-spend.d.ts.map +1 -0
- package/dist/agent-runtime/loop/invocation-stream.d.ts +20 -0
- package/dist/agent-runtime/loop/invocation-stream.d.ts.map +1 -0
- package/dist/agent-runtime/loop/invocations.d.ts +63 -0
- package/dist/agent-runtime/loop/invocations.d.ts.map +1 -0
- package/dist/agent-runtime/loop/managed-tools.d.ts +20 -0
- package/dist/agent-runtime/loop/managed-tools.d.ts.map +1 -0
- package/dist/agent-runtime/loop/observability.d.ts +579 -0
- package/dist/agent-runtime/loop/observability.d.ts.map +1 -0
- package/dist/agent-runtime/loop/owned-provider-stream.d.ts.map +1 -0
- package/dist/agent-runtime/loop/provider-origin.d.ts +17 -0
- package/dist/agent-runtime/loop/provider-origin.d.ts.map +1 -0
- package/dist/agent-runtime/loop/provider-stream-parts.d.ts +5 -0
- package/dist/agent-runtime/loop/provider-stream-parts.d.ts.map +1 -0
- package/dist/agent-runtime/loop/provider-stream-segments.d.ts +63 -0
- package/dist/agent-runtime/loop/provider-stream-segments.d.ts.map +1 -0
- package/dist/agent-runtime/loop/retry-policy.d.ts +49 -0
- package/dist/agent-runtime/loop/retry-policy.d.ts.map +1 -0
- package/dist/agent-runtime/loop/run-acquisition.d.ts +24 -0
- package/dist/agent-runtime/loop/run-acquisition.d.ts.map +1 -0
- package/dist/agent-runtime/loop/run-approval.d.ts +82 -0
- package/dist/agent-runtime/loop/run-approval.d.ts.map +1 -0
- package/dist/agent-runtime/loop/run-complete-retry.d.ts +24 -0
- package/dist/agent-runtime/loop/run-complete-retry.d.ts.map +1 -0
- package/dist/agent-runtime/loop/run-complete-stream.d.ts +9 -0
- package/dist/agent-runtime/loop/run-complete-stream.d.ts.map +1 -0
- package/dist/agent-runtime/loop/run-complete-types.d.ts +171 -0
- package/dist/agent-runtime/loop/run-complete-types.d.ts.map +1 -0
- package/dist/agent-runtime/loop/run-complete.d.ts +25 -0
- package/dist/agent-runtime/loop/run-complete.d.ts.map +1 -0
- package/dist/agent-runtime/loop/run-driver-compose.d.ts +21 -0
- package/dist/agent-runtime/loop/run-driver-compose.d.ts.map +1 -0
- package/dist/agent-runtime/loop/run-execution-state.d.ts +177 -0
- package/dist/agent-runtime/loop/run-execution-state.d.ts.map +1 -0
- package/dist/agent-runtime/loop/run-execution.d.ts +22 -0
- package/dist/agent-runtime/loop/run-execution.d.ts.map +1 -0
- package/dist/agent-runtime/loop/run-failure.d.ts +21 -0
- package/dist/agent-runtime/loop/run-failure.d.ts.map +1 -0
- package/dist/agent-runtime/loop/run-loop-events.d.ts +126 -0
- package/dist/agent-runtime/loop/run-loop-events.d.ts.map +1 -0
- package/dist/agent-runtime/loop/run-model-attempts.d.ts +6 -0
- package/dist/agent-runtime/loop/run-model-attempts.d.ts.map +1 -0
- package/dist/agent-runtime/loop/run-model-messages.d.ts +9 -0
- package/dist/agent-runtime/loop/run-model-messages.d.ts.map +1 -0
- package/dist/agent-runtime/loop/run-model-step.d.ts +43 -0
- package/dist/agent-runtime/loop/run-model-step.d.ts.map +1 -0
- package/dist/agent-runtime/loop/run-model-stream.d.ts +27 -0
- package/dist/agent-runtime/loop/run-model-stream.d.ts.map +1 -0
- package/dist/agent-runtime/loop/run-operation-lifecycle.d.ts +32 -0
- package/dist/agent-runtime/loop/run-operation-lifecycle.d.ts.map +1 -0
- package/dist/agent-runtime/loop/run-prompt-history.d.ts +53 -0
- package/dist/agent-runtime/loop/run-prompt-history.d.ts.map +1 -0
- package/dist/agent-runtime/loop/run-provider-ledger.d.ts +32 -0
- package/dist/agent-runtime/loop/run-provider-ledger.d.ts.map +1 -0
- package/dist/agent-runtime/loop/run-step-barriers.d.ts +120 -0
- package/dist/agent-runtime/loop/run-step-barriers.d.ts.map +1 -0
- package/dist/agent-runtime/loop/run-step-helpers.d.ts +50 -0
- package/dist/agent-runtime/loop/run-step-helpers.d.ts.map +1 -0
- package/dist/agent-runtime/loop/run-step-prepare.d.ts +34 -0
- package/dist/agent-runtime/loop/run-step-prepare.d.ts.map +1 -0
- package/dist/agent-runtime/loop/run-step-spend.d.ts +394 -0
- package/dist/agent-runtime/loop/run-step-spend.d.ts.map +1 -0
- package/dist/agent-runtime/loop/run-stream-parts.d.ts +34 -0
- package/dist/agent-runtime/loop/run-stream-parts.d.ts.map +1 -0
- package/dist/agent-runtime/loop/run-stream-recorded.d.ts +8 -0
- package/dist/agent-runtime/loop/run-stream-recorded.d.ts.map +1 -0
- package/dist/agent-runtime/loop/run-stream-step-text.d.ts +47 -0
- package/dist/agent-runtime/loop/run-stream-step-text.d.ts.map +1 -0
- package/dist/agent-runtime/loop/run-terminal.d.ts +11 -0
- package/dist/agent-runtime/loop/run-terminal.d.ts.map +1 -0
- package/dist/agent-runtime/loop/run-tool-approval-flow.d.ts +36 -0
- package/dist/agent-runtime/loop/run-tool-approval-flow.d.ts.map +1 -0
- package/dist/agent-runtime/loop/run-tool-approval-records.d.ts +24 -0
- package/dist/agent-runtime/loop/run-tool-approval-records.d.ts.map +1 -0
- package/dist/agent-runtime/loop/run-tool-call.d.ts +119 -0
- package/dist/agent-runtime/loop/run-tool-call.d.ts.map +1 -0
- package/dist/agent-runtime/loop/run-tool-errors.d.ts.map +1 -0
- package/dist/agent-runtime/loop/run-tool-executor.d.ts +42 -0
- package/dist/agent-runtime/loop/run-tool-executor.d.ts.map +1 -0
- package/dist/agent-runtime/loop/run-tool-progress.d.ts +21 -0
- package/dist/agent-runtime/loop/run-tool-progress.d.ts.map +1 -0
- package/dist/agent-runtime/loop/run-tool-slots.d.ts +114 -0
- package/dist/agent-runtime/loop/run-tool-slots.d.ts.map +1 -0
- package/dist/agent-runtime/loop/run-turn-preparation.d.ts +25 -0
- package/dist/agent-runtime/loop/run-turn-preparation.d.ts.map +1 -0
- package/dist/agent-runtime/loop/run-unacquired.d.ts +19 -0
- package/dist/agent-runtime/loop/run-unacquired.d.ts.map +1 -0
- package/dist/agent-runtime/loop/runtime-admission-gate.d.ts.map +1 -0
- package/dist/agent-runtime/loop/runtime-control.d.ts +9 -0
- package/dist/agent-runtime/loop/runtime-control.d.ts.map +1 -0
- package/dist/agent-runtime/loop/runtime-recovery.d.ts +10 -0
- package/dist/agent-runtime/loop/runtime-recovery.d.ts.map +1 -0
- package/dist/agent-runtime/loop/runtime-state.d.ts +36 -0
- package/dist/agent-runtime/loop/runtime-state.d.ts.map +1 -0
- package/dist/agent-runtime/loop/runtime-submit.d.ts +5 -0
- package/dist/agent-runtime/loop/runtime-submit.d.ts.map +1 -0
- package/dist/agent-runtime/loop/runtime.d.ts +352 -0
- package/dist/agent-runtime/loop/runtime.d.ts.map +1 -0
- package/dist/agent-runtime/loop/state-slots.d.ts +48 -0
- package/dist/agent-runtime/loop/state-slots.d.ts.map +1 -0
- package/dist/agent-runtime/loop/state-tools.d.ts +117 -0
- package/dist/agent-runtime/loop/state-tools.d.ts.map +1 -0
- package/dist/agent-runtime/protocol.d.ts +1 -1
- package/dist/agent-runtime/protocol.d.ts.map +1 -1
- package/dist/agent-runtime/providers/ai-sdk-convert.d.ts +15 -0
- package/dist/agent-runtime/providers/ai-sdk-convert.d.ts.map +1 -0
- package/dist/agent-runtime/providers/ai-sdk.d.ts +31 -0
- package/dist/agent-runtime/providers/ai-sdk.d.ts.map +1 -0
- package/dist/agent-runtime/providers/anthropic-media.d.ts +11 -0
- package/dist/agent-runtime/providers/anthropic-media.d.ts.map +1 -0
- package/dist/agent-runtime/providers/anthropic-messages.d.ts +25 -0
- package/dist/agent-runtime/providers/anthropic-messages.d.ts.map +1 -0
- package/dist/agent-runtime/providers/anthropic-options.d.ts +80 -0
- package/dist/agent-runtime/providers/anthropic-options.d.ts.map +1 -0
- package/dist/agent-runtime/providers/anthropic-response.d.ts +19 -0
- package/dist/agent-runtime/providers/anthropic-response.d.ts.map +1 -0
- package/dist/agent-runtime/providers/anthropic-sse.d.ts.map +1 -0
- package/dist/agent-runtime/providers/anthropic.d.ts.map +1 -0
- package/dist/agent-runtime/providers/models-driver-step.d.ts +212 -0
- package/dist/agent-runtime/providers/models-driver-step.d.ts.map +1 -0
- package/dist/agent-runtime/providers/models-driver-telemetry.d.ts.map +1 -0
- package/dist/agent-runtime/providers/models-driver.d.ts +235 -0
- package/dist/agent-runtime/providers/models-driver.d.ts.map +1 -0
- package/dist/agent-runtime/providers/models.d.ts.map +1 -0
- package/dist/agent-runtime/providers/openai-messages.d.ts.map +1 -0
- package/dist/agent-runtime/providers/openai-options.d.ts +91 -0
- package/dist/agent-runtime/providers/openai-options.d.ts.map +1 -0
- package/dist/agent-runtime/providers/openai-response.d.ts +77 -0
- package/dist/agent-runtime/providers/openai-response.d.ts.map +1 -0
- package/dist/agent-runtime/providers/openai-sse-state.d.ts.map +1 -0
- package/dist/agent-runtime/providers/openai-sse.d.ts.map +1 -0
- package/dist/agent-runtime/providers/openai.d.ts.map +1 -0
- package/dist/agent-runtime/providers/openrouter-admission.d.ts +85 -0
- package/dist/agent-runtime/providers/openrouter-admission.d.ts.map +1 -0
- package/dist/agent-runtime/providers/openrouter-audio.d.ts +122 -0
- package/dist/agent-runtime/providers/openrouter-audio.d.ts.map +1 -0
- package/dist/agent-runtime/providers/openrouter-benchmarks.d.ts.map +1 -0
- package/dist/agent-runtime/providers/openrouter-catalog-cache.d.ts.map +1 -0
- package/dist/agent-runtime/providers/openrouter-catalog-query.d.ts +82 -0
- package/dist/agent-runtime/providers/openrouter-catalog-query.d.ts.map +1 -0
- package/dist/agent-runtime/providers/openrouter-catalog.d.ts +260 -0
- package/dist/agent-runtime/providers/openrouter-catalog.d.ts.map +1 -0
- package/dist/agent-runtime/providers/openrouter-http.d.ts +100 -0
- package/dist/agent-runtime/providers/openrouter-http.d.ts.map +1 -0
- package/dist/agent-runtime/providers/openrouter-media.d.ts +160 -0
- package/dist/agent-runtime/providers/openrouter-media.d.ts.map +1 -0
- package/dist/agent-runtime/providers/openrouter-models.d.ts +203 -0
- package/dist/agent-runtime/providers/openrouter-models.d.ts.map +1 -0
- package/dist/agent-runtime/providers/openrouter-options.d.ts +138 -0
- package/dist/agent-runtime/providers/openrouter-options.d.ts.map +1 -0
- package/dist/agent-runtime/providers/openrouter-response.d.ts +22 -0
- package/dist/agent-runtime/providers/openrouter-response.d.ts.map +1 -0
- package/dist/agent-runtime/providers/openrouter-retrieval.d.ts +114 -0
- package/dist/agent-runtime/providers/openrouter-retrieval.d.ts.map +1 -0
- package/dist/agent-runtime/providers/openrouter-route.d.ts.map +1 -0
- package/dist/agent-runtime/providers/openrouter-spend.d.ts +28 -0
- package/dist/agent-runtime/providers/openrouter-spend.d.ts.map +1 -0
- package/dist/agent-runtime/providers/openrouter-stream.d.ts +29 -0
- package/dist/agent-runtime/providers/openrouter-stream.d.ts.map +1 -0
- package/dist/agent-runtime/providers/openrouter-systemone.d.ts +82 -0
- package/dist/agent-runtime/providers/openrouter-systemone.d.ts.map +1 -0
- package/dist/agent-runtime/providers/openrouter-url.d.ts +13 -0
- package/dist/agent-runtime/providers/openrouter-url.d.ts.map +1 -0
- package/dist/agent-runtime/providers/openrouter.d.ts +50 -0
- package/dist/agent-runtime/providers/openrouter.d.ts.map +1 -0
- package/dist/agent-runtime/providers/provider-cache.d.ts +30 -0
- package/dist/agent-runtime/providers/provider-cache.d.ts.map +1 -0
- package/dist/agent-runtime/providers/provider-content.d.ts.map +1 -0
- package/dist/agent-runtime/providers/provider-failure.d.ts +97 -0
- package/dist/agent-runtime/providers/provider-failure.d.ts.map +1 -0
- package/dist/agent-runtime/providers/provider-history.d.ts +13 -0
- package/dist/agent-runtime/providers/provider-history.d.ts.map +1 -0
- package/dist/agent-runtime/providers/provider-http.d.ts +82 -0
- package/dist/agent-runtime/providers/provider-http.d.ts.map +1 -0
- package/dist/agent-runtime/providers/provider-journal.d.ts.map +1 -0
- package/dist/agent-runtime/providers/provider-json-schema-strip.d.ts.map +1 -0
- package/dist/agent-runtime/providers/provider-json-schema.d.ts +31 -0
- package/dist/agent-runtime/providers/provider-json-schema.d.ts.map +1 -0
- package/dist/agent-runtime/providers/provider-media.d.ts +49 -0
- package/dist/agent-runtime/providers/provider-media.d.ts.map +1 -0
- package/dist/agent-runtime/providers/provider-openai-chat-helpers.d.ts +27 -0
- package/dist/agent-runtime/providers/provider-openai-chat-helpers.d.ts.map +1 -0
- package/dist/agent-runtime/providers/provider-openai-chat-sse.d.ts +25 -0
- package/dist/agent-runtime/providers/provider-openai-chat-sse.d.ts.map +1 -0
- package/dist/agent-runtime/providers/provider-openai-chat.d.ts +27 -0
- package/dist/agent-runtime/providers/provider-openai-chat.d.ts.map +1 -0
- package/dist/agent-runtime/providers/provider-sse.d.ts.map +1 -0
- package/dist/agent-runtime/providers/provider-usage.d.ts +24 -0
- package/dist/agent-runtime/providers/provider-usage.d.ts.map +1 -0
- package/dist/agent-runtime/realtime/harness-realtime.d.ts +53 -0
- package/dist/agent-runtime/realtime/harness-realtime.d.ts.map +1 -0
- package/dist/agent-runtime/sandbox/sandbox-binding.d.ts.map +1 -0
- package/dist/agent-runtime/sandbox/sandbox-broker.d.ts.map +1 -0
- package/dist/agent-runtime/sandbox/sandbox-bubblewrap-args.d.ts.map +1 -0
- package/dist/agent-runtime/sandbox/sandbox-bubblewrap-storage.d.ts.map +1 -0
- package/dist/agent-runtime/sandbox/sandbox-bubblewrap.d.ts.map +1 -0
- package/dist/agent-runtime/sandbox/sandbox-coding-adapter.d.ts.map +1 -0
- package/dist/agent-runtime/sandbox/sandbox-contract.d.ts.map +1 -0
- package/dist/agent-runtime/sandbox/sandbox-process-linux.d.ts.map +1 -0
- package/dist/agent-runtime/sandbox/sandbox-process-macos.d.ts.map +1 -0
- package/dist/agent-runtime/sandbox/sandbox-process-owner.d.ts +19 -0
- package/dist/agent-runtime/sandbox/sandbox-process-owner.d.ts.map +1 -0
- package/dist/agent-runtime/sandbox/sandbox-process-spec.d.ts.map +1 -0
- package/dist/agent-runtime/sandbox/sandbox-process-wrapper.d.ts.map +1 -0
- package/dist/agent-runtime/sandbox/sandbox-process.d.ts +8 -0
- package/dist/agent-runtime/sandbox/sandbox-process.d.ts.map +1 -0
- package/dist/agent-runtime/sandbox/sandbox-session.d.ts.map +1 -0
- package/dist/agent-runtime/sandbox/sandbox.d.ts +125 -0
- package/dist/agent-runtime/sandbox/sandbox.d.ts.map +1 -0
- package/dist/agent-runtime/stores/archive-projection.d.ts.map +1 -0
- package/dist/agent-runtime/stores/archive-spill.d.ts.map +1 -0
- package/dist/agent-runtime/stores/branch-contract.d.ts.map +1 -0
- package/dist/agent-runtime/stores/branch-events.d.ts +25 -0
- package/dist/agent-runtime/stores/branch-events.d.ts.map +1 -0
- package/dist/agent-runtime/stores/branch-identities.d.ts +75 -0
- package/dist/agent-runtime/stores/branch-identities.d.ts.map +1 -0
- package/dist/agent-runtime/stores/branch-messages.d.ts +21 -0
- package/dist/agent-runtime/stores/branch-messages.d.ts.map +1 -0
- package/dist/agent-runtime/stores/branch-observations.d.ts.map +1 -0
- package/dist/agent-runtime/stores/branch-provider.d.ts.map +1 -0
- package/dist/agent-runtime/stores/branch-refusal.d.ts.map +1 -0
- package/dist/agent-runtime/stores/branch-replay.d.ts +456 -0
- package/dist/agent-runtime/stores/branch-replay.d.ts.map +1 -0
- package/dist/agent-runtime/stores/branch-runtime-tools.d.ts.map +1 -0
- package/dist/agent-runtime/stores/branch-source.d.ts +33 -0
- package/dist/agent-runtime/stores/branch-source.d.ts.map +1 -0
- package/dist/agent-runtime/stores/branch-transitions.d.ts.map +1 -0
- package/dist/agent-runtime/stores/child-blocking.d.ts.map +1 -0
- package/dist/agent-runtime/stores/child-budget-policy.d.ts +17 -0
- package/dist/agent-runtime/stores/child-budget-policy.d.ts.map +1 -0
- package/dist/agent-runtime/stores/child-tools.d.ts +144 -0
- package/dist/agent-runtime/stores/child-tools.d.ts.map +1 -0
- package/dist/agent-runtime/stores/children-contract.d.ts +236 -0
- package/dist/agent-runtime/stores/children-contract.d.ts.map +1 -0
- package/dist/agent-runtime/stores/children-control.d.ts.map +1 -0
- package/dist/agent-runtime/stores/children-spawn.d.ts.map +1 -0
- package/dist/agent-runtime/stores/children-state.d.ts.map +1 -0
- package/dist/agent-runtime/stores/children-usage.d.ts.map +1 -0
- package/dist/agent-runtime/stores/children.d.ts.map +1 -0
- package/dist/agent-runtime/stores/companion-host.d.ts +38 -0
- package/dist/agent-runtime/stores/companion-host.d.ts.map +1 -0
- package/dist/agent-runtime/stores/conversations.d.ts.map +1 -0
- package/dist/agent-runtime/stores/event-search-postgres.d.ts.map +1 -0
- package/dist/agent-runtime/stores/event-search-terms.d.ts.map +1 -0
- package/dist/agent-runtime/stores/event-search-tools.d.ts +190 -0
- package/dist/agent-runtime/stores/event-search-tools.d.ts.map +1 -0
- package/dist/agent-runtime/stores/event-search.d.ts.map +1 -0
- package/dist/agent-runtime/stores/postgres-schema.d.ts.map +1 -0
- package/dist/agent-runtime/stores/postgres-transactions.d.ts +54 -0
- package/dist/agent-runtime/stores/postgres-transactions.d.ts.map +1 -0
- package/dist/agent-runtime/stores/postgres.d.ts +72 -0
- package/dist/agent-runtime/stores/postgres.d.ts.map +1 -0
- package/dist/agent-runtime/stores/projections.d.ts +109 -0
- package/dist/agent-runtime/stores/projections.d.ts.map +1 -0
- package/dist/agent-runtime/stores/purge.d.ts.map +1 -0
- package/dist/agent-runtime/stores/schedule-contract.d.ts.map +1 -0
- package/dist/agent-runtime/stores/schedule-dispatch.d.ts.map +1 -0
- package/dist/agent-runtime/stores/schedule-records.d.ts.map +1 -0
- package/dist/agent-runtime/stores/schedule-tools.d.ts +76 -0
- package/dist/agent-runtime/stores/schedule-tools.d.ts.map +1 -0
- package/dist/agent-runtime/stores/schedules.d.ts.map +1 -0
- package/dist/agent-runtime/stores/spill.d.ts +26 -0
- package/dist/agent-runtime/stores/spill.d.ts.map +1 -0
- package/dist/agent-runtime/stores/sql-events.d.ts.map +1 -0
- package/dist/agent-runtime/stores/sql-history.d.ts.map +1 -0
- package/dist/agent-runtime/stores/sql-ledger.d.ts.map +1 -0
- package/dist/agent-runtime/stores/sql-purge.d.ts.map +1 -0
- package/dist/agent-runtime/stores/sql-reads.d.ts.map +1 -0
- package/dist/agent-runtime/stores/sql-rows.d.ts.map +1 -0
- package/dist/agent-runtime/stores/sql-session.d.ts.map +1 -0
- package/dist/agent-runtime/stores/sqlite-bun.d.ts.map +1 -0
- package/dist/agent-runtime/stores/sqlite-node.d.ts.map +1 -0
- package/dist/agent-runtime/stores/sqlite-purge.d.ts +6 -0
- package/dist/agent-runtime/stores/sqlite-purge.d.ts.map +1 -0
- package/dist/agent-runtime/stores/sqlite-schema.d.ts +7 -0
- package/dist/agent-runtime/stores/sqlite-schema.d.ts.map +1 -0
- package/dist/agent-runtime/stores/sqlite-transactions.d.ts +29 -0
- package/dist/agent-runtime/stores/sqlite-transactions.d.ts.map +1 -0
- package/dist/agent-runtime/stores/sqlite.d.ts +33 -0
- package/dist/agent-runtime/stores/sqlite.d.ts.map +1 -0
- package/dist/agent-runtime/stores/store-archive.d.ts.map +1 -0
- package/dist/agent-runtime/stores/store-branch.d.ts.map +1 -0
- package/dist/agent-runtime/stores/store-capabilities.d.ts.map +1 -0
- package/dist/agent-runtime/stores/store-create.d.ts.map +1 -0
- package/dist/agent-runtime/stores/store-driver-contract.d.ts +1016 -0
- package/dist/agent-runtime/stores/store-driver-contract.d.ts.map +1 -0
- package/dist/agent-runtime/stores/store-event-once.d.ts +37 -0
- package/dist/agent-runtime/stores/store-event-once.d.ts.map +1 -0
- package/dist/agent-runtime/stores/store-events.d.ts +2231 -0
- package/dist/agent-runtime/stores/store-events.d.ts.map +1 -0
- package/dist/agent-runtime/stores/store-memory-archive.d.ts.map +1 -0
- package/dist/agent-runtime/stores/store-memory-events.d.ts +7 -0
- package/dist/agent-runtime/stores/store-memory-events.d.ts.map +1 -0
- package/dist/agent-runtime/stores/store-memory.d.ts.map +1 -0
- package/dist/agent-runtime/stores/store-migrations/v1-to-v2.d.ts +6 -0
- package/dist/agent-runtime/stores/store-migrations/v1-to-v2.d.ts.map +1 -0
- package/dist/agent-runtime/stores/store-migrations/v2-to-v3.d.ts +14 -0
- package/dist/agent-runtime/stores/store-migrations/v2-to-v3.d.ts.map +1 -0
- package/dist/agent-runtime/stores/store-migrations/v3-to-v4.d.ts +4 -0
- package/dist/agent-runtime/stores/store-migrations/v3-to-v4.d.ts.map +1 -0
- package/dist/agent-runtime/stores/store-mutate.d.ts.map +1 -0
- package/dist/agent-runtime/stores/store-purge.d.ts.map +1 -0
- package/dist/agent-runtime/stores/store-reads.d.ts +29 -0
- package/dist/agent-runtime/stores/store-reads.d.ts.map +1 -0
- package/dist/agent-runtime/stores/store-reduce-history.d.ts +10 -0
- package/dist/agent-runtime/stores/store-reduce-history.d.ts.map +1 -0
- package/dist/agent-runtime/stores/store-reduce-run.d.ts +14 -0
- package/dist/agent-runtime/stores/store-reduce-run.d.ts.map +1 -0
- package/dist/agent-runtime/stores/store-reduce-shared.d.ts +78 -0
- package/dist/agent-runtime/stores/store-reduce-shared.d.ts.map +1 -0
- package/dist/agent-runtime/stores/store-reduce-terminal.d.ts +6 -0
- package/dist/agent-runtime/stores/store-reduce-terminal.d.ts.map +1 -0
- package/dist/agent-runtime/stores/store-reducer.d.ts +24 -0
- package/dist/agent-runtime/stores/store-reducer.d.ts.map +1 -0
- package/dist/agent-runtime/stores/store-replay.d.ts.map +1 -0
- package/dist/agent-runtime/stores/store-snapshot.d.ts +19 -0
- package/dist/agent-runtime/stores/store-snapshot.d.ts.map +1 -0
- package/dist/agent-runtime/stores/store.d.ts +3032 -0
- package/dist/agent-runtime/stores/store.d.ts.map +1 -0
- package/dist/agent-runtime/terminal-commit.d.ts +1 -1
- package/dist/agent-runtime/terminal-commit.d.ts.map +1 -1
- package/dist/agent-runtime/testing/fault-bench.d.ts.map +1 -0
- package/dist/agent-runtime/testing/run-assertions.d.ts +63 -0
- package/dist/agent-runtime/testing/run-assertions.d.ts.map +1 -0
- package/dist/agent-runtime/testing/store-conformance-branch.d.ts +7 -0
- package/dist/agent-runtime/testing/store-conformance-branch.d.ts.map +1 -0
- package/dist/agent-runtime/testing/store-conformance-capabilities.d.ts +6 -0
- package/dist/agent-runtime/testing/store-conformance-capabilities.d.ts.map +1 -0
- package/dist/agent-runtime/testing/store-conformance-event-once.d.ts +12 -0
- package/dist/agent-runtime/testing/store-conformance-event-once.d.ts.map +1 -0
- package/dist/agent-runtime/testing/store-conformance-lifecycle.d.ts +454 -0
- package/dist/agent-runtime/testing/store-conformance-lifecycle.d.ts.map +1 -0
- package/dist/agent-runtime/testing/store-conformance-ordering.d.ts +18 -0
- package/dist/agent-runtime/testing/store-conformance-ordering.d.ts.map +1 -0
- package/dist/agent-runtime/testing/store-conformance-seed.d.ts +8 -0
- package/dist/agent-runtime/testing/store-conformance-seed.d.ts.map +1 -0
- package/dist/agent-runtime/testing/store-conformance-support.d.ts +140 -0
- package/dist/agent-runtime/testing/store-conformance-support.d.ts.map +1 -0
- package/dist/agent-runtime/testing/store-conformance-terminal.d.ts +12 -0
- package/dist/agent-runtime/testing/store-conformance-terminal.d.ts.map +1 -0
- package/dist/agent-runtime/testing/store-conformance.d.ts +71 -0
- package/dist/agent-runtime/testing/store-conformance.d.ts.map +1 -0
- package/dist/agent-runtime/testing/testing.d.ts +46 -0
- package/dist/agent-runtime/testing/testing.d.ts.map +1 -0
- package/dist/browser/client-executors.d.ts.map +1 -1
- package/dist/browser/client.d.ts +3 -2
- package/dist/browser/client.d.ts.map +1 -1
- package/dist/browser/http.d.ts +6 -3
- package/dist/browser/http.d.ts.map +1 -1
- package/dist/contract/client-types.d.ts +4 -3
- package/dist/contract/client-types.d.ts.map +1 -1
- package/dist/entrypoints/agent-executor/acp.js +38 -12
- package/dist/entrypoints/agent-executor/claude-sdk.js +1 -1
- package/dist/entrypoints/agent-executor/codex.js +2 -2
- package/dist/entrypoints/agent-executor/testing/claude-sdk.js +3 -3
- package/dist/entrypoints/agent-executor/testing.js +3 -3
- package/dist/entrypoints/agent-executor.js +1 -1
- package/dist/entrypoints/agent-runtime/ai-sdk.d.ts +3 -3
- package/dist/entrypoints/agent-runtime/ai-sdk.d.ts.map +1 -1
- package/dist/entrypoints/agent-runtime/ai-sdk.js +9 -8
- package/dist/entrypoints/agent-runtime/anthropic.d.ts +3 -3
- package/dist/entrypoints/agent-runtime/anthropic.d.ts.map +1 -1
- package/dist/entrypoints/agent-runtime/anthropic.js +72 -18
- package/dist/entrypoints/agent-runtime/browser.d.ts +6 -6
- package/dist/entrypoints/agent-runtime/browser.d.ts.map +1 -1
- package/dist/entrypoints/agent-runtime/browser.js +39 -39
- package/dist/entrypoints/agent-runtime/coding-tools.d.ts +1 -1
- package/dist/entrypoints/agent-runtime/coding-tools.d.ts.map +1 -1
- package/dist/entrypoints/agent-runtime/coding-tools.js +2 -2
- package/dist/entrypoints/agent-runtime/harness.d.ts +1 -1
- package/dist/entrypoints/agent-runtime/harness.d.ts.map +1 -1
- package/dist/entrypoints/agent-runtime/harness.js +27 -28
- package/dist/entrypoints/agent-runtime/openai.d.ts +3 -3
- package/dist/entrypoints/agent-runtime/openai.d.ts.map +1 -1
- package/dist/entrypoints/agent-runtime/openai.js +9 -9
- package/dist/entrypoints/agent-runtime/openrouter.d.ts +17 -10
- package/dist/entrypoints/agent-runtime/openrouter.d.ts.map +1 -1
- package/dist/entrypoints/agent-runtime/openrouter.js +1657 -400
- package/dist/entrypoints/agent-runtime/postgres.d.ts +2 -2
- package/dist/entrypoints/agent-runtime/postgres.d.ts.map +1 -1
- package/dist/entrypoints/agent-runtime/postgres.js +8 -8
- package/dist/entrypoints/agent-runtime/react.d.ts +1 -1
- package/dist/entrypoints/agent-runtime/react.d.ts.map +1 -1
- package/dist/entrypoints/agent-runtime/react.js +1 -1
- package/dist/entrypoints/agent-runtime/realtime.d.ts +1 -1
- package/dist/entrypoints/agent-runtime/realtime.d.ts.map +1 -1
- package/dist/entrypoints/agent-runtime/realtime.js +5 -5
- package/dist/entrypoints/agent-runtime/sandbox.d.ts +9 -9
- package/dist/entrypoints/agent-runtime/sandbox.d.ts.map +1 -1
- package/dist/entrypoints/agent-runtime/sandbox.js +220 -93
- package/dist/entrypoints/agent-runtime/sqlite/bun.d.ts +1 -1
- package/dist/entrypoints/agent-runtime/sqlite/bun.d.ts.map +1 -1
- package/dist/entrypoints/agent-runtime/sqlite/bun.js +8 -8
- package/dist/entrypoints/agent-runtime/sqlite/node.d.ts +1 -1
- package/dist/entrypoints/agent-runtime/sqlite/node.d.ts.map +1 -1
- package/dist/entrypoints/agent-runtime/sqlite/node.js +8 -8
- package/dist/entrypoints/agent-runtime/testing.d.ts +4 -4
- package/dist/entrypoints/agent-runtime/testing.d.ts.map +1 -1
- package/dist/entrypoints/agent-runtime/testing.js +21 -21
- package/dist/entrypoints/agent-runtime.d.ts +50 -50
- package/dist/entrypoints/agent-runtime.d.ts.map +1 -1
- package/dist/entrypoints/agent-runtime.js +2853 -3107
- package/dist/entrypoints/cli.js +8 -9
- package/dist/entrypoints/http.js +2 -2
- package/dist/entrypoints/index.js +2 -2
- package/dist/entrypoints/react.js +1 -1
- package/dist/entrypoints/remote.js +2 -2
- package/dist/entrypoints/server.js +2 -2
- package/dist/entrypoints/testing.js +7 -9
- package/dist/entrypoints/tools/agent.js +476 -13
- package/dist/entrypoints/tools/connections.js +9 -7
- package/dist/entrypoints/tools/contract.js +4 -4
- package/dist/entrypoints/tools/invoker.js +7 -8
- package/dist/entrypoints/tools/mcp.js +9 -11
- package/dist/entrypoints/tools/toolkit.d.ts +6 -4
- package/dist/entrypoints/tools/toolkit.d.ts.map +1 -1
- package/dist/entrypoints/tools/toolkit.js +11 -18
- package/dist/entrypoints/tools.js +12 -13
- package/dist/index-125ks2ec.js +17 -0
- package/dist/index-1w69rj9f.js +224 -0
- package/dist/index-1zy31r3b.js +26 -0
- package/dist/index-3czc3ykr.js +53 -0
- package/dist/index-3d2c45jn.js +77 -0
- package/dist/index-57sbckhv.js +271 -0
- package/dist/index-64t6pheq.js +2872 -0
- package/dist/index-73wq9abg.js +367 -0
- package/dist/index-84tp547a.js +981 -0
- package/dist/index-9be3tf6r.js +196 -0
- package/dist/index-asnd4h2k.js +969 -0
- package/dist/index-b4c9dpzm.js +1210 -0
- package/dist/index-baba8ehy.js +53 -0
- package/dist/index-c24bj2r1.js +510 -0
- package/dist/index-cgjtj8zh.js +707 -0
- package/dist/index-d4at0q09.js +601 -0
- package/dist/index-de7b0kvz.js +215 -0
- package/dist/index-dm84tsd5.js +164 -0
- package/dist/index-fsw9wxk9.js +349 -0
- package/dist/index-gk6dq9ay.js +124 -0
- package/dist/index-gs0jw0hy.js +174 -0
- package/dist/index-hce3hbdg.js +121 -0
- package/dist/index-ht71v1ag.js +730 -0
- package/dist/index-mcv7b2n0.js +3545 -0
- package/dist/index-n9358ydy.js +63 -0
- package/dist/index-npfdymav.js +409 -0
- package/dist/index-p9cab61p.js +305 -0
- package/dist/index-q86qnzzf.js +231 -0
- package/dist/index-qcy8et93.js +698 -0
- package/dist/index-refgnzy0.js +158 -0
- package/dist/index-rkphknhx.js +40 -0
- package/dist/index-v0j22shs.js +3781 -0
- package/dist/index-vse7x1qt.js +460 -0
- package/dist/index-wdb5jhas.js +51 -0
- package/dist/index-ws0awmzq.js +47 -0
- package/dist/index-wsv11dhg.js +725 -0
- package/dist/index-xbb8ysmq.js +40 -0
- package/dist/index-y0mwkgkf.js +7812 -0
- package/dist/index-yhwx4fwk.js +295 -0
- package/dist/index-z72vazf5.js +502 -0
- package/dist/json-schema/dialect.d.ts.map +1 -1
- package/dist/json-schema/string-format.d.ts.map +1 -1
- package/dist/tools/agent-call-context.d.ts +23 -0
- package/dist/tools/agent-call-context.d.ts.map +1 -0
- package/dist/tools/agent.d.ts.map +1 -1
- package/dist/tools/schema/flatten.d.ts.map +1 -1
- package/dist/tools/toolkit.d.ts +8 -6
- package/dist/tools/toolkit.d.ts.map +1 -1
- package/llms/agent-runtime-ai-sdk.txt +2 -2
- package/llms/agent-runtime-anthropic.txt +8 -4
- package/llms/agent-runtime-openrouter.txt +14 -6
- package/llms/agent-runtime-sandbox.txt +20 -7
- package/llms/agent-runtime.2.txt +333 -224
- package/llms/agent-runtime.3.txt +225 -364
- package/llms/agent-runtime.4.txt +381 -158
- package/llms/agent-runtime.5.txt +157 -152
- package/llms/agent-runtime.6.txt +164 -0
- package/llms/agent-runtime.txt +50 -339
- package/llms/cli.2.txt +8 -5
- package/llms/contract.txt +1 -1
- package/llms/server.txt +10 -6
- package/llms/spend.txt +17 -1
- package/llms/stitchkit.2.txt +18 -11
- package/llms/stitchkit.txt +85 -85
- package/llms/tools-toolkit.txt +3 -6
- package/llms/tools.4.txt +3 -3
- package/llms/upgrading-0.128.0-0.135.0.txt +700 -0
- package/llms/upgrading.txt +1 -1
- package/llms-full.txt +317 -149
- package/llms.txt +13 -13
- package/package.json +1 -1
- package/dist/agent-runtime/admission-lanes.d.ts +0 -35
- package/dist/agent-runtime/admission-lanes.d.ts.map +0 -1
- package/dist/agent-runtime/ai-sdk-convert.d.ts +0 -15
- package/dist/agent-runtime/ai-sdk-convert.d.ts.map +0 -1
- package/dist/agent-runtime/ai-sdk.d.ts +0 -31
- package/dist/agent-runtime/ai-sdk.d.ts.map +0 -1
- package/dist/agent-runtime/anthropic-media.d.ts +0 -11
- package/dist/agent-runtime/anthropic-media.d.ts.map +0 -1
- package/dist/agent-runtime/anthropic-messages.d.ts +0 -24
- package/dist/agent-runtime/anthropic-messages.d.ts.map +0 -1
- package/dist/agent-runtime/anthropic-options.d.ts +0 -79
- package/dist/agent-runtime/anthropic-options.d.ts.map +0 -1
- package/dist/agent-runtime/anthropic-response.d.ts +0 -19
- package/dist/agent-runtime/anthropic-response.d.ts.map +0 -1
- package/dist/agent-runtime/anthropic-sse.d.ts.map +0 -1
- package/dist/agent-runtime/anthropic.d.ts.map +0 -1
- package/dist/agent-runtime/archive-projection.d.ts.map +0 -1
- package/dist/agent-runtime/archive-spill.d.ts.map +0 -1
- package/dist/agent-runtime/branch-contract.d.ts.map +0 -1
- package/dist/agent-runtime/branch-events.d.ts +0 -25
- package/dist/agent-runtime/branch-events.d.ts.map +0 -1
- package/dist/agent-runtime/branch-identities.d.ts +0 -75
- package/dist/agent-runtime/branch-identities.d.ts.map +0 -1
- package/dist/agent-runtime/branch-messages.d.ts +0 -21
- package/dist/agent-runtime/branch-messages.d.ts.map +0 -1
- package/dist/agent-runtime/branch-observations.d.ts.map +0 -1
- package/dist/agent-runtime/branch-provider.d.ts.map +0 -1
- package/dist/agent-runtime/branch-refusal.d.ts.map +0 -1
- package/dist/agent-runtime/branch-replay.d.ts +0 -456
- package/dist/agent-runtime/branch-replay.d.ts.map +0 -1
- package/dist/agent-runtime/branch-runtime-tools.d.ts.map +0 -1
- package/dist/agent-runtime/branch-source.d.ts +0 -33
- package/dist/agent-runtime/branch-source.d.ts.map +0 -1
- package/dist/agent-runtime/branch-transitions.d.ts.map +0 -1
- package/dist/agent-runtime/browser-control-contract.d.ts +0 -1364
- package/dist/agent-runtime/browser-control-contract.d.ts.map +0 -1
- package/dist/agent-runtime/browser-controller-view.d.ts +0 -44
- package/dist/agent-runtime/browser-controller-view.d.ts.map +0 -1
- package/dist/agent-runtime/browser-controller.d.ts +0 -53
- package/dist/agent-runtime/browser-controller.d.ts.map +0 -1
- package/dist/agent-runtime/child-blocking.d.ts.map +0 -1
- package/dist/agent-runtime/child-budget-policy.d.ts +0 -17
- package/dist/agent-runtime/child-budget-policy.d.ts.map +0 -1
- package/dist/agent-runtime/child-tools.d.ts +0 -144
- package/dist/agent-runtime/child-tools.d.ts.map +0 -1
- package/dist/agent-runtime/children-contract.d.ts +0 -236
- package/dist/agent-runtime/children-contract.d.ts.map +0 -1
- package/dist/agent-runtime/children-control.d.ts.map +0 -1
- package/dist/agent-runtime/children-spawn.d.ts.map +0 -1
- package/dist/agent-runtime/children-state.d.ts.map +0 -1
- package/dist/agent-runtime/children-usage.d.ts.map +0 -1
- package/dist/agent-runtime/children.d.ts.map +0 -1
- package/dist/agent-runtime/coding-discovery.d.ts +0 -25
- package/dist/agent-runtime/coding-discovery.d.ts.map +0 -1
- package/dist/agent-runtime/coding-sandbox.d.ts +0 -8
- package/dist/agent-runtime/coding-sandbox.d.ts.map +0 -1
- package/dist/agent-runtime/coding-search-automaton.d.ts.map +0 -1
- package/dist/agent-runtime/coding-search-case-fold.d.ts.map +0 -1
- package/dist/agent-runtime/coding-search-class-ranges.d.ts.map +0 -1
- package/dist/agent-runtime/coding-search-contract.d.ts.map +0 -1
- package/dist/agent-runtime/coding-search-limits.d.ts.map +0 -1
- package/dist/agent-runtime/coding-search-matcher.d.ts.map +0 -1
- package/dist/agent-runtime/coding-search-output.d.ts.map +0 -1
- package/dist/agent-runtime/coding-search-regex-syntax.d.ts.map +0 -1
- package/dist/agent-runtime/coding-search-unit-classes.d.ts.map +0 -1
- package/dist/agent-runtime/coding-shell-process.d.ts +0 -36
- package/dist/agent-runtime/coding-shell-process.d.ts.map +0 -1
- package/dist/agent-runtime/coding-tool-contract.d.ts +0 -261
- package/dist/agent-runtime/coding-tool-contract.d.ts.map +0 -1
- package/dist/agent-runtime/coding-tool-files.d.ts.map +0 -1
- package/dist/agent-runtime/coding-tool-listing.d.ts.map +0 -1
- package/dist/agent-runtime/coding-tool-paths.d.ts +0 -53
- package/dist/agent-runtime/coding-tool-paths.d.ts.map +0 -1
- package/dist/agent-runtime/coding-tool-refusals.d.ts.map +0 -1
- package/dist/agent-runtime/coding-tool-search-patch.d.ts.map +0 -1
- package/dist/agent-runtime/coding-tool-search.d.ts +0 -113
- package/dist/agent-runtime/coding-tool-search.d.ts.map +0 -1
- package/dist/agent-runtime/coding-tool-shell.d.ts.map +0 -1
- package/dist/agent-runtime/coding-tool-utf8.d.ts.map +0 -1
- package/dist/agent-runtime/coding-tools.d.ts.map +0 -1
- package/dist/agent-runtime/compaction.d.ts +0 -103
- package/dist/agent-runtime/compaction.d.ts.map +0 -1
- package/dist/agent-runtime/companion-host.d.ts +0 -38
- package/dist/agent-runtime/companion-host.d.ts.map +0 -1
- package/dist/agent-runtime/contained-scan-budget.d.ts.map +0 -1
- package/dist/agent-runtime/contained-scan-contract.d.ts.map +0 -1
- package/dist/agent-runtime/contained-scan.d.ts +0 -56
- package/dist/agent-runtime/contained-scan.d.ts.map +0 -1
- package/dist/agent-runtime/control-interaction-schema.d.ts.map +0 -1
- package/dist/agent-runtime/control-schema.d.ts +0 -1378
- package/dist/agent-runtime/control-schema.d.ts.map +0 -1
- package/dist/agent-runtime/control-view.d.ts +0 -64
- package/dist/agent-runtime/control-view.d.ts.map +0 -1
- package/dist/agent-runtime/conversations.d.ts.map +0 -1
- package/dist/agent-runtime/coordinator.d.ts.map +0 -1
- package/dist/agent-runtime/deferred-tool-search.d.ts +0 -9
- package/dist/agent-runtime/deferred-tool-search.d.ts.map +0 -1
- package/dist/agent-runtime/deferred-tool-selection.d.ts +0 -32
- package/dist/agent-runtime/deferred-tool-selection.d.ts.map +0 -1
- package/dist/agent-runtime/deferred-tools-internal.d.ts +0 -9
- package/dist/agent-runtime/deferred-tools-internal.d.ts.map +0 -1
- package/dist/agent-runtime/deferred-tools.d.ts +0 -4
- package/dist/agent-runtime/deferred-tools.d.ts.map +0 -1
- package/dist/agent-runtime/event-search-postgres.d.ts.map +0 -1
- package/dist/agent-runtime/event-search-terms.d.ts.map +0 -1
- package/dist/agent-runtime/event-search-tools.d.ts +0 -190
- package/dist/agent-runtime/event-search-tools.d.ts.map +0 -1
- package/dist/agent-runtime/event-search.d.ts.map +0 -1
- package/dist/agent-runtime/fault-bench.d.ts.map +0 -1
- package/dist/agent-runtime/harness-contract.d.ts +0 -206
- package/dist/agent-runtime/harness-contract.d.ts.map +0 -1
- package/dist/agent-runtime/harness-control.d.ts +0 -34
- package/dist/agent-runtime/harness-control.d.ts.map +0 -1
- package/dist/agent-runtime/harness-file-resources.d.ts +0 -33
- package/dist/agent-runtime/harness-file-resources.d.ts.map +0 -1
- package/dist/agent-runtime/harness-realtime.d.ts +0 -53
- package/dist/agent-runtime/harness-realtime.d.ts.map +0 -1
- package/dist/agent-runtime/harness-resources.d.ts.map +0 -1
- package/dist/agent-runtime/harness.d.ts +0 -15
- package/dist/agent-runtime/harness.d.ts.map +0 -1
- package/dist/agent-runtime/history.d.ts +0 -93
- package/dist/agent-runtime/history.d.ts.map +0 -1
- package/dist/agent-runtime/injection.d.ts +0 -28
- package/dist/agent-runtime/injection.d.ts.map +0 -1
- package/dist/agent-runtime/invocation-attempt.d.ts +0 -32
- package/dist/agent-runtime/invocation-attempt.d.ts.map +0 -1
- package/dist/agent-runtime/invocation-failure.d.ts.map +0 -1
- package/dist/agent-runtime/invocation-payload.d.ts +0 -38
- package/dist/agent-runtime/invocation-payload.d.ts.map +0 -1
- package/dist/agent-runtime/invocation-read.d.ts +0 -134
- package/dist/agent-runtime/invocation-read.d.ts.map +0 -1
- package/dist/agent-runtime/invocation-spend.d.ts +0 -9
- package/dist/agent-runtime/invocation-spend.d.ts.map +0 -1
- package/dist/agent-runtime/invocation-stream.d.ts +0 -20
- package/dist/agent-runtime/invocation-stream.d.ts.map +0 -1
- package/dist/agent-runtime/invocations.d.ts +0 -63
- package/dist/agent-runtime/invocations.d.ts.map +0 -1
- package/dist/agent-runtime/managed-tools.d.ts +0 -20
- package/dist/agent-runtime/managed-tools.d.ts.map +0 -1
- package/dist/agent-runtime/models-driver-step.d.ts +0 -212
- package/dist/agent-runtime/models-driver-step.d.ts.map +0 -1
- package/dist/agent-runtime/models-driver-telemetry.d.ts.map +0 -1
- package/dist/agent-runtime/models-driver.d.ts +0 -235
- package/dist/agent-runtime/models-driver.d.ts.map +0 -1
- package/dist/agent-runtime/models.d.ts.map +0 -1
- package/dist/agent-runtime/observability.d.ts +0 -579
- package/dist/agent-runtime/observability.d.ts.map +0 -1
- package/dist/agent-runtime/openai-messages.d.ts.map +0 -1
- package/dist/agent-runtime/openai-options.d.ts +0 -91
- package/dist/agent-runtime/openai-options.d.ts.map +0 -1
- package/dist/agent-runtime/openai-response.d.ts +0 -77
- package/dist/agent-runtime/openai-response.d.ts.map +0 -1
- package/dist/agent-runtime/openai-sse-state.d.ts.map +0 -1
- package/dist/agent-runtime/openai-sse.d.ts.map +0 -1
- package/dist/agent-runtime/openai.d.ts.map +0 -1
- package/dist/agent-runtime/openrouter-admission.d.ts +0 -84
- package/dist/agent-runtime/openrouter-admission.d.ts.map +0 -1
- package/dist/agent-runtime/openrouter-benchmarks.d.ts.map +0 -1
- package/dist/agent-runtime/openrouter-catalog-cache.d.ts.map +0 -1
- package/dist/agent-runtime/openrouter-catalog-query.d.ts +0 -57
- package/dist/agent-runtime/openrouter-catalog-query.d.ts.map +0 -1
- package/dist/agent-runtime/openrouter-catalog.d.ts +0 -258
- package/dist/agent-runtime/openrouter-catalog.d.ts.map +0 -1
- package/dist/agent-runtime/openrouter-models.d.ts +0 -203
- package/dist/agent-runtime/openrouter-models.d.ts.map +0 -1
- package/dist/agent-runtime/openrouter-options.d.ts +0 -136
- package/dist/agent-runtime/openrouter-options.d.ts.map +0 -1
- package/dist/agent-runtime/openrouter-response.d.ts +0 -22
- package/dist/agent-runtime/openrouter-response.d.ts.map +0 -1
- package/dist/agent-runtime/openrouter-route.d.ts.map +0 -1
- package/dist/agent-runtime/openrouter-spend.d.ts +0 -24
- package/dist/agent-runtime/openrouter-spend.d.ts.map +0 -1
- package/dist/agent-runtime/openrouter.d.ts +0 -47
- package/dist/agent-runtime/openrouter.d.ts.map +0 -1
- package/dist/agent-runtime/owned-provider-stream.d.ts.map +0 -1
- package/dist/agent-runtime/postgres-schema.d.ts.map +0 -1
- package/dist/agent-runtime/postgres-transactions.d.ts +0 -54
- package/dist/agent-runtime/postgres-transactions.d.ts.map +0 -1
- package/dist/agent-runtime/postgres.d.ts +0 -72
- package/dist/agent-runtime/postgres.d.ts.map +0 -1
- package/dist/agent-runtime/projections.d.ts +0 -109
- package/dist/agent-runtime/projections.d.ts.map +0 -1
- package/dist/agent-runtime/provider-cache.d.ts +0 -30
- package/dist/agent-runtime/provider-cache.d.ts.map +0 -1
- package/dist/agent-runtime/provider-content.d.ts.map +0 -1
- package/dist/agent-runtime/provider-failure.d.ts +0 -95
- package/dist/agent-runtime/provider-failure.d.ts.map +0 -1
- package/dist/agent-runtime/provider-history.d.ts +0 -13
- package/dist/agent-runtime/provider-history.d.ts.map +0 -1
- package/dist/agent-runtime/provider-http.d.ts +0 -68
- package/dist/agent-runtime/provider-http.d.ts.map +0 -1
- package/dist/agent-runtime/provider-journal.d.ts.map +0 -1
- package/dist/agent-runtime/provider-json-schema-strip.d.ts.map +0 -1
- package/dist/agent-runtime/provider-json-schema.d.ts +0 -28
- package/dist/agent-runtime/provider-json-schema.d.ts.map +0 -1
- package/dist/agent-runtime/provider-media.d.ts +0 -49
- package/dist/agent-runtime/provider-media.d.ts.map +0 -1
- package/dist/agent-runtime/provider-openai-chat-helpers.d.ts +0 -27
- package/dist/agent-runtime/provider-openai-chat-helpers.d.ts.map +0 -1
- package/dist/agent-runtime/provider-openai-chat-sse.d.ts +0 -25
- package/dist/agent-runtime/provider-openai-chat-sse.d.ts.map +0 -1
- package/dist/agent-runtime/provider-openai-chat.d.ts +0 -27
- package/dist/agent-runtime/provider-openai-chat.d.ts.map +0 -1
- package/dist/agent-runtime/provider-origin.d.ts +0 -10
- package/dist/agent-runtime/provider-origin.d.ts.map +0 -1
- package/dist/agent-runtime/provider-sse.d.ts.map +0 -1
- package/dist/agent-runtime/provider-stream-parts.d.ts +0 -5
- package/dist/agent-runtime/provider-stream-parts.d.ts.map +0 -1
- package/dist/agent-runtime/provider-stream-segments.d.ts +0 -63
- package/dist/agent-runtime/provider-stream-segments.d.ts.map +0 -1
- package/dist/agent-runtime/provider-usage.d.ts +0 -24
- package/dist/agent-runtime/provider-usage.d.ts.map +0 -1
- package/dist/agent-runtime/purge.d.ts.map +0 -1
- package/dist/agent-runtime/react.d.ts.map +0 -1
- package/dist/agent-runtime/retry-policy.d.ts +0 -49
- package/dist/agent-runtime/retry-policy.d.ts.map +0 -1
- package/dist/agent-runtime/run-acquisition.d.ts +0 -24
- package/dist/agent-runtime/run-acquisition.d.ts.map +0 -1
- package/dist/agent-runtime/run-approval.d.ts +0 -82
- package/dist/agent-runtime/run-approval.d.ts.map +0 -1
- package/dist/agent-runtime/run-assertions.d.ts +0 -63
- package/dist/agent-runtime/run-assertions.d.ts.map +0 -1
- package/dist/agent-runtime/run-complete-retry.d.ts +0 -24
- package/dist/agent-runtime/run-complete-retry.d.ts.map +0 -1
- package/dist/agent-runtime/run-complete-stream.d.ts +0 -9
- package/dist/agent-runtime/run-complete-stream.d.ts.map +0 -1
- package/dist/agent-runtime/run-complete-tools.d.ts +0 -21
- package/dist/agent-runtime/run-complete-tools.d.ts.map +0 -1
- package/dist/agent-runtime/run-complete-types.d.ts +0 -168
- package/dist/agent-runtime/run-complete-types.d.ts.map +0 -1
- package/dist/agent-runtime/run-complete.d.ts +0 -25
- package/dist/agent-runtime/run-complete.d.ts.map +0 -1
- package/dist/agent-runtime/run-driver-compose.d.ts +0 -21
- package/dist/agent-runtime/run-driver-compose.d.ts.map +0 -1
- package/dist/agent-runtime/run-execution-state.d.ts +0 -178
- package/dist/agent-runtime/run-execution-state.d.ts.map +0 -1
- package/dist/agent-runtime/run-execution.d.ts +0 -22
- package/dist/agent-runtime/run-execution.d.ts.map +0 -1
- package/dist/agent-runtime/run-failure.d.ts +0 -21
- package/dist/agent-runtime/run-failure.d.ts.map +0 -1
- package/dist/agent-runtime/run-history-parts.d.ts +0 -14
- package/dist/agent-runtime/run-history-parts.d.ts.map +0 -1
- package/dist/agent-runtime/run-loop-events.d.ts +0 -126
- package/dist/agent-runtime/run-loop-events.d.ts.map +0 -1
- package/dist/agent-runtime/run-model-attempts.d.ts +0 -6
- package/dist/agent-runtime/run-model-attempts.d.ts.map +0 -1
- package/dist/agent-runtime/run-model-messages.d.ts +0 -9
- package/dist/agent-runtime/run-model-messages.d.ts.map +0 -1
- package/dist/agent-runtime/run-model-step.d.ts +0 -43
- package/dist/agent-runtime/run-model-step.d.ts.map +0 -1
- package/dist/agent-runtime/run-model-stream.d.ts +0 -27
- package/dist/agent-runtime/run-model-stream.d.ts.map +0 -1
- package/dist/agent-runtime/run-operation-lifecycle.d.ts +0 -32
- package/dist/agent-runtime/run-operation-lifecycle.d.ts.map +0 -1
- package/dist/agent-runtime/run-prompt-history.d.ts +0 -53
- package/dist/agent-runtime/run-prompt-history.d.ts.map +0 -1
- package/dist/agent-runtime/run-provider-ledger.d.ts +0 -32
- package/dist/agent-runtime/run-provider-ledger.d.ts.map +0 -1
- package/dist/agent-runtime/run-step-barriers.d.ts +0 -114
- package/dist/agent-runtime/run-step-barriers.d.ts.map +0 -1
- package/dist/agent-runtime/run-step-helpers.d.ts +0 -49
- package/dist/agent-runtime/run-step-helpers.d.ts.map +0 -1
- package/dist/agent-runtime/run-step-prepare.d.ts +0 -34
- package/dist/agent-runtime/run-step-prepare.d.ts.map +0 -1
- package/dist/agent-runtime/run-step-spend.d.ts +0 -394
- package/dist/agent-runtime/run-step-spend.d.ts.map +0 -1
- package/dist/agent-runtime/run-stream-parts.d.ts +0 -34
- package/dist/agent-runtime/run-stream-parts.d.ts.map +0 -1
- package/dist/agent-runtime/run-stream-recorded.d.ts +0 -8
- package/dist/agent-runtime/run-stream-recorded.d.ts.map +0 -1
- package/dist/agent-runtime/run-stream-step-text.d.ts +0 -29
- package/dist/agent-runtime/run-stream-step-text.d.ts.map +0 -1
- package/dist/agent-runtime/run-terminal.d.ts +0 -11
- package/dist/agent-runtime/run-terminal.d.ts.map +0 -1
- package/dist/agent-runtime/run-tool-approval-flow.d.ts +0 -36
- package/dist/agent-runtime/run-tool-approval-flow.d.ts.map +0 -1
- package/dist/agent-runtime/run-tool-approval-records.d.ts +0 -24
- package/dist/agent-runtime/run-tool-approval-records.d.ts.map +0 -1
- package/dist/agent-runtime/run-tool-call.d.ts +0 -73
- package/dist/agent-runtime/run-tool-call.d.ts.map +0 -1
- package/dist/agent-runtime/run-tool-errors.d.ts.map +0 -1
- package/dist/agent-runtime/run-tool-executor.d.ts +0 -34
- package/dist/agent-runtime/run-tool-executor.d.ts.map +0 -1
- package/dist/agent-runtime/run-tool-progress.d.ts +0 -21
- package/dist/agent-runtime/run-tool-progress.d.ts.map +0 -1
- package/dist/agent-runtime/run-turn-preparation.d.ts +0 -25
- package/dist/agent-runtime/run-turn-preparation.d.ts.map +0 -1
- package/dist/agent-runtime/run-unacquired.d.ts +0 -19
- package/dist/agent-runtime/run-unacquired.d.ts.map +0 -1
- package/dist/agent-runtime/runtime-admission-gate.d.ts.map +0 -1
- package/dist/agent-runtime/runtime-control.d.ts +0 -9
- package/dist/agent-runtime/runtime-control.d.ts.map +0 -1
- package/dist/agent-runtime/runtime-recovery.d.ts +0 -10
- package/dist/agent-runtime/runtime-recovery.d.ts.map +0 -1
- package/dist/agent-runtime/runtime-state.d.ts +0 -36
- package/dist/agent-runtime/runtime-state.d.ts.map +0 -1
- package/dist/agent-runtime/runtime-submit.d.ts +0 -5
- package/dist/agent-runtime/runtime-submit.d.ts.map +0 -1
- package/dist/agent-runtime/runtime.d.ts +0 -352
- package/dist/agent-runtime/runtime.d.ts.map +0 -1
- package/dist/agent-runtime/sandbox-binding.d.ts.map +0 -1
- package/dist/agent-runtime/sandbox-broker.d.ts.map +0 -1
- package/dist/agent-runtime/sandbox-bubblewrap-args.d.ts.map +0 -1
- package/dist/agent-runtime/sandbox-bubblewrap-storage.d.ts.map +0 -1
- package/dist/agent-runtime/sandbox-bubblewrap.d.ts.map +0 -1
- package/dist/agent-runtime/sandbox-coding-adapter.d.ts.map +0 -1
- package/dist/agent-runtime/sandbox-contract.d.ts.map +0 -1
- package/dist/agent-runtime/sandbox-process-linux.d.ts.map +0 -1
- package/dist/agent-runtime/sandbox-process-macos.d.ts.map +0 -1
- package/dist/agent-runtime/sandbox-process-owner.d.ts +0 -19
- package/dist/agent-runtime/sandbox-process-owner.d.ts.map +0 -1
- package/dist/agent-runtime/sandbox-process-spec.d.ts.map +0 -1
- package/dist/agent-runtime/sandbox-process-wrapper.d.ts.map +0 -1
- package/dist/agent-runtime/sandbox-process.d.ts +0 -8
- package/dist/agent-runtime/sandbox-process.d.ts.map +0 -1
- package/dist/agent-runtime/sandbox-session.d.ts.map +0 -1
- package/dist/agent-runtime/sandbox.d.ts +0 -125
- package/dist/agent-runtime/sandbox.d.ts.map +0 -1
- package/dist/agent-runtime/schedule-contract.d.ts.map +0 -1
- package/dist/agent-runtime/schedule-dispatch.d.ts.map +0 -1
- package/dist/agent-runtime/schedule-records.d.ts.map +0 -1
- package/dist/agent-runtime/schedule-tools.d.ts +0 -76
- package/dist/agent-runtime/schedule-tools.d.ts.map +0 -1
- package/dist/agent-runtime/schedules.d.ts.map +0 -1
- package/dist/agent-runtime/spill.d.ts +0 -26
- package/dist/agent-runtime/spill.d.ts.map +0 -1
- package/dist/agent-runtime/sql-events.d.ts.map +0 -1
- package/dist/agent-runtime/sql-history.d.ts.map +0 -1
- package/dist/agent-runtime/sql-ledger.d.ts.map +0 -1
- package/dist/agent-runtime/sql-purge.d.ts.map +0 -1
- package/dist/agent-runtime/sql-reads.d.ts.map +0 -1
- package/dist/agent-runtime/sql-rows.d.ts.map +0 -1
- package/dist/agent-runtime/sql-session.d.ts.map +0 -1
- package/dist/agent-runtime/sqlite-bun.d.ts.map +0 -1
- package/dist/agent-runtime/sqlite-node.d.ts.map +0 -1
- package/dist/agent-runtime/sqlite-purge.d.ts +0 -6
- package/dist/agent-runtime/sqlite-purge.d.ts.map +0 -1
- package/dist/agent-runtime/sqlite-schema.d.ts +0 -7
- package/dist/agent-runtime/sqlite-schema.d.ts.map +0 -1
- package/dist/agent-runtime/sqlite-transactions.d.ts +0 -29
- package/dist/agent-runtime/sqlite-transactions.d.ts.map +0 -1
- package/dist/agent-runtime/sqlite.d.ts +0 -33
- package/dist/agent-runtime/sqlite.d.ts.map +0 -1
- package/dist/agent-runtime/state-slots.d.ts +0 -48
- package/dist/agent-runtime/state-slots.d.ts.map +0 -1
- package/dist/agent-runtime/state-tools.d.ts +0 -117
- package/dist/agent-runtime/state-tools.d.ts.map +0 -1
- package/dist/agent-runtime/store-archive.d.ts.map +0 -1
- package/dist/agent-runtime/store-branch.d.ts.map +0 -1
- package/dist/agent-runtime/store-capabilities.d.ts.map +0 -1
- package/dist/agent-runtime/store-conformance-branch.d.ts +0 -7
- package/dist/agent-runtime/store-conformance-branch.d.ts.map +0 -1
- package/dist/agent-runtime/store-conformance-capabilities.d.ts +0 -6
- package/dist/agent-runtime/store-conformance-capabilities.d.ts.map +0 -1
- package/dist/agent-runtime/store-conformance-event-once.d.ts +0 -12
- package/dist/agent-runtime/store-conformance-event-once.d.ts.map +0 -1
- package/dist/agent-runtime/store-conformance-lifecycle.d.ts +0 -454
- package/dist/agent-runtime/store-conformance-lifecycle.d.ts.map +0 -1
- package/dist/agent-runtime/store-conformance-ordering.d.ts +0 -18
- package/dist/agent-runtime/store-conformance-ordering.d.ts.map +0 -1
- package/dist/agent-runtime/store-conformance-seed.d.ts +0 -8
- package/dist/agent-runtime/store-conformance-seed.d.ts.map +0 -1
- package/dist/agent-runtime/store-conformance-support.d.ts +0 -140
- package/dist/agent-runtime/store-conformance-support.d.ts.map +0 -1
- package/dist/agent-runtime/store-conformance-terminal.d.ts +0 -12
- package/dist/agent-runtime/store-conformance-terminal.d.ts.map +0 -1
- package/dist/agent-runtime/store-conformance.d.ts +0 -71
- package/dist/agent-runtime/store-conformance.d.ts.map +0 -1
- package/dist/agent-runtime/store-create.d.ts.map +0 -1
- package/dist/agent-runtime/store-driver-contract.d.ts +0 -1016
- package/dist/agent-runtime/store-driver-contract.d.ts.map +0 -1
- package/dist/agent-runtime/store-event-once.d.ts +0 -37
- package/dist/agent-runtime/store-event-once.d.ts.map +0 -1
- package/dist/agent-runtime/store-events.d.ts +0 -2231
- package/dist/agent-runtime/store-events.d.ts.map +0 -1
- package/dist/agent-runtime/store-memory-archive.d.ts.map +0 -1
- package/dist/agent-runtime/store-memory-events.d.ts +0 -7
- package/dist/agent-runtime/store-memory-events.d.ts.map +0 -1
- package/dist/agent-runtime/store-memory.d.ts.map +0 -1
- package/dist/agent-runtime/store-migrations/v1-to-v2.d.ts +0 -6
- package/dist/agent-runtime/store-migrations/v1-to-v2.d.ts.map +0 -1
- package/dist/agent-runtime/store-migrations/v2-to-v3.d.ts +0 -14
- package/dist/agent-runtime/store-migrations/v2-to-v3.d.ts.map +0 -1
- package/dist/agent-runtime/store-migrations/v3-to-v4.d.ts +0 -4
- package/dist/agent-runtime/store-migrations/v3-to-v4.d.ts.map +0 -1
- package/dist/agent-runtime/store-mutate.d.ts.map +0 -1
- package/dist/agent-runtime/store-purge.d.ts.map +0 -1
- package/dist/agent-runtime/store-reads.d.ts +0 -29
- package/dist/agent-runtime/store-reads.d.ts.map +0 -1
- package/dist/agent-runtime/store-reduce-history.d.ts +0 -10
- package/dist/agent-runtime/store-reduce-history.d.ts.map +0 -1
- package/dist/agent-runtime/store-reduce-run.d.ts +0 -14
- package/dist/agent-runtime/store-reduce-run.d.ts.map +0 -1
- package/dist/agent-runtime/store-reduce-shared.d.ts +0 -78
- package/dist/agent-runtime/store-reduce-shared.d.ts.map +0 -1
- package/dist/agent-runtime/store-reduce-terminal.d.ts +0 -6
- package/dist/agent-runtime/store-reduce-terminal.d.ts.map +0 -1
- package/dist/agent-runtime/store-reducer.d.ts +0 -24
- package/dist/agent-runtime/store-reducer.d.ts.map +0 -1
- package/dist/agent-runtime/store-replay.d.ts.map +0 -1
- package/dist/agent-runtime/store-snapshot.d.ts +0 -19
- package/dist/agent-runtime/store-snapshot.d.ts.map +0 -1
- package/dist/agent-runtime/store.d.ts +0 -3032
- package/dist/agent-runtime/store.d.ts.map +0 -1
- package/dist/agent-runtime/testing.d.ts +0 -46
- package/dist/agent-runtime/testing.d.ts.map +0 -1
- package/dist/agent-runtime/workspace-glob.d.ts.map +0 -1
- package/dist/index-18pf56dq.js +0 -409
- package/dist/index-1gmgwfn3.js +0 -439
- package/dist/index-23wn8sgf.js +0 -47
- package/dist/index-27hck3z2.js +0 -307
- package/dist/index-27srek2g.js +0 -3781
- package/dist/index-360j58vb.js +0 -63
- package/dist/index-67pnt4bh.js +0 -174
- package/dist/index-6kpwkpgx.js +0 -415
- package/dist/index-6xw1wf4m.js +0 -969
- package/dist/index-6yb4stq3.js +0 -224
- package/dist/index-76yhxa41.js +0 -725
- package/dist/index-79vqbjcz.js +0 -26
- package/dist/index-a84wj6y8.js +0 -510
- package/dist/index-b23s6e2c.js +0 -158
- package/dist/index-cb4nnvfr.js +0 -40
- package/dist/index-ek9w11r0.js +0 -40
- package/dist/index-er483f3w.js +0 -601
- package/dist/index-fjac2w5e.js +0 -3543
- package/dist/index-ga6avd48.js +0 -53
- package/dist/index-hy4653g4.js +0 -345
- package/dist/index-j903yhp4.js +0 -121
- package/dist/index-jzdbkanz.js +0 -215
- package/dist/index-k9g061ma.js +0 -164
- package/dist/index-krekhmp7.js +0 -707
- package/dist/index-ky79wwgs.js +0 -2872
- package/dist/index-mgr0mdqp.js +0 -271
- package/dist/index-mx2gya05.js +0 -465
- package/dist/index-nfeafbzh.js +0 -7379
- package/dist/index-ngwf1s3c.js +0 -51
- package/dist/index-pjjh91vw.js +0 -53
- package/dist/index-qv5v6w9c.js +0 -696
- package/dist/index-rj32hkkp.js +0 -305
- package/dist/index-t5zp1jjj.js +0 -77
- package/dist/index-v5hmyef8.js +0 -951
- package/dist/index-vv0hxrmy.js +0 -295
- package/dist/index-vxm0ya3f.js +0 -707
- package/dist/index-xtxxt87z.js +0 -349
- package/dist/index-zag9sjpd.js +0 -1210
- package/dist/index-zk839vzf.js +0 -231
- package/llms/upgrading-0.128.0-0.134.0.txt +0 -639
- /package/dist/agent-runtime/{control-interaction-schema.d.ts → browser/control-interaction-schema.d.ts} +0 -0
- /package/dist/agent-runtime/{react.d.ts → browser/react.d.ts} +0 -0
- /package/dist/agent-runtime/{coding-search-automaton.d.ts → coding/coding-search-automaton.d.ts} +0 -0
- /package/dist/agent-runtime/{coding-search-case-fold.d.ts → coding/coding-search-case-fold.d.ts} +0 -0
- /package/dist/agent-runtime/{coding-search-class-ranges.d.ts → coding/coding-search-class-ranges.d.ts} +0 -0
- /package/dist/agent-runtime/{coding-search-contract.d.ts → coding/coding-search-contract.d.ts} +0 -0
- /package/dist/agent-runtime/{coding-search-limits.d.ts → coding/coding-search-limits.d.ts} +0 -0
- /package/dist/agent-runtime/{coding-search-matcher.d.ts → coding/coding-search-matcher.d.ts} +0 -0
- /package/dist/agent-runtime/{coding-search-output.d.ts → coding/coding-search-output.d.ts} +0 -0
- /package/dist/agent-runtime/{coding-search-regex-syntax.d.ts → coding/coding-search-regex-syntax.d.ts} +0 -0
- /package/dist/agent-runtime/{coding-search-unit-classes.d.ts → coding/coding-search-unit-classes.d.ts} +0 -0
- /package/dist/agent-runtime/{coding-tool-files.d.ts → coding/coding-tool-files.d.ts} +0 -0
- /package/dist/agent-runtime/{coding-tool-listing.d.ts → coding/coding-tool-listing.d.ts} +0 -0
- /package/dist/agent-runtime/{coding-tool-refusals.d.ts → coding/coding-tool-refusals.d.ts} +0 -0
- /package/dist/agent-runtime/{coding-tool-search-patch.d.ts → coding/coding-tool-search-patch.d.ts} +0 -0
- /package/dist/agent-runtime/{coding-tool-shell.d.ts → coding/coding-tool-shell.d.ts} +0 -0
- /package/dist/agent-runtime/{coding-tool-utf8.d.ts → coding/coding-tool-utf8.d.ts} +0 -0
- /package/dist/agent-runtime/{coding-tools.d.ts → coding/coding-tools.d.ts} +0 -0
- /package/dist/agent-runtime/{contained-scan-budget.d.ts → coding/contained-scan-budget.d.ts} +0 -0
- /package/dist/agent-runtime/{contained-scan-contract.d.ts → coding/contained-scan-contract.d.ts} +0 -0
- /package/dist/agent-runtime/{workspace-glob.d.ts → coding/workspace-glob.d.ts} +0 -0
- /package/dist/agent-runtime/{harness-resources.d.ts → harness/harness-resources.d.ts} +0 -0
- /package/dist/agent-runtime/{coordinator.d.ts → loop/coordinator.d.ts} +0 -0
- /package/dist/agent-runtime/{invocation-failure.d.ts → loop/invocation-failure.d.ts} +0 -0
- /package/dist/agent-runtime/{owned-provider-stream.d.ts → loop/owned-provider-stream.d.ts} +0 -0
- /package/dist/agent-runtime/{run-tool-errors.d.ts → loop/run-tool-errors.d.ts} +0 -0
- /package/dist/agent-runtime/{runtime-admission-gate.d.ts → loop/runtime-admission-gate.d.ts} +0 -0
- /package/dist/agent-runtime/{anthropic-sse.d.ts → providers/anthropic-sse.d.ts} +0 -0
- /package/dist/agent-runtime/{anthropic.d.ts → providers/anthropic.d.ts} +0 -0
- /package/dist/agent-runtime/{models-driver-telemetry.d.ts → providers/models-driver-telemetry.d.ts} +0 -0
- /package/dist/agent-runtime/{models.d.ts → providers/models.d.ts} +0 -0
- /package/dist/agent-runtime/{openai-messages.d.ts → providers/openai-messages.d.ts} +0 -0
- /package/dist/agent-runtime/{openai-sse-state.d.ts → providers/openai-sse-state.d.ts} +0 -0
- /package/dist/agent-runtime/{openai-sse.d.ts → providers/openai-sse.d.ts} +0 -0
- /package/dist/agent-runtime/{openai.d.ts → providers/openai.d.ts} +0 -0
- /package/dist/agent-runtime/{openrouter-benchmarks.d.ts → providers/openrouter-benchmarks.d.ts} +0 -0
- /package/dist/agent-runtime/{openrouter-catalog-cache.d.ts → providers/openrouter-catalog-cache.d.ts} +0 -0
- /package/dist/agent-runtime/{openrouter-route.d.ts → providers/openrouter-route.d.ts} +0 -0
- /package/dist/agent-runtime/{provider-content.d.ts → providers/provider-content.d.ts} +0 -0
- /package/dist/agent-runtime/{provider-journal.d.ts → providers/provider-journal.d.ts} +0 -0
- /package/dist/agent-runtime/{provider-json-schema-strip.d.ts → providers/provider-json-schema-strip.d.ts} +0 -0
- /package/dist/agent-runtime/{provider-sse.d.ts → providers/provider-sse.d.ts} +0 -0
- /package/dist/agent-runtime/{sandbox-binding.d.ts → sandbox/sandbox-binding.d.ts} +0 -0
- /package/dist/agent-runtime/{sandbox-broker.d.ts → sandbox/sandbox-broker.d.ts} +0 -0
- /package/dist/agent-runtime/{sandbox-bubblewrap-args.d.ts → sandbox/sandbox-bubblewrap-args.d.ts} +0 -0
- /package/dist/agent-runtime/{sandbox-bubblewrap-storage.d.ts → sandbox/sandbox-bubblewrap-storage.d.ts} +0 -0
- /package/dist/agent-runtime/{sandbox-bubblewrap.d.ts → sandbox/sandbox-bubblewrap.d.ts} +0 -0
- /package/dist/agent-runtime/{sandbox-coding-adapter.d.ts → sandbox/sandbox-coding-adapter.d.ts} +0 -0
- /package/dist/agent-runtime/{sandbox-contract.d.ts → sandbox/sandbox-contract.d.ts} +0 -0
- /package/dist/agent-runtime/{sandbox-process-linux.d.ts → sandbox/sandbox-process-linux.d.ts} +0 -0
- /package/dist/agent-runtime/{sandbox-process-macos.d.ts → sandbox/sandbox-process-macos.d.ts} +0 -0
- /package/dist/agent-runtime/{sandbox-process-spec.d.ts → sandbox/sandbox-process-spec.d.ts} +0 -0
- /package/dist/agent-runtime/{sandbox-process-wrapper.d.ts → sandbox/sandbox-process-wrapper.d.ts} +0 -0
- /package/dist/agent-runtime/{sandbox-session.d.ts → sandbox/sandbox-session.d.ts} +0 -0
- /package/dist/agent-runtime/{archive-projection.d.ts → stores/archive-projection.d.ts} +0 -0
- /package/dist/agent-runtime/{archive-spill.d.ts → stores/archive-spill.d.ts} +0 -0
- /package/dist/agent-runtime/{branch-contract.d.ts → stores/branch-contract.d.ts} +0 -0
- /package/dist/agent-runtime/{branch-observations.d.ts → stores/branch-observations.d.ts} +0 -0
- /package/dist/agent-runtime/{branch-provider.d.ts → stores/branch-provider.d.ts} +0 -0
- /package/dist/agent-runtime/{branch-refusal.d.ts → stores/branch-refusal.d.ts} +0 -0
- /package/dist/agent-runtime/{branch-runtime-tools.d.ts → stores/branch-runtime-tools.d.ts} +0 -0
- /package/dist/agent-runtime/{branch-transitions.d.ts → stores/branch-transitions.d.ts} +0 -0
- /package/dist/agent-runtime/{child-blocking.d.ts → stores/child-blocking.d.ts} +0 -0
- /package/dist/agent-runtime/{children-control.d.ts → stores/children-control.d.ts} +0 -0
- /package/dist/agent-runtime/{children-spawn.d.ts → stores/children-spawn.d.ts} +0 -0
- /package/dist/agent-runtime/{children-state.d.ts → stores/children-state.d.ts} +0 -0
- /package/dist/agent-runtime/{children-usage.d.ts → stores/children-usage.d.ts} +0 -0
- /package/dist/agent-runtime/{children.d.ts → stores/children.d.ts} +0 -0
- /package/dist/agent-runtime/{conversations.d.ts → stores/conversations.d.ts} +0 -0
- /package/dist/agent-runtime/{event-search-postgres.d.ts → stores/event-search-postgres.d.ts} +0 -0
- /package/dist/agent-runtime/{event-search-terms.d.ts → stores/event-search-terms.d.ts} +0 -0
- /package/dist/agent-runtime/{event-search.d.ts → stores/event-search.d.ts} +0 -0
- /package/dist/agent-runtime/{postgres-schema.d.ts → stores/postgres-schema.d.ts} +0 -0
- /package/dist/agent-runtime/{purge.d.ts → stores/purge.d.ts} +0 -0
- /package/dist/agent-runtime/{schedule-contract.d.ts → stores/schedule-contract.d.ts} +0 -0
- /package/dist/agent-runtime/{schedule-dispatch.d.ts → stores/schedule-dispatch.d.ts} +0 -0
- /package/dist/agent-runtime/{schedule-records.d.ts → stores/schedule-records.d.ts} +0 -0
- /package/dist/agent-runtime/{schedules.d.ts → stores/schedules.d.ts} +0 -0
- /package/dist/agent-runtime/{sql-events.d.ts → stores/sql-events.d.ts} +0 -0
- /package/dist/agent-runtime/{sql-history.d.ts → stores/sql-history.d.ts} +0 -0
- /package/dist/agent-runtime/{sql-ledger.d.ts → stores/sql-ledger.d.ts} +0 -0
- /package/dist/agent-runtime/{sql-purge.d.ts → stores/sql-purge.d.ts} +0 -0
- /package/dist/agent-runtime/{sql-reads.d.ts → stores/sql-reads.d.ts} +0 -0
- /package/dist/agent-runtime/{sql-rows.d.ts → stores/sql-rows.d.ts} +0 -0
- /package/dist/agent-runtime/{sql-session.d.ts → stores/sql-session.d.ts} +0 -0
- /package/dist/agent-runtime/{sqlite-bun.d.ts → stores/sqlite-bun.d.ts} +0 -0
- /package/dist/agent-runtime/{sqlite-node.d.ts → stores/sqlite-node.d.ts} +0 -0
- /package/dist/agent-runtime/{store-archive.d.ts → stores/store-archive.d.ts} +0 -0
- /package/dist/agent-runtime/{store-branch.d.ts → stores/store-branch.d.ts} +0 -0
- /package/dist/agent-runtime/{store-capabilities.d.ts → stores/store-capabilities.d.ts} +0 -0
- /package/dist/agent-runtime/{store-create.d.ts → stores/store-create.d.ts} +0 -0
- /package/dist/agent-runtime/{store-memory-archive.d.ts → stores/store-memory-archive.d.ts} +0 -0
- /package/dist/agent-runtime/{store-memory.d.ts → stores/store-memory.d.ts} +0 -0
- /package/dist/agent-runtime/{store-mutate.d.ts → stores/store-mutate.d.ts} +0 -0
- /package/dist/agent-runtime/{store-purge.d.ts → stores/store-purge.d.ts} +0 -0
- /package/dist/agent-runtime/{store-replay.d.ts → stores/store-replay.d.ts} +0 -0
- /package/dist/agent-runtime/{fault-bench.d.ts → testing/fault-bench.d.ts} +0 -0
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import type { AgentRuntimeRunContext } from '../loop/runtime.js';
|
|
3
|
+
import { AgentEventSearchResultSchema } from './event-search.js';
|
|
4
|
+
import type { AgentRuntimeStore } from './store.js';
|
|
5
|
+
declare const SEARCH_DESCRIPTOR: import("../agent-tool.js").AgentToolDescriptor<z.ZodObject<{
|
|
6
|
+
query: z.ZodString;
|
|
7
|
+
conversationId: z.ZodOptional<z.ZodString>;
|
|
8
|
+
since: z.ZodOptional<z.ZodISODateTime>;
|
|
9
|
+
limit: z.ZodOptional<z.ZodInt>;
|
|
10
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
11
|
+
results: z.ZodArray<z.ZodObject<{
|
|
12
|
+
conversationId: z.ZodString;
|
|
13
|
+
seq: z.ZodInt;
|
|
14
|
+
occurredAt: z.ZodString;
|
|
15
|
+
snippet: z.ZodString;
|
|
16
|
+
}, z.core.$strict>>;
|
|
17
|
+
}, z.core.$strict>>;
|
|
18
|
+
declare const TRACE_DESCRIPTOR: import("../agent-tool.js").AgentToolDescriptor<z.ZodObject<{
|
|
19
|
+
fromSeq: z.ZodOptional<z.ZodInt>;
|
|
20
|
+
toSeq: z.ZodOptional<z.ZodInt>;
|
|
21
|
+
limit: z.ZodDefault<z.ZodInt>;
|
|
22
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
23
|
+
events: z.ZodArray<z.ZodObject<{
|
|
24
|
+
conversationId: z.ZodString;
|
|
25
|
+
seq: z.ZodInt;
|
|
26
|
+
kind: z.ZodString;
|
|
27
|
+
occurredAt: z.ZodString;
|
|
28
|
+
payload: z.ZodJSONSchema;
|
|
29
|
+
}, z.core.$strict>>;
|
|
30
|
+
nextSeq: z.ZodOptional<z.ZodNumber>;
|
|
31
|
+
}, z.core.$strict>>;
|
|
32
|
+
declare const EVENT_DESCRIPTOR: import("../agent-tool.js").AgentToolDescriptor<z.ZodObject<{
|
|
33
|
+
conversationId: z.ZodString;
|
|
34
|
+
seq: z.ZodInt;
|
|
35
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
36
|
+
conversationId: z.ZodString;
|
|
37
|
+
seq: z.ZodInt;
|
|
38
|
+
kind: z.ZodString;
|
|
39
|
+
occurredAt: z.ZodString;
|
|
40
|
+
payload: z.ZodJSONSchema;
|
|
41
|
+
}, z.core.$strict>>;
|
|
42
|
+
/**
|
|
43
|
+
* Static non-executable descriptors for the built-in event-search tools (`createAgentEventSearchTools`).
|
|
44
|
+
* Single source of truth for catalog generation, preset validation, branch schemas, and live tools.
|
|
45
|
+
*/
|
|
46
|
+
export declare const AGENT_EVENT_SEARCH_TOOL_DESCRIPTORS: readonly [import("../agent-tool.js").AgentToolDescriptor<z.ZodObject<{
|
|
47
|
+
query: z.ZodString;
|
|
48
|
+
conversationId: z.ZodOptional<z.ZodString>;
|
|
49
|
+
since: z.ZodOptional<z.ZodISODateTime>;
|
|
50
|
+
limit: z.ZodOptional<z.ZodInt>;
|
|
51
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
52
|
+
results: z.ZodArray<z.ZodObject<{
|
|
53
|
+
conversationId: z.ZodString;
|
|
54
|
+
seq: z.ZodInt;
|
|
55
|
+
occurredAt: z.ZodString;
|
|
56
|
+
snippet: z.ZodString;
|
|
57
|
+
}, z.core.$strict>>;
|
|
58
|
+
}, z.core.$strict>>, import("../agent-tool.js").AgentToolDescriptor<z.ZodObject<{
|
|
59
|
+
fromSeq: z.ZodOptional<z.ZodInt>;
|
|
60
|
+
toSeq: z.ZodOptional<z.ZodInt>;
|
|
61
|
+
limit: z.ZodDefault<z.ZodInt>;
|
|
62
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
63
|
+
events: z.ZodArray<z.ZodObject<{
|
|
64
|
+
conversationId: z.ZodString;
|
|
65
|
+
seq: z.ZodInt;
|
|
66
|
+
kind: z.ZodString;
|
|
67
|
+
occurredAt: z.ZodString;
|
|
68
|
+
payload: z.ZodJSONSchema;
|
|
69
|
+
}, z.core.$strict>>;
|
|
70
|
+
nextSeq: z.ZodOptional<z.ZodNumber>;
|
|
71
|
+
}, z.core.$strict>>, import("../agent-tool.js").AgentToolDescriptor<z.ZodObject<{
|
|
72
|
+
conversationId: z.ZodString;
|
|
73
|
+
seq: z.ZodInt;
|
|
74
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
75
|
+
conversationId: z.ZodString;
|
|
76
|
+
seq: z.ZodInt;
|
|
77
|
+
kind: z.ZodString;
|
|
78
|
+
occurredAt: z.ZodString;
|
|
79
|
+
payload: z.ZodJSONSchema;
|
|
80
|
+
}, z.core.$strict>>];
|
|
81
|
+
/**
|
|
82
|
+
* What each event search tool takes and answers, by tool name. Derived from the
|
|
83
|
+
* static descriptors so branch recognition and live tool definitions share one source.
|
|
84
|
+
*/
|
|
85
|
+
export declare const AGENT_EVENT_SEARCH_TOOL_SCHEMAS: {
|
|
86
|
+
readonly [SEARCH_DESCRIPTOR.name]: {
|
|
87
|
+
readonly input: z.ZodObject<{
|
|
88
|
+
query: z.ZodString;
|
|
89
|
+
conversationId: z.ZodOptional<z.ZodString>;
|
|
90
|
+
since: z.ZodOptional<z.ZodISODateTime>;
|
|
91
|
+
limit: z.ZodOptional<z.ZodInt>;
|
|
92
|
+
}, z.core.$strict>;
|
|
93
|
+
readonly output: z.ZodObject<{
|
|
94
|
+
results: z.ZodArray<z.ZodObject<{
|
|
95
|
+
conversationId: z.ZodString;
|
|
96
|
+
seq: z.ZodInt;
|
|
97
|
+
occurredAt: z.ZodString;
|
|
98
|
+
snippet: z.ZodString;
|
|
99
|
+
}, z.core.$strict>>;
|
|
100
|
+
}, z.core.$strict>;
|
|
101
|
+
};
|
|
102
|
+
readonly [TRACE_DESCRIPTOR.name]: {
|
|
103
|
+
readonly input: z.ZodObject<{
|
|
104
|
+
fromSeq: z.ZodOptional<z.ZodInt>;
|
|
105
|
+
toSeq: z.ZodOptional<z.ZodInt>;
|
|
106
|
+
limit: z.ZodDefault<z.ZodInt>;
|
|
107
|
+
}, z.core.$strict>;
|
|
108
|
+
readonly output: z.ZodObject<{
|
|
109
|
+
events: z.ZodArray<z.ZodObject<{
|
|
110
|
+
conversationId: z.ZodString;
|
|
111
|
+
seq: z.ZodInt;
|
|
112
|
+
kind: z.ZodString;
|
|
113
|
+
occurredAt: z.ZodString;
|
|
114
|
+
payload: z.ZodJSONSchema;
|
|
115
|
+
}, z.core.$strict>>;
|
|
116
|
+
nextSeq: z.ZodOptional<z.ZodNumber>;
|
|
117
|
+
}, z.core.$strict>;
|
|
118
|
+
};
|
|
119
|
+
readonly [EVENT_DESCRIPTOR.name]: {
|
|
120
|
+
readonly input: z.ZodObject<{
|
|
121
|
+
conversationId: z.ZodString;
|
|
122
|
+
seq: z.ZodInt;
|
|
123
|
+
}, z.core.$strict>;
|
|
124
|
+
readonly output: z.ZodObject<{
|
|
125
|
+
conversationId: z.ZodString;
|
|
126
|
+
seq: z.ZodInt;
|
|
127
|
+
kind: z.ZodString;
|
|
128
|
+
occurredAt: z.ZodString;
|
|
129
|
+
payload: z.ZodJSONSchema;
|
|
130
|
+
}, z.core.$strict>;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
/** Configuration binding conversation event-search agent tools to a run and search backend. */
|
|
134
|
+
export interface AgentEventSearchToolsConfig {
|
|
135
|
+
/** The run context `tools()` received: the tools read for its conversation. */
|
|
136
|
+
run: AgentRuntimeRunContext<unknown>;
|
|
137
|
+
search(request: {
|
|
138
|
+
requestingConversationId: string;
|
|
139
|
+
query: string;
|
|
140
|
+
conversationId?: string;
|
|
141
|
+
since?: string;
|
|
142
|
+
limit?: number;
|
|
143
|
+
}): Promise<readonly z.infer<typeof AgentEventSearchResultSchema>[]>;
|
|
144
|
+
store: AgentRuntimeStore;
|
|
145
|
+
authorizeConversation?(request: {
|
|
146
|
+
requestingConversationId: string;
|
|
147
|
+
targetConversationId: string;
|
|
148
|
+
}): boolean | Promise<boolean>;
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* Event search bound to the conversation of one run. Another conversation is
|
|
152
|
+
* read only when `authorizeConversation` approves it for this one.
|
|
153
|
+
*/
|
|
154
|
+
export declare function createAgentEventSearchTools(config: AgentEventSearchToolsConfig): readonly [import("../agent-tool.js").AgentToolDefinition<z.ZodObject<{
|
|
155
|
+
query: z.ZodString;
|
|
156
|
+
conversationId: z.ZodOptional<z.ZodString>;
|
|
157
|
+
since: z.ZodOptional<z.ZodISODateTime>;
|
|
158
|
+
limit: z.ZodOptional<z.ZodInt>;
|
|
159
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
160
|
+
results: z.ZodArray<z.ZodObject<{
|
|
161
|
+
conversationId: z.ZodString;
|
|
162
|
+
seq: z.ZodInt;
|
|
163
|
+
occurredAt: z.ZodString;
|
|
164
|
+
snippet: z.ZodString;
|
|
165
|
+
}, z.core.$strict>>;
|
|
166
|
+
}, z.core.$strict>>, import("../agent-tool.js").AgentToolDefinition<z.ZodObject<{
|
|
167
|
+
fromSeq: z.ZodOptional<z.ZodInt>;
|
|
168
|
+
toSeq: z.ZodOptional<z.ZodInt>;
|
|
169
|
+
limit: z.ZodDefault<z.ZodInt>;
|
|
170
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
171
|
+
events: z.ZodArray<z.ZodObject<{
|
|
172
|
+
conversationId: z.ZodString;
|
|
173
|
+
seq: z.ZodInt;
|
|
174
|
+
kind: z.ZodString;
|
|
175
|
+
occurredAt: z.ZodString;
|
|
176
|
+
payload: z.ZodJSONSchema;
|
|
177
|
+
}, z.core.$strict>>;
|
|
178
|
+
nextSeq: z.ZodOptional<z.ZodNumber>;
|
|
179
|
+
}, z.core.$strict>>, import("../agent-tool.js").AgentToolDefinition<z.ZodObject<{
|
|
180
|
+
conversationId: z.ZodString;
|
|
181
|
+
seq: z.ZodInt;
|
|
182
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
183
|
+
conversationId: z.ZodString;
|
|
184
|
+
seq: z.ZodInt;
|
|
185
|
+
kind: z.ZodString;
|
|
186
|
+
occurredAt: z.ZodString;
|
|
187
|
+
payload: z.ZodJSONSchema;
|
|
188
|
+
}, z.core.$strict>>];
|
|
189
|
+
export {};
|
|
190
|
+
//# sourceMappingURL=event-search-tools.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-search-tools.d.ts","sourceRoot":"","sources":["../../../src/agent-runtime/stores/event-search-tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAC9D,OAAO,EAAE,4BAA4B,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AA0CjD,QAAA,MAAM,iBAAiB;;;;;;;;;;;;mBAOrB,CAAC;AAEH,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;mBAOpB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CAAC,MAAM,SAA4B,GAAG,MAAM,CA4IvF;AAED,yFAAyF;AACzF,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,cAAc,GAAG,MAAM,EAAE,CAUzE;AAWD;;;;;;;;GAQG;AACH,wBAAsB,4BAA4B,CAChD,OAAO,EAAE,eAAe,EACxB,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,OAAO,GACpB,OAAO,CAAC,IAAI,CAAC,CAyDf"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import type { PostgresQuery } from '../../internal/postgres-query.js';
|
|
2
|
+
import { type AgentSqlSession } from './sql-session.js';
|
|
3
|
+
/** The SQLSTATE of a Postgres failure, on the error, its `cause` chain, or Prisma `meta`. */
|
|
4
|
+
export declare function postgresErrorState(error: unknown): string | undefined;
|
|
5
|
+
/**
|
|
6
|
+
* Whether a failed transaction lost a serialization race and may run again.
|
|
7
|
+
*
|
|
8
|
+
* Recognized by shape, without importing a client: the SQLSTATE wherever the
|
|
9
|
+
* client keeps it, on the error, in Prisma `meta` / `driverAdapterError`, or
|
|
10
|
+
* down its `cause` chain; Prisma's `P2034`; Prisma's raw-query `P2010`
|
|
11
|
+
* carrying the state in its message; and the `TransactionWriteConflict` kind
|
|
12
|
+
* Prisma reports for a conflict at `COMMIT`. A broken connection is not among
|
|
13
|
+
* them: a `COMMIT` whose answer was lost may have committed, and running the
|
|
14
|
+
* work again would apply it twice.
|
|
15
|
+
*/
|
|
16
|
+
export declare function isRetryablePostgresConflict(error: unknown): boolean;
|
|
17
|
+
export interface PostgresTransactionRunner<TX> {
|
|
18
|
+
transaction<RESULT>(work: (tx: TX) => Promise<RESULT>): Promise<RESULT>;
|
|
19
|
+
query: PostgresQuery<TX>;
|
|
20
|
+
/** Attempts before a conflict surfaces. Default 32. */
|
|
21
|
+
maxAttempts: number;
|
|
22
|
+
/** Decides what may be retried; the default recognizes 40001 and 40P01. */
|
|
23
|
+
isRetryable: (error: unknown) => boolean;
|
|
24
|
+
/** The isolation statement each transaction opens with; the store's own, replaceable only by a test. */
|
|
25
|
+
isolation: {
|
|
26
|
+
write: string;
|
|
27
|
+
read: string;
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
export declare const POSTGRES_ISOLATION: {
|
|
31
|
+
write: string;
|
|
32
|
+
read: string;
|
|
33
|
+
};
|
|
34
|
+
/** A session over one open transaction: `?` placeholders numbered once per statement text. */
|
|
35
|
+
export declare function postgresSession<TX>(query: PostgresQuery<TX>, tx: TX): AgentSqlSession;
|
|
36
|
+
/**
|
|
37
|
+
* Set the isolation statement of a freshly opened transaction.
|
|
38
|
+
*
|
|
39
|
+
* Postgres raises SQLSTATE `25001` when the caller already ran a statement
|
|
40
|
+
* inside the transaction before handing it to the store; translate that into
|
|
41
|
+
* the store's refusal while preserving the underlying error as `cause`.
|
|
42
|
+
*/
|
|
43
|
+
export declare function setPostgresTransactionIsolation(session: AgentSqlSession, statement: string): Promise<void>;
|
|
44
|
+
/**
|
|
45
|
+
* One store transaction: opened by the application's `transaction`, set to
|
|
46
|
+
* SERIALIZABLE (or a read-only snapshot) by its first statement, and run
|
|
47
|
+
* again from the start when Postgres reports that it lost a serialization race.
|
|
48
|
+
*
|
|
49
|
+
* The store owns the transaction because it owns the retry. A serializable
|
|
50
|
+
* conflict can surface on any statement or on `COMMIT`, and the only cure is
|
|
51
|
+
* running the whole unit again — which only the code that opened it can do.
|
|
52
|
+
*/
|
|
53
|
+
export declare function runPostgresTransaction<TX, RESULT>(runner: PostgresTransactionRunner<TX>, access: 'read' | 'write', work: (session: AgentSqlSession) => Promise<RESULT>): Promise<RESULT>;
|
|
54
|
+
//# sourceMappingURL=postgres-transactions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"postgres-transactions.d.ts","sourceRoot":"","sources":["../../../src/agent-runtime/stores/postgres-transactions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,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MAAM,CAAC,CAajB"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import type { PostgresQuery } from '../../internal/postgres-query.js';
|
|
2
|
+
import { type AgentCompanionHost } from './companion-host.js';
|
|
3
|
+
import type { AgentConversationReader } from './conversations.js';
|
|
4
|
+
import { type PostgresTransactionRunner } from './postgres-transactions.js';
|
|
5
|
+
import { type AgentSqlRead } from './sql-reads.js';
|
|
6
|
+
import { type SqlStoreDriver } from './sql-rows.js';
|
|
7
|
+
import { type AgentSqlDialect, type AgentSqlSession } from './sql-session.js';
|
|
8
|
+
import { createAgentRuntimeStore } from './store-create.js';
|
|
9
|
+
import type { AgentRuntimeStoreDriver } from './store-driver-contract.js';
|
|
10
|
+
/** Configuration for constructing a Postgres-backed agent runtime store. */
|
|
11
|
+
export interface PostgresAgentRuntimeStoreConfig<TX> {
|
|
12
|
+
/**
|
|
13
|
+
* Open a new transaction: commit when `work` resolves, roll back when it
|
|
14
|
+
* throws. The store runs the first statement in it — its isolation level —
|
|
15
|
+
* and runs `work` again when Postgres reports a serialization conflict, so
|
|
16
|
+
* this must open a fresh transaction every call, never join one already open.
|
|
17
|
+
*
|
|
18
|
+
* - Bun: `(work) => sql.begin(work)`
|
|
19
|
+
* - Prisma: `(work) => prisma.$transaction(work)`
|
|
20
|
+
*/
|
|
21
|
+
transaction<RESULT>(work: (tx: TX) => Promise<RESULT>): Promise<RESULT>;
|
|
22
|
+
/** Run one statement with `$1…$n` parameters in `tx`; resolve with its rows. */
|
|
23
|
+
query: PostgresQuery<TX>;
|
|
24
|
+
/** Table name prefix: `<prefix>_runs`, `<prefix>_events`, … Default `stitchkit_agent_runtime`. */
|
|
25
|
+
prefix?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Create the schema on first use when it is missing. Default `true`; set
|
|
28
|
+
* `false` when migrations own the schema — `postgresAgentRuntimeStoreDdl`
|
|
29
|
+
* is the text. Either way the version is checked before the first operation.
|
|
30
|
+
*/
|
|
31
|
+
createTables?: boolean;
|
|
32
|
+
/** Attempts of one transaction before a serialization conflict surfaces. Default 32. */
|
|
33
|
+
maxAttempts?: number;
|
|
34
|
+
}
|
|
35
|
+
/** Postgres-backed agent runtime store, conversation reader, and companion host bundle. */
|
|
36
|
+
export interface PostgresAgentRuntimeStore {
|
|
37
|
+
store: ReturnType<typeof createAgentRuntimeStore>;
|
|
38
|
+
conversations: AgentConversationReader;
|
|
39
|
+
/** Where the companions keep their rows; the same host the SQLite store gives. */
|
|
40
|
+
host: AgentCompanionHost;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* The driver, its dialect and its read transaction.
|
|
44
|
+
*
|
|
45
|
+
* `testing` replaces the retry recognizer or the isolation statement — the
|
|
46
|
+
* two levers a control pulls to prove they hold the store together. Only a
|
|
47
|
+
* test passes it; the public factories below never do.
|
|
48
|
+
*/
|
|
49
|
+
export declare function buildPostgresAgentStore<TX>(config: PostgresAgentRuntimeStoreConfig<TX>, testing?: Partial<Pick<PostgresTransactionRunner<TX>, 'isRetryable' | 'isolation'>>): {
|
|
50
|
+
driver: SqlStoreDriver;
|
|
51
|
+
dialect: AgentSqlDialect;
|
|
52
|
+
read: AgentSqlRead;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* The normalized driver over Postgres, for a caller who wraps or extends it
|
|
56
|
+
* before building a store with `createAgentRuntimeStore`.
|
|
57
|
+
* `createPostgresAgentRuntimeStore` is that assembly, plus the companion host.
|
|
58
|
+
*/
|
|
59
|
+
export declare function createPostgresAgentRuntimeStoreDriver<TX>(config: PostgresAgentRuntimeStoreConfig<TX>): AgentRuntimeStoreDriver<AgentSqlSession>;
|
|
60
|
+
/**
|
|
61
|
+
* The agent store on Postgres, in transactions the store opens through the
|
|
62
|
+
* application's client.
|
|
63
|
+
*
|
|
64
|
+
* Unlike the sync store, which writes inside the application's transaction
|
|
65
|
+
* so a change commits with the application's own rows, this store owns its
|
|
66
|
+
* transactions: it runs them SERIALIZABLE and retries a serialization
|
|
67
|
+
* conflict by running the whole unit again, which only the code that opened
|
|
68
|
+
* the transaction can do. Retrying is the driver's duty; a caller-side
|
|
69
|
+
* retry of a whole store call does not replace it.
|
|
70
|
+
*/
|
|
71
|
+
export declare function createPostgresAgentRuntimeStore<TX>(config: PostgresAgentRuntimeStoreConfig<TX>): PostgresAgentRuntimeStore;
|
|
72
|
+
//# sourceMappingURL=postgres.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"postgres.d.ts","sourceRoot":"","sources":["../../../src/agent-runtime/stores/postgres.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,EAAE,KAAK,kBAAkB,EAAuB,MAAM,kBAAkB,CAAC;AAChF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAE/D,OAAO,EAGL,KAAK,yBAAyB,EAG/B,MAAM,yBAAyB,CAAC;AAKjC,OAAO,EACL,KAAK,YAAY,EAIlB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAkB,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;AACjE,OAAO,EAAE,KAAK,eAAe,EAAE,KAAK,eAAe,EAAkB,MAAM,eAAe,CAAC;AAC3F,OAAO,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AAEvE,4EAA4E;AAC5E,MAAM,WAAW,+BAA+B,CAAC,EAAE;IACjD;;;;;;;;OAQG;IACH,WAAW,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE,KAAK,OAAO,CAAC,MAAM,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IACxE,gFAAgF;IAChF,KAAK,EAAE,aAAa,CAAC,EAAE,CAAC,CAAC;IACzB,kGAAkG;IAClG,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,wFAAwF;IACxF,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,2FAA2F;AAC3F,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,UAAU,CAAC,OAAO,uBAAuB,CAAC,CAAC;IAClD,aAAa,EAAE,uBAAuB,CAAC;IACvC,kFAAkF;IAClF,IAAI,EAAE,kBAAkB,CAAC;CAC1B;AAsCD;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CAAC,EAAE,EACxC,MAAM,EAAE,+BAA+B,CAAC,EAAE,CAAC,EAC3C,OAAO,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,yBAAyB,CAAC,EAAE,CAAC,EAAE,aAAa,GAAG,WAAW,CAAC,CAAC,GAClF;IAAE,MAAM,EAAE,cAAc,CAAC;IAAC,OAAO,EAAE,eAAe,CAAC;IAAC,IAAI,EAAE,YAAY,CAAA;CAAE,CA8C1E;AAED;;;;GAIG;AACH,wBAAgB,qCAAqC,CAAC,EAAE,EACtD,MAAM,EAAE,+BAA+B,CAAC,EAAE,CAAC,GAC1C,uBAAuB,CAAC,eAAe,CAAC,CAE1C;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,+BAA+B,CAAC,EAAE,EAChD,MAAM,EAAE,+BAA+B,CAAC,EAAE,CAAC,GAC1C,yBAAyB,CAU3B"}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import type { AgentStoreEventEnvelope } from '../../durability/events.js';
|
|
3
|
+
import type { AgentCompanionHost } from './companion-host.js';
|
|
4
|
+
import type { AgentRuntimeStore } from './store.js';
|
|
5
|
+
export interface AgentProjectionDefinition<STATE> {
|
|
6
|
+
name: string;
|
|
7
|
+
version: number;
|
|
8
|
+
initial(): STATE;
|
|
9
|
+
fold(state: STATE, event: AgentStoreEventEnvelope): STATE;
|
|
10
|
+
schema: z.ZodType<STATE>;
|
|
11
|
+
}
|
|
12
|
+
export interface AgentProjectionValue<STATE> {
|
|
13
|
+
name: string;
|
|
14
|
+
version: number;
|
|
15
|
+
uptoSeq: number;
|
|
16
|
+
updatedAt: string;
|
|
17
|
+
value: STATE;
|
|
18
|
+
}
|
|
19
|
+
export declare function defineAgentProjection<STATE>(definition: AgentProjectionDefinition<STATE>): AgentProjectionDefinition<STATE>;
|
|
20
|
+
export declare function createAgentProjectionRegistry(definitions: readonly AgentProjectionDefinition<unknown>[]): ReadonlyMap<string, AgentProjectionDefinition<unknown>>;
|
|
21
|
+
/**
|
|
22
|
+
* Folded views of a conversation's events, kept in a SQL store's companion
|
|
23
|
+
* host — SQLite or Postgres — and advanced from where they stopped.
|
|
24
|
+
*/
|
|
25
|
+
export declare function createAgentProjectionStore(input: {
|
|
26
|
+
store: AgentRuntimeStore;
|
|
27
|
+
/** The store's companion host: `host` of the SQLite or Postgres store. */
|
|
28
|
+
host: AgentCompanionHost;
|
|
29
|
+
}): {
|
|
30
|
+
load: <STATE>(conversationId: string, definition: AgentProjectionDefinition<STATE>) => Promise<AgentProjectionValue<STATE> | undefined>;
|
|
31
|
+
advance: <STATE>(conversationId: string, definition: AgentProjectionDefinition<STATE>) => Promise<AgentProjectionValue<STATE>>;
|
|
32
|
+
list: <STATE>(definition: AgentProjectionDefinition<STATE>) => Promise<readonly {
|
|
33
|
+
conversationId: string;
|
|
34
|
+
projection: AgentProjectionValue<STATE>;
|
|
35
|
+
}[]>;
|
|
36
|
+
};
|
|
37
|
+
export declare const agentConversationCardProjection: AgentProjectionDefinition<{
|
|
38
|
+
eventCount: number;
|
|
39
|
+
}>;
|
|
40
|
+
export declare const agentStateSlotsProjection: AgentProjectionDefinition<{}>;
|
|
41
|
+
export declare const agentScheduleSummaryProjection: AgentProjectionDefinition<{
|
|
42
|
+
scheduled: number;
|
|
43
|
+
fired: number;
|
|
44
|
+
cancelled: number;
|
|
45
|
+
late: number;
|
|
46
|
+
}>;
|
|
47
|
+
/** Small list-card state derived only from the canonical ledger. */
|
|
48
|
+
export declare const agentSummaryProjection: AgentProjectionDefinition<{
|
|
49
|
+
eventCount: number;
|
|
50
|
+
lastSeq: number;
|
|
51
|
+
lastKind?: string | undefined;
|
|
52
|
+
lastOccurredAt?: string | undefined;
|
|
53
|
+
lastModelId?: string | undefined;
|
|
54
|
+
}>;
|
|
55
|
+
/**
|
|
56
|
+
* Conversation spend folded from canonical ledger records with per-field provenance.
|
|
57
|
+
*
|
|
58
|
+
* Folds terminal `runtime/transition` (`type: 'terminal'`), abandoned runs
|
|
59
|
+
* (`type: 'recover'`, `action: 'abandon'`) that carry measured checkpointed usage,
|
|
60
|
+
* and standalone `provider/response` invocation receipts (`runId === undefined`).
|
|
61
|
+
* A run that did not complete, carries no measured value and holds no part of a provider
|
|
62
|
+
* answer is skipped, as is a non-succeeded standalone attempt with no measured values:
|
|
63
|
+
* neither heard from a provider, so neither turns conversation cost into `unavailable`.
|
|
64
|
+
*
|
|
65
|
+
* Only ledger events after any `runtime/baseline` migration are folded; pre-baseline
|
|
66
|
+
* spend is not reconstructed. If a `history.compact` callback runs standalone
|
|
67
|
+
* `createModelInvocationLedger().complete()` on the same `conversationId`, do not
|
|
68
|
+
* also return that completion's `usage` from `compact()`, or both the standalone
|
|
69
|
+
* `provider/response` and the run's terminal transition will be counted.
|
|
70
|
+
*/
|
|
71
|
+
export declare const agentUsageProjection: AgentProjectionDefinition<{
|
|
72
|
+
records: number;
|
|
73
|
+
usage: {
|
|
74
|
+
inputTokens: {
|
|
75
|
+
value?: number | undefined;
|
|
76
|
+
provenance: "computed" | "estimated" | "provider-reported" | "unavailable";
|
|
77
|
+
};
|
|
78
|
+
outputTokens: {
|
|
79
|
+
value?: number | undefined;
|
|
80
|
+
provenance: "computed" | "estimated" | "provider-reported" | "unavailable";
|
|
81
|
+
};
|
|
82
|
+
reasoningTokens?: {
|
|
83
|
+
value?: number | undefined;
|
|
84
|
+
provenance: "computed" | "estimated" | "provider-reported" | "unavailable";
|
|
85
|
+
} | undefined;
|
|
86
|
+
cacheReadTokens?: {
|
|
87
|
+
value?: number | undefined;
|
|
88
|
+
provenance: "computed" | "estimated" | "provider-reported" | "unavailable";
|
|
89
|
+
} | undefined;
|
|
90
|
+
cacheWriteTokens?: {
|
|
91
|
+
value?: number | undefined;
|
|
92
|
+
provenance: "computed" | "estimated" | "provider-reported" | "unavailable";
|
|
93
|
+
} | undefined;
|
|
94
|
+
cost?: {
|
|
95
|
+
value?: number | undefined;
|
|
96
|
+
currency?: string | undefined;
|
|
97
|
+
provenance: "computed" | "estimated" | "provider-reported" | "unavailable";
|
|
98
|
+
} | undefined;
|
|
99
|
+
};
|
|
100
|
+
}>;
|
|
101
|
+
/** Address-only outline; opening details remains a bounded event read. */
|
|
102
|
+
export declare const agentOutlineProjection: AgentProjectionDefinition<{
|
|
103
|
+
requests: {
|
|
104
|
+
seq: number;
|
|
105
|
+
occurredAt: string;
|
|
106
|
+
runId?: string | undefined;
|
|
107
|
+
}[];
|
|
108
|
+
}>;
|
|
109
|
+
//# sourceMappingURL=projections.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"projections.d.ts","sourceRoot":"","sources":["../../../src/agent-runtime/stores/projections.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AASvE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAE3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD,MAAM,WAAW,yBAAyB,CAAC,KAAK;IAC9C,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,IAAI,KAAK,CAAC;IACjB,IAAI,CAAC,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,uBAAuB,GAAG,KAAK,CAAC;IAC1D,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,KA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;;;;;GAeG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgB/B,CAAC;AAgBH,0EAA0E;AAC1E,eAAO,MAAM,sBAAsB;;;;;;EAmBjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"purge.d.ts","sourceRoot":"","sources":["../../../src/agent-runtime/stores/purge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEjD,eAAO,MAAM,iCAAiC;;;kBAG5C,CAAC;AAEH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;+BAS7C,CAAC;AAEH,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC;AAC5F,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAE9F,yFAAyF;AACzF,qBAAa,4BAA6B,SAAQ,KAAK;IACrD,cAGC;CACF;AAED,0FAA0F;AAC1F,wBAAsB,sBAAsB,CAC1C,KAAK,EAAE,iBAAiB,EACxB,KAAK,EAAE,2BAA2B,GACjC,OAAO,CAAC,4BAA4B,CAAC,CAIvC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schedule-contract.d.ts","sourceRoot":"","sources":["../../../src/agent-runtime/stores/schedule-contract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;kBAiBrB,CAAC;AACZ,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE,MAAM,WAAW,oBAAoB;IACnC,aAAa,CAAC,OAAO,EAAE;QACrB,cAAc,EA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leService } from './schedule-contract.js';
|
|
4
|
+
/**
|
|
5
|
+
* Static non-executable descriptors for the built-in schedule tools (`createAgentScheduleTools`).
|
|
6
|
+
* Single source of truth for catalog generation, preset validation, and live run-bound tools.
|
|
7
|
+
*/
|
|
8
|
+
export declare const AGENT_SCHEDULE_TOOL_DESCRIPTORS: readonly [import("../agent-tool.js").AgentToolDescriptor<z.ZodObject<{
|
|
9
|
+
input: z.ZodJSONSchema;
|
|
10
|
+
afterMs: z.ZodInt;
|
|
11
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
12
|
+
scheduleId: z.ZodString;
|
|
13
|
+
nextAt: z.ZodString;
|
|
14
|
+
}, z.core.$strict>>, import("../agent-tool.js").AgentToolDescriptor<z.ZodObject<{
|
|
15
|
+
input: z.ZodJSONSchema;
|
|
16
|
+
at: z.ZodString;
|
|
17
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
18
|
+
scheduleId: z.ZodString;
|
|
19
|
+
nextAt: z.ZodString;
|
|
20
|
+
}, z.core.$strict>>, import("../agent-tool.js").AgentToolDescriptor<z.ZodObject<{
|
|
21
|
+
input: z.ZodJSONSchema;
|
|
22
|
+
everyMs: z.ZodInt;
|
|
23
|
+
timeZone: z.ZodString;
|
|
24
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
25
|
+
scheduleId: z.ZodString;
|
|
26
|
+
nextAt: z.ZodString;
|
|
27
|
+
}, z.core.$strict>>, import("../agent-tool.js").AgentToolDescriptor<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
28
|
+
schedules: z.ZodArray<z.ZodJSONSchema>;
|
|
29
|
+
}, z.core.$strict>>, import("../agent-tool.js").AgentToolDescriptor<z.ZodObject<{
|
|
30
|
+
scheduleId: z.ZodString;
|
|
31
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
32
|
+
cancelled: z.ZodBoolean;
|
|
33
|
+
}, z.core.$strict>>];
|
|
34
|
+
/** Configuration binding durable scheduling agent tools to a schedule service and run context. */
|
|
35
|
+
export interface AgentScheduleToolsConfig {
|
|
36
|
+
/**
|
|
37
|
+
* What the tools call; any schedule service has it. Its own limits — the
|
|
38
|
+
* active schedules per conversation, the shortest repeat — bound what the
|
|
39
|
+
* model may ask for: the tools add none of their own.
|
|
40
|
+
*/
|
|
41
|
+
service: Pick<AgentScheduleService, 'scheduleInput' | 'cancelSchedule' | 'listSchedules'>;
|
|
42
|
+
/** The run context `tools()` received: every tool acts for its conversation and no other. */
|
|
43
|
+
run: AgentRuntimeRunContext<unknown>;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Schedule tools bound to the conversation of one run. The address of a live
|
|
47
|
+
* conversation is authority, so it comes from the run the runtime started,
|
|
48
|
+
* never from the model and never from a free host argument.
|
|
49
|
+
*/
|
|
50
|
+
export declare function createAgentScheduleTools({ service, run }: AgentScheduleToolsConfig): readonly [import("../agent-tool.js").AgentToolDefinition<z.ZodObject<{
|
|
51
|
+
input: z.ZodJSONSchema;
|
|
52
|
+
afterMs: z.ZodInt;
|
|
53
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
54
|
+
scheduleId: z.ZodString;
|
|
55
|
+
nextAt: z.ZodString;
|
|
56
|
+
}, z.core.$strict>>, import("../agent-tool.js").AgentToolDefinition<z.ZodObject<{
|
|
57
|
+
input: z.ZodJSONSchema;
|
|
58
|
+
at: z.ZodString;
|
|
59
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
60
|
+
scheduleId: z.ZodString;
|
|
61
|
+
nextAt: z.ZodString;
|
|
62
|
+
}, z.core.$strict>>, import("../agent-tool.js").AgentToolDefinition<z.ZodObject<{
|
|
63
|
+
input: z.ZodJSONSchema;
|
|
64
|
+
everyMs: z.ZodInt;
|
|
65
|
+
timeZone: z.ZodString;
|
|
66
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
67
|
+
scheduleId: z.ZodString;
|
|
68
|
+
nextAt: z.ZodString;
|
|
69
|
+
}, z.core.$strict>>, import("../agent-tool.js").AgentToolDefinition<z.ZodObject<{}, z.core.$strict>, z.ZodObject<{
|
|
70
|
+
schedules: z.ZodArray<z.ZodJSONSchema>;
|
|
71
|
+
}, z.core.$strict>>, import("../agent-tool.js").AgentToolDefinition<z.ZodObject<{
|
|
72
|
+
scheduleId: z.ZodString;
|
|
73
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
74
|
+
cancelled: z.ZodBoolean;
|
|
75
|
+
}, z.core.$strict>>];
|
|
76
|
+
//# sourceMappingURL=schedule-tools.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schedule-tools.d.ts","sourceRoot":"","sources":["../../../src/agent-runtime/stores/schedule-tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AAC9D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AA8DhE;;;GAGG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;oBAMjC,CAAC;AAEZ,kGAAkG;AAClG,MAAM,WAAW,wBAAwB;IACvC;;;;OAIG;IACH,OAAO,EAAE,IAAI,CAAC,oBAAoB,EAAE,eAAe,GAAG,gBAAgB,GAAG,eAAe,CAAC,CAAC;IAC1F,6FAA6F;IAC7F,GAAG,EAAE,sBAAsB,CAAC,OAAO,CAAC,CAAC;CACtC;AAED;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,EAAE,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;qBAoBlF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schedules.d.ts","sourceRoot":"","sources":["../../../src/agent-runtime/stores/schedules.ts"],"names":[],"mappings":"AAGA,OAAO,EAEL,KAAK,oBAAoB,EAE1B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAoB,KAAK,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAkBrF,yEAAyE;AACzE,MAAM,WAAW,0BAA0B;IACzC,IAAI,EAAE,uBAAuB,CAAC,MAAM,CAAC,CAAC;IACtC,QAAQ,EAAE,uBAAuB,CAAC,UAAU,CAAC,CAAC;IAC9C,0FAA0F;IAC1F,wBAAwB,EAAE,MAAM,CAAC;IACjC,mFAAmF;IACnF,aAAa,EAAE,MAAM,CAAC;IACtB,GAAG,CAAC,EAAE,MAAM,IAAI,CAAC;IACjB,QAAQ,CAAC,EAAE,uBAAuB,CAAC,UAAU,CAAC,CAAC;IAC/C,UAAU,CAAC,EAAE,uBAAuB,CAAC,YAAY,CAAC,CAAC;IACnD,gFAAgF;IAChF,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACnC;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;GAGG;AACH,wBAAgB,0BAA0B,CACxC,KAAK,EAAE,0BAA0B,GAChC,oBAAoB,CAkMtB"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { type AgentCodingArtifactStore } from '../coding/coding-tool-contract.js';
|
|
2
|
+
import type { AgentCompanionHost } from './companion-host.js';
|
|
3
|
+
/** Tool output kept beside the conversation, in a SQL store's companion host — SQLite or Postgres. */
|
|
4
|
+
export declare function createAgentSpillStore(input: {
|
|
5
|
+
/** The store's companion host: `host` of the SQLite or Postgres store. */
|
|
6
|
+
host: AgentCompanionHost;
|
|
7
|
+
conversationId: string;
|
|
8
|
+
/** The run whose tools write through this store; create one store per run in `tools()`. */
|
|
9
|
+
runId?: string;
|
|
10
|
+
retentionMs?: number;
|
|
11
|
+
now?: () => Date;
|
|
12
|
+
}): AgentCodingArtifactStore & {
|
|
13
|
+
search(request: {
|
|
14
|
+
reference: string;
|
|
15
|
+
query: string;
|
|
16
|
+
maxMatches: number;
|
|
17
|
+
}): Promise<readonly {
|
|
18
|
+
line: number;
|
|
19
|
+
text: string;
|
|
20
|
+
}[]>;
|
|
21
|
+
cleanup(): Promise<{
|
|
22
|
+
deleted: number;
|
|
23
|
+
bytes: number;
|
|
24
|
+
}>;
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=spill.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spill.d.ts","sourceRoot":"","sources":["../../../src/agent-runtime/stores/spill.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,wBAAwB,EAG9B,MAAM,gCAAgC,CAAC;AAExC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAmB3D,sGAAsG;AACtG,wBAAgB,qBAAqB,CAAC,KAAK,EAAE;IAC3C,0EAA0E;IAC1E,IAAI,EAAE,kBAAkB,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC;IACvB,2FAA2F;IAC3F,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,IAAI,CAAC;CAClB,GAAG,wBAAwB,GAAG;IAC7B,MAAM,CAAC,OAAO,EAAE;QACd,SAAS,EAAE,MAAM,CAAC;QAClB,KAAK,EAAE,MAAM,CAAC;QACd,UAAU,EAAE,MAAM,CAAC;KACpB,GAAG,OAAO,CAAC,SAAS;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC,CAAC;IACvD,OAAO,IAAI,OAAO,CAAC;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACxD,CA+HA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sql-events.d.ts","sourceRoot":"","sources":["../../../src/agent-runtime/stores/sql-events.ts"],"names":[],"mappings":"AAaA,OAAO,EAML,KAAK,cAAc,EACpB,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,EAAE,eAAe,EAAiB,MAAM,eAAe,CAAC;AAuHpE,wBAAgB,SAAS,CAAC,OAAO,EAAE,eAAe,GAAG,cAAc,CAAC,QAAQ,CAAC,CA4D5E;AAED,2FAA2F;AAC3F,wBAAgB,UAAU,CAAC,OAAO,EAAE,eAAe,GAAG,WAAW,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC,CAyF3F"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sql-history.d.ts","sourceRoot":"","sources":["../../../src/agent-runtime/stores/sql-history.ts"],"names":[],"mappings":"AACA,OAAO,EAQL,KAAK,cAAc,EACpB,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAGrD;;;GAGG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,eAAe,GAAG,cAAc,CAAC,SAAS,CAAC,CAkJ9E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sql-ledger.d.ts","sourceRoot":"","sources":["../../../src/agent-runtime/stores/sql-ledger.ts"],"names":[],"mappings":"AAEA,OAAO,EAOL,KAAK,cAAc,EACpB,MAAM,YAAY,CAAC;AACpB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAmCrD,oFAAoF;AACpF,wBAAgB,SAAS,CACvB,OAAO,EAAE,eAAe,GACvB,IAAI,CAAC,cAAc,EAAE,MAAM,GAAG,MAAM,GAAG,YAAY,GAAG,OAAO,CAAC,CA6KhE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sql-purge.d.ts","sourceRoot":"","sources":["../../../src/agent-runtime/stores/sql-purge.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACtF,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,eAAe,CAAC;AAElE,qFAAqF;A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,CAAC,CAAC;CAClB;AAED;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAuB1D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sqlite-bun.d.ts","sourceRoot":"","sources":["../../../src/agent-runtime/stores/sqlite-bun.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,uBAAuB,EAG7B,MAAM,UAAU,CAAC;AAElB,MAAM,WAAW,gCAAgC;IAC/C,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,yFAAyF;AACzF,wBAAgB,gCAAgC,CAC9C,MAAM,EAAE,gCAAgC,GACvC,uBAAuB,CAyBzB;AAED,YAAY,EACV,uBAAuB,EACvB,6BAA6B,EAC7B,cAAc,EACd,eAAe,EACf,WAAW,GACZ,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAC;AACzD,OAAO,EAAE,4BAA4B,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sqlite-node.d.ts","sourceRoot":"","sources":["../../../src/agent-runtime/stores/sqlite-node.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,uBAAuB,EAG7B,MAAM,UAAU,CAAC;AAElB,MAAM,WAAW,iCAAiC;IAChD,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,wFAAwF;AACxF,wBAAgB,iCAAiC,CAC/C,MAAM,EAAE,iCAAiC,GACxC,uBAAuB,CA2BzB;AAED,YAAY,EACV,uBAAuB,EACvB,6BAA6B,EAC7B,cAAc,EACd,eAAe,EACf,WAAW,GACZ,MAAM,UAAU,CAAC;AAClB,OAAO,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAC;AACzD,OAAO,EAAE,4BAA4B,EAAE,MAAM,iBAAiB,CAAC"}
|