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
package/llms-full.txt
CHANGED
|
@@ -47,87 +47,87 @@ own, recorded as an ADR.
|
|
|
47
47
|
|
|
48
48
|
| Import | Use in | Maturity | Holds |
|
|
49
49
|
|--------|--------|----------|-------|
|
|
50
|
-
| `stitchkit` | browser **and** server | stable<br>_redefined in
|
|
51
|
-
| `stitchkit/http` | browser, React Native/Hermes **and** server | evolving<br>_redefined in
|
|
52
|
-
| `stitchkit/realtime` | browser, React Native/Hermes **and** server | evolving<br>_redefined in 1 of the
|
|
53
|
-
| `stitchkit/device-relay` | browser, React Native/Hermes **and** server | evolving<br>_redefined in 0 of the
|
|
54
|
-
| `stitchkit/contract` | browser **and** server | stable<br>_redefined in 5 of the
|
|
55
|
-
| `stitchkit/live` | browser **and** server | evolving<br>_redefined in 2 of the
|
|
56
|
-
| `stitchkit/primitives` | browser **and** server | evolving<br>_redefined in 0 of the
|
|
57
|
-
| `stitchkit/handler` | browser, React Native/Hermes **and** server | evolving<br>_redefined in 0 of the
|
|
58
|
-
| `stitchkit/server` | server (Bun) | stable<br>_redefined in 5 of the
|
|
59
|
-
| `stitchkit/node` | server (Node ≥ 22.3) | stable<br>_redefined in 2 of the
|
|
60
|
-
| `stitchkit/tools` | server | stable<br>_redefined in
|
|
61
|
-
| `stitchkit/tools/mcp` | server (Bun or Node) | evolving<br>_redefined in 3 of the
|
|
62
|
-
| `stitchkit/tools/agent` | server (Bun or Node) | evolving<br>_redefined in 2 of the
|
|
63
|
-
| `stitchkit/tools/toolkit` | server (Bun or Node) | evolving<br>_redefined in
|
|
64
|
-
| `stitchkit/tools/contract` | browser + server | evolving<br>_redefined in 2 of the
|
|
65
|
-
| `stitchkit/tools/invoker` | server | stable<br>_redefined in 3 of the
|
|
66
|
-
| `stitchkit/tools/connections` | server (Bun or Node) | evolving<br>_redefined in 3 of the
|
|
67
|
-
| `stitchkit/cli` | server | stable<br>_redefined in 12 of the
|
|
68
|
-
| `stitchkit/cli/publish` | build and release tooling (Bun or Node, POSIX) | evolving<br>_redefined in 0 of the
|
|
69
|
-
| `stitchkit/remote` | browser **and** server | stable<br>_redefined in 1 of the
|
|
70
|
-
| `stitchkit/process` | server (Bun or Node, POSIX) | evolving<br>_redefined in 4 of the
|
|
71
|
-
| `stitchkit/process/bootstrap` | bundled server entry (Bun, POSIX) | evolving<br>_redefined in 0 of the
|
|
72
|
-
| `stitchkit/files/packaging` | build time (Bun or Node) | evolving<br>_redefined in 4 of the
|
|
73
|
-
| `stitchkit/files` | server (Bun or Node) | stable<br>_redefined in 5 of the
|
|
74
|
-
| `stitchkit/spend` | server (Bun or Node) | evolving<br>_redefined in 0 of the
|
|
75
|
-
| `stitchkit/spend/testing` | tests on Bun or Node | evolving<br>_redefined in 0 of the
|
|
76
|
-
| `stitchkit/service-host` | server (Bun or Node) | evolving<br>_redefined in 0 of the
|
|
77
|
-
| `stitchkit/service-host/macos` | server (Bun or Node, macOS) | evolving<br>_redefined in 0 of the
|
|
78
|
-
| `stitchkit/service-host/work` | server (Bun or Node; Linux with systemd ≥ 254, or a process root on Linux and macOS) | evolving<br>_redefined in 0 of the
|
|
79
|
-
| `stitchkit/telegram` | server (Bun or Node) | evolving<br>_redefined in 8 of the
|
|
80
|
-
| `stitchkit/telegram/grammy` | server (Bun or Node) | evolving<br>_redefined in 0 of the
|
|
81
|
-
| `stitchkit/telegram/html` | browser and server | evolving<br>_redefined in 1 of the
|
|
82
|
-
| `stitchkit/telegram/voice` | browser and server | evolving<br>_redefined in 0 of the
|
|
83
|
-
| `stitchkit/telegram/screens` | server (Bun or Node) | evolving<br>_redefined in 1 of the
|
|
84
|
-
| `stitchkit/tracking` | browser **and** server | evolving<br>_redefined in 3 of the
|
|
85
|
-
| `stitchkit/tracking/contract` | browser **and** server | evolving<br>_redefined in 0 of the
|
|
86
|
-
| `stitchkit/tracking/performance` | browser **and** server | evolving<br>_redefined in 1 of the
|
|
87
|
-
| `stitchkit/tracking/server` | server (Bun or Node) | evolving<br>_redefined in 0 of the
|
|
88
|
-
| `stitchkit/release` | browser **and** server | evolving<br>_redefined in 1 of the
|
|
89
|
-
| `stitchkit/voice` | browser **and** server | evolving<br>_redefined in 0 of the
|
|
90
|
-
| `stitchkit/sync` | browser **and** server | evolving<br>_redefined in 1 of the
|
|
91
|
-
| `stitchkit/sync/postgres` | server (Bun or Node) | evolving<br>_redefined in 0 of the
|
|
92
|
-
| `stitchkit/geo` | server (Bun or Node) | evolving<br>_redefined in 2 of the
|
|
93
|
-
| `stitchkit/geo/contract` | browser **and** server | evolving<br>_redefined in 0 of the
|
|
94
|
-
| `stitchkit/xlsx` | browser **and** server | evolving<br>_redefined in 0 of the
|
|
95
|
-
| `stitchkit/oauth` | browser **and** server | evolving<br>_redefined in 0 of the
|
|
96
|
-
| `stitchkit/google` | server (Bun or Node) | evolving<br>_redefined in 1 of the
|
|
97
|
-
| `stitchkit/observability` | server | stable<br>_redefined in 1 of the
|
|
98
|
-
| `stitchkit/testing` | tests on Bun or Node | stable<br>_redefined in 3 of the
|
|
99
|
-
| `stitchkit/declaration` | browser + build and deployment tooling (Bun or Node) | evolving<br>_redefined in 1 of the
|
|
100
|
-
| `stitchkit/react` | browser + server rendering | stable<br>_redefined in 2 of the
|
|
101
|
-
| `stitchkit/react/keyboard` | browser | evolving<br>_redefined in 1 of the
|
|
102
|
-
| `stitchkit/react/keyboard/testing` | server (Bun or Node) | evolving<br>_redefined in 0 of the
|
|
103
|
-
| `stitchkit/agent-runtime` | server | evolving<br>_redefined in
|
|
104
|
-
| `stitchkit/agent-runtime/sandbox` | server | evolving<br>_redefined in 0 of the
|
|
105
|
-
| `stitchkit/agent-runtime/testing` | tests on Bun or Node | evolving<br>_redefined in 3 of the
|
|
106
|
-
| `stitchkit/agent-runtime/harness` | server | evolving<br>_redefined in 1 of the
|
|
107
|
-
| `stitchkit/agent-runtime/coding-tools` | server (Bun or Node) | evolving<br>_redefined in 3 of the
|
|
108
|
-
| `stitchkit/agent-runtime/openrouter` | server | evolving<br>_redefined in
|
|
109
|
-
| `stitchkit/agent-runtime/openai` | server | evolving<br>_redefined in 0 of the
|
|
110
|
-
| `stitchkit/agent-runtime/anthropic` | server | evolving<br>_redefined in 0 of the
|
|
111
|
-
| `stitchkit/agent-runtime/ai-sdk` | server | evolving<br>_redefined in 0 of the
|
|
112
|
-
| `stitchkit/agent-runtime/browser` | browser + server | evolving<br>_redefined in 2 of the
|
|
113
|
-
| `stitchkit/agent-runtime/react` | browser + server | evolving<br>_redefined in 0 of the
|
|
114
|
-
| `stitchkit/agent-runtime/realtime` | server (Bun or Node) | evolving<br>_redefined in 2 of the
|
|
115
|
-
| `stitchkit/agent-executor` | server (Bun or Node) | evolving<br>_redefined in 4 of the
|
|
116
|
-
| `stitchkit/agent-executor/claude` | server (Bun or Node) | evolving<br>_redefined in 0 of the
|
|
117
|
-
| `stitchkit/agent-executor/claude-sdk` | server (Bun or Node) | evolving<br>_redefined in 1 of the
|
|
118
|
-
| `stitchkit/agent-executor/acp` | server (Bun or Node) | evolving<br>_redefined in 0 of the
|
|
119
|
-
| `stitchkit/agent-executor/codex` | server (Bun or Node) | evolving<br>_redefined in 3 of the
|
|
120
|
-
| `stitchkit/agent-executor/testing` | server (Bun or Node) | evolving<br>_redefined in 1 of the
|
|
121
|
-
| `stitchkit/agent-executor/testing/claude-sdk` | server (Bun or Node) | evolving<br>_redefined in 0 of the
|
|
122
|
-
| `stitchkit/agent-runtime/postgres` | server (Bun or Node) | evolving<br>_redefined in 0 of the
|
|
123
|
-
| `stitchkit/agent-runtime/sqlite/bun` | server (Bun) | evolving<br>_redefined in 1 of the
|
|
124
|
-
| `stitchkit/agent-runtime/sqlite/node` | server (Node ≥ 22.5) | evolving<br>_redefined in 1 of the
|
|
50
|
+
| `stitchkit` | browser **and** server | stable<br>_redefined in 6 of the 42 minors since 0.94.0, most recently 0.135.0_ | `defineContract`, `createClient`, `createHttpClient`, `createSocketIOClient`, `parseSSE`, the error model |
|
|
51
|
+
| `stitchkit/http` | browser, React Native/Hermes **and** server | evolving<br>_redefined in 3 of the 42 minors since 0.94.0, most recently 0.135.0_ | typed HTTP client factories and `ApiError`, without optional realtime peers |
|
|
52
|
+
| `stitchkit/realtime` | browser, React Native/Hermes **and** server | evolving<br>_redefined in 1 of the 42 minors since 0.94.0, most recently 0.127.0_ | typed realtime clients, binding to an existing socket and retained topics with a required explicit Socket.IO peer loader |
|
|
53
|
+
| `stitchkit/device-relay` | browser, React Native/Hermes **and** server | evolving<br>_redefined in 0 of the 2 minors since 0.134.0_ | peer-free User Device Relay over realtime — `createDeviceRelayHub`, `createDeviceRelayAgent`, `createMemoryRelayBroker`, `deviceRelayRealtimeContract`, Fetch-compatible unary RPC and credit-paced cursor streams |
|
|
54
|
+
| `stitchkit/contract` | browser **and** server | stable<br>_redefined in 5 of the 42 minors since 0.94.0, most recently 0.127.0_ | the contract layer alone — `defineContract`, errors, pagination |
|
|
55
|
+
| `stitchkit/live` | browser **and** server | evolving<br>_redefined in 2 of the 42 minors since 0.94.0, most recently 0.127.0_ | `defineEvents` — topic declarations beside the operation contract — and watched reads: `createWatchClient`, the value/difference frame and its reassembly |
|
|
56
|
+
| `stitchkit/primitives` | browser **and** server | evolving<br>_redefined in 0 of the 42 minors since 0.94.0_ | generic values and declarations for lifecycle, access, audit, delivery and exports, exact money and rounding tables |
|
|
57
|
+
| `stitchkit/handler` | browser, React Native/Hermes **and** server | evolving<br>_redefined in 0 of the 9 minors since 0.127.0_ | portable `createHandler`, `implement`, errors and `serveBridge` over a string `postMessage` port, with no Node built-ins |
|
|
58
|
+
| `stitchkit/server` | server (Bun) | stable<br>_redefined in 5 of the 42 minors since 0.94.0, most recently 0.127.0_ | `createServer`, `implement`, hooks, auth, Socket.IO server, server primitives |
|
|
59
|
+
| `stitchkit/node` | server (Node ≥ 22.3) | stable<br>_redefined in 2 of the 42 minors since 0.94.0, most recently 0.127.0_ | `serveNode` + the runtime-agnostic core — the Node mirror of `/server` |
|
|
60
|
+
| `stitchkit/tools` | server | stable<br>_redefined in 12 of the 42 minors since 0.94.0, most recently 0.135.0_ | the transport-neutral tool layer — `mountAgentTools`, `defineAgentTool`, registry, tool names and manifest, runtime tools, native tools, the OAuth provider, the durability engine; loads no optional peer at runtime |
|
|
61
|
+
| `stitchkit/tools/mcp` | server (Bun or Node) | evolving<br>_redefined in 3 of the 42 minors since 0.94.0, most recently 0.127.0_ | the canonical MCP HTTP/stdio server, schemas and typed MCP presenters; only Zod and the MCP server SDK peers |
|
|
62
|
+
| `stitchkit/tools/agent` | server (Bun or Node) | evolving<br>_redefined in 2 of the 42 minors since 0.94.0, most recently 0.134.0_ | `mountAgent` — thin AI SDK `ToolSet` adapter over `mountAgentTools` for apps driving their own SDK loop; only Zod and the `ai` peer |
|
|
63
|
+
| `stitchkit/tools/toolkit` | server (Bun or Node) | evolving<br>_redefined in 2 of the 42 minors since 0.94.0, most recently 0.135.0_ | `createToolkit` — context-pinned MCP, peer-free agent (`mountAgentTools`), and CLI mounts; only the MCP server SDK peer (no `ai` peer) |
|
|
64
|
+
| `stitchkit/tools/contract` | browser + server | evolving<br>_redefined in 2 of the 42 minors since 0.94.0, most recently 0.124.0_ | the shapes a tool surface speaks — async-operation contract, snapshot and cancel schemas, view-file input/output — without the runtime that serves them |
|
|
65
|
+
| `stitchkit/tools/invoker` | server | stable<br>_redefined in 3 of the 42 minors since 0.94.0, most recently 0.127.0_ | peer-free `createToolInvoker` over the canonical contract tool runner |
|
|
66
|
+
| `stitchkit/tools/connections` | server (Bun or Node) | evolving<br>_redefined in 3 of the 42 minors since 0.94.0, most recently 0.127.0_ | consume external MCP servers and a bounded OpenAPI subset — typed reauthorization, a per-request host fence and per-call credentials |
|
|
67
|
+
| `stitchkit/cli` | server | stable<br>_redefined in 12 of the 42 minors since 0.94.0, most recently 0.128.0_ | `createCli` / `createCliInvoker` — runtime and strict NodeNext declarations without MCP SDK / `ai` |
|
|
68
|
+
| `stitchkit/cli/publish` | build and release tooling (Bun or Node, POSIX) | evolving<br>_redefined in 0 of the 42 minors since 0.94.0_ | `publishCli` — commit a verified CLI distribution and move its public manifest last; see [CLI guide](cli.md#publishing-a-complete-version) |
|
|
69
|
+
| `stitchkit/remote` | browser **and** server | stable<br>_redefined in 1 of the 42 minors since 0.94.0, most recently 0.104.0_ | peer-free `implementRemote` for thin HTTP proxy processes |
|
|
70
|
+
| `stitchkit/process` | server (Bun or Node, POSIX) | evolving<br>_redefined in 4 of the 42 minors since 0.94.0, most recently 0.133.0_ | finite native commands, byte sinks, bounded capture, process-group cancellation and opt-in Linux/Darwin owner-loss cleanup; contract operations executed in one-call child processes |
|
|
71
|
+
| `stitchkit/process/bootstrap` | bundled server entry (Bun, POSIX) | evolving<br>_redefined in 0 of the 3 minors since 0.133.0_ | narrow bootstrap that keeps the process runner lazy while carrying the package's own invocations — the owner-loss guard and the process root of launched work — in a single-file bundle |
|
|
72
|
+
| `stitchkit/files/packaging` | build time (Bun or Node) | evolving<br>_redefined in 4 of the 42 minors since 0.94.0, most recently 0.133.0_ | installed native asset graph, integrity, Bun packaging plugin and the artifact loader check; a client bundled into one self-contained, hashed file; a typed client built into a proven npm package with several entries, declarations and external peers; no runtime install policy |
|
|
73
|
+
| `stitchkit/files` | server (Bun or Node) | stable<br>_redefined in 5 of the 42 minors since 0.94.0, most recently 0.133.0_ | peer-free managed local-file boundary |
|
|
74
|
+
| `stitchkit/spend` | server (Bun or Node) | evolving<br>_redefined in 0 of the 9 minors since 0.127.0_ | peer-free spend gateway for paid model APIs: the attempt recorded before the call and closed on every outcome, credentials only for the provider's origin, a spooled ledger, rank-merged receipts and a reconciler |
|
|
75
|
+
| `stitchkit/spend/testing` | tests on Bun or Node | evolving<br>_redefined in 0 of the 9 minors since 0.127.0_ | the coverage guard: red on a model SDK import, a provider key or a provider host outside the gateway files |
|
|
76
|
+
| `stitchkit/service-host` | server (Bun or Node) | evolving<br>_redefined in 0 of the 9 minors since 0.127.0_ | peer-free host service supervision — verified versioned artifact activation, Linux `systemd` and macOS `launchd` units (`plutil`, `bootout`/`bootstrap`, rollback), live process/Unix-socket identity verification, and an in-process config-watched reloader |
|
|
77
|
+
| `stitchkit/service-host/macos` | server (Bun or Node, macOS) | evolving<br>_redefined in 0 of the 9 minors since 0.127.0_ | peer-free macOS daemon bundle toolkit — fail-closed Developer ID `codesign`, strict C11 launcher `.app` bundles with atomic `RENAME_SWAP` install/rollback, Apple 824×824 squircle `AppIcon.icns`, streaming `lsregister` maintenance, and TCC responsibility inspection |
|
|
78
|
+
| `stitchkit/service-host/work` | server (Bun or Node; Linux with systemd ≥ 254, or a process root on Linux and macOS) | evolving<br>_redefined in 0 of the 3 minors since 0.133.0_ | peer-free launch of work in its own boundary with a declared owner — a transient systemd scope or a recorded process root, the typed owner record, the one inherited variable that names the boundary, and the membership check that asks the boundary; see [native I/O](native-io.md#work-in-its-own-boundary) |
|
|
79
|
+
| `stitchkit/telegram` | server (Bun or Node) | evolving<br>_redefined in 8 of the 42 minors since 0.94.0, most recently 0.127.0_ | peer-free Telegram platform primitives — Mini App `initData` verification, widget limits and the `widget_query` and widget message schemas, send-failure classification, one outbound budget per bot token with weighted albums and per-chat 429 pauses, resumable broadcasts, the operator channel with dedupe, a Bot API transport that separates a request that never left from an unknown outcome, local Bot API files, the waveform of a voice message read from its PCM, webhook ownership and durable webhook update intake |
|
|
80
|
+
| `stitchkit/telegram/grammy` | server (Bun or Node) | evolving<br>_redefined in 0 of the 42 minors since 0.94.0_ | the token's outbound budget as one grammY client transformer — a 429 that comes back as a response pauses its chat, and a cancelled wait is a request that never left; the widget methods over the same client |
|
|
81
|
+
| `stitchkit/telegram/html` | browser and server | evolving<br>_redefined in 1 of the 42 minors since 0.94.0, most recently 0.127.0_ | Telegram's HTML as a tree — compile GFM Markdown to Telegram HTML with fence-aware splitting, clean any markup to what Telegram accepts, cut long text into valid parts by what the reader sees, check markup before it is sent |
|
|
82
|
+
| `stitchkit/telegram/voice` | browser and server | evolving<br>_redefined in 0 of the 42 minors since 0.94.0_ | the waveform of a voice message as one format — packed for `sendVoice` the way Telegram Desktop scales it, unpacked to draw it, a `getMe` read of whether the server takes it |
|
|
83
|
+
| `stitchkit/telegram/screens` | server (Bun or Node) | evolving<br>_redefined in 1 of the 42 minors since 0.94.0, most recently 0.127.0_ | a bot's menus as declared screens over grammY — typed paths, actions and input, message reconciliation, state in any `StorageAdapter`, a test chat |
|
|
84
|
+
| `stitchkit/tracking` | browser **and** server | evolving<br>_redefined in 3 of the 42 minors since 0.94.0, most recently 0.127.0_ | visitor-tracking mechanics — `createTrackingClient`, the tab-shared outbox, the page-leave beacon, attribution, the contract factory; no event vocabulary, no React |
|
|
85
|
+
| `stitchkit/tracking/contract` | browser **and** server | evolving<br>_redefined in 0 of the 42 minors since 0.94.0_ | the wire shapes — the contract factory, event and visit schemas, the performance sample and its trust threshold; brings `zod` |
|
|
86
|
+
| `stitchkit/tracking/performance` | browser **and** server | evolving<br>_redefined in 1 of the 42 minors since 0.94.0, most recently 0.127.0_ | Web Vitals from real visitors, collected after load through the optional peer `web-vitals`; no `zod` |
|
|
87
|
+
| `stitchkit/tracking/server` | server (Bun or Node) | evolving<br>_redefined in 0 of the 42 minors since 0.94.0_ | the decisions a tracking backend makes — dispositions, visit lease over an application-owned store, active intervals, presence; no database |
|
|
88
|
+
| `stitchkit/release` | browser **and** server | evolving<br>_redefined in 1 of the 42 minors since 0.94.0, most recently 0.127.0_ | a page follows the release it was built for — `createReleaseMarker` on the server, `createReleaseWatcher` in the browser, the `X-Build-Id` header and a socket event between them |
|
|
89
|
+
| `stitchkit/voice` | browser **and** server | evolving<br>_redefined in 0 of the 42 minors since 0.94.0_ | the mechanics of a live voice reply — `SentenceCutter`, `speakableText`, a `SpeechQueue` that synthesises ahead and stops on interruption, the conversation phases |
|
|
90
|
+
| `stitchkit/sync` | browser **and** server | evolving<br>_redefined in 1 of the 9 minors since 0.127.0, most recently 0.132.0_ | the client half of an offline-first sync — which outbox rows leave next, pending edits on top of remote rows, deletes that win until acknowledged, the cursor session, the push and page wire with an open outcome vocabulary; no driver, runs in Hermes |
|
|
91
|
+
| `stitchkit/sync/postgres` | server (Bun or Node) | evolving<br>_redefined in 0 of the 9 minors since 0.127.0_ | the server half — versions that commit in order, a ledger that runs each change once, a feed of what changed, inside the app's own transaction; a memory store and `checkSyncStore` |
|
|
92
|
+
| `stitchkit/geo` | server (Bun or Node) | evolving<br>_redefined in 2 of the 42 minors since 0.94.0, most recently 0.127.0_ | managed GeoIP reader generations, last-known-good reload and the optional MaxMind adapter |
|
|
93
|
+
| `stitchkit/geo/contract` | browser **and** server | evolving<br>_redefined in 0 of the 42 minors since 0.94.0_ | the place snapshot schema, for a shared contract that stores or sends `GeoAttribution`; brings `zod` |
|
|
94
|
+
| `stitchkit/xlsx` | browser **and** server | evolving<br>_redefined in 0 of the 42 minors since 0.94.0_ | a workbook from rows and typed columns, with no dependency; text never runs as a formula |
|
|
95
|
+
| `stitchkit/oauth` | browser **and** server | evolving<br>_redefined in 0 of the 42 minors since 0.94.0_ | provider-neutral Authorization Code + PKCE request and one-shot callback transaction mechanics |
|
|
96
|
+
| `stitchkit/google` | server (Bun or Node) | evolving<br>_redefined in 1 of the 42 minors since 0.94.0, most recently 0.127.0_ | optional Google code exchange and verified OIDC identity adapter |
|
|
97
|
+
| `stitchkit/observability` | server | stable<br>_redefined in 1 of the 42 minors since 0.94.0, most recently 0.127.0_ | request/tool event projections — `createObservability`, trace context, sanitisation |
|
|
98
|
+
| `stitchkit/testing` | tests on Bun or Node | stable<br>_redefined in 3 of the 42 minors since 0.94.0, most recently 0.127.0_ | in-process generated clients over a real Fetch handler, the managed-resource conformance kit and manual time for schedules and retries |
|
|
99
|
+
| `stitchkit/declaration` | browser + build and deployment tooling (Bun or Node) | evolving<br>_redefined in 1 of the 42 minors since 0.94.0, most recently 0.128.0_ | `ProjectDeclarationSchema` — the one machine-readable statement a repository makes about itself |
|
|
100
|
+
| `stitchkit/react` | browser + server rendering | stable<br>_redefined in 2 of the 42 minors since 0.94.0, most recently 0.127.0_ | `createCursorQuery`, `createCacheBridge`, QueryClient and `ApiError` retry policy |
|
|
101
|
+
| `stitchkit/react/keyboard` | browser | evolving<br>_redefined in 1 of the 42 minors since 0.94.0, most recently 0.115.0_ | which part of a screen gets a key — ordered layers, one Escape per level, list zones with real focus; see [keyboard guide](keyboard.md) |
|
|
102
|
+
| `stitchkit/react/keyboard/testing` | server (Bun or Node) | evolving<br>_redefined in 0 of the 42 minors since 0.94.0_ | the keyboard layers and zones without a DOM — fakes for the window, elements and key events beside the two engines, to test the order of layers, `scope`/`inert` and the edges of a zone in milliseconds |
|
|
103
|
+
| `stitchkit/agent-runtime` | server | evolving<br>_redefined in 11 of the 42 minors since 0.94.0, most recently 0.135.0_ | peer-free durable conversation/run loop over `AgentModelDriver`, stateless `completeText`/`completeObject`, driver composition, history, models, prompts, fencing and events |
|
|
104
|
+
| `stitchkit/agent-runtime/sandbox` | server | evolving<br>_redefined in 0 of the 42 minors since 0.94.0_ | optional Linux Bubblewrap sessions, long-lived OS process sandboxes (`createProcessSandbox`, `probeProcessSandbox`, `buildSeatbeltProfile`), durable workspaces and a host HTTP credential gateway; see [sandbox guide](sandbox.md) |
|
|
105
|
+
| `stitchkit/agent-runtime/testing` | tests on Bun or Node | evolving<br>_redefined in 3 of the 42 minors since 0.94.0, most recently 0.134.0_ | peer-free `createScriptedModelDriver`, credential-free replay, scripted provider faults, deterministic race controls and the agent-store conformance kit |
|
|
106
|
+
| `stitchkit/agent-runtime/harness` | server | evolving<br>_redefined in 1 of the 42 minors since 0.94.0, most recently 0.134.0_ | peer-free resource-aware process-local facade over the canonical Agent runtime; supervision stays outside |
|
|
107
|
+
| `stitchkit/agent-runtime/coding-tools` | server (Bun or Node) | evolving<br>_redefined in 3 of the 42 minors since 0.94.0, most recently 0.127.0_ | bounded host-authorized direct file and shell tools; a root boundary, not an OS sandbox |
|
|
108
|
+
| `stitchkit/agent-runtime/openrouter` | server | evolving<br>_redefined in 3 of the 42 minors since 0.94.0, most recently 0.135.0_ | peer-free native OpenRouter Chat Completions SSE driver, catalog, admission, route pinning and spend reconciliation |
|
|
109
|
+
| `stitchkit/agent-runtime/openai` | server | evolving<br>_redefined in 0 of the 2 minors since 0.134.0_ | peer-free native OpenAI Responses API (`POST /v1/responses`) driver, policy schemas and provenance-aware usage normalization |
|
|
110
|
+
| `stitchkit/agent-runtime/anthropic` | server | evolving<br>_redefined in 0 of the 2 minors since 0.134.0_ | peer-free native Anthropic Messages API (`POST /v1/messages`) driver, thinking/cache policy schemas and provenance-aware usage normalization |
|
|
111
|
+
| `stitchkit/agent-runtime/ai-sdk` | server | evolving<br>_redefined in 0 of the 2 minors since 0.134.0_ | thin optional-peer adapter (`fromAiSdkModel`, `fromAiSdkTools`) bridging AI SDK (`LanguageModelV4` from `ai@7`) models and `ToolSet`s onto `AgentModelDriver` and `AgentToolSet`; requires `ai` |
|
|
112
|
+
| `stitchkit/agent-runtime/browser` | browser + server | evolving<br>_redefined in 2 of the 42 minors since 0.94.0, most recently 0.127.0_ | canonical agent records, events, reconnect cursor, interactive approval/input/permission-mode/host-status state (`deriveAgentConversationActivity`, `deriveAgentConversationState`, `delivery: 'unknown'` reconciliation) and optional conversation controller |
|
|
113
|
+
| `stitchkit/agent-runtime/react` | browser + server | evolving<br>_redefined in 0 of the 42 minors since 0.94.0_ | React subscription to an application-owned agent controller |
|
|
114
|
+
| `stitchkit/agent-runtime/realtime` | server (Bun or Node) | evolving<br>_redefined in 2 of the 42 minors since 0.94.0, most recently 0.127.0_ | authorized agent control over the existing Socket.IO server |
|
|
115
|
+
| `stitchkit/agent-executor` | server (Bun or Node) | evolving<br>_redefined in 4 of the 9 minors since 0.127.0, most recently 0.133.0_ | the executor ↔ server contract for external coding agents (Claude Code, Codex, ACP): delta vocabulary (including `ExecutorPlanDelta`) over the shared message parts, thread leases with a fence, turn phases and their reports |
|
|
116
|
+
| `stitchkit/agent-executor/claude` | server (Bun or Node) | evolving<br>_redefined in 0 of the 9 minors since 0.127.0_ | the Claude Code driver: the unmodified CLI over `stream-json`, permission requests answered by the host, reconcile by the input's id in the profile's transcript |
|
|
117
|
+
| `stitchkit/agent-executor/claude-sdk` | server (Bun or Node) | evolving<br>_redefined in 1 of the 9 minors since 0.127.0, most recently 0.131.0_ | Claude through the Agent SDK: the application's `query` (optional peer `@anthropic-ai/claude-agent-sdk`), the CLI's classifier, `canUseTool` asked of the host |
|
|
118
|
+
| `stitchkit/agent-executor/acp` | server (Bun or Node) | evolving<br>_redefined in 0 of the 9 minors since 0.127.0_ | an Agent Client Protocol v1 agent over stdio: settings by category, images, MCP servers, tool metadata (`title`/`kind`/`locations`), meaningful `tool_call_update` progress updates, typed `plan` deltas, `session/resume`/`load`/`list`, `session/cancel`; no reconcile |
|
|
119
|
+
| `stitchkit/agent-executor/codex` | server (Bun or Node) | evolving<br>_redefined in 3 of the 9 minors since 0.127.0, most recently 0.133.0_ | the Codex driver: `codex app-server` over stdio or Unix-socket WebSocket (`unix-listen` / `unix-connect`), thread policy and live controls, approval and input requests answered by the host, unknown server requests refused, reconcile by the client id in `thread/turns/list` |
|
|
120
|
+
| `stitchkit/agent-executor/testing` | server (Bun or Node) | evolving<br>_redefined in 1 of the 9 minors since 0.127.0, most recently 0.133.0_ | the engine conformance kit, deterministic replay driver, portable fake Codex app-server, fail-loud consumer stub factories, and schema-validated test fixtures; no optional peer |
|
|
121
|
+
| `stitchkit/agent-executor/testing/claude-sdk` | server (Bun or Node) | evolving<br>_redefined in 0 of the 3 minors since 0.133.0_ | the multi-turn fake Claude SDK query harness and the Claude SDK session stub, typed by the optional peer `@anthropic-ai/claude-agent-sdk` |
|
|
122
|
+
| `stitchkit/agent-runtime/postgres` | server (Bun or Node) | evolving<br>_redefined in 0 of the 9 minors since 0.127.0_ | the agent store, conversation reader and companion host on Postgres, over the application's own client (Bun SQL, Prisma, `pg`) |
|
|
123
|
+
| `stitchkit/agent-runtime/sqlite/bun` | server (Bun) | evolving<br>_redefined in 1 of the 42 minors since 0.94.0, most recently 0.127.0_ | durable built-in SQLite store for the agent runtime |
|
|
124
|
+
| `stitchkit/agent-runtime/sqlite/node` | server (Node ≥ 22.5) | evolving<br>_redefined in 1 of the 42 minors since 0.94.0, most recently 0.127.0_ | durable built-in SQLite store for the agent runtime |
|
|
125
125
|
| `stitchkit-tui` | terminal (Bun) | evolving | optional official OpenTUI host over a caller-composed headless runtime |
|
|
126
|
-
| `stitchkit/application` | browser + server | evolving<br>_redefined in 9 of the
|
|
127
|
-
| `stitchkit/application/grammy` | server | evolving<br>_redefined in 0 of the
|
|
128
|
-
| `stitchkit/application/opentelemetry` | server | evolving<br>_redefined in 0 of the
|
|
129
|
-
| `stitchkit/application/diagnostic-journal` | server | evolving<br>_redefined in 3 of the
|
|
130
|
-
| `stitchkit/application/directory-inbox` | server | evolving<br>_redefined in 0 of the
|
|
126
|
+
| `stitchkit/application` | browser + server | evolving<br>_redefined in 9 of the 42 minors since 0.94.0, most recently 0.127.0_ | managed resource graph, readiness, admission, schedules, subtree restart and bounded shutdown |
|
|
127
|
+
| `stitchkit/application/grammy` | server | evolving<br>_redefined in 0 of the 42 minors since 0.94.0_ | a grammY bot as application resources — configuration, then polling with updates admitted by batch — and the webhook adapter |
|
|
128
|
+
| `stitchkit/application/opentelemetry` | server | evolving<br>_redefined in 0 of the 42 minors since 0.94.0_ | maps application snapshots onto an injected OpenTelemetry `Meter` |
|
|
129
|
+
| `stitchkit/application/diagnostic-journal` | server | evolving<br>_redefined in 3 of the 42 minors since 0.94.0, most recently 0.127.0_ | the local diagnostic journal — an exclusive bounded writer and snapshot reader with explicit anomalies |
|
|
130
|
+
| `stitchkit/application/directory-inbox` | server | evolving<br>_redefined in 0 of the 42 minors since 0.94.0_ | the directory inbox — entries another program drops into a directory, delivered to the application at least once |
|
|
131
131
|
|
|
132
132
|
Rule of thumb: browser code imports `stitchkit` and `stitchkit/react`; server
|
|
133
133
|
code adds `stitchkit/server` (or `stitchkit/node` on Node) and opts into
|
|
@@ -228,7 +228,7 @@ map — feature → packages:
|
|
|
228
228
|
| Tool layer — registry, tool names, runtime tools (`stitchkit/tools`) | — |
|
|
229
229
|
| MCP server (`stitchkit/tools/mcp`) | `@modelcontextprotocol/server` |
|
|
230
230
|
| AI SDK agent tools (`stitchkit/tools/agent`) | `ai` |
|
|
231
|
-
|
|
|
231
|
+
| Context-pinned tool mounts (`stitchkit/tools/toolkit`) | `@modelcontextprotocol/server` |
|
|
232
232
|
| Agent application runtime (`stitchkit/agent-runtime`) | — (peer-free) |
|
|
233
233
|
| Headless Agent harness (`stitchkit/agent-runtime/harness`) | — (peer-free) |
|
|
234
234
|
| Agent coding tools (`stitchkit/agent-runtime/coding-tools`) | — (peer-free) |
|
|
@@ -270,12 +270,12 @@ and install command. Static entrypoints such as `stitchkit/tools/mcp` fail durin
|
|
|
270
270
|
ESM resolution by naming the exact missing package; the feature-to-peer matrix
|
|
271
271
|
below is the canonical install command.
|
|
272
272
|
|
|
273
|
-
`stitchkit/tools` itself loads no optional peer
|
|
274
|
-
|
|
273
|
+
`stitchkit/tools` itself loads no optional peer, and `stitchkit/tools/toolkit`
|
|
274
|
+
stays free of `ai` (ADR 0338). Install only the peer of the adapter you import:
|
|
275
275
|
|
|
276
276
|
```bash
|
|
277
277
|
bun add @modelcontextprotocol/server@^2 # stitchkit/tools/mcp or stitchkit/tools/toolkit
|
|
278
|
-
bun add ai@^7 # stitchkit/tools/agent
|
|
278
|
+
bun add ai@^7 # stitchkit/tools/agent or stitchkit/agent-runtime/ai-sdk
|
|
279
279
|
```
|
|
280
280
|
|
|
281
281
|
Browser, HTTP-client and React entrypoints remain usable without either MCP
|
|
@@ -1343,9 +1343,11 @@ which. Anything an auth hook attaches (e.g. the resolved user) is also on `ctx`.
|
|
|
1343
1343
|
|
|
1344
1344
|
### Inbound deadline budgets
|
|
1345
1345
|
|
|
1346
|
-
When an HTTP caller
|
|
1347
|
-
`createHttpClient({ propagateDeadline: true })`,
|
|
1348
|
-
`
|
|
1346
|
+
When an HTTP caller explicitly opts into sending its relative remaining budget in
|
|
1347
|
+
`x-stitchkit-timeout-ms` (via `createHttpClient({ propagateDeadline: true })`,
|
|
1348
|
+
`createClient(contract, { baseUrl, propagateDeadline: true })`, or per-call
|
|
1349
|
+
`withOptions(..., { propagateDeadline: true })` — propagation defaults to `false` and is never
|
|
1350
|
+
auto-enabled by `timeout` or a contract endpoint's `timeout`, → ADR 0337):
|
|
1349
1351
|
|
|
1350
1352
|
- `createHandler` / `createServer` clamps the inbound budget to the endpoint's declared `timeout`
|
|
1351
1353
|
(a caller can narrow its budget, never extend it past the server's own ceiling).
|
|
@@ -1364,8 +1366,8 @@ When an HTTP caller sends a relative remaining budget in `x-stitchkit-timeout-ms
|
|
|
1364
1366
|
- Inside the handler, `ctx.remainingTimeoutMs?.(reserveMs?)` returns the live remaining integer
|
|
1365
1367
|
milliseconds (clamped to `>= 0`, subtracting optional `reserveMs` for response serialization), or
|
|
1366
1368
|
`undefined` when neither an inbound header nor an endpoint `timeout` bounds the request. Always
|
|
1367
|
-
check `remaining <= 0` before forwarding `{ timeout: remaining }` so an
|
|
1368
|
-
`408` instead of throwing a `RangeError` from timer validation:
|
|
1369
|
+
check `remaining <= 0` before forwarding `{ timeout: remaining, propagateDeadline: true }` so an
|
|
1370
|
+
exhausted budget fails with `408` instead of throwing a `RangeError` from timer validation:
|
|
1369
1371
|
|
|
1370
1372
|
```ts
|
|
1371
1373
|
const remaining = ctx.remainingTimeoutMs?.(200)
|
|
@@ -1375,7 +1377,9 @@ if (remaining !== undefined && remaining <= 0) {
|
|
|
1375
1377
|
message: 'Request deadline budget exhausted',
|
|
1376
1378
|
})
|
|
1377
1379
|
}
|
|
1378
|
-
await downstream.list.withOptions(
|
|
1380
|
+
await downstream.list.withOptions(
|
|
1381
|
+
remaining !== undefined ? { timeout: remaining, propagateDeadline: true } : {},
|
|
1382
|
+
)
|
|
1379
1383
|
```
|
|
1380
1384
|
|
|
1381
1385
|
### Request attributes from the ingress
|
|
@@ -3147,7 +3151,7 @@ without repeating transport configuration.
|
|
|
3147
3151
|
| `suppressUnauthorizedFor` | `[]` | exact contract-derived operation matchers whose expected 401 does not emit `unauthorized` |
|
|
3148
3152
|
| `parseError` | built-in | map an error body to `{ code, message, details, hint }` |
|
|
3149
3153
|
| `trace` | `false` | emit a W3C `traceparent` header on every request |
|
|
3150
|
-
| `propagateDeadline` | `false`
|
|
3154
|
+
| `propagateDeadline` | `false` | explicitly opt into emitting the relative `x-stitchkit-timeout-ms` remaining budget header on outbound requests (never auto-enabled by `timeout` or contract `endpoint.timeout`) |
|
|
3151
3155
|
| `unix` | — | dial a unix domain socket instead of TCP (Bun only, see below) |
|
|
3152
3156
|
|
|
3153
3157
|
`headers` as a function is the hook for runtime tokens — a bearer token or any
|
|
@@ -3480,24 +3484,31 @@ await api.health.withOptions({ signal: controller.signal })
|
|
|
3480
3484
|
|
|
3481
3485
|
### Deadline budget propagation
|
|
3482
3486
|
|
|
3483
|
-
To avoid wasted work after a caller gives up, the client can
|
|
3484
|
-
a relative integer millisecond header (`x-stitchkit-timeout-ms`,
|
|
3487
|
+
To avoid wasted work after a caller gives up, the client can opt into sending its remaining
|
|
3488
|
+
monotonic budget as a relative integer millisecond header (`x-stitchkit-timeout-ms`,
|
|
3489
|
+
`DEADLINE_BUDGET_HEADER`):
|
|
3485
3490
|
|
|
3486
3491
|
```ts
|
|
3492
|
+
// Client-wide opt-in (applies to every call unless overridden with `propagateDeadline: false`):
|
|
3487
3493
|
const http = createHttpClient({ baseUrl: '/api', propagateDeadline: true })
|
|
3488
|
-
// In createClient, an endpoint's declared `timeout` and per-call `timeout` both propagate
|
|
3489
|
-
// automatically unless `propagateDeadline: false` is passed:
|
|
3490
3494
|
await api.reports.generate.withOptions({ id }, { timeout: 5_000 })
|
|
3491
3495
|
await api.reports.generate.withOptions({ id }, { timeout: 5_000, propagateDeadline: false })
|
|
3496
|
+
|
|
3497
|
+
// Or opt in on a single call when the client keeps the default `propagateDeadline: false`:
|
|
3498
|
+
await api.reports.generate.withOptions({ id }, { timeout: 5_000, propagateDeadline: true })
|
|
3492
3499
|
```
|
|
3493
3500
|
|
|
3494
|
-
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
`
|
|
3500
|
-
|
|
3501
|
+
Deadline propagation is **explicit opt-in** (`false` by default) in both `createHttpClient` and
|
|
3502
|
+
`createClient` (→ ADR 0337). Setting `config.timeout`, a contract endpoint's `timeout`, or a
|
|
3503
|
+
per-call `timeout` bounds only the local client deadline and never adds `x-stitchkit-timeout-ms`
|
|
3504
|
+
on the wire (avoiding unexpected CORS preflights against third-party origins or custom allowlists).
|
|
3505
|
+
Precedence is symmetric across both client transports:
|
|
3506
|
+
`options.propagateDeadline ?? config.propagateDeadline ?? false`. When enabled, each transport
|
|
3507
|
+
retry recomputes the remaining budget before sending instead of replaying the original full
|
|
3508
|
+
timeout. When an explicit `x-stitchkit-timeout-ms` header is already set on the request, the
|
|
3509
|
+
client preserves it. On the server, `createHandler` / `createServer` clamps that budget against
|
|
3510
|
+
the endpoint's declared `timeout` and exposes `ctx.remainingTimeoutMs?.(reserveMs?)` (see
|
|
3511
|
+
[HTTP server](./server.md#inbound-deadline-budgets)).
|
|
3501
3512
|
|
|
3502
3513
|
### Upload progress
|
|
3503
3514
|
|
|
@@ -6414,7 +6425,7 @@ bun add stitchkit zod
|
|
|
6414
6425
|
(`stitchkit/agent-runtime/openrouter`, `stitchkit/agent-runtime/openai`,
|
|
6415
6426
|
`stitchkit/agent-runtime/anthropic`) are completely peer-free beyond `zod`.
|
|
6416
6427
|
|
|
6417
|
-
Install `ai` only when bridging an existing AI SDK
|
|
6428
|
+
Install `ai` only when bridging an existing AI SDK (`LanguageModelV4` from `ai@7`) or `ToolSet`
|
|
6418
6429
|
through the thin optional-peer adapter `stitchkit/agent-runtime/ai-sdk`
|
|
6419
6430
|
(`fromAiSdkModel`, `fromAiSdkTools`) or mounting an AI SDK `ToolSet` through
|
|
6420
6431
|
`stitchkit/tools/agent` (`mountAgent`):
|
|
@@ -6566,7 +6577,7 @@ freshly per stream call and reporting server `response.timestamp` alongside `mod
|
|
|
6566
6577
|
≤ 4 cache breakpoints with TTL-order checks, `output_config.format` JSON Schema (refusing
|
|
6567
6578
|
schemaless `json-object`), and retryable `529 overloaded_error` classification.
|
|
6568
6579
|
|
|
6569
|
-
For an existing AI SDK
|
|
6580
|
+
For an existing AI SDK (`LanguageModelV4` from `ai@7`) model or `ToolSet`, import `fromAiSdkModel` and `fromAiSdkTools` from
|
|
6570
6581
|
`stitchkit/agent-runtime/ai-sdk`. Both adapt directly onto `AgentModelDriver` and `AgentToolSet`
|
|
6571
6582
|
(driving `model.doStream()` without importing `streamText` or `generateText`) and normalize legacy
|
|
6572
6583
|
deprecated tool outputs into canonical `{ type: 'file', data, mediaType }` parts.
|
|
@@ -6584,6 +6595,32 @@ const base = openAiProvider({ apiKey: env.OPENAI_API_KEY }).create('gpt-5')
|
|
|
6584
6595
|
const guarded = composeModelDrivers(base, [admissionDecorator, telemetryDecorator])
|
|
6585
6596
|
```
|
|
6586
6597
|
|
|
6598
|
+
### OpenRouter non-chat endpoints and shared transport
|
|
6599
|
+
|
|
6600
|
+
`stitchkit/agent-runtime/openrouter` also exports the canonical `OPENROUTER_API_BASE_URL`
|
|
6601
|
+
(`https://openrouter.ai/api/v1`), `OpenRouterFetch`, generic non-chat transport helpers
|
|
6602
|
+
(`openRouterRequestJson` and `openRouterRequestStream`), and typed modality clients — all
|
|
6603
|
+
peer-free, Web Fetch-clean, redirect-safe (`redirect: 'error'` plus response-level refusal), and
|
|
6604
|
+
compatible with `gateway.fetchFor('openrouter')` and custom `baseUrl` overrides:
|
|
6605
|
+
|
|
6606
|
+
- **Decision models (`POST /systemone`):** `openRouterSystemOne` sends `noul`, `choice`, and
|
|
6607
|
+
`score` questions over text or structured `state` and returns calibrated probability answers plus
|
|
6608
|
+
`generationId` and `costUsd`.
|
|
6609
|
+
- **Audio (`POST /audio/transcriptions` and `POST /audio/speech`):** `openRouterAudioTranscription`
|
|
6610
|
+
accepts `audio: { kind: 'base64' | 'url' | 'file' }` (JSON or automatic `FormData` multipart
|
|
6611
|
+
without manual `Content-Type`), `verbose_json`, `timestampGranularities`, and `diarize`;
|
|
6612
|
+
`openRouterAudioSpeech` streams synthesized audio bytes (`ReadableStream<Uint8Array>`).
|
|
6613
|
+
- **Images & Video (`POST /images` and `/videos`):** `openRouterGenerateImages` targets OpenRouter's
|
|
6614
|
+
Unified Image API (`b64_json` or signed `url`), while `openRouterSubmitVideo`,
|
|
6615
|
+
`openRouterGetVideo`, and `openRouterDownloadVideo` cover the async submit → poll → stream
|
|
6616
|
+
download lifecycle.
|
|
6617
|
+
- **Embeddings & Rerank (`POST /embeddings`, `POST /rerank`):** `openRouterEmbeddings` and
|
|
6618
|
+
`openRouterRerank` provide typed RAG vector and rescoring calls.
|
|
6619
|
+
- **Any other OpenRouter API v1 endpoint:** `openRouterRequestJson` (with optional Zod `schema`) and
|
|
6620
|
+
`openRouterRequestStream` (with open-phase `timeoutMs` disarmed once 2xx headers arrive) handle
|
|
6621
|
+
management or future endpoints (`/credits`, `/key`, `/responses`, `/images/models`, `/videos/models`)
|
|
6622
|
+
without custom wrappers.
|
|
6623
|
+
|
|
6587
6624
|
### OpenRouter catalog snapshots, pricing ceilings, and cache
|
|
6588
6625
|
|
|
6589
6626
|
`stitchkit/agent-runtime/openrouter` also provides a peer-free, Web Fetch-clean catalog layer for
|
|
@@ -6656,11 +6693,21 @@ extraction, classification, a bounded tool loop, or standalone streaming — cal
|
|
|
6656
6693
|
- Pass `onPart` on `completeText` / `completeObject` or use `streamComplete` to consume
|
|
6657
6694
|
`text-delta`, `reasoning-delta`, `tool-input-start`, `tool-call`, `tool-result` (preliminary and
|
|
6658
6695
|
final), `tool-error`, `attempt-reset`, `finish-step`, and `finish` events over a bounded async
|
|
6659
|
-
iterable without a store.
|
|
6696
|
+
iterable without a store. `streamComplete().parts` is single-use with a 64-part buffer: once
|
|
6697
|
+
iterated (`for await` or `parts[Symbol.asyncIterator]()`), backpressure pauses the producer when
|
|
6698
|
+
the buffer is full. If `parts` is never iterated, up to 64 parts buffer for late attachment and
|
|
6699
|
+
any overflow clears the queue without blocking so awaiting `result` alone (with or without
|
|
6700
|
+
`onPart`) completes in bounded memory; attempting to iterate `parts` after an unsubscribed
|
|
6701
|
+
overflow waits for completion and then propagates the run failure or throws an overflow `Error`
|
|
6702
|
+
instead of silently returning truncated parts.
|
|
6660
6703
|
- Standalone completions have no durable approval loop, so any tool with `needsApproval: true` (or
|
|
6661
|
-
a `needsApproval` predicate returning `true`)
|
|
6662
|
-
`AgentToolApprovalError` (`reason: 'approval-unsupported'`)
|
|
6663
|
-
the safe call proceed.
|
|
6704
|
+
a `needsApproval` predicate returning `true`) is preflighted across every validated call in the
|
|
6705
|
+
step and fails closed with `AgentToolApprovalError` (`reason: 'approval-unsupported'`) before any
|
|
6706
|
+
tool executes on that step; a predicate returning `false` lets the safe call proceed.
|
|
6707
|
+
- Pass `beforeStepToolCalls` and tool-level `stepBarriers` (`maxToolCallsPerStep`,
|
|
6708
|
+
`toolDependencies`, `onPredecessorFailure`) on `completeText` / `streamComplete` /
|
|
6709
|
+
`completeObject` to enforce the same batch-refusal, cap, and dependency-ordering policies as
|
|
6710
|
+
`createAgentRuntime` (durable stream-only `stepBarriers` keys fail fast with a `TypeError`).
|
|
6664
6711
|
- Pass `retry` (`AgentRetryPolicy`) and optional `onAttemptDiscarded` for stateless retry with
|
|
6665
6712
|
`Retry-After` handling; exhausting retries throws `AgentRetryExhaustedError` carrying every failed
|
|
6666
6713
|
attempt, `lastError`, and accumulated billable `usage`.
|
|
@@ -6781,7 +6828,10 @@ Selection is a versioned receipt in the ordinary durable tool-result history.
|
|
|
6781
6828
|
The latest valid same-run search replaces the earlier selection; parallel
|
|
6782
6829
|
searches in one step merge in call order. Recovery reconstructs it, while a
|
|
6783
6830
|
different run or finite surface cannot inherit it. Known inactive calls take a
|
|
6784
|
-
recoverable `SEARCH_REQUIRED` search round; unknown names still fail.
|
|
6831
|
+
recoverable `SEARCH_REQUIRED` search round; unknown names still fail. Inactive-call
|
|
6832
|
+
repair travels with the tool set returned by `deferred.mount()` — so wrapping
|
|
6833
|
+
`deferred.prepareStep()` or calling `completeText` preserves it automatically — and can
|
|
6834
|
+
also be composed explicitly with `deferred.repairToolCall(applicationRepairToolCall)`. The
|
|
6785
6835
|
runtime marks that round with `reason: 'inactive_call'` beside the exact tool
|
|
6786
6836
|
name. The field is the runtime's to write; a model that sets it anyway gets
|
|
6787
6837
|
the same `SEARCH_REQUIRED` answer with an exact name, and with a query in words
|
|
@@ -8206,9 +8256,25 @@ already committed run.
|
|
|
8206
8256
|
|
|
8207
8257
|
A named custom stop condition terminalizes with `policy_stop`; its `policyName`
|
|
8208
8258
|
is persisted on the run and included in the terminal event/result. `max-steps`
|
|
8209
|
-
is the reserved built-in policy name. `loop.prepareStep`
|
|
8210
|
-
|
|
8211
|
-
|
|
8259
|
+
is the reserved built-in policy name. `loop.prepareStep` (and `prepareStep` on
|
|
8260
|
+
`completeText` / `streamComplete` / `completeObject`) is the controlled step
|
|
8261
|
+
boundary for changing active tools, driver, instructions or messages. It cannot
|
|
8262
|
+
replace the managed tool set or bypass its lifecycle fence.
|
|
8263
|
+
|
|
8264
|
+
Override lifetimes in `prepareStep` follow two explicit rules:
|
|
8265
|
+
|
|
8266
|
+
- **`instructions` is sticky across the remaining steps of the current attempt**
|
|
8267
|
+
(and resets to `initialInstructions` if a provider retry starts a fresh
|
|
8268
|
+
attempt). Later steps receive the carried value in `instructions` alongside
|
|
8269
|
+
the unchanged `initialInstructions`, so a step can explicitly revert with
|
|
8270
|
+
`{ instructions: initialInstructions }`. One-shot `protocol.acceptTerminal`
|
|
8271
|
+
continuation instructions apply only to that continuation step and do not
|
|
8272
|
+
overwrite carried `prepareStep` instructions.
|
|
8273
|
+
- **`driver` applies to that single step only** (matching `activeTools`,
|
|
8274
|
+
`toolChoice`, `responseFormat`, `cacheControl`, `headers`, `providerOptions`
|
|
8275
|
+
and call settings). Omitting `driver` on the next step reverts to the run's
|
|
8276
|
+
resolved default driver (or `input.driver` in `completeText`), and
|
|
8277
|
+
`prepareStep` always receives that default driver in `driver`.
|
|
8212
8278
|
|
|
8213
8279
|
Context can grow between steps as tool results and deferred schemas enter the
|
|
8214
8280
|
provider prompt. When application budgeting can prove that the next assembled
|
|
@@ -10249,15 +10315,22 @@ const driver = createCodexDriver({ wrapCommand: sandbox.wrapCommand });
|
|
|
10249
10315
|
- **Fail-closed availability:** `wrapCommand` probes the OS backend before its first wrap and
|
|
10250
10316
|
throws `SandboxError('SANDBOX_UNAVAILABLE', ...)` if `bwrap` or `sandbox-exec` is unavailable or
|
|
10251
10317
|
the platform is unsupported; there is no unsandboxed fallback.
|
|
10252
|
-
- **Symlink-safe `workspace-readonly`:** `ProcessSandboxSpecSchema` resolves
|
|
10253
|
-
`realpathSync` so none of `writableDirs`, `privateTmpDir`, or `homeDir` can overlap
|
|
10254
|
-
through a symlink.
|
|
10255
|
-
-
|
|
10318
|
+
- **Symlink-safe `workspace-readonly` and `denyPaths`:** `ProcessSandboxSpecSchema` resolves
|
|
10319
|
+
symlinks via `realpathSync` so none of `writableDirs`, `privateTmpDir`, or `homeDir` can overlap
|
|
10320
|
+
`workspace` through a symlink. Both Linux Bubblewrap and macOS Seatbelt resolve symlinks for
|
|
10321
|
+
`denyPaths`: Linux maps each resolved target onto every host-backed mount (including symlinked
|
|
10322
|
+
mounts, symlinked directories masked with `tmpfs`, and ancestor directories that cover descendant
|
|
10323
|
+
mounts) and fails closed with `SandboxError('SANDBOX_UNAVAILABLE', ...)` on broken/dangling
|
|
10324
|
+
symlinks or unresolvable symlink loops (`ELOOP`), while macOS emits deny rules for both the
|
|
10325
|
+
lexical path and the symlink-resolved path (or deepest existing ancestor).
|
|
10326
|
+
- **Platform read/write and IPC models differ:**
|
|
10256
10327
|
- **Linux (`bwrap`):** mount-namespace allowlist — only mounted system roots, `workspace`,
|
|
10257
10328
|
`readOnlyPaths`, `writableDirs`, `privateTmpDir`, `homeDir`, and `unixSockets` exist inside the
|
|
10258
|
-
sandbox; unmounted host paths are absent, and `denyPaths`
|
|
10259
|
-
`/bin` and `/sbin`) are masked over `/dev/null`
|
|
10260
|
-
|
|
10329
|
+
sandbox; unmounted host paths are absent, and `denyPaths` resolving into or above any
|
|
10330
|
+
host-backed mount (including `/bin` and `/sbin`) are masked over `/dev/null` (for files and
|
|
10331
|
+
sockets) or an empty `tmpfs` (for directories), while an isolated `tmpfs` `homeDir` is not
|
|
10332
|
+
treated as host-backed. A `cwd` outside mounted roots (such as `driver.info()` /
|
|
10333
|
+
`driver.status()`) falls back to `workspace`.
|
|
10261
10334
|
- **macOS (`sandbox-exec` Seatbelt, compiled by `buildSeatbeltProfile`):** default-deny writes
|
|
10262
10335
|
with default-allow reads — writes are denied globally except `privateTmpDir`, `workspace`
|
|
10263
10336
|
(`workspace-strict`), `homeDir`, `writableDirs`, and explicitly allowed `unixSockets` (with
|
|
@@ -10269,6 +10342,12 @@ const driver = createCodexDriver({ wrapCommand: sandbox.wrapCommand });
|
|
|
10269
10342
|
`'allow'` — so callers on macOS must explicitly add control sockets, sibling workspaces, and
|
|
10270
10343
|
host secrets to `denyPaths`. Seatbelt cannot remap Unix socket paths: supplying `mountPath !==
|
|
10271
10344
|
hostPath` fails closed with `SANDBOX_UNAVAILABLE`.
|
|
10345
|
+
- **macOS Seatbelt `mach-lookup` boundary:** because `buildSeatbeltProfile` begins with
|
|
10346
|
+
`(allow default)` and restricts filesystem writes, explicit `denyPaths`, and (under
|
|
10347
|
+
`network: 'deny'`) network operations without denying `mach-lookup`, user-session Mach/XPC
|
|
10348
|
+
services — such as the macOS Keychain (`securityd`/`secd`) and other local XPC daemons — remain
|
|
10349
|
+
reachable from inside the sandboxed process unless restricted separately. Linux Bubblewrap runs
|
|
10350
|
+
in isolated namespaces without host Mach/XPC services and does not share this surface.
|
|
10272
10351
|
|
|
10273
10352
|
|
|
10274
10353
|
==============================================================================
|
|
@@ -13693,12 +13772,15 @@ await createCli({
|
|
|
13693
13772
|
})
|
|
13694
13773
|
```
|
|
13695
13774
|
|
|
13696
|
-
If your application already installs
|
|
13697
|
-
|
|
13698
|
-
also pin the shared context type once via `createToolkit<AppContext>()`
|
|
13699
|
-
`stitchkit/tools/toolkit` — the tool-side mirror of `createImplement`
|
|
13775
|
+
If your application already installs `@modelcontextprotocol/server` and mounts
|
|
13776
|
+
MCP, peer-free agent tools (`mountAgentTools`), and CLI surfaces together, you
|
|
13777
|
+
can also pin the shared context type once via `createToolkit<AppContext>()`
|
|
13778
|
+
from `stitchkit/tools/toolkit` — the tool-side mirror of `createImplement`
|
|
13700
13779
|
([ADR 0017](../decisions/0017-typed-tool-context.md),
|
|
13701
|
-
[ADR 0284](../decisions/0284-the-tools-barrel-loads-no-optional-peer.md)
|
|
13780
|
+
[ADR 0284](../decisions/0284-the-tools-barrel-loads-no-optional-peer.md),
|
|
13781
|
+
[ADR 0338](../decisions/0338-toolkit-stays-free-of-ai-peer.md)). It stays free
|
|
13782
|
+
of the `ai` peer; callers needing an AI SDK `ToolSet` use `mountAgent` from
|
|
13783
|
+
`stitchkit/tools/agent`:
|
|
13702
13784
|
|
|
13703
13785
|
```ts
|
|
13704
13786
|
import { createToolkit } from 'stitchkit/tools/toolkit'
|
|
@@ -17385,7 +17467,23 @@ test('every model call goes through the spend gateway', async () => {
|
|
|
17385
17467
|
root: 'src',
|
|
17386
17468
|
policy: {
|
|
17387
17469
|
modules: [
|
|
17388
|
-
{
|
|
17470
|
+
{
|
|
17471
|
+
module: 'stitchkit/agent-runtime/openrouter',
|
|
17472
|
+
symbols: [
|
|
17473
|
+
'openRouterProvider',
|
|
17474
|
+
'openRouterRequestJson',
|
|
17475
|
+
'openRouterRequestStream',
|
|
17476
|
+
'openRouterSystemOne',
|
|
17477
|
+
'openRouterAudioTranscription',
|
|
17478
|
+
'openRouterAudioSpeech',
|
|
17479
|
+
'openRouterGenerateImages',
|
|
17480
|
+
'openRouterSubmitVideo',
|
|
17481
|
+
'openRouterGetVideo',
|
|
17482
|
+
'openRouterDownloadVideo',
|
|
17483
|
+
'openRouterEmbeddings',
|
|
17484
|
+
'openRouterRerank',
|
|
17485
|
+
],
|
|
17486
|
+
},
|
|
17389
17487
|
{ module: 'stitchkit/agent-runtime/openai', symbols: ['openAiProvider'] },
|
|
17390
17488
|
{ module: 'stitchkit/agent-runtime/anthropic', symbols: ['anthropicProvider'] },
|
|
17391
17489
|
],
|
|
@@ -20581,6 +20679,67 @@ charts, no merged cells and no streaming: an application that needs them takes a
|
|
|
20581
20679
|
|
|
20582
20680
|
# Upgrading stitchkit
|
|
20583
20681
|
|
|
20682
|
+
## Released migration: 0.135.0
|
|
20683
|
+
|
|
20684
|
+
### explicit-deadline-propagation
|
|
20685
|
+
|
|
20686
|
+
**Who must act:** applications relying on per-call `timeout` or contract `endpoint.timeout` in `createHttpClient` or `createClient` to emit the outbound `x-stitchkit-timeout-ms` deadline budget header without setting `propagateDeadline: true`.
|
|
20687
|
+
|
|
20688
|
+
In `0.135.0` (ADR 0337), `timeout` and contract `endpoint.timeout` bound the local client request only and no longer implicitly send `x-stitchkit-timeout-ms` (which triggered unexpected CORS preflights on third-party origins). Opt in explicitly at the client or call site:
|
|
20689
|
+
|
|
20690
|
+
```ts
|
|
20691
|
+
// Before (implicitly emitted x-stitchkit-timeout-ms when timeout was set)
|
|
20692
|
+
const http = createHttpClient({ baseUrl: '/api' });
|
|
20693
|
+
await http.get('/reports', { timeout: 5_000 });
|
|
20694
|
+
const api = createClient(reportsContract, { baseUrl: 'https://downstream.example' });
|
|
20695
|
+
await api.reports.list.withOptions({ timeout: 5_000 });
|
|
20696
|
+
|
|
20697
|
+
// After (explicit opt-in at client or call level)
|
|
20698
|
+
const http = createHttpClient({ baseUrl: '/api', propagateDeadline: true });
|
|
20699
|
+
await http.get('/reports', { timeout: 5_000 });
|
|
20700
|
+
// Or per call:
|
|
20701
|
+
await api.reports.list.withOptions({ timeout: 5_000, propagateDeadline: true });
|
|
20702
|
+
```
|
|
20703
|
+
|
|
20704
|
+
### toolkit-without-ai-peer
|
|
20705
|
+
|
|
20706
|
+
**Who must act:** applications calling `toolkit.mountAgent(...)` on an instance returned by `createToolkit<AppContext>()` from `stitchkit/tools/toolkit`.
|
|
20707
|
+
|
|
20708
|
+
In `0.135.0` (ADR 0338), `createToolkit` drops `mountAgent` so `stitchkit/tools/toolkit` never imports `ai` and installs cleanly with only `@modelcontextprotocol/server`. Replace `toolkit.mountAgent(...)` with peer-free `toolkit.mountAgentTools(...)`, or import `mountAgent` directly from `stitchkit/tools/agent` when driving a Vercel AI SDK loop:
|
|
20709
|
+
|
|
20710
|
+
```ts
|
|
20711
|
+
// Before
|
|
20712
|
+
const tools = createToolkit<AppContext>();
|
|
20713
|
+
const sdkTools = tools.mountAgent(services, { context, access });
|
|
20714
|
+
|
|
20715
|
+
// After (peer-free StitchKit agent-runtime)
|
|
20716
|
+
const tools = createToolkit<AppContext>();
|
|
20717
|
+
const agentTools = tools.mountAgentTools(services, { context, access });
|
|
20718
|
+
|
|
20719
|
+
// After (Vercel AI SDK loop)
|
|
20720
|
+
import { mountAgent } from 'stitchkit/tools/agent';
|
|
20721
|
+
const sdkTools = mountAgent(services, { context, access });
|
|
20722
|
+
```
|
|
20723
|
+
|
|
20724
|
+
### openrouter-separated-cache-write-price-ceiling
|
|
20725
|
+
|
|
20726
|
+
**Who must act:** applications using `evaluateOpenRouterModelAdmission`, `listOpenRouterModels`, or `resolveOpenRouterModelCeiling` from `stitchkit/agent-runtime/openrouter` that relied on `maxPromptUsdPerMillion` rejecting expensive cache-write rates or on `listOpenRouterModels` ignoring tiered prompt ceilings.
|
|
20727
|
+
|
|
20728
|
+
In `0.135.0`, `promptUsdPerMillion` ceilings and `maxPromptUsdPerMillion` check prompt rates only (including conditional tiers), while 5m/1h cache-write rates have their own `cacheWriteUsdPerMillion` ceiling and `maxCacheWriteUsdPerMillion` limit shared identically by admission and catalog filtering:
|
|
20729
|
+
|
|
20730
|
+
```ts
|
|
20731
|
+
// Before (maxPromptUsdPerMillion also rejected cacheWrite/cacheWrite1h in admission only)
|
|
20732
|
+
evaluateOpenRouterModelAdmission({ snapshot, modelId, policy: { maxPromptUsdPerMillion: 6 } });
|
|
20733
|
+
|
|
20734
|
+
// After (declare explicit cache-write cap when desired; both admission and listOpenRouterModels share semantics)
|
|
20735
|
+
evaluateOpenRouterModelAdmission({
|
|
20736
|
+
snapshot,
|
|
20737
|
+
modelId,
|
|
20738
|
+
policy: { maxPromptUsdPerMillion: 6, maxCacheWriteUsdPerMillion: 6 },
|
|
20739
|
+
});
|
|
20740
|
+
listOpenRouterModels(snapshot, { maxPromptUsdPerMillion: 6, maxCacheWriteUsdPerMillion: 6 });
|
|
20741
|
+
```
|
|
20742
|
+
|
|
20584
20743
|
## Released migration: 0.134.0
|
|
20585
20744
|
|
|
20586
20745
|
### agent-runtime-native-model-port
|
|
@@ -27958,7 +28117,7 @@ from the root `stitchkit`.
|
|
|
27958
28117
|
| `PathParams` | _type_ | infer named `:segments` and a terminal `*wildcard` from a path literal as string params |
|
|
27959
28118
|
| `ContractMeta` | _type_ | a contract's `prefix` + optional `scope` and `meta` (a default every endpoint shallow-merges over) |
|
|
27960
28119
|
| `EndpointDef` | _type_ | a single endpoint definition; `output` declares JSON response presence (`null` is data, `undefined` is invalid); optional `timeout` bounds both client calls and server-side deadline clamping; optional `effect?: OperationEffect` declares `'read' \| 'write'` side effects; `safelistedBody: true` admits the JSON body as `text/plain` from an allow-listed `Origin` — [guide](../guide/server.md#safelisted-request-bodies-beacons) |
|
|
27961
|
-
| `DEADLINE_BUDGET_HEADER` | constant | `'x-stitchkit-timeout-ms'` — relative remaining call budget in integer milliseconds propagated across HTTP hops (`createHttpClient` / `createClient` outbound
|
|
28120
|
+
| `DEADLINE_BUDGET_HEADER` | constant | `'x-stitchkit-timeout-ms'` — relative remaining call budget in integer milliseconds propagated across HTTP hops when explicitly opted in via `propagateDeadline: true` (`createHttpClient` / `createClient` outbound — never auto-enabled by `timeout` or `endpoint.timeout`, ADR 0337 — `createHandler` / `createServer` inbound with contract-ceiling clamping, `408 REQUEST_TIMEOUT` on `'0'`, linked `ctx.signal`, and `ctx.remainingTimeoutMs(reserveMs?)`) |
|
|
27962
28121
|
| `OperationEffect` / `OperationEffectSchema` | _type_ / schema | closed `'read' \| 'write'` side-effect classification declared on contract endpoints |
|
|
27963
28122
|
| `contractOperationEffects` / `requireContractOperationEffects` | function | project declared endpoint `effect` tags from a contract; `requireContractOperationEffects` fails closed and lists every operation missing `effect` |
|
|
27964
28123
|
| `withToolView` | function | declare an endpoint's call and answer on the tool surface (MCP, AGENT, CLI): input `defaults`, and optionally a view `output` and a `project`, typed against the endpoint's own schemas; HTTP keeps the full answer — [guide](../guide/mcp-and-agents.md#a-different-answer-for-tools--withtoolview) |
|
|
@@ -28760,7 +28919,7 @@ Server-only, peer-free optional application runtime. Runs models exclusively thr
|
|
|
28760
28919
|
| `createAgentRuntime` | function | compose durable acceptance, native `AgentModelDriver` step loop, tool parsing/validation, WebCrypto HMAC-SHA256 tool approvals, `beforeStepToolCalls`, bounded terminal continuations (`maxContinuations`), `onAttemptDiscarded`, `onToolInputStart`, checkpoints, coordination, managed tools and winner-only terminal publication; reconciles same-owner terminal/interrupt/head CAS races before releasing the lane |
|
|
28761
28920
|
| `createDeferredAgentToolSurface` | function | bounded canonical catalog search plus durable same-run activation of direct `mountAgentTools` tools; supports one immutable surface or a finite identity-specific registry |
|
|
28762
28921
|
| `DeferredAgentToolSearchInputSchema` / `DeferredAgentToolMatchSchema` / `DeferredAgentToolReceiptSchema` | schema | bounded search input, public match and versioned durable selection receipt |
|
|
28763
|
-
| `DeferredAgentToolSurfaceConfig` / `DeferredAgentToolCommonConfig` / `DeferredAgentToolSurfaceDefinition` / `DeferredAgentToolController` | _type_ | finite catalogs, selector, pin, budget and `mount`/`prepareStep` composition contracts |
|
|
28922
|
+
| `DeferredAgentToolSurfaceConfig` / `DeferredAgentToolCommonConfig` / `DeferredAgentToolSurfaceDefinition` / `DeferredAgentToolController` | _type_ | finite catalogs, selector, pin, budget and `mount`/`prepareStep`/`repairToolCall` composition contracts |
|
|
28764
28923
|
| `DeferredAgentRuntimeToolDefinition` / `DeferredAgentToolMountConfig` | _type_ | peer-free Agent-only runtime definition and canonical mount configuration accepted by the controller |
|
|
28765
28924
|
| `DeferredAgentToolManifestEntry` / `DeferredAgentToolSearchContext` / `DeferredAgentToolReceipt` | _type_ | canonical selector input and inferred durable receipt records |
|
|
28766
28925
|
| `DeferredAgentToolEvent` | _type_ | PII-free search/step evidence with surface, provenance, counts, canonical schema bytes and ceilings |
|
|
@@ -28888,7 +29047,7 @@ the same native step execution without requiring a store. → ADR 0336.
|
|
|
28888
29047
|
| `completeObject` / `CompleteObjectInput` / `CompleteObjectResult` | function / _types_ | peer-free structured-output completion emitting strict JSON Schema (`draft-2020-12` via `toJsonSchema(..., 'input')`), stripping strict-mode optional `null`s prior to Zod validation, and supporting multi-step tool loops |
|
|
28889
29048
|
| `AgentStructuredOutputError` / `AgentStructuredOutputErrorReason` / `AgentStructuredOutputErrorDetails` | class / _types_ | typed error thrown by `completeObject` with `reason` (`'truncated' \| 'tool-calls' \| 'content-filter' \| 'provider-error' \| 'interrupted' \| 'empty' \| 'invalid-json' \| 'schema-mismatch'`), `finishReason`, `rawText`, `steps`, and `usage` |
|
|
28890
29049
|
| `AgentRetryExhaustedError` / `AgentRetryExhaustedErrorDetails` / `AgentRetryAttemptRecord` | class / _types_ | typed error thrown when stateless completion retries exhaust `retry.maxAttempts` or `maxRetryDurationMs`, carrying every failed attempt, `lastError`, and accumulated billable `usage` |
|
|
28891
|
-
| `AgentProviderError` / `AgentProviderErrorDetails` / `isAgentProviderError` | class / _type_ / function | canonical provider HTTP/envelope error carrying `provider`, `statusCode`, `code`, `errorType`, `requestId`, `retryAfterMs`, `failureReason`, redacted safe message, and runtime type guard |
|
|
29050
|
+
| `AgentProviderError` / `AgentProviderErrorDetails` / `isAgentProviderError` | class / _type_ / function | canonical provider HTTP/envelope error carrying `provider`, `statusCode`, `code`, `errorType`, `requestId`, `retryAfterMs`, optional `retryable` (e.g. `false` when `x-should-retry: false`), `failureReason`, redacted safe message, and runtime type guard |
|
|
28892
29051
|
| `AgentUnknownToolError` / `AgentInvalidToolInputError` | class | PII-safe tool-dispatch errors for unknown/inactive tools and invalid JSON or Zod tool inputs |
|
|
28893
29052
|
| `AgentToolApprovalError` / `AgentToolApprovalErrorReason` / `AgentInvalidToolApprovalSignatureError` / `AgentToolCallNotFoundForApprovalError` | class / _type_ | typed failures and machine reason codes (`'invalid-signature' \| 'call-not-found' \| 'input-validation-failed' \| 'input-mutated' \| 'invalid-policy-decision' \| 'approval-unsupported'`) for invalid approval payloads, WebCrypto HMAC-SHA256 signature verification failure, unresolved approval call IDs, or standalone fail-closed `needsApproval` refusal |
|
|
28894
29053
|
| `AgentToolApprovalConfiguration` / `AgentToolApprovalDecision` / `AgentToolApprovalCallOptions` / `AgentToolApprovalToolRule` | _type_ | per-call or per-tool approval policy evaluated by the native step loop |
|
|
@@ -29290,14 +29449,22 @@ Server-only, peer-free native OpenRouter provider over Web `fetch` and Chat Comp
|
|
|
29290
29449
|
| `normalizeOpenRouterUsage` | function | provenance-aware normalization of raw OpenRouter `usage` payloads (including BYOK `cost_details.upstream_inference_cost` with `computed` cost provenance; missing counters stay `unavailable`) |
|
|
29291
29450
|
| `createOpenRouterRouteResolver` / `OpenRouterRouteResolver` / `createMemoryOpenRouterRouteStore` / `OpenRouterRouteStore` / `OpenRouterRoutePinSchema` / `OpenRouterRoutePin` | functions / _types_ / schema | keep a thread on one upstream outside the agent runtime: `session-sticky` (its `session_id`; a key over 256 characters is hashed) or `provider-order` (the upstream slug that answered first, from `record`, with `allowFallbacks: false` unless the base policy says otherwise); a pin replaces the base policy's route; the memory store is least-recently-used, bounded by `maxEntries` and `ttlMs` |
|
|
29292
29451
|
| `loadOpenRouterCatalogSnapshot` / `fetchOpenRouterModelEndpoints` / `OpenRouterSnapshotOptions` / `OpenRouterCatalogSnapshotSchema` / `OpenRouterCatalogSnapshot` / `OpenRouterSnapshotModelSchema` / `OpenRouterSnapshotModel` / `OpenRouterEndpointSchema` / `OpenRouterEndpoint` / `OpenRouterPricingTierSchema` / `OpenRouterPricingTier` / `OpenRouterModelAliasTargetSchema` / `OpenRouterModelAliasTarget` / `OpenRouterModelReasoningMetaSchema` / `OpenRouterModelReasoningMeta` | functions / _types_ / schemas | a timestamped snapshot of `/models` (supporting unauthenticated public reads or static/async `apiKey`, full model metadata including `canonicalSlug`, `description`, `createdAt`, `aliasTarget`, `inputModalities`, `outputModalities`, `tokenizer`, `topProviderContextLength`, `maxCompletionTokens`, `reasoning`, per-million/request/image/cache prices including `cacheWrite1hUsdPerMillion` and conditional `pricingTiers` — distinguishing omitted keys from explicit `null`/`-1` unknowns, never treating unknown as zero — rejecting paginated truncation and duplicate ids) and per-model endpoints (including `cacheWrite1hUsdPerMillion`, `latencyP50Ms`, `throughputP50`, `uptime1d`, `tag`); ids are checked as `author/slug` (or `~author/slug`) before the network, endpoint requests run 1–16 at once and stop at the first failure, bodies are bounded, redirects refused |
|
|
29293
|
-
| `resolveOpenRouterModelCeiling` / `OpenRouterModelPricingCeilingSchema` / `OpenRouterModelPricingCeiling` / `summarizeOpenRouterEndpoints` / `OpenRouterEndpointSummarySchema` / `OpenRouterEndpointSummary` | functions / schemas / _types_ | compute
|
|
29294
|
-
| `findOpenRouterModel` / `listOpenRouterModels` / `OpenRouterModelFilter` | functions / _type_ | query an `OpenRouterCatalogSnapshot` by exact `id` or `canonicalSlug`, or filter models by `tools`, `reasoning` (`reasoning`, `include_reasoning`, or declared efforts), `inputModalities`, `outputModalities`, `minContextLength` (via effective context `min(contextLength, topProviderContextLength)`), `maxPromptUsdPerMillion`, `maxCompletionUsdPerMillion`, `freeOnly`, and `author` |
|
|
29452
|
+
| `resolveOpenRouterModelCeiling` / `OpenRouterModelPricingCeilingSchema` / `OpenRouterModelPricingCeiling` / `summarizeOpenRouterEndpoints` / `OpenRouterEndpointSummarySchema` / `OpenRouterEndpointSummary` | functions / schemas / _types_ | compute separated worst-case pricing ceilings (`promptUsdPerMillion`, `completionUsdPerMillion`, `cacheWriteUsdPerMillion`, `requestUsd`) across base rates, 5m/1h cache-write rates (`cacheWriteUsdPerMillion`, `cacheWrite1hUsdPerMillion`), conditional `pricingTiers`, and UTC-window overrides (refusing to understate unknown/unrepresentable conditional pricing) and aggregate distinct upstream provider count, median latency/throughput, and 1-day uptime across a model's endpoints |
|
|
29453
|
+
| `findOpenRouterModel` / `listOpenRouterModels` / `OpenRouterModelFilter` | functions / _type_ | query an `OpenRouterCatalogSnapshot` by exact `id` or `canonicalSlug`, or filter models by `tools`, `reasoning` (`reasoning`, `include_reasoning`, or declared efforts), `inputModalities`, `outputModalities`, `minContextLength` (via effective context `min(contextLength, topProviderContextLength)`), `maxPromptUsdPerMillion`, `maxCompletionUsdPerMillion`, `maxCacheWriteUsdPerMillion` (using the same ceiling semantics as `evaluateOpenRouterModelAdmission`), `freeOnly`, and `author` |
|
|
29295
29454
|
| `createOpenRouterCatalogCache` / `OpenRouterCatalogCache` / `OpenRouterCatalogCacheOptions` / `OpenRouterCatalogCacheReadResult` / `OpenRouterCatalogStore` | function / _types_ | Web Fetch-clean cached OpenRouter catalog reader with single-flight coalescing, per-caller `AbortSignal` isolation, `freshMs` TTL, `retryBackoffMs` stale fallback, optional pluggable persistence (`store`), and `read`/`refresh`/`getModel`/`listModels`; `OpenRouterCatalogCacheReadResult` is a discriminated union on `status` (`'current' \| 'stale' \| 'unavailable'`) narrowing `snapshot`, `observedAt`, `models`, and `lastError` without casts (use `read()` for admission/billing decisions; `getModel`/`listModels` map `'unavailable'` to `undefined`/`[]`) |
|
|
29296
|
-
| `evaluateOpenRouterModelAdmission` / `OpenRouterAdmissionPolicySchema` / `OpenRouterAdmissionPolicy` / `OpenRouterModelAdmissionSchema` / `OpenRouterModelAdmission` / `OpenRouterAdmissionReasonSchema` / `OpenRouterAdmissionReason` | function / schemas / _types_ | decide one model from a stored snapshot: `admitted`, `unverified` (stale or future-dated snapshot, `'context-unknown'`, `'price-unknown'`, `'endpoints-unknown'`) or `rejected` with a reason (`requiredParameters`, `requiredInputModalities`, effective context `min(contextLength, topProviderContextLength)`, worst-case pricing ceilings via `resolveOpenRouterModelCeiling`, live endpoint); `~`, `-latest`, `:batch`, `stealth/`, `openrouter/auto`, `aliasOf`, and `aliasTarget` models are always refused as `'floating-alias'`; the result is a schema, so a stored decision reads back |
|
|
29297
|
-
| `openRouterSpendProvider` / `createOpenRouterSpendReconciler` | functions | OpenRouter for `stitchkit/spend`: the gateway provider (origin, key read per call, usage
|
|
29455
|
+
| `evaluateOpenRouterModelAdmission` / `OpenRouterAdmissionPolicySchema` / `OpenRouterAdmissionPolicy` / `OpenRouterModelAdmissionSchema` / `OpenRouterModelAdmission` / `OpenRouterAdmissionReasonSchema` / `OpenRouterAdmissionReason` | function / schemas / _types_ | decide one model from a stored snapshot: `admitted`, `unverified` (stale or future-dated snapshot, `'context-unknown'`, `'price-unknown'`, `'endpoints-unknown'`) or `rejected` with a reason (`requiredParameters`, `requiredInputModalities`, effective context `min(contextLength, topProviderContextLength)`, separated worst-case pricing ceilings `maxPromptUsdPerMillion` / `maxCompletionUsdPerMillion` / `maxCacheWriteUsdPerMillion` via `resolveOpenRouterModelCeiling`, live endpoint); `~`, `-latest`, `:batch`, `stealth/`, `openrouter/auto`, `aliasOf`, and `aliasTarget` models are always refused as `'floating-alias'`; the result is a schema, so a stored decision reads back |
|
|
29456
|
+
| `openRouterSpendProvider` / `createOpenRouterSpendReconciler` | functions | OpenRouter for `stitchkit/spend`: the gateway provider (origin derived from optional `baseUrl` override, key read per call, chat + non-chat usage facts including `x-generation-id`, `input_tokens`/`output_tokens`, `generation_id`, and `usage.seconds` as `workUnit: 'seconds'`) and the reconciler that prices an attempt by its generation id (`GET /api/v1/generation`, optional `baseUrl` override; a 404 is "not yet"; `apiKey` may be a function of the record, since OpenRouter prices a generation only for the key that made it) |
|
|
29298
29457
|
| `OpenRouterHttpError` | class | a non-2xx answer from OpenRouter, with its `status` |
|
|
29299
|
-
| `openRouterModelCatalog` | function | complete tool-capable text catalog plus independent weekly popularity and available benchmark observations (optional static or async `apiKey`); a `timeoutMs` that is not an integer from 1 to 2147483647 ms (the timer range) is refused when the catalog is created (`RangeError`) |
|
|
29300
|
-
| `OpenRouterModelCatalogOptions` / `OpenRouterCatalogFetch` | _type_ | optional static/dynamic credential, timeout, clock and injected fetch boundary for catalog loading |
|
|
29458
|
+
| `openRouterModelCatalog` | function | complete tool-capable text catalog (`sort=top-weekly`) plus independent weekly popularity and available benchmark observations (optional static or async `apiKey` and `baseUrl` override); a `timeoutMs` that is not an integer from 1 to 2147483647 ms (the timer range) is refused when the catalog is created (`RangeError`) |
|
|
29459
|
+
| `OpenRouterModelCatalogOptions` / `OpenRouterCatalogFetch` | _type_ | optional static/dynamic credential, `baseUrl` override, timeout, clock and injected fetch boundary for catalog loading |
|
|
29460
|
+
| `OPENROUTER_API_BASE_URL` / `OpenRouterFetch` | const / _type_ | canonical default OpenRouter API v1 base URL (`https://openrouter.ai/api/v1`) and Web Fetch-compatible transport type shared by `openRouterProvider` and non-chat endpoint helpers |
|
|
29461
|
+
| `openRouterRequestJson` / `openRouterRequestStream` / `OpenRouterTransportOptions` / `OpenRouterRequestJsonOptions` / `OpenRouterRequestStreamOptions` / `OpenRouterJsonResponse` / `OpenRouterStreamResponse` / `OpenRouterHttpMethod` / `OpenRouterQueryParams` | functions / _types_ | peer-free, Web Fetch-clean transport for any OpenRouter API v1 JSON, multipart (`FormData`), or binary streaming endpoint: validates `baseUrl` and relative `path` against traversal or origin override, enforces `redirect: 'error'` plus defense-in-depth redirect refusal, bounds response/error bodies, throws redacted `AgentProviderError` on non-2xx or invalid JSON/schema, extracts `generationId`, `requestId`, and BYOK-aware `costUsd`, and disarms `openRouterRequestStream`'s open-phase `timeoutMs` once 2xx headers arrive while keeping caller `signal` linked to stream cancellation |
|
|
29462
|
+
| `openRouterSystemOne` / `OpenRouterSystemOneInput` / `OpenRouterSystemOneQuestion` / `OpenRouterSystemOneResponseSchema` / `OpenRouterSystemOneResponse` / `OpenRouterSystemOneResult` | function / schema / _types_ | typed client for OpenRouter's `POST /systemone` decision endpoint (`noul`, `choice`, and `score` questions over text or structured `state`, optional `provider` routing and `extraBody`, calibrated probability answers plus `generationId` and `costUsd`) |
|
|
29463
|
+
| `openRouterAudioTranscription` / `OpenRouterAudioTranscriptionInput` / `OpenRouterAudioSource` / `OpenRouterAudioTranscriptionResponseSchema` / `OpenRouterAudioTranscriptionResponse` / `OpenRouterAudioTranscriptionResult` | function / schema / _types_ | typed client for OpenRouter's `POST /audio/transcriptions` speech-to-text endpoint supporting `base64` JSON (`input_audio`), remote `url` (`source_url`), and multipart `file` uploads (`Blob` / `Uint8Array` / `ArrayBuffer`), `verbose_json`, `timestampGranularities`, `diarize` (enforcing `verbose_json`), `provider` routing, `generationId`, and `costUsd` |
|
|
29464
|
+
| `openRouterAudioSpeech` / `OpenRouterAudioSpeechInput` / `OpenRouterSpeechFormat` / `OpenRouterAudioSpeechResult` | function / _types_ | streaming text-to-speech client for OpenRouter's `POST /audio/speech` endpoint returning binary audio `ReadableStream<Uint8Array>`, `contentType`, and `generationId` |
|
|
29465
|
+
| `openRouterGenerateImages` / `OpenRouterImageGenerationInput` / `OpenRouterImageGenerationResponseSchema` / `OpenRouterImageGenerationResponse` / `OpenRouterImageGenerationResult` | function / schema / _types_ | typed client for OpenRouter's Unified Image API (`POST /images`) supporting `prompt`, `n`, `aspectRatio`, `resolution`, `responseFormat` (`'b64_json' \| 'url'`), `inputReferences`, `provider` routing, `generationId`, and `costUsd` |
|
|
29466
|
+
| `openRouterSubmitVideo` / `openRouterGetVideo` / `openRouterDownloadVideo` / `OpenRouterVideoSubmitInput` / `OpenRouterVideoJobInput` / `OpenRouterVideoSubmitResponse` / `OpenRouterVideoSubmitResult` / `OpenRouterVideoStatusResponse` / `OpenRouterVideoStatusResult` | functions / _types_ | typed submit (`POST /videos`), status poll (`GET /videos/{jobId}`), and authenticated binary stream download (`GET /videos/{jobId}/content`) clients for OpenRouter's asynchronous Video Generation API with `jobId` path-segment validation, `frameImages`, `inputReferences`, `generateAudio`, `callbackUrl`, `generationId`, and `costUsd` |
|
|
29467
|
+
| `openRouterEmbeddings` / `OpenRouterEmbeddingsInput` / `OpenRouterEmbeddingsResponse` / `OpenRouterEmbeddingsResult` / `openRouterRerank` / `OpenRouterRerankInput` / `OpenRouterRerankResponse` / `OpenRouterRerankResult` | functions / _types_ | typed clients for OpenRouter's `POST /embeddings` vector generation and `POST /rerank` document rescoring endpoints with `provider` routing, `generationId`, and `costUsd` |
|
|
29301
29468
|
|
|
29302
29469
|
## `stitchkit/agent-runtime/openai`
|
|
29303
29470
|
|
|
@@ -29320,12 +29487,16 @@ structured outputs, `prompt_cache_key`, and fail-fast refusal of unsupported set
|
|
|
29320
29487
|
## `stitchkit/agent-runtime/anthropic`
|
|
29321
29488
|
|
|
29322
29489
|
Server-only, peer-free native Anthropic Messages API (`POST /v1/messages`) provider over Web
|
|
29323
|
-
`fetch` and SSE. Enforces mandatory `maxOutputTokens
|
|
29324
|
-
fail-fast
|
|
29490
|
+
`fetch` and SSE. Enforces mandatory `maxOutputTokens`, `maxOutputTokens > thinking.budgetTokens`,
|
|
29491
|
+
and fail-fast refusal of `temperature`/`topP`/`topK` under effective `anthropic-version >= 2026-10-21`
|
|
29492
|
+
before any HTTP call, preserves verbatim multi-block `thinking` + `signature` and
|
|
29325
29493
|
`redacted_thinking` blocks, splits images out of `is_error` tool results, budgets ≤ 4 cache
|
|
29326
29494
|
breakpoints with TTL-order validation, computes total `inputTokens = input_tokens + cache_read +
|
|
29327
29495
|
cache_creation` with `computed` provenance (ADR 0109), maps `output_config.format` JSON Schema
|
|
29328
|
-
(refusing schemaless `json-object`), and classifies `529 overloaded_error`
|
|
29496
|
+
(rewriting `oneOf` to `anyOf`, refusing schemaless `json-object`), and classifies `529 overloaded_error`
|
|
29497
|
+
as retryable, `timeout_error` (HTTP and mid-stream SSE) as `'timeout'`, `billing_error` and
|
|
29498
|
+
`error.details.error_code: 'enforced_spend_limit_reached'` as non-retryable `'insufficient-credits'`,
|
|
29499
|
+
while honoring `x-should-retry: false`.
|
|
29329
29500
|
→ ADR 0336.
|
|
29330
29501
|
|
|
29331
29502
|
| Export | Kind | Summary |
|
|
@@ -29333,20 +29504,20 @@ cache_creation` with `computed` provenance (ADR 0109), maps `output_config.forma
|
|
|
29333
29504
|
| `anthropicProvider` | function | native peer-free `AgentModelDriverFactory` targeting Anthropic Messages (`POST /v1/messages`) |
|
|
29334
29505
|
| `AnthropicProviderSettings` | _type_ | `{ apiKey, baseUrl?, apiVersion?, betas?, headers?, fetch?, extraBody? }` — merges `anthropic-beta` flags deterministically, refuses `extraBody` clashes, and enforces `redirect: 'error'` |
|
|
29335
29506
|
| `AnthropicProviderAccess` | _type_ | `{ defaultPolicy?, resolvePolicy?(modelId) }` — validates `defaultPolicy` up front and resolves per-model policy |
|
|
29336
|
-
| `AnthropicRequestPolicySchema` / `AnthropicRequestPolicy` | schema / _type_ | validated Messages API request policy (`maxOutputTokens`, `thinking`, `effort
|
|
29507
|
+
| `AnthropicRequestPolicySchema` / `AnthropicRequestPolicy` | schema / _type_ | validated Messages API request policy (`maxOutputTokens`, `thinking`, `effort` (`'low' \| 'medium' \| 'high' \| 'xhigh' \| 'max'`), `cacheControl`, `eagerInputStreaming`, `disableParallelToolUse`, `serviceTier`, `betas`) |
|
|
29337
29508
|
| `AnthropicThinkingPolicySchema` / `AnthropicThinkingPolicy` | schema / _type_ | thinking mode (`{ type: 'adaptive' }`, `{ type: 'enabled', budgetTokens }` with `budgetTokens >= 1024`, or `{ type: 'disabled' }`) |
|
|
29338
29509
|
| `normalizeAnthropicUsage` | function | provenance-aware normalization of Anthropic `usage` objects, assembling total `inputTokens` with `computed` provenance when cache counters are positive |
|
|
29339
29510
|
|
|
29340
29511
|
## `stitchkit/agent-runtime/ai-sdk`
|
|
29341
29512
|
|
|
29342
|
-
Server-only evolving optional-peer adapter (`ai`). Adapts any AI SDK
|
|
29513
|
+
Server-only evolving optional-peer adapter (`ai`). Adapts any AI SDK (`LanguageModelV4` from `ai@7`) or
|
|
29343
29514
|
`ToolSet` onto `AgentModelDriver` and `AgentToolSet` without importing `streamText` or
|
|
29344
29515
|
`generateText`, keeping `stitchkit/agent-runtime` and all three native providers free of AI SDK
|
|
29345
29516
|
dependencies. → ADR 0336.
|
|
29346
29517
|
|
|
29347
29518
|
| Export | Kind | Summary |
|
|
29348
29519
|
|--------|------|---------|
|
|
29349
|
-
| `fromAiSdkModel` | function | wrap an AI SDK
|
|
29520
|
+
| `fromAiSdkModel` | function | wrap an AI SDK `LanguageModelV4` from `ai@7` (`specificationVersion: 'v4'`) as a single-step `AgentModelDriver` driving `model.doStream()` directly |
|
|
29350
29521
|
| `FromAiSdkModelOptions` | _type_ | optional `{ normalizeUsage?, resolveResponseProvider? }` hooks for mapping AI SDK step usage and gateway `providerMetadata` |
|
|
29351
29522
|
| `fromAiSdkTools` | function | async adapter converting an AI SDK `ToolSet` into a peer-free `AgentToolSet`; refuses provider-defined tools (`type: 'provider'`) and normalizes legacy deprecated tool outputs into canonical `{ type: 'file', data, mediaType }` parts |
|
|
29352
29523
|
|
|
@@ -29806,9 +29977,9 @@ Server-only, and imported without any optional peer: the transport-neutral tool
|
|
|
29806
29977
|
the registry, tool names and manifest, runtime tools, native tools, the invoker, the OAuth
|
|
29807
29978
|
provider and the durability engine. An application that serves its operations over HTTP and
|
|
29808
29979
|
CLI lists its tool names here with neither MCP nor the AI SDK installed. The adapters that
|
|
29809
|
-
need a peer have their own subpaths: [`stitchkit/tools/mcp`](#stitchkittoolsmcp)
|
|
29810
|
-
|
|
29811
|
-
[`stitchkit/tools/
|
|
29980
|
+
need a peer have their own subpaths: [`stitchkit/tools/mcp`](#stitchkittoolsmcp) and
|
|
29981
|
+
[`stitchkit/tools/toolkit`](#stitchkittoolstoolkit) (the MCP server SDK only, free of `ai`), and
|
|
29982
|
+
[`stitchkit/tools/agent`](#stitchkittoolsagent) (the `ai` peer). → ADR 0284, ADR 0338.
|
|
29812
29983
|
|
|
29813
29984
|
| Export | Kind | Summary |
|
|
29814
29985
|
|--------|------|---------|
|
|
@@ -30116,15 +30287,12 @@ not the MCP server SDK. → ADR 0284, ADR 0336.
|
|
|
30116
30287
|
|
|
30117
30288
|
## `stitchkit/tools/toolkit`
|
|
30118
30289
|
|
|
30119
|
-
Server-only. One context-typed tool set
|
|
30120
|
-
deliberately requires both the `@modelcontextprotocol/server` and `ai` peers. Applications
|
|
30121
|
-
that drop `ai` (or install neither peer) should import directly from `stitchkit/tools/mcp`,
|
|
30122
|
-
`stitchkit/tools`, or `stitchkit/cli` instead of `stitchkit/tools/toolkit`. → ADR 0284.
|
|
30290
|
+
Server-only. One context-typed tool set for MCP servers, peer-free `mountAgentTools`, and CLI commands, requiring only the `@modelcontextprotocol/server` optional peer — it never imports or requires `ai`. Callers that need a Vercel AI SDK `ToolSet` import `mountAgent` from `stitchkit/tools/agent`; callers without `@modelcontextprotocol/server` import directly from `stitchkit/tools` or `stitchkit/cli`. → ADR 0284, ADR 0338.
|
|
30123
30291
|
|
|
30124
30292
|
| Export | Kind | Summary |
|
|
30125
30293
|
|--------|------|---------|
|
|
30126
|
-
| `createToolkit` | function | context-typed tool mounts — [guide](../guide/cli.md#typed-context) |
|
|
30127
|
-
| `Toolkit` | _type_ | the context-pinned tool surface from `createToolkit` (including both `mountAgentTools(services, config)` and single-argument `mountAgentTools(config)`) |
|
|
30294
|
+
| `createToolkit` | function | context-typed tool mounts (`mountMcp`, `mountAgentTools`, `buildMcpServer`, `createMcpHandler`, `createStdioMcpServer`, `createCli`) — [guide](../guide/cli.md#typed-context) |
|
|
30295
|
+
| `Toolkit` | _type_ | the context-pinned tool surface from `createToolkit` (including both `mountAgentTools(services, config)` and single-argument `mountAgentTools(config)`; no AI SDK `mountAgent`) |
|
|
30128
30296
|
|
|
30129
30297
|
## `stitchkit/tools/connections`
|
|
30130
30298
|
|