@maiaos/protocol 0.1.0-canary.1
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/README.md +166 -0
- package/dist/agent/definition.d.ts +64 -0
- package/dist/agent/definition.d.ts.map +1 -0
- package/dist/agent/definition.js +45 -0
- package/dist/agent/definition.js.map +1 -0
- package/dist/agent/effect-schema.d.ts +7 -0
- package/dist/agent/effect-schema.d.ts.map +1 -0
- package/dist/agent/effect-schema.js +7 -0
- package/dist/agent/effect-schema.js.map +1 -0
- package/dist/agent/index.d.ts +4 -0
- package/dist/agent/index.d.ts.map +1 -0
- package/dist/agent/index.js +4 -0
- package/dist/agent/index.js.map +1 -0
- package/dist/agent/permission-preflight.d.ts +18 -0
- package/dist/agent/permission-preflight.d.ts.map +1 -0
- package/dist/agent/permission-preflight.js +18 -0
- package/dist/agent/permission-preflight.js.map +1 -0
- package/dist/agent/worker-operation.d.ts +53 -0
- package/dist/agent/worker-operation.d.ts.map +1 -0
- package/dist/agent/worker-operation.js +17 -0
- package/dist/agent/worker-operation.js.map +1 -0
- package/dist/approval/contract.d.ts +176 -0
- package/dist/approval/contract.d.ts.map +1 -0
- package/dist/approval/contract.js +27 -0
- package/dist/approval/contract.js.map +1 -0
- package/dist/approval/effect-schema.d.ts +3 -0
- package/dist/approval/effect-schema.d.ts.map +1 -0
- package/dist/approval/effect-schema.js +3 -0
- package/dist/approval/effect-schema.js.map +1 -0
- package/dist/approval/feature.d.ts +88 -0
- package/dist/approval/feature.d.ts.map +1 -0
- package/dist/approval/feature.js +88 -0
- package/dist/approval/feature.js.map +1 -0
- package/dist/approval/index.d.ts +3 -0
- package/dist/approval/index.d.ts.map +1 -0
- package/dist/approval/index.js +3 -0
- package/dist/approval/index.js.map +1 -0
- package/dist/approval/request-effect-schema.d.ts +93 -0
- package/dist/approval/request-effect-schema.d.ts.map +1 -0
- package/dist/approval/request-effect-schema.js +147 -0
- package/dist/approval/request-effect-schema.js.map +1 -0
- package/dist/approval/result-effect-schema.d.ts +223 -0
- package/dist/approval/result-effect-schema.d.ts.map +1 -0
- package/dist/approval/result-effect-schema.js +33 -0
- package/dist/approval/result-effect-schema.js.map +1 -0
- package/dist/capability/capability.d.ts +12 -0
- package/dist/capability/capability.d.ts.map +1 -0
- package/dist/capability/capability.js +27 -0
- package/dist/capability/capability.js.map +1 -0
- package/dist/capability/index.d.ts +2 -0
- package/dist/capability/index.d.ts.map +1 -0
- package/dist/capability/index.js +2 -0
- package/dist/capability/index.js.map +1 -0
- package/dist/command-receipt/contract.d.ts +76 -0
- package/dist/command-receipt/contract.d.ts.map +1 -0
- package/dist/command-receipt/contract.js +11 -0
- package/dist/command-receipt/contract.js.map +1 -0
- package/dist/command-receipt/effect-schema.d.ts +80 -0
- package/dist/command-receipt/effect-schema.d.ts.map +1 -0
- package/dist/command-receipt/effect-schema.js +72 -0
- package/dist/command-receipt/effect-schema.js.map +1 -0
- package/dist/command-receipt/feature.d.ts +59 -0
- package/dist/command-receipt/feature.d.ts.map +1 -0
- package/dist/command-receipt/feature.js +61 -0
- package/dist/command-receipt/feature.js.map +1 -0
- package/dist/command-receipt/index.d.ts +5 -0
- package/dist/command-receipt/index.d.ts.map +1 -0
- package/dist/command-receipt/index.js +5 -0
- package/dist/command-receipt/index.js.map +1 -0
- package/dist/command-receipt/policy.d.ts +4 -0
- package/dist/command-receipt/policy.d.ts.map +1 -0
- package/dist/command-receipt/policy.js +4 -0
- package/dist/command-receipt/policy.js.map +1 -0
- package/dist/command-receipt/version.d.ts +2 -0
- package/dist/command-receipt/version.d.ts.map +1 -0
- package/dist/command-receipt/version.js +2 -0
- package/dist/command-receipt/version.js.map +1 -0
- package/dist/configuration/configuration.d.ts +63 -0
- package/dist/configuration/configuration.d.ts.map +1 -0
- package/dist/configuration/configuration.js +93 -0
- package/dist/configuration/configuration.js.map +1 -0
- package/dist/configuration/index.d.ts +2 -0
- package/dist/configuration/index.d.ts.map +1 -0
- package/dist/configuration/index.js +2 -0
- package/dist/configuration/index.js.map +1 -0
- package/dist/connection/contract.d.ts +878 -0
- package/dist/connection/contract.d.ts.map +1 -0
- package/dist/connection/contract.js +43 -0
- package/dist/connection/contract.js.map +1 -0
- package/dist/connection/effect-schema.d.ts +760 -0
- package/dist/connection/effect-schema.d.ts.map +1 -0
- package/dist/connection/effect-schema.js +14 -0
- package/dist/connection/effect-schema.js.map +1 -0
- package/dist/connection/feature.d.ts +200 -0
- package/dist/connection/feature.d.ts.map +1 -0
- package/dist/connection/feature.js +192 -0
- package/dist/connection/feature.js.map +1 -0
- package/dist/connection/gateway-effect-schema.d.ts +26 -0
- package/dist/connection/gateway-effect-schema.d.ts.map +1 -0
- package/dist/connection/gateway-effect-schema.js +52 -0
- package/dist/connection/gateway-effect-schema.js.map +1 -0
- package/dist/connection/index.d.ts +3 -0
- package/dist/connection/index.d.ts.map +1 -0
- package/dist/connection/index.js +3 -0
- package/dist/connection/index.js.map +1 -0
- package/dist/connection/request-effect-schema.d.ts +192 -0
- package/dist/connection/request-effect-schema.d.ts.map +1 -0
- package/dist/connection/request-effect-schema.js +188 -0
- package/dist/connection/request-effect-schema.js.map +1 -0
- package/dist/connection/result-effect-schema.d.ts +985 -0
- package/dist/connection/result-effect-schema.d.ts.map +1 -0
- package/dist/connection/result-effect-schema.js +112 -0
- package/dist/connection/result-effect-schema.js.map +1 -0
- package/dist/connection/system-effect-schema.d.ts +519 -0
- package/dist/connection/system-effect-schema.d.ts.map +1 -0
- package/dist/connection/system-effect-schema.js +179 -0
- package/dist/connection/system-effect-schema.js.map +1 -0
- package/dist/container/contract.d.ts +207 -0
- package/dist/container/contract.d.ts.map +1 -0
- package/dist/container/contract.js +19 -0
- package/dist/container/contract.js.map +1 -0
- package/dist/container/effect-schema.d.ts +371 -0
- package/dist/container/effect-schema.d.ts.map +1 -0
- package/dist/container/effect-schema.js +176 -0
- package/dist/container/effect-schema.js.map +1 -0
- package/dist/container/identity-effect-schema.d.ts +3 -0
- package/dist/container/identity-effect-schema.d.ts.map +1 -0
- package/dist/container/identity-effect-schema.js +4 -0
- package/dist/container/identity-effect-schema.js.map +1 -0
- package/dist/container/index.d.ts +3 -0
- package/dist/container/index.d.ts.map +1 -0
- package/dist/container/index.js +3 -0
- package/dist/container/index.js.map +1 -0
- package/dist/container/portfolio-feature.d.ts +288 -0
- package/dist/container/portfolio-feature.d.ts.map +1 -0
- package/dist/container/portfolio-feature.js +139 -0
- package/dist/container/portfolio-feature.js.map +1 -0
- package/dist/coordinator-tool/index.d.ts +4 -0
- package/dist/coordinator-tool/index.d.ts.map +1 -0
- package/dist/coordinator-tool/index.js +3 -0
- package/dist/coordinator-tool/index.js.map +1 -0
- package/dist/coordinator-tool/input-schema.d.ts +11 -0
- package/dist/coordinator-tool/input-schema.d.ts.map +1 -0
- package/dist/coordinator-tool/input-schema.js +66 -0
- package/dist/coordinator-tool/input-schema.js.map +1 -0
- package/dist/coordinator-tool/registry.d.ts +28 -0
- package/dist/coordinator-tool/registry.d.ts.map +1 -0
- package/dist/coordinator-tool/registry.js +62 -0
- package/dist/coordinator-tool/registry.js.map +1 -0
- package/dist/discovery/contract.d.ts +255 -0
- package/dist/discovery/contract.d.ts.map +1 -0
- package/dist/discovery/contract.js +22 -0
- package/dist/discovery/contract.js.map +1 -0
- package/dist/discovery/effect-schema.d.ts +485 -0
- package/dist/discovery/effect-schema.d.ts.map +1 -0
- package/dist/discovery/effect-schema.js +239 -0
- package/dist/discovery/effect-schema.js.map +1 -0
- package/dist/discovery/feature.d.ts +117 -0
- package/dist/discovery/feature.d.ts.map +1 -0
- package/dist/discovery/feature.js +115 -0
- package/dist/discovery/feature.js.map +1 -0
- package/dist/discovery/index.d.ts +3 -0
- package/dist/discovery/index.d.ts.map +1 -0
- package/dist/discovery/index.js +3 -0
- package/dist/discovery/index.js.map +1 -0
- package/dist/envelope/display-name-effect-schema.d.ts +3 -0
- package/dist/envelope/display-name-effect-schema.d.ts.map +1 -0
- package/dist/envelope/display-name-effect-schema.js +14 -0
- package/dist/envelope/display-name-effect-schema.js.map +1 -0
- package/dist/envelope/effect-schema.d.ts +73 -0
- package/dist/envelope/effect-schema.d.ts.map +1 -0
- package/dist/envelope/effect-schema.js +68 -0
- package/dist/envelope/effect-schema.js.map +1 -0
- package/dist/envelope/envelope.d.ts +54 -0
- package/dist/envelope/envelope.d.ts.map +1 -0
- package/dist/envelope/envelope.js +41 -0
- package/dist/envelope/envelope.js.map +1 -0
- package/dist/envelope/index.d.ts +3 -0
- package/dist/envelope/index.d.ts.map +1 -0
- package/dist/envelope/index.js +3 -0
- package/dist/envelope/index.js.map +1 -0
- package/dist/envelope/policy.d.ts +13 -0
- package/dist/envelope/policy.d.ts.map +1 -0
- package/dist/envelope/policy.js +23 -0
- package/dist/envelope/policy.js.map +1 -0
- package/dist/envelope/recorded-at.d.ts +3 -0
- package/dist/envelope/recorded-at.d.ts.map +1 -0
- package/dist/envelope/recorded-at.js +13 -0
- package/dist/envelope/recorded-at.js.map +1 -0
- package/dist/envelope/revision-effect-schema.d.ts +3 -0
- package/dist/envelope/revision-effect-schema.d.ts.map +1 -0
- package/dist/envelope/revision-effect-schema.js +4 -0
- package/dist/envelope/revision-effect-schema.js.map +1 -0
- package/dist/execution/candidate.d.ts +6 -0
- package/dist/execution/candidate.d.ts.map +1 -0
- package/dist/execution/candidate.js +6 -0
- package/dist/execution/candidate.js.map +1 -0
- package/dist/execution/catalog/index.d.ts +2 -0
- package/dist/execution/catalog/index.d.ts.map +1 -0
- package/dist/execution/catalog/index.js +2 -0
- package/dist/execution/catalog/index.js.map +1 -0
- package/dist/execution/catalog/version.d.ts +6 -0
- package/dist/execution/catalog/version.d.ts.map +1 -0
- package/dist/execution/catalog/version.js +6 -0
- package/dist/execution/catalog/version.js.map +1 -0
- package/dist/execution/contract.d.ts +254 -0
- package/dist/execution/contract.d.ts.map +1 -0
- package/dist/execution/contract.js +17 -0
- package/dist/execution/contract.js.map +1 -0
- package/dist/execution/effect-schema.d.ts +751 -0
- package/dist/execution/effect-schema.d.ts.map +1 -0
- package/dist/execution/effect-schema.js +189 -0
- package/dist/execution/effect-schema.js.map +1 -0
- package/dist/execution/file-operation-contract.d.ts +106 -0
- package/dist/execution/file-operation-contract.d.ts.map +1 -0
- package/dist/execution/file-operation-contract.js +7 -0
- package/dist/execution/file-operation-contract.js.map +1 -0
- package/dist/execution/file-operation-effect-schema.d.ts +102 -0
- package/dist/execution/file-operation-effect-schema.d.ts.map +1 -0
- package/dist/execution/file-operation-effect-schema.js +91 -0
- package/dist/execution/file-operation-effect-schema.js.map +1 -0
- package/dist/execution/file-operation-version.d.ts +4 -0
- package/dist/execution/file-operation-version.d.ts.map +1 -0
- package/dist/execution/file-operation-version.js +4 -0
- package/dist/execution/file-operation-version.js.map +1 -0
- package/dist/execution/index.d.ts +8 -0
- package/dist/execution/index.d.ts.map +1 -0
- package/dist/execution/index.js +3 -0
- package/dist/execution/index.js.map +1 -0
- package/dist/execution/operation-contract.d.ts +102 -0
- package/dist/execution/operation-contract.d.ts.map +1 -0
- package/dist/execution/operation-contract.js +8 -0
- package/dist/execution/operation-contract.js.map +1 -0
- package/dist/execution/operation-effect-schema.d.ts +97 -0
- package/dist/execution/operation-effect-schema.d.ts.map +1 -0
- package/dist/execution/operation-effect-schema.js +80 -0
- package/dist/execution/operation-effect-schema.js.map +1 -0
- package/dist/execution/operation-version.d.ts +6 -0
- package/dist/execution/operation-version.d.ts.map +1 -0
- package/dist/execution/operation-version.js +6 -0
- package/dist/execution/operation-version.js.map +1 -0
- package/dist/execution/placement/contract.d.ts +524 -0
- package/dist/execution/placement/contract.d.ts.map +1 -0
- package/dist/execution/placement/contract.js +15 -0
- package/dist/execution/placement/contract.js.map +1 -0
- package/dist/execution/placement/effect-schema.d.ts +512 -0
- package/dist/execution/placement/effect-schema.d.ts.map +1 -0
- package/dist/execution/placement/effect-schema.js +135 -0
- package/dist/execution/placement/effect-schema.js.map +1 -0
- package/dist/execution/placement/index.d.ts +3 -0
- package/dist/execution/placement/index.d.ts.map +1 -0
- package/dist/execution/placement/index.js +3 -0
- package/dist/execution/placement/index.js.map +1 -0
- package/dist/execution/placement/version.d.ts +2 -0
- package/dist/execution/placement/version.d.ts.map +1 -0
- package/dist/execution/placement/version.js +2 -0
- package/dist/execution/placement/version.js.map +1 -0
- package/dist/execution/relocation/contract.d.ts +336 -0
- package/dist/execution/relocation/contract.d.ts.map +1 -0
- package/dist/execution/relocation/contract.js +16 -0
- package/dist/execution/relocation/contract.js.map +1 -0
- package/dist/execution/relocation/effect-schema.d.ts +586 -0
- package/dist/execution/relocation/effect-schema.d.ts.map +1 -0
- package/dist/execution/relocation/effect-schema.js +182 -0
- package/dist/execution/relocation/effect-schema.js.map +1 -0
- package/dist/execution/relocation/index.d.ts +3 -0
- package/dist/execution/relocation/index.d.ts.map +1 -0
- package/dist/execution/relocation/index.js +3 -0
- package/dist/execution/relocation/index.js.map +1 -0
- package/dist/execution/relocation/version.d.ts +4 -0
- package/dist/execution/relocation/version.d.ts.map +1 -0
- package/dist/execution/relocation/version.js +4 -0
- package/dist/execution/relocation/version.js.map +1 -0
- package/dist/execution/worktree/contract.d.ts +1388 -0
- package/dist/execution/worktree/contract.d.ts.map +1 -0
- package/dist/execution/worktree/contract.js +28 -0
- package/dist/execution/worktree/contract.js.map +1 -0
- package/dist/execution/worktree/effect-schema.d.ts +1363 -0
- package/dist/execution/worktree/effect-schema.d.ts.map +1 -0
- package/dist/execution/worktree/effect-schema.js +336 -0
- package/dist/execution/worktree/effect-schema.js.map +1 -0
- package/dist/execution/worktree/index.d.ts +3 -0
- package/dist/execution/worktree/index.d.ts.map +1 -0
- package/dist/execution/worktree/index.js +3 -0
- package/dist/execution/worktree/index.js.map +1 -0
- package/dist/execution/worktree/version.d.ts +8 -0
- package/dist/execution/worktree/version.d.ts.map +1 -0
- package/dist/execution/worktree/version.js +8 -0
- package/dist/execution/worktree/version.js.map +1 -0
- package/dist/feature/descriptor/descriptor.d.ts +96 -0
- package/dist/feature/descriptor/descriptor.d.ts.map +1 -0
- package/dist/feature/descriptor/descriptor.js +3 -0
- package/dist/feature/descriptor/descriptor.js.map +1 -0
- package/dist/feature/descriptor/index.d.ts +2 -0
- package/dist/feature/descriptor/index.d.ts.map +1 -0
- package/dist/feature/descriptor/index.js +2 -0
- package/dist/feature/descriptor/index.js.map +1 -0
- package/dist/feature/index.d.ts +2 -0
- package/dist/feature/index.d.ts.map +1 -0
- package/dist/feature/index.js +2 -0
- package/dist/feature/index.js.map +1 -0
- package/dist/feature/node-status.d.ts +38 -0
- package/dist/feature/node-status.d.ts.map +1 -0
- package/dist/feature/node-status.js +42 -0
- package/dist/feature/node-status.js.map +1 -0
- package/dist/feature/registry.d.ts +63 -0
- package/dist/feature/registry.d.ts.map +1 -0
- package/dist/feature/registry.js +44 -0
- package/dist/feature/registry.js.map +1 -0
- package/dist/harness/installed/contract.d.ts +175 -0
- package/dist/harness/installed/contract.d.ts.map +1 -0
- package/dist/harness/installed/contract.js +6 -0
- package/dist/harness/installed/contract.js.map +1 -0
- package/dist/harness/installed/effect-schema.d.ts +323 -0
- package/dist/harness/installed/effect-schema.d.ts.map +1 -0
- package/dist/harness/installed/effect-schema.js +64 -0
- package/dist/harness/installed/effect-schema.js.map +1 -0
- package/dist/harness/installed/index.d.ts +3 -0
- package/dist/harness/installed/index.d.ts.map +1 -0
- package/dist/harness/installed/index.js +3 -0
- package/dist/harness/installed/index.js.map +1 -0
- package/dist/harness/installed/version.d.ts +2 -0
- package/dist/harness/installed/version.d.ts.map +1 -0
- package/dist/harness/installed/version.js +2 -0
- package/dist/harness/installed/version.js.map +1 -0
- package/dist/hold/contract.d.ts +212 -0
- package/dist/hold/contract.d.ts.map +1 -0
- package/dist/hold/contract.js +21 -0
- package/dist/hold/contract.js.map +1 -0
- package/dist/hold/effect-schema.d.ts +381 -0
- package/dist/hold/effect-schema.d.ts.map +1 -0
- package/dist/hold/effect-schema.js +162 -0
- package/dist/hold/effect-schema.js.map +1 -0
- package/dist/hold/index.d.ts +2 -0
- package/dist/hold/index.d.ts.map +1 -0
- package/dist/hold/index.js +2 -0
- package/dist/hold/index.js.map +1 -0
- package/dist/index.d.ts +34 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +33 -0
- package/dist/index.js.map +1 -0
- package/dist/integration-authorization/claude-code-contract.d.ts +1089 -0
- package/dist/integration-authorization/claude-code-contract.d.ts.map +1 -0
- package/dist/integration-authorization/claude-code-contract.js +13 -0
- package/dist/integration-authorization/claude-code-contract.js.map +1 -0
- package/dist/integration-authorization/contract.d.ts +1092 -0
- package/dist/integration-authorization/contract.d.ts.map +1 -0
- package/dist/integration-authorization/contract.js +13 -0
- package/dist/integration-authorization/contract.js.map +1 -0
- package/dist/integration-authorization/effect-schema.d.ts +5859 -0
- package/dist/integration-authorization/effect-schema.d.ts.map +1 -0
- package/dist/integration-authorization/effect-schema.js +331 -0
- package/dist/integration-authorization/effect-schema.js.map +1 -0
- package/dist/integration-authorization/index.d.ts +6 -0
- package/dist/integration-authorization/index.d.ts.map +1 -0
- package/dist/integration-authorization/index.js +6 -0
- package/dist/integration-authorization/index.js.map +1 -0
- package/dist/integration-authorization/pi-rpc-contract.d.ts +2404 -0
- package/dist/integration-authorization/pi-rpc-contract.d.ts.map +1 -0
- package/dist/integration-authorization/pi-rpc-contract.js +13 -0
- package/dist/integration-authorization/pi-rpc-contract.js.map +1 -0
- package/dist/integration-authorization/policy.d.ts +5 -0
- package/dist/integration-authorization/policy.d.ts.map +1 -0
- package/dist/integration-authorization/policy.js +5 -0
- package/dist/integration-authorization/policy.js.map +1 -0
- package/dist/integration-authorization/version.d.ts +2 -0
- package/dist/integration-authorization/version.d.ts.map +1 -0
- package/dist/integration-authorization/version.js +2 -0
- package/dist/integration-authorization/version.js.map +1 -0
- package/dist/interaction/contract.d.ts +72 -0
- package/dist/interaction/contract.d.ts.map +1 -0
- package/dist/interaction/contract.js +10 -0
- package/dist/interaction/contract.js.map +1 -0
- package/dist/interaction/effect-schema.d.ts +3 -0
- package/dist/interaction/effect-schema.d.ts.map +1 -0
- package/dist/interaction/effect-schema.js +3 -0
- package/dist/interaction/effect-schema.js.map +1 -0
- package/dist/interaction/feature.d.ts +105 -0
- package/dist/interaction/feature.d.ts.map +1 -0
- package/dist/interaction/feature.js +103 -0
- package/dist/interaction/feature.js.map +1 -0
- package/dist/interaction/index.d.ts +4 -0
- package/dist/interaction/index.d.ts.map +1 -0
- package/dist/interaction/index.js +4 -0
- package/dist/interaction/index.js.map +1 -0
- package/dist/interaction/projection-effect-schema.d.ts +113 -0
- package/dist/interaction/projection-effect-schema.d.ts.map +1 -0
- package/dist/interaction/projection-effect-schema.js +83 -0
- package/dist/interaction/projection-effect-schema.js.map +1 -0
- package/dist/interaction/request-effect-schema.d.ts +144 -0
- package/dist/interaction/request-effect-schema.d.ts.map +1 -0
- package/dist/interaction/request-effect-schema.js +95 -0
- package/dist/interaction/request-effect-schema.js.map +1 -0
- package/dist/interaction/result-contract.d.ts +459 -0
- package/dist/interaction/result-contract.d.ts.map +1 -0
- package/dist/interaction/result-contract.js +13 -0
- package/dist/interaction/result-contract.js.map +1 -0
- package/dist/interaction/result-effect-schema.d.ts +681 -0
- package/dist/interaction/result-effect-schema.d.ts.map +1 -0
- package/dist/interaction/result-effect-schema.js +83 -0
- package/dist/interaction/result-effect-schema.js.map +1 -0
- package/dist/invocation-context/attachment-channel-contract.d.ts +7 -0
- package/dist/invocation-context/attachment-channel-contract.d.ts.map +1 -0
- package/dist/invocation-context/attachment-channel-contract.js +5 -0
- package/dist/invocation-context/attachment-channel-contract.js.map +1 -0
- package/dist/invocation-context/attachment-channel-effect-schema.d.ts +5 -0
- package/dist/invocation-context/attachment-channel-effect-schema.d.ts.map +1 -0
- package/dist/invocation-context/attachment-channel-effect-schema.js +9 -0
- package/dist/invocation-context/attachment-channel-effect-schema.js.map +1 -0
- package/dist/invocation-context/attachment-contract.d.ts +24 -0
- package/dist/invocation-context/attachment-contract.d.ts.map +1 -0
- package/dist/invocation-context/attachment-contract.js +5 -0
- package/dist/invocation-context/attachment-contract.js.map +1 -0
- package/dist/invocation-context/attachment-effect-schema.d.ts +22 -0
- package/dist/invocation-context/attachment-effect-schema.d.ts.map +1 -0
- package/dist/invocation-context/attachment-effect-schema.js +31 -0
- package/dist/invocation-context/attachment-effect-schema.js.map +1 -0
- package/dist/invocation-context/candidate.d.ts +3 -0
- package/dist/invocation-context/candidate.d.ts.map +1 -0
- package/dist/invocation-context/candidate.js +3 -0
- package/dist/invocation-context/candidate.js.map +1 -0
- package/dist/invocation-context/contract.d.ts +40 -0
- package/dist/invocation-context/contract.d.ts.map +1 -0
- package/dist/invocation-context/contract.js +7 -0
- package/dist/invocation-context/contract.js.map +1 -0
- package/dist/invocation-context/effect-schema.d.ts +73 -0
- package/dist/invocation-context/effect-schema.d.ts.map +1 -0
- package/dist/invocation-context/effect-schema.js +93 -0
- package/dist/invocation-context/effect-schema.js.map +1 -0
- package/dist/invocation-context/index.d.ts +2 -0
- package/dist/invocation-context/index.d.ts.map +1 -0
- package/dist/invocation-context/index.js +2 -0
- package/dist/invocation-context/index.js.map +1 -0
- package/dist/invocation-context/policy.d.ts +9 -0
- package/dist/invocation-context/policy.d.ts.map +1 -0
- package/dist/invocation-context/policy.js +9 -0
- package/dist/invocation-context/policy.js.map +1 -0
- package/dist/invocation-context/version.d.ts +2 -0
- package/dist/invocation-context/version.d.ts.map +1 -0
- package/dist/invocation-context/version.js +2 -0
- package/dist/invocation-context/version.js.map +1 -0
- package/dist/local-node/contract.d.ts +476 -0
- package/dist/local-node/contract.d.ts.map +1 -0
- package/dist/local-node/contract.js +50 -0
- package/dist/local-node/contract.js.map +1 -0
- package/dist/local-node/effect-schema.d.ts +3561 -0
- package/dist/local-node/effect-schema.d.ts.map +1 -0
- package/dist/local-node/effect-schema.js +483 -0
- package/dist/local-node/effect-schema.js.map +1 -0
- package/dist/local-node/index.d.ts +4 -0
- package/dist/local-node/index.d.ts.map +1 -0
- package/dist/local-node/index.js +4 -0
- package/dist/local-node/index.js.map +1 -0
- package/dist/local-node/node-api/index.d.ts +3 -0
- package/dist/local-node/node-api/index.d.ts.map +1 -0
- package/dist/local-node/node-api/index.js +3 -0
- package/dist/local-node/node-api/index.js.map +1 -0
- package/dist/local-node/node-api/methods.d.ts +205 -0
- package/dist/local-node/node-api/methods.d.ts.map +1 -0
- package/dist/local-node/node-api/methods.js +389 -0
- package/dist/local-node/node-api/methods.js.map +1 -0
- package/dist/local-node/node-api/policy.d.ts +56 -0
- package/dist/local-node/node-api/policy.d.ts.map +1 -0
- package/dist/local-node/node-api/policy.js +62 -0
- package/dist/local-node/node-api/policy.js.map +1 -0
- package/dist/local-node/node-profile.d.ts +2 -0
- package/dist/local-node/node-profile.d.ts.map +1 -0
- package/dist/local-node/node-profile.js +2 -0
- package/dist/local-node/node-profile.js.map +1 -0
- package/dist/local-node/profile-location.d.ts +35 -0
- package/dist/local-node/profile-location.d.ts.map +1 -0
- package/dist/local-node/profile-location.js +99 -0
- package/dist/local-node/profile-location.js.map +1 -0
- package/dist/local-node/receipt-list.d.ts +36 -0
- package/dist/local-node/receipt-list.d.ts.map +1 -0
- package/dist/local-node/receipt-list.js +104 -0
- package/dist/local-node/receipt-list.js.map +1 -0
- package/dist/orchestration/aggregate-contract.d.ts +149 -0
- package/dist/orchestration/aggregate-contract.d.ts.map +1 -0
- package/dist/orchestration/aggregate-contract.js +4 -0
- package/dist/orchestration/aggregate-contract.js.map +1 -0
- package/dist/orchestration/canonical.d.ts +12 -0
- package/dist/orchestration/canonical.d.ts.map +1 -0
- package/dist/orchestration/canonical.js +50 -0
- package/dist/orchestration/canonical.js.map +1 -0
- package/dist/orchestration/contract.d.ts +2719 -0
- package/dist/orchestration/contract.d.ts.map +1 -0
- package/dist/orchestration/contract.js +43 -0
- package/dist/orchestration/contract.js.map +1 -0
- package/dist/orchestration/effect-schema.d.ts +4935 -0
- package/dist/orchestration/effect-schema.d.ts.map +1 -0
- package/dist/orchestration/effect-schema.js +610 -0
- package/dist/orchestration/effect-schema.js.map +1 -0
- package/dist/orchestration/feature.d.ts +130 -0
- package/dist/orchestration/feature.d.ts.map +1 -0
- package/dist/orchestration/feature.js +126 -0
- package/dist/orchestration/feature.js.map +1 -0
- package/dist/orchestration/index.d.ts +7 -0
- package/dist/orchestration/index.d.ts.map +1 -0
- package/dist/orchestration/index.js +7 -0
- package/dist/orchestration/index.js.map +1 -0
- package/dist/orchestration/policy.d.ts +28 -0
- package/dist/orchestration/policy.d.ts.map +1 -0
- package/dist/orchestration/policy.js +28 -0
- package/dist/orchestration/policy.js.map +1 -0
- package/dist/orchestration/topology.d.ts +20 -0
- package/dist/orchestration/topology.d.ts.map +1 -0
- package/dist/orchestration/topology.js +143 -0
- package/dist/orchestration/topology.js.map +1 -0
- package/dist/orchestration/version.d.ts +3 -0
- package/dist/orchestration/version.d.ts.map +1 -0
- package/dist/orchestration/version.js +3 -0
- package/dist/orchestration/version.js.map +1 -0
- package/dist/port-lease/contract.d.ts +222 -0
- package/dist/port-lease/contract.d.ts.map +1 -0
- package/dist/port-lease/contract.js +28 -0
- package/dist/port-lease/contract.js.map +1 -0
- package/dist/port-lease/effect-schema.d.ts +3 -0
- package/dist/port-lease/effect-schema.d.ts.map +1 -0
- package/dist/port-lease/effect-schema.js +3 -0
- package/dist/port-lease/effect-schema.js.map +1 -0
- package/dist/port-lease/feature.d.ts +121 -0
- package/dist/port-lease/feature.d.ts.map +1 -0
- package/dist/port-lease/feature.js +119 -0
- package/dist/port-lease/feature.js.map +1 -0
- package/dist/port-lease/index.d.ts +3 -0
- package/dist/port-lease/index.d.ts.map +1 -0
- package/dist/port-lease/index.js +3 -0
- package/dist/port-lease/index.js.map +1 -0
- package/dist/port-lease/request-effect-schema.d.ts +87 -0
- package/dist/port-lease/request-effect-schema.d.ts.map +1 -0
- package/dist/port-lease/request-effect-schema.js +95 -0
- package/dist/port-lease/request-effect-schema.js.map +1 -0
- package/dist/port-lease/result-effect-schema.d.ts +308 -0
- package/dist/port-lease/result-effect-schema.d.ts.map +1 -0
- package/dist/port-lease/result-effect-schema.js +68 -0
- package/dist/port-lease/result-effect-schema.js.map +1 -0
- package/dist/presentation/catalog.d.ts +3 -0
- package/dist/presentation/catalog.d.ts.map +1 -0
- package/dist/presentation/catalog.js +5 -0
- package/dist/presentation/catalog.js.map +1 -0
- package/dist/presentation/contract.d.ts +333 -0
- package/dist/presentation/contract.d.ts.map +1 -0
- package/dist/presentation/contract.js +16 -0
- package/dist/presentation/contract.js.map +1 -0
- package/dist/presentation/effect-schema.d.ts +329 -0
- package/dist/presentation/effect-schema.d.ts.map +1 -0
- package/dist/presentation/effect-schema.js +116 -0
- package/dist/presentation/effect-schema.js.map +1 -0
- package/dist/presentation/feature.d.ts +105 -0
- package/dist/presentation/feature.d.ts.map +1 -0
- package/dist/presentation/feature.js +103 -0
- package/dist/presentation/feature.js.map +1 -0
- package/dist/presentation/index.d.ts +5 -0
- package/dist/presentation/index.d.ts.map +1 -0
- package/dist/presentation/index.js +4 -0
- package/dist/presentation/index.js.map +1 -0
- package/dist/presentation/project-list-effect-schema.d.ts +77 -0
- package/dist/presentation/project-list-effect-schema.d.ts.map +1 -0
- package/dist/presentation/project-list-effect-schema.js +69 -0
- package/dist/presentation/project-list-effect-schema.js.map +1 -0
- package/dist/presentation/session-list-effect-schema.d.ts +157 -0
- package/dist/presentation/session-list-effect-schema.d.ts.map +1 -0
- package/dist/presentation/session-list-effect-schema.js +98 -0
- package/dist/presentation/session-list-effect-schema.js.map +1 -0
- package/dist/project-workspace/contract.d.ts +794 -0
- package/dist/project-workspace/contract.d.ts.map +1 -0
- package/dist/project-workspace/contract.js +46 -0
- package/dist/project-workspace/contract.js.map +1 -0
- package/dist/project-workspace/effect-schema.d.ts +1391 -0
- package/dist/project-workspace/effect-schema.d.ts.map +1 -0
- package/dist/project-workspace/effect-schema.js +460 -0
- package/dist/project-workspace/effect-schema.js.map +1 -0
- package/dist/project-workspace/feature.d.ts +246 -0
- package/dist/project-workspace/feature.d.ts.map +1 -0
- package/dist/project-workspace/feature.js +234 -0
- package/dist/project-workspace/feature.js.map +1 -0
- package/dist/project-workspace/index.d.ts +5 -0
- package/dist/project-workspace/index.d.ts.map +1 -0
- package/dist/project-workspace/index.js +5 -0
- package/dist/project-workspace/index.js.map +1 -0
- package/dist/project-workspace/policy.d.ts +4 -0
- package/dist/project-workspace/policy.d.ts.map +1 -0
- package/dist/project-workspace/policy.js +4 -0
- package/dist/project-workspace/policy.js.map +1 -0
- package/dist/project-workspace/version.d.ts +8 -0
- package/dist/project-workspace/version.d.ts.map +1 -0
- package/dist/project-workspace/version.js +8 -0
- package/dist/project-workspace/version.js.map +1 -0
- package/dist/provider/contract.d.ts +31 -0
- package/dist/provider/contract.d.ts.map +1 -0
- package/dist/provider/contract.js +8 -0
- package/dist/provider/contract.js.map +1 -0
- package/dist/provider/effect-schema.d.ts +28 -0
- package/dist/provider/effect-schema.d.ts.map +1 -0
- package/dist/provider/effect-schema.js +36 -0
- package/dist/provider/effect-schema.js.map +1 -0
- package/dist/provider/index.d.ts +4 -0
- package/dist/provider/index.d.ts.map +1 -0
- package/dist/provider/index.js +4 -0
- package/dist/provider/index.js.map +1 -0
- package/dist/provider/policy.d.ts +4 -0
- package/dist/provider/policy.d.ts.map +1 -0
- package/dist/provider/policy.js +4 -0
- package/dist/provider/policy.js.map +1 -0
- package/dist/provider/version.d.ts +2 -0
- package/dist/provider/version.d.ts.map +1 -0
- package/dist/provider/version.js +2 -0
- package/dist/provider/version.js.map +1 -0
- package/dist/reference/contract.d.ts +28 -0
- package/dist/reference/contract.d.ts.map +1 -0
- package/dist/reference/contract.js +5 -0
- package/dist/reference/contract.js.map +1 -0
- package/dist/reference/effect-schema.d.ts +59 -0
- package/dist/reference/effect-schema.d.ts.map +1 -0
- package/dist/reference/effect-schema.js +77 -0
- package/dist/reference/effect-schema.js.map +1 -0
- package/dist/reference/feature.d.ts +34 -0
- package/dist/reference/feature.d.ts.map +1 -0
- package/dist/reference/feature.js +38 -0
- package/dist/reference/feature.js.map +1 -0
- package/dist/reference/index.d.ts +4 -0
- package/dist/reference/index.d.ts.map +1 -0
- package/dist/reference/index.js +4 -0
- package/dist/reference/index.js.map +1 -0
- package/dist/reference/policy.d.ts +11 -0
- package/dist/reference/policy.d.ts.map +1 -0
- package/dist/reference/policy.js +17 -0
- package/dist/reference/policy.js.map +1 -0
- package/dist/remote-node/bridge-effect-schema.d.ts +60 -0
- package/dist/remote-node/bridge-effect-schema.d.ts.map +1 -0
- package/dist/remote-node/bridge-effect-schema.js +55 -0
- package/dist/remote-node/bridge-effect-schema.js.map +1 -0
- package/dist/remote-node/contract.d.ts +475 -0
- package/dist/remote-node/contract.d.ts.map +1 -0
- package/dist/remote-node/contract.js +37 -0
- package/dist/remote-node/contract.js.map +1 -0
- package/dist/remote-node/effect-schema.d.ts +4 -0
- package/dist/remote-node/effect-schema.d.ts.map +1 -0
- package/dist/remote-node/effect-schema.js +4 -0
- package/dist/remote-node/effect-schema.js.map +1 -0
- package/dist/remote-node/feature.d.ts +33 -0
- package/dist/remote-node/feature.d.ts.map +1 -0
- package/dist/remote-node/feature.js +37 -0
- package/dist/remote-node/feature.js.map +1 -0
- package/dist/remote-node/index.d.ts +3 -0
- package/dist/remote-node/index.d.ts.map +1 -0
- package/dist/remote-node/index.js +3 -0
- package/dist/remote-node/index.js.map +1 -0
- package/dist/remote-node/request-effect-schema.d.ts +130 -0
- package/dist/remote-node/request-effect-schema.d.ts.map +1 -0
- package/dist/remote-node/request-effect-schema.js +110 -0
- package/dist/remote-node/request-effect-schema.js.map +1 -0
- package/dist/remote-node/result-effect-schema.d.ts +641 -0
- package/dist/remote-node/result-effect-schema.d.ts.map +1 -0
- package/dist/remote-node/result-effect-schema.js +197 -0
- package/dist/remote-node/result-effect-schema.js.map +1 -0
- package/dist/run-ledger/contract.d.ts +499 -0
- package/dist/run-ledger/contract.d.ts.map +1 -0
- package/dist/run-ledger/contract.js +35 -0
- package/dist/run-ledger/contract.js.map +1 -0
- package/dist/run-ledger/effect-schema.d.ts +3 -0
- package/dist/run-ledger/effect-schema.d.ts.map +1 -0
- package/dist/run-ledger/effect-schema.js +3 -0
- package/dist/run-ledger/effect-schema.js.map +1 -0
- package/dist/run-ledger/feature.d.ts +179 -0
- package/dist/run-ledger/feature.d.ts.map +1 -0
- package/dist/run-ledger/feature.js +182 -0
- package/dist/run-ledger/feature.js.map +1 -0
- package/dist/run-ledger/index.d.ts +3 -0
- package/dist/run-ledger/index.d.ts.map +1 -0
- package/dist/run-ledger/index.js +3 -0
- package/dist/run-ledger/index.js.map +1 -0
- package/dist/run-ledger/request-effect-schema.d.ts +192 -0
- package/dist/run-ledger/request-effect-schema.d.ts.map +1 -0
- package/dist/run-ledger/request-effect-schema.js +193 -0
- package/dist/run-ledger/request-effect-schema.js.map +1 -0
- package/dist/run-ledger/result-effect-schema.d.ts +700 -0
- package/dist/run-ledger/result-effect-schema.d.ts.map +1 -0
- package/dist/run-ledger/result-effect-schema.js +72 -0
- package/dist/run-ledger/result-effect-schema.js.map +1 -0
- package/dist/runtime/contract.d.ts +171 -0
- package/dist/runtime/contract.d.ts.map +1 -0
- package/dist/runtime/contract.js +5 -0
- package/dist/runtime/contract.js.map +1 -0
- package/dist/runtime/effect-schema.d.ts +211 -0
- package/dist/runtime/effect-schema.d.ts.map +1 -0
- package/dist/runtime/effect-schema.js +137 -0
- package/dist/runtime/effect-schema.js.map +1 -0
- package/dist/runtime/index.d.ts +3 -0
- package/dist/runtime/index.d.ts.map +1 -0
- package/dist/runtime/index.js +3 -0
- package/dist/runtime/index.js.map +1 -0
- package/dist/runtime/version.d.ts +2 -0
- package/dist/runtime/version.d.ts.map +1 -0
- package/dist/runtime/version.js +2 -0
- package/dist/runtime/version.js.map +1 -0
- package/dist/runtime-schema/effect-adapter.d.ts +4 -0
- package/dist/runtime-schema/effect-adapter.d.ts.map +1 -0
- package/dist/runtime-schema/effect-adapter.js +25 -0
- package/dist/runtime-schema/effect-adapter.js.map +1 -0
- package/dist/runtime-schema/effect-schema.d.ts +2 -0
- package/dist/runtime-schema/effect-schema.d.ts.map +1 -0
- package/dist/runtime-schema/effect-schema.js +2 -0
- package/dist/runtime-schema/effect-schema.js.map +1 -0
- package/dist/runtime-schema/index.d.ts +2 -0
- package/dist/runtime-schema/index.d.ts.map +1 -0
- package/dist/runtime-schema/index.js +2 -0
- package/dist/runtime-schema/index.js.map +1 -0
- package/dist/runtime-schema/runtime-schema.d.ts +23 -0
- package/dist/runtime-schema/runtime-schema.d.ts.map +1 -0
- package/dist/runtime-schema/runtime-schema.js +12 -0
- package/dist/runtime-schema/runtime-schema.js.map +1 -0
- package/dist/session/agent-permission-contract.d.ts +108 -0
- package/dist/session/agent-permission-contract.d.ts.map +1 -0
- package/dist/session/agent-permission-contract.js +8 -0
- package/dist/session/agent-permission-contract.js.map +1 -0
- package/dist/session/agent-permission-effect-schema.d.ts +191 -0
- package/dist/session/agent-permission-effect-schema.d.ts.map +1 -0
- package/dist/session/agent-permission-effect-schema.js +74 -0
- package/dist/session/agent-permission-effect-schema.js.map +1 -0
- package/dist/session/contract.d.ts +1184 -0
- package/dist/session/contract.d.ts.map +1 -0
- package/dist/session/contract.js +35 -0
- package/dist/session/contract.js.map +1 -0
- package/dist/session/effect-schema.d.ts +2304 -0
- package/dist/session/effect-schema.d.ts.map +1 -0
- package/dist/session/effect-schema.js +505 -0
- package/dist/session/effect-schema.js.map +1 -0
- package/dist/session/feature.d.ts +382 -0
- package/dist/session/feature.d.ts.map +1 -0
- package/dist/session/feature.js +362 -0
- package/dist/session/feature.js.map +1 -0
- package/dist/session/index.d.ts +8 -0
- package/dist/session/index.d.ts.map +1 -0
- package/dist/session/index.js +8 -0
- package/dist/session/index.js.map +1 -0
- package/dist/session/observation-contract.d.ts +73 -0
- package/dist/session/observation-contract.d.ts.map +1 -0
- package/dist/session/observation-contract.js +6 -0
- package/dist/session/observation-contract.js.map +1 -0
- package/dist/session/observation-effect-schema.d.ts +73 -0
- package/dist/session/observation-effect-schema.d.ts.map +1 -0
- package/dist/session/observation-effect-schema.js +55 -0
- package/dist/session/observation-effect-schema.js.map +1 -0
- package/dist/session/policy.d.ts +26 -0
- package/dist/session/policy.d.ts.map +1 -0
- package/dist/session/policy.js +33 -0
- package/dist/session/policy.js.map +1 -0
- package/dist/session/stop-resume-contract.d.ts +130 -0
- package/dist/session/stop-resume-contract.d.ts.map +1 -0
- package/dist/session/stop-resume-contract.js +7 -0
- package/dist/session/stop-resume-contract.js.map +1 -0
- package/dist/session/turn-event-effect-schema.d.ts +69 -0
- package/dist/session/turn-event-effect-schema.d.ts.map +1 -0
- package/dist/session/turn-event-effect-schema.js +74 -0
- package/dist/session/turn-event-effect-schema.js.map +1 -0
- package/dist/session/version.d.ts +4 -0
- package/dist/session/version.d.ts.map +1 -0
- package/dist/session/version.js +4 -0
- package/dist/session/version.js.map +1 -0
- package/dist/session/worktree-effect-schema.d.ts +87 -0
- package/dist/session/worktree-effect-schema.d.ts.map +1 -0
- package/dist/session/worktree-effect-schema.js +122 -0
- package/dist/session/worktree-effect-schema.js.map +1 -0
- package/dist/session-guard/contract.d.ts +176 -0
- package/dist/session-guard/contract.d.ts.map +1 -0
- package/dist/session-guard/contract.js +61 -0
- package/dist/session-guard/contract.js.map +1 -0
- package/dist/session-guard/effect-schema.d.ts +3 -0
- package/dist/session-guard/effect-schema.d.ts.map +1 -0
- package/dist/session-guard/effect-schema.js +3 -0
- package/dist/session-guard/effect-schema.js.map +1 -0
- package/dist/session-guard/feature.d.ts +34 -0
- package/dist/session-guard/feature.d.ts.map +1 -0
- package/dist/session-guard/feature.js +38 -0
- package/dist/session-guard/feature.js.map +1 -0
- package/dist/session-guard/index.d.ts +3 -0
- package/dist/session-guard/index.d.ts.map +1 -0
- package/dist/session-guard/index.js +3 -0
- package/dist/session-guard/index.js.map +1 -0
- package/dist/session-guard/request-effect-schema.d.ts +125 -0
- package/dist/session-guard/request-effect-schema.d.ts.map +1 -0
- package/dist/session-guard/request-effect-schema.js +82 -0
- package/dist/session-guard/request-effect-schema.js.map +1 -0
- package/dist/session-guard/result-effect-schema.d.ts +166 -0
- package/dist/session-guard/result-effect-schema.d.ts.map +1 -0
- package/dist/session-guard/result-effect-schema.js +48 -0
- package/dist/session-guard/result-effect-schema.js.map +1 -0
- package/dist/session-stream/contract.d.ts +485 -0
- package/dist/session-stream/contract.d.ts.map +1 -0
- package/dist/session-stream/contract.js +18 -0
- package/dist/session-stream/contract.js.map +1 -0
- package/dist/session-stream/effect-schema.d.ts +485 -0
- package/dist/session-stream/effect-schema.d.ts.map +1 -0
- package/dist/session-stream/effect-schema.js +234 -0
- package/dist/session-stream/effect-schema.js.map +1 -0
- package/dist/session-stream/index.d.ts +2 -0
- package/dist/session-stream/index.d.ts.map +1 -0
- package/dist/session-stream/index.js +2 -0
- package/dist/session-stream/index.js.map +1 -0
- package/dist/session-stream/policy.d.ts +23 -0
- package/dist/session-stream/policy.d.ts.map +1 -0
- package/dist/session-stream/policy.js +32 -0
- package/dist/session-stream/policy.js.map +1 -0
- package/dist/terminal/contract.d.ts +2476 -0
- package/dist/terminal/contract.d.ts.map +1 -0
- package/dist/terminal/contract.js +17 -0
- package/dist/terminal/contract.js.map +1 -0
- package/dist/terminal/effect-schema.d.ts +15723 -0
- package/dist/terminal/effect-schema.d.ts.map +1 -0
- package/dist/terminal/effect-schema.js +191 -0
- package/dist/terminal/effect-schema.js.map +1 -0
- package/dist/terminal/feature.d.ts +333 -0
- package/dist/terminal/feature.d.ts.map +1 -0
- package/dist/terminal/feature.js +313 -0
- package/dist/terminal/feature.js.map +1 -0
- package/dist/terminal/index.d.ts +7 -0
- package/dist/terminal/index.d.ts.map +1 -0
- package/dist/terminal/index.js +7 -0
- package/dist/terminal/index.js.map +1 -0
- package/dist/terminal/live-contract.d.ts +87 -0
- package/dist/terminal/live-contract.d.ts.map +1 -0
- package/dist/terminal/live-contract.js +52 -0
- package/dist/terminal/live-contract.js.map +1 -0
- package/dist/terminal/live-effect-schema.d.ts +24770 -0
- package/dist/terminal/live-effect-schema.d.ts.map +1 -0
- package/dist/terminal/live-effect-schema.js +985 -0
- package/dist/terminal/live-effect-schema.js.map +1 -0
- package/dist/terminal/live-policy.d.ts +79 -0
- package/dist/terminal/live-policy.d.ts.map +1 -0
- package/dist/terminal/live-policy.js +91 -0
- package/dist/terminal/live-policy.js.map +1 -0
- package/dist/terminal/live-types.d.ts +584 -0
- package/dist/terminal/live-types.d.ts.map +1 -0
- package/dist/terminal/live-types.js +2 -0
- package/dist/terminal/live-types.js.map +1 -0
- package/dist/terminal/live-version.d.ts +4 -0
- package/dist/terminal/live-version.d.ts.map +1 -0
- package/dist/terminal/live-version.js +4 -0
- package/dist/terminal/live-version.js.map +1 -0
- package/dist/terminal/policy.d.ts +5 -0
- package/dist/terminal/policy.d.ts.map +1 -0
- package/dist/terminal/policy.js +5 -0
- package/dist/terminal/policy.js.map +1 -0
- package/dist/terminal/version.d.ts +4 -0
- package/dist/terminal/version.d.ts.map +1 -0
- package/dist/terminal/version.js +4 -0
- package/dist/terminal/version.js.map +1 -0
- package/dist/turn/contract.d.ts +529 -0
- package/dist/turn/contract.d.ts.map +1 -0
- package/dist/turn/contract.js +12 -0
- package/dist/turn/contract.js.map +1 -0
- package/dist/turn/effect-schema.d.ts +974 -0
- package/dist/turn/effect-schema.d.ts.map +1 -0
- package/dist/turn/effect-schema.js +181 -0
- package/dist/turn/effect-schema.js.map +1 -0
- package/dist/turn/index.d.ts +5 -0
- package/dist/turn/index.d.ts.map +1 -0
- package/dist/turn/index.js +5 -0
- package/dist/turn/index.js.map +1 -0
- package/dist/turn/policy.d.ts +14 -0
- package/dist/turn/policy.d.ts.map +1 -0
- package/dist/turn/policy.js +14 -0
- package/dist/turn/policy.js.map +1 -0
- package/dist/turn/version.d.ts +2 -0
- package/dist/turn/version.d.ts.map +1 -0
- package/dist/turn/version.js +2 -0
- package/dist/turn/version.js.map +1 -0
- package/dist/turn/wait-contract.d.ts +25 -0
- package/dist/turn/wait-contract.d.ts.map +1 -0
- package/dist/turn/wait-contract.js +5 -0
- package/dist/turn/wait-contract.js.map +1 -0
- package/dist/voice/contract.d.ts +261 -0
- package/dist/voice/contract.d.ts.map +1 -0
- package/dist/voice/contract.js +21 -0
- package/dist/voice/contract.js.map +1 -0
- package/dist/voice/effect-schema.d.ts +492 -0
- package/dist/voice/effect-schema.d.ts.map +1 -0
- package/dist/voice/effect-schema.js +280 -0
- package/dist/voice/effect-schema.js.map +1 -0
- package/dist/voice/feature.d.ts +382 -0
- package/dist/voice/feature.d.ts.map +1 -0
- package/dist/voice/feature.js +205 -0
- package/dist/voice/feature.js.map +1 -0
- package/dist/voice/index.d.ts +7 -0
- package/dist/voice/index.d.ts.map +1 -0
- package/dist/voice/index.js +5 -0
- package/dist/voice/index.js.map +1 -0
- package/dist/voice/managed-turn-contract.d.ts +49 -0
- package/dist/voice/managed-turn-contract.d.ts.map +1 -0
- package/dist/voice/managed-turn-contract.js +6 -0
- package/dist/voice/managed-turn-contract.js.map +1 -0
- package/dist/voice/managed-turn-effect-schema.d.ts +76 -0
- package/dist/voice/managed-turn-effect-schema.d.ts.map +1 -0
- package/dist/voice/managed-turn-effect-schema.js +58 -0
- package/dist/voice/managed-turn-effect-schema.js.map +1 -0
- package/dist/voice/orchestrator-system-prompt.d.ts +12 -0
- package/dist/voice/orchestrator-system-prompt.d.ts.map +1 -0
- package/dist/voice/orchestrator-system-prompt.js +28 -0
- package/dist/voice/orchestrator-system-prompt.js.map +1 -0
- package/dist/voice/orchestrator.d.ts +7 -0
- package/dist/voice/orchestrator.d.ts.map +1 -0
- package/dist/voice/orchestrator.js +7 -0
- package/dist/voice/orchestrator.js.map +1 -0
- package/dist/voice/pi-relay.d.ts +5 -0
- package/dist/voice/pi-relay.d.ts.map +1 -0
- package/dist/voice/pi-relay.js +4 -0
- package/dist/voice/pi-relay.js.map +1 -0
- package/dist/voice/policy.d.ts +18 -0
- package/dist/voice/policy.d.ts.map +1 -0
- package/dist/voice/policy.js +28 -0
- package/dist/voice/policy.js.map +1 -0
- package/dist/voice/relay-contract.d.ts +78 -0
- package/dist/voice/relay-contract.d.ts.map +1 -0
- package/dist/voice/relay-contract.js +9 -0
- package/dist/voice/relay-contract.js.map +1 -0
- package/dist/voice/relay-effect-schema.d.ts +147 -0
- package/dist/voice/relay-effect-schema.d.ts.map +1 -0
- package/dist/voice/relay-effect-schema.js +89 -0
- package/dist/voice/relay-effect-schema.js.map +1 -0
- package/dist/voice/version.d.ts +7 -0
- package/dist/voice/version.d.ts.map +1 -0
- package/dist/voice/version.js +7 -0
- package/dist/voice/version.js.map +1 -0
- package/package.json +100 -0
|
@@ -0,0 +1,3561 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { approvalResultEffectSchema } from "../approval/effect-schema.js";
|
|
3
|
+
import { receiptGetResultEffectSchema, receiptListResultEffectSchema } from "../command-receipt/effect-schema.js";
|
|
4
|
+
import { connectionResultEffectSchema } from "../connection/effect-schema.js";
|
|
5
|
+
import { containerResultEffectSchema } from "../container/effect-schema.js";
|
|
6
|
+
import { discoveryResultEffectSchema } from "../discovery/effect-schema.js";
|
|
7
|
+
import { executionRelocationSuccessResultEffectSchema, executionSuccessResultEffectSchema, executionWorktreeSuccessResultEffectSchema } from "../execution/effect-schema.js";
|
|
8
|
+
import { installedHarnessListResultEffectSchema } from "../harness/installed/effect-schema.js";
|
|
9
|
+
import { holdResultEffectSchema } from "../hold/effect-schema.js";
|
|
10
|
+
import { integrationAuthorizationSuccessResultEffectSchema } from "../integration-authorization/effect-schema.js";
|
|
11
|
+
import { interactionResultEffectSchema } from "../interaction/effect-schema.js";
|
|
12
|
+
import { invocationContextSuccessResultEffectSchema } from "../invocation-context/effect-schema.js";
|
|
13
|
+
import { orchestrationSuccessResultEffectSchema } from "../orchestration/effect-schema.js";
|
|
14
|
+
import { portLeaseResultEffectSchema } from "../port-lease/effect-schema.js";
|
|
15
|
+
import { presentationResultEffectSchema } from "../presentation/effect-schema.js";
|
|
16
|
+
import { projectWorkspaceSuccessResultEffectSchema } from "../project-workspace/effect-schema.js";
|
|
17
|
+
import { providerPoolListResultEffectSchema } from "../provider/effect-schema.js";
|
|
18
|
+
import { referenceResultEffectSchema } from "../reference/effect-schema.js";
|
|
19
|
+
import { remoteNodeResultEffectSchema } from "../remote-node/effect-schema.js";
|
|
20
|
+
import { runLedgerResultEffectSchema } from "../run-ledger/effect-schema.js";
|
|
21
|
+
import { runtimeProbeResultEffectSchema } from "../runtime/effect-schema.js";
|
|
22
|
+
import { agentPermissionResultEffectSchema, sessionSuccessResultEffectSchema } from "../session/effect-schema.js";
|
|
23
|
+
import { projectGuardResultEffectSchema } from "../session-guard/effect-schema.js";
|
|
24
|
+
import { terminalSuccessResultEffectSchema } from "../terminal/effect-schema.js";
|
|
25
|
+
import { turnSuccessResultEffectSchema } from "../turn/effect-schema.js";
|
|
26
|
+
import { voiceSuccessResultEffectSchema } from "../voice/effect-schema.js";
|
|
27
|
+
export declare const localNodeLifecycleEffectSchema: Schema.Literals<readonly ["starting", "ready", "draining", "stopped", "failed"]>;
|
|
28
|
+
export declare const localNodeOperationErrorCodeEffectSchema: Schema.Literals<readonly ["deadline_exceeded", "outcome_unknown", "saturated"]>;
|
|
29
|
+
/** `receipt.list` filters on the methods that record their own receipt. */
|
|
30
|
+
export declare const receiptListParametersEffectSchema: Schema.Struct<{
|
|
31
|
+
readonly actor: Schema.optional<Schema.String>;
|
|
32
|
+
readonly afterCursor: Schema.optional<Schema.String>;
|
|
33
|
+
readonly limit: Schema.Int;
|
|
34
|
+
readonly method: Schema.optional<Schema.Literals<readonly ["approval.respond", "connection.capacity.set", "connection.create", "connection.gateway.create", "connection.login.start", "connection.state.set", "container.create.confirm", "container.rename.confirm", "execution.checkpoint.create", "execution.command.run", "execution.file.read", "execution.placement.create", "execution.relocation.apply", "execution.relocation.reconcile", "execution.worktree.create", "execution.worktree.import", "execution.worktree.reconcile", "execution.worktree.remove.apply", "hold.place.confirm", "hold.release.confirm", "integration.apply.claude-code", "integration.apply.codex", "integration.apply.pi-rpc", "integration.remove.claude-code", "integration.remove.codex", "integration.remove.pi-rpc", "interaction.cancel", "interaction.create", "interaction.respond", "node.remote.install.confirm", "node.remote.remove.confirm", "port.lease.acquire", "port.lease.release", "port.lease.renew", "project.context.record", "project.create.confirm", "project.guard.confirm", "project.register", "project.rename.confirm", "run.create", "run.dispatch.settle-terminal", "run.inbox.ack", "run.ledger.create", "run.ledger.task.dispatch", "run.ledger.task.settle", "run.question.cancel", "run.question.open", "run.question.reply", "session.adopt.confirm", "session.agent-permission.confirm", "session.archive", "session.create", "session.inbox.ack", "session.message.send", "session.rename", "session.resume", "session.spawn", "session.start", "session.stop", "terminal.controller.acquire", "terminal.controller.release", "terminal.controller.renew", "terminal.controller.request", "terminal.create", "terminal.input.write", "terminal.mutation.reconcile", "terminal.observer.attach", "terminal.observer.detach", "terminal.session.close", "terminal.session.delete", "terminal.session.resize", "terminal.session.restart", "terminal.session.signal", "turn.interrupt", "turn.send", "voice.pi.relay", "workspace.execution.configure", "workspace.membership.attach", "workspace.repository.attach", "workspace.select"]>>;
|
|
35
|
+
readonly since: Schema.optional<Schema.String>;
|
|
36
|
+
readonly until: Schema.optional<Schema.String>;
|
|
37
|
+
}>;
|
|
38
|
+
export declare const localNodeRequestPayloadEffectSchema: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
|
|
39
|
+
readonly method: Schema.Literal<"presentation.session-list.show">;
|
|
40
|
+
readonly parameters: Schema.Struct<{
|
|
41
|
+
readonly catalogDigest: Schema.Literal<"sha256:59860e3f18670e2692319fcc23b8c65cb38177aef85d8cfcdfd532d64d327824">;
|
|
42
|
+
readonly catalogVersion: Schema.Literal<"maia.presentation.portfolio/v3">;
|
|
43
|
+
readonly generation: Schema.Int;
|
|
44
|
+
readonly target: Schema.Struct<{
|
|
45
|
+
readonly containerId: Schema.String;
|
|
46
|
+
readonly containerRevision: Schema.String;
|
|
47
|
+
readonly projectId: Schema.String;
|
|
48
|
+
readonly projectRevision: Schema.String;
|
|
49
|
+
readonly membershipCursor: Schema.optional<Schema.String>;
|
|
50
|
+
}>;
|
|
51
|
+
readonly viewId: Schema.String;
|
|
52
|
+
readonly page: Schema.Struct<{
|
|
53
|
+
readonly afterCursor: Schema.optional<Schema.String>;
|
|
54
|
+
readonly attention: Schema.optional<Schema.Boolean>;
|
|
55
|
+
readonly projectId: Schema.optional<Schema.String>;
|
|
56
|
+
readonly states: Schema.optional<Schema.$Array<Schema.Literals<readonly ["idle", "starting", "running", "waiting-approval", "interrupted", "recovering", "stopping", "stopped", "failed"]>>>;
|
|
57
|
+
readonly limit: Schema.Int;
|
|
58
|
+
}>;
|
|
59
|
+
}>;
|
|
60
|
+
}>, Schema.Struct<{
|
|
61
|
+
readonly method: Schema.Literal<"presentation.project-list.show">;
|
|
62
|
+
readonly parameters: Schema.Struct<{
|
|
63
|
+
readonly catalogDigest: Schema.Literal<"sha256:59860e3f18670e2692319fcc23b8c65cb38177aef85d8cfcdfd532d64d327824">;
|
|
64
|
+
readonly catalogVersion: Schema.Literal<"maia.presentation.portfolio/v3">;
|
|
65
|
+
readonly generation: Schema.Int;
|
|
66
|
+
readonly viewId: Schema.String;
|
|
67
|
+
readonly page: Schema.Struct<{
|
|
68
|
+
readonly afterCursor: Schema.optional<Schema.String>;
|
|
69
|
+
readonly containerId: Schema.String;
|
|
70
|
+
readonly limit: Schema.Int;
|
|
71
|
+
}>;
|
|
72
|
+
}>;
|
|
73
|
+
}>, Schema.Struct<{
|
|
74
|
+
readonly method: Schema.Literal<"presentation.catalog.show">;
|
|
75
|
+
readonly parameters: Schema.$Record<Schema.String, Schema.Never>;
|
|
76
|
+
}>, Schema.Struct<{
|
|
77
|
+
readonly method: Schema.Literal<"presentation.workspace-directory.show">;
|
|
78
|
+
readonly parameters: Schema.Struct<{
|
|
79
|
+
readonly catalogDigest: Schema.Literal<"sha256:59860e3f18670e2692319fcc23b8c65cb38177aef85d8cfcdfd532d64d327824">;
|
|
80
|
+
readonly catalogVersion: Schema.Literal<"maia.presentation.portfolio/v3">;
|
|
81
|
+
readonly generation: Schema.Int;
|
|
82
|
+
readonly page: Schema.Struct<{
|
|
83
|
+
readonly afterCursor: Schema.optional<Schema.String>;
|
|
84
|
+
readonly limit: Schema.Int;
|
|
85
|
+
}>;
|
|
86
|
+
readonly viewId: Schema.String;
|
|
87
|
+
}>;
|
|
88
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
89
|
+
readonly method: Schema.Literal<"execution.catalog.get">;
|
|
90
|
+
readonly parameters: Schema.$Record<Schema.String, Schema.Never>;
|
|
91
|
+
}>, Schema.Struct<{
|
|
92
|
+
readonly method: Schema.Literal<"execution.command.run">;
|
|
93
|
+
readonly parameters: Schema.Struct<{
|
|
94
|
+
readonly argv: Schema.$Array<Schema.String>;
|
|
95
|
+
readonly commandId: Schema.String;
|
|
96
|
+
readonly executable: Schema.String;
|
|
97
|
+
readonly expectedRevision: Schema.String;
|
|
98
|
+
readonly instanceId: Schema.String;
|
|
99
|
+
}>;
|
|
100
|
+
}>, Schema.Struct<{
|
|
101
|
+
readonly method: Schema.Literal<"execution.file.read">;
|
|
102
|
+
readonly parameters: Schema.Struct<{
|
|
103
|
+
readonly commandId: Schema.String;
|
|
104
|
+
readonly expectedRevision: Schema.String;
|
|
105
|
+
readonly instanceId: Schema.String;
|
|
106
|
+
readonly relativePath: Schema.String;
|
|
107
|
+
}>;
|
|
108
|
+
}>, Schema.Struct<{
|
|
109
|
+
readonly method: Schema.Literal<"execution.placement.create">;
|
|
110
|
+
readonly parameters: Schema.Union<readonly [Schema.Struct<{
|
|
111
|
+
readonly commandId: Schema.String;
|
|
112
|
+
readonly expectedFencingEpoch: Schema.Literal<"0">;
|
|
113
|
+
readonly expectedInstanceRevision: Schema.String;
|
|
114
|
+
readonly expectedPlacementRevision: Schema.Literal<"0">;
|
|
115
|
+
readonly expectedWorkspaceRevision: Schema.String;
|
|
116
|
+
readonly instanceId: Schema.String;
|
|
117
|
+
readonly expectedSessionRevision: Schema.String;
|
|
118
|
+
readonly sessionId: Schema.String;
|
|
119
|
+
}>, Schema.Struct<{
|
|
120
|
+
readonly commandId: Schema.String;
|
|
121
|
+
readonly expectedFencingEpoch: Schema.Literal<"0">;
|
|
122
|
+
readonly expectedInstanceRevision: Schema.String;
|
|
123
|
+
readonly expectedPlacementRevision: Schema.Literal<"0">;
|
|
124
|
+
readonly expectedWorkspaceRevision: Schema.String;
|
|
125
|
+
readonly instanceId: Schema.String;
|
|
126
|
+
readonly attemptId: Schema.String;
|
|
127
|
+
readonly expectedAttemptRevision: Schema.String;
|
|
128
|
+
readonly runId: Schema.String;
|
|
129
|
+
readonly taskId: Schema.String;
|
|
130
|
+
}>]>;
|
|
131
|
+
}>, Schema.Struct<{
|
|
132
|
+
readonly method: Schema.Literal<"execution.placement.show">;
|
|
133
|
+
readonly parameters: Schema.Union<readonly [Schema.Struct<{
|
|
134
|
+
readonly kind: Schema.Literal<"session">;
|
|
135
|
+
readonly ownerId: Schema.String;
|
|
136
|
+
}>, Schema.Struct<{
|
|
137
|
+
readonly kind: Schema.Literal<"attempt">;
|
|
138
|
+
readonly ownerId: Schema.String;
|
|
139
|
+
}>]>;
|
|
140
|
+
}>, Schema.Struct<{
|
|
141
|
+
readonly method: Schema.Literal<"workspace.execution.show">;
|
|
142
|
+
readonly parameters: Schema.Struct<{
|
|
143
|
+
readonly workspaceId: Schema.String;
|
|
144
|
+
}>;
|
|
145
|
+
}>, Schema.Struct<{
|
|
146
|
+
readonly method: Schema.Literal<"workspace.execution.configure">;
|
|
147
|
+
readonly parameters: Schema.Union<readonly [Schema.Struct<{
|
|
148
|
+
readonly commandId: Schema.String;
|
|
149
|
+
readonly expectedRevision: Schema.String;
|
|
150
|
+
readonly workspaceId: Schema.String;
|
|
151
|
+
readonly operation: Schema.Literal<"clear">;
|
|
152
|
+
}>, Schema.Struct<{
|
|
153
|
+
readonly commandId: Schema.String;
|
|
154
|
+
readonly expectedRevision: Schema.String;
|
|
155
|
+
readonly workspaceId: Schema.String;
|
|
156
|
+
readonly operation: Schema.Literal<"set">;
|
|
157
|
+
readonly selection: Schema.Union<readonly [Schema.Struct<{
|
|
158
|
+
readonly id: Schema.String;
|
|
159
|
+
readonly kind: Schema.Literal<"profile">;
|
|
160
|
+
}>, Schema.Struct<{
|
|
161
|
+
readonly id: Schema.String;
|
|
162
|
+
readonly kind: Schema.Literal<"policy">;
|
|
163
|
+
}>]>;
|
|
164
|
+
}>]>;
|
|
165
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
166
|
+
readonly method: Schema.Literal<"execution.relocation.apply">;
|
|
167
|
+
readonly parameters: Schema.Struct<{
|
|
168
|
+
readonly commandId: Schema.String;
|
|
169
|
+
readonly expectedFencingEpoch: Schema.String;
|
|
170
|
+
readonly expectedPlacementRevision: Schema.String;
|
|
171
|
+
readonly expectedSessionRevision: Schema.String;
|
|
172
|
+
readonly planDigest: Schema.String;
|
|
173
|
+
readonly planId: Schema.String;
|
|
174
|
+
readonly sessionId: Schema.String;
|
|
175
|
+
}>;
|
|
176
|
+
}>, Schema.Struct<{
|
|
177
|
+
readonly method: Schema.Literal<"execution.relocation.plan">;
|
|
178
|
+
readonly parameters: Schema.Struct<{
|
|
179
|
+
readonly expectedFencingEpoch: Schema.String;
|
|
180
|
+
readonly expectedPlacementRevision: Schema.String;
|
|
181
|
+
readonly expectedSessionRevision: Schema.String;
|
|
182
|
+
readonly sessionId: Schema.String;
|
|
183
|
+
readonly targetProfileId: Schema.Literal<"execution_profile_local_host">;
|
|
184
|
+
}>;
|
|
185
|
+
}>, Schema.Struct<{
|
|
186
|
+
readonly method: Schema.Literal<"execution.relocation.reconcile">;
|
|
187
|
+
readonly parameters: Schema.Struct<{
|
|
188
|
+
readonly commandId: Schema.String;
|
|
189
|
+
readonly expectedOperationRevision: Schema.String;
|
|
190
|
+
readonly relocationId: Schema.String;
|
|
191
|
+
}>;
|
|
192
|
+
}>, Schema.Struct<{
|
|
193
|
+
readonly method: Schema.Literal<"execution.relocation.show">;
|
|
194
|
+
readonly parameters: Schema.Struct<{
|
|
195
|
+
readonly relocationId: Schema.String;
|
|
196
|
+
}>;
|
|
197
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
198
|
+
readonly method: Schema.Literal<"execution.worktree.create">;
|
|
199
|
+
readonly parameters: Schema.Struct<{
|
|
200
|
+
readonly baseRevision: Schema.String;
|
|
201
|
+
readonly commandId: Schema.String;
|
|
202
|
+
readonly expectedProjectRevision: Schema.String;
|
|
203
|
+
readonly kind: Schema.Literal<"git-worktree">;
|
|
204
|
+
readonly projectId: Schema.String;
|
|
205
|
+
readonly repositoryId: Schema.String;
|
|
206
|
+
}>;
|
|
207
|
+
}>, Schema.Struct<{
|
|
208
|
+
readonly method: Schema.Literal<"execution.worktree.import">;
|
|
209
|
+
readonly parameters: Schema.Struct<{
|
|
210
|
+
readonly commandId: Schema.String;
|
|
211
|
+
readonly expectedProjectRevision: Schema.String;
|
|
212
|
+
readonly kind: Schema.Literal<"git-worktree">;
|
|
213
|
+
readonly projectId: Schema.String;
|
|
214
|
+
readonly repositoryId: Schema.String;
|
|
215
|
+
readonly rootPath: Schema.String;
|
|
216
|
+
}>;
|
|
217
|
+
}>, Schema.Struct<{
|
|
218
|
+
readonly method: Schema.Literal<"execution.worktree.status">;
|
|
219
|
+
readonly parameters: Schema.Struct<{
|
|
220
|
+
readonly workspaceId: Schema.String;
|
|
221
|
+
}>;
|
|
222
|
+
}>, Schema.Struct<{
|
|
223
|
+
readonly method: Schema.Literal<"execution.worktree.reconcile">;
|
|
224
|
+
readonly parameters: Schema.Struct<{
|
|
225
|
+
readonly commandId: Schema.String;
|
|
226
|
+
readonly expectedOperationRevision: Schema.String;
|
|
227
|
+
readonly operationId: Schema.String;
|
|
228
|
+
}>;
|
|
229
|
+
}>, Schema.Struct<{
|
|
230
|
+
readonly method: Schema.Literal<"execution.worktree.remove.plan">;
|
|
231
|
+
readonly parameters: Schema.Struct<{
|
|
232
|
+
readonly workspaceId: Schema.String;
|
|
233
|
+
}>;
|
|
234
|
+
}>, Schema.Struct<{
|
|
235
|
+
readonly method: Schema.Literal<"execution.worktree.remove.apply">;
|
|
236
|
+
readonly parameters: Schema.Struct<{
|
|
237
|
+
readonly commandId: Schema.String;
|
|
238
|
+
readonly expectedWorkspaceRevision: Schema.String;
|
|
239
|
+
readonly planDigest: Schema.String;
|
|
240
|
+
readonly planId: Schema.String;
|
|
241
|
+
readonly workspaceId: Schema.String;
|
|
242
|
+
}>;
|
|
243
|
+
}>, Schema.Struct<{
|
|
244
|
+
readonly method: Schema.Literal<"execution.checkpoint.create">;
|
|
245
|
+
readonly parameters: Schema.Struct<{
|
|
246
|
+
readonly commandId: Schema.String;
|
|
247
|
+
readonly expectedInstanceRevision: Schema.String;
|
|
248
|
+
readonly instanceId: Schema.String;
|
|
249
|
+
}>;
|
|
250
|
+
}>, Schema.Struct<{
|
|
251
|
+
readonly method: Schema.Literal<"execution.checkpoint.show">;
|
|
252
|
+
readonly parameters: Schema.Struct<{
|
|
253
|
+
readonly checkpointId: Schema.String;
|
|
254
|
+
}>;
|
|
255
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
256
|
+
readonly method: Schema.Literal<"integration.plan.codex">;
|
|
257
|
+
readonly parameters: Schema.Struct<{
|
|
258
|
+
readonly integration: Schema.Literal<"codex">;
|
|
259
|
+
}>;
|
|
260
|
+
}>, Schema.Struct<{
|
|
261
|
+
readonly method: Schema.Literal<"integration.apply.codex">;
|
|
262
|
+
readonly parameters: Schema.Struct<{
|
|
263
|
+
readonly commandId: Schema.String;
|
|
264
|
+
readonly planId: Schema.String;
|
|
265
|
+
}>;
|
|
266
|
+
}>, Schema.Struct<{
|
|
267
|
+
readonly method: Schema.Literal<"integration.status.codex">;
|
|
268
|
+
readonly parameters: Schema.Struct<{
|
|
269
|
+
readonly integration: Schema.Literal<"codex">;
|
|
270
|
+
}>;
|
|
271
|
+
}>, Schema.Struct<{
|
|
272
|
+
readonly method: Schema.Literal<"integration.remove.codex">;
|
|
273
|
+
readonly parameters: Schema.Struct<{
|
|
274
|
+
readonly commandId: Schema.String;
|
|
275
|
+
readonly integration: Schema.Literal<"codex">;
|
|
276
|
+
}>;
|
|
277
|
+
}>, Schema.Struct<{
|
|
278
|
+
readonly method: Schema.Literal<"integration.plan.pi-rpc">;
|
|
279
|
+
readonly parameters: Schema.Struct<{
|
|
280
|
+
readonly integration: Schema.Literal<"pi-rpc">;
|
|
281
|
+
}>;
|
|
282
|
+
}>, Schema.Struct<{
|
|
283
|
+
readonly method: Schema.Literal<"integration.apply.pi-rpc">;
|
|
284
|
+
readonly parameters: Schema.Struct<{
|
|
285
|
+
readonly commandId: Schema.String;
|
|
286
|
+
readonly planId: Schema.String;
|
|
287
|
+
}>;
|
|
288
|
+
}>, Schema.Struct<{
|
|
289
|
+
readonly method: Schema.Literal<"integration.status.pi-rpc">;
|
|
290
|
+
readonly parameters: Schema.Struct<{
|
|
291
|
+
readonly integration: Schema.Literal<"pi-rpc">;
|
|
292
|
+
}>;
|
|
293
|
+
}>, Schema.Struct<{
|
|
294
|
+
readonly method: Schema.Literal<"integration.remove.pi-rpc">;
|
|
295
|
+
readonly parameters: Schema.Struct<{
|
|
296
|
+
readonly commandId: Schema.String;
|
|
297
|
+
readonly integration: Schema.Literal<"pi-rpc">;
|
|
298
|
+
}>;
|
|
299
|
+
}>, Schema.Struct<{
|
|
300
|
+
readonly method: Schema.Literal<"integration.plan.claude-code">;
|
|
301
|
+
readonly parameters: Schema.Struct<{
|
|
302
|
+
readonly integration: Schema.Literal<"claude-code">;
|
|
303
|
+
}>;
|
|
304
|
+
}>, Schema.Struct<{
|
|
305
|
+
readonly method: Schema.Literal<"integration.apply.claude-code">;
|
|
306
|
+
readonly parameters: Schema.Struct<{
|
|
307
|
+
readonly commandId: Schema.String;
|
|
308
|
+
readonly planId: Schema.String;
|
|
309
|
+
}>;
|
|
310
|
+
}>, Schema.Struct<{
|
|
311
|
+
readonly method: Schema.Literal<"integration.status.claude-code">;
|
|
312
|
+
readonly parameters: Schema.Struct<{
|
|
313
|
+
readonly integration: Schema.Literal<"claude-code">;
|
|
314
|
+
}>;
|
|
315
|
+
}>, Schema.Struct<{
|
|
316
|
+
readonly method: Schema.Literal<"integration.remove.claude-code">;
|
|
317
|
+
readonly parameters: Schema.Struct<{
|
|
318
|
+
readonly commandId: Schema.String;
|
|
319
|
+
readonly integration: Schema.Literal<"claude-code">;
|
|
320
|
+
}>;
|
|
321
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
322
|
+
readonly method: Schema.Literal<"interaction.cancel">;
|
|
323
|
+
readonly parameters: Schema.Struct<{
|
|
324
|
+
commandId: Schema.String;
|
|
325
|
+
expectedRevision: Schema.String;
|
|
326
|
+
interactionId: Schema.String;
|
|
327
|
+
}>;
|
|
328
|
+
}>, Schema.Struct<{
|
|
329
|
+
readonly method: Schema.Literal<"interaction.create">;
|
|
330
|
+
readonly parameters: Schema.Union<readonly [Schema.Struct<{
|
|
331
|
+
readonly body: Schema.String;
|
|
332
|
+
readonly commandId: Schema.String;
|
|
333
|
+
readonly expectedSessionRevision: Schema.String;
|
|
334
|
+
readonly expiresAt: Schema.optional<Schema.String>;
|
|
335
|
+
readonly origin: Schema.Struct<{
|
|
336
|
+
readonly kind: Schema.Literal<"external-cli">;
|
|
337
|
+
}>;
|
|
338
|
+
readonly projectId: Schema.String;
|
|
339
|
+
readonly sessionId: Schema.String;
|
|
340
|
+
readonly subject: Schema.String;
|
|
341
|
+
readonly kind: Schema.Literal<"question">;
|
|
342
|
+
}>, Schema.Struct<{
|
|
343
|
+
readonly body: Schema.String;
|
|
344
|
+
readonly commandId: Schema.String;
|
|
345
|
+
readonly expectedSessionRevision: Schema.String;
|
|
346
|
+
readonly expiresAt: Schema.optional<Schema.String>;
|
|
347
|
+
readonly origin: Schema.Struct<{
|
|
348
|
+
readonly kind: Schema.Literal<"external-cli">;
|
|
349
|
+
}>;
|
|
350
|
+
readonly projectId: Schema.String;
|
|
351
|
+
readonly sessionId: Schema.String;
|
|
352
|
+
readonly subject: Schema.String;
|
|
353
|
+
readonly kind: Schema.Literal<"selection">;
|
|
354
|
+
readonly options: Schema.$Array<Schema.Struct<{
|
|
355
|
+
readonly label: Schema.String;
|
|
356
|
+
readonly optionId: Schema.String;
|
|
357
|
+
}>>;
|
|
358
|
+
}>]>;
|
|
359
|
+
}>, Schema.Struct<{
|
|
360
|
+
readonly method: Schema.Literal<"interaction.list">;
|
|
361
|
+
readonly parameters: Schema.Struct<{
|
|
362
|
+
readonly afterCursor: Schema.optional<Schema.String>;
|
|
363
|
+
readonly lifecycleStatus: Schema.optional<Schema.Literals<readonly ["pending", "answered", "cancelled", "expired"]>>;
|
|
364
|
+
readonly limit: Schema.Int;
|
|
365
|
+
readonly projectId: Schema.String;
|
|
366
|
+
readonly sessionId: Schema.String;
|
|
367
|
+
}>;
|
|
368
|
+
}>, Schema.Struct<{
|
|
369
|
+
readonly method: Schema.Literal<"interaction.respond">;
|
|
370
|
+
readonly parameters: Schema.Struct<{
|
|
371
|
+
readonly commandId: Schema.String;
|
|
372
|
+
readonly expectedRevision: Schema.String;
|
|
373
|
+
readonly interactionId: Schema.String;
|
|
374
|
+
readonly answer: Schema.Union<readonly [Schema.Struct<{
|
|
375
|
+
readonly kind: Schema.Literal<"text">;
|
|
376
|
+
readonly value: Schema.String;
|
|
377
|
+
}>, Schema.Struct<{
|
|
378
|
+
readonly kind: Schema.Literal<"selection">;
|
|
379
|
+
readonly optionIds: Schema.$Array<Schema.String>;
|
|
380
|
+
}>]>;
|
|
381
|
+
}>;
|
|
382
|
+
}>, Schema.Struct<{
|
|
383
|
+
readonly method: Schema.Literal<"interaction.show">;
|
|
384
|
+
readonly parameters: Schema.Struct<{
|
|
385
|
+
readonly interactionId: Schema.String;
|
|
386
|
+
}>;
|
|
387
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
388
|
+
readonly method: Schema.Literal<"approval.list">;
|
|
389
|
+
readonly parameters: Schema.Struct<{
|
|
390
|
+
readonly limit: Schema.Int;
|
|
391
|
+
readonly pendingOnly: Schema.optional<Schema.Boolean>;
|
|
392
|
+
readonly sessionId: Schema.optional<Schema.String>;
|
|
393
|
+
}>;
|
|
394
|
+
}>, Schema.Struct<{
|
|
395
|
+
readonly method: Schema.Literal<"approval.respond">;
|
|
396
|
+
readonly parameters: Schema.Struct<{
|
|
397
|
+
readonly answer: Schema.optional<Schema.String>;
|
|
398
|
+
readonly approvalId: Schema.String;
|
|
399
|
+
readonly commandId: Schema.String;
|
|
400
|
+
readonly decision: Schema.Literals<readonly ["answer", "approve", "approve_for_session", "deny"]>;
|
|
401
|
+
readonly reason: Schema.optional<Schema.String>;
|
|
402
|
+
readonly requestDigest: Schema.String;
|
|
403
|
+
}>;
|
|
404
|
+
}>, Schema.Struct<{
|
|
405
|
+
readonly method: Schema.Literal<"approval.show">;
|
|
406
|
+
readonly parameters: Schema.Struct<{
|
|
407
|
+
readonly approvalId: Schema.String;
|
|
408
|
+
}>;
|
|
409
|
+
}>]>, Schema.Struct<{
|
|
410
|
+
readonly method: Schema.Literal<"context.show">;
|
|
411
|
+
readonly parameters: Schema.$Record<Schema.String, Schema.Never>;
|
|
412
|
+
}>, Schema.Struct<{
|
|
413
|
+
readonly method: Schema.Literal<"harness.installed.list">;
|
|
414
|
+
readonly parameters: Schema.$Record<Schema.String, Schema.Never>;
|
|
415
|
+
}>, Schema.Struct<{
|
|
416
|
+
readonly method: Schema.Literal<"node.status">;
|
|
417
|
+
readonly parameters: Schema.$Record<Schema.String, Schema.Never>;
|
|
418
|
+
}>, Schema.Struct<{
|
|
419
|
+
readonly method: Schema.Literal<"node.shutdown">;
|
|
420
|
+
readonly parameters: Schema.$Record<Schema.String, Schema.Never>;
|
|
421
|
+
}>, Schema.Struct<{
|
|
422
|
+
readonly method: Schema.Literal<"monitor.bootstrap.create">;
|
|
423
|
+
readonly parameters: Schema.$Record<Schema.String, Schema.Never>;
|
|
424
|
+
}>, Schema.Struct<{
|
|
425
|
+
readonly method: Schema.Literal<"receipt.get">;
|
|
426
|
+
readonly parameters: Schema.Struct<{
|
|
427
|
+
readonly commandId: Schema.String;
|
|
428
|
+
}>;
|
|
429
|
+
}>, Schema.Struct<{
|
|
430
|
+
readonly method: Schema.Literal<"receipt.list">;
|
|
431
|
+
readonly parameters: Schema.Struct<{
|
|
432
|
+
readonly actor: Schema.optional<Schema.String>;
|
|
433
|
+
readonly afterCursor: Schema.optional<Schema.String>;
|
|
434
|
+
readonly limit: Schema.Int;
|
|
435
|
+
readonly method: Schema.optional<Schema.Literals<readonly ["approval.respond", "connection.capacity.set", "connection.create", "connection.gateway.create", "connection.login.start", "connection.state.set", "container.create.confirm", "container.rename.confirm", "execution.checkpoint.create", "execution.command.run", "execution.file.read", "execution.placement.create", "execution.relocation.apply", "execution.relocation.reconcile", "execution.worktree.create", "execution.worktree.import", "execution.worktree.reconcile", "execution.worktree.remove.apply", "hold.place.confirm", "hold.release.confirm", "integration.apply.claude-code", "integration.apply.codex", "integration.apply.pi-rpc", "integration.remove.claude-code", "integration.remove.codex", "integration.remove.pi-rpc", "interaction.cancel", "interaction.create", "interaction.respond", "node.remote.install.confirm", "node.remote.remove.confirm", "port.lease.acquire", "port.lease.release", "port.lease.renew", "project.context.record", "project.create.confirm", "project.guard.confirm", "project.register", "project.rename.confirm", "run.create", "run.dispatch.settle-terminal", "run.inbox.ack", "run.ledger.create", "run.ledger.task.dispatch", "run.ledger.task.settle", "run.question.cancel", "run.question.open", "run.question.reply", "session.adopt.confirm", "session.agent-permission.confirm", "session.archive", "session.create", "session.inbox.ack", "session.message.send", "session.rename", "session.resume", "session.spawn", "session.start", "session.stop", "terminal.controller.acquire", "terminal.controller.release", "terminal.controller.renew", "terminal.controller.request", "terminal.create", "terminal.input.write", "terminal.mutation.reconcile", "terminal.observer.attach", "terminal.observer.detach", "terminal.session.close", "terminal.session.delete", "terminal.session.resize", "terminal.session.restart", "terminal.session.signal", "turn.interrupt", "turn.send", "voice.pi.relay", "workspace.execution.configure", "workspace.membership.attach", "workspace.repository.attach", "workspace.select"]>>;
|
|
436
|
+
readonly since: Schema.optional<Schema.String>;
|
|
437
|
+
readonly until: Schema.optional<Schema.String>;
|
|
438
|
+
}>;
|
|
439
|
+
}>, Schema.Union<readonly [Schema.Struct<{
|
|
440
|
+
readonly method: Schema.Literal<"run.create">;
|
|
441
|
+
readonly parameters: Schema.Struct<{
|
|
442
|
+
readonly commandId: Schema.String;
|
|
443
|
+
readonly expectedRevision: Schema.Literal<"0">;
|
|
444
|
+
readonly graph: Schema.Struct<{
|
|
445
|
+
readonly dispatchTaskKey: Schema.String;
|
|
446
|
+
readonly rootTaskKey: Schema.String;
|
|
447
|
+
readonly tasks: Schema.$Array<Schema.Struct<{
|
|
448
|
+
readonly clientKey: Schema.String;
|
|
449
|
+
readonly dependsOn: Schema.$Array<Schema.String>;
|
|
450
|
+
readonly objective: Schema.String;
|
|
451
|
+
}>>;
|
|
452
|
+
}>;
|
|
453
|
+
readonly terminalId: Schema.String;
|
|
454
|
+
readonly workspaceId: Schema.String;
|
|
455
|
+
}>;
|
|
456
|
+
}>, Schema.Struct<{
|
|
457
|
+
readonly method: Schema.Literal<"run.list">;
|
|
458
|
+
readonly parameters: Schema.Struct<{
|
|
459
|
+
readonly afterCursor: Schema.String;
|
|
460
|
+
readonly limit: Schema.Int;
|
|
461
|
+
readonly workspaceId: Schema.String;
|
|
462
|
+
}>;
|
|
463
|
+
}>, Schema.Struct<{
|
|
464
|
+
readonly method: Schema.Literal<"run.show">;
|
|
465
|
+
readonly parameters: Schema.Struct<{
|
|
466
|
+
readonly runId: Schema.String;
|
|
467
|
+
}>;
|
|
468
|
+
}>, Schema.Struct<{
|
|
469
|
+
readonly method: Schema.Literal<"run.task.list">;
|
|
470
|
+
readonly parameters: Schema.Struct<{
|
|
471
|
+
readonly afterCursor: Schema.String;
|
|
472
|
+
readonly limit: Schema.Int;
|
|
473
|
+
readonly runId: Schema.String;
|
|
474
|
+
}>;
|
|
475
|
+
}>, Schema.Struct<{
|
|
476
|
+
readonly method: Schema.Literal<"run.task.show">;
|
|
477
|
+
readonly parameters: Schema.Struct<{
|
|
478
|
+
readonly runId: Schema.String;
|
|
479
|
+
readonly taskId: Schema.String;
|
|
480
|
+
}>;
|
|
481
|
+
}>, Schema.Struct<{
|
|
482
|
+
readonly method: Schema.Literal<"run.dispatch.show">;
|
|
483
|
+
readonly parameters: Schema.Struct<{
|
|
484
|
+
readonly runId: Schema.String;
|
|
485
|
+
}>;
|
|
486
|
+
}>, Schema.Struct<{
|
|
487
|
+
readonly method: Schema.Literal<"run.inbox.check">;
|
|
488
|
+
readonly parameters: Schema.Struct<{
|
|
489
|
+
readonly coordinatorEpoch: Schema.Literal<1>;
|
|
490
|
+
readonly limit: Schema.Int;
|
|
491
|
+
readonly owner: Schema.Union<readonly [Schema.Struct<{
|
|
492
|
+
readonly id: Schema.String;
|
|
493
|
+
readonly kind: Schema.Literal<"run">;
|
|
494
|
+
}>, Schema.Struct<{
|
|
495
|
+
readonly id: Schema.String;
|
|
496
|
+
readonly kind: Schema.Literal<"dispatch">;
|
|
497
|
+
}>]>;
|
|
498
|
+
readonly runId: Schema.String;
|
|
499
|
+
}>;
|
|
500
|
+
}>, Schema.Struct<{
|
|
501
|
+
readonly method: Schema.Literal<"run.inbox.ack">;
|
|
502
|
+
readonly parameters: Schema.Struct<{
|
|
503
|
+
readonly commandId: Schema.String;
|
|
504
|
+
readonly coordinatorEpoch: Schema.Literal<1>;
|
|
505
|
+
readonly deliveryId: Schema.String;
|
|
506
|
+
readonly expectedMailboxRevision: Schema.String;
|
|
507
|
+
readonly owner: Schema.Union<readonly [Schema.Struct<{
|
|
508
|
+
readonly id: Schema.String;
|
|
509
|
+
readonly kind: Schema.Literal<"run">;
|
|
510
|
+
}>, Schema.Struct<{
|
|
511
|
+
readonly id: Schema.String;
|
|
512
|
+
readonly kind: Schema.Literal<"dispatch">;
|
|
513
|
+
}>]>;
|
|
514
|
+
readonly runId: Schema.String;
|
|
515
|
+
}>;
|
|
516
|
+
}>, Schema.Struct<{
|
|
517
|
+
readonly method: Schema.Literal<"run.question.open">;
|
|
518
|
+
readonly parameters: Schema.Struct<{
|
|
519
|
+
readonly commandId: Schema.String;
|
|
520
|
+
readonly coordinatorEpoch: Schema.Literal<1>;
|
|
521
|
+
readonly dispatchId: Schema.String;
|
|
522
|
+
readonly expectedDispatchRevision: Schema.String;
|
|
523
|
+
readonly expectedRunRevision: Schema.String;
|
|
524
|
+
readonly runId: Schema.String;
|
|
525
|
+
readonly body: Schema.String;
|
|
526
|
+
readonly subject: Schema.String;
|
|
527
|
+
}>;
|
|
528
|
+
}>, Schema.Struct<{
|
|
529
|
+
readonly method: Schema.Literal<"run.question.reply">;
|
|
530
|
+
readonly parameters: Schema.Struct<{
|
|
531
|
+
readonly commandId: Schema.String;
|
|
532
|
+
readonly coordinatorEpoch: Schema.Literal<1>;
|
|
533
|
+
readonly dispatchId: Schema.String;
|
|
534
|
+
readonly expectedDispatchRevision: Schema.String;
|
|
535
|
+
readonly expectedRunRevision: Schema.String;
|
|
536
|
+
readonly runId: Schema.String;
|
|
537
|
+
readonly answer: Schema.String;
|
|
538
|
+
readonly expectedQuestionRevision: Schema.String;
|
|
539
|
+
readonly questionId: Schema.String;
|
|
540
|
+
}>;
|
|
541
|
+
}>, Schema.Struct<{
|
|
542
|
+
readonly method: Schema.Literal<"run.question.cancel">;
|
|
543
|
+
readonly parameters: Schema.Struct<{
|
|
544
|
+
readonly commandId: Schema.String;
|
|
545
|
+
readonly coordinatorEpoch: Schema.Literal<1>;
|
|
546
|
+
readonly dispatchId: Schema.String;
|
|
547
|
+
readonly expectedDispatchRevision: Schema.String;
|
|
548
|
+
readonly expectedRunRevision: Schema.String;
|
|
549
|
+
readonly runId: Schema.String;
|
|
550
|
+
readonly expectedQuestionRevision: Schema.String;
|
|
551
|
+
readonly questionId: Schema.String;
|
|
552
|
+
}>;
|
|
553
|
+
}>, Schema.Struct<{
|
|
554
|
+
readonly method: Schema.Literal<"run.dispatch.settle-terminal">;
|
|
555
|
+
readonly parameters: Schema.Struct<{
|
|
556
|
+
commandId: Schema.String;
|
|
557
|
+
coordinatorEpoch: Schema.Literal<1>;
|
|
558
|
+
dispatchId: Schema.String;
|
|
559
|
+
expectedDispatchRevision: Schema.String;
|
|
560
|
+
expectedRunRevision: Schema.String;
|
|
561
|
+
runId: Schema.String;
|
|
562
|
+
}>;
|
|
563
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
564
|
+
readonly method: Schema.Literal<"port.lease.acquire">;
|
|
565
|
+
readonly parameters: Schema.Struct<{
|
|
566
|
+
readonly commandId: Schema.String;
|
|
567
|
+
readonly count: Schema.optional<Schema.Int>;
|
|
568
|
+
readonly preferred: Schema.optional<Schema.Int>;
|
|
569
|
+
readonly purpose: Schema.String;
|
|
570
|
+
readonly sessionId: Schema.optional<Schema.String>;
|
|
571
|
+
}>;
|
|
572
|
+
}>, Schema.Struct<{
|
|
573
|
+
readonly method: Schema.Literal<"port.lease.list">;
|
|
574
|
+
readonly parameters: Schema.Struct<{
|
|
575
|
+
readonly afterCursor: Schema.optional<Schema.String>;
|
|
576
|
+
readonly limit: Schema.Int;
|
|
577
|
+
readonly sessionId: Schema.optional<Schema.String>;
|
|
578
|
+
}>;
|
|
579
|
+
}>, Schema.Struct<{
|
|
580
|
+
readonly method: Schema.Literal<"port.lease.release">;
|
|
581
|
+
readonly parameters: Schema.Struct<{
|
|
582
|
+
readonly commandId: Schema.String;
|
|
583
|
+
readonly leaseId: Schema.String;
|
|
584
|
+
}>;
|
|
585
|
+
}>, Schema.Struct<{
|
|
586
|
+
readonly method: Schema.Literal<"port.lease.renew">;
|
|
587
|
+
readonly parameters: Schema.Struct<{
|
|
588
|
+
readonly commandId: Schema.String;
|
|
589
|
+
readonly expectedRevision: Schema.String;
|
|
590
|
+
readonly leaseId: Schema.String;
|
|
591
|
+
}>;
|
|
592
|
+
}>]>, Schema.Struct<{
|
|
593
|
+
readonly method: Schema.Literal<"reference.resolve">;
|
|
594
|
+
readonly parameters: Schema.Struct<{
|
|
595
|
+
readonly kind: Schema.Literals<readonly ["connection", "container", "project", "session", "workspace"]>;
|
|
596
|
+
readonly path: Schema.optional<Schema.String>;
|
|
597
|
+
readonly projectId: Schema.optional<Schema.String>;
|
|
598
|
+
readonly reference: Schema.optional<Schema.String>;
|
|
599
|
+
}>;
|
|
600
|
+
}>, Schema.Union<readonly [Schema.Struct<{
|
|
601
|
+
readonly method: Schema.Literal<"node.remote.install.preview">;
|
|
602
|
+
readonly parameters: Schema.Struct<{
|
|
603
|
+
readonly claudeBin: Schema.optional<Schema.String>;
|
|
604
|
+
readonly codexBin: Schema.optional<Schema.String>;
|
|
605
|
+
readonly host: Schema.String;
|
|
606
|
+
readonly profile: Schema.String;
|
|
607
|
+
readonly root: Schema.String;
|
|
608
|
+
readonly commandId: Schema.String;
|
|
609
|
+
readonly keep: Schema.Int;
|
|
610
|
+
readonly name: Schema.String;
|
|
611
|
+
readonly nodeRuntime: Schema.String;
|
|
612
|
+
readonly release: Schema.String;
|
|
613
|
+
readonly waitMs: Schema.optional<Schema.Int>;
|
|
614
|
+
}>;
|
|
615
|
+
}>, Schema.Struct<{
|
|
616
|
+
readonly method: Schema.Literal<"node.remote.install.confirm">;
|
|
617
|
+
readonly parameters: Schema.Struct<{
|
|
618
|
+
readonly claudeBin: Schema.optional<Schema.String>;
|
|
619
|
+
readonly codexBin: Schema.optional<Schema.String>;
|
|
620
|
+
readonly host: Schema.String;
|
|
621
|
+
readonly profile: Schema.String;
|
|
622
|
+
readonly root: Schema.String;
|
|
623
|
+
readonly commandId: Schema.String;
|
|
624
|
+
readonly keep: Schema.Int;
|
|
625
|
+
readonly name: Schema.String;
|
|
626
|
+
readonly nodeRuntime: Schema.String;
|
|
627
|
+
readonly release: Schema.String;
|
|
628
|
+
readonly inputDigest: Schema.String;
|
|
629
|
+
readonly planDigest: Schema.String;
|
|
630
|
+
readonly proof: Schema.String;
|
|
631
|
+
readonly waitMs: Schema.optional<Schema.Int>;
|
|
632
|
+
}>;
|
|
633
|
+
}>, Schema.Struct<{
|
|
634
|
+
readonly method: Schema.Literal<"node.remote.list">;
|
|
635
|
+
readonly parameters: Schema.Struct<{
|
|
636
|
+
readonly includeRemoved: Schema.optional<Schema.Boolean>;
|
|
637
|
+
}>;
|
|
638
|
+
}>, Schema.Struct<{
|
|
639
|
+
readonly method: Schema.Literal<"node.remote.remove.preview">;
|
|
640
|
+
readonly parameters: Schema.Struct<{
|
|
641
|
+
commandId: Schema.String;
|
|
642
|
+
expectedRevision: Schema.String;
|
|
643
|
+
name: Schema.String;
|
|
644
|
+
purge: Schema.Boolean;
|
|
645
|
+
}>;
|
|
646
|
+
}>, Schema.Struct<{
|
|
647
|
+
readonly method: Schema.Literal<"node.remote.remove.confirm">;
|
|
648
|
+
readonly parameters: Schema.Struct<{
|
|
649
|
+
readonly commandId: Schema.String;
|
|
650
|
+
readonly expectedRevision: Schema.String;
|
|
651
|
+
readonly name: Schema.String;
|
|
652
|
+
readonly purge: Schema.Boolean;
|
|
653
|
+
readonly inputDigest: Schema.String;
|
|
654
|
+
readonly proof: Schema.String;
|
|
655
|
+
readonly waitMs: Schema.optional<Schema.Int>;
|
|
656
|
+
}>;
|
|
657
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
658
|
+
readonly method: Schema.Literal<"run.ledger.create">;
|
|
659
|
+
readonly parameters: Schema.Struct<{
|
|
660
|
+
readonly commandId: Schema.String;
|
|
661
|
+
readonly tasks: Schema.$Array<Schema.Struct<{
|
|
662
|
+
readonly clientKey: Schema.String;
|
|
663
|
+
readonly dependsOn: Schema.$Array<Schema.String>;
|
|
664
|
+
readonly objective: Schema.String;
|
|
665
|
+
}>>;
|
|
666
|
+
readonly workspaceId: Schema.String;
|
|
667
|
+
}>;
|
|
668
|
+
}>, Schema.Struct<{
|
|
669
|
+
readonly method: Schema.Literal<"run.ledger.list">;
|
|
670
|
+
readonly parameters: Schema.Struct<{
|
|
671
|
+
readonly afterCursor: Schema.optional<Schema.String>;
|
|
672
|
+
readonly limit: Schema.Int;
|
|
673
|
+
readonly workspaceId: Schema.String;
|
|
674
|
+
}>;
|
|
675
|
+
}>, Schema.Struct<{
|
|
676
|
+
readonly method: Schema.Literal<"run.ledger.task.dispatch">;
|
|
677
|
+
readonly parameters: Schema.Struct<{
|
|
678
|
+
readonly commandId: Schema.String;
|
|
679
|
+
readonly expectedSessionRevision: Schema.String;
|
|
680
|
+
readonly expectedTaskRevision: Schema.String;
|
|
681
|
+
readonly runId: Schema.String;
|
|
682
|
+
readonly sessionId: Schema.String;
|
|
683
|
+
readonly taskId: Schema.String;
|
|
684
|
+
}>;
|
|
685
|
+
}>, Schema.Struct<{
|
|
686
|
+
readonly method: Schema.Literal<"run.ledger.task.list">;
|
|
687
|
+
readonly parameters: Schema.Struct<{
|
|
688
|
+
readonly ready: Schema.optional<Schema.Literal<true>>;
|
|
689
|
+
readonly runId: Schema.String;
|
|
690
|
+
}>;
|
|
691
|
+
}>, Schema.Struct<{
|
|
692
|
+
readonly method: Schema.Literal<"run.ledger.task.settle">;
|
|
693
|
+
readonly parameters: Schema.Struct<{
|
|
694
|
+
readonly commandId: Schema.String;
|
|
695
|
+
readonly evidence: Schema.String;
|
|
696
|
+
readonly expectedTaskRevision: Schema.String;
|
|
697
|
+
readonly outcome: Schema.Literals<readonly ["succeeded", "failed"]>;
|
|
698
|
+
readonly runId: Schema.String;
|
|
699
|
+
readonly sessionId: Schema.String;
|
|
700
|
+
readonly taskId: Schema.String;
|
|
701
|
+
readonly turnId: Schema.optional<Schema.String>;
|
|
702
|
+
}>;
|
|
703
|
+
}>, Schema.Struct<{
|
|
704
|
+
readonly method: Schema.Literal<"run.ledger.task.show">;
|
|
705
|
+
readonly parameters: Schema.Struct<{
|
|
706
|
+
readonly runId: Schema.String;
|
|
707
|
+
readonly taskId: Schema.String;
|
|
708
|
+
}>;
|
|
709
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
710
|
+
readonly method: Schema.Literal<"project.guard.show">;
|
|
711
|
+
readonly parameters: Schema.Struct<{
|
|
712
|
+
readonly projectId: Schema.String;
|
|
713
|
+
}>;
|
|
714
|
+
}>, Schema.Struct<{
|
|
715
|
+
readonly method: Schema.Literal<"project.guard.preview">;
|
|
716
|
+
readonly parameters: Schema.Struct<{
|
|
717
|
+
commandId: Schema.String;
|
|
718
|
+
expectedRevision: Schema.String;
|
|
719
|
+
limits: Schema.Struct<{
|
|
720
|
+
readonly maxDepth: Schema.Int;
|
|
721
|
+
readonly maxLeasesPerSession: Schema.Int;
|
|
722
|
+
readonly maxLiveChildren: Schema.Int;
|
|
723
|
+
readonly maxMessagesPerMinute: Schema.Int;
|
|
724
|
+
}>;
|
|
725
|
+
projectId: Schema.String;
|
|
726
|
+
}>;
|
|
727
|
+
}>, Schema.Struct<{
|
|
728
|
+
readonly method: Schema.Literal<"project.guard.confirm">;
|
|
729
|
+
readonly parameters: Schema.Struct<{
|
|
730
|
+
readonly commandId: Schema.String;
|
|
731
|
+
readonly expectedRevision: Schema.String;
|
|
732
|
+
readonly limits: Schema.Struct<{
|
|
733
|
+
readonly maxDepth: Schema.Int;
|
|
734
|
+
readonly maxLeasesPerSession: Schema.Int;
|
|
735
|
+
readonly maxLiveChildren: Schema.Int;
|
|
736
|
+
readonly maxMessagesPerMinute: Schema.Int;
|
|
737
|
+
}>;
|
|
738
|
+
readonly projectId: Schema.String;
|
|
739
|
+
readonly inputDigest: Schema.String;
|
|
740
|
+
readonly proof: Schema.String;
|
|
741
|
+
}>;
|
|
742
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
743
|
+
readonly method: Schema.Literal<"project.create.preview">;
|
|
744
|
+
readonly parameters: Schema.Struct<{
|
|
745
|
+
commandId: Schema.String;
|
|
746
|
+
containerId: Schema.String;
|
|
747
|
+
expectedContainerRevision: Schema.String;
|
|
748
|
+
name: Schema.Trim;
|
|
749
|
+
}>;
|
|
750
|
+
}>, Schema.Struct<{
|
|
751
|
+
readonly method: Schema.Literal<"project.create.confirm">;
|
|
752
|
+
readonly parameters: Schema.Struct<{
|
|
753
|
+
readonly commandId: Schema.String;
|
|
754
|
+
readonly containerId: Schema.String;
|
|
755
|
+
readonly expectedContainerRevision: Schema.String;
|
|
756
|
+
readonly name: Schema.Trim;
|
|
757
|
+
readonly inputDigest: Schema.String;
|
|
758
|
+
readonly proof: Schema.String;
|
|
759
|
+
}>;
|
|
760
|
+
}>, Schema.Struct<{
|
|
761
|
+
readonly method: Schema.Literal<"project.rename.preview">;
|
|
762
|
+
readonly parameters: Schema.Struct<{
|
|
763
|
+
commandId: Schema.String;
|
|
764
|
+
containerId: Schema.String;
|
|
765
|
+
expectedRevision: Schema.String;
|
|
766
|
+
name: Schema.Trim;
|
|
767
|
+
projectId: Schema.String;
|
|
768
|
+
}>;
|
|
769
|
+
}>, Schema.Struct<{
|
|
770
|
+
readonly method: Schema.Literal<"project.rename.confirm">;
|
|
771
|
+
readonly parameters: Schema.Struct<{
|
|
772
|
+
readonly commandId: Schema.String;
|
|
773
|
+
readonly containerId: Schema.String;
|
|
774
|
+
readonly expectedRevision: Schema.String;
|
|
775
|
+
readonly name: Schema.Trim;
|
|
776
|
+
readonly projectId: Schema.String;
|
|
777
|
+
readonly inputDigest: Schema.String;
|
|
778
|
+
readonly proof: Schema.String;
|
|
779
|
+
}>;
|
|
780
|
+
}>, Schema.Struct<{
|
|
781
|
+
readonly method: Schema.Literal<"project.context.list">;
|
|
782
|
+
readonly parameters: Schema.Struct<{
|
|
783
|
+
readonly afterCursor: Schema.optional<Schema.String>;
|
|
784
|
+
readonly limit: Schema.Int;
|
|
785
|
+
readonly projectId: Schema.String;
|
|
786
|
+
}>;
|
|
787
|
+
}>, Schema.Struct<{
|
|
788
|
+
readonly method: Schema.Literal<"project.context.record">;
|
|
789
|
+
readonly parameters: Schema.Struct<{
|
|
790
|
+
readonly attribution: Schema.Literal<"user">;
|
|
791
|
+
readonly body: Schema.String;
|
|
792
|
+
readonly commandId: Schema.String;
|
|
793
|
+
readonly projectId: Schema.String;
|
|
794
|
+
}>;
|
|
795
|
+
}>, Schema.Struct<{
|
|
796
|
+
readonly method: Schema.Literal<"project.context.show">;
|
|
797
|
+
readonly parameters: Schema.Struct<{
|
|
798
|
+
readonly noteId: Schema.String;
|
|
799
|
+
}>;
|
|
800
|
+
}>, Schema.Struct<{
|
|
801
|
+
readonly method: Schema.Literal<"project.register">;
|
|
802
|
+
readonly parameters: Schema.Struct<{
|
|
803
|
+
readonly commandId: Schema.String;
|
|
804
|
+
readonly expectedRevision: Schema.Literal<"0">;
|
|
805
|
+
readonly name: Schema.Trim;
|
|
806
|
+
readonly rootPath: Schema.String;
|
|
807
|
+
}>;
|
|
808
|
+
}>, Schema.Struct<{
|
|
809
|
+
readonly method: Schema.Literal<"project.list">;
|
|
810
|
+
readonly parameters: Schema.Struct<{
|
|
811
|
+
readonly afterCursor: Schema.optional<Schema.String>;
|
|
812
|
+
readonly limit: Schema.Int;
|
|
813
|
+
}>;
|
|
814
|
+
}>, Schema.Struct<{
|
|
815
|
+
readonly method: Schema.Literal<"project.show">;
|
|
816
|
+
readonly parameters: Schema.Struct<{
|
|
817
|
+
readonly projectId: Schema.String;
|
|
818
|
+
}>;
|
|
819
|
+
}>, Schema.Struct<{
|
|
820
|
+
readonly method: Schema.Literal<"workspace.context.show">;
|
|
821
|
+
readonly parameters: Schema.$Record<Schema.String, Schema.Never>;
|
|
822
|
+
}>, Schema.Struct<{
|
|
823
|
+
readonly method: Schema.Literal<"workspace.list">;
|
|
824
|
+
readonly parameters: Schema.Struct<{
|
|
825
|
+
readonly afterCursor: Schema.optional<Schema.String>;
|
|
826
|
+
readonly limit: Schema.Int;
|
|
827
|
+
readonly projectId: Schema.String;
|
|
828
|
+
}>;
|
|
829
|
+
}>, Schema.Struct<{
|
|
830
|
+
readonly method: Schema.Literal<"workspace.membership.attach">;
|
|
831
|
+
readonly parameters: Schema.Struct<{
|
|
832
|
+
readonly commandId: Schema.String;
|
|
833
|
+
readonly expectedContextRevision: Schema.String;
|
|
834
|
+
readonly expectedWorkspaceRevision: Schema.String;
|
|
835
|
+
readonly projectId: Schema.String;
|
|
836
|
+
readonly repositoryId: Schema.String;
|
|
837
|
+
readonly workspaceId: Schema.String;
|
|
838
|
+
}>;
|
|
839
|
+
}>, Schema.Struct<{
|
|
840
|
+
readonly method: Schema.Literal<"workspace.select">;
|
|
841
|
+
readonly parameters: Schema.Struct<{
|
|
842
|
+
readonly commandId: Schema.String;
|
|
843
|
+
readonly expectedActiveContextRevision: Schema.String;
|
|
844
|
+
readonly expectedActiveWorkspaceId: Schema.String;
|
|
845
|
+
readonly expectedContextRevision: Schema.String;
|
|
846
|
+
readonly expectedWorkspaceRevision: Schema.String;
|
|
847
|
+
readonly projectId: Schema.String;
|
|
848
|
+
readonly repositoryId: Schema.String;
|
|
849
|
+
readonly workspaceId: Schema.String;
|
|
850
|
+
}>;
|
|
851
|
+
}>, Schema.Struct<{
|
|
852
|
+
readonly method: Schema.Literal<"workspace.show">;
|
|
853
|
+
readonly parameters: Schema.Struct<{
|
|
854
|
+
readonly workspaceId: Schema.String;
|
|
855
|
+
}>;
|
|
856
|
+
}>, Schema.Struct<{
|
|
857
|
+
readonly method: Schema.Literal<"workspace.repository.attach">;
|
|
858
|
+
readonly parameters: Schema.Struct<{
|
|
859
|
+
readonly commandId: Schema.String;
|
|
860
|
+
readonly expectedRevision: Schema.String;
|
|
861
|
+
readonly name: Schema.Trim;
|
|
862
|
+
readonly rootPath: Schema.String;
|
|
863
|
+
readonly workspaceId: Schema.String;
|
|
864
|
+
}>;
|
|
865
|
+
}>]>, Schema.Struct<{
|
|
866
|
+
readonly method: Schema.Literal<"provider.pool.list">;
|
|
867
|
+
readonly parameters: Schema.$Record<Schema.String, Schema.Never>;
|
|
868
|
+
}>, Schema.Struct<{
|
|
869
|
+
readonly method: Schema.Literal<"runtime.probe">;
|
|
870
|
+
readonly parameters: Schema.Union<readonly [Schema.Struct<{
|
|
871
|
+
readonly runtime: Schema.Literal<"codex">;
|
|
872
|
+
}>, Schema.Struct<{
|
|
873
|
+
readonly runtime: Schema.Literal<"pi-rpc">;
|
|
874
|
+
}>]>;
|
|
875
|
+
}>, Schema.Union<readonly [Schema.Struct<{
|
|
876
|
+
readonly method: Schema.Literal<"session.create">;
|
|
877
|
+
readonly parameters: Schema.Struct<{
|
|
878
|
+
readonly commandId: Schema.String;
|
|
879
|
+
readonly expectedRevision: Schema.Literal<"0">;
|
|
880
|
+
readonly workspaceId: Schema.String;
|
|
881
|
+
readonly connectionId: Schema.optional<Schema.String>;
|
|
882
|
+
readonly definitionRef: Schema.optional<Schema.Struct<{
|
|
883
|
+
readonly contentDigest: Schema.String;
|
|
884
|
+
readonly key: Schema.String;
|
|
885
|
+
readonly version: Schema.String;
|
|
886
|
+
}>>;
|
|
887
|
+
readonly executor: Schema.optional<Schema.Literals<readonly ["claude-code", "codex-cli"]>>;
|
|
888
|
+
readonly model: Schema.optional<Schema.String>;
|
|
889
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["orchestrator", "worker"]>>;
|
|
890
|
+
readonly title: Schema.optional<Schema.String>;
|
|
891
|
+
readonly worktree: Schema.optional<Schema.Struct<{
|
|
892
|
+
readonly baseRef: Schema.String;
|
|
893
|
+
}>>;
|
|
894
|
+
}>;
|
|
895
|
+
}>, Schema.Struct<{
|
|
896
|
+
readonly method: Schema.Literal<"session.list">;
|
|
897
|
+
readonly parameters: Schema.Struct<{
|
|
898
|
+
readonly afterCursor: Schema.optional<Schema.String>;
|
|
899
|
+
readonly attention: Schema.optional<Schema.Boolean>;
|
|
900
|
+
readonly limit: Schema.optional<Schema.Int>;
|
|
901
|
+
readonly projectId: Schema.optional<Schema.String>;
|
|
902
|
+
readonly states: Schema.optional<Schema.$Array<Schema.Literals<readonly ["idle", "starting", "running", "waiting-approval", "interrupted", "recovering", "stopping", "stopped", "failed"]>>>;
|
|
903
|
+
}>;
|
|
904
|
+
}>, Schema.Struct<{
|
|
905
|
+
readonly method: Schema.Literal<"session.show">;
|
|
906
|
+
readonly parameters: Schema.Struct<{
|
|
907
|
+
readonly sessionId: Schema.String;
|
|
908
|
+
}>;
|
|
909
|
+
}>, Schema.Struct<{
|
|
910
|
+
readonly method: Schema.Literal<"session.spawn">;
|
|
911
|
+
readonly parameters: Schema.Struct<{
|
|
912
|
+
readonly commandId: Schema.String;
|
|
913
|
+
readonly expectedRevision: Schema.Literal<"0">;
|
|
914
|
+
readonly workspaceId: Schema.String;
|
|
915
|
+
readonly definitionRef: Schema.optional<Schema.Struct<{
|
|
916
|
+
readonly contentDigest: Schema.String;
|
|
917
|
+
readonly key: Schema.String;
|
|
918
|
+
readonly version: Schema.String;
|
|
919
|
+
}>>;
|
|
920
|
+
readonly harness: Schema.Literals<readonly ["maia-agent", "pi"]>;
|
|
921
|
+
readonly parentSessionId: Schema.String;
|
|
922
|
+
}>;
|
|
923
|
+
}>, Schema.Struct<{
|
|
924
|
+
readonly method: Schema.Literal<"session.events.list">;
|
|
925
|
+
readonly parameters: Schema.Struct<{
|
|
926
|
+
readonly afterSessionCursor: Schema.String;
|
|
927
|
+
readonly limit: Schema.Int;
|
|
928
|
+
readonly sessionId: Schema.String;
|
|
929
|
+
}>;
|
|
930
|
+
}>, Schema.Struct<{
|
|
931
|
+
readonly method: Schema.Literal<"session.inbox.ack">;
|
|
932
|
+
readonly parameters: Schema.Struct<{
|
|
933
|
+
readonly commandId: Schema.String;
|
|
934
|
+
readonly deliveryId: Schema.String;
|
|
935
|
+
readonly expectedMailboxRevision: Schema.String;
|
|
936
|
+
}>;
|
|
937
|
+
}>, Schema.Struct<{
|
|
938
|
+
readonly method: Schema.Literal<"session.inbox.check">;
|
|
939
|
+
readonly parameters: Schema.Struct<{
|
|
940
|
+
readonly limit: Schema.optional<Schema.Int>;
|
|
941
|
+
}>;
|
|
942
|
+
}>, Schema.Struct<{
|
|
943
|
+
readonly method: Schema.Literal<"session.message.send">;
|
|
944
|
+
readonly parameters: Schema.Struct<{
|
|
945
|
+
readonly body: Schema.String;
|
|
946
|
+
readonly commandId: Schema.String;
|
|
947
|
+
readonly recipientSessionId: Schema.String;
|
|
948
|
+
readonly subject: Schema.String;
|
|
949
|
+
}>;
|
|
950
|
+
}>, Schema.Struct<{
|
|
951
|
+
readonly method: Schema.Literal<"session.observe">;
|
|
952
|
+
readonly parameters: Schema.Struct<{
|
|
953
|
+
readonly sessionIds: Schema.optional<Schema.$Array<Schema.String>>;
|
|
954
|
+
readonly stallAfterSeconds: Schema.optional<Schema.Int>;
|
|
955
|
+
}>;
|
|
956
|
+
}>, Schema.Struct<{
|
|
957
|
+
readonly method: Schema.Literal<"session.start">;
|
|
958
|
+
readonly parameters: Schema.Struct<{
|
|
959
|
+
readonly commandId: Schema.String;
|
|
960
|
+
readonly expectedRevision: Schema.String;
|
|
961
|
+
readonly sessionId: Schema.String;
|
|
962
|
+
}>;
|
|
963
|
+
}>, Schema.Struct<{
|
|
964
|
+
readonly method: Schema.Literal<"session.stop">;
|
|
965
|
+
readonly parameters: Schema.Struct<{
|
|
966
|
+
readonly commandId: Schema.String;
|
|
967
|
+
readonly expectedRevision: Schema.String;
|
|
968
|
+
readonly sessionId: Schema.String;
|
|
969
|
+
}>;
|
|
970
|
+
}>, Schema.Struct<{
|
|
971
|
+
readonly method: Schema.Literal<"session.resume">;
|
|
972
|
+
readonly parameters: Schema.Struct<{
|
|
973
|
+
readonly commandId: Schema.String;
|
|
974
|
+
readonly expectedRevision: Schema.String;
|
|
975
|
+
readonly sessionId: Schema.String;
|
|
976
|
+
}>;
|
|
977
|
+
}>, Schema.Struct<{
|
|
978
|
+
readonly method: Schema.Literal<"session.diff">;
|
|
979
|
+
readonly parameters: Schema.Struct<{
|
|
980
|
+
readonly sessionId: Schema.String;
|
|
981
|
+
readonly stat: Schema.optional<Schema.Boolean>;
|
|
982
|
+
}>;
|
|
983
|
+
}>, Schema.Struct<{
|
|
984
|
+
readonly method: Schema.Literal<"session.archive">;
|
|
985
|
+
readonly parameters: Schema.Struct<{
|
|
986
|
+
readonly commandId: Schema.String;
|
|
987
|
+
readonly expectedRevision: Schema.String;
|
|
988
|
+
readonly sessionId: Schema.String;
|
|
989
|
+
}>;
|
|
990
|
+
}>, Schema.Struct<{
|
|
991
|
+
readonly method: Schema.Literal<"session.rename">;
|
|
992
|
+
readonly parameters: Schema.Struct<{
|
|
993
|
+
readonly commandId: Schema.String;
|
|
994
|
+
readonly expectedRevision: Schema.String;
|
|
995
|
+
readonly sessionId: Schema.String;
|
|
996
|
+
readonly title: Schema.String;
|
|
997
|
+
}>;
|
|
998
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
999
|
+
readonly method: Schema.Literal<"session.agent-permission.preview">;
|
|
1000
|
+
readonly parameters: Schema.Struct<{
|
|
1001
|
+
readonly definitionRef: Schema.Struct<{
|
|
1002
|
+
readonly contentDigest: Schema.String;
|
|
1003
|
+
readonly key: Schema.String;
|
|
1004
|
+
readonly version: Schema.String;
|
|
1005
|
+
}>;
|
|
1006
|
+
readonly expectedSessionRevision: Schema.String;
|
|
1007
|
+
readonly expectedWorkspaceRevision: Schema.String;
|
|
1008
|
+
readonly operationIds: Schema.$Array<Schema.Literals<readonly ["approval.list", "approval.respond", "approval.show", "connection.capacity.set", "connection.create", "connection.detect", "connection.gateway.create", "connection.list", "connection.login.start", "connection.models.list", "connection.show", "connection.state.set", "connection.system.confirm", "connection.system.preview", "connection.usage.show", "container.create.confirm", "container.create.preview", "container.index.list", "container.list", "container.rename.confirm", "container.rename.preview", "container.show", "context.show", "discovery.sessions.list", "execution.catalog.get", "execution.checkpoint.create", "execution.checkpoint.show", "execution.command.run", "execution.file.read", "execution.placement.create", "execution.placement.show", "execution.relocation.apply", "execution.relocation.plan", "execution.relocation.reconcile", "execution.relocation.show", "execution.worktree.create", "execution.worktree.import", "execution.worktree.reconcile", "execution.worktree.remove.apply", "execution.worktree.remove.plan", "execution.worktree.status", "harness.installed.list", "hold.list", "hold.place.confirm", "hold.place.preview", "hold.release.confirm", "hold.release.preview", "integration.apply.claude-code", "integration.apply.codex", "integration.apply.pi-rpc", "integration.plan.claude-code", "integration.plan.codex", "integration.plan.pi-rpc", "integration.remove.claude-code", "integration.remove.codex", "integration.remove.pi-rpc", "integration.status.claude-code", "integration.status.codex", "integration.status.pi-rpc", "interaction.cancel", "interaction.create", "interaction.list", "interaction.respond", "interaction.show", "monitor.bootstrap.create", "node.remote.install.confirm", "node.remote.install.preview", "node.remote.list", "node.remote.remove.confirm", "node.remote.remove.preview", "node.shutdown", "node.status", "port.lease.acquire", "port.lease.list", "port.lease.release", "port.lease.renew", "presentation.catalog.show", "presentation.project-list.show", "presentation.session-list.show", "presentation.workspace-directory.show", "project.context.list", "project.context.record", "project.context.show", "project.create.confirm", "project.create.preview", "project.guard.confirm", "project.guard.preview", "project.guard.show", "project.list", "project.register", "project.rename.confirm", "project.rename.preview", "project.show", "provider.pool.list", "receipt.get", "receipt.list", "reference.resolve", "run.create", "run.dispatch.settle-terminal", "run.dispatch.show", "run.inbox.ack", "run.inbox.check", "run.ledger.create", "run.ledger.list", "run.ledger.task.dispatch", "run.ledger.task.list", "run.ledger.task.settle", "run.ledger.task.show", "run.list", "run.question.cancel", "run.question.open", "run.question.reply", "run.show", "run.task.list", "run.task.show", "runtime.probe", "session.adopt.confirm", "session.adopt.preview", "session.agent-permission.confirm", "session.agent-permission.preview", "session.archive", "session.create", "session.diff", "session.events.list", "session.history.read", "session.inbox.ack", "session.inbox.check", "session.list", "session.message.send", "session.observe", "session.rename", "session.resume", "session.show", "session.spawn", "session.start", "session.stop", "terminal.controller.acquire", "terminal.controller.release", "terminal.controller.renew", "terminal.controller.request", "terminal.controller.request.show", "terminal.create", "terminal.events.list", "terminal.input.write", "terminal.list", "terminal.mutation.reconcile", "terminal.observer.attach", "terminal.observer.check", "terminal.observer.detach", "terminal.observer.resync", "terminal.read", "terminal.session.close", "terminal.session.delete", "terminal.session.resize", "terminal.session.restart", "terminal.session.signal", "terminal.show", "turn.interrupt", "turn.send", "turn.show", "turn.wait", "voice.managed-turn.confirm", "voice.managed-turn.preview", "voice.orchestrator.context.show", "voice.orchestrator.tool.call", "voice.pi.relay", "voice.pi.relay.preview", "voice.pi.relay.reconcile", "workspace.context.show", "workspace.execution.configure", "workspace.execution.show", "workspace.list", "workspace.membership.attach", "workspace.repository.attach", "workspace.select", "workspace.show"]>>;
|
|
1009
|
+
readonly sessionId: Schema.String;
|
|
1010
|
+
readonly workspaceId: Schema.String;
|
|
1011
|
+
readonly commandId: Schema.String;
|
|
1012
|
+
}>;
|
|
1013
|
+
}>, Schema.Struct<{
|
|
1014
|
+
readonly method: Schema.Literal<"session.agent-permission.confirm">;
|
|
1015
|
+
readonly parameters: Schema.Struct<{
|
|
1016
|
+
readonly definitionRef: Schema.Struct<{
|
|
1017
|
+
readonly contentDigest: Schema.String;
|
|
1018
|
+
readonly key: Schema.String;
|
|
1019
|
+
readonly version: Schema.String;
|
|
1020
|
+
}>;
|
|
1021
|
+
readonly expectedSessionRevision: Schema.String;
|
|
1022
|
+
readonly expectedWorkspaceRevision: Schema.String;
|
|
1023
|
+
readonly operationIds: Schema.$Array<Schema.Literals<readonly ["approval.list", "approval.respond", "approval.show", "connection.capacity.set", "connection.create", "connection.detect", "connection.gateway.create", "connection.list", "connection.login.start", "connection.models.list", "connection.show", "connection.state.set", "connection.system.confirm", "connection.system.preview", "connection.usage.show", "container.create.confirm", "container.create.preview", "container.index.list", "container.list", "container.rename.confirm", "container.rename.preview", "container.show", "context.show", "discovery.sessions.list", "execution.catalog.get", "execution.checkpoint.create", "execution.checkpoint.show", "execution.command.run", "execution.file.read", "execution.placement.create", "execution.placement.show", "execution.relocation.apply", "execution.relocation.plan", "execution.relocation.reconcile", "execution.relocation.show", "execution.worktree.create", "execution.worktree.import", "execution.worktree.reconcile", "execution.worktree.remove.apply", "execution.worktree.remove.plan", "execution.worktree.status", "harness.installed.list", "hold.list", "hold.place.confirm", "hold.place.preview", "hold.release.confirm", "hold.release.preview", "integration.apply.claude-code", "integration.apply.codex", "integration.apply.pi-rpc", "integration.plan.claude-code", "integration.plan.codex", "integration.plan.pi-rpc", "integration.remove.claude-code", "integration.remove.codex", "integration.remove.pi-rpc", "integration.status.claude-code", "integration.status.codex", "integration.status.pi-rpc", "interaction.cancel", "interaction.create", "interaction.list", "interaction.respond", "interaction.show", "monitor.bootstrap.create", "node.remote.install.confirm", "node.remote.install.preview", "node.remote.list", "node.remote.remove.confirm", "node.remote.remove.preview", "node.shutdown", "node.status", "port.lease.acquire", "port.lease.list", "port.lease.release", "port.lease.renew", "presentation.catalog.show", "presentation.project-list.show", "presentation.session-list.show", "presentation.workspace-directory.show", "project.context.list", "project.context.record", "project.context.show", "project.create.confirm", "project.create.preview", "project.guard.confirm", "project.guard.preview", "project.guard.show", "project.list", "project.register", "project.rename.confirm", "project.rename.preview", "project.show", "provider.pool.list", "receipt.get", "receipt.list", "reference.resolve", "run.create", "run.dispatch.settle-terminal", "run.dispatch.show", "run.inbox.ack", "run.inbox.check", "run.ledger.create", "run.ledger.list", "run.ledger.task.dispatch", "run.ledger.task.list", "run.ledger.task.settle", "run.ledger.task.show", "run.list", "run.question.cancel", "run.question.open", "run.question.reply", "run.show", "run.task.list", "run.task.show", "runtime.probe", "session.adopt.confirm", "session.adopt.preview", "session.agent-permission.confirm", "session.agent-permission.preview", "session.archive", "session.create", "session.diff", "session.events.list", "session.history.read", "session.inbox.ack", "session.inbox.check", "session.list", "session.message.send", "session.observe", "session.rename", "session.resume", "session.show", "session.spawn", "session.start", "session.stop", "terminal.controller.acquire", "terminal.controller.release", "terminal.controller.renew", "terminal.controller.request", "terminal.controller.request.show", "terminal.create", "terminal.events.list", "terminal.input.write", "terminal.list", "terminal.mutation.reconcile", "terminal.observer.attach", "terminal.observer.check", "terminal.observer.detach", "terminal.observer.resync", "terminal.read", "terminal.session.close", "terminal.session.delete", "terminal.session.resize", "terminal.session.restart", "terminal.session.signal", "terminal.show", "turn.interrupt", "turn.send", "turn.show", "turn.wait", "voice.managed-turn.confirm", "voice.managed-turn.preview", "voice.orchestrator.context.show", "voice.orchestrator.tool.call", "voice.pi.relay", "voice.pi.relay.preview", "voice.pi.relay.reconcile", "workspace.context.show", "workspace.execution.configure", "workspace.execution.show", "workspace.list", "workspace.membership.attach", "workspace.repository.attach", "workspace.select", "workspace.show"]>>;
|
|
1024
|
+
readonly sessionId: Schema.String;
|
|
1025
|
+
readonly workspaceId: Schema.String;
|
|
1026
|
+
readonly commandId: Schema.String;
|
|
1027
|
+
readonly inputDigest: Schema.String;
|
|
1028
|
+
readonly proof: Schema.String;
|
|
1029
|
+
}>;
|
|
1030
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
1031
|
+
readonly method: Schema.Literal<"connection.create">;
|
|
1032
|
+
readonly parameters: Schema.Struct<{
|
|
1033
|
+
readonly commandId: Schema.String;
|
|
1034
|
+
readonly configRootKind: Schema.Literals<readonly ["maia-managed", "system-default"]>;
|
|
1035
|
+
readonly executor: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
|
|
1036
|
+
readonly maxConcurrentSessions: Schema.optional<Schema.Int>;
|
|
1037
|
+
readonly name: Schema.String;
|
|
1038
|
+
}>;
|
|
1039
|
+
}>, Schema.Struct<{
|
|
1040
|
+
readonly method: Schema.Literal<"connection.list">;
|
|
1041
|
+
readonly parameters: Schema.Struct<{
|
|
1042
|
+
readonly afterCursor: Schema.optional<Schema.String>;
|
|
1043
|
+
readonly limit: Schema.Int;
|
|
1044
|
+
}>;
|
|
1045
|
+
}>, Schema.Struct<{
|
|
1046
|
+
readonly method: Schema.Literal<"connection.show">;
|
|
1047
|
+
readonly parameters: Schema.Struct<{
|
|
1048
|
+
readonly connectionId: Schema.String;
|
|
1049
|
+
}>;
|
|
1050
|
+
}>, Schema.Struct<{
|
|
1051
|
+
readonly method: Schema.Literal<"connection.state.set">;
|
|
1052
|
+
readonly parameters: Schema.Struct<{
|
|
1053
|
+
readonly commandId: Schema.String;
|
|
1054
|
+
readonly connectionId: Schema.String;
|
|
1055
|
+
readonly expectedRevision: Schema.String;
|
|
1056
|
+
readonly state: Schema.Literals<readonly ["disabled", "enabled"]>;
|
|
1057
|
+
}>;
|
|
1058
|
+
}>, Schema.Struct<{
|
|
1059
|
+
readonly method: Schema.Literal<"connection.capacity.set">;
|
|
1060
|
+
readonly parameters: Schema.Struct<{
|
|
1061
|
+
readonly commandId: Schema.String;
|
|
1062
|
+
readonly connectionId: Schema.String;
|
|
1063
|
+
readonly expectedRevision: Schema.String;
|
|
1064
|
+
readonly maxConcurrentSessions: Schema.Int;
|
|
1065
|
+
}>;
|
|
1066
|
+
}>, Schema.Struct<{
|
|
1067
|
+
readonly method: Schema.Literal<"connection.usage.show">;
|
|
1068
|
+
readonly parameters: Schema.Struct<{
|
|
1069
|
+
readonly connectionId: Schema.String;
|
|
1070
|
+
readonly refresh: Schema.optional<Schema.Boolean>;
|
|
1071
|
+
}>;
|
|
1072
|
+
}>, Schema.Struct<{
|
|
1073
|
+
readonly method: Schema.Literal<"connection.login.start">;
|
|
1074
|
+
readonly parameters: Schema.Struct<{
|
|
1075
|
+
readonly commandId: Schema.String;
|
|
1076
|
+
readonly connectionId: Schema.String;
|
|
1077
|
+
readonly expectedRevision: Schema.String;
|
|
1078
|
+
readonly flow: Schema.Literals<readonly ["browser", "device-code"]>;
|
|
1079
|
+
}>;
|
|
1080
|
+
}>, Schema.Struct<{
|
|
1081
|
+
readonly method: Schema.Literal<"connection.gateway.create">;
|
|
1082
|
+
readonly parameters: Schema.Struct<{
|
|
1083
|
+
readonly apiKey: Schema.String;
|
|
1084
|
+
readonly baseUrl: Schema.String;
|
|
1085
|
+
readonly commandId: Schema.String;
|
|
1086
|
+
readonly maxConcurrentSessions: Schema.optional<Schema.Int>;
|
|
1087
|
+
readonly name: Schema.String;
|
|
1088
|
+
}>;
|
|
1089
|
+
}>, Schema.Struct<{
|
|
1090
|
+
readonly method: Schema.Literal<"connection.models.list">;
|
|
1091
|
+
readonly parameters: Schema.Struct<{
|
|
1092
|
+
readonly connectionId: Schema.String;
|
|
1093
|
+
}>;
|
|
1094
|
+
}>, Schema.Struct<{
|
|
1095
|
+
readonly method: Schema.Literal<"connection.detect">;
|
|
1096
|
+
readonly parameters: Schema.$Record<Schema.String, Schema.Never>;
|
|
1097
|
+
}>, Schema.Struct<{
|
|
1098
|
+
readonly method: Schema.Literal<"connection.system.preview">;
|
|
1099
|
+
readonly parameters: Schema.Struct<{
|
|
1100
|
+
commandId: Schema.String;
|
|
1101
|
+
maxConcurrentSessions: Schema.optional<Schema.Int>;
|
|
1102
|
+
}>;
|
|
1103
|
+
}>, Schema.Struct<{
|
|
1104
|
+
readonly method: Schema.Literal<"connection.system.confirm">;
|
|
1105
|
+
readonly parameters: Schema.Struct<{
|
|
1106
|
+
readonly commandId: Schema.String;
|
|
1107
|
+
readonly maxConcurrentSessions: Schema.optional<Schema.Int>;
|
|
1108
|
+
readonly inputDigest: Schema.String;
|
|
1109
|
+
readonly proof: Schema.String;
|
|
1110
|
+
}>;
|
|
1111
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
1112
|
+
readonly method: Schema.Literal<"container.list">;
|
|
1113
|
+
readonly parameters: Schema.Struct<{
|
|
1114
|
+
readonly afterCursor: Schema.optional<Schema.String>;
|
|
1115
|
+
readonly limit: Schema.Int;
|
|
1116
|
+
}>;
|
|
1117
|
+
}>, Schema.Struct<{
|
|
1118
|
+
readonly method: Schema.Literal<"container.show">;
|
|
1119
|
+
readonly parameters: Schema.Struct<{
|
|
1120
|
+
readonly afterCursor: Schema.optional<Schema.String>;
|
|
1121
|
+
readonly containerId: Schema.String;
|
|
1122
|
+
readonly limit: Schema.Int;
|
|
1123
|
+
}>;
|
|
1124
|
+
}>, Schema.Struct<{
|
|
1125
|
+
readonly method: Schema.Literal<"container.index.list">;
|
|
1126
|
+
readonly parameters: Schema.Struct<{
|
|
1127
|
+
readonly afterCursor: Schema.optional<Schema.String>;
|
|
1128
|
+
readonly limit: Schema.Int;
|
|
1129
|
+
}>;
|
|
1130
|
+
}>, Schema.Struct<{
|
|
1131
|
+
readonly method: Schema.Literal<"container.create.preview">;
|
|
1132
|
+
readonly parameters: Schema.Struct<{
|
|
1133
|
+
commandId: Schema.String;
|
|
1134
|
+
name: Schema.Trim;
|
|
1135
|
+
}>;
|
|
1136
|
+
}>, Schema.Struct<{
|
|
1137
|
+
readonly method: Schema.Literal<"container.create.confirm">;
|
|
1138
|
+
readonly parameters: Schema.Struct<{
|
|
1139
|
+
readonly commandId: Schema.String;
|
|
1140
|
+
readonly name: Schema.Trim;
|
|
1141
|
+
readonly inputDigest: Schema.String;
|
|
1142
|
+
readonly proof: Schema.String;
|
|
1143
|
+
}>;
|
|
1144
|
+
}>, Schema.Struct<{
|
|
1145
|
+
readonly method: Schema.Literal<"container.rename.preview">;
|
|
1146
|
+
readonly parameters: Schema.Struct<{
|
|
1147
|
+
commandId: Schema.String;
|
|
1148
|
+
name: Schema.Trim;
|
|
1149
|
+
containerId: Schema.String;
|
|
1150
|
+
expectedRevision: Schema.String;
|
|
1151
|
+
}>;
|
|
1152
|
+
}>, Schema.Struct<{
|
|
1153
|
+
readonly method: Schema.Literal<"container.rename.confirm">;
|
|
1154
|
+
readonly parameters: Schema.Struct<{
|
|
1155
|
+
readonly commandId: Schema.String;
|
|
1156
|
+
readonly name: Schema.Trim;
|
|
1157
|
+
readonly containerId: Schema.String;
|
|
1158
|
+
readonly expectedRevision: Schema.String;
|
|
1159
|
+
readonly inputDigest: Schema.String;
|
|
1160
|
+
readonly proof: Schema.String;
|
|
1161
|
+
}>;
|
|
1162
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
1163
|
+
readonly method: Schema.Literal<"hold.list">;
|
|
1164
|
+
readonly parameters: Schema.Struct<{
|
|
1165
|
+
readonly afterCursor: Schema.optional<Schema.String>;
|
|
1166
|
+
readonly limit: Schema.Int;
|
|
1167
|
+
readonly state: Schema.optional<Schema.Literals<readonly ["active", "released"]>>;
|
|
1168
|
+
}>;
|
|
1169
|
+
}>, Schema.Struct<{
|
|
1170
|
+
readonly method: Schema.Literal<"hold.place.preview">;
|
|
1171
|
+
readonly parameters: Schema.Struct<{
|
|
1172
|
+
commandId: Schema.String;
|
|
1173
|
+
reason: Schema.Trim;
|
|
1174
|
+
running: Schema.Literals<readonly ["keep", "stop"]>;
|
|
1175
|
+
targets: Schema.$Array<Schema.Struct<{
|
|
1176
|
+
readonly id: Schema.String;
|
|
1177
|
+
readonly kind: Schema.Literals<readonly ["connection", "project"]>;
|
|
1178
|
+
}>>;
|
|
1179
|
+
}>;
|
|
1180
|
+
}>, Schema.Struct<{
|
|
1181
|
+
readonly method: Schema.Literal<"hold.place.confirm">;
|
|
1182
|
+
readonly parameters: Schema.Struct<{
|
|
1183
|
+
readonly commandId: Schema.String;
|
|
1184
|
+
readonly reason: Schema.Trim;
|
|
1185
|
+
readonly running: Schema.Literals<readonly ["keep", "stop"]>;
|
|
1186
|
+
readonly targets: Schema.$Array<Schema.Struct<{
|
|
1187
|
+
readonly id: Schema.String;
|
|
1188
|
+
readonly kind: Schema.Literals<readonly ["connection", "project"]>;
|
|
1189
|
+
}>>;
|
|
1190
|
+
readonly inputDigest: Schema.String;
|
|
1191
|
+
readonly proof: Schema.String;
|
|
1192
|
+
}>;
|
|
1193
|
+
}>, Schema.Struct<{
|
|
1194
|
+
readonly method: Schema.Literal<"hold.release.preview">;
|
|
1195
|
+
readonly parameters: Schema.Struct<{
|
|
1196
|
+
commandId: Schema.String;
|
|
1197
|
+
expectedRevision: Schema.String;
|
|
1198
|
+
holdId: Schema.String;
|
|
1199
|
+
}>;
|
|
1200
|
+
}>, Schema.Struct<{
|
|
1201
|
+
readonly method: Schema.Literal<"hold.release.confirm">;
|
|
1202
|
+
readonly parameters: Schema.Struct<{
|
|
1203
|
+
readonly commandId: Schema.String;
|
|
1204
|
+
readonly expectedRevision: Schema.String;
|
|
1205
|
+
readonly holdId: Schema.String;
|
|
1206
|
+
readonly inputDigest: Schema.String;
|
|
1207
|
+
readonly proof: Schema.String;
|
|
1208
|
+
}>;
|
|
1209
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
1210
|
+
readonly method: Schema.Literal<"discovery.sessions.list">;
|
|
1211
|
+
readonly parameters: Schema.Struct<{
|
|
1212
|
+
readonly cursor: Schema.optional<Schema.String>;
|
|
1213
|
+
readonly includeContentFields: Schema.optional<Schema.Boolean>;
|
|
1214
|
+
readonly limit: Schema.Int;
|
|
1215
|
+
readonly roots: Schema.optional<Schema.$Array<Schema.String>>;
|
|
1216
|
+
readonly sinceDays: Schema.optional<Schema.Int>;
|
|
1217
|
+
readonly sources: Schema.$Array<Schema.Literals<readonly ["claude", "codex"]>>;
|
|
1218
|
+
}>;
|
|
1219
|
+
}>, Schema.Struct<{
|
|
1220
|
+
readonly method: Schema.Literal<"session.history.read">;
|
|
1221
|
+
readonly parameters: Schema.Struct<{
|
|
1222
|
+
readonly limit: Schema.Int;
|
|
1223
|
+
readonly offset: Schema.optional<Schema.Int>;
|
|
1224
|
+
readonly target: Schema.Union<readonly [Schema.Struct<{
|
|
1225
|
+
readonly kind: Schema.Literal<"session">;
|
|
1226
|
+
readonly sessionId: Schema.String;
|
|
1227
|
+
}>, Schema.Struct<{
|
|
1228
|
+
readonly executor: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
|
|
1229
|
+
readonly kind: Schema.Literal<"native">;
|
|
1230
|
+
readonly nativeId: Schema.String;
|
|
1231
|
+
}>]>;
|
|
1232
|
+
}>;
|
|
1233
|
+
}>, Schema.Struct<{
|
|
1234
|
+
readonly method: Schema.Literal<"session.adopt.preview">;
|
|
1235
|
+
readonly parameters: Schema.Struct<{
|
|
1236
|
+
readonly attestEnded: Schema.optional<Schema.Literal<true>>;
|
|
1237
|
+
readonly commandId: Schema.String;
|
|
1238
|
+
readonly executor: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
|
|
1239
|
+
readonly nativeId: Schema.String;
|
|
1240
|
+
readonly workspaceId: Schema.String;
|
|
1241
|
+
}>;
|
|
1242
|
+
}>, Schema.Struct<{
|
|
1243
|
+
readonly method: Schema.Literal<"session.adopt.confirm">;
|
|
1244
|
+
readonly parameters: Schema.Struct<{
|
|
1245
|
+
readonly previewId: Schema.String;
|
|
1246
|
+
}>;
|
|
1247
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
1248
|
+
readonly method: Schema.Literal<"terminal.create">;
|
|
1249
|
+
readonly parameters: Schema.Union<readonly [Schema.Struct<{
|
|
1250
|
+
readonly commandId: Schema.String;
|
|
1251
|
+
readonly expectedRevision: Schema.Literal<"0">;
|
|
1252
|
+
readonly workspaceId: Schema.String;
|
|
1253
|
+
}>, Schema.Struct<{
|
|
1254
|
+
readonly columns: Schema.Int;
|
|
1255
|
+
readonly rows: Schema.Int;
|
|
1256
|
+
readonly commandId: Schema.String;
|
|
1257
|
+
readonly expectedRevision: Schema.Literal<"0">;
|
|
1258
|
+
readonly mode: Schema.Literal<"interactive">;
|
|
1259
|
+
readonly workspaceId: Schema.String;
|
|
1260
|
+
}>]>;
|
|
1261
|
+
}>, Schema.Struct<{
|
|
1262
|
+
readonly method: Schema.Literal<"terminal.list">;
|
|
1263
|
+
readonly parameters: Schema.Struct<{
|
|
1264
|
+
readonly afterCursor: Schema.String;
|
|
1265
|
+
readonly limit: Schema.Int;
|
|
1266
|
+
readonly workspaceId: Schema.String;
|
|
1267
|
+
}>;
|
|
1268
|
+
}>, Schema.Struct<{
|
|
1269
|
+
readonly method: Schema.Literal<"terminal.show">;
|
|
1270
|
+
readonly parameters: Schema.Struct<{
|
|
1271
|
+
readonly terminalId: Schema.String;
|
|
1272
|
+
}>;
|
|
1273
|
+
}>, Schema.Struct<{
|
|
1274
|
+
readonly method: Schema.Literal<"terminal.events.list">;
|
|
1275
|
+
readonly parameters: Schema.Struct<{
|
|
1276
|
+
readonly afterTerminalCursor: Schema.String;
|
|
1277
|
+
readonly limit: Schema.Int;
|
|
1278
|
+
readonly terminalId: Schema.String;
|
|
1279
|
+
}>;
|
|
1280
|
+
}>, Schema.Struct<{
|
|
1281
|
+
readonly method: Schema.Literal<"terminal.read">;
|
|
1282
|
+
readonly parameters: Schema.Struct<{
|
|
1283
|
+
readonly afterChunkCursor: Schema.String;
|
|
1284
|
+
readonly limit: Schema.Int;
|
|
1285
|
+
readonly terminalId: Schema.String;
|
|
1286
|
+
}>;
|
|
1287
|
+
}>, Schema.Union<readonly [Schema.Struct<{
|
|
1288
|
+
readonly method: Schema.Literal<"terminal.observer.attach">;
|
|
1289
|
+
readonly parameters: Schema.Struct<{
|
|
1290
|
+
readonly afterCursor: Schema.optional<Schema.String>;
|
|
1291
|
+
readonly attachId: Schema.String;
|
|
1292
|
+
readonly commandId: Schema.String;
|
|
1293
|
+
readonly requestedLeaseDurationMs: Schema.Int;
|
|
1294
|
+
readonly terminalId: Schema.String;
|
|
1295
|
+
}>;
|
|
1296
|
+
}>, Schema.Struct<{
|
|
1297
|
+
readonly method: Schema.Literal<"terminal.observer.check">;
|
|
1298
|
+
readonly parameters: Schema.Struct<{
|
|
1299
|
+
readonly afterCursor: Schema.String;
|
|
1300
|
+
readonly limit: Schema.Int;
|
|
1301
|
+
readonly observerId: Schema.String;
|
|
1302
|
+
readonly terminalId: Schema.String;
|
|
1303
|
+
readonly waitMilliseconds: Schema.Int;
|
|
1304
|
+
}>;
|
|
1305
|
+
}>, Schema.Struct<{
|
|
1306
|
+
readonly method: Schema.Literal<"terminal.observer.detach">;
|
|
1307
|
+
readonly parameters: Schema.Struct<{
|
|
1308
|
+
readonly observerId: Schema.String;
|
|
1309
|
+
readonly terminalId: Schema.String;
|
|
1310
|
+
}>;
|
|
1311
|
+
}>, Schema.Struct<{
|
|
1312
|
+
readonly method: Schema.Literal<"terminal.observer.resync">;
|
|
1313
|
+
readonly parameters: Schema.Struct<{
|
|
1314
|
+
readonly terminalId: Schema.String;
|
|
1315
|
+
}>;
|
|
1316
|
+
}>, Schema.Struct<{
|
|
1317
|
+
readonly method: Schema.Literal<"terminal.controller.request">;
|
|
1318
|
+
readonly parameters: Schema.Struct<{
|
|
1319
|
+
readonly commandId: Schema.String;
|
|
1320
|
+
readonly terminalId: Schema.String;
|
|
1321
|
+
readonly requestedLeaseDurationMs: Schema.Int;
|
|
1322
|
+
readonly terminalGeneration: Schema.Int;
|
|
1323
|
+
}>;
|
|
1324
|
+
}>, Schema.Struct<{
|
|
1325
|
+
readonly method: Schema.Literal<"terminal.controller.request.show">;
|
|
1326
|
+
readonly parameters: Schema.Struct<{
|
|
1327
|
+
readonly controllerRequestId: Schema.String;
|
|
1328
|
+
readonly terminalGeneration: Schema.Int;
|
|
1329
|
+
readonly terminalId: Schema.String;
|
|
1330
|
+
}>;
|
|
1331
|
+
}>, Schema.Struct<{
|
|
1332
|
+
readonly method: Schema.Literal<"terminal.controller.acquire">;
|
|
1333
|
+
readonly parameters: Schema.Struct<{
|
|
1334
|
+
readonly commandId: Schema.String;
|
|
1335
|
+
readonly terminalId: Schema.String;
|
|
1336
|
+
readonly expectedTerminalRevision: Schema.String;
|
|
1337
|
+
readonly controllerRequestId: Schema.String;
|
|
1338
|
+
readonly terminalGeneration: Schema.Int;
|
|
1339
|
+
}>;
|
|
1340
|
+
}>, Schema.Struct<{
|
|
1341
|
+
readonly method: Schema.Literal<"terminal.controller.renew">;
|
|
1342
|
+
readonly parameters: Schema.Struct<{
|
|
1343
|
+
readonly commandId: Schema.String;
|
|
1344
|
+
readonly terminalId: Schema.String;
|
|
1345
|
+
readonly expectedTerminalRevision: Schema.String;
|
|
1346
|
+
readonly controller: Schema.Struct<{
|
|
1347
|
+
readonly epoch: Schema.String;
|
|
1348
|
+
readonly expiresAt: Schema.String;
|
|
1349
|
+
readonly id: Schema.String;
|
|
1350
|
+
readonly revision: Schema.String;
|
|
1351
|
+
readonly terminalGeneration: Schema.Int;
|
|
1352
|
+
readonly terminalId: Schema.String;
|
|
1353
|
+
}>;
|
|
1354
|
+
readonly requestedLeaseDurationMs: Schema.Int;
|
|
1355
|
+
}>;
|
|
1356
|
+
}>, Schema.Struct<{
|
|
1357
|
+
readonly method: Schema.Literal<"terminal.controller.release">;
|
|
1358
|
+
readonly parameters: Schema.Struct<{
|
|
1359
|
+
commandId: Schema.String;
|
|
1360
|
+
terminalId: Schema.String;
|
|
1361
|
+
expectedTerminalRevision: Schema.String;
|
|
1362
|
+
controller: Schema.Struct<{
|
|
1363
|
+
readonly epoch: Schema.String;
|
|
1364
|
+
readonly expiresAt: Schema.String;
|
|
1365
|
+
readonly id: Schema.String;
|
|
1366
|
+
readonly revision: Schema.String;
|
|
1367
|
+
readonly terminalGeneration: Schema.Int;
|
|
1368
|
+
readonly terminalId: Schema.String;
|
|
1369
|
+
}>;
|
|
1370
|
+
}>;
|
|
1371
|
+
}>, Schema.Struct<{
|
|
1372
|
+
readonly method: Schema.Literal<"terminal.input.write">;
|
|
1373
|
+
readonly parameters: Schema.Struct<{
|
|
1374
|
+
readonly commandId: Schema.String;
|
|
1375
|
+
readonly terminalId: Schema.String;
|
|
1376
|
+
readonly expectedTerminalRevision: Schema.String;
|
|
1377
|
+
readonly controller: Schema.Struct<{
|
|
1378
|
+
readonly epoch: Schema.String;
|
|
1379
|
+
readonly expiresAt: Schema.String;
|
|
1380
|
+
readonly id: Schema.String;
|
|
1381
|
+
readonly revision: Schema.String;
|
|
1382
|
+
readonly terminalGeneration: Schema.Int;
|
|
1383
|
+
readonly terminalId: Schema.String;
|
|
1384
|
+
}>;
|
|
1385
|
+
readonly bytesBase64: Schema.String;
|
|
1386
|
+
readonly inputId: Schema.String;
|
|
1387
|
+
readonly inputSequence: Schema.Int;
|
|
1388
|
+
}>;
|
|
1389
|
+
}>, Schema.Struct<{
|
|
1390
|
+
readonly method: Schema.Literal<"terminal.session.resize">;
|
|
1391
|
+
readonly parameters: Schema.Struct<{
|
|
1392
|
+
readonly columns: Schema.Int;
|
|
1393
|
+
readonly rows: Schema.Int;
|
|
1394
|
+
readonly commandId: Schema.String;
|
|
1395
|
+
readonly terminalId: Schema.String;
|
|
1396
|
+
readonly expectedTerminalRevision: Schema.String;
|
|
1397
|
+
readonly controller: Schema.Struct<{
|
|
1398
|
+
readonly epoch: Schema.String;
|
|
1399
|
+
readonly expiresAt: Schema.String;
|
|
1400
|
+
readonly id: Schema.String;
|
|
1401
|
+
readonly revision: Schema.String;
|
|
1402
|
+
readonly terminalGeneration: Schema.Int;
|
|
1403
|
+
readonly terminalId: Schema.String;
|
|
1404
|
+
}>;
|
|
1405
|
+
}>;
|
|
1406
|
+
}>, Schema.Struct<{
|
|
1407
|
+
readonly method: Schema.Literal<"terminal.session.signal">;
|
|
1408
|
+
readonly parameters: Schema.Struct<{
|
|
1409
|
+
readonly commandId: Schema.String;
|
|
1410
|
+
readonly terminalId: Schema.String;
|
|
1411
|
+
readonly expectedTerminalRevision: Schema.String;
|
|
1412
|
+
readonly controller: Schema.Struct<{
|
|
1413
|
+
readonly epoch: Schema.String;
|
|
1414
|
+
readonly expiresAt: Schema.String;
|
|
1415
|
+
readonly id: Schema.String;
|
|
1416
|
+
readonly revision: Schema.String;
|
|
1417
|
+
readonly terminalGeneration: Schema.Int;
|
|
1418
|
+
readonly terminalId: Schema.String;
|
|
1419
|
+
}>;
|
|
1420
|
+
readonly signal: Schema.Literals<readonly ["hangup", "interrupt", "terminate"]>;
|
|
1421
|
+
}>;
|
|
1422
|
+
}>, Schema.Struct<{
|
|
1423
|
+
readonly method: Schema.Literal<"terminal.session.close">;
|
|
1424
|
+
readonly parameters: Schema.Struct<{
|
|
1425
|
+
commandId: Schema.String;
|
|
1426
|
+
terminalId: Schema.String;
|
|
1427
|
+
expectedTerminalRevision: Schema.String;
|
|
1428
|
+
controller: Schema.Struct<{
|
|
1429
|
+
readonly epoch: Schema.String;
|
|
1430
|
+
readonly expiresAt: Schema.String;
|
|
1431
|
+
readonly id: Schema.String;
|
|
1432
|
+
readonly revision: Schema.String;
|
|
1433
|
+
readonly terminalGeneration: Schema.Int;
|
|
1434
|
+
readonly terminalId: Schema.String;
|
|
1435
|
+
}>;
|
|
1436
|
+
}>;
|
|
1437
|
+
}>, Schema.Struct<{
|
|
1438
|
+
readonly method: Schema.Literal<"terminal.session.restart">;
|
|
1439
|
+
readonly parameters: Schema.Struct<{
|
|
1440
|
+
commandId: Schema.String;
|
|
1441
|
+
terminalId: Schema.String;
|
|
1442
|
+
expectedTerminalRevision: Schema.String;
|
|
1443
|
+
controller: Schema.Struct<{
|
|
1444
|
+
readonly epoch: Schema.String;
|
|
1445
|
+
readonly expiresAt: Schema.String;
|
|
1446
|
+
readonly id: Schema.String;
|
|
1447
|
+
readonly revision: Schema.String;
|
|
1448
|
+
readonly terminalGeneration: Schema.Int;
|
|
1449
|
+
readonly terminalId: Schema.String;
|
|
1450
|
+
}>;
|
|
1451
|
+
}>;
|
|
1452
|
+
}>, Schema.Struct<{
|
|
1453
|
+
readonly method: Schema.Literal<"terminal.session.delete">;
|
|
1454
|
+
readonly parameters: Schema.Struct<{
|
|
1455
|
+
readonly commandId: Schema.String;
|
|
1456
|
+
readonly terminalId: Schema.String;
|
|
1457
|
+
readonly expectedTerminalRevision: Schema.String;
|
|
1458
|
+
readonly terminalGeneration: Schema.Int;
|
|
1459
|
+
}>;
|
|
1460
|
+
}>, Schema.Struct<{
|
|
1461
|
+
readonly method: Schema.Literal<"terminal.mutation.reconcile">;
|
|
1462
|
+
readonly parameters: Schema.Union<readonly [Schema.Struct<{
|
|
1463
|
+
readonly commandId: Schema.String;
|
|
1464
|
+
readonly terminalId: Schema.String;
|
|
1465
|
+
readonly mutationSequence: Schema.Int;
|
|
1466
|
+
readonly operation: Schema.Literals<readonly ["close", "controller.acquire", "controller.release", "controller.renew", "controller.request", "create", "delete", "resize", "signal", "write"]>;
|
|
1467
|
+
readonly terminalGeneration: Schema.Int;
|
|
1468
|
+
}>, Schema.Struct<{
|
|
1469
|
+
readonly commandId: Schema.String;
|
|
1470
|
+
readonly terminalId: Schema.String;
|
|
1471
|
+
readonly mutationSequence: Schema.Int;
|
|
1472
|
+
readonly operation: Schema.Literal<"restart">;
|
|
1473
|
+
readonly plannedTargetTerminalGeneration: Schema.Int;
|
|
1474
|
+
readonly sourceTerminalGeneration: Schema.Int;
|
|
1475
|
+
}>]>;
|
|
1476
|
+
}>]>]>, Schema.Union<readonly [Schema.Struct<{
|
|
1477
|
+
readonly method: Schema.Literal<"turn.interrupt">;
|
|
1478
|
+
readonly parameters: Schema.Struct<{
|
|
1479
|
+
readonly commandId: Schema.String;
|
|
1480
|
+
readonly expectedRevision: Schema.String;
|
|
1481
|
+
readonly turnId: Schema.String;
|
|
1482
|
+
}>;
|
|
1483
|
+
}>, Schema.Struct<{
|
|
1484
|
+
readonly method: Schema.Literal<"turn.send">;
|
|
1485
|
+
readonly parameters: Schema.Struct<{
|
|
1486
|
+
readonly commandId: Schema.String;
|
|
1487
|
+
readonly expectedRevision: Schema.String;
|
|
1488
|
+
readonly input: Schema.Struct<{
|
|
1489
|
+
readonly text: Schema.String;
|
|
1490
|
+
readonly type: Schema.Literal<"text">;
|
|
1491
|
+
}>;
|
|
1492
|
+
readonly sessionId: Schema.String;
|
|
1493
|
+
}>;
|
|
1494
|
+
}>, Schema.Struct<{
|
|
1495
|
+
readonly method: Schema.Literal<"turn.show">;
|
|
1496
|
+
readonly parameters: Schema.Struct<{
|
|
1497
|
+
readonly turnId: Schema.String;
|
|
1498
|
+
}>;
|
|
1499
|
+
}>, Schema.Struct<{
|
|
1500
|
+
readonly method: Schema.Literal<"turn.wait">;
|
|
1501
|
+
readonly parameters: Schema.Struct<{
|
|
1502
|
+
readonly mode: Schema.Literals<readonly ["all", "any"]>;
|
|
1503
|
+
readonly turnIds: Schema.$Array<Schema.String>;
|
|
1504
|
+
readonly waitMilliseconds: Schema.Int;
|
|
1505
|
+
}>;
|
|
1506
|
+
}>]>, Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
|
|
1507
|
+
readonly method: Schema.Literal<"voice.managed-turn.preview">;
|
|
1508
|
+
readonly parameters: Schema.Struct<{
|
|
1509
|
+
expectedSessionRevision: Schema.String;
|
|
1510
|
+
projectId: Schema.String;
|
|
1511
|
+
scopeId: Schema.String;
|
|
1512
|
+
sessionId: Schema.String;
|
|
1513
|
+
systemPromptSha256: Schema.String;
|
|
1514
|
+
toolCallId: Schema.String;
|
|
1515
|
+
utterance: Schema.String;
|
|
1516
|
+
}>;
|
|
1517
|
+
}>, Schema.Struct<{
|
|
1518
|
+
readonly method: Schema.Literal<"voice.managed-turn.confirm">;
|
|
1519
|
+
readonly parameters: Schema.Struct<{
|
|
1520
|
+
readonly expectedSessionRevision: Schema.String;
|
|
1521
|
+
readonly projectId: Schema.String;
|
|
1522
|
+
readonly scopeId: Schema.String;
|
|
1523
|
+
readonly sessionId: Schema.String;
|
|
1524
|
+
readonly systemPromptSha256: Schema.String;
|
|
1525
|
+
readonly toolCallId: Schema.String;
|
|
1526
|
+
readonly utterance: Schema.String;
|
|
1527
|
+
readonly confirmation: Schema.Struct<{
|
|
1528
|
+
readonly action: Schema.Literal<"turn.send">;
|
|
1529
|
+
readonly commandId: Schema.String;
|
|
1530
|
+
readonly inputDigest: Schema.String;
|
|
1531
|
+
readonly proof: Schema.String;
|
|
1532
|
+
readonly sessionId: Schema.String;
|
|
1533
|
+
}>;
|
|
1534
|
+
}>;
|
|
1535
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
1536
|
+
readonly method: Schema.Literal<"voice.orchestrator.context.show">;
|
|
1537
|
+
readonly parameters: Schema.declare<Readonly<Record<string, never>>, Readonly<Record<string, never>>>;
|
|
1538
|
+
}>, Schema.Struct<{
|
|
1539
|
+
readonly method: Schema.Literal<"voice.orchestrator.tool.call">;
|
|
1540
|
+
readonly parameters: Schema.Struct<{
|
|
1541
|
+
readonly call: Schema.Unknown;
|
|
1542
|
+
readonly scopeId: Schema.String;
|
|
1543
|
+
}>;
|
|
1544
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
1545
|
+
readonly method: Schema.Literal<"voice.pi.relay.preview">;
|
|
1546
|
+
readonly parameters: Schema.Struct<{
|
|
1547
|
+
body: Schema.String;
|
|
1548
|
+
commandId: Schema.String;
|
|
1549
|
+
expectedContextRevision: Schema.String;
|
|
1550
|
+
expectedWorkspaceRevision: Schema.String;
|
|
1551
|
+
workspaceId: Schema.String;
|
|
1552
|
+
}>;
|
|
1553
|
+
}>, Schema.Struct<{
|
|
1554
|
+
readonly method: Schema.Literal<"voice.pi.relay">;
|
|
1555
|
+
readonly parameters: Schema.Struct<{
|
|
1556
|
+
readonly body: Schema.String;
|
|
1557
|
+
readonly commandId: Schema.String;
|
|
1558
|
+
readonly expectedContextRevision: Schema.String;
|
|
1559
|
+
readonly expectedWorkspaceRevision: Schema.String;
|
|
1560
|
+
readonly workspaceId: Schema.String;
|
|
1561
|
+
readonly proof: Schema.String;
|
|
1562
|
+
readonly sessionId: Schema.String;
|
|
1563
|
+
}>;
|
|
1564
|
+
}>, Schema.Struct<{
|
|
1565
|
+
readonly method: Schema.Literal<"voice.pi.relay.reconcile">;
|
|
1566
|
+
readonly parameters: Schema.Struct<{
|
|
1567
|
+
readonly commandId: Schema.String;
|
|
1568
|
+
}>;
|
|
1569
|
+
}>]>]>]>;
|
|
1570
|
+
export declare const localNodeRequestEnvelopeEffectSchema: Schema.Struct<{
|
|
1571
|
+
readonly correlationId: Schema.optional<Schema.String>;
|
|
1572
|
+
readonly kind: Schema.Literal<"request">;
|
|
1573
|
+
readonly messageId: Schema.String;
|
|
1574
|
+
readonly payload: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
|
|
1575
|
+
readonly method: Schema.Literal<"presentation.session-list.show">;
|
|
1576
|
+
readonly parameters: Schema.Struct<{
|
|
1577
|
+
readonly catalogDigest: Schema.Literal<"sha256:59860e3f18670e2692319fcc23b8c65cb38177aef85d8cfcdfd532d64d327824">;
|
|
1578
|
+
readonly catalogVersion: Schema.Literal<"maia.presentation.portfolio/v3">;
|
|
1579
|
+
readonly generation: Schema.Int;
|
|
1580
|
+
readonly target: Schema.Struct<{
|
|
1581
|
+
readonly containerId: Schema.String;
|
|
1582
|
+
readonly containerRevision: Schema.String;
|
|
1583
|
+
readonly projectId: Schema.String;
|
|
1584
|
+
readonly projectRevision: Schema.String;
|
|
1585
|
+
readonly membershipCursor: Schema.optional<Schema.String>;
|
|
1586
|
+
}>;
|
|
1587
|
+
readonly viewId: Schema.String;
|
|
1588
|
+
readonly page: Schema.Struct<{
|
|
1589
|
+
readonly afterCursor: Schema.optional<Schema.String>;
|
|
1590
|
+
readonly attention: Schema.optional<Schema.Boolean>;
|
|
1591
|
+
readonly projectId: Schema.optional<Schema.String>;
|
|
1592
|
+
readonly states: Schema.optional<Schema.$Array<Schema.Literals<readonly ["idle", "starting", "running", "waiting-approval", "interrupted", "recovering", "stopping", "stopped", "failed"]>>>;
|
|
1593
|
+
readonly limit: Schema.Int;
|
|
1594
|
+
}>;
|
|
1595
|
+
}>;
|
|
1596
|
+
}>, Schema.Struct<{
|
|
1597
|
+
readonly method: Schema.Literal<"presentation.project-list.show">;
|
|
1598
|
+
readonly parameters: Schema.Struct<{
|
|
1599
|
+
readonly catalogDigest: Schema.Literal<"sha256:59860e3f18670e2692319fcc23b8c65cb38177aef85d8cfcdfd532d64d327824">;
|
|
1600
|
+
readonly catalogVersion: Schema.Literal<"maia.presentation.portfolio/v3">;
|
|
1601
|
+
readonly generation: Schema.Int;
|
|
1602
|
+
readonly viewId: Schema.String;
|
|
1603
|
+
readonly page: Schema.Struct<{
|
|
1604
|
+
readonly afterCursor: Schema.optional<Schema.String>;
|
|
1605
|
+
readonly containerId: Schema.String;
|
|
1606
|
+
readonly limit: Schema.Int;
|
|
1607
|
+
}>;
|
|
1608
|
+
}>;
|
|
1609
|
+
}>, Schema.Struct<{
|
|
1610
|
+
readonly method: Schema.Literal<"presentation.catalog.show">;
|
|
1611
|
+
readonly parameters: Schema.$Record<Schema.String, Schema.Never>;
|
|
1612
|
+
}>, Schema.Struct<{
|
|
1613
|
+
readonly method: Schema.Literal<"presentation.workspace-directory.show">;
|
|
1614
|
+
readonly parameters: Schema.Struct<{
|
|
1615
|
+
readonly catalogDigest: Schema.Literal<"sha256:59860e3f18670e2692319fcc23b8c65cb38177aef85d8cfcdfd532d64d327824">;
|
|
1616
|
+
readonly catalogVersion: Schema.Literal<"maia.presentation.portfolio/v3">;
|
|
1617
|
+
readonly generation: Schema.Int;
|
|
1618
|
+
readonly page: Schema.Struct<{
|
|
1619
|
+
readonly afterCursor: Schema.optional<Schema.String>;
|
|
1620
|
+
readonly limit: Schema.Int;
|
|
1621
|
+
}>;
|
|
1622
|
+
readonly viewId: Schema.String;
|
|
1623
|
+
}>;
|
|
1624
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
1625
|
+
readonly method: Schema.Literal<"execution.catalog.get">;
|
|
1626
|
+
readonly parameters: Schema.$Record<Schema.String, Schema.Never>;
|
|
1627
|
+
}>, Schema.Struct<{
|
|
1628
|
+
readonly method: Schema.Literal<"execution.command.run">;
|
|
1629
|
+
readonly parameters: Schema.Struct<{
|
|
1630
|
+
readonly argv: Schema.$Array<Schema.String>;
|
|
1631
|
+
readonly commandId: Schema.String;
|
|
1632
|
+
readonly executable: Schema.String;
|
|
1633
|
+
readonly expectedRevision: Schema.String;
|
|
1634
|
+
readonly instanceId: Schema.String;
|
|
1635
|
+
}>;
|
|
1636
|
+
}>, Schema.Struct<{
|
|
1637
|
+
readonly method: Schema.Literal<"execution.file.read">;
|
|
1638
|
+
readonly parameters: Schema.Struct<{
|
|
1639
|
+
readonly commandId: Schema.String;
|
|
1640
|
+
readonly expectedRevision: Schema.String;
|
|
1641
|
+
readonly instanceId: Schema.String;
|
|
1642
|
+
readonly relativePath: Schema.String;
|
|
1643
|
+
}>;
|
|
1644
|
+
}>, Schema.Struct<{
|
|
1645
|
+
readonly method: Schema.Literal<"execution.placement.create">;
|
|
1646
|
+
readonly parameters: Schema.Union<readonly [Schema.Struct<{
|
|
1647
|
+
readonly commandId: Schema.String;
|
|
1648
|
+
readonly expectedFencingEpoch: Schema.Literal<"0">;
|
|
1649
|
+
readonly expectedInstanceRevision: Schema.String;
|
|
1650
|
+
readonly expectedPlacementRevision: Schema.Literal<"0">;
|
|
1651
|
+
readonly expectedWorkspaceRevision: Schema.String;
|
|
1652
|
+
readonly instanceId: Schema.String;
|
|
1653
|
+
readonly expectedSessionRevision: Schema.String;
|
|
1654
|
+
readonly sessionId: Schema.String;
|
|
1655
|
+
}>, Schema.Struct<{
|
|
1656
|
+
readonly commandId: Schema.String;
|
|
1657
|
+
readonly expectedFencingEpoch: Schema.Literal<"0">;
|
|
1658
|
+
readonly expectedInstanceRevision: Schema.String;
|
|
1659
|
+
readonly expectedPlacementRevision: Schema.Literal<"0">;
|
|
1660
|
+
readonly expectedWorkspaceRevision: Schema.String;
|
|
1661
|
+
readonly instanceId: Schema.String;
|
|
1662
|
+
readonly attemptId: Schema.String;
|
|
1663
|
+
readonly expectedAttemptRevision: Schema.String;
|
|
1664
|
+
readonly runId: Schema.String;
|
|
1665
|
+
readonly taskId: Schema.String;
|
|
1666
|
+
}>]>;
|
|
1667
|
+
}>, Schema.Struct<{
|
|
1668
|
+
readonly method: Schema.Literal<"execution.placement.show">;
|
|
1669
|
+
readonly parameters: Schema.Union<readonly [Schema.Struct<{
|
|
1670
|
+
readonly kind: Schema.Literal<"session">;
|
|
1671
|
+
readonly ownerId: Schema.String;
|
|
1672
|
+
}>, Schema.Struct<{
|
|
1673
|
+
readonly kind: Schema.Literal<"attempt">;
|
|
1674
|
+
readonly ownerId: Schema.String;
|
|
1675
|
+
}>]>;
|
|
1676
|
+
}>, Schema.Struct<{
|
|
1677
|
+
readonly method: Schema.Literal<"workspace.execution.show">;
|
|
1678
|
+
readonly parameters: Schema.Struct<{
|
|
1679
|
+
readonly workspaceId: Schema.String;
|
|
1680
|
+
}>;
|
|
1681
|
+
}>, Schema.Struct<{
|
|
1682
|
+
readonly method: Schema.Literal<"workspace.execution.configure">;
|
|
1683
|
+
readonly parameters: Schema.Union<readonly [Schema.Struct<{
|
|
1684
|
+
readonly commandId: Schema.String;
|
|
1685
|
+
readonly expectedRevision: Schema.String;
|
|
1686
|
+
readonly workspaceId: Schema.String;
|
|
1687
|
+
readonly operation: Schema.Literal<"clear">;
|
|
1688
|
+
}>, Schema.Struct<{
|
|
1689
|
+
readonly commandId: Schema.String;
|
|
1690
|
+
readonly expectedRevision: Schema.String;
|
|
1691
|
+
readonly workspaceId: Schema.String;
|
|
1692
|
+
readonly operation: Schema.Literal<"set">;
|
|
1693
|
+
readonly selection: Schema.Union<readonly [Schema.Struct<{
|
|
1694
|
+
readonly id: Schema.String;
|
|
1695
|
+
readonly kind: Schema.Literal<"profile">;
|
|
1696
|
+
}>, Schema.Struct<{
|
|
1697
|
+
readonly id: Schema.String;
|
|
1698
|
+
readonly kind: Schema.Literal<"policy">;
|
|
1699
|
+
}>]>;
|
|
1700
|
+
}>]>;
|
|
1701
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
1702
|
+
readonly method: Schema.Literal<"execution.relocation.apply">;
|
|
1703
|
+
readonly parameters: Schema.Struct<{
|
|
1704
|
+
readonly commandId: Schema.String;
|
|
1705
|
+
readonly expectedFencingEpoch: Schema.String;
|
|
1706
|
+
readonly expectedPlacementRevision: Schema.String;
|
|
1707
|
+
readonly expectedSessionRevision: Schema.String;
|
|
1708
|
+
readonly planDigest: Schema.String;
|
|
1709
|
+
readonly planId: Schema.String;
|
|
1710
|
+
readonly sessionId: Schema.String;
|
|
1711
|
+
}>;
|
|
1712
|
+
}>, Schema.Struct<{
|
|
1713
|
+
readonly method: Schema.Literal<"execution.relocation.plan">;
|
|
1714
|
+
readonly parameters: Schema.Struct<{
|
|
1715
|
+
readonly expectedFencingEpoch: Schema.String;
|
|
1716
|
+
readonly expectedPlacementRevision: Schema.String;
|
|
1717
|
+
readonly expectedSessionRevision: Schema.String;
|
|
1718
|
+
readonly sessionId: Schema.String;
|
|
1719
|
+
readonly targetProfileId: Schema.Literal<"execution_profile_local_host">;
|
|
1720
|
+
}>;
|
|
1721
|
+
}>, Schema.Struct<{
|
|
1722
|
+
readonly method: Schema.Literal<"execution.relocation.reconcile">;
|
|
1723
|
+
readonly parameters: Schema.Struct<{
|
|
1724
|
+
readonly commandId: Schema.String;
|
|
1725
|
+
readonly expectedOperationRevision: Schema.String;
|
|
1726
|
+
readonly relocationId: Schema.String;
|
|
1727
|
+
}>;
|
|
1728
|
+
}>, Schema.Struct<{
|
|
1729
|
+
readonly method: Schema.Literal<"execution.relocation.show">;
|
|
1730
|
+
readonly parameters: Schema.Struct<{
|
|
1731
|
+
readonly relocationId: Schema.String;
|
|
1732
|
+
}>;
|
|
1733
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
1734
|
+
readonly method: Schema.Literal<"execution.worktree.create">;
|
|
1735
|
+
readonly parameters: Schema.Struct<{
|
|
1736
|
+
readonly baseRevision: Schema.String;
|
|
1737
|
+
readonly commandId: Schema.String;
|
|
1738
|
+
readonly expectedProjectRevision: Schema.String;
|
|
1739
|
+
readonly kind: Schema.Literal<"git-worktree">;
|
|
1740
|
+
readonly projectId: Schema.String;
|
|
1741
|
+
readonly repositoryId: Schema.String;
|
|
1742
|
+
}>;
|
|
1743
|
+
}>, Schema.Struct<{
|
|
1744
|
+
readonly method: Schema.Literal<"execution.worktree.import">;
|
|
1745
|
+
readonly parameters: Schema.Struct<{
|
|
1746
|
+
readonly commandId: Schema.String;
|
|
1747
|
+
readonly expectedProjectRevision: Schema.String;
|
|
1748
|
+
readonly kind: Schema.Literal<"git-worktree">;
|
|
1749
|
+
readonly projectId: Schema.String;
|
|
1750
|
+
readonly repositoryId: Schema.String;
|
|
1751
|
+
readonly rootPath: Schema.String;
|
|
1752
|
+
}>;
|
|
1753
|
+
}>, Schema.Struct<{
|
|
1754
|
+
readonly method: Schema.Literal<"execution.worktree.status">;
|
|
1755
|
+
readonly parameters: Schema.Struct<{
|
|
1756
|
+
readonly workspaceId: Schema.String;
|
|
1757
|
+
}>;
|
|
1758
|
+
}>, Schema.Struct<{
|
|
1759
|
+
readonly method: Schema.Literal<"execution.worktree.reconcile">;
|
|
1760
|
+
readonly parameters: Schema.Struct<{
|
|
1761
|
+
readonly commandId: Schema.String;
|
|
1762
|
+
readonly expectedOperationRevision: Schema.String;
|
|
1763
|
+
readonly operationId: Schema.String;
|
|
1764
|
+
}>;
|
|
1765
|
+
}>, Schema.Struct<{
|
|
1766
|
+
readonly method: Schema.Literal<"execution.worktree.remove.plan">;
|
|
1767
|
+
readonly parameters: Schema.Struct<{
|
|
1768
|
+
readonly workspaceId: Schema.String;
|
|
1769
|
+
}>;
|
|
1770
|
+
}>, Schema.Struct<{
|
|
1771
|
+
readonly method: Schema.Literal<"execution.worktree.remove.apply">;
|
|
1772
|
+
readonly parameters: Schema.Struct<{
|
|
1773
|
+
readonly commandId: Schema.String;
|
|
1774
|
+
readonly expectedWorkspaceRevision: Schema.String;
|
|
1775
|
+
readonly planDigest: Schema.String;
|
|
1776
|
+
readonly planId: Schema.String;
|
|
1777
|
+
readonly workspaceId: Schema.String;
|
|
1778
|
+
}>;
|
|
1779
|
+
}>, Schema.Struct<{
|
|
1780
|
+
readonly method: Schema.Literal<"execution.checkpoint.create">;
|
|
1781
|
+
readonly parameters: Schema.Struct<{
|
|
1782
|
+
readonly commandId: Schema.String;
|
|
1783
|
+
readonly expectedInstanceRevision: Schema.String;
|
|
1784
|
+
readonly instanceId: Schema.String;
|
|
1785
|
+
}>;
|
|
1786
|
+
}>, Schema.Struct<{
|
|
1787
|
+
readonly method: Schema.Literal<"execution.checkpoint.show">;
|
|
1788
|
+
readonly parameters: Schema.Struct<{
|
|
1789
|
+
readonly checkpointId: Schema.String;
|
|
1790
|
+
}>;
|
|
1791
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
1792
|
+
readonly method: Schema.Literal<"integration.plan.codex">;
|
|
1793
|
+
readonly parameters: Schema.Struct<{
|
|
1794
|
+
readonly integration: Schema.Literal<"codex">;
|
|
1795
|
+
}>;
|
|
1796
|
+
}>, Schema.Struct<{
|
|
1797
|
+
readonly method: Schema.Literal<"integration.apply.codex">;
|
|
1798
|
+
readonly parameters: Schema.Struct<{
|
|
1799
|
+
readonly commandId: Schema.String;
|
|
1800
|
+
readonly planId: Schema.String;
|
|
1801
|
+
}>;
|
|
1802
|
+
}>, Schema.Struct<{
|
|
1803
|
+
readonly method: Schema.Literal<"integration.status.codex">;
|
|
1804
|
+
readonly parameters: Schema.Struct<{
|
|
1805
|
+
readonly integration: Schema.Literal<"codex">;
|
|
1806
|
+
}>;
|
|
1807
|
+
}>, Schema.Struct<{
|
|
1808
|
+
readonly method: Schema.Literal<"integration.remove.codex">;
|
|
1809
|
+
readonly parameters: Schema.Struct<{
|
|
1810
|
+
readonly commandId: Schema.String;
|
|
1811
|
+
readonly integration: Schema.Literal<"codex">;
|
|
1812
|
+
}>;
|
|
1813
|
+
}>, Schema.Struct<{
|
|
1814
|
+
readonly method: Schema.Literal<"integration.plan.pi-rpc">;
|
|
1815
|
+
readonly parameters: Schema.Struct<{
|
|
1816
|
+
readonly integration: Schema.Literal<"pi-rpc">;
|
|
1817
|
+
}>;
|
|
1818
|
+
}>, Schema.Struct<{
|
|
1819
|
+
readonly method: Schema.Literal<"integration.apply.pi-rpc">;
|
|
1820
|
+
readonly parameters: Schema.Struct<{
|
|
1821
|
+
readonly commandId: Schema.String;
|
|
1822
|
+
readonly planId: Schema.String;
|
|
1823
|
+
}>;
|
|
1824
|
+
}>, Schema.Struct<{
|
|
1825
|
+
readonly method: Schema.Literal<"integration.status.pi-rpc">;
|
|
1826
|
+
readonly parameters: Schema.Struct<{
|
|
1827
|
+
readonly integration: Schema.Literal<"pi-rpc">;
|
|
1828
|
+
}>;
|
|
1829
|
+
}>, Schema.Struct<{
|
|
1830
|
+
readonly method: Schema.Literal<"integration.remove.pi-rpc">;
|
|
1831
|
+
readonly parameters: Schema.Struct<{
|
|
1832
|
+
readonly commandId: Schema.String;
|
|
1833
|
+
readonly integration: Schema.Literal<"pi-rpc">;
|
|
1834
|
+
}>;
|
|
1835
|
+
}>, Schema.Struct<{
|
|
1836
|
+
readonly method: Schema.Literal<"integration.plan.claude-code">;
|
|
1837
|
+
readonly parameters: Schema.Struct<{
|
|
1838
|
+
readonly integration: Schema.Literal<"claude-code">;
|
|
1839
|
+
}>;
|
|
1840
|
+
}>, Schema.Struct<{
|
|
1841
|
+
readonly method: Schema.Literal<"integration.apply.claude-code">;
|
|
1842
|
+
readonly parameters: Schema.Struct<{
|
|
1843
|
+
readonly commandId: Schema.String;
|
|
1844
|
+
readonly planId: Schema.String;
|
|
1845
|
+
}>;
|
|
1846
|
+
}>, Schema.Struct<{
|
|
1847
|
+
readonly method: Schema.Literal<"integration.status.claude-code">;
|
|
1848
|
+
readonly parameters: Schema.Struct<{
|
|
1849
|
+
readonly integration: Schema.Literal<"claude-code">;
|
|
1850
|
+
}>;
|
|
1851
|
+
}>, Schema.Struct<{
|
|
1852
|
+
readonly method: Schema.Literal<"integration.remove.claude-code">;
|
|
1853
|
+
readonly parameters: Schema.Struct<{
|
|
1854
|
+
readonly commandId: Schema.String;
|
|
1855
|
+
readonly integration: Schema.Literal<"claude-code">;
|
|
1856
|
+
}>;
|
|
1857
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
1858
|
+
readonly method: Schema.Literal<"interaction.cancel">;
|
|
1859
|
+
readonly parameters: Schema.Struct<{
|
|
1860
|
+
commandId: Schema.String;
|
|
1861
|
+
expectedRevision: Schema.String;
|
|
1862
|
+
interactionId: Schema.String;
|
|
1863
|
+
}>;
|
|
1864
|
+
}>, Schema.Struct<{
|
|
1865
|
+
readonly method: Schema.Literal<"interaction.create">;
|
|
1866
|
+
readonly parameters: Schema.Union<readonly [Schema.Struct<{
|
|
1867
|
+
readonly body: Schema.String;
|
|
1868
|
+
readonly commandId: Schema.String;
|
|
1869
|
+
readonly expectedSessionRevision: Schema.String;
|
|
1870
|
+
readonly expiresAt: Schema.optional<Schema.String>;
|
|
1871
|
+
readonly origin: Schema.Struct<{
|
|
1872
|
+
readonly kind: Schema.Literal<"external-cli">;
|
|
1873
|
+
}>;
|
|
1874
|
+
readonly projectId: Schema.String;
|
|
1875
|
+
readonly sessionId: Schema.String;
|
|
1876
|
+
readonly subject: Schema.String;
|
|
1877
|
+
readonly kind: Schema.Literal<"question">;
|
|
1878
|
+
}>, Schema.Struct<{
|
|
1879
|
+
readonly body: Schema.String;
|
|
1880
|
+
readonly commandId: Schema.String;
|
|
1881
|
+
readonly expectedSessionRevision: Schema.String;
|
|
1882
|
+
readonly expiresAt: Schema.optional<Schema.String>;
|
|
1883
|
+
readonly origin: Schema.Struct<{
|
|
1884
|
+
readonly kind: Schema.Literal<"external-cli">;
|
|
1885
|
+
}>;
|
|
1886
|
+
readonly projectId: Schema.String;
|
|
1887
|
+
readonly sessionId: Schema.String;
|
|
1888
|
+
readonly subject: Schema.String;
|
|
1889
|
+
readonly kind: Schema.Literal<"selection">;
|
|
1890
|
+
readonly options: Schema.$Array<Schema.Struct<{
|
|
1891
|
+
readonly label: Schema.String;
|
|
1892
|
+
readonly optionId: Schema.String;
|
|
1893
|
+
}>>;
|
|
1894
|
+
}>]>;
|
|
1895
|
+
}>, Schema.Struct<{
|
|
1896
|
+
readonly method: Schema.Literal<"interaction.list">;
|
|
1897
|
+
readonly parameters: Schema.Struct<{
|
|
1898
|
+
readonly afterCursor: Schema.optional<Schema.String>;
|
|
1899
|
+
readonly lifecycleStatus: Schema.optional<Schema.Literals<readonly ["pending", "answered", "cancelled", "expired"]>>;
|
|
1900
|
+
readonly limit: Schema.Int;
|
|
1901
|
+
readonly projectId: Schema.String;
|
|
1902
|
+
readonly sessionId: Schema.String;
|
|
1903
|
+
}>;
|
|
1904
|
+
}>, Schema.Struct<{
|
|
1905
|
+
readonly method: Schema.Literal<"interaction.respond">;
|
|
1906
|
+
readonly parameters: Schema.Struct<{
|
|
1907
|
+
readonly commandId: Schema.String;
|
|
1908
|
+
readonly expectedRevision: Schema.String;
|
|
1909
|
+
readonly interactionId: Schema.String;
|
|
1910
|
+
readonly answer: Schema.Union<readonly [Schema.Struct<{
|
|
1911
|
+
readonly kind: Schema.Literal<"text">;
|
|
1912
|
+
readonly value: Schema.String;
|
|
1913
|
+
}>, Schema.Struct<{
|
|
1914
|
+
readonly kind: Schema.Literal<"selection">;
|
|
1915
|
+
readonly optionIds: Schema.$Array<Schema.String>;
|
|
1916
|
+
}>]>;
|
|
1917
|
+
}>;
|
|
1918
|
+
}>, Schema.Struct<{
|
|
1919
|
+
readonly method: Schema.Literal<"interaction.show">;
|
|
1920
|
+
readonly parameters: Schema.Struct<{
|
|
1921
|
+
readonly interactionId: Schema.String;
|
|
1922
|
+
}>;
|
|
1923
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
1924
|
+
readonly method: Schema.Literal<"approval.list">;
|
|
1925
|
+
readonly parameters: Schema.Struct<{
|
|
1926
|
+
readonly limit: Schema.Int;
|
|
1927
|
+
readonly pendingOnly: Schema.optional<Schema.Boolean>;
|
|
1928
|
+
readonly sessionId: Schema.optional<Schema.String>;
|
|
1929
|
+
}>;
|
|
1930
|
+
}>, Schema.Struct<{
|
|
1931
|
+
readonly method: Schema.Literal<"approval.respond">;
|
|
1932
|
+
readonly parameters: Schema.Struct<{
|
|
1933
|
+
readonly answer: Schema.optional<Schema.String>;
|
|
1934
|
+
readonly approvalId: Schema.String;
|
|
1935
|
+
readonly commandId: Schema.String;
|
|
1936
|
+
readonly decision: Schema.Literals<readonly ["answer", "approve", "approve_for_session", "deny"]>;
|
|
1937
|
+
readonly reason: Schema.optional<Schema.String>;
|
|
1938
|
+
readonly requestDigest: Schema.String;
|
|
1939
|
+
}>;
|
|
1940
|
+
}>, Schema.Struct<{
|
|
1941
|
+
readonly method: Schema.Literal<"approval.show">;
|
|
1942
|
+
readonly parameters: Schema.Struct<{
|
|
1943
|
+
readonly approvalId: Schema.String;
|
|
1944
|
+
}>;
|
|
1945
|
+
}>]>, Schema.Struct<{
|
|
1946
|
+
readonly method: Schema.Literal<"context.show">;
|
|
1947
|
+
readonly parameters: Schema.$Record<Schema.String, Schema.Never>;
|
|
1948
|
+
}>, Schema.Struct<{
|
|
1949
|
+
readonly method: Schema.Literal<"harness.installed.list">;
|
|
1950
|
+
readonly parameters: Schema.$Record<Schema.String, Schema.Never>;
|
|
1951
|
+
}>, Schema.Struct<{
|
|
1952
|
+
readonly method: Schema.Literal<"node.status">;
|
|
1953
|
+
readonly parameters: Schema.$Record<Schema.String, Schema.Never>;
|
|
1954
|
+
}>, Schema.Struct<{
|
|
1955
|
+
readonly method: Schema.Literal<"node.shutdown">;
|
|
1956
|
+
readonly parameters: Schema.$Record<Schema.String, Schema.Never>;
|
|
1957
|
+
}>, Schema.Struct<{
|
|
1958
|
+
readonly method: Schema.Literal<"monitor.bootstrap.create">;
|
|
1959
|
+
readonly parameters: Schema.$Record<Schema.String, Schema.Never>;
|
|
1960
|
+
}>, Schema.Struct<{
|
|
1961
|
+
readonly method: Schema.Literal<"receipt.get">;
|
|
1962
|
+
readonly parameters: Schema.Struct<{
|
|
1963
|
+
readonly commandId: Schema.String;
|
|
1964
|
+
}>;
|
|
1965
|
+
}>, Schema.Struct<{
|
|
1966
|
+
readonly method: Schema.Literal<"receipt.list">;
|
|
1967
|
+
readonly parameters: Schema.Struct<{
|
|
1968
|
+
readonly actor: Schema.optional<Schema.String>;
|
|
1969
|
+
readonly afterCursor: Schema.optional<Schema.String>;
|
|
1970
|
+
readonly limit: Schema.Int;
|
|
1971
|
+
readonly method: Schema.optional<Schema.Literals<readonly ["approval.respond", "connection.capacity.set", "connection.create", "connection.gateway.create", "connection.login.start", "connection.state.set", "container.create.confirm", "container.rename.confirm", "execution.checkpoint.create", "execution.command.run", "execution.file.read", "execution.placement.create", "execution.relocation.apply", "execution.relocation.reconcile", "execution.worktree.create", "execution.worktree.import", "execution.worktree.reconcile", "execution.worktree.remove.apply", "hold.place.confirm", "hold.release.confirm", "integration.apply.claude-code", "integration.apply.codex", "integration.apply.pi-rpc", "integration.remove.claude-code", "integration.remove.codex", "integration.remove.pi-rpc", "interaction.cancel", "interaction.create", "interaction.respond", "node.remote.install.confirm", "node.remote.remove.confirm", "port.lease.acquire", "port.lease.release", "port.lease.renew", "project.context.record", "project.create.confirm", "project.guard.confirm", "project.register", "project.rename.confirm", "run.create", "run.dispatch.settle-terminal", "run.inbox.ack", "run.ledger.create", "run.ledger.task.dispatch", "run.ledger.task.settle", "run.question.cancel", "run.question.open", "run.question.reply", "session.adopt.confirm", "session.agent-permission.confirm", "session.archive", "session.create", "session.inbox.ack", "session.message.send", "session.rename", "session.resume", "session.spawn", "session.start", "session.stop", "terminal.controller.acquire", "terminal.controller.release", "terminal.controller.renew", "terminal.controller.request", "terminal.create", "terminal.input.write", "terminal.mutation.reconcile", "terminal.observer.attach", "terminal.observer.detach", "terminal.session.close", "terminal.session.delete", "terminal.session.resize", "terminal.session.restart", "terminal.session.signal", "turn.interrupt", "turn.send", "voice.pi.relay", "workspace.execution.configure", "workspace.membership.attach", "workspace.repository.attach", "workspace.select"]>>;
|
|
1972
|
+
readonly since: Schema.optional<Schema.String>;
|
|
1973
|
+
readonly until: Schema.optional<Schema.String>;
|
|
1974
|
+
}>;
|
|
1975
|
+
}>, Schema.Union<readonly [Schema.Struct<{
|
|
1976
|
+
readonly method: Schema.Literal<"run.create">;
|
|
1977
|
+
readonly parameters: Schema.Struct<{
|
|
1978
|
+
readonly commandId: Schema.String;
|
|
1979
|
+
readonly expectedRevision: Schema.Literal<"0">;
|
|
1980
|
+
readonly graph: Schema.Struct<{
|
|
1981
|
+
readonly dispatchTaskKey: Schema.String;
|
|
1982
|
+
readonly rootTaskKey: Schema.String;
|
|
1983
|
+
readonly tasks: Schema.$Array<Schema.Struct<{
|
|
1984
|
+
readonly clientKey: Schema.String;
|
|
1985
|
+
readonly dependsOn: Schema.$Array<Schema.String>;
|
|
1986
|
+
readonly objective: Schema.String;
|
|
1987
|
+
}>>;
|
|
1988
|
+
}>;
|
|
1989
|
+
readonly terminalId: Schema.String;
|
|
1990
|
+
readonly workspaceId: Schema.String;
|
|
1991
|
+
}>;
|
|
1992
|
+
}>, Schema.Struct<{
|
|
1993
|
+
readonly method: Schema.Literal<"run.list">;
|
|
1994
|
+
readonly parameters: Schema.Struct<{
|
|
1995
|
+
readonly afterCursor: Schema.String;
|
|
1996
|
+
readonly limit: Schema.Int;
|
|
1997
|
+
readonly workspaceId: Schema.String;
|
|
1998
|
+
}>;
|
|
1999
|
+
}>, Schema.Struct<{
|
|
2000
|
+
readonly method: Schema.Literal<"run.show">;
|
|
2001
|
+
readonly parameters: Schema.Struct<{
|
|
2002
|
+
readonly runId: Schema.String;
|
|
2003
|
+
}>;
|
|
2004
|
+
}>, Schema.Struct<{
|
|
2005
|
+
readonly method: Schema.Literal<"run.task.list">;
|
|
2006
|
+
readonly parameters: Schema.Struct<{
|
|
2007
|
+
readonly afterCursor: Schema.String;
|
|
2008
|
+
readonly limit: Schema.Int;
|
|
2009
|
+
readonly runId: Schema.String;
|
|
2010
|
+
}>;
|
|
2011
|
+
}>, Schema.Struct<{
|
|
2012
|
+
readonly method: Schema.Literal<"run.task.show">;
|
|
2013
|
+
readonly parameters: Schema.Struct<{
|
|
2014
|
+
readonly runId: Schema.String;
|
|
2015
|
+
readonly taskId: Schema.String;
|
|
2016
|
+
}>;
|
|
2017
|
+
}>, Schema.Struct<{
|
|
2018
|
+
readonly method: Schema.Literal<"run.dispatch.show">;
|
|
2019
|
+
readonly parameters: Schema.Struct<{
|
|
2020
|
+
readonly runId: Schema.String;
|
|
2021
|
+
}>;
|
|
2022
|
+
}>, Schema.Struct<{
|
|
2023
|
+
readonly method: Schema.Literal<"run.inbox.check">;
|
|
2024
|
+
readonly parameters: Schema.Struct<{
|
|
2025
|
+
readonly coordinatorEpoch: Schema.Literal<1>;
|
|
2026
|
+
readonly limit: Schema.Int;
|
|
2027
|
+
readonly owner: Schema.Union<readonly [Schema.Struct<{
|
|
2028
|
+
readonly id: Schema.String;
|
|
2029
|
+
readonly kind: Schema.Literal<"run">;
|
|
2030
|
+
}>, Schema.Struct<{
|
|
2031
|
+
readonly id: Schema.String;
|
|
2032
|
+
readonly kind: Schema.Literal<"dispatch">;
|
|
2033
|
+
}>]>;
|
|
2034
|
+
readonly runId: Schema.String;
|
|
2035
|
+
}>;
|
|
2036
|
+
}>, Schema.Struct<{
|
|
2037
|
+
readonly method: Schema.Literal<"run.inbox.ack">;
|
|
2038
|
+
readonly parameters: Schema.Struct<{
|
|
2039
|
+
readonly commandId: Schema.String;
|
|
2040
|
+
readonly coordinatorEpoch: Schema.Literal<1>;
|
|
2041
|
+
readonly deliveryId: Schema.String;
|
|
2042
|
+
readonly expectedMailboxRevision: Schema.String;
|
|
2043
|
+
readonly owner: Schema.Union<readonly [Schema.Struct<{
|
|
2044
|
+
readonly id: Schema.String;
|
|
2045
|
+
readonly kind: Schema.Literal<"run">;
|
|
2046
|
+
}>, Schema.Struct<{
|
|
2047
|
+
readonly id: Schema.String;
|
|
2048
|
+
readonly kind: Schema.Literal<"dispatch">;
|
|
2049
|
+
}>]>;
|
|
2050
|
+
readonly runId: Schema.String;
|
|
2051
|
+
}>;
|
|
2052
|
+
}>, Schema.Struct<{
|
|
2053
|
+
readonly method: Schema.Literal<"run.question.open">;
|
|
2054
|
+
readonly parameters: Schema.Struct<{
|
|
2055
|
+
readonly commandId: Schema.String;
|
|
2056
|
+
readonly coordinatorEpoch: Schema.Literal<1>;
|
|
2057
|
+
readonly dispatchId: Schema.String;
|
|
2058
|
+
readonly expectedDispatchRevision: Schema.String;
|
|
2059
|
+
readonly expectedRunRevision: Schema.String;
|
|
2060
|
+
readonly runId: Schema.String;
|
|
2061
|
+
readonly body: Schema.String;
|
|
2062
|
+
readonly subject: Schema.String;
|
|
2063
|
+
}>;
|
|
2064
|
+
}>, Schema.Struct<{
|
|
2065
|
+
readonly method: Schema.Literal<"run.question.reply">;
|
|
2066
|
+
readonly parameters: Schema.Struct<{
|
|
2067
|
+
readonly commandId: Schema.String;
|
|
2068
|
+
readonly coordinatorEpoch: Schema.Literal<1>;
|
|
2069
|
+
readonly dispatchId: Schema.String;
|
|
2070
|
+
readonly expectedDispatchRevision: Schema.String;
|
|
2071
|
+
readonly expectedRunRevision: Schema.String;
|
|
2072
|
+
readonly runId: Schema.String;
|
|
2073
|
+
readonly answer: Schema.String;
|
|
2074
|
+
readonly expectedQuestionRevision: Schema.String;
|
|
2075
|
+
readonly questionId: Schema.String;
|
|
2076
|
+
}>;
|
|
2077
|
+
}>, Schema.Struct<{
|
|
2078
|
+
readonly method: Schema.Literal<"run.question.cancel">;
|
|
2079
|
+
readonly parameters: Schema.Struct<{
|
|
2080
|
+
readonly commandId: Schema.String;
|
|
2081
|
+
readonly coordinatorEpoch: Schema.Literal<1>;
|
|
2082
|
+
readonly dispatchId: Schema.String;
|
|
2083
|
+
readonly expectedDispatchRevision: Schema.String;
|
|
2084
|
+
readonly expectedRunRevision: Schema.String;
|
|
2085
|
+
readonly runId: Schema.String;
|
|
2086
|
+
readonly expectedQuestionRevision: Schema.String;
|
|
2087
|
+
readonly questionId: Schema.String;
|
|
2088
|
+
}>;
|
|
2089
|
+
}>, Schema.Struct<{
|
|
2090
|
+
readonly method: Schema.Literal<"run.dispatch.settle-terminal">;
|
|
2091
|
+
readonly parameters: Schema.Struct<{
|
|
2092
|
+
commandId: Schema.String;
|
|
2093
|
+
coordinatorEpoch: Schema.Literal<1>;
|
|
2094
|
+
dispatchId: Schema.String;
|
|
2095
|
+
expectedDispatchRevision: Schema.String;
|
|
2096
|
+
expectedRunRevision: Schema.String;
|
|
2097
|
+
runId: Schema.String;
|
|
2098
|
+
}>;
|
|
2099
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
2100
|
+
readonly method: Schema.Literal<"port.lease.acquire">;
|
|
2101
|
+
readonly parameters: Schema.Struct<{
|
|
2102
|
+
readonly commandId: Schema.String;
|
|
2103
|
+
readonly count: Schema.optional<Schema.Int>;
|
|
2104
|
+
readonly preferred: Schema.optional<Schema.Int>;
|
|
2105
|
+
readonly purpose: Schema.String;
|
|
2106
|
+
readonly sessionId: Schema.optional<Schema.String>;
|
|
2107
|
+
}>;
|
|
2108
|
+
}>, Schema.Struct<{
|
|
2109
|
+
readonly method: Schema.Literal<"port.lease.list">;
|
|
2110
|
+
readonly parameters: Schema.Struct<{
|
|
2111
|
+
readonly afterCursor: Schema.optional<Schema.String>;
|
|
2112
|
+
readonly limit: Schema.Int;
|
|
2113
|
+
readonly sessionId: Schema.optional<Schema.String>;
|
|
2114
|
+
}>;
|
|
2115
|
+
}>, Schema.Struct<{
|
|
2116
|
+
readonly method: Schema.Literal<"port.lease.release">;
|
|
2117
|
+
readonly parameters: Schema.Struct<{
|
|
2118
|
+
readonly commandId: Schema.String;
|
|
2119
|
+
readonly leaseId: Schema.String;
|
|
2120
|
+
}>;
|
|
2121
|
+
}>, Schema.Struct<{
|
|
2122
|
+
readonly method: Schema.Literal<"port.lease.renew">;
|
|
2123
|
+
readonly parameters: Schema.Struct<{
|
|
2124
|
+
readonly commandId: Schema.String;
|
|
2125
|
+
readonly expectedRevision: Schema.String;
|
|
2126
|
+
readonly leaseId: Schema.String;
|
|
2127
|
+
}>;
|
|
2128
|
+
}>]>, Schema.Struct<{
|
|
2129
|
+
readonly method: Schema.Literal<"reference.resolve">;
|
|
2130
|
+
readonly parameters: Schema.Struct<{
|
|
2131
|
+
readonly kind: Schema.Literals<readonly ["connection", "container", "project", "session", "workspace"]>;
|
|
2132
|
+
readonly path: Schema.optional<Schema.String>;
|
|
2133
|
+
readonly projectId: Schema.optional<Schema.String>;
|
|
2134
|
+
readonly reference: Schema.optional<Schema.String>;
|
|
2135
|
+
}>;
|
|
2136
|
+
}>, Schema.Union<readonly [Schema.Struct<{
|
|
2137
|
+
readonly method: Schema.Literal<"node.remote.install.preview">;
|
|
2138
|
+
readonly parameters: Schema.Struct<{
|
|
2139
|
+
readonly claudeBin: Schema.optional<Schema.String>;
|
|
2140
|
+
readonly codexBin: Schema.optional<Schema.String>;
|
|
2141
|
+
readonly host: Schema.String;
|
|
2142
|
+
readonly profile: Schema.String;
|
|
2143
|
+
readonly root: Schema.String;
|
|
2144
|
+
readonly commandId: Schema.String;
|
|
2145
|
+
readonly keep: Schema.Int;
|
|
2146
|
+
readonly name: Schema.String;
|
|
2147
|
+
readonly nodeRuntime: Schema.String;
|
|
2148
|
+
readonly release: Schema.String;
|
|
2149
|
+
readonly waitMs: Schema.optional<Schema.Int>;
|
|
2150
|
+
}>;
|
|
2151
|
+
}>, Schema.Struct<{
|
|
2152
|
+
readonly method: Schema.Literal<"node.remote.install.confirm">;
|
|
2153
|
+
readonly parameters: Schema.Struct<{
|
|
2154
|
+
readonly claudeBin: Schema.optional<Schema.String>;
|
|
2155
|
+
readonly codexBin: Schema.optional<Schema.String>;
|
|
2156
|
+
readonly host: Schema.String;
|
|
2157
|
+
readonly profile: Schema.String;
|
|
2158
|
+
readonly root: Schema.String;
|
|
2159
|
+
readonly commandId: Schema.String;
|
|
2160
|
+
readonly keep: Schema.Int;
|
|
2161
|
+
readonly name: Schema.String;
|
|
2162
|
+
readonly nodeRuntime: Schema.String;
|
|
2163
|
+
readonly release: Schema.String;
|
|
2164
|
+
readonly inputDigest: Schema.String;
|
|
2165
|
+
readonly planDigest: Schema.String;
|
|
2166
|
+
readonly proof: Schema.String;
|
|
2167
|
+
readonly waitMs: Schema.optional<Schema.Int>;
|
|
2168
|
+
}>;
|
|
2169
|
+
}>, Schema.Struct<{
|
|
2170
|
+
readonly method: Schema.Literal<"node.remote.list">;
|
|
2171
|
+
readonly parameters: Schema.Struct<{
|
|
2172
|
+
readonly includeRemoved: Schema.optional<Schema.Boolean>;
|
|
2173
|
+
}>;
|
|
2174
|
+
}>, Schema.Struct<{
|
|
2175
|
+
readonly method: Schema.Literal<"node.remote.remove.preview">;
|
|
2176
|
+
readonly parameters: Schema.Struct<{
|
|
2177
|
+
commandId: Schema.String;
|
|
2178
|
+
expectedRevision: Schema.String;
|
|
2179
|
+
name: Schema.String;
|
|
2180
|
+
purge: Schema.Boolean;
|
|
2181
|
+
}>;
|
|
2182
|
+
}>, Schema.Struct<{
|
|
2183
|
+
readonly method: Schema.Literal<"node.remote.remove.confirm">;
|
|
2184
|
+
readonly parameters: Schema.Struct<{
|
|
2185
|
+
readonly commandId: Schema.String;
|
|
2186
|
+
readonly expectedRevision: Schema.String;
|
|
2187
|
+
readonly name: Schema.String;
|
|
2188
|
+
readonly purge: Schema.Boolean;
|
|
2189
|
+
readonly inputDigest: Schema.String;
|
|
2190
|
+
readonly proof: Schema.String;
|
|
2191
|
+
readonly waitMs: Schema.optional<Schema.Int>;
|
|
2192
|
+
}>;
|
|
2193
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
2194
|
+
readonly method: Schema.Literal<"run.ledger.create">;
|
|
2195
|
+
readonly parameters: Schema.Struct<{
|
|
2196
|
+
readonly commandId: Schema.String;
|
|
2197
|
+
readonly tasks: Schema.$Array<Schema.Struct<{
|
|
2198
|
+
readonly clientKey: Schema.String;
|
|
2199
|
+
readonly dependsOn: Schema.$Array<Schema.String>;
|
|
2200
|
+
readonly objective: Schema.String;
|
|
2201
|
+
}>>;
|
|
2202
|
+
readonly workspaceId: Schema.String;
|
|
2203
|
+
}>;
|
|
2204
|
+
}>, Schema.Struct<{
|
|
2205
|
+
readonly method: Schema.Literal<"run.ledger.list">;
|
|
2206
|
+
readonly parameters: Schema.Struct<{
|
|
2207
|
+
readonly afterCursor: Schema.optional<Schema.String>;
|
|
2208
|
+
readonly limit: Schema.Int;
|
|
2209
|
+
readonly workspaceId: Schema.String;
|
|
2210
|
+
}>;
|
|
2211
|
+
}>, Schema.Struct<{
|
|
2212
|
+
readonly method: Schema.Literal<"run.ledger.task.dispatch">;
|
|
2213
|
+
readonly parameters: Schema.Struct<{
|
|
2214
|
+
readonly commandId: Schema.String;
|
|
2215
|
+
readonly expectedSessionRevision: Schema.String;
|
|
2216
|
+
readonly expectedTaskRevision: Schema.String;
|
|
2217
|
+
readonly runId: Schema.String;
|
|
2218
|
+
readonly sessionId: Schema.String;
|
|
2219
|
+
readonly taskId: Schema.String;
|
|
2220
|
+
}>;
|
|
2221
|
+
}>, Schema.Struct<{
|
|
2222
|
+
readonly method: Schema.Literal<"run.ledger.task.list">;
|
|
2223
|
+
readonly parameters: Schema.Struct<{
|
|
2224
|
+
readonly ready: Schema.optional<Schema.Literal<true>>;
|
|
2225
|
+
readonly runId: Schema.String;
|
|
2226
|
+
}>;
|
|
2227
|
+
}>, Schema.Struct<{
|
|
2228
|
+
readonly method: Schema.Literal<"run.ledger.task.settle">;
|
|
2229
|
+
readonly parameters: Schema.Struct<{
|
|
2230
|
+
readonly commandId: Schema.String;
|
|
2231
|
+
readonly evidence: Schema.String;
|
|
2232
|
+
readonly expectedTaskRevision: Schema.String;
|
|
2233
|
+
readonly outcome: Schema.Literals<readonly ["succeeded", "failed"]>;
|
|
2234
|
+
readonly runId: Schema.String;
|
|
2235
|
+
readonly sessionId: Schema.String;
|
|
2236
|
+
readonly taskId: Schema.String;
|
|
2237
|
+
readonly turnId: Schema.optional<Schema.String>;
|
|
2238
|
+
}>;
|
|
2239
|
+
}>, Schema.Struct<{
|
|
2240
|
+
readonly method: Schema.Literal<"run.ledger.task.show">;
|
|
2241
|
+
readonly parameters: Schema.Struct<{
|
|
2242
|
+
readonly runId: Schema.String;
|
|
2243
|
+
readonly taskId: Schema.String;
|
|
2244
|
+
}>;
|
|
2245
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
2246
|
+
readonly method: Schema.Literal<"project.guard.show">;
|
|
2247
|
+
readonly parameters: Schema.Struct<{
|
|
2248
|
+
readonly projectId: Schema.String;
|
|
2249
|
+
}>;
|
|
2250
|
+
}>, Schema.Struct<{
|
|
2251
|
+
readonly method: Schema.Literal<"project.guard.preview">;
|
|
2252
|
+
readonly parameters: Schema.Struct<{
|
|
2253
|
+
commandId: Schema.String;
|
|
2254
|
+
expectedRevision: Schema.String;
|
|
2255
|
+
limits: Schema.Struct<{
|
|
2256
|
+
readonly maxDepth: Schema.Int;
|
|
2257
|
+
readonly maxLeasesPerSession: Schema.Int;
|
|
2258
|
+
readonly maxLiveChildren: Schema.Int;
|
|
2259
|
+
readonly maxMessagesPerMinute: Schema.Int;
|
|
2260
|
+
}>;
|
|
2261
|
+
projectId: Schema.String;
|
|
2262
|
+
}>;
|
|
2263
|
+
}>, Schema.Struct<{
|
|
2264
|
+
readonly method: Schema.Literal<"project.guard.confirm">;
|
|
2265
|
+
readonly parameters: Schema.Struct<{
|
|
2266
|
+
readonly commandId: Schema.String;
|
|
2267
|
+
readonly expectedRevision: Schema.String;
|
|
2268
|
+
readonly limits: Schema.Struct<{
|
|
2269
|
+
readonly maxDepth: Schema.Int;
|
|
2270
|
+
readonly maxLeasesPerSession: Schema.Int;
|
|
2271
|
+
readonly maxLiveChildren: Schema.Int;
|
|
2272
|
+
readonly maxMessagesPerMinute: Schema.Int;
|
|
2273
|
+
}>;
|
|
2274
|
+
readonly projectId: Schema.String;
|
|
2275
|
+
readonly inputDigest: Schema.String;
|
|
2276
|
+
readonly proof: Schema.String;
|
|
2277
|
+
}>;
|
|
2278
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
2279
|
+
readonly method: Schema.Literal<"project.create.preview">;
|
|
2280
|
+
readonly parameters: Schema.Struct<{
|
|
2281
|
+
commandId: Schema.String;
|
|
2282
|
+
containerId: Schema.String;
|
|
2283
|
+
expectedContainerRevision: Schema.String;
|
|
2284
|
+
name: Schema.Trim;
|
|
2285
|
+
}>;
|
|
2286
|
+
}>, Schema.Struct<{
|
|
2287
|
+
readonly method: Schema.Literal<"project.create.confirm">;
|
|
2288
|
+
readonly parameters: Schema.Struct<{
|
|
2289
|
+
readonly commandId: Schema.String;
|
|
2290
|
+
readonly containerId: Schema.String;
|
|
2291
|
+
readonly expectedContainerRevision: Schema.String;
|
|
2292
|
+
readonly name: Schema.Trim;
|
|
2293
|
+
readonly inputDigest: Schema.String;
|
|
2294
|
+
readonly proof: Schema.String;
|
|
2295
|
+
}>;
|
|
2296
|
+
}>, Schema.Struct<{
|
|
2297
|
+
readonly method: Schema.Literal<"project.rename.preview">;
|
|
2298
|
+
readonly parameters: Schema.Struct<{
|
|
2299
|
+
commandId: Schema.String;
|
|
2300
|
+
containerId: Schema.String;
|
|
2301
|
+
expectedRevision: Schema.String;
|
|
2302
|
+
name: Schema.Trim;
|
|
2303
|
+
projectId: Schema.String;
|
|
2304
|
+
}>;
|
|
2305
|
+
}>, Schema.Struct<{
|
|
2306
|
+
readonly method: Schema.Literal<"project.rename.confirm">;
|
|
2307
|
+
readonly parameters: Schema.Struct<{
|
|
2308
|
+
readonly commandId: Schema.String;
|
|
2309
|
+
readonly containerId: Schema.String;
|
|
2310
|
+
readonly expectedRevision: Schema.String;
|
|
2311
|
+
readonly name: Schema.Trim;
|
|
2312
|
+
readonly projectId: Schema.String;
|
|
2313
|
+
readonly inputDigest: Schema.String;
|
|
2314
|
+
readonly proof: Schema.String;
|
|
2315
|
+
}>;
|
|
2316
|
+
}>, Schema.Struct<{
|
|
2317
|
+
readonly method: Schema.Literal<"project.context.list">;
|
|
2318
|
+
readonly parameters: Schema.Struct<{
|
|
2319
|
+
readonly afterCursor: Schema.optional<Schema.String>;
|
|
2320
|
+
readonly limit: Schema.Int;
|
|
2321
|
+
readonly projectId: Schema.String;
|
|
2322
|
+
}>;
|
|
2323
|
+
}>, Schema.Struct<{
|
|
2324
|
+
readonly method: Schema.Literal<"project.context.record">;
|
|
2325
|
+
readonly parameters: Schema.Struct<{
|
|
2326
|
+
readonly attribution: Schema.Literal<"user">;
|
|
2327
|
+
readonly body: Schema.String;
|
|
2328
|
+
readonly commandId: Schema.String;
|
|
2329
|
+
readonly projectId: Schema.String;
|
|
2330
|
+
}>;
|
|
2331
|
+
}>, Schema.Struct<{
|
|
2332
|
+
readonly method: Schema.Literal<"project.context.show">;
|
|
2333
|
+
readonly parameters: Schema.Struct<{
|
|
2334
|
+
readonly noteId: Schema.String;
|
|
2335
|
+
}>;
|
|
2336
|
+
}>, Schema.Struct<{
|
|
2337
|
+
readonly method: Schema.Literal<"project.register">;
|
|
2338
|
+
readonly parameters: Schema.Struct<{
|
|
2339
|
+
readonly commandId: Schema.String;
|
|
2340
|
+
readonly expectedRevision: Schema.Literal<"0">;
|
|
2341
|
+
readonly name: Schema.Trim;
|
|
2342
|
+
readonly rootPath: Schema.String;
|
|
2343
|
+
}>;
|
|
2344
|
+
}>, Schema.Struct<{
|
|
2345
|
+
readonly method: Schema.Literal<"project.list">;
|
|
2346
|
+
readonly parameters: Schema.Struct<{
|
|
2347
|
+
readonly afterCursor: Schema.optional<Schema.String>;
|
|
2348
|
+
readonly limit: Schema.Int;
|
|
2349
|
+
}>;
|
|
2350
|
+
}>, Schema.Struct<{
|
|
2351
|
+
readonly method: Schema.Literal<"project.show">;
|
|
2352
|
+
readonly parameters: Schema.Struct<{
|
|
2353
|
+
readonly projectId: Schema.String;
|
|
2354
|
+
}>;
|
|
2355
|
+
}>, Schema.Struct<{
|
|
2356
|
+
readonly method: Schema.Literal<"workspace.context.show">;
|
|
2357
|
+
readonly parameters: Schema.$Record<Schema.String, Schema.Never>;
|
|
2358
|
+
}>, Schema.Struct<{
|
|
2359
|
+
readonly method: Schema.Literal<"workspace.list">;
|
|
2360
|
+
readonly parameters: Schema.Struct<{
|
|
2361
|
+
readonly afterCursor: Schema.optional<Schema.String>;
|
|
2362
|
+
readonly limit: Schema.Int;
|
|
2363
|
+
readonly projectId: Schema.String;
|
|
2364
|
+
}>;
|
|
2365
|
+
}>, Schema.Struct<{
|
|
2366
|
+
readonly method: Schema.Literal<"workspace.membership.attach">;
|
|
2367
|
+
readonly parameters: Schema.Struct<{
|
|
2368
|
+
readonly commandId: Schema.String;
|
|
2369
|
+
readonly expectedContextRevision: Schema.String;
|
|
2370
|
+
readonly expectedWorkspaceRevision: Schema.String;
|
|
2371
|
+
readonly projectId: Schema.String;
|
|
2372
|
+
readonly repositoryId: Schema.String;
|
|
2373
|
+
readonly workspaceId: Schema.String;
|
|
2374
|
+
}>;
|
|
2375
|
+
}>, Schema.Struct<{
|
|
2376
|
+
readonly method: Schema.Literal<"workspace.select">;
|
|
2377
|
+
readonly parameters: Schema.Struct<{
|
|
2378
|
+
readonly commandId: Schema.String;
|
|
2379
|
+
readonly expectedActiveContextRevision: Schema.String;
|
|
2380
|
+
readonly expectedActiveWorkspaceId: Schema.String;
|
|
2381
|
+
readonly expectedContextRevision: Schema.String;
|
|
2382
|
+
readonly expectedWorkspaceRevision: Schema.String;
|
|
2383
|
+
readonly projectId: Schema.String;
|
|
2384
|
+
readonly repositoryId: Schema.String;
|
|
2385
|
+
readonly workspaceId: Schema.String;
|
|
2386
|
+
}>;
|
|
2387
|
+
}>, Schema.Struct<{
|
|
2388
|
+
readonly method: Schema.Literal<"workspace.show">;
|
|
2389
|
+
readonly parameters: Schema.Struct<{
|
|
2390
|
+
readonly workspaceId: Schema.String;
|
|
2391
|
+
}>;
|
|
2392
|
+
}>, Schema.Struct<{
|
|
2393
|
+
readonly method: Schema.Literal<"workspace.repository.attach">;
|
|
2394
|
+
readonly parameters: Schema.Struct<{
|
|
2395
|
+
readonly commandId: Schema.String;
|
|
2396
|
+
readonly expectedRevision: Schema.String;
|
|
2397
|
+
readonly name: Schema.Trim;
|
|
2398
|
+
readonly rootPath: Schema.String;
|
|
2399
|
+
readonly workspaceId: Schema.String;
|
|
2400
|
+
}>;
|
|
2401
|
+
}>]>, Schema.Struct<{
|
|
2402
|
+
readonly method: Schema.Literal<"provider.pool.list">;
|
|
2403
|
+
readonly parameters: Schema.$Record<Schema.String, Schema.Never>;
|
|
2404
|
+
}>, Schema.Struct<{
|
|
2405
|
+
readonly method: Schema.Literal<"runtime.probe">;
|
|
2406
|
+
readonly parameters: Schema.Union<readonly [Schema.Struct<{
|
|
2407
|
+
readonly runtime: Schema.Literal<"codex">;
|
|
2408
|
+
}>, Schema.Struct<{
|
|
2409
|
+
readonly runtime: Schema.Literal<"pi-rpc">;
|
|
2410
|
+
}>]>;
|
|
2411
|
+
}>, Schema.Union<readonly [Schema.Struct<{
|
|
2412
|
+
readonly method: Schema.Literal<"session.create">;
|
|
2413
|
+
readonly parameters: Schema.Struct<{
|
|
2414
|
+
readonly commandId: Schema.String;
|
|
2415
|
+
readonly expectedRevision: Schema.Literal<"0">;
|
|
2416
|
+
readonly workspaceId: Schema.String;
|
|
2417
|
+
readonly connectionId: Schema.optional<Schema.String>;
|
|
2418
|
+
readonly definitionRef: Schema.optional<Schema.Struct<{
|
|
2419
|
+
readonly contentDigest: Schema.String;
|
|
2420
|
+
readonly key: Schema.String;
|
|
2421
|
+
readonly version: Schema.String;
|
|
2422
|
+
}>>;
|
|
2423
|
+
readonly executor: Schema.optional<Schema.Literals<readonly ["claude-code", "codex-cli"]>>;
|
|
2424
|
+
readonly model: Schema.optional<Schema.String>;
|
|
2425
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["orchestrator", "worker"]>>;
|
|
2426
|
+
readonly title: Schema.optional<Schema.String>;
|
|
2427
|
+
readonly worktree: Schema.optional<Schema.Struct<{
|
|
2428
|
+
readonly baseRef: Schema.String;
|
|
2429
|
+
}>>;
|
|
2430
|
+
}>;
|
|
2431
|
+
}>, Schema.Struct<{
|
|
2432
|
+
readonly method: Schema.Literal<"session.list">;
|
|
2433
|
+
readonly parameters: Schema.Struct<{
|
|
2434
|
+
readonly afterCursor: Schema.optional<Schema.String>;
|
|
2435
|
+
readonly attention: Schema.optional<Schema.Boolean>;
|
|
2436
|
+
readonly limit: Schema.optional<Schema.Int>;
|
|
2437
|
+
readonly projectId: Schema.optional<Schema.String>;
|
|
2438
|
+
readonly states: Schema.optional<Schema.$Array<Schema.Literals<readonly ["idle", "starting", "running", "waiting-approval", "interrupted", "recovering", "stopping", "stopped", "failed"]>>>;
|
|
2439
|
+
}>;
|
|
2440
|
+
}>, Schema.Struct<{
|
|
2441
|
+
readonly method: Schema.Literal<"session.show">;
|
|
2442
|
+
readonly parameters: Schema.Struct<{
|
|
2443
|
+
readonly sessionId: Schema.String;
|
|
2444
|
+
}>;
|
|
2445
|
+
}>, Schema.Struct<{
|
|
2446
|
+
readonly method: Schema.Literal<"session.spawn">;
|
|
2447
|
+
readonly parameters: Schema.Struct<{
|
|
2448
|
+
readonly commandId: Schema.String;
|
|
2449
|
+
readonly expectedRevision: Schema.Literal<"0">;
|
|
2450
|
+
readonly workspaceId: Schema.String;
|
|
2451
|
+
readonly definitionRef: Schema.optional<Schema.Struct<{
|
|
2452
|
+
readonly contentDigest: Schema.String;
|
|
2453
|
+
readonly key: Schema.String;
|
|
2454
|
+
readonly version: Schema.String;
|
|
2455
|
+
}>>;
|
|
2456
|
+
readonly harness: Schema.Literals<readonly ["maia-agent", "pi"]>;
|
|
2457
|
+
readonly parentSessionId: Schema.String;
|
|
2458
|
+
}>;
|
|
2459
|
+
}>, Schema.Struct<{
|
|
2460
|
+
readonly method: Schema.Literal<"session.events.list">;
|
|
2461
|
+
readonly parameters: Schema.Struct<{
|
|
2462
|
+
readonly afterSessionCursor: Schema.String;
|
|
2463
|
+
readonly limit: Schema.Int;
|
|
2464
|
+
readonly sessionId: Schema.String;
|
|
2465
|
+
}>;
|
|
2466
|
+
}>, Schema.Struct<{
|
|
2467
|
+
readonly method: Schema.Literal<"session.inbox.ack">;
|
|
2468
|
+
readonly parameters: Schema.Struct<{
|
|
2469
|
+
readonly commandId: Schema.String;
|
|
2470
|
+
readonly deliveryId: Schema.String;
|
|
2471
|
+
readonly expectedMailboxRevision: Schema.String;
|
|
2472
|
+
}>;
|
|
2473
|
+
}>, Schema.Struct<{
|
|
2474
|
+
readonly method: Schema.Literal<"session.inbox.check">;
|
|
2475
|
+
readonly parameters: Schema.Struct<{
|
|
2476
|
+
readonly limit: Schema.optional<Schema.Int>;
|
|
2477
|
+
}>;
|
|
2478
|
+
}>, Schema.Struct<{
|
|
2479
|
+
readonly method: Schema.Literal<"session.message.send">;
|
|
2480
|
+
readonly parameters: Schema.Struct<{
|
|
2481
|
+
readonly body: Schema.String;
|
|
2482
|
+
readonly commandId: Schema.String;
|
|
2483
|
+
readonly recipientSessionId: Schema.String;
|
|
2484
|
+
readonly subject: Schema.String;
|
|
2485
|
+
}>;
|
|
2486
|
+
}>, Schema.Struct<{
|
|
2487
|
+
readonly method: Schema.Literal<"session.observe">;
|
|
2488
|
+
readonly parameters: Schema.Struct<{
|
|
2489
|
+
readonly sessionIds: Schema.optional<Schema.$Array<Schema.String>>;
|
|
2490
|
+
readonly stallAfterSeconds: Schema.optional<Schema.Int>;
|
|
2491
|
+
}>;
|
|
2492
|
+
}>, Schema.Struct<{
|
|
2493
|
+
readonly method: Schema.Literal<"session.start">;
|
|
2494
|
+
readonly parameters: Schema.Struct<{
|
|
2495
|
+
readonly commandId: Schema.String;
|
|
2496
|
+
readonly expectedRevision: Schema.String;
|
|
2497
|
+
readonly sessionId: Schema.String;
|
|
2498
|
+
}>;
|
|
2499
|
+
}>, Schema.Struct<{
|
|
2500
|
+
readonly method: Schema.Literal<"session.stop">;
|
|
2501
|
+
readonly parameters: Schema.Struct<{
|
|
2502
|
+
readonly commandId: Schema.String;
|
|
2503
|
+
readonly expectedRevision: Schema.String;
|
|
2504
|
+
readonly sessionId: Schema.String;
|
|
2505
|
+
}>;
|
|
2506
|
+
}>, Schema.Struct<{
|
|
2507
|
+
readonly method: Schema.Literal<"session.resume">;
|
|
2508
|
+
readonly parameters: Schema.Struct<{
|
|
2509
|
+
readonly commandId: Schema.String;
|
|
2510
|
+
readonly expectedRevision: Schema.String;
|
|
2511
|
+
readonly sessionId: Schema.String;
|
|
2512
|
+
}>;
|
|
2513
|
+
}>, Schema.Struct<{
|
|
2514
|
+
readonly method: Schema.Literal<"session.diff">;
|
|
2515
|
+
readonly parameters: Schema.Struct<{
|
|
2516
|
+
readonly sessionId: Schema.String;
|
|
2517
|
+
readonly stat: Schema.optional<Schema.Boolean>;
|
|
2518
|
+
}>;
|
|
2519
|
+
}>, Schema.Struct<{
|
|
2520
|
+
readonly method: Schema.Literal<"session.archive">;
|
|
2521
|
+
readonly parameters: Schema.Struct<{
|
|
2522
|
+
readonly commandId: Schema.String;
|
|
2523
|
+
readonly expectedRevision: Schema.String;
|
|
2524
|
+
readonly sessionId: Schema.String;
|
|
2525
|
+
}>;
|
|
2526
|
+
}>, Schema.Struct<{
|
|
2527
|
+
readonly method: Schema.Literal<"session.rename">;
|
|
2528
|
+
readonly parameters: Schema.Struct<{
|
|
2529
|
+
readonly commandId: Schema.String;
|
|
2530
|
+
readonly expectedRevision: Schema.String;
|
|
2531
|
+
readonly sessionId: Schema.String;
|
|
2532
|
+
readonly title: Schema.String;
|
|
2533
|
+
}>;
|
|
2534
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
2535
|
+
readonly method: Schema.Literal<"session.agent-permission.preview">;
|
|
2536
|
+
readonly parameters: Schema.Struct<{
|
|
2537
|
+
readonly definitionRef: Schema.Struct<{
|
|
2538
|
+
readonly contentDigest: Schema.String;
|
|
2539
|
+
readonly key: Schema.String;
|
|
2540
|
+
readonly version: Schema.String;
|
|
2541
|
+
}>;
|
|
2542
|
+
readonly expectedSessionRevision: Schema.String;
|
|
2543
|
+
readonly expectedWorkspaceRevision: Schema.String;
|
|
2544
|
+
readonly operationIds: Schema.$Array<Schema.Literals<readonly ["approval.list", "approval.respond", "approval.show", "connection.capacity.set", "connection.create", "connection.detect", "connection.gateway.create", "connection.list", "connection.login.start", "connection.models.list", "connection.show", "connection.state.set", "connection.system.confirm", "connection.system.preview", "connection.usage.show", "container.create.confirm", "container.create.preview", "container.index.list", "container.list", "container.rename.confirm", "container.rename.preview", "container.show", "context.show", "discovery.sessions.list", "execution.catalog.get", "execution.checkpoint.create", "execution.checkpoint.show", "execution.command.run", "execution.file.read", "execution.placement.create", "execution.placement.show", "execution.relocation.apply", "execution.relocation.plan", "execution.relocation.reconcile", "execution.relocation.show", "execution.worktree.create", "execution.worktree.import", "execution.worktree.reconcile", "execution.worktree.remove.apply", "execution.worktree.remove.plan", "execution.worktree.status", "harness.installed.list", "hold.list", "hold.place.confirm", "hold.place.preview", "hold.release.confirm", "hold.release.preview", "integration.apply.claude-code", "integration.apply.codex", "integration.apply.pi-rpc", "integration.plan.claude-code", "integration.plan.codex", "integration.plan.pi-rpc", "integration.remove.claude-code", "integration.remove.codex", "integration.remove.pi-rpc", "integration.status.claude-code", "integration.status.codex", "integration.status.pi-rpc", "interaction.cancel", "interaction.create", "interaction.list", "interaction.respond", "interaction.show", "monitor.bootstrap.create", "node.remote.install.confirm", "node.remote.install.preview", "node.remote.list", "node.remote.remove.confirm", "node.remote.remove.preview", "node.shutdown", "node.status", "port.lease.acquire", "port.lease.list", "port.lease.release", "port.lease.renew", "presentation.catalog.show", "presentation.project-list.show", "presentation.session-list.show", "presentation.workspace-directory.show", "project.context.list", "project.context.record", "project.context.show", "project.create.confirm", "project.create.preview", "project.guard.confirm", "project.guard.preview", "project.guard.show", "project.list", "project.register", "project.rename.confirm", "project.rename.preview", "project.show", "provider.pool.list", "receipt.get", "receipt.list", "reference.resolve", "run.create", "run.dispatch.settle-terminal", "run.dispatch.show", "run.inbox.ack", "run.inbox.check", "run.ledger.create", "run.ledger.list", "run.ledger.task.dispatch", "run.ledger.task.list", "run.ledger.task.settle", "run.ledger.task.show", "run.list", "run.question.cancel", "run.question.open", "run.question.reply", "run.show", "run.task.list", "run.task.show", "runtime.probe", "session.adopt.confirm", "session.adopt.preview", "session.agent-permission.confirm", "session.agent-permission.preview", "session.archive", "session.create", "session.diff", "session.events.list", "session.history.read", "session.inbox.ack", "session.inbox.check", "session.list", "session.message.send", "session.observe", "session.rename", "session.resume", "session.show", "session.spawn", "session.start", "session.stop", "terminal.controller.acquire", "terminal.controller.release", "terminal.controller.renew", "terminal.controller.request", "terminal.controller.request.show", "terminal.create", "terminal.events.list", "terminal.input.write", "terminal.list", "terminal.mutation.reconcile", "terminal.observer.attach", "terminal.observer.check", "terminal.observer.detach", "terminal.observer.resync", "terminal.read", "terminal.session.close", "terminal.session.delete", "terminal.session.resize", "terminal.session.restart", "terminal.session.signal", "terminal.show", "turn.interrupt", "turn.send", "turn.show", "turn.wait", "voice.managed-turn.confirm", "voice.managed-turn.preview", "voice.orchestrator.context.show", "voice.orchestrator.tool.call", "voice.pi.relay", "voice.pi.relay.preview", "voice.pi.relay.reconcile", "workspace.context.show", "workspace.execution.configure", "workspace.execution.show", "workspace.list", "workspace.membership.attach", "workspace.repository.attach", "workspace.select", "workspace.show"]>>;
|
|
2545
|
+
readonly sessionId: Schema.String;
|
|
2546
|
+
readonly workspaceId: Schema.String;
|
|
2547
|
+
readonly commandId: Schema.String;
|
|
2548
|
+
}>;
|
|
2549
|
+
}>, Schema.Struct<{
|
|
2550
|
+
readonly method: Schema.Literal<"session.agent-permission.confirm">;
|
|
2551
|
+
readonly parameters: Schema.Struct<{
|
|
2552
|
+
readonly definitionRef: Schema.Struct<{
|
|
2553
|
+
readonly contentDigest: Schema.String;
|
|
2554
|
+
readonly key: Schema.String;
|
|
2555
|
+
readonly version: Schema.String;
|
|
2556
|
+
}>;
|
|
2557
|
+
readonly expectedSessionRevision: Schema.String;
|
|
2558
|
+
readonly expectedWorkspaceRevision: Schema.String;
|
|
2559
|
+
readonly operationIds: Schema.$Array<Schema.Literals<readonly ["approval.list", "approval.respond", "approval.show", "connection.capacity.set", "connection.create", "connection.detect", "connection.gateway.create", "connection.list", "connection.login.start", "connection.models.list", "connection.show", "connection.state.set", "connection.system.confirm", "connection.system.preview", "connection.usage.show", "container.create.confirm", "container.create.preview", "container.index.list", "container.list", "container.rename.confirm", "container.rename.preview", "container.show", "context.show", "discovery.sessions.list", "execution.catalog.get", "execution.checkpoint.create", "execution.checkpoint.show", "execution.command.run", "execution.file.read", "execution.placement.create", "execution.placement.show", "execution.relocation.apply", "execution.relocation.plan", "execution.relocation.reconcile", "execution.relocation.show", "execution.worktree.create", "execution.worktree.import", "execution.worktree.reconcile", "execution.worktree.remove.apply", "execution.worktree.remove.plan", "execution.worktree.status", "harness.installed.list", "hold.list", "hold.place.confirm", "hold.place.preview", "hold.release.confirm", "hold.release.preview", "integration.apply.claude-code", "integration.apply.codex", "integration.apply.pi-rpc", "integration.plan.claude-code", "integration.plan.codex", "integration.plan.pi-rpc", "integration.remove.claude-code", "integration.remove.codex", "integration.remove.pi-rpc", "integration.status.claude-code", "integration.status.codex", "integration.status.pi-rpc", "interaction.cancel", "interaction.create", "interaction.list", "interaction.respond", "interaction.show", "monitor.bootstrap.create", "node.remote.install.confirm", "node.remote.install.preview", "node.remote.list", "node.remote.remove.confirm", "node.remote.remove.preview", "node.shutdown", "node.status", "port.lease.acquire", "port.lease.list", "port.lease.release", "port.lease.renew", "presentation.catalog.show", "presentation.project-list.show", "presentation.session-list.show", "presentation.workspace-directory.show", "project.context.list", "project.context.record", "project.context.show", "project.create.confirm", "project.create.preview", "project.guard.confirm", "project.guard.preview", "project.guard.show", "project.list", "project.register", "project.rename.confirm", "project.rename.preview", "project.show", "provider.pool.list", "receipt.get", "receipt.list", "reference.resolve", "run.create", "run.dispatch.settle-terminal", "run.dispatch.show", "run.inbox.ack", "run.inbox.check", "run.ledger.create", "run.ledger.list", "run.ledger.task.dispatch", "run.ledger.task.list", "run.ledger.task.settle", "run.ledger.task.show", "run.list", "run.question.cancel", "run.question.open", "run.question.reply", "run.show", "run.task.list", "run.task.show", "runtime.probe", "session.adopt.confirm", "session.adopt.preview", "session.agent-permission.confirm", "session.agent-permission.preview", "session.archive", "session.create", "session.diff", "session.events.list", "session.history.read", "session.inbox.ack", "session.inbox.check", "session.list", "session.message.send", "session.observe", "session.rename", "session.resume", "session.show", "session.spawn", "session.start", "session.stop", "terminal.controller.acquire", "terminal.controller.release", "terminal.controller.renew", "terminal.controller.request", "terminal.controller.request.show", "terminal.create", "terminal.events.list", "terminal.input.write", "terminal.list", "terminal.mutation.reconcile", "terminal.observer.attach", "terminal.observer.check", "terminal.observer.detach", "terminal.observer.resync", "terminal.read", "terminal.session.close", "terminal.session.delete", "terminal.session.resize", "terminal.session.restart", "terminal.session.signal", "terminal.show", "turn.interrupt", "turn.send", "turn.show", "turn.wait", "voice.managed-turn.confirm", "voice.managed-turn.preview", "voice.orchestrator.context.show", "voice.orchestrator.tool.call", "voice.pi.relay", "voice.pi.relay.preview", "voice.pi.relay.reconcile", "workspace.context.show", "workspace.execution.configure", "workspace.execution.show", "workspace.list", "workspace.membership.attach", "workspace.repository.attach", "workspace.select", "workspace.show"]>>;
|
|
2560
|
+
readonly sessionId: Schema.String;
|
|
2561
|
+
readonly workspaceId: Schema.String;
|
|
2562
|
+
readonly commandId: Schema.String;
|
|
2563
|
+
readonly inputDigest: Schema.String;
|
|
2564
|
+
readonly proof: Schema.String;
|
|
2565
|
+
}>;
|
|
2566
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
2567
|
+
readonly method: Schema.Literal<"connection.create">;
|
|
2568
|
+
readonly parameters: Schema.Struct<{
|
|
2569
|
+
readonly commandId: Schema.String;
|
|
2570
|
+
readonly configRootKind: Schema.Literals<readonly ["maia-managed", "system-default"]>;
|
|
2571
|
+
readonly executor: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
|
|
2572
|
+
readonly maxConcurrentSessions: Schema.optional<Schema.Int>;
|
|
2573
|
+
readonly name: Schema.String;
|
|
2574
|
+
}>;
|
|
2575
|
+
}>, Schema.Struct<{
|
|
2576
|
+
readonly method: Schema.Literal<"connection.list">;
|
|
2577
|
+
readonly parameters: Schema.Struct<{
|
|
2578
|
+
readonly afterCursor: Schema.optional<Schema.String>;
|
|
2579
|
+
readonly limit: Schema.Int;
|
|
2580
|
+
}>;
|
|
2581
|
+
}>, Schema.Struct<{
|
|
2582
|
+
readonly method: Schema.Literal<"connection.show">;
|
|
2583
|
+
readonly parameters: Schema.Struct<{
|
|
2584
|
+
readonly connectionId: Schema.String;
|
|
2585
|
+
}>;
|
|
2586
|
+
}>, Schema.Struct<{
|
|
2587
|
+
readonly method: Schema.Literal<"connection.state.set">;
|
|
2588
|
+
readonly parameters: Schema.Struct<{
|
|
2589
|
+
readonly commandId: Schema.String;
|
|
2590
|
+
readonly connectionId: Schema.String;
|
|
2591
|
+
readonly expectedRevision: Schema.String;
|
|
2592
|
+
readonly state: Schema.Literals<readonly ["disabled", "enabled"]>;
|
|
2593
|
+
}>;
|
|
2594
|
+
}>, Schema.Struct<{
|
|
2595
|
+
readonly method: Schema.Literal<"connection.capacity.set">;
|
|
2596
|
+
readonly parameters: Schema.Struct<{
|
|
2597
|
+
readonly commandId: Schema.String;
|
|
2598
|
+
readonly connectionId: Schema.String;
|
|
2599
|
+
readonly expectedRevision: Schema.String;
|
|
2600
|
+
readonly maxConcurrentSessions: Schema.Int;
|
|
2601
|
+
}>;
|
|
2602
|
+
}>, Schema.Struct<{
|
|
2603
|
+
readonly method: Schema.Literal<"connection.usage.show">;
|
|
2604
|
+
readonly parameters: Schema.Struct<{
|
|
2605
|
+
readonly connectionId: Schema.String;
|
|
2606
|
+
readonly refresh: Schema.optional<Schema.Boolean>;
|
|
2607
|
+
}>;
|
|
2608
|
+
}>, Schema.Struct<{
|
|
2609
|
+
readonly method: Schema.Literal<"connection.login.start">;
|
|
2610
|
+
readonly parameters: Schema.Struct<{
|
|
2611
|
+
readonly commandId: Schema.String;
|
|
2612
|
+
readonly connectionId: Schema.String;
|
|
2613
|
+
readonly expectedRevision: Schema.String;
|
|
2614
|
+
readonly flow: Schema.Literals<readonly ["browser", "device-code"]>;
|
|
2615
|
+
}>;
|
|
2616
|
+
}>, Schema.Struct<{
|
|
2617
|
+
readonly method: Schema.Literal<"connection.gateway.create">;
|
|
2618
|
+
readonly parameters: Schema.Struct<{
|
|
2619
|
+
readonly apiKey: Schema.String;
|
|
2620
|
+
readonly baseUrl: Schema.String;
|
|
2621
|
+
readonly commandId: Schema.String;
|
|
2622
|
+
readonly maxConcurrentSessions: Schema.optional<Schema.Int>;
|
|
2623
|
+
readonly name: Schema.String;
|
|
2624
|
+
}>;
|
|
2625
|
+
}>, Schema.Struct<{
|
|
2626
|
+
readonly method: Schema.Literal<"connection.models.list">;
|
|
2627
|
+
readonly parameters: Schema.Struct<{
|
|
2628
|
+
readonly connectionId: Schema.String;
|
|
2629
|
+
}>;
|
|
2630
|
+
}>, Schema.Struct<{
|
|
2631
|
+
readonly method: Schema.Literal<"connection.detect">;
|
|
2632
|
+
readonly parameters: Schema.$Record<Schema.String, Schema.Never>;
|
|
2633
|
+
}>, Schema.Struct<{
|
|
2634
|
+
readonly method: Schema.Literal<"connection.system.preview">;
|
|
2635
|
+
readonly parameters: Schema.Struct<{
|
|
2636
|
+
commandId: Schema.String;
|
|
2637
|
+
maxConcurrentSessions: Schema.optional<Schema.Int>;
|
|
2638
|
+
}>;
|
|
2639
|
+
}>, Schema.Struct<{
|
|
2640
|
+
readonly method: Schema.Literal<"connection.system.confirm">;
|
|
2641
|
+
readonly parameters: Schema.Struct<{
|
|
2642
|
+
readonly commandId: Schema.String;
|
|
2643
|
+
readonly maxConcurrentSessions: Schema.optional<Schema.Int>;
|
|
2644
|
+
readonly inputDigest: Schema.String;
|
|
2645
|
+
readonly proof: Schema.String;
|
|
2646
|
+
}>;
|
|
2647
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
2648
|
+
readonly method: Schema.Literal<"container.list">;
|
|
2649
|
+
readonly parameters: Schema.Struct<{
|
|
2650
|
+
readonly afterCursor: Schema.optional<Schema.String>;
|
|
2651
|
+
readonly limit: Schema.Int;
|
|
2652
|
+
}>;
|
|
2653
|
+
}>, Schema.Struct<{
|
|
2654
|
+
readonly method: Schema.Literal<"container.show">;
|
|
2655
|
+
readonly parameters: Schema.Struct<{
|
|
2656
|
+
readonly afterCursor: Schema.optional<Schema.String>;
|
|
2657
|
+
readonly containerId: Schema.String;
|
|
2658
|
+
readonly limit: Schema.Int;
|
|
2659
|
+
}>;
|
|
2660
|
+
}>, Schema.Struct<{
|
|
2661
|
+
readonly method: Schema.Literal<"container.index.list">;
|
|
2662
|
+
readonly parameters: Schema.Struct<{
|
|
2663
|
+
readonly afterCursor: Schema.optional<Schema.String>;
|
|
2664
|
+
readonly limit: Schema.Int;
|
|
2665
|
+
}>;
|
|
2666
|
+
}>, Schema.Struct<{
|
|
2667
|
+
readonly method: Schema.Literal<"container.create.preview">;
|
|
2668
|
+
readonly parameters: Schema.Struct<{
|
|
2669
|
+
commandId: Schema.String;
|
|
2670
|
+
name: Schema.Trim;
|
|
2671
|
+
}>;
|
|
2672
|
+
}>, Schema.Struct<{
|
|
2673
|
+
readonly method: Schema.Literal<"container.create.confirm">;
|
|
2674
|
+
readonly parameters: Schema.Struct<{
|
|
2675
|
+
readonly commandId: Schema.String;
|
|
2676
|
+
readonly name: Schema.Trim;
|
|
2677
|
+
readonly inputDigest: Schema.String;
|
|
2678
|
+
readonly proof: Schema.String;
|
|
2679
|
+
}>;
|
|
2680
|
+
}>, Schema.Struct<{
|
|
2681
|
+
readonly method: Schema.Literal<"container.rename.preview">;
|
|
2682
|
+
readonly parameters: Schema.Struct<{
|
|
2683
|
+
commandId: Schema.String;
|
|
2684
|
+
name: Schema.Trim;
|
|
2685
|
+
containerId: Schema.String;
|
|
2686
|
+
expectedRevision: Schema.String;
|
|
2687
|
+
}>;
|
|
2688
|
+
}>, Schema.Struct<{
|
|
2689
|
+
readonly method: Schema.Literal<"container.rename.confirm">;
|
|
2690
|
+
readonly parameters: Schema.Struct<{
|
|
2691
|
+
readonly commandId: Schema.String;
|
|
2692
|
+
readonly name: Schema.Trim;
|
|
2693
|
+
readonly containerId: Schema.String;
|
|
2694
|
+
readonly expectedRevision: Schema.String;
|
|
2695
|
+
readonly inputDigest: Schema.String;
|
|
2696
|
+
readonly proof: Schema.String;
|
|
2697
|
+
}>;
|
|
2698
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
2699
|
+
readonly method: Schema.Literal<"hold.list">;
|
|
2700
|
+
readonly parameters: Schema.Struct<{
|
|
2701
|
+
readonly afterCursor: Schema.optional<Schema.String>;
|
|
2702
|
+
readonly limit: Schema.Int;
|
|
2703
|
+
readonly state: Schema.optional<Schema.Literals<readonly ["active", "released"]>>;
|
|
2704
|
+
}>;
|
|
2705
|
+
}>, Schema.Struct<{
|
|
2706
|
+
readonly method: Schema.Literal<"hold.place.preview">;
|
|
2707
|
+
readonly parameters: Schema.Struct<{
|
|
2708
|
+
commandId: Schema.String;
|
|
2709
|
+
reason: Schema.Trim;
|
|
2710
|
+
running: Schema.Literals<readonly ["keep", "stop"]>;
|
|
2711
|
+
targets: Schema.$Array<Schema.Struct<{
|
|
2712
|
+
readonly id: Schema.String;
|
|
2713
|
+
readonly kind: Schema.Literals<readonly ["connection", "project"]>;
|
|
2714
|
+
}>>;
|
|
2715
|
+
}>;
|
|
2716
|
+
}>, Schema.Struct<{
|
|
2717
|
+
readonly method: Schema.Literal<"hold.place.confirm">;
|
|
2718
|
+
readonly parameters: Schema.Struct<{
|
|
2719
|
+
readonly commandId: Schema.String;
|
|
2720
|
+
readonly reason: Schema.Trim;
|
|
2721
|
+
readonly running: Schema.Literals<readonly ["keep", "stop"]>;
|
|
2722
|
+
readonly targets: Schema.$Array<Schema.Struct<{
|
|
2723
|
+
readonly id: Schema.String;
|
|
2724
|
+
readonly kind: Schema.Literals<readonly ["connection", "project"]>;
|
|
2725
|
+
}>>;
|
|
2726
|
+
readonly inputDigest: Schema.String;
|
|
2727
|
+
readonly proof: Schema.String;
|
|
2728
|
+
}>;
|
|
2729
|
+
}>, Schema.Struct<{
|
|
2730
|
+
readonly method: Schema.Literal<"hold.release.preview">;
|
|
2731
|
+
readonly parameters: Schema.Struct<{
|
|
2732
|
+
commandId: Schema.String;
|
|
2733
|
+
expectedRevision: Schema.String;
|
|
2734
|
+
holdId: Schema.String;
|
|
2735
|
+
}>;
|
|
2736
|
+
}>, Schema.Struct<{
|
|
2737
|
+
readonly method: Schema.Literal<"hold.release.confirm">;
|
|
2738
|
+
readonly parameters: Schema.Struct<{
|
|
2739
|
+
readonly commandId: Schema.String;
|
|
2740
|
+
readonly expectedRevision: Schema.String;
|
|
2741
|
+
readonly holdId: Schema.String;
|
|
2742
|
+
readonly inputDigest: Schema.String;
|
|
2743
|
+
readonly proof: Schema.String;
|
|
2744
|
+
}>;
|
|
2745
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
2746
|
+
readonly method: Schema.Literal<"discovery.sessions.list">;
|
|
2747
|
+
readonly parameters: Schema.Struct<{
|
|
2748
|
+
readonly cursor: Schema.optional<Schema.String>;
|
|
2749
|
+
readonly includeContentFields: Schema.optional<Schema.Boolean>;
|
|
2750
|
+
readonly limit: Schema.Int;
|
|
2751
|
+
readonly roots: Schema.optional<Schema.$Array<Schema.String>>;
|
|
2752
|
+
readonly sinceDays: Schema.optional<Schema.Int>;
|
|
2753
|
+
readonly sources: Schema.$Array<Schema.Literals<readonly ["claude", "codex"]>>;
|
|
2754
|
+
}>;
|
|
2755
|
+
}>, Schema.Struct<{
|
|
2756
|
+
readonly method: Schema.Literal<"session.history.read">;
|
|
2757
|
+
readonly parameters: Schema.Struct<{
|
|
2758
|
+
readonly limit: Schema.Int;
|
|
2759
|
+
readonly offset: Schema.optional<Schema.Int>;
|
|
2760
|
+
readonly target: Schema.Union<readonly [Schema.Struct<{
|
|
2761
|
+
readonly kind: Schema.Literal<"session">;
|
|
2762
|
+
readonly sessionId: Schema.String;
|
|
2763
|
+
}>, Schema.Struct<{
|
|
2764
|
+
readonly executor: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
|
|
2765
|
+
readonly kind: Schema.Literal<"native">;
|
|
2766
|
+
readonly nativeId: Schema.String;
|
|
2767
|
+
}>]>;
|
|
2768
|
+
}>;
|
|
2769
|
+
}>, Schema.Struct<{
|
|
2770
|
+
readonly method: Schema.Literal<"session.adopt.preview">;
|
|
2771
|
+
readonly parameters: Schema.Struct<{
|
|
2772
|
+
readonly attestEnded: Schema.optional<Schema.Literal<true>>;
|
|
2773
|
+
readonly commandId: Schema.String;
|
|
2774
|
+
readonly executor: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
|
|
2775
|
+
readonly nativeId: Schema.String;
|
|
2776
|
+
readonly workspaceId: Schema.String;
|
|
2777
|
+
}>;
|
|
2778
|
+
}>, Schema.Struct<{
|
|
2779
|
+
readonly method: Schema.Literal<"session.adopt.confirm">;
|
|
2780
|
+
readonly parameters: Schema.Struct<{
|
|
2781
|
+
readonly previewId: Schema.String;
|
|
2782
|
+
}>;
|
|
2783
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
2784
|
+
readonly method: Schema.Literal<"terminal.create">;
|
|
2785
|
+
readonly parameters: Schema.Union<readonly [Schema.Struct<{
|
|
2786
|
+
readonly commandId: Schema.String;
|
|
2787
|
+
readonly expectedRevision: Schema.Literal<"0">;
|
|
2788
|
+
readonly workspaceId: Schema.String;
|
|
2789
|
+
}>, Schema.Struct<{
|
|
2790
|
+
readonly columns: Schema.Int;
|
|
2791
|
+
readonly rows: Schema.Int;
|
|
2792
|
+
readonly commandId: Schema.String;
|
|
2793
|
+
readonly expectedRevision: Schema.Literal<"0">;
|
|
2794
|
+
readonly mode: Schema.Literal<"interactive">;
|
|
2795
|
+
readonly workspaceId: Schema.String;
|
|
2796
|
+
}>]>;
|
|
2797
|
+
}>, Schema.Struct<{
|
|
2798
|
+
readonly method: Schema.Literal<"terminal.list">;
|
|
2799
|
+
readonly parameters: Schema.Struct<{
|
|
2800
|
+
readonly afterCursor: Schema.String;
|
|
2801
|
+
readonly limit: Schema.Int;
|
|
2802
|
+
readonly workspaceId: Schema.String;
|
|
2803
|
+
}>;
|
|
2804
|
+
}>, Schema.Struct<{
|
|
2805
|
+
readonly method: Schema.Literal<"terminal.show">;
|
|
2806
|
+
readonly parameters: Schema.Struct<{
|
|
2807
|
+
readonly terminalId: Schema.String;
|
|
2808
|
+
}>;
|
|
2809
|
+
}>, Schema.Struct<{
|
|
2810
|
+
readonly method: Schema.Literal<"terminal.events.list">;
|
|
2811
|
+
readonly parameters: Schema.Struct<{
|
|
2812
|
+
readonly afterTerminalCursor: Schema.String;
|
|
2813
|
+
readonly limit: Schema.Int;
|
|
2814
|
+
readonly terminalId: Schema.String;
|
|
2815
|
+
}>;
|
|
2816
|
+
}>, Schema.Struct<{
|
|
2817
|
+
readonly method: Schema.Literal<"terminal.read">;
|
|
2818
|
+
readonly parameters: Schema.Struct<{
|
|
2819
|
+
readonly afterChunkCursor: Schema.String;
|
|
2820
|
+
readonly limit: Schema.Int;
|
|
2821
|
+
readonly terminalId: Schema.String;
|
|
2822
|
+
}>;
|
|
2823
|
+
}>, Schema.Union<readonly [Schema.Struct<{
|
|
2824
|
+
readonly method: Schema.Literal<"terminal.observer.attach">;
|
|
2825
|
+
readonly parameters: Schema.Struct<{
|
|
2826
|
+
readonly afterCursor: Schema.optional<Schema.String>;
|
|
2827
|
+
readonly attachId: Schema.String;
|
|
2828
|
+
readonly commandId: Schema.String;
|
|
2829
|
+
readonly requestedLeaseDurationMs: Schema.Int;
|
|
2830
|
+
readonly terminalId: Schema.String;
|
|
2831
|
+
}>;
|
|
2832
|
+
}>, Schema.Struct<{
|
|
2833
|
+
readonly method: Schema.Literal<"terminal.observer.check">;
|
|
2834
|
+
readonly parameters: Schema.Struct<{
|
|
2835
|
+
readonly afterCursor: Schema.String;
|
|
2836
|
+
readonly limit: Schema.Int;
|
|
2837
|
+
readonly observerId: Schema.String;
|
|
2838
|
+
readonly terminalId: Schema.String;
|
|
2839
|
+
readonly waitMilliseconds: Schema.Int;
|
|
2840
|
+
}>;
|
|
2841
|
+
}>, Schema.Struct<{
|
|
2842
|
+
readonly method: Schema.Literal<"terminal.observer.detach">;
|
|
2843
|
+
readonly parameters: Schema.Struct<{
|
|
2844
|
+
readonly observerId: Schema.String;
|
|
2845
|
+
readonly terminalId: Schema.String;
|
|
2846
|
+
}>;
|
|
2847
|
+
}>, Schema.Struct<{
|
|
2848
|
+
readonly method: Schema.Literal<"terminal.observer.resync">;
|
|
2849
|
+
readonly parameters: Schema.Struct<{
|
|
2850
|
+
readonly terminalId: Schema.String;
|
|
2851
|
+
}>;
|
|
2852
|
+
}>, Schema.Struct<{
|
|
2853
|
+
readonly method: Schema.Literal<"terminal.controller.request">;
|
|
2854
|
+
readonly parameters: Schema.Struct<{
|
|
2855
|
+
readonly commandId: Schema.String;
|
|
2856
|
+
readonly terminalId: Schema.String;
|
|
2857
|
+
readonly requestedLeaseDurationMs: Schema.Int;
|
|
2858
|
+
readonly terminalGeneration: Schema.Int;
|
|
2859
|
+
}>;
|
|
2860
|
+
}>, Schema.Struct<{
|
|
2861
|
+
readonly method: Schema.Literal<"terminal.controller.request.show">;
|
|
2862
|
+
readonly parameters: Schema.Struct<{
|
|
2863
|
+
readonly controllerRequestId: Schema.String;
|
|
2864
|
+
readonly terminalGeneration: Schema.Int;
|
|
2865
|
+
readonly terminalId: Schema.String;
|
|
2866
|
+
}>;
|
|
2867
|
+
}>, Schema.Struct<{
|
|
2868
|
+
readonly method: Schema.Literal<"terminal.controller.acquire">;
|
|
2869
|
+
readonly parameters: Schema.Struct<{
|
|
2870
|
+
readonly commandId: Schema.String;
|
|
2871
|
+
readonly terminalId: Schema.String;
|
|
2872
|
+
readonly expectedTerminalRevision: Schema.String;
|
|
2873
|
+
readonly controllerRequestId: Schema.String;
|
|
2874
|
+
readonly terminalGeneration: Schema.Int;
|
|
2875
|
+
}>;
|
|
2876
|
+
}>, Schema.Struct<{
|
|
2877
|
+
readonly method: Schema.Literal<"terminal.controller.renew">;
|
|
2878
|
+
readonly parameters: Schema.Struct<{
|
|
2879
|
+
readonly commandId: Schema.String;
|
|
2880
|
+
readonly terminalId: Schema.String;
|
|
2881
|
+
readonly expectedTerminalRevision: Schema.String;
|
|
2882
|
+
readonly controller: Schema.Struct<{
|
|
2883
|
+
readonly epoch: Schema.String;
|
|
2884
|
+
readonly expiresAt: Schema.String;
|
|
2885
|
+
readonly id: Schema.String;
|
|
2886
|
+
readonly revision: Schema.String;
|
|
2887
|
+
readonly terminalGeneration: Schema.Int;
|
|
2888
|
+
readonly terminalId: Schema.String;
|
|
2889
|
+
}>;
|
|
2890
|
+
readonly requestedLeaseDurationMs: Schema.Int;
|
|
2891
|
+
}>;
|
|
2892
|
+
}>, Schema.Struct<{
|
|
2893
|
+
readonly method: Schema.Literal<"terminal.controller.release">;
|
|
2894
|
+
readonly parameters: Schema.Struct<{
|
|
2895
|
+
commandId: Schema.String;
|
|
2896
|
+
terminalId: Schema.String;
|
|
2897
|
+
expectedTerminalRevision: Schema.String;
|
|
2898
|
+
controller: Schema.Struct<{
|
|
2899
|
+
readonly epoch: Schema.String;
|
|
2900
|
+
readonly expiresAt: Schema.String;
|
|
2901
|
+
readonly id: Schema.String;
|
|
2902
|
+
readonly revision: Schema.String;
|
|
2903
|
+
readonly terminalGeneration: Schema.Int;
|
|
2904
|
+
readonly terminalId: Schema.String;
|
|
2905
|
+
}>;
|
|
2906
|
+
}>;
|
|
2907
|
+
}>, Schema.Struct<{
|
|
2908
|
+
readonly method: Schema.Literal<"terminal.input.write">;
|
|
2909
|
+
readonly parameters: Schema.Struct<{
|
|
2910
|
+
readonly commandId: Schema.String;
|
|
2911
|
+
readonly terminalId: Schema.String;
|
|
2912
|
+
readonly expectedTerminalRevision: Schema.String;
|
|
2913
|
+
readonly controller: Schema.Struct<{
|
|
2914
|
+
readonly epoch: Schema.String;
|
|
2915
|
+
readonly expiresAt: Schema.String;
|
|
2916
|
+
readonly id: Schema.String;
|
|
2917
|
+
readonly revision: Schema.String;
|
|
2918
|
+
readonly terminalGeneration: Schema.Int;
|
|
2919
|
+
readonly terminalId: Schema.String;
|
|
2920
|
+
}>;
|
|
2921
|
+
readonly bytesBase64: Schema.String;
|
|
2922
|
+
readonly inputId: Schema.String;
|
|
2923
|
+
readonly inputSequence: Schema.Int;
|
|
2924
|
+
}>;
|
|
2925
|
+
}>, Schema.Struct<{
|
|
2926
|
+
readonly method: Schema.Literal<"terminal.session.resize">;
|
|
2927
|
+
readonly parameters: Schema.Struct<{
|
|
2928
|
+
readonly columns: Schema.Int;
|
|
2929
|
+
readonly rows: Schema.Int;
|
|
2930
|
+
readonly commandId: Schema.String;
|
|
2931
|
+
readonly terminalId: Schema.String;
|
|
2932
|
+
readonly expectedTerminalRevision: Schema.String;
|
|
2933
|
+
readonly controller: Schema.Struct<{
|
|
2934
|
+
readonly epoch: Schema.String;
|
|
2935
|
+
readonly expiresAt: Schema.String;
|
|
2936
|
+
readonly id: Schema.String;
|
|
2937
|
+
readonly revision: Schema.String;
|
|
2938
|
+
readonly terminalGeneration: Schema.Int;
|
|
2939
|
+
readonly terminalId: Schema.String;
|
|
2940
|
+
}>;
|
|
2941
|
+
}>;
|
|
2942
|
+
}>, Schema.Struct<{
|
|
2943
|
+
readonly method: Schema.Literal<"terminal.session.signal">;
|
|
2944
|
+
readonly parameters: Schema.Struct<{
|
|
2945
|
+
readonly commandId: Schema.String;
|
|
2946
|
+
readonly terminalId: Schema.String;
|
|
2947
|
+
readonly expectedTerminalRevision: Schema.String;
|
|
2948
|
+
readonly controller: Schema.Struct<{
|
|
2949
|
+
readonly epoch: Schema.String;
|
|
2950
|
+
readonly expiresAt: Schema.String;
|
|
2951
|
+
readonly id: Schema.String;
|
|
2952
|
+
readonly revision: Schema.String;
|
|
2953
|
+
readonly terminalGeneration: Schema.Int;
|
|
2954
|
+
readonly terminalId: Schema.String;
|
|
2955
|
+
}>;
|
|
2956
|
+
readonly signal: Schema.Literals<readonly ["hangup", "interrupt", "terminate"]>;
|
|
2957
|
+
}>;
|
|
2958
|
+
}>, Schema.Struct<{
|
|
2959
|
+
readonly method: Schema.Literal<"terminal.session.close">;
|
|
2960
|
+
readonly parameters: Schema.Struct<{
|
|
2961
|
+
commandId: Schema.String;
|
|
2962
|
+
terminalId: Schema.String;
|
|
2963
|
+
expectedTerminalRevision: Schema.String;
|
|
2964
|
+
controller: Schema.Struct<{
|
|
2965
|
+
readonly epoch: Schema.String;
|
|
2966
|
+
readonly expiresAt: Schema.String;
|
|
2967
|
+
readonly id: Schema.String;
|
|
2968
|
+
readonly revision: Schema.String;
|
|
2969
|
+
readonly terminalGeneration: Schema.Int;
|
|
2970
|
+
readonly terminalId: Schema.String;
|
|
2971
|
+
}>;
|
|
2972
|
+
}>;
|
|
2973
|
+
}>, Schema.Struct<{
|
|
2974
|
+
readonly method: Schema.Literal<"terminal.session.restart">;
|
|
2975
|
+
readonly parameters: Schema.Struct<{
|
|
2976
|
+
commandId: Schema.String;
|
|
2977
|
+
terminalId: Schema.String;
|
|
2978
|
+
expectedTerminalRevision: Schema.String;
|
|
2979
|
+
controller: Schema.Struct<{
|
|
2980
|
+
readonly epoch: Schema.String;
|
|
2981
|
+
readonly expiresAt: Schema.String;
|
|
2982
|
+
readonly id: Schema.String;
|
|
2983
|
+
readonly revision: Schema.String;
|
|
2984
|
+
readonly terminalGeneration: Schema.Int;
|
|
2985
|
+
readonly terminalId: Schema.String;
|
|
2986
|
+
}>;
|
|
2987
|
+
}>;
|
|
2988
|
+
}>, Schema.Struct<{
|
|
2989
|
+
readonly method: Schema.Literal<"terminal.session.delete">;
|
|
2990
|
+
readonly parameters: Schema.Struct<{
|
|
2991
|
+
readonly commandId: Schema.String;
|
|
2992
|
+
readonly terminalId: Schema.String;
|
|
2993
|
+
readonly expectedTerminalRevision: Schema.String;
|
|
2994
|
+
readonly terminalGeneration: Schema.Int;
|
|
2995
|
+
}>;
|
|
2996
|
+
}>, Schema.Struct<{
|
|
2997
|
+
readonly method: Schema.Literal<"terminal.mutation.reconcile">;
|
|
2998
|
+
readonly parameters: Schema.Union<readonly [Schema.Struct<{
|
|
2999
|
+
readonly commandId: Schema.String;
|
|
3000
|
+
readonly terminalId: Schema.String;
|
|
3001
|
+
readonly mutationSequence: Schema.Int;
|
|
3002
|
+
readonly operation: Schema.Literals<readonly ["close", "controller.acquire", "controller.release", "controller.renew", "controller.request", "create", "delete", "resize", "signal", "write"]>;
|
|
3003
|
+
readonly terminalGeneration: Schema.Int;
|
|
3004
|
+
}>, Schema.Struct<{
|
|
3005
|
+
readonly commandId: Schema.String;
|
|
3006
|
+
readonly terminalId: Schema.String;
|
|
3007
|
+
readonly mutationSequence: Schema.Int;
|
|
3008
|
+
readonly operation: Schema.Literal<"restart">;
|
|
3009
|
+
readonly plannedTargetTerminalGeneration: Schema.Int;
|
|
3010
|
+
readonly sourceTerminalGeneration: Schema.Int;
|
|
3011
|
+
}>]>;
|
|
3012
|
+
}>]>]>, Schema.Union<readonly [Schema.Struct<{
|
|
3013
|
+
readonly method: Schema.Literal<"turn.interrupt">;
|
|
3014
|
+
readonly parameters: Schema.Struct<{
|
|
3015
|
+
readonly commandId: Schema.String;
|
|
3016
|
+
readonly expectedRevision: Schema.String;
|
|
3017
|
+
readonly turnId: Schema.String;
|
|
3018
|
+
}>;
|
|
3019
|
+
}>, Schema.Struct<{
|
|
3020
|
+
readonly method: Schema.Literal<"turn.send">;
|
|
3021
|
+
readonly parameters: Schema.Struct<{
|
|
3022
|
+
readonly commandId: Schema.String;
|
|
3023
|
+
readonly expectedRevision: Schema.String;
|
|
3024
|
+
readonly input: Schema.Struct<{
|
|
3025
|
+
readonly text: Schema.String;
|
|
3026
|
+
readonly type: Schema.Literal<"text">;
|
|
3027
|
+
}>;
|
|
3028
|
+
readonly sessionId: Schema.String;
|
|
3029
|
+
}>;
|
|
3030
|
+
}>, Schema.Struct<{
|
|
3031
|
+
readonly method: Schema.Literal<"turn.show">;
|
|
3032
|
+
readonly parameters: Schema.Struct<{
|
|
3033
|
+
readonly turnId: Schema.String;
|
|
3034
|
+
}>;
|
|
3035
|
+
}>, Schema.Struct<{
|
|
3036
|
+
readonly method: Schema.Literal<"turn.wait">;
|
|
3037
|
+
readonly parameters: Schema.Struct<{
|
|
3038
|
+
readonly mode: Schema.Literals<readonly ["all", "any"]>;
|
|
3039
|
+
readonly turnIds: Schema.$Array<Schema.String>;
|
|
3040
|
+
readonly waitMilliseconds: Schema.Int;
|
|
3041
|
+
}>;
|
|
3042
|
+
}>]>, Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
|
|
3043
|
+
readonly method: Schema.Literal<"voice.managed-turn.preview">;
|
|
3044
|
+
readonly parameters: Schema.Struct<{
|
|
3045
|
+
expectedSessionRevision: Schema.String;
|
|
3046
|
+
projectId: Schema.String;
|
|
3047
|
+
scopeId: Schema.String;
|
|
3048
|
+
sessionId: Schema.String;
|
|
3049
|
+
systemPromptSha256: Schema.String;
|
|
3050
|
+
toolCallId: Schema.String;
|
|
3051
|
+
utterance: Schema.String;
|
|
3052
|
+
}>;
|
|
3053
|
+
}>, Schema.Struct<{
|
|
3054
|
+
readonly method: Schema.Literal<"voice.managed-turn.confirm">;
|
|
3055
|
+
readonly parameters: Schema.Struct<{
|
|
3056
|
+
readonly expectedSessionRevision: Schema.String;
|
|
3057
|
+
readonly projectId: Schema.String;
|
|
3058
|
+
readonly scopeId: Schema.String;
|
|
3059
|
+
readonly sessionId: Schema.String;
|
|
3060
|
+
readonly systemPromptSha256: Schema.String;
|
|
3061
|
+
readonly toolCallId: Schema.String;
|
|
3062
|
+
readonly utterance: Schema.String;
|
|
3063
|
+
readonly confirmation: Schema.Struct<{
|
|
3064
|
+
readonly action: Schema.Literal<"turn.send">;
|
|
3065
|
+
readonly commandId: Schema.String;
|
|
3066
|
+
readonly inputDigest: Schema.String;
|
|
3067
|
+
readonly proof: Schema.String;
|
|
3068
|
+
readonly sessionId: Schema.String;
|
|
3069
|
+
}>;
|
|
3070
|
+
}>;
|
|
3071
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
3072
|
+
readonly method: Schema.Literal<"voice.orchestrator.context.show">;
|
|
3073
|
+
readonly parameters: Schema.declare<Readonly<Record<string, never>>, Readonly<Record<string, never>>>;
|
|
3074
|
+
}>, Schema.Struct<{
|
|
3075
|
+
readonly method: Schema.Literal<"voice.orchestrator.tool.call">;
|
|
3076
|
+
readonly parameters: Schema.Struct<{
|
|
3077
|
+
readonly call: Schema.Unknown;
|
|
3078
|
+
readonly scopeId: Schema.String;
|
|
3079
|
+
}>;
|
|
3080
|
+
}>]>, Schema.Union<readonly [Schema.Struct<{
|
|
3081
|
+
readonly method: Schema.Literal<"voice.pi.relay.preview">;
|
|
3082
|
+
readonly parameters: Schema.Struct<{
|
|
3083
|
+
body: Schema.String;
|
|
3084
|
+
commandId: Schema.String;
|
|
3085
|
+
expectedContextRevision: Schema.String;
|
|
3086
|
+
expectedWorkspaceRevision: Schema.String;
|
|
3087
|
+
workspaceId: Schema.String;
|
|
3088
|
+
}>;
|
|
3089
|
+
}>, Schema.Struct<{
|
|
3090
|
+
readonly method: Schema.Literal<"voice.pi.relay">;
|
|
3091
|
+
readonly parameters: Schema.Struct<{
|
|
3092
|
+
readonly body: Schema.String;
|
|
3093
|
+
readonly commandId: Schema.String;
|
|
3094
|
+
readonly expectedContextRevision: Schema.String;
|
|
3095
|
+
readonly expectedWorkspaceRevision: Schema.String;
|
|
3096
|
+
readonly workspaceId: Schema.String;
|
|
3097
|
+
readonly proof: Schema.String;
|
|
3098
|
+
readonly sessionId: Schema.String;
|
|
3099
|
+
}>;
|
|
3100
|
+
}>, Schema.Struct<{
|
|
3101
|
+
readonly method: Schema.Literal<"voice.pi.relay.reconcile">;
|
|
3102
|
+
readonly parameters: Schema.Struct<{
|
|
3103
|
+
readonly commandId: Schema.String;
|
|
3104
|
+
}>;
|
|
3105
|
+
}>]>]>]>;
|
|
3106
|
+
readonly protocolVersion: Schema.Literal<"maia.protocol/v1alpha1">;
|
|
3107
|
+
}>;
|
|
3108
|
+
export declare const localNodeTokenEffectSchema: Schema.String;
|
|
3109
|
+
export declare const localNodeInvocationAuthenticationEffectSchema: Schema.Struct<{
|
|
3110
|
+
readonly credential: Schema.String;
|
|
3111
|
+
readonly scheme: Schema.Literal<"maia.invocation-attachment/v1">;
|
|
3112
|
+
}>;
|
|
3113
|
+
export declare const localNodeStatusResultEffectSchema: Schema.Struct<{
|
|
3114
|
+
readonly instanceId: Schema.String;
|
|
3115
|
+
readonly lifecycle: Schema.Literals<readonly ["starting", "ready", "draining", "stopped", "failed"]>;
|
|
3116
|
+
readonly pid: Schema.Int;
|
|
3117
|
+
readonly profile: Schema.String;
|
|
3118
|
+
readonly startedAt: Schema.String;
|
|
3119
|
+
readonly method: Schema.Literal<"node.status">;
|
|
3120
|
+
readonly processResources: Schema.Struct<{
|
|
3121
|
+
readonly activeTrees: Schema.Int;
|
|
3122
|
+
readonly admission: Schema.Struct<{
|
|
3123
|
+
readonly availableTrees: Schema.Int;
|
|
3124
|
+
readonly capacity: Schema.Int;
|
|
3125
|
+
readonly queuedSpawns: Schema.Literal<0>;
|
|
3126
|
+
readonly state: Schema.Literals<readonly ["available", "degraded", "pressured", "saturated", "unavailable"]>;
|
|
3127
|
+
readonly usedTrees: Schema.Int;
|
|
3128
|
+
}>;
|
|
3129
|
+
readonly capability: Schema.Union<readonly [Schema.Struct<{
|
|
3130
|
+
readonly hardLimitEnforcement: Schema.Literal<"enforced">;
|
|
3131
|
+
readonly metricSampling: Schema.Literal<"host_sampled">;
|
|
3132
|
+
readonly mode: Schema.Literal<"hard_containment">;
|
|
3133
|
+
readonly observedPressureTermination: Schema.Literal<"disabled">;
|
|
3134
|
+
readonly releaseQualified: Schema.Literal<false>;
|
|
3135
|
+
readonly sourceCandidate: Schema.Literal<true>;
|
|
3136
|
+
}>, Schema.Struct<{
|
|
3137
|
+
readonly hardLimitEnforcement: Schema.Literal<"unavailable">;
|
|
3138
|
+
readonly metricSampling: Schema.Literal<"host_sampled">;
|
|
3139
|
+
readonly mode: Schema.Literal<"macos_cooperative">;
|
|
3140
|
+
readonly observedPressureTermination: Schema.Literal<"disabled">;
|
|
3141
|
+
readonly releaseQualified: Schema.Literal<false>;
|
|
3142
|
+
readonly sourceCandidate: Schema.Literal<true>;
|
|
3143
|
+
}>, Schema.Struct<{
|
|
3144
|
+
readonly hardLimitEnforcement: Schema.Literal<"unavailable">;
|
|
3145
|
+
readonly metricSampling: Schema.Literal<"unavailable">;
|
|
3146
|
+
readonly mode: Schema.Literal<"unavailable">;
|
|
3147
|
+
readonly observedPressureTermination: Schema.Literal<"disabled">;
|
|
3148
|
+
readonly releaseQualified: Schema.Literal<false>;
|
|
3149
|
+
readonly sourceCandidate: Schema.Literal<false>;
|
|
3150
|
+
}>]>;
|
|
3151
|
+
readonly cleanupUnknownTrees: Schema.Int;
|
|
3152
|
+
readonly fencedTrees: Schema.Int;
|
|
3153
|
+
readonly nextStep: Schema.Literals<readonly ["close_idle_terminal", "inspect_cleanup_unknown", "inspect_observed_pressure", "none", "verify_native_host"]>;
|
|
3154
|
+
readonly observations: Schema.Struct<{
|
|
3155
|
+
readonly cpuTimeMilliseconds: Schema.Struct<{
|
|
3156
|
+
readonly availableTrees: Schema.Int;
|
|
3157
|
+
readonly budget: Schema.Literals<readonly ["declared_per_tree_limit", "unavailable_not_declared"]>;
|
|
3158
|
+
readonly maximumValue: Schema.optional<Schema.Int>;
|
|
3159
|
+
readonly state: Schema.Literals<readonly ["available", "partial", "unavailable"]>;
|
|
3160
|
+
readonly unavailableTrees: Schema.Int;
|
|
3161
|
+
readonly warningTrees: Schema.Int;
|
|
3162
|
+
}>;
|
|
3163
|
+
readonly fileDescriptorCount: Schema.Struct<{
|
|
3164
|
+
readonly availableTrees: Schema.Int;
|
|
3165
|
+
readonly budget: Schema.Literals<readonly ["declared_per_tree_limit", "unavailable_not_declared"]>;
|
|
3166
|
+
readonly maximumValue: Schema.optional<Schema.Int>;
|
|
3167
|
+
readonly state: Schema.Literals<readonly ["available", "partial", "unavailable"]>;
|
|
3168
|
+
readonly unavailableTrees: Schema.Int;
|
|
3169
|
+
readonly warningTrees: Schema.Int;
|
|
3170
|
+
}>;
|
|
3171
|
+
readonly ioReadBytes: Schema.Struct<{
|
|
3172
|
+
readonly availableTrees: Schema.Int;
|
|
3173
|
+
readonly budget: Schema.Literals<readonly ["declared_per_tree_limit", "unavailable_not_declared"]>;
|
|
3174
|
+
readonly maximumValue: Schema.optional<Schema.Int>;
|
|
3175
|
+
readonly state: Schema.Literals<readonly ["available", "partial", "unavailable"]>;
|
|
3176
|
+
readonly unavailableTrees: Schema.Int;
|
|
3177
|
+
readonly warningTrees: Schema.Int;
|
|
3178
|
+
}>;
|
|
3179
|
+
readonly ioWriteBytes: Schema.Struct<{
|
|
3180
|
+
readonly availableTrees: Schema.Int;
|
|
3181
|
+
readonly budget: Schema.Literals<readonly ["declared_per_tree_limit", "unavailable_not_declared"]>;
|
|
3182
|
+
readonly maximumValue: Schema.optional<Schema.Int>;
|
|
3183
|
+
readonly state: Schema.Literals<readonly ["available", "partial", "unavailable"]>;
|
|
3184
|
+
readonly unavailableTrees: Schema.Int;
|
|
3185
|
+
readonly warningTrees: Schema.Int;
|
|
3186
|
+
}>;
|
|
3187
|
+
readonly observedPeakRssBytes: Schema.Struct<{
|
|
3188
|
+
readonly availableTrees: Schema.Int;
|
|
3189
|
+
readonly budget: Schema.Literals<readonly ["declared_per_tree_limit", "unavailable_not_declared"]>;
|
|
3190
|
+
readonly maximumValue: Schema.optional<Schema.Int>;
|
|
3191
|
+
readonly state: Schema.Literals<readonly ["available", "partial", "unavailable"]>;
|
|
3192
|
+
readonly unavailableTrees: Schema.Int;
|
|
3193
|
+
readonly warningTrees: Schema.Int;
|
|
3194
|
+
}>;
|
|
3195
|
+
readonly processCount: Schema.Struct<{
|
|
3196
|
+
readonly availableTrees: Schema.Int;
|
|
3197
|
+
readonly budget: Schema.Literals<readonly ["declared_per_tree_limit", "unavailable_not_declared"]>;
|
|
3198
|
+
readonly maximumValue: Schema.optional<Schema.Int>;
|
|
3199
|
+
readonly state: Schema.Literals<readonly ["available", "partial", "unavailable"]>;
|
|
3200
|
+
readonly unavailableTrees: Schema.Int;
|
|
3201
|
+
readonly warningTrees: Schema.Int;
|
|
3202
|
+
}>;
|
|
3203
|
+
readonly rssBytes: Schema.Struct<{
|
|
3204
|
+
readonly availableTrees: Schema.Int;
|
|
3205
|
+
readonly budget: Schema.Literals<readonly ["declared_per_tree_limit", "unavailable_not_declared"]>;
|
|
3206
|
+
readonly maximumValue: Schema.optional<Schema.Int>;
|
|
3207
|
+
readonly state: Schema.Literals<readonly ["available", "partial", "unavailable"]>;
|
|
3208
|
+
readonly unavailableTrees: Schema.Int;
|
|
3209
|
+
readonly warningTrees: Schema.Int;
|
|
3210
|
+
}>;
|
|
3211
|
+
readonly treeCount: Schema.Int;
|
|
3212
|
+
}>;
|
|
3213
|
+
readonly pressure: Schema.Literals<readonly ["admission_degraded", "cleanup_unknown", "healthy", "observed_pressure", "warning"]>;
|
|
3214
|
+
readonly supervision: Schema.Struct<{
|
|
3215
|
+
readonly trackedTrees: Schema.Int;
|
|
3216
|
+
readonly watcherFibers: Schema.Int;
|
|
3217
|
+
}>;
|
|
3218
|
+
}>;
|
|
3219
|
+
readonly storage: Schema.Struct<{
|
|
3220
|
+
readonly integrity: Schema.Literal<"ok">;
|
|
3221
|
+
readonly journalMode: Schema.Literal<"wal">;
|
|
3222
|
+
readonly schemaTag: Schema.String;
|
|
3223
|
+
readonly schemaVersion: Schema.Int;
|
|
3224
|
+
}>;
|
|
3225
|
+
}>;
|
|
3226
|
+
export declare const localNodeShutdownResultEffectSchema: Schema.Struct<{
|
|
3227
|
+
readonly accepted: Schema.Literal<true>;
|
|
3228
|
+
readonly method: Schema.Literal<"node.shutdown">;
|
|
3229
|
+
}>;
|
|
3230
|
+
export declare const monitorBootstrapCreateResultEffectSchema: Schema.Struct<{
|
|
3231
|
+
readonly expiresAt: Schema.String;
|
|
3232
|
+
readonly instanceId: Schema.String;
|
|
3233
|
+
readonly method: Schema.Literal<"monitor.bootstrap.create">;
|
|
3234
|
+
readonly url: Schema.String;
|
|
3235
|
+
}>;
|
|
3236
|
+
/** Named members keep the declaration of this wide union small. */
|
|
3237
|
+
type LocalNodeSuccessResultMembers = readonly [
|
|
3238
|
+
typeof presentationResultEffectSchema,
|
|
3239
|
+
typeof executionSuccessResultEffectSchema,
|
|
3240
|
+
typeof executionRelocationSuccessResultEffectSchema,
|
|
3241
|
+
typeof executionWorktreeSuccessResultEffectSchema,
|
|
3242
|
+
typeof integrationAuthorizationSuccessResultEffectSchema,
|
|
3243
|
+
typeof interactionResultEffectSchema,
|
|
3244
|
+
typeof approvalResultEffectSchema,
|
|
3245
|
+
typeof invocationContextSuccessResultEffectSchema,
|
|
3246
|
+
typeof installedHarnessListResultEffectSchema,
|
|
3247
|
+
typeof localNodeStatusResultEffectSchema,
|
|
3248
|
+
typeof localNodeShutdownResultEffectSchema,
|
|
3249
|
+
typeof monitorBootstrapCreateResultEffectSchema,
|
|
3250
|
+
typeof receiptGetResultEffectSchema,
|
|
3251
|
+
typeof receiptListResultEffectSchema,
|
|
3252
|
+
typeof orchestrationSuccessResultEffectSchema,
|
|
3253
|
+
typeof portLeaseResultEffectSchema,
|
|
3254
|
+
typeof referenceResultEffectSchema,
|
|
3255
|
+
typeof remoteNodeResultEffectSchema,
|
|
3256
|
+
typeof runLedgerResultEffectSchema,
|
|
3257
|
+
typeof projectGuardResultEffectSchema,
|
|
3258
|
+
typeof projectWorkspaceSuccessResultEffectSchema,
|
|
3259
|
+
typeof providerPoolListResultEffectSchema,
|
|
3260
|
+
typeof runtimeProbeResultEffectSchema,
|
|
3261
|
+
typeof sessionSuccessResultEffectSchema,
|
|
3262
|
+
typeof agentPermissionResultEffectSchema,
|
|
3263
|
+
typeof connectionResultEffectSchema,
|
|
3264
|
+
typeof containerResultEffectSchema,
|
|
3265
|
+
typeof holdResultEffectSchema,
|
|
3266
|
+
typeof discoveryResultEffectSchema,
|
|
3267
|
+
typeof terminalSuccessResultEffectSchema,
|
|
3268
|
+
typeof turnSuccessResultEffectSchema,
|
|
3269
|
+
typeof voiceSuccessResultEffectSchema
|
|
3270
|
+
];
|
|
3271
|
+
export declare const localNodeSuccessResultEffectSchema: Schema.Union<LocalNodeSuccessResultMembers>;
|
|
3272
|
+
export declare const localNodeSuccessEnvelopeEffectSchema: Schema.Struct<{
|
|
3273
|
+
readonly correlationId: Schema.optional<Schema.String>;
|
|
3274
|
+
readonly kind: Schema.Literal<"response">;
|
|
3275
|
+
readonly messageId: Schema.String;
|
|
3276
|
+
readonly payload: Schema.Struct<{
|
|
3277
|
+
readonly ok: Schema.Literal<true>;
|
|
3278
|
+
readonly result: Schema.Union<LocalNodeSuccessResultMembers>;
|
|
3279
|
+
}>;
|
|
3280
|
+
readonly protocolVersion: Schema.Literal<"maia.protocol/v1alpha1">;
|
|
3281
|
+
}>;
|
|
3282
|
+
export declare const localNodeResponseEnvelopeEffectSchema: Schema.Union<readonly [Schema.Struct<{
|
|
3283
|
+
readonly correlationId: Schema.optional<Schema.String>;
|
|
3284
|
+
readonly kind: Schema.Literal<"response">;
|
|
3285
|
+
readonly messageId: Schema.String;
|
|
3286
|
+
readonly payload: Schema.Struct<{
|
|
3287
|
+
readonly ok: Schema.Literal<true>;
|
|
3288
|
+
readonly result: Schema.Union<LocalNodeSuccessResultMembers>;
|
|
3289
|
+
}>;
|
|
3290
|
+
readonly protocolVersion: Schema.Literal<"maia.protocol/v1alpha1">;
|
|
3291
|
+
}>, Schema.Struct<{
|
|
3292
|
+
readonly correlationId: Schema.optional<Schema.String>;
|
|
3293
|
+
readonly kind: Schema.Literal<"response">;
|
|
3294
|
+
readonly messageId: Schema.String;
|
|
3295
|
+
readonly payload: Schema.Struct<{
|
|
3296
|
+
readonly error: Schema.Struct<{
|
|
3297
|
+
readonly code: Schema.String;
|
|
3298
|
+
readonly message: Schema.String;
|
|
3299
|
+
readonly retryable: Schema.Boolean;
|
|
3300
|
+
readonly saturation: Schema.optional<Schema.Literals<readonly ["admission", "account"]>>;
|
|
3301
|
+
}>;
|
|
3302
|
+
readonly ok: Schema.Literal<false>;
|
|
3303
|
+
}>;
|
|
3304
|
+
readonly protocolVersion: Schema.Literal<"maia.protocol/v1alpha1">;
|
|
3305
|
+
}>]>;
|
|
3306
|
+
export declare const nodeApiAuthenticationEffectSchema: Schema.Struct<{
|
|
3307
|
+
readonly scheme: Schema.Literal<"maia.node.bearer/v1">;
|
|
3308
|
+
readonly token: Schema.String;
|
|
3309
|
+
}>;
|
|
3310
|
+
export declare const nodeApiEndpointEffectSchema: Schema.Struct<{
|
|
3311
|
+
readonly observationPath: Schema.Literal<"/api/v1/observations">;
|
|
3312
|
+
readonly operationPath: Schema.Literal<"/api/v1/operations">;
|
|
3313
|
+
readonly origin: Schema.String;
|
|
3314
|
+
readonly transport: Schema.Literal<"http-websocket">;
|
|
3315
|
+
}>;
|
|
3316
|
+
export declare const nodeApiReadyRecordEffectSchema: Schema.Struct<{
|
|
3317
|
+
readonly instanceId: Schema.String;
|
|
3318
|
+
readonly pid: Schema.Int;
|
|
3319
|
+
readonly profile: Schema.String;
|
|
3320
|
+
readonly startedAt: Schema.String;
|
|
3321
|
+
readonly endpoint: Schema.Struct<{
|
|
3322
|
+
readonly observationPath: Schema.Literal<"/api/v1/observations">;
|
|
3323
|
+
readonly operationPath: Schema.Literal<"/api/v1/operations">;
|
|
3324
|
+
readonly origin: Schema.String;
|
|
3325
|
+
readonly transport: Schema.Literal<"http-websocket">;
|
|
3326
|
+
}>;
|
|
3327
|
+
readonly kind: Schema.Literal<"maia.node-api.ready">;
|
|
3328
|
+
readonly lifecycle: Schema.Literal<"ready">;
|
|
3329
|
+
readonly protocolVersion: Schema.Literal<"maia.protocol/v1alpha1">;
|
|
3330
|
+
readonly schemaVersion: Schema.Literal<"maia.node-api/v1">;
|
|
3331
|
+
}>;
|
|
3332
|
+
export declare const nodeApiConnectionDescriptorEffectSchema: Schema.Struct<{
|
|
3333
|
+
readonly instanceId: Schema.String;
|
|
3334
|
+
readonly pid: Schema.Int;
|
|
3335
|
+
readonly profile: Schema.String;
|
|
3336
|
+
readonly startedAt: Schema.String;
|
|
3337
|
+
readonly credentialPath: Schema.String;
|
|
3338
|
+
readonly descriptorVersion: Schema.Literal<1>;
|
|
3339
|
+
readonly endpoint: Schema.Struct<{
|
|
3340
|
+
readonly observationPath: Schema.Literal<"/api/v1/observations">;
|
|
3341
|
+
readonly operationPath: Schema.Literal<"/api/v1/operations">;
|
|
3342
|
+
readonly origin: Schema.String;
|
|
3343
|
+
readonly transport: Schema.Literal<"http-websocket">;
|
|
3344
|
+
}>;
|
|
3345
|
+
readonly kind: Schema.Literal<"maia.node-api.connection">;
|
|
3346
|
+
readonly lifecycle: Schema.Literal<"ready">;
|
|
3347
|
+
readonly lifecycleOwner: Schema.Literal<"desktop">;
|
|
3348
|
+
readonly protocolVersion: Schema.Literal<"maia.protocol/v1alpha1">;
|
|
3349
|
+
readonly schemaVersion: Schema.Literal<"maia.node-api/v1">;
|
|
3350
|
+
}>;
|
|
3351
|
+
export declare const nodeApiObservationScopeEffectSchema: Schema.Union<readonly [Schema.Struct<{
|
|
3352
|
+
readonly instanceId: Schema.String;
|
|
3353
|
+
readonly kind: Schema.Literal<"node">;
|
|
3354
|
+
}>, Schema.Struct<{
|
|
3355
|
+
readonly aggregateId: Schema.String;
|
|
3356
|
+
readonly aggregateType: Schema.String;
|
|
3357
|
+
readonly kind: Schema.Literal<"aggregate">;
|
|
3358
|
+
}>]>;
|
|
3359
|
+
export declare const nodeApiObservationSubscribeEffectSchema: Schema.Struct<{
|
|
3360
|
+
readonly authentication: Schema.Struct<{
|
|
3361
|
+
readonly scheme: Schema.Literal<"maia.node.bearer/v1">;
|
|
3362
|
+
readonly token: Schema.String;
|
|
3363
|
+
}>;
|
|
3364
|
+
readonly kind: Schema.Literal<"subscribe">;
|
|
3365
|
+
readonly messageId: Schema.String;
|
|
3366
|
+
readonly operationId: Schema.Literal<"observe.events">;
|
|
3367
|
+
readonly parameters: Schema.Struct<{
|
|
3368
|
+
readonly afterCursor: Schema.optional<Schema.String>;
|
|
3369
|
+
readonly maxBatchRecords: Schema.Int;
|
|
3370
|
+
readonly scopes: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
3371
|
+
readonly instanceId: Schema.String;
|
|
3372
|
+
readonly kind: Schema.Literal<"node">;
|
|
3373
|
+
}>, Schema.Struct<{
|
|
3374
|
+
readonly aggregateId: Schema.String;
|
|
3375
|
+
readonly aggregateType: Schema.String;
|
|
3376
|
+
readonly kind: Schema.Literal<"aggregate">;
|
|
3377
|
+
}>]>>;
|
|
3378
|
+
}>;
|
|
3379
|
+
readonly protocolVersion: Schema.Literal<"maia.protocol/v1alpha1">;
|
|
3380
|
+
readonly schemaVersion: Schema.Literal<"maia.node-api/v1">;
|
|
3381
|
+
}>;
|
|
3382
|
+
export declare const nodeApiObservedAggregateEffectSchema: Schema.Struct<{
|
|
3383
|
+
readonly aggregateId: Schema.String;
|
|
3384
|
+
readonly aggregateType: Schema.String;
|
|
3385
|
+
readonly revision: Schema.String;
|
|
3386
|
+
}>;
|
|
3387
|
+
export declare const nodeApiObservationRecordEffectSchema: Schema.Struct<{
|
|
3388
|
+
readonly aggregateId: Schema.String;
|
|
3389
|
+
readonly aggregateRevision: Schema.String;
|
|
3390
|
+
readonly aggregateType: Schema.String;
|
|
3391
|
+
readonly eventCursor: Schema.String;
|
|
3392
|
+
readonly eventType: Schema.String;
|
|
3393
|
+
readonly recordedAt: Schema.String;
|
|
3394
|
+
readonly schemaVersion: Schema.Literal<"maia.node-observation/v1">;
|
|
3395
|
+
}>;
|
|
3396
|
+
export declare const nodeApiObservationCheckpointEffectSchema: Schema.Struct<{
|
|
3397
|
+
readonly coverage: Schema.Literals<readonly ["complete", "filtered"]>;
|
|
3398
|
+
readonly cursor: Schema.String;
|
|
3399
|
+
readonly eventCursor: Schema.String;
|
|
3400
|
+
readonly instanceId: Schema.String;
|
|
3401
|
+
readonly policyRevision: Schema.String;
|
|
3402
|
+
readonly principalId: Schema.String;
|
|
3403
|
+
readonly scopeDigest: Schema.String;
|
|
3404
|
+
}>;
|
|
3405
|
+
export declare const nodeApiObservationFrameEffectSchema: Schema.Union<readonly [Schema.Struct<{
|
|
3406
|
+
readonly correlationId: Schema.String;
|
|
3407
|
+
readonly operationId: Schema.Literal<"observe.events">;
|
|
3408
|
+
readonly protocolVersion: Schema.Literal<"maia.protocol/v1alpha1">;
|
|
3409
|
+
readonly schemaVersion: Schema.Literal<"maia.node-api/v1">;
|
|
3410
|
+
readonly streamId: Schema.String;
|
|
3411
|
+
readonly checkpoint: Schema.Struct<{
|
|
3412
|
+
readonly coverage: Schema.Literals<readonly ["complete", "filtered"]>;
|
|
3413
|
+
readonly cursor: Schema.String;
|
|
3414
|
+
readonly eventCursor: Schema.String;
|
|
3415
|
+
readonly instanceId: Schema.String;
|
|
3416
|
+
readonly policyRevision: Schema.String;
|
|
3417
|
+
readonly principalId: Schema.String;
|
|
3418
|
+
readonly scopeDigest: Schema.String;
|
|
3419
|
+
}>;
|
|
3420
|
+
readonly data: Schema.Struct<{
|
|
3421
|
+
readonly aggregates: Schema.$Array<Schema.Struct<{
|
|
3422
|
+
readonly aggregateId: Schema.String;
|
|
3423
|
+
readonly aggregateType: Schema.String;
|
|
3424
|
+
readonly revision: Schema.String;
|
|
3425
|
+
}>>;
|
|
3426
|
+
}>;
|
|
3427
|
+
readonly kind: Schema.Literal<"snapshot">;
|
|
3428
|
+
readonly sequence: Schema.Literal<"0">;
|
|
3429
|
+
readonly terminal: Schema.Literal<false>;
|
|
3430
|
+
}>, Schema.Struct<{
|
|
3431
|
+
readonly correlationId: Schema.String;
|
|
3432
|
+
readonly operationId: Schema.Literal<"observe.events">;
|
|
3433
|
+
readonly protocolVersion: Schema.Literal<"maia.protocol/v1alpha1">;
|
|
3434
|
+
readonly schemaVersion: Schema.Literal<"maia.node-api/v1">;
|
|
3435
|
+
readonly sequence: Schema.String;
|
|
3436
|
+
readonly streamId: Schema.String;
|
|
3437
|
+
readonly checkpoint: Schema.Struct<{
|
|
3438
|
+
readonly coverage: Schema.Literals<readonly ["complete", "filtered"]>;
|
|
3439
|
+
readonly cursor: Schema.String;
|
|
3440
|
+
readonly eventCursor: Schema.String;
|
|
3441
|
+
readonly instanceId: Schema.String;
|
|
3442
|
+
readonly policyRevision: Schema.String;
|
|
3443
|
+
readonly principalId: Schema.String;
|
|
3444
|
+
readonly scopeDigest: Schema.String;
|
|
3445
|
+
}>;
|
|
3446
|
+
readonly data: Schema.Struct<{
|
|
3447
|
+
readonly records: Schema.$Array<Schema.Struct<{
|
|
3448
|
+
readonly aggregateId: Schema.String;
|
|
3449
|
+
readonly aggregateRevision: Schema.String;
|
|
3450
|
+
readonly aggregateType: Schema.String;
|
|
3451
|
+
readonly eventCursor: Schema.String;
|
|
3452
|
+
readonly eventType: Schema.String;
|
|
3453
|
+
readonly recordedAt: Schema.String;
|
|
3454
|
+
readonly schemaVersion: Schema.Literal<"maia.node-observation/v1">;
|
|
3455
|
+
}>>;
|
|
3456
|
+
}>;
|
|
3457
|
+
readonly kind: Schema.Literal<"event">;
|
|
3458
|
+
readonly terminal: Schema.Literal<false>;
|
|
3459
|
+
}>, Schema.Struct<{
|
|
3460
|
+
readonly correlationId: Schema.String;
|
|
3461
|
+
readonly operationId: Schema.Literal<"observe.events">;
|
|
3462
|
+
readonly protocolVersion: Schema.Literal<"maia.protocol/v1alpha1">;
|
|
3463
|
+
readonly schemaVersion: Schema.Literal<"maia.node-api/v1">;
|
|
3464
|
+
readonly sequence: Schema.String;
|
|
3465
|
+
readonly streamId: Schema.String;
|
|
3466
|
+
readonly checkpoint: Schema.Struct<{
|
|
3467
|
+
readonly coverage: Schema.Literals<readonly ["complete", "filtered"]>;
|
|
3468
|
+
readonly cursor: Schema.String;
|
|
3469
|
+
readonly eventCursor: Schema.String;
|
|
3470
|
+
readonly instanceId: Schema.String;
|
|
3471
|
+
readonly policyRevision: Schema.String;
|
|
3472
|
+
readonly principalId: Schema.String;
|
|
3473
|
+
readonly scopeDigest: Schema.String;
|
|
3474
|
+
}>;
|
|
3475
|
+
readonly data: Schema.$Record<Schema.String, Schema.Never>;
|
|
3476
|
+
readonly kind: Schema.Literal<"heartbeat">;
|
|
3477
|
+
readonly terminal: Schema.Literal<false>;
|
|
3478
|
+
}>, Schema.Struct<{
|
|
3479
|
+
readonly correlationId: Schema.String;
|
|
3480
|
+
readonly operationId: Schema.Literal<"observe.events">;
|
|
3481
|
+
readonly protocolVersion: Schema.Literal<"maia.protocol/v1alpha1">;
|
|
3482
|
+
readonly schemaVersion: Schema.Literal<"maia.node-api/v1">;
|
|
3483
|
+
readonly sequence: Schema.String;
|
|
3484
|
+
readonly streamId: Schema.String;
|
|
3485
|
+
readonly checkpoint: Schema.Struct<{
|
|
3486
|
+
readonly coverage: Schema.Literals<readonly ["complete", "filtered"]>;
|
|
3487
|
+
readonly cursor: Schema.String;
|
|
3488
|
+
readonly eventCursor: Schema.String;
|
|
3489
|
+
readonly instanceId: Schema.String;
|
|
3490
|
+
readonly policyRevision: Schema.String;
|
|
3491
|
+
readonly principalId: Schema.String;
|
|
3492
|
+
readonly scopeDigest: Schema.String;
|
|
3493
|
+
}>;
|
|
3494
|
+
readonly data: Schema.Struct<{
|
|
3495
|
+
readonly headEventCursor: Schema.String;
|
|
3496
|
+
readonly oldestAvailableEventCursor: Schema.String;
|
|
3497
|
+
readonly reason: Schema.Literals<readonly ["backpressure", "cursor_expired"]>;
|
|
3498
|
+
readonly recovery: Schema.Literal<"resubscribe-without-cursor">;
|
|
3499
|
+
}>;
|
|
3500
|
+
readonly kind: Schema.Literal<"gap">;
|
|
3501
|
+
readonly terminal: Schema.Literal<true>;
|
|
3502
|
+
}>, Schema.Struct<{
|
|
3503
|
+
readonly correlationId: Schema.String;
|
|
3504
|
+
readonly operationId: Schema.Literal<"observe.events">;
|
|
3505
|
+
readonly protocolVersion: Schema.Literal<"maia.protocol/v1alpha1">;
|
|
3506
|
+
readonly schemaVersion: Schema.Literal<"maia.node-api/v1">;
|
|
3507
|
+
readonly sequence: Schema.String;
|
|
3508
|
+
readonly streamId: Schema.String;
|
|
3509
|
+
readonly data: Schema.Struct<{
|
|
3510
|
+
readonly current: Schema.Struct<{
|
|
3511
|
+
readonly instanceId: Schema.String;
|
|
3512
|
+
readonly policyRevision: Schema.String;
|
|
3513
|
+
readonly principalId: Schema.String;
|
|
3514
|
+
readonly scopeDigest: Schema.String;
|
|
3515
|
+
}>;
|
|
3516
|
+
readonly reason: Schema.Literals<readonly ["cursor_invalid", "epoch_changed", "policy_changed", "policy_revoked", "principal_changed", "scope_changed"]>;
|
|
3517
|
+
readonly recovery: Schema.Literal<"reauthenticate-and-resnapshot">;
|
|
3518
|
+
}>;
|
|
3519
|
+
readonly kind: Schema.Literal<"reset">;
|
|
3520
|
+
readonly terminal: Schema.Literal<true>;
|
|
3521
|
+
}>, Schema.Struct<{
|
|
3522
|
+
readonly correlationId: Schema.String;
|
|
3523
|
+
readonly operationId: Schema.Literal<"observe.events">;
|
|
3524
|
+
readonly protocolVersion: Schema.Literal<"maia.protocol/v1alpha1">;
|
|
3525
|
+
readonly schemaVersion: Schema.Literal<"maia.node-api/v1">;
|
|
3526
|
+
readonly sequence: Schema.String;
|
|
3527
|
+
readonly streamId: Schema.String;
|
|
3528
|
+
readonly data: Schema.Struct<{
|
|
3529
|
+
readonly error: Schema.Struct<{
|
|
3530
|
+
readonly code: Schema.String;
|
|
3531
|
+
readonly message: Schema.String;
|
|
3532
|
+
readonly retryable: Schema.Boolean;
|
|
3533
|
+
readonly saturation: Schema.optional<Schema.Literals<readonly ["admission", "account"]>>;
|
|
3534
|
+
}>;
|
|
3535
|
+
}>;
|
|
3536
|
+
readonly kind: Schema.Literal<"error">;
|
|
3537
|
+
readonly terminal: Schema.Literal<true>;
|
|
3538
|
+
}>, Schema.Struct<{
|
|
3539
|
+
readonly correlationId: Schema.String;
|
|
3540
|
+
readonly operationId: Schema.Literal<"observe.events">;
|
|
3541
|
+
readonly protocolVersion: Schema.Literal<"maia.protocol/v1alpha1">;
|
|
3542
|
+
readonly schemaVersion: Schema.Literal<"maia.node-api/v1">;
|
|
3543
|
+
readonly sequence: Schema.String;
|
|
3544
|
+
readonly streamId: Schema.String;
|
|
3545
|
+
readonly checkpoint: Schema.Struct<{
|
|
3546
|
+
readonly coverage: Schema.Literals<readonly ["complete", "filtered"]>;
|
|
3547
|
+
readonly cursor: Schema.String;
|
|
3548
|
+
readonly eventCursor: Schema.String;
|
|
3549
|
+
readonly instanceId: Schema.String;
|
|
3550
|
+
readonly policyRevision: Schema.String;
|
|
3551
|
+
readonly principalId: Schema.String;
|
|
3552
|
+
readonly scopeDigest: Schema.String;
|
|
3553
|
+
}>;
|
|
3554
|
+
readonly data: Schema.Struct<{
|
|
3555
|
+
readonly reason: Schema.Literals<readonly ["client_closed", "completed", "server_shutdown"]>;
|
|
3556
|
+
}>;
|
|
3557
|
+
readonly kind: Schema.Literal<"summary">;
|
|
3558
|
+
readonly terminal: Schema.Literal<true>;
|
|
3559
|
+
}>]>;
|
|
3560
|
+
export {};
|
|
3561
|
+
//# sourceMappingURL=effect-schema.d.ts.map
|