@maiaos/protocol 0.1.0-canary.64 → 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
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { InferRuntimeSchema } from "../runtime-schema/index.js";
|
|
2
2
|
import type { SessionObserveResult } from "./observation-contract.js";
|
|
3
|
+
import type { SessionPlacementShowResult } from "./placement/index.js";
|
|
3
4
|
import type { SessionResumeResult, SessionStopResult } from "./stop-resume-contract.js";
|
|
4
5
|
export declare const sessionSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
5
6
|
readonly createdAt: string;
|
|
@@ -20,18 +21,27 @@ export declare const sessionSchema: import("../runtime-schema/runtime-schema.js"
|
|
|
20
21
|
readonly executor?: {
|
|
21
22
|
readonly connectionId: string;
|
|
22
23
|
readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
|
|
23
|
-
readonly kind:
|
|
24
|
+
readonly kind: string;
|
|
24
25
|
readonly model?: string | undefined;
|
|
25
26
|
} | undefined;
|
|
26
27
|
readonly failure?: {
|
|
27
28
|
readonly code: string;
|
|
28
29
|
readonly message: string;
|
|
29
30
|
} | undefined;
|
|
31
|
+
readonly heldTaskCount?: number | undefined;
|
|
32
|
+
readonly heldTasks?: readonly {
|
|
33
|
+
readonly claimedAt: string;
|
|
34
|
+
readonly id: string;
|
|
35
|
+
readonly leaseExpiresAt: string;
|
|
36
|
+
readonly state: "claimed";
|
|
37
|
+
readonly title: string;
|
|
38
|
+
}[] | undefined;
|
|
30
39
|
readonly labels?: {
|
|
31
40
|
readonly [x: string]: string;
|
|
32
41
|
} | undefined;
|
|
33
42
|
readonly latestTurnId?: string | undefined;
|
|
34
43
|
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
44
|
+
readonly parentSessionId?: string | undefined;
|
|
35
45
|
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
36
46
|
readonly prompt?: {
|
|
37
47
|
readonly approvalId: string;
|
|
@@ -89,7 +99,7 @@ export declare const sessionEventSchema: import("../runtime-schema/runtime-schem
|
|
|
89
99
|
readonly executor?: {
|
|
90
100
|
readonly connectionId: string;
|
|
91
101
|
readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
|
|
92
|
-
readonly kind:
|
|
102
|
+
readonly kind: string;
|
|
93
103
|
readonly model?: string | undefined;
|
|
94
104
|
} | undefined;
|
|
95
105
|
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
@@ -319,7 +329,7 @@ export declare const sessionCreateParametersSchema: import("../runtime-schema/ru
|
|
|
319
329
|
readonly version: string;
|
|
320
330
|
} | undefined;
|
|
321
331
|
readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
|
|
322
|
-
readonly executor?:
|
|
332
|
+
readonly executor?: string | undefined;
|
|
323
333
|
readonly hostAuthority?: true | undefined;
|
|
324
334
|
readonly labels?: {
|
|
325
335
|
readonly [x: string]: string;
|
|
@@ -330,9 +340,12 @@ export declare const sessionCreateParametersSchema: import("../runtime-schema/ru
|
|
|
330
340
|
readonly title?: string | undefined;
|
|
331
341
|
readonly worktree?: {
|
|
332
342
|
readonly baseRef: string;
|
|
343
|
+
readonly branch?: string | undefined;
|
|
333
344
|
} | undefined;
|
|
334
345
|
}>;
|
|
335
346
|
export type SessionCreateParameters = InferRuntimeSchema<typeof sessionCreateParametersSchema>;
|
|
347
|
+
/** An executor id: lowercase kebab text; the Node's registry decides which ids exist. */
|
|
348
|
+
export declare const sessionExecutorKindSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<string>;
|
|
336
349
|
export declare const sessionMailboxSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
337
350
|
readonly contentBytes: string;
|
|
338
351
|
readonly createdAt: string;
|
|
@@ -426,6 +439,7 @@ export declare const sessionListParametersSchema: import("../runtime-schema/runt
|
|
|
426
439
|
readonly [x: string]: string;
|
|
427
440
|
} | undefined;
|
|
428
441
|
readonly limit?: number | undefined;
|
|
442
|
+
readonly parentSessionId?: string | undefined;
|
|
429
443
|
readonly projectId?: string | undefined;
|
|
430
444
|
readonly settled?: true | undefined;
|
|
431
445
|
readonly states?: readonly ("failed" | "idle" | "interrupted" | "recovering" | "running" | "starting" | "stopped" | "stopping" | "waiting-approval")[] | undefined;
|
|
@@ -464,116 +478,27 @@ export declare const sessionWaitResultSchema: import("../runtime-schema/runtime-
|
|
|
464
478
|
readonly executor?: {
|
|
465
479
|
readonly connectionId: string;
|
|
466
480
|
readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
|
|
467
|
-
readonly kind:
|
|
481
|
+
readonly kind: string;
|
|
468
482
|
readonly model?: string | undefined;
|
|
469
483
|
} | undefined;
|
|
470
484
|
readonly failure?: {
|
|
471
485
|
readonly code: string;
|
|
472
486
|
readonly message: string;
|
|
473
487
|
} | undefined;
|
|
474
|
-
readonly
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
readonly latestTurnId?: string | undefined;
|
|
478
|
-
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
479
|
-
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
480
|
-
readonly prompt?: {
|
|
481
|
-
readonly approvalId: string;
|
|
482
|
-
readonly expiresAt: string;
|
|
483
|
-
readonly kind: "command" | "file_change" | "question" | "tool";
|
|
484
|
-
readonly options?: readonly {
|
|
485
|
-
readonly label: string;
|
|
486
|
-
readonly optionId: string;
|
|
487
|
-
}[] | undefined;
|
|
488
|
-
readonly summary?: string | undefined;
|
|
489
|
-
} | undefined;
|
|
490
|
-
readonly recovery?: {
|
|
491
|
-
readonly code: string;
|
|
492
|
-
readonly message: string;
|
|
493
|
-
} | undefined;
|
|
494
|
-
readonly schemaVersion: 4;
|
|
495
|
-
readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
|
|
496
|
-
readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
|
|
497
|
-
readonly title?: string | undefined;
|
|
498
|
-
readonly worktree?: {
|
|
499
|
-
readonly baseRef: string;
|
|
500
|
-
readonly baseRevision: string;
|
|
501
|
-
readonly branch: string;
|
|
502
|
-
readonly setup: "failed" | "none" | "pending" | "succeeded";
|
|
503
|
-
readonly skills?: readonly {
|
|
504
|
-
readonly digest: string;
|
|
505
|
-
readonly name: string;
|
|
506
|
-
}[] | undefined;
|
|
507
|
-
readonly state: "active" | "archived" | "removed";
|
|
508
|
-
} | undefined;
|
|
509
|
-
};
|
|
510
|
-
}>;
|
|
511
|
-
export type SessionWaitResult = InferRuntimeSchema<typeof sessionWaitResultSchema>;
|
|
512
|
-
export declare const sessionSpawnParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
513
|
-
readonly commandId: string;
|
|
514
|
-
readonly expectedRevision: "0";
|
|
515
|
-
readonly workspaceId: string;
|
|
516
|
-
readonly definitionRef?: {
|
|
517
|
-
readonly contentDigest: string;
|
|
518
|
-
readonly key: string;
|
|
519
|
-
readonly version: string;
|
|
520
|
-
} | undefined;
|
|
521
|
-
readonly harness: "maia-agent" | "pi";
|
|
522
|
-
readonly parentSessionId: string;
|
|
523
|
-
}>;
|
|
524
|
-
export type SessionSpawnParameters = InferRuntimeSchema<typeof sessionSpawnParametersSchema>;
|
|
525
|
-
export declare const sessionSpawnResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
526
|
-
readonly delivery: "duplicate" | "new";
|
|
527
|
-
readonly harness: "maia-agent" | "pi";
|
|
528
|
-
readonly method: "session.spawn";
|
|
529
|
-
readonly parentSessionId: string;
|
|
530
|
-
readonly receipt: {
|
|
531
|
-
readonly actorId: string;
|
|
532
|
-
readonly aggregateRevision: string;
|
|
533
|
-
readonly commandId: string;
|
|
534
|
-
readonly createdAt: string;
|
|
535
|
-
readonly eventCursor: string;
|
|
536
|
-
readonly method: string;
|
|
537
|
-
readonly receiptId: string;
|
|
538
|
-
readonly schemaVersion: 1;
|
|
539
|
-
readonly state: "succeeded";
|
|
540
|
-
readonly target: {
|
|
488
|
+
readonly heldTaskCount?: number | undefined;
|
|
489
|
+
readonly heldTasks?: readonly {
|
|
490
|
+
readonly claimedAt: string;
|
|
541
491
|
readonly id: string;
|
|
542
|
-
readonly
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
readonly session: {
|
|
547
|
-
readonly createdAt: string;
|
|
548
|
-
readonly id: string;
|
|
549
|
-
readonly projectId: string;
|
|
550
|
-
readonly revision: string;
|
|
551
|
-
readonly state: "failed" | "idle" | "interrupted" | "recovering" | "running" | "starting" | "stopped" | "stopping" | "waiting-approval";
|
|
552
|
-
readonly updatedAt: string;
|
|
553
|
-
readonly workspaceId: string;
|
|
554
|
-
readonly workspaceRevision: string;
|
|
555
|
-
readonly activity?: "idle" | "stopped" | "waiting_approval" | "working" | undefined;
|
|
556
|
-
readonly agentDefinitionRef?: {
|
|
557
|
-
readonly contentDigest: string;
|
|
558
|
-
readonly key: string;
|
|
559
|
-
readonly version: string;
|
|
560
|
-
} | undefined;
|
|
561
|
-
readonly containment?: "none" | undefined;
|
|
562
|
-
readonly executor?: {
|
|
563
|
-
readonly connectionId: string;
|
|
564
|
-
readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
|
|
565
|
-
readonly kind: "claude-code" | "codex-cli";
|
|
566
|
-
readonly model?: string | undefined;
|
|
567
|
-
} | undefined;
|
|
568
|
-
readonly failure?: {
|
|
569
|
-
readonly code: string;
|
|
570
|
-
readonly message: string;
|
|
571
|
-
} | undefined;
|
|
492
|
+
readonly leaseExpiresAt: string;
|
|
493
|
+
readonly state: "claimed";
|
|
494
|
+
readonly title: string;
|
|
495
|
+
}[] | undefined;
|
|
572
496
|
readonly labels?: {
|
|
573
497
|
readonly [x: string]: string;
|
|
574
498
|
} | undefined;
|
|
575
499
|
readonly latestTurnId?: string | undefined;
|
|
576
500
|
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
501
|
+
readonly parentSessionId?: string | undefined;
|
|
577
502
|
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
578
503
|
readonly prompt?: {
|
|
579
504
|
readonly approvalId: string;
|
|
@@ -606,7 +531,7 @@ export declare const sessionSpawnResultSchema: import("../runtime-schema/runtime
|
|
|
606
531
|
} | undefined;
|
|
607
532
|
};
|
|
608
533
|
}>;
|
|
609
|
-
export type
|
|
534
|
+
export type SessionWaitResult = InferRuntimeSchema<typeof sessionWaitResultSchema>;
|
|
610
535
|
export declare const sessionEventsListParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
611
536
|
readonly afterSessionCursor: string;
|
|
612
537
|
readonly limit: number;
|
|
@@ -623,6 +548,7 @@ export declare const sessionCreateResultSchema: import("../runtime-schema/runtim
|
|
|
623
548
|
readonly createdAt: string;
|
|
624
549
|
readonly eventCursor: string;
|
|
625
550
|
readonly method: string;
|
|
551
|
+
readonly proposedBy?: string | undefined;
|
|
626
552
|
readonly receiptId: string;
|
|
627
553
|
readonly schemaVersion: 1;
|
|
628
554
|
readonly state: "succeeded";
|
|
@@ -651,18 +577,27 @@ export declare const sessionCreateResultSchema: import("../runtime-schema/runtim
|
|
|
651
577
|
readonly executor?: {
|
|
652
578
|
readonly connectionId: string;
|
|
653
579
|
readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
|
|
654
|
-
readonly kind:
|
|
580
|
+
readonly kind: string;
|
|
655
581
|
readonly model?: string | undefined;
|
|
656
582
|
} | undefined;
|
|
657
583
|
readonly failure?: {
|
|
658
584
|
readonly code: string;
|
|
659
585
|
readonly message: string;
|
|
660
586
|
} | undefined;
|
|
587
|
+
readonly heldTaskCount?: number | undefined;
|
|
588
|
+
readonly heldTasks?: readonly {
|
|
589
|
+
readonly claimedAt: string;
|
|
590
|
+
readonly id: string;
|
|
591
|
+
readonly leaseExpiresAt: string;
|
|
592
|
+
readonly state: "claimed";
|
|
593
|
+
readonly title: string;
|
|
594
|
+
}[] | undefined;
|
|
661
595
|
readonly labels?: {
|
|
662
596
|
readonly [x: string]: string;
|
|
663
597
|
} | undefined;
|
|
664
598
|
readonly latestTurnId?: string | undefined;
|
|
665
599
|
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
600
|
+
readonly parentSessionId?: string | undefined;
|
|
666
601
|
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
667
602
|
readonly prompt?: {
|
|
668
603
|
readonly approvalId: string;
|
|
@@ -719,6 +654,7 @@ export declare const sessionMessageSendResultSchema: import("../runtime-schema/r
|
|
|
719
654
|
readonly createdAt: string;
|
|
720
655
|
readonly eventCursor: string;
|
|
721
656
|
readonly method: string;
|
|
657
|
+
readonly proposedBy?: string | undefined;
|
|
722
658
|
readonly receiptId: string;
|
|
723
659
|
readonly schemaVersion: 1;
|
|
724
660
|
readonly state: "succeeded";
|
|
@@ -803,6 +739,7 @@ export declare const sessionInboxAckResultSchema: import("../runtime-schema/runt
|
|
|
803
739
|
readonly createdAt: string;
|
|
804
740
|
readonly eventCursor: string;
|
|
805
741
|
readonly method: string;
|
|
742
|
+
readonly proposedBy?: string | undefined;
|
|
806
743
|
readonly receiptId: string;
|
|
807
744
|
readonly schemaVersion: 1;
|
|
808
745
|
readonly state: "succeeded";
|
|
@@ -838,18 +775,27 @@ export declare const sessionListResultSchema: import("../runtime-schema/runtime-
|
|
|
838
775
|
readonly executor?: {
|
|
839
776
|
readonly connectionId: string;
|
|
840
777
|
readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
|
|
841
|
-
readonly kind:
|
|
778
|
+
readonly kind: string;
|
|
842
779
|
readonly model?: string | undefined;
|
|
843
780
|
} | undefined;
|
|
844
781
|
readonly failure?: {
|
|
845
782
|
readonly code: string;
|
|
846
783
|
readonly message: string;
|
|
847
784
|
} | undefined;
|
|
785
|
+
readonly heldTaskCount?: number | undefined;
|
|
786
|
+
readonly heldTasks?: readonly {
|
|
787
|
+
readonly claimedAt: string;
|
|
788
|
+
readonly id: string;
|
|
789
|
+
readonly leaseExpiresAt: string;
|
|
790
|
+
readonly state: "claimed";
|
|
791
|
+
readonly title: string;
|
|
792
|
+
}[] | undefined;
|
|
848
793
|
readonly labels?: {
|
|
849
794
|
readonly [x: string]: string;
|
|
850
795
|
} | undefined;
|
|
851
796
|
readonly latestTurnId?: string | undefined;
|
|
852
797
|
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
798
|
+
readonly parentSessionId?: string | undefined;
|
|
853
799
|
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
854
800
|
readonly prompt?: {
|
|
855
801
|
readonly approvalId: string;
|
|
@@ -887,6 +833,14 @@ export declare const sessionListResultSchema: import("../runtime-schema/runtime-
|
|
|
887
833
|
export type SessionListResult = InferRuntimeSchema<typeof sessionListResultSchema>;
|
|
888
834
|
export declare const sessionShowResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
889
835
|
readonly method: "session.show";
|
|
836
|
+
readonly remoteChildren?: readonly {
|
|
837
|
+
readonly linkedAt: string;
|
|
838
|
+
readonly node: string;
|
|
839
|
+
readonly observedState?: "failed" | "idle" | "interrupted" | "recovering" | "running" | "starting" | "stopped" | "stopping" | "waiting-approval" | undefined;
|
|
840
|
+
readonly orphanedAt?: string | undefined;
|
|
841
|
+
readonly sessionId: string;
|
|
842
|
+
readonly state: "linked" | "orphaned";
|
|
843
|
+
}[] | undefined;
|
|
890
844
|
readonly session: {
|
|
891
845
|
readonly createdAt: string;
|
|
892
846
|
readonly id: string;
|
|
@@ -906,18 +860,27 @@ export declare const sessionShowResultSchema: import("../runtime-schema/runtime-
|
|
|
906
860
|
readonly executor?: {
|
|
907
861
|
readonly connectionId: string;
|
|
908
862
|
readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
|
|
909
|
-
readonly kind:
|
|
863
|
+
readonly kind: string;
|
|
910
864
|
readonly model?: string | undefined;
|
|
911
865
|
} | undefined;
|
|
912
866
|
readonly failure?: {
|
|
913
867
|
readonly code: string;
|
|
914
868
|
readonly message: string;
|
|
915
869
|
} | undefined;
|
|
870
|
+
readonly heldTaskCount?: number | undefined;
|
|
871
|
+
readonly heldTasks?: readonly {
|
|
872
|
+
readonly claimedAt: string;
|
|
873
|
+
readonly id: string;
|
|
874
|
+
readonly leaseExpiresAt: string;
|
|
875
|
+
readonly state: "claimed";
|
|
876
|
+
readonly title: string;
|
|
877
|
+
}[] | undefined;
|
|
916
878
|
readonly labels?: {
|
|
917
879
|
readonly [x: string]: string;
|
|
918
880
|
} | undefined;
|
|
919
881
|
readonly latestTurnId?: string | undefined;
|
|
920
882
|
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
883
|
+
readonly parentSessionId?: string | undefined;
|
|
921
884
|
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
922
885
|
readonly prompt?: {
|
|
923
886
|
readonly approvalId: string;
|
|
@@ -973,7 +936,7 @@ export declare const sessionEventsListResultSchema: import("../runtime-schema/ru
|
|
|
973
936
|
readonly executor?: {
|
|
974
937
|
readonly connectionId: string;
|
|
975
938
|
readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
|
|
976
|
-
readonly kind:
|
|
939
|
+
readonly kind: string;
|
|
977
940
|
readonly model?: string | undefined;
|
|
978
941
|
} | undefined;
|
|
979
942
|
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
@@ -1211,6 +1174,7 @@ export declare const sessionStartResultSchema: import("../runtime-schema/runtime
|
|
|
1211
1174
|
readonly createdAt: string;
|
|
1212
1175
|
readonly eventCursor: string;
|
|
1213
1176
|
readonly method: string;
|
|
1177
|
+
readonly proposedBy?: string | undefined;
|
|
1214
1178
|
readonly receiptId: string;
|
|
1215
1179
|
readonly schemaVersion: 1;
|
|
1216
1180
|
readonly state: "succeeded";
|
|
@@ -1239,18 +1203,27 @@ export declare const sessionStartResultSchema: import("../runtime-schema/runtime
|
|
|
1239
1203
|
readonly executor?: {
|
|
1240
1204
|
readonly connectionId: string;
|
|
1241
1205
|
readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
|
|
1242
|
-
readonly kind:
|
|
1206
|
+
readonly kind: string;
|
|
1243
1207
|
readonly model?: string | undefined;
|
|
1244
1208
|
} | undefined;
|
|
1245
1209
|
readonly failure?: {
|
|
1246
1210
|
readonly code: string;
|
|
1247
1211
|
readonly message: string;
|
|
1248
1212
|
} | undefined;
|
|
1213
|
+
readonly heldTaskCount?: number | undefined;
|
|
1214
|
+
readonly heldTasks?: readonly {
|
|
1215
|
+
readonly claimedAt: string;
|
|
1216
|
+
readonly id: string;
|
|
1217
|
+
readonly leaseExpiresAt: string;
|
|
1218
|
+
readonly state: "claimed";
|
|
1219
|
+
readonly title: string;
|
|
1220
|
+
}[] | undefined;
|
|
1249
1221
|
readonly labels?: {
|
|
1250
1222
|
readonly [x: string]: string;
|
|
1251
1223
|
} | undefined;
|
|
1252
1224
|
readonly latestTurnId?: string | undefined;
|
|
1253
1225
|
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
1226
|
+
readonly parentSessionId?: string | undefined;
|
|
1254
1227
|
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
1255
1228
|
readonly prompt?: {
|
|
1256
1229
|
readonly approvalId: string;
|
|
@@ -1284,9 +1257,11 @@ export declare const sessionStartResultSchema: import("../runtime-schema/runtime
|
|
|
1284
1257
|
};
|
|
1285
1258
|
}>;
|
|
1286
1259
|
export type SessionStartResult = InferRuntimeSchema<typeof sessionStartResultSchema>;
|
|
1287
|
-
export type SessionResult = SessionArchiveResult | SessionCreateResult | SessionDiffResult | SessionEventsListResult | SessionInboxAckResult | SessionInboxCheckResult | SessionListResult | SessionMessageSendResult | SessionObserveResult | SessionRenameResult | SessionResumeResult | SessionShowResult |
|
|
1260
|
+
export type SessionResult = SessionArchiveResult | SessionCreateResult | SessionDiffResult | SessionEventsListResult | SessionForkConfirmResult | SessionForkPreviewResult | SessionGitStatusResult | SessionInboxAckResult | SessionInboxCheckResult | SessionListResult | SessionMessageSendResult | SessionObserveResult | SessionPlacementShowResult | SessionRenameResult | SessionResumeResult | SessionSetupConfirmResult | SessionSetupPreviewResult | SessionShowResult | SessionSpawnConfirmResult | SessionSpawnPreviewResult | SessionStartResult | SessionStopResult | SessionSwitchConfirmResult | SessionSwitchPreviewResult | SessionWaitResult;
|
|
1288
1261
|
export declare const sessionBaseRefSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<string>;
|
|
1289
1262
|
export type SessionBaseRef = InferRuntimeSchema<typeof sessionBaseRefSchema>;
|
|
1263
|
+
/** The branch a coding Session may name for its new worktree. */
|
|
1264
|
+
export declare const sessionBranchNameSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<string>;
|
|
1290
1265
|
export declare const sessionWorktreeSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1291
1266
|
readonly baseRef: string;
|
|
1292
1267
|
readonly baseRevision: string;
|
|
@@ -1323,6 +1298,29 @@ export declare const sessionDiffResultSchema: import("../runtime-schema/runtime-
|
|
|
1323
1298
|
readonly totalFiles: number;
|
|
1324
1299
|
}>;
|
|
1325
1300
|
export type SessionDiffResult = InferRuntimeSchema<typeof sessionDiffResultSchema>;
|
|
1301
|
+
export declare const sessionGitStatusParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1302
|
+
readonly sessionId: string;
|
|
1303
|
+
}>;
|
|
1304
|
+
export type SessionGitStatusParameters = InferRuntimeSchema<typeof sessionGitStatusParametersSchema>;
|
|
1305
|
+
export declare const sessionGitStatusResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1306
|
+
readonly ahead?: number | undefined;
|
|
1307
|
+
readonly baseRef: string;
|
|
1308
|
+
readonly baseRevision?: string | undefined;
|
|
1309
|
+
readonly behind?: number | undefined;
|
|
1310
|
+
readonly branch?: string | undefined;
|
|
1311
|
+
readonly changedFiles: number;
|
|
1312
|
+
readonly dirty: boolean;
|
|
1313
|
+
readonly headRevision: string;
|
|
1314
|
+
readonly method: "session.git.status";
|
|
1315
|
+
readonly observedAt: string;
|
|
1316
|
+
readonly sessionId: string;
|
|
1317
|
+
readonly upstream?: {
|
|
1318
|
+
readonly ahead?: number | undefined;
|
|
1319
|
+
readonly behind?: number | undefined;
|
|
1320
|
+
readonly name: string;
|
|
1321
|
+
} | undefined;
|
|
1322
|
+
}>;
|
|
1323
|
+
export type SessionGitStatusResult = InferRuntimeSchema<typeof sessionGitStatusResultSchema>;
|
|
1326
1324
|
export declare const sessionArchiveParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1327
1325
|
readonly commandId: string;
|
|
1328
1326
|
readonly expectedRevision: string;
|
|
@@ -1347,6 +1345,7 @@ export declare const sessionArchiveResultSchema: import("../runtime-schema/runti
|
|
|
1347
1345
|
readonly createdAt: string;
|
|
1348
1346
|
readonly eventCursor: string;
|
|
1349
1347
|
readonly method: string;
|
|
1348
|
+
readonly proposedBy?: string | undefined;
|
|
1350
1349
|
readonly receiptId: string;
|
|
1351
1350
|
readonly schemaVersion: 1;
|
|
1352
1351
|
readonly state: "succeeded";
|
|
@@ -1375,18 +1374,27 @@ export declare const sessionArchiveResultSchema: import("../runtime-schema/runti
|
|
|
1375
1374
|
readonly executor?: {
|
|
1376
1375
|
readonly connectionId: string;
|
|
1377
1376
|
readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
|
|
1378
|
-
readonly kind:
|
|
1377
|
+
readonly kind: string;
|
|
1379
1378
|
readonly model?: string | undefined;
|
|
1380
1379
|
} | undefined;
|
|
1381
1380
|
readonly failure?: {
|
|
1382
1381
|
readonly code: string;
|
|
1383
1382
|
readonly message: string;
|
|
1384
1383
|
} | undefined;
|
|
1384
|
+
readonly heldTaskCount?: number | undefined;
|
|
1385
|
+
readonly heldTasks?: readonly {
|
|
1386
|
+
readonly claimedAt: string;
|
|
1387
|
+
readonly id: string;
|
|
1388
|
+
readonly leaseExpiresAt: string;
|
|
1389
|
+
readonly state: "claimed";
|
|
1390
|
+
readonly title: string;
|
|
1391
|
+
}[] | undefined;
|
|
1385
1392
|
readonly labels?: {
|
|
1386
1393
|
readonly [x: string]: string;
|
|
1387
1394
|
} | undefined;
|
|
1388
1395
|
readonly latestTurnId?: string | undefined;
|
|
1389
1396
|
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
1397
|
+
readonly parentSessionId?: string | undefined;
|
|
1390
1398
|
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
1391
1399
|
readonly prompt?: {
|
|
1392
1400
|
readonly approvalId: string;
|
|
@@ -1422,6 +1430,486 @@ export declare const sessionArchiveResultSchema: import("../runtime-schema/runti
|
|
|
1422
1430
|
readonly transcriptPath?: string | undefined;
|
|
1423
1431
|
}>;
|
|
1424
1432
|
export type SessionArchiveResult = InferRuntimeSchema<typeof sessionArchiveResultSchema>;
|
|
1433
|
+
export declare const sessionForkPreviewParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1434
|
+
readonly commandId: string;
|
|
1435
|
+
readonly sessionId: string;
|
|
1436
|
+
readonly turnId?: string | undefined;
|
|
1437
|
+
}>;
|
|
1438
|
+
export type SessionForkPreviewParameters = InferRuntimeSchema<typeof sessionForkPreviewParametersSchema>;
|
|
1439
|
+
export declare const sessionForkPreviewResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1440
|
+
readonly inputDigest: string;
|
|
1441
|
+
readonly proof: string;
|
|
1442
|
+
readonly validUntil: string;
|
|
1443
|
+
readonly checkpoint?: string | undefined;
|
|
1444
|
+
readonly commandId: string;
|
|
1445
|
+
readonly expectedRevision: string;
|
|
1446
|
+
readonly sessionId: string;
|
|
1447
|
+
readonly turnId: string;
|
|
1448
|
+
readonly method: "session.fork.preview";
|
|
1449
|
+
readonly path: "context-handoff";
|
|
1450
|
+
}>;
|
|
1451
|
+
export type SessionForkPreviewResult = InferRuntimeSchema<typeof sessionForkPreviewResultSchema>;
|
|
1452
|
+
export declare const sessionForkConfirmParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1453
|
+
readonly inputDigest: string;
|
|
1454
|
+
readonly proof: string;
|
|
1455
|
+
readonly validUntil: string;
|
|
1456
|
+
readonly checkpoint?: string | undefined;
|
|
1457
|
+
readonly commandId: string;
|
|
1458
|
+
readonly expectedRevision: string;
|
|
1459
|
+
readonly sessionId: string;
|
|
1460
|
+
readonly turnId: string;
|
|
1461
|
+
}>;
|
|
1462
|
+
export type SessionForkConfirmParameters = InferRuntimeSchema<typeof sessionForkConfirmParametersSchema>;
|
|
1463
|
+
export declare const sessionForkConfirmResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1464
|
+
readonly delivery: "duplicate" | "new";
|
|
1465
|
+
readonly handoff: string;
|
|
1466
|
+
readonly path: "context-handoff";
|
|
1467
|
+
readonly receipt: {
|
|
1468
|
+
readonly actorId: string;
|
|
1469
|
+
readonly aggregateRevision: string;
|
|
1470
|
+
readonly commandId: string;
|
|
1471
|
+
readonly createdAt: string;
|
|
1472
|
+
readonly eventCursor: string;
|
|
1473
|
+
readonly method: string;
|
|
1474
|
+
readonly proposedBy?: string | undefined;
|
|
1475
|
+
readonly receiptId: string;
|
|
1476
|
+
readonly schemaVersion: 1;
|
|
1477
|
+
readonly state: "succeeded";
|
|
1478
|
+
readonly target: {
|
|
1479
|
+
readonly id: string;
|
|
1480
|
+
readonly type: string;
|
|
1481
|
+
};
|
|
1482
|
+
readonly updatedAt: string;
|
|
1483
|
+
};
|
|
1484
|
+
readonly session: {
|
|
1485
|
+
readonly createdAt: string;
|
|
1486
|
+
readonly id: string;
|
|
1487
|
+
readonly projectId: string;
|
|
1488
|
+
readonly revision: string;
|
|
1489
|
+
readonly state: "failed" | "idle" | "interrupted" | "recovering" | "running" | "starting" | "stopped" | "stopping" | "waiting-approval";
|
|
1490
|
+
readonly updatedAt: string;
|
|
1491
|
+
readonly workspaceId: string;
|
|
1492
|
+
readonly workspaceRevision: string;
|
|
1493
|
+
readonly activity?: "idle" | "stopped" | "waiting_approval" | "working" | undefined;
|
|
1494
|
+
readonly agentDefinitionRef?: {
|
|
1495
|
+
readonly contentDigest: string;
|
|
1496
|
+
readonly key: string;
|
|
1497
|
+
readonly version: string;
|
|
1498
|
+
} | undefined;
|
|
1499
|
+
readonly containment?: "none" | undefined;
|
|
1500
|
+
readonly executor?: {
|
|
1501
|
+
readonly connectionId: string;
|
|
1502
|
+
readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
|
|
1503
|
+
readonly kind: string;
|
|
1504
|
+
readonly model?: string | undefined;
|
|
1505
|
+
} | undefined;
|
|
1506
|
+
readonly failure?: {
|
|
1507
|
+
readonly code: string;
|
|
1508
|
+
readonly message: string;
|
|
1509
|
+
} | undefined;
|
|
1510
|
+
readonly heldTaskCount?: number | undefined;
|
|
1511
|
+
readonly heldTasks?: readonly {
|
|
1512
|
+
readonly claimedAt: string;
|
|
1513
|
+
readonly id: string;
|
|
1514
|
+
readonly leaseExpiresAt: string;
|
|
1515
|
+
readonly state: "claimed";
|
|
1516
|
+
readonly title: string;
|
|
1517
|
+
}[] | undefined;
|
|
1518
|
+
readonly labels?: {
|
|
1519
|
+
readonly [x: string]: string;
|
|
1520
|
+
} | undefined;
|
|
1521
|
+
readonly latestTurnId?: string | undefined;
|
|
1522
|
+
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
1523
|
+
readonly parentSessionId?: string | undefined;
|
|
1524
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
1525
|
+
readonly prompt?: {
|
|
1526
|
+
readonly approvalId: string;
|
|
1527
|
+
readonly expiresAt: string;
|
|
1528
|
+
readonly kind: "command" | "file_change" | "question" | "tool";
|
|
1529
|
+
readonly options?: readonly {
|
|
1530
|
+
readonly label: string;
|
|
1531
|
+
readonly optionId: string;
|
|
1532
|
+
}[] | undefined;
|
|
1533
|
+
readonly summary?: string | undefined;
|
|
1534
|
+
} | undefined;
|
|
1535
|
+
readonly recovery?: {
|
|
1536
|
+
readonly code: string;
|
|
1537
|
+
readonly message: string;
|
|
1538
|
+
} | undefined;
|
|
1539
|
+
readonly schemaVersion: 4;
|
|
1540
|
+
readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
|
|
1541
|
+
readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
|
|
1542
|
+
readonly title?: string | undefined;
|
|
1543
|
+
readonly worktree?: {
|
|
1544
|
+
readonly baseRef: string;
|
|
1545
|
+
readonly baseRevision: string;
|
|
1546
|
+
readonly branch: string;
|
|
1547
|
+
readonly setup: "failed" | "none" | "pending" | "succeeded";
|
|
1548
|
+
readonly skills?: readonly {
|
|
1549
|
+
readonly digest: string;
|
|
1550
|
+
readonly name: string;
|
|
1551
|
+
}[] | undefined;
|
|
1552
|
+
readonly state: "active" | "archived" | "removed";
|
|
1553
|
+
} | undefined;
|
|
1554
|
+
};
|
|
1555
|
+
readonly sourceSessionId: string;
|
|
1556
|
+
readonly method: "session.fork.confirm";
|
|
1557
|
+
}>;
|
|
1558
|
+
export type SessionForkConfirmResult = InferRuntimeSchema<typeof sessionForkConfirmResultSchema>;
|
|
1559
|
+
export declare const sessionSetupPreviewParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1560
|
+
readonly commandId: string;
|
|
1561
|
+
readonly sessionId: string;
|
|
1562
|
+
}>;
|
|
1563
|
+
export type SessionSetupPreviewParameters = InferRuntimeSchema<typeof sessionSetupPreviewParametersSchema>;
|
|
1564
|
+
export declare const sessionSetupPreviewResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1565
|
+
readonly inputDigest: string;
|
|
1566
|
+
readonly proof: string;
|
|
1567
|
+
readonly validUntil: string;
|
|
1568
|
+
readonly commandId: string;
|
|
1569
|
+
readonly expectedRevision: string;
|
|
1570
|
+
readonly sessionId: string;
|
|
1571
|
+
readonly setupDigest: string;
|
|
1572
|
+
readonly approved: boolean;
|
|
1573
|
+
readonly method: "session.setup.preview";
|
|
1574
|
+
readonly setup: {
|
|
1575
|
+
readonly command: readonly string[];
|
|
1576
|
+
readonly files: readonly {
|
|
1577
|
+
readonly path: string;
|
|
1578
|
+
readonly sha256: string;
|
|
1579
|
+
}[];
|
|
1580
|
+
};
|
|
1581
|
+
}>;
|
|
1582
|
+
export type SessionSetupPreviewResult = InferRuntimeSchema<typeof sessionSetupPreviewResultSchema>;
|
|
1583
|
+
export declare const sessionSetupConfirmParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1584
|
+
readonly inputDigest: string;
|
|
1585
|
+
readonly proof: string;
|
|
1586
|
+
readonly validUntil: string;
|
|
1587
|
+
readonly commandId: string;
|
|
1588
|
+
readonly expectedRevision: string;
|
|
1589
|
+
readonly sessionId: string;
|
|
1590
|
+
readonly setupDigest: string;
|
|
1591
|
+
}>;
|
|
1592
|
+
export type SessionSetupConfirmParameters = InferRuntimeSchema<typeof sessionSetupConfirmParametersSchema>;
|
|
1593
|
+
export declare const sessionSetupConfirmResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1594
|
+
readonly delivery: "duplicate" | "new";
|
|
1595
|
+
readonly method: "session.setup.confirm";
|
|
1596
|
+
readonly receipt: {
|
|
1597
|
+
readonly actorId: string;
|
|
1598
|
+
readonly aggregateRevision: string;
|
|
1599
|
+
readonly commandId: string;
|
|
1600
|
+
readonly createdAt: string;
|
|
1601
|
+
readonly eventCursor: string;
|
|
1602
|
+
readonly method: string;
|
|
1603
|
+
readonly proposedBy?: string | undefined;
|
|
1604
|
+
readonly receiptId: string;
|
|
1605
|
+
readonly schemaVersion: 1;
|
|
1606
|
+
readonly state: "succeeded";
|
|
1607
|
+
readonly target: {
|
|
1608
|
+
readonly id: string;
|
|
1609
|
+
readonly type: string;
|
|
1610
|
+
};
|
|
1611
|
+
readonly updatedAt: string;
|
|
1612
|
+
};
|
|
1613
|
+
readonly sessionId: string;
|
|
1614
|
+
readonly setupDigest: string;
|
|
1615
|
+
}>;
|
|
1616
|
+
export type SessionSetupConfirmResult = InferRuntimeSchema<typeof sessionSetupConfirmResultSchema>;
|
|
1617
|
+
export declare const sessionSpawnPreviewParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1618
|
+
readonly commandId: string;
|
|
1619
|
+
readonly executor: string;
|
|
1620
|
+
readonly hostAuthority?: true | undefined;
|
|
1621
|
+
readonly parent: {
|
|
1622
|
+
readonly children: {
|
|
1623
|
+
readonly live: number;
|
|
1624
|
+
readonly total: number;
|
|
1625
|
+
};
|
|
1626
|
+
readonly depth: number;
|
|
1627
|
+
readonly hostAuthority?: true | undefined;
|
|
1628
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
1629
|
+
readonly role: "orchestrator" | "worker";
|
|
1630
|
+
readonly sessionId: string;
|
|
1631
|
+
};
|
|
1632
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
1633
|
+
readonly workspaceId: string;
|
|
1634
|
+
}>;
|
|
1635
|
+
export type SessionSpawnPreviewParameters = InferRuntimeSchema<typeof sessionSpawnPreviewParametersSchema>;
|
|
1636
|
+
export declare const sessionSpawnPreviewResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1637
|
+
readonly inputDigest: string;
|
|
1638
|
+
readonly proof: string;
|
|
1639
|
+
readonly validUntil: string;
|
|
1640
|
+
readonly commandId: string;
|
|
1641
|
+
readonly executor: string;
|
|
1642
|
+
readonly hostAuthority?: true | undefined;
|
|
1643
|
+
readonly parent: {
|
|
1644
|
+
readonly children: {
|
|
1645
|
+
readonly live: number;
|
|
1646
|
+
readonly total: number;
|
|
1647
|
+
};
|
|
1648
|
+
readonly depth: number;
|
|
1649
|
+
readonly hostAuthority?: true | undefined;
|
|
1650
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
1651
|
+
readonly role: "orchestrator" | "worker";
|
|
1652
|
+
readonly sessionId: string;
|
|
1653
|
+
};
|
|
1654
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
1655
|
+
readonly workspaceId: string;
|
|
1656
|
+
readonly expectedRevision: "0";
|
|
1657
|
+
readonly method: "session.spawn.preview";
|
|
1658
|
+
}>;
|
|
1659
|
+
export type SessionSpawnPreviewResult = InferRuntimeSchema<typeof sessionSpawnPreviewResultSchema>;
|
|
1660
|
+
export declare const sessionSpawnConfirmParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1661
|
+
readonly inputDigest: string;
|
|
1662
|
+
readonly proof: string;
|
|
1663
|
+
readonly validUntil: string;
|
|
1664
|
+
readonly commandId: string;
|
|
1665
|
+
readonly executor: string;
|
|
1666
|
+
readonly hostAuthority?: true | undefined;
|
|
1667
|
+
readonly parent: {
|
|
1668
|
+
readonly children: {
|
|
1669
|
+
readonly live: number;
|
|
1670
|
+
readonly total: number;
|
|
1671
|
+
};
|
|
1672
|
+
readonly depth: number;
|
|
1673
|
+
readonly hostAuthority?: true | undefined;
|
|
1674
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
1675
|
+
readonly role: "orchestrator" | "worker";
|
|
1676
|
+
readonly sessionId: string;
|
|
1677
|
+
};
|
|
1678
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
1679
|
+
readonly workspaceId: string;
|
|
1680
|
+
readonly expectedRevision: "0";
|
|
1681
|
+
}>;
|
|
1682
|
+
export type SessionSpawnConfirmParameters = InferRuntimeSchema<typeof sessionSpawnConfirmParametersSchema>;
|
|
1683
|
+
export declare const sessionSpawnConfirmResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1684
|
+
readonly delivery: "duplicate" | "new";
|
|
1685
|
+
readonly method: "session.spawn.confirm";
|
|
1686
|
+
readonly parentSessionId: string;
|
|
1687
|
+
readonly receipt: {
|
|
1688
|
+
readonly actorId: string;
|
|
1689
|
+
readonly aggregateRevision: string;
|
|
1690
|
+
readonly commandId: string;
|
|
1691
|
+
readonly createdAt: string;
|
|
1692
|
+
readonly eventCursor: string;
|
|
1693
|
+
readonly method: string;
|
|
1694
|
+
readonly proposedBy?: string | undefined;
|
|
1695
|
+
readonly receiptId: string;
|
|
1696
|
+
readonly schemaVersion: 1;
|
|
1697
|
+
readonly state: "succeeded";
|
|
1698
|
+
readonly target: {
|
|
1699
|
+
readonly id: string;
|
|
1700
|
+
readonly type: string;
|
|
1701
|
+
};
|
|
1702
|
+
readonly updatedAt: string;
|
|
1703
|
+
};
|
|
1704
|
+
readonly session: {
|
|
1705
|
+
readonly createdAt: string;
|
|
1706
|
+
readonly id: string;
|
|
1707
|
+
readonly projectId: string;
|
|
1708
|
+
readonly revision: string;
|
|
1709
|
+
readonly state: "failed" | "idle" | "interrupted" | "recovering" | "running" | "starting" | "stopped" | "stopping" | "waiting-approval";
|
|
1710
|
+
readonly updatedAt: string;
|
|
1711
|
+
readonly workspaceId: string;
|
|
1712
|
+
readonly workspaceRevision: string;
|
|
1713
|
+
readonly activity?: "idle" | "stopped" | "waiting_approval" | "working" | undefined;
|
|
1714
|
+
readonly agentDefinitionRef?: {
|
|
1715
|
+
readonly contentDigest: string;
|
|
1716
|
+
readonly key: string;
|
|
1717
|
+
readonly version: string;
|
|
1718
|
+
} | undefined;
|
|
1719
|
+
readonly containment?: "none" | undefined;
|
|
1720
|
+
readonly executor?: {
|
|
1721
|
+
readonly connectionId: string;
|
|
1722
|
+
readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
|
|
1723
|
+
readonly kind: string;
|
|
1724
|
+
readonly model?: string | undefined;
|
|
1725
|
+
} | undefined;
|
|
1726
|
+
readonly failure?: {
|
|
1727
|
+
readonly code: string;
|
|
1728
|
+
readonly message: string;
|
|
1729
|
+
} | undefined;
|
|
1730
|
+
readonly heldTaskCount?: number | undefined;
|
|
1731
|
+
readonly heldTasks?: readonly {
|
|
1732
|
+
readonly claimedAt: string;
|
|
1733
|
+
readonly id: string;
|
|
1734
|
+
readonly leaseExpiresAt: string;
|
|
1735
|
+
readonly state: "claimed";
|
|
1736
|
+
readonly title: string;
|
|
1737
|
+
}[] | undefined;
|
|
1738
|
+
readonly labels?: {
|
|
1739
|
+
readonly [x: string]: string;
|
|
1740
|
+
} | undefined;
|
|
1741
|
+
readonly latestTurnId?: string | undefined;
|
|
1742
|
+
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
1743
|
+
readonly parentSessionId?: string | undefined;
|
|
1744
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
1745
|
+
readonly prompt?: {
|
|
1746
|
+
readonly approvalId: string;
|
|
1747
|
+
readonly expiresAt: string;
|
|
1748
|
+
readonly kind: "command" | "file_change" | "question" | "tool";
|
|
1749
|
+
readonly options?: readonly {
|
|
1750
|
+
readonly label: string;
|
|
1751
|
+
readonly optionId: string;
|
|
1752
|
+
}[] | undefined;
|
|
1753
|
+
readonly summary?: string | undefined;
|
|
1754
|
+
} | undefined;
|
|
1755
|
+
readonly recovery?: {
|
|
1756
|
+
readonly code: string;
|
|
1757
|
+
readonly message: string;
|
|
1758
|
+
} | undefined;
|
|
1759
|
+
readonly schemaVersion: 4;
|
|
1760
|
+
readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
|
|
1761
|
+
readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
|
|
1762
|
+
readonly title?: string | undefined;
|
|
1763
|
+
readonly worktree?: {
|
|
1764
|
+
readonly baseRef: string;
|
|
1765
|
+
readonly baseRevision: string;
|
|
1766
|
+
readonly branch: string;
|
|
1767
|
+
readonly setup: "failed" | "none" | "pending" | "succeeded";
|
|
1768
|
+
readonly skills?: readonly {
|
|
1769
|
+
readonly digest: string;
|
|
1770
|
+
readonly name: string;
|
|
1771
|
+
}[] | undefined;
|
|
1772
|
+
readonly state: "active" | "archived" | "removed";
|
|
1773
|
+
} | undefined;
|
|
1774
|
+
};
|
|
1775
|
+
}>;
|
|
1776
|
+
export type SessionSpawnConfirmResult = InferRuntimeSchema<typeof sessionSpawnConfirmResultSchema>;
|
|
1777
|
+
export declare const sessionSwitchPreviewParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1778
|
+
readonly commandId: string;
|
|
1779
|
+
readonly sessionId: string;
|
|
1780
|
+
readonly target: {
|
|
1781
|
+
readonly connectionId?: string | undefined;
|
|
1782
|
+
readonly executor?: string | undefined;
|
|
1783
|
+
readonly model?: string | undefined;
|
|
1784
|
+
};
|
|
1785
|
+
}>;
|
|
1786
|
+
export type SessionSwitchPreviewParameters = InferRuntimeSchema<typeof sessionSwitchPreviewParametersSchema>;
|
|
1787
|
+
export declare const sessionSwitchPreviewResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1788
|
+
readonly inputDigest: string;
|
|
1789
|
+
readonly proof: string;
|
|
1790
|
+
readonly validUntil: string;
|
|
1791
|
+
readonly commandId: string;
|
|
1792
|
+
readonly expectedRevision: string;
|
|
1793
|
+
readonly sessionId: string;
|
|
1794
|
+
readonly target: {
|
|
1795
|
+
readonly connectionId?: string | undefined;
|
|
1796
|
+
readonly executor?: string | undefined;
|
|
1797
|
+
readonly model?: string | undefined;
|
|
1798
|
+
};
|
|
1799
|
+
readonly method: "session.switch.preview";
|
|
1800
|
+
readonly path: "context-handoff";
|
|
1801
|
+
}>;
|
|
1802
|
+
export type SessionSwitchPreviewResult = InferRuntimeSchema<typeof sessionSwitchPreviewResultSchema>;
|
|
1803
|
+
export declare const sessionSwitchConfirmParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1804
|
+
readonly inputDigest: string;
|
|
1805
|
+
readonly proof: string;
|
|
1806
|
+
readonly validUntil: string;
|
|
1807
|
+
readonly commandId: string;
|
|
1808
|
+
readonly expectedRevision: string;
|
|
1809
|
+
readonly sessionId: string;
|
|
1810
|
+
readonly target: {
|
|
1811
|
+
readonly connectionId?: string | undefined;
|
|
1812
|
+
readonly executor?: string | undefined;
|
|
1813
|
+
readonly model?: string | undefined;
|
|
1814
|
+
};
|
|
1815
|
+
}>;
|
|
1816
|
+
export type SessionSwitchConfirmParameters = InferRuntimeSchema<typeof sessionSwitchConfirmParametersSchema>;
|
|
1817
|
+
export declare const sessionSwitchConfirmResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1818
|
+
readonly delivery: "duplicate" | "new";
|
|
1819
|
+
readonly handoff: string;
|
|
1820
|
+
readonly path: "context-handoff";
|
|
1821
|
+
readonly receipt: {
|
|
1822
|
+
readonly actorId: string;
|
|
1823
|
+
readonly aggregateRevision: string;
|
|
1824
|
+
readonly commandId: string;
|
|
1825
|
+
readonly createdAt: string;
|
|
1826
|
+
readonly eventCursor: string;
|
|
1827
|
+
readonly method: string;
|
|
1828
|
+
readonly proposedBy?: string | undefined;
|
|
1829
|
+
readonly receiptId: string;
|
|
1830
|
+
readonly schemaVersion: 1;
|
|
1831
|
+
readonly state: "succeeded";
|
|
1832
|
+
readonly target: {
|
|
1833
|
+
readonly id: string;
|
|
1834
|
+
readonly type: string;
|
|
1835
|
+
};
|
|
1836
|
+
readonly updatedAt: string;
|
|
1837
|
+
};
|
|
1838
|
+
readonly session: {
|
|
1839
|
+
readonly createdAt: string;
|
|
1840
|
+
readonly id: string;
|
|
1841
|
+
readonly projectId: string;
|
|
1842
|
+
readonly revision: string;
|
|
1843
|
+
readonly state: "failed" | "idle" | "interrupted" | "recovering" | "running" | "starting" | "stopped" | "stopping" | "waiting-approval";
|
|
1844
|
+
readonly updatedAt: string;
|
|
1845
|
+
readonly workspaceId: string;
|
|
1846
|
+
readonly workspaceRevision: string;
|
|
1847
|
+
readonly activity?: "idle" | "stopped" | "waiting_approval" | "working" | undefined;
|
|
1848
|
+
readonly agentDefinitionRef?: {
|
|
1849
|
+
readonly contentDigest: string;
|
|
1850
|
+
readonly key: string;
|
|
1851
|
+
readonly version: string;
|
|
1852
|
+
} | undefined;
|
|
1853
|
+
readonly containment?: "none" | undefined;
|
|
1854
|
+
readonly executor?: {
|
|
1855
|
+
readonly connectionId: string;
|
|
1856
|
+
readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
|
|
1857
|
+
readonly kind: string;
|
|
1858
|
+
readonly model?: string | undefined;
|
|
1859
|
+
} | undefined;
|
|
1860
|
+
readonly failure?: {
|
|
1861
|
+
readonly code: string;
|
|
1862
|
+
readonly message: string;
|
|
1863
|
+
} | undefined;
|
|
1864
|
+
readonly heldTaskCount?: number | undefined;
|
|
1865
|
+
readonly heldTasks?: readonly {
|
|
1866
|
+
readonly claimedAt: string;
|
|
1867
|
+
readonly id: string;
|
|
1868
|
+
readonly leaseExpiresAt: string;
|
|
1869
|
+
readonly state: "claimed";
|
|
1870
|
+
readonly title: string;
|
|
1871
|
+
}[] | undefined;
|
|
1872
|
+
readonly labels?: {
|
|
1873
|
+
readonly [x: string]: string;
|
|
1874
|
+
} | undefined;
|
|
1875
|
+
readonly latestTurnId?: string | undefined;
|
|
1876
|
+
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
1877
|
+
readonly parentSessionId?: string | undefined;
|
|
1878
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
1879
|
+
readonly prompt?: {
|
|
1880
|
+
readonly approvalId: string;
|
|
1881
|
+
readonly expiresAt: string;
|
|
1882
|
+
readonly kind: "command" | "file_change" | "question" | "tool";
|
|
1883
|
+
readonly options?: readonly {
|
|
1884
|
+
readonly label: string;
|
|
1885
|
+
readonly optionId: string;
|
|
1886
|
+
}[] | undefined;
|
|
1887
|
+
readonly summary?: string | undefined;
|
|
1888
|
+
} | undefined;
|
|
1889
|
+
readonly recovery?: {
|
|
1890
|
+
readonly code: string;
|
|
1891
|
+
readonly message: string;
|
|
1892
|
+
} | undefined;
|
|
1893
|
+
readonly schemaVersion: 4;
|
|
1894
|
+
readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
|
|
1895
|
+
readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
|
|
1896
|
+
readonly title?: string | undefined;
|
|
1897
|
+
readonly worktree?: {
|
|
1898
|
+
readonly baseRef: string;
|
|
1899
|
+
readonly baseRevision: string;
|
|
1900
|
+
readonly branch: string;
|
|
1901
|
+
readonly setup: "failed" | "none" | "pending" | "succeeded";
|
|
1902
|
+
readonly skills?: readonly {
|
|
1903
|
+
readonly digest: string;
|
|
1904
|
+
readonly name: string;
|
|
1905
|
+
}[] | undefined;
|
|
1906
|
+
readonly state: "active" | "archived" | "removed";
|
|
1907
|
+
} | undefined;
|
|
1908
|
+
};
|
|
1909
|
+
readonly sourceSessionId: string;
|
|
1910
|
+
readonly method: "session.switch.confirm";
|
|
1911
|
+
}>;
|
|
1912
|
+
export type SessionSwitchConfirmResult = InferRuntimeSchema<typeof sessionSwitchConfirmResultSchema>;
|
|
1425
1913
|
export declare const sessionRenameParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1426
1914
|
readonly commandId: string;
|
|
1427
1915
|
readonly expectedRevision: string;
|
|
@@ -1439,6 +1927,7 @@ export declare const sessionRenameResultSchema: import("../runtime-schema/runtim
|
|
|
1439
1927
|
readonly createdAt: string;
|
|
1440
1928
|
readonly eventCursor: string;
|
|
1441
1929
|
readonly method: string;
|
|
1930
|
+
readonly proposedBy?: string | undefined;
|
|
1442
1931
|
readonly receiptId: string;
|
|
1443
1932
|
readonly schemaVersion: 1;
|
|
1444
1933
|
readonly state: "succeeded";
|
|
@@ -1467,18 +1956,27 @@ export declare const sessionRenameResultSchema: import("../runtime-schema/runtim
|
|
|
1467
1956
|
readonly executor?: {
|
|
1468
1957
|
readonly connectionId: string;
|
|
1469
1958
|
readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
|
|
1470
|
-
readonly kind:
|
|
1959
|
+
readonly kind: string;
|
|
1471
1960
|
readonly model?: string | undefined;
|
|
1472
1961
|
} | undefined;
|
|
1473
1962
|
readonly failure?: {
|
|
1474
1963
|
readonly code: string;
|
|
1475
1964
|
readonly message: string;
|
|
1476
1965
|
} | undefined;
|
|
1966
|
+
readonly heldTaskCount?: number | undefined;
|
|
1967
|
+
readonly heldTasks?: readonly {
|
|
1968
|
+
readonly claimedAt: string;
|
|
1969
|
+
readonly id: string;
|
|
1970
|
+
readonly leaseExpiresAt: string;
|
|
1971
|
+
readonly state: "claimed";
|
|
1972
|
+
readonly title: string;
|
|
1973
|
+
}[] | undefined;
|
|
1477
1974
|
readonly labels?: {
|
|
1478
1975
|
readonly [x: string]: string;
|
|
1479
1976
|
} | undefined;
|
|
1480
1977
|
readonly latestTurnId?: string | undefined;
|
|
1481
1978
|
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
1979
|
+
readonly parentSessionId?: string | undefined;
|
|
1482
1980
|
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
1483
1981
|
readonly prompt?: {
|
|
1484
1982
|
readonly approvalId: string;
|
|
@@ -1512,4 +2010,122 @@ export declare const sessionRenameResultSchema: import("../runtime-schema/runtim
|
|
|
1512
2010
|
};
|
|
1513
2011
|
}>;
|
|
1514
2012
|
export type SessionRenameResult = InferRuntimeSchema<typeof sessionRenameResultSchema>;
|
|
2013
|
+
export declare const sessionSpawnCapsRecordSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
2014
|
+
readonly caps: {
|
|
2015
|
+
readonly concurrency: number;
|
|
2016
|
+
readonly depth: number;
|
|
2017
|
+
readonly fanOut: number;
|
|
2018
|
+
};
|
|
2019
|
+
readonly revision: string;
|
|
2020
|
+
readonly source: "default" | "node";
|
|
2021
|
+
readonly updatedAt?: string | undefined;
|
|
2022
|
+
}>;
|
|
2023
|
+
export declare const sessionSpawnCapsShowParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
2024
|
+
readonly sessionId?: string | undefined;
|
|
2025
|
+
}>;
|
|
2026
|
+
export declare const sessionSpawnCapsShowResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
2027
|
+
readonly caps: {
|
|
2028
|
+
readonly caps: {
|
|
2029
|
+
readonly concurrency: number;
|
|
2030
|
+
readonly depth: number;
|
|
2031
|
+
readonly fanOut: number;
|
|
2032
|
+
};
|
|
2033
|
+
readonly revision: string;
|
|
2034
|
+
readonly source: "default" | "node";
|
|
2035
|
+
readonly updatedAt?: string | undefined;
|
|
2036
|
+
};
|
|
2037
|
+
readonly method: "session.spawn-caps.show";
|
|
2038
|
+
readonly standing?: {
|
|
2039
|
+
readonly children: {
|
|
2040
|
+
readonly live: number;
|
|
2041
|
+
readonly total: number;
|
|
2042
|
+
};
|
|
2043
|
+
readonly depth?: number | undefined;
|
|
2044
|
+
readonly role?: "orchestrator" | "worker" | undefined;
|
|
2045
|
+
readonly sessionId: string;
|
|
2046
|
+
} | undefined;
|
|
2047
|
+
}>;
|
|
2048
|
+
export declare const sessionSpawnCapsPreviewParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
2049
|
+
readonly caps: {
|
|
2050
|
+
readonly concurrency: number;
|
|
2051
|
+
readonly depth: number;
|
|
2052
|
+
readonly fanOut: number;
|
|
2053
|
+
};
|
|
2054
|
+
readonly commandId: string;
|
|
2055
|
+
readonly expectedRevision: string;
|
|
2056
|
+
}>;
|
|
2057
|
+
export declare const sessionSpawnCapsPreviewResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
2058
|
+
readonly caps: {
|
|
2059
|
+
readonly concurrency: number;
|
|
2060
|
+
readonly depth: number;
|
|
2061
|
+
readonly fanOut: number;
|
|
2062
|
+
};
|
|
2063
|
+
readonly commandId: string;
|
|
2064
|
+
readonly expectedRevision: string;
|
|
2065
|
+
readonly inputDigest: string;
|
|
2066
|
+
readonly proof: string;
|
|
2067
|
+
readonly validUntil: string;
|
|
2068
|
+
readonly current: {
|
|
2069
|
+
readonly caps: {
|
|
2070
|
+
readonly concurrency: number;
|
|
2071
|
+
readonly depth: number;
|
|
2072
|
+
readonly fanOut: number;
|
|
2073
|
+
};
|
|
2074
|
+
readonly revision: string;
|
|
2075
|
+
readonly source: "default" | "node";
|
|
2076
|
+
readonly updatedAt?: string | undefined;
|
|
2077
|
+
};
|
|
2078
|
+
readonly method: "session.spawn-caps.preview";
|
|
2079
|
+
}>;
|
|
2080
|
+
export declare const sessionSpawnCapsConfirmParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
2081
|
+
readonly caps: {
|
|
2082
|
+
readonly concurrency: number;
|
|
2083
|
+
readonly depth: number;
|
|
2084
|
+
readonly fanOut: number;
|
|
2085
|
+
};
|
|
2086
|
+
readonly commandId: string;
|
|
2087
|
+
readonly expectedRevision: string;
|
|
2088
|
+
readonly inputDigest: string;
|
|
2089
|
+
readonly proof: string;
|
|
2090
|
+
readonly validUntil: string;
|
|
2091
|
+
}>;
|
|
2092
|
+
export declare const sessionSpawnCapsConfirmResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
2093
|
+
readonly caps: {
|
|
2094
|
+
readonly caps: {
|
|
2095
|
+
readonly concurrency: number;
|
|
2096
|
+
readonly depth: number;
|
|
2097
|
+
readonly fanOut: number;
|
|
2098
|
+
};
|
|
2099
|
+
readonly revision: string;
|
|
2100
|
+
readonly source: "default" | "node";
|
|
2101
|
+
readonly updatedAt?: string | undefined;
|
|
2102
|
+
};
|
|
2103
|
+
readonly delivery: "duplicate" | "new";
|
|
2104
|
+
readonly method: "session.spawn-caps.confirm";
|
|
2105
|
+
readonly receipt: {
|
|
2106
|
+
readonly actorId: string;
|
|
2107
|
+
readonly aggregateRevision: string;
|
|
2108
|
+
readonly commandId: string;
|
|
2109
|
+
readonly createdAt: string;
|
|
2110
|
+
readonly eventCursor: string;
|
|
2111
|
+
readonly method: string;
|
|
2112
|
+
readonly proposedBy?: string | undefined;
|
|
2113
|
+
readonly receiptId: string;
|
|
2114
|
+
readonly schemaVersion: 1;
|
|
2115
|
+
readonly state: "succeeded";
|
|
2116
|
+
readonly target: {
|
|
2117
|
+
readonly id: string;
|
|
2118
|
+
readonly type: string;
|
|
2119
|
+
};
|
|
2120
|
+
readonly updatedAt: string;
|
|
2121
|
+
};
|
|
2122
|
+
}>;
|
|
2123
|
+
export type SessionSpawnCapsRecord = InferRuntimeSchema<typeof sessionSpawnCapsRecordSchema>;
|
|
2124
|
+
export type SessionSpawnCaps = SessionSpawnCapsRecord["caps"];
|
|
2125
|
+
export type SessionSpawnCapsShowParameters = InferRuntimeSchema<typeof sessionSpawnCapsShowParametersSchema>;
|
|
2126
|
+
export type SessionSpawnCapsShowResult = InferRuntimeSchema<typeof sessionSpawnCapsShowResultSchema>;
|
|
2127
|
+
export type SessionSpawnCapsPreviewParameters = InferRuntimeSchema<typeof sessionSpawnCapsPreviewParametersSchema>;
|
|
2128
|
+
export type SessionSpawnCapsPreviewResult = InferRuntimeSchema<typeof sessionSpawnCapsPreviewResultSchema>;
|
|
2129
|
+
export type SessionSpawnCapsConfirmParameters = InferRuntimeSchema<typeof sessionSpawnCapsConfirmParametersSchema>;
|
|
2130
|
+
export type SessionSpawnCapsConfirmResult = InferRuntimeSchema<typeof sessionSpawnCapsConfirmResultSchema>;
|
|
1515
2131
|
//# sourceMappingURL=contract.d.ts.map
|