@namzu/sdk 49.0.0 → 50.1.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 +541 -0
- package/README.md +137 -125
- package/dist/agents/QueryAgent.d.ts.map +1 -1
- package/dist/agents/QueryAgent.js +1 -0
- package/dist/agents/QueryAgent.js.map +1 -1
- package/dist/agents/examples/SupervisorAgent.d.ts.map +1 -1
- package/dist/agents/examples/SupervisorAgent.js +1 -0
- package/dist/agents/examples/SupervisorAgent.js.map +1 -1
- package/dist/agents/runAgent.d.ts +2 -0
- package/dist/agents/runAgent.d.ts.map +1 -1
- package/dist/agents/runAgent.js +1 -0
- package/dist/agents/runAgent.js.map +1 -1
- package/dist/authorization/shell-lexer.d.ts.map +1 -1
- package/dist/authorization/shell-lexer.js +16 -1
- package/dist/authorization/shell-lexer.js.map +1 -1
- package/dist/bridge/acp/permission.d.ts +8 -2
- package/dist/bridge/acp/permission.d.ts.map +1 -1
- package/dist/bridge/acp/permission.js +1 -0
- package/dist/bridge/acp/permission.js.map +1 -1
- package/dist/bridge/acp/server.d.ts +25 -1
- package/dist/bridge/acp/server.d.ts.map +1 -1
- package/dist/bridge/acp/server.js +205 -21
- package/dist/bridge/acp/server.js.map +1 -1
- package/dist/bridge/acp/tasks.d.ts +5 -0
- package/dist/bridge/acp/tasks.d.ts.map +1 -0
- package/dist/bridge/acp/tasks.js +19 -0
- package/dist/bridge/acp/tasks.js.map +1 -0
- package/dist/bridge/acp/update.d.ts.map +1 -1
- package/dist/bridge/acp/update.js +148 -13
- package/dist/bridge/acp/update.js.map +1 -1
- package/dist/config/runtime.d.ts +31 -31
- package/dist/connector/mcp/adapter.d.ts.map +1 -1
- package/dist/connector/mcp/adapter.js +11 -4
- package/dist/connector/mcp/adapter.js.map +1 -1
- package/dist/connector/mcp/client.d.ts.map +1 -1
- package/dist/connector/mcp/client.js +6 -3
- package/dist/connector/mcp/client.js.map +1 -1
- package/dist/constants/acp/index.d.ts +3 -0
- package/dist/constants/acp/index.d.ts.map +1 -1
- package/dist/constants/acp/index.js +3 -0
- package/dist/constants/acp/index.js.map +1 -1
- package/dist/contracts/a2a.d.ts +80 -80
- package/dist/contracts/schemas.d.ts +2 -2
- package/dist/contracts/session/schemas.d.ts +10 -10
- package/dist/manager/agent/lifecycle.d.ts +11 -0
- package/dist/manager/agent/lifecycle.d.ts.map +1 -1
- package/dist/manager/agent/lifecycle.js +178 -3
- package/dist/manager/agent/lifecycle.js.map +1 -1
- package/dist/manager/plan/lifecycle.d.ts +7 -8
- package/dist/manager/plan/lifecycle.d.ts.map +1 -1
- package/dist/manager/plan/lifecycle.js +7 -8
- package/dist/manager/plan/lifecycle.js.map +1 -1
- package/dist/manager/resident/consumption.d.ts +8 -8
- package/dist/manager/resident/learning-cycle.d.ts +2 -2
- package/dist/manager/resident/learning-observation.d.ts +12 -12
- package/dist/manager/resident/learning.d.ts +82 -82
- package/dist/manager/resident/outbox.d.ts +8 -8
- package/dist/manager/resident/proposal.d.ts +2 -2
- package/dist/manager/resident/store.d.ts +10 -10
- package/dist/manager/session/attribution.d.ts +1 -0
- package/dist/manager/session/attribution.d.ts.map +1 -1
- package/dist/manager/session/attribution.js +9 -1
- package/dist/manager/session/attribution.js.map +1 -1
- package/dist/manager/session/streamed-message-identity.d.ts +6 -0
- package/dist/manager/session/streamed-message-identity.d.ts.map +1 -0
- package/dist/manager/session/streamed-message-identity.js +14 -0
- package/dist/manager/session/streamed-message-identity.js.map +1 -0
- package/dist/manager/session/turn-recorder.d.ts.map +1 -1
- package/dist/manager/session/turn-recorder.js +4 -3
- package/dist/manager/session/turn-recorder.js.map +1 -1
- package/dist/pals/activity/causality.d.ts +23 -0
- package/dist/pals/activity/causality.d.ts.map +1 -0
- package/dist/pals/activity/causality.js +205 -0
- package/dist/pals/activity/causality.js.map +1 -0
- package/dist/pals/activity/projection.d.ts +5 -0
- package/dist/pals/activity/projection.d.ts.map +1 -0
- package/dist/pals/activity/projection.js +79 -0
- package/dist/pals/activity/projection.js.map +1 -0
- package/dist/pals/activity/source.d.ts +16 -0
- package/dist/pals/activity/source.d.ts.map +1 -0
- package/dist/pals/activity/source.js +235 -0
- package/dist/pals/activity/source.js.map +1 -0
- package/dist/pals/activity/subscription-policy.d.ts +38 -0
- package/dist/pals/activity/subscription-policy.d.ts.map +1 -0
- package/dist/pals/activity/subscription-policy.js +183 -0
- package/dist/pals/activity/subscription-policy.js.map +1 -0
- package/dist/pals/activity/subscription-schema.d.ts +353 -0
- package/dist/pals/activity/subscription-schema.d.ts.map +1 -0
- package/dist/pals/activity/subscription-schema.js +24 -0
- package/dist/pals/activity/subscription-schema.js.map +1 -0
- package/dist/pals/activity/subscription-store.d.ts +25 -0
- package/dist/pals/activity/subscription-store.d.ts.map +1 -0
- package/dist/pals/activity/subscription-store.js +152 -0
- package/dist/pals/activity/subscription-store.js.map +1 -0
- package/dist/pals/activity/subscription-types.d.ts +42 -0
- package/dist/pals/activity/subscription-types.d.ts.map +1 -0
- package/dist/pals/activity/subscription-types.js +2 -0
- package/dist/pals/activity/subscription-types.js.map +1 -0
- package/dist/pals/activity/subscriptions.d.ts +32 -0
- package/dist/pals/activity/subscriptions.d.ts.map +1 -0
- package/dist/pals/activity/subscriptions.js +151 -0
- package/dist/pals/activity/subscriptions.js.map +1 -0
- package/dist/pals/activity/types.d.ts +77 -0
- package/dist/pals/activity/types.d.ts.map +1 -0
- package/dist/pals/activity/types.js +2 -0
- package/dist/pals/activity/types.js.map +1 -0
- package/dist/pals/channels/ingress.d.ts +9 -0
- package/dist/pals/channels/ingress.d.ts.map +1 -0
- package/dist/pals/channels/ingress.js +131 -0
- package/dist/pals/channels/ingress.js.map +1 -0
- package/dist/pals/channels/routes.d.ts +20 -0
- package/dist/pals/channels/routes.d.ts.map +1 -0
- package/dist/pals/channels/routes.js +111 -0
- package/dist/pals/channels/routes.js.map +1 -0
- package/dist/pals/channels/routing.d.ts +37 -0
- package/dist/pals/channels/routing.d.ts.map +1 -0
- package/dist/pals/channels/routing.js +150 -0
- package/dist/pals/channels/routing.js.map +1 -0
- package/dist/pals/channels/schema.d.ts +234 -0
- package/dist/pals/channels/schema.d.ts.map +1 -0
- package/dist/pals/channels/schema.js +94 -0
- package/dist/pals/channels/schema.js.map +1 -0
- package/dist/pals/channels/types.d.ts +115 -0
- package/dist/pals/channels/types.d.ts.map +1 -0
- package/dist/pals/channels/types.js +2 -0
- package/dist/pals/channels/types.js.map +1 -0
- package/dist/pals/communication/broker.d.ts +8 -0
- package/dist/pals/communication/broker.d.ts.map +1 -0
- package/dist/pals/communication/broker.js +121 -0
- package/dist/pals/communication/broker.js.map +1 -0
- package/dist/pals/communication/dispatch.d.ts +4 -0
- package/dist/pals/communication/dispatch.d.ts.map +1 -0
- package/dist/pals/communication/dispatch.js +57 -0
- package/dist/pals/communication/dispatch.js.map +1 -0
- package/dist/pals/communication/inbound.d.ts +9 -0
- package/dist/pals/communication/inbound.d.ts.map +1 -0
- package/dist/pals/communication/inbound.js +155 -0
- package/dist/pals/communication/inbound.js.map +1 -0
- package/dist/pals/communication/ingress-dispatch.d.ts +5 -0
- package/dist/pals/communication/ingress-dispatch.d.ts.map +1 -0
- package/dist/pals/communication/ingress-dispatch.js +51 -0
- package/dist/pals/communication/ingress-dispatch.js.map +1 -0
- package/dist/pals/communication/ingress-inbound.d.ts +9 -0
- package/dist/pals/communication/ingress-inbound.d.ts.map +1 -0
- package/dist/pals/communication/ingress-inbound.js +222 -0
- package/dist/pals/communication/ingress-inbound.js.map +1 -0
- package/dist/pals/communication/ingress-schema.d.ts +7829 -0
- package/dist/pals/communication/ingress-schema.d.ts.map +1 -0
- package/dist/pals/communication/ingress-schema.js +479 -0
- package/dist/pals/communication/ingress-schema.js.map +1 -0
- package/dist/pals/communication/ingress-types.d.ts +187 -0
- package/dist/pals/communication/ingress-types.d.ts.map +1 -0
- package/dist/pals/communication/ingress-types.js +73 -0
- package/dist/pals/communication/ingress-types.js.map +1 -0
- package/dist/pals/communication/operator.d.ts +75 -0
- package/dist/pals/communication/operator.d.ts.map +1 -0
- package/dist/pals/communication/operator.js +217 -0
- package/dist/pals/communication/operator.js.map +1 -0
- package/dist/pals/communication/policy.d.ts +41 -0
- package/dist/pals/communication/policy.d.ts.map +1 -0
- package/dist/pals/communication/policy.js +138 -0
- package/dist/pals/communication/policy.js.map +1 -0
- package/dist/pals/communication/schema.d.ts +2000 -0
- package/dist/pals/communication/schema.d.ts.map +1 -0
- package/dist/pals/communication/schema.js +170 -0
- package/dist/pals/communication/schema.js.map +1 -0
- package/dist/pals/communication/store.d.ts +61 -0
- package/dist/pals/communication/store.d.ts.map +1 -0
- package/dist/pals/communication/store.js +450 -0
- package/dist/pals/communication/store.js.map +1 -0
- package/dist/pals/communication/tools.d.ts +23 -0
- package/dist/pals/communication/tools.d.ts.map +1 -0
- package/dist/pals/communication/tools.js +107 -0
- package/dist/pals/communication/tools.js.map +1 -0
- package/dist/pals/communication/types.d.ts +168 -0
- package/dist/pals/communication/types.d.ts.map +1 -0
- package/dist/pals/communication/types.js +24 -0
- package/dist/pals/communication/types.js.map +1 -0
- package/dist/pals/communication/verify.d.ts +22 -0
- package/dist/pals/communication/verify.d.ts.map +1 -0
- package/dist/pals/communication/verify.js +142 -0
- package/dist/pals/communication/verify.js.map +1 -0
- package/dist/pals/lifecycle.d.ts +37 -0
- package/dist/pals/lifecycle.d.ts.map +1 -0
- package/dist/pals/lifecycle.js +22 -0
- package/dist/pals/lifecycle.js.map +1 -0
- package/dist/pals/prompt.d.ts +30 -0
- package/dist/pals/prompt.d.ts.map +1 -0
- package/dist/pals/prompt.js +65 -0
- package/dist/pals/prompt.js.map +1 -0
- package/dist/pals/reference-images.d.ts +44 -0
- package/dist/pals/reference-images.d.ts.map +1 -0
- package/dist/pals/reference-images.js +248 -0
- package/dist/pals/reference-images.js.map +1 -0
- package/dist/pals/runtime.d.ts +46 -0
- package/dist/pals/runtime.d.ts.map +1 -0
- package/dist/pals/runtime.js +624 -0
- package/dist/pals/runtime.js.map +1 -0
- package/dist/pals/store.d.ts +26 -0
- package/dist/pals/store.d.ts.map +1 -0
- package/dist/pals/store.js +334 -0
- package/dist/pals/store.js.map +1 -0
- package/dist/pals/types.d.ts +145 -0
- package/dist/pals/types.d.ts.map +1 -0
- package/dist/pals/types.js +2 -0
- package/dist/pals/types.js.map +1 -0
- package/dist/peers/envelope.js +1 -1
- package/dist/peers/envelope.js.map +1 -1
- package/dist/peers/protocol.d.ts +83 -83
- package/dist/peers/record.d.ts +10 -10
- package/dist/plugin/shell-hook.d.ts.map +1 -1
- package/dist/plugin/shell-hook.js +7 -2
- package/dist/plugin/shell-hook.js.map +1 -1
- package/dist/process/kill-tree.d.ts.map +1 -1
- package/dist/process/kill-tree.js +9 -1
- package/dist/process/kill-tree.js.map +1 -1
- package/dist/provider/errors.d.ts +19 -0
- package/dist/provider/errors.d.ts.map +1 -1
- package/dist/provider/errors.js +123 -2
- package/dist/provider/errors.js.map +1 -1
- package/dist/provider/strict-schema.d.ts +28 -0
- package/dist/provider/strict-schema.d.ts.map +1 -1
- package/dist/provider/strict-schema.js +86 -0
- package/dist/provider/strict-schema.js.map +1 -1
- package/dist/public-runtime.d.ts +42 -14
- package/dist/public-runtime.d.ts.map +1 -1
- package/dist/public-runtime.js +36 -8
- package/dist/public-runtime.js.map +1 -1
- package/dist/public-tools.d.ts +8 -3
- package/dist/public-tools.d.ts.map +1 -1
- package/dist/public-tools.js +8 -3
- package/dist/public-tools.js.map +1 -1
- package/dist/public-types.d.ts +27 -7
- package/dist/public-types.d.ts.map +1 -1
- package/dist/registry/tool/presentation.d.ts +1 -0
- package/dist/registry/tool/presentation.d.ts.map +1 -1
- package/dist/registry/tool/presentation.js +9 -7
- package/dist/registry/tool/presentation.js.map +1 -1
- package/dist/runtime/harness-session/index.d.ts +5 -0
- package/dist/runtime/harness-session/index.d.ts.map +1 -0
- package/dist/runtime/harness-session/index.js +928 -0
- package/dist/runtime/harness-session/index.js.map +1 -0
- package/dist/runtime/harness-session/journal.d.ts +37 -0
- package/dist/runtime/harness-session/journal.d.ts.map +1 -0
- package/dist/runtime/harness-session/journal.js +177 -0
- package/dist/runtime/harness-session/journal.js.map +1 -0
- package/dist/runtime/harness-session/saved-view.d.ts +8 -0
- package/dist/runtime/harness-session/saved-view.d.ts.map +1 -0
- package/dist/runtime/harness-session/saved-view.js +112 -0
- package/dist/runtime/harness-session/saved-view.js.map +1 -0
- package/dist/runtime/jobs/awaited-jobs.d.ts +2 -1
- package/dist/runtime/jobs/awaited-jobs.d.ts.map +1 -1
- package/dist/runtime/jobs/awaited-jobs.js +2 -1
- package/dist/runtime/jobs/awaited-jobs.js.map +1 -1
- package/dist/runtime/jobs/registry.d.ts +56 -1
- package/dist/runtime/jobs/registry.d.ts.map +1 -1
- package/dist/runtime/jobs/registry.js +351 -34
- package/dist/runtime/jobs/registry.js.map +1 -1
- package/dist/runtime/query/abandon-turn.d.ts +12 -1
- package/dist/runtime/query/abandon-turn.d.ts.map +1 -1
- package/dist/runtime/query/abandon-turn.js +3 -1
- package/dist/runtime/query/abandon-turn.js.map +1 -1
- package/dist/runtime/query/checkpoint.d.ts +4 -0
- package/dist/runtime/query/checkpoint.d.ts.map +1 -1
- package/dist/runtime/query/checkpoint.js +10 -0
- package/dist/runtime/query/checkpoint.js.map +1 -1
- package/dist/runtime/query/durable-inbound.d.ts +5 -0
- package/dist/runtime/query/durable-inbound.d.ts.map +1 -0
- package/dist/runtime/query/durable-inbound.js +89 -0
- package/dist/runtime/query/durable-inbound.js.map +1 -0
- package/dist/runtime/query/events.d.ts +4 -0
- package/dist/runtime/query/events.d.ts.map +1 -1
- package/dist/runtime/query/events.js +22 -5
- package/dist/runtime/query/events.js.map +1 -1
- package/dist/runtime/query/executor/tool-call-admission.d.ts +5 -1
- package/dist/runtime/query/executor/tool-call-admission.d.ts.map +1 -1
- package/dist/runtime/query/executor/tool-call-admission.js +85 -13
- package/dist/runtime/query/executor/tool-call-admission.js.map +1 -1
- package/dist/runtime/query/executor.d.ts +41 -18
- package/dist/runtime/query/executor.d.ts.map +1 -1
- package/dist/runtime/query/executor.js +227 -114
- package/dist/runtime/query/executor.js.map +1 -1
- package/dist/runtime/query/index.d.ts +3 -0
- package/dist/runtime/query/index.d.ts.map +1 -1
- package/dist/runtime/query/index.js +21 -4
- package/dist/runtime/query/index.js.map +1 -1
- package/dist/runtime/query/iteration/index.d.ts +18 -6
- package/dist/runtime/query/iteration/index.d.ts.map +1 -1
- package/dist/runtime/query/iteration/index.js +144 -67
- package/dist/runtime/query/iteration/index.js.map +1 -1
- package/dist/runtime/query/iteration/outstanding-work.d.ts +9 -5
- package/dist/runtime/query/iteration/outstanding-work.d.ts.map +1 -1
- package/dist/runtime/query/iteration/outstanding-work.js +61 -6
- package/dist/runtime/query/iteration/outstanding-work.js.map +1 -1
- package/dist/runtime/query/iteration/phases/context.d.ts +4 -0
- package/dist/runtime/query/iteration/phases/context.d.ts.map +1 -1
- package/dist/runtime/query/iteration/phases/context.js.map +1 -1
- package/dist/runtime/query/iteration/phases/tool-review.d.ts.map +1 -1
- package/dist/runtime/query/iteration/phases/tool-review.js +99 -16
- package/dist/runtime/query/iteration/phases/tool-review.js.map +1 -1
- package/dist/runtime/query/observation-context.d.ts +2 -2
- package/dist/runtime/query/observation-context.d.ts.map +1 -1
- package/dist/runtime/query/observation-context.js +20 -13
- package/dist/runtime/query/observation-context.js.map +1 -1
- package/dist/runtime/query/prepare-turn.js +2 -2
- package/dist/runtime/query/prepare-turn.js.map +1 -1
- package/dist/runtime/query/prompt-cache.d.ts +1 -0
- package/dist/runtime/query/prompt-cache.d.ts.map +1 -1
- package/dist/runtime/query/prompt-cache.js +2 -0
- package/dist/runtime/query/prompt-cache.js.map +1 -1
- package/dist/runtime/query/prompt.d.ts +2 -0
- package/dist/runtime/query/prompt.d.ts.map +1 -1
- package/dist/runtime/query/prompt.js +23 -1
- package/dist/runtime/query/prompt.js.map +1 -1
- package/dist/runtime/query/repeat-call.d.ts +12 -3
- package/dist/runtime/query/repeat-call.d.ts.map +1 -1
- package/dist/runtime/query/repeat-call.js +33 -10
- package/dist/runtime/query/repeat-call.js.map +1 -1
- package/dist/runtime/query/resume-pending.d.ts +5 -6
- package/dist/runtime/query/resume-pending.d.ts.map +1 -1
- package/dist/runtime/query/resume-pending.js +30 -3
- package/dist/runtime/query/resume-pending.js.map +1 -1
- package/dist/runtime/query/resume-session.js +1 -1
- package/dist/runtime/query/resume-session.js.map +1 -1
- package/dist/runtime/query/review-policy.d.ts +8 -1
- package/dist/runtime/query/review-policy.d.ts.map +1 -1
- package/dist/runtime/query/review-policy.js +6 -0
- package/dist/runtime/query/review-policy.js.map +1 -1
- package/dist/runtime/query/saved-presentation.d.ts +13 -0
- package/dist/runtime/query/saved-presentation.d.ts.map +1 -0
- package/dist/runtime/query/saved-presentation.js +63 -0
- package/dist/runtime/query/saved-presentation.js.map +1 -0
- package/dist/runtime/query/steering.d.ts +6 -9
- package/dist/runtime/query/steering.d.ts.map +1 -1
- package/dist/runtime/query/steering.js.map +1 -1
- package/dist/runtime/query/tool-executions.d.ts +7 -3
- package/dist/runtime/query/tool-executions.d.ts.map +1 -1
- package/dist/runtime/query/tool-executions.js +89 -9
- package/dist/runtime/query/tool-executions.js.map +1 -1
- package/dist/runtime/query/tooling.d.ts +3 -1
- package/dist/runtime/query/tooling.d.ts.map +1 -1
- package/dist/runtime/query/tooling.js +3 -0
- package/dist/runtime/query/tooling.js.map +1 -1
- package/dist/scheduler/completion-inbox.d.ts +25 -1
- package/dist/scheduler/completion-inbox.d.ts.map +1 -1
- package/dist/scheduler/completion-inbox.js +102 -8
- package/dist/scheduler/completion-inbox.js.map +1 -1
- package/dist/scheduler/delegating.d.ts.map +1 -1
- package/dist/scheduler/delegating.js +5 -0
- package/dist/scheduler/delegating.js.map +1 -1
- package/dist/scheduler/local.d.ts.map +1 -1
- package/dist/scheduler/local.js +2 -0
- package/dist/scheduler/local.js.map +1 -1
- package/dist/session/summary/materialize.d.ts +10 -6
- package/dist/session/summary/materialize.d.ts.map +1 -1
- package/dist/session/summary/materialize.js +41 -8
- package/dist/session/summary/materialize.js.map +1 -1
- package/dist/store/budget/ledger.d.ts +9 -0
- package/dist/store/budget/ledger.d.ts.map +1 -1
- package/dist/store/budget/ledger.js +58 -6
- package/dist/store/budget/ledger.js.map +1 -1
- package/dist/store/evidence/index-page.d.ts +12 -12
- package/dist/store/evidence/source-text.d.ts +4 -4
- package/dist/store/session/disk.d.ts +9 -4
- package/dist/store/session/disk.d.ts.map +1 -1
- package/dist/store/session/disk.js +57 -11
- package/dist/store/session/disk.js.map +1 -1
- package/dist/store/session/memory.d.ts +5 -3
- package/dist/store/session/memory.d.ts.map +1 -1
- package/dist/store/session/memory.js +24 -7
- package/dist/store/session/memory.js.map +1 -1
- package/dist/store/session-log/core.d.ts +26 -6
- package/dist/store/session-log/core.d.ts.map +1 -1
- package/dist/store/session-log/core.js +61 -8
- package/dist/store/session-log/core.js.map +1 -1
- package/dist/store/session-log/disk.d.ts +2 -2
- package/dist/store/session-log/disk.d.ts.map +1 -1
- package/dist/store/session-log/disk.js +1 -0
- package/dist/store/session-log/disk.js.map +1 -1
- package/dist/store/session-log/fold.d.ts +7 -0
- package/dist/store/session-log/fold.d.ts.map +1 -1
- package/dist/store/session-log/fold.js +21 -0
- package/dist/store/session-log/fold.js.map +1 -1
- package/dist/store/session-log/index.d.ts +5 -3
- package/dist/store/session-log/index.d.ts.map +1 -1
- package/dist/store/session-log/index.js +3 -1
- package/dist/store/session-log/index.js.map +1 -1
- package/dist/store/session-log/memory.d.ts +1 -1
- package/dist/store/session-log/memory.d.ts.map +1 -1
- package/dist/store/session-log/memory.js +1 -0
- package/dist/store/session-log/memory.js.map +1 -1
- package/dist/store/session-log/spill.d.ts +10 -3
- package/dist/store/session-log/spill.d.ts.map +1 -1
- package/dist/store/session-log/spill.js +70 -5
- package/dist/store/session-log/spill.js.map +1 -1
- package/dist/store/session-log/structured-result.d.ts +21 -0
- package/dist/store/session-log/structured-result.d.ts.map +1 -0
- package/dist/store/session-log/structured-result.js +67 -0
- package/dist/store/session-log/structured-result.js.map +1 -0
- package/dist/store/task/disk.d.ts +11 -0
- package/dist/store/task/disk.d.ts.map +1 -1
- package/dist/store/task/disk.js +41 -2
- package/dist/store/task/disk.js.map +1 -1
- package/dist/store/task/memory.d.ts.map +1 -1
- package/dist/store/task/memory.js +15 -3
- package/dist/store/task/memory.js.map +1 -1
- package/dist/tools/admit-facts.d.ts +13 -0
- package/dist/tools/admit-facts.d.ts.map +1 -0
- package/dist/tools/admit-facts.js +142 -0
- package/dist/tools/admit-facts.js.map +1 -0
- package/dist/tools/builtins/bash.d.ts +4 -1
- package/dist/tools/builtins/bash.d.ts.map +1 -1
- package/dist/tools/builtins/bash.js +108 -22
- package/dist/tools/builtins/bash.js.map +1 -1
- package/dist/tools/builtins/browser.d.ts +10 -10
- package/dist/tools/builtins/computer-use.d.ts +90 -90
- package/dist/tools/builtins/edit.d.ts +17 -0
- package/dist/tools/builtins/edit.d.ts.map +1 -1
- package/dist/tools/builtins/edit.js +46 -1
- package/dist/tools/builtins/edit.js.map +1 -1
- package/dist/tools/builtins/file-write-result.d.ts.map +1 -1
- package/dist/tools/builtins/file-write-result.js +13 -0
- package/dist/tools/builtins/file-write-result.js.map +1 -1
- package/dist/tools/builtins/glob.d.ts.map +1 -1
- package/dist/tools/builtins/glob.js +12 -0
- 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 +14 -0
- package/dist/tools/builtins/grep.js.map +1 -1
- package/dist/tools/builtins/index.d.ts +2 -0
- package/dist/tools/builtins/index.d.ts.map +1 -1
- package/dist/tools/builtins/index.js +1 -0
- package/dist/tools/builtins/index.js.map +1 -1
- package/dist/tools/builtins/job.d.ts.map +1 -1
- package/dist/tools/builtins/job.js +4 -1
- package/dist/tools/builtins/job.js.map +1 -1
- package/dist/tools/builtins/lsp.d.ts +2 -2
- package/dist/tools/builtins/read-file.d.ts.map +1 -1
- package/dist/tools/builtins/read-file.js +49 -0
- package/dist/tools/builtins/read-file.js.map +1 -1
- package/dist/tools/builtins/view-image.d.ts +24 -0
- package/dist/tools/builtins/view-image.d.ts.map +1 -0
- package/dist/tools/builtins/view-image.js +385 -0
- package/dist/tools/builtins/view-image.js.map +1 -0
- package/dist/tools/builtins/wait-for-job-bounds.d.ts +2 -0
- package/dist/tools/builtins/wait-for-job-bounds.d.ts.map +1 -1
- package/dist/tools/builtins/wait-for-job-bounds.js +1 -0
- package/dist/tools/builtins/wait-for-job-bounds.js.map +1 -1
- package/dist/tools/builtins/wait-for-job.d.ts +2 -0
- package/dist/tools/builtins/wait-for-job.d.ts.map +1 -1
- package/dist/tools/builtins/wait-for-job.js +104 -6
- package/dist/tools/builtins/wait-for-job.js.map +1 -1
- package/dist/tools/builtins/write-file.d.ts.map +1 -1
- package/dist/tools/builtins/write-file.js +1 -0
- package/dist/tools/builtins/write-file.js.map +1 -1
- package/dist/tools/command-shell.d.ts +37 -2
- package/dist/tools/command-shell.d.ts.map +1 -1
- package/dist/tools/command-shell.js +100 -3
- package/dist/tools/command-shell.js.map +1 -1
- package/dist/tools/coordinator/agent.d.ts +9 -19
- package/dist/tools/coordinator/agent.d.ts.map +1 -1
- package/dist/tools/coordinator/agent.js.map +1 -1
- package/dist/tools/coordinator/index.d.ts.map +1 -1
- package/dist/tools/coordinator/index.js +127 -67
- package/dist/tools/coordinator/index.js.map +1 -1
- package/dist/tools/coordinator/wait-with-idle-bound.d.ts +2 -0
- package/dist/tools/coordinator/wait-with-idle-bound.d.ts.map +1 -1
- package/dist/tools/coordinator/wait-with-idle-bound.js +1 -1
- package/dist/tools/coordinator/wait-with-idle-bound.js.map +1 -1
- 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/failure-facts.d.ts +8 -0
- package/dist/tools/failure-facts.d.ts.map +1 -0
- package/dist/tools/failure-facts.js +24 -0
- package/dist/tools/failure-facts.js.map +1 -0
- package/dist/tools/host-output.d.ts +24 -0
- package/dist/tools/host-output.d.ts.map +1 -0
- package/dist/tools/host-output.js +117 -0
- package/dist/tools/host-output.js.map +1 -0
- package/dist/tools/oem-code-pages.d.ts +8 -0
- package/dist/tools/oem-code-pages.d.ts.map +1 -0
- package/dist/tools/oem-code-pages.js +23 -0
- package/dist/tools/oem-code-pages.js.map +1 -0
- package/dist/tools/schedules/schedule-tool.d.ts.map +1 -1
- package/dist/tools/schedules/schedule-tool.js +35 -6
- package/dist/tools/schedules/schedule-tool.js.map +1 -1
- package/dist/tools/schedules/types.d.ts +23 -3
- package/dist/tools/schedules/types.d.ts.map +1 -1
- package/dist/tools/task/list.d.ts.map +1 -1
- package/dist/tools/task/list.js +14 -6
- package/dist/tools/task/list.js.map +1 -1
- package/dist/tools/task/present.d.ts.map +1 -1
- package/dist/tools/task/present.js +26 -6
- package/dist/tools/task/present.js.map +1 -1
- package/dist/tools/task/update.d.ts.map +1 -1
- package/dist/tools/task/update.js +12 -5
- package/dist/tools/task/update.js.map +1 -1
- package/dist/tools/text-window.d.ts +19 -0
- package/dist/tools/text-window.d.ts.map +1 -0
- package/dist/tools/text-window.js +83 -0
- package/dist/tools/text-window.js.map +1 -0
- package/dist/toolsets/manager.d.ts +11 -0
- package/dist/toolsets/manager.d.ts.map +1 -1
- package/dist/toolsets/manager.js +45 -1
- package/dist/toolsets/manager.js.map +1 -1
- package/dist/types/acp/index.d.ts +137 -1
- package/dist/types/acp/index.d.ts.map +1 -1
- package/dist/types/agent/base.d.ts +3 -0
- package/dist/types/agent/base.d.ts.map +1 -1
- package/dist/types/agent/manager.d.ts +8 -23
- package/dist/types/agent/manager.d.ts.map +1 -1
- package/dist/types/agent/scheduler.d.ts +10 -1
- package/dist/types/agent/scheduler.d.ts.map +1 -1
- package/dist/types/agent/task.d.ts +4 -0
- package/dist/types/agent/task.d.ts.map +1 -1
- package/dist/types/authorization/index.d.ts +30 -30
- package/dist/types/connector/mcp.d.ts +7 -0
- package/dist/types/connector/mcp.d.ts.map +1 -1
- package/dist/types/errors/catalog.d.ts.map +1 -1
- package/dist/types/errors/catalog.js +4 -2
- package/dist/types/errors/catalog.js.map +1 -1
- package/dist/types/harness/schema.d.ts +354 -0
- package/dist/types/harness/schema.d.ts.map +1 -0
- package/dist/types/harness/schema.js +203 -0
- package/dist/types/harness/schema.js.map +1 -0
- package/dist/types/harness/session.d.ts +278 -0
- package/dist/types/harness/session.d.ts.map +1 -0
- package/dist/types/harness/session.js +2 -0
- package/dist/types/harness/session.js.map +1 -0
- package/dist/types/hitl/index.d.ts +12 -0
- package/dist/types/hitl/index.d.ts.map +1 -1
- package/dist/types/hitl/index.js.map +1 -1
- package/dist/types/job/index.d.ts +47 -0
- package/dist/types/job/index.d.ts.map +1 -0
- package/dist/types/job/index.js +2 -0
- package/dist/types/job/index.js.map +1 -0
- package/dist/types/message/inbound-delivery.d.ts +44 -0
- package/dist/types/message/inbound-delivery.d.ts.map +1 -0
- package/dist/types/message/inbound-delivery.js +14 -0
- package/dist/types/message/inbound-delivery.js.map +1 -0
- package/dist/types/message/index.d.ts +4 -1
- package/dist/types/message/index.d.ts.map +1 -1
- package/dist/types/message/index.js +5 -1
- package/dist/types/message/index.js.map +1 -1
- package/dist/types/plugin/index.d.ts +6 -6
- package/dist/types/sandbox/index.d.ts +39 -2
- package/dist/types/sandbox/index.d.ts.map +1 -1
- package/dist/types/sandbox/index.js.map +1 -1
- package/dist/types/session/checkpoint.d.ts +24 -17
- package/dist/types/session/checkpoint.d.ts.map +1 -1
- package/dist/types/session/checkpoint.js +1 -0
- package/dist/types/session/checkpoint.js.map +1 -1
- package/dist/types/session/events.d.ts +23 -1
- package/dist/types/session/events.d.ts.map +1 -1
- package/dist/types/session/events.js.map +1 -1
- package/dist/types/session/records.d.ts +1514 -565
- package/dist/types/session/records.d.ts.map +1 -1
- package/dist/types/session/records.js +89 -1
- package/dist/types/session/records.js.map +1 -1
- package/dist/types/session/step.d.ts +2 -0
- package/dist/types/session/step.d.ts.map +1 -1
- package/dist/types/session/step.js.map +1 -1
- package/dist/types/session/store.d.ts +19 -10
- package/dist/types/session/store.d.ts.map +1 -1
- package/dist/types/session/tool-execution.d.ts +6 -0
- package/dist/types/session/tool-execution.d.ts.map +1 -1
- package/dist/types/structured-output/index.d.ts +12 -2
- package/dist/types/structured-output/index.d.ts.map +1 -1
- package/dist/types/summary/ref.d.ts +3 -1
- package/dist/types/summary/ref.d.ts.map +1 -1
- package/dist/types/tool/index.d.ts +32 -4
- package/dist/types/tool/index.d.ts.map +1 -1
- package/dist/types/tool/index.js.map +1 -1
- package/dist/types/tool/presentation.d.ts +106 -0
- package/dist/types/tool/presentation.d.ts.map +1 -1
- package/dist/utils/json-snapshot.d.ts +6 -2
- package/dist/utils/json-snapshot.d.ts.map +1 -1
- package/dist/utils/json-snapshot.js +19 -9
- package/dist/utils/json-snapshot.js.map +1 -1
- package/dist/utils/structured-result-json.d.ts +5 -0
- package/dist/utils/structured-result-json.d.ts.map +1 -0
- package/dist/utils/structured-result-json.js +10 -0
- package/dist/utils/structured-result-json.js.map +1 -0
- package/package.json +1 -1
- package/src/agents/QueryAgent.ts +1 -0
- package/src/agents/examples/SupervisorAgent.ts +1 -0
- package/src/agents/runAgent.ts +3 -0
- package/src/authorization/shell-lexer.ts +16 -1
- package/src/bridge/acp/permission.ts +17 -3
- package/src/bridge/acp/server.ts +271 -25
- package/src/bridge/acp/tasks.ts +23 -0
- package/src/bridge/acp/update.ts +167 -13
- package/src/connector/mcp/adapter.ts +16 -4
- package/src/connector/mcp/client.ts +6 -2
- package/src/constants/acp/index.ts +4 -0
- package/src/manager/agent/lifecycle.ts +230 -3
- package/src/manager/plan/lifecycle.ts +11 -9
- package/src/manager/session/attribution.ts +12 -2
- package/src/manager/session/streamed-message-identity.ts +21 -0
- package/src/manager/session/turn-recorder.ts +4 -3
- package/src/pals/activity/causality.ts +261 -0
- package/src/pals/activity/projection.ts +89 -0
- package/src/pals/activity/source.ts +240 -0
- package/src/pals/activity/subscription-policy.ts +230 -0
- package/src/pals/activity/subscription-schema.ts +27 -0
- package/src/pals/activity/subscription-store.ts +172 -0
- package/src/pals/activity/subscription-types.ts +48 -0
- package/src/pals/activity/subscriptions.ts +209 -0
- package/src/pals/activity/types.ts +108 -0
- package/src/pals/channels/ingress.ts +153 -0
- package/src/pals/channels/routes.ts +118 -0
- package/src/pals/channels/routing.ts +197 -0
- package/src/pals/channels/schema.ts +108 -0
- package/src/pals/channels/types.ts +156 -0
- package/src/pals/communication/broker.ts +131 -0
- package/src/pals/communication/dispatch.ts +66 -0
- package/src/pals/communication/inbound.ts +193 -0
- package/src/pals/communication/ingress-dispatch.ts +63 -0
- package/src/pals/communication/ingress-inbound.ts +269 -0
- package/src/pals/communication/ingress-schema.ts +526 -0
- package/src/pals/communication/ingress-types.ts +336 -0
- package/src/pals/communication/operator.ts +315 -0
- package/src/pals/communication/policy.ts +174 -0
- package/src/pals/communication/schema.ts +173 -0
- package/src/pals/communication/store.ts +577 -0
- package/src/pals/communication/tools.ts +139 -0
- package/src/pals/communication/types.ts +227 -0
- package/src/pals/communication/verify.ts +220 -0
- package/src/pals/lifecycle.ts +54 -0
- package/src/pals/prompt.ts +101 -0
- package/src/pals/reference-images.ts +322 -0
- package/src/pals/runtime.ts +670 -0
- package/src/pals/store.ts +369 -0
- package/src/pals/types.ts +157 -0
- package/src/peers/envelope.ts +1 -1
- package/src/plugin/shell-hook.ts +8 -2
- package/src/process/kill-tree.ts +10 -1
- package/src/provider/errors.ts +135 -2
- package/src/provider/strict-schema.ts +90 -0
- package/src/public-runtime.ts +118 -12
- package/src/public-tools.ts +13 -1
- package/src/public-types.ts +69 -7
- package/src/registry/tool/presentation.ts +9 -4
- package/src/runtime/harness-session/index.ts +1125 -0
- package/src/runtime/harness-session/journal.ts +209 -0
- package/src/runtime/harness-session/saved-view.ts +122 -0
- package/src/runtime/jobs/awaited-jobs.ts +2 -1
- package/src/runtime/jobs/registry.ts +397 -41
- package/src/runtime/query/abandon-turn.ts +18 -2
- package/src/runtime/query/checkpoint.ts +11 -0
- package/src/runtime/query/durable-inbound.ts +101 -0
- package/src/runtime/query/events.ts +22 -5
- package/src/runtime/query/executor/tool-call-admission.ts +125 -32
- package/src/runtime/query/executor.ts +316 -130
- package/src/runtime/query/index.ts +24 -4
- package/src/runtime/query/iteration/index.ts +218 -104
- package/src/runtime/query/iteration/outstanding-work.ts +55 -7
- package/src/runtime/query/iteration/phases/context.ts +4 -0
- package/src/runtime/query/iteration/phases/tool-review.ts +118 -21
- package/src/runtime/query/observation-context.ts +22 -16
- package/src/runtime/query/prepare-turn.ts +2 -2
- package/src/runtime/query/prompt-cache.ts +3 -0
- package/src/runtime/query/prompt.ts +32 -1
- package/src/runtime/query/repeat-call.ts +40 -10
- package/src/runtime/query/resume-pending.ts +60 -7
- package/src/runtime/query/resume-session.ts +1 -1
- package/src/runtime/query/review-policy.ts +23 -2
- package/src/runtime/query/saved-presentation.ts +70 -0
- package/src/runtime/query/steering.ts +6 -9
- package/src/runtime/query/tool-executions.ts +108 -9
- package/src/runtime/query/tooling.ts +6 -1
- package/src/scheduler/completion-inbox.ts +108 -7
- package/src/scheduler/delegating.ts +5 -0
- package/src/scheduler/local.ts +2 -0
- package/src/session/summary/materialize.ts +51 -9
- package/src/store/budget/ledger.ts +60 -5
- package/src/store/session/disk.ts +77 -10
- package/src/store/session/memory.ts +32 -7
- package/src/store/session-log/core.ts +118 -11
- package/src/store/session-log/disk.ts +9 -2
- package/src/store/session-log/fold.ts +22 -0
- package/src/store/session-log/index.ts +5 -0
- package/src/store/session-log/memory.ts +2 -1
- package/src/store/session-log/spill.ts +89 -6
- package/src/store/session-log/structured-result.ts +96 -0
- package/src/store/task/disk.ts +46 -2
- package/src/store/task/memory.ts +13 -3
- package/src/tools/admit-facts.ts +145 -0
- package/src/tools/builtins/bash.ts +132 -24
- package/src/tools/builtins/edit.ts +54 -1
- package/src/tools/builtins/file-write-result.ts +14 -0
- package/src/tools/builtins/glob.ts +12 -0
- package/src/tools/builtins/grep.ts +14 -0
- package/src/tools/builtins/index.ts +2 -0
- package/src/tools/builtins/job.ts +4 -1
- package/src/tools/builtins/read-file.ts +57 -0
- package/src/tools/builtins/view-image.ts +409 -0
- package/src/tools/builtins/wait-for-job-bounds.ts +3 -0
- package/src/tools/builtins/wait-for-job.ts +141 -32
- package/src/tools/builtins/write-file.ts +4 -2
- package/src/tools/command-shell.ts +132 -5
- package/src/tools/coordinator/agent.ts +9 -19
- package/src/tools/coordinator/index.ts +150 -75
- package/src/tools/coordinator/wait-with-idle-bound.ts +3 -1
- package/src/tools/defineTool.ts +4 -0
- package/src/tools/failure-facts.ts +24 -0
- package/src/tools/host-output.ts +136 -0
- package/src/tools/oem-code-pages.ts +22 -0
- package/src/tools/schedules/schedule-tool.ts +38 -5
- package/src/tools/schedules/types.ts +23 -3
- package/src/tools/task/list.ts +15 -7
- package/src/tools/task/present.ts +37 -7
- package/src/tools/task/update.ts +12 -5
- package/src/tools/text-window.ts +87 -0
- package/src/toolsets/manager.ts +58 -1
- package/src/types/acp/index.ts +150 -4
- package/src/types/agent/base.ts +3 -0
- package/src/types/agent/manager.ts +8 -23
- package/src/types/agent/scheduler.ts +10 -1
- package/src/types/agent/task.ts +4 -0
- package/src/types/connector/mcp.ts +7 -0
- package/src/types/errors/catalog.ts +4 -2
- package/src/types/harness/schema.ts +203 -0
- package/src/types/harness/session.ts +306 -0
- package/src/types/hitl/index.ts +17 -1
- package/src/types/job/index.ts +42 -0
- package/src/types/message/inbound-delivery.ts +63 -0
- package/src/types/message/index.ts +8 -1
- package/src/types/sandbox/index.ts +46 -0
- package/src/types/session/checkpoint.ts +4 -1
- package/src/types/session/events.ts +23 -1
- package/src/types/session/records.ts +114 -2
- package/src/types/session/step.ts +2 -0
- package/src/types/session/store.ts +23 -9
- package/src/types/session/tool-execution.ts +6 -0
- package/src/types/structured-output/index.ts +13 -2
- package/src/types/summary/ref.ts +3 -1
- package/src/types/tool/index.ts +39 -5
- package/src/types/tool/presentation.ts +121 -0
- package/src/utils/json-snapshot.ts +26 -9
- package/src/utils/structured-result-json.ts +10 -0
package/dist/contracts/a2a.d.ts
CHANGED
|
@@ -8,12 +8,12 @@ export declare const TextPartSchema: z.ZodObject<{
|
|
|
8
8
|
text: z.ZodString;
|
|
9
9
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
10
10
|
}, "strict", z.ZodTypeAny, {
|
|
11
|
-
text: string;
|
|
12
11
|
kind: "text";
|
|
12
|
+
text: string;
|
|
13
13
|
metadata?: Record<string, unknown> | undefined;
|
|
14
14
|
}, {
|
|
15
|
-
text: string;
|
|
16
15
|
kind: "text";
|
|
16
|
+
text: string;
|
|
17
17
|
metadata?: Record<string, unknown> | undefined;
|
|
18
18
|
}>;
|
|
19
19
|
export declare const FilePartSchema: z.ZodObject<{
|
|
@@ -75,12 +75,12 @@ export declare const A2APartSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject
|
|
|
75
75
|
text: z.ZodString;
|
|
76
76
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
77
77
|
}, "strict", z.ZodTypeAny, {
|
|
78
|
-
text: string;
|
|
79
78
|
kind: "text";
|
|
79
|
+
text: string;
|
|
80
80
|
metadata?: Record<string, unknown> | undefined;
|
|
81
81
|
}, {
|
|
82
|
-
text: string;
|
|
83
82
|
kind: "text";
|
|
83
|
+
text: string;
|
|
84
84
|
metadata?: Record<string, unknown> | undefined;
|
|
85
85
|
}>, z.ZodObject<{
|
|
86
86
|
kind: z.ZodLiteral<"file">;
|
|
@@ -142,12 +142,12 @@ export declare const A2AMessageSchema: z.ZodObject<{
|
|
|
142
142
|
text: z.ZodString;
|
|
143
143
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
144
144
|
}, "strict", z.ZodTypeAny, {
|
|
145
|
-
text: string;
|
|
146
145
|
kind: "text";
|
|
146
|
+
text: string;
|
|
147
147
|
metadata?: Record<string, unknown> | undefined;
|
|
148
148
|
}, {
|
|
149
|
-
text: string;
|
|
150
149
|
kind: "text";
|
|
150
|
+
text: string;
|
|
151
151
|
metadata?: Record<string, unknown> | undefined;
|
|
152
152
|
}>, z.ZodObject<{
|
|
153
153
|
kind: z.ZodLiteral<"file">;
|
|
@@ -204,10 +204,9 @@ export declare const A2AMessageSchema: z.ZodObject<{
|
|
|
204
204
|
}>]>, "many">;
|
|
205
205
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
206
206
|
}, "strict", z.ZodTypeAny, {
|
|
207
|
-
role: "user" | "agent";
|
|
208
207
|
parts: ({
|
|
209
|
-
text: string;
|
|
210
208
|
kind: "text";
|
|
209
|
+
text: string;
|
|
211
210
|
metadata?: Record<string, unknown> | undefined;
|
|
212
211
|
} | {
|
|
213
212
|
kind: "file";
|
|
@@ -224,12 +223,12 @@ export declare const A2AMessageSchema: z.ZodObject<{
|
|
|
224
223
|
metadata?: Record<string, unknown> | undefined;
|
|
225
224
|
mimeType?: string | undefined;
|
|
226
225
|
})[];
|
|
226
|
+
role: "user" | "agent";
|
|
227
227
|
metadata?: Record<string, unknown> | undefined;
|
|
228
228
|
}, {
|
|
229
|
-
role: "user" | "agent";
|
|
230
229
|
parts: ({
|
|
231
|
-
text: string;
|
|
232
230
|
kind: "text";
|
|
231
|
+
text: string;
|
|
233
232
|
metadata?: Record<string, unknown> | undefined;
|
|
234
233
|
} | {
|
|
235
234
|
kind: "file";
|
|
@@ -246,6 +245,7 @@ export declare const A2AMessageSchema: z.ZodObject<{
|
|
|
246
245
|
metadata?: Record<string, unknown> | undefined;
|
|
247
246
|
mimeType?: string | undefined;
|
|
248
247
|
})[];
|
|
248
|
+
role: "user" | "agent";
|
|
249
249
|
metadata?: Record<string, unknown> | undefined;
|
|
250
250
|
}>;
|
|
251
251
|
export declare const A2ATaskStatusSchema: z.ZodObject<{
|
|
@@ -257,12 +257,12 @@ export declare const A2ATaskStatusSchema: z.ZodObject<{
|
|
|
257
257
|
text: z.ZodString;
|
|
258
258
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
259
259
|
}, "strict", z.ZodTypeAny, {
|
|
260
|
-
text: string;
|
|
261
260
|
kind: "text";
|
|
261
|
+
text: string;
|
|
262
262
|
metadata?: Record<string, unknown> | undefined;
|
|
263
263
|
}, {
|
|
264
|
-
text: string;
|
|
265
264
|
kind: "text";
|
|
265
|
+
text: string;
|
|
266
266
|
metadata?: Record<string, unknown> | undefined;
|
|
267
267
|
}>, z.ZodObject<{
|
|
268
268
|
kind: z.ZodLiteral<"file">;
|
|
@@ -319,10 +319,9 @@ export declare const A2ATaskStatusSchema: z.ZodObject<{
|
|
|
319
319
|
}>]>, "many">;
|
|
320
320
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
321
321
|
}, "strict", z.ZodTypeAny, {
|
|
322
|
-
role: "user" | "agent";
|
|
323
322
|
parts: ({
|
|
324
|
-
text: string;
|
|
325
323
|
kind: "text";
|
|
324
|
+
text: string;
|
|
326
325
|
metadata?: Record<string, unknown> | undefined;
|
|
327
326
|
} | {
|
|
328
327
|
kind: "file";
|
|
@@ -339,12 +338,12 @@ export declare const A2ATaskStatusSchema: z.ZodObject<{
|
|
|
339
338
|
metadata?: Record<string, unknown> | undefined;
|
|
340
339
|
mimeType?: string | undefined;
|
|
341
340
|
})[];
|
|
341
|
+
role: "user" | "agent";
|
|
342
342
|
metadata?: Record<string, unknown> | undefined;
|
|
343
343
|
}, {
|
|
344
|
-
role: "user" | "agent";
|
|
345
344
|
parts: ({
|
|
346
|
-
text: string;
|
|
347
345
|
kind: "text";
|
|
346
|
+
text: string;
|
|
348
347
|
metadata?: Record<string, unknown> | undefined;
|
|
349
348
|
} | {
|
|
350
349
|
kind: "file";
|
|
@@ -361,16 +360,16 @@ export declare const A2ATaskStatusSchema: z.ZodObject<{
|
|
|
361
360
|
metadata?: Record<string, unknown> | undefined;
|
|
362
361
|
mimeType?: string | undefined;
|
|
363
362
|
})[];
|
|
363
|
+
role: "user" | "agent";
|
|
364
364
|
metadata?: Record<string, unknown> | undefined;
|
|
365
365
|
}>>;
|
|
366
366
|
timestamp: z.ZodOptional<z.ZodString>;
|
|
367
367
|
}, "strict", z.ZodTypeAny, {
|
|
368
|
-
state: "
|
|
368
|
+
state: "failed" | "pending" | "completed" | "running" | "rejected" | "canceled" | "input-required";
|
|
369
369
|
message?: {
|
|
370
|
-
role: "user" | "agent";
|
|
371
370
|
parts: ({
|
|
372
|
-
text: string;
|
|
373
371
|
kind: "text";
|
|
372
|
+
text: string;
|
|
374
373
|
metadata?: Record<string, unknown> | undefined;
|
|
375
374
|
} | {
|
|
376
375
|
kind: "file";
|
|
@@ -387,16 +386,16 @@ export declare const A2ATaskStatusSchema: z.ZodObject<{
|
|
|
387
386
|
metadata?: Record<string, unknown> | undefined;
|
|
388
387
|
mimeType?: string | undefined;
|
|
389
388
|
})[];
|
|
389
|
+
role: "user" | "agent";
|
|
390
390
|
metadata?: Record<string, unknown> | undefined;
|
|
391
391
|
} | undefined;
|
|
392
392
|
timestamp?: string | undefined;
|
|
393
393
|
}, {
|
|
394
|
-
state: "
|
|
394
|
+
state: "failed" | "pending" | "completed" | "running" | "rejected" | "canceled" | "input-required";
|
|
395
395
|
message?: {
|
|
396
|
-
role: "user" | "agent";
|
|
397
396
|
parts: ({
|
|
398
|
-
text: string;
|
|
399
397
|
kind: "text";
|
|
398
|
+
text: string;
|
|
400
399
|
metadata?: Record<string, unknown> | undefined;
|
|
401
400
|
} | {
|
|
402
401
|
kind: "file";
|
|
@@ -413,6 +412,7 @@ export declare const A2ATaskStatusSchema: z.ZodObject<{
|
|
|
413
412
|
metadata?: Record<string, unknown> | undefined;
|
|
414
413
|
mimeType?: string | undefined;
|
|
415
414
|
})[];
|
|
415
|
+
role: "user" | "agent";
|
|
416
416
|
metadata?: Record<string, unknown> | undefined;
|
|
417
417
|
} | undefined;
|
|
418
418
|
timestamp?: string | undefined;
|
|
@@ -426,12 +426,12 @@ export declare const A2AArtifactSchema: z.ZodObject<{
|
|
|
426
426
|
text: z.ZodString;
|
|
427
427
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
428
428
|
}, "strict", z.ZodTypeAny, {
|
|
429
|
-
text: string;
|
|
430
429
|
kind: "text";
|
|
430
|
+
text: string;
|
|
431
431
|
metadata?: Record<string, unknown> | undefined;
|
|
432
432
|
}, {
|
|
433
|
-
text: string;
|
|
434
433
|
kind: "text";
|
|
434
|
+
text: string;
|
|
435
435
|
metadata?: Record<string, unknown> | undefined;
|
|
436
436
|
}>, z.ZodObject<{
|
|
437
437
|
kind: z.ZodLiteral<"file">;
|
|
@@ -489,8 +489,8 @@ export declare const A2AArtifactSchema: z.ZodObject<{
|
|
|
489
489
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
490
490
|
}, "strict", z.ZodTypeAny, {
|
|
491
491
|
parts: ({
|
|
492
|
-
text: string;
|
|
493
492
|
kind: "text";
|
|
493
|
+
text: string;
|
|
494
494
|
metadata?: Record<string, unknown> | undefined;
|
|
495
495
|
} | {
|
|
496
496
|
kind: "file";
|
|
@@ -509,12 +509,12 @@ export declare const A2AArtifactSchema: z.ZodObject<{
|
|
|
509
509
|
})[];
|
|
510
510
|
artifactId: string;
|
|
511
511
|
name?: string | undefined;
|
|
512
|
-
metadata?: Record<string, unknown> | undefined;
|
|
513
512
|
description?: string | undefined;
|
|
513
|
+
metadata?: Record<string, unknown> | undefined;
|
|
514
514
|
}, {
|
|
515
515
|
parts: ({
|
|
516
|
-
text: string;
|
|
517
516
|
kind: "text";
|
|
517
|
+
text: string;
|
|
518
518
|
metadata?: Record<string, unknown> | undefined;
|
|
519
519
|
} | {
|
|
520
520
|
kind: "file";
|
|
@@ -533,8 +533,8 @@ export declare const A2AArtifactSchema: z.ZodObject<{
|
|
|
533
533
|
})[];
|
|
534
534
|
artifactId: string;
|
|
535
535
|
name?: string | undefined;
|
|
536
|
-
metadata?: Record<string, unknown> | undefined;
|
|
537
536
|
description?: string | undefined;
|
|
537
|
+
metadata?: Record<string, unknown> | undefined;
|
|
538
538
|
}>;
|
|
539
539
|
export declare const A2AMessageSendSchema: z.ZodObject<{
|
|
540
540
|
message: z.ZodObject<{
|
|
@@ -544,12 +544,12 @@ export declare const A2AMessageSendSchema: z.ZodObject<{
|
|
|
544
544
|
text: z.ZodString;
|
|
545
545
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
546
546
|
}, "strict", z.ZodTypeAny, {
|
|
547
|
-
text: string;
|
|
548
547
|
kind: "text";
|
|
548
|
+
text: string;
|
|
549
549
|
metadata?: Record<string, unknown> | undefined;
|
|
550
550
|
}, {
|
|
551
|
-
text: string;
|
|
552
551
|
kind: "text";
|
|
552
|
+
text: string;
|
|
553
553
|
metadata?: Record<string, unknown> | undefined;
|
|
554
554
|
}>, z.ZodObject<{
|
|
555
555
|
kind: z.ZodLiteral<"file">;
|
|
@@ -606,10 +606,9 @@ export declare const A2AMessageSendSchema: z.ZodObject<{
|
|
|
606
606
|
}>]>, "many">;
|
|
607
607
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
608
608
|
}, "strict", z.ZodTypeAny, {
|
|
609
|
-
role: "user" | "agent";
|
|
610
609
|
parts: ({
|
|
611
|
-
text: string;
|
|
612
610
|
kind: "text";
|
|
611
|
+
text: string;
|
|
613
612
|
metadata?: Record<string, unknown> | undefined;
|
|
614
613
|
} | {
|
|
615
614
|
kind: "file";
|
|
@@ -626,12 +625,12 @@ export declare const A2AMessageSendSchema: z.ZodObject<{
|
|
|
626
625
|
metadata?: Record<string, unknown> | undefined;
|
|
627
626
|
mimeType?: string | undefined;
|
|
628
627
|
})[];
|
|
628
|
+
role: "user" | "agent";
|
|
629
629
|
metadata?: Record<string, unknown> | undefined;
|
|
630
630
|
}, {
|
|
631
|
-
role: "user" | "agent";
|
|
632
631
|
parts: ({
|
|
633
|
-
text: string;
|
|
634
632
|
kind: "text";
|
|
633
|
+
text: string;
|
|
635
634
|
metadata?: Record<string, unknown> | undefined;
|
|
636
635
|
} | {
|
|
637
636
|
kind: "file";
|
|
@@ -648,6 +647,7 @@ export declare const A2AMessageSendSchema: z.ZodObject<{
|
|
|
648
647
|
metadata?: Record<string, unknown> | undefined;
|
|
649
648
|
mimeType?: string | undefined;
|
|
650
649
|
})[];
|
|
650
|
+
role: "user" | "agent";
|
|
651
651
|
metadata?: Record<string, unknown> | undefined;
|
|
652
652
|
}>;
|
|
653
653
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -655,10 +655,9 @@ export declare const A2AMessageSendSchema: z.ZodObject<{
|
|
|
655
655
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
656
656
|
}, "strict", z.ZodTypeAny, {
|
|
657
657
|
message: {
|
|
658
|
-
role: "user" | "agent";
|
|
659
658
|
parts: ({
|
|
660
|
-
text: string;
|
|
661
659
|
kind: "text";
|
|
660
|
+
text: string;
|
|
662
661
|
metadata?: Record<string, unknown> | undefined;
|
|
663
662
|
} | {
|
|
664
663
|
kind: "file";
|
|
@@ -675,6 +674,7 @@ export declare const A2AMessageSendSchema: z.ZodObject<{
|
|
|
675
674
|
metadata?: Record<string, unknown> | undefined;
|
|
676
675
|
mimeType?: string | undefined;
|
|
677
676
|
})[];
|
|
677
|
+
role: "user" | "agent";
|
|
678
678
|
metadata?: Record<string, unknown> | undefined;
|
|
679
679
|
};
|
|
680
680
|
id?: string | undefined;
|
|
@@ -682,10 +682,9 @@ export declare const A2AMessageSendSchema: z.ZodObject<{
|
|
|
682
682
|
contextId?: string | undefined;
|
|
683
683
|
}, {
|
|
684
684
|
message: {
|
|
685
|
-
role: "user" | "agent";
|
|
686
685
|
parts: ({
|
|
687
|
-
text: string;
|
|
688
686
|
kind: "text";
|
|
687
|
+
text: string;
|
|
689
688
|
metadata?: Record<string, unknown> | undefined;
|
|
690
689
|
} | {
|
|
691
690
|
kind: "file";
|
|
@@ -702,6 +701,7 @@ export declare const A2AMessageSendSchema: z.ZodObject<{
|
|
|
702
701
|
metadata?: Record<string, unknown> | undefined;
|
|
703
702
|
mimeType?: string | undefined;
|
|
704
703
|
})[];
|
|
704
|
+
role: "user" | "agent";
|
|
705
705
|
metadata?: Record<string, unknown> | undefined;
|
|
706
706
|
};
|
|
707
707
|
id?: string | undefined;
|
|
@@ -725,12 +725,12 @@ export declare const A2ATaskListSchema: z.ZodObject<{
|
|
|
725
725
|
cursor: z.ZodOptional<z.ZodString>;
|
|
726
726
|
}, "strict", z.ZodTypeAny, {
|
|
727
727
|
limit: number;
|
|
728
|
-
state?: "
|
|
728
|
+
state?: "failed" | "pending" | "completed" | "running" | "rejected" | "canceled" | "input-required" | undefined;
|
|
729
729
|
cursor?: string | undefined;
|
|
730
730
|
contextId?: string | undefined;
|
|
731
731
|
}, {
|
|
732
732
|
limit?: number | undefined;
|
|
733
|
-
state?: "
|
|
733
|
+
state?: "failed" | "pending" | "completed" | "running" | "rejected" | "canceled" | "input-required" | undefined;
|
|
734
734
|
cursor?: string | undefined;
|
|
735
735
|
contextId?: string | undefined;
|
|
736
736
|
}>;
|
|
@@ -753,12 +753,12 @@ export declare const A2ATaskSchema: z.ZodObject<{
|
|
|
753
753
|
text: z.ZodString;
|
|
754
754
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
755
755
|
}, "strict", z.ZodTypeAny, {
|
|
756
|
-
text: string;
|
|
757
756
|
kind: "text";
|
|
757
|
+
text: string;
|
|
758
758
|
metadata?: Record<string, unknown> | undefined;
|
|
759
759
|
}, {
|
|
760
|
-
text: string;
|
|
761
760
|
kind: "text";
|
|
761
|
+
text: string;
|
|
762
762
|
metadata?: Record<string, unknown> | undefined;
|
|
763
763
|
}>, z.ZodObject<{
|
|
764
764
|
kind: z.ZodLiteral<"file">;
|
|
@@ -815,10 +815,9 @@ export declare const A2ATaskSchema: z.ZodObject<{
|
|
|
815
815
|
}>]>, "many">;
|
|
816
816
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
817
817
|
}, "strict", z.ZodTypeAny, {
|
|
818
|
-
role: "user" | "agent";
|
|
819
818
|
parts: ({
|
|
820
|
-
text: string;
|
|
821
819
|
kind: "text";
|
|
820
|
+
text: string;
|
|
822
821
|
metadata?: Record<string, unknown> | undefined;
|
|
823
822
|
} | {
|
|
824
823
|
kind: "file";
|
|
@@ -835,12 +834,12 @@ export declare const A2ATaskSchema: z.ZodObject<{
|
|
|
835
834
|
metadata?: Record<string, unknown> | undefined;
|
|
836
835
|
mimeType?: string | undefined;
|
|
837
836
|
})[];
|
|
837
|
+
role: "user" | "agent";
|
|
838
838
|
metadata?: Record<string, unknown> | undefined;
|
|
839
839
|
}, {
|
|
840
|
-
role: "user" | "agent";
|
|
841
840
|
parts: ({
|
|
842
|
-
text: string;
|
|
843
841
|
kind: "text";
|
|
842
|
+
text: string;
|
|
844
843
|
metadata?: Record<string, unknown> | undefined;
|
|
845
844
|
} | {
|
|
846
845
|
kind: "file";
|
|
@@ -857,16 +856,16 @@ export declare const A2ATaskSchema: z.ZodObject<{
|
|
|
857
856
|
metadata?: Record<string, unknown> | undefined;
|
|
858
857
|
mimeType?: string | undefined;
|
|
859
858
|
})[];
|
|
859
|
+
role: "user" | "agent";
|
|
860
860
|
metadata?: Record<string, unknown> | undefined;
|
|
861
861
|
}>>;
|
|
862
862
|
timestamp: z.ZodOptional<z.ZodString>;
|
|
863
863
|
}, "strict", z.ZodTypeAny, {
|
|
864
|
-
state: "
|
|
864
|
+
state: "failed" | "pending" | "completed" | "running" | "rejected" | "canceled" | "input-required";
|
|
865
865
|
message?: {
|
|
866
|
-
role: "user" | "agent";
|
|
867
866
|
parts: ({
|
|
868
|
-
text: string;
|
|
869
867
|
kind: "text";
|
|
868
|
+
text: string;
|
|
870
869
|
metadata?: Record<string, unknown> | undefined;
|
|
871
870
|
} | {
|
|
872
871
|
kind: "file";
|
|
@@ -883,16 +882,16 @@ export declare const A2ATaskSchema: z.ZodObject<{
|
|
|
883
882
|
metadata?: Record<string, unknown> | undefined;
|
|
884
883
|
mimeType?: string | undefined;
|
|
885
884
|
})[];
|
|
885
|
+
role: "user" | "agent";
|
|
886
886
|
metadata?: Record<string, unknown> | undefined;
|
|
887
887
|
} | undefined;
|
|
888
888
|
timestamp?: string | undefined;
|
|
889
889
|
}, {
|
|
890
|
-
state: "
|
|
890
|
+
state: "failed" | "pending" | "completed" | "running" | "rejected" | "canceled" | "input-required";
|
|
891
891
|
message?: {
|
|
892
|
-
role: "user" | "agent";
|
|
893
892
|
parts: ({
|
|
894
|
-
text: string;
|
|
895
893
|
kind: "text";
|
|
894
|
+
text: string;
|
|
896
895
|
metadata?: Record<string, unknown> | undefined;
|
|
897
896
|
} | {
|
|
898
897
|
kind: "file";
|
|
@@ -909,6 +908,7 @@ export declare const A2ATaskSchema: z.ZodObject<{
|
|
|
909
908
|
metadata?: Record<string, unknown> | undefined;
|
|
910
909
|
mimeType?: string | undefined;
|
|
911
910
|
})[];
|
|
911
|
+
role: "user" | "agent";
|
|
912
912
|
metadata?: Record<string, unknown> | undefined;
|
|
913
913
|
} | undefined;
|
|
914
914
|
timestamp?: string | undefined;
|
|
@@ -920,12 +920,12 @@ export declare const A2ATaskSchema: z.ZodObject<{
|
|
|
920
920
|
text: z.ZodString;
|
|
921
921
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
922
922
|
}, "strict", z.ZodTypeAny, {
|
|
923
|
-
text: string;
|
|
924
923
|
kind: "text";
|
|
924
|
+
text: string;
|
|
925
925
|
metadata?: Record<string, unknown> | undefined;
|
|
926
926
|
}, {
|
|
927
|
-
text: string;
|
|
928
927
|
kind: "text";
|
|
928
|
+
text: string;
|
|
929
929
|
metadata?: Record<string, unknown> | undefined;
|
|
930
930
|
}>, z.ZodObject<{
|
|
931
931
|
kind: z.ZodLiteral<"file">;
|
|
@@ -982,10 +982,9 @@ export declare const A2ATaskSchema: z.ZodObject<{
|
|
|
982
982
|
}>]>, "many">;
|
|
983
983
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
984
984
|
}, "strict", z.ZodTypeAny, {
|
|
985
|
-
role: "user" | "agent";
|
|
986
985
|
parts: ({
|
|
987
|
-
text: string;
|
|
988
986
|
kind: "text";
|
|
987
|
+
text: string;
|
|
989
988
|
metadata?: Record<string, unknown> | undefined;
|
|
990
989
|
} | {
|
|
991
990
|
kind: "file";
|
|
@@ -1002,12 +1001,12 @@ export declare const A2ATaskSchema: z.ZodObject<{
|
|
|
1002
1001
|
metadata?: Record<string, unknown> | undefined;
|
|
1003
1002
|
mimeType?: string | undefined;
|
|
1004
1003
|
})[];
|
|
1004
|
+
role: "user" | "agent";
|
|
1005
1005
|
metadata?: Record<string, unknown> | undefined;
|
|
1006
1006
|
}, {
|
|
1007
|
-
role: "user" | "agent";
|
|
1008
1007
|
parts: ({
|
|
1009
|
-
text: string;
|
|
1010
1008
|
kind: "text";
|
|
1009
|
+
text: string;
|
|
1011
1010
|
metadata?: Record<string, unknown> | undefined;
|
|
1012
1011
|
} | {
|
|
1013
1012
|
kind: "file";
|
|
@@ -1024,6 +1023,7 @@ export declare const A2ATaskSchema: z.ZodObject<{
|
|
|
1024
1023
|
metadata?: Record<string, unknown> | undefined;
|
|
1025
1024
|
mimeType?: string | undefined;
|
|
1026
1025
|
})[];
|
|
1026
|
+
role: "user" | "agent";
|
|
1027
1027
|
metadata?: Record<string, unknown> | undefined;
|
|
1028
1028
|
}>, "many">>;
|
|
1029
1029
|
artifacts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1035,12 +1035,12 @@ export declare const A2ATaskSchema: z.ZodObject<{
|
|
|
1035
1035
|
text: z.ZodString;
|
|
1036
1036
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1037
1037
|
}, "strict", z.ZodTypeAny, {
|
|
1038
|
-
text: string;
|
|
1039
1038
|
kind: "text";
|
|
1039
|
+
text: string;
|
|
1040
1040
|
metadata?: Record<string, unknown> | undefined;
|
|
1041
1041
|
}, {
|
|
1042
|
-
text: string;
|
|
1043
1042
|
kind: "text";
|
|
1043
|
+
text: string;
|
|
1044
1044
|
metadata?: Record<string, unknown> | undefined;
|
|
1045
1045
|
}>, z.ZodObject<{
|
|
1046
1046
|
kind: z.ZodLiteral<"file">;
|
|
@@ -1098,8 +1098,8 @@ export declare const A2ATaskSchema: z.ZodObject<{
|
|
|
1098
1098
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1099
1099
|
}, "strict", z.ZodTypeAny, {
|
|
1100
1100
|
parts: ({
|
|
1101
|
-
text: string;
|
|
1102
1101
|
kind: "text";
|
|
1102
|
+
text: string;
|
|
1103
1103
|
metadata?: Record<string, unknown> | undefined;
|
|
1104
1104
|
} | {
|
|
1105
1105
|
kind: "file";
|
|
@@ -1118,12 +1118,12 @@ export declare const A2ATaskSchema: z.ZodObject<{
|
|
|
1118
1118
|
})[];
|
|
1119
1119
|
artifactId: string;
|
|
1120
1120
|
name?: string | undefined;
|
|
1121
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1122
1121
|
description?: string | undefined;
|
|
1122
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1123
1123
|
}, {
|
|
1124
1124
|
parts: ({
|
|
1125
|
-
text: string;
|
|
1126
1125
|
kind: "text";
|
|
1126
|
+
text: string;
|
|
1127
1127
|
metadata?: Record<string, unknown> | undefined;
|
|
1128
1128
|
} | {
|
|
1129
1129
|
kind: "file";
|
|
@@ -1142,19 +1142,17 @@ export declare const A2ATaskSchema: z.ZodObject<{
|
|
|
1142
1142
|
})[];
|
|
1143
1143
|
artifactId: string;
|
|
1144
1144
|
name?: string | undefined;
|
|
1145
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1146
1145
|
description?: string | undefined;
|
|
1146
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1147
1147
|
}>, "many">>;
|
|
1148
1148
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1149
1149
|
}, "strip", z.ZodTypeAny, {
|
|
1150
|
-
id: string;
|
|
1151
1150
|
status: {
|
|
1152
|
-
state: "
|
|
1151
|
+
state: "failed" | "pending" | "completed" | "running" | "rejected" | "canceled" | "input-required";
|
|
1153
1152
|
message?: {
|
|
1154
|
-
role: "user" | "agent";
|
|
1155
1153
|
parts: ({
|
|
1156
|
-
text: string;
|
|
1157
1154
|
kind: "text";
|
|
1155
|
+
text: string;
|
|
1158
1156
|
metadata?: Record<string, unknown> | undefined;
|
|
1159
1157
|
} | {
|
|
1160
1158
|
kind: "file";
|
|
@@ -1171,17 +1169,18 @@ export declare const A2ATaskSchema: z.ZodObject<{
|
|
|
1171
1169
|
metadata?: Record<string, unknown> | undefined;
|
|
1172
1170
|
mimeType?: string | undefined;
|
|
1173
1171
|
})[];
|
|
1172
|
+
role: "user" | "agent";
|
|
1174
1173
|
metadata?: Record<string, unknown> | undefined;
|
|
1175
1174
|
} | undefined;
|
|
1176
1175
|
timestamp?: string | undefined;
|
|
1177
1176
|
};
|
|
1177
|
+
id: string;
|
|
1178
1178
|
metadata?: Record<string, unknown> | undefined;
|
|
1179
1179
|
contextId?: string | undefined;
|
|
1180
1180
|
history?: {
|
|
1181
|
-
role: "user" | "agent";
|
|
1182
1181
|
parts: ({
|
|
1183
|
-
text: string;
|
|
1184
1182
|
kind: "text";
|
|
1183
|
+
text: string;
|
|
1185
1184
|
metadata?: Record<string, unknown> | undefined;
|
|
1186
1185
|
} | {
|
|
1187
1186
|
kind: "file";
|
|
@@ -1198,12 +1197,13 @@ export declare const A2ATaskSchema: z.ZodObject<{
|
|
|
1198
1197
|
metadata?: Record<string, unknown> | undefined;
|
|
1199
1198
|
mimeType?: string | undefined;
|
|
1200
1199
|
})[];
|
|
1200
|
+
role: "user" | "agent";
|
|
1201
1201
|
metadata?: Record<string, unknown> | undefined;
|
|
1202
1202
|
}[] | undefined;
|
|
1203
1203
|
artifacts?: {
|
|
1204
1204
|
parts: ({
|
|
1205
|
-
text: string;
|
|
1206
1205
|
kind: "text";
|
|
1206
|
+
text: string;
|
|
1207
1207
|
metadata?: Record<string, unknown> | undefined;
|
|
1208
1208
|
} | {
|
|
1209
1209
|
kind: "file";
|
|
@@ -1222,18 +1222,16 @@ export declare const A2ATaskSchema: z.ZodObject<{
|
|
|
1222
1222
|
})[];
|
|
1223
1223
|
artifactId: string;
|
|
1224
1224
|
name?: string | undefined;
|
|
1225
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1226
1225
|
description?: string | undefined;
|
|
1226
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1227
1227
|
}[] | undefined;
|
|
1228
1228
|
}, {
|
|
1229
|
-
id: string;
|
|
1230
1229
|
status: {
|
|
1231
|
-
state: "
|
|
1230
|
+
state: "failed" | "pending" | "completed" | "running" | "rejected" | "canceled" | "input-required";
|
|
1232
1231
|
message?: {
|
|
1233
|
-
role: "user" | "agent";
|
|
1234
1232
|
parts: ({
|
|
1235
|
-
text: string;
|
|
1236
1233
|
kind: "text";
|
|
1234
|
+
text: string;
|
|
1237
1235
|
metadata?: Record<string, unknown> | undefined;
|
|
1238
1236
|
} | {
|
|
1239
1237
|
kind: "file";
|
|
@@ -1250,17 +1248,18 @@ export declare const A2ATaskSchema: z.ZodObject<{
|
|
|
1250
1248
|
metadata?: Record<string, unknown> | undefined;
|
|
1251
1249
|
mimeType?: string | undefined;
|
|
1252
1250
|
})[];
|
|
1251
|
+
role: "user" | "agent";
|
|
1253
1252
|
metadata?: Record<string, unknown> | undefined;
|
|
1254
1253
|
} | undefined;
|
|
1255
1254
|
timestamp?: string | undefined;
|
|
1256
1255
|
};
|
|
1256
|
+
id: string;
|
|
1257
1257
|
metadata?: Record<string, unknown> | undefined;
|
|
1258
1258
|
contextId?: string | undefined;
|
|
1259
1259
|
history?: {
|
|
1260
|
-
role: "user" | "agent";
|
|
1261
1260
|
parts: ({
|
|
1262
|
-
text: string;
|
|
1263
1261
|
kind: "text";
|
|
1262
|
+
text: string;
|
|
1264
1263
|
metadata?: Record<string, unknown> | undefined;
|
|
1265
1264
|
} | {
|
|
1266
1265
|
kind: "file";
|
|
@@ -1277,12 +1276,13 @@ export declare const A2ATaskSchema: z.ZodObject<{
|
|
|
1277
1276
|
metadata?: Record<string, unknown> | undefined;
|
|
1278
1277
|
mimeType?: string | undefined;
|
|
1279
1278
|
})[];
|
|
1279
|
+
role: "user" | "agent";
|
|
1280
1280
|
metadata?: Record<string, unknown> | undefined;
|
|
1281
1281
|
}[] | undefined;
|
|
1282
1282
|
artifacts?: {
|
|
1283
1283
|
parts: ({
|
|
1284
|
-
text: string;
|
|
1285
1284
|
kind: "text";
|
|
1285
|
+
text: string;
|
|
1286
1286
|
metadata?: Record<string, unknown> | undefined;
|
|
1287
1287
|
} | {
|
|
1288
1288
|
kind: "file";
|
|
@@ -1301,8 +1301,8 @@ export declare const A2ATaskSchema: z.ZodObject<{
|
|
|
1301
1301
|
})[];
|
|
1302
1302
|
artifactId: string;
|
|
1303
1303
|
name?: string | undefined;
|
|
1304
|
-
metadata?: Record<string, unknown> | undefined;
|
|
1305
1304
|
description?: string | undefined;
|
|
1305
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1306
1306
|
}[] | undefined;
|
|
1307
1307
|
}>;
|
|
1308
1308
|
export declare const A2AErrorCodeSchema: z.ZodEnum<["TaskNotFound", "TaskNotCancelable", "ContentTypeNotSupported", "UnsupportedOperation", "PushNotificationNotSupported", "InvalidRequest", "InternalError", "Unauthorized"]>;
|
|
@@ -12,12 +12,12 @@ export declare const CreateMessageSchema: z.ZodObject<{
|
|
|
12
12
|
content: z.ZodString;
|
|
13
13
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
14
14
|
}, "strict", z.ZodTypeAny, {
|
|
15
|
-
role: "user";
|
|
16
15
|
content: string;
|
|
16
|
+
role: "user";
|
|
17
17
|
metadata?: Record<string, unknown> | undefined;
|
|
18
18
|
}, {
|
|
19
|
-
role: "user";
|
|
20
19
|
content: string;
|
|
20
|
+
role: "user";
|
|
21
21
|
metadata?: Record<string, unknown> | undefined;
|
|
22
22
|
}>;
|
|
23
23
|
export declare const PaginationSchema: z.ZodObject<{
|