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