@namzu/sdk 2.0.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2265 -0
- package/README.md +49 -53
- package/dist/__tests__/default-path-conformance.test.d.ts +2 -0
- package/dist/__tests__/default-path-conformance.test.d.ts.map +1 -0
- package/dist/__tests__/default-path-conformance.test.js +262 -0
- package/dist/__tests__/default-path-conformance.test.js.map +1 -0
- package/dist/__tests__/shipped-defaults.test.d.ts +2 -0
- package/dist/__tests__/shipped-defaults.test.d.ts.map +1 -0
- package/dist/__tests__/shipped-defaults.test.js +97 -0
- package/dist/__tests__/shipped-defaults.test.js.map +1 -0
- package/dist/advisory/__tests__/budget-enforcement.test.d.ts +2 -0
- package/dist/advisory/__tests__/budget-enforcement.test.d.ts.map +1 -0
- package/dist/advisory/__tests__/budget-enforcement.test.js +159 -0
- package/dist/advisory/__tests__/budget-enforcement.test.js.map +1 -0
- package/dist/advisory/__tests__/structured-response.test.d.ts +2 -0
- package/dist/advisory/__tests__/structured-response.test.d.ts.map +1 -0
- package/dist/advisory/__tests__/structured-response.test.js +99 -0
- package/dist/advisory/__tests__/structured-response.test.js.map +1 -0
- package/dist/advisory/budget.d.ts +15 -0
- package/dist/advisory/budget.d.ts.map +1 -0
- package/dist/advisory/budget.js +21 -0
- package/dist/advisory/budget.js.map +1 -0
- package/dist/advisory/context.d.ts +2 -0
- package/dist/advisory/context.d.ts.map +1 -1
- package/dist/advisory/context.js +16 -0
- package/dist/advisory/context.js.map +1 -1
- package/dist/advisory/executor.d.ts +14 -11
- package/dist/advisory/executor.d.ts.map +1 -1
- package/dist/advisory/executor.js +36 -24
- package/dist/advisory/executor.js.map +1 -1
- package/dist/advisory/executor.test.d.ts +8 -6
- package/dist/advisory/executor.test.d.ts.map +1 -1
- package/dist/advisory/executor.test.js +12 -8
- package/dist/advisory/executor.test.js.map +1 -1
- package/dist/advisory/index.d.ts +2 -0
- package/dist/advisory/index.d.ts.map +1 -1
- package/dist/advisory/index.js +2 -0
- package/dist/advisory/index.js.map +1 -1
- package/dist/advisory/parse.d.ts +23 -0
- package/dist/advisory/parse.d.ts.map +1 -0
- package/dist/advisory/parse.js +56 -0
- package/dist/advisory/parse.js.map +1 -0
- package/dist/agents/AbstractAgent.d.ts +48 -0
- package/dist/agents/AbstractAgent.d.ts.map +1 -1
- package/dist/agents/AbstractAgent.js +77 -0
- package/dist/agents/AbstractAgent.js.map +1 -1
- package/dist/agents/PipelineAgent.d.ts +10 -0
- package/dist/agents/PipelineAgent.d.ts.map +1 -1
- package/dist/agents/PipelineAgent.js +12 -0
- package/dist/agents/PipelineAgent.js.map +1 -1
- package/dist/agents/ReactiveAgent.d.ts +10 -0
- package/dist/agents/ReactiveAgent.d.ts.map +1 -1
- package/dist/agents/ReactiveAgent.js +40 -0
- package/dist/agents/ReactiveAgent.js.map +1 -1
- package/dist/agents/RouterAgent.d.ts +10 -0
- package/dist/agents/RouterAgent.d.ts.map +1 -1
- package/dist/agents/RouterAgent.js +23 -2
- package/dist/agents/RouterAgent.js.map +1 -1
- package/dist/agents/SupervisorAgent.d.ts +11 -1
- package/dist/agents/SupervisorAgent.d.ts.map +1 -1
- package/dist/agents/SupervisorAgent.js +23 -1
- package/dist/agents/SupervisorAgent.js.map +1 -1
- package/dist/agents/__tests__/idempotency-key.test.d.ts +2 -0
- package/dist/agents/__tests__/idempotency-key.test.d.ts.map +1 -0
- package/dist/agents/__tests__/idempotency-key.test.js +149 -0
- package/dist/agents/__tests__/idempotency-key.test.js.map +1 -0
- package/dist/agents/__tests__/invocation-lock.test.d.ts +2 -0
- package/dist/agents/__tests__/invocation-lock.test.d.ts.map +1 -0
- package/dist/agents/__tests__/invocation-lock.test.js +126 -0
- package/dist/agents/__tests__/invocation-lock.test.js.map +1 -0
- package/dist/agents/__tests__/reachability.test.d.ts +2 -0
- package/dist/agents/__tests__/reachability.test.d.ts.map +1 -0
- package/dist/agents/__tests__/reachability.test.js +173 -0
- package/dist/agents/__tests__/reachability.test.js.map +1 -0
- package/dist/agents/__tests__/supervisor-ledger.test.js +1 -1
- package/dist/agents/__tests__/supervisor-ledger.test.js.map +1 -1
- package/dist/agents/index.d.ts +1 -1
- package/dist/agents/index.d.ts.map +1 -1
- package/dist/agents/lock.d.ts +0 -1
- package/dist/agents/lock.d.ts.map +1 -1
- package/dist/agents/lock.js.map +1 -1
- package/dist/bridge/a2a/late-events.test.d.ts +2 -0
- package/dist/bridge/a2a/late-events.test.d.ts.map +1 -0
- package/dist/bridge/a2a/late-events.test.js +70 -0
- package/dist/bridge/a2a/late-events.test.js.map +1 -0
- package/dist/bridge/a2a/mapper.d.ts.map +1 -1
- package/dist/bridge/a2a/mapper.js +55 -3
- package/dist/bridge/a2a/mapper.js.map +1 -1
- package/dist/bridge/a2a/mapper.test.js +1 -1
- package/dist/bridge/a2a/mapper.test.js.map +1 -1
- package/dist/bridge/a2a/message.d.ts.map +1 -1
- package/dist/bridge/a2a/message.js +5 -1
- package/dist/bridge/a2a/message.js.map +1 -1
- package/dist/bridge/sse/late-events.test.d.ts +2 -0
- package/dist/bridge/sse/late-events.test.d.ts.map +1 -0
- package/dist/bridge/sse/late-events.test.js +163 -0
- package/dist/bridge/sse/late-events.test.js.map +1 -0
- package/dist/bridge/sse/mapper.d.ts.map +1 -1
- package/dist/bridge/sse/mapper.js +100 -0
- package/dist/bridge/sse/mapper.js.map +1 -1
- package/dist/compaction/__tests__/cleared-result-recovery.test.d.ts +2 -0
- package/dist/compaction/__tests__/cleared-result-recovery.test.d.ts.map +1 -0
- package/dist/compaction/__tests__/cleared-result-recovery.test.js +101 -0
- package/dist/compaction/__tests__/cleared-result-recovery.test.js.map +1 -0
- package/dist/compaction/__tests__/context-window.test.d.ts +2 -0
- package/dist/compaction/__tests__/context-window.test.d.ts.map +1 -0
- package/dist/compaction/__tests__/context-window.test.js +62 -0
- package/dist/compaction/__tests__/context-window.test.js.map +1 -0
- package/dist/compaction/__tests__/dangling.test.js +16 -5
- package/dist/compaction/__tests__/dangling.test.js.map +1 -1
- package/dist/compaction/__tests__/lossiness.test.d.ts +2 -0
- package/dist/compaction/__tests__/lossiness.test.d.ts.map +1 -0
- package/dist/compaction/__tests__/lossiness.test.js +163 -0
- package/dist/compaction/__tests__/lossiness.test.js.map +1 -0
- package/dist/compaction/__tests__/state-across-resume.test.d.ts +2 -0
- package/dist/compaction/__tests__/state-across-resume.test.d.ts.map +1 -0
- package/dist/compaction/__tests__/state-across-resume.test.js +88 -0
- package/dist/compaction/__tests__/state-across-resume.test.js.map +1 -0
- package/dist/compaction/__tests__/tool-result-editing.test.d.ts +2 -0
- package/dist/compaction/__tests__/tool-result-editing.test.d.ts.map +1 -0
- package/dist/compaction/__tests__/tool-result-editing.test.js +184 -0
- package/dist/compaction/__tests__/tool-result-editing.test.js.map +1 -0
- package/dist/compaction/__tests__/trim-opens-on-user.test.d.ts +2 -0
- package/dist/compaction/__tests__/trim-opens-on-user.test.d.ts.map +1 -0
- package/dist/compaction/__tests__/trim-opens-on-user.test.js +109 -0
- package/dist/compaction/__tests__/trim-opens-on-user.test.js.map +1 -0
- package/dist/compaction/__tests__/verifier-model.test.d.ts +2 -0
- package/dist/compaction/__tests__/verifier-model.test.d.ts.map +1 -0
- package/dist/compaction/__tests__/verifier-model.test.js +58 -0
- package/dist/compaction/__tests__/verifier-model.test.js.map +1 -0
- package/dist/compaction/context-window.d.ts +44 -0
- package/dist/compaction/context-window.d.ts.map +1 -0
- package/dist/compaction/context-window.js +97 -0
- package/dist/compaction/context-window.js.map +1 -0
- package/dist/compaction/dangling.js +48 -1
- package/dist/compaction/dangling.js.map +1 -1
- package/dist/compaction/extractor.d.ts.map +1 -1
- package/dist/compaction/extractor.js +55 -1
- package/dist/compaction/extractor.js.map +1 -1
- package/dist/compaction/index.d.ts +5 -0
- package/dist/compaction/index.d.ts.map +1 -1
- package/dist/compaction/index.js +3 -0
- package/dist/compaction/index.js.map +1 -1
- package/dist/compaction/manager.d.ts +25 -0
- package/dist/compaction/manager.d.ts.map +1 -1
- package/dist/compaction/manager.js +42 -8
- package/dist/compaction/manager.js.map +1 -1
- package/dist/compaction/managers/structured.d.ts.map +1 -1
- package/dist/compaction/managers/structured.js +7 -3
- package/dist/compaction/managers/structured.js.map +1 -1
- package/dist/compaction/retention.d.ts +15 -0
- package/dist/compaction/retention.d.ts.map +1 -0
- package/dist/compaction/retention.js +89 -0
- package/dist/compaction/retention.js.map +1 -0
- package/dist/compaction/serializer.d.ts.map +1 -1
- package/dist/compaction/serializer.js +28 -11
- package/dist/compaction/serializer.js.map +1 -1
- package/dist/compaction/tool-result-editing.d.ts +54 -0
- package/dist/compaction/tool-result-editing.d.ts.map +1 -0
- package/dist/compaction/tool-result-editing.js +164 -0
- package/dist/compaction/tool-result-editing.js.map +1 -0
- package/dist/compaction/types.d.ts +10 -0
- package/dist/compaction/types.d.ts.map +1 -1
- package/dist/compaction/verifier.d.ts +20 -1
- package/dist/compaction/verifier.d.ts.map +1 -1
- package/dist/compaction/verifier.js +11 -2
- package/dist/compaction/verifier.js.map +1 -1
- package/dist/compaction/wire.d.ts +54 -0
- package/dist/compaction/wire.d.ts.map +1 -0
- package/dist/compaction/wire.js +45 -0
- package/dist/compaction/wire.js.map +1 -0
- package/dist/config/runtime.d.ts +161 -45
- package/dist/config/runtime.d.ts.map +1 -1
- package/dist/config/runtime.js +61 -19
- package/dist/config/runtime.js.map +1 -1
- package/dist/connector/builtins/http.d.ts.map +1 -1
- package/dist/connector/builtins/http.js +14 -1
- package/dist/connector/builtins/http.js.map +1 -1
- package/dist/connector/builtins/http.test.js +12 -0
- package/dist/connector/builtins/http.test.js.map +1 -1
- package/dist/connector/mcp/__tests__/discovery-policy.test.d.ts +2 -0
- package/dist/connector/mcp/__tests__/discovery-policy.test.d.ts.map +1 -0
- package/dist/connector/mcp/__tests__/discovery-policy.test.js +109 -0
- package/dist/connector/mcp/__tests__/discovery-policy.test.js.map +1 -0
- package/dist/connector/mcp/__tests__/list-pagination.test.d.ts +2 -0
- package/dist/connector/mcp/__tests__/list-pagination.test.d.ts.map +1 -0
- package/dist/connector/mcp/__tests__/list-pagination.test.js +81 -0
- package/dist/connector/mcp/__tests__/list-pagination.test.js.map +1 -0
- package/dist/connector/mcp/__tests__/policy.test.d.ts +2 -0
- package/dist/connector/mcp/__tests__/policy.test.d.ts.map +1 -0
- package/dist/connector/mcp/__tests__/policy.test.js +86 -0
- package/dist/connector/mcp/__tests__/policy.test.js.map +1 -0
- package/dist/connector/mcp/__tests__/protocol-negotiation.test.d.ts +2 -0
- package/dist/connector/mcp/__tests__/protocol-negotiation.test.d.ts.map +1 -0
- package/dist/connector/mcp/__tests__/protocol-negotiation.test.js +81 -0
- package/dist/connector/mcp/__tests__/protocol-negotiation.test.js.map +1 -0
- package/dist/connector/mcp/__tests__/schema-fidelity.test.d.ts +2 -0
- package/dist/connector/mcp/__tests__/schema-fidelity.test.d.ts.map +1 -0
- package/dist/connector/mcp/__tests__/schema-fidelity.test.js +206 -0
- package/dist/connector/mcp/__tests__/schema-fidelity.test.js.map +1 -0
- package/dist/connector/mcp/__tests__/structured-result.test.d.ts +2 -0
- package/dist/connector/mcp/__tests__/structured-result.test.d.ts.map +1 -0
- package/dist/connector/mcp/__tests__/structured-result.test.js +112 -0
- package/dist/connector/mcp/__tests__/structured-result.test.js.map +1 -0
- package/dist/connector/mcp/adapter.d.ts +14 -0
- package/dist/connector/mcp/adapter.d.ts.map +1 -1
- package/dist/connector/mcp/adapter.js +292 -18
- package/dist/connector/mcp/adapter.js.map +1 -1
- package/dist/connector/mcp/client.d.ts +38 -0
- package/dist/connector/mcp/client.d.ts.map +1 -1
- package/dist/connector/mcp/client.js +138 -12
- package/dist/connector/mcp/client.js.map +1 -1
- package/dist/connector/mcp/client.test.d.ts +2 -0
- package/dist/connector/mcp/client.test.d.ts.map +1 -0
- package/dist/connector/mcp/client.test.js +105 -0
- package/dist/connector/mcp/client.test.js.map +1 -0
- package/dist/connector/mcp/discovery.d.ts +32 -1
- package/dist/connector/mcp/discovery.d.ts.map +1 -1
- package/dist/connector/mcp/discovery.js +41 -4
- package/dist/connector/mcp/discovery.js.map +1 -1
- package/dist/connector/mcp/http-sse.d.ts.map +1 -1
- package/dist/connector/mcp/http-sse.js +15 -1
- package/dist/connector/mcp/http-sse.js.map +1 -1
- package/dist/connector/mcp/index.d.ts +3 -0
- package/dist/connector/mcp/index.d.ts.map +1 -1
- package/dist/connector/mcp/index.js +1 -0
- package/dist/connector/mcp/index.js.map +1 -1
- package/dist/connector/mcp/policy.d.ts +57 -0
- package/dist/connector/mcp/policy.d.ts.map +1 -0
- package/dist/connector/mcp/policy.js +84 -0
- package/dist/connector/mcp/policy.js.map +1 -0
- package/dist/connector/mcp/schema-refs.d.ts +26 -0
- package/dist/connector/mcp/schema-refs.d.ts.map +1 -0
- package/dist/connector/mcp/schema-refs.js +111 -0
- package/dist/connector/mcp/schema-refs.js.map +1 -0
- package/dist/constants/agent/index.d.ts.map +1 -1
- package/dist/constants/agent/index.js +3 -0
- package/dist/constants/agent/index.js.map +1 -1
- package/dist/constants/compaction/index.js +1 -1
- package/dist/constants/compaction/index.js.map +1 -1
- package/dist/constants/continuation.d.ts +4 -4
- package/dist/constants/continuation.js +4 -4
- package/dist/constants/mcp/index.d.ts +31 -0
- package/dist/constants/mcp/index.d.ts.map +1 -1
- package/dist/constants/mcp/index.js +31 -0
- package/dist/constants/mcp/index.js.map +1 -1
- package/dist/constants/plugin/index.d.ts +23 -2
- package/dist/constants/plugin/index.d.ts.map +1 -1
- package/dist/constants/plugin/index.js +23 -2
- package/dist/constants/plugin/index.js.map +1 -1
- package/dist/constants/sandbox/index.d.ts +2 -3
- package/dist/constants/sandbox/index.d.ts.map +1 -1
- package/dist/constants/sandbox/index.js +6 -5
- package/dist/constants/sandbox/index.js.map +1 -1
- package/dist/constants/telemetry/index.d.ts +7 -0
- package/dist/constants/telemetry/index.d.ts.map +1 -1
- package/dist/constants/telemetry/index.js +7 -0
- package/dist/constants/telemetry/index.js.map +1 -1
- package/dist/constants/tools/index.d.ts +16 -0
- package/dist/constants/tools/index.d.ts.map +1 -1
- package/dist/constants/tools/index.js +16 -0
- package/dist/constants/tools/index.js.map +1 -1
- package/dist/contracts/a2a.d.ts +94 -94
- package/dist/contracts/api.d.ts +40 -2
- package/dist/contracts/api.d.ts.map +1 -1
- package/dist/contracts/run-status.d.ts +17 -0
- package/dist/contracts/run-status.d.ts.map +1 -0
- package/dist/contracts/run-status.js +41 -0
- package/dist/contracts/run-status.js.map +1 -0
- package/dist/contracts/schemas.d.ts +6 -6
- package/dist/eval/__tests__/case-deadline.test.d.ts +2 -0
- package/dist/eval/__tests__/case-deadline.test.d.ts.map +1 -0
- package/dist/eval/__tests__/case-deadline.test.js +128 -0
- package/dist/eval/__tests__/case-deadline.test.js.map +1 -0
- package/dist/eval/__tests__/end-to-end.test.d.ts +2 -0
- package/dist/eval/__tests__/end-to-end.test.d.ts.map +1 -0
- package/dist/eval/__tests__/end-to-end.test.js +223 -0
- package/dist/eval/__tests__/end-to-end.test.js.map +1 -0
- package/dist/eval/__tests__/harness-honesty.test.d.ts +2 -0
- package/dist/eval/__tests__/harness-honesty.test.d.ts.map +1 -0
- package/dist/eval/__tests__/harness-honesty.test.js +85 -0
- package/dist/eval/__tests__/harness-honesty.test.js.map +1 -0
- package/dist/eval/__tests__/harness.test.d.ts +2 -0
- package/dist/eval/__tests__/harness.test.d.ts.map +1 -0
- package/dist/eval/__tests__/harness.test.js +207 -0
- package/dist/eval/__tests__/harness.test.js.map +1 -0
- package/dist/eval/__tests__/judge.test.d.ts +2 -0
- package/dist/eval/__tests__/judge.test.d.ts.map +1 -0
- package/dist/eval/__tests__/judge.test.js +255 -0
- package/dist/eval/__tests__/judge.test.js.map +1 -0
- package/dist/eval/__tests__/scorer-gates.test.d.ts +2 -0
- package/dist/eval/__tests__/scorer-gates.test.d.ts.map +1 -0
- package/dist/eval/__tests__/scorer-gates.test.js +136 -0
- package/dist/eval/__tests__/scorer-gates.test.js.map +1 -0
- package/dist/eval/experiment.d.ts +54 -0
- package/dist/eval/experiment.d.ts.map +1 -0
- package/dist/eval/experiment.js +263 -0
- package/dist/eval/experiment.js.map +1 -0
- package/dist/eval/from-run.d.ts +30 -0
- package/dist/eval/from-run.d.ts.map +1 -0
- package/dist/eval/from-run.js +46 -0
- package/dist/eval/from-run.js.map +1 -0
- package/dist/eval/index.d.ts +8 -0
- package/dist/eval/index.d.ts.map +1 -0
- package/dist/eval/index.js +5 -0
- package/dist/eval/index.js.map +1 -0
- package/dist/eval/judge.d.ts +63 -0
- package/dist/eval/judge.d.ts.map +1 -0
- package/dist/eval/judge.js +136 -0
- package/dist/eval/judge.js.map +1 -0
- package/dist/eval/scorers.d.ts +40 -0
- package/dist/eval/scorers.d.ts.map +1 -0
- package/dist/eval/scorers.js +151 -0
- package/dist/eval/scorers.js.map +1 -0
- package/dist/eval/types.d.ts +150 -0
- package/dist/eval/types.d.ts.map +1 -0
- package/dist/eval/types.js +2 -0
- package/dist/eval/types.js.map +1 -0
- package/dist/execution/local.d.ts.map +1 -1
- package/dist/execution/local.js +6 -1
- package/dist/execution/local.js.map +1 -1
- package/dist/execution/local.test.d.ts +2 -0
- package/dist/execution/local.test.d.ts.map +1 -0
- package/dist/execution/local.test.js +37 -0
- package/dist/execution/local.test.js.map +1 -0
- package/dist/gateway/__tests__/list-survives-eviction.test.d.ts +2 -0
- package/dist/gateway/__tests__/list-survives-eviction.test.d.ts.map +1 -0
- package/dist/gateway/__tests__/list-survives-eviction.test.js +102 -0
- package/dist/gateway/__tests__/list-survives-eviction.test.js.map +1 -0
- package/dist/gateway/local.d.ts +42 -2
- package/dist/gateway/local.d.ts.map +1 -1
- package/dist/gateway/local.js +110 -3
- package/dist/gateway/local.js.map +1 -1
- package/dist/manager/agent/__tests__/dispose-cancels.test.d.ts +2 -0
- package/dist/manager/agent/__tests__/dispose-cancels.test.d.ts.map +1 -0
- package/dist/manager/agent/__tests__/dispose-cancels.test.js +88 -0
- package/dist/manager/agent/__tests__/dispose-cancels.test.js.map +1 -0
- package/dist/manager/agent/__tests__/lifecycle.test.js +230 -0
- package/dist/manager/agent/__tests__/lifecycle.test.js.map +1 -1
- package/dist/manager/agent/lifecycle.d.ts +35 -0
- package/dist/manager/agent/lifecycle.d.ts.map +1 -1
- package/dist/manager/agent/lifecycle.js +117 -7
- package/dist/manager/agent/lifecycle.js.map +1 -1
- package/dist/manager/run/persistence.d.ts +90 -1
- package/dist/manager/run/persistence.d.ts.map +1 -1
- package/dist/manager/run/persistence.js +120 -0
- package/dist/manager/run/persistence.js.map +1 -1
- package/dist/plugin/__tests__/enable-contributions.test.js +3 -3
- package/dist/plugin/__tests__/enable-contributions.test.js.map +1 -1
- package/dist/plugin/__tests__/hook-ordering.test.d.ts +2 -0
- package/dist/plugin/__tests__/hook-ordering.test.d.ts.map +1 -0
- package/dist/plugin/__tests__/hook-ordering.test.js +227 -0
- package/dist/plugin/__tests__/hook-ordering.test.js.map +1 -0
- package/dist/plugin/__tests__/install-time-refusal.test.d.ts +2 -0
- package/dist/plugin/__tests__/install-time-refusal.test.d.ts.map +1 -0
- package/dist/plugin/__tests__/install-time-refusal.test.js +49 -0
- package/dist/plugin/__tests__/install-time-refusal.test.js.map +1 -0
- package/dist/plugin/__tests__/lifecycle.test.js +95 -68
- package/dist/plugin/__tests__/lifecycle.test.js.map +1 -1
- package/dist/plugin/lifecycle.d.ts +15 -1
- package/dist/plugin/lifecycle.d.ts.map +1 -1
- package/dist/plugin/lifecycle.js +67 -20
- package/dist/plugin/lifecycle.js.map +1 -1
- package/dist/plugin/loader.d.ts +15 -0
- package/dist/plugin/loader.d.ts.map +1 -1
- package/dist/plugin/loader.js +33 -1
- package/dist/plugin/loader.js.map +1 -1
- package/dist/probe/registry.d.ts.map +1 -1
- package/dist/probe/registry.js +19 -1
- package/dist/probe/registry.js.map +1 -1
- package/dist/probe/registry.test.d.ts +9 -3
- package/dist/probe/registry.test.d.ts.map +1 -1
- package/dist/probe/registry.test.js +44 -6
- package/dist/probe/registry.test.js.map +1 -1
- package/dist/provider/__tests__/mock-script.test.d.ts +2 -0
- package/dist/provider/__tests__/mock-script.test.d.ts.map +1 -0
- package/dist/provider/__tests__/mock-script.test.js +151 -0
- package/dist/provider/__tests__/mock-script.test.js.map +1 -0
- package/dist/provider/__tests__/retry-visibility.test.d.ts +2 -0
- package/dist/provider/__tests__/retry-visibility.test.d.ts.map +1 -0
- package/dist/provider/__tests__/retry-visibility.test.js +137 -0
- package/dist/provider/__tests__/retry-visibility.test.js.map +1 -0
- package/dist/provider/__tests__/retry.test.d.ts +2 -0
- package/dist/provider/__tests__/retry.test.d.ts.map +1 -0
- package/dist/provider/__tests__/retry.test.js +259 -0
- package/dist/provider/__tests__/retry.test.js.map +1 -0
- package/dist/provider/capabilities.d.ts +1 -0
- package/dist/provider/capabilities.d.ts.map +1 -1
- package/dist/provider/capabilities.js +2 -0
- package/dist/provider/capabilities.js.map +1 -1
- package/dist/provider/collect.d.ts +1 -1
- package/dist/provider/collect.js +1 -1
- package/dist/provider/collect.test.d.ts +1 -1
- package/dist/provider/collect.test.js +1 -1
- package/dist/provider/index.d.ts +3 -0
- package/dist/provider/index.d.ts.map +1 -1
- package/dist/provider/index.js +2 -0
- package/dist/provider/index.js.map +1 -1
- package/dist/provider/mock-register.d.ts.map +1 -1
- package/dist/provider/mock-register.js +5 -2
- package/dist/provider/mock-register.js.map +1 -1
- package/dist/provider/mock.d.ts +35 -5
- package/dist/provider/mock.d.ts.map +1 -1
- package/dist/provider/mock.js +104 -32
- package/dist/provider/mock.js.map +1 -1
- package/dist/provider/retry.d.ts +42 -0
- package/dist/provider/retry.d.ts.map +1 -0
- package/dist/provider/retry.js +161 -0
- package/dist/provider/retry.js.map +1 -0
- package/dist/public-runtime.d.ts +26 -7
- package/dist/public-runtime.d.ts.map +1 -1
- package/dist/public-runtime.js +50 -7
- package/dist/public-runtime.js.map +1 -1
- package/dist/public-types.d.ts +5 -1
- package/dist/public-types.d.ts.map +1 -1
- package/dist/rag/__tests__/retrieval-math.test.d.ts +2 -0
- package/dist/rag/__tests__/retrieval-math.test.d.ts.map +1 -0
- package/dist/rag/__tests__/retrieval-math.test.js +46 -0
- package/dist/rag/__tests__/retrieval-math.test.js.map +1 -0
- package/dist/rag/chunking.d.ts +12 -0
- package/dist/rag/chunking.d.ts.map +1 -1
- package/dist/rag/chunking.js +32 -1
- package/dist/rag/chunking.js.map +1 -1
- package/dist/rag/embedding.d.ts +4 -4
- package/dist/rag/embedding.d.ts.map +1 -1
- package/dist/rag/embedding.js +23 -3
- package/dist/rag/embedding.js.map +1 -1
- package/dist/rag/embedding.test.d.ts +1 -1
- package/dist/rag/embedding.test.js +59 -10
- package/dist/rag/embedding.test.js.map +1 -1
- package/dist/rag/index.d.ts +1 -1
- package/dist/rag/index.d.ts.map +1 -1
- package/dist/rag/index.js +1 -1
- package/dist/rag/index.js.map +1 -1
- package/dist/rag/retriever.d.ts +0 -1
- package/dist/rag/retriever.d.ts.map +1 -1
- package/dist/rag/retriever.js +75 -22
- package/dist/rag/retriever.js.map +1 -1
- package/dist/rag/vector-store.test.d.ts +1 -1
- package/dist/rag/vector-store.test.js +2 -2
- package/dist/rag/vector-store.test.js.map +1 -1
- package/dist/registry/ManagedRegistry.test.d.ts +1 -1
- package/dist/registry/ManagedRegistry.test.js +1 -1
- package/dist/registry/Registry.test.d.ts +1 -1
- package/dist/registry/Registry.test.js +1 -1
- package/dist/registry/connector/definitions.test.d.ts +1 -1
- package/dist/registry/connector/definitions.test.js +1 -1
- package/dist/registry/tool/__tests__/schema.test.d.ts +2 -0
- package/dist/registry/tool/__tests__/schema.test.d.ts.map +1 -0
- package/dist/registry/tool/__tests__/schema.test.js +176 -0
- package/dist/registry/tool/__tests__/schema.test.js.map +1 -0
- package/dist/registry/tool/__tests__/tool-name-validation.test.d.ts +2 -0
- package/dist/registry/tool/__tests__/tool-name-validation.test.d.ts.map +1 -0
- package/dist/registry/tool/__tests__/tool-name-validation.test.js +70 -0
- package/dist/registry/tool/__tests__/tool-name-validation.test.js.map +1 -0
- package/dist/registry/tool/execute.d.ts +37 -0
- package/dist/registry/tool/execute.d.ts.map +1 -1
- package/dist/registry/tool/execute.js +91 -21
- package/dist/registry/tool/execute.js.map +1 -1
- package/dist/registry/tool/schema.d.ts +26 -0
- package/dist/registry/tool/schema.d.ts.map +1 -0
- package/dist/registry/tool/schema.js +77 -0
- package/dist/registry/tool/schema.js.map +1 -0
- package/dist/registry/toolset/catalog.d.ts.map +1 -1
- package/dist/registry/toolset/catalog.js +0 -1
- package/dist/registry/toolset/catalog.js.map +1 -1
- package/dist/registry/toolset/catalog.test.js +0 -1
- package/dist/registry/toolset/catalog.test.js.map +1 -1
- package/dist/run/reporter.d.ts.map +1 -1
- package/dist/run/reporter.js +76 -0
- package/dist/run/reporter.js.map +1 -1
- package/dist/runtime/bidi/__tests__/session.test.d.ts +2 -0
- package/dist/runtime/bidi/__tests__/session.test.d.ts.map +1 -0
- package/dist/runtime/bidi/__tests__/session.test.js +201 -0
- package/dist/runtime/bidi/__tests__/session.test.js.map +1 -0
- package/dist/runtime/bidi/index.d.ts +5 -0
- package/dist/runtime/bidi/index.d.ts.map +1 -0
- package/dist/runtime/bidi/index.js +3 -0
- package/dist/runtime/bidi/index.js.map +1 -0
- package/dist/runtime/bidi/mock.d.ts +34 -0
- package/dist/runtime/bidi/mock.d.ts.map +1 -0
- package/dist/runtime/bidi/mock.js +60 -0
- package/dist/runtime/bidi/mock.js.map +1 -0
- package/dist/runtime/bidi/session.d.ts +44 -0
- package/dist/runtime/bidi/session.d.ts.map +1 -0
- package/dist/runtime/bidi/session.js +154 -0
- package/dist/runtime/bidi/session.js.map +1 -0
- package/dist/runtime/decision/parser.d.ts.map +1 -1
- package/dist/runtime/decision/parser.js +8 -1
- package/dist/runtime/decision/parser.js.map +1 -1
- package/dist/runtime/decision/parser.test.d.ts +2 -0
- package/dist/runtime/decision/parser.test.d.ts.map +1 -0
- package/dist/runtime/decision/parser.test.js +37 -0
- package/dist/runtime/decision/parser.test.js.map +1 -0
- package/dist/runtime/query/__tests__/answer-review.test.d.ts +2 -0
- package/dist/runtime/query/__tests__/answer-review.test.d.ts.map +1 -0
- package/dist/runtime/query/__tests__/answer-review.test.js +141 -0
- package/dist/runtime/query/__tests__/answer-review.test.js.map +1 -0
- package/dist/runtime/query/__tests__/capability-negotiation.test.js +24 -111
- package/dist/runtime/query/__tests__/capability-negotiation.test.js.map +1 -1
- package/dist/runtime/query/__tests__/checkpoint-store.test.js +12 -44
- package/dist/runtime/query/__tests__/checkpoint-store.test.js.map +1 -1
- package/dist/runtime/query/__tests__/checkpoint.test.js +2 -10
- package/dist/runtime/query/__tests__/checkpoint.test.js.map +1 -1
- package/dist/runtime/query/__tests__/citations.test.d.ts +2 -0
- package/dist/runtime/query/__tests__/citations.test.d.ts.map +1 -0
- package/dist/runtime/query/__tests__/citations.test.js +85 -0
- package/dist/runtime/query/__tests__/citations.test.js.map +1 -0
- package/dist/runtime/query/__tests__/content-budget.test.d.ts +2 -0
- package/dist/runtime/query/__tests__/content-budget.test.d.ts.map +1 -0
- package/dist/runtime/query/__tests__/content-budget.test.js +69 -0
- package/dist/runtime/query/__tests__/content-budget.test.js.map +1 -0
- package/dist/runtime/query/__tests__/context.test.js +3 -2
- package/dist/runtime/query/__tests__/context.test.js.map +1 -1
- package/dist/runtime/query/__tests__/deferred-tools.test.js +21 -130
- package/dist/runtime/query/__tests__/deferred-tools.test.js.map +1 -1
- package/dist/runtime/query/__tests__/delegation-resume.test.d.ts +2 -0
- package/dist/runtime/query/__tests__/delegation-resume.test.d.ts.map +1 -0
- package/dist/runtime/query/__tests__/delegation-resume.test.js +111 -0
- package/dist/runtime/query/__tests__/delegation-resume.test.js.map +1 -0
- package/dist/runtime/query/__tests__/document-attachments.test.d.ts +2 -0
- package/dist/runtime/query/__tests__/document-attachments.test.d.ts.map +1 -0
- package/dist/runtime/query/__tests__/document-attachments.test.js +92 -0
- package/dist/runtime/query/__tests__/document-attachments.test.js.map +1 -0
- package/dist/runtime/query/__tests__/durable-park-and-trace.test.d.ts +2 -0
- package/dist/runtime/query/__tests__/durable-park-and-trace.test.d.ts.map +1 -0
- package/dist/runtime/query/__tests__/durable-park-and-trace.test.js +194 -0
- package/dist/runtime/query/__tests__/durable-park-and-trace.test.js.map +1 -0
- package/dist/runtime/query/__tests__/durable-question-park.test.d.ts +2 -0
- package/dist/runtime/query/__tests__/durable-question-park.test.d.ts.map +1 -0
- package/dist/runtime/query/__tests__/durable-question-park.test.js +253 -0
- package/dist/runtime/query/__tests__/durable-question-park.test.js.map +1 -0
- package/dist/runtime/query/__tests__/durable-run-state.test.d.ts +2 -0
- package/dist/runtime/query/__tests__/durable-run-state.test.d.ts.map +1 -0
- package/dist/runtime/query/__tests__/durable-run-state.test.js +158 -0
- package/dist/runtime/query/__tests__/durable-run-state.test.js.map +1 -0
- package/dist/runtime/query/__tests__/executor-plugin-hooks.test.js +24 -20
- package/dist/runtime/query/__tests__/executor-plugin-hooks.test.js.map +1 -1
- package/dist/runtime/query/__tests__/finish-reason-vs-tool-calls.test.d.ts +2 -0
- package/dist/runtime/query/__tests__/finish-reason-vs-tool-calls.test.d.ts.map +1 -0
- package/dist/runtime/query/__tests__/finish-reason-vs-tool-calls.test.js +187 -0
- package/dist/runtime/query/__tests__/finish-reason-vs-tool-calls.test.js.map +1 -0
- package/dist/runtime/query/__tests__/grant-cannot-overrule-the-gate.test.d.ts +2 -0
- package/dist/runtime/query/__tests__/grant-cannot-overrule-the-gate.test.d.ts.map +1 -0
- package/dist/runtime/query/__tests__/grant-cannot-overrule-the-gate.test.js +95 -0
- package/dist/runtime/query/__tests__/grant-cannot-overrule-the-gate.test.js.map +1 -0
- package/dist/runtime/query/__tests__/guardrails-e2e.test.d.ts +2 -0
- package/dist/runtime/query/__tests__/guardrails-e2e.test.d.ts.map +1 -0
- package/dist/runtime/query/__tests__/guardrails-e2e.test.js +132 -0
- package/dist/runtime/query/__tests__/guardrails-e2e.test.js.map +1 -0
- package/dist/runtime/query/__tests__/guardrails.test.d.ts +2 -0
- package/dist/runtime/query/__tests__/guardrails.test.d.ts.map +1 -0
- package/dist/runtime/query/__tests__/guardrails.test.js +163 -0
- package/dist/runtime/query/__tests__/guardrails.test.js.map +1 -0
- package/dist/runtime/query/__tests__/hook-model-visibility.test.d.ts +2 -0
- package/dist/runtime/query/__tests__/hook-model-visibility.test.d.ts.map +1 -0
- package/dist/runtime/query/__tests__/hook-model-visibility.test.js +119 -0
- package/dist/runtime/query/__tests__/hook-model-visibility.test.js.map +1 -0
- package/dist/runtime/query/__tests__/long-document-flow.test.js +9 -2
- package/dist/runtime/query/__tests__/long-document-flow.test.js.map +1 -1
- package/dist/runtime/query/__tests__/memory-promotion.test.d.ts +2 -0
- package/dist/runtime/query/__tests__/memory-promotion.test.d.ts.map +1 -0
- package/dist/runtime/query/__tests__/memory-promotion.test.js +119 -0
- package/dist/runtime/query/__tests__/memory-promotion.test.js.map +1 -0
- package/dist/runtime/query/__tests__/orphan-task-turn-end.test.js +5 -27
- package/dist/runtime/query/__tests__/orphan-task-turn-end.test.js.map +1 -1
- package/dist/runtime/query/__tests__/overflow-relief.test.d.ts +2 -0
- package/dist/runtime/query/__tests__/overflow-relief.test.d.ts.map +1 -0
- package/dist/runtime/query/__tests__/overflow-relief.test.js +119 -0
- package/dist/runtime/query/__tests__/overflow-relief.test.js.map +1 -0
- package/dist/runtime/query/__tests__/partial-batch-resume.test.d.ts +2 -0
- package/dist/runtime/query/__tests__/partial-batch-resume.test.d.ts.map +1 -0
- package/dist/runtime/query/__tests__/partial-batch-resume.test.js +205 -0
- package/dist/runtime/query/__tests__/partial-batch-resume.test.js.map +1 -0
- package/dist/runtime/query/__tests__/plugin-hooks.test.js +0 -1
- package/dist/runtime/query/__tests__/plugin-hooks.test.js.map +1 -1
- package/dist/runtime/query/__tests__/prepare-step-chain.test.d.ts +2 -0
- package/dist/runtime/query/__tests__/prepare-step-chain.test.d.ts.map +1 -0
- package/dist/runtime/query/__tests__/prepare-step-chain.test.js +104 -0
- package/dist/runtime/query/__tests__/prepare-step-chain.test.js.map +1 -0
- package/dist/runtime/query/__tests__/prepare-step.test.d.ts +2 -0
- package/dist/runtime/query/__tests__/prepare-step.test.d.ts.map +1 -0
- package/dist/runtime/query/__tests__/prepare-step.test.js +194 -0
- package/dist/runtime/query/__tests__/prepare-step.test.js.map +1 -0
- package/dist/runtime/query/__tests__/probe-veto-is-error.test.d.ts +2 -0
- package/dist/runtime/query/__tests__/probe-veto-is-error.test.d.ts.map +1 -0
- package/dist/runtime/query/__tests__/probe-veto-is-error.test.js +111 -0
- package/dist/runtime/query/__tests__/probe-veto-is-error.test.js.map +1 -0
- package/dist/runtime/query/__tests__/prompt.test.js +1 -1
- package/dist/runtime/query/__tests__/prompt.test.js.map +1 -1
- package/dist/runtime/query/__tests__/provider-fault-pauses.test.d.ts +2 -0
- package/dist/runtime/query/__tests__/provider-fault-pauses.test.d.ts.map +1 -0
- package/dist/runtime/query/__tests__/provider-fault-pauses.test.js +86 -0
- package/dist/runtime/query/__tests__/provider-fault-pauses.test.js.map +1 -0
- package/dist/runtime/query/__tests__/reasoning-stream.test.d.ts +2 -0
- package/dist/runtime/query/__tests__/reasoning-stream.test.d.ts.map +1 -0
- package/dist/runtime/query/__tests__/reasoning-stream.test.js +146 -0
- package/dist/runtime/query/__tests__/reasoning-stream.test.js.map +1 -0
- package/dist/runtime/query/__tests__/recoverable-settle.test.d.ts +2 -0
- package/dist/runtime/query/__tests__/recoverable-settle.test.d.ts.map +1 -0
- package/dist/runtime/query/__tests__/recoverable-settle.test.js +119 -0
- package/dist/runtime/query/__tests__/recoverable-settle.test.js.map +1 -0
- package/dist/runtime/query/__tests__/resume-budget.test.d.ts +2 -0
- package/dist/runtime/query/__tests__/resume-budget.test.d.ts.map +1 -0
- package/dist/runtime/query/__tests__/resume-budget.test.js +130 -0
- package/dist/runtime/query/__tests__/resume-budget.test.js.map +1 -0
- package/dist/runtime/query/__tests__/resume-pending.test.d.ts +2 -0
- package/dist/runtime/query/__tests__/resume-pending.test.d.ts.map +1 -0
- package/dist/runtime/query/__tests__/resume-pending.test.js +226 -0
- package/dist/runtime/query/__tests__/resume-pending.test.js.map +1 -0
- package/dist/runtime/query/__tests__/rich-content-budget-wiring.test.d.ts +2 -0
- package/dist/runtime/query/__tests__/rich-content-budget-wiring.test.d.ts.map +1 -0
- package/dist/runtime/query/__tests__/rich-content-budget-wiring.test.js +89 -0
- package/dist/runtime/query/__tests__/rich-content-budget-wiring.test.js.map +1 -0
- package/dist/runtime/query/__tests__/stop-condition.test.d.ts +2 -0
- package/dist/runtime/query/__tests__/stop-condition.test.d.ts.map +1 -0
- package/dist/runtime/query/__tests__/stop-condition.test.js +205 -0
- package/dist/runtime/query/__tests__/stop-condition.test.js.map +1 -0
- package/dist/runtime/query/__tests__/structured-output.test.d.ts +2 -0
- package/dist/runtime/query/__tests__/structured-output.test.d.ts.map +1 -0
- package/dist/runtime/query/__tests__/structured-output.test.js +219 -0
- package/dist/runtime/query/__tests__/structured-output.test.js.map +1 -0
- package/dist/runtime/query/__tests__/structured-run-failure.test.d.ts +2 -0
- package/dist/runtime/query/__tests__/structured-run-failure.test.d.ts.map +1 -0
- package/dist/runtime/query/__tests__/structured-run-failure.test.js +117 -0
- package/dist/runtime/query/__tests__/structured-run-failure.test.js.map +1 -0
- package/dist/runtime/query/__tests__/terminal-tool.test.d.ts +2 -0
- package/dist/runtime/query/__tests__/terminal-tool.test.d.ts.map +1 -0
- package/dist/runtime/query/__tests__/terminal-tool.test.js +119 -0
- package/dist/runtime/query/__tests__/terminal-tool.test.js.map +1 -0
- package/dist/runtime/query/__tests__/tool-grants.test.d.ts +2 -0
- package/dist/runtime/query/__tests__/tool-grants.test.d.ts.map +1 -0
- package/dist/runtime/query/__tests__/tool-grants.test.js +85 -0
- package/dist/runtime/query/__tests__/tool-grants.test.js.map +1 -0
- package/dist/runtime/query/__tests__/tool-output-budget.test.d.ts +2 -0
- package/dist/runtime/query/__tests__/tool-output-budget.test.d.ts.map +1 -0
- package/dist/runtime/query/__tests__/tool-output-budget.test.js +0 -0
- package/dist/runtime/query/__tests__/tool-output-budget.test.js.map +1 -0
- package/dist/runtime/query/__tests__/tool-pause.test.d.ts +2 -0
- package/dist/runtime/query/__tests__/tool-pause.test.d.ts.map +1 -0
- package/dist/runtime/query/__tests__/tool-pause.test.js +165 -0
- package/dist/runtime/query/__tests__/tool-pause.test.js.map +1 -0
- package/dist/runtime/query/__tests__/tool-progress.test.d.ts +2 -0
- package/dist/runtime/query/__tests__/tool-progress.test.d.ts.map +1 -0
- package/dist/runtime/query/__tests__/tool-progress.test.js +122 -0
- package/dist/runtime/query/__tests__/tool-progress.test.js.map +1 -0
- package/dist/runtime/query/__tests__/tool-repair-retry.test.d.ts +2 -0
- package/dist/runtime/query/__tests__/tool-repair-retry.test.d.ts.map +1 -0
- package/dist/runtime/query/__tests__/tool-repair-retry.test.js +196 -0
- package/dist/runtime/query/__tests__/tool-repair-retry.test.js.map +1 -0
- package/dist/runtime/query/__tests__/tool-result-wire.test.d.ts +2 -0
- package/dist/runtime/query/__tests__/tool-result-wire.test.d.ts.map +1 -0
- package/dist/runtime/query/__tests__/tool-result-wire.test.js +106 -0
- package/dist/runtime/query/__tests__/tool-result-wire.test.js.map +1 -0
- package/dist/runtime/query/__tests__/tool-timeout.test.d.ts +2 -0
- package/dist/runtime/query/__tests__/tool-timeout.test.d.ts.map +1 -0
- package/dist/runtime/query/__tests__/tool-timeout.test.js +184 -0
- package/dist/runtime/query/__tests__/tool-timeout.test.js.map +1 -0
- package/dist/runtime/query/__tests__/trace-parenting.test.d.ts +2 -0
- package/dist/runtime/query/__tests__/trace-parenting.test.d.ts.map +1 -0
- package/dist/runtime/query/__tests__/trace-parenting.test.js +111 -0
- package/dist/runtime/query/__tests__/trace-parenting.test.js.map +1 -0
- package/dist/runtime/query/__tests__/wiring-seams.test.d.ts +2 -0
- package/dist/runtime/query/__tests__/wiring-seams.test.d.ts.map +1 -0
- package/dist/runtime/query/__tests__/wiring-seams.test.js +237 -0
- package/dist/runtime/query/__tests__/wiring-seams.test.js.map +1 -0
- package/dist/runtime/query/checkpoint.d.ts +124 -6
- package/dist/runtime/query/checkpoint.d.ts.map +1 -1
- package/dist/runtime/query/checkpoint.js +207 -6
- package/dist/runtime/query/checkpoint.js.map +1 -1
- package/dist/runtime/query/events.js +2 -2
- package/dist/runtime/query/events.js.map +1 -1
- package/dist/runtime/query/executor.d.ts +224 -7
- package/dist/runtime/query/executor.d.ts.map +1 -1
- package/dist/runtime/query/executor.js +662 -35
- package/dist/runtime/query/executor.js.map +1 -1
- package/dist/runtime/query/guard.d.ts +18 -0
- package/dist/runtime/query/guard.d.ts.map +1 -1
- package/dist/runtime/query/guard.js +16 -1
- package/dist/runtime/query/guard.js.map +1 -1
- package/dist/runtime/query/guardrail-presets.d.ts +36 -0
- package/dist/runtime/query/guardrail-presets.d.ts.map +1 -0
- package/dist/runtime/query/guardrail-presets.js +96 -0
- package/dist/runtime/query/guardrail-presets.js.map +1 -0
- package/dist/runtime/query/guardrails.d.ts +35 -0
- package/dist/runtime/query/guardrails.d.ts.map +1 -0
- package/dist/runtime/query/guardrails.js +102 -0
- package/dist/runtime/query/guardrails.js.map +1 -0
- package/dist/runtime/query/index.d.ts +213 -2
- package/dist/runtime/query/index.d.ts.map +1 -1
- package/dist/runtime/query/index.js +458 -10
- package/dist/runtime/query/index.js.map +1 -1
- package/dist/runtime/query/iteration/__tests__/cancel-settles-turn.test.d.ts +2 -0
- package/dist/runtime/query/iteration/__tests__/cancel-settles-turn.test.d.ts.map +1 -0
- package/dist/runtime/query/iteration/__tests__/cancel-settles-turn.test.js +131 -0
- package/dist/runtime/query/iteration/__tests__/cancel-settles-turn.test.js.map +1 -0
- package/dist/runtime/query/iteration/index.d.ts +76 -1
- package/dist/runtime/query/iteration/index.d.ts.map +1 -1
- package/dist/runtime/query/iteration/index.js +577 -34
- package/dist/runtime/query/iteration/index.js.map +1 -1
- package/dist/runtime/query/iteration/phases/advisory.d.ts.map +1 -1
- package/dist/runtime/query/iteration/phases/advisory.js +14 -2
- package/dist/runtime/query/iteration/phases/advisory.js.map +1 -1
- package/dist/runtime/query/iteration/phases/advisory.test.d.ts +1 -1
- package/dist/runtime/query/iteration/phases/advisory.test.js +4 -1
- package/dist/runtime/query/iteration/phases/advisory.test.js.map +1 -1
- package/dist/runtime/query/iteration/phases/checkpoint.js +2 -2
- package/dist/runtime/query/iteration/phases/checkpoint.js.map +1 -1
- package/dist/runtime/query/iteration/phases/compaction-safe-cut.test.js +1 -1
- package/dist/runtime/query/iteration/phases/compaction-safe-cut.test.js.map +1 -1
- package/dist/runtime/query/iteration/phases/compaction.d.ts +22 -1
- package/dist/runtime/query/iteration/phases/compaction.d.ts.map +1 -1
- package/dist/runtime/query/iteration/phases/compaction.js +297 -64
- package/dist/runtime/query/iteration/phases/compaction.js.map +1 -1
- package/dist/runtime/query/iteration/phases/context-measurement.test.d.ts +21 -0
- package/dist/runtime/query/iteration/phases/context-measurement.test.d.ts.map +1 -0
- package/dist/runtime/query/iteration/phases/context-measurement.test.js +161 -0
- package/dist/runtime/query/iteration/phases/context-measurement.test.js.map +1 -0
- package/dist/runtime/query/iteration/phases/context.d.ts +62 -2
- package/dist/runtime/query/iteration/phases/context.d.ts.map +1 -1
- package/dist/runtime/query/iteration/phases/context.js +87 -0
- package/dist/runtime/query/iteration/phases/context.js.map +1 -1
- package/dist/runtime/query/iteration/phases/hitl-answer-question.test.js +3 -1
- package/dist/runtime/query/iteration/phases/hitl-answer-question.test.js.map +1 -1
- package/dist/runtime/query/iteration/phases/overflow-escalation.test.d.ts +15 -0
- package/dist/runtime/query/iteration/phases/overflow-escalation.test.d.ts.map +1 -0
- package/dist/runtime/query/iteration/phases/overflow-escalation.test.js +130 -0
- package/dist/runtime/query/iteration/phases/overflow-escalation.test.js.map +1 -0
- package/dist/runtime/query/iteration/phases/plan.d.ts.map +1 -1
- package/dist/runtime/query/iteration/phases/plan.js +8 -2
- package/dist/runtime/query/iteration/phases/plan.js.map +1 -1
- package/dist/runtime/query/iteration/phases/retained-messages.test.d.ts +2 -0
- package/dist/runtime/query/iteration/phases/retained-messages.test.d.ts.map +1 -0
- package/dist/runtime/query/iteration/phases/retained-messages.test.js +180 -0
- package/dist/runtime/query/iteration/phases/retained-messages.test.js.map +1 -0
- package/dist/runtime/query/iteration/phases/tool-review-denials.test.d.ts +2 -0
- package/dist/runtime/query/iteration/phases/tool-review-denials.test.d.ts.map +1 -0
- package/dist/runtime/query/iteration/phases/tool-review-denials.test.js +224 -0
- package/dist/runtime/query/iteration/phases/tool-review-denials.test.js.map +1 -0
- package/dist/runtime/query/iteration/phases/tool-review.d.ts +29 -1
- package/dist/runtime/query/iteration/phases/tool-review.d.ts.map +1 -1
- package/dist/runtime/query/iteration/phases/tool-review.js +114 -44
- package/dist/runtime/query/iteration/phases/tool-review.js.map +1 -1
- package/dist/runtime/query/iteration/phases/working-memory-compaction.test.js +20 -9
- package/dist/runtime/query/iteration/phases/working-memory-compaction.test.js.map +1 -1
- package/dist/runtime/query/iteration/stream-turn.d.ts +2 -26
- package/dist/runtime/query/iteration/stream-turn.d.ts.map +1 -1
- package/dist/runtime/query/iteration/stream-turn.js +254 -16
- package/dist/runtime/query/iteration/stream-turn.js.map +1 -1
- package/dist/runtime/query/plugin-hooks.d.ts.map +1 -1
- package/dist/runtime/query/plugin-hooks.js +6 -2
- package/dist/runtime/query/plugin-hooks.js.map +1 -1
- package/dist/runtime/query/prompt.d.ts.map +1 -1
- package/dist/runtime/query/prompt.js +25 -1
- package/dist/runtime/query/prompt.js.map +1 -1
- package/dist/runtime/query/question-park.d.ts +85 -0
- package/dist/runtime/query/question-park.d.ts.map +1 -0
- package/dist/runtime/query/question-park.js +71 -0
- package/dist/runtime/query/question-park.js.map +1 -0
- package/dist/runtime/query/result.d.ts +9 -0
- package/dist/runtime/query/result.d.ts.map +1 -1
- package/dist/runtime/query/result.js +49 -0
- package/dist/runtime/query/result.js.map +1 -1
- package/dist/runtime/query/resume-pending.d.ts +106 -0
- package/dist/runtime/query/resume-pending.d.ts.map +1 -0
- package/dist/runtime/query/resume-pending.js +312 -0
- package/dist/runtime/query/resume-pending.js.map +1 -0
- package/dist/runtime/query/run-state.d.ts +52 -0
- package/dist/runtime/query/run-state.d.ts.map +1 -0
- package/dist/runtime/query/run-state.js +87 -0
- package/dist/runtime/query/run-state.js.map +1 -0
- package/dist/runtime/query/tool-grants.d.ts +44 -0
- package/dist/runtime/query/tool-grants.d.ts.map +1 -0
- package/dist/runtime/query/tool-grants.js +63 -0
- package/dist/runtime/query/tool-grants.js.map +1 -0
- package/dist/runtime/query/tool-output-budget.d.ts +83 -0
- package/dist/runtime/query/tool-output-budget.d.ts.map +1 -0
- package/dist/runtime/query/tool-output-budget.js +147 -0
- package/dist/runtime/query/tool-output-budget.js.map +1 -0
- package/dist/runtime/query/tool-pause.d.ts +41 -0
- package/dist/runtime/query/tool-pause.d.ts.map +1 -0
- package/dist/runtime/query/tool-pause.js +94 -0
- package/dist/runtime/query/tool-pause.js.map +1 -0
- package/dist/runtime/query/tooling.d.ts +10 -1
- package/dist/runtime/query/tooling.d.ts.map +1 -1
- package/dist/runtime/query/tooling.js +13 -0
- package/dist/runtime/query/tooling.js.map +1 -1
- package/dist/sandbox/__tests__/isolation.test.d.ts +2 -0
- package/dist/sandbox/__tests__/isolation.test.d.ts.map +1 -0
- package/dist/sandbox/__tests__/isolation.test.js +139 -0
- package/dist/sandbox/__tests__/isolation.test.js.map +1 -0
- package/dist/sandbox/__tests__/output-truncation.test.d.ts +2 -0
- package/dist/sandbox/__tests__/output-truncation.test.d.ts.map +1 -0
- package/dist/sandbox/__tests__/output-truncation.test.js +88 -0
- package/dist/sandbox/__tests__/output-truncation.test.js.map +1 -0
- package/dist/sandbox/__tests__/resource-limits.test.d.ts +2 -0
- package/dist/sandbox/__tests__/resource-limits.test.d.ts.map +1 -0
- package/dist/sandbox/__tests__/resource-limits.test.js +86 -0
- package/dist/sandbox/__tests__/resource-limits.test.js.map +1 -0
- package/dist/sandbox/factory.js +1 -1
- package/dist/sandbox/factory.js.map +1 -1
- package/dist/sandbox/index.d.ts +2 -0
- package/dist/sandbox/index.d.ts.map +1 -1
- package/dist/sandbox/index.js +1 -0
- package/dist/sandbox/index.js.map +1 -1
- package/dist/sandbox/isolation.d.ts +15 -0
- package/dist/sandbox/isolation.d.ts.map +1 -0
- package/dist/sandbox/isolation.js +53 -0
- package/dist/sandbox/isolation.js.map +1 -0
- package/dist/sandbox/provider/local.d.ts +51 -2
- package/dist/sandbox/provider/local.d.ts.map +1 -1
- package/dist/sandbox/provider/local.js +139 -69
- package/dist/sandbox/provider/local.js.map +1 -1
- package/dist/session/__tests__/integration/spawn-rollback.test.d.ts +1 -1
- package/dist/session/__tests__/integration/spawn-rollback.test.js +1 -1
- package/dist/session/handoff/broadcast.js +3 -3
- package/dist/session/handoff/broadcast.js.map +1 -1
- package/dist/session/migration/__tests__/filesystem.test.js +5 -1
- package/dist/session/migration/__tests__/filesystem.test.js.map +1 -1
- package/dist/session/migration/filesystem.d.ts.map +1 -1
- package/dist/session/migration/filesystem.js +7 -13
- package/dist/session/migration/filesystem.js.map +1 -1
- package/dist/session/migration/marker.d.ts.map +1 -1
- package/dist/session/migration/marker.js +5 -10
- package/dist/session/migration/marker.js.map +1 -1
- package/dist/session/retention/disk-backend.d.ts.map +1 -1
- package/dist/session/retention/disk-backend.js +5 -12
- package/dist/session/retention/disk-backend.js.map +1 -1
- package/dist/session/workspace/__tests__/git-worktree.test.js +6 -2
- package/dist/session/workspace/__tests__/git-worktree.test.js.map +1 -1
- package/dist/session/workspace/__tests__/shared-run.test.js +15 -0
- package/dist/session/workspace/__tests__/shared-run.test.js.map +1 -1
- package/dist/session/workspace/shared-run.js +8 -1
- package/dist/session/workspace/shared-run.js.map +1 -1
- package/dist/skills/__tests__/frontmatter.test.d.ts +2 -0
- package/dist/skills/__tests__/frontmatter.test.d.ts.map +1 -0
- package/dist/skills/__tests__/frontmatter.test.js +106 -0
- package/dist/skills/__tests__/frontmatter.test.js.map +1 -0
- package/dist/skills/loader.d.ts.map +1 -1
- package/dist/skills/loader.js +42 -3
- package/dist/skills/loader.js.map +1 -1
- package/dist/store/__tests__/checkpoint-integrity.test.d.ts +2 -0
- package/dist/store/__tests__/checkpoint-integrity.test.d.ts.map +1 -0
- package/dist/store/__tests__/checkpoint-integrity.test.js +112 -0
- package/dist/store/__tests__/checkpoint-integrity.test.js.map +1 -0
- package/dist/store/__tests__/checkpoint-versioning.test.d.ts +2 -0
- package/dist/store/__tests__/checkpoint-versioning.test.d.ts.map +1 -0
- package/dist/store/__tests__/checkpoint-versioning.test.js +151 -0
- package/dist/store/__tests__/checkpoint-versioning.test.js.map +1 -0
- package/dist/store/__tests__/schema-adoption.test.d.ts +2 -0
- package/dist/store/__tests__/schema-adoption.test.d.ts.map +1 -0
- package/dist/store/__tests__/schema-adoption.test.js +90 -0
- package/dist/store/__tests__/schema-adoption.test.js.map +1 -0
- package/dist/store/__tests__/schema.test.d.ts +2 -0
- package/dist/store/__tests__/schema.test.d.ts.map +1 -0
- package/dist/store/__tests__/schema.test.js +93 -0
- package/dist/store/__tests__/schema.test.js.map +1 -0
- package/dist/store/memory/disk.d.ts.map +1 -1
- package/dist/store/memory/disk.js +16 -16
- package/dist/store/memory/disk.js.map +1 -1
- package/dist/store/run/disk.d.ts +23 -0
- package/dist/store/run/disk.d.ts.map +1 -1
- package/dist/store/run/disk.js +148 -23
- package/dist/store/run/disk.js.map +1 -1
- package/dist/store/schema.d.ts +73 -0
- package/dist/store/schema.d.ts.map +1 -0
- package/dist/store/schema.js +103 -0
- package/dist/store/schema.js.map +1 -0
- package/dist/store/session/disk.d.ts.map +1 -1
- package/dist/store/session/disk.js +25 -13
- package/dist/store/session/disk.js.map +1 -1
- package/dist/store/task/__tests__/lookup-across-runs.test.d.ts +2 -0
- package/dist/store/task/__tests__/lookup-across-runs.test.d.ts.map +1 -0
- package/dist/store/task/__tests__/lookup-across-runs.test.js +60 -0
- package/dist/store/task/__tests__/lookup-across-runs.test.js.map +1 -0
- package/dist/store/task/disk.d.ts +18 -0
- package/dist/store/task/disk.d.ts.map +1 -1
- package/dist/store/task/disk.js +61 -16
- package/dist/store/task/disk.js.map +1 -1
- package/dist/store/thread/disk.d.ts.map +1 -1
- package/dist/store/thread/disk.js +20 -11
- package/dist/store/thread/disk.js.map +1 -1
- package/dist/streaming/coalesce.d.ts +1 -1
- package/dist/streaming/coalesce.js +1 -1
- package/dist/telemetry/__tests__/latency-instruments.test.d.ts +2 -0
- package/dist/telemetry/__tests__/latency-instruments.test.d.ts.map +1 -0
- package/dist/telemetry/__tests__/latency-instruments.test.js +82 -0
- package/dist/telemetry/__tests__/latency-instruments.test.js.map +1 -0
- package/dist/telemetry/__tests__/metrics.test.d.ts +2 -0
- package/dist/telemetry/__tests__/metrics.test.d.ts.map +1 -0
- package/dist/telemetry/__tests__/metrics.test.js +112 -0
- package/dist/telemetry/__tests__/metrics.test.js.map +1 -0
- package/dist/telemetry/__tests__/span-hierarchy.test.d.ts +2 -0
- package/dist/telemetry/__tests__/span-hierarchy.test.d.ts.map +1 -0
- package/dist/telemetry/__tests__/span-hierarchy.test.js +84 -0
- package/dist/telemetry/__tests__/span-hierarchy.test.js.map +1 -0
- package/dist/telemetry/attributes.d.ts +44 -0
- package/dist/telemetry/attributes.d.ts.map +1 -1
- package/dist/telemetry/attributes.js +80 -0
- package/dist/telemetry/attributes.js.map +1 -1
- package/dist/telemetry/metrics.d.ts +41 -0
- package/dist/telemetry/metrics.d.ts.map +1 -0
- package/dist/telemetry/metrics.js +160 -0
- package/dist/telemetry/metrics.js.map +1 -0
- package/dist/test-setup.d.ts +3 -3
- package/dist/test-setup.js +3 -3
- package/dist/test-support/paths.d.ts +14 -0
- package/dist/test-support/paths.d.ts.map +1 -0
- package/dist/test-support/paths.js +16 -0
- package/dist/test-support/paths.js.map +1 -0
- package/dist/tools/__tests__/path-containment.test.d.ts +2 -0
- package/dist/tools/__tests__/path-containment.test.d.ts.map +1 -0
- package/dist/tools/__tests__/path-containment.test.js +133 -0
- package/dist/tools/__tests__/path-containment.test.js.map +1 -0
- package/dist/tools/__tests__/posix-path.test.d.ts +2 -0
- package/dist/tools/__tests__/posix-path.test.d.ts.map +1 -0
- package/dist/tools/__tests__/posix-path.test.js +67 -0
- package/dist/tools/__tests__/posix-path.test.js.map +1 -0
- package/dist/tools/__tests__/sandboxed-search.test.d.ts +2 -0
- package/dist/tools/__tests__/sandboxed-search.test.d.ts.map +1 -0
- package/dist/tools/__tests__/sandboxed-search.test.js +114 -0
- package/dist/tools/__tests__/sandboxed-search.test.js.map +1 -0
- package/dist/tools/builtins/__tests__/computer-use.test.js +12 -2
- package/dist/tools/builtins/__tests__/computer-use.test.js.map +1 -1
- package/dist/tools/builtins/__tests__/edit.test.js +10 -216
- package/dist/tools/builtins/__tests__/edit.test.js.map +1 -1
- package/dist/tools/builtins/__tests__/payload-budget.test.js +16 -30
- package/dist/tools/builtins/__tests__/payload-budget.test.js.map +1 -1
- package/dist/tools/builtins/__tests__/read-file.test.js +23 -1
- package/dist/tools/builtins/__tests__/read-file.test.js.map +1 -1
- package/dist/tools/builtins/__tests__/write-file.test.js +13 -37
- package/dist/tools/builtins/__tests__/write-file.test.js.map +1 -1
- package/dist/tools/builtins/bash.d.ts.map +1 -1
- package/dist/tools/builtins/bash.js +33 -4
- package/dist/tools/builtins/bash.js.map +1 -1
- package/dist/tools/builtins/computer-use.d.ts +22 -22
- package/dist/tools/builtins/computer-use.d.ts.map +1 -1
- package/dist/tools/builtins/computer-use.js +7 -1
- package/dist/tools/builtins/computer-use.js.map +1 -1
- package/dist/tools/builtins/edit.d.ts +5 -2
- package/dist/tools/builtins/edit.d.ts.map +1 -1
- package/dist/tools/builtins/edit.js +125 -105
- package/dist/tools/builtins/edit.js.map +1 -1
- package/dist/tools/builtins/glob.d.ts +1 -1
- package/dist/tools/builtins/glob.d.ts.map +1 -1
- package/dist/tools/builtins/glob.js +63 -6
- package/dist/tools/builtins/glob.js.map +1 -1
- package/dist/tools/builtins/grep.d.ts.map +1 -1
- package/dist/tools/builtins/grep.js +61 -8
- package/dist/tools/builtins/grep.js.map +1 -1
- package/dist/tools/builtins/index.js +6 -6
- package/dist/tools/builtins/index.js.map +1 -1
- package/dist/tools/builtins/ls.d.ts.map +1 -1
- package/dist/tools/builtins/ls.js +4 -2
- package/dist/tools/builtins/ls.js.map +1 -1
- package/dist/tools/builtins/read-file.d.ts +1 -1
- package/dist/tools/builtins/read-file.d.ts.map +1 -1
- package/dist/tools/builtins/read-file.js +38 -4
- package/dist/tools/builtins/read-file.js.map +1 -1
- package/dist/tools/builtins/write-file.d.ts +2 -1
- package/dist/tools/builtins/write-file.d.ts.map +1 -1
- package/dist/tools/builtins/write-file.js +40 -66
- package/dist/tools/builtins/write-file.js.map +1 -1
- package/dist/tools/coordinator/__tests__/agent.test.d.ts +1 -1
- package/dist/tools/coordinator/__tests__/agent.test.js +2 -2
- package/dist/tools/coordinator/__tests__/agent.test.js.map +1 -1
- package/dist/tools/coordinator/agent.d.ts +20 -9
- package/dist/tools/coordinator/agent.d.ts.map +1 -1
- package/dist/tools/coordinator/agent.js +2 -1
- package/dist/tools/coordinator/agent.js.map +1 -1
- package/dist/tools/coordinator/index.d.ts +20 -0
- package/dist/tools/coordinator/index.d.ts.map +1 -1
- package/dist/tools/coordinator/index.js +80 -32
- package/dist/tools/coordinator/index.js.map +1 -1
- package/dist/tools/defineTool.d.ts +16 -0
- package/dist/tools/defineTool.d.ts.map +1 -1
- package/dist/tools/defineTool.js +4 -0
- package/dist/tools/defineTool.js.map +1 -1
- package/dist/tools/glob-match.d.ts +18 -0
- package/dist/tools/glob-match.d.ts.map +1 -0
- package/dist/tools/glob-match.js +50 -0
- package/dist/tools/glob-match.js.map +1 -0
- package/dist/tools/paths.d.ts +20 -0
- package/dist/tools/paths.d.ts.map +1 -0
- package/dist/tools/paths.js +41 -0
- package/dist/tools/paths.js.map +1 -0
- package/dist/tools/posix-path.d.ts +24 -0
- package/dist/tools/posix-path.d.ts.map +1 -0
- package/dist/tools/posix-path.js +67 -0
- package/dist/tools/posix-path.js.map +1 -0
- package/dist/types/advisory/config.d.ts +21 -3
- package/dist/types/advisory/config.d.ts.map +1 -1
- package/dist/types/advisory/result.d.ts +12 -10
- package/dist/types/advisory/result.d.ts.map +1 -1
- package/dist/types/agent/base.d.ts +20 -2
- package/dist/types/agent/base.d.ts.map +1 -1
- package/dist/types/agent/factory.d.ts +15 -9
- package/dist/types/agent/factory.d.ts.map +1 -1
- package/dist/types/agent/gateway.d.ts +18 -0
- package/dist/types/agent/gateway.d.ts.map +1 -1
- package/dist/types/agent/manager.d.ts +19 -0
- package/dist/types/agent/manager.d.ts.map +1 -1
- package/dist/types/agent/reactive.d.ts +48 -0
- package/dist/types/agent/reactive.d.ts.map +1 -1
- package/dist/types/agent/router.d.ts +11 -0
- package/dist/types/agent/router.d.ts.map +1 -1
- package/dist/types/agent/supervisor.d.ts +2 -2
- package/dist/types/agent/task.d.ts +24 -0
- package/dist/types/agent/task.d.ts.map +1 -1
- package/dist/types/bidi/index.d.ts +140 -0
- package/dist/types/bidi/index.d.ts.map +1 -0
- package/dist/types/bidi/index.js +2 -0
- package/dist/types/bidi/index.js.map +1 -0
- package/dist/types/common/__tests__/numeric-correctness.test.d.ts +2 -0
- package/dist/types/common/__tests__/numeric-correctness.test.d.ts.map +1 -0
- package/dist/types/common/__tests__/numeric-correctness.test.js +108 -0
- package/dist/types/common/__tests__/numeric-correctness.test.js.map +1 -0
- package/dist/types/common/index.d.ts +1 -1
- package/dist/types/common/index.d.ts.map +1 -1
- package/dist/types/common/index.js +15 -4
- package/dist/types/common/index.js.map +1 -1
- package/dist/types/connector/mcp.d.ts +29 -0
- package/dist/types/connector/mcp.d.ts.map +1 -1
- package/dist/types/errors/__tests__/catalog.test.d.ts +2 -0
- package/dist/types/errors/__tests__/catalog.test.d.ts.map +1 -0
- package/dist/types/errors/__tests__/catalog.test.js +106 -0
- package/dist/types/errors/__tests__/catalog.test.js.map +1 -0
- package/dist/types/errors/__tests__/errors.test.d.ts +2 -0
- package/dist/types/errors/__tests__/errors.test.d.ts.map +1 -0
- package/dist/types/errors/__tests__/errors.test.js +104 -0
- package/dist/types/errors/__tests__/errors.test.js.map +1 -0
- package/dist/types/errors/catalog.d.ts +83 -0
- package/dist/types/errors/catalog.d.ts.map +1 -0
- package/dist/types/errors/catalog.js +148 -0
- package/dist/types/errors/catalog.js.map +1 -0
- package/dist/types/errors/index.d.ts +73 -0
- package/dist/types/errors/index.d.ts.map +1 -0
- package/dist/types/errors/index.js +70 -0
- package/dist/types/errors/index.js.map +1 -0
- package/dist/types/guardrail/index.d.ts +57 -0
- package/dist/types/guardrail/index.d.ts.map +1 -0
- package/dist/types/guardrail/index.js +2 -0
- package/dist/types/guardrail/index.js.map +1 -0
- package/dist/types/hitl/index.d.ts +97 -14
- package/dist/types/hitl/index.d.ts.map +1 -1
- package/dist/types/hitl/index.js.map +1 -1
- package/dist/types/ids/index.d.ts +2 -2
- package/dist/types/message/content.d.ts +22 -0
- package/dist/types/message/content.d.ts.map +1 -0
- package/dist/types/message/content.js +49 -0
- package/dist/types/message/content.js.map +1 -0
- package/dist/types/message/index.d.ts +193 -8
- package/dist/types/message/index.d.ts.map +1 -1
- package/dist/types/message/index.js +19 -4
- package/dist/types/message/index.js.map +1 -1
- package/dist/types/plugin/index.d.ts +78 -3
- package/dist/types/plugin/index.d.ts.map +1 -1
- package/dist/types/plugin/index.js +0 -1
- package/dist/types/plugin/index.js.map +1 -1
- package/dist/types/provider/__tests__/cause-chain.test.d.ts +2 -0
- package/dist/types/provider/__tests__/cause-chain.test.d.ts.map +1 -0
- package/dist/types/provider/__tests__/cause-chain.test.js +108 -0
- package/dist/types/provider/__tests__/cause-chain.test.js.map +1 -0
- package/dist/types/provider/__tests__/declared-retryable.test.d.ts +2 -0
- package/dist/types/provider/__tests__/declared-retryable.test.d.ts.map +1 -0
- package/dist/types/provider/__tests__/declared-retryable.test.js +70 -0
- package/dist/types/provider/__tests__/declared-retryable.test.js.map +1 -0
- package/dist/types/provider/__tests__/overflow-classification.test.d.ts +2 -0
- package/dist/types/provider/__tests__/overflow-classification.test.d.ts.map +1 -0
- package/dist/types/provider/__tests__/overflow-classification.test.js +80 -0
- package/dist/types/provider/__tests__/overflow-classification.test.js.map +1 -0
- package/dist/types/provider/chat.d.ts +27 -1
- package/dist/types/provider/chat.d.ts.map +1 -1
- package/dist/types/provider/config.d.ts +83 -2
- package/dist/types/provider/config.d.ts.map +1 -1
- package/dist/types/provider/errors.d.ts +102 -0
- package/dist/types/provider/errors.d.ts.map +1 -0
- package/dist/types/provider/errors.js +393 -0
- package/dist/types/provider/errors.js.map +1 -0
- package/dist/types/provider/index.d.ts +3 -2
- package/dist/types/provider/index.d.ts.map +1 -1
- package/dist/types/provider/stream.d.ts +59 -3
- package/dist/types/provider/stream.d.ts.map +1 -1
- package/dist/types/rag/embedding.d.ts +11 -2
- package/dist/types/rag/embedding.d.ts.map +1 -1
- package/dist/types/run/__tests__/step.test.d.ts +2 -0
- package/dist/types/run/__tests__/step.test.d.ts.map +1 -0
- package/dist/types/run/__tests__/step.test.js +107 -0
- package/dist/types/run/__tests__/step.test.js.map +1 -0
- package/dist/types/run/answer-review.d.ts +46 -0
- package/dist/types/run/answer-review.d.ts.map +1 -0
- package/dist/types/run/answer-review.js +2 -0
- package/dist/types/run/answer-review.js.map +1 -0
- package/dist/types/run/config.d.ts +33 -0
- package/dist/types/run/config.d.ts.map +1 -1
- package/dist/types/run/derive-status.d.ts +29 -0
- package/dist/types/run/derive-status.d.ts.map +1 -0
- package/dist/types/run/derive-status.js +49 -0
- package/dist/types/run/derive-status.js.map +1 -0
- package/dist/types/run/entity.d.ts +16 -0
- package/dist/types/run/entity.d.ts.map +1 -1
- package/dist/types/run/events.d.ts +228 -4
- package/dist/types/run/events.d.ts.map +1 -1
- package/dist/types/run/events.js +7 -0
- package/dist/types/run/events.js.map +1 -1
- package/dist/types/run/index.d.ts +5 -0
- package/dist/types/run/index.d.ts.map +1 -1
- package/dist/types/run/index.js +3 -0
- package/dist/types/run/index.js.map +1 -1
- package/dist/types/run/memory-promotion.d.ts +90 -0
- package/dist/types/run/memory-promotion.d.ts.map +1 -0
- package/dist/types/run/memory-promotion.js +38 -0
- package/dist/types/run/memory-promotion.js.map +1 -0
- package/dist/types/run/prepare-step.d.ts +100 -0
- package/dist/types/run/prepare-step.d.ts.map +1 -0
- package/dist/types/run/prepare-step.js +2 -0
- package/dist/types/run/prepare-step.js.map +1 -0
- package/dist/types/run/state.d.ts +85 -0
- package/dist/types/run/state.d.ts.map +1 -0
- package/dist/types/run/state.js +33 -0
- package/dist/types/run/state.js.map +1 -0
- package/dist/types/run/step.d.ts +77 -0
- package/dist/types/run/step.d.ts.map +1 -0
- package/dist/types/run/step.js +26 -0
- package/dist/types/run/step.js.map +1 -0
- package/dist/types/run/stop-reason.d.ts +31 -3
- package/dist/types/run/stop-reason.d.ts.map +1 -1
- package/dist/types/sandbox/index.d.ts +82 -10
- package/dist/types/sandbox/index.d.ts.map +1 -1
- package/dist/types/sandbox/index.js +13 -1
- package/dist/types/sandbox/index.js.map +1 -1
- package/dist/types/structured-output/index.d.ts +6 -5
- package/dist/types/structured-output/index.d.ts.map +1 -1
- package/dist/types/thread/entity.d.ts +2 -3
- package/dist/types/thread/entity.d.ts.map +1 -1
- package/dist/types/tool/index.d.ts +193 -1
- package/dist/types/tool/index.d.ts.map +1 -1
- package/dist/types/tool/index.js +1 -1
- package/dist/types/tool/index.js.map +1 -1
- package/dist/types/tool/repair.d.ts +49 -0
- package/dist/types/tool/repair.d.ts.map +1 -0
- package/dist/types/tool/repair.js +2 -0
- package/dist/types/tool/repair.js.map +1 -0
- package/dist/types/toolset/index.d.ts +2 -5
- package/dist/types/toolset/index.d.ts.map +1 -1
- package/dist/utils/__tests__/atomic-write.test.d.ts +2 -0
- package/dist/utils/__tests__/atomic-write.test.d.ts.map +1 -0
- package/dist/utils/__tests__/atomic-write.test.js +91 -0
- package/dist/utils/__tests__/atomic-write.test.js.map +1 -0
- package/dist/utils/__tests__/shell-compress.test.d.ts +2 -0
- package/dist/utils/__tests__/shell-compress.test.d.ts.map +1 -0
- package/dist/utils/__tests__/shell-compress.test.js +41 -0
- package/dist/utils/__tests__/shell-compress.test.js.map +1 -0
- package/dist/utils/atomic-write.d.ts +10 -0
- package/dist/utils/atomic-write.d.ts.map +1 -0
- package/dist/utils/atomic-write.js +83 -0
- package/dist/utils/atomic-write.js.map +1 -0
- package/dist/utils/shell-compress.d.ts.map +1 -1
- package/dist/utils/shell-compress.js +12 -1
- package/dist/utils/shell-compress.js.map +1 -1
- package/dist/verification/presets.d.ts +6 -3
- package/dist/verification/presets.d.ts.map +1 -1
- package/dist/verification/presets.js +6 -3
- package/dist/verification/presets.js.map +1 -1
- package/package.json +3 -3
- package/src/__tests__/default-path-conformance.test.ts +306 -0
- package/src/__tests__/shipped-defaults.test.ts +111 -0
- package/src/advisory/__tests__/budget-enforcement.test.ts +208 -0
- package/src/advisory/__tests__/structured-response.test.ts +128 -0
- package/src/advisory/budget.ts +27 -0
- package/src/advisory/context.ts +19 -0
- package/src/advisory/executor.test.ts +12 -8
- package/src/advisory/executor.ts +37 -25
- package/src/advisory/index.ts +2 -0
- package/src/advisory/parse.ts +63 -0
- package/src/agents/AbstractAgent.ts +82 -0
- package/src/agents/PipelineAgent.ts +19 -0
- package/src/agents/ReactiveAgent.ts +47 -0
- package/src/agents/RouterAgent.ts +32 -2
- package/src/agents/SupervisorAgent.ts +31 -1
- package/src/agents/__tests__/idempotency-key.test.ts +177 -0
- package/src/agents/__tests__/invocation-lock.test.ts +154 -0
- package/src/agents/__tests__/reachability.test.ts +224 -0
- package/src/agents/__tests__/supervisor-ledger.test.ts +1 -1
- package/src/agents/index.ts +1 -1
- package/src/agents/lock.ts +0 -2
- package/src/bridge/a2a/late-events.test.ts +84 -0
- package/src/bridge/a2a/mapper.test.ts +1 -1
- package/src/bridge/a2a/mapper.ts +70 -5
- package/src/bridge/a2a/message.ts +5 -1
- package/src/bridge/sse/late-events.test.ts +182 -0
- package/src/bridge/sse/mapper.ts +109 -0
- package/src/compaction/__tests__/cleared-result-recovery.test.ts +118 -0
- package/src/compaction/__tests__/context-window.test.ts +77 -0
- package/src/compaction/__tests__/dangling.test.ts +16 -6
- package/src/compaction/__tests__/lossiness.test.ts +187 -0
- package/src/compaction/__tests__/state-across-resume.test.ts +99 -0
- package/src/compaction/__tests__/tool-result-editing.test.ts +213 -0
- package/src/compaction/__tests__/trim-opens-on-user.test.ts +118 -0
- package/src/compaction/__tests__/verifier-model.test.ts +83 -0
- package/src/compaction/context-window.ts +107 -0
- package/src/compaction/dangling.ts +48 -1
- package/src/compaction/extractor.ts +56 -1
- package/src/compaction/index.ts +16 -0
- package/src/compaction/manager.ts +53 -8
- package/src/compaction/managers/structured.ts +7 -6
- package/src/compaction/retention.ts +89 -0
- package/src/compaction/serializer.ts +42 -11
- package/src/compaction/tool-result-editing.ts +229 -0
- package/src/compaction/types.ts +10 -0
- package/src/compaction/verifier.ts +24 -1
- package/src/compaction/wire.ts +91 -0
- package/src/config/runtime.ts +63 -19
- package/src/connector/builtins/http.test.ts +13 -0
- package/src/connector/builtins/http.ts +15 -1
- package/src/connector/mcp/__tests__/discovery-policy.test.ts +133 -0
- package/src/connector/mcp/__tests__/list-pagination.test.ts +98 -0
- package/src/connector/mcp/__tests__/policy.test.ts +100 -0
- package/src/connector/mcp/__tests__/protocol-negotiation.test.ts +105 -0
- package/src/connector/mcp/__tests__/schema-fidelity.test.ts +250 -0
- package/src/connector/mcp/__tests__/structured-result.test.ts +143 -0
- package/src/connector/mcp/adapter.ts +306 -19
- package/src/connector/mcp/client.test.ts +159 -0
- package/src/connector/mcp/client.ts +160 -13
- package/src/connector/mcp/discovery.ts +74 -5
- package/src/connector/mcp/http-sse.ts +16 -1
- package/src/connector/mcp/index.ts +4 -0
- package/src/connector/mcp/policy.ts +134 -0
- package/src/connector/mcp/schema-refs.ts +126 -0
- package/src/constants/agent/index.ts +3 -0
- package/src/constants/compaction/index.ts +1 -1
- package/src/constants/continuation.ts +4 -4
- package/src/constants/mcp/index.ts +34 -0
- package/src/constants/plugin/index.ts +24 -2
- package/src/constants/sandbox/index.ts +6 -5
- package/src/constants/telemetry/index.ts +8 -0
- package/src/constants/tools/index.ts +20 -0
- package/src/contracts/api.ts +40 -0
- package/src/contracts/run-status.ts +43 -0
- package/src/eval/__tests__/case-deadline.test.ts +147 -0
- package/src/eval/__tests__/end-to-end.test.ts +259 -0
- package/src/eval/__tests__/harness-honesty.test.ts +99 -0
- package/src/eval/__tests__/harness.test.ts +249 -0
- package/src/eval/__tests__/judge.test.ts +306 -0
- package/src/eval/__tests__/scorer-gates.test.ts +156 -0
- package/src/eval/experiment.ts +335 -0
- package/src/eval/from-run.ts +48 -0
- package/src/eval/index.ts +21 -0
- package/src/eval/judge.ts +240 -0
- package/src/eval/scorers.ts +169 -0
- package/src/eval/types.ts +157 -0
- package/src/execution/local.test.ts +46 -0
- package/src/execution/local.ts +6 -1
- package/src/gateway/__tests__/list-survives-eviction.test.ts +124 -0
- package/src/gateway/local.ts +117 -3
- package/src/manager/agent/__tests__/dispose-cancels.test.ts +104 -0
- package/src/manager/agent/__tests__/lifecycle.test.ts +297 -0
- package/src/manager/agent/lifecycle.ts +127 -7
- package/src/manager/run/persistence.ts +132 -1
- package/src/plugin/__tests__/enable-contributions.test.ts +3 -3
- package/src/plugin/__tests__/hook-ordering.test.ts +252 -0
- package/src/plugin/__tests__/install-time-refusal.test.ts +68 -0
- package/src/plugin/__tests__/lifecycle.test.ts +95 -73
- package/src/plugin/lifecycle.ts +76 -22
- package/src/plugin/loader.ts +37 -1
- package/src/probe/registry.test.ts +49 -6
- package/src/probe/registry.ts +21 -1
- package/src/provider/__tests__/mock-script.test.ts +179 -0
- package/src/provider/__tests__/registry.test.ts +1 -1
- package/src/provider/__tests__/retry-visibility.test.ts +160 -0
- package/src/provider/__tests__/retry.test.ts +296 -0
- package/src/provider/capabilities.ts +4 -0
- package/src/provider/collect.test.ts +1 -1
- package/src/provider/collect.ts +1 -1
- package/src/provider/index.ts +8 -0
- package/src/provider/mock-register.ts +5 -2
- package/src/provider/mock.ts +117 -34
- package/src/provider/retry.ts +199 -0
- package/src/public-runtime.ts +111 -7
- package/src/public-types.ts +5 -1
- package/src/rag/__tests__/retrieval-math.test.ts +54 -0
- package/src/rag/chunking.ts +32 -1
- package/src/rag/embedding.test.ts +65 -10
- package/src/rag/embedding.ts +26 -5
- package/src/rag/index.ts +1 -1
- package/src/rag/retriever.ts +92 -21
- package/src/rag/vector-store.test.ts +2 -2
- package/src/registry/ManagedRegistry.test.ts +1 -1
- package/src/registry/Registry.test.ts +1 -1
- package/src/registry/connector/definitions.test.ts +1 -1
- package/src/registry/tool/__tests__/schema.test.ts +208 -0
- package/src/registry/tool/__tests__/tool-name-validation.test.ts +88 -0
- package/src/registry/tool/execute.ts +104 -22
- package/src/registry/tool/schema.ts +80 -0
- package/src/registry/toolset/catalog.test.ts +0 -1
- package/src/registry/toolset/catalog.ts +0 -1
- package/src/run/reporter.ts +84 -0
- package/src/runtime/bidi/__tests__/session.test.ts +232 -0
- package/src/runtime/bidi/index.ts +4 -0
- package/src/runtime/bidi/mock.ts +90 -0
- package/src/runtime/bidi/session.ts +205 -0
- package/src/runtime/decision/parser.test.ts +46 -0
- package/src/runtime/decision/parser.ts +8 -1
- package/src/runtime/query/__tests__/answer-review.test.ts +172 -0
- package/src/runtime/query/__tests__/capability-negotiation.test.ts +25 -129
- package/src/runtime/query/__tests__/checkpoint-store.test.ts +13 -50
- package/src/runtime/query/__tests__/checkpoint.test.ts +2 -10
- package/src/runtime/query/__tests__/citations.test.ts +111 -0
- package/src/runtime/query/__tests__/content-budget.test.ts +83 -0
- package/src/runtime/query/__tests__/context.test.ts +3 -2
- package/src/runtime/query/__tests__/deferred-tools.test.ts +23 -148
- package/src/runtime/query/__tests__/delegation-resume.test.ts +159 -0
- package/src/runtime/query/__tests__/document-attachments.test.ts +125 -0
- package/src/runtime/query/__tests__/durable-park-and-trace.test.ts +245 -0
- package/src/runtime/query/__tests__/durable-question-park.test.ts +305 -0
- package/src/runtime/query/__tests__/durable-run-state.test.ts +194 -0
- package/src/runtime/query/__tests__/executor-plugin-hooks.test.ts +24 -20
- package/src/runtime/query/__tests__/finish-reason-vs-tool-calls.test.ts +206 -0
- package/src/runtime/query/__tests__/grant-cannot-overrule-the-gate.test.ts +115 -0
- package/src/runtime/query/__tests__/guardrails-e2e.test.ts +164 -0
- package/src/runtime/query/__tests__/guardrails.test.ts +236 -0
- package/src/runtime/query/__tests__/hook-model-visibility.test.ts +143 -0
- package/src/runtime/query/__tests__/long-document-flow.test.ts +9 -2
- package/src/runtime/query/__tests__/memory-promotion.test.ts +148 -0
- package/src/runtime/query/__tests__/orphan-task-turn-end.test.ts +5 -31
- package/src/runtime/query/__tests__/overflow-relief.test.ts +139 -0
- package/src/runtime/query/__tests__/partial-batch-resume.test.ts +264 -0
- package/src/runtime/query/__tests__/plugin-hooks.test.ts +0 -1
- package/src/runtime/query/__tests__/prepare-step-chain.test.ts +127 -0
- package/src/runtime/query/__tests__/prepare-step.test.ts +233 -0
- package/src/runtime/query/__tests__/probe-veto-is-error.test.ts +145 -0
- package/src/runtime/query/__tests__/prompt.test.ts +1 -1
- package/src/runtime/query/__tests__/provider-fault-pauses.test.ts +104 -0
- package/src/runtime/query/__tests__/reasoning-stream.test.ts +177 -0
- package/src/runtime/query/__tests__/recoverable-settle.test.ts +145 -0
- package/src/runtime/query/__tests__/resume-budget.test.ts +158 -0
- package/src/runtime/query/__tests__/resume-pending.test.ts +273 -0
- package/src/runtime/query/__tests__/rich-content-budget-wiring.test.ts +109 -0
- package/src/runtime/query/__tests__/stop-condition.test.ts +265 -0
- package/src/runtime/query/__tests__/structured-output.test.ts +268 -0
- package/src/runtime/query/__tests__/structured-run-failure.test.ts +144 -0
- package/src/runtime/query/__tests__/terminal-tool.test.ts +148 -0
- package/src/runtime/query/__tests__/tool-grants.test.ts +102 -0
- package/src/runtime/query/__tests__/tool-output-budget.test.ts +0 -0
- package/src/runtime/query/__tests__/tool-pause.test.ts +209 -0
- package/src/runtime/query/__tests__/tool-progress.test.ts +154 -0
- package/src/runtime/query/__tests__/tool-repair-retry.test.ts +255 -0
- package/src/runtime/query/__tests__/tool-result-wire.test.ts +135 -0
- package/src/runtime/query/__tests__/tool-timeout.test.ts +230 -0
- package/src/runtime/query/__tests__/trace-parenting.test.ts +128 -0
- package/src/runtime/query/__tests__/wiring-seams.test.ts +288 -0
- package/src/runtime/query/checkpoint.ts +242 -10
- package/src/runtime/query/events.ts +2 -2
- package/src/runtime/query/executor.ts +847 -39
- package/src/runtime/query/guard.ts +26 -1
- package/src/runtime/query/guardrail-presets.ts +124 -0
- package/src/runtime/query/guardrails.ts +144 -0
- package/src/runtime/query/index.ts +759 -12
- package/src/runtime/query/iteration/__tests__/cancel-settles-turn.test.ts +177 -0
- package/src/runtime/query/iteration/index.ts +656 -40
- package/src/runtime/query/iteration/phases/advisory.test.ts +4 -1
- package/src/runtime/query/iteration/phases/advisory.ts +14 -2
- package/src/runtime/query/iteration/phases/checkpoint.ts +2 -2
- package/src/runtime/query/iteration/phases/compaction-safe-cut.test.ts +3 -1
- package/src/runtime/query/iteration/phases/compaction.ts +329 -64
- package/src/runtime/query/iteration/phases/context-measurement.test.ts +196 -0
- package/src/runtime/query/iteration/phases/context.ts +155 -2
- package/src/runtime/query/iteration/phases/hitl-answer-question.test.ts +3 -1
- package/src/runtime/query/iteration/phases/overflow-escalation.test.ts +167 -0
- package/src/runtime/query/iteration/phases/plan.ts +10 -2
- package/src/runtime/query/iteration/phases/retained-messages.test.ts +226 -0
- package/src/runtime/query/iteration/phases/tool-review-denials.test.ts +270 -0
- package/src/runtime/query/iteration/phases/tool-review.ts +140 -51
- package/src/runtime/query/iteration/phases/working-memory-compaction.test.ts +21 -9
- package/src/runtime/query/iteration/stream-turn.ts +285 -15
- package/src/runtime/query/plugin-hooks.ts +6 -2
- package/src/runtime/query/prompt.ts +26 -1
- package/src/runtime/query/question-park.ts +120 -0
- package/src/runtime/query/result.ts +64 -0
- package/src/runtime/query/resume-pending.ts +394 -0
- package/src/runtime/query/run-state.ts +124 -0
- package/src/runtime/query/tool-grants.ts +83 -0
- package/src/runtime/query/tool-output-budget.ts +183 -0
- package/src/runtime/query/tool-pause.ts +119 -0
- package/src/runtime/query/tooling.ts +23 -1
- package/src/sandbox/__tests__/isolation.test.ts +164 -0
- package/src/sandbox/__tests__/output-truncation.test.ts +106 -0
- package/src/sandbox/__tests__/resource-limits.test.ts +106 -0
- package/src/sandbox/factory.ts +1 -1
- package/src/sandbox/index.ts +2 -0
- package/src/sandbox/isolation.ts +72 -0
- package/src/sandbox/provider/local.ts +173 -74
- package/src/session/__tests__/integration/spawn-rollback.test.ts +1 -1
- package/src/session/handoff/broadcast.ts +3 -3
- package/src/session/migration/__tests__/filesystem.test.ts +26 -19
- package/src/session/migration/filesystem.ts +7 -12
- package/src/session/migration/marker.ts +5 -9
- package/src/session/retention/disk-backend.ts +5 -11
- package/src/session/workspace/__tests__/git-worktree.test.ts +6 -2
- package/src/session/workspace/__tests__/shared-run.test.ts +18 -0
- package/src/session/workspace/shared-run.ts +7 -1
- package/src/skills/__tests__/frontmatter.test.ts +135 -0
- package/src/skills/loader.ts +47 -3
- package/src/store/__tests__/checkpoint-integrity.test.ts +134 -0
- package/src/store/__tests__/checkpoint-versioning.test.ts +194 -0
- package/src/store/__tests__/schema-adoption.test.ts +118 -0
- package/src/store/__tests__/schema.test.ts +119 -0
- package/src/store/memory/disk.ts +17 -16
- package/src/store/run/disk.ts +169 -22
- package/src/store/schema.ts +135 -0
- package/src/store/session/disk.ts +30 -21
- package/src/store/task/__tests__/lookup-across-runs.test.ts +77 -0
- package/src/store/task/disk.ts +59 -15
- package/src/store/thread/disk.ts +21 -10
- package/src/streaming/coalesce.ts +1 -1
- package/src/telemetry/__tests__/latency-instruments.test.ts +120 -0
- package/src/telemetry/__tests__/metrics.test.ts +160 -0
- package/src/telemetry/__tests__/span-hierarchy.test.ts +94 -0
- package/src/telemetry/attributes.ts +109 -0
- package/src/telemetry/metrics.ts +190 -0
- package/src/test-setup.ts +3 -3
- package/src/test-support/paths.ts +17 -0
- package/src/tools/__tests__/path-containment.test.ts +167 -0
- package/src/tools/__tests__/posix-path.test.ts +83 -0
- package/src/tools/__tests__/sandboxed-search.test.ts +140 -0
- package/src/tools/builtins/__tests__/computer-use.test.ts +15 -2
- package/src/tools/builtins/__tests__/edit.test.ts +10 -270
- package/src/tools/builtins/__tests__/payload-budget.test.ts +20 -40
- package/src/tools/builtins/__tests__/read-file.test.ts +29 -1
- package/src/tools/builtins/__tests__/write-file.test.ts +13 -52
- package/src/tools/builtins/bash.ts +34 -4
- package/src/tools/builtins/computer-use.ts +7 -1
- package/src/tools/builtins/edit.ts +162 -116
- package/src/tools/builtins/glob.ts +71 -6
- package/src/tools/builtins/grep.ts +82 -8
- package/src/tools/builtins/index.ts +6 -6
- package/src/tools/builtins/ls.ts +4 -2
- package/src/tools/builtins/read-file.ts +40 -4
- package/src/tools/builtins/write-file.ts +44 -68
- package/src/tools/coordinator/__tests__/agent.test.ts +2 -2
- package/src/tools/coordinator/agent.ts +23 -10
- package/src/tools/coordinator/index.ts +111 -31
- package/src/tools/defineTool.ts +20 -0
- package/src/tools/glob-match.ts +50 -0
- package/src/tools/paths.ts +44 -0
- package/src/tools/posix-path.ts +73 -0
- package/src/types/advisory/config.ts +21 -3
- package/src/types/advisory/result.ts +12 -7
- package/src/types/agent/base.ts +22 -2
- package/src/types/agent/factory.ts +15 -9
- package/src/types/agent/gateway.ts +20 -0
- package/src/types/agent/manager.ts +19 -0
- package/src/types/agent/reactive.ts +50 -0
- package/src/types/agent/router.ts +11 -0
- package/src/types/agent/supervisor.ts +2 -2
- package/src/types/agent/task.ts +26 -0
- package/src/types/bidi/index.ts +119 -0
- package/src/types/common/__tests__/numeric-correctness.test.ts +123 -0
- package/src/types/common/index.ts +16 -4
- package/src/types/computer-use/index.ts +1 -1
- package/src/types/connector/mcp.ts +29 -0
- package/src/types/errors/__tests__/catalog.test.ts +130 -0
- package/src/types/errors/__tests__/errors.test.ts +118 -0
- package/src/types/errors/catalog.ts +211 -0
- package/src/types/errors/index.ts +121 -0
- package/src/types/guardrail/index.ts +62 -0
- package/src/types/hitl/index.ts +102 -20
- package/src/types/ids/index.ts +2 -2
- package/src/types/message/content.ts +50 -0
- package/src/types/message/index.ts +210 -9
- package/src/types/plugin/index.ts +82 -2
- package/src/types/provider/__tests__/cause-chain.test.ts +132 -0
- package/src/types/provider/__tests__/declared-retryable.test.ts +85 -0
- package/src/types/provider/__tests__/overflow-classification.test.ts +113 -0
- package/src/types/provider/chat.ts +29 -1
- package/src/types/provider/config.ts +83 -2
- package/src/types/provider/errors.ts +472 -0
- package/src/types/provider/index.ts +5 -0
- package/src/types/provider/stream.ts +63 -3
- package/src/types/rag/embedding.ts +11 -2
- package/src/types/run/__tests__/step.test.ts +123 -0
- package/src/types/run/answer-review.ts +51 -0
- package/src/types/run/config.ts +35 -0
- package/src/types/run/derive-status.ts +62 -0
- package/src/types/run/entity.ts +18 -0
- package/src/types/run/events.ts +230 -3
- package/src/types/run/index.ts +5 -0
- package/src/types/run/memory-promotion.ts +112 -0
- package/src/types/run/prepare-step.ts +109 -0
- package/src/types/run/state.ts +111 -0
- package/src/types/run/step.ts +95 -0
- package/src/types/run/stop-reason.ts +29 -1
- package/src/types/sandbox/index.ts +93 -12
- package/src/types/structured-output/index.ts +6 -5
- package/src/types/thread/entity.ts +2 -3
- package/src/types/tool/index.ts +204 -1
- package/src/types/tool/repair.ts +54 -0
- package/src/types/toolset/index.ts +2 -6
- package/src/utils/__tests__/atomic-write.test.ts +108 -0
- package/src/utils/__tests__/shell-compress.test.ts +49 -0
- package/src/utils/atomic-write.ts +85 -0
- package/src/utils/shell-compress.ts +12 -1
- package/src/verification/presets.ts +6 -3
package/dist/contracts/a2a.d.ts
CHANGED
|
@@ -36,22 +36,22 @@ export declare const FilePartSchema: z.ZodObject<{
|
|
|
36
36
|
}>;
|
|
37
37
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
38
38
|
}, "strict", z.ZodTypeAny, {
|
|
39
|
+
kind: "file";
|
|
39
40
|
file: {
|
|
40
41
|
uri: string;
|
|
41
42
|
mimeType: string;
|
|
42
43
|
name?: string | undefined;
|
|
43
44
|
bytes?: string | undefined;
|
|
44
45
|
};
|
|
45
|
-
kind: "file";
|
|
46
46
|
metadata?: Record<string, unknown> | undefined;
|
|
47
47
|
}, {
|
|
48
|
+
kind: "file";
|
|
48
49
|
file: {
|
|
49
50
|
uri: string;
|
|
50
51
|
mimeType: string;
|
|
51
52
|
name?: string | undefined;
|
|
52
53
|
bytes?: string | undefined;
|
|
53
54
|
};
|
|
54
|
-
kind: "file";
|
|
55
55
|
metadata?: Record<string, unknown> | undefined;
|
|
56
56
|
}>;
|
|
57
57
|
export declare const DataPartSchema: z.ZodObject<{
|
|
@@ -60,13 +60,13 @@ export declare const DataPartSchema: z.ZodObject<{
|
|
|
60
60
|
mimeType: z.ZodOptional<z.ZodString>;
|
|
61
61
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
62
62
|
}, "strict", z.ZodTypeAny, {
|
|
63
|
-
data: Record<string, unknown>;
|
|
64
63
|
kind: "data";
|
|
64
|
+
data: Record<string, unknown>;
|
|
65
65
|
metadata?: Record<string, unknown> | undefined;
|
|
66
66
|
mimeType?: string | undefined;
|
|
67
67
|
}, {
|
|
68
|
-
data: Record<string, unknown>;
|
|
69
68
|
kind: "data";
|
|
69
|
+
data: Record<string, unknown>;
|
|
70
70
|
metadata?: Record<string, unknown> | undefined;
|
|
71
71
|
mimeType?: string | undefined;
|
|
72
72
|
}>;
|
|
@@ -102,22 +102,22 @@ export declare const A2APartSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject
|
|
|
102
102
|
}>;
|
|
103
103
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
104
104
|
}, "strict", z.ZodTypeAny, {
|
|
105
|
+
kind: "file";
|
|
105
106
|
file: {
|
|
106
107
|
uri: string;
|
|
107
108
|
mimeType: string;
|
|
108
109
|
name?: string | undefined;
|
|
109
110
|
bytes?: string | undefined;
|
|
110
111
|
};
|
|
111
|
-
kind: "file";
|
|
112
112
|
metadata?: Record<string, unknown> | undefined;
|
|
113
113
|
}, {
|
|
114
|
+
kind: "file";
|
|
114
115
|
file: {
|
|
115
116
|
uri: string;
|
|
116
117
|
mimeType: string;
|
|
117
118
|
name?: string | undefined;
|
|
118
119
|
bytes?: string | undefined;
|
|
119
120
|
};
|
|
120
|
-
kind: "file";
|
|
121
121
|
metadata?: Record<string, unknown> | undefined;
|
|
122
122
|
}>, z.ZodObject<{
|
|
123
123
|
kind: z.ZodLiteral<"data">;
|
|
@@ -125,13 +125,13 @@ export declare const A2APartSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject
|
|
|
125
125
|
mimeType: z.ZodOptional<z.ZodString>;
|
|
126
126
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
127
127
|
}, "strict", z.ZodTypeAny, {
|
|
128
|
-
data: Record<string, unknown>;
|
|
129
128
|
kind: "data";
|
|
129
|
+
data: Record<string, unknown>;
|
|
130
130
|
metadata?: Record<string, unknown> | undefined;
|
|
131
131
|
mimeType?: string | undefined;
|
|
132
132
|
}, {
|
|
133
|
-
data: Record<string, unknown>;
|
|
134
133
|
kind: "data";
|
|
134
|
+
data: Record<string, unknown>;
|
|
135
135
|
metadata?: Record<string, unknown> | undefined;
|
|
136
136
|
mimeType?: string | undefined;
|
|
137
137
|
}>]>;
|
|
@@ -169,22 +169,22 @@ export declare const A2AMessageSchema: z.ZodObject<{
|
|
|
169
169
|
}>;
|
|
170
170
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
171
171
|
}, "strict", z.ZodTypeAny, {
|
|
172
|
+
kind: "file";
|
|
172
173
|
file: {
|
|
173
174
|
uri: string;
|
|
174
175
|
mimeType: string;
|
|
175
176
|
name?: string | undefined;
|
|
176
177
|
bytes?: string | undefined;
|
|
177
178
|
};
|
|
178
|
-
kind: "file";
|
|
179
179
|
metadata?: Record<string, unknown> | undefined;
|
|
180
180
|
}, {
|
|
181
|
+
kind: "file";
|
|
181
182
|
file: {
|
|
182
183
|
uri: string;
|
|
183
184
|
mimeType: string;
|
|
184
185
|
name?: string | undefined;
|
|
185
186
|
bytes?: string | undefined;
|
|
186
187
|
};
|
|
187
|
-
kind: "file";
|
|
188
188
|
metadata?: Record<string, unknown> | undefined;
|
|
189
189
|
}>, z.ZodObject<{
|
|
190
190
|
kind: z.ZodLiteral<"data">;
|
|
@@ -192,13 +192,13 @@ export declare const A2AMessageSchema: z.ZodObject<{
|
|
|
192
192
|
mimeType: z.ZodOptional<z.ZodString>;
|
|
193
193
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
194
194
|
}, "strict", z.ZodTypeAny, {
|
|
195
|
-
data: Record<string, unknown>;
|
|
196
195
|
kind: "data";
|
|
196
|
+
data: Record<string, unknown>;
|
|
197
197
|
metadata?: Record<string, unknown> | undefined;
|
|
198
198
|
mimeType?: string | undefined;
|
|
199
199
|
}, {
|
|
200
|
-
data: Record<string, unknown>;
|
|
201
200
|
kind: "data";
|
|
201
|
+
data: Record<string, unknown>;
|
|
202
202
|
metadata?: Record<string, unknown> | undefined;
|
|
203
203
|
mimeType?: string | undefined;
|
|
204
204
|
}>]>, "many">;
|
|
@@ -210,17 +210,17 @@ export declare const A2AMessageSchema: z.ZodObject<{
|
|
|
210
210
|
kind: "text";
|
|
211
211
|
metadata?: Record<string, unknown> | undefined;
|
|
212
212
|
} | {
|
|
213
|
+
kind: "file";
|
|
213
214
|
file: {
|
|
214
215
|
uri: string;
|
|
215
216
|
mimeType: string;
|
|
216
217
|
name?: string | undefined;
|
|
217
218
|
bytes?: string | undefined;
|
|
218
219
|
};
|
|
219
|
-
kind: "file";
|
|
220
220
|
metadata?: Record<string, unknown> | undefined;
|
|
221
221
|
} | {
|
|
222
|
-
data: Record<string, unknown>;
|
|
223
222
|
kind: "data";
|
|
223
|
+
data: Record<string, unknown>;
|
|
224
224
|
metadata?: Record<string, unknown> | undefined;
|
|
225
225
|
mimeType?: string | undefined;
|
|
226
226
|
})[];
|
|
@@ -232,17 +232,17 @@ export declare const A2AMessageSchema: z.ZodObject<{
|
|
|
232
232
|
kind: "text";
|
|
233
233
|
metadata?: Record<string, unknown> | undefined;
|
|
234
234
|
} | {
|
|
235
|
+
kind: "file";
|
|
235
236
|
file: {
|
|
236
237
|
uri: string;
|
|
237
238
|
mimeType: string;
|
|
238
239
|
name?: string | undefined;
|
|
239
240
|
bytes?: string | undefined;
|
|
240
241
|
};
|
|
241
|
-
kind: "file";
|
|
242
242
|
metadata?: Record<string, unknown> | undefined;
|
|
243
243
|
} | {
|
|
244
|
-
data: Record<string, unknown>;
|
|
245
244
|
kind: "data";
|
|
245
|
+
data: Record<string, unknown>;
|
|
246
246
|
metadata?: Record<string, unknown> | undefined;
|
|
247
247
|
mimeType?: string | undefined;
|
|
248
248
|
})[];
|
|
@@ -284,22 +284,22 @@ export declare const A2ATaskStatusSchema: z.ZodObject<{
|
|
|
284
284
|
}>;
|
|
285
285
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
286
286
|
}, "strict", z.ZodTypeAny, {
|
|
287
|
+
kind: "file";
|
|
287
288
|
file: {
|
|
288
289
|
uri: string;
|
|
289
290
|
mimeType: string;
|
|
290
291
|
name?: string | undefined;
|
|
291
292
|
bytes?: string | undefined;
|
|
292
293
|
};
|
|
293
|
-
kind: "file";
|
|
294
294
|
metadata?: Record<string, unknown> | undefined;
|
|
295
295
|
}, {
|
|
296
|
+
kind: "file";
|
|
296
297
|
file: {
|
|
297
298
|
uri: string;
|
|
298
299
|
mimeType: string;
|
|
299
300
|
name?: string | undefined;
|
|
300
301
|
bytes?: string | undefined;
|
|
301
302
|
};
|
|
302
|
-
kind: "file";
|
|
303
303
|
metadata?: Record<string, unknown> | undefined;
|
|
304
304
|
}>, z.ZodObject<{
|
|
305
305
|
kind: z.ZodLiteral<"data">;
|
|
@@ -307,13 +307,13 @@ export declare const A2ATaskStatusSchema: z.ZodObject<{
|
|
|
307
307
|
mimeType: z.ZodOptional<z.ZodString>;
|
|
308
308
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
309
309
|
}, "strict", z.ZodTypeAny, {
|
|
310
|
-
data: Record<string, unknown>;
|
|
311
310
|
kind: "data";
|
|
311
|
+
data: Record<string, unknown>;
|
|
312
312
|
metadata?: Record<string, unknown> | undefined;
|
|
313
313
|
mimeType?: string | undefined;
|
|
314
314
|
}, {
|
|
315
|
-
data: Record<string, unknown>;
|
|
316
315
|
kind: "data";
|
|
316
|
+
data: Record<string, unknown>;
|
|
317
317
|
metadata?: Record<string, unknown> | undefined;
|
|
318
318
|
mimeType?: string | undefined;
|
|
319
319
|
}>]>, "many">;
|
|
@@ -325,17 +325,17 @@ export declare const A2ATaskStatusSchema: z.ZodObject<{
|
|
|
325
325
|
kind: "text";
|
|
326
326
|
metadata?: Record<string, unknown> | undefined;
|
|
327
327
|
} | {
|
|
328
|
+
kind: "file";
|
|
328
329
|
file: {
|
|
329
330
|
uri: string;
|
|
330
331
|
mimeType: string;
|
|
331
332
|
name?: string | undefined;
|
|
332
333
|
bytes?: string | undefined;
|
|
333
334
|
};
|
|
334
|
-
kind: "file";
|
|
335
335
|
metadata?: Record<string, unknown> | undefined;
|
|
336
336
|
} | {
|
|
337
|
-
data: Record<string, unknown>;
|
|
338
337
|
kind: "data";
|
|
338
|
+
data: Record<string, unknown>;
|
|
339
339
|
metadata?: Record<string, unknown> | undefined;
|
|
340
340
|
mimeType?: string | undefined;
|
|
341
341
|
})[];
|
|
@@ -347,17 +347,17 @@ export declare const A2ATaskStatusSchema: z.ZodObject<{
|
|
|
347
347
|
kind: "text";
|
|
348
348
|
metadata?: Record<string, unknown> | undefined;
|
|
349
349
|
} | {
|
|
350
|
+
kind: "file";
|
|
350
351
|
file: {
|
|
351
352
|
uri: string;
|
|
352
353
|
mimeType: string;
|
|
353
354
|
name?: string | undefined;
|
|
354
355
|
bytes?: string | undefined;
|
|
355
356
|
};
|
|
356
|
-
kind: "file";
|
|
357
357
|
metadata?: Record<string, unknown> | undefined;
|
|
358
358
|
} | {
|
|
359
|
-
data: Record<string, unknown>;
|
|
360
359
|
kind: "data";
|
|
360
|
+
data: Record<string, unknown>;
|
|
361
361
|
metadata?: Record<string, unknown> | undefined;
|
|
362
362
|
mimeType?: string | undefined;
|
|
363
363
|
})[];
|
|
@@ -373,17 +373,17 @@ export declare const A2ATaskStatusSchema: z.ZodObject<{
|
|
|
373
373
|
kind: "text";
|
|
374
374
|
metadata?: Record<string, unknown> | undefined;
|
|
375
375
|
} | {
|
|
376
|
+
kind: "file";
|
|
376
377
|
file: {
|
|
377
378
|
uri: string;
|
|
378
379
|
mimeType: string;
|
|
379
380
|
name?: string | undefined;
|
|
380
381
|
bytes?: string | undefined;
|
|
381
382
|
};
|
|
382
|
-
kind: "file";
|
|
383
383
|
metadata?: Record<string, unknown> | undefined;
|
|
384
384
|
} | {
|
|
385
|
-
data: Record<string, unknown>;
|
|
386
385
|
kind: "data";
|
|
386
|
+
data: Record<string, unknown>;
|
|
387
387
|
metadata?: Record<string, unknown> | undefined;
|
|
388
388
|
mimeType?: string | undefined;
|
|
389
389
|
})[];
|
|
@@ -399,17 +399,17 @@ export declare const A2ATaskStatusSchema: z.ZodObject<{
|
|
|
399
399
|
kind: "text";
|
|
400
400
|
metadata?: Record<string, unknown> | undefined;
|
|
401
401
|
} | {
|
|
402
|
+
kind: "file";
|
|
402
403
|
file: {
|
|
403
404
|
uri: string;
|
|
404
405
|
mimeType: string;
|
|
405
406
|
name?: string | undefined;
|
|
406
407
|
bytes?: string | undefined;
|
|
407
408
|
};
|
|
408
|
-
kind: "file";
|
|
409
409
|
metadata?: Record<string, unknown> | undefined;
|
|
410
410
|
} | {
|
|
411
|
-
data: Record<string, unknown>;
|
|
412
411
|
kind: "data";
|
|
412
|
+
data: Record<string, unknown>;
|
|
413
413
|
metadata?: Record<string, unknown> | undefined;
|
|
414
414
|
mimeType?: string | undefined;
|
|
415
415
|
})[];
|
|
@@ -453,22 +453,22 @@ export declare const A2AArtifactSchema: z.ZodObject<{
|
|
|
453
453
|
}>;
|
|
454
454
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
455
455
|
}, "strict", z.ZodTypeAny, {
|
|
456
|
+
kind: "file";
|
|
456
457
|
file: {
|
|
457
458
|
uri: string;
|
|
458
459
|
mimeType: string;
|
|
459
460
|
name?: string | undefined;
|
|
460
461
|
bytes?: string | undefined;
|
|
461
462
|
};
|
|
462
|
-
kind: "file";
|
|
463
463
|
metadata?: Record<string, unknown> | undefined;
|
|
464
464
|
}, {
|
|
465
|
+
kind: "file";
|
|
465
466
|
file: {
|
|
466
467
|
uri: string;
|
|
467
468
|
mimeType: string;
|
|
468
469
|
name?: string | undefined;
|
|
469
470
|
bytes?: string | undefined;
|
|
470
471
|
};
|
|
471
|
-
kind: "file";
|
|
472
472
|
metadata?: Record<string, unknown> | undefined;
|
|
473
473
|
}>, z.ZodObject<{
|
|
474
474
|
kind: z.ZodLiteral<"data">;
|
|
@@ -476,13 +476,13 @@ export declare const A2AArtifactSchema: z.ZodObject<{
|
|
|
476
476
|
mimeType: z.ZodOptional<z.ZodString>;
|
|
477
477
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
478
478
|
}, "strict", z.ZodTypeAny, {
|
|
479
|
-
data: Record<string, unknown>;
|
|
480
479
|
kind: "data";
|
|
480
|
+
data: Record<string, unknown>;
|
|
481
481
|
metadata?: Record<string, unknown> | undefined;
|
|
482
482
|
mimeType?: string | undefined;
|
|
483
483
|
}, {
|
|
484
|
-
data: Record<string, unknown>;
|
|
485
484
|
kind: "data";
|
|
485
|
+
data: Record<string, unknown>;
|
|
486
486
|
metadata?: Record<string, unknown> | undefined;
|
|
487
487
|
mimeType?: string | undefined;
|
|
488
488
|
}>]>, "many">;
|
|
@@ -493,23 +493,23 @@ export declare const A2AArtifactSchema: z.ZodObject<{
|
|
|
493
493
|
kind: "text";
|
|
494
494
|
metadata?: Record<string, unknown> | undefined;
|
|
495
495
|
} | {
|
|
496
|
+
kind: "file";
|
|
496
497
|
file: {
|
|
497
498
|
uri: string;
|
|
498
499
|
mimeType: string;
|
|
499
500
|
name?: string | undefined;
|
|
500
501
|
bytes?: string | undefined;
|
|
501
502
|
};
|
|
502
|
-
kind: "file";
|
|
503
503
|
metadata?: Record<string, unknown> | undefined;
|
|
504
504
|
} | {
|
|
505
|
-
data: Record<string, unknown>;
|
|
506
505
|
kind: "data";
|
|
506
|
+
data: Record<string, unknown>;
|
|
507
507
|
metadata?: Record<string, unknown> | undefined;
|
|
508
508
|
mimeType?: string | undefined;
|
|
509
509
|
})[];
|
|
510
510
|
artifactId: string;
|
|
511
|
-
metadata?: Record<string, unknown> | undefined;
|
|
512
511
|
name?: string | undefined;
|
|
512
|
+
metadata?: Record<string, unknown> | undefined;
|
|
513
513
|
description?: string | undefined;
|
|
514
514
|
}, {
|
|
515
515
|
parts: ({
|
|
@@ -517,23 +517,23 @@ export declare const A2AArtifactSchema: z.ZodObject<{
|
|
|
517
517
|
kind: "text";
|
|
518
518
|
metadata?: Record<string, unknown> | undefined;
|
|
519
519
|
} | {
|
|
520
|
+
kind: "file";
|
|
520
521
|
file: {
|
|
521
522
|
uri: string;
|
|
522
523
|
mimeType: string;
|
|
523
524
|
name?: string | undefined;
|
|
524
525
|
bytes?: string | undefined;
|
|
525
526
|
};
|
|
526
|
-
kind: "file";
|
|
527
527
|
metadata?: Record<string, unknown> | undefined;
|
|
528
528
|
} | {
|
|
529
|
-
data: Record<string, unknown>;
|
|
530
529
|
kind: "data";
|
|
530
|
+
data: Record<string, unknown>;
|
|
531
531
|
metadata?: Record<string, unknown> | undefined;
|
|
532
532
|
mimeType?: string | undefined;
|
|
533
533
|
})[];
|
|
534
534
|
artifactId: string;
|
|
535
|
-
metadata?: Record<string, unknown> | undefined;
|
|
536
535
|
name?: string | undefined;
|
|
536
|
+
metadata?: Record<string, unknown> | undefined;
|
|
537
537
|
description?: string | undefined;
|
|
538
538
|
}>;
|
|
539
539
|
export declare const A2AMessageSendSchema: z.ZodObject<{
|
|
@@ -571,22 +571,22 @@ export declare const A2AMessageSendSchema: z.ZodObject<{
|
|
|
571
571
|
}>;
|
|
572
572
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
573
573
|
}, "strict", z.ZodTypeAny, {
|
|
574
|
+
kind: "file";
|
|
574
575
|
file: {
|
|
575
576
|
uri: string;
|
|
576
577
|
mimeType: string;
|
|
577
578
|
name?: string | undefined;
|
|
578
579
|
bytes?: string | undefined;
|
|
579
580
|
};
|
|
580
|
-
kind: "file";
|
|
581
581
|
metadata?: Record<string, unknown> | undefined;
|
|
582
582
|
}, {
|
|
583
|
+
kind: "file";
|
|
583
584
|
file: {
|
|
584
585
|
uri: string;
|
|
585
586
|
mimeType: string;
|
|
586
587
|
name?: string | undefined;
|
|
587
588
|
bytes?: string | undefined;
|
|
588
589
|
};
|
|
589
|
-
kind: "file";
|
|
590
590
|
metadata?: Record<string, unknown> | undefined;
|
|
591
591
|
}>, z.ZodObject<{
|
|
592
592
|
kind: z.ZodLiteral<"data">;
|
|
@@ -594,13 +594,13 @@ export declare const A2AMessageSendSchema: z.ZodObject<{
|
|
|
594
594
|
mimeType: z.ZodOptional<z.ZodString>;
|
|
595
595
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
596
596
|
}, "strict", z.ZodTypeAny, {
|
|
597
|
-
data: Record<string, unknown>;
|
|
598
597
|
kind: "data";
|
|
598
|
+
data: Record<string, unknown>;
|
|
599
599
|
metadata?: Record<string, unknown> | undefined;
|
|
600
600
|
mimeType?: string | undefined;
|
|
601
601
|
}, {
|
|
602
|
-
data: Record<string, unknown>;
|
|
603
602
|
kind: "data";
|
|
603
|
+
data: Record<string, unknown>;
|
|
604
604
|
metadata?: Record<string, unknown> | undefined;
|
|
605
605
|
mimeType?: string | undefined;
|
|
606
606
|
}>]>, "many">;
|
|
@@ -612,17 +612,17 @@ export declare const A2AMessageSendSchema: z.ZodObject<{
|
|
|
612
612
|
kind: "text";
|
|
613
613
|
metadata?: Record<string, unknown> | undefined;
|
|
614
614
|
} | {
|
|
615
|
+
kind: "file";
|
|
615
616
|
file: {
|
|
616
617
|
uri: string;
|
|
617
618
|
mimeType: string;
|
|
618
619
|
name?: string | undefined;
|
|
619
620
|
bytes?: string | undefined;
|
|
620
621
|
};
|
|
621
|
-
kind: "file";
|
|
622
622
|
metadata?: Record<string, unknown> | undefined;
|
|
623
623
|
} | {
|
|
624
|
-
data: Record<string, unknown>;
|
|
625
624
|
kind: "data";
|
|
625
|
+
data: Record<string, unknown>;
|
|
626
626
|
metadata?: Record<string, unknown> | undefined;
|
|
627
627
|
mimeType?: string | undefined;
|
|
628
628
|
})[];
|
|
@@ -634,17 +634,17 @@ export declare const A2AMessageSendSchema: z.ZodObject<{
|
|
|
634
634
|
kind: "text";
|
|
635
635
|
metadata?: Record<string, unknown> | undefined;
|
|
636
636
|
} | {
|
|
637
|
+
kind: "file";
|
|
637
638
|
file: {
|
|
638
639
|
uri: string;
|
|
639
640
|
mimeType: string;
|
|
640
641
|
name?: string | undefined;
|
|
641
642
|
bytes?: string | undefined;
|
|
642
643
|
};
|
|
643
|
-
kind: "file";
|
|
644
644
|
metadata?: Record<string, unknown> | undefined;
|
|
645
645
|
} | {
|
|
646
|
-
data: Record<string, unknown>;
|
|
647
646
|
kind: "data";
|
|
647
|
+
data: Record<string, unknown>;
|
|
648
648
|
metadata?: Record<string, unknown> | undefined;
|
|
649
649
|
mimeType?: string | undefined;
|
|
650
650
|
})[];
|
|
@@ -661,17 +661,17 @@ export declare const A2AMessageSendSchema: z.ZodObject<{
|
|
|
661
661
|
kind: "text";
|
|
662
662
|
metadata?: Record<string, unknown> | undefined;
|
|
663
663
|
} | {
|
|
664
|
+
kind: "file";
|
|
664
665
|
file: {
|
|
665
666
|
uri: string;
|
|
666
667
|
mimeType: string;
|
|
667
668
|
name?: string | undefined;
|
|
668
669
|
bytes?: string | undefined;
|
|
669
670
|
};
|
|
670
|
-
kind: "file";
|
|
671
671
|
metadata?: Record<string, unknown> | undefined;
|
|
672
672
|
} | {
|
|
673
|
-
data: Record<string, unknown>;
|
|
674
673
|
kind: "data";
|
|
674
|
+
data: Record<string, unknown>;
|
|
675
675
|
metadata?: Record<string, unknown> | undefined;
|
|
676
676
|
mimeType?: string | undefined;
|
|
677
677
|
})[];
|
|
@@ -688,17 +688,17 @@ export declare const A2AMessageSendSchema: z.ZodObject<{
|
|
|
688
688
|
kind: "text";
|
|
689
689
|
metadata?: Record<string, unknown> | undefined;
|
|
690
690
|
} | {
|
|
691
|
+
kind: "file";
|
|
691
692
|
file: {
|
|
692
693
|
uri: string;
|
|
693
694
|
mimeType: string;
|
|
694
695
|
name?: string | undefined;
|
|
695
696
|
bytes?: string | undefined;
|
|
696
697
|
};
|
|
697
|
-
kind: "file";
|
|
698
698
|
metadata?: Record<string, unknown> | undefined;
|
|
699
699
|
} | {
|
|
700
|
-
data: Record<string, unknown>;
|
|
701
700
|
kind: "data";
|
|
701
|
+
data: Record<string, unknown>;
|
|
702
702
|
metadata?: Record<string, unknown> | undefined;
|
|
703
703
|
mimeType?: string | undefined;
|
|
704
704
|
})[];
|
|
@@ -780,22 +780,22 @@ export declare const A2ATaskSchema: z.ZodObject<{
|
|
|
780
780
|
}>;
|
|
781
781
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
782
782
|
}, "strict", z.ZodTypeAny, {
|
|
783
|
+
kind: "file";
|
|
783
784
|
file: {
|
|
784
785
|
uri: string;
|
|
785
786
|
mimeType: string;
|
|
786
787
|
name?: string | undefined;
|
|
787
788
|
bytes?: string | undefined;
|
|
788
789
|
};
|
|
789
|
-
kind: "file";
|
|
790
790
|
metadata?: Record<string, unknown> | undefined;
|
|
791
791
|
}, {
|
|
792
|
+
kind: "file";
|
|
792
793
|
file: {
|
|
793
794
|
uri: string;
|
|
794
795
|
mimeType: string;
|
|
795
796
|
name?: string | undefined;
|
|
796
797
|
bytes?: string | undefined;
|
|
797
798
|
};
|
|
798
|
-
kind: "file";
|
|
799
799
|
metadata?: Record<string, unknown> | undefined;
|
|
800
800
|
}>, z.ZodObject<{
|
|
801
801
|
kind: z.ZodLiteral<"data">;
|
|
@@ -803,13 +803,13 @@ export declare const A2ATaskSchema: z.ZodObject<{
|
|
|
803
803
|
mimeType: z.ZodOptional<z.ZodString>;
|
|
804
804
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
805
805
|
}, "strict", z.ZodTypeAny, {
|
|
806
|
-
data: Record<string, unknown>;
|
|
807
806
|
kind: "data";
|
|
807
|
+
data: Record<string, unknown>;
|
|
808
808
|
metadata?: Record<string, unknown> | undefined;
|
|
809
809
|
mimeType?: string | undefined;
|
|
810
810
|
}, {
|
|
811
|
-
data: Record<string, unknown>;
|
|
812
811
|
kind: "data";
|
|
812
|
+
data: Record<string, unknown>;
|
|
813
813
|
metadata?: Record<string, unknown> | undefined;
|
|
814
814
|
mimeType?: string | undefined;
|
|
815
815
|
}>]>, "many">;
|
|
@@ -821,17 +821,17 @@ export declare const A2ATaskSchema: z.ZodObject<{
|
|
|
821
821
|
kind: "text";
|
|
822
822
|
metadata?: Record<string, unknown> | undefined;
|
|
823
823
|
} | {
|
|
824
|
+
kind: "file";
|
|
824
825
|
file: {
|
|
825
826
|
uri: string;
|
|
826
827
|
mimeType: string;
|
|
827
828
|
name?: string | undefined;
|
|
828
829
|
bytes?: string | undefined;
|
|
829
830
|
};
|
|
830
|
-
kind: "file";
|
|
831
831
|
metadata?: Record<string, unknown> | undefined;
|
|
832
832
|
} | {
|
|
833
|
-
data: Record<string, unknown>;
|
|
834
833
|
kind: "data";
|
|
834
|
+
data: Record<string, unknown>;
|
|
835
835
|
metadata?: Record<string, unknown> | undefined;
|
|
836
836
|
mimeType?: string | undefined;
|
|
837
837
|
})[];
|
|
@@ -843,17 +843,17 @@ export declare const A2ATaskSchema: z.ZodObject<{
|
|
|
843
843
|
kind: "text";
|
|
844
844
|
metadata?: Record<string, unknown> | undefined;
|
|
845
845
|
} | {
|
|
846
|
+
kind: "file";
|
|
846
847
|
file: {
|
|
847
848
|
uri: string;
|
|
848
849
|
mimeType: string;
|
|
849
850
|
name?: string | undefined;
|
|
850
851
|
bytes?: string | undefined;
|
|
851
852
|
};
|
|
852
|
-
kind: "file";
|
|
853
853
|
metadata?: Record<string, unknown> | undefined;
|
|
854
854
|
} | {
|
|
855
|
-
data: Record<string, unknown>;
|
|
856
855
|
kind: "data";
|
|
856
|
+
data: Record<string, unknown>;
|
|
857
857
|
metadata?: Record<string, unknown> | undefined;
|
|
858
858
|
mimeType?: string | undefined;
|
|
859
859
|
})[];
|
|
@@ -869,17 +869,17 @@ export declare const A2ATaskSchema: z.ZodObject<{
|
|
|
869
869
|
kind: "text";
|
|
870
870
|
metadata?: Record<string, unknown> | undefined;
|
|
871
871
|
} | {
|
|
872
|
+
kind: "file";
|
|
872
873
|
file: {
|
|
873
874
|
uri: string;
|
|
874
875
|
mimeType: string;
|
|
875
876
|
name?: string | undefined;
|
|
876
877
|
bytes?: string | undefined;
|
|
877
878
|
};
|
|
878
|
-
kind: "file";
|
|
879
879
|
metadata?: Record<string, unknown> | undefined;
|
|
880
880
|
} | {
|
|
881
|
-
data: Record<string, unknown>;
|
|
882
881
|
kind: "data";
|
|
882
|
+
data: Record<string, unknown>;
|
|
883
883
|
metadata?: Record<string, unknown> | undefined;
|
|
884
884
|
mimeType?: string | undefined;
|
|
885
885
|
})[];
|
|
@@ -895,17 +895,17 @@ export declare const A2ATaskSchema: z.ZodObject<{
|
|
|
895
895
|
kind: "text";
|
|
896
896
|
metadata?: Record<string, unknown> | undefined;
|
|
897
897
|
} | {
|
|
898
|
+
kind: "file";
|
|
898
899
|
file: {
|
|
899
900
|
uri: string;
|
|
900
901
|
mimeType: string;
|
|
901
902
|
name?: string | undefined;
|
|
902
903
|
bytes?: string | undefined;
|
|
903
904
|
};
|
|
904
|
-
kind: "file";
|
|
905
905
|
metadata?: Record<string, unknown> | undefined;
|
|
906
906
|
} | {
|
|
907
|
-
data: Record<string, unknown>;
|
|
908
907
|
kind: "data";
|
|
908
|
+
data: Record<string, unknown>;
|
|
909
909
|
metadata?: Record<string, unknown> | undefined;
|
|
910
910
|
mimeType?: string | undefined;
|
|
911
911
|
})[];
|
|
@@ -947,22 +947,22 @@ export declare const A2ATaskSchema: z.ZodObject<{
|
|
|
947
947
|
}>;
|
|
948
948
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
949
949
|
}, "strict", z.ZodTypeAny, {
|
|
950
|
+
kind: "file";
|
|
950
951
|
file: {
|
|
951
952
|
uri: string;
|
|
952
953
|
mimeType: string;
|
|
953
954
|
name?: string | undefined;
|
|
954
955
|
bytes?: string | undefined;
|
|
955
956
|
};
|
|
956
|
-
kind: "file";
|
|
957
957
|
metadata?: Record<string, unknown> | undefined;
|
|
958
958
|
}, {
|
|
959
|
+
kind: "file";
|
|
959
960
|
file: {
|
|
960
961
|
uri: string;
|
|
961
962
|
mimeType: string;
|
|
962
963
|
name?: string | undefined;
|
|
963
964
|
bytes?: string | undefined;
|
|
964
965
|
};
|
|
965
|
-
kind: "file";
|
|
966
966
|
metadata?: Record<string, unknown> | undefined;
|
|
967
967
|
}>, z.ZodObject<{
|
|
968
968
|
kind: z.ZodLiteral<"data">;
|
|
@@ -970,13 +970,13 @@ export declare const A2ATaskSchema: z.ZodObject<{
|
|
|
970
970
|
mimeType: z.ZodOptional<z.ZodString>;
|
|
971
971
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
972
972
|
}, "strict", z.ZodTypeAny, {
|
|
973
|
-
data: Record<string, unknown>;
|
|
974
973
|
kind: "data";
|
|
974
|
+
data: Record<string, unknown>;
|
|
975
975
|
metadata?: Record<string, unknown> | undefined;
|
|
976
976
|
mimeType?: string | undefined;
|
|
977
977
|
}, {
|
|
978
|
-
data: Record<string, unknown>;
|
|
979
978
|
kind: "data";
|
|
979
|
+
data: Record<string, unknown>;
|
|
980
980
|
metadata?: Record<string, unknown> | undefined;
|
|
981
981
|
mimeType?: string | undefined;
|
|
982
982
|
}>]>, "many">;
|
|
@@ -988,17 +988,17 @@ export declare const A2ATaskSchema: z.ZodObject<{
|
|
|
988
988
|
kind: "text";
|
|
989
989
|
metadata?: Record<string, unknown> | undefined;
|
|
990
990
|
} | {
|
|
991
|
+
kind: "file";
|
|
991
992
|
file: {
|
|
992
993
|
uri: string;
|
|
993
994
|
mimeType: string;
|
|
994
995
|
name?: string | undefined;
|
|
995
996
|
bytes?: string | undefined;
|
|
996
997
|
};
|
|
997
|
-
kind: "file";
|
|
998
998
|
metadata?: Record<string, unknown> | undefined;
|
|
999
999
|
} | {
|
|
1000
|
-
data: Record<string, unknown>;
|
|
1001
1000
|
kind: "data";
|
|
1001
|
+
data: Record<string, unknown>;
|
|
1002
1002
|
metadata?: Record<string, unknown> | undefined;
|
|
1003
1003
|
mimeType?: string | undefined;
|
|
1004
1004
|
})[];
|
|
@@ -1010,17 +1010,17 @@ export declare const A2ATaskSchema: z.ZodObject<{
|
|
|
1010
1010
|
kind: "text";
|
|
1011
1011
|
metadata?: Record<string, unknown> | undefined;
|
|
1012
1012
|
} | {
|
|
1013
|
+
kind: "file";
|
|
1013
1014
|
file: {
|
|
1014
1015
|
uri: string;
|
|
1015
1016
|
mimeType: string;
|
|
1016
1017
|
name?: string | undefined;
|
|
1017
1018
|
bytes?: string | undefined;
|
|
1018
1019
|
};
|
|
1019
|
-
kind: "file";
|
|
1020
1020
|
metadata?: Record<string, unknown> | undefined;
|
|
1021
1021
|
} | {
|
|
1022
|
-
data: Record<string, unknown>;
|
|
1023
1022
|
kind: "data";
|
|
1023
|
+
data: Record<string, unknown>;
|
|
1024
1024
|
metadata?: Record<string, unknown> | undefined;
|
|
1025
1025
|
mimeType?: string | undefined;
|
|
1026
1026
|
})[];
|
|
@@ -1062,22 +1062,22 @@ export declare const A2ATaskSchema: z.ZodObject<{
|
|
|
1062
1062
|
}>;
|
|
1063
1063
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1064
1064
|
}, "strict", z.ZodTypeAny, {
|
|
1065
|
+
kind: "file";
|
|
1065
1066
|
file: {
|
|
1066
1067
|
uri: string;
|
|
1067
1068
|
mimeType: string;
|
|
1068
1069
|
name?: string | undefined;
|
|
1069
1070
|
bytes?: string | undefined;
|
|
1070
1071
|
};
|
|
1071
|
-
kind: "file";
|
|
1072
1072
|
metadata?: Record<string, unknown> | undefined;
|
|
1073
1073
|
}, {
|
|
1074
|
+
kind: "file";
|
|
1074
1075
|
file: {
|
|
1075
1076
|
uri: string;
|
|
1076
1077
|
mimeType: string;
|
|
1077
1078
|
name?: string | undefined;
|
|
1078
1079
|
bytes?: string | undefined;
|
|
1079
1080
|
};
|
|
1080
|
-
kind: "file";
|
|
1081
1081
|
metadata?: Record<string, unknown> | undefined;
|
|
1082
1082
|
}>, z.ZodObject<{
|
|
1083
1083
|
kind: z.ZodLiteral<"data">;
|
|
@@ -1085,13 +1085,13 @@ export declare const A2ATaskSchema: z.ZodObject<{
|
|
|
1085
1085
|
mimeType: z.ZodOptional<z.ZodString>;
|
|
1086
1086
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1087
1087
|
}, "strict", z.ZodTypeAny, {
|
|
1088
|
-
data: Record<string, unknown>;
|
|
1089
1088
|
kind: "data";
|
|
1089
|
+
data: Record<string, unknown>;
|
|
1090
1090
|
metadata?: Record<string, unknown> | undefined;
|
|
1091
1091
|
mimeType?: string | undefined;
|
|
1092
1092
|
}, {
|
|
1093
|
-
data: Record<string, unknown>;
|
|
1094
1093
|
kind: "data";
|
|
1094
|
+
data: Record<string, unknown>;
|
|
1095
1095
|
metadata?: Record<string, unknown> | undefined;
|
|
1096
1096
|
mimeType?: string | undefined;
|
|
1097
1097
|
}>]>, "many">;
|
|
@@ -1102,23 +1102,23 @@ export declare const A2ATaskSchema: z.ZodObject<{
|
|
|
1102
1102
|
kind: "text";
|
|
1103
1103
|
metadata?: Record<string, unknown> | undefined;
|
|
1104
1104
|
} | {
|
|
1105
|
+
kind: "file";
|
|
1105
1106
|
file: {
|
|
1106
1107
|
uri: string;
|
|
1107
1108
|
mimeType: string;
|
|
1108
1109
|
name?: string | undefined;
|
|
1109
1110
|
bytes?: string | undefined;
|
|
1110
1111
|
};
|
|
1111
|
-
kind: "file";
|
|
1112
1112
|
metadata?: Record<string, unknown> | undefined;
|
|
1113
1113
|
} | {
|
|
1114
|
-
data: Record<string, unknown>;
|
|
1115
1114
|
kind: "data";
|
|
1115
|
+
data: Record<string, unknown>;
|
|
1116
1116
|
metadata?: Record<string, unknown> | undefined;
|
|
1117
1117
|
mimeType?: string | undefined;
|
|
1118
1118
|
})[];
|
|
1119
1119
|
artifactId: string;
|
|
1120
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1121
1120
|
name?: string | undefined;
|
|
1121
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1122
1122
|
description?: string | undefined;
|
|
1123
1123
|
}, {
|
|
1124
1124
|
parts: ({
|
|
@@ -1126,23 +1126,23 @@ export declare const A2ATaskSchema: z.ZodObject<{
|
|
|
1126
1126
|
kind: "text";
|
|
1127
1127
|
metadata?: Record<string, unknown> | undefined;
|
|
1128
1128
|
} | {
|
|
1129
|
+
kind: "file";
|
|
1129
1130
|
file: {
|
|
1130
1131
|
uri: string;
|
|
1131
1132
|
mimeType: string;
|
|
1132
1133
|
name?: string | undefined;
|
|
1133
1134
|
bytes?: string | undefined;
|
|
1134
1135
|
};
|
|
1135
|
-
kind: "file";
|
|
1136
1136
|
metadata?: Record<string, unknown> | undefined;
|
|
1137
1137
|
} | {
|
|
1138
|
-
data: Record<string, unknown>;
|
|
1139
1138
|
kind: "data";
|
|
1139
|
+
data: Record<string, unknown>;
|
|
1140
1140
|
metadata?: Record<string, unknown> | undefined;
|
|
1141
1141
|
mimeType?: string | undefined;
|
|
1142
1142
|
})[];
|
|
1143
1143
|
artifactId: string;
|
|
1144
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1145
1144
|
name?: string | undefined;
|
|
1145
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1146
1146
|
description?: string | undefined;
|
|
1147
1147
|
}>, "many">>;
|
|
1148
1148
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
@@ -1156,17 +1156,17 @@ export declare const A2ATaskSchema: z.ZodObject<{
|
|
|
1156
1156
|
kind: "text";
|
|
1157
1157
|
metadata?: Record<string, unknown> | undefined;
|
|
1158
1158
|
} | {
|
|
1159
|
+
kind: "file";
|
|
1159
1160
|
file: {
|
|
1160
1161
|
uri: string;
|
|
1161
1162
|
mimeType: string;
|
|
1162
1163
|
name?: string | undefined;
|
|
1163
1164
|
bytes?: string | undefined;
|
|
1164
1165
|
};
|
|
1165
|
-
kind: "file";
|
|
1166
1166
|
metadata?: Record<string, unknown> | undefined;
|
|
1167
1167
|
} | {
|
|
1168
|
-
data: Record<string, unknown>;
|
|
1169
1168
|
kind: "data";
|
|
1169
|
+
data: Record<string, unknown>;
|
|
1170
1170
|
metadata?: Record<string, unknown> | undefined;
|
|
1171
1171
|
mimeType?: string | undefined;
|
|
1172
1172
|
})[];
|
|
@@ -1184,17 +1184,17 @@ export declare const A2ATaskSchema: z.ZodObject<{
|
|
|
1184
1184
|
kind: "text";
|
|
1185
1185
|
metadata?: Record<string, unknown> | undefined;
|
|
1186
1186
|
} | {
|
|
1187
|
+
kind: "file";
|
|
1187
1188
|
file: {
|
|
1188
1189
|
uri: string;
|
|
1189
1190
|
mimeType: string;
|
|
1190
1191
|
name?: string | undefined;
|
|
1191
1192
|
bytes?: string | undefined;
|
|
1192
1193
|
};
|
|
1193
|
-
kind: "file";
|
|
1194
1194
|
metadata?: Record<string, unknown> | undefined;
|
|
1195
1195
|
} | {
|
|
1196
|
-
data: Record<string, unknown>;
|
|
1197
1196
|
kind: "data";
|
|
1197
|
+
data: Record<string, unknown>;
|
|
1198
1198
|
metadata?: Record<string, unknown> | undefined;
|
|
1199
1199
|
mimeType?: string | undefined;
|
|
1200
1200
|
})[];
|
|
@@ -1206,23 +1206,23 @@ export declare const A2ATaskSchema: z.ZodObject<{
|
|
|
1206
1206
|
kind: "text";
|
|
1207
1207
|
metadata?: Record<string, unknown> | undefined;
|
|
1208
1208
|
} | {
|
|
1209
|
+
kind: "file";
|
|
1209
1210
|
file: {
|
|
1210
1211
|
uri: string;
|
|
1211
1212
|
mimeType: string;
|
|
1212
1213
|
name?: string | undefined;
|
|
1213
1214
|
bytes?: string | undefined;
|
|
1214
1215
|
};
|
|
1215
|
-
kind: "file";
|
|
1216
1216
|
metadata?: Record<string, unknown> | undefined;
|
|
1217
1217
|
} | {
|
|
1218
|
-
data: Record<string, unknown>;
|
|
1219
1218
|
kind: "data";
|
|
1219
|
+
data: Record<string, unknown>;
|
|
1220
1220
|
metadata?: Record<string, unknown> | undefined;
|
|
1221
1221
|
mimeType?: string | undefined;
|
|
1222
1222
|
})[];
|
|
1223
1223
|
artifactId: string;
|
|
1224
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1225
1224
|
name?: string | undefined;
|
|
1225
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1226
1226
|
description?: string | undefined;
|
|
1227
1227
|
}[] | undefined;
|
|
1228
1228
|
}, {
|
|
@@ -1235,17 +1235,17 @@ export declare const A2ATaskSchema: z.ZodObject<{
|
|
|
1235
1235
|
kind: "text";
|
|
1236
1236
|
metadata?: Record<string, unknown> | undefined;
|
|
1237
1237
|
} | {
|
|
1238
|
+
kind: "file";
|
|
1238
1239
|
file: {
|
|
1239
1240
|
uri: string;
|
|
1240
1241
|
mimeType: string;
|
|
1241
1242
|
name?: string | undefined;
|
|
1242
1243
|
bytes?: string | undefined;
|
|
1243
1244
|
};
|
|
1244
|
-
kind: "file";
|
|
1245
1245
|
metadata?: Record<string, unknown> | undefined;
|
|
1246
1246
|
} | {
|
|
1247
|
-
data: Record<string, unknown>;
|
|
1248
1247
|
kind: "data";
|
|
1248
|
+
data: Record<string, unknown>;
|
|
1249
1249
|
metadata?: Record<string, unknown> | undefined;
|
|
1250
1250
|
mimeType?: string | undefined;
|
|
1251
1251
|
})[];
|
|
@@ -1263,17 +1263,17 @@ export declare const A2ATaskSchema: z.ZodObject<{
|
|
|
1263
1263
|
kind: "text";
|
|
1264
1264
|
metadata?: Record<string, unknown> | undefined;
|
|
1265
1265
|
} | {
|
|
1266
|
+
kind: "file";
|
|
1266
1267
|
file: {
|
|
1267
1268
|
uri: string;
|
|
1268
1269
|
mimeType: string;
|
|
1269
1270
|
name?: string | undefined;
|
|
1270
1271
|
bytes?: string | undefined;
|
|
1271
1272
|
};
|
|
1272
|
-
kind: "file";
|
|
1273
1273
|
metadata?: Record<string, unknown> | undefined;
|
|
1274
1274
|
} | {
|
|
1275
|
-
data: Record<string, unknown>;
|
|
1276
1275
|
kind: "data";
|
|
1276
|
+
data: Record<string, unknown>;
|
|
1277
1277
|
metadata?: Record<string, unknown> | undefined;
|
|
1278
1278
|
mimeType?: string | undefined;
|
|
1279
1279
|
})[];
|
|
@@ -1285,23 +1285,23 @@ export declare const A2ATaskSchema: z.ZodObject<{
|
|
|
1285
1285
|
kind: "text";
|
|
1286
1286
|
metadata?: Record<string, unknown> | undefined;
|
|
1287
1287
|
} | {
|
|
1288
|
+
kind: "file";
|
|
1288
1289
|
file: {
|
|
1289
1290
|
uri: string;
|
|
1290
1291
|
mimeType: string;
|
|
1291
1292
|
name?: string | undefined;
|
|
1292
1293
|
bytes?: string | undefined;
|
|
1293
1294
|
};
|
|
1294
|
-
kind: "file";
|
|
1295
1295
|
metadata?: Record<string, unknown> | undefined;
|
|
1296
1296
|
} | {
|
|
1297
|
-
data: Record<string, unknown>;
|
|
1298
1297
|
kind: "data";
|
|
1298
|
+
data: Record<string, unknown>;
|
|
1299
1299
|
metadata?: Record<string, unknown> | undefined;
|
|
1300
1300
|
mimeType?: string | undefined;
|
|
1301
1301
|
})[];
|
|
1302
1302
|
artifactId: string;
|
|
1303
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1304
1303
|
name?: string | undefined;
|
|
1304
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1305
1305
|
description?: string | undefined;
|
|
1306
1306
|
}[] | undefined;
|
|
1307
1307
|
}>;
|