@maiaos/protocol 0.1.0-canary.8 → 0.1.0-canary.80
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 +15 -6
- 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 +42 -1
- package/dist/agent/worker-operation.d.ts.map +1 -1
- package/dist/agents/contract.d.ts +27 -0
- package/dist/agents/contract.d.ts.map +1 -1
- package/dist/agents/contract.js +4 -1
- package/dist/agents/contract.js.map +1 -1
- package/dist/agents/effect-schema.d.ts +53 -2
- package/dist/agents/effect-schema.d.ts.map +1 -1
- package/dist/agents/effect-schema.js +51 -10
- package/dist/agents/effect-schema.js.map +1 -1
- package/dist/agents/feature.d.ts +54 -4
- package/dist/agents/feature.d.ts.map +1 -1
- package/dist/agents/feature.js +52 -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 +21 -5
- package/dist/approval/contract.d.ts.map +1 -1
- package/dist/approval/contract.js +2 -1
- package/dist/approval/contract.js.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 +21 -2
- package/dist/approval/feature.d.ts.map +1 -1
- package/dist/approval/feature.js +21 -2
- package/dist/approval/feature.js.map +1 -1
- package/dist/approval/index.d.ts +1 -1
- package/dist/approval/index.d.ts.map +1 -1
- package/dist/approval/index.js +1 -1
- package/dist/approval/index.js.map +1 -1
- package/dist/approval/request-effect-schema.d.ts +40 -5
- package/dist/approval/request-effect-schema.d.ts.map +1 -1
- package/dist/approval/request-effect-schema.js +30 -7
- package/dist/approval/request-effect-schema.js.map +1 -1
- package/dist/approval/result-effect-schema.d.ts +14 -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 +3 -0
- package/dist/command-receipt/contract.d.ts.map +1 -1
- package/dist/command-receipt/effect-schema.d.ts +12 -0
- package/dist/command-receipt/effect-schema.d.ts.map +1 -1
- package/dist/command-receipt/effect-schema.js +7 -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 +203 -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 +194 -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 +275 -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 +23 -4
- package/dist/connection/request-effect-schema.d.ts.map +1 -1
- package/dist/connection/request-effect-schema.js +42 -14
- package/dist/connection/request-effect-schema.js.map +1 -1
- package/dist/connection/result-effect-schema.d.ts +98 -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 +16 -0
- package/dist/connection/system-effect-schema.d.ts.map +1 -1
- package/dist/connection/system-effect-schema.js +5 -5
- 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/input-schema.d.ts +0 -7
- package/dist/coordinator-tool/input-schema.d.ts.map +1 -1
- package/dist/coordinator-tool/input-schema.js +0 -38
- package/dist/coordinator-tool/input-schema.js.map +1 -1
- package/dist/coordinator-tool/registry.d.ts +21 -0
- package/dist/coordinator-tool/registry.d.ts.map +1 -1
- package/dist/coordinator-tool/registry.js +175 -4
- package/dist/coordinator-tool/registry.js.map +1 -1
- package/dist/discovery/contract.d.ts +140 -2
- package/dist/discovery/contract.d.ts.map +1 -1
- package/dist/discovery/contract.js +11 -1
- package/dist/discovery/contract.js.map +1 -1
- package/dist/discovery/effect-schema.d.ts +323 -6
- package/dist/discovery/effect-schema.d.ts.map +1 -1
- package/dist/discovery/effect-schema.js +157 -8
- package/dist/discovery/effect-schema.js.map +1 -1
- package/dist/discovery/feature.d.ts +82 -2
- package/dist/discovery/feature.d.ts.map +1 -1
- package/dist/discovery/feature.js +78 -2
- 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/contract.d.ts +47 -0
- package/dist/event/contract.d.ts.map +1 -1
- package/dist/event/contract.js +3 -0
- package/dist/event/contract.js.map +1 -1
- package/dist/event/effect-schema.d.ts +3 -1
- package/dist/event/effect-schema.d.ts.map +1 -1
- package/dist/event/effect-schema.js +3 -1
- package/dist/event/effect-schema.js.map +1 -1
- package/dist/event/envelope-effect-schema.d.ts +2 -0
- package/dist/event/envelope-effect-schema.d.ts.map +1 -1
- package/dist/event/envelope-effect-schema.js +2 -0
- package/dist/event/envelope-effect-schema.js.map +1 -1
- package/dist/event/feature.d.ts +35 -0
- package/dist/event/feature.d.ts.map +1 -0
- package/dist/event/feature.js +39 -0
- package/dist/event/feature.js.map +1 -0
- package/dist/event/format.d.ts +6 -0
- package/dist/event/format.d.ts.map +1 -1
- package/dist/event/format.js +6 -0
- package/dist/event/format.js.map +1 -1
- package/dist/event/index.d.ts +4 -1
- package/dist/event/index.d.ts.map +1 -1
- package/dist/event/index.js +4 -1
- package/dist/event/index.js.map +1 -1
- package/dist/event/lifecycle/effect-schema.d.ts +31 -0
- package/dist/event/lifecycle/effect-schema.d.ts.map +1 -0
- package/dist/event/lifecycle/effect-schema.js +36 -0
- package/dist/event/lifecycle/effect-schema.js.map +1 -0
- package/dist/event/lifecycle/index.d.ts +2 -0
- package/dist/event/lifecycle/index.d.ts.map +1 -0
- package/dist/event/lifecycle/index.js +2 -0
- package/dist/event/lifecycle/index.js.map +1 -0
- package/dist/event/lifecycle/schema.d.ts +20 -0
- package/dist/event/lifecycle/schema.d.ts.map +1 -0
- package/dist/event/lifecycle/schema.js +7 -0
- package/dist/event/lifecycle/schema.js.map +1 -0
- package/dist/event/read-effect-schema.d.ts +105 -0
- package/dist/event/read-effect-schema.d.ts.map +1 -0
- package/dist/event/read-effect-schema.js +64 -0
- package/dist/event/read-effect-schema.js.map +1 -0
- package/dist/event/registry.d.ts +5 -0
- package/dist/event/registry.d.ts.map +1 -1
- package/dist/event/registry.js +288 -8
- package/dist/event/registry.js.map +1 -1
- package/dist/event/session-activity-effect-schema.d.ts +36 -0
- package/dist/event/session-activity-effect-schema.d.ts.map +1 -0
- package/dist/event/session-activity-effect-schema.js +58 -0
- package/dist/event/session-activity-effect-schema.js.map +1 -0
- package/dist/event/session-activity.d.ts +30 -0
- package/dist/event/session-activity.d.ts.map +1 -0
- package/dist/event/session-activity.js +19 -0
- package/dist/event/session-activity.js.map +1 -0
- package/dist/event/update-effect-schema.d.ts +20 -0
- package/dist/event/update-effect-schema.d.ts.map +1 -0
- package/dist/event/update-effect-schema.js +29 -0
- package/dist/event/update-effect-schema.js.map +1 -0
- package/dist/event/update.d.ts +16 -0
- package/dist/event/update.d.ts.map +1 -0
- package/dist/event/update.js +6 -0
- package/dist/event/update.js.map +1 -0
- 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 +121 -0
- package/dist/event-stream/contract.d.ts.map +1 -0
- package/dist/event-stream/contract.js +5 -0
- package/dist/event-stream/contract.js.map +1 -0
- package/dist/event-stream/effect-schema.d.ts +118 -0
- package/dist/event-stream/effect-schema.d.ts.map +1 -0
- package/dist/event-stream/effect-schema.js +90 -0
- package/dist/event-stream/effect-schema.js.map +1 -0
- package/dist/event-stream/index.d.ts +2 -0
- package/dist/event-stream/index.d.ts.map +1 -0
- package/dist/event-stream/index.js +2 -0
- package/dist/event-stream/index.js.map +1 -0
- 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 +28 -0
- package/dist/executor/policy.d.ts.map +1 -0
- package/dist/executor/policy.js +49 -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 +59 -4
- package/dist/feature/registry.d.ts.map +1 -1
- package/dist/feature/registry.js +53 -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 +28 -15
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +28 -15
- 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 +141 -12
- package/dist/integration-authorization/contract.d.ts.map +1 -1
- package/dist/integration-authorization/contract.js +37 -1
- package/dist/integration-authorization/contract.js.map +1 -1
- package/dist/integration-authorization/effect-schema.d.ts +5961 -1583
- package/dist/integration-authorization/effect-schema.d.ts.map +1 -1
- package/dist/integration-authorization/effect-schema.js +157 -6
- package/dist/integration-authorization/effect-schema.js.map +1 -1
- package/dist/integration-authorization/feature.d.ts +845 -0
- package/dist/integration-authorization/feature.d.ts.map +1 -0
- package/dist/integration-authorization/feature.js +795 -0
- package/dist/integration-authorization/feature.js.map +1 -0
- package/dist/integration-authorization/index.d.ts +5 -0
- package/dist/integration-authorization/index.d.ts.map +1 -1
- package/dist/integration-authorization/index.js +5 -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 +57 -18
- 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 +3916 -1276
- package/dist/local-node/effect-schema.d.ts.map +1 -1
- package/dist/local-node/effect-schema.js +122 -10
- 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 +11 -215
- package/dist/local-node/node-api/methods.d.ts.map +1 -1
- package/dist/local-node/node-api/methods.js +148 -215
- 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 +64 -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 +41 -2
- package/dist/presentation/contract.d.ts.map +1 -1
- package/dist/presentation/effect-schema.d.ts +37 -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 +37 -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/release/version.d.ts +2 -2
- package/dist/release/version.d.ts.map +1 -1
- package/dist/release/version.js +2 -2
- package/dist/release/version.js.map +1 -1
- package/dist/remote-node/bridge-effect-schema.js +2 -2
- 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 +47 -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 +94 -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/runtime-schema/effect-json-schema.d.ts +9 -0
- package/dist/runtime-schema/effect-json-schema.d.ts.map +1 -0
- package/dist/runtime-schema/effect-json-schema.js +41 -0
- package/dist/runtime-schema/effect-json-schema.js.map +1 -0
- package/dist/runtime-schema/effect-schema.d.ts +1 -0
- package/dist/runtime-schema/effect-schema.d.ts.map +1 -1
- package/dist/runtime-schema/effect-schema.js +1 -0
- package/dist/runtime-schema/effect-schema.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 +967 -82
- 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 +2825 -151
- package/dist/session/effect-schema.d.ts.map +1 -1
- package/dist/session/effect-schema.js +580 -51
- package/dist/session/effect-schema.js.map +1 -1
- package/dist/session/feature.d.ts +779 -24
- package/dist/session/feature.d.ts.map +1 -1
- package/dist/session/feature.js +712 -3
- 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 +150 -0
- package/dist/session/policy.d.ts.map +1 -1
- package/dist/session/policy.js +178 -2
- package/dist/session/policy.js.map +1 -1
- package/dist/session/stop-resume-contract.d.ts +127 -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 +55 -1
- package/dist/session/worktree-effect-schema.d.ts.map +1 -1
- package/dist/session/worktree-effect-schema.js +79 -3
- 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 +35 -4
- package/dist/session-guard/contract.d.ts.map +1 -1
- package/dist/session-guard/contract.js +34 -5
- 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/index.d.ts +1 -1
- package/dist/session-guard/index.d.ts.map +1 -1
- package/dist/session-guard/index.js +1 -1
- package/dist/session-guard/index.js.map +1 -1
- package/dist/session-guard/request-effect-schema.d.ts +33 -0
- package/dist/session-guard/request-effect-schema.d.ts.map +1 -1
- package/dist/session-guard/request-effect-schema.js +22 -0
- package/dist/session-guard/request-effect-schema.js.map +1 -1
- package/dist/session-guard/result-effect-schema.d.ts +28 -0
- package/dist/session-guard/result-effect-schema.d.ts.map +1 -1
- package/dist/session-guard/result-effect-schema.js +3 -1
- package/dist/session-guard/result-effect-schema.js.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 +2 -0
- package/dist/terminal/contract.d.ts.map +1 -1
- package/dist/terminal/effect-schema.d.ts +6 -0
- package/dist/terminal/effect-schema.d.ts.map +1 -1
- package/dist/terminal/effect-schema.js +2 -0
- package/dist/terminal/effect-schema.js.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 +633 -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 +1507 -161
- package/dist/turn/effect-schema.d.ts.map +1 -1
- package/dist/turn/effect-schema.js +123 -10
- 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/contract.d.ts +6 -6
- package/dist/voice/effect-schema.d.ts +10 -9
- package/dist/voice/effect-schema.d.ts.map +1 -1
- package/dist/voice/effect-schema.js +3 -1
- package/dist/voice/effect-schema.js.map +1 -1
- package/dist/voice/feature.d.ts +70 -2
- 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/orchestrator-system-prompt.d.ts +2 -2
- package/dist/voice/orchestrator-system-prompt.js +2 -2
- 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 +358 -0
- package/dist/webhooks/contract.d.ts.map +1 -0
- package/dist/webhooks/contract.js +26 -0
- package/dist/webhooks/contract.js.map +1 -0
- package/dist/webhooks/effect-schema.d.ts +550 -0
- package/dist/webhooks/effect-schema.d.ts.map +1 -0
- package/dist/webhooks/effect-schema.js +197 -0
- package/dist/webhooks/effect-schema.js.map +1 -0
- package/dist/webhooks/feature.d.ts +125 -0
- package/dist/webhooks/feature.d.ts.map +1 -0
- package/dist/webhooks/feature.js +123 -0
- package/dist/webhooks/feature.js.map +1 -0
- package/dist/webhooks/hook-effect-schema.d.ts +69 -0
- package/dist/webhooks/hook-effect-schema.d.ts.map +1 -0
- package/dist/webhooks/hook-effect-schema.js +107 -0
- package/dist/webhooks/hook-effect-schema.js.map +1 -0
- package/dist/webhooks/index.d.ts +4 -0
- package/dist/webhooks/index.d.ts.map +1 -0
- package/dist/webhooks/index.js +4 -0
- package/dist/webhooks/index.js.map +1 -0
- 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 -63
- package/dist/configuration/configuration.d.ts.map +0 -1
- package/dist/configuration/configuration.js +0 -93
- 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;
|
|
@@ -10,22 +11,55 @@ export declare const sessionSchema: import("../runtime-schema/runtime-schema.js"
|
|
|
10
11
|
readonly updatedAt: string;
|
|
11
12
|
readonly workspaceId: string;
|
|
12
13
|
readonly workspaceRevision: string;
|
|
14
|
+
readonly activity?: "idle" | "stopped" | "waiting_approval" | "working" | undefined;
|
|
13
15
|
readonly agentDefinitionRef?: {
|
|
14
16
|
readonly contentDigest: string;
|
|
15
17
|
readonly key: string;
|
|
16
18
|
readonly version: string;
|
|
17
19
|
} | undefined;
|
|
20
|
+
readonly containment?: "none" | undefined;
|
|
18
21
|
readonly executor?: {
|
|
19
22
|
readonly connectionId: string;
|
|
20
23
|
readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
|
|
21
|
-
readonly kind:
|
|
24
|
+
readonly kind: string;
|
|
22
25
|
readonly model?: string | undefined;
|
|
23
26
|
} | undefined;
|
|
24
27
|
readonly failure?: {
|
|
25
28
|
readonly code: string;
|
|
26
29
|
readonly message: string;
|
|
27
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;
|
|
39
|
+
readonly labels?: {
|
|
40
|
+
readonly [x: string]: string;
|
|
41
|
+
} | undefined;
|
|
42
|
+
readonly latestTurnId?: string | undefined;
|
|
43
|
+
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
44
|
+
readonly parentSessionId?: string | undefined;
|
|
45
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
46
|
+
readonly prompt?: {
|
|
47
|
+
readonly approvalId: string;
|
|
48
|
+
readonly expiresAt: string;
|
|
49
|
+
readonly kind: "command" | "file_change" | "question" | "tool";
|
|
50
|
+
readonly options?: readonly {
|
|
51
|
+
readonly label: string;
|
|
52
|
+
readonly optionId: string;
|
|
53
|
+
}[] | undefined;
|
|
54
|
+
readonly summary?: string | undefined;
|
|
55
|
+
} | undefined;
|
|
56
|
+
readonly recovery?: {
|
|
57
|
+
readonly code: string;
|
|
58
|
+
readonly message: string;
|
|
59
|
+
} | undefined;
|
|
28
60
|
readonly schemaVersion: 4;
|
|
61
|
+
readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
|
|
62
|
+
readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
|
|
29
63
|
readonly title?: string | undefined;
|
|
30
64
|
readonly worktree?: {
|
|
31
65
|
readonly baseRef: string;
|
|
@@ -59,12 +93,16 @@ export declare const sessionEventSchema: import("../runtime-schema/runtime-schem
|
|
|
59
93
|
readonly key: string;
|
|
60
94
|
readonly version: string;
|
|
61
95
|
} | undefined;
|
|
96
|
+
readonly authorizedBy?: string | undefined;
|
|
97
|
+
readonly containment?: "none" | undefined;
|
|
98
|
+
readonly cwd?: string | undefined;
|
|
62
99
|
readonly executor?: {
|
|
63
100
|
readonly connectionId: string;
|
|
64
101
|
readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
|
|
65
|
-
readonly kind:
|
|
102
|
+
readonly kind: string;
|
|
66
103
|
readonly model?: string | undefined;
|
|
67
104
|
} | undefined;
|
|
105
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
68
106
|
readonly projectId: string;
|
|
69
107
|
readonly workspaceId: string;
|
|
70
108
|
readonly workspaceRevision: string;
|
|
@@ -111,6 +149,20 @@ export declare const sessionEventSchema: import("../runtime-schema/runtime-schem
|
|
|
111
149
|
readonly schemaVersion: 4;
|
|
112
150
|
readonly sessionCursor: string;
|
|
113
151
|
readonly sessionId: string;
|
|
152
|
+
} | {
|
|
153
|
+
readonly commandId: string;
|
|
154
|
+
readonly eventType: "session.runtime.recovery.updated";
|
|
155
|
+
readonly globalCursor: string;
|
|
156
|
+
readonly payload: {
|
|
157
|
+
readonly recovery?: {
|
|
158
|
+
readonly code: string;
|
|
159
|
+
readonly message: string;
|
|
160
|
+
} | undefined;
|
|
161
|
+
};
|
|
162
|
+
readonly recordedAt: string;
|
|
163
|
+
readonly schemaVersion: 4;
|
|
164
|
+
readonly sessionCursor: string;
|
|
165
|
+
readonly sessionId: string;
|
|
114
166
|
} | {
|
|
115
167
|
readonly commandId: string;
|
|
116
168
|
readonly eventType: "session.runtime.resumed";
|
|
@@ -270,21 +322,30 @@ export declare const sessionCreateParametersSchema: import("../runtime-schema/ru
|
|
|
270
322
|
readonly workspaceId: string;
|
|
271
323
|
readonly agentId?: string | undefined;
|
|
272
324
|
readonly connectionId?: string | undefined;
|
|
325
|
+
readonly cwd?: string | undefined;
|
|
273
326
|
readonly definitionRef?: {
|
|
274
327
|
readonly contentDigest: string;
|
|
275
328
|
readonly key: string;
|
|
276
329
|
readonly version: string;
|
|
277
330
|
} | undefined;
|
|
278
331
|
readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
|
|
279
|
-
readonly executor?:
|
|
332
|
+
readonly executor?: string | undefined;
|
|
333
|
+
readonly hostAuthority?: true | undefined;
|
|
334
|
+
readonly labels?: {
|
|
335
|
+
readonly [x: string]: string;
|
|
336
|
+
} | undefined;
|
|
280
337
|
readonly model?: string | undefined;
|
|
338
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
281
339
|
readonly role?: "orchestrator" | "worker" | undefined;
|
|
282
340
|
readonly title?: string | undefined;
|
|
283
341
|
readonly worktree?: {
|
|
284
342
|
readonly baseRef: string;
|
|
343
|
+
readonly branch?: string | undefined;
|
|
285
344
|
} | undefined;
|
|
286
345
|
}>;
|
|
287
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>;
|
|
288
349
|
export declare const sessionMailboxSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
289
350
|
readonly contentBytes: string;
|
|
290
351
|
readonly createdAt: string;
|
|
@@ -373,8 +434,14 @@ export type SessionInboxAckParameters = InferRuntimeSchema<typeof sessionInboxAc
|
|
|
373
434
|
export declare const sessionListParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
374
435
|
readonly afterCursor?: string | undefined;
|
|
375
436
|
readonly attention?: boolean | undefined;
|
|
437
|
+
readonly idleForSeconds?: number | undefined;
|
|
438
|
+
readonly labels?: {
|
|
439
|
+
readonly [x: string]: string;
|
|
440
|
+
} | undefined;
|
|
376
441
|
readonly limit?: number | undefined;
|
|
442
|
+
readonly parentSessionId?: string | undefined;
|
|
377
443
|
readonly projectId?: string | undefined;
|
|
444
|
+
readonly settled?: true | undefined;
|
|
378
445
|
readonly states?: readonly ("failed" | "idle" | "interrupted" | "recovering" | "running" | "starting" | "stopped" | "stopping" | "waiting-approval")[] | undefined;
|
|
379
446
|
}>;
|
|
380
447
|
export type SessionListParameters = InferRuntimeSchema<typeof sessionListParametersSchema>;
|
|
@@ -383,8 +450,9 @@ export declare const sessionShowParametersSchema: import("../runtime-schema/runt
|
|
|
383
450
|
}>;
|
|
384
451
|
export type SessionShowParameters = InferRuntimeSchema<typeof sessionShowParametersSchema>;
|
|
385
452
|
export declare const sessionWaitParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
453
|
+
readonly activities?: readonly ("idle" | "stopped" | "waiting_approval" | "working")[] | undefined;
|
|
386
454
|
readonly sessionId: string;
|
|
387
|
-
readonly states
|
|
455
|
+
readonly states?: readonly ("failed" | "idle" | "interrupted" | "recovering" | "running" | "starting" | "stopped" | "stopping" | "waiting-approval")[] | undefined;
|
|
388
456
|
readonly waitMilliseconds: number;
|
|
389
457
|
}>;
|
|
390
458
|
export type SessionWaitParameters = InferRuntimeSchema<typeof sessionWaitParametersSchema>;
|
|
@@ -400,96 +468,55 @@ export declare const sessionWaitResultSchema: import("../runtime-schema/runtime-
|
|
|
400
468
|
readonly updatedAt: string;
|
|
401
469
|
readonly workspaceId: string;
|
|
402
470
|
readonly workspaceRevision: string;
|
|
471
|
+
readonly activity?: "idle" | "stopped" | "waiting_approval" | "working" | undefined;
|
|
403
472
|
readonly agentDefinitionRef?: {
|
|
404
473
|
readonly contentDigest: string;
|
|
405
474
|
readonly key: string;
|
|
406
475
|
readonly version: string;
|
|
407
476
|
} | undefined;
|
|
477
|
+
readonly containment?: "none" | undefined;
|
|
408
478
|
readonly executor?: {
|
|
409
479
|
readonly connectionId: string;
|
|
410
480
|
readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
|
|
411
|
-
readonly kind:
|
|
481
|
+
readonly kind: string;
|
|
412
482
|
readonly model?: string | undefined;
|
|
413
483
|
} | undefined;
|
|
414
484
|
readonly failure?: {
|
|
415
485
|
readonly code: string;
|
|
416
486
|
readonly message: string;
|
|
417
487
|
} | undefined;
|
|
418
|
-
readonly
|
|
419
|
-
readonly
|
|
420
|
-
|
|
421
|
-
readonly baseRef: string;
|
|
422
|
-
readonly baseRevision: string;
|
|
423
|
-
readonly branch: string;
|
|
424
|
-
readonly setup: "failed" | "none" | "pending" | "succeeded";
|
|
425
|
-
readonly skills?: readonly {
|
|
426
|
-
readonly digest: string;
|
|
427
|
-
readonly name: string;
|
|
428
|
-
}[] | undefined;
|
|
429
|
-
readonly state: "active" | "archived" | "removed";
|
|
430
|
-
} | undefined;
|
|
431
|
-
};
|
|
432
|
-
}>;
|
|
433
|
-
export type SessionWaitResult = InferRuntimeSchema<typeof sessionWaitResultSchema>;
|
|
434
|
-
export declare const sessionSpawnParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
435
|
-
readonly commandId: string;
|
|
436
|
-
readonly expectedRevision: "0";
|
|
437
|
-
readonly workspaceId: string;
|
|
438
|
-
readonly definitionRef?: {
|
|
439
|
-
readonly contentDigest: string;
|
|
440
|
-
readonly key: string;
|
|
441
|
-
readonly version: string;
|
|
442
|
-
} | undefined;
|
|
443
|
-
readonly harness: "maia-agent" | "pi";
|
|
444
|
-
readonly parentSessionId: string;
|
|
445
|
-
}>;
|
|
446
|
-
export type SessionSpawnParameters = InferRuntimeSchema<typeof sessionSpawnParametersSchema>;
|
|
447
|
-
export declare const sessionSpawnResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
448
|
-
readonly delivery: "duplicate" | "new";
|
|
449
|
-
readonly harness: "maia-agent" | "pi";
|
|
450
|
-
readonly method: "session.spawn";
|
|
451
|
-
readonly parentSessionId: string;
|
|
452
|
-
readonly receipt: {
|
|
453
|
-
readonly actorId: string;
|
|
454
|
-
readonly aggregateRevision: string;
|
|
455
|
-
readonly commandId: string;
|
|
456
|
-
readonly createdAt: string;
|
|
457
|
-
readonly eventCursor: string;
|
|
458
|
-
readonly method: string;
|
|
459
|
-
readonly receiptId: string;
|
|
460
|
-
readonly schemaVersion: 1;
|
|
461
|
-
readonly state: "succeeded";
|
|
462
|
-
readonly target: {
|
|
488
|
+
readonly heldTaskCount?: number | undefined;
|
|
489
|
+
readonly heldTasks?: readonly {
|
|
490
|
+
readonly claimedAt: string;
|
|
463
491
|
readonly id: string;
|
|
464
|
-
readonly
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
readonly id: string;
|
|
471
|
-
readonly projectId: string;
|
|
472
|
-
readonly revision: string;
|
|
473
|
-
readonly state: "failed" | "idle" | "interrupted" | "recovering" | "running" | "starting" | "stopped" | "stopping" | "waiting-approval";
|
|
474
|
-
readonly updatedAt: string;
|
|
475
|
-
readonly workspaceId: string;
|
|
476
|
-
readonly workspaceRevision: string;
|
|
477
|
-
readonly agentDefinitionRef?: {
|
|
478
|
-
readonly contentDigest: string;
|
|
479
|
-
readonly key: string;
|
|
480
|
-
readonly version: string;
|
|
492
|
+
readonly leaseExpiresAt: string;
|
|
493
|
+
readonly state: "claimed";
|
|
494
|
+
readonly title: string;
|
|
495
|
+
}[] | undefined;
|
|
496
|
+
readonly labels?: {
|
|
497
|
+
readonly [x: string]: string;
|
|
481
498
|
} | undefined;
|
|
482
|
-
readonly
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
499
|
+
readonly latestTurnId?: string | undefined;
|
|
500
|
+
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
501
|
+
readonly parentSessionId?: string | undefined;
|
|
502
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
503
|
+
readonly prompt?: {
|
|
504
|
+
readonly approvalId: string;
|
|
505
|
+
readonly expiresAt: string;
|
|
506
|
+
readonly kind: "command" | "file_change" | "question" | "tool";
|
|
507
|
+
readonly options?: readonly {
|
|
508
|
+
readonly label: string;
|
|
509
|
+
readonly optionId: string;
|
|
510
|
+
}[] | undefined;
|
|
511
|
+
readonly summary?: string | undefined;
|
|
487
512
|
} | undefined;
|
|
488
|
-
readonly
|
|
513
|
+
readonly recovery?: {
|
|
489
514
|
readonly code: string;
|
|
490
515
|
readonly message: string;
|
|
491
516
|
} | undefined;
|
|
492
517
|
readonly schemaVersion: 4;
|
|
518
|
+
readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
|
|
519
|
+
readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
|
|
493
520
|
readonly title?: string | undefined;
|
|
494
521
|
readonly worktree?: {
|
|
495
522
|
readonly baseRef: string;
|
|
@@ -504,7 +531,7 @@ export declare const sessionSpawnResultSchema: import("../runtime-schema/runtime
|
|
|
504
531
|
} | undefined;
|
|
505
532
|
};
|
|
506
533
|
}>;
|
|
507
|
-
export type
|
|
534
|
+
export type SessionWaitResult = InferRuntimeSchema<typeof sessionWaitResultSchema>;
|
|
508
535
|
export declare const sessionEventsListParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
509
536
|
readonly afterSessionCursor: string;
|
|
510
537
|
readonly limit: number;
|
|
@@ -521,6 +548,7 @@ export declare const sessionCreateResultSchema: import("../runtime-schema/runtim
|
|
|
521
548
|
readonly createdAt: string;
|
|
522
549
|
readonly eventCursor: string;
|
|
523
550
|
readonly method: string;
|
|
551
|
+
readonly proposedBy?: string | undefined;
|
|
524
552
|
readonly receiptId: string;
|
|
525
553
|
readonly schemaVersion: 1;
|
|
526
554
|
readonly state: "succeeded";
|
|
@@ -539,22 +567,55 @@ export declare const sessionCreateResultSchema: import("../runtime-schema/runtim
|
|
|
539
567
|
readonly updatedAt: string;
|
|
540
568
|
readonly workspaceId: string;
|
|
541
569
|
readonly workspaceRevision: string;
|
|
570
|
+
readonly activity?: "idle" | "stopped" | "waiting_approval" | "working" | undefined;
|
|
542
571
|
readonly agentDefinitionRef?: {
|
|
543
572
|
readonly contentDigest: string;
|
|
544
573
|
readonly key: string;
|
|
545
574
|
readonly version: string;
|
|
546
575
|
} | undefined;
|
|
576
|
+
readonly containment?: "none" | undefined;
|
|
547
577
|
readonly executor?: {
|
|
548
578
|
readonly connectionId: string;
|
|
549
579
|
readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
|
|
550
|
-
readonly kind:
|
|
580
|
+
readonly kind: string;
|
|
551
581
|
readonly model?: string | undefined;
|
|
552
582
|
} | undefined;
|
|
553
583
|
readonly failure?: {
|
|
554
584
|
readonly code: string;
|
|
555
585
|
readonly message: string;
|
|
556
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;
|
|
595
|
+
readonly labels?: {
|
|
596
|
+
readonly [x: string]: string;
|
|
597
|
+
} | undefined;
|
|
598
|
+
readonly latestTurnId?: string | undefined;
|
|
599
|
+
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
600
|
+
readonly parentSessionId?: string | undefined;
|
|
601
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
602
|
+
readonly prompt?: {
|
|
603
|
+
readonly approvalId: string;
|
|
604
|
+
readonly expiresAt: string;
|
|
605
|
+
readonly kind: "command" | "file_change" | "question" | "tool";
|
|
606
|
+
readonly options?: readonly {
|
|
607
|
+
readonly label: string;
|
|
608
|
+
readonly optionId: string;
|
|
609
|
+
}[] | undefined;
|
|
610
|
+
readonly summary?: string | undefined;
|
|
611
|
+
} | undefined;
|
|
612
|
+
readonly recovery?: {
|
|
613
|
+
readonly code: string;
|
|
614
|
+
readonly message: string;
|
|
615
|
+
} | undefined;
|
|
557
616
|
readonly schemaVersion: 4;
|
|
617
|
+
readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
|
|
618
|
+
readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
|
|
558
619
|
readonly title?: string | undefined;
|
|
559
620
|
readonly worktree?: {
|
|
560
621
|
readonly baseRef: string;
|
|
@@ -593,6 +654,7 @@ export declare const sessionMessageSendResultSchema: import("../runtime-schema/r
|
|
|
593
654
|
readonly createdAt: string;
|
|
594
655
|
readonly eventCursor: string;
|
|
595
656
|
readonly method: string;
|
|
657
|
+
readonly proposedBy?: string | undefined;
|
|
596
658
|
readonly receiptId: string;
|
|
597
659
|
readonly schemaVersion: 1;
|
|
598
660
|
readonly state: "succeeded";
|
|
@@ -677,6 +739,7 @@ export declare const sessionInboxAckResultSchema: import("../runtime-schema/runt
|
|
|
677
739
|
readonly createdAt: string;
|
|
678
740
|
readonly eventCursor: string;
|
|
679
741
|
readonly method: string;
|
|
742
|
+
readonly proposedBy?: string | undefined;
|
|
680
743
|
readonly receiptId: string;
|
|
681
744
|
readonly schemaVersion: 1;
|
|
682
745
|
readonly state: "succeeded";
|
|
@@ -702,22 +765,55 @@ export declare const sessionListResultSchema: import("../runtime-schema/runtime-
|
|
|
702
765
|
readonly updatedAt: string;
|
|
703
766
|
readonly workspaceId: string;
|
|
704
767
|
readonly workspaceRevision: string;
|
|
768
|
+
readonly activity?: "idle" | "stopped" | "waiting_approval" | "working" | undefined;
|
|
705
769
|
readonly agentDefinitionRef?: {
|
|
706
770
|
readonly contentDigest: string;
|
|
707
771
|
readonly key: string;
|
|
708
772
|
readonly version: string;
|
|
709
773
|
} | undefined;
|
|
774
|
+
readonly containment?: "none" | undefined;
|
|
710
775
|
readonly executor?: {
|
|
711
776
|
readonly connectionId: string;
|
|
712
777
|
readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
|
|
713
|
-
readonly kind:
|
|
778
|
+
readonly kind: string;
|
|
714
779
|
readonly model?: string | undefined;
|
|
715
780
|
} | undefined;
|
|
716
781
|
readonly failure?: {
|
|
717
782
|
readonly code: string;
|
|
718
783
|
readonly message: string;
|
|
719
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;
|
|
793
|
+
readonly labels?: {
|
|
794
|
+
readonly [x: string]: string;
|
|
795
|
+
} | undefined;
|
|
796
|
+
readonly latestTurnId?: string | undefined;
|
|
797
|
+
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
798
|
+
readonly parentSessionId?: string | undefined;
|
|
799
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
800
|
+
readonly prompt?: {
|
|
801
|
+
readonly approvalId: string;
|
|
802
|
+
readonly expiresAt: string;
|
|
803
|
+
readonly kind: "command" | "file_change" | "question" | "tool";
|
|
804
|
+
readonly options?: readonly {
|
|
805
|
+
readonly label: string;
|
|
806
|
+
readonly optionId: string;
|
|
807
|
+
}[] | undefined;
|
|
808
|
+
readonly summary?: string | undefined;
|
|
809
|
+
} | undefined;
|
|
810
|
+
readonly recovery?: {
|
|
811
|
+
readonly code: string;
|
|
812
|
+
readonly message: string;
|
|
813
|
+
} | undefined;
|
|
720
814
|
readonly schemaVersion: 4;
|
|
815
|
+
readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
|
|
816
|
+
readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
|
|
721
817
|
readonly title?: string | undefined;
|
|
722
818
|
readonly worktree?: {
|
|
723
819
|
readonly baseRef: string;
|
|
@@ -737,6 +833,14 @@ export declare const sessionListResultSchema: import("../runtime-schema/runtime-
|
|
|
737
833
|
export type SessionListResult = InferRuntimeSchema<typeof sessionListResultSchema>;
|
|
738
834
|
export declare const sessionShowResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
739
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;
|
|
740
844
|
readonly session: {
|
|
741
845
|
readonly createdAt: string;
|
|
742
846
|
readonly id: string;
|
|
@@ -746,22 +850,55 @@ export declare const sessionShowResultSchema: import("../runtime-schema/runtime-
|
|
|
746
850
|
readonly updatedAt: string;
|
|
747
851
|
readonly workspaceId: string;
|
|
748
852
|
readonly workspaceRevision: string;
|
|
853
|
+
readonly activity?: "idle" | "stopped" | "waiting_approval" | "working" | undefined;
|
|
749
854
|
readonly agentDefinitionRef?: {
|
|
750
855
|
readonly contentDigest: string;
|
|
751
856
|
readonly key: string;
|
|
752
857
|
readonly version: string;
|
|
753
858
|
} | undefined;
|
|
859
|
+
readonly containment?: "none" | undefined;
|
|
754
860
|
readonly executor?: {
|
|
755
861
|
readonly connectionId: string;
|
|
756
862
|
readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
|
|
757
|
-
readonly kind:
|
|
863
|
+
readonly kind: string;
|
|
758
864
|
readonly model?: string | undefined;
|
|
759
865
|
} | undefined;
|
|
760
866
|
readonly failure?: {
|
|
761
867
|
readonly code: string;
|
|
762
868
|
readonly message: string;
|
|
763
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;
|
|
878
|
+
readonly labels?: {
|
|
879
|
+
readonly [x: string]: string;
|
|
880
|
+
} | undefined;
|
|
881
|
+
readonly latestTurnId?: string | undefined;
|
|
882
|
+
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
883
|
+
readonly parentSessionId?: string | undefined;
|
|
884
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
885
|
+
readonly prompt?: {
|
|
886
|
+
readonly approvalId: string;
|
|
887
|
+
readonly expiresAt: string;
|
|
888
|
+
readonly kind: "command" | "file_change" | "question" | "tool";
|
|
889
|
+
readonly options?: readonly {
|
|
890
|
+
readonly label: string;
|
|
891
|
+
readonly optionId: string;
|
|
892
|
+
}[] | undefined;
|
|
893
|
+
readonly summary?: string | undefined;
|
|
894
|
+
} | undefined;
|
|
895
|
+
readonly recovery?: {
|
|
896
|
+
readonly code: string;
|
|
897
|
+
readonly message: string;
|
|
898
|
+
} | undefined;
|
|
764
899
|
readonly schemaVersion: 4;
|
|
900
|
+
readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
|
|
901
|
+
readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
|
|
765
902
|
readonly title?: string | undefined;
|
|
766
903
|
readonly worktree?: {
|
|
767
904
|
readonly baseRef: string;
|
|
@@ -793,12 +930,16 @@ export declare const sessionEventsListResultSchema: import("../runtime-schema/ru
|
|
|
793
930
|
readonly key: string;
|
|
794
931
|
readonly version: string;
|
|
795
932
|
} | undefined;
|
|
933
|
+
readonly authorizedBy?: string | undefined;
|
|
934
|
+
readonly containment?: "none" | undefined;
|
|
935
|
+
readonly cwd?: string | undefined;
|
|
796
936
|
readonly executor?: {
|
|
797
937
|
readonly connectionId: string;
|
|
798
938
|
readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
|
|
799
|
-
readonly kind:
|
|
939
|
+
readonly kind: string;
|
|
800
940
|
readonly model?: string | undefined;
|
|
801
941
|
} | undefined;
|
|
942
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
802
943
|
readonly projectId: string;
|
|
803
944
|
readonly workspaceId: string;
|
|
804
945
|
readonly workspaceRevision: string;
|
|
@@ -845,6 +986,20 @@ export declare const sessionEventsListResultSchema: import("../runtime-schema/ru
|
|
|
845
986
|
readonly schemaVersion: 4;
|
|
846
987
|
readonly sessionCursor: string;
|
|
847
988
|
readonly sessionId: string;
|
|
989
|
+
} | {
|
|
990
|
+
readonly commandId: string;
|
|
991
|
+
readonly eventType: "session.runtime.recovery.updated";
|
|
992
|
+
readonly globalCursor: string;
|
|
993
|
+
readonly payload: {
|
|
994
|
+
readonly recovery?: {
|
|
995
|
+
readonly code: string;
|
|
996
|
+
readonly message: string;
|
|
997
|
+
} | undefined;
|
|
998
|
+
};
|
|
999
|
+
readonly recordedAt: string;
|
|
1000
|
+
readonly schemaVersion: 4;
|
|
1001
|
+
readonly sessionCursor: string;
|
|
1002
|
+
readonly sessionId: string;
|
|
848
1003
|
} | {
|
|
849
1004
|
readonly commandId: string;
|
|
850
1005
|
readonly eventType: "session.runtime.resumed";
|
|
@@ -999,6 +1154,7 @@ export declare const sessionEventsListResultSchema: import("../runtime-schema/ru
|
|
|
999
1154
|
})[];
|
|
1000
1155
|
readonly method: "session.events.list";
|
|
1001
1156
|
readonly nextSessionCursor?: string | undefined;
|
|
1157
|
+
readonly oldestRetainedCursor?: string | undefined;
|
|
1002
1158
|
readonly sessionId: string;
|
|
1003
1159
|
}>;
|
|
1004
1160
|
export type SessionEventsListResult = InferRuntimeSchema<typeof sessionEventsListResultSchema>;
|
|
@@ -1018,6 +1174,7 @@ export declare const sessionStartResultSchema: import("../runtime-schema/runtime
|
|
|
1018
1174
|
readonly createdAt: string;
|
|
1019
1175
|
readonly eventCursor: string;
|
|
1020
1176
|
readonly method: string;
|
|
1177
|
+
readonly proposedBy?: string | undefined;
|
|
1021
1178
|
readonly receiptId: string;
|
|
1022
1179
|
readonly schemaVersion: 1;
|
|
1023
1180
|
readonly state: "succeeded";
|
|
@@ -1036,22 +1193,55 @@ export declare const sessionStartResultSchema: import("../runtime-schema/runtime
|
|
|
1036
1193
|
readonly updatedAt: string;
|
|
1037
1194
|
readonly workspaceId: string;
|
|
1038
1195
|
readonly workspaceRevision: string;
|
|
1196
|
+
readonly activity?: "idle" | "stopped" | "waiting_approval" | "working" | undefined;
|
|
1039
1197
|
readonly agentDefinitionRef?: {
|
|
1040
1198
|
readonly contentDigest: string;
|
|
1041
1199
|
readonly key: string;
|
|
1042
1200
|
readonly version: string;
|
|
1043
1201
|
} | undefined;
|
|
1202
|
+
readonly containment?: "none" | undefined;
|
|
1044
1203
|
readonly executor?: {
|
|
1045
1204
|
readonly connectionId: string;
|
|
1046
1205
|
readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
|
|
1047
|
-
readonly kind:
|
|
1206
|
+
readonly kind: string;
|
|
1048
1207
|
readonly model?: string | undefined;
|
|
1049
1208
|
} | undefined;
|
|
1050
1209
|
readonly failure?: {
|
|
1051
1210
|
readonly code: string;
|
|
1052
1211
|
readonly message: string;
|
|
1053
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;
|
|
1221
|
+
readonly labels?: {
|
|
1222
|
+
readonly [x: string]: string;
|
|
1223
|
+
} | undefined;
|
|
1224
|
+
readonly latestTurnId?: string | undefined;
|
|
1225
|
+
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
1226
|
+
readonly parentSessionId?: string | undefined;
|
|
1227
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
1228
|
+
readonly prompt?: {
|
|
1229
|
+
readonly approvalId: string;
|
|
1230
|
+
readonly expiresAt: string;
|
|
1231
|
+
readonly kind: "command" | "file_change" | "question" | "tool";
|
|
1232
|
+
readonly options?: readonly {
|
|
1233
|
+
readonly label: string;
|
|
1234
|
+
readonly optionId: string;
|
|
1235
|
+
}[] | undefined;
|
|
1236
|
+
readonly summary?: string | undefined;
|
|
1237
|
+
} | undefined;
|
|
1238
|
+
readonly recovery?: {
|
|
1239
|
+
readonly code: string;
|
|
1240
|
+
readonly message: string;
|
|
1241
|
+
} | undefined;
|
|
1054
1242
|
readonly schemaVersion: 4;
|
|
1243
|
+
readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
|
|
1244
|
+
readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
|
|
1055
1245
|
readonly title?: string | undefined;
|
|
1056
1246
|
readonly worktree?: {
|
|
1057
1247
|
readonly baseRef: string;
|
|
@@ -1067,9 +1257,11 @@ export declare const sessionStartResultSchema: import("../runtime-schema/runtime
|
|
|
1067
1257
|
};
|
|
1068
1258
|
}>;
|
|
1069
1259
|
export type SessionStartResult = InferRuntimeSchema<typeof sessionStartResultSchema>;
|
|
1070
|
-
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;
|
|
1071
1261
|
export declare const sessionBaseRefSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<string>;
|
|
1072
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>;
|
|
1073
1265
|
export declare const sessionWorktreeSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1074
1266
|
readonly baseRef: string;
|
|
1075
1267
|
readonly baseRevision: string;
|
|
@@ -1106,10 +1298,35 @@ export declare const sessionDiffResultSchema: import("../runtime-schema/runtime-
|
|
|
1106
1298
|
readonly totalFiles: number;
|
|
1107
1299
|
}>;
|
|
1108
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>;
|
|
1109
1324
|
export declare const sessionArchiveParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1110
1325
|
readonly commandId: string;
|
|
1111
1326
|
readonly expectedRevision: string;
|
|
1112
1327
|
readonly sessionId: string;
|
|
1328
|
+
readonly summary?: string | undefined;
|
|
1329
|
+
readonly transcriptPath?: string | undefined;
|
|
1113
1330
|
}>;
|
|
1114
1331
|
export type SessionArchiveParameters = InferRuntimeSchema<typeof sessionArchiveParametersSchema>;
|
|
1115
1332
|
export declare const sessionArchiveResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
@@ -1128,6 +1345,7 @@ export declare const sessionArchiveResultSchema: import("../runtime-schema/runti
|
|
|
1128
1345
|
readonly createdAt: string;
|
|
1129
1346
|
readonly eventCursor: string;
|
|
1130
1347
|
readonly method: string;
|
|
1348
|
+
readonly proposedBy?: string | undefined;
|
|
1131
1349
|
readonly receiptId: string;
|
|
1132
1350
|
readonly schemaVersion: 1;
|
|
1133
1351
|
readonly state: "succeeded";
|
|
@@ -1146,22 +1364,55 @@ export declare const sessionArchiveResultSchema: import("../runtime-schema/runti
|
|
|
1146
1364
|
readonly updatedAt: string;
|
|
1147
1365
|
readonly workspaceId: string;
|
|
1148
1366
|
readonly workspaceRevision: string;
|
|
1367
|
+
readonly activity?: "idle" | "stopped" | "waiting_approval" | "working" | undefined;
|
|
1149
1368
|
readonly agentDefinitionRef?: {
|
|
1150
1369
|
readonly contentDigest: string;
|
|
1151
1370
|
readonly key: string;
|
|
1152
1371
|
readonly version: string;
|
|
1153
1372
|
} | undefined;
|
|
1373
|
+
readonly containment?: "none" | undefined;
|
|
1154
1374
|
readonly executor?: {
|
|
1155
1375
|
readonly connectionId: string;
|
|
1156
1376
|
readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
|
|
1157
|
-
readonly kind:
|
|
1377
|
+
readonly kind: string;
|
|
1158
1378
|
readonly model?: string | undefined;
|
|
1159
1379
|
} | undefined;
|
|
1160
1380
|
readonly failure?: {
|
|
1161
1381
|
readonly code: string;
|
|
1162
1382
|
readonly message: string;
|
|
1163
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;
|
|
1392
|
+
readonly labels?: {
|
|
1393
|
+
readonly [x: string]: string;
|
|
1394
|
+
} | undefined;
|
|
1395
|
+
readonly latestTurnId?: string | undefined;
|
|
1396
|
+
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
1397
|
+
readonly parentSessionId?: string | undefined;
|
|
1398
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
1399
|
+
readonly prompt?: {
|
|
1400
|
+
readonly approvalId: string;
|
|
1401
|
+
readonly expiresAt: string;
|
|
1402
|
+
readonly kind: "command" | "file_change" | "question" | "tool";
|
|
1403
|
+
readonly options?: readonly {
|
|
1404
|
+
readonly label: string;
|
|
1405
|
+
readonly optionId: string;
|
|
1406
|
+
}[] | undefined;
|
|
1407
|
+
readonly summary?: string | undefined;
|
|
1408
|
+
} | undefined;
|
|
1409
|
+
readonly recovery?: {
|
|
1410
|
+
readonly code: string;
|
|
1411
|
+
readonly message: string;
|
|
1412
|
+
} | undefined;
|
|
1164
1413
|
readonly schemaVersion: 4;
|
|
1414
|
+
readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
|
|
1415
|
+
readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
|
|
1165
1416
|
readonly title?: string | undefined;
|
|
1166
1417
|
readonly worktree?: {
|
|
1167
1418
|
readonly baseRef: string;
|
|
@@ -1175,8 +1426,490 @@ export declare const sessionArchiveResultSchema: import("../runtime-schema/runti
|
|
|
1175
1426
|
readonly state: "active" | "archived" | "removed";
|
|
1176
1427
|
} | undefined;
|
|
1177
1428
|
};
|
|
1429
|
+
readonly summary?: string | undefined;
|
|
1430
|
+
readonly transcriptPath?: string | undefined;
|
|
1178
1431
|
}>;
|
|
1179
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>;
|
|
1180
1913
|
export declare const sessionRenameParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1181
1914
|
readonly commandId: string;
|
|
1182
1915
|
readonly expectedRevision: string;
|
|
@@ -1194,6 +1927,7 @@ export declare const sessionRenameResultSchema: import("../runtime-schema/runtim
|
|
|
1194
1927
|
readonly createdAt: string;
|
|
1195
1928
|
readonly eventCursor: string;
|
|
1196
1929
|
readonly method: string;
|
|
1930
|
+
readonly proposedBy?: string | undefined;
|
|
1197
1931
|
readonly receiptId: string;
|
|
1198
1932
|
readonly schemaVersion: 1;
|
|
1199
1933
|
readonly state: "succeeded";
|
|
@@ -1212,22 +1946,55 @@ export declare const sessionRenameResultSchema: import("../runtime-schema/runtim
|
|
|
1212
1946
|
readonly updatedAt: string;
|
|
1213
1947
|
readonly workspaceId: string;
|
|
1214
1948
|
readonly workspaceRevision: string;
|
|
1949
|
+
readonly activity?: "idle" | "stopped" | "waiting_approval" | "working" | undefined;
|
|
1215
1950
|
readonly agentDefinitionRef?: {
|
|
1216
1951
|
readonly contentDigest: string;
|
|
1217
1952
|
readonly key: string;
|
|
1218
1953
|
readonly version: string;
|
|
1219
1954
|
} | undefined;
|
|
1955
|
+
readonly containment?: "none" | undefined;
|
|
1220
1956
|
readonly executor?: {
|
|
1221
1957
|
readonly connectionId: string;
|
|
1222
1958
|
readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
|
|
1223
|
-
readonly kind:
|
|
1959
|
+
readonly kind: string;
|
|
1224
1960
|
readonly model?: string | undefined;
|
|
1225
1961
|
} | undefined;
|
|
1226
1962
|
readonly failure?: {
|
|
1227
1963
|
readonly code: string;
|
|
1228
1964
|
readonly message: string;
|
|
1229
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;
|
|
1974
|
+
readonly labels?: {
|
|
1975
|
+
readonly [x: string]: string;
|
|
1976
|
+
} | undefined;
|
|
1977
|
+
readonly latestTurnId?: string | undefined;
|
|
1978
|
+
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
1979
|
+
readonly parentSessionId?: string | undefined;
|
|
1980
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
1981
|
+
readonly prompt?: {
|
|
1982
|
+
readonly approvalId: string;
|
|
1983
|
+
readonly expiresAt: string;
|
|
1984
|
+
readonly kind: "command" | "file_change" | "question" | "tool";
|
|
1985
|
+
readonly options?: readonly {
|
|
1986
|
+
readonly label: string;
|
|
1987
|
+
readonly optionId: string;
|
|
1988
|
+
}[] | undefined;
|
|
1989
|
+
readonly summary?: string | undefined;
|
|
1990
|
+
} | undefined;
|
|
1991
|
+
readonly recovery?: {
|
|
1992
|
+
readonly code: string;
|
|
1993
|
+
readonly message: string;
|
|
1994
|
+
} | undefined;
|
|
1230
1995
|
readonly schemaVersion: 4;
|
|
1996
|
+
readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
|
|
1997
|
+
readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
|
|
1231
1998
|
readonly title?: string | undefined;
|
|
1232
1999
|
readonly worktree?: {
|
|
1233
2000
|
readonly baseRef: string;
|
|
@@ -1243,4 +2010,122 @@ export declare const sessionRenameResultSchema: import("../runtime-schema/runtim
|
|
|
1243
2010
|
};
|
|
1244
2011
|
}>;
|
|
1245
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>;
|
|
1246
2131
|
//# sourceMappingURL=contract.d.ts.map
|