@maiaos/protocol 0.1.0-canary.63 → 0.1.0-canary.65
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/LICENSE +21 -0
- package/README.md +8 -0
- package/dist/agent/definition.d.ts +3 -3
- package/dist/agent/definition.d.ts.map +1 -1
- package/dist/agent/definition.js +1 -1
- package/dist/agent/definition.js.map +1 -1
- package/dist/agent/effect-schema.d.ts +2 -0
- package/dist/agent/effect-schema.d.ts.map +1 -1
- package/dist/agent/effect-schema.js +3 -0
- package/dist/agent/effect-schema.js.map +1 -1
- package/dist/agent/index.d.ts +1 -1
- package/dist/agent/index.d.ts.map +1 -1
- package/dist/agent/index.js +1 -1
- package/dist/agent/index.js.map +1 -1
- package/dist/agent/worker-operation.d.ts +18 -1
- package/dist/agent/worker-operation.d.ts.map +1 -1
- package/dist/agents/contract.d.ts +2 -0
- package/dist/agents/contract.d.ts.map +1 -1
- package/dist/agents/contract.js +2 -1
- package/dist/agents/contract.js.map +1 -1
- package/dist/agents/effect-schema.d.ts +8 -2
- package/dist/agents/effect-schema.d.ts.map +1 -1
- package/dist/agents/effect-schema.js +14 -11
- package/dist/agents/effect-schema.js.map +1 -1
- package/dist/agents/feature.d.ts +29 -4
- package/dist/agents/feature.d.ts.map +1 -1
- package/dist/agents/feature.js +29 -4
- package/dist/agents/feature.js.map +1 -1
- package/dist/agents/index.d.ts +1 -1
- package/dist/agents/index.d.ts.map +1 -1
- package/dist/agents/index.js +1 -1
- package/dist/agents/index.js.map +1 -1
- package/dist/approval/contract.d.ts +6 -5
- package/dist/approval/contract.d.ts.map +1 -1
- package/dist/approval/effect-schema.d.ts +1 -1
- package/dist/approval/effect-schema.d.ts.map +1 -1
- package/dist/approval/effect-schema.js +1 -1
- package/dist/approval/effect-schema.js.map +1 -1
- package/dist/approval/feature.d.ts +15 -0
- package/dist/approval/feature.d.ts.map +1 -1
- package/dist/approval/feature.js +15 -0
- package/dist/approval/feature.js.map +1 -1
- package/dist/approval/request-effect-schema.d.ts +17 -5
- package/dist/approval/request-effect-schema.d.ts.map +1 -1
- package/dist/approval/request-effect-schema.js +11 -5
- package/dist/approval/request-effect-schema.js.map +1 -1
- package/dist/approval/result-effect-schema.d.ts +8 -6
- package/dist/approval/result-effect-schema.d.ts.map +1 -1
- package/dist/board/contract.d.ts +1668 -0
- package/dist/board/contract.d.ts.map +1 -0
- package/dist/board/contract.js +108 -0
- package/dist/board/contract.js.map +1 -0
- package/dist/board/effect-schema.d.ts +6 -0
- package/dist/board/effect-schema.d.ts.map +1 -0
- package/dist/board/effect-schema.js +6 -0
- package/dist/board/effect-schema.js.map +1 -0
- package/dist/board/feature.d.ts +565 -0
- package/dist/board/feature.d.ts.map +1 -0
- package/dist/board/feature.js +535 -0
- package/dist/board/feature.js.map +1 -0
- package/dist/board/index.d.ts +3 -0
- package/dist/board/index.d.ts.map +1 -0
- package/dist/board/index.js +3 -0
- package/dist/board/index.js.map +1 -0
- package/dist/board/manage-effect-schema.d.ts +493 -0
- package/dist/board/manage-effect-schema.d.ts.map +1 -0
- package/dist/board/manage-effect-schema.js +73 -0
- package/dist/board/manage-effect-schema.js.map +1 -0
- package/dist/board/model-effect-schema.d.ts +111 -0
- package/dist/board/model-effect-schema.d.ts.map +1 -0
- package/dist/board/model-effect-schema.js +120 -0
- package/dist/board/model-effect-schema.js.map +1 -0
- package/dist/board/plan-effect-schema.d.ts +120 -0
- package/dist/board/plan-effect-schema.d.ts.map +1 -0
- package/dist/board/plan-effect-schema.js +108 -0
- package/dist/board/plan-effect-schema.js.map +1 -0
- package/dist/board/task-effect-schema.d.ts +1835 -0
- package/dist/board/task-effect-schema.d.ts.map +1 -0
- package/dist/board/task-effect-schema.js +275 -0
- package/dist/board/task-effect-schema.js.map +1 -0
- package/dist/board/thread-effect-schema.d.ts +633 -0
- package/dist/board/thread-effect-schema.d.ts.map +1 -0
- package/dist/board/thread-effect-schema.js +116 -0
- package/dist/board/thread-effect-schema.js.map +1 -0
- package/dist/command-receipt/contract.d.ts +2 -0
- package/dist/command-receipt/contract.d.ts.map +1 -1
- package/dist/command-receipt/effect-schema.d.ts +10 -0
- package/dist/command-receipt/effect-schema.d.ts.map +1 -1
- package/dist/command-receipt/effect-schema.js +5 -0
- package/dist/command-receipt/effect-schema.js.map +1 -1
- package/dist/command-receipt/feature.d.ts +10 -0
- package/dist/command-receipt/feature.d.ts.map +1 -1
- package/dist/command-receipt/feature.js +10 -0
- package/dist/command-receipt/feature.js.map +1 -1
- package/dist/connection/access-effect-schema.d.ts +4 -0
- package/dist/connection/access-effect-schema.d.ts.map +1 -1
- package/dist/connection/contract.d.ts +154 -2
- package/dist/connection/contract.d.ts.map +1 -1
- package/dist/connection/contract.js +7 -0
- package/dist/connection/contract.js.map +1 -1
- package/dist/connection/effect-schema.d.ts +149 -2
- package/dist/connection/effect-schema.d.ts.map +1 -1
- package/dist/connection/effect-schema.js +3 -0
- package/dist/connection/effect-schema.js.map +1 -1
- package/dist/connection/executors-effect-schema.d.ts +259 -0
- package/dist/connection/executors-effect-schema.d.ts.map +1 -0
- package/dist/connection/executors-effect-schema.js +80 -0
- package/dist/connection/executors-effect-schema.js.map +1 -0
- package/dist/connection/feature.d.ts +301 -10
- package/dist/connection/feature.d.ts.map +1 -1
- package/dist/connection/feature.js +381 -46
- package/dist/connection/feature.js.map +1 -1
- package/dist/connection/gateway-effect-schema.d.ts +7 -0
- package/dist/connection/gateway-effect-schema.d.ts.map +1 -1
- package/dist/connection/gateway-effect-schema.js +7 -0
- package/dist/connection/gateway-effect-schema.js.map +1 -1
- package/dist/connection/index.d.ts +1 -1
- package/dist/connection/index.d.ts.map +1 -1
- package/dist/connection/index.js +1 -1
- package/dist/connection/index.js.map +1 -1
- package/dist/connection/request-effect-schema.d.ts +10 -3
- package/dist/connection/request-effect-schema.d.ts.map +1 -1
- package/dist/connection/request-effect-schema.js +18 -11
- package/dist/connection/request-effect-schema.js.map +1 -1
- package/dist/connection/result-effect-schema.d.ts +34 -6
- package/dist/connection/result-effect-schema.d.ts.map +1 -1
- package/dist/connection/result-effect-schema.js +4 -3
- package/dist/connection/result-effect-schema.js.map +1 -1
- package/dist/connection/system-effect-schema.d.ts +8 -0
- package/dist/connection/system-effect-schema.d.ts.map +1 -1
- package/dist/connection/system-effect-schema.js +4 -2
- package/dist/connection/system-effect-schema.js.map +1 -1
- package/dist/container/contract.d.ts +2 -0
- package/dist/container/contract.d.ts.map +1 -1
- package/dist/container/effect-schema.d.ts +4 -0
- package/dist/container/effect-schema.d.ts.map +1 -1
- package/dist/container/portfolio-feature.d.ts +286 -0
- package/dist/container/portfolio-feature.d.ts.map +1 -1
- package/dist/container/portfolio-feature.js +131 -0
- package/dist/container/portfolio-feature.js.map +1 -1
- package/dist/coordinator-tool/index.d.ts +1 -1
- package/dist/coordinator-tool/index.d.ts.map +1 -1
- package/dist/coordinator-tool/index.js +1 -1
- package/dist/coordinator-tool/index.js.map +1 -1
- package/dist/coordinator-tool/registry.d.ts +16 -0
- package/dist/coordinator-tool/registry.d.ts.map +1 -1
- package/dist/coordinator-tool/registry.js +152 -2
- package/dist/coordinator-tool/registry.js.map +1 -1
- package/dist/discovery/contract.d.ts +84 -2
- package/dist/discovery/contract.d.ts.map +1 -1
- package/dist/discovery/contract.js +9 -1
- package/dist/discovery/contract.js.map +1 -1
- package/dist/discovery/effect-schema.d.ts +190 -6
- package/dist/discovery/effect-schema.d.ts.map +1 -1
- package/dist/discovery/effect-schema.js +87 -6
- package/dist/discovery/effect-schema.js.map +1 -1
- package/dist/discovery/feature.d.ts +81 -1
- package/dist/discovery/feature.d.ts.map +1 -1
- package/dist/discovery/feature.js +77 -1
- package/dist/discovery/feature.js.map +1 -1
- package/dist/discovery/index.d.ts +1 -1
- package/dist/discovery/index.d.ts.map +1 -1
- package/dist/discovery/index.js +1 -1
- package/dist/discovery/index.js.map +1 -1
- package/dist/envelope/effect-schema.d.ts +38 -17
- package/dist/envelope/effect-schema.d.ts.map +1 -1
- package/dist/envelope/effect-schema.js +30 -8
- package/dist/envelope/effect-schema.js.map +1 -1
- package/dist/envelope/envelope.d.ts +25 -3
- package/dist/envelope/envelope.d.ts.map +1 -1
- package/dist/envelope/envelope.js +37 -1
- package/dist/envelope/envelope.js.map +1 -1
- package/dist/envelope/index.d.ts +2 -2
- package/dist/envelope/index.d.ts.map +1 -1
- package/dist/envelope/index.js +2 -2
- package/dist/envelope/index.js.map +1 -1
- package/dist/envelope/policy.d.ts +11 -0
- package/dist/envelope/policy.d.ts.map +1 -1
- package/dist/envelope/policy.js +13 -0
- package/dist/envelope/policy.js.map +1 -1
- package/dist/event/effect-schema.d.ts +1 -1
- package/dist/event/effect-schema.d.ts.map +1 -1
- package/dist/event/effect-schema.js +1 -1
- package/dist/event/effect-schema.js.map +1 -1
- package/dist/event/feature.d.ts +5 -0
- package/dist/event/feature.d.ts.map +1 -1
- package/dist/event/feature.js +5 -0
- package/dist/event/feature.js.map +1 -1
- package/dist/event/lifecycle/effect-schema.d.ts +11 -0
- package/dist/event/lifecycle/effect-schema.d.ts.map +1 -1
- package/dist/event/lifecycle/effect-schema.js +13 -0
- package/dist/event/lifecycle/effect-schema.js.map +1 -1
- package/dist/event/lifecycle/index.d.ts +1 -1
- package/dist/event/lifecycle/index.d.ts.map +1 -1
- package/dist/event/lifecycle/index.js +1 -1
- package/dist/event/lifecycle/index.js.map +1 -1
- package/dist/event/lifecycle/schema.d.ts +6 -0
- package/dist/event/lifecycle/schema.d.ts.map +1 -1
- package/dist/event/lifecycle/schema.js +2 -1
- package/dist/event/lifecycle/schema.js.map +1 -1
- package/dist/event/registry.d.ts.map +1 -1
- package/dist/event/registry.js +198 -4
- package/dist/event/registry.js.map +1 -1
- package/dist/event/waiting/effect-schema.d.ts +42 -0
- package/dist/event/waiting/effect-schema.d.ts.map +1 -0
- package/dist/event/waiting/effect-schema.js +51 -0
- package/dist/event/waiting/effect-schema.js.map +1 -0
- package/dist/event/waiting/index.d.ts +2 -0
- package/dist/event/waiting/index.d.ts.map +1 -0
- package/dist/event/waiting/index.js +2 -0
- package/dist/event/waiting/index.js.map +1 -0
- package/dist/event/waiting/schema.d.ts +23 -0
- package/dist/event/waiting/schema.d.ts.map +1 -0
- package/dist/event/waiting/schema.js +6 -0
- package/dist/event/waiting/schema.js.map +1 -0
- package/dist/event-stream/contract.d.ts +2 -1
- package/dist/event-stream/contract.d.ts.map +1 -1
- package/dist/event-stream/effect-schema.d.ts +9 -8
- package/dist/event-stream/effect-schema.d.ts.map +1 -1
- package/dist/execution/contract.d.ts +1 -0
- package/dist/execution/contract.d.ts.map +1 -1
- package/dist/execution/effect-schema.d.ts +6 -0
- package/dist/execution/effect-schema.d.ts.map +1 -1
- package/dist/execution/feature.d.ts +575 -0
- package/dist/execution/feature.d.ts.map +1 -0
- package/dist/execution/feature.js +543 -0
- package/dist/execution/feature.js.map +1 -0
- package/dist/execution/file-operation-contract.d.ts +1 -0
- package/dist/execution/file-operation-contract.d.ts.map +1 -1
- package/dist/execution/file-operation-effect-schema.d.ts +1 -0
- package/dist/execution/file-operation-effect-schema.d.ts.map +1 -1
- package/dist/execution/index.d.ts +1 -0
- package/dist/execution/index.d.ts.map +1 -1
- package/dist/execution/index.js +1 -0
- package/dist/execution/index.js.map +1 -1
- package/dist/execution/operation-contract.d.ts +1 -0
- package/dist/execution/operation-contract.d.ts.map +1 -1
- package/dist/execution/operation-effect-schema.d.ts +1 -0
- package/dist/execution/operation-effect-schema.d.ts.map +1 -1
- package/dist/execution/placement/contract.d.ts +4 -0
- package/dist/execution/placement/contract.d.ts.map +1 -1
- package/dist/execution/placement/effect-schema.d.ts +4 -0
- package/dist/execution/placement/effect-schema.d.ts.map +1 -1
- package/dist/execution/relocation/contract.d.ts +2 -0
- package/dist/execution/relocation/contract.d.ts.map +1 -1
- package/dist/execution/relocation/effect-schema.d.ts +4 -0
- package/dist/execution/relocation/effect-schema.d.ts.map +1 -1
- package/dist/execution/worktree/contract.d.ts +12 -0
- package/dist/execution/worktree/contract.d.ts.map +1 -1
- package/dist/execution/worktree/effect-schema.d.ts +20 -0
- package/dist/execution/worktree/effect-schema.d.ts.map +1 -1
- package/dist/execution/worktree/effect-schema.js +11 -0
- package/dist/execution/worktree/effect-schema.js.map +1 -1
- package/dist/executor/index.d.ts +2 -0
- package/dist/executor/index.d.ts.map +1 -0
- package/dist/executor/index.js +2 -0
- package/dist/executor/index.js.map +1 -0
- package/dist/executor/policy.d.ts +26 -0
- package/dist/executor/policy.d.ts.map +1 -0
- package/dist/executor/policy.js +45 -0
- package/dist/executor/policy.js.map +1 -0
- package/dist/feature/descriptor/descriptor.d.ts +42 -2
- package/dist/feature/descriptor/descriptor.d.ts.map +1 -1
- package/dist/feature/descriptor/descriptor.js.map +1 -1
- package/dist/feature/descriptor/index.d.ts +1 -1
- package/dist/feature/descriptor/index.d.ts.map +1 -1
- package/dist/feature/descriptor/index.js.map +1 -1
- package/dist/feature/index.d.ts +1 -1
- package/dist/feature/index.d.ts.map +1 -1
- package/dist/feature/index.js +1 -1
- package/dist/feature/index.js.map +1 -1
- package/dist/feature/node-status.d.ts +65 -1
- package/dist/feature/node-status.d.ts.map +1 -1
- package/dist/feature/node-status.js +59 -1
- package/dist/feature/node-status.js.map +1 -1
- package/dist/feature/registry.d.ts +55 -4
- package/dist/feature/registry.d.ts.map +1 -1
- package/dist/feature/registry.js +49 -0
- package/dist/feature/registry.js.map +1 -1
- package/dist/github/contract.d.ts +266 -0
- package/dist/github/contract.d.ts.map +1 -0
- package/dist/github/contract.js +30 -0
- package/dist/github/contract.js.map +1 -0
- package/dist/github/effect-schema.d.ts +488 -0
- package/dist/github/effect-schema.d.ts.map +1 -0
- package/dist/github/effect-schema.js +231 -0
- package/dist/github/effect-schema.js.map +1 -0
- package/dist/github/feature.d.ts +201 -0
- package/dist/github/feature.d.ts.map +1 -0
- package/dist/github/feature.js +195 -0
- package/dist/github/feature.js.map +1 -0
- package/dist/github/index.d.ts +3 -0
- package/dist/github/index.d.ts.map +1 -0
- package/dist/github/index.js +3 -0
- package/dist/github/index.js.map +1 -0
- package/dist/goal/contract.d.ts +449 -0
- package/dist/goal/contract.d.ts.map +1 -0
- package/dist/goal/contract.js +37 -0
- package/dist/goal/contract.js.map +1 -0
- package/dist/goal/effect-schema.d.ts +870 -0
- package/dist/goal/effect-schema.d.ts.map +1 -0
- package/dist/goal/effect-schema.js +349 -0
- package/dist/goal/effect-schema.js.map +1 -0
- package/dist/goal/feature.d.ts +256 -0
- package/dist/goal/feature.d.ts.map +1 -0
- package/dist/goal/feature.js +237 -0
- package/dist/goal/feature.js.map +1 -0
- package/dist/goal/index.d.ts +3 -0
- package/dist/goal/index.d.ts.map +1 -0
- package/dist/goal/index.js +3 -0
- package/dist/goal/index.js.map +1 -0
- package/dist/harness/installed/effect-schema.d.ts.map +1 -1
- package/dist/harness/installed/effect-schema.js +2 -1
- package/dist/harness/installed/effect-schema.js.map +1 -1
- package/dist/harness/installed/feature.d.ts +35 -0
- package/dist/harness/installed/feature.d.ts.map +1 -0
- package/dist/harness/installed/feature.js +39 -0
- package/dist/harness/installed/feature.js.map +1 -0
- package/dist/harness/installed/index.d.ts +1 -0
- package/dist/harness/installed/index.d.ts.map +1 -1
- package/dist/harness/installed/index.js +1 -0
- package/dist/harness/installed/index.js.map +1 -1
- package/dist/hold/contract.d.ts +2 -0
- package/dist/hold/contract.d.ts.map +1 -1
- package/dist/hold/effect-schema.d.ts +4 -0
- package/dist/hold/effect-schema.d.ts.map +1 -1
- package/dist/hold/feature.d.ts +155 -0
- package/dist/hold/feature.d.ts.map +1 -0
- package/dist/hold/feature.js +151 -0
- package/dist/hold/feature.js.map +1 -0
- package/dist/hold/index.d.ts +1 -0
- package/dist/hold/index.d.ts.map +1 -1
- package/dist/hold/index.js +1 -0
- package/dist/hold/index.js.map +1 -1
- package/dist/inbox/contract.d.ts +386 -0
- package/dist/inbox/contract.d.ts.map +1 -0
- package/dist/inbox/contract.js +20 -0
- package/dist/inbox/contract.js.map +1 -0
- package/dist/inbox/effect-schema.d.ts +750 -0
- package/dist/inbox/effect-schema.d.ts.map +1 -0
- package/dist/inbox/effect-schema.js +246 -0
- package/dist/inbox/effect-schema.js.map +1 -0
- package/dist/inbox/feature.d.ts +164 -0
- package/dist/inbox/feature.d.ts.map +1 -0
- package/dist/inbox/feature.js +160 -0
- package/dist/inbox/feature.js.map +1 -0
- package/dist/inbox/index.d.ts +3 -0
- package/dist/inbox/index.d.ts.map +1 -0
- package/dist/inbox/index.js +3 -0
- package/dist/inbox/index.js.map +1 -0
- package/dist/index.d.ts +24 -13
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +24 -13
- package/dist/index.js.map +1 -1
- package/dist/integration-authorization/claude-code-contract.d.ts +3 -0
- package/dist/integration-authorization/claude-code-contract.d.ts.map +1 -1
- package/dist/integration-authorization/contract.d.ts +85 -12
- package/dist/integration-authorization/contract.d.ts.map +1 -1
- package/dist/integration-authorization/contract.js +19 -1
- package/dist/integration-authorization/contract.js.map +1 -1
- package/dist/integration-authorization/effect-schema.d.ts +3678 -1480
- package/dist/integration-authorization/effect-schema.d.ts.map +1 -1
- package/dist/integration-authorization/effect-schema.js +81 -6
- package/dist/integration-authorization/effect-schema.js.map +1 -1
- package/dist/integration-authorization/feature.d.ts +605 -0
- package/dist/integration-authorization/feature.d.ts.map +1 -0
- package/dist/integration-authorization/feature.js +571 -0
- package/dist/integration-authorization/feature.js.map +1 -0
- package/dist/integration-authorization/index.d.ts +3 -0
- package/dist/integration-authorization/index.d.ts.map +1 -1
- package/dist/integration-authorization/index.js +3 -0
- package/dist/integration-authorization/index.js.map +1 -1
- package/dist/integration-authorization/pi-rpc-contract.d.ts +3 -0
- package/dist/integration-authorization/pi-rpc-contract.d.ts.map +1 -1
- package/dist/integration-authorization/policy.d.ts +6 -1
- package/dist/integration-authorization/policy.d.ts.map +1 -1
- package/dist/integration-authorization/policy.js +6 -1
- package/dist/integration-authorization/policy.js.map +1 -1
- package/dist/interaction/effect-schema.d.ts +1 -1
- package/dist/interaction/effect-schema.d.ts.map +1 -1
- package/dist/interaction/effect-schema.js +1 -1
- package/dist/interaction/effect-schema.js.map +1 -1
- package/dist/interaction/feature.d.ts +50 -0
- package/dist/interaction/feature.d.ts.map +1 -1
- package/dist/interaction/feature.js +48 -0
- package/dist/interaction/feature.js.map +1 -1
- package/dist/interaction/result-contract.d.ts +3 -0
- package/dist/interaction/result-contract.d.ts.map +1 -1
- package/dist/interaction/result-effect-schema.d.ts +6 -0
- package/dist/interaction/result-effect-schema.d.ts.map +1 -1
- package/dist/invocation-context/contract.d.ts +2 -1
- package/dist/invocation-context/contract.d.ts.map +1 -1
- package/dist/invocation-context/effect-schema.d.ts +12 -2
- package/dist/invocation-context/effect-schema.d.ts.map +1 -1
- package/dist/invocation-context/effect-schema.js +24 -3
- package/dist/invocation-context/effect-schema.js.map +1 -1
- package/dist/invocation-context/feature.d.ts +35 -0
- package/dist/invocation-context/feature.d.ts.map +1 -0
- package/dist/invocation-context/feature.js +39 -0
- package/dist/invocation-context/feature.js.map +1 -0
- package/dist/invocation-context/index.d.ts +1 -0
- package/dist/invocation-context/index.d.ts.map +1 -1
- package/dist/invocation-context/index.js +1 -0
- package/dist/invocation-context/index.js.map +1 -1
- package/dist/invocation-context/policy.d.ts +6 -1
- package/dist/invocation-context/policy.d.ts.map +1 -1
- package/dist/invocation-context/policy.js +7 -1
- package/dist/invocation-context/policy.js.map +1 -1
- package/dist/local-node/contract.d.ts +40 -14
- package/dist/local-node/contract.d.ts.map +1 -1
- package/dist/local-node/contract.js +3 -1
- package/dist/local-node/contract.js.map +1 -1
- package/dist/local-node/effect-schema.d.ts +3694 -1398
- package/dist/local-node/effect-schema.d.ts.map +1 -1
- package/dist/local-node/effect-schema.js +87 -4
- package/dist/local-node/effect-schema.js.map +1 -1
- package/dist/local-node/index.d.ts +2 -2
- package/dist/local-node/index.d.ts.map +1 -1
- package/dist/local-node/index.js +2 -2
- package/dist/local-node/index.js.map +1 -1
- package/dist/local-node/node-api/index.d.ts +2 -2
- package/dist/local-node/node-api/index.d.ts.map +1 -1
- package/dist/local-node/node-api/index.js +2 -2
- package/dist/local-node/node-api/index.js.map +1 -1
- package/dist/local-node/node-api/methods.d.ts +10 -220
- package/dist/local-node/node-api/methods.d.ts.map +1 -1
- package/dist/local-node/node-api/methods.js +133 -221
- package/dist/local-node/node-api/methods.js.map +1 -1
- package/dist/local-node/node-api/policy.d.ts +33 -0
- package/dist/local-node/node-api/policy.d.ts.map +1 -1
- package/dist/local-node/node-api/policy.js +33 -0
- package/dist/local-node/node-api/policy.js.map +1 -1
- package/dist/local-node/receipt-list.d.ts +6 -7
- package/dist/local-node/receipt-list.d.ts.map +1 -1
- package/dist/local-node/receipt-list.js +59 -7
- package/dist/local-node/receipt-list.js.map +1 -1
- package/dist/node-update/contract.d.ts +198 -0
- package/dist/node-update/contract.d.ts.map +1 -0
- package/dist/node-update/contract.js +22 -0
- package/dist/node-update/contract.js.map +1 -0
- package/dist/node-update/effect-schema.d.ts +435 -0
- package/dist/node-update/effect-schema.d.ts.map +1 -0
- package/dist/node-update/effect-schema.js +307 -0
- package/dist/node-update/effect-schema.js.map +1 -0
- package/dist/node-update/feature.d.ts +379 -0
- package/dist/node-update/feature.d.ts.map +1 -0
- package/dist/node-update/feature.js +363 -0
- package/dist/node-update/feature.js.map +1 -0
- package/dist/node-update/index.d.ts +3 -0
- package/dist/node-update/index.d.ts.map +1 -0
- package/dist/node-update/index.js +3 -0
- package/dist/node-update/index.js.map +1 -0
- package/dist/orchestration/contract.d.ts +6 -0
- package/dist/orchestration/contract.d.ts.map +1 -1
- package/dist/orchestration/effect-schema.d.ts +14 -2
- package/dist/orchestration/effect-schema.d.ts.map +1 -1
- package/dist/orchestration/effect-schema.js +2 -2
- package/dist/orchestration/effect-schema.js.map +1 -1
- package/dist/orchestration/feature.d.ts +235 -0
- package/dist/orchestration/feature.d.ts.map +1 -1
- package/dist/orchestration/feature.js +227 -0
- package/dist/orchestration/feature.js.map +1 -1
- package/dist/orchestration/topology.d.ts +11 -1
- package/dist/orchestration/topology.d.ts.map +1 -1
- package/dist/orchestration/topology.js +38 -29
- package/dist/orchestration/topology.js.map +1 -1
- package/dist/pairing/contract.d.ts +86 -0
- package/dist/pairing/contract.d.ts.map +1 -0
- package/dist/pairing/contract.js +12 -0
- package/dist/pairing/contract.js.map +1 -0
- package/dist/pairing/effect-schema.d.ts +166 -0
- package/dist/pairing/effect-schema.d.ts.map +1 -0
- package/dist/pairing/effect-schema.js +94 -0
- package/dist/pairing/effect-schema.js.map +1 -0
- package/dist/pairing/feature.d.ts +141 -0
- package/dist/pairing/feature.d.ts.map +1 -0
- package/dist/pairing/feature.js +139 -0
- package/dist/pairing/feature.js.map +1 -0
- package/dist/pairing/index.d.ts +3 -0
- package/dist/pairing/index.d.ts.map +1 -0
- package/dist/pairing/index.js +3 -0
- package/dist/pairing/index.js.map +1 -0
- package/dist/port-lease/contract.d.ts +3 -0
- package/dist/port-lease/contract.d.ts.map +1 -1
- package/dist/port-lease/feature.d.ts +21 -0
- package/dist/port-lease/feature.d.ts.map +1 -1
- package/dist/port-lease/feature.js +21 -0
- package/dist/port-lease/feature.js.map +1 -1
- package/dist/port-lease/result-effect-schema.d.ts +6 -0
- package/dist/port-lease/result-effect-schema.d.ts.map +1 -1
- package/dist/presentation/contract.d.ts +12 -2
- package/dist/presentation/contract.d.ts.map +1 -1
- package/dist/presentation/effect-schema.d.ts +12 -2
- package/dist/presentation/effect-schema.d.ts.map +1 -1
- package/dist/presentation/feature.d.ts +20 -0
- package/dist/presentation/feature.d.ts.map +1 -1
- package/dist/presentation/feature.js +20 -0
- package/dist/presentation/feature.js.map +1 -1
- package/dist/presentation/session-list-effect-schema.d.ts +12 -2
- package/dist/presentation/session-list-effect-schema.d.ts.map +1 -1
- package/dist/principal/contract.d.ts +104 -0
- package/dist/principal/contract.d.ts.map +1 -0
- package/dist/principal/contract.js +18 -0
- package/dist/principal/contract.js.map +1 -0
- package/dist/principal/effect-schema.d.ts +166 -0
- package/dist/principal/effect-schema.d.ts.map +1 -0
- package/dist/principal/effect-schema.js +93 -0
- package/dist/principal/effect-schema.js.map +1 -0
- package/dist/principal/feature.d.ts +111 -0
- package/dist/principal/feature.d.ts.map +1 -0
- package/dist/principal/feature.js +111 -0
- package/dist/principal/feature.js.map +1 -0
- package/dist/principal/index.d.ts +3 -0
- package/dist/principal/index.d.ts.map +1 -0
- package/dist/principal/index.js +3 -0
- package/dist/principal/index.js.map +1 -0
- package/dist/project-workspace/contract.d.ts +351 -2
- package/dist/project-workspace/contract.d.ts.map +1 -1
- package/dist/project-workspace/contract.js +34 -2
- package/dist/project-workspace/contract.js.map +1 -1
- package/dist/project-workspace/effect-schema.d.ts +403 -0
- package/dist/project-workspace/effect-schema.d.ts.map +1 -1
- package/dist/project-workspace/effect-schema.js +105 -1
- package/dist/project-workspace/effect-schema.js.map +1 -1
- package/dist/project-workspace/feature.d.ts +659 -1
- package/dist/project-workspace/feature.d.ts.map +1 -1
- package/dist/project-workspace/feature.js +625 -1
- package/dist/project-workspace/feature.js.map +1 -1
- package/dist/project-workspace/git-effect-schema.d.ts +93 -0
- package/dist/project-workspace/git-effect-schema.d.ts.map +1 -0
- package/dist/project-workspace/git-effect-schema.js +81 -0
- package/dist/project-workspace/git-effect-schema.js.map +1 -0
- package/dist/project-workspace/index.d.ts +2 -2
- package/dist/project-workspace/index.d.ts.map +1 -1
- package/dist/project-workspace/index.js +2 -2
- package/dist/project-workspace/index.js.map +1 -1
- package/dist/project-workspace/knowledge-effect-schema.d.ts +413 -0
- package/dist/project-workspace/knowledge-effect-schema.d.ts.map +1 -0
- package/dist/project-workspace/knowledge-effect-schema.js +232 -0
- package/dist/project-workspace/knowledge-effect-schema.js.map +1 -0
- package/dist/project-workspace/policy.d.ts +40 -0
- package/dist/project-workspace/policy.d.ts.map +1 -1
- package/dist/project-workspace/policy.js +39 -0
- package/dist/project-workspace/policy.js.map +1 -1
- package/dist/provider/feature.d.ts +35 -0
- package/dist/provider/feature.d.ts.map +1 -0
- package/dist/provider/feature.js +39 -0
- package/dist/provider/feature.js.map +1 -0
- package/dist/provider/index.d.ts +1 -0
- package/dist/provider/index.d.ts.map +1 -1
- package/dist/provider/index.js +1 -0
- package/dist/provider/index.js.map +1 -1
- package/dist/reach/address.d.ts +18 -0
- package/dist/reach/address.d.ts.map +1 -0
- package/dist/reach/address.js +42 -0
- package/dist/reach/address.js.map +1 -0
- package/dist/reach/contract.d.ts +68 -0
- package/dist/reach/contract.d.ts.map +1 -0
- package/dist/reach/contract.js +8 -0
- package/dist/reach/contract.js.map +1 -0
- package/dist/reach/effect-schema.d.ts +133 -0
- package/dist/reach/effect-schema.d.ts.map +1 -0
- package/dist/reach/effect-schema.js +68 -0
- package/dist/reach/effect-schema.js.map +1 -0
- package/dist/reach/feature.d.ts +106 -0
- package/dist/reach/feature.d.ts.map +1 -0
- package/dist/reach/feature.js +106 -0
- package/dist/reach/feature.js.map +1 -0
- package/dist/reach/index.d.ts +4 -0
- package/dist/reach/index.d.ts.map +1 -0
- package/dist/reach/index.js +4 -0
- package/dist/reach/index.js.map +1 -0
- package/dist/reference/feature.d.ts +5 -0
- package/dist/reference/feature.d.ts.map +1 -1
- package/dist/reference/feature.js +5 -0
- package/dist/reference/feature.js.map +1 -1
- package/dist/remote-node/contract.d.ts +103 -2
- package/dist/remote-node/contract.d.ts.map +1 -1
- package/dist/remote-node/effect-schema.d.ts +1 -1
- package/dist/remote-node/effect-schema.d.ts.map +1 -1
- package/dist/remote-node/effect-schema.js +1 -1
- package/dist/remote-node/effect-schema.js.map +1 -1
- package/dist/remote-node/feature.d.ts +185 -0
- package/dist/remote-node/feature.d.ts.map +1 -1
- package/dist/remote-node/feature.js +173 -0
- package/dist/remote-node/feature.js.map +1 -1
- package/dist/remote-node/request-effect-schema.d.ts +4 -4
- package/dist/remote-node/request-effect-schema.d.ts.map +1 -1
- package/dist/remote-node/request-effect-schema.js +2 -1
- package/dist/remote-node/request-effect-schema.js.map +1 -1
- package/dist/remote-node/result-effect-schema.d.ts +194 -1
- package/dist/remote-node/result-effect-schema.d.ts.map +1 -1
- package/dist/remote-node/result-effect-schema.js +13 -2
- package/dist/remote-node/result-effect-schema.js.map +1 -1
- package/dist/routine/contract.d.ts +644 -18
- package/dist/routine/contract.d.ts.map +1 -1
- package/dist/routine/contract.js +28 -2
- package/dist/routine/contract.js.map +1 -1
- package/dist/routine/effect-schema.d.ts +1489 -218
- package/dist/routine/effect-schema.d.ts.map +1 -1
- package/dist/routine/effect-schema.js +358 -20
- package/dist/routine/effect-schema.js.map +1 -1
- package/dist/routine/feature.d.ts +336 -11
- package/dist/routine/feature.d.ts.map +1 -1
- package/dist/routine/feature.js +318 -11
- package/dist/routine/feature.js.map +1 -1
- package/dist/routine/index.d.ts +1 -1
- package/dist/routine/index.d.ts.map +1 -1
- package/dist/routine/index.js +1 -1
- package/dist/routine/index.js.map +1 -1
- package/dist/routine/policy.d.ts +55 -3
- package/dist/routine/policy.d.ts.map +1 -1
- package/dist/routine/policy.js +46 -1
- package/dist/routine/policy.js.map +1 -1
- package/dist/run-ledger/contract.d.ts +45 -0
- package/dist/run-ledger/contract.d.ts.map +1 -1
- package/dist/run-ledger/feature.d.ts +32 -0
- package/dist/run-ledger/feature.d.ts.map +1 -1
- package/dist/run-ledger/feature.js +32 -0
- package/dist/run-ledger/feature.js.map +1 -1
- package/dist/run-ledger/result-effect-schema.d.ts +90 -0
- package/dist/run-ledger/result-effect-schema.d.ts.map +1 -1
- package/dist/runtime/effect-schema.d.ts.map +1 -1
- package/dist/runtime/effect-schema.js +2 -1
- package/dist/runtime/effect-schema.js.map +1 -1
- package/dist/runtime/feature.d.ts +35 -0
- package/dist/runtime/feature.d.ts.map +1 -0
- package/dist/runtime/feature.js +39 -0
- package/dist/runtime/feature.js.map +1 -0
- package/dist/runtime/index.d.ts +1 -0
- package/dist/runtime/index.d.ts.map +1 -1
- package/dist/runtime/index.js +1 -0
- package/dist/runtime/index.js.map +1 -1
- package/dist/secret/contract.d.ts +107 -0
- package/dist/secret/contract.d.ts.map +1 -0
- package/dist/secret/contract.js +34 -0
- package/dist/secret/contract.js.map +1 -0
- package/dist/secret/effect-schema.d.ts +185 -0
- package/dist/secret/effect-schema.d.ts.map +1 -0
- package/dist/secret/effect-schema.js +113 -0
- package/dist/secret/effect-schema.js.map +1 -0
- package/dist/secret/feature.d.ts +103 -0
- package/dist/secret/feature.d.ts.map +1 -0
- package/dist/secret/feature.js +103 -0
- package/dist/secret/feature.js.map +1 -0
- package/dist/secret/index.d.ts +3 -0
- package/dist/secret/index.d.ts.map +1 -0
- package/dist/secret/index.js +3 -0
- package/dist/secret/index.js.map +1 -0
- package/dist/session/agent-permission-contract.d.ts +6 -5
- package/dist/session/agent-permission-contract.d.ts.map +1 -1
- package/dist/session/agent-permission-effect-schema.d.ts +11 -9
- package/dist/session/agent-permission-effect-schema.d.ts.map +1 -1
- package/dist/session/agent-permission-effect-schema.js +2 -2
- package/dist/session/agent-permission-effect-schema.js.map +1 -1
- package/dist/session/contract.d.ts +726 -110
- package/dist/session/contract.d.ts.map +1 -1
- package/dist/session/contract.js +33 -4
- package/dist/session/contract.js.map +1 -1
- package/dist/session/effect-schema.d.ts +1832 -263
- package/dist/session/effect-schema.d.ts.map +1 -1
- package/dist/session/effect-schema.js +448 -44
- package/dist/session/effect-schema.js.map +1 -1
- package/dist/session/feature.d.ts +778 -23
- package/dist/session/feature.d.ts.map +1 -1
- package/dist/session/feature.js +711 -2
- package/dist/session/feature.js.map +1 -1
- package/dist/session/index.d.ts +5 -3
- package/dist/session/index.d.ts.map +1 -1
- package/dist/session/index.js +5 -3
- package/dist/session/index.js.map +1 -1
- package/dist/session/observation-contract.d.ts +2 -2
- package/dist/session/observation-effect-schema.d.ts +7 -2
- package/dist/session/observation-effect-schema.d.ts.map +1 -1
- package/dist/session/observation-effect-schema.js +6 -1
- package/dist/session/observation-effect-schema.js.map +1 -1
- package/dist/session/placement/contract.d.ts +35 -0
- package/dist/session/placement/contract.d.ts.map +1 -0
- package/dist/session/placement/contract.js +5 -0
- package/dist/session/placement/contract.js.map +1 -0
- package/dist/session/placement/effect-schema.d.ts +55 -0
- package/dist/session/placement/effect-schema.d.ts.map +1 -0
- package/dist/session/placement/effect-schema.js +76 -0
- package/dist/session/placement/effect-schema.js.map +1 -0
- package/dist/session/placement/index.d.ts +2 -0
- package/dist/session/placement/index.d.ts.map +1 -0
- package/dist/session/placement/index.js +2 -0
- package/dist/session/placement/index.js.map +1 -0
- package/dist/session/policy.d.ts +102 -0
- package/dist/session/policy.d.ts.map +1 -1
- package/dist/session/policy.js +123 -4
- package/dist/session/policy.js.map +1 -1
- package/dist/session/stop-resume-contract.d.ts +79 -2
- package/dist/session/stop-resume-contract.d.ts.map +1 -1
- package/dist/session/stop-resume-contract.js +5 -1
- package/dist/session/stop-resume-contract.js.map +1 -1
- package/dist/session/worktree-effect-schema.d.ts +37 -1
- package/dist/session/worktree-effect-schema.d.ts.map +1 -1
- package/dist/session/worktree-effect-schema.js +49 -2
- package/dist/session/worktree-effect-schema.js.map +1 -1
- package/dist/session-command/contract.d.ts +442 -0
- package/dist/session-command/contract.d.ts.map +1 -0
- package/dist/session-command/contract.js +12 -0
- package/dist/session-command/contract.js.map +1 -0
- package/dist/session-command/effect-schema.d.ts +875 -0
- package/dist/session-command/effect-schema.d.ts.map +1 -0
- package/dist/session-command/effect-schema.js +125 -0
- package/dist/session-command/effect-schema.js.map +1 -0
- package/dist/session-command/feature.d.ts +141 -0
- package/dist/session-command/feature.d.ts.map +1 -0
- package/dist/session-command/feature.js +137 -0
- package/dist/session-command/feature.js.map +1 -0
- package/dist/session-command/index.d.ts +4 -0
- package/dist/session-command/index.d.ts.map +1 -0
- package/dist/session-command/index.js +4 -0
- package/dist/session-command/index.js.map +1 -0
- package/dist/session-command/policy.d.ts +33 -0
- package/dist/session-command/policy.d.ts.map +1 -0
- package/dist/session-command/policy.js +60 -0
- package/dist/session-command/policy.js.map +1 -0
- package/dist/session-guard/contract.d.ts +6 -4
- package/dist/session-guard/contract.d.ts.map +1 -1
- package/dist/session-guard/contract.js +25 -4
- package/dist/session-guard/contract.js.map +1 -1
- package/dist/session-guard/feature.d.ts +66 -1
- package/dist/session-guard/feature.d.ts.map +1 -1
- package/dist/session-guard/feature.js +62 -1
- package/dist/session-guard/feature.js.map +1 -1
- package/dist/session-guard/result-effect-schema.d.ts +2 -0
- package/dist/session-guard/result-effect-schema.d.ts.map +1 -1
- package/dist/session-stream/contract.d.ts +2 -1
- package/dist/session-stream/contract.d.ts.map +1 -1
- package/dist/session-stream/effect-schema.d.ts +9 -8
- package/dist/session-stream/effect-schema.d.ts.map +1 -1
- package/dist/skills-sync/contract.d.ts +142 -0
- package/dist/skills-sync/contract.d.ts.map +1 -0
- package/dist/skills-sync/contract.js +13 -0
- package/dist/skills-sync/contract.js.map +1 -0
- package/dist/skills-sync/effect-schema.d.ts +312 -0
- package/dist/skills-sync/effect-schema.d.ts.map +1 -0
- package/dist/skills-sync/effect-schema.js +160 -0
- package/dist/skills-sync/effect-schema.js.map +1 -0
- package/dist/skills-sync/feature.d.ts +102 -0
- package/dist/skills-sync/feature.d.ts.map +1 -0
- package/dist/skills-sync/feature.js +102 -0
- package/dist/skills-sync/feature.js.map +1 -0
- package/dist/skills-sync/index.d.ts +3 -0
- package/dist/skills-sync/index.d.ts.map +1 -0
- package/dist/skills-sync/index.js +3 -0
- package/dist/skills-sync/index.js.map +1 -0
- package/dist/team-workspace/contract.d.ts +1 -0
- package/dist/team-workspace/contract.d.ts.map +1 -1
- package/dist/team-workspace/effect-schema.d.ts +2 -0
- package/dist/team-workspace/effect-schema.d.ts.map +1 -1
- package/dist/team-workspace/feature.d.ts +10 -0
- package/dist/team-workspace/feature.d.ts.map +1 -1
- package/dist/team-workspace/feature.js +10 -0
- package/dist/team-workspace/feature.js.map +1 -1
- package/dist/terminal/contract.d.ts +1 -0
- package/dist/terminal/contract.d.ts.map +1 -1
- package/dist/terminal/effect-schema.d.ts +2 -0
- package/dist/terminal/effect-schema.d.ts.map +1 -1
- package/dist/terminal/feature.d.ts +281 -0
- package/dist/terminal/feature.d.ts.map +1 -1
- package/dist/terminal/feature.js +289 -0
- package/dist/terminal/feature.js.map +1 -1
- package/dist/turn/contract.d.ts +621 -4
- package/dist/turn/contract.d.ts.map +1 -1
- package/dist/turn/contract.js +18 -4
- package/dist/turn/contract.js.map +1 -1
- package/dist/turn/effect-schema.d.ts +1461 -158
- package/dist/turn/effect-schema.d.ts.map +1 -1
- package/dist/turn/effect-schema.js +107 -1
- package/dist/turn/effect-schema.js.map +1 -1
- package/dist/turn/index.d.ts +2 -2
- package/dist/turn/index.d.ts.map +1 -1
- package/dist/turn/index.js +2 -2
- package/dist/turn/index.js.map +1 -1
- package/dist/turn/policy.d.ts +54 -0
- package/dist/turn/policy.d.ts.map +1 -1
- package/dist/turn/policy.js +74 -0
- package/dist/turn/policy.js.map +1 -1
- package/dist/voice/effect-schema.d.ts +1 -0
- package/dist/voice/effect-schema.d.ts.map +1 -1
- package/dist/voice/feature.d.ts +68 -0
- package/dist/voice/feature.d.ts.map +1 -1
- package/dist/voice/feature.js +32 -0
- package/dist/voice/feature.js.map +1 -1
- package/dist/voice/relay-contract.d.ts +1 -0
- package/dist/voice/relay-contract.d.ts.map +1 -1
- package/dist/voice/relay-effect-schema.d.ts +2 -0
- package/dist/voice/relay-effect-schema.d.ts.map +1 -1
- package/dist/webhooks/contract.d.ts +37 -21
- package/dist/webhooks/contract.d.ts.map +1 -1
- package/dist/webhooks/contract.js +2 -1
- package/dist/webhooks/contract.js.map +1 -1
- package/dist/webhooks/effect-schema.d.ts +46 -32
- package/dist/webhooks/effect-schema.d.ts.map +1 -1
- package/dist/webhooks/effect-schema.js +27 -7
- package/dist/webhooks/effect-schema.js.map +1 -1
- package/dist/webhooks/feature.d.ts +23 -3
- package/dist/webhooks/feature.d.ts.map +1 -1
- package/dist/webhooks/feature.js +23 -3
- package/dist/webhooks/feature.js.map +1 -1
- package/dist/webhooks/hook-effect-schema.d.ts +34 -3
- package/dist/webhooks/hook-effect-schema.d.ts.map +1 -1
- package/dist/webhooks/hook-effect-schema.js +46 -3
- package/dist/webhooks/hook-effect-schema.js.map +1 -1
- package/dist/webhooks/index.d.ts +2 -1
- package/dist/webhooks/index.d.ts.map +1 -1
- package/dist/webhooks/index.js +2 -1
- package/dist/webhooks/index.js.map +1 -1
- package/dist/webhooks/policy.d.ts +16 -0
- package/dist/webhooks/policy.d.ts.map +1 -0
- package/dist/webhooks/policy.js +16 -0
- package/dist/webhooks/policy.js.map +1 -0
- package/package.json +9 -3
- package/dist/configuration/configuration.d.ts +0 -65
- package/dist/configuration/configuration.d.ts.map +0 -1
- package/dist/configuration/configuration.js +0 -101
- package/dist/configuration/configuration.js.map +0 -1
- package/dist/configuration/index.d.ts +0 -2
- package/dist/configuration/index.d.ts.map +0 -1
- package/dist/configuration/index.js +0 -2
- package/dist/configuration/index.js.map +0 -1
|
@@ -17,9 +17,35 @@ export declare const turnInputEffectSchema: Schema.Struct<{
|
|
|
17
17
|
readonly text: Schema.String;
|
|
18
18
|
readonly type: Schema.Literal<"text">;
|
|
19
19
|
}>;
|
|
20
|
+
/** A file name for display: the Node never opens a path from it, so it holds no separator or control character. */
|
|
21
|
+
export declare const turnAttachmentNameEffectSchema: Schema.String;
|
|
22
|
+
/** What a turn keeps of an attachment; the bytes stay in the Session's store. */
|
|
23
|
+
export declare const turnAttachmentEffectSchema: Schema.Struct<{
|
|
24
|
+
readonly byteLength: Schema.Int;
|
|
25
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
26
|
+
readonly name: Schema.String;
|
|
27
|
+
readonly sha256: Schema.String;
|
|
28
|
+
}>;
|
|
29
|
+
/**
|
|
30
|
+
* A file as `turn.send` carries it. The type is a media type the Node's
|
|
31
|
+
* allow-list judges, so a disallowed type is a typed refusal, not a malformed
|
|
32
|
+
* request.
|
|
33
|
+
*/
|
|
34
|
+
export declare const turnAttachmentUploadEffectSchema: Schema.Struct<{
|
|
35
|
+
readonly data: Schema.String;
|
|
36
|
+
readonly mediaType: Schema.String;
|
|
37
|
+
readonly name: Schema.String;
|
|
38
|
+
}>;
|
|
20
39
|
/** Why a turn failed or ended with an unknown outcome. */
|
|
21
40
|
export declare const turnFailureReasonEffectSchema: Schema.Union<readonly [Schema.Literals<readonly ["approval_required", "repository_changed", "runtime_failed", "turn_rejected"]>, Schema.Literals<readonly ["output_limit_exceeded", "protocol_invalid", "runtime_exited", "turn_deadline_exceeded"]>]>;
|
|
22
41
|
export declare const turnEffectSchema: Schema.Union<readonly [Schema.Struct<{
|
|
42
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
43
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
44
|
+
readonly byteLength: Schema.Int;
|
|
45
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
46
|
+
readonly name: Schema.String;
|
|
47
|
+
readonly sha256: Schema.String;
|
|
48
|
+
}>>>;
|
|
23
49
|
readonly createdAt: Schema.String;
|
|
24
50
|
readonly id: Schema.String;
|
|
25
51
|
readonly input: Schema.Struct<{
|
|
@@ -33,6 +59,13 @@ export declare const turnEffectSchema: Schema.Union<readonly [Schema.Struct<{
|
|
|
33
59
|
readonly updatedAt: Schema.String;
|
|
34
60
|
readonly state: Schema.Literal<"queued">;
|
|
35
61
|
}>, Schema.Struct<{
|
|
62
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
63
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
64
|
+
readonly byteLength: Schema.Int;
|
|
65
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
66
|
+
readonly name: Schema.String;
|
|
67
|
+
readonly sha256: Schema.String;
|
|
68
|
+
}>>>;
|
|
36
69
|
readonly createdAt: Schema.String;
|
|
37
70
|
readonly id: Schema.String;
|
|
38
71
|
readonly input: Schema.Struct<{
|
|
@@ -46,6 +79,13 @@ export declare const turnEffectSchema: Schema.Union<readonly [Schema.Struct<{
|
|
|
46
79
|
readonly updatedAt: Schema.String;
|
|
47
80
|
readonly state: Schema.Literal<"dispatching">;
|
|
48
81
|
}>, Schema.Struct<{
|
|
82
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
83
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
84
|
+
readonly byteLength: Schema.Int;
|
|
85
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
86
|
+
readonly name: Schema.String;
|
|
87
|
+
readonly sha256: Schema.String;
|
|
88
|
+
}>>>;
|
|
49
89
|
readonly createdAt: Schema.String;
|
|
50
90
|
readonly id: Schema.String;
|
|
51
91
|
readonly input: Schema.Struct<{
|
|
@@ -59,6 +99,13 @@ export declare const turnEffectSchema: Schema.Union<readonly [Schema.Struct<{
|
|
|
59
99
|
readonly updatedAt: Schema.String;
|
|
60
100
|
readonly state: Schema.Literal<"running">;
|
|
61
101
|
}>, Schema.Struct<{
|
|
102
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
103
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
104
|
+
readonly byteLength: Schema.Int;
|
|
105
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
106
|
+
readonly name: Schema.String;
|
|
107
|
+
readonly sha256: Schema.String;
|
|
108
|
+
}>>>;
|
|
62
109
|
readonly createdAt: Schema.String;
|
|
63
110
|
readonly id: Schema.String;
|
|
64
111
|
readonly input: Schema.Struct<{
|
|
@@ -86,6 +133,13 @@ export declare const turnEffectSchema: Schema.Union<readonly [Schema.Struct<{
|
|
|
86
133
|
readonly totalTokens: Schema.Int;
|
|
87
134
|
}>>;
|
|
88
135
|
}>, Schema.Struct<{
|
|
136
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
137
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
138
|
+
readonly byteLength: Schema.Int;
|
|
139
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
140
|
+
readonly name: Schema.String;
|
|
141
|
+
readonly sha256: Schema.String;
|
|
142
|
+
}>>>;
|
|
89
143
|
readonly createdAt: Schema.String;
|
|
90
144
|
readonly id: Schema.String;
|
|
91
145
|
readonly input: Schema.Struct<{
|
|
@@ -105,6 +159,13 @@ export declare const turnEffectSchema: Schema.Union<readonly [Schema.Struct<{
|
|
|
105
159
|
readonly failureReason: Schema.Literals<readonly ["approval_required", "repository_changed", "runtime_failed", "turn_rejected"]>;
|
|
106
160
|
readonly state: Schema.Literal<"failed">;
|
|
107
161
|
}>, Schema.Struct<{
|
|
162
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
163
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
164
|
+
readonly byteLength: Schema.Int;
|
|
165
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
166
|
+
readonly name: Schema.String;
|
|
167
|
+
readonly sha256: Schema.String;
|
|
168
|
+
}>>>;
|
|
108
169
|
readonly createdAt: Schema.String;
|
|
109
170
|
readonly id: Schema.String;
|
|
110
171
|
readonly input: Schema.Struct<{
|
|
@@ -123,6 +184,13 @@ export declare const turnEffectSchema: Schema.Union<readonly [Schema.Struct<{
|
|
|
123
184
|
readonly failureReason: Schema.Literals<readonly ["output_limit_exceeded", "protocol_invalid", "runtime_exited", "turn_deadline_exceeded"]>;
|
|
124
185
|
readonly state: Schema.Literal<"outcome-unknown">;
|
|
125
186
|
}>, Schema.Struct<{
|
|
187
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
188
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
189
|
+
readonly byteLength: Schema.Int;
|
|
190
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
191
|
+
readonly name: Schema.String;
|
|
192
|
+
readonly sha256: Schema.String;
|
|
193
|
+
}>>>;
|
|
126
194
|
readonly createdAt: Schema.String;
|
|
127
195
|
readonly id: Schema.String;
|
|
128
196
|
readonly input: Schema.Struct<{
|
|
@@ -142,6 +210,12 @@ export declare const turnInterruptParametersEffectSchema: Schema.Struct<{
|
|
|
142
210
|
readonly turnId: Schema.String;
|
|
143
211
|
}>;
|
|
144
212
|
export declare const turnSendParametersEffectSchema: Schema.Struct<{
|
|
213
|
+
/** Files for the turn, within the limits `turn.attachment.policy` reports. */
|
|
214
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
215
|
+
readonly data: Schema.String;
|
|
216
|
+
readonly mediaType: Schema.String;
|
|
217
|
+
readonly name: Schema.String;
|
|
218
|
+
}>>>;
|
|
145
219
|
readonly commandId: Schema.String;
|
|
146
220
|
readonly expectedRevision: Schema.String;
|
|
147
221
|
readonly input: Schema.Struct<{
|
|
@@ -153,6 +227,31 @@ export declare const turnSendParametersEffectSchema: Schema.Struct<{
|
|
|
153
227
|
export declare const turnShowParametersEffectSchema: Schema.Struct<{
|
|
154
228
|
readonly turnId: Schema.String;
|
|
155
229
|
}>;
|
|
230
|
+
export declare const turnAttachmentPolicyParametersEffectSchema: Schema.Struct<{
|
|
231
|
+
readonly sessionId: Schema.String;
|
|
232
|
+
}>;
|
|
233
|
+
/** A steer names the turn and Session revision, as an interrupt does. */
|
|
234
|
+
export declare const turnSteerPreviewParametersEffectSchema: Schema.Struct<{
|
|
235
|
+
readonly commandId: Schema.String;
|
|
236
|
+
readonly expectedRevision: Schema.String;
|
|
237
|
+
readonly input: Schema.Struct<{
|
|
238
|
+
readonly text: Schema.String;
|
|
239
|
+
readonly type: Schema.Literal<"text">;
|
|
240
|
+
}>;
|
|
241
|
+
readonly turnId: Schema.String;
|
|
242
|
+
}>;
|
|
243
|
+
export declare const turnSteerConfirmParametersEffectSchema: Schema.Struct<{
|
|
244
|
+
commandId: Schema.String;
|
|
245
|
+
expectedRevision: Schema.String;
|
|
246
|
+
input: Schema.Struct<{
|
|
247
|
+
readonly text: Schema.String;
|
|
248
|
+
readonly type: Schema.Literal<"text">;
|
|
249
|
+
}>;
|
|
250
|
+
inputDigest: Schema.String;
|
|
251
|
+
proof: Schema.String;
|
|
252
|
+
turnId: Schema.String;
|
|
253
|
+
validUntil: Schema.String;
|
|
254
|
+
}>;
|
|
156
255
|
export declare const turnInterruptResultEffectSchema: Schema.Struct<{
|
|
157
256
|
readonly delivery: Schema.Literals<readonly ["new", "duplicate"]>;
|
|
158
257
|
readonly method: Schema.Literal<"turn.interrupt">;
|
|
@@ -163,6 +262,7 @@ export declare const turnInterruptResultEffectSchema: Schema.Struct<{
|
|
|
163
262
|
readonly createdAt: Schema.String;
|
|
164
263
|
readonly eventCursor: Schema.String;
|
|
165
264
|
readonly method: Schema.String;
|
|
265
|
+
readonly proposedBy: Schema.optional<Schema.String>;
|
|
166
266
|
readonly receiptId: Schema.String;
|
|
167
267
|
readonly schemaVersion: Schema.Literal<1>;
|
|
168
268
|
readonly state: Schema.Literal<"succeeded">;
|
|
@@ -173,6 +273,13 @@ export declare const turnInterruptResultEffectSchema: Schema.Struct<{
|
|
|
173
273
|
readonly updatedAt: Schema.String;
|
|
174
274
|
}>;
|
|
175
275
|
readonly turn: Schema.Union<readonly [Schema.Struct<{
|
|
276
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
277
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
278
|
+
readonly byteLength: Schema.Int;
|
|
279
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
280
|
+
readonly name: Schema.String;
|
|
281
|
+
readonly sha256: Schema.String;
|
|
282
|
+
}>>>;
|
|
176
283
|
readonly createdAt: Schema.String;
|
|
177
284
|
readonly id: Schema.String;
|
|
178
285
|
readonly input: Schema.Struct<{
|
|
@@ -186,6 +293,13 @@ export declare const turnInterruptResultEffectSchema: Schema.Struct<{
|
|
|
186
293
|
readonly updatedAt: Schema.String;
|
|
187
294
|
readonly state: Schema.Literal<"queued">;
|
|
188
295
|
}>, Schema.Struct<{
|
|
296
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
297
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
298
|
+
readonly byteLength: Schema.Int;
|
|
299
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
300
|
+
readonly name: Schema.String;
|
|
301
|
+
readonly sha256: Schema.String;
|
|
302
|
+
}>>>;
|
|
189
303
|
readonly createdAt: Schema.String;
|
|
190
304
|
readonly id: Schema.String;
|
|
191
305
|
readonly input: Schema.Struct<{
|
|
@@ -199,6 +313,13 @@ export declare const turnInterruptResultEffectSchema: Schema.Struct<{
|
|
|
199
313
|
readonly updatedAt: Schema.String;
|
|
200
314
|
readonly state: Schema.Literal<"dispatching">;
|
|
201
315
|
}>, Schema.Struct<{
|
|
316
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
317
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
318
|
+
readonly byteLength: Schema.Int;
|
|
319
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
320
|
+
readonly name: Schema.String;
|
|
321
|
+
readonly sha256: Schema.String;
|
|
322
|
+
}>>>;
|
|
202
323
|
readonly createdAt: Schema.String;
|
|
203
324
|
readonly id: Schema.String;
|
|
204
325
|
readonly input: Schema.Struct<{
|
|
@@ -212,6 +333,13 @@ export declare const turnInterruptResultEffectSchema: Schema.Struct<{
|
|
|
212
333
|
readonly updatedAt: Schema.String;
|
|
213
334
|
readonly state: Schema.Literal<"running">;
|
|
214
335
|
}>, Schema.Struct<{
|
|
336
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
337
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
338
|
+
readonly byteLength: Schema.Int;
|
|
339
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
340
|
+
readonly name: Schema.String;
|
|
341
|
+
readonly sha256: Schema.String;
|
|
342
|
+
}>>>;
|
|
215
343
|
readonly createdAt: Schema.String;
|
|
216
344
|
readonly id: Schema.String;
|
|
217
345
|
readonly input: Schema.Struct<{
|
|
@@ -239,6 +367,13 @@ export declare const turnInterruptResultEffectSchema: Schema.Struct<{
|
|
|
239
367
|
readonly totalTokens: Schema.Int;
|
|
240
368
|
}>>;
|
|
241
369
|
}>, Schema.Struct<{
|
|
370
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
371
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
372
|
+
readonly byteLength: Schema.Int;
|
|
373
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
374
|
+
readonly name: Schema.String;
|
|
375
|
+
readonly sha256: Schema.String;
|
|
376
|
+
}>>>;
|
|
242
377
|
readonly createdAt: Schema.String;
|
|
243
378
|
readonly id: Schema.String;
|
|
244
379
|
readonly input: Schema.Struct<{
|
|
@@ -258,6 +393,13 @@ export declare const turnInterruptResultEffectSchema: Schema.Struct<{
|
|
|
258
393
|
readonly failureReason: Schema.Literals<readonly ["approval_required", "repository_changed", "runtime_failed", "turn_rejected"]>;
|
|
259
394
|
readonly state: Schema.Literal<"failed">;
|
|
260
395
|
}>, Schema.Struct<{
|
|
396
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
397
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
398
|
+
readonly byteLength: Schema.Int;
|
|
399
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
400
|
+
readonly name: Schema.String;
|
|
401
|
+
readonly sha256: Schema.String;
|
|
402
|
+
}>>>;
|
|
261
403
|
readonly createdAt: Schema.String;
|
|
262
404
|
readonly id: Schema.String;
|
|
263
405
|
readonly input: Schema.Struct<{
|
|
@@ -276,6 +418,13 @@ export declare const turnInterruptResultEffectSchema: Schema.Struct<{
|
|
|
276
418
|
readonly failureReason: Schema.Literals<readonly ["output_limit_exceeded", "protocol_invalid", "runtime_exited", "turn_deadline_exceeded"]>;
|
|
277
419
|
readonly state: Schema.Literal<"outcome-unknown">;
|
|
278
420
|
}>, Schema.Struct<{
|
|
421
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
422
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
423
|
+
readonly byteLength: Schema.Int;
|
|
424
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
425
|
+
readonly name: Schema.String;
|
|
426
|
+
readonly sha256: Schema.String;
|
|
427
|
+
}>>>;
|
|
279
428
|
readonly createdAt: Schema.String;
|
|
280
429
|
readonly id: Schema.String;
|
|
281
430
|
readonly input: Schema.Struct<{
|
|
@@ -300,6 +449,7 @@ export declare const turnSendResultEffectSchema: Schema.Struct<{
|
|
|
300
449
|
readonly createdAt: Schema.String;
|
|
301
450
|
readonly eventCursor: Schema.String;
|
|
302
451
|
readonly method: Schema.String;
|
|
452
|
+
readonly proposedBy: Schema.optional<Schema.String>;
|
|
303
453
|
readonly receiptId: Schema.String;
|
|
304
454
|
readonly schemaVersion: Schema.Literal<1>;
|
|
305
455
|
readonly state: Schema.Literal<"succeeded">;
|
|
@@ -310,6 +460,13 @@ export declare const turnSendResultEffectSchema: Schema.Struct<{
|
|
|
310
460
|
readonly updatedAt: Schema.String;
|
|
311
461
|
}>;
|
|
312
462
|
readonly turn: Schema.Union<readonly [Schema.Struct<{
|
|
463
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
464
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
465
|
+
readonly byteLength: Schema.Int;
|
|
466
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
467
|
+
readonly name: Schema.String;
|
|
468
|
+
readonly sha256: Schema.String;
|
|
469
|
+
}>>>;
|
|
313
470
|
readonly createdAt: Schema.String;
|
|
314
471
|
readonly id: Schema.String;
|
|
315
472
|
readonly input: Schema.Struct<{
|
|
@@ -323,6 +480,13 @@ export declare const turnSendResultEffectSchema: Schema.Struct<{
|
|
|
323
480
|
readonly updatedAt: Schema.String;
|
|
324
481
|
readonly state: Schema.Literal<"queued">;
|
|
325
482
|
}>, Schema.Struct<{
|
|
483
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
484
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
485
|
+
readonly byteLength: Schema.Int;
|
|
486
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
487
|
+
readonly name: Schema.String;
|
|
488
|
+
readonly sha256: Schema.String;
|
|
489
|
+
}>>>;
|
|
326
490
|
readonly createdAt: Schema.String;
|
|
327
491
|
readonly id: Schema.String;
|
|
328
492
|
readonly input: Schema.Struct<{
|
|
@@ -336,6 +500,13 @@ export declare const turnSendResultEffectSchema: Schema.Struct<{
|
|
|
336
500
|
readonly updatedAt: Schema.String;
|
|
337
501
|
readonly state: Schema.Literal<"dispatching">;
|
|
338
502
|
}>, Schema.Struct<{
|
|
503
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
504
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
505
|
+
readonly byteLength: Schema.Int;
|
|
506
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
507
|
+
readonly name: Schema.String;
|
|
508
|
+
readonly sha256: Schema.String;
|
|
509
|
+
}>>>;
|
|
339
510
|
readonly createdAt: Schema.String;
|
|
340
511
|
readonly id: Schema.String;
|
|
341
512
|
readonly input: Schema.Struct<{
|
|
@@ -349,6 +520,13 @@ export declare const turnSendResultEffectSchema: Schema.Struct<{
|
|
|
349
520
|
readonly updatedAt: Schema.String;
|
|
350
521
|
readonly state: Schema.Literal<"running">;
|
|
351
522
|
}>, Schema.Struct<{
|
|
523
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
524
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
525
|
+
readonly byteLength: Schema.Int;
|
|
526
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
527
|
+
readonly name: Schema.String;
|
|
528
|
+
readonly sha256: Schema.String;
|
|
529
|
+
}>>>;
|
|
352
530
|
readonly createdAt: Schema.String;
|
|
353
531
|
readonly id: Schema.String;
|
|
354
532
|
readonly input: Schema.Struct<{
|
|
@@ -376,6 +554,13 @@ export declare const turnSendResultEffectSchema: Schema.Struct<{
|
|
|
376
554
|
readonly totalTokens: Schema.Int;
|
|
377
555
|
}>>;
|
|
378
556
|
}>, Schema.Struct<{
|
|
557
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
558
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
559
|
+
readonly byteLength: Schema.Int;
|
|
560
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
561
|
+
readonly name: Schema.String;
|
|
562
|
+
readonly sha256: Schema.String;
|
|
563
|
+
}>>>;
|
|
379
564
|
readonly createdAt: Schema.String;
|
|
380
565
|
readonly id: Schema.String;
|
|
381
566
|
readonly input: Schema.Struct<{
|
|
@@ -395,6 +580,13 @@ export declare const turnSendResultEffectSchema: Schema.Struct<{
|
|
|
395
580
|
readonly failureReason: Schema.Literals<readonly ["approval_required", "repository_changed", "runtime_failed", "turn_rejected"]>;
|
|
396
581
|
readonly state: Schema.Literal<"failed">;
|
|
397
582
|
}>, Schema.Struct<{
|
|
583
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
584
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
585
|
+
readonly byteLength: Schema.Int;
|
|
586
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
587
|
+
readonly name: Schema.String;
|
|
588
|
+
readonly sha256: Schema.String;
|
|
589
|
+
}>>>;
|
|
398
590
|
readonly createdAt: Schema.String;
|
|
399
591
|
readonly id: Schema.String;
|
|
400
592
|
readonly input: Schema.Struct<{
|
|
@@ -413,6 +605,13 @@ export declare const turnSendResultEffectSchema: Schema.Struct<{
|
|
|
413
605
|
readonly failureReason: Schema.Literals<readonly ["output_limit_exceeded", "protocol_invalid", "runtime_exited", "turn_deadline_exceeded"]>;
|
|
414
606
|
readonly state: Schema.Literal<"outcome-unknown">;
|
|
415
607
|
}>, Schema.Struct<{
|
|
608
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
609
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
610
|
+
readonly byteLength: Schema.Int;
|
|
611
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
612
|
+
readonly name: Schema.String;
|
|
613
|
+
readonly sha256: Schema.String;
|
|
614
|
+
}>>>;
|
|
416
615
|
readonly createdAt: Schema.String;
|
|
417
616
|
readonly id: Schema.String;
|
|
418
617
|
readonly input: Schema.Struct<{
|
|
@@ -430,6 +629,13 @@ export declare const turnSendResultEffectSchema: Schema.Struct<{
|
|
|
430
629
|
export declare const turnShowResultEffectSchema: Schema.Struct<{
|
|
431
630
|
readonly method: Schema.Literal<"turn.show">;
|
|
432
631
|
readonly turn: Schema.Union<readonly [Schema.Struct<{
|
|
632
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
633
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
634
|
+
readonly byteLength: Schema.Int;
|
|
635
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
636
|
+
readonly name: Schema.String;
|
|
637
|
+
readonly sha256: Schema.String;
|
|
638
|
+
}>>>;
|
|
433
639
|
readonly createdAt: Schema.String;
|
|
434
640
|
readonly id: Schema.String;
|
|
435
641
|
readonly input: Schema.Struct<{
|
|
@@ -443,6 +649,13 @@ export declare const turnShowResultEffectSchema: Schema.Struct<{
|
|
|
443
649
|
readonly updatedAt: Schema.String;
|
|
444
650
|
readonly state: Schema.Literal<"queued">;
|
|
445
651
|
}>, Schema.Struct<{
|
|
652
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
653
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
654
|
+
readonly byteLength: Schema.Int;
|
|
655
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
656
|
+
readonly name: Schema.String;
|
|
657
|
+
readonly sha256: Schema.String;
|
|
658
|
+
}>>>;
|
|
446
659
|
readonly createdAt: Schema.String;
|
|
447
660
|
readonly id: Schema.String;
|
|
448
661
|
readonly input: Schema.Struct<{
|
|
@@ -456,6 +669,13 @@ export declare const turnShowResultEffectSchema: Schema.Struct<{
|
|
|
456
669
|
readonly updatedAt: Schema.String;
|
|
457
670
|
readonly state: Schema.Literal<"dispatching">;
|
|
458
671
|
}>, Schema.Struct<{
|
|
672
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
673
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
674
|
+
readonly byteLength: Schema.Int;
|
|
675
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
676
|
+
readonly name: Schema.String;
|
|
677
|
+
readonly sha256: Schema.String;
|
|
678
|
+
}>>>;
|
|
459
679
|
readonly createdAt: Schema.String;
|
|
460
680
|
readonly id: Schema.String;
|
|
461
681
|
readonly input: Schema.Struct<{
|
|
@@ -469,6 +689,13 @@ export declare const turnShowResultEffectSchema: Schema.Struct<{
|
|
|
469
689
|
readonly updatedAt: Schema.String;
|
|
470
690
|
readonly state: Schema.Literal<"running">;
|
|
471
691
|
}>, Schema.Struct<{
|
|
692
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
693
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
694
|
+
readonly byteLength: Schema.Int;
|
|
695
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
696
|
+
readonly name: Schema.String;
|
|
697
|
+
readonly sha256: Schema.String;
|
|
698
|
+
}>>>;
|
|
472
699
|
readonly createdAt: Schema.String;
|
|
473
700
|
readonly id: Schema.String;
|
|
474
701
|
readonly input: Schema.Struct<{
|
|
@@ -496,6 +723,13 @@ export declare const turnShowResultEffectSchema: Schema.Struct<{
|
|
|
496
723
|
readonly totalTokens: Schema.Int;
|
|
497
724
|
}>>;
|
|
498
725
|
}>, Schema.Struct<{
|
|
726
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
727
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
728
|
+
readonly byteLength: Schema.Int;
|
|
729
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
730
|
+
readonly name: Schema.String;
|
|
731
|
+
readonly sha256: Schema.String;
|
|
732
|
+
}>>>;
|
|
499
733
|
readonly createdAt: Schema.String;
|
|
500
734
|
readonly id: Schema.String;
|
|
501
735
|
readonly input: Schema.Struct<{
|
|
@@ -515,6 +749,13 @@ export declare const turnShowResultEffectSchema: Schema.Struct<{
|
|
|
515
749
|
readonly failureReason: Schema.Literals<readonly ["approval_required", "repository_changed", "runtime_failed", "turn_rejected"]>;
|
|
516
750
|
readonly state: Schema.Literal<"failed">;
|
|
517
751
|
}>, Schema.Struct<{
|
|
752
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
753
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
754
|
+
readonly byteLength: Schema.Int;
|
|
755
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
756
|
+
readonly name: Schema.String;
|
|
757
|
+
readonly sha256: Schema.String;
|
|
758
|
+
}>>>;
|
|
518
759
|
readonly createdAt: Schema.String;
|
|
519
760
|
readonly id: Schema.String;
|
|
520
761
|
readonly input: Schema.Struct<{
|
|
@@ -533,6 +774,13 @@ export declare const turnShowResultEffectSchema: Schema.Struct<{
|
|
|
533
774
|
readonly failureReason: Schema.Literals<readonly ["output_limit_exceeded", "protocol_invalid", "runtime_exited", "turn_deadline_exceeded"]>;
|
|
534
775
|
readonly state: Schema.Literal<"outcome-unknown">;
|
|
535
776
|
}>, Schema.Struct<{
|
|
777
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
778
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
779
|
+
readonly byteLength: Schema.Int;
|
|
780
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
781
|
+
readonly name: Schema.String;
|
|
782
|
+
readonly sha256: Schema.String;
|
|
783
|
+
}>>>;
|
|
536
784
|
readonly createdAt: Schema.String;
|
|
537
785
|
readonly id: Schema.String;
|
|
538
786
|
readonly input: Schema.Struct<{
|
|
@@ -547,39 +795,38 @@ export declare const turnShowResultEffectSchema: Schema.Struct<{
|
|
|
547
795
|
readonly state: Schema.Literal<"interrupted">;
|
|
548
796
|
}>]>;
|
|
549
797
|
}>;
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
readonly method: Schema.Literal<"turn.
|
|
560
|
-
readonly
|
|
561
|
-
readonly turns: Schema.$Array<Schema.Struct<{
|
|
562
|
-
readonly failure: Schema.optional<Schema.Struct<{
|
|
563
|
-
readonly code: Schema.String;
|
|
564
|
-
readonly message: Schema.String;
|
|
565
|
-
}>>;
|
|
566
|
-
readonly failureReason: Schema.optional<Schema.Literals<readonly ["approval_required", "output_limit_exceeded", "protocol_invalid", "repository_changed", "runtime_exited", "runtime_failed", "turn_deadline_exceeded", "turn_rejected"]>>;
|
|
567
|
-
readonly id: Schema.String;
|
|
568
|
-
readonly revision: Schema.String;
|
|
569
|
-
readonly sessionId: Schema.String;
|
|
570
|
-
readonly state: Schema.Literals<readonly ["queued", "dispatching", "running", "completed", "failed", "outcome-unknown", "interrupted"]>;
|
|
571
|
-
readonly updatedAt: Schema.String;
|
|
572
|
-
}>>;
|
|
798
|
+
/**
|
|
799
|
+
* What the Session's next send may carry. `accepted` is false when its
|
|
800
|
+
* executor declares no `attachments`, whatever the limits are; the limits are
|
|
801
|
+
* the Node's two settings, read before a client sends any file.
|
|
802
|
+
*/
|
|
803
|
+
export declare const turnAttachmentPolicyResultEffectSchema: Schema.Struct<{
|
|
804
|
+
readonly accepted: Schema.Boolean;
|
|
805
|
+
readonly maxBytes: Schema.Int;
|
|
806
|
+
readonly mediaTypes: Schema.$Array<Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>>;
|
|
807
|
+
readonly method: Schema.Literal<"turn.attachment.policy">;
|
|
808
|
+
readonly sessionId: Schema.String;
|
|
573
809
|
}>;
|
|
574
|
-
|
|
810
|
+
/** What a steer will do, and the path it takes; the confirmation sends nothing before it. */
|
|
811
|
+
export declare const turnSteerPreviewResultEffectSchema: Schema.Struct<{
|
|
575
812
|
readonly commandId: Schema.String;
|
|
576
|
-
/** The queued turn's own revision, as `turn.queue.list` shows it. */
|
|
577
813
|
readonly expectedRevision: Schema.String;
|
|
814
|
+
readonly input: Schema.Struct<{
|
|
815
|
+
readonly text: Schema.String;
|
|
816
|
+
readonly type: Schema.Literal<"text">;
|
|
817
|
+
}>;
|
|
818
|
+
readonly inputDigest: Schema.String;
|
|
819
|
+
readonly proof: Schema.String;
|
|
578
820
|
readonly turnId: Schema.String;
|
|
821
|
+
readonly validUntil: Schema.String;
|
|
822
|
+
readonly method: Schema.Literal<"turn.steer.preview">;
|
|
823
|
+
readonly path: Schema.Literals<readonly ["interrupt-restart", "native"]>;
|
|
579
824
|
}>;
|
|
580
|
-
|
|
825
|
+
/** `path` says how the executor took the steer. On `interrupt-restart`, `source` is the interrupted turn and `turn` the one with the new input; on `native` both are the running turn that took it. `receipt` is the steer's own. */
|
|
826
|
+
export declare const turnSteerConfirmResultEffectSchema: Schema.Struct<{
|
|
581
827
|
readonly delivery: Schema.Literals<readonly ["new", "duplicate"]>;
|
|
582
|
-
readonly method: Schema.Literal<"turn.
|
|
828
|
+
readonly method: Schema.Literal<"turn.steer.confirm">;
|
|
829
|
+
readonly path: Schema.Literals<readonly ["interrupt-restart", "native"]>;
|
|
583
830
|
readonly receipt: Schema.Struct<{
|
|
584
831
|
readonly actorId: Schema.String;
|
|
585
832
|
readonly aggregateRevision: Schema.String;
|
|
@@ -587,6 +834,7 @@ export declare const turnCancelResultEffectSchema: Schema.Struct<{
|
|
|
587
834
|
readonly createdAt: Schema.String;
|
|
588
835
|
readonly eventCursor: Schema.String;
|
|
589
836
|
readonly method: Schema.String;
|
|
837
|
+
readonly proposedBy: Schema.optional<Schema.String>;
|
|
590
838
|
readonly receiptId: Schema.String;
|
|
591
839
|
readonly schemaVersion: Schema.Literal<1>;
|
|
592
840
|
readonly state: Schema.Literal<"succeeded">;
|
|
@@ -596,7 +844,14 @@ export declare const turnCancelResultEffectSchema: Schema.Struct<{
|
|
|
596
844
|
}>;
|
|
597
845
|
readonly updatedAt: Schema.String;
|
|
598
846
|
}>;
|
|
599
|
-
readonly
|
|
847
|
+
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
848
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
849
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
850
|
+
readonly byteLength: Schema.Int;
|
|
851
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
852
|
+
readonly name: Schema.String;
|
|
853
|
+
readonly sha256: Schema.String;
|
|
854
|
+
}>>>;
|
|
600
855
|
readonly createdAt: Schema.String;
|
|
601
856
|
readonly id: Schema.String;
|
|
602
857
|
readonly input: Schema.Struct<{
|
|
@@ -610,6 +865,13 @@ export declare const turnCancelResultEffectSchema: Schema.Struct<{
|
|
|
610
865
|
readonly updatedAt: Schema.String;
|
|
611
866
|
readonly state: Schema.Literal<"queued">;
|
|
612
867
|
}>, Schema.Struct<{
|
|
868
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
869
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
870
|
+
readonly byteLength: Schema.Int;
|
|
871
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
872
|
+
readonly name: Schema.String;
|
|
873
|
+
readonly sha256: Schema.String;
|
|
874
|
+
}>>>;
|
|
613
875
|
readonly createdAt: Schema.String;
|
|
614
876
|
readonly id: Schema.String;
|
|
615
877
|
readonly input: Schema.Struct<{
|
|
@@ -623,6 +885,13 @@ export declare const turnCancelResultEffectSchema: Schema.Struct<{
|
|
|
623
885
|
readonly updatedAt: Schema.String;
|
|
624
886
|
readonly state: Schema.Literal<"dispatching">;
|
|
625
887
|
}>, Schema.Struct<{
|
|
888
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
889
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
890
|
+
readonly byteLength: Schema.Int;
|
|
891
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
892
|
+
readonly name: Schema.String;
|
|
893
|
+
readonly sha256: Schema.String;
|
|
894
|
+
}>>>;
|
|
626
895
|
readonly createdAt: Schema.String;
|
|
627
896
|
readonly id: Schema.String;
|
|
628
897
|
readonly input: Schema.Struct<{
|
|
@@ -636,6 +905,13 @@ export declare const turnCancelResultEffectSchema: Schema.Struct<{
|
|
|
636
905
|
readonly updatedAt: Schema.String;
|
|
637
906
|
readonly state: Schema.Literal<"running">;
|
|
638
907
|
}>, Schema.Struct<{
|
|
908
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
909
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
910
|
+
readonly byteLength: Schema.Int;
|
|
911
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
912
|
+
readonly name: Schema.String;
|
|
913
|
+
readonly sha256: Schema.String;
|
|
914
|
+
}>>>;
|
|
639
915
|
readonly createdAt: Schema.String;
|
|
640
916
|
readonly id: Schema.String;
|
|
641
917
|
readonly input: Schema.Struct<{
|
|
@@ -663,6 +939,13 @@ export declare const turnCancelResultEffectSchema: Schema.Struct<{
|
|
|
663
939
|
readonly totalTokens: Schema.Int;
|
|
664
940
|
}>>;
|
|
665
941
|
}>, Schema.Struct<{
|
|
942
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
943
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
944
|
+
readonly byteLength: Schema.Int;
|
|
945
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
946
|
+
readonly name: Schema.String;
|
|
947
|
+
readonly sha256: Schema.String;
|
|
948
|
+
}>>>;
|
|
666
949
|
readonly createdAt: Schema.String;
|
|
667
950
|
readonly id: Schema.String;
|
|
668
951
|
readonly input: Schema.Struct<{
|
|
@@ -682,6 +965,13 @@ export declare const turnCancelResultEffectSchema: Schema.Struct<{
|
|
|
682
965
|
readonly failureReason: Schema.Literals<readonly ["approval_required", "repository_changed", "runtime_failed", "turn_rejected"]>;
|
|
683
966
|
readonly state: Schema.Literal<"failed">;
|
|
684
967
|
}>, Schema.Struct<{
|
|
968
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
969
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
970
|
+
readonly byteLength: Schema.Int;
|
|
971
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
972
|
+
readonly name: Schema.String;
|
|
973
|
+
readonly sha256: Schema.String;
|
|
974
|
+
}>>>;
|
|
685
975
|
readonly createdAt: Schema.String;
|
|
686
976
|
readonly id: Schema.String;
|
|
687
977
|
readonly input: Schema.Struct<{
|
|
@@ -700,6 +990,13 @@ export declare const turnCancelResultEffectSchema: Schema.Struct<{
|
|
|
700
990
|
readonly failureReason: Schema.Literals<readonly ["output_limit_exceeded", "protocol_invalid", "runtime_exited", "turn_deadline_exceeded"]>;
|
|
701
991
|
readonly state: Schema.Literal<"outcome-unknown">;
|
|
702
992
|
}>, Schema.Struct<{
|
|
993
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
994
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
995
|
+
readonly byteLength: Schema.Int;
|
|
996
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
997
|
+
readonly name: Schema.String;
|
|
998
|
+
readonly sha256: Schema.String;
|
|
999
|
+
}>>>;
|
|
703
1000
|
readonly createdAt: Schema.String;
|
|
704
1001
|
readonly id: Schema.String;
|
|
705
1002
|
readonly input: Schema.Struct<{
|
|
@@ -713,92 +1010,14 @@ export declare const turnCancelResultEffectSchema: Schema.Struct<{
|
|
|
713
1010
|
readonly updatedAt: Schema.String;
|
|
714
1011
|
readonly state: Schema.Literal<"interrupted">;
|
|
715
1012
|
}>]>;
|
|
716
|
-
}>;
|
|
717
|
-
export declare const turnQueueListParametersEffectSchema: Schema.Struct<{
|
|
718
|
-
readonly sessionId: Schema.String;
|
|
719
|
-
}>;
|
|
720
|
-
export declare const turnQueueListResultEffectSchema: Schema.Struct<{
|
|
721
|
-
/** The turn now dispatching or running; absent when none is. */
|
|
722
|
-
readonly activeTurn: Schema.optional<Schema.Struct<{
|
|
723
|
-
readonly id: Schema.String;
|
|
724
|
-
readonly revision: Schema.String;
|
|
725
|
-
readonly state: Schema.Literals<readonly ["dispatching", "running"]>;
|
|
726
|
-
}>>;
|
|
727
|
-
readonly method: Schema.Literal<"turn.queue.list">;
|
|
728
|
-
/** Queued turns in dispatch order; `turn.show` returns a turn's full input. */
|
|
729
|
-
readonly queue: Schema.$Array<Schema.Struct<{
|
|
730
|
-
readonly createdAt: Schema.String;
|
|
731
|
-
readonly id: Schema.String;
|
|
732
|
-
readonly inputPreview: Schema.String;
|
|
733
|
-
readonly position: Schema.Int;
|
|
734
|
-
readonly revision: Schema.String;
|
|
735
|
-
}>>;
|
|
736
|
-
readonly sessionId: Schema.String;
|
|
737
|
-
}>;
|
|
738
|
-
export declare const turnRequestPayloadEffectSchema: Schema.Union<readonly [Schema.Struct<{
|
|
739
|
-
readonly method: Schema.Literal<"turn.cancel">;
|
|
740
|
-
readonly parameters: Schema.Struct<{
|
|
741
|
-
readonly commandId: Schema.String;
|
|
742
|
-
/** The queued turn's own revision, as `turn.queue.list` shows it. */
|
|
743
|
-
readonly expectedRevision: Schema.String;
|
|
744
|
-
readonly turnId: Schema.String;
|
|
745
|
-
}>;
|
|
746
|
-
}>, Schema.Struct<{
|
|
747
|
-
readonly method: Schema.Literal<"turn.queue.list">;
|
|
748
|
-
readonly parameters: Schema.Struct<{
|
|
749
|
-
readonly sessionId: Schema.String;
|
|
750
|
-
}>;
|
|
751
|
-
}>, Schema.Struct<{
|
|
752
|
-
readonly method: Schema.Literal<"turn.interrupt">;
|
|
753
|
-
readonly parameters: Schema.Struct<{
|
|
754
|
-
readonly commandId: Schema.String;
|
|
755
|
-
readonly expectedRevision: Schema.String;
|
|
756
|
-
readonly turnId: Schema.String;
|
|
757
|
-
}>;
|
|
758
|
-
}>, Schema.Struct<{
|
|
759
|
-
readonly method: Schema.Literal<"turn.send">;
|
|
760
|
-
readonly parameters: Schema.Struct<{
|
|
761
|
-
readonly commandId: Schema.String;
|
|
762
|
-
readonly expectedRevision: Schema.String;
|
|
763
|
-
readonly input: Schema.Struct<{
|
|
764
|
-
readonly text: Schema.String;
|
|
765
|
-
readonly type: Schema.Literal<"text">;
|
|
766
|
-
}>;
|
|
767
|
-
readonly sessionId: Schema.String;
|
|
768
|
-
}>;
|
|
769
|
-
}>, Schema.Struct<{
|
|
770
|
-
readonly method: Schema.Literal<"turn.show">;
|
|
771
|
-
readonly parameters: Schema.Struct<{
|
|
772
|
-
readonly turnId: Schema.String;
|
|
773
|
-
}>;
|
|
774
|
-
}>, Schema.Struct<{
|
|
775
|
-
readonly method: Schema.Literal<"turn.wait">;
|
|
776
|
-
readonly parameters: Schema.Struct<{
|
|
777
|
-
readonly mode: Schema.Literals<readonly ["all", "any"]>;
|
|
778
|
-
readonly turnIds: Schema.$Array<Schema.String>;
|
|
779
|
-
readonly waitMilliseconds: Schema.Int;
|
|
780
|
-
}>;
|
|
781
|
-
}>]>;
|
|
782
|
-
export declare const turnSuccessResultEffectSchema: Schema.Union<readonly [Schema.Struct<{
|
|
783
|
-
readonly delivery: Schema.Literals<readonly ["new", "duplicate"]>;
|
|
784
|
-
readonly method: Schema.Literal<"turn.cancel">;
|
|
785
|
-
readonly receipt: Schema.Struct<{
|
|
786
|
-
readonly actorId: Schema.String;
|
|
787
|
-
readonly aggregateRevision: Schema.String;
|
|
788
|
-
readonly commandId: Schema.String;
|
|
789
|
-
readonly createdAt: Schema.String;
|
|
790
|
-
readonly eventCursor: Schema.String;
|
|
791
|
-
readonly method: Schema.String;
|
|
792
|
-
readonly receiptId: Schema.String;
|
|
793
|
-
readonly schemaVersion: Schema.Literal<1>;
|
|
794
|
-
readonly state: Schema.Literal<"succeeded">;
|
|
795
|
-
readonly target: Schema.Struct<{
|
|
796
|
-
readonly id: Schema.String;
|
|
797
|
-
readonly type: Schema.String;
|
|
798
|
-
}>;
|
|
799
|
-
readonly updatedAt: Schema.String;
|
|
800
|
-
}>;
|
|
801
1013
|
readonly turn: Schema.Union<readonly [Schema.Struct<{
|
|
1014
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
1015
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1016
|
+
readonly byteLength: Schema.Int;
|
|
1017
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
1018
|
+
readonly name: Schema.String;
|
|
1019
|
+
readonly sha256: Schema.String;
|
|
1020
|
+
}>>>;
|
|
802
1021
|
readonly createdAt: Schema.String;
|
|
803
1022
|
readonly id: Schema.String;
|
|
804
1023
|
readonly input: Schema.Struct<{
|
|
@@ -812,6 +1031,13 @@ export declare const turnSuccessResultEffectSchema: Schema.Union<readonly [Schem
|
|
|
812
1031
|
readonly updatedAt: Schema.String;
|
|
813
1032
|
readonly state: Schema.Literal<"queued">;
|
|
814
1033
|
}>, Schema.Struct<{
|
|
1034
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
1035
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1036
|
+
readonly byteLength: Schema.Int;
|
|
1037
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
1038
|
+
readonly name: Schema.String;
|
|
1039
|
+
readonly sha256: Schema.String;
|
|
1040
|
+
}>>>;
|
|
815
1041
|
readonly createdAt: Schema.String;
|
|
816
1042
|
readonly id: Schema.String;
|
|
817
1043
|
readonly input: Schema.Struct<{
|
|
@@ -825,6 +1051,13 @@ export declare const turnSuccessResultEffectSchema: Schema.Union<readonly [Schem
|
|
|
825
1051
|
readonly updatedAt: Schema.String;
|
|
826
1052
|
readonly state: Schema.Literal<"dispatching">;
|
|
827
1053
|
}>, Schema.Struct<{
|
|
1054
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
1055
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1056
|
+
readonly byteLength: Schema.Int;
|
|
1057
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
1058
|
+
readonly name: Schema.String;
|
|
1059
|
+
readonly sha256: Schema.String;
|
|
1060
|
+
}>>>;
|
|
828
1061
|
readonly createdAt: Schema.String;
|
|
829
1062
|
readonly id: Schema.String;
|
|
830
1063
|
readonly input: Schema.Struct<{
|
|
@@ -838,6 +1071,13 @@ export declare const turnSuccessResultEffectSchema: Schema.Union<readonly [Schem
|
|
|
838
1071
|
readonly updatedAt: Schema.String;
|
|
839
1072
|
readonly state: Schema.Literal<"running">;
|
|
840
1073
|
}>, Schema.Struct<{
|
|
1074
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
1075
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1076
|
+
readonly byteLength: Schema.Int;
|
|
1077
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
1078
|
+
readonly name: Schema.String;
|
|
1079
|
+
readonly sha256: Schema.String;
|
|
1080
|
+
}>>>;
|
|
841
1081
|
readonly createdAt: Schema.String;
|
|
842
1082
|
readonly id: Schema.String;
|
|
843
1083
|
readonly input: Schema.Struct<{
|
|
@@ -865,6 +1105,13 @@ export declare const turnSuccessResultEffectSchema: Schema.Union<readonly [Schem
|
|
|
865
1105
|
readonly totalTokens: Schema.Int;
|
|
866
1106
|
}>>;
|
|
867
1107
|
}>, Schema.Struct<{
|
|
1108
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
1109
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1110
|
+
readonly byteLength: Schema.Int;
|
|
1111
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
1112
|
+
readonly name: Schema.String;
|
|
1113
|
+
readonly sha256: Schema.String;
|
|
1114
|
+
}>>>;
|
|
868
1115
|
readonly createdAt: Schema.String;
|
|
869
1116
|
readonly id: Schema.String;
|
|
870
1117
|
readonly input: Schema.Struct<{
|
|
@@ -884,6 +1131,13 @@ export declare const turnSuccessResultEffectSchema: Schema.Union<readonly [Schem
|
|
|
884
1131
|
readonly failureReason: Schema.Literals<readonly ["approval_required", "repository_changed", "runtime_failed", "turn_rejected"]>;
|
|
885
1132
|
readonly state: Schema.Literal<"failed">;
|
|
886
1133
|
}>, Schema.Struct<{
|
|
1134
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
1135
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1136
|
+
readonly byteLength: Schema.Int;
|
|
1137
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
1138
|
+
readonly name: Schema.String;
|
|
1139
|
+
readonly sha256: Schema.String;
|
|
1140
|
+
}>>>;
|
|
887
1141
|
readonly createdAt: Schema.String;
|
|
888
1142
|
readonly id: Schema.String;
|
|
889
1143
|
readonly input: Schema.Struct<{
|
|
@@ -902,6 +1156,13 @@ export declare const turnSuccessResultEffectSchema: Schema.Union<readonly [Schem
|
|
|
902
1156
|
readonly failureReason: Schema.Literals<readonly ["output_limit_exceeded", "protocol_invalid", "runtime_exited", "turn_deadline_exceeded"]>;
|
|
903
1157
|
readonly state: Schema.Literal<"outcome-unknown">;
|
|
904
1158
|
}>, Schema.Struct<{
|
|
1159
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
1160
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1161
|
+
readonly byteLength: Schema.Int;
|
|
1162
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
1163
|
+
readonly name: Schema.String;
|
|
1164
|
+
readonly sha256: Schema.String;
|
|
1165
|
+
}>>>;
|
|
905
1166
|
readonly createdAt: Schema.String;
|
|
906
1167
|
readonly id: Schema.String;
|
|
907
1168
|
readonly input: Schema.Struct<{
|
|
@@ -915,26 +1176,48 @@ export declare const turnSuccessResultEffectSchema: Schema.Union<readonly [Schem
|
|
|
915
1176
|
readonly updatedAt: Schema.String;
|
|
916
1177
|
readonly state: Schema.Literal<"interrupted">;
|
|
917
1178
|
}>]>;
|
|
918
|
-
}
|
|
919
|
-
|
|
920
|
-
readonly
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
1179
|
+
}>;
|
|
1180
|
+
export declare const turnWaitParametersEffectSchema: Schema.Struct<{
|
|
1181
|
+
readonly mode: Schema.Literals<readonly ["all", "any"]>;
|
|
1182
|
+
readonly turnIds: Schema.$Array<Schema.String>;
|
|
1183
|
+
readonly waitMilliseconds: Schema.Int;
|
|
1184
|
+
}>;
|
|
1185
|
+
/** A turn's settlement without its text; `turn show` returns the content. */
|
|
1186
|
+
/** Where a turn is: waiting, in flight, or how it ended. */
|
|
1187
|
+
export declare const turnStateEffectSchema: Schema.Literals<readonly ["queued", "dispatching", "running", "completed", "failed", "outcome-unknown", "interrupted"]>;
|
|
1188
|
+
export declare const turnWaitResultEffectSchema: Schema.Struct<{
|
|
1189
|
+
readonly method: Schema.Literal<"turn.wait">;
|
|
1190
|
+
readonly satisfied: Schema.Boolean;
|
|
1191
|
+
readonly turns: Schema.$Array<Schema.Struct<{
|
|
1192
|
+
readonly failure: Schema.optional<Schema.Struct<{
|
|
1193
|
+
readonly code: Schema.String;
|
|
1194
|
+
readonly message: Schema.String;
|
|
1195
|
+
}>>;
|
|
1196
|
+
readonly failureReason: Schema.optional<Schema.Literals<readonly ["approval_required", "output_limit_exceeded", "protocol_invalid", "repository_changed", "runtime_exited", "runtime_failed", "turn_deadline_exceeded", "turn_rejected"]>>;
|
|
929
1197
|
readonly id: Schema.String;
|
|
930
|
-
readonly inputPreview: Schema.String;
|
|
931
|
-
readonly position: Schema.Int;
|
|
932
1198
|
readonly revision: Schema.String;
|
|
1199
|
+
readonly sessionId: Schema.String;
|
|
1200
|
+
readonly state: Schema.Literals<readonly ["queued", "dispatching", "running", "completed", "failed", "outcome-unknown", "interrupted"]>;
|
|
1201
|
+
readonly updatedAt: Schema.String;
|
|
933
1202
|
}>>;
|
|
934
|
-
|
|
935
|
-
|
|
1203
|
+
}>;
|
|
1204
|
+
export declare const turnCancelParametersEffectSchema: Schema.Struct<{
|
|
1205
|
+
readonly commandId: Schema.String;
|
|
1206
|
+
/** The queued turn's own revision, as `turn.queue.list` shows it. */
|
|
1207
|
+
readonly expectedRevision: Schema.String;
|
|
1208
|
+
readonly turnId: Schema.String;
|
|
1209
|
+
}>;
|
|
1210
|
+
export declare const turnCancelResultEffectSchema: Schema.Struct<{
|
|
936
1211
|
readonly delivery: Schema.Literals<readonly ["new", "duplicate"]>;
|
|
937
|
-
readonly method: Schema.Literal<"turn.
|
|
1212
|
+
readonly method: Schema.Literal<"turn.cancel">;
|
|
1213
|
+
/**
|
|
1214
|
+
* `cancelled`: the turn sat in the queue and now ends failed as
|
|
1215
|
+
* `turn_rejected`. `already_dispatched`: the turn left the queue first
|
|
1216
|
+
* (dispatching, running or past it), so the cancel changed nothing and `turn`
|
|
1217
|
+
* shows where the turn stands. Both carry a receipt, and a replay returns the
|
|
1218
|
+
* same one.
|
|
1219
|
+
*/
|
|
1220
|
+
readonly outcome: Schema.Literals<readonly ["cancelled", "already_dispatched"]>;
|
|
938
1221
|
readonly receipt: Schema.Struct<{
|
|
939
1222
|
readonly actorId: Schema.String;
|
|
940
1223
|
readonly aggregateRevision: Schema.String;
|
|
@@ -942,6 +1225,7 @@ export declare const turnSuccessResultEffectSchema: Schema.Union<readonly [Schem
|
|
|
942
1225
|
readonly createdAt: Schema.String;
|
|
943
1226
|
readonly eventCursor: Schema.String;
|
|
944
1227
|
readonly method: Schema.String;
|
|
1228
|
+
readonly proposedBy: Schema.optional<Schema.String>;
|
|
945
1229
|
readonly receiptId: Schema.String;
|
|
946
1230
|
readonly schemaVersion: Schema.Literal<1>;
|
|
947
1231
|
readonly state: Schema.Literal<"succeeded">;
|
|
@@ -952,6 +1236,13 @@ export declare const turnSuccessResultEffectSchema: Schema.Union<readonly [Schem
|
|
|
952
1236
|
readonly updatedAt: Schema.String;
|
|
953
1237
|
}>;
|
|
954
1238
|
readonly turn: Schema.Union<readonly [Schema.Struct<{
|
|
1239
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
1240
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1241
|
+
readonly byteLength: Schema.Int;
|
|
1242
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
1243
|
+
readonly name: Schema.String;
|
|
1244
|
+
readonly sha256: Schema.String;
|
|
1245
|
+
}>>>;
|
|
955
1246
|
readonly createdAt: Schema.String;
|
|
956
1247
|
readonly id: Schema.String;
|
|
957
1248
|
readonly input: Schema.Struct<{
|
|
@@ -965,6 +1256,13 @@ export declare const turnSuccessResultEffectSchema: Schema.Union<readonly [Schem
|
|
|
965
1256
|
readonly updatedAt: Schema.String;
|
|
966
1257
|
readonly state: Schema.Literal<"queued">;
|
|
967
1258
|
}>, Schema.Struct<{
|
|
1259
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
1260
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1261
|
+
readonly byteLength: Schema.Int;
|
|
1262
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
1263
|
+
readonly name: Schema.String;
|
|
1264
|
+
readonly sha256: Schema.String;
|
|
1265
|
+
}>>>;
|
|
968
1266
|
readonly createdAt: Schema.String;
|
|
969
1267
|
readonly id: Schema.String;
|
|
970
1268
|
readonly input: Schema.Struct<{
|
|
@@ -978,6 +1276,13 @@ export declare const turnSuccessResultEffectSchema: Schema.Union<readonly [Schem
|
|
|
978
1276
|
readonly updatedAt: Schema.String;
|
|
979
1277
|
readonly state: Schema.Literal<"dispatching">;
|
|
980
1278
|
}>, Schema.Struct<{
|
|
1279
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
1280
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1281
|
+
readonly byteLength: Schema.Int;
|
|
1282
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
1283
|
+
readonly name: Schema.String;
|
|
1284
|
+
readonly sha256: Schema.String;
|
|
1285
|
+
}>>>;
|
|
981
1286
|
readonly createdAt: Schema.String;
|
|
982
1287
|
readonly id: Schema.String;
|
|
983
1288
|
readonly input: Schema.Struct<{
|
|
@@ -991,6 +1296,13 @@ export declare const turnSuccessResultEffectSchema: Schema.Union<readonly [Schem
|
|
|
991
1296
|
readonly updatedAt: Schema.String;
|
|
992
1297
|
readonly state: Schema.Literal<"running">;
|
|
993
1298
|
}>, Schema.Struct<{
|
|
1299
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
1300
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1301
|
+
readonly byteLength: Schema.Int;
|
|
1302
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
1303
|
+
readonly name: Schema.String;
|
|
1304
|
+
readonly sha256: Schema.String;
|
|
1305
|
+
}>>>;
|
|
994
1306
|
readonly createdAt: Schema.String;
|
|
995
1307
|
readonly id: Schema.String;
|
|
996
1308
|
readonly input: Schema.Struct<{
|
|
@@ -1018,6 +1330,13 @@ export declare const turnSuccessResultEffectSchema: Schema.Union<readonly [Schem
|
|
|
1018
1330
|
readonly totalTokens: Schema.Int;
|
|
1019
1331
|
}>>;
|
|
1020
1332
|
}>, Schema.Struct<{
|
|
1333
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
1334
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1335
|
+
readonly byteLength: Schema.Int;
|
|
1336
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
1337
|
+
readonly name: Schema.String;
|
|
1338
|
+
readonly sha256: Schema.String;
|
|
1339
|
+
}>>>;
|
|
1021
1340
|
readonly createdAt: Schema.String;
|
|
1022
1341
|
readonly id: Schema.String;
|
|
1023
1342
|
readonly input: Schema.Struct<{
|
|
@@ -1037,6 +1356,13 @@ export declare const turnSuccessResultEffectSchema: Schema.Union<readonly [Schem
|
|
|
1037
1356
|
readonly failureReason: Schema.Literals<readonly ["approval_required", "repository_changed", "runtime_failed", "turn_rejected"]>;
|
|
1038
1357
|
readonly state: Schema.Literal<"failed">;
|
|
1039
1358
|
}>, Schema.Struct<{
|
|
1359
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
1360
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1361
|
+
readonly byteLength: Schema.Int;
|
|
1362
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
1363
|
+
readonly name: Schema.String;
|
|
1364
|
+
readonly sha256: Schema.String;
|
|
1365
|
+
}>>>;
|
|
1040
1366
|
readonly createdAt: Schema.String;
|
|
1041
1367
|
readonly id: Schema.String;
|
|
1042
1368
|
readonly input: Schema.Struct<{
|
|
@@ -1055,6 +1381,13 @@ export declare const turnSuccessResultEffectSchema: Schema.Union<readonly [Schem
|
|
|
1055
1381
|
readonly failureReason: Schema.Literals<readonly ["output_limit_exceeded", "protocol_invalid", "runtime_exited", "turn_deadline_exceeded"]>;
|
|
1056
1382
|
readonly state: Schema.Literal<"outcome-unknown">;
|
|
1057
1383
|
}>, Schema.Struct<{
|
|
1384
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
1385
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1386
|
+
readonly byteLength: Schema.Int;
|
|
1387
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
1388
|
+
readonly name: Schema.String;
|
|
1389
|
+
readonly sha256: Schema.String;
|
|
1390
|
+
}>>>;
|
|
1058
1391
|
readonly createdAt: Schema.String;
|
|
1059
1392
|
readonly id: Schema.String;
|
|
1060
1393
|
readonly input: Schema.Struct<{
|
|
@@ -1068,42 +1401,730 @@ export declare const turnSuccessResultEffectSchema: Schema.Union<readonly [Schem
|
|
|
1068
1401
|
readonly updatedAt: Schema.String;
|
|
1069
1402
|
readonly state: Schema.Literal<"interrupted">;
|
|
1070
1403
|
}>]>;
|
|
1404
|
+
}>;
|
|
1405
|
+
export declare const turnQueueListParametersEffectSchema: Schema.Struct<{
|
|
1406
|
+
readonly sessionId: Schema.String;
|
|
1407
|
+
}>;
|
|
1408
|
+
export declare const turnQueueListResultEffectSchema: Schema.Struct<{
|
|
1409
|
+
/** The turn now dispatching or running; absent when none is. */
|
|
1410
|
+
readonly activeTurn: Schema.optional<Schema.Struct<{
|
|
1411
|
+
readonly id: Schema.String;
|
|
1412
|
+
readonly revision: Schema.String;
|
|
1413
|
+
readonly state: Schema.Literals<readonly ["dispatching", "running"]>;
|
|
1414
|
+
}>>;
|
|
1415
|
+
readonly method: Schema.Literal<"turn.queue.list">;
|
|
1416
|
+
/** Queued turns in dispatch order; `turn.show` returns a turn's full input. */
|
|
1417
|
+
readonly queue: Schema.$Array<Schema.Struct<{
|
|
1418
|
+
readonly createdAt: Schema.String;
|
|
1419
|
+
readonly id: Schema.String;
|
|
1420
|
+
readonly inputPreview: Schema.String;
|
|
1421
|
+
readonly position: Schema.Int;
|
|
1422
|
+
readonly revision: Schema.String;
|
|
1423
|
+
}>>;
|
|
1424
|
+
readonly sessionId: Schema.String;
|
|
1425
|
+
}>;
|
|
1426
|
+
export declare const turnRequestPayloadEffectSchema: Schema.Union<readonly [Schema.Struct<{
|
|
1427
|
+
readonly method: Schema.Literal<"turn.attachment.policy">;
|
|
1428
|
+
readonly parameters: Schema.Struct<{
|
|
1429
|
+
readonly sessionId: Schema.String;
|
|
1430
|
+
}>;
|
|
1071
1431
|
}>, Schema.Struct<{
|
|
1072
|
-
readonly
|
|
1073
|
-
readonly
|
|
1074
|
-
readonly receipt: Schema.Struct<{
|
|
1075
|
-
readonly actorId: Schema.String;
|
|
1076
|
-
readonly aggregateRevision: Schema.String;
|
|
1432
|
+
readonly method: Schema.Literal<"turn.cancel">;
|
|
1433
|
+
readonly parameters: Schema.Struct<{
|
|
1077
1434
|
readonly commandId: Schema.String;
|
|
1078
|
-
|
|
1079
|
-
readonly
|
|
1080
|
-
readonly
|
|
1081
|
-
readonly receiptId: Schema.String;
|
|
1082
|
-
readonly schemaVersion: Schema.Literal<1>;
|
|
1083
|
-
readonly state: Schema.Literal<"succeeded">;
|
|
1084
|
-
readonly target: Schema.Struct<{
|
|
1085
|
-
readonly id: Schema.String;
|
|
1086
|
-
readonly type: Schema.String;
|
|
1087
|
-
}>;
|
|
1088
|
-
readonly updatedAt: Schema.String;
|
|
1435
|
+
/** The queued turn's own revision, as `turn.queue.list` shows it. */
|
|
1436
|
+
readonly expectedRevision: Schema.String;
|
|
1437
|
+
readonly turnId: Schema.String;
|
|
1089
1438
|
}>;
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1439
|
+
}>, Schema.Struct<{
|
|
1440
|
+
readonly method: Schema.Literal<"turn.queue.list">;
|
|
1441
|
+
readonly parameters: Schema.Struct<{
|
|
1442
|
+
readonly sessionId: Schema.String;
|
|
1443
|
+
}>;
|
|
1444
|
+
}>, Schema.Struct<{
|
|
1445
|
+
readonly method: Schema.Literal<"turn.interrupt">;
|
|
1446
|
+
readonly parameters: Schema.Struct<{
|
|
1447
|
+
readonly commandId: Schema.String;
|
|
1448
|
+
readonly expectedRevision: Schema.String;
|
|
1449
|
+
readonly turnId: Schema.String;
|
|
1450
|
+
}>;
|
|
1451
|
+
}>, Schema.Struct<{
|
|
1452
|
+
readonly method: Schema.Literal<"turn.send">;
|
|
1453
|
+
readonly parameters: Schema.Struct<{
|
|
1454
|
+
/** Files for the turn, within the limits `turn.attachment.policy` reports. */
|
|
1455
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1456
|
+
readonly data: Schema.String;
|
|
1457
|
+
readonly mediaType: Schema.String;
|
|
1458
|
+
readonly name: Schema.String;
|
|
1459
|
+
}>>>;
|
|
1460
|
+
readonly commandId: Schema.String;
|
|
1461
|
+
readonly expectedRevision: Schema.String;
|
|
1093
1462
|
readonly input: Schema.Struct<{
|
|
1094
1463
|
readonly text: Schema.String;
|
|
1095
1464
|
readonly type: Schema.Literal<"text">;
|
|
1096
1465
|
}>;
|
|
1097
|
-
readonly revision: Schema.String;
|
|
1098
|
-
readonly schemaVersion: Schema.Literal<1>;
|
|
1099
1466
|
readonly sessionId: Schema.String;
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
readonly
|
|
1105
|
-
|
|
1106
|
-
|
|
1467
|
+
}>;
|
|
1468
|
+
}>, Schema.Struct<{
|
|
1469
|
+
readonly method: Schema.Literal<"turn.show">;
|
|
1470
|
+
readonly parameters: Schema.Struct<{
|
|
1471
|
+
readonly turnId: Schema.String;
|
|
1472
|
+
}>;
|
|
1473
|
+
}>, Schema.Struct<{
|
|
1474
|
+
readonly method: Schema.Literal<"turn.steer.confirm">;
|
|
1475
|
+
readonly parameters: Schema.Struct<{
|
|
1476
|
+
commandId: Schema.String;
|
|
1477
|
+
expectedRevision: Schema.String;
|
|
1478
|
+
input: Schema.Struct<{
|
|
1479
|
+
readonly text: Schema.String;
|
|
1480
|
+
readonly type: Schema.Literal<"text">;
|
|
1481
|
+
}>;
|
|
1482
|
+
inputDigest: Schema.String;
|
|
1483
|
+
proof: Schema.String;
|
|
1484
|
+
turnId: Schema.String;
|
|
1485
|
+
validUntil: Schema.String;
|
|
1486
|
+
}>;
|
|
1487
|
+
}>, Schema.Struct<{
|
|
1488
|
+
readonly method: Schema.Literal<"turn.steer.preview">;
|
|
1489
|
+
readonly parameters: Schema.Struct<{
|
|
1490
|
+
readonly commandId: Schema.String;
|
|
1491
|
+
readonly expectedRevision: Schema.String;
|
|
1492
|
+
readonly input: Schema.Struct<{
|
|
1493
|
+
readonly text: Schema.String;
|
|
1494
|
+
readonly type: Schema.Literal<"text">;
|
|
1495
|
+
}>;
|
|
1496
|
+
readonly turnId: Schema.String;
|
|
1497
|
+
}>;
|
|
1498
|
+
}>, Schema.Struct<{
|
|
1499
|
+
readonly method: Schema.Literal<"turn.wait">;
|
|
1500
|
+
readonly parameters: Schema.Struct<{
|
|
1501
|
+
readonly mode: Schema.Literals<readonly ["all", "any"]>;
|
|
1502
|
+
readonly turnIds: Schema.$Array<Schema.String>;
|
|
1503
|
+
readonly waitMilliseconds: Schema.Int;
|
|
1504
|
+
}>;
|
|
1505
|
+
}>]>;
|
|
1506
|
+
export declare const turnSuccessResultEffectSchema: Schema.Union<readonly [Schema.Struct<{
|
|
1507
|
+
readonly accepted: Schema.Boolean;
|
|
1508
|
+
readonly maxBytes: Schema.Int;
|
|
1509
|
+
readonly mediaTypes: Schema.$Array<Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>>;
|
|
1510
|
+
readonly method: Schema.Literal<"turn.attachment.policy">;
|
|
1511
|
+
readonly sessionId: Schema.String;
|
|
1512
|
+
}>, Schema.Struct<{
|
|
1513
|
+
readonly delivery: Schema.Literals<readonly ["new", "duplicate"]>;
|
|
1514
|
+
readonly method: Schema.Literal<"turn.cancel">;
|
|
1515
|
+
/**
|
|
1516
|
+
* `cancelled`: the turn sat in the queue and now ends failed as
|
|
1517
|
+
* `turn_rejected`. `already_dispatched`: the turn left the queue first
|
|
1518
|
+
* (dispatching, running or past it), so the cancel changed nothing and `turn`
|
|
1519
|
+
* shows where the turn stands. Both carry a receipt, and a replay returns the
|
|
1520
|
+
* same one.
|
|
1521
|
+
*/
|
|
1522
|
+
readonly outcome: Schema.Literals<readonly ["cancelled", "already_dispatched"]>;
|
|
1523
|
+
readonly receipt: Schema.Struct<{
|
|
1524
|
+
readonly actorId: Schema.String;
|
|
1525
|
+
readonly aggregateRevision: Schema.String;
|
|
1526
|
+
readonly commandId: Schema.String;
|
|
1527
|
+
readonly createdAt: Schema.String;
|
|
1528
|
+
readonly eventCursor: Schema.String;
|
|
1529
|
+
readonly method: Schema.String;
|
|
1530
|
+
readonly proposedBy: Schema.optional<Schema.String>;
|
|
1531
|
+
readonly receiptId: Schema.String;
|
|
1532
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
1533
|
+
readonly state: Schema.Literal<"succeeded">;
|
|
1534
|
+
readonly target: Schema.Struct<{
|
|
1535
|
+
readonly id: Schema.String;
|
|
1536
|
+
readonly type: Schema.String;
|
|
1537
|
+
}>;
|
|
1538
|
+
readonly updatedAt: Schema.String;
|
|
1539
|
+
}>;
|
|
1540
|
+
readonly turn: Schema.Union<readonly [Schema.Struct<{
|
|
1541
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
1542
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1543
|
+
readonly byteLength: Schema.Int;
|
|
1544
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
1545
|
+
readonly name: Schema.String;
|
|
1546
|
+
readonly sha256: Schema.String;
|
|
1547
|
+
}>>>;
|
|
1548
|
+
readonly createdAt: Schema.String;
|
|
1549
|
+
readonly id: Schema.String;
|
|
1550
|
+
readonly input: Schema.Struct<{
|
|
1551
|
+
readonly text: Schema.String;
|
|
1552
|
+
readonly type: Schema.Literal<"text">;
|
|
1553
|
+
}>;
|
|
1554
|
+
readonly revision: Schema.String;
|
|
1555
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
1556
|
+
readonly sessionId: Schema.String;
|
|
1557
|
+
readonly sessionRevision: Schema.String;
|
|
1558
|
+
readonly updatedAt: Schema.String;
|
|
1559
|
+
readonly state: Schema.Literal<"queued">;
|
|
1560
|
+
}>, Schema.Struct<{
|
|
1561
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
1562
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1563
|
+
readonly byteLength: Schema.Int;
|
|
1564
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
1565
|
+
readonly name: Schema.String;
|
|
1566
|
+
readonly sha256: Schema.String;
|
|
1567
|
+
}>>>;
|
|
1568
|
+
readonly createdAt: Schema.String;
|
|
1569
|
+
readonly id: Schema.String;
|
|
1570
|
+
readonly input: Schema.Struct<{
|
|
1571
|
+
readonly text: Schema.String;
|
|
1572
|
+
readonly type: Schema.Literal<"text">;
|
|
1573
|
+
}>;
|
|
1574
|
+
readonly revision: Schema.String;
|
|
1575
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
1576
|
+
readonly sessionId: Schema.String;
|
|
1577
|
+
readonly sessionRevision: Schema.String;
|
|
1578
|
+
readonly updatedAt: Schema.String;
|
|
1579
|
+
readonly state: Schema.Literal<"dispatching">;
|
|
1580
|
+
}>, Schema.Struct<{
|
|
1581
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
1582
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1583
|
+
readonly byteLength: Schema.Int;
|
|
1584
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
1585
|
+
readonly name: Schema.String;
|
|
1586
|
+
readonly sha256: Schema.String;
|
|
1587
|
+
}>>>;
|
|
1588
|
+
readonly createdAt: Schema.String;
|
|
1589
|
+
readonly id: Schema.String;
|
|
1590
|
+
readonly input: Schema.Struct<{
|
|
1591
|
+
readonly text: Schema.String;
|
|
1592
|
+
readonly type: Schema.Literal<"text">;
|
|
1593
|
+
}>;
|
|
1594
|
+
readonly revision: Schema.String;
|
|
1595
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
1596
|
+
readonly sessionId: Schema.String;
|
|
1597
|
+
readonly sessionRevision: Schema.String;
|
|
1598
|
+
readonly updatedAt: Schema.String;
|
|
1599
|
+
readonly state: Schema.Literal<"running">;
|
|
1600
|
+
}>, Schema.Struct<{
|
|
1601
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
1602
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1603
|
+
readonly byteLength: Schema.Int;
|
|
1604
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
1605
|
+
readonly name: Schema.String;
|
|
1606
|
+
readonly sha256: Schema.String;
|
|
1607
|
+
}>>>;
|
|
1608
|
+
readonly createdAt: Schema.String;
|
|
1609
|
+
readonly id: Schema.String;
|
|
1610
|
+
readonly input: Schema.Struct<{
|
|
1611
|
+
readonly text: Schema.String;
|
|
1612
|
+
readonly type: Schema.Literal<"text">;
|
|
1613
|
+
}>;
|
|
1614
|
+
readonly revision: Schema.String;
|
|
1615
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
1616
|
+
readonly sessionId: Schema.String;
|
|
1617
|
+
readonly sessionRevision: Schema.String;
|
|
1618
|
+
readonly updatedAt: Schema.String;
|
|
1619
|
+
readonly responseText: Schema.String;
|
|
1620
|
+
readonly state: Schema.Literal<"completed">;
|
|
1621
|
+
readonly tokenUsage: Schema.optional<Schema.Struct<{
|
|
1622
|
+
readonly cachedInputTokens: Schema.Int;
|
|
1623
|
+
/** The input tokens of the turn's last model call: the context in use. */
|
|
1624
|
+
readonly contextTokens: Schema.optional<Schema.Int>;
|
|
1625
|
+
/** The model's context window in tokens, reported with `contextTokens` or not at all. */
|
|
1626
|
+
readonly contextWindow: Schema.optional<Schema.Int>;
|
|
1627
|
+
readonly inputTokens: Schema.Int;
|
|
1628
|
+
/** Model calls the runtime reported for the turn; absent when it reported none. */
|
|
1629
|
+
readonly modelCallCount: Schema.optional<Schema.Int>;
|
|
1630
|
+
readonly outputTokens: Schema.Int;
|
|
1631
|
+
readonly reasoningOutputTokens: Schema.Int;
|
|
1632
|
+
readonly totalTokens: Schema.Int;
|
|
1633
|
+
}>>;
|
|
1634
|
+
}>, Schema.Struct<{
|
|
1635
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
1636
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1637
|
+
readonly byteLength: Schema.Int;
|
|
1638
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
1639
|
+
readonly name: Schema.String;
|
|
1640
|
+
readonly sha256: Schema.String;
|
|
1641
|
+
}>>>;
|
|
1642
|
+
readonly createdAt: Schema.String;
|
|
1643
|
+
readonly id: Schema.String;
|
|
1644
|
+
readonly input: Schema.Struct<{
|
|
1645
|
+
readonly text: Schema.String;
|
|
1646
|
+
readonly type: Schema.Literal<"text">;
|
|
1647
|
+
}>;
|
|
1648
|
+
readonly revision: Schema.String;
|
|
1649
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
1650
|
+
readonly sessionId: Schema.String;
|
|
1651
|
+
readonly sessionRevision: Schema.String;
|
|
1652
|
+
readonly updatedAt: Schema.String;
|
|
1653
|
+
/** What the runtime reported, when it said why the turn failed. */
|
|
1654
|
+
readonly failure: Schema.optional<Schema.Struct<{
|
|
1655
|
+
readonly code: Schema.String;
|
|
1656
|
+
readonly message: Schema.String;
|
|
1657
|
+
}>>;
|
|
1658
|
+
readonly failureReason: Schema.Literals<readonly ["approval_required", "repository_changed", "runtime_failed", "turn_rejected"]>;
|
|
1659
|
+
readonly state: Schema.Literal<"failed">;
|
|
1660
|
+
}>, Schema.Struct<{
|
|
1661
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
1662
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1663
|
+
readonly byteLength: Schema.Int;
|
|
1664
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
1665
|
+
readonly name: Schema.String;
|
|
1666
|
+
readonly sha256: Schema.String;
|
|
1667
|
+
}>>>;
|
|
1668
|
+
readonly createdAt: Schema.String;
|
|
1669
|
+
readonly id: Schema.String;
|
|
1670
|
+
readonly input: Schema.Struct<{
|
|
1671
|
+
readonly text: Schema.String;
|
|
1672
|
+
readonly type: Schema.Literal<"text">;
|
|
1673
|
+
}>;
|
|
1674
|
+
readonly revision: Schema.String;
|
|
1675
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
1676
|
+
readonly sessionId: Schema.String;
|
|
1677
|
+
readonly sessionRevision: Schema.String;
|
|
1678
|
+
readonly updatedAt: Schema.String;
|
|
1679
|
+
readonly failure: Schema.optional<Schema.Struct<{
|
|
1680
|
+
readonly code: Schema.String;
|
|
1681
|
+
readonly message: Schema.String;
|
|
1682
|
+
}>>;
|
|
1683
|
+
readonly failureReason: Schema.Literals<readonly ["output_limit_exceeded", "protocol_invalid", "runtime_exited", "turn_deadline_exceeded"]>;
|
|
1684
|
+
readonly state: Schema.Literal<"outcome-unknown">;
|
|
1685
|
+
}>, Schema.Struct<{
|
|
1686
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
1687
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1688
|
+
readonly byteLength: Schema.Int;
|
|
1689
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
1690
|
+
readonly name: Schema.String;
|
|
1691
|
+
readonly sha256: Schema.String;
|
|
1692
|
+
}>>>;
|
|
1693
|
+
readonly createdAt: Schema.String;
|
|
1694
|
+
readonly id: Schema.String;
|
|
1695
|
+
readonly input: Schema.Struct<{
|
|
1696
|
+
readonly text: Schema.String;
|
|
1697
|
+
readonly type: Schema.Literal<"text">;
|
|
1698
|
+
}>;
|
|
1699
|
+
readonly revision: Schema.String;
|
|
1700
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
1701
|
+
readonly sessionId: Schema.String;
|
|
1702
|
+
readonly sessionRevision: Schema.String;
|
|
1703
|
+
readonly updatedAt: Schema.String;
|
|
1704
|
+
readonly state: Schema.Literal<"interrupted">;
|
|
1705
|
+
}>]>;
|
|
1706
|
+
}>, Schema.Struct<{
|
|
1707
|
+
/** The turn now dispatching or running; absent when none is. */
|
|
1708
|
+
readonly activeTurn: Schema.optional<Schema.Struct<{
|
|
1709
|
+
readonly id: Schema.String;
|
|
1710
|
+
readonly revision: Schema.String;
|
|
1711
|
+
readonly state: Schema.Literals<readonly ["dispatching", "running"]>;
|
|
1712
|
+
}>>;
|
|
1713
|
+
readonly method: Schema.Literal<"turn.queue.list">;
|
|
1714
|
+
/** Queued turns in dispatch order; `turn.show` returns a turn's full input. */
|
|
1715
|
+
readonly queue: Schema.$Array<Schema.Struct<{
|
|
1716
|
+
readonly createdAt: Schema.String;
|
|
1717
|
+
readonly id: Schema.String;
|
|
1718
|
+
readonly inputPreview: Schema.String;
|
|
1719
|
+
readonly position: Schema.Int;
|
|
1720
|
+
readonly revision: Schema.String;
|
|
1721
|
+
}>>;
|
|
1722
|
+
readonly sessionId: Schema.String;
|
|
1723
|
+
}>, Schema.Struct<{
|
|
1724
|
+
readonly delivery: Schema.Literals<readonly ["new", "duplicate"]>;
|
|
1725
|
+
readonly method: Schema.Literal<"turn.interrupt">;
|
|
1726
|
+
readonly receipt: Schema.Struct<{
|
|
1727
|
+
readonly actorId: Schema.String;
|
|
1728
|
+
readonly aggregateRevision: Schema.String;
|
|
1729
|
+
readonly commandId: Schema.String;
|
|
1730
|
+
readonly createdAt: Schema.String;
|
|
1731
|
+
readonly eventCursor: Schema.String;
|
|
1732
|
+
readonly method: Schema.String;
|
|
1733
|
+
readonly proposedBy: Schema.optional<Schema.String>;
|
|
1734
|
+
readonly receiptId: Schema.String;
|
|
1735
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
1736
|
+
readonly state: Schema.Literal<"succeeded">;
|
|
1737
|
+
readonly target: Schema.Struct<{
|
|
1738
|
+
readonly id: Schema.String;
|
|
1739
|
+
readonly type: Schema.String;
|
|
1740
|
+
}>;
|
|
1741
|
+
readonly updatedAt: Schema.String;
|
|
1742
|
+
}>;
|
|
1743
|
+
readonly turn: Schema.Union<readonly [Schema.Struct<{
|
|
1744
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
1745
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1746
|
+
readonly byteLength: Schema.Int;
|
|
1747
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
1748
|
+
readonly name: Schema.String;
|
|
1749
|
+
readonly sha256: Schema.String;
|
|
1750
|
+
}>>>;
|
|
1751
|
+
readonly createdAt: Schema.String;
|
|
1752
|
+
readonly id: Schema.String;
|
|
1753
|
+
readonly input: Schema.Struct<{
|
|
1754
|
+
readonly text: Schema.String;
|
|
1755
|
+
readonly type: Schema.Literal<"text">;
|
|
1756
|
+
}>;
|
|
1757
|
+
readonly revision: Schema.String;
|
|
1758
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
1759
|
+
readonly sessionId: Schema.String;
|
|
1760
|
+
readonly sessionRevision: Schema.String;
|
|
1761
|
+
readonly updatedAt: Schema.String;
|
|
1762
|
+
readonly state: Schema.Literal<"queued">;
|
|
1763
|
+
}>, Schema.Struct<{
|
|
1764
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
1765
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1766
|
+
readonly byteLength: Schema.Int;
|
|
1767
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
1768
|
+
readonly name: Schema.String;
|
|
1769
|
+
readonly sha256: Schema.String;
|
|
1770
|
+
}>>>;
|
|
1771
|
+
readonly createdAt: Schema.String;
|
|
1772
|
+
readonly id: Schema.String;
|
|
1773
|
+
readonly input: Schema.Struct<{
|
|
1774
|
+
readonly text: Schema.String;
|
|
1775
|
+
readonly type: Schema.Literal<"text">;
|
|
1776
|
+
}>;
|
|
1777
|
+
readonly revision: Schema.String;
|
|
1778
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
1779
|
+
readonly sessionId: Schema.String;
|
|
1780
|
+
readonly sessionRevision: Schema.String;
|
|
1781
|
+
readonly updatedAt: Schema.String;
|
|
1782
|
+
readonly state: Schema.Literal<"dispatching">;
|
|
1783
|
+
}>, Schema.Struct<{
|
|
1784
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
1785
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1786
|
+
readonly byteLength: Schema.Int;
|
|
1787
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
1788
|
+
readonly name: Schema.String;
|
|
1789
|
+
readonly sha256: Schema.String;
|
|
1790
|
+
}>>>;
|
|
1791
|
+
readonly createdAt: Schema.String;
|
|
1792
|
+
readonly id: Schema.String;
|
|
1793
|
+
readonly input: Schema.Struct<{
|
|
1794
|
+
readonly text: Schema.String;
|
|
1795
|
+
readonly type: Schema.Literal<"text">;
|
|
1796
|
+
}>;
|
|
1797
|
+
readonly revision: Schema.String;
|
|
1798
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
1799
|
+
readonly sessionId: Schema.String;
|
|
1800
|
+
readonly sessionRevision: Schema.String;
|
|
1801
|
+
readonly updatedAt: Schema.String;
|
|
1802
|
+
readonly state: Schema.Literal<"running">;
|
|
1803
|
+
}>, Schema.Struct<{
|
|
1804
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
1805
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1806
|
+
readonly byteLength: Schema.Int;
|
|
1807
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
1808
|
+
readonly name: Schema.String;
|
|
1809
|
+
readonly sha256: Schema.String;
|
|
1810
|
+
}>>>;
|
|
1811
|
+
readonly createdAt: Schema.String;
|
|
1812
|
+
readonly id: Schema.String;
|
|
1813
|
+
readonly input: Schema.Struct<{
|
|
1814
|
+
readonly text: Schema.String;
|
|
1815
|
+
readonly type: Schema.Literal<"text">;
|
|
1816
|
+
}>;
|
|
1817
|
+
readonly revision: Schema.String;
|
|
1818
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
1819
|
+
readonly sessionId: Schema.String;
|
|
1820
|
+
readonly sessionRevision: Schema.String;
|
|
1821
|
+
readonly updatedAt: Schema.String;
|
|
1822
|
+
readonly responseText: Schema.String;
|
|
1823
|
+
readonly state: Schema.Literal<"completed">;
|
|
1824
|
+
readonly tokenUsage: Schema.optional<Schema.Struct<{
|
|
1825
|
+
readonly cachedInputTokens: Schema.Int;
|
|
1826
|
+
/** The input tokens of the turn's last model call: the context in use. */
|
|
1827
|
+
readonly contextTokens: Schema.optional<Schema.Int>;
|
|
1828
|
+
/** The model's context window in tokens, reported with `contextTokens` or not at all. */
|
|
1829
|
+
readonly contextWindow: Schema.optional<Schema.Int>;
|
|
1830
|
+
readonly inputTokens: Schema.Int;
|
|
1831
|
+
/** Model calls the runtime reported for the turn; absent when it reported none. */
|
|
1832
|
+
readonly modelCallCount: Schema.optional<Schema.Int>;
|
|
1833
|
+
readonly outputTokens: Schema.Int;
|
|
1834
|
+
readonly reasoningOutputTokens: Schema.Int;
|
|
1835
|
+
readonly totalTokens: Schema.Int;
|
|
1836
|
+
}>>;
|
|
1837
|
+
}>, Schema.Struct<{
|
|
1838
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
1839
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1840
|
+
readonly byteLength: Schema.Int;
|
|
1841
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
1842
|
+
readonly name: Schema.String;
|
|
1843
|
+
readonly sha256: Schema.String;
|
|
1844
|
+
}>>>;
|
|
1845
|
+
readonly createdAt: Schema.String;
|
|
1846
|
+
readonly id: Schema.String;
|
|
1847
|
+
readonly input: Schema.Struct<{
|
|
1848
|
+
readonly text: Schema.String;
|
|
1849
|
+
readonly type: Schema.Literal<"text">;
|
|
1850
|
+
}>;
|
|
1851
|
+
readonly revision: Schema.String;
|
|
1852
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
1853
|
+
readonly sessionId: Schema.String;
|
|
1854
|
+
readonly sessionRevision: Schema.String;
|
|
1855
|
+
readonly updatedAt: Schema.String;
|
|
1856
|
+
/** What the runtime reported, when it said why the turn failed. */
|
|
1857
|
+
readonly failure: Schema.optional<Schema.Struct<{
|
|
1858
|
+
readonly code: Schema.String;
|
|
1859
|
+
readonly message: Schema.String;
|
|
1860
|
+
}>>;
|
|
1861
|
+
readonly failureReason: Schema.Literals<readonly ["approval_required", "repository_changed", "runtime_failed", "turn_rejected"]>;
|
|
1862
|
+
readonly state: Schema.Literal<"failed">;
|
|
1863
|
+
}>, Schema.Struct<{
|
|
1864
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
1865
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1866
|
+
readonly byteLength: Schema.Int;
|
|
1867
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
1868
|
+
readonly name: Schema.String;
|
|
1869
|
+
readonly sha256: Schema.String;
|
|
1870
|
+
}>>>;
|
|
1871
|
+
readonly createdAt: Schema.String;
|
|
1872
|
+
readonly id: Schema.String;
|
|
1873
|
+
readonly input: Schema.Struct<{
|
|
1874
|
+
readonly text: Schema.String;
|
|
1875
|
+
readonly type: Schema.Literal<"text">;
|
|
1876
|
+
}>;
|
|
1877
|
+
readonly revision: Schema.String;
|
|
1878
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
1879
|
+
readonly sessionId: Schema.String;
|
|
1880
|
+
readonly sessionRevision: Schema.String;
|
|
1881
|
+
readonly updatedAt: Schema.String;
|
|
1882
|
+
readonly failure: Schema.optional<Schema.Struct<{
|
|
1883
|
+
readonly code: Schema.String;
|
|
1884
|
+
readonly message: Schema.String;
|
|
1885
|
+
}>>;
|
|
1886
|
+
readonly failureReason: Schema.Literals<readonly ["output_limit_exceeded", "protocol_invalid", "runtime_exited", "turn_deadline_exceeded"]>;
|
|
1887
|
+
readonly state: Schema.Literal<"outcome-unknown">;
|
|
1888
|
+
}>, Schema.Struct<{
|
|
1889
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
1890
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1891
|
+
readonly byteLength: Schema.Int;
|
|
1892
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
1893
|
+
readonly name: Schema.String;
|
|
1894
|
+
readonly sha256: Schema.String;
|
|
1895
|
+
}>>>;
|
|
1896
|
+
readonly createdAt: Schema.String;
|
|
1897
|
+
readonly id: Schema.String;
|
|
1898
|
+
readonly input: Schema.Struct<{
|
|
1899
|
+
readonly text: Schema.String;
|
|
1900
|
+
readonly type: Schema.Literal<"text">;
|
|
1901
|
+
}>;
|
|
1902
|
+
readonly revision: Schema.String;
|
|
1903
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
1904
|
+
readonly sessionId: Schema.String;
|
|
1905
|
+
readonly sessionRevision: Schema.String;
|
|
1906
|
+
readonly updatedAt: Schema.String;
|
|
1907
|
+
readonly state: Schema.Literal<"interrupted">;
|
|
1908
|
+
}>]>;
|
|
1909
|
+
}>, Schema.Struct<{
|
|
1910
|
+
readonly delivery: Schema.Literals<readonly ["new", "duplicate"]>;
|
|
1911
|
+
readonly method: Schema.Literal<"turn.send">;
|
|
1912
|
+
readonly receipt: Schema.Struct<{
|
|
1913
|
+
readonly actorId: Schema.String;
|
|
1914
|
+
readonly aggregateRevision: Schema.String;
|
|
1915
|
+
readonly commandId: Schema.String;
|
|
1916
|
+
readonly createdAt: Schema.String;
|
|
1917
|
+
readonly eventCursor: Schema.String;
|
|
1918
|
+
readonly method: Schema.String;
|
|
1919
|
+
readonly proposedBy: Schema.optional<Schema.String>;
|
|
1920
|
+
readonly receiptId: Schema.String;
|
|
1921
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
1922
|
+
readonly state: Schema.Literal<"succeeded">;
|
|
1923
|
+
readonly target: Schema.Struct<{
|
|
1924
|
+
readonly id: Schema.String;
|
|
1925
|
+
readonly type: Schema.String;
|
|
1926
|
+
}>;
|
|
1927
|
+
readonly updatedAt: Schema.String;
|
|
1928
|
+
}>;
|
|
1929
|
+
readonly turn: Schema.Union<readonly [Schema.Struct<{
|
|
1930
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
1931
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1932
|
+
readonly byteLength: Schema.Int;
|
|
1933
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
1934
|
+
readonly name: Schema.String;
|
|
1935
|
+
readonly sha256: Schema.String;
|
|
1936
|
+
}>>>;
|
|
1937
|
+
readonly createdAt: Schema.String;
|
|
1938
|
+
readonly id: Schema.String;
|
|
1939
|
+
readonly input: Schema.Struct<{
|
|
1940
|
+
readonly text: Schema.String;
|
|
1941
|
+
readonly type: Schema.Literal<"text">;
|
|
1942
|
+
}>;
|
|
1943
|
+
readonly revision: Schema.String;
|
|
1944
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
1945
|
+
readonly sessionId: Schema.String;
|
|
1946
|
+
readonly sessionRevision: Schema.String;
|
|
1947
|
+
readonly updatedAt: Schema.String;
|
|
1948
|
+
readonly state: Schema.Literal<"queued">;
|
|
1949
|
+
}>, Schema.Struct<{
|
|
1950
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
1951
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1952
|
+
readonly byteLength: Schema.Int;
|
|
1953
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
1954
|
+
readonly name: Schema.String;
|
|
1955
|
+
readonly sha256: Schema.String;
|
|
1956
|
+
}>>>;
|
|
1957
|
+
readonly createdAt: Schema.String;
|
|
1958
|
+
readonly id: Schema.String;
|
|
1959
|
+
readonly input: Schema.Struct<{
|
|
1960
|
+
readonly text: Schema.String;
|
|
1961
|
+
readonly type: Schema.Literal<"text">;
|
|
1962
|
+
}>;
|
|
1963
|
+
readonly revision: Schema.String;
|
|
1964
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
1965
|
+
readonly sessionId: Schema.String;
|
|
1966
|
+
readonly sessionRevision: Schema.String;
|
|
1967
|
+
readonly updatedAt: Schema.String;
|
|
1968
|
+
readonly state: Schema.Literal<"dispatching">;
|
|
1969
|
+
}>, Schema.Struct<{
|
|
1970
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
1971
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1972
|
+
readonly byteLength: Schema.Int;
|
|
1973
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
1974
|
+
readonly name: Schema.String;
|
|
1975
|
+
readonly sha256: Schema.String;
|
|
1976
|
+
}>>>;
|
|
1977
|
+
readonly createdAt: Schema.String;
|
|
1978
|
+
readonly id: Schema.String;
|
|
1979
|
+
readonly input: Schema.Struct<{
|
|
1980
|
+
readonly text: Schema.String;
|
|
1981
|
+
readonly type: Schema.Literal<"text">;
|
|
1982
|
+
}>;
|
|
1983
|
+
readonly revision: Schema.String;
|
|
1984
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
1985
|
+
readonly sessionId: Schema.String;
|
|
1986
|
+
readonly sessionRevision: Schema.String;
|
|
1987
|
+
readonly updatedAt: Schema.String;
|
|
1988
|
+
readonly state: Schema.Literal<"running">;
|
|
1989
|
+
}>, Schema.Struct<{
|
|
1990
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
1991
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1992
|
+
readonly byteLength: Schema.Int;
|
|
1993
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
1994
|
+
readonly name: Schema.String;
|
|
1995
|
+
readonly sha256: Schema.String;
|
|
1996
|
+
}>>>;
|
|
1997
|
+
readonly createdAt: Schema.String;
|
|
1998
|
+
readonly id: Schema.String;
|
|
1999
|
+
readonly input: Schema.Struct<{
|
|
2000
|
+
readonly text: Schema.String;
|
|
2001
|
+
readonly type: Schema.Literal<"text">;
|
|
2002
|
+
}>;
|
|
2003
|
+
readonly revision: Schema.String;
|
|
2004
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
2005
|
+
readonly sessionId: Schema.String;
|
|
2006
|
+
readonly sessionRevision: Schema.String;
|
|
2007
|
+
readonly updatedAt: Schema.String;
|
|
2008
|
+
readonly responseText: Schema.String;
|
|
2009
|
+
readonly state: Schema.Literal<"completed">;
|
|
2010
|
+
readonly tokenUsage: Schema.optional<Schema.Struct<{
|
|
2011
|
+
readonly cachedInputTokens: Schema.Int;
|
|
2012
|
+
/** The input tokens of the turn's last model call: the context in use. */
|
|
2013
|
+
readonly contextTokens: Schema.optional<Schema.Int>;
|
|
2014
|
+
/** The model's context window in tokens, reported with `contextTokens` or not at all. */
|
|
2015
|
+
readonly contextWindow: Schema.optional<Schema.Int>;
|
|
2016
|
+
readonly inputTokens: Schema.Int;
|
|
2017
|
+
/** Model calls the runtime reported for the turn; absent when it reported none. */
|
|
2018
|
+
readonly modelCallCount: Schema.optional<Schema.Int>;
|
|
2019
|
+
readonly outputTokens: Schema.Int;
|
|
2020
|
+
readonly reasoningOutputTokens: Schema.Int;
|
|
2021
|
+
readonly totalTokens: Schema.Int;
|
|
2022
|
+
}>>;
|
|
2023
|
+
}>, Schema.Struct<{
|
|
2024
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
2025
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
2026
|
+
readonly byteLength: Schema.Int;
|
|
2027
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
2028
|
+
readonly name: Schema.String;
|
|
2029
|
+
readonly sha256: Schema.String;
|
|
2030
|
+
}>>>;
|
|
2031
|
+
readonly createdAt: Schema.String;
|
|
2032
|
+
readonly id: Schema.String;
|
|
2033
|
+
readonly input: Schema.Struct<{
|
|
2034
|
+
readonly text: Schema.String;
|
|
2035
|
+
readonly type: Schema.Literal<"text">;
|
|
2036
|
+
}>;
|
|
2037
|
+
readonly revision: Schema.String;
|
|
2038
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
2039
|
+
readonly sessionId: Schema.String;
|
|
2040
|
+
readonly sessionRevision: Schema.String;
|
|
2041
|
+
readonly updatedAt: Schema.String;
|
|
2042
|
+
/** What the runtime reported, when it said why the turn failed. */
|
|
2043
|
+
readonly failure: Schema.optional<Schema.Struct<{
|
|
2044
|
+
readonly code: Schema.String;
|
|
2045
|
+
readonly message: Schema.String;
|
|
2046
|
+
}>>;
|
|
2047
|
+
readonly failureReason: Schema.Literals<readonly ["approval_required", "repository_changed", "runtime_failed", "turn_rejected"]>;
|
|
2048
|
+
readonly state: Schema.Literal<"failed">;
|
|
2049
|
+
}>, Schema.Struct<{
|
|
2050
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
2051
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
2052
|
+
readonly byteLength: Schema.Int;
|
|
2053
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
2054
|
+
readonly name: Schema.String;
|
|
2055
|
+
readonly sha256: Schema.String;
|
|
2056
|
+
}>>>;
|
|
2057
|
+
readonly createdAt: Schema.String;
|
|
2058
|
+
readonly id: Schema.String;
|
|
2059
|
+
readonly input: Schema.Struct<{
|
|
2060
|
+
readonly text: Schema.String;
|
|
2061
|
+
readonly type: Schema.Literal<"text">;
|
|
2062
|
+
}>;
|
|
2063
|
+
readonly revision: Schema.String;
|
|
2064
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
2065
|
+
readonly sessionId: Schema.String;
|
|
2066
|
+
readonly sessionRevision: Schema.String;
|
|
2067
|
+
readonly updatedAt: Schema.String;
|
|
2068
|
+
readonly failure: Schema.optional<Schema.Struct<{
|
|
2069
|
+
readonly code: Schema.String;
|
|
2070
|
+
readonly message: Schema.String;
|
|
2071
|
+
}>>;
|
|
2072
|
+
readonly failureReason: Schema.Literals<readonly ["output_limit_exceeded", "protocol_invalid", "runtime_exited", "turn_deadline_exceeded"]>;
|
|
2073
|
+
readonly state: Schema.Literal<"outcome-unknown">;
|
|
2074
|
+
}>, Schema.Struct<{
|
|
2075
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
2076
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
2077
|
+
readonly byteLength: Schema.Int;
|
|
2078
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
2079
|
+
readonly name: Schema.String;
|
|
2080
|
+
readonly sha256: Schema.String;
|
|
2081
|
+
}>>>;
|
|
2082
|
+
readonly createdAt: Schema.String;
|
|
2083
|
+
readonly id: Schema.String;
|
|
2084
|
+
readonly input: Schema.Struct<{
|
|
2085
|
+
readonly text: Schema.String;
|
|
2086
|
+
readonly type: Schema.Literal<"text">;
|
|
2087
|
+
}>;
|
|
2088
|
+
readonly revision: Schema.String;
|
|
2089
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
2090
|
+
readonly sessionId: Schema.String;
|
|
2091
|
+
readonly sessionRevision: Schema.String;
|
|
2092
|
+
readonly updatedAt: Schema.String;
|
|
2093
|
+
readonly state: Schema.Literal<"interrupted">;
|
|
2094
|
+
}>]>;
|
|
2095
|
+
}>, Schema.Struct<{
|
|
2096
|
+
readonly method: Schema.Literal<"turn.show">;
|
|
2097
|
+
readonly turn: Schema.Union<readonly [Schema.Struct<{
|
|
2098
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
2099
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
2100
|
+
readonly byteLength: Schema.Int;
|
|
2101
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
2102
|
+
readonly name: Schema.String;
|
|
2103
|
+
readonly sha256: Schema.String;
|
|
2104
|
+
}>>>;
|
|
2105
|
+
readonly createdAt: Schema.String;
|
|
2106
|
+
readonly id: Schema.String;
|
|
2107
|
+
readonly input: Schema.Struct<{
|
|
2108
|
+
readonly text: Schema.String;
|
|
2109
|
+
readonly type: Schema.Literal<"text">;
|
|
2110
|
+
}>;
|
|
2111
|
+
readonly revision: Schema.String;
|
|
2112
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
2113
|
+
readonly sessionId: Schema.String;
|
|
2114
|
+
readonly sessionRevision: Schema.String;
|
|
2115
|
+
readonly updatedAt: Schema.String;
|
|
2116
|
+
readonly state: Schema.Literal<"queued">;
|
|
2117
|
+
}>, Schema.Struct<{
|
|
2118
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
2119
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
2120
|
+
readonly byteLength: Schema.Int;
|
|
2121
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
2122
|
+
readonly name: Schema.String;
|
|
2123
|
+
readonly sha256: Schema.String;
|
|
2124
|
+
}>>>;
|
|
2125
|
+
readonly createdAt: Schema.String;
|
|
2126
|
+
readonly id: Schema.String;
|
|
2127
|
+
readonly input: Schema.Struct<{
|
|
1107
2128
|
readonly text: Schema.String;
|
|
1108
2129
|
readonly type: Schema.Literal<"text">;
|
|
1109
2130
|
}>;
|
|
@@ -1114,6 +2135,13 @@ export declare const turnSuccessResultEffectSchema: Schema.Union<readonly [Schem
|
|
|
1114
2135
|
readonly updatedAt: Schema.String;
|
|
1115
2136
|
readonly state: Schema.Literal<"dispatching">;
|
|
1116
2137
|
}>, Schema.Struct<{
|
|
2138
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
2139
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
2140
|
+
readonly byteLength: Schema.Int;
|
|
2141
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
2142
|
+
readonly name: Schema.String;
|
|
2143
|
+
readonly sha256: Schema.String;
|
|
2144
|
+
}>>>;
|
|
1117
2145
|
readonly createdAt: Schema.String;
|
|
1118
2146
|
readonly id: Schema.String;
|
|
1119
2147
|
readonly input: Schema.Struct<{
|
|
@@ -1127,6 +2155,13 @@ export declare const turnSuccessResultEffectSchema: Schema.Union<readonly [Schem
|
|
|
1127
2155
|
readonly updatedAt: Schema.String;
|
|
1128
2156
|
readonly state: Schema.Literal<"running">;
|
|
1129
2157
|
}>, Schema.Struct<{
|
|
2158
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
2159
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
2160
|
+
readonly byteLength: Schema.Int;
|
|
2161
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
2162
|
+
readonly name: Schema.String;
|
|
2163
|
+
readonly sha256: Schema.String;
|
|
2164
|
+
}>>>;
|
|
1130
2165
|
readonly createdAt: Schema.String;
|
|
1131
2166
|
readonly id: Schema.String;
|
|
1132
2167
|
readonly input: Schema.Struct<{
|
|
@@ -1154,6 +2189,13 @@ export declare const turnSuccessResultEffectSchema: Schema.Union<readonly [Schem
|
|
|
1154
2189
|
readonly totalTokens: Schema.Int;
|
|
1155
2190
|
}>>;
|
|
1156
2191
|
}>, Schema.Struct<{
|
|
2192
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
2193
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
2194
|
+
readonly byteLength: Schema.Int;
|
|
2195
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
2196
|
+
readonly name: Schema.String;
|
|
2197
|
+
readonly sha256: Schema.String;
|
|
2198
|
+
}>>>;
|
|
1157
2199
|
readonly createdAt: Schema.String;
|
|
1158
2200
|
readonly id: Schema.String;
|
|
1159
2201
|
readonly input: Schema.Struct<{
|
|
@@ -1173,6 +2215,13 @@ export declare const turnSuccessResultEffectSchema: Schema.Union<readonly [Schem
|
|
|
1173
2215
|
readonly failureReason: Schema.Literals<readonly ["approval_required", "repository_changed", "runtime_failed", "turn_rejected"]>;
|
|
1174
2216
|
readonly state: Schema.Literal<"failed">;
|
|
1175
2217
|
}>, Schema.Struct<{
|
|
2218
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
2219
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
2220
|
+
readonly byteLength: Schema.Int;
|
|
2221
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
2222
|
+
readonly name: Schema.String;
|
|
2223
|
+
readonly sha256: Schema.String;
|
|
2224
|
+
}>>>;
|
|
1176
2225
|
readonly createdAt: Schema.String;
|
|
1177
2226
|
readonly id: Schema.String;
|
|
1178
2227
|
readonly input: Schema.Struct<{
|
|
@@ -1191,6 +2240,13 @@ export declare const turnSuccessResultEffectSchema: Schema.Union<readonly [Schem
|
|
|
1191
2240
|
readonly failureReason: Schema.Literals<readonly ["output_limit_exceeded", "protocol_invalid", "runtime_exited", "turn_deadline_exceeded"]>;
|
|
1192
2241
|
readonly state: Schema.Literal<"outcome-unknown">;
|
|
1193
2242
|
}>, Schema.Struct<{
|
|
2243
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
2244
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
2245
|
+
readonly byteLength: Schema.Int;
|
|
2246
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
2247
|
+
readonly name: Schema.String;
|
|
2248
|
+
readonly sha256: Schema.String;
|
|
2249
|
+
}>>>;
|
|
1194
2250
|
readonly createdAt: Schema.String;
|
|
1195
2251
|
readonly id: Schema.String;
|
|
1196
2252
|
readonly input: Schema.Struct<{
|
|
@@ -1205,8 +2261,200 @@ export declare const turnSuccessResultEffectSchema: Schema.Union<readonly [Schem
|
|
|
1205
2261
|
readonly state: Schema.Literal<"interrupted">;
|
|
1206
2262
|
}>]>;
|
|
1207
2263
|
}>, Schema.Struct<{
|
|
1208
|
-
readonly
|
|
2264
|
+
readonly delivery: Schema.Literals<readonly ["new", "duplicate"]>;
|
|
2265
|
+
readonly method: Schema.Literal<"turn.steer.confirm">;
|
|
2266
|
+
readonly path: Schema.Literals<readonly ["interrupt-restart", "native"]>;
|
|
2267
|
+
readonly receipt: Schema.Struct<{
|
|
2268
|
+
readonly actorId: Schema.String;
|
|
2269
|
+
readonly aggregateRevision: Schema.String;
|
|
2270
|
+
readonly commandId: Schema.String;
|
|
2271
|
+
readonly createdAt: Schema.String;
|
|
2272
|
+
readonly eventCursor: Schema.String;
|
|
2273
|
+
readonly method: Schema.String;
|
|
2274
|
+
readonly proposedBy: Schema.optional<Schema.String>;
|
|
2275
|
+
readonly receiptId: Schema.String;
|
|
2276
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
2277
|
+
readonly state: Schema.Literal<"succeeded">;
|
|
2278
|
+
readonly target: Schema.Struct<{
|
|
2279
|
+
readonly id: Schema.String;
|
|
2280
|
+
readonly type: Schema.String;
|
|
2281
|
+
}>;
|
|
2282
|
+
readonly updatedAt: Schema.String;
|
|
2283
|
+
}>;
|
|
2284
|
+
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
2285
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
2286
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
2287
|
+
readonly byteLength: Schema.Int;
|
|
2288
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
2289
|
+
readonly name: Schema.String;
|
|
2290
|
+
readonly sha256: Schema.String;
|
|
2291
|
+
}>>>;
|
|
2292
|
+
readonly createdAt: Schema.String;
|
|
2293
|
+
readonly id: Schema.String;
|
|
2294
|
+
readonly input: Schema.Struct<{
|
|
2295
|
+
readonly text: Schema.String;
|
|
2296
|
+
readonly type: Schema.Literal<"text">;
|
|
2297
|
+
}>;
|
|
2298
|
+
readonly revision: Schema.String;
|
|
2299
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
2300
|
+
readonly sessionId: Schema.String;
|
|
2301
|
+
readonly sessionRevision: Schema.String;
|
|
2302
|
+
readonly updatedAt: Schema.String;
|
|
2303
|
+
readonly state: Schema.Literal<"queued">;
|
|
2304
|
+
}>, Schema.Struct<{
|
|
2305
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
2306
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
2307
|
+
readonly byteLength: Schema.Int;
|
|
2308
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
2309
|
+
readonly name: Schema.String;
|
|
2310
|
+
readonly sha256: Schema.String;
|
|
2311
|
+
}>>>;
|
|
2312
|
+
readonly createdAt: Schema.String;
|
|
2313
|
+
readonly id: Schema.String;
|
|
2314
|
+
readonly input: Schema.Struct<{
|
|
2315
|
+
readonly text: Schema.String;
|
|
2316
|
+
readonly type: Schema.Literal<"text">;
|
|
2317
|
+
}>;
|
|
2318
|
+
readonly revision: Schema.String;
|
|
2319
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
2320
|
+
readonly sessionId: Schema.String;
|
|
2321
|
+
readonly sessionRevision: Schema.String;
|
|
2322
|
+
readonly updatedAt: Schema.String;
|
|
2323
|
+
readonly state: Schema.Literal<"dispatching">;
|
|
2324
|
+
}>, Schema.Struct<{
|
|
2325
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
2326
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
2327
|
+
readonly byteLength: Schema.Int;
|
|
2328
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
2329
|
+
readonly name: Schema.String;
|
|
2330
|
+
readonly sha256: Schema.String;
|
|
2331
|
+
}>>>;
|
|
2332
|
+
readonly createdAt: Schema.String;
|
|
2333
|
+
readonly id: Schema.String;
|
|
2334
|
+
readonly input: Schema.Struct<{
|
|
2335
|
+
readonly text: Schema.String;
|
|
2336
|
+
readonly type: Schema.Literal<"text">;
|
|
2337
|
+
}>;
|
|
2338
|
+
readonly revision: Schema.String;
|
|
2339
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
2340
|
+
readonly sessionId: Schema.String;
|
|
2341
|
+
readonly sessionRevision: Schema.String;
|
|
2342
|
+
readonly updatedAt: Schema.String;
|
|
2343
|
+
readonly state: Schema.Literal<"running">;
|
|
2344
|
+
}>, Schema.Struct<{
|
|
2345
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
2346
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
2347
|
+
readonly byteLength: Schema.Int;
|
|
2348
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
2349
|
+
readonly name: Schema.String;
|
|
2350
|
+
readonly sha256: Schema.String;
|
|
2351
|
+
}>>>;
|
|
2352
|
+
readonly createdAt: Schema.String;
|
|
2353
|
+
readonly id: Schema.String;
|
|
2354
|
+
readonly input: Schema.Struct<{
|
|
2355
|
+
readonly text: Schema.String;
|
|
2356
|
+
readonly type: Schema.Literal<"text">;
|
|
2357
|
+
}>;
|
|
2358
|
+
readonly revision: Schema.String;
|
|
2359
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
2360
|
+
readonly sessionId: Schema.String;
|
|
2361
|
+
readonly sessionRevision: Schema.String;
|
|
2362
|
+
readonly updatedAt: Schema.String;
|
|
2363
|
+
readonly responseText: Schema.String;
|
|
2364
|
+
readonly state: Schema.Literal<"completed">;
|
|
2365
|
+
readonly tokenUsage: Schema.optional<Schema.Struct<{
|
|
2366
|
+
readonly cachedInputTokens: Schema.Int;
|
|
2367
|
+
/** The input tokens of the turn's last model call: the context in use. */
|
|
2368
|
+
readonly contextTokens: Schema.optional<Schema.Int>;
|
|
2369
|
+
/** The model's context window in tokens, reported with `contextTokens` or not at all. */
|
|
2370
|
+
readonly contextWindow: Schema.optional<Schema.Int>;
|
|
2371
|
+
readonly inputTokens: Schema.Int;
|
|
2372
|
+
/** Model calls the runtime reported for the turn; absent when it reported none. */
|
|
2373
|
+
readonly modelCallCount: Schema.optional<Schema.Int>;
|
|
2374
|
+
readonly outputTokens: Schema.Int;
|
|
2375
|
+
readonly reasoningOutputTokens: Schema.Int;
|
|
2376
|
+
readonly totalTokens: Schema.Int;
|
|
2377
|
+
}>>;
|
|
2378
|
+
}>, Schema.Struct<{
|
|
2379
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
2380
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
2381
|
+
readonly byteLength: Schema.Int;
|
|
2382
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
2383
|
+
readonly name: Schema.String;
|
|
2384
|
+
readonly sha256: Schema.String;
|
|
2385
|
+
}>>>;
|
|
2386
|
+
readonly createdAt: Schema.String;
|
|
2387
|
+
readonly id: Schema.String;
|
|
2388
|
+
readonly input: Schema.Struct<{
|
|
2389
|
+
readonly text: Schema.String;
|
|
2390
|
+
readonly type: Schema.Literal<"text">;
|
|
2391
|
+
}>;
|
|
2392
|
+
readonly revision: Schema.String;
|
|
2393
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
2394
|
+
readonly sessionId: Schema.String;
|
|
2395
|
+
readonly sessionRevision: Schema.String;
|
|
2396
|
+
readonly updatedAt: Schema.String;
|
|
2397
|
+
/** What the runtime reported, when it said why the turn failed. */
|
|
2398
|
+
readonly failure: Schema.optional<Schema.Struct<{
|
|
2399
|
+
readonly code: Schema.String;
|
|
2400
|
+
readonly message: Schema.String;
|
|
2401
|
+
}>>;
|
|
2402
|
+
readonly failureReason: Schema.Literals<readonly ["approval_required", "repository_changed", "runtime_failed", "turn_rejected"]>;
|
|
2403
|
+
readonly state: Schema.Literal<"failed">;
|
|
2404
|
+
}>, Schema.Struct<{
|
|
2405
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
2406
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
2407
|
+
readonly byteLength: Schema.Int;
|
|
2408
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
2409
|
+
readonly name: Schema.String;
|
|
2410
|
+
readonly sha256: Schema.String;
|
|
2411
|
+
}>>>;
|
|
2412
|
+
readonly createdAt: Schema.String;
|
|
2413
|
+
readonly id: Schema.String;
|
|
2414
|
+
readonly input: Schema.Struct<{
|
|
2415
|
+
readonly text: Schema.String;
|
|
2416
|
+
readonly type: Schema.Literal<"text">;
|
|
2417
|
+
}>;
|
|
2418
|
+
readonly revision: Schema.String;
|
|
2419
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
2420
|
+
readonly sessionId: Schema.String;
|
|
2421
|
+
readonly sessionRevision: Schema.String;
|
|
2422
|
+
readonly updatedAt: Schema.String;
|
|
2423
|
+
readonly failure: Schema.optional<Schema.Struct<{
|
|
2424
|
+
readonly code: Schema.String;
|
|
2425
|
+
readonly message: Schema.String;
|
|
2426
|
+
}>>;
|
|
2427
|
+
readonly failureReason: Schema.Literals<readonly ["output_limit_exceeded", "protocol_invalid", "runtime_exited", "turn_deadline_exceeded"]>;
|
|
2428
|
+
readonly state: Schema.Literal<"outcome-unknown">;
|
|
2429
|
+
}>, Schema.Struct<{
|
|
2430
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
2431
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
2432
|
+
readonly byteLength: Schema.Int;
|
|
2433
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
2434
|
+
readonly name: Schema.String;
|
|
2435
|
+
readonly sha256: Schema.String;
|
|
2436
|
+
}>>>;
|
|
2437
|
+
readonly createdAt: Schema.String;
|
|
2438
|
+
readonly id: Schema.String;
|
|
2439
|
+
readonly input: Schema.Struct<{
|
|
2440
|
+
readonly text: Schema.String;
|
|
2441
|
+
readonly type: Schema.Literal<"text">;
|
|
2442
|
+
}>;
|
|
2443
|
+
readonly revision: Schema.String;
|
|
2444
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
2445
|
+
readonly sessionId: Schema.String;
|
|
2446
|
+
readonly sessionRevision: Schema.String;
|
|
2447
|
+
readonly updatedAt: Schema.String;
|
|
2448
|
+
readonly state: Schema.Literal<"interrupted">;
|
|
2449
|
+
}>]>;
|
|
1209
2450
|
readonly turn: Schema.Union<readonly [Schema.Struct<{
|
|
2451
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
2452
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
2453
|
+
readonly byteLength: Schema.Int;
|
|
2454
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
2455
|
+
readonly name: Schema.String;
|
|
2456
|
+
readonly sha256: Schema.String;
|
|
2457
|
+
}>>>;
|
|
1210
2458
|
readonly createdAt: Schema.String;
|
|
1211
2459
|
readonly id: Schema.String;
|
|
1212
2460
|
readonly input: Schema.Struct<{
|
|
@@ -1220,6 +2468,13 @@ export declare const turnSuccessResultEffectSchema: Schema.Union<readonly [Schem
|
|
|
1220
2468
|
readonly updatedAt: Schema.String;
|
|
1221
2469
|
readonly state: Schema.Literal<"queued">;
|
|
1222
2470
|
}>, Schema.Struct<{
|
|
2471
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
2472
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
2473
|
+
readonly byteLength: Schema.Int;
|
|
2474
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
2475
|
+
readonly name: Schema.String;
|
|
2476
|
+
readonly sha256: Schema.String;
|
|
2477
|
+
}>>>;
|
|
1223
2478
|
readonly createdAt: Schema.String;
|
|
1224
2479
|
readonly id: Schema.String;
|
|
1225
2480
|
readonly input: Schema.Struct<{
|
|
@@ -1233,6 +2488,13 @@ export declare const turnSuccessResultEffectSchema: Schema.Union<readonly [Schem
|
|
|
1233
2488
|
readonly updatedAt: Schema.String;
|
|
1234
2489
|
readonly state: Schema.Literal<"dispatching">;
|
|
1235
2490
|
}>, Schema.Struct<{
|
|
2491
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
2492
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
2493
|
+
readonly byteLength: Schema.Int;
|
|
2494
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
2495
|
+
readonly name: Schema.String;
|
|
2496
|
+
readonly sha256: Schema.String;
|
|
2497
|
+
}>>>;
|
|
1236
2498
|
readonly createdAt: Schema.String;
|
|
1237
2499
|
readonly id: Schema.String;
|
|
1238
2500
|
readonly input: Schema.Struct<{
|
|
@@ -1246,6 +2508,13 @@ export declare const turnSuccessResultEffectSchema: Schema.Union<readonly [Schem
|
|
|
1246
2508
|
readonly updatedAt: Schema.String;
|
|
1247
2509
|
readonly state: Schema.Literal<"running">;
|
|
1248
2510
|
}>, Schema.Struct<{
|
|
2511
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
2512
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
2513
|
+
readonly byteLength: Schema.Int;
|
|
2514
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
2515
|
+
readonly name: Schema.String;
|
|
2516
|
+
readonly sha256: Schema.String;
|
|
2517
|
+
}>>>;
|
|
1249
2518
|
readonly createdAt: Schema.String;
|
|
1250
2519
|
readonly id: Schema.String;
|
|
1251
2520
|
readonly input: Schema.Struct<{
|
|
@@ -1273,6 +2542,13 @@ export declare const turnSuccessResultEffectSchema: Schema.Union<readonly [Schem
|
|
|
1273
2542
|
readonly totalTokens: Schema.Int;
|
|
1274
2543
|
}>>;
|
|
1275
2544
|
}>, Schema.Struct<{
|
|
2545
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
2546
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
2547
|
+
readonly byteLength: Schema.Int;
|
|
2548
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
2549
|
+
readonly name: Schema.String;
|
|
2550
|
+
readonly sha256: Schema.String;
|
|
2551
|
+
}>>>;
|
|
1276
2552
|
readonly createdAt: Schema.String;
|
|
1277
2553
|
readonly id: Schema.String;
|
|
1278
2554
|
readonly input: Schema.Struct<{
|
|
@@ -1292,6 +2568,13 @@ export declare const turnSuccessResultEffectSchema: Schema.Union<readonly [Schem
|
|
|
1292
2568
|
readonly failureReason: Schema.Literals<readonly ["approval_required", "repository_changed", "runtime_failed", "turn_rejected"]>;
|
|
1293
2569
|
readonly state: Schema.Literal<"failed">;
|
|
1294
2570
|
}>, Schema.Struct<{
|
|
2571
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
2572
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
2573
|
+
readonly byteLength: Schema.Int;
|
|
2574
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
2575
|
+
readonly name: Schema.String;
|
|
2576
|
+
readonly sha256: Schema.String;
|
|
2577
|
+
}>>>;
|
|
1295
2578
|
readonly createdAt: Schema.String;
|
|
1296
2579
|
readonly id: Schema.String;
|
|
1297
2580
|
readonly input: Schema.Struct<{
|
|
@@ -1310,6 +2593,13 @@ export declare const turnSuccessResultEffectSchema: Schema.Union<readonly [Schem
|
|
|
1310
2593
|
readonly failureReason: Schema.Literals<readonly ["output_limit_exceeded", "protocol_invalid", "runtime_exited", "turn_deadline_exceeded"]>;
|
|
1311
2594
|
readonly state: Schema.Literal<"outcome-unknown">;
|
|
1312
2595
|
}>, Schema.Struct<{
|
|
2596
|
+
/** The files sent with the turn; absent when it carried none. */
|
|
2597
|
+
readonly attachments: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
2598
|
+
readonly byteLength: Schema.Int;
|
|
2599
|
+
readonly mediaType: Schema.Literals<readonly ["image/gif", "image/jpeg", "image/png", "image/webp"]>;
|
|
2600
|
+
readonly name: Schema.String;
|
|
2601
|
+
readonly sha256: Schema.String;
|
|
2602
|
+
}>>>;
|
|
1313
2603
|
readonly createdAt: Schema.String;
|
|
1314
2604
|
readonly id: Schema.String;
|
|
1315
2605
|
readonly input: Schema.Struct<{
|
|
@@ -1323,6 +2613,19 @@ export declare const turnSuccessResultEffectSchema: Schema.Union<readonly [Schem
|
|
|
1323
2613
|
readonly updatedAt: Schema.String;
|
|
1324
2614
|
readonly state: Schema.Literal<"interrupted">;
|
|
1325
2615
|
}>]>;
|
|
2616
|
+
}>, Schema.Struct<{
|
|
2617
|
+
readonly commandId: Schema.String;
|
|
2618
|
+
readonly expectedRevision: Schema.String;
|
|
2619
|
+
readonly input: Schema.Struct<{
|
|
2620
|
+
readonly text: Schema.String;
|
|
2621
|
+
readonly type: Schema.Literal<"text">;
|
|
2622
|
+
}>;
|
|
2623
|
+
readonly inputDigest: Schema.String;
|
|
2624
|
+
readonly proof: Schema.String;
|
|
2625
|
+
readonly turnId: Schema.String;
|
|
2626
|
+
readonly validUntil: Schema.String;
|
|
2627
|
+
readonly method: Schema.Literal<"turn.steer.preview">;
|
|
2628
|
+
readonly path: Schema.Literals<readonly ["interrupt-restart", "native"]>;
|
|
1326
2629
|
}>, Schema.Struct<{
|
|
1327
2630
|
readonly method: Schema.Literal<"turn.wait">;
|
|
1328
2631
|
readonly satisfied: Schema.Boolean;
|