@maiaos/protocol 0.1.0-canary.8 → 0.1.0-canary.81
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 +3943 -1287
- package/dist/local-node/effect-schema.d.ts.map +1 -1
- package/dist/local-node/effect-schema.js +125 -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 +149 -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 +968 -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/defaults/contract.d.ts +19 -0
- package/dist/session/defaults/contract.d.ts.map +1 -0
- package/dist/session/defaults/contract.js +5 -0
- package/dist/session/defaults/contract.js.map +1 -0
- package/dist/session/defaults/effect-schema.d.ts +36 -0
- package/dist/session/defaults/effect-schema.d.ts.map +1 -0
- package/dist/session/defaults/effect-schema.js +28 -0
- package/dist/session/defaults/effect-schema.js.map +1 -0
- package/dist/session/defaults/index.d.ts +2 -0
- package/dist/session/defaults/index.d.ts.map +1 -0
- package/dist/session/defaults/index.js +2 -0
- package/dist/session/defaults/index.js.map +1 -0
- package/dist/session/effect-schema.d.ts +2844 -159
- package/dist/session/effect-schema.d.ts.map +1 -1
- package/dist/session/effect-schema.js +581 -52
- package/dist/session/effect-schema.js.map +1 -1
- package/dist/session/feature.d.ts +801 -16
- package/dist/session/feature.d.ts.map +1 -1
- package/dist/session/feature.js +761 -24
- package/dist/session/feature.js.map +1 -1
- package/dist/session/index.d.ts +6 -3
- package/dist/session/index.d.ts.map +1 -1
- package/dist/session/index.js +6 -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 +157 -0
- package/dist/session/policy.d.ts.map +1 -1
- package/dist/session/policy.js +185 -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,7 @@
|
|
|
1
1
|
import type { InferRuntimeSchema } from "../runtime-schema/index.js";
|
|
2
|
+
import type { SessionDefaultsShowResult } from "./defaults/index.js";
|
|
2
3
|
import type { SessionObserveResult } from "./observation-contract.js";
|
|
4
|
+
import type { SessionPlacementShowResult } from "./placement/index.js";
|
|
3
5
|
import type { SessionResumeResult, SessionStopResult } from "./stop-resume-contract.js";
|
|
4
6
|
export declare const sessionSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
5
7
|
readonly createdAt: string;
|
|
@@ -10,22 +12,55 @@ export declare const sessionSchema: import("../runtime-schema/runtime-schema.js"
|
|
|
10
12
|
readonly updatedAt: string;
|
|
11
13
|
readonly workspaceId: string;
|
|
12
14
|
readonly workspaceRevision: string;
|
|
15
|
+
readonly activity?: "idle" | "stopped" | "waiting_approval" | "working" | undefined;
|
|
13
16
|
readonly agentDefinitionRef?: {
|
|
14
17
|
readonly contentDigest: string;
|
|
15
18
|
readonly key: string;
|
|
16
19
|
readonly version: string;
|
|
17
20
|
} | undefined;
|
|
21
|
+
readonly containment?: "none" | undefined;
|
|
18
22
|
readonly executor?: {
|
|
19
23
|
readonly connectionId: string;
|
|
20
24
|
readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
|
|
21
|
-
readonly kind:
|
|
25
|
+
readonly kind: string;
|
|
22
26
|
readonly model?: string | undefined;
|
|
23
27
|
} | undefined;
|
|
24
28
|
readonly failure?: {
|
|
25
29
|
readonly code: string;
|
|
26
30
|
readonly message: string;
|
|
27
31
|
} | undefined;
|
|
32
|
+
readonly heldTaskCount?: number | undefined;
|
|
33
|
+
readonly heldTasks?: readonly {
|
|
34
|
+
readonly claimedAt: string;
|
|
35
|
+
readonly id: string;
|
|
36
|
+
readonly leaseExpiresAt: string;
|
|
37
|
+
readonly state: "claimed";
|
|
38
|
+
readonly title: string;
|
|
39
|
+
}[] | undefined;
|
|
40
|
+
readonly labels?: {
|
|
41
|
+
readonly [x: string]: string;
|
|
42
|
+
} | undefined;
|
|
43
|
+
readonly latestTurnId?: string | undefined;
|
|
44
|
+
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
45
|
+
readonly parentSessionId?: string | undefined;
|
|
46
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
47
|
+
readonly prompt?: {
|
|
48
|
+
readonly approvalId: string;
|
|
49
|
+
readonly expiresAt: string;
|
|
50
|
+
readonly kind: "command" | "file_change" | "question" | "tool";
|
|
51
|
+
readonly options?: readonly {
|
|
52
|
+
readonly label: string;
|
|
53
|
+
readonly optionId: string;
|
|
54
|
+
}[] | undefined;
|
|
55
|
+
readonly summary?: string | undefined;
|
|
56
|
+
} | undefined;
|
|
57
|
+
readonly recovery?: {
|
|
58
|
+
readonly code: string;
|
|
59
|
+
readonly message: string;
|
|
60
|
+
} | undefined;
|
|
28
61
|
readonly schemaVersion: 4;
|
|
62
|
+
readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
|
|
63
|
+
readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
|
|
29
64
|
readonly title?: string | undefined;
|
|
30
65
|
readonly worktree?: {
|
|
31
66
|
readonly baseRef: string;
|
|
@@ -59,12 +94,16 @@ export declare const sessionEventSchema: import("../runtime-schema/runtime-schem
|
|
|
59
94
|
readonly key: string;
|
|
60
95
|
readonly version: string;
|
|
61
96
|
} | undefined;
|
|
97
|
+
readonly authorizedBy?: string | undefined;
|
|
98
|
+
readonly containment?: "none" | undefined;
|
|
99
|
+
readonly cwd?: string | undefined;
|
|
62
100
|
readonly executor?: {
|
|
63
101
|
readonly connectionId: string;
|
|
64
102
|
readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
|
|
65
|
-
readonly kind:
|
|
103
|
+
readonly kind: string;
|
|
66
104
|
readonly model?: string | undefined;
|
|
67
105
|
} | undefined;
|
|
106
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
68
107
|
readonly projectId: string;
|
|
69
108
|
readonly workspaceId: string;
|
|
70
109
|
readonly workspaceRevision: string;
|
|
@@ -111,6 +150,20 @@ export declare const sessionEventSchema: import("../runtime-schema/runtime-schem
|
|
|
111
150
|
readonly schemaVersion: 4;
|
|
112
151
|
readonly sessionCursor: string;
|
|
113
152
|
readonly sessionId: string;
|
|
153
|
+
} | {
|
|
154
|
+
readonly commandId: string;
|
|
155
|
+
readonly eventType: "session.runtime.recovery.updated";
|
|
156
|
+
readonly globalCursor: string;
|
|
157
|
+
readonly payload: {
|
|
158
|
+
readonly recovery?: {
|
|
159
|
+
readonly code: string;
|
|
160
|
+
readonly message: string;
|
|
161
|
+
} | undefined;
|
|
162
|
+
};
|
|
163
|
+
readonly recordedAt: string;
|
|
164
|
+
readonly schemaVersion: 4;
|
|
165
|
+
readonly sessionCursor: string;
|
|
166
|
+
readonly sessionId: string;
|
|
114
167
|
} | {
|
|
115
168
|
readonly commandId: string;
|
|
116
169
|
readonly eventType: "session.runtime.resumed";
|
|
@@ -270,21 +323,30 @@ export declare const sessionCreateParametersSchema: import("../runtime-schema/ru
|
|
|
270
323
|
readonly workspaceId: string;
|
|
271
324
|
readonly agentId?: string | undefined;
|
|
272
325
|
readonly connectionId?: string | undefined;
|
|
326
|
+
readonly cwd?: string | undefined;
|
|
273
327
|
readonly definitionRef?: {
|
|
274
328
|
readonly contentDigest: string;
|
|
275
329
|
readonly key: string;
|
|
276
330
|
readonly version: string;
|
|
277
331
|
} | undefined;
|
|
278
332
|
readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
|
|
279
|
-
readonly executor?:
|
|
333
|
+
readonly executor?: string | undefined;
|
|
334
|
+
readonly hostAuthority?: true | undefined;
|
|
335
|
+
readonly labels?: {
|
|
336
|
+
readonly [x: string]: string;
|
|
337
|
+
} | undefined;
|
|
280
338
|
readonly model?: string | undefined;
|
|
339
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
281
340
|
readonly role?: "orchestrator" | "worker" | undefined;
|
|
282
341
|
readonly title?: string | undefined;
|
|
283
342
|
readonly worktree?: {
|
|
284
343
|
readonly baseRef: string;
|
|
344
|
+
readonly branch?: string | undefined;
|
|
285
345
|
} | undefined;
|
|
286
346
|
}>;
|
|
287
347
|
export type SessionCreateParameters = InferRuntimeSchema<typeof sessionCreateParametersSchema>;
|
|
348
|
+
/** An executor id: lowercase kebab text; the Node's registry decides which ids exist. */
|
|
349
|
+
export declare const sessionExecutorKindSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<string>;
|
|
288
350
|
export declare const sessionMailboxSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
289
351
|
readonly contentBytes: string;
|
|
290
352
|
readonly createdAt: string;
|
|
@@ -373,8 +435,14 @@ export type SessionInboxAckParameters = InferRuntimeSchema<typeof sessionInboxAc
|
|
|
373
435
|
export declare const sessionListParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
374
436
|
readonly afterCursor?: string | undefined;
|
|
375
437
|
readonly attention?: boolean | undefined;
|
|
438
|
+
readonly idleForSeconds?: number | undefined;
|
|
439
|
+
readonly labels?: {
|
|
440
|
+
readonly [x: string]: string;
|
|
441
|
+
} | undefined;
|
|
376
442
|
readonly limit?: number | undefined;
|
|
443
|
+
readonly parentSessionId?: string | undefined;
|
|
377
444
|
readonly projectId?: string | undefined;
|
|
445
|
+
readonly settled?: true | undefined;
|
|
378
446
|
readonly states?: readonly ("failed" | "idle" | "interrupted" | "recovering" | "running" | "starting" | "stopped" | "stopping" | "waiting-approval")[] | undefined;
|
|
379
447
|
}>;
|
|
380
448
|
export type SessionListParameters = InferRuntimeSchema<typeof sessionListParametersSchema>;
|
|
@@ -383,8 +451,9 @@ export declare const sessionShowParametersSchema: import("../runtime-schema/runt
|
|
|
383
451
|
}>;
|
|
384
452
|
export type SessionShowParameters = InferRuntimeSchema<typeof sessionShowParametersSchema>;
|
|
385
453
|
export declare const sessionWaitParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
454
|
+
readonly activities?: readonly ("idle" | "stopped" | "waiting_approval" | "working")[] | undefined;
|
|
386
455
|
readonly sessionId: string;
|
|
387
|
-
readonly states
|
|
456
|
+
readonly states?: readonly ("failed" | "idle" | "interrupted" | "recovering" | "running" | "starting" | "stopped" | "stopping" | "waiting-approval")[] | undefined;
|
|
388
457
|
readonly waitMilliseconds: number;
|
|
389
458
|
}>;
|
|
390
459
|
export type SessionWaitParameters = InferRuntimeSchema<typeof sessionWaitParametersSchema>;
|
|
@@ -400,96 +469,55 @@ export declare const sessionWaitResultSchema: import("../runtime-schema/runtime-
|
|
|
400
469
|
readonly updatedAt: string;
|
|
401
470
|
readonly workspaceId: string;
|
|
402
471
|
readonly workspaceRevision: string;
|
|
472
|
+
readonly activity?: "idle" | "stopped" | "waiting_approval" | "working" | undefined;
|
|
403
473
|
readonly agentDefinitionRef?: {
|
|
404
474
|
readonly contentDigest: string;
|
|
405
475
|
readonly key: string;
|
|
406
476
|
readonly version: string;
|
|
407
477
|
} | undefined;
|
|
478
|
+
readonly containment?: "none" | undefined;
|
|
408
479
|
readonly executor?: {
|
|
409
480
|
readonly connectionId: string;
|
|
410
481
|
readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
|
|
411
|
-
readonly kind:
|
|
482
|
+
readonly kind: string;
|
|
412
483
|
readonly model?: string | undefined;
|
|
413
484
|
} | undefined;
|
|
414
485
|
readonly failure?: {
|
|
415
486
|
readonly code: string;
|
|
416
487
|
readonly message: string;
|
|
417
488
|
} | 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: {
|
|
489
|
+
readonly heldTaskCount?: number | undefined;
|
|
490
|
+
readonly heldTasks?: readonly {
|
|
491
|
+
readonly claimedAt: string;
|
|
463
492
|
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;
|
|
493
|
+
readonly leaseExpiresAt: string;
|
|
494
|
+
readonly state: "claimed";
|
|
495
|
+
readonly title: string;
|
|
496
|
+
}[] | undefined;
|
|
497
|
+
readonly labels?: {
|
|
498
|
+
readonly [x: string]: string;
|
|
481
499
|
} | undefined;
|
|
482
|
-
readonly
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
500
|
+
readonly latestTurnId?: string | undefined;
|
|
501
|
+
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
502
|
+
readonly parentSessionId?: string | undefined;
|
|
503
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
504
|
+
readonly prompt?: {
|
|
505
|
+
readonly approvalId: string;
|
|
506
|
+
readonly expiresAt: string;
|
|
507
|
+
readonly kind: "command" | "file_change" | "question" | "tool";
|
|
508
|
+
readonly options?: readonly {
|
|
509
|
+
readonly label: string;
|
|
510
|
+
readonly optionId: string;
|
|
511
|
+
}[] | undefined;
|
|
512
|
+
readonly summary?: string | undefined;
|
|
487
513
|
} | undefined;
|
|
488
|
-
readonly
|
|
514
|
+
readonly recovery?: {
|
|
489
515
|
readonly code: string;
|
|
490
516
|
readonly message: string;
|
|
491
517
|
} | undefined;
|
|
492
518
|
readonly schemaVersion: 4;
|
|
519
|
+
readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
|
|
520
|
+
readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
|
|
493
521
|
readonly title?: string | undefined;
|
|
494
522
|
readonly worktree?: {
|
|
495
523
|
readonly baseRef: string;
|
|
@@ -504,7 +532,7 @@ export declare const sessionSpawnResultSchema: import("../runtime-schema/runtime
|
|
|
504
532
|
} | undefined;
|
|
505
533
|
};
|
|
506
534
|
}>;
|
|
507
|
-
export type
|
|
535
|
+
export type SessionWaitResult = InferRuntimeSchema<typeof sessionWaitResultSchema>;
|
|
508
536
|
export declare const sessionEventsListParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
509
537
|
readonly afterSessionCursor: string;
|
|
510
538
|
readonly limit: number;
|
|
@@ -521,6 +549,7 @@ export declare const sessionCreateResultSchema: import("../runtime-schema/runtim
|
|
|
521
549
|
readonly createdAt: string;
|
|
522
550
|
readonly eventCursor: string;
|
|
523
551
|
readonly method: string;
|
|
552
|
+
readonly proposedBy?: string | undefined;
|
|
524
553
|
readonly receiptId: string;
|
|
525
554
|
readonly schemaVersion: 1;
|
|
526
555
|
readonly state: "succeeded";
|
|
@@ -539,22 +568,55 @@ export declare const sessionCreateResultSchema: import("../runtime-schema/runtim
|
|
|
539
568
|
readonly updatedAt: string;
|
|
540
569
|
readonly workspaceId: string;
|
|
541
570
|
readonly workspaceRevision: string;
|
|
571
|
+
readonly activity?: "idle" | "stopped" | "waiting_approval" | "working" | undefined;
|
|
542
572
|
readonly agentDefinitionRef?: {
|
|
543
573
|
readonly contentDigest: string;
|
|
544
574
|
readonly key: string;
|
|
545
575
|
readonly version: string;
|
|
546
576
|
} | undefined;
|
|
577
|
+
readonly containment?: "none" | undefined;
|
|
547
578
|
readonly executor?: {
|
|
548
579
|
readonly connectionId: string;
|
|
549
580
|
readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
|
|
550
|
-
readonly kind:
|
|
581
|
+
readonly kind: string;
|
|
551
582
|
readonly model?: string | undefined;
|
|
552
583
|
} | undefined;
|
|
553
584
|
readonly failure?: {
|
|
554
585
|
readonly code: string;
|
|
555
586
|
readonly message: string;
|
|
556
587
|
} | undefined;
|
|
588
|
+
readonly heldTaskCount?: number | undefined;
|
|
589
|
+
readonly heldTasks?: readonly {
|
|
590
|
+
readonly claimedAt: string;
|
|
591
|
+
readonly id: string;
|
|
592
|
+
readonly leaseExpiresAt: string;
|
|
593
|
+
readonly state: "claimed";
|
|
594
|
+
readonly title: string;
|
|
595
|
+
}[] | undefined;
|
|
596
|
+
readonly labels?: {
|
|
597
|
+
readonly [x: string]: string;
|
|
598
|
+
} | undefined;
|
|
599
|
+
readonly latestTurnId?: string | undefined;
|
|
600
|
+
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
601
|
+
readonly parentSessionId?: string | undefined;
|
|
602
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
603
|
+
readonly prompt?: {
|
|
604
|
+
readonly approvalId: string;
|
|
605
|
+
readonly expiresAt: string;
|
|
606
|
+
readonly kind: "command" | "file_change" | "question" | "tool";
|
|
607
|
+
readonly options?: readonly {
|
|
608
|
+
readonly label: string;
|
|
609
|
+
readonly optionId: string;
|
|
610
|
+
}[] | undefined;
|
|
611
|
+
readonly summary?: string | undefined;
|
|
612
|
+
} | undefined;
|
|
613
|
+
readonly recovery?: {
|
|
614
|
+
readonly code: string;
|
|
615
|
+
readonly message: string;
|
|
616
|
+
} | undefined;
|
|
557
617
|
readonly schemaVersion: 4;
|
|
618
|
+
readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
|
|
619
|
+
readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
|
|
558
620
|
readonly title?: string | undefined;
|
|
559
621
|
readonly worktree?: {
|
|
560
622
|
readonly baseRef: string;
|
|
@@ -593,6 +655,7 @@ export declare const sessionMessageSendResultSchema: import("../runtime-schema/r
|
|
|
593
655
|
readonly createdAt: string;
|
|
594
656
|
readonly eventCursor: string;
|
|
595
657
|
readonly method: string;
|
|
658
|
+
readonly proposedBy?: string | undefined;
|
|
596
659
|
readonly receiptId: string;
|
|
597
660
|
readonly schemaVersion: 1;
|
|
598
661
|
readonly state: "succeeded";
|
|
@@ -677,6 +740,7 @@ export declare const sessionInboxAckResultSchema: import("../runtime-schema/runt
|
|
|
677
740
|
readonly createdAt: string;
|
|
678
741
|
readonly eventCursor: string;
|
|
679
742
|
readonly method: string;
|
|
743
|
+
readonly proposedBy?: string | undefined;
|
|
680
744
|
readonly receiptId: string;
|
|
681
745
|
readonly schemaVersion: 1;
|
|
682
746
|
readonly state: "succeeded";
|
|
@@ -702,22 +766,55 @@ export declare const sessionListResultSchema: import("../runtime-schema/runtime-
|
|
|
702
766
|
readonly updatedAt: string;
|
|
703
767
|
readonly workspaceId: string;
|
|
704
768
|
readonly workspaceRevision: string;
|
|
769
|
+
readonly activity?: "idle" | "stopped" | "waiting_approval" | "working" | undefined;
|
|
705
770
|
readonly agentDefinitionRef?: {
|
|
706
771
|
readonly contentDigest: string;
|
|
707
772
|
readonly key: string;
|
|
708
773
|
readonly version: string;
|
|
709
774
|
} | undefined;
|
|
775
|
+
readonly containment?: "none" | undefined;
|
|
710
776
|
readonly executor?: {
|
|
711
777
|
readonly connectionId: string;
|
|
712
778
|
readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
|
|
713
|
-
readonly kind:
|
|
779
|
+
readonly kind: string;
|
|
714
780
|
readonly model?: string | undefined;
|
|
715
781
|
} | undefined;
|
|
716
782
|
readonly failure?: {
|
|
717
783
|
readonly code: string;
|
|
718
784
|
readonly message: string;
|
|
719
785
|
} | undefined;
|
|
786
|
+
readonly heldTaskCount?: number | undefined;
|
|
787
|
+
readonly heldTasks?: readonly {
|
|
788
|
+
readonly claimedAt: string;
|
|
789
|
+
readonly id: string;
|
|
790
|
+
readonly leaseExpiresAt: string;
|
|
791
|
+
readonly state: "claimed";
|
|
792
|
+
readonly title: string;
|
|
793
|
+
}[] | undefined;
|
|
794
|
+
readonly labels?: {
|
|
795
|
+
readonly [x: string]: string;
|
|
796
|
+
} | undefined;
|
|
797
|
+
readonly latestTurnId?: string | undefined;
|
|
798
|
+
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
799
|
+
readonly parentSessionId?: string | undefined;
|
|
800
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
801
|
+
readonly prompt?: {
|
|
802
|
+
readonly approvalId: string;
|
|
803
|
+
readonly expiresAt: string;
|
|
804
|
+
readonly kind: "command" | "file_change" | "question" | "tool";
|
|
805
|
+
readonly options?: readonly {
|
|
806
|
+
readonly label: string;
|
|
807
|
+
readonly optionId: string;
|
|
808
|
+
}[] | undefined;
|
|
809
|
+
readonly summary?: string | undefined;
|
|
810
|
+
} | undefined;
|
|
811
|
+
readonly recovery?: {
|
|
812
|
+
readonly code: string;
|
|
813
|
+
readonly message: string;
|
|
814
|
+
} | undefined;
|
|
720
815
|
readonly schemaVersion: 4;
|
|
816
|
+
readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
|
|
817
|
+
readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
|
|
721
818
|
readonly title?: string | undefined;
|
|
722
819
|
readonly worktree?: {
|
|
723
820
|
readonly baseRef: string;
|
|
@@ -737,6 +834,14 @@ export declare const sessionListResultSchema: import("../runtime-schema/runtime-
|
|
|
737
834
|
export type SessionListResult = InferRuntimeSchema<typeof sessionListResultSchema>;
|
|
738
835
|
export declare const sessionShowResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
739
836
|
readonly method: "session.show";
|
|
837
|
+
readonly remoteChildren?: readonly {
|
|
838
|
+
readonly linkedAt: string;
|
|
839
|
+
readonly node: string;
|
|
840
|
+
readonly observedState?: "failed" | "idle" | "interrupted" | "recovering" | "running" | "starting" | "stopped" | "stopping" | "waiting-approval" | undefined;
|
|
841
|
+
readonly orphanedAt?: string | undefined;
|
|
842
|
+
readonly sessionId: string;
|
|
843
|
+
readonly state: "linked" | "orphaned";
|
|
844
|
+
}[] | undefined;
|
|
740
845
|
readonly session: {
|
|
741
846
|
readonly createdAt: string;
|
|
742
847
|
readonly id: string;
|
|
@@ -746,22 +851,55 @@ export declare const sessionShowResultSchema: import("../runtime-schema/runtime-
|
|
|
746
851
|
readonly updatedAt: string;
|
|
747
852
|
readonly workspaceId: string;
|
|
748
853
|
readonly workspaceRevision: string;
|
|
854
|
+
readonly activity?: "idle" | "stopped" | "waiting_approval" | "working" | undefined;
|
|
749
855
|
readonly agentDefinitionRef?: {
|
|
750
856
|
readonly contentDigest: string;
|
|
751
857
|
readonly key: string;
|
|
752
858
|
readonly version: string;
|
|
753
859
|
} | undefined;
|
|
860
|
+
readonly containment?: "none" | undefined;
|
|
754
861
|
readonly executor?: {
|
|
755
862
|
readonly connectionId: string;
|
|
756
863
|
readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
|
|
757
|
-
readonly kind:
|
|
864
|
+
readonly kind: string;
|
|
758
865
|
readonly model?: string | undefined;
|
|
759
866
|
} | undefined;
|
|
760
867
|
readonly failure?: {
|
|
761
868
|
readonly code: string;
|
|
762
869
|
readonly message: string;
|
|
763
870
|
} | undefined;
|
|
871
|
+
readonly heldTaskCount?: number | undefined;
|
|
872
|
+
readonly heldTasks?: readonly {
|
|
873
|
+
readonly claimedAt: string;
|
|
874
|
+
readonly id: string;
|
|
875
|
+
readonly leaseExpiresAt: string;
|
|
876
|
+
readonly state: "claimed";
|
|
877
|
+
readonly title: string;
|
|
878
|
+
}[] | undefined;
|
|
879
|
+
readonly labels?: {
|
|
880
|
+
readonly [x: string]: string;
|
|
881
|
+
} | undefined;
|
|
882
|
+
readonly latestTurnId?: string | undefined;
|
|
883
|
+
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
884
|
+
readonly parentSessionId?: string | undefined;
|
|
885
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
886
|
+
readonly prompt?: {
|
|
887
|
+
readonly approvalId: string;
|
|
888
|
+
readonly expiresAt: string;
|
|
889
|
+
readonly kind: "command" | "file_change" | "question" | "tool";
|
|
890
|
+
readonly options?: readonly {
|
|
891
|
+
readonly label: string;
|
|
892
|
+
readonly optionId: string;
|
|
893
|
+
}[] | undefined;
|
|
894
|
+
readonly summary?: string | undefined;
|
|
895
|
+
} | undefined;
|
|
896
|
+
readonly recovery?: {
|
|
897
|
+
readonly code: string;
|
|
898
|
+
readonly message: string;
|
|
899
|
+
} | undefined;
|
|
764
900
|
readonly schemaVersion: 4;
|
|
901
|
+
readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
|
|
902
|
+
readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
|
|
765
903
|
readonly title?: string | undefined;
|
|
766
904
|
readonly worktree?: {
|
|
767
905
|
readonly baseRef: string;
|
|
@@ -793,12 +931,16 @@ export declare const sessionEventsListResultSchema: import("../runtime-schema/ru
|
|
|
793
931
|
readonly key: string;
|
|
794
932
|
readonly version: string;
|
|
795
933
|
} | undefined;
|
|
934
|
+
readonly authorizedBy?: string | undefined;
|
|
935
|
+
readonly containment?: "none" | undefined;
|
|
936
|
+
readonly cwd?: string | undefined;
|
|
796
937
|
readonly executor?: {
|
|
797
938
|
readonly connectionId: string;
|
|
798
939
|
readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
|
|
799
|
-
readonly kind:
|
|
940
|
+
readonly kind: string;
|
|
800
941
|
readonly model?: string | undefined;
|
|
801
942
|
} | undefined;
|
|
943
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
802
944
|
readonly projectId: string;
|
|
803
945
|
readonly workspaceId: string;
|
|
804
946
|
readonly workspaceRevision: string;
|
|
@@ -845,6 +987,20 @@ export declare const sessionEventsListResultSchema: import("../runtime-schema/ru
|
|
|
845
987
|
readonly schemaVersion: 4;
|
|
846
988
|
readonly sessionCursor: string;
|
|
847
989
|
readonly sessionId: string;
|
|
990
|
+
} | {
|
|
991
|
+
readonly commandId: string;
|
|
992
|
+
readonly eventType: "session.runtime.recovery.updated";
|
|
993
|
+
readonly globalCursor: string;
|
|
994
|
+
readonly payload: {
|
|
995
|
+
readonly recovery?: {
|
|
996
|
+
readonly code: string;
|
|
997
|
+
readonly message: string;
|
|
998
|
+
} | undefined;
|
|
999
|
+
};
|
|
1000
|
+
readonly recordedAt: string;
|
|
1001
|
+
readonly schemaVersion: 4;
|
|
1002
|
+
readonly sessionCursor: string;
|
|
1003
|
+
readonly sessionId: string;
|
|
848
1004
|
} | {
|
|
849
1005
|
readonly commandId: string;
|
|
850
1006
|
readonly eventType: "session.runtime.resumed";
|
|
@@ -999,6 +1155,7 @@ export declare const sessionEventsListResultSchema: import("../runtime-schema/ru
|
|
|
999
1155
|
})[];
|
|
1000
1156
|
readonly method: "session.events.list";
|
|
1001
1157
|
readonly nextSessionCursor?: string | undefined;
|
|
1158
|
+
readonly oldestRetainedCursor?: string | undefined;
|
|
1002
1159
|
readonly sessionId: string;
|
|
1003
1160
|
}>;
|
|
1004
1161
|
export type SessionEventsListResult = InferRuntimeSchema<typeof sessionEventsListResultSchema>;
|
|
@@ -1018,6 +1175,7 @@ export declare const sessionStartResultSchema: import("../runtime-schema/runtime
|
|
|
1018
1175
|
readonly createdAt: string;
|
|
1019
1176
|
readonly eventCursor: string;
|
|
1020
1177
|
readonly method: string;
|
|
1178
|
+
readonly proposedBy?: string | undefined;
|
|
1021
1179
|
readonly receiptId: string;
|
|
1022
1180
|
readonly schemaVersion: 1;
|
|
1023
1181
|
readonly state: "succeeded";
|
|
@@ -1036,22 +1194,55 @@ export declare const sessionStartResultSchema: import("../runtime-schema/runtime
|
|
|
1036
1194
|
readonly updatedAt: string;
|
|
1037
1195
|
readonly workspaceId: string;
|
|
1038
1196
|
readonly workspaceRevision: string;
|
|
1197
|
+
readonly activity?: "idle" | "stopped" | "waiting_approval" | "working" | undefined;
|
|
1039
1198
|
readonly agentDefinitionRef?: {
|
|
1040
1199
|
readonly contentDigest: string;
|
|
1041
1200
|
readonly key: string;
|
|
1042
1201
|
readonly version: string;
|
|
1043
1202
|
} | undefined;
|
|
1203
|
+
readonly containment?: "none" | undefined;
|
|
1044
1204
|
readonly executor?: {
|
|
1045
1205
|
readonly connectionId: string;
|
|
1046
1206
|
readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
|
|
1047
|
-
readonly kind:
|
|
1207
|
+
readonly kind: string;
|
|
1048
1208
|
readonly model?: string | undefined;
|
|
1049
1209
|
} | undefined;
|
|
1050
1210
|
readonly failure?: {
|
|
1051
1211
|
readonly code: string;
|
|
1052
1212
|
readonly message: string;
|
|
1053
1213
|
} | undefined;
|
|
1214
|
+
readonly heldTaskCount?: number | undefined;
|
|
1215
|
+
readonly heldTasks?: readonly {
|
|
1216
|
+
readonly claimedAt: string;
|
|
1217
|
+
readonly id: string;
|
|
1218
|
+
readonly leaseExpiresAt: string;
|
|
1219
|
+
readonly state: "claimed";
|
|
1220
|
+
readonly title: string;
|
|
1221
|
+
}[] | undefined;
|
|
1222
|
+
readonly labels?: {
|
|
1223
|
+
readonly [x: string]: string;
|
|
1224
|
+
} | undefined;
|
|
1225
|
+
readonly latestTurnId?: string | undefined;
|
|
1226
|
+
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
1227
|
+
readonly parentSessionId?: string | undefined;
|
|
1228
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
1229
|
+
readonly prompt?: {
|
|
1230
|
+
readonly approvalId: string;
|
|
1231
|
+
readonly expiresAt: string;
|
|
1232
|
+
readonly kind: "command" | "file_change" | "question" | "tool";
|
|
1233
|
+
readonly options?: readonly {
|
|
1234
|
+
readonly label: string;
|
|
1235
|
+
readonly optionId: string;
|
|
1236
|
+
}[] | undefined;
|
|
1237
|
+
readonly summary?: string | undefined;
|
|
1238
|
+
} | undefined;
|
|
1239
|
+
readonly recovery?: {
|
|
1240
|
+
readonly code: string;
|
|
1241
|
+
readonly message: string;
|
|
1242
|
+
} | undefined;
|
|
1054
1243
|
readonly schemaVersion: 4;
|
|
1244
|
+
readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
|
|
1245
|
+
readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
|
|
1055
1246
|
readonly title?: string | undefined;
|
|
1056
1247
|
readonly worktree?: {
|
|
1057
1248
|
readonly baseRef: string;
|
|
@@ -1067,9 +1258,11 @@ export declare const sessionStartResultSchema: import("../runtime-schema/runtime
|
|
|
1067
1258
|
};
|
|
1068
1259
|
}>;
|
|
1069
1260
|
export type SessionStartResult = InferRuntimeSchema<typeof sessionStartResultSchema>;
|
|
1070
|
-
export type SessionResult = SessionArchiveResult | SessionCreateResult | SessionDiffResult | SessionEventsListResult | SessionInboxAckResult | SessionInboxCheckResult | SessionListResult | SessionMessageSendResult | SessionObserveResult | SessionRenameResult | SessionResumeResult | SessionShowResult |
|
|
1261
|
+
export type SessionResult = SessionArchiveResult | SessionCreateResult | SessionDefaultsShowResult | SessionDiffResult | SessionEventsListResult | SessionForkConfirmResult | SessionForkPreviewResult | SessionGitStatusResult | SessionInboxAckResult | SessionInboxCheckResult | SessionListResult | SessionMessageSendResult | SessionObserveResult | SessionPlacementShowResult | SessionRenameResult | SessionResumeResult | SessionSetupConfirmResult | SessionSetupPreviewResult | SessionShowResult | SessionSpawnConfirmResult | SessionSpawnPreviewResult | SessionStartResult | SessionStopResult | SessionSwitchConfirmResult | SessionSwitchPreviewResult | SessionWaitResult;
|
|
1071
1262
|
export declare const sessionBaseRefSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<string>;
|
|
1072
1263
|
export type SessionBaseRef = InferRuntimeSchema<typeof sessionBaseRefSchema>;
|
|
1264
|
+
/** The branch a coding Session may name for its new worktree. */
|
|
1265
|
+
export declare const sessionBranchNameSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<string>;
|
|
1073
1266
|
export declare const sessionWorktreeSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1074
1267
|
readonly baseRef: string;
|
|
1075
1268
|
readonly baseRevision: string;
|
|
@@ -1106,10 +1299,35 @@ export declare const sessionDiffResultSchema: import("../runtime-schema/runtime-
|
|
|
1106
1299
|
readonly totalFiles: number;
|
|
1107
1300
|
}>;
|
|
1108
1301
|
export type SessionDiffResult = InferRuntimeSchema<typeof sessionDiffResultSchema>;
|
|
1302
|
+
export declare const sessionGitStatusParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1303
|
+
readonly sessionId: string;
|
|
1304
|
+
}>;
|
|
1305
|
+
export type SessionGitStatusParameters = InferRuntimeSchema<typeof sessionGitStatusParametersSchema>;
|
|
1306
|
+
export declare const sessionGitStatusResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1307
|
+
readonly ahead?: number | undefined;
|
|
1308
|
+
readonly baseRef: string;
|
|
1309
|
+
readonly baseRevision?: string | undefined;
|
|
1310
|
+
readonly behind?: number | undefined;
|
|
1311
|
+
readonly branch?: string | undefined;
|
|
1312
|
+
readonly changedFiles: number;
|
|
1313
|
+
readonly dirty: boolean;
|
|
1314
|
+
readonly headRevision: string;
|
|
1315
|
+
readonly method: "session.git.status";
|
|
1316
|
+
readonly observedAt: string;
|
|
1317
|
+
readonly sessionId: string;
|
|
1318
|
+
readonly upstream?: {
|
|
1319
|
+
readonly ahead?: number | undefined;
|
|
1320
|
+
readonly behind?: number | undefined;
|
|
1321
|
+
readonly name: string;
|
|
1322
|
+
} | undefined;
|
|
1323
|
+
}>;
|
|
1324
|
+
export type SessionGitStatusResult = InferRuntimeSchema<typeof sessionGitStatusResultSchema>;
|
|
1109
1325
|
export declare const sessionArchiveParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1110
1326
|
readonly commandId: string;
|
|
1111
1327
|
readonly expectedRevision: string;
|
|
1112
1328
|
readonly sessionId: string;
|
|
1329
|
+
readonly summary?: string | undefined;
|
|
1330
|
+
readonly transcriptPath?: string | undefined;
|
|
1113
1331
|
}>;
|
|
1114
1332
|
export type SessionArchiveParameters = InferRuntimeSchema<typeof sessionArchiveParametersSchema>;
|
|
1115
1333
|
export declare const sessionArchiveResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
@@ -1128,6 +1346,7 @@ export declare const sessionArchiveResultSchema: import("../runtime-schema/runti
|
|
|
1128
1346
|
readonly createdAt: string;
|
|
1129
1347
|
readonly eventCursor: string;
|
|
1130
1348
|
readonly method: string;
|
|
1349
|
+
readonly proposedBy?: string | undefined;
|
|
1131
1350
|
readonly receiptId: string;
|
|
1132
1351
|
readonly schemaVersion: 1;
|
|
1133
1352
|
readonly state: "succeeded";
|
|
@@ -1146,22 +1365,55 @@ export declare const sessionArchiveResultSchema: import("../runtime-schema/runti
|
|
|
1146
1365
|
readonly updatedAt: string;
|
|
1147
1366
|
readonly workspaceId: string;
|
|
1148
1367
|
readonly workspaceRevision: string;
|
|
1368
|
+
readonly activity?: "idle" | "stopped" | "waiting_approval" | "working" | undefined;
|
|
1149
1369
|
readonly agentDefinitionRef?: {
|
|
1150
1370
|
readonly contentDigest: string;
|
|
1151
1371
|
readonly key: string;
|
|
1152
1372
|
readonly version: string;
|
|
1153
1373
|
} | undefined;
|
|
1374
|
+
readonly containment?: "none" | undefined;
|
|
1154
1375
|
readonly executor?: {
|
|
1155
1376
|
readonly connectionId: string;
|
|
1156
1377
|
readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
|
|
1157
|
-
readonly kind:
|
|
1378
|
+
readonly kind: string;
|
|
1158
1379
|
readonly model?: string | undefined;
|
|
1159
1380
|
} | undefined;
|
|
1160
1381
|
readonly failure?: {
|
|
1161
1382
|
readonly code: string;
|
|
1162
1383
|
readonly message: string;
|
|
1163
1384
|
} | undefined;
|
|
1385
|
+
readonly heldTaskCount?: number | undefined;
|
|
1386
|
+
readonly heldTasks?: readonly {
|
|
1387
|
+
readonly claimedAt: string;
|
|
1388
|
+
readonly id: string;
|
|
1389
|
+
readonly leaseExpiresAt: string;
|
|
1390
|
+
readonly state: "claimed";
|
|
1391
|
+
readonly title: string;
|
|
1392
|
+
}[] | undefined;
|
|
1393
|
+
readonly labels?: {
|
|
1394
|
+
readonly [x: string]: string;
|
|
1395
|
+
} | undefined;
|
|
1396
|
+
readonly latestTurnId?: string | undefined;
|
|
1397
|
+
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
1398
|
+
readonly parentSessionId?: string | undefined;
|
|
1399
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
1400
|
+
readonly prompt?: {
|
|
1401
|
+
readonly approvalId: string;
|
|
1402
|
+
readonly expiresAt: string;
|
|
1403
|
+
readonly kind: "command" | "file_change" | "question" | "tool";
|
|
1404
|
+
readonly options?: readonly {
|
|
1405
|
+
readonly label: string;
|
|
1406
|
+
readonly optionId: string;
|
|
1407
|
+
}[] | undefined;
|
|
1408
|
+
readonly summary?: string | undefined;
|
|
1409
|
+
} | undefined;
|
|
1410
|
+
readonly recovery?: {
|
|
1411
|
+
readonly code: string;
|
|
1412
|
+
readonly message: string;
|
|
1413
|
+
} | undefined;
|
|
1164
1414
|
readonly schemaVersion: 4;
|
|
1415
|
+
readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
|
|
1416
|
+
readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
|
|
1165
1417
|
readonly title?: string | undefined;
|
|
1166
1418
|
readonly worktree?: {
|
|
1167
1419
|
readonly baseRef: string;
|
|
@@ -1175,8 +1427,490 @@ export declare const sessionArchiveResultSchema: import("../runtime-schema/runti
|
|
|
1175
1427
|
readonly state: "active" | "archived" | "removed";
|
|
1176
1428
|
} | undefined;
|
|
1177
1429
|
};
|
|
1430
|
+
readonly summary?: string | undefined;
|
|
1431
|
+
readonly transcriptPath?: string | undefined;
|
|
1178
1432
|
}>;
|
|
1179
1433
|
export type SessionArchiveResult = InferRuntimeSchema<typeof sessionArchiveResultSchema>;
|
|
1434
|
+
export declare const sessionForkPreviewParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1435
|
+
readonly commandId: string;
|
|
1436
|
+
readonly sessionId: string;
|
|
1437
|
+
readonly turnId?: string | undefined;
|
|
1438
|
+
}>;
|
|
1439
|
+
export type SessionForkPreviewParameters = InferRuntimeSchema<typeof sessionForkPreviewParametersSchema>;
|
|
1440
|
+
export declare const sessionForkPreviewResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1441
|
+
readonly inputDigest: string;
|
|
1442
|
+
readonly proof: string;
|
|
1443
|
+
readonly validUntil: string;
|
|
1444
|
+
readonly checkpoint?: string | undefined;
|
|
1445
|
+
readonly commandId: string;
|
|
1446
|
+
readonly expectedRevision: string;
|
|
1447
|
+
readonly sessionId: string;
|
|
1448
|
+
readonly turnId: string;
|
|
1449
|
+
readonly method: "session.fork.preview";
|
|
1450
|
+
readonly path: "context-handoff";
|
|
1451
|
+
}>;
|
|
1452
|
+
export type SessionForkPreviewResult = InferRuntimeSchema<typeof sessionForkPreviewResultSchema>;
|
|
1453
|
+
export declare const sessionForkConfirmParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1454
|
+
readonly inputDigest: string;
|
|
1455
|
+
readonly proof: string;
|
|
1456
|
+
readonly validUntil: string;
|
|
1457
|
+
readonly checkpoint?: string | undefined;
|
|
1458
|
+
readonly commandId: string;
|
|
1459
|
+
readonly expectedRevision: string;
|
|
1460
|
+
readonly sessionId: string;
|
|
1461
|
+
readonly turnId: string;
|
|
1462
|
+
}>;
|
|
1463
|
+
export type SessionForkConfirmParameters = InferRuntimeSchema<typeof sessionForkConfirmParametersSchema>;
|
|
1464
|
+
export declare const sessionForkConfirmResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1465
|
+
readonly delivery: "duplicate" | "new";
|
|
1466
|
+
readonly handoff: string;
|
|
1467
|
+
readonly path: "context-handoff";
|
|
1468
|
+
readonly receipt: {
|
|
1469
|
+
readonly actorId: string;
|
|
1470
|
+
readonly aggregateRevision: string;
|
|
1471
|
+
readonly commandId: string;
|
|
1472
|
+
readonly createdAt: string;
|
|
1473
|
+
readonly eventCursor: string;
|
|
1474
|
+
readonly method: string;
|
|
1475
|
+
readonly proposedBy?: string | undefined;
|
|
1476
|
+
readonly receiptId: string;
|
|
1477
|
+
readonly schemaVersion: 1;
|
|
1478
|
+
readonly state: "succeeded";
|
|
1479
|
+
readonly target: {
|
|
1480
|
+
readonly id: string;
|
|
1481
|
+
readonly type: string;
|
|
1482
|
+
};
|
|
1483
|
+
readonly updatedAt: string;
|
|
1484
|
+
};
|
|
1485
|
+
readonly session: {
|
|
1486
|
+
readonly createdAt: string;
|
|
1487
|
+
readonly id: string;
|
|
1488
|
+
readonly projectId: string;
|
|
1489
|
+
readonly revision: string;
|
|
1490
|
+
readonly state: "failed" | "idle" | "interrupted" | "recovering" | "running" | "starting" | "stopped" | "stopping" | "waiting-approval";
|
|
1491
|
+
readonly updatedAt: string;
|
|
1492
|
+
readonly workspaceId: string;
|
|
1493
|
+
readonly workspaceRevision: string;
|
|
1494
|
+
readonly activity?: "idle" | "stopped" | "waiting_approval" | "working" | undefined;
|
|
1495
|
+
readonly agentDefinitionRef?: {
|
|
1496
|
+
readonly contentDigest: string;
|
|
1497
|
+
readonly key: string;
|
|
1498
|
+
readonly version: string;
|
|
1499
|
+
} | undefined;
|
|
1500
|
+
readonly containment?: "none" | undefined;
|
|
1501
|
+
readonly executor?: {
|
|
1502
|
+
readonly connectionId: string;
|
|
1503
|
+
readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
|
|
1504
|
+
readonly kind: string;
|
|
1505
|
+
readonly model?: string | undefined;
|
|
1506
|
+
} | undefined;
|
|
1507
|
+
readonly failure?: {
|
|
1508
|
+
readonly code: string;
|
|
1509
|
+
readonly message: string;
|
|
1510
|
+
} | undefined;
|
|
1511
|
+
readonly heldTaskCount?: number | undefined;
|
|
1512
|
+
readonly heldTasks?: readonly {
|
|
1513
|
+
readonly claimedAt: string;
|
|
1514
|
+
readonly id: string;
|
|
1515
|
+
readonly leaseExpiresAt: string;
|
|
1516
|
+
readonly state: "claimed";
|
|
1517
|
+
readonly title: string;
|
|
1518
|
+
}[] | undefined;
|
|
1519
|
+
readonly labels?: {
|
|
1520
|
+
readonly [x: string]: string;
|
|
1521
|
+
} | undefined;
|
|
1522
|
+
readonly latestTurnId?: string | undefined;
|
|
1523
|
+
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
1524
|
+
readonly parentSessionId?: string | undefined;
|
|
1525
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
1526
|
+
readonly prompt?: {
|
|
1527
|
+
readonly approvalId: string;
|
|
1528
|
+
readonly expiresAt: string;
|
|
1529
|
+
readonly kind: "command" | "file_change" | "question" | "tool";
|
|
1530
|
+
readonly options?: readonly {
|
|
1531
|
+
readonly label: string;
|
|
1532
|
+
readonly optionId: string;
|
|
1533
|
+
}[] | undefined;
|
|
1534
|
+
readonly summary?: string | undefined;
|
|
1535
|
+
} | undefined;
|
|
1536
|
+
readonly recovery?: {
|
|
1537
|
+
readonly code: string;
|
|
1538
|
+
readonly message: string;
|
|
1539
|
+
} | undefined;
|
|
1540
|
+
readonly schemaVersion: 4;
|
|
1541
|
+
readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
|
|
1542
|
+
readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
|
|
1543
|
+
readonly title?: string | undefined;
|
|
1544
|
+
readonly worktree?: {
|
|
1545
|
+
readonly baseRef: string;
|
|
1546
|
+
readonly baseRevision: string;
|
|
1547
|
+
readonly branch: string;
|
|
1548
|
+
readonly setup: "failed" | "none" | "pending" | "succeeded";
|
|
1549
|
+
readonly skills?: readonly {
|
|
1550
|
+
readonly digest: string;
|
|
1551
|
+
readonly name: string;
|
|
1552
|
+
}[] | undefined;
|
|
1553
|
+
readonly state: "active" | "archived" | "removed";
|
|
1554
|
+
} | undefined;
|
|
1555
|
+
};
|
|
1556
|
+
readonly sourceSessionId: string;
|
|
1557
|
+
readonly method: "session.fork.confirm";
|
|
1558
|
+
}>;
|
|
1559
|
+
export type SessionForkConfirmResult = InferRuntimeSchema<typeof sessionForkConfirmResultSchema>;
|
|
1560
|
+
export declare const sessionSetupPreviewParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1561
|
+
readonly commandId: string;
|
|
1562
|
+
readonly sessionId: string;
|
|
1563
|
+
}>;
|
|
1564
|
+
export type SessionSetupPreviewParameters = InferRuntimeSchema<typeof sessionSetupPreviewParametersSchema>;
|
|
1565
|
+
export declare const sessionSetupPreviewResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1566
|
+
readonly inputDigest: string;
|
|
1567
|
+
readonly proof: string;
|
|
1568
|
+
readonly validUntil: string;
|
|
1569
|
+
readonly commandId: string;
|
|
1570
|
+
readonly expectedRevision: string;
|
|
1571
|
+
readonly sessionId: string;
|
|
1572
|
+
readonly setupDigest: string;
|
|
1573
|
+
readonly approved: boolean;
|
|
1574
|
+
readonly method: "session.setup.preview";
|
|
1575
|
+
readonly setup: {
|
|
1576
|
+
readonly command: readonly string[];
|
|
1577
|
+
readonly files: readonly {
|
|
1578
|
+
readonly path: string;
|
|
1579
|
+
readonly sha256: string;
|
|
1580
|
+
}[];
|
|
1581
|
+
};
|
|
1582
|
+
}>;
|
|
1583
|
+
export type SessionSetupPreviewResult = InferRuntimeSchema<typeof sessionSetupPreviewResultSchema>;
|
|
1584
|
+
export declare const sessionSetupConfirmParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1585
|
+
readonly inputDigest: string;
|
|
1586
|
+
readonly proof: string;
|
|
1587
|
+
readonly validUntil: string;
|
|
1588
|
+
readonly commandId: string;
|
|
1589
|
+
readonly expectedRevision: string;
|
|
1590
|
+
readonly sessionId: string;
|
|
1591
|
+
readonly setupDigest: string;
|
|
1592
|
+
}>;
|
|
1593
|
+
export type SessionSetupConfirmParameters = InferRuntimeSchema<typeof sessionSetupConfirmParametersSchema>;
|
|
1594
|
+
export declare const sessionSetupConfirmResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1595
|
+
readonly delivery: "duplicate" | "new";
|
|
1596
|
+
readonly method: "session.setup.confirm";
|
|
1597
|
+
readonly receipt: {
|
|
1598
|
+
readonly actorId: string;
|
|
1599
|
+
readonly aggregateRevision: string;
|
|
1600
|
+
readonly commandId: string;
|
|
1601
|
+
readonly createdAt: string;
|
|
1602
|
+
readonly eventCursor: string;
|
|
1603
|
+
readonly method: string;
|
|
1604
|
+
readonly proposedBy?: string | undefined;
|
|
1605
|
+
readonly receiptId: string;
|
|
1606
|
+
readonly schemaVersion: 1;
|
|
1607
|
+
readonly state: "succeeded";
|
|
1608
|
+
readonly target: {
|
|
1609
|
+
readonly id: string;
|
|
1610
|
+
readonly type: string;
|
|
1611
|
+
};
|
|
1612
|
+
readonly updatedAt: string;
|
|
1613
|
+
};
|
|
1614
|
+
readonly sessionId: string;
|
|
1615
|
+
readonly setupDigest: string;
|
|
1616
|
+
}>;
|
|
1617
|
+
export type SessionSetupConfirmResult = InferRuntimeSchema<typeof sessionSetupConfirmResultSchema>;
|
|
1618
|
+
export declare const sessionSpawnPreviewParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1619
|
+
readonly commandId: string;
|
|
1620
|
+
readonly executor: string;
|
|
1621
|
+
readonly hostAuthority?: true | undefined;
|
|
1622
|
+
readonly parent: {
|
|
1623
|
+
readonly children: {
|
|
1624
|
+
readonly live: number;
|
|
1625
|
+
readonly total: number;
|
|
1626
|
+
};
|
|
1627
|
+
readonly depth: number;
|
|
1628
|
+
readonly hostAuthority?: true | undefined;
|
|
1629
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
1630
|
+
readonly role: "orchestrator" | "worker";
|
|
1631
|
+
readonly sessionId: string;
|
|
1632
|
+
};
|
|
1633
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
1634
|
+
readonly workspaceId: string;
|
|
1635
|
+
}>;
|
|
1636
|
+
export type SessionSpawnPreviewParameters = InferRuntimeSchema<typeof sessionSpawnPreviewParametersSchema>;
|
|
1637
|
+
export declare const sessionSpawnPreviewResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1638
|
+
readonly inputDigest: string;
|
|
1639
|
+
readonly proof: string;
|
|
1640
|
+
readonly validUntil: string;
|
|
1641
|
+
readonly commandId: string;
|
|
1642
|
+
readonly executor: string;
|
|
1643
|
+
readonly hostAuthority?: true | undefined;
|
|
1644
|
+
readonly parent: {
|
|
1645
|
+
readonly children: {
|
|
1646
|
+
readonly live: number;
|
|
1647
|
+
readonly total: number;
|
|
1648
|
+
};
|
|
1649
|
+
readonly depth: number;
|
|
1650
|
+
readonly hostAuthority?: true | undefined;
|
|
1651
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
1652
|
+
readonly role: "orchestrator" | "worker";
|
|
1653
|
+
readonly sessionId: string;
|
|
1654
|
+
};
|
|
1655
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
1656
|
+
readonly workspaceId: string;
|
|
1657
|
+
readonly expectedRevision: "0";
|
|
1658
|
+
readonly method: "session.spawn.preview";
|
|
1659
|
+
}>;
|
|
1660
|
+
export type SessionSpawnPreviewResult = InferRuntimeSchema<typeof sessionSpawnPreviewResultSchema>;
|
|
1661
|
+
export declare const sessionSpawnConfirmParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1662
|
+
readonly inputDigest: string;
|
|
1663
|
+
readonly proof: string;
|
|
1664
|
+
readonly validUntil: string;
|
|
1665
|
+
readonly commandId: string;
|
|
1666
|
+
readonly executor: string;
|
|
1667
|
+
readonly hostAuthority?: true | undefined;
|
|
1668
|
+
readonly parent: {
|
|
1669
|
+
readonly children: {
|
|
1670
|
+
readonly live: number;
|
|
1671
|
+
readonly total: number;
|
|
1672
|
+
};
|
|
1673
|
+
readonly depth: number;
|
|
1674
|
+
readonly hostAuthority?: true | undefined;
|
|
1675
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
1676
|
+
readonly role: "orchestrator" | "worker";
|
|
1677
|
+
readonly sessionId: string;
|
|
1678
|
+
};
|
|
1679
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
1680
|
+
readonly workspaceId: string;
|
|
1681
|
+
readonly expectedRevision: "0";
|
|
1682
|
+
}>;
|
|
1683
|
+
export type SessionSpawnConfirmParameters = InferRuntimeSchema<typeof sessionSpawnConfirmParametersSchema>;
|
|
1684
|
+
export declare const sessionSpawnConfirmResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1685
|
+
readonly delivery: "duplicate" | "new";
|
|
1686
|
+
readonly method: "session.spawn.confirm";
|
|
1687
|
+
readonly parentSessionId: string;
|
|
1688
|
+
readonly receipt: {
|
|
1689
|
+
readonly actorId: string;
|
|
1690
|
+
readonly aggregateRevision: string;
|
|
1691
|
+
readonly commandId: string;
|
|
1692
|
+
readonly createdAt: string;
|
|
1693
|
+
readonly eventCursor: string;
|
|
1694
|
+
readonly method: string;
|
|
1695
|
+
readonly proposedBy?: string | undefined;
|
|
1696
|
+
readonly receiptId: string;
|
|
1697
|
+
readonly schemaVersion: 1;
|
|
1698
|
+
readonly state: "succeeded";
|
|
1699
|
+
readonly target: {
|
|
1700
|
+
readonly id: string;
|
|
1701
|
+
readonly type: string;
|
|
1702
|
+
};
|
|
1703
|
+
readonly updatedAt: string;
|
|
1704
|
+
};
|
|
1705
|
+
readonly session: {
|
|
1706
|
+
readonly createdAt: string;
|
|
1707
|
+
readonly id: string;
|
|
1708
|
+
readonly projectId: string;
|
|
1709
|
+
readonly revision: string;
|
|
1710
|
+
readonly state: "failed" | "idle" | "interrupted" | "recovering" | "running" | "starting" | "stopped" | "stopping" | "waiting-approval";
|
|
1711
|
+
readonly updatedAt: string;
|
|
1712
|
+
readonly workspaceId: string;
|
|
1713
|
+
readonly workspaceRevision: string;
|
|
1714
|
+
readonly activity?: "idle" | "stopped" | "waiting_approval" | "working" | undefined;
|
|
1715
|
+
readonly agentDefinitionRef?: {
|
|
1716
|
+
readonly contentDigest: string;
|
|
1717
|
+
readonly key: string;
|
|
1718
|
+
readonly version: string;
|
|
1719
|
+
} | undefined;
|
|
1720
|
+
readonly containment?: "none" | undefined;
|
|
1721
|
+
readonly executor?: {
|
|
1722
|
+
readonly connectionId: string;
|
|
1723
|
+
readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
|
|
1724
|
+
readonly kind: string;
|
|
1725
|
+
readonly model?: string | undefined;
|
|
1726
|
+
} | undefined;
|
|
1727
|
+
readonly failure?: {
|
|
1728
|
+
readonly code: string;
|
|
1729
|
+
readonly message: string;
|
|
1730
|
+
} | undefined;
|
|
1731
|
+
readonly heldTaskCount?: number | undefined;
|
|
1732
|
+
readonly heldTasks?: readonly {
|
|
1733
|
+
readonly claimedAt: string;
|
|
1734
|
+
readonly id: string;
|
|
1735
|
+
readonly leaseExpiresAt: string;
|
|
1736
|
+
readonly state: "claimed";
|
|
1737
|
+
readonly title: string;
|
|
1738
|
+
}[] | undefined;
|
|
1739
|
+
readonly labels?: {
|
|
1740
|
+
readonly [x: string]: string;
|
|
1741
|
+
} | undefined;
|
|
1742
|
+
readonly latestTurnId?: string | undefined;
|
|
1743
|
+
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
1744
|
+
readonly parentSessionId?: string | undefined;
|
|
1745
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
1746
|
+
readonly prompt?: {
|
|
1747
|
+
readonly approvalId: string;
|
|
1748
|
+
readonly expiresAt: string;
|
|
1749
|
+
readonly kind: "command" | "file_change" | "question" | "tool";
|
|
1750
|
+
readonly options?: readonly {
|
|
1751
|
+
readonly label: string;
|
|
1752
|
+
readonly optionId: string;
|
|
1753
|
+
}[] | undefined;
|
|
1754
|
+
readonly summary?: string | undefined;
|
|
1755
|
+
} | undefined;
|
|
1756
|
+
readonly recovery?: {
|
|
1757
|
+
readonly code: string;
|
|
1758
|
+
readonly message: string;
|
|
1759
|
+
} | undefined;
|
|
1760
|
+
readonly schemaVersion: 4;
|
|
1761
|
+
readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
|
|
1762
|
+
readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
|
|
1763
|
+
readonly title?: string | undefined;
|
|
1764
|
+
readonly worktree?: {
|
|
1765
|
+
readonly baseRef: string;
|
|
1766
|
+
readonly baseRevision: string;
|
|
1767
|
+
readonly branch: string;
|
|
1768
|
+
readonly setup: "failed" | "none" | "pending" | "succeeded";
|
|
1769
|
+
readonly skills?: readonly {
|
|
1770
|
+
readonly digest: string;
|
|
1771
|
+
readonly name: string;
|
|
1772
|
+
}[] | undefined;
|
|
1773
|
+
readonly state: "active" | "archived" | "removed";
|
|
1774
|
+
} | undefined;
|
|
1775
|
+
};
|
|
1776
|
+
}>;
|
|
1777
|
+
export type SessionSpawnConfirmResult = InferRuntimeSchema<typeof sessionSpawnConfirmResultSchema>;
|
|
1778
|
+
export declare const sessionSwitchPreviewParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1779
|
+
readonly commandId: string;
|
|
1780
|
+
readonly sessionId: string;
|
|
1781
|
+
readonly target: {
|
|
1782
|
+
readonly connectionId?: string | undefined;
|
|
1783
|
+
readonly executor?: string | undefined;
|
|
1784
|
+
readonly model?: string | undefined;
|
|
1785
|
+
};
|
|
1786
|
+
}>;
|
|
1787
|
+
export type SessionSwitchPreviewParameters = InferRuntimeSchema<typeof sessionSwitchPreviewParametersSchema>;
|
|
1788
|
+
export declare const sessionSwitchPreviewResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1789
|
+
readonly inputDigest: string;
|
|
1790
|
+
readonly proof: string;
|
|
1791
|
+
readonly validUntil: string;
|
|
1792
|
+
readonly commandId: string;
|
|
1793
|
+
readonly expectedRevision: string;
|
|
1794
|
+
readonly sessionId: string;
|
|
1795
|
+
readonly target: {
|
|
1796
|
+
readonly connectionId?: string | undefined;
|
|
1797
|
+
readonly executor?: string | undefined;
|
|
1798
|
+
readonly model?: string | undefined;
|
|
1799
|
+
};
|
|
1800
|
+
readonly method: "session.switch.preview";
|
|
1801
|
+
readonly path: "context-handoff";
|
|
1802
|
+
}>;
|
|
1803
|
+
export type SessionSwitchPreviewResult = InferRuntimeSchema<typeof sessionSwitchPreviewResultSchema>;
|
|
1804
|
+
export declare const sessionSwitchConfirmParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1805
|
+
readonly inputDigest: string;
|
|
1806
|
+
readonly proof: string;
|
|
1807
|
+
readonly validUntil: string;
|
|
1808
|
+
readonly commandId: string;
|
|
1809
|
+
readonly expectedRevision: string;
|
|
1810
|
+
readonly sessionId: string;
|
|
1811
|
+
readonly target: {
|
|
1812
|
+
readonly connectionId?: string | undefined;
|
|
1813
|
+
readonly executor?: string | undefined;
|
|
1814
|
+
readonly model?: string | undefined;
|
|
1815
|
+
};
|
|
1816
|
+
}>;
|
|
1817
|
+
export type SessionSwitchConfirmParameters = InferRuntimeSchema<typeof sessionSwitchConfirmParametersSchema>;
|
|
1818
|
+
export declare const sessionSwitchConfirmResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1819
|
+
readonly delivery: "duplicate" | "new";
|
|
1820
|
+
readonly handoff: string;
|
|
1821
|
+
readonly path: "context-handoff";
|
|
1822
|
+
readonly receipt: {
|
|
1823
|
+
readonly actorId: string;
|
|
1824
|
+
readonly aggregateRevision: string;
|
|
1825
|
+
readonly commandId: string;
|
|
1826
|
+
readonly createdAt: string;
|
|
1827
|
+
readonly eventCursor: string;
|
|
1828
|
+
readonly method: string;
|
|
1829
|
+
readonly proposedBy?: string | undefined;
|
|
1830
|
+
readonly receiptId: string;
|
|
1831
|
+
readonly schemaVersion: 1;
|
|
1832
|
+
readonly state: "succeeded";
|
|
1833
|
+
readonly target: {
|
|
1834
|
+
readonly id: string;
|
|
1835
|
+
readonly type: string;
|
|
1836
|
+
};
|
|
1837
|
+
readonly updatedAt: string;
|
|
1838
|
+
};
|
|
1839
|
+
readonly session: {
|
|
1840
|
+
readonly createdAt: string;
|
|
1841
|
+
readonly id: string;
|
|
1842
|
+
readonly projectId: string;
|
|
1843
|
+
readonly revision: string;
|
|
1844
|
+
readonly state: "failed" | "idle" | "interrupted" | "recovering" | "running" | "starting" | "stopped" | "stopping" | "waiting-approval";
|
|
1845
|
+
readonly updatedAt: string;
|
|
1846
|
+
readonly workspaceId: string;
|
|
1847
|
+
readonly workspaceRevision: string;
|
|
1848
|
+
readonly activity?: "idle" | "stopped" | "waiting_approval" | "working" | undefined;
|
|
1849
|
+
readonly agentDefinitionRef?: {
|
|
1850
|
+
readonly contentDigest: string;
|
|
1851
|
+
readonly key: string;
|
|
1852
|
+
readonly version: string;
|
|
1853
|
+
} | undefined;
|
|
1854
|
+
readonly containment?: "none" | undefined;
|
|
1855
|
+
readonly executor?: {
|
|
1856
|
+
readonly connectionId: string;
|
|
1857
|
+
readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
|
|
1858
|
+
readonly kind: string;
|
|
1859
|
+
readonly model?: string | undefined;
|
|
1860
|
+
} | undefined;
|
|
1861
|
+
readonly failure?: {
|
|
1862
|
+
readonly code: string;
|
|
1863
|
+
readonly message: string;
|
|
1864
|
+
} | undefined;
|
|
1865
|
+
readonly heldTaskCount?: number | undefined;
|
|
1866
|
+
readonly heldTasks?: readonly {
|
|
1867
|
+
readonly claimedAt: string;
|
|
1868
|
+
readonly id: string;
|
|
1869
|
+
readonly leaseExpiresAt: string;
|
|
1870
|
+
readonly state: "claimed";
|
|
1871
|
+
readonly title: string;
|
|
1872
|
+
}[] | undefined;
|
|
1873
|
+
readonly labels?: {
|
|
1874
|
+
readonly [x: string]: string;
|
|
1875
|
+
} | undefined;
|
|
1876
|
+
readonly latestTurnId?: string | undefined;
|
|
1877
|
+
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
1878
|
+
readonly parentSessionId?: string | undefined;
|
|
1879
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
1880
|
+
readonly prompt?: {
|
|
1881
|
+
readonly approvalId: string;
|
|
1882
|
+
readonly expiresAt: string;
|
|
1883
|
+
readonly kind: "command" | "file_change" | "question" | "tool";
|
|
1884
|
+
readonly options?: readonly {
|
|
1885
|
+
readonly label: string;
|
|
1886
|
+
readonly optionId: string;
|
|
1887
|
+
}[] | undefined;
|
|
1888
|
+
readonly summary?: string | undefined;
|
|
1889
|
+
} | undefined;
|
|
1890
|
+
readonly recovery?: {
|
|
1891
|
+
readonly code: string;
|
|
1892
|
+
readonly message: string;
|
|
1893
|
+
} | undefined;
|
|
1894
|
+
readonly schemaVersion: 4;
|
|
1895
|
+
readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
|
|
1896
|
+
readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
|
|
1897
|
+
readonly title?: string | undefined;
|
|
1898
|
+
readonly worktree?: {
|
|
1899
|
+
readonly baseRef: string;
|
|
1900
|
+
readonly baseRevision: string;
|
|
1901
|
+
readonly branch: string;
|
|
1902
|
+
readonly setup: "failed" | "none" | "pending" | "succeeded";
|
|
1903
|
+
readonly skills?: readonly {
|
|
1904
|
+
readonly digest: string;
|
|
1905
|
+
readonly name: string;
|
|
1906
|
+
}[] | undefined;
|
|
1907
|
+
readonly state: "active" | "archived" | "removed";
|
|
1908
|
+
} | undefined;
|
|
1909
|
+
};
|
|
1910
|
+
readonly sourceSessionId: string;
|
|
1911
|
+
readonly method: "session.switch.confirm";
|
|
1912
|
+
}>;
|
|
1913
|
+
export type SessionSwitchConfirmResult = InferRuntimeSchema<typeof sessionSwitchConfirmResultSchema>;
|
|
1180
1914
|
export declare const sessionRenameParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1181
1915
|
readonly commandId: string;
|
|
1182
1916
|
readonly expectedRevision: string;
|
|
@@ -1194,6 +1928,7 @@ export declare const sessionRenameResultSchema: import("../runtime-schema/runtim
|
|
|
1194
1928
|
readonly createdAt: string;
|
|
1195
1929
|
readonly eventCursor: string;
|
|
1196
1930
|
readonly method: string;
|
|
1931
|
+
readonly proposedBy?: string | undefined;
|
|
1197
1932
|
readonly receiptId: string;
|
|
1198
1933
|
readonly schemaVersion: 1;
|
|
1199
1934
|
readonly state: "succeeded";
|
|
@@ -1212,22 +1947,55 @@ export declare const sessionRenameResultSchema: import("../runtime-schema/runtim
|
|
|
1212
1947
|
readonly updatedAt: string;
|
|
1213
1948
|
readonly workspaceId: string;
|
|
1214
1949
|
readonly workspaceRevision: string;
|
|
1950
|
+
readonly activity?: "idle" | "stopped" | "waiting_approval" | "working" | undefined;
|
|
1215
1951
|
readonly agentDefinitionRef?: {
|
|
1216
1952
|
readonly contentDigest: string;
|
|
1217
1953
|
readonly key: string;
|
|
1218
1954
|
readonly version: string;
|
|
1219
1955
|
} | undefined;
|
|
1956
|
+
readonly containment?: "none" | undefined;
|
|
1220
1957
|
readonly executor?: {
|
|
1221
1958
|
readonly connectionId: string;
|
|
1222
1959
|
readonly effort?: "high" | "low" | "max" | "medium" | "ultra" | "xhigh" | undefined;
|
|
1223
|
-
readonly kind:
|
|
1960
|
+
readonly kind: string;
|
|
1224
1961
|
readonly model?: string | undefined;
|
|
1225
1962
|
} | undefined;
|
|
1226
1963
|
readonly failure?: {
|
|
1227
1964
|
readonly code: string;
|
|
1228
1965
|
readonly message: string;
|
|
1229
1966
|
} | undefined;
|
|
1967
|
+
readonly heldTaskCount?: number | undefined;
|
|
1968
|
+
readonly heldTasks?: readonly {
|
|
1969
|
+
readonly claimedAt: string;
|
|
1970
|
+
readonly id: string;
|
|
1971
|
+
readonly leaseExpiresAt: string;
|
|
1972
|
+
readonly state: "claimed";
|
|
1973
|
+
readonly title: string;
|
|
1974
|
+
}[] | undefined;
|
|
1975
|
+
readonly labels?: {
|
|
1976
|
+
readonly [x: string]: string;
|
|
1977
|
+
} | undefined;
|
|
1978
|
+
readonly latestTurnId?: string | undefined;
|
|
1979
|
+
readonly latestTurnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
1980
|
+
readonly parentSessionId?: string | undefined;
|
|
1981
|
+
readonly permission?: "acceptEdits" | "bypassPermissions" | "default" | "dontAsk" | "never" | "on-request" | "plan" | "untrusted" | undefined;
|
|
1982
|
+
readonly prompt?: {
|
|
1983
|
+
readonly approvalId: string;
|
|
1984
|
+
readonly expiresAt: string;
|
|
1985
|
+
readonly kind: "command" | "file_change" | "question" | "tool";
|
|
1986
|
+
readonly options?: readonly {
|
|
1987
|
+
readonly label: string;
|
|
1988
|
+
readonly optionId: string;
|
|
1989
|
+
}[] | undefined;
|
|
1990
|
+
readonly summary?: string | undefined;
|
|
1991
|
+
} | undefined;
|
|
1992
|
+
readonly recovery?: {
|
|
1993
|
+
readonly code: string;
|
|
1994
|
+
readonly message: string;
|
|
1995
|
+
} | undefined;
|
|
1230
1996
|
readonly schemaVersion: 4;
|
|
1997
|
+
readonly settledReason?: "failed" | "idle" | "stopped" | undefined;
|
|
1998
|
+
readonly status?: "approval" | "compacting" | "done" | "ended" | "error" | "idle" | "question" | "rate_limited" | "starting" | "unknown" | "working" | undefined;
|
|
1231
1999
|
readonly title?: string | undefined;
|
|
1232
2000
|
readonly worktree?: {
|
|
1233
2001
|
readonly baseRef: string;
|
|
@@ -1243,4 +2011,122 @@ export declare const sessionRenameResultSchema: import("../runtime-schema/runtim
|
|
|
1243
2011
|
};
|
|
1244
2012
|
}>;
|
|
1245
2013
|
export type SessionRenameResult = InferRuntimeSchema<typeof sessionRenameResultSchema>;
|
|
2014
|
+
export declare const sessionSpawnCapsRecordSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
2015
|
+
readonly caps: {
|
|
2016
|
+
readonly concurrency: number;
|
|
2017
|
+
readonly depth: number;
|
|
2018
|
+
readonly fanOut: number;
|
|
2019
|
+
};
|
|
2020
|
+
readonly revision: string;
|
|
2021
|
+
readonly source: "default" | "node";
|
|
2022
|
+
readonly updatedAt?: string | undefined;
|
|
2023
|
+
}>;
|
|
2024
|
+
export declare const sessionSpawnCapsShowParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
2025
|
+
readonly sessionId?: string | undefined;
|
|
2026
|
+
}>;
|
|
2027
|
+
export declare const sessionSpawnCapsShowResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
2028
|
+
readonly caps: {
|
|
2029
|
+
readonly caps: {
|
|
2030
|
+
readonly concurrency: number;
|
|
2031
|
+
readonly depth: number;
|
|
2032
|
+
readonly fanOut: number;
|
|
2033
|
+
};
|
|
2034
|
+
readonly revision: string;
|
|
2035
|
+
readonly source: "default" | "node";
|
|
2036
|
+
readonly updatedAt?: string | undefined;
|
|
2037
|
+
};
|
|
2038
|
+
readonly method: "session.spawn-caps.show";
|
|
2039
|
+
readonly standing?: {
|
|
2040
|
+
readonly children: {
|
|
2041
|
+
readonly live: number;
|
|
2042
|
+
readonly total: number;
|
|
2043
|
+
};
|
|
2044
|
+
readonly depth?: number | undefined;
|
|
2045
|
+
readonly role?: "orchestrator" | "worker" | undefined;
|
|
2046
|
+
readonly sessionId: string;
|
|
2047
|
+
} | undefined;
|
|
2048
|
+
}>;
|
|
2049
|
+
export declare const sessionSpawnCapsPreviewParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
2050
|
+
readonly caps: {
|
|
2051
|
+
readonly concurrency: number;
|
|
2052
|
+
readonly depth: number;
|
|
2053
|
+
readonly fanOut: number;
|
|
2054
|
+
};
|
|
2055
|
+
readonly commandId: string;
|
|
2056
|
+
readonly expectedRevision: string;
|
|
2057
|
+
}>;
|
|
2058
|
+
export declare const sessionSpawnCapsPreviewResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
2059
|
+
readonly caps: {
|
|
2060
|
+
readonly concurrency: number;
|
|
2061
|
+
readonly depth: number;
|
|
2062
|
+
readonly fanOut: number;
|
|
2063
|
+
};
|
|
2064
|
+
readonly commandId: string;
|
|
2065
|
+
readonly expectedRevision: string;
|
|
2066
|
+
readonly inputDigest: string;
|
|
2067
|
+
readonly proof: string;
|
|
2068
|
+
readonly validUntil: string;
|
|
2069
|
+
readonly current: {
|
|
2070
|
+
readonly caps: {
|
|
2071
|
+
readonly concurrency: number;
|
|
2072
|
+
readonly depth: number;
|
|
2073
|
+
readonly fanOut: number;
|
|
2074
|
+
};
|
|
2075
|
+
readonly revision: string;
|
|
2076
|
+
readonly source: "default" | "node";
|
|
2077
|
+
readonly updatedAt?: string | undefined;
|
|
2078
|
+
};
|
|
2079
|
+
readonly method: "session.spawn-caps.preview";
|
|
2080
|
+
}>;
|
|
2081
|
+
export declare const sessionSpawnCapsConfirmParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
2082
|
+
readonly caps: {
|
|
2083
|
+
readonly concurrency: number;
|
|
2084
|
+
readonly depth: number;
|
|
2085
|
+
readonly fanOut: number;
|
|
2086
|
+
};
|
|
2087
|
+
readonly commandId: string;
|
|
2088
|
+
readonly expectedRevision: string;
|
|
2089
|
+
readonly inputDigest: string;
|
|
2090
|
+
readonly proof: string;
|
|
2091
|
+
readonly validUntil: string;
|
|
2092
|
+
}>;
|
|
2093
|
+
export declare const sessionSpawnCapsConfirmResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
2094
|
+
readonly caps: {
|
|
2095
|
+
readonly caps: {
|
|
2096
|
+
readonly concurrency: number;
|
|
2097
|
+
readonly depth: number;
|
|
2098
|
+
readonly fanOut: number;
|
|
2099
|
+
};
|
|
2100
|
+
readonly revision: string;
|
|
2101
|
+
readonly source: "default" | "node";
|
|
2102
|
+
readonly updatedAt?: string | undefined;
|
|
2103
|
+
};
|
|
2104
|
+
readonly delivery: "duplicate" | "new";
|
|
2105
|
+
readonly method: "session.spawn-caps.confirm";
|
|
2106
|
+
readonly receipt: {
|
|
2107
|
+
readonly actorId: string;
|
|
2108
|
+
readonly aggregateRevision: string;
|
|
2109
|
+
readonly commandId: string;
|
|
2110
|
+
readonly createdAt: string;
|
|
2111
|
+
readonly eventCursor: string;
|
|
2112
|
+
readonly method: string;
|
|
2113
|
+
readonly proposedBy?: string | undefined;
|
|
2114
|
+
readonly receiptId: string;
|
|
2115
|
+
readonly schemaVersion: 1;
|
|
2116
|
+
readonly state: "succeeded";
|
|
2117
|
+
readonly target: {
|
|
2118
|
+
readonly id: string;
|
|
2119
|
+
readonly type: string;
|
|
2120
|
+
};
|
|
2121
|
+
readonly updatedAt: string;
|
|
2122
|
+
};
|
|
2123
|
+
}>;
|
|
2124
|
+
export type SessionSpawnCapsRecord = InferRuntimeSchema<typeof sessionSpawnCapsRecordSchema>;
|
|
2125
|
+
export type SessionSpawnCaps = SessionSpawnCapsRecord["caps"];
|
|
2126
|
+
export type SessionSpawnCapsShowParameters = InferRuntimeSchema<typeof sessionSpawnCapsShowParametersSchema>;
|
|
2127
|
+
export type SessionSpawnCapsShowResult = InferRuntimeSchema<typeof sessionSpawnCapsShowResultSchema>;
|
|
2128
|
+
export type SessionSpawnCapsPreviewParameters = InferRuntimeSchema<typeof sessionSpawnCapsPreviewParametersSchema>;
|
|
2129
|
+
export type SessionSpawnCapsPreviewResult = InferRuntimeSchema<typeof sessionSpawnCapsPreviewResultSchema>;
|
|
2130
|
+
export type SessionSpawnCapsConfirmParameters = InferRuntimeSchema<typeof sessionSpawnCapsConfirmParametersSchema>;
|
|
2131
|
+
export type SessionSpawnCapsConfirmResult = InferRuntimeSchema<typeof sessionSpawnCapsConfirmResultSchema>;
|
|
1246
2132
|
//# sourceMappingURL=contract.d.ts.map
|