@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,2304 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
/**
|
|
3
|
+
* A person-readable Session name: one line of 1 to 80 characters without
|
|
4
|
+
* surrounding spaces. Titles need not be unique; a reference to one fails
|
|
5
|
+
* when it matches more than one Session.
|
|
6
|
+
*/
|
|
7
|
+
export declare const sessionTitleEffectSchema: Schema.String;
|
|
8
|
+
/** 1 to 100 items. */
|
|
9
|
+
export declare const pageSizeEffectSchema: Schema.Int;
|
|
10
|
+
export declare const sessionEffectSchema: Schema.Struct<{
|
|
11
|
+
readonly createdAt: Schema.String;
|
|
12
|
+
readonly id: Schema.String;
|
|
13
|
+
readonly projectId: Schema.String;
|
|
14
|
+
readonly revision: Schema.String;
|
|
15
|
+
readonly state: Schema.Literals<readonly ["idle", "starting", "running", "waiting-approval", "interrupted", "recovering", "stopping", "stopped", "failed"]>;
|
|
16
|
+
readonly updatedAt: Schema.String;
|
|
17
|
+
readonly workspaceId: Schema.String;
|
|
18
|
+
readonly workspaceRevision: Schema.String;
|
|
19
|
+
readonly agentDefinitionRef: Schema.optional<Schema.Struct<{
|
|
20
|
+
readonly contentDigest: Schema.String;
|
|
21
|
+
readonly key: Schema.String;
|
|
22
|
+
readonly version: Schema.String;
|
|
23
|
+
}>>;
|
|
24
|
+
readonly executor: Schema.optional<Schema.Struct<{
|
|
25
|
+
readonly connectionId: Schema.String;
|
|
26
|
+
readonly kind: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
|
|
27
|
+
readonly model: Schema.optional<Schema.String>;
|
|
28
|
+
}>>;
|
|
29
|
+
/** Why the runtime of a failed Session failed, when Maia knows. */
|
|
30
|
+
readonly failure: Schema.optional<Schema.Struct<{
|
|
31
|
+
readonly code: Schema.String;
|
|
32
|
+
readonly message: Schema.String;
|
|
33
|
+
}>>;
|
|
34
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
35
|
+
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
36
|
+
readonly title: Schema.optional<Schema.String>;
|
|
37
|
+
/** A coding Session's own worktree; a reading Session has none. */
|
|
38
|
+
readonly worktree: Schema.optional<Schema.Struct<{
|
|
39
|
+
readonly baseRef: Schema.String;
|
|
40
|
+
readonly baseRevision: Schema.String;
|
|
41
|
+
readonly branch: Schema.String;
|
|
42
|
+
readonly setup: Schema.Literals<readonly ["none", "pending", "succeeded", "failed"]>;
|
|
43
|
+
readonly skills: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
44
|
+
readonly digest: Schema.String;
|
|
45
|
+
readonly name: Schema.String;
|
|
46
|
+
}>>>;
|
|
47
|
+
readonly state: Schema.Literals<readonly ["active", "archived", "removed"]>;
|
|
48
|
+
}>>;
|
|
49
|
+
}>;
|
|
50
|
+
export declare const sessionEventEffectSchema: Schema.Union<readonly [Schema.Struct<{
|
|
51
|
+
readonly commandId: Schema.String;
|
|
52
|
+
readonly eventType: Schema.Literal<"session.created">;
|
|
53
|
+
readonly globalCursor: Schema.String;
|
|
54
|
+
readonly payload: Schema.Struct<{
|
|
55
|
+
/** An adopted Session resumes this native Claude Code or Codex session. */
|
|
56
|
+
readonly adoptedFrom: Schema.optional<Schema.Struct<{
|
|
57
|
+
readonly nativeId: Schema.String;
|
|
58
|
+
readonly workingDirectory: Schema.Literals<readonly ["original", "relocated"]>;
|
|
59
|
+
}>>;
|
|
60
|
+
readonly agentDefinitionRef: Schema.optional<Schema.Struct<{
|
|
61
|
+
readonly contentDigest: Schema.String;
|
|
62
|
+
readonly key: Schema.String;
|
|
63
|
+
readonly version: Schema.String;
|
|
64
|
+
}>>;
|
|
65
|
+
/** The account the Session binds to, named or picked by the Node. */
|
|
66
|
+
readonly executor: Schema.optional<Schema.Struct<{
|
|
67
|
+
readonly connectionId: Schema.String;
|
|
68
|
+
readonly kind: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
|
|
69
|
+
readonly model: Schema.optional<Schema.String>;
|
|
70
|
+
}>>;
|
|
71
|
+
readonly projectId: Schema.String;
|
|
72
|
+
readonly workspaceId: Schema.String;
|
|
73
|
+
readonly workspaceRevision: Schema.String;
|
|
74
|
+
/** The worktree Maia created for a coding Session. */
|
|
75
|
+
readonly worktree: Schema.optional<Schema.Struct<{
|
|
76
|
+
readonly baseRef: Schema.String;
|
|
77
|
+
readonly baseRevision: Schema.String;
|
|
78
|
+
readonly branch: Schema.String;
|
|
79
|
+
}>>;
|
|
80
|
+
}>;
|
|
81
|
+
readonly recordedAt: Schema.String;
|
|
82
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
83
|
+
readonly sessionCursor: Schema.String;
|
|
84
|
+
readonly sessionId: Schema.String;
|
|
85
|
+
}>, Schema.Struct<{
|
|
86
|
+
readonly commandId: Schema.String;
|
|
87
|
+
readonly eventType: Schema.Literal<"session.start.requested">;
|
|
88
|
+
readonly globalCursor: Schema.String;
|
|
89
|
+
readonly payload: Schema.$Record<Schema.String, Schema.Never>;
|
|
90
|
+
readonly recordedAt: Schema.String;
|
|
91
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
92
|
+
readonly sessionCursor: Schema.String;
|
|
93
|
+
readonly sessionId: Schema.String;
|
|
94
|
+
}>, Schema.Struct<{
|
|
95
|
+
readonly commandId: Schema.String;
|
|
96
|
+
readonly eventType: Schema.Literal<"session.runtime.started">;
|
|
97
|
+
readonly globalCursor: Schema.String;
|
|
98
|
+
readonly payload: Schema.Struct<{
|
|
99
|
+
readonly executableVersion: Schema.String;
|
|
100
|
+
}>;
|
|
101
|
+
readonly recordedAt: Schema.String;
|
|
102
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
103
|
+
readonly sessionCursor: Schema.String;
|
|
104
|
+
readonly sessionId: Schema.String;
|
|
105
|
+
}>, Schema.Struct<{
|
|
106
|
+
readonly commandId: Schema.String;
|
|
107
|
+
readonly eventType: Schema.Literal<"session.runtime.recovery.requested">;
|
|
108
|
+
readonly globalCursor: Schema.String;
|
|
109
|
+
readonly payload: Schema.$Record<Schema.String, Schema.Never>;
|
|
110
|
+
readonly recordedAt: Schema.String;
|
|
111
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
112
|
+
readonly sessionCursor: Schema.String;
|
|
113
|
+
readonly sessionId: Schema.String;
|
|
114
|
+
}>, Schema.Struct<{
|
|
115
|
+
readonly commandId: Schema.String;
|
|
116
|
+
readonly eventType: Schema.Literal<"session.runtime.resumed">;
|
|
117
|
+
readonly globalCursor: Schema.String;
|
|
118
|
+
readonly payload: Schema.Struct<{
|
|
119
|
+
readonly executableVersion: Schema.String;
|
|
120
|
+
}>;
|
|
121
|
+
readonly recordedAt: Schema.String;
|
|
122
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
123
|
+
readonly sessionCursor: Schema.String;
|
|
124
|
+
readonly sessionId: Schema.String;
|
|
125
|
+
}>, Schema.Struct<{
|
|
126
|
+
readonly commandId: Schema.String;
|
|
127
|
+
readonly eventType: Schema.Literal<"session.runtime.failed">;
|
|
128
|
+
readonly globalCursor: Schema.String;
|
|
129
|
+
readonly payload: Schema.Struct<{
|
|
130
|
+
readonly failure: Schema.optional<Schema.Struct<{
|
|
131
|
+
readonly code: Schema.String;
|
|
132
|
+
readonly message: Schema.String;
|
|
133
|
+
}>>;
|
|
134
|
+
readonly reason: Schema.Literals<readonly ["activation_failed", "activation_outcome_unknown", "runtime_exited"]>;
|
|
135
|
+
}>;
|
|
136
|
+
readonly recordedAt: Schema.String;
|
|
137
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
138
|
+
readonly sessionCursor: Schema.String;
|
|
139
|
+
readonly sessionId: Schema.String;
|
|
140
|
+
}>, Schema.Struct<{
|
|
141
|
+
readonly commandId: Schema.String;
|
|
142
|
+
readonly eventType: Schema.Literal<"session.stopped">;
|
|
143
|
+
readonly globalCursor: Schema.String;
|
|
144
|
+
readonly payload: Schema.Struct<{
|
|
145
|
+
readonly holdId: Schema.optional<Schema.String>;
|
|
146
|
+
}>;
|
|
147
|
+
readonly recordedAt: Schema.String;
|
|
148
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
149
|
+
readonly sessionCursor: Schema.String;
|
|
150
|
+
readonly sessionId: Schema.String;
|
|
151
|
+
}>, Schema.Struct<{
|
|
152
|
+
readonly commandId: Schema.String;
|
|
153
|
+
readonly eventType: Schema.Literal<"session.resume.requested">;
|
|
154
|
+
readonly globalCursor: Schema.String;
|
|
155
|
+
readonly payload: Schema.$Record<Schema.String, Schema.Never>;
|
|
156
|
+
readonly recordedAt: Schema.String;
|
|
157
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
158
|
+
readonly sessionCursor: Schema.String;
|
|
159
|
+
readonly sessionId: Schema.String;
|
|
160
|
+
}>, Schema.Struct<{
|
|
161
|
+
readonly commandId: Schema.String;
|
|
162
|
+
readonly eventType: Schema.Literal<"session.archived">;
|
|
163
|
+
readonly globalCursor: Schema.String;
|
|
164
|
+
readonly payload: Schema.Struct<{
|
|
165
|
+
readonly branch: Schema.String;
|
|
166
|
+
readonly branchRevision: Schema.String;
|
|
167
|
+
readonly pruneAfter: Schema.String;
|
|
168
|
+
readonly snapshot: Schema.Literals<readonly ["clean", "committed"]>;
|
|
169
|
+
}>;
|
|
170
|
+
readonly recordedAt: Schema.String;
|
|
171
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
172
|
+
readonly sessionCursor: Schema.String;
|
|
173
|
+
readonly sessionId: Schema.String;
|
|
174
|
+
}>, Schema.Struct<{
|
|
175
|
+
readonly commandId: Schema.String;
|
|
176
|
+
readonly eventType: Schema.Literal<"session.renamed">;
|
|
177
|
+
readonly globalCursor: Schema.String;
|
|
178
|
+
readonly payload: Schema.Struct<{
|
|
179
|
+
readonly title: Schema.String;
|
|
180
|
+
}>;
|
|
181
|
+
readonly recordedAt: Schema.String;
|
|
182
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
183
|
+
readonly sessionCursor: Schema.String;
|
|
184
|
+
readonly sessionId: Schema.String;
|
|
185
|
+
}>, Schema.Struct<{
|
|
186
|
+
readonly commandId: Schema.String;
|
|
187
|
+
readonly eventType: Schema.Literal<"session.worktree.removed">;
|
|
188
|
+
readonly globalCursor: Schema.String;
|
|
189
|
+
readonly payload: Schema.Struct<{
|
|
190
|
+
readonly branch: Schema.String;
|
|
191
|
+
readonly cleanupOperationId: Schema.String;
|
|
192
|
+
}>;
|
|
193
|
+
readonly recordedAt: Schema.String;
|
|
194
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
195
|
+
readonly sessionCursor: Schema.String;
|
|
196
|
+
readonly sessionId: Schema.String;
|
|
197
|
+
}>, Schema.Union<readonly [Schema.Struct<{
|
|
198
|
+
readonly commandId: Schema.String;
|
|
199
|
+
readonly globalCursor: Schema.String;
|
|
200
|
+
readonly recordedAt: Schema.String;
|
|
201
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
202
|
+
readonly sessionCursor: Schema.String;
|
|
203
|
+
readonly sessionId: Schema.String;
|
|
204
|
+
readonly eventType: Schema.Literal<"turn.queued">;
|
|
205
|
+
readonly payload: Schema.Struct<{
|
|
206
|
+
readonly turnId: Schema.String;
|
|
207
|
+
}>;
|
|
208
|
+
}>, Schema.Struct<{
|
|
209
|
+
readonly commandId: Schema.String;
|
|
210
|
+
readonly globalCursor: Schema.String;
|
|
211
|
+
readonly recordedAt: Schema.String;
|
|
212
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
213
|
+
readonly sessionCursor: Schema.String;
|
|
214
|
+
readonly sessionId: Schema.String;
|
|
215
|
+
readonly eventType: Schema.Literal<"turn.dispatching">;
|
|
216
|
+
readonly payload: Schema.Struct<{
|
|
217
|
+
readonly turnId: Schema.String;
|
|
218
|
+
}>;
|
|
219
|
+
}>, Schema.Struct<{
|
|
220
|
+
readonly commandId: Schema.String;
|
|
221
|
+
readonly globalCursor: Schema.String;
|
|
222
|
+
readonly recordedAt: Schema.String;
|
|
223
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
224
|
+
readonly sessionCursor: Schema.String;
|
|
225
|
+
readonly sessionId: Schema.String;
|
|
226
|
+
readonly eventType: Schema.Literal<"turn.started">;
|
|
227
|
+
readonly payload: Schema.Struct<{
|
|
228
|
+
readonly turnId: Schema.String;
|
|
229
|
+
}>;
|
|
230
|
+
}>, Schema.Struct<{
|
|
231
|
+
readonly commandId: Schema.String;
|
|
232
|
+
readonly globalCursor: Schema.String;
|
|
233
|
+
readonly recordedAt: Schema.String;
|
|
234
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
235
|
+
readonly sessionCursor: Schema.String;
|
|
236
|
+
readonly sessionId: Schema.String;
|
|
237
|
+
readonly eventType: Schema.Literal<"turn.completed">;
|
|
238
|
+
readonly payload: Schema.Struct<{
|
|
239
|
+
readonly turnId: Schema.String;
|
|
240
|
+
}>;
|
|
241
|
+
}>, Schema.Struct<{
|
|
242
|
+
readonly commandId: Schema.String;
|
|
243
|
+
readonly globalCursor: Schema.String;
|
|
244
|
+
readonly recordedAt: Schema.String;
|
|
245
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
246
|
+
readonly sessionCursor: Schema.String;
|
|
247
|
+
readonly sessionId: Schema.String;
|
|
248
|
+
readonly eventType: Schema.Literal<"turn.interrupted">;
|
|
249
|
+
readonly payload: Schema.Struct<{
|
|
250
|
+
readonly turnId: Schema.String;
|
|
251
|
+
}>;
|
|
252
|
+
}>, Schema.Struct<{
|
|
253
|
+
readonly commandId: Schema.String;
|
|
254
|
+
readonly globalCursor: Schema.String;
|
|
255
|
+
readonly recordedAt: Schema.String;
|
|
256
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
257
|
+
readonly sessionCursor: Schema.String;
|
|
258
|
+
readonly sessionId: Schema.String;
|
|
259
|
+
readonly eventType: Schema.Literal<"turn.failed">;
|
|
260
|
+
readonly payload: Schema.Struct<{
|
|
261
|
+
readonly turnId: Schema.String;
|
|
262
|
+
}>;
|
|
263
|
+
}>]>]>;
|
|
264
|
+
/**
|
|
265
|
+
* A Session runs on a named account (`connectionId`), on the account the Node
|
|
266
|
+
* picks for an executor kind (`executor`), or as a Maia agent, optionally from
|
|
267
|
+
* an Agent definition. A gateway Connection serves any executor, so it takes
|
|
268
|
+
* both `connectionId` and `executor`, and optionally the `model`. `role`
|
|
269
|
+
* (default `worker`) bounds what the Session's own credential reaches.
|
|
270
|
+
* A vendor executor Session with `worktree` is a coding Session: it gets its
|
|
271
|
+
* own worktree from the base ref of the Workspace's repository and may write
|
|
272
|
+
* inside it.
|
|
273
|
+
*/
|
|
274
|
+
export declare const sessionCreateParametersEffectSchema: Schema.Struct<{
|
|
275
|
+
readonly commandId: Schema.String;
|
|
276
|
+
readonly expectedRevision: Schema.Literal<"0">;
|
|
277
|
+
readonly workspaceId: Schema.String;
|
|
278
|
+
readonly connectionId: Schema.optional<Schema.String>;
|
|
279
|
+
readonly definitionRef: Schema.optional<Schema.Struct<{
|
|
280
|
+
readonly contentDigest: Schema.String;
|
|
281
|
+
readonly key: Schema.String;
|
|
282
|
+
readonly version: Schema.String;
|
|
283
|
+
}>>;
|
|
284
|
+
readonly executor: Schema.optional<Schema.Literals<readonly ["claude-code", "codex-cli"]>>;
|
|
285
|
+
readonly model: Schema.optional<Schema.String>;
|
|
286
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["orchestrator", "worker"]>>;
|
|
287
|
+
readonly title: Schema.optional<Schema.String>;
|
|
288
|
+
readonly worktree: Schema.optional<Schema.Struct<{
|
|
289
|
+
readonly baseRef: Schema.String;
|
|
290
|
+
}>>;
|
|
291
|
+
}>;
|
|
292
|
+
export declare const sessionSpawnParametersEffectSchema: Schema.Struct<{
|
|
293
|
+
readonly commandId: Schema.String;
|
|
294
|
+
readonly expectedRevision: Schema.Literal<"0">;
|
|
295
|
+
readonly workspaceId: Schema.String;
|
|
296
|
+
readonly definitionRef: Schema.optional<Schema.Struct<{
|
|
297
|
+
readonly contentDigest: Schema.String;
|
|
298
|
+
readonly key: Schema.String;
|
|
299
|
+
readonly version: Schema.String;
|
|
300
|
+
}>>;
|
|
301
|
+
readonly harness: Schema.Literals<readonly ["maia-agent", "pi"]>;
|
|
302
|
+
readonly parentSessionId: Schema.String;
|
|
303
|
+
}>;
|
|
304
|
+
/**
|
|
305
|
+
* One page of Sessions in creation order: of one Project, or of the whole
|
|
306
|
+
* Node without `projectId`; without `afterCursor` the first page and without
|
|
307
|
+
* `limit` `DEFAULT_SESSION_LIST_PAGE_SIZE` Sessions. `states` keeps Sessions
|
|
308
|
+
* in those states; `attention` keeps Sessions the Node reports an attention
|
|
309
|
+
* value for.
|
|
310
|
+
*/
|
|
311
|
+
export declare const sessionListParametersEffectSchema: Schema.Struct<{
|
|
312
|
+
readonly afterCursor: Schema.optional<Schema.String>;
|
|
313
|
+
readonly attention: Schema.optional<Schema.Boolean>;
|
|
314
|
+
readonly limit: Schema.optional<Schema.Int>;
|
|
315
|
+
readonly projectId: Schema.optional<Schema.String>;
|
|
316
|
+
readonly states: Schema.optional<Schema.$Array<Schema.Literals<readonly ["idle", "starting", "running", "waiting-approval", "interrupted", "recovering", "stopping", "stopped", "failed"]>>>;
|
|
317
|
+
}>;
|
|
318
|
+
export declare const sessionShowParametersEffectSchema: Schema.Struct<{
|
|
319
|
+
readonly sessionId: Schema.String;
|
|
320
|
+
}>;
|
|
321
|
+
export declare const sessionEventsListParametersEffectSchema: Schema.Struct<{
|
|
322
|
+
readonly afterSessionCursor: Schema.String;
|
|
323
|
+
readonly limit: Schema.Int;
|
|
324
|
+
readonly sessionId: Schema.String;
|
|
325
|
+
}>;
|
|
326
|
+
export declare const sessionStartParametersEffectSchema: Schema.Struct<{
|
|
327
|
+
readonly commandId: Schema.String;
|
|
328
|
+
readonly expectedRevision: Schema.String;
|
|
329
|
+
readonly sessionId: Schema.String;
|
|
330
|
+
}>;
|
|
331
|
+
/** A new title at the Session's current revision. */
|
|
332
|
+
export declare const sessionRenameParametersEffectSchema: Schema.Struct<{
|
|
333
|
+
readonly commandId: Schema.String;
|
|
334
|
+
readonly expectedRevision: Schema.String;
|
|
335
|
+
readonly sessionId: Schema.String;
|
|
336
|
+
readonly title: Schema.String;
|
|
337
|
+
}>;
|
|
338
|
+
/** Stop and resume take the same compare-and-set input as start. */
|
|
339
|
+
export declare const sessionStopParametersEffectSchema: Schema.Struct<{
|
|
340
|
+
readonly commandId: Schema.String;
|
|
341
|
+
readonly expectedRevision: Schema.String;
|
|
342
|
+
readonly sessionId: Schema.String;
|
|
343
|
+
}>;
|
|
344
|
+
export declare const sessionResumeParametersEffectSchema: Schema.Struct<{
|
|
345
|
+
readonly commandId: Schema.String;
|
|
346
|
+
readonly expectedRevision: Schema.String;
|
|
347
|
+
readonly sessionId: Schema.String;
|
|
348
|
+
}>;
|
|
349
|
+
export declare const sessionMessageSendParametersEffectSchema: Schema.Struct<{
|
|
350
|
+
readonly body: Schema.String;
|
|
351
|
+
readonly commandId: Schema.String;
|
|
352
|
+
readonly recipientSessionId: Schema.String;
|
|
353
|
+
readonly subject: Schema.String;
|
|
354
|
+
}>;
|
|
355
|
+
export declare const sessionInboxCheckParametersEffectSchema: Schema.Struct<{
|
|
356
|
+
readonly limit: Schema.optional<Schema.Int>;
|
|
357
|
+
}>;
|
|
358
|
+
export declare const sessionInboxAckParametersEffectSchema: Schema.Struct<{
|
|
359
|
+
readonly commandId: Schema.String;
|
|
360
|
+
readonly deliveryId: Schema.String;
|
|
361
|
+
readonly expectedMailboxRevision: Schema.String;
|
|
362
|
+
}>;
|
|
363
|
+
export declare const sessionMailboxEffectSchema: Schema.Struct<{
|
|
364
|
+
readonly contentBytes: Schema.String;
|
|
365
|
+
readonly createdAt: Schema.String;
|
|
366
|
+
readonly deliveryCount: Schema.String;
|
|
367
|
+
readonly id: Schema.String;
|
|
368
|
+
readonly revision: Schema.String;
|
|
369
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
370
|
+
readonly sessionId: Schema.String;
|
|
371
|
+
readonly updatedAt: Schema.String;
|
|
372
|
+
readonly workspaceId: Schema.String;
|
|
373
|
+
}>;
|
|
374
|
+
export declare const sessionMessageEffectSchema: Schema.Struct<{
|
|
375
|
+
readonly body: Schema.String;
|
|
376
|
+
readonly createdAt: Schema.String;
|
|
377
|
+
readonly digest: Schema.String;
|
|
378
|
+
readonly id: Schema.String;
|
|
379
|
+
readonly recipientSessionId: Schema.String;
|
|
380
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
381
|
+
readonly senderSessionId: Schema.String;
|
|
382
|
+
readonly subject: Schema.String;
|
|
383
|
+
readonly workspaceId: Schema.String;
|
|
384
|
+
}>;
|
|
385
|
+
export declare const sessionDeliveryEffectSchema: Schema.Union<readonly [Schema.Struct<{
|
|
386
|
+
readonly attemptCount: Schema.Int;
|
|
387
|
+
readonly createdAt: Schema.String;
|
|
388
|
+
readonly firstCheckedAt: Schema.optional<Schema.String>;
|
|
389
|
+
readonly id: Schema.String;
|
|
390
|
+
readonly lastCheckedAt: Schema.optional<Schema.String>;
|
|
391
|
+
readonly mailboxId: Schema.String;
|
|
392
|
+
readonly message: Schema.Struct<{
|
|
393
|
+
readonly body: Schema.String;
|
|
394
|
+
readonly createdAt: Schema.String;
|
|
395
|
+
readonly digest: Schema.String;
|
|
396
|
+
readonly id: Schema.String;
|
|
397
|
+
readonly recipientSessionId: Schema.String;
|
|
398
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
399
|
+
readonly senderSessionId: Schema.String;
|
|
400
|
+
readonly subject: Schema.String;
|
|
401
|
+
readonly workspaceId: Schema.String;
|
|
402
|
+
}>;
|
|
403
|
+
readonly sequence: Schema.String;
|
|
404
|
+
readonly state: Schema.Literal<"pending">;
|
|
405
|
+
}>, Schema.Struct<{
|
|
406
|
+
readonly attemptCount: Schema.Int;
|
|
407
|
+
readonly createdAt: Schema.String;
|
|
408
|
+
readonly firstCheckedAt: Schema.optional<Schema.String>;
|
|
409
|
+
readonly id: Schema.String;
|
|
410
|
+
readonly lastCheckedAt: Schema.optional<Schema.String>;
|
|
411
|
+
readonly mailboxId: Schema.String;
|
|
412
|
+
readonly message: Schema.Struct<{
|
|
413
|
+
readonly body: Schema.String;
|
|
414
|
+
readonly createdAt: Schema.String;
|
|
415
|
+
readonly digest: Schema.String;
|
|
416
|
+
readonly id: Schema.String;
|
|
417
|
+
readonly recipientSessionId: Schema.String;
|
|
418
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
419
|
+
readonly senderSessionId: Schema.String;
|
|
420
|
+
readonly subject: Schema.String;
|
|
421
|
+
readonly workspaceId: Schema.String;
|
|
422
|
+
}>;
|
|
423
|
+
readonly sequence: Schema.String;
|
|
424
|
+
readonly acknowledgedAt: Schema.String;
|
|
425
|
+
readonly acknowledgingSessionId: Schema.String;
|
|
426
|
+
readonly state: Schema.Literal<"acknowledged">;
|
|
427
|
+
}>]>;
|
|
428
|
+
export declare const sessionInboxCheckResultEffectSchema: Schema.Struct<{
|
|
429
|
+
readonly deliveries: Schema.$Array<Schema.Struct<{
|
|
430
|
+
readonly attemptCount: Schema.Int;
|
|
431
|
+
readonly createdAt: Schema.String;
|
|
432
|
+
readonly firstCheckedAt: Schema.optional<Schema.String>;
|
|
433
|
+
readonly id: Schema.String;
|
|
434
|
+
readonly lastCheckedAt: Schema.optional<Schema.String>;
|
|
435
|
+
readonly mailboxId: Schema.String;
|
|
436
|
+
readonly message: Schema.Struct<{
|
|
437
|
+
readonly body: Schema.String;
|
|
438
|
+
readonly createdAt: Schema.String;
|
|
439
|
+
readonly digest: Schema.String;
|
|
440
|
+
readonly id: Schema.String;
|
|
441
|
+
readonly recipientSessionId: Schema.String;
|
|
442
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
443
|
+
readonly senderSessionId: Schema.String;
|
|
444
|
+
readonly subject: Schema.String;
|
|
445
|
+
readonly workspaceId: Schema.String;
|
|
446
|
+
}>;
|
|
447
|
+
readonly sequence: Schema.String;
|
|
448
|
+
readonly state: Schema.Literal<"pending">;
|
|
449
|
+
}>>;
|
|
450
|
+
readonly mailbox: Schema.Struct<{
|
|
451
|
+
readonly contentBytes: Schema.String;
|
|
452
|
+
readonly createdAt: Schema.String;
|
|
453
|
+
readonly deliveryCount: Schema.String;
|
|
454
|
+
readonly id: Schema.String;
|
|
455
|
+
readonly revision: Schema.String;
|
|
456
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
457
|
+
readonly sessionId: Schema.String;
|
|
458
|
+
readonly updatedAt: Schema.String;
|
|
459
|
+
readonly workspaceId: Schema.String;
|
|
460
|
+
}>;
|
|
461
|
+
readonly method: Schema.Literal<"session.inbox.check">;
|
|
462
|
+
}>;
|
|
463
|
+
export declare const sessionMessageSendResultEffectSchema: Schema.Struct<{
|
|
464
|
+
readonly delivery: Schema.Literals<readonly ["new", "duplicate"]>;
|
|
465
|
+
readonly deliveryId: Schema.String;
|
|
466
|
+
readonly mailboxId: Schema.String;
|
|
467
|
+
readonly message: Schema.Struct<{
|
|
468
|
+
readonly body: Schema.String;
|
|
469
|
+
readonly createdAt: Schema.String;
|
|
470
|
+
readonly digest: Schema.String;
|
|
471
|
+
readonly id: Schema.String;
|
|
472
|
+
readonly recipientSessionId: Schema.String;
|
|
473
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
474
|
+
readonly senderSessionId: Schema.String;
|
|
475
|
+
readonly subject: Schema.String;
|
|
476
|
+
readonly workspaceId: Schema.String;
|
|
477
|
+
}>;
|
|
478
|
+
readonly method: Schema.Literal<"session.message.send">;
|
|
479
|
+
readonly receipt: Schema.Struct<{
|
|
480
|
+
readonly actorId: Schema.String;
|
|
481
|
+
readonly aggregateRevision: Schema.String;
|
|
482
|
+
readonly commandId: Schema.String;
|
|
483
|
+
readonly createdAt: Schema.String;
|
|
484
|
+
readonly eventCursor: Schema.String;
|
|
485
|
+
readonly method: Schema.String;
|
|
486
|
+
readonly receiptId: Schema.String;
|
|
487
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
488
|
+
readonly state: Schema.Literal<"succeeded">;
|
|
489
|
+
readonly target: Schema.Struct<{
|
|
490
|
+
readonly id: Schema.String;
|
|
491
|
+
readonly type: Schema.String;
|
|
492
|
+
}>;
|
|
493
|
+
readonly updatedAt: Schema.String;
|
|
494
|
+
}>;
|
|
495
|
+
readonly sequence: Schema.String;
|
|
496
|
+
}>;
|
|
497
|
+
export declare const sessionInboxAckResultEffectSchema: Schema.Struct<{
|
|
498
|
+
readonly delivery: Schema.Literals<readonly ["new", "duplicate"]>;
|
|
499
|
+
readonly deliveryRecord: Schema.Struct<{
|
|
500
|
+
readonly attemptCount: Schema.Int;
|
|
501
|
+
readonly createdAt: Schema.String;
|
|
502
|
+
readonly firstCheckedAt: Schema.optional<Schema.String>;
|
|
503
|
+
readonly id: Schema.String;
|
|
504
|
+
readonly lastCheckedAt: Schema.optional<Schema.String>;
|
|
505
|
+
readonly mailboxId: Schema.String;
|
|
506
|
+
readonly message: Schema.Struct<{
|
|
507
|
+
readonly body: Schema.String;
|
|
508
|
+
readonly createdAt: Schema.String;
|
|
509
|
+
readonly digest: Schema.String;
|
|
510
|
+
readonly id: Schema.String;
|
|
511
|
+
readonly recipientSessionId: Schema.String;
|
|
512
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
513
|
+
readonly senderSessionId: Schema.String;
|
|
514
|
+
readonly subject: Schema.String;
|
|
515
|
+
readonly workspaceId: Schema.String;
|
|
516
|
+
}>;
|
|
517
|
+
readonly sequence: Schema.String;
|
|
518
|
+
readonly acknowledgedAt: Schema.String;
|
|
519
|
+
readonly acknowledgingSessionId: Schema.String;
|
|
520
|
+
readonly state: Schema.Literal<"acknowledged">;
|
|
521
|
+
}>;
|
|
522
|
+
readonly mailboxId: Schema.String;
|
|
523
|
+
readonly mailboxRevision: Schema.String;
|
|
524
|
+
readonly method: Schema.Literal<"session.inbox.ack">;
|
|
525
|
+
readonly receipt: Schema.Struct<{
|
|
526
|
+
readonly actorId: Schema.String;
|
|
527
|
+
readonly aggregateRevision: Schema.String;
|
|
528
|
+
readonly commandId: Schema.String;
|
|
529
|
+
readonly createdAt: Schema.String;
|
|
530
|
+
readonly eventCursor: Schema.String;
|
|
531
|
+
readonly method: Schema.String;
|
|
532
|
+
readonly receiptId: Schema.String;
|
|
533
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
534
|
+
readonly state: Schema.Literal<"succeeded">;
|
|
535
|
+
readonly target: Schema.Struct<{
|
|
536
|
+
readonly id: Schema.String;
|
|
537
|
+
readonly type: Schema.String;
|
|
538
|
+
}>;
|
|
539
|
+
readonly updatedAt: Schema.String;
|
|
540
|
+
}>;
|
|
541
|
+
}>;
|
|
542
|
+
export declare const sessionCreateResultEffectSchema: Schema.Struct<{
|
|
543
|
+
readonly delivery: Schema.Literals<readonly ["new", "duplicate"]>;
|
|
544
|
+
readonly method: Schema.Literal<"session.create">;
|
|
545
|
+
readonly receipt: Schema.Struct<{
|
|
546
|
+
readonly actorId: Schema.String;
|
|
547
|
+
readonly aggregateRevision: Schema.String;
|
|
548
|
+
readonly commandId: Schema.String;
|
|
549
|
+
readonly createdAt: Schema.String;
|
|
550
|
+
readonly eventCursor: Schema.String;
|
|
551
|
+
readonly method: Schema.String;
|
|
552
|
+
readonly receiptId: Schema.String;
|
|
553
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
554
|
+
readonly state: Schema.Literal<"succeeded">;
|
|
555
|
+
readonly target: Schema.Struct<{
|
|
556
|
+
readonly id: Schema.String;
|
|
557
|
+
readonly type: Schema.String;
|
|
558
|
+
}>;
|
|
559
|
+
readonly updatedAt: Schema.String;
|
|
560
|
+
}>;
|
|
561
|
+
readonly session: Schema.Struct<{
|
|
562
|
+
readonly createdAt: Schema.String;
|
|
563
|
+
readonly id: Schema.String;
|
|
564
|
+
readonly projectId: Schema.String;
|
|
565
|
+
readonly revision: Schema.String;
|
|
566
|
+
readonly state: Schema.Literals<readonly ["idle", "starting", "running", "waiting-approval", "interrupted", "recovering", "stopping", "stopped", "failed"]>;
|
|
567
|
+
readonly updatedAt: Schema.String;
|
|
568
|
+
readonly workspaceId: Schema.String;
|
|
569
|
+
readonly workspaceRevision: Schema.String;
|
|
570
|
+
readonly agentDefinitionRef: Schema.optional<Schema.Struct<{
|
|
571
|
+
readonly contentDigest: Schema.String;
|
|
572
|
+
readonly key: Schema.String;
|
|
573
|
+
readonly version: Schema.String;
|
|
574
|
+
}>>;
|
|
575
|
+
readonly executor: Schema.optional<Schema.Struct<{
|
|
576
|
+
readonly connectionId: Schema.String;
|
|
577
|
+
readonly kind: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
|
|
578
|
+
readonly model: Schema.optional<Schema.String>;
|
|
579
|
+
}>>;
|
|
580
|
+
/** Why the runtime of a failed Session failed, when Maia knows. */
|
|
581
|
+
readonly failure: Schema.optional<Schema.Struct<{
|
|
582
|
+
readonly code: Schema.String;
|
|
583
|
+
readonly message: Schema.String;
|
|
584
|
+
}>>;
|
|
585
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
586
|
+
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
587
|
+
readonly title: Schema.optional<Schema.String>;
|
|
588
|
+
/** A coding Session's own worktree; a reading Session has none. */
|
|
589
|
+
readonly worktree: Schema.optional<Schema.Struct<{
|
|
590
|
+
readonly baseRef: Schema.String;
|
|
591
|
+
readonly baseRevision: Schema.String;
|
|
592
|
+
readonly branch: Schema.String;
|
|
593
|
+
readonly setup: Schema.Literals<readonly ["none", "pending", "succeeded", "failed"]>;
|
|
594
|
+
readonly skills: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
595
|
+
readonly digest: Schema.String;
|
|
596
|
+
readonly name: Schema.String;
|
|
597
|
+
}>>>;
|
|
598
|
+
readonly state: Schema.Literals<readonly ["active", "archived", "removed"]>;
|
|
599
|
+
}>>;
|
|
600
|
+
}>;
|
|
601
|
+
}>;
|
|
602
|
+
export declare const sessionSpawnResultEffectSchema: Schema.Struct<{
|
|
603
|
+
readonly delivery: Schema.Literals<readonly ["new", "duplicate"]>;
|
|
604
|
+
readonly harness: Schema.Literals<readonly ["maia-agent", "pi"]>;
|
|
605
|
+
readonly method: Schema.Literal<"session.spawn">;
|
|
606
|
+
readonly parentSessionId: Schema.String;
|
|
607
|
+
readonly receipt: Schema.Struct<{
|
|
608
|
+
readonly actorId: Schema.String;
|
|
609
|
+
readonly aggregateRevision: Schema.String;
|
|
610
|
+
readonly commandId: Schema.String;
|
|
611
|
+
readonly createdAt: Schema.String;
|
|
612
|
+
readonly eventCursor: Schema.String;
|
|
613
|
+
readonly method: Schema.String;
|
|
614
|
+
readonly receiptId: Schema.String;
|
|
615
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
616
|
+
readonly state: Schema.Literal<"succeeded">;
|
|
617
|
+
readonly target: Schema.Struct<{
|
|
618
|
+
readonly id: Schema.String;
|
|
619
|
+
readonly type: Schema.String;
|
|
620
|
+
}>;
|
|
621
|
+
readonly updatedAt: Schema.String;
|
|
622
|
+
}>;
|
|
623
|
+
readonly session: Schema.Struct<{
|
|
624
|
+
readonly createdAt: Schema.String;
|
|
625
|
+
readonly id: Schema.String;
|
|
626
|
+
readonly projectId: Schema.String;
|
|
627
|
+
readonly revision: Schema.String;
|
|
628
|
+
readonly state: Schema.Literals<readonly ["idle", "starting", "running", "waiting-approval", "interrupted", "recovering", "stopping", "stopped", "failed"]>;
|
|
629
|
+
readonly updatedAt: Schema.String;
|
|
630
|
+
readonly workspaceId: Schema.String;
|
|
631
|
+
readonly workspaceRevision: Schema.String;
|
|
632
|
+
readonly agentDefinitionRef: Schema.optional<Schema.Struct<{
|
|
633
|
+
readonly contentDigest: Schema.String;
|
|
634
|
+
readonly key: Schema.String;
|
|
635
|
+
readonly version: Schema.String;
|
|
636
|
+
}>>;
|
|
637
|
+
readonly executor: Schema.optional<Schema.Struct<{
|
|
638
|
+
readonly connectionId: Schema.String;
|
|
639
|
+
readonly kind: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
|
|
640
|
+
readonly model: Schema.optional<Schema.String>;
|
|
641
|
+
}>>;
|
|
642
|
+
/** Why the runtime of a failed Session failed, when Maia knows. */
|
|
643
|
+
readonly failure: Schema.optional<Schema.Struct<{
|
|
644
|
+
readonly code: Schema.String;
|
|
645
|
+
readonly message: Schema.String;
|
|
646
|
+
}>>;
|
|
647
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
648
|
+
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
649
|
+
readonly title: Schema.optional<Schema.String>;
|
|
650
|
+
/** A coding Session's own worktree; a reading Session has none. */
|
|
651
|
+
readonly worktree: Schema.optional<Schema.Struct<{
|
|
652
|
+
readonly baseRef: Schema.String;
|
|
653
|
+
readonly baseRevision: Schema.String;
|
|
654
|
+
readonly branch: Schema.String;
|
|
655
|
+
readonly setup: Schema.Literals<readonly ["none", "pending", "succeeded", "failed"]>;
|
|
656
|
+
readonly skills: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
657
|
+
readonly digest: Schema.String;
|
|
658
|
+
readonly name: Schema.String;
|
|
659
|
+
}>>>;
|
|
660
|
+
readonly state: Schema.Literals<readonly ["active", "archived", "removed"]>;
|
|
661
|
+
}>>;
|
|
662
|
+
}>;
|
|
663
|
+
}>;
|
|
664
|
+
export declare const sessionListResultEffectSchema: Schema.Struct<{
|
|
665
|
+
readonly attention: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
666
|
+
readonly attention: Schema.Literals<readonly ["failed", "approval_pending", "question", "turn_failed", "stalled", "settled_unreviewed"]>;
|
|
667
|
+
readonly sessionId: Schema.String;
|
|
668
|
+
}>>>;
|
|
669
|
+
readonly items: Schema.$Array<Schema.Struct<{
|
|
670
|
+
readonly createdAt: Schema.String;
|
|
671
|
+
readonly id: Schema.String;
|
|
672
|
+
readonly projectId: Schema.String;
|
|
673
|
+
readonly revision: Schema.String;
|
|
674
|
+
readonly state: Schema.Literals<readonly ["idle", "starting", "running", "waiting-approval", "interrupted", "recovering", "stopping", "stopped", "failed"]>;
|
|
675
|
+
readonly updatedAt: Schema.String;
|
|
676
|
+
readonly workspaceId: Schema.String;
|
|
677
|
+
readonly workspaceRevision: Schema.String;
|
|
678
|
+
readonly agentDefinitionRef: Schema.optional<Schema.Struct<{
|
|
679
|
+
readonly contentDigest: Schema.String;
|
|
680
|
+
readonly key: Schema.String;
|
|
681
|
+
readonly version: Schema.String;
|
|
682
|
+
}>>;
|
|
683
|
+
readonly executor: Schema.optional<Schema.Struct<{
|
|
684
|
+
readonly connectionId: Schema.String;
|
|
685
|
+
readonly kind: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
|
|
686
|
+
readonly model: Schema.optional<Schema.String>;
|
|
687
|
+
}>>;
|
|
688
|
+
/** Why the runtime of a failed Session failed, when Maia knows. */
|
|
689
|
+
readonly failure: Schema.optional<Schema.Struct<{
|
|
690
|
+
readonly code: Schema.String;
|
|
691
|
+
readonly message: Schema.String;
|
|
692
|
+
}>>;
|
|
693
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
694
|
+
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
695
|
+
readonly title: Schema.optional<Schema.String>;
|
|
696
|
+
/** A coding Session's own worktree; a reading Session has none. */
|
|
697
|
+
readonly worktree: Schema.optional<Schema.Struct<{
|
|
698
|
+
readonly baseRef: Schema.String;
|
|
699
|
+
readonly baseRevision: Schema.String;
|
|
700
|
+
readonly branch: Schema.String;
|
|
701
|
+
readonly setup: Schema.Literals<readonly ["none", "pending", "succeeded", "failed"]>;
|
|
702
|
+
readonly skills: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
703
|
+
readonly digest: Schema.String;
|
|
704
|
+
readonly name: Schema.String;
|
|
705
|
+
}>>>;
|
|
706
|
+
readonly state: Schema.Literals<readonly ["active", "archived", "removed"]>;
|
|
707
|
+
}>>;
|
|
708
|
+
}>>;
|
|
709
|
+
readonly method: Schema.Literal<"session.list">;
|
|
710
|
+
readonly nextCursor: Schema.optional<Schema.String>;
|
|
711
|
+
}>;
|
|
712
|
+
export declare const sessionShowResultEffectSchema: Schema.Struct<{
|
|
713
|
+
readonly method: Schema.Literal<"session.show">;
|
|
714
|
+
readonly session: Schema.Struct<{
|
|
715
|
+
readonly createdAt: Schema.String;
|
|
716
|
+
readonly id: Schema.String;
|
|
717
|
+
readonly projectId: Schema.String;
|
|
718
|
+
readonly revision: Schema.String;
|
|
719
|
+
readonly state: Schema.Literals<readonly ["idle", "starting", "running", "waiting-approval", "interrupted", "recovering", "stopping", "stopped", "failed"]>;
|
|
720
|
+
readonly updatedAt: Schema.String;
|
|
721
|
+
readonly workspaceId: Schema.String;
|
|
722
|
+
readonly workspaceRevision: Schema.String;
|
|
723
|
+
readonly agentDefinitionRef: Schema.optional<Schema.Struct<{
|
|
724
|
+
readonly contentDigest: Schema.String;
|
|
725
|
+
readonly key: Schema.String;
|
|
726
|
+
readonly version: Schema.String;
|
|
727
|
+
}>>;
|
|
728
|
+
readonly executor: Schema.optional<Schema.Struct<{
|
|
729
|
+
readonly connectionId: Schema.String;
|
|
730
|
+
readonly kind: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
|
|
731
|
+
readonly model: Schema.optional<Schema.String>;
|
|
732
|
+
}>>;
|
|
733
|
+
/** Why the runtime of a failed Session failed, when Maia knows. */
|
|
734
|
+
readonly failure: Schema.optional<Schema.Struct<{
|
|
735
|
+
readonly code: Schema.String;
|
|
736
|
+
readonly message: Schema.String;
|
|
737
|
+
}>>;
|
|
738
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
739
|
+
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
740
|
+
readonly title: Schema.optional<Schema.String>;
|
|
741
|
+
/** A coding Session's own worktree; a reading Session has none. */
|
|
742
|
+
readonly worktree: Schema.optional<Schema.Struct<{
|
|
743
|
+
readonly baseRef: Schema.String;
|
|
744
|
+
readonly baseRevision: Schema.String;
|
|
745
|
+
readonly branch: Schema.String;
|
|
746
|
+
readonly setup: Schema.Literals<readonly ["none", "pending", "succeeded", "failed"]>;
|
|
747
|
+
readonly skills: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
748
|
+
readonly digest: Schema.String;
|
|
749
|
+
readonly name: Schema.String;
|
|
750
|
+
}>>>;
|
|
751
|
+
readonly state: Schema.Literals<readonly ["active", "archived", "removed"]>;
|
|
752
|
+
}>>;
|
|
753
|
+
}>;
|
|
754
|
+
}>;
|
|
755
|
+
export declare const sessionEventsListResultEffectSchema: Schema.Struct<{
|
|
756
|
+
readonly headSessionCursor: Schema.String;
|
|
757
|
+
readonly items: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
758
|
+
readonly commandId: Schema.String;
|
|
759
|
+
readonly eventType: Schema.Literal<"session.created">;
|
|
760
|
+
readonly globalCursor: Schema.String;
|
|
761
|
+
readonly payload: Schema.Struct<{
|
|
762
|
+
/** An adopted Session resumes this native Claude Code or Codex session. */
|
|
763
|
+
readonly adoptedFrom: Schema.optional<Schema.Struct<{
|
|
764
|
+
readonly nativeId: Schema.String;
|
|
765
|
+
readonly workingDirectory: Schema.Literals<readonly ["original", "relocated"]>;
|
|
766
|
+
}>>;
|
|
767
|
+
readonly agentDefinitionRef: Schema.optional<Schema.Struct<{
|
|
768
|
+
readonly contentDigest: Schema.String;
|
|
769
|
+
readonly key: Schema.String;
|
|
770
|
+
readonly version: Schema.String;
|
|
771
|
+
}>>;
|
|
772
|
+
/** The account the Session binds to, named or picked by the Node. */
|
|
773
|
+
readonly executor: Schema.optional<Schema.Struct<{
|
|
774
|
+
readonly connectionId: Schema.String;
|
|
775
|
+
readonly kind: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
|
|
776
|
+
readonly model: Schema.optional<Schema.String>;
|
|
777
|
+
}>>;
|
|
778
|
+
readonly projectId: Schema.String;
|
|
779
|
+
readonly workspaceId: Schema.String;
|
|
780
|
+
readonly workspaceRevision: Schema.String;
|
|
781
|
+
/** The worktree Maia created for a coding Session. */
|
|
782
|
+
readonly worktree: Schema.optional<Schema.Struct<{
|
|
783
|
+
readonly baseRef: Schema.String;
|
|
784
|
+
readonly baseRevision: Schema.String;
|
|
785
|
+
readonly branch: Schema.String;
|
|
786
|
+
}>>;
|
|
787
|
+
}>;
|
|
788
|
+
readonly recordedAt: Schema.String;
|
|
789
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
790
|
+
readonly sessionCursor: Schema.String;
|
|
791
|
+
readonly sessionId: Schema.String;
|
|
792
|
+
}>, Schema.Struct<{
|
|
793
|
+
readonly commandId: Schema.String;
|
|
794
|
+
readonly eventType: Schema.Literal<"session.start.requested">;
|
|
795
|
+
readonly globalCursor: Schema.String;
|
|
796
|
+
readonly payload: Schema.$Record<Schema.String, Schema.Never>;
|
|
797
|
+
readonly recordedAt: Schema.String;
|
|
798
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
799
|
+
readonly sessionCursor: Schema.String;
|
|
800
|
+
readonly sessionId: Schema.String;
|
|
801
|
+
}>, Schema.Struct<{
|
|
802
|
+
readonly commandId: Schema.String;
|
|
803
|
+
readonly eventType: Schema.Literal<"session.runtime.started">;
|
|
804
|
+
readonly globalCursor: Schema.String;
|
|
805
|
+
readonly payload: Schema.Struct<{
|
|
806
|
+
readonly executableVersion: Schema.String;
|
|
807
|
+
}>;
|
|
808
|
+
readonly recordedAt: Schema.String;
|
|
809
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
810
|
+
readonly sessionCursor: Schema.String;
|
|
811
|
+
readonly sessionId: Schema.String;
|
|
812
|
+
}>, Schema.Struct<{
|
|
813
|
+
readonly commandId: Schema.String;
|
|
814
|
+
readonly eventType: Schema.Literal<"session.runtime.recovery.requested">;
|
|
815
|
+
readonly globalCursor: Schema.String;
|
|
816
|
+
readonly payload: Schema.$Record<Schema.String, Schema.Never>;
|
|
817
|
+
readonly recordedAt: Schema.String;
|
|
818
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
819
|
+
readonly sessionCursor: Schema.String;
|
|
820
|
+
readonly sessionId: Schema.String;
|
|
821
|
+
}>, Schema.Struct<{
|
|
822
|
+
readonly commandId: Schema.String;
|
|
823
|
+
readonly eventType: Schema.Literal<"session.runtime.resumed">;
|
|
824
|
+
readonly globalCursor: Schema.String;
|
|
825
|
+
readonly payload: Schema.Struct<{
|
|
826
|
+
readonly executableVersion: Schema.String;
|
|
827
|
+
}>;
|
|
828
|
+
readonly recordedAt: Schema.String;
|
|
829
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
830
|
+
readonly sessionCursor: Schema.String;
|
|
831
|
+
readonly sessionId: Schema.String;
|
|
832
|
+
}>, Schema.Struct<{
|
|
833
|
+
readonly commandId: Schema.String;
|
|
834
|
+
readonly eventType: Schema.Literal<"session.runtime.failed">;
|
|
835
|
+
readonly globalCursor: Schema.String;
|
|
836
|
+
readonly payload: Schema.Struct<{
|
|
837
|
+
readonly failure: Schema.optional<Schema.Struct<{
|
|
838
|
+
readonly code: Schema.String;
|
|
839
|
+
readonly message: Schema.String;
|
|
840
|
+
}>>;
|
|
841
|
+
readonly reason: Schema.Literals<readonly ["activation_failed", "activation_outcome_unknown", "runtime_exited"]>;
|
|
842
|
+
}>;
|
|
843
|
+
readonly recordedAt: Schema.String;
|
|
844
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
845
|
+
readonly sessionCursor: Schema.String;
|
|
846
|
+
readonly sessionId: Schema.String;
|
|
847
|
+
}>, Schema.Struct<{
|
|
848
|
+
readonly commandId: Schema.String;
|
|
849
|
+
readonly eventType: Schema.Literal<"session.stopped">;
|
|
850
|
+
readonly globalCursor: Schema.String;
|
|
851
|
+
readonly payload: Schema.Struct<{
|
|
852
|
+
readonly holdId: Schema.optional<Schema.String>;
|
|
853
|
+
}>;
|
|
854
|
+
readonly recordedAt: Schema.String;
|
|
855
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
856
|
+
readonly sessionCursor: Schema.String;
|
|
857
|
+
readonly sessionId: Schema.String;
|
|
858
|
+
}>, Schema.Struct<{
|
|
859
|
+
readonly commandId: Schema.String;
|
|
860
|
+
readonly eventType: Schema.Literal<"session.resume.requested">;
|
|
861
|
+
readonly globalCursor: Schema.String;
|
|
862
|
+
readonly payload: Schema.$Record<Schema.String, Schema.Never>;
|
|
863
|
+
readonly recordedAt: Schema.String;
|
|
864
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
865
|
+
readonly sessionCursor: Schema.String;
|
|
866
|
+
readonly sessionId: Schema.String;
|
|
867
|
+
}>, Schema.Struct<{
|
|
868
|
+
readonly commandId: Schema.String;
|
|
869
|
+
readonly eventType: Schema.Literal<"session.archived">;
|
|
870
|
+
readonly globalCursor: Schema.String;
|
|
871
|
+
readonly payload: Schema.Struct<{
|
|
872
|
+
readonly branch: Schema.String;
|
|
873
|
+
readonly branchRevision: Schema.String;
|
|
874
|
+
readonly pruneAfter: Schema.String;
|
|
875
|
+
readonly snapshot: Schema.Literals<readonly ["clean", "committed"]>;
|
|
876
|
+
}>;
|
|
877
|
+
readonly recordedAt: Schema.String;
|
|
878
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
879
|
+
readonly sessionCursor: Schema.String;
|
|
880
|
+
readonly sessionId: Schema.String;
|
|
881
|
+
}>, Schema.Struct<{
|
|
882
|
+
readonly commandId: Schema.String;
|
|
883
|
+
readonly eventType: Schema.Literal<"session.renamed">;
|
|
884
|
+
readonly globalCursor: Schema.String;
|
|
885
|
+
readonly payload: Schema.Struct<{
|
|
886
|
+
readonly title: Schema.String;
|
|
887
|
+
}>;
|
|
888
|
+
readonly recordedAt: Schema.String;
|
|
889
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
890
|
+
readonly sessionCursor: Schema.String;
|
|
891
|
+
readonly sessionId: Schema.String;
|
|
892
|
+
}>, Schema.Struct<{
|
|
893
|
+
readonly commandId: Schema.String;
|
|
894
|
+
readonly eventType: Schema.Literal<"session.worktree.removed">;
|
|
895
|
+
readonly globalCursor: Schema.String;
|
|
896
|
+
readonly payload: Schema.Struct<{
|
|
897
|
+
readonly branch: Schema.String;
|
|
898
|
+
readonly cleanupOperationId: Schema.String;
|
|
899
|
+
}>;
|
|
900
|
+
readonly recordedAt: Schema.String;
|
|
901
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
902
|
+
readonly sessionCursor: Schema.String;
|
|
903
|
+
readonly sessionId: Schema.String;
|
|
904
|
+
}>, Schema.Union<readonly [Schema.Struct<{
|
|
905
|
+
readonly commandId: Schema.String;
|
|
906
|
+
readonly globalCursor: Schema.String;
|
|
907
|
+
readonly recordedAt: Schema.String;
|
|
908
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
909
|
+
readonly sessionCursor: Schema.String;
|
|
910
|
+
readonly sessionId: Schema.String;
|
|
911
|
+
readonly eventType: Schema.Literal<"turn.queued">;
|
|
912
|
+
readonly payload: Schema.Struct<{
|
|
913
|
+
readonly turnId: Schema.String;
|
|
914
|
+
}>;
|
|
915
|
+
}>, Schema.Struct<{
|
|
916
|
+
readonly commandId: Schema.String;
|
|
917
|
+
readonly globalCursor: Schema.String;
|
|
918
|
+
readonly recordedAt: Schema.String;
|
|
919
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
920
|
+
readonly sessionCursor: Schema.String;
|
|
921
|
+
readonly sessionId: Schema.String;
|
|
922
|
+
readonly eventType: Schema.Literal<"turn.dispatching">;
|
|
923
|
+
readonly payload: Schema.Struct<{
|
|
924
|
+
readonly turnId: Schema.String;
|
|
925
|
+
}>;
|
|
926
|
+
}>, Schema.Struct<{
|
|
927
|
+
readonly commandId: Schema.String;
|
|
928
|
+
readonly globalCursor: Schema.String;
|
|
929
|
+
readonly recordedAt: Schema.String;
|
|
930
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
931
|
+
readonly sessionCursor: Schema.String;
|
|
932
|
+
readonly sessionId: Schema.String;
|
|
933
|
+
readonly eventType: Schema.Literal<"turn.started">;
|
|
934
|
+
readonly payload: Schema.Struct<{
|
|
935
|
+
readonly turnId: Schema.String;
|
|
936
|
+
}>;
|
|
937
|
+
}>, Schema.Struct<{
|
|
938
|
+
readonly commandId: Schema.String;
|
|
939
|
+
readonly globalCursor: Schema.String;
|
|
940
|
+
readonly recordedAt: Schema.String;
|
|
941
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
942
|
+
readonly sessionCursor: Schema.String;
|
|
943
|
+
readonly sessionId: Schema.String;
|
|
944
|
+
readonly eventType: Schema.Literal<"turn.completed">;
|
|
945
|
+
readonly payload: Schema.Struct<{
|
|
946
|
+
readonly turnId: Schema.String;
|
|
947
|
+
}>;
|
|
948
|
+
}>, Schema.Struct<{
|
|
949
|
+
readonly commandId: Schema.String;
|
|
950
|
+
readonly globalCursor: Schema.String;
|
|
951
|
+
readonly recordedAt: Schema.String;
|
|
952
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
953
|
+
readonly sessionCursor: Schema.String;
|
|
954
|
+
readonly sessionId: Schema.String;
|
|
955
|
+
readonly eventType: Schema.Literal<"turn.interrupted">;
|
|
956
|
+
readonly payload: Schema.Struct<{
|
|
957
|
+
readonly turnId: Schema.String;
|
|
958
|
+
}>;
|
|
959
|
+
}>, Schema.Struct<{
|
|
960
|
+
readonly commandId: Schema.String;
|
|
961
|
+
readonly globalCursor: Schema.String;
|
|
962
|
+
readonly recordedAt: Schema.String;
|
|
963
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
964
|
+
readonly sessionCursor: Schema.String;
|
|
965
|
+
readonly sessionId: Schema.String;
|
|
966
|
+
readonly eventType: Schema.Literal<"turn.failed">;
|
|
967
|
+
readonly payload: Schema.Struct<{
|
|
968
|
+
readonly turnId: Schema.String;
|
|
969
|
+
}>;
|
|
970
|
+
}>]>]>>;
|
|
971
|
+
readonly method: Schema.Literal<"session.events.list">;
|
|
972
|
+
readonly nextSessionCursor: Schema.optional<Schema.String>;
|
|
973
|
+
readonly sessionId: Schema.String;
|
|
974
|
+
}>;
|
|
975
|
+
export declare const sessionStartResultEffectSchema: Schema.Struct<{
|
|
976
|
+
readonly delivery: Schema.Literals<readonly ["new", "duplicate"]>;
|
|
977
|
+
readonly method: Schema.Literal<"session.start">;
|
|
978
|
+
readonly receipt: Schema.Struct<{
|
|
979
|
+
readonly actorId: Schema.String;
|
|
980
|
+
readonly aggregateRevision: Schema.String;
|
|
981
|
+
readonly commandId: Schema.String;
|
|
982
|
+
readonly createdAt: Schema.String;
|
|
983
|
+
readonly eventCursor: Schema.String;
|
|
984
|
+
readonly method: Schema.String;
|
|
985
|
+
readonly receiptId: Schema.String;
|
|
986
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
987
|
+
readonly state: Schema.Literal<"succeeded">;
|
|
988
|
+
readonly target: Schema.Struct<{
|
|
989
|
+
readonly id: Schema.String;
|
|
990
|
+
readonly type: Schema.String;
|
|
991
|
+
}>;
|
|
992
|
+
readonly updatedAt: Schema.String;
|
|
993
|
+
}>;
|
|
994
|
+
readonly session: Schema.Struct<{
|
|
995
|
+
readonly createdAt: Schema.String;
|
|
996
|
+
readonly id: Schema.String;
|
|
997
|
+
readonly projectId: Schema.String;
|
|
998
|
+
readonly revision: Schema.String;
|
|
999
|
+
readonly state: Schema.Literals<readonly ["idle", "starting", "running", "waiting-approval", "interrupted", "recovering", "stopping", "stopped", "failed"]>;
|
|
1000
|
+
readonly updatedAt: Schema.String;
|
|
1001
|
+
readonly workspaceId: Schema.String;
|
|
1002
|
+
readonly workspaceRevision: Schema.String;
|
|
1003
|
+
readonly agentDefinitionRef: Schema.optional<Schema.Struct<{
|
|
1004
|
+
readonly contentDigest: Schema.String;
|
|
1005
|
+
readonly key: Schema.String;
|
|
1006
|
+
readonly version: Schema.String;
|
|
1007
|
+
}>>;
|
|
1008
|
+
readonly executor: Schema.optional<Schema.Struct<{
|
|
1009
|
+
readonly connectionId: Schema.String;
|
|
1010
|
+
readonly kind: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
|
|
1011
|
+
readonly model: Schema.optional<Schema.String>;
|
|
1012
|
+
}>>;
|
|
1013
|
+
/** Why the runtime of a failed Session failed, when Maia knows. */
|
|
1014
|
+
readonly failure: Schema.optional<Schema.Struct<{
|
|
1015
|
+
readonly code: Schema.String;
|
|
1016
|
+
readonly message: Schema.String;
|
|
1017
|
+
}>>;
|
|
1018
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
1019
|
+
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
1020
|
+
readonly title: Schema.optional<Schema.String>;
|
|
1021
|
+
/** A coding Session's own worktree; a reading Session has none. */
|
|
1022
|
+
readonly worktree: Schema.optional<Schema.Struct<{
|
|
1023
|
+
readonly baseRef: Schema.String;
|
|
1024
|
+
readonly baseRevision: Schema.String;
|
|
1025
|
+
readonly branch: Schema.String;
|
|
1026
|
+
readonly setup: Schema.Literals<readonly ["none", "pending", "succeeded", "failed"]>;
|
|
1027
|
+
readonly skills: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1028
|
+
readonly digest: Schema.String;
|
|
1029
|
+
readonly name: Schema.String;
|
|
1030
|
+
}>>>;
|
|
1031
|
+
readonly state: Schema.Literals<readonly ["active", "archived", "removed"]>;
|
|
1032
|
+
}>>;
|
|
1033
|
+
}>;
|
|
1034
|
+
}>;
|
|
1035
|
+
export declare const sessionStopResultEffectSchema: Schema.Struct<{
|
|
1036
|
+
readonly delivery: Schema.Literals<readonly ["new", "duplicate"]>;
|
|
1037
|
+
readonly method: Schema.Literal<"session.stop">;
|
|
1038
|
+
readonly receipt: Schema.Struct<{
|
|
1039
|
+
readonly actorId: Schema.String;
|
|
1040
|
+
readonly aggregateRevision: Schema.String;
|
|
1041
|
+
readonly commandId: Schema.String;
|
|
1042
|
+
readonly createdAt: Schema.String;
|
|
1043
|
+
readonly eventCursor: Schema.String;
|
|
1044
|
+
readonly method: Schema.String;
|
|
1045
|
+
readonly receiptId: Schema.String;
|
|
1046
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
1047
|
+
readonly state: Schema.Literal<"succeeded">;
|
|
1048
|
+
readonly target: Schema.Struct<{
|
|
1049
|
+
readonly id: Schema.String;
|
|
1050
|
+
readonly type: Schema.String;
|
|
1051
|
+
}>;
|
|
1052
|
+
readonly updatedAt: Schema.String;
|
|
1053
|
+
}>;
|
|
1054
|
+
readonly session: Schema.Struct<{
|
|
1055
|
+
readonly createdAt: Schema.String;
|
|
1056
|
+
readonly id: Schema.String;
|
|
1057
|
+
readonly projectId: Schema.String;
|
|
1058
|
+
readonly revision: Schema.String;
|
|
1059
|
+
readonly state: Schema.Literals<readonly ["idle", "starting", "running", "waiting-approval", "interrupted", "recovering", "stopping", "stopped", "failed"]>;
|
|
1060
|
+
readonly updatedAt: Schema.String;
|
|
1061
|
+
readonly workspaceId: Schema.String;
|
|
1062
|
+
readonly workspaceRevision: Schema.String;
|
|
1063
|
+
readonly agentDefinitionRef: Schema.optional<Schema.Struct<{
|
|
1064
|
+
readonly contentDigest: Schema.String;
|
|
1065
|
+
readonly key: Schema.String;
|
|
1066
|
+
readonly version: Schema.String;
|
|
1067
|
+
}>>;
|
|
1068
|
+
readonly executor: Schema.optional<Schema.Struct<{
|
|
1069
|
+
readonly connectionId: Schema.String;
|
|
1070
|
+
readonly kind: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
|
|
1071
|
+
readonly model: Schema.optional<Schema.String>;
|
|
1072
|
+
}>>;
|
|
1073
|
+
/** Why the runtime of a failed Session failed, when Maia knows. */
|
|
1074
|
+
readonly failure: Schema.optional<Schema.Struct<{
|
|
1075
|
+
readonly code: Schema.String;
|
|
1076
|
+
readonly message: Schema.String;
|
|
1077
|
+
}>>;
|
|
1078
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
1079
|
+
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
1080
|
+
readonly title: Schema.optional<Schema.String>;
|
|
1081
|
+
/** A coding Session's own worktree; a reading Session has none. */
|
|
1082
|
+
readonly worktree: Schema.optional<Schema.Struct<{
|
|
1083
|
+
readonly baseRef: Schema.String;
|
|
1084
|
+
readonly baseRevision: Schema.String;
|
|
1085
|
+
readonly branch: Schema.String;
|
|
1086
|
+
readonly setup: Schema.Literals<readonly ["none", "pending", "succeeded", "failed"]>;
|
|
1087
|
+
readonly skills: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1088
|
+
readonly digest: Schema.String;
|
|
1089
|
+
readonly name: Schema.String;
|
|
1090
|
+
}>>>;
|
|
1091
|
+
readonly state: Schema.Literals<readonly ["active", "archived", "removed"]>;
|
|
1092
|
+
}>>;
|
|
1093
|
+
}>;
|
|
1094
|
+
}>;
|
|
1095
|
+
export declare const sessionResumeResultEffectSchema: Schema.Struct<{
|
|
1096
|
+
readonly delivery: Schema.Literals<readonly ["new", "duplicate"]>;
|
|
1097
|
+
readonly method: Schema.Literal<"session.resume">;
|
|
1098
|
+
readonly receipt: Schema.Struct<{
|
|
1099
|
+
readonly actorId: Schema.String;
|
|
1100
|
+
readonly aggregateRevision: Schema.String;
|
|
1101
|
+
readonly commandId: Schema.String;
|
|
1102
|
+
readonly createdAt: Schema.String;
|
|
1103
|
+
readonly eventCursor: Schema.String;
|
|
1104
|
+
readonly method: Schema.String;
|
|
1105
|
+
readonly receiptId: Schema.String;
|
|
1106
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
1107
|
+
readonly state: Schema.Literal<"succeeded">;
|
|
1108
|
+
readonly target: Schema.Struct<{
|
|
1109
|
+
readonly id: Schema.String;
|
|
1110
|
+
readonly type: Schema.String;
|
|
1111
|
+
}>;
|
|
1112
|
+
readonly updatedAt: Schema.String;
|
|
1113
|
+
}>;
|
|
1114
|
+
readonly session: Schema.Struct<{
|
|
1115
|
+
readonly createdAt: Schema.String;
|
|
1116
|
+
readonly id: Schema.String;
|
|
1117
|
+
readonly projectId: Schema.String;
|
|
1118
|
+
readonly revision: Schema.String;
|
|
1119
|
+
readonly state: Schema.Literals<readonly ["idle", "starting", "running", "waiting-approval", "interrupted", "recovering", "stopping", "stopped", "failed"]>;
|
|
1120
|
+
readonly updatedAt: Schema.String;
|
|
1121
|
+
readonly workspaceId: Schema.String;
|
|
1122
|
+
readonly workspaceRevision: Schema.String;
|
|
1123
|
+
readonly agentDefinitionRef: Schema.optional<Schema.Struct<{
|
|
1124
|
+
readonly contentDigest: Schema.String;
|
|
1125
|
+
readonly key: Schema.String;
|
|
1126
|
+
readonly version: Schema.String;
|
|
1127
|
+
}>>;
|
|
1128
|
+
readonly executor: Schema.optional<Schema.Struct<{
|
|
1129
|
+
readonly connectionId: Schema.String;
|
|
1130
|
+
readonly kind: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
|
|
1131
|
+
readonly model: Schema.optional<Schema.String>;
|
|
1132
|
+
}>>;
|
|
1133
|
+
/** Why the runtime of a failed Session failed, when Maia knows. */
|
|
1134
|
+
readonly failure: Schema.optional<Schema.Struct<{
|
|
1135
|
+
readonly code: Schema.String;
|
|
1136
|
+
readonly message: Schema.String;
|
|
1137
|
+
}>>;
|
|
1138
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
1139
|
+
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
1140
|
+
readonly title: Schema.optional<Schema.String>;
|
|
1141
|
+
/** A coding Session's own worktree; a reading Session has none. */
|
|
1142
|
+
readonly worktree: Schema.optional<Schema.Struct<{
|
|
1143
|
+
readonly baseRef: Schema.String;
|
|
1144
|
+
readonly baseRevision: Schema.String;
|
|
1145
|
+
readonly branch: Schema.String;
|
|
1146
|
+
readonly setup: Schema.Literals<readonly ["none", "pending", "succeeded", "failed"]>;
|
|
1147
|
+
readonly skills: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1148
|
+
readonly digest: Schema.String;
|
|
1149
|
+
readonly name: Schema.String;
|
|
1150
|
+
}>>>;
|
|
1151
|
+
readonly state: Schema.Literals<readonly ["active", "archived", "removed"]>;
|
|
1152
|
+
}>>;
|
|
1153
|
+
}>;
|
|
1154
|
+
}>;
|
|
1155
|
+
export declare const sessionRenameResultEffectSchema: Schema.Struct<{
|
|
1156
|
+
readonly delivery: Schema.Literals<readonly ["new", "duplicate"]>;
|
|
1157
|
+
readonly method: Schema.Literal<"session.rename">;
|
|
1158
|
+
readonly receipt: Schema.Struct<{
|
|
1159
|
+
readonly actorId: Schema.String;
|
|
1160
|
+
readonly aggregateRevision: Schema.String;
|
|
1161
|
+
readonly commandId: Schema.String;
|
|
1162
|
+
readonly createdAt: Schema.String;
|
|
1163
|
+
readonly eventCursor: Schema.String;
|
|
1164
|
+
readonly method: Schema.String;
|
|
1165
|
+
readonly receiptId: Schema.String;
|
|
1166
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
1167
|
+
readonly state: Schema.Literal<"succeeded">;
|
|
1168
|
+
readonly target: Schema.Struct<{
|
|
1169
|
+
readonly id: Schema.String;
|
|
1170
|
+
readonly type: Schema.String;
|
|
1171
|
+
}>;
|
|
1172
|
+
readonly updatedAt: Schema.String;
|
|
1173
|
+
}>;
|
|
1174
|
+
readonly session: Schema.Struct<{
|
|
1175
|
+
readonly createdAt: Schema.String;
|
|
1176
|
+
readonly id: Schema.String;
|
|
1177
|
+
readonly projectId: Schema.String;
|
|
1178
|
+
readonly revision: Schema.String;
|
|
1179
|
+
readonly state: Schema.Literals<readonly ["idle", "starting", "running", "waiting-approval", "interrupted", "recovering", "stopping", "stopped", "failed"]>;
|
|
1180
|
+
readonly updatedAt: Schema.String;
|
|
1181
|
+
readonly workspaceId: Schema.String;
|
|
1182
|
+
readonly workspaceRevision: Schema.String;
|
|
1183
|
+
readonly agentDefinitionRef: Schema.optional<Schema.Struct<{
|
|
1184
|
+
readonly contentDigest: Schema.String;
|
|
1185
|
+
readonly key: Schema.String;
|
|
1186
|
+
readonly version: Schema.String;
|
|
1187
|
+
}>>;
|
|
1188
|
+
readonly executor: Schema.optional<Schema.Struct<{
|
|
1189
|
+
readonly connectionId: Schema.String;
|
|
1190
|
+
readonly kind: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
|
|
1191
|
+
readonly model: Schema.optional<Schema.String>;
|
|
1192
|
+
}>>;
|
|
1193
|
+
/** Why the runtime of a failed Session failed, when Maia knows. */
|
|
1194
|
+
readonly failure: Schema.optional<Schema.Struct<{
|
|
1195
|
+
readonly code: Schema.String;
|
|
1196
|
+
readonly message: Schema.String;
|
|
1197
|
+
}>>;
|
|
1198
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
1199
|
+
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
1200
|
+
readonly title: Schema.optional<Schema.String>;
|
|
1201
|
+
/** A coding Session's own worktree; a reading Session has none. */
|
|
1202
|
+
readonly worktree: Schema.optional<Schema.Struct<{
|
|
1203
|
+
readonly baseRef: Schema.String;
|
|
1204
|
+
readonly baseRevision: Schema.String;
|
|
1205
|
+
readonly branch: Schema.String;
|
|
1206
|
+
readonly setup: Schema.Literals<readonly ["none", "pending", "succeeded", "failed"]>;
|
|
1207
|
+
readonly skills: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1208
|
+
readonly digest: Schema.String;
|
|
1209
|
+
readonly name: Schema.String;
|
|
1210
|
+
}>>>;
|
|
1211
|
+
readonly state: Schema.Literals<readonly ["active", "archived", "removed"]>;
|
|
1212
|
+
}>>;
|
|
1213
|
+
}>;
|
|
1214
|
+
}>;
|
|
1215
|
+
/**
|
|
1216
|
+
* A coding Session's archive keeps its work on the branch (`archive`). A
|
|
1217
|
+
* Session without a worktree has nothing to keep: archiving retires it,
|
|
1218
|
+
* stopped, and `archive` is absent.
|
|
1219
|
+
*/
|
|
1220
|
+
export declare const sessionArchiveResultEffectSchema: Schema.Struct<{
|
|
1221
|
+
readonly archive: Schema.optional<Schema.Struct<{
|
|
1222
|
+
readonly branch: Schema.String;
|
|
1223
|
+
readonly branchRevision: Schema.String;
|
|
1224
|
+
readonly pruneAfter: Schema.String;
|
|
1225
|
+
readonly snapshot: Schema.Literals<readonly ["clean", "committed"]>;
|
|
1226
|
+
}>>;
|
|
1227
|
+
readonly delivery: Schema.Literals<readonly ["new", "duplicate"]>;
|
|
1228
|
+
readonly method: Schema.Literal<"session.archive">;
|
|
1229
|
+
readonly receipt: Schema.Struct<{
|
|
1230
|
+
readonly actorId: Schema.String;
|
|
1231
|
+
readonly aggregateRevision: Schema.String;
|
|
1232
|
+
readonly commandId: Schema.String;
|
|
1233
|
+
readonly createdAt: Schema.String;
|
|
1234
|
+
readonly eventCursor: Schema.String;
|
|
1235
|
+
readonly method: Schema.String;
|
|
1236
|
+
readonly receiptId: Schema.String;
|
|
1237
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
1238
|
+
readonly state: Schema.Literal<"succeeded">;
|
|
1239
|
+
readonly target: Schema.Struct<{
|
|
1240
|
+
readonly id: Schema.String;
|
|
1241
|
+
readonly type: Schema.String;
|
|
1242
|
+
}>;
|
|
1243
|
+
readonly updatedAt: Schema.String;
|
|
1244
|
+
}>;
|
|
1245
|
+
readonly session: Schema.Struct<{
|
|
1246
|
+
readonly createdAt: Schema.String;
|
|
1247
|
+
readonly id: Schema.String;
|
|
1248
|
+
readonly projectId: Schema.String;
|
|
1249
|
+
readonly revision: Schema.String;
|
|
1250
|
+
readonly state: Schema.Literals<readonly ["idle", "starting", "running", "waiting-approval", "interrupted", "recovering", "stopping", "stopped", "failed"]>;
|
|
1251
|
+
readonly updatedAt: Schema.String;
|
|
1252
|
+
readonly workspaceId: Schema.String;
|
|
1253
|
+
readonly workspaceRevision: Schema.String;
|
|
1254
|
+
readonly agentDefinitionRef: Schema.optional<Schema.Struct<{
|
|
1255
|
+
readonly contentDigest: Schema.String;
|
|
1256
|
+
readonly key: Schema.String;
|
|
1257
|
+
readonly version: Schema.String;
|
|
1258
|
+
}>>;
|
|
1259
|
+
readonly executor: Schema.optional<Schema.Struct<{
|
|
1260
|
+
readonly connectionId: Schema.String;
|
|
1261
|
+
readonly kind: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
|
|
1262
|
+
readonly model: Schema.optional<Schema.String>;
|
|
1263
|
+
}>>;
|
|
1264
|
+
/** Why the runtime of a failed Session failed, when Maia knows. */
|
|
1265
|
+
readonly failure: Schema.optional<Schema.Struct<{
|
|
1266
|
+
readonly code: Schema.String;
|
|
1267
|
+
readonly message: Schema.String;
|
|
1268
|
+
}>>;
|
|
1269
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
1270
|
+
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
1271
|
+
readonly title: Schema.optional<Schema.String>;
|
|
1272
|
+
/** A coding Session's own worktree; a reading Session has none. */
|
|
1273
|
+
readonly worktree: Schema.optional<Schema.Struct<{
|
|
1274
|
+
readonly baseRef: Schema.String;
|
|
1275
|
+
readonly baseRevision: Schema.String;
|
|
1276
|
+
readonly branch: Schema.String;
|
|
1277
|
+
readonly setup: Schema.Literals<readonly ["none", "pending", "succeeded", "failed"]>;
|
|
1278
|
+
readonly skills: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1279
|
+
readonly digest: Schema.String;
|
|
1280
|
+
readonly name: Schema.String;
|
|
1281
|
+
}>>>;
|
|
1282
|
+
readonly state: Schema.Literals<readonly ["active", "archived", "removed"]>;
|
|
1283
|
+
}>>;
|
|
1284
|
+
}>;
|
|
1285
|
+
}>;
|
|
1286
|
+
export declare const sessionRequestPayloadEffectSchema: Schema.Union<readonly [Schema.Struct<{
|
|
1287
|
+
readonly method: Schema.Literal<"session.create">;
|
|
1288
|
+
readonly parameters: Schema.Struct<{
|
|
1289
|
+
readonly commandId: Schema.String;
|
|
1290
|
+
readonly expectedRevision: Schema.Literal<"0">;
|
|
1291
|
+
readonly workspaceId: Schema.String;
|
|
1292
|
+
readonly connectionId: Schema.optional<Schema.String>;
|
|
1293
|
+
readonly definitionRef: Schema.optional<Schema.Struct<{
|
|
1294
|
+
readonly contentDigest: Schema.String;
|
|
1295
|
+
readonly key: Schema.String;
|
|
1296
|
+
readonly version: Schema.String;
|
|
1297
|
+
}>>;
|
|
1298
|
+
readonly executor: Schema.optional<Schema.Literals<readonly ["claude-code", "codex-cli"]>>;
|
|
1299
|
+
readonly model: Schema.optional<Schema.String>;
|
|
1300
|
+
readonly role: Schema.optional<Schema.Literals<readonly ["orchestrator", "worker"]>>;
|
|
1301
|
+
readonly title: Schema.optional<Schema.String>;
|
|
1302
|
+
readonly worktree: Schema.optional<Schema.Struct<{
|
|
1303
|
+
readonly baseRef: Schema.String;
|
|
1304
|
+
}>>;
|
|
1305
|
+
}>;
|
|
1306
|
+
}>, Schema.Struct<{
|
|
1307
|
+
readonly method: Schema.Literal<"session.list">;
|
|
1308
|
+
readonly parameters: Schema.Struct<{
|
|
1309
|
+
readonly afterCursor: Schema.optional<Schema.String>;
|
|
1310
|
+
readonly attention: Schema.optional<Schema.Boolean>;
|
|
1311
|
+
readonly limit: Schema.optional<Schema.Int>;
|
|
1312
|
+
readonly projectId: Schema.optional<Schema.String>;
|
|
1313
|
+
readonly states: Schema.optional<Schema.$Array<Schema.Literals<readonly ["idle", "starting", "running", "waiting-approval", "interrupted", "recovering", "stopping", "stopped", "failed"]>>>;
|
|
1314
|
+
}>;
|
|
1315
|
+
}>, Schema.Struct<{
|
|
1316
|
+
readonly method: Schema.Literal<"session.show">;
|
|
1317
|
+
readonly parameters: Schema.Struct<{
|
|
1318
|
+
readonly sessionId: Schema.String;
|
|
1319
|
+
}>;
|
|
1320
|
+
}>, Schema.Struct<{
|
|
1321
|
+
readonly method: Schema.Literal<"session.spawn">;
|
|
1322
|
+
readonly parameters: Schema.Struct<{
|
|
1323
|
+
readonly commandId: Schema.String;
|
|
1324
|
+
readonly expectedRevision: Schema.Literal<"0">;
|
|
1325
|
+
readonly workspaceId: Schema.String;
|
|
1326
|
+
readonly definitionRef: Schema.optional<Schema.Struct<{
|
|
1327
|
+
readonly contentDigest: Schema.String;
|
|
1328
|
+
readonly key: Schema.String;
|
|
1329
|
+
readonly version: Schema.String;
|
|
1330
|
+
}>>;
|
|
1331
|
+
readonly harness: Schema.Literals<readonly ["maia-agent", "pi"]>;
|
|
1332
|
+
readonly parentSessionId: Schema.String;
|
|
1333
|
+
}>;
|
|
1334
|
+
}>, Schema.Struct<{
|
|
1335
|
+
readonly method: Schema.Literal<"session.events.list">;
|
|
1336
|
+
readonly parameters: Schema.Struct<{
|
|
1337
|
+
readonly afterSessionCursor: Schema.String;
|
|
1338
|
+
readonly limit: Schema.Int;
|
|
1339
|
+
readonly sessionId: Schema.String;
|
|
1340
|
+
}>;
|
|
1341
|
+
}>, Schema.Struct<{
|
|
1342
|
+
readonly method: Schema.Literal<"session.inbox.ack">;
|
|
1343
|
+
readonly parameters: Schema.Struct<{
|
|
1344
|
+
readonly commandId: Schema.String;
|
|
1345
|
+
readonly deliveryId: Schema.String;
|
|
1346
|
+
readonly expectedMailboxRevision: Schema.String;
|
|
1347
|
+
}>;
|
|
1348
|
+
}>, Schema.Struct<{
|
|
1349
|
+
readonly method: Schema.Literal<"session.inbox.check">;
|
|
1350
|
+
readonly parameters: Schema.Struct<{
|
|
1351
|
+
readonly limit: Schema.optional<Schema.Int>;
|
|
1352
|
+
}>;
|
|
1353
|
+
}>, Schema.Struct<{
|
|
1354
|
+
readonly method: Schema.Literal<"session.message.send">;
|
|
1355
|
+
readonly parameters: Schema.Struct<{
|
|
1356
|
+
readonly body: Schema.String;
|
|
1357
|
+
readonly commandId: Schema.String;
|
|
1358
|
+
readonly recipientSessionId: Schema.String;
|
|
1359
|
+
readonly subject: Schema.String;
|
|
1360
|
+
}>;
|
|
1361
|
+
}>, Schema.Struct<{
|
|
1362
|
+
readonly method: Schema.Literal<"session.observe">;
|
|
1363
|
+
readonly parameters: Schema.Struct<{
|
|
1364
|
+
readonly sessionIds: Schema.optional<Schema.$Array<Schema.String>>;
|
|
1365
|
+
readonly stallAfterSeconds: Schema.optional<Schema.Int>;
|
|
1366
|
+
}>;
|
|
1367
|
+
}>, Schema.Struct<{
|
|
1368
|
+
readonly method: Schema.Literal<"session.start">;
|
|
1369
|
+
readonly parameters: Schema.Struct<{
|
|
1370
|
+
readonly commandId: Schema.String;
|
|
1371
|
+
readonly expectedRevision: Schema.String;
|
|
1372
|
+
readonly sessionId: Schema.String;
|
|
1373
|
+
}>;
|
|
1374
|
+
}>, Schema.Struct<{
|
|
1375
|
+
readonly method: Schema.Literal<"session.stop">;
|
|
1376
|
+
readonly parameters: Schema.Struct<{
|
|
1377
|
+
readonly commandId: Schema.String;
|
|
1378
|
+
readonly expectedRevision: Schema.String;
|
|
1379
|
+
readonly sessionId: Schema.String;
|
|
1380
|
+
}>;
|
|
1381
|
+
}>, Schema.Struct<{
|
|
1382
|
+
readonly method: Schema.Literal<"session.resume">;
|
|
1383
|
+
readonly parameters: Schema.Struct<{
|
|
1384
|
+
readonly commandId: Schema.String;
|
|
1385
|
+
readonly expectedRevision: Schema.String;
|
|
1386
|
+
readonly sessionId: Schema.String;
|
|
1387
|
+
}>;
|
|
1388
|
+
}>, Schema.Struct<{
|
|
1389
|
+
readonly method: Schema.Literal<"session.diff">;
|
|
1390
|
+
readonly parameters: Schema.Struct<{
|
|
1391
|
+
readonly sessionId: Schema.String;
|
|
1392
|
+
readonly stat: Schema.optional<Schema.Boolean>;
|
|
1393
|
+
}>;
|
|
1394
|
+
}>, Schema.Struct<{
|
|
1395
|
+
readonly method: Schema.Literal<"session.archive">;
|
|
1396
|
+
readonly parameters: Schema.Struct<{
|
|
1397
|
+
readonly commandId: Schema.String;
|
|
1398
|
+
readonly expectedRevision: Schema.String;
|
|
1399
|
+
readonly sessionId: Schema.String;
|
|
1400
|
+
}>;
|
|
1401
|
+
}>, Schema.Struct<{
|
|
1402
|
+
readonly method: Schema.Literal<"session.rename">;
|
|
1403
|
+
readonly parameters: Schema.Struct<{
|
|
1404
|
+
readonly commandId: Schema.String;
|
|
1405
|
+
readonly expectedRevision: Schema.String;
|
|
1406
|
+
readonly sessionId: Schema.String;
|
|
1407
|
+
readonly title: Schema.String;
|
|
1408
|
+
}>;
|
|
1409
|
+
}>]>;
|
|
1410
|
+
export declare const sessionSuccessResultEffectSchema: Schema.Union<readonly [Schema.Struct<{
|
|
1411
|
+
readonly delivery: Schema.Literals<readonly ["new", "duplicate"]>;
|
|
1412
|
+
readonly method: Schema.Literal<"session.create">;
|
|
1413
|
+
readonly receipt: Schema.Struct<{
|
|
1414
|
+
readonly actorId: Schema.String;
|
|
1415
|
+
readonly aggregateRevision: Schema.String;
|
|
1416
|
+
readonly commandId: Schema.String;
|
|
1417
|
+
readonly createdAt: Schema.String;
|
|
1418
|
+
readonly eventCursor: Schema.String;
|
|
1419
|
+
readonly method: Schema.String;
|
|
1420
|
+
readonly receiptId: Schema.String;
|
|
1421
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
1422
|
+
readonly state: Schema.Literal<"succeeded">;
|
|
1423
|
+
readonly target: Schema.Struct<{
|
|
1424
|
+
readonly id: Schema.String;
|
|
1425
|
+
readonly type: Schema.String;
|
|
1426
|
+
}>;
|
|
1427
|
+
readonly updatedAt: Schema.String;
|
|
1428
|
+
}>;
|
|
1429
|
+
readonly session: Schema.Struct<{
|
|
1430
|
+
readonly createdAt: Schema.String;
|
|
1431
|
+
readonly id: Schema.String;
|
|
1432
|
+
readonly projectId: Schema.String;
|
|
1433
|
+
readonly revision: Schema.String;
|
|
1434
|
+
readonly state: Schema.Literals<readonly ["idle", "starting", "running", "waiting-approval", "interrupted", "recovering", "stopping", "stopped", "failed"]>;
|
|
1435
|
+
readonly updatedAt: Schema.String;
|
|
1436
|
+
readonly workspaceId: Schema.String;
|
|
1437
|
+
readonly workspaceRevision: Schema.String;
|
|
1438
|
+
readonly agentDefinitionRef: Schema.optional<Schema.Struct<{
|
|
1439
|
+
readonly contentDigest: Schema.String;
|
|
1440
|
+
readonly key: Schema.String;
|
|
1441
|
+
readonly version: Schema.String;
|
|
1442
|
+
}>>;
|
|
1443
|
+
readonly executor: Schema.optional<Schema.Struct<{
|
|
1444
|
+
readonly connectionId: Schema.String;
|
|
1445
|
+
readonly kind: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
|
|
1446
|
+
readonly model: Schema.optional<Schema.String>;
|
|
1447
|
+
}>>;
|
|
1448
|
+
/** Why the runtime of a failed Session failed, when Maia knows. */
|
|
1449
|
+
readonly failure: Schema.optional<Schema.Struct<{
|
|
1450
|
+
readonly code: Schema.String;
|
|
1451
|
+
readonly message: Schema.String;
|
|
1452
|
+
}>>;
|
|
1453
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
1454
|
+
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
1455
|
+
readonly title: Schema.optional<Schema.String>;
|
|
1456
|
+
/** A coding Session's own worktree; a reading Session has none. */
|
|
1457
|
+
readonly worktree: Schema.optional<Schema.Struct<{
|
|
1458
|
+
readonly baseRef: Schema.String;
|
|
1459
|
+
readonly baseRevision: Schema.String;
|
|
1460
|
+
readonly branch: Schema.String;
|
|
1461
|
+
readonly setup: Schema.Literals<readonly ["none", "pending", "succeeded", "failed"]>;
|
|
1462
|
+
readonly skills: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1463
|
+
readonly digest: Schema.String;
|
|
1464
|
+
readonly name: Schema.String;
|
|
1465
|
+
}>>>;
|
|
1466
|
+
readonly state: Schema.Literals<readonly ["active", "archived", "removed"]>;
|
|
1467
|
+
}>>;
|
|
1468
|
+
}>;
|
|
1469
|
+
}>, Schema.Struct<{
|
|
1470
|
+
readonly delivery: Schema.Literals<readonly ["new", "duplicate"]>;
|
|
1471
|
+
readonly deliveryRecord: Schema.Struct<{
|
|
1472
|
+
readonly attemptCount: Schema.Int;
|
|
1473
|
+
readonly createdAt: Schema.String;
|
|
1474
|
+
readonly firstCheckedAt: Schema.optional<Schema.String>;
|
|
1475
|
+
readonly id: Schema.String;
|
|
1476
|
+
readonly lastCheckedAt: Schema.optional<Schema.String>;
|
|
1477
|
+
readonly mailboxId: Schema.String;
|
|
1478
|
+
readonly message: Schema.Struct<{
|
|
1479
|
+
readonly body: Schema.String;
|
|
1480
|
+
readonly createdAt: Schema.String;
|
|
1481
|
+
readonly digest: Schema.String;
|
|
1482
|
+
readonly id: Schema.String;
|
|
1483
|
+
readonly recipientSessionId: Schema.String;
|
|
1484
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
1485
|
+
readonly senderSessionId: Schema.String;
|
|
1486
|
+
readonly subject: Schema.String;
|
|
1487
|
+
readonly workspaceId: Schema.String;
|
|
1488
|
+
}>;
|
|
1489
|
+
readonly sequence: Schema.String;
|
|
1490
|
+
readonly acknowledgedAt: Schema.String;
|
|
1491
|
+
readonly acknowledgingSessionId: Schema.String;
|
|
1492
|
+
readonly state: Schema.Literal<"acknowledged">;
|
|
1493
|
+
}>;
|
|
1494
|
+
readonly mailboxId: Schema.String;
|
|
1495
|
+
readonly mailboxRevision: Schema.String;
|
|
1496
|
+
readonly method: Schema.Literal<"session.inbox.ack">;
|
|
1497
|
+
readonly receipt: Schema.Struct<{
|
|
1498
|
+
readonly actorId: Schema.String;
|
|
1499
|
+
readonly aggregateRevision: Schema.String;
|
|
1500
|
+
readonly commandId: Schema.String;
|
|
1501
|
+
readonly createdAt: Schema.String;
|
|
1502
|
+
readonly eventCursor: Schema.String;
|
|
1503
|
+
readonly method: Schema.String;
|
|
1504
|
+
readonly receiptId: Schema.String;
|
|
1505
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
1506
|
+
readonly state: Schema.Literal<"succeeded">;
|
|
1507
|
+
readonly target: Schema.Struct<{
|
|
1508
|
+
readonly id: Schema.String;
|
|
1509
|
+
readonly type: Schema.String;
|
|
1510
|
+
}>;
|
|
1511
|
+
readonly updatedAt: Schema.String;
|
|
1512
|
+
}>;
|
|
1513
|
+
}>, Schema.Struct<{
|
|
1514
|
+
readonly deliveries: Schema.$Array<Schema.Struct<{
|
|
1515
|
+
readonly attemptCount: Schema.Int;
|
|
1516
|
+
readonly createdAt: Schema.String;
|
|
1517
|
+
readonly firstCheckedAt: Schema.optional<Schema.String>;
|
|
1518
|
+
readonly id: Schema.String;
|
|
1519
|
+
readonly lastCheckedAt: Schema.optional<Schema.String>;
|
|
1520
|
+
readonly mailboxId: Schema.String;
|
|
1521
|
+
readonly message: Schema.Struct<{
|
|
1522
|
+
readonly body: Schema.String;
|
|
1523
|
+
readonly createdAt: Schema.String;
|
|
1524
|
+
readonly digest: Schema.String;
|
|
1525
|
+
readonly id: Schema.String;
|
|
1526
|
+
readonly recipientSessionId: Schema.String;
|
|
1527
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
1528
|
+
readonly senderSessionId: Schema.String;
|
|
1529
|
+
readonly subject: Schema.String;
|
|
1530
|
+
readonly workspaceId: Schema.String;
|
|
1531
|
+
}>;
|
|
1532
|
+
readonly sequence: Schema.String;
|
|
1533
|
+
readonly state: Schema.Literal<"pending">;
|
|
1534
|
+
}>>;
|
|
1535
|
+
readonly mailbox: Schema.Struct<{
|
|
1536
|
+
readonly contentBytes: Schema.String;
|
|
1537
|
+
readonly createdAt: Schema.String;
|
|
1538
|
+
readonly deliveryCount: Schema.String;
|
|
1539
|
+
readonly id: Schema.String;
|
|
1540
|
+
readonly revision: Schema.String;
|
|
1541
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
1542
|
+
readonly sessionId: Schema.String;
|
|
1543
|
+
readonly updatedAt: Schema.String;
|
|
1544
|
+
readonly workspaceId: Schema.String;
|
|
1545
|
+
}>;
|
|
1546
|
+
readonly method: Schema.Literal<"session.inbox.check">;
|
|
1547
|
+
}>, Schema.Struct<{
|
|
1548
|
+
readonly attention: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1549
|
+
readonly attention: Schema.Literals<readonly ["failed", "approval_pending", "question", "turn_failed", "stalled", "settled_unreviewed"]>;
|
|
1550
|
+
readonly sessionId: Schema.String;
|
|
1551
|
+
}>>>;
|
|
1552
|
+
readonly items: Schema.$Array<Schema.Struct<{
|
|
1553
|
+
readonly createdAt: Schema.String;
|
|
1554
|
+
readonly id: Schema.String;
|
|
1555
|
+
readonly projectId: Schema.String;
|
|
1556
|
+
readonly revision: Schema.String;
|
|
1557
|
+
readonly state: Schema.Literals<readonly ["idle", "starting", "running", "waiting-approval", "interrupted", "recovering", "stopping", "stopped", "failed"]>;
|
|
1558
|
+
readonly updatedAt: Schema.String;
|
|
1559
|
+
readonly workspaceId: Schema.String;
|
|
1560
|
+
readonly workspaceRevision: Schema.String;
|
|
1561
|
+
readonly agentDefinitionRef: Schema.optional<Schema.Struct<{
|
|
1562
|
+
readonly contentDigest: Schema.String;
|
|
1563
|
+
readonly key: Schema.String;
|
|
1564
|
+
readonly version: Schema.String;
|
|
1565
|
+
}>>;
|
|
1566
|
+
readonly executor: Schema.optional<Schema.Struct<{
|
|
1567
|
+
readonly connectionId: Schema.String;
|
|
1568
|
+
readonly kind: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
|
|
1569
|
+
readonly model: Schema.optional<Schema.String>;
|
|
1570
|
+
}>>;
|
|
1571
|
+
/** Why the runtime of a failed Session failed, when Maia knows. */
|
|
1572
|
+
readonly failure: Schema.optional<Schema.Struct<{
|
|
1573
|
+
readonly code: Schema.String;
|
|
1574
|
+
readonly message: Schema.String;
|
|
1575
|
+
}>>;
|
|
1576
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
1577
|
+
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
1578
|
+
readonly title: Schema.optional<Schema.String>;
|
|
1579
|
+
/** A coding Session's own worktree; a reading Session has none. */
|
|
1580
|
+
readonly worktree: Schema.optional<Schema.Struct<{
|
|
1581
|
+
readonly baseRef: Schema.String;
|
|
1582
|
+
readonly baseRevision: Schema.String;
|
|
1583
|
+
readonly branch: Schema.String;
|
|
1584
|
+
readonly setup: Schema.Literals<readonly ["none", "pending", "succeeded", "failed"]>;
|
|
1585
|
+
readonly skills: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1586
|
+
readonly digest: Schema.String;
|
|
1587
|
+
readonly name: Schema.String;
|
|
1588
|
+
}>>>;
|
|
1589
|
+
readonly state: Schema.Literals<readonly ["active", "archived", "removed"]>;
|
|
1590
|
+
}>>;
|
|
1591
|
+
}>>;
|
|
1592
|
+
readonly method: Schema.Literal<"session.list">;
|
|
1593
|
+
readonly nextCursor: Schema.optional<Schema.String>;
|
|
1594
|
+
}>, Schema.Struct<{
|
|
1595
|
+
readonly delivery: Schema.Literals<readonly ["new", "duplicate"]>;
|
|
1596
|
+
readonly deliveryId: Schema.String;
|
|
1597
|
+
readonly mailboxId: Schema.String;
|
|
1598
|
+
readonly message: Schema.Struct<{
|
|
1599
|
+
readonly body: Schema.String;
|
|
1600
|
+
readonly createdAt: Schema.String;
|
|
1601
|
+
readonly digest: Schema.String;
|
|
1602
|
+
readonly id: Schema.String;
|
|
1603
|
+
readonly recipientSessionId: Schema.String;
|
|
1604
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
1605
|
+
readonly senderSessionId: Schema.String;
|
|
1606
|
+
readonly subject: Schema.String;
|
|
1607
|
+
readonly workspaceId: Schema.String;
|
|
1608
|
+
}>;
|
|
1609
|
+
readonly method: Schema.Literal<"session.message.send">;
|
|
1610
|
+
readonly receipt: Schema.Struct<{
|
|
1611
|
+
readonly actorId: Schema.String;
|
|
1612
|
+
readonly aggregateRevision: Schema.String;
|
|
1613
|
+
readonly commandId: Schema.String;
|
|
1614
|
+
readonly createdAt: Schema.String;
|
|
1615
|
+
readonly eventCursor: Schema.String;
|
|
1616
|
+
readonly method: Schema.String;
|
|
1617
|
+
readonly receiptId: Schema.String;
|
|
1618
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
1619
|
+
readonly state: Schema.Literal<"succeeded">;
|
|
1620
|
+
readonly target: Schema.Struct<{
|
|
1621
|
+
readonly id: Schema.String;
|
|
1622
|
+
readonly type: Schema.String;
|
|
1623
|
+
}>;
|
|
1624
|
+
readonly updatedAt: Schema.String;
|
|
1625
|
+
}>;
|
|
1626
|
+
readonly sequence: Schema.String;
|
|
1627
|
+
}>, Schema.Struct<{
|
|
1628
|
+
readonly items: Schema.$Array<Schema.Struct<{
|
|
1629
|
+
readonly attention: Schema.optional<Schema.Literals<readonly ["failed", "approval_pending", "question", "turn_failed", "stalled", "settled_unreviewed"]>>;
|
|
1630
|
+
readonly runtime: Schema.optional<Schema.Struct<{
|
|
1631
|
+
readonly activity: Schema.Struct<{
|
|
1632
|
+
readonly declinedRequests: Schema.Int;
|
|
1633
|
+
readonly eventCount: Schema.Int;
|
|
1634
|
+
readonly idleMilliseconds: Schema.Int;
|
|
1635
|
+
readonly lastEventAt: Schema.optional<Schema.String>;
|
|
1636
|
+
readonly lastEventKind: Schema.optional<Schema.String>;
|
|
1637
|
+
}>;
|
|
1638
|
+
readonly health: Schema.Literals<readonly ["idle", "stalled", "working"]>;
|
|
1639
|
+
readonly process: Schema.optional<Schema.Struct<{
|
|
1640
|
+
readonly cpuTimeMilliseconds: Schema.optional<Schema.Int>;
|
|
1641
|
+
readonly processCount: Schema.optional<Schema.Int>;
|
|
1642
|
+
readonly rssBytes: Schema.optional<Schema.Int>;
|
|
1643
|
+
readonly wallTimeMilliseconds: Schema.optional<Schema.Int>;
|
|
1644
|
+
}>>;
|
|
1645
|
+
readonly runtime: Schema.Literals<readonly ["claude-code", "codex-cli", "pi"]>;
|
|
1646
|
+
readonly runtimeThreadId: Schema.String;
|
|
1647
|
+
readonly startedAt: Schema.String;
|
|
1648
|
+
readonly turn: Schema.optional<Schema.Struct<{
|
|
1649
|
+
readonly elapsedMilliseconds: Schema.Int;
|
|
1650
|
+
readonly runtimeTurnId: Schema.String;
|
|
1651
|
+
readonly startedAt: Schema.String;
|
|
1652
|
+
readonly turnId: Schema.String;
|
|
1653
|
+
}>>;
|
|
1654
|
+
}>>;
|
|
1655
|
+
readonly sessionId: Schema.String;
|
|
1656
|
+
}>>;
|
|
1657
|
+
readonly method: Schema.Literal<"session.observe">;
|
|
1658
|
+
readonly observedAt: Schema.String;
|
|
1659
|
+
readonly stallAfterSeconds: Schema.Int;
|
|
1660
|
+
}>, Schema.Struct<{
|
|
1661
|
+
readonly method: Schema.Literal<"session.show">;
|
|
1662
|
+
readonly session: Schema.Struct<{
|
|
1663
|
+
readonly createdAt: Schema.String;
|
|
1664
|
+
readonly id: Schema.String;
|
|
1665
|
+
readonly projectId: Schema.String;
|
|
1666
|
+
readonly revision: Schema.String;
|
|
1667
|
+
readonly state: Schema.Literals<readonly ["idle", "starting", "running", "waiting-approval", "interrupted", "recovering", "stopping", "stopped", "failed"]>;
|
|
1668
|
+
readonly updatedAt: Schema.String;
|
|
1669
|
+
readonly workspaceId: Schema.String;
|
|
1670
|
+
readonly workspaceRevision: Schema.String;
|
|
1671
|
+
readonly agentDefinitionRef: Schema.optional<Schema.Struct<{
|
|
1672
|
+
readonly contentDigest: Schema.String;
|
|
1673
|
+
readonly key: Schema.String;
|
|
1674
|
+
readonly version: Schema.String;
|
|
1675
|
+
}>>;
|
|
1676
|
+
readonly executor: Schema.optional<Schema.Struct<{
|
|
1677
|
+
readonly connectionId: Schema.String;
|
|
1678
|
+
readonly kind: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
|
|
1679
|
+
readonly model: Schema.optional<Schema.String>;
|
|
1680
|
+
}>>;
|
|
1681
|
+
/** Why the runtime of a failed Session failed, when Maia knows. */
|
|
1682
|
+
readonly failure: Schema.optional<Schema.Struct<{
|
|
1683
|
+
readonly code: Schema.String;
|
|
1684
|
+
readonly message: Schema.String;
|
|
1685
|
+
}>>;
|
|
1686
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
1687
|
+
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
1688
|
+
readonly title: Schema.optional<Schema.String>;
|
|
1689
|
+
/** A coding Session's own worktree; a reading Session has none. */
|
|
1690
|
+
readonly worktree: Schema.optional<Schema.Struct<{
|
|
1691
|
+
readonly baseRef: Schema.String;
|
|
1692
|
+
readonly baseRevision: Schema.String;
|
|
1693
|
+
readonly branch: Schema.String;
|
|
1694
|
+
readonly setup: Schema.Literals<readonly ["none", "pending", "succeeded", "failed"]>;
|
|
1695
|
+
readonly skills: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1696
|
+
readonly digest: Schema.String;
|
|
1697
|
+
readonly name: Schema.String;
|
|
1698
|
+
}>>>;
|
|
1699
|
+
readonly state: Schema.Literals<readonly ["active", "archived", "removed"]>;
|
|
1700
|
+
}>>;
|
|
1701
|
+
}>;
|
|
1702
|
+
}>, Schema.Struct<{
|
|
1703
|
+
readonly delivery: Schema.Literals<readonly ["new", "duplicate"]>;
|
|
1704
|
+
readonly harness: Schema.Literals<readonly ["maia-agent", "pi"]>;
|
|
1705
|
+
readonly method: Schema.Literal<"session.spawn">;
|
|
1706
|
+
readonly parentSessionId: Schema.String;
|
|
1707
|
+
readonly receipt: Schema.Struct<{
|
|
1708
|
+
readonly actorId: Schema.String;
|
|
1709
|
+
readonly aggregateRevision: Schema.String;
|
|
1710
|
+
readonly commandId: Schema.String;
|
|
1711
|
+
readonly createdAt: Schema.String;
|
|
1712
|
+
readonly eventCursor: Schema.String;
|
|
1713
|
+
readonly method: Schema.String;
|
|
1714
|
+
readonly receiptId: Schema.String;
|
|
1715
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
1716
|
+
readonly state: Schema.Literal<"succeeded">;
|
|
1717
|
+
readonly target: Schema.Struct<{
|
|
1718
|
+
readonly id: Schema.String;
|
|
1719
|
+
readonly type: Schema.String;
|
|
1720
|
+
}>;
|
|
1721
|
+
readonly updatedAt: Schema.String;
|
|
1722
|
+
}>;
|
|
1723
|
+
readonly session: Schema.Struct<{
|
|
1724
|
+
readonly createdAt: Schema.String;
|
|
1725
|
+
readonly id: Schema.String;
|
|
1726
|
+
readonly projectId: Schema.String;
|
|
1727
|
+
readonly revision: Schema.String;
|
|
1728
|
+
readonly state: Schema.Literals<readonly ["idle", "starting", "running", "waiting-approval", "interrupted", "recovering", "stopping", "stopped", "failed"]>;
|
|
1729
|
+
readonly updatedAt: Schema.String;
|
|
1730
|
+
readonly workspaceId: Schema.String;
|
|
1731
|
+
readonly workspaceRevision: Schema.String;
|
|
1732
|
+
readonly agentDefinitionRef: Schema.optional<Schema.Struct<{
|
|
1733
|
+
readonly contentDigest: Schema.String;
|
|
1734
|
+
readonly key: Schema.String;
|
|
1735
|
+
readonly version: Schema.String;
|
|
1736
|
+
}>>;
|
|
1737
|
+
readonly executor: Schema.optional<Schema.Struct<{
|
|
1738
|
+
readonly connectionId: Schema.String;
|
|
1739
|
+
readonly kind: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
|
|
1740
|
+
readonly model: Schema.optional<Schema.String>;
|
|
1741
|
+
}>>;
|
|
1742
|
+
/** Why the runtime of a failed Session failed, when Maia knows. */
|
|
1743
|
+
readonly failure: Schema.optional<Schema.Struct<{
|
|
1744
|
+
readonly code: Schema.String;
|
|
1745
|
+
readonly message: Schema.String;
|
|
1746
|
+
}>>;
|
|
1747
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
1748
|
+
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
1749
|
+
readonly title: Schema.optional<Schema.String>;
|
|
1750
|
+
/** A coding Session's own worktree; a reading Session has none. */
|
|
1751
|
+
readonly worktree: Schema.optional<Schema.Struct<{
|
|
1752
|
+
readonly baseRef: Schema.String;
|
|
1753
|
+
readonly baseRevision: Schema.String;
|
|
1754
|
+
readonly branch: Schema.String;
|
|
1755
|
+
readonly setup: Schema.Literals<readonly ["none", "pending", "succeeded", "failed"]>;
|
|
1756
|
+
readonly skills: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
1757
|
+
readonly digest: Schema.String;
|
|
1758
|
+
readonly name: Schema.String;
|
|
1759
|
+
}>>>;
|
|
1760
|
+
readonly state: Schema.Literals<readonly ["active", "archived", "removed"]>;
|
|
1761
|
+
}>>;
|
|
1762
|
+
}>;
|
|
1763
|
+
}>, Schema.Struct<{
|
|
1764
|
+
readonly headSessionCursor: Schema.String;
|
|
1765
|
+
readonly items: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
1766
|
+
readonly commandId: Schema.String;
|
|
1767
|
+
readonly eventType: Schema.Literal<"session.created">;
|
|
1768
|
+
readonly globalCursor: Schema.String;
|
|
1769
|
+
readonly payload: Schema.Struct<{
|
|
1770
|
+
/** An adopted Session resumes this native Claude Code or Codex session. */
|
|
1771
|
+
readonly adoptedFrom: Schema.optional<Schema.Struct<{
|
|
1772
|
+
readonly nativeId: Schema.String;
|
|
1773
|
+
readonly workingDirectory: Schema.Literals<readonly ["original", "relocated"]>;
|
|
1774
|
+
}>>;
|
|
1775
|
+
readonly agentDefinitionRef: Schema.optional<Schema.Struct<{
|
|
1776
|
+
readonly contentDigest: Schema.String;
|
|
1777
|
+
readonly key: Schema.String;
|
|
1778
|
+
readonly version: Schema.String;
|
|
1779
|
+
}>>;
|
|
1780
|
+
/** The account the Session binds to, named or picked by the Node. */
|
|
1781
|
+
readonly executor: Schema.optional<Schema.Struct<{
|
|
1782
|
+
readonly connectionId: Schema.String;
|
|
1783
|
+
readonly kind: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
|
|
1784
|
+
readonly model: Schema.optional<Schema.String>;
|
|
1785
|
+
}>>;
|
|
1786
|
+
readonly projectId: Schema.String;
|
|
1787
|
+
readonly workspaceId: Schema.String;
|
|
1788
|
+
readonly workspaceRevision: Schema.String;
|
|
1789
|
+
/** The worktree Maia created for a coding Session. */
|
|
1790
|
+
readonly worktree: Schema.optional<Schema.Struct<{
|
|
1791
|
+
readonly baseRef: Schema.String;
|
|
1792
|
+
readonly baseRevision: Schema.String;
|
|
1793
|
+
readonly branch: Schema.String;
|
|
1794
|
+
}>>;
|
|
1795
|
+
}>;
|
|
1796
|
+
readonly recordedAt: Schema.String;
|
|
1797
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
1798
|
+
readonly sessionCursor: Schema.String;
|
|
1799
|
+
readonly sessionId: Schema.String;
|
|
1800
|
+
}>, Schema.Struct<{
|
|
1801
|
+
readonly commandId: Schema.String;
|
|
1802
|
+
readonly eventType: Schema.Literal<"session.start.requested">;
|
|
1803
|
+
readonly globalCursor: Schema.String;
|
|
1804
|
+
readonly payload: Schema.$Record<Schema.String, Schema.Never>;
|
|
1805
|
+
readonly recordedAt: Schema.String;
|
|
1806
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
1807
|
+
readonly sessionCursor: Schema.String;
|
|
1808
|
+
readonly sessionId: Schema.String;
|
|
1809
|
+
}>, Schema.Struct<{
|
|
1810
|
+
readonly commandId: Schema.String;
|
|
1811
|
+
readonly eventType: Schema.Literal<"session.runtime.started">;
|
|
1812
|
+
readonly globalCursor: Schema.String;
|
|
1813
|
+
readonly payload: Schema.Struct<{
|
|
1814
|
+
readonly executableVersion: Schema.String;
|
|
1815
|
+
}>;
|
|
1816
|
+
readonly recordedAt: Schema.String;
|
|
1817
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
1818
|
+
readonly sessionCursor: Schema.String;
|
|
1819
|
+
readonly sessionId: Schema.String;
|
|
1820
|
+
}>, Schema.Struct<{
|
|
1821
|
+
readonly commandId: Schema.String;
|
|
1822
|
+
readonly eventType: Schema.Literal<"session.runtime.recovery.requested">;
|
|
1823
|
+
readonly globalCursor: Schema.String;
|
|
1824
|
+
readonly payload: Schema.$Record<Schema.String, Schema.Never>;
|
|
1825
|
+
readonly recordedAt: Schema.String;
|
|
1826
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
1827
|
+
readonly sessionCursor: Schema.String;
|
|
1828
|
+
readonly sessionId: Schema.String;
|
|
1829
|
+
}>, Schema.Struct<{
|
|
1830
|
+
readonly commandId: Schema.String;
|
|
1831
|
+
readonly eventType: Schema.Literal<"session.runtime.resumed">;
|
|
1832
|
+
readonly globalCursor: Schema.String;
|
|
1833
|
+
readonly payload: Schema.Struct<{
|
|
1834
|
+
readonly executableVersion: Schema.String;
|
|
1835
|
+
}>;
|
|
1836
|
+
readonly recordedAt: Schema.String;
|
|
1837
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
1838
|
+
readonly sessionCursor: Schema.String;
|
|
1839
|
+
readonly sessionId: Schema.String;
|
|
1840
|
+
}>, Schema.Struct<{
|
|
1841
|
+
readonly commandId: Schema.String;
|
|
1842
|
+
readonly eventType: Schema.Literal<"session.runtime.failed">;
|
|
1843
|
+
readonly globalCursor: Schema.String;
|
|
1844
|
+
readonly payload: Schema.Struct<{
|
|
1845
|
+
readonly failure: Schema.optional<Schema.Struct<{
|
|
1846
|
+
readonly code: Schema.String;
|
|
1847
|
+
readonly message: Schema.String;
|
|
1848
|
+
}>>;
|
|
1849
|
+
readonly reason: Schema.Literals<readonly ["activation_failed", "activation_outcome_unknown", "runtime_exited"]>;
|
|
1850
|
+
}>;
|
|
1851
|
+
readonly recordedAt: Schema.String;
|
|
1852
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
1853
|
+
readonly sessionCursor: Schema.String;
|
|
1854
|
+
readonly sessionId: Schema.String;
|
|
1855
|
+
}>, Schema.Struct<{
|
|
1856
|
+
readonly commandId: Schema.String;
|
|
1857
|
+
readonly eventType: Schema.Literal<"session.stopped">;
|
|
1858
|
+
readonly globalCursor: Schema.String;
|
|
1859
|
+
readonly payload: Schema.Struct<{
|
|
1860
|
+
readonly holdId: Schema.optional<Schema.String>;
|
|
1861
|
+
}>;
|
|
1862
|
+
readonly recordedAt: Schema.String;
|
|
1863
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
1864
|
+
readonly sessionCursor: Schema.String;
|
|
1865
|
+
readonly sessionId: Schema.String;
|
|
1866
|
+
}>, Schema.Struct<{
|
|
1867
|
+
readonly commandId: Schema.String;
|
|
1868
|
+
readonly eventType: Schema.Literal<"session.resume.requested">;
|
|
1869
|
+
readonly globalCursor: Schema.String;
|
|
1870
|
+
readonly payload: Schema.$Record<Schema.String, Schema.Never>;
|
|
1871
|
+
readonly recordedAt: Schema.String;
|
|
1872
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
1873
|
+
readonly sessionCursor: Schema.String;
|
|
1874
|
+
readonly sessionId: Schema.String;
|
|
1875
|
+
}>, Schema.Struct<{
|
|
1876
|
+
readonly commandId: Schema.String;
|
|
1877
|
+
readonly eventType: Schema.Literal<"session.archived">;
|
|
1878
|
+
readonly globalCursor: Schema.String;
|
|
1879
|
+
readonly payload: Schema.Struct<{
|
|
1880
|
+
readonly branch: Schema.String;
|
|
1881
|
+
readonly branchRevision: Schema.String;
|
|
1882
|
+
readonly pruneAfter: Schema.String;
|
|
1883
|
+
readonly snapshot: Schema.Literals<readonly ["clean", "committed"]>;
|
|
1884
|
+
}>;
|
|
1885
|
+
readonly recordedAt: Schema.String;
|
|
1886
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
1887
|
+
readonly sessionCursor: Schema.String;
|
|
1888
|
+
readonly sessionId: Schema.String;
|
|
1889
|
+
}>, Schema.Struct<{
|
|
1890
|
+
readonly commandId: Schema.String;
|
|
1891
|
+
readonly eventType: Schema.Literal<"session.renamed">;
|
|
1892
|
+
readonly globalCursor: Schema.String;
|
|
1893
|
+
readonly payload: Schema.Struct<{
|
|
1894
|
+
readonly title: Schema.String;
|
|
1895
|
+
}>;
|
|
1896
|
+
readonly recordedAt: Schema.String;
|
|
1897
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
1898
|
+
readonly sessionCursor: Schema.String;
|
|
1899
|
+
readonly sessionId: Schema.String;
|
|
1900
|
+
}>, Schema.Struct<{
|
|
1901
|
+
readonly commandId: Schema.String;
|
|
1902
|
+
readonly eventType: Schema.Literal<"session.worktree.removed">;
|
|
1903
|
+
readonly globalCursor: Schema.String;
|
|
1904
|
+
readonly payload: Schema.Struct<{
|
|
1905
|
+
readonly branch: Schema.String;
|
|
1906
|
+
readonly cleanupOperationId: Schema.String;
|
|
1907
|
+
}>;
|
|
1908
|
+
readonly recordedAt: Schema.String;
|
|
1909
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
1910
|
+
readonly sessionCursor: Schema.String;
|
|
1911
|
+
readonly sessionId: Schema.String;
|
|
1912
|
+
}>, Schema.Union<readonly [Schema.Struct<{
|
|
1913
|
+
readonly commandId: Schema.String;
|
|
1914
|
+
readonly globalCursor: Schema.String;
|
|
1915
|
+
readonly recordedAt: Schema.String;
|
|
1916
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
1917
|
+
readonly sessionCursor: Schema.String;
|
|
1918
|
+
readonly sessionId: Schema.String;
|
|
1919
|
+
readonly eventType: Schema.Literal<"turn.queued">;
|
|
1920
|
+
readonly payload: Schema.Struct<{
|
|
1921
|
+
readonly turnId: Schema.String;
|
|
1922
|
+
}>;
|
|
1923
|
+
}>, Schema.Struct<{
|
|
1924
|
+
readonly commandId: Schema.String;
|
|
1925
|
+
readonly globalCursor: Schema.String;
|
|
1926
|
+
readonly recordedAt: Schema.String;
|
|
1927
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
1928
|
+
readonly sessionCursor: Schema.String;
|
|
1929
|
+
readonly sessionId: Schema.String;
|
|
1930
|
+
readonly eventType: Schema.Literal<"turn.dispatching">;
|
|
1931
|
+
readonly payload: Schema.Struct<{
|
|
1932
|
+
readonly turnId: Schema.String;
|
|
1933
|
+
}>;
|
|
1934
|
+
}>, Schema.Struct<{
|
|
1935
|
+
readonly commandId: Schema.String;
|
|
1936
|
+
readonly globalCursor: Schema.String;
|
|
1937
|
+
readonly recordedAt: Schema.String;
|
|
1938
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
1939
|
+
readonly sessionCursor: Schema.String;
|
|
1940
|
+
readonly sessionId: Schema.String;
|
|
1941
|
+
readonly eventType: Schema.Literal<"turn.started">;
|
|
1942
|
+
readonly payload: Schema.Struct<{
|
|
1943
|
+
readonly turnId: Schema.String;
|
|
1944
|
+
}>;
|
|
1945
|
+
}>, Schema.Struct<{
|
|
1946
|
+
readonly commandId: Schema.String;
|
|
1947
|
+
readonly globalCursor: Schema.String;
|
|
1948
|
+
readonly recordedAt: Schema.String;
|
|
1949
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
1950
|
+
readonly sessionCursor: Schema.String;
|
|
1951
|
+
readonly sessionId: Schema.String;
|
|
1952
|
+
readonly eventType: Schema.Literal<"turn.completed">;
|
|
1953
|
+
readonly payload: Schema.Struct<{
|
|
1954
|
+
readonly turnId: Schema.String;
|
|
1955
|
+
}>;
|
|
1956
|
+
}>, Schema.Struct<{
|
|
1957
|
+
readonly commandId: Schema.String;
|
|
1958
|
+
readonly globalCursor: Schema.String;
|
|
1959
|
+
readonly recordedAt: Schema.String;
|
|
1960
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
1961
|
+
readonly sessionCursor: Schema.String;
|
|
1962
|
+
readonly sessionId: Schema.String;
|
|
1963
|
+
readonly eventType: Schema.Literal<"turn.interrupted">;
|
|
1964
|
+
readonly payload: Schema.Struct<{
|
|
1965
|
+
readonly turnId: Schema.String;
|
|
1966
|
+
}>;
|
|
1967
|
+
}>, Schema.Struct<{
|
|
1968
|
+
readonly commandId: Schema.String;
|
|
1969
|
+
readonly globalCursor: Schema.String;
|
|
1970
|
+
readonly recordedAt: Schema.String;
|
|
1971
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
1972
|
+
readonly sessionCursor: Schema.String;
|
|
1973
|
+
readonly sessionId: Schema.String;
|
|
1974
|
+
readonly eventType: Schema.Literal<"turn.failed">;
|
|
1975
|
+
readonly payload: Schema.Struct<{
|
|
1976
|
+
readonly turnId: Schema.String;
|
|
1977
|
+
}>;
|
|
1978
|
+
}>]>]>>;
|
|
1979
|
+
readonly method: Schema.Literal<"session.events.list">;
|
|
1980
|
+
readonly nextSessionCursor: Schema.optional<Schema.String>;
|
|
1981
|
+
readonly sessionId: Schema.String;
|
|
1982
|
+
}>, Schema.Struct<{
|
|
1983
|
+
readonly delivery: Schema.Literals<readonly ["new", "duplicate"]>;
|
|
1984
|
+
readonly method: Schema.Literal<"session.start">;
|
|
1985
|
+
readonly receipt: Schema.Struct<{
|
|
1986
|
+
readonly actorId: Schema.String;
|
|
1987
|
+
readonly aggregateRevision: Schema.String;
|
|
1988
|
+
readonly commandId: Schema.String;
|
|
1989
|
+
readonly createdAt: Schema.String;
|
|
1990
|
+
readonly eventCursor: Schema.String;
|
|
1991
|
+
readonly method: Schema.String;
|
|
1992
|
+
readonly receiptId: Schema.String;
|
|
1993
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
1994
|
+
readonly state: Schema.Literal<"succeeded">;
|
|
1995
|
+
readonly target: Schema.Struct<{
|
|
1996
|
+
readonly id: Schema.String;
|
|
1997
|
+
readonly type: Schema.String;
|
|
1998
|
+
}>;
|
|
1999
|
+
readonly updatedAt: Schema.String;
|
|
2000
|
+
}>;
|
|
2001
|
+
readonly session: Schema.Struct<{
|
|
2002
|
+
readonly createdAt: Schema.String;
|
|
2003
|
+
readonly id: Schema.String;
|
|
2004
|
+
readonly projectId: Schema.String;
|
|
2005
|
+
readonly revision: Schema.String;
|
|
2006
|
+
readonly state: Schema.Literals<readonly ["idle", "starting", "running", "waiting-approval", "interrupted", "recovering", "stopping", "stopped", "failed"]>;
|
|
2007
|
+
readonly updatedAt: Schema.String;
|
|
2008
|
+
readonly workspaceId: Schema.String;
|
|
2009
|
+
readonly workspaceRevision: Schema.String;
|
|
2010
|
+
readonly agentDefinitionRef: Schema.optional<Schema.Struct<{
|
|
2011
|
+
readonly contentDigest: Schema.String;
|
|
2012
|
+
readonly key: Schema.String;
|
|
2013
|
+
readonly version: Schema.String;
|
|
2014
|
+
}>>;
|
|
2015
|
+
readonly executor: Schema.optional<Schema.Struct<{
|
|
2016
|
+
readonly connectionId: Schema.String;
|
|
2017
|
+
readonly kind: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
|
|
2018
|
+
readonly model: Schema.optional<Schema.String>;
|
|
2019
|
+
}>>;
|
|
2020
|
+
/** Why the runtime of a failed Session failed, when Maia knows. */
|
|
2021
|
+
readonly failure: Schema.optional<Schema.Struct<{
|
|
2022
|
+
readonly code: Schema.String;
|
|
2023
|
+
readonly message: Schema.String;
|
|
2024
|
+
}>>;
|
|
2025
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
2026
|
+
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
2027
|
+
readonly title: Schema.optional<Schema.String>;
|
|
2028
|
+
/** A coding Session's own worktree; a reading Session has none. */
|
|
2029
|
+
readonly worktree: Schema.optional<Schema.Struct<{
|
|
2030
|
+
readonly baseRef: Schema.String;
|
|
2031
|
+
readonly baseRevision: Schema.String;
|
|
2032
|
+
readonly branch: Schema.String;
|
|
2033
|
+
readonly setup: Schema.Literals<readonly ["none", "pending", "succeeded", "failed"]>;
|
|
2034
|
+
readonly skills: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
2035
|
+
readonly digest: Schema.String;
|
|
2036
|
+
readonly name: Schema.String;
|
|
2037
|
+
}>>>;
|
|
2038
|
+
readonly state: Schema.Literals<readonly ["active", "archived", "removed"]>;
|
|
2039
|
+
}>>;
|
|
2040
|
+
}>;
|
|
2041
|
+
}>, Schema.Struct<{
|
|
2042
|
+
readonly delivery: Schema.Literals<readonly ["new", "duplicate"]>;
|
|
2043
|
+
readonly method: Schema.Literal<"session.stop">;
|
|
2044
|
+
readonly receipt: Schema.Struct<{
|
|
2045
|
+
readonly actorId: Schema.String;
|
|
2046
|
+
readonly aggregateRevision: Schema.String;
|
|
2047
|
+
readonly commandId: Schema.String;
|
|
2048
|
+
readonly createdAt: Schema.String;
|
|
2049
|
+
readonly eventCursor: Schema.String;
|
|
2050
|
+
readonly method: Schema.String;
|
|
2051
|
+
readonly receiptId: Schema.String;
|
|
2052
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
2053
|
+
readonly state: Schema.Literal<"succeeded">;
|
|
2054
|
+
readonly target: Schema.Struct<{
|
|
2055
|
+
readonly id: Schema.String;
|
|
2056
|
+
readonly type: Schema.String;
|
|
2057
|
+
}>;
|
|
2058
|
+
readonly updatedAt: Schema.String;
|
|
2059
|
+
}>;
|
|
2060
|
+
readonly session: Schema.Struct<{
|
|
2061
|
+
readonly createdAt: Schema.String;
|
|
2062
|
+
readonly id: Schema.String;
|
|
2063
|
+
readonly projectId: Schema.String;
|
|
2064
|
+
readonly revision: Schema.String;
|
|
2065
|
+
readonly state: Schema.Literals<readonly ["idle", "starting", "running", "waiting-approval", "interrupted", "recovering", "stopping", "stopped", "failed"]>;
|
|
2066
|
+
readonly updatedAt: Schema.String;
|
|
2067
|
+
readonly workspaceId: Schema.String;
|
|
2068
|
+
readonly workspaceRevision: Schema.String;
|
|
2069
|
+
readonly agentDefinitionRef: Schema.optional<Schema.Struct<{
|
|
2070
|
+
readonly contentDigest: Schema.String;
|
|
2071
|
+
readonly key: Schema.String;
|
|
2072
|
+
readonly version: Schema.String;
|
|
2073
|
+
}>>;
|
|
2074
|
+
readonly executor: Schema.optional<Schema.Struct<{
|
|
2075
|
+
readonly connectionId: Schema.String;
|
|
2076
|
+
readonly kind: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
|
|
2077
|
+
readonly model: Schema.optional<Schema.String>;
|
|
2078
|
+
}>>;
|
|
2079
|
+
/** Why the runtime of a failed Session failed, when Maia knows. */
|
|
2080
|
+
readonly failure: Schema.optional<Schema.Struct<{
|
|
2081
|
+
readonly code: Schema.String;
|
|
2082
|
+
readonly message: Schema.String;
|
|
2083
|
+
}>>;
|
|
2084
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
2085
|
+
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
2086
|
+
readonly title: Schema.optional<Schema.String>;
|
|
2087
|
+
/** A coding Session's own worktree; a reading Session has none. */
|
|
2088
|
+
readonly worktree: Schema.optional<Schema.Struct<{
|
|
2089
|
+
readonly baseRef: Schema.String;
|
|
2090
|
+
readonly baseRevision: Schema.String;
|
|
2091
|
+
readonly branch: Schema.String;
|
|
2092
|
+
readonly setup: Schema.Literals<readonly ["none", "pending", "succeeded", "failed"]>;
|
|
2093
|
+
readonly skills: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
2094
|
+
readonly digest: Schema.String;
|
|
2095
|
+
readonly name: Schema.String;
|
|
2096
|
+
}>>>;
|
|
2097
|
+
readonly state: Schema.Literals<readonly ["active", "archived", "removed"]>;
|
|
2098
|
+
}>>;
|
|
2099
|
+
}>;
|
|
2100
|
+
}>, Schema.Struct<{
|
|
2101
|
+
readonly delivery: Schema.Literals<readonly ["new", "duplicate"]>;
|
|
2102
|
+
readonly method: Schema.Literal<"session.resume">;
|
|
2103
|
+
readonly receipt: Schema.Struct<{
|
|
2104
|
+
readonly actorId: Schema.String;
|
|
2105
|
+
readonly aggregateRevision: Schema.String;
|
|
2106
|
+
readonly commandId: Schema.String;
|
|
2107
|
+
readonly createdAt: Schema.String;
|
|
2108
|
+
readonly eventCursor: Schema.String;
|
|
2109
|
+
readonly method: Schema.String;
|
|
2110
|
+
readonly receiptId: Schema.String;
|
|
2111
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
2112
|
+
readonly state: Schema.Literal<"succeeded">;
|
|
2113
|
+
readonly target: Schema.Struct<{
|
|
2114
|
+
readonly id: Schema.String;
|
|
2115
|
+
readonly type: Schema.String;
|
|
2116
|
+
}>;
|
|
2117
|
+
readonly updatedAt: Schema.String;
|
|
2118
|
+
}>;
|
|
2119
|
+
readonly session: Schema.Struct<{
|
|
2120
|
+
readonly createdAt: Schema.String;
|
|
2121
|
+
readonly id: Schema.String;
|
|
2122
|
+
readonly projectId: Schema.String;
|
|
2123
|
+
readonly revision: Schema.String;
|
|
2124
|
+
readonly state: Schema.Literals<readonly ["idle", "starting", "running", "waiting-approval", "interrupted", "recovering", "stopping", "stopped", "failed"]>;
|
|
2125
|
+
readonly updatedAt: Schema.String;
|
|
2126
|
+
readonly workspaceId: Schema.String;
|
|
2127
|
+
readonly workspaceRevision: Schema.String;
|
|
2128
|
+
readonly agentDefinitionRef: Schema.optional<Schema.Struct<{
|
|
2129
|
+
readonly contentDigest: Schema.String;
|
|
2130
|
+
readonly key: Schema.String;
|
|
2131
|
+
readonly version: Schema.String;
|
|
2132
|
+
}>>;
|
|
2133
|
+
readonly executor: Schema.optional<Schema.Struct<{
|
|
2134
|
+
readonly connectionId: Schema.String;
|
|
2135
|
+
readonly kind: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
|
|
2136
|
+
readonly model: Schema.optional<Schema.String>;
|
|
2137
|
+
}>>;
|
|
2138
|
+
/** Why the runtime of a failed Session failed, when Maia knows. */
|
|
2139
|
+
readonly failure: Schema.optional<Schema.Struct<{
|
|
2140
|
+
readonly code: Schema.String;
|
|
2141
|
+
readonly message: Schema.String;
|
|
2142
|
+
}>>;
|
|
2143
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
2144
|
+
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
2145
|
+
readonly title: Schema.optional<Schema.String>;
|
|
2146
|
+
/** A coding Session's own worktree; a reading Session has none. */
|
|
2147
|
+
readonly worktree: Schema.optional<Schema.Struct<{
|
|
2148
|
+
readonly baseRef: Schema.String;
|
|
2149
|
+
readonly baseRevision: Schema.String;
|
|
2150
|
+
readonly branch: Schema.String;
|
|
2151
|
+
readonly setup: Schema.Literals<readonly ["none", "pending", "succeeded", "failed"]>;
|
|
2152
|
+
readonly skills: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
2153
|
+
readonly digest: Schema.String;
|
|
2154
|
+
readonly name: Schema.String;
|
|
2155
|
+
}>>>;
|
|
2156
|
+
readonly state: Schema.Literals<readonly ["active", "archived", "removed"]>;
|
|
2157
|
+
}>>;
|
|
2158
|
+
}>;
|
|
2159
|
+
}>, Schema.Struct<{
|
|
2160
|
+
readonly baseRevision: Schema.String;
|
|
2161
|
+
readonly branch: Schema.String;
|
|
2162
|
+
readonly deletions: Schema.Int;
|
|
2163
|
+
readonly files: Schema.$Array<Schema.Struct<{
|
|
2164
|
+
readonly deletions: Schema.optional<Schema.Int>;
|
|
2165
|
+
readonly insertions: Schema.optional<Schema.Int>;
|
|
2166
|
+
readonly path: Schema.String;
|
|
2167
|
+
readonly previousPath: Schema.optional<Schema.String>;
|
|
2168
|
+
readonly status: Schema.Literals<readonly ["added", "copied", "deleted", "modified", "renamed", "type_changed"]>;
|
|
2169
|
+
}>>;
|
|
2170
|
+
readonly insertions: Schema.Int;
|
|
2171
|
+
readonly method: Schema.Literal<"session.diff">;
|
|
2172
|
+
readonly patch: Schema.optional<Schema.String>;
|
|
2173
|
+
readonly patchTruncated: Schema.optional<Schema.Literal<true>>;
|
|
2174
|
+
readonly sessionId: Schema.String;
|
|
2175
|
+
readonly totalFiles: Schema.Int;
|
|
2176
|
+
}>, Schema.Struct<{
|
|
2177
|
+
readonly archive: Schema.optional<Schema.Struct<{
|
|
2178
|
+
readonly branch: Schema.String;
|
|
2179
|
+
readonly branchRevision: Schema.String;
|
|
2180
|
+
readonly pruneAfter: Schema.String;
|
|
2181
|
+
readonly snapshot: Schema.Literals<readonly ["clean", "committed"]>;
|
|
2182
|
+
}>>;
|
|
2183
|
+
readonly delivery: Schema.Literals<readonly ["new", "duplicate"]>;
|
|
2184
|
+
readonly method: Schema.Literal<"session.archive">;
|
|
2185
|
+
readonly receipt: Schema.Struct<{
|
|
2186
|
+
readonly actorId: Schema.String;
|
|
2187
|
+
readonly aggregateRevision: Schema.String;
|
|
2188
|
+
readonly commandId: Schema.String;
|
|
2189
|
+
readonly createdAt: Schema.String;
|
|
2190
|
+
readonly eventCursor: Schema.String;
|
|
2191
|
+
readonly method: Schema.String;
|
|
2192
|
+
readonly receiptId: Schema.String;
|
|
2193
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
2194
|
+
readonly state: Schema.Literal<"succeeded">;
|
|
2195
|
+
readonly target: Schema.Struct<{
|
|
2196
|
+
readonly id: Schema.String;
|
|
2197
|
+
readonly type: Schema.String;
|
|
2198
|
+
}>;
|
|
2199
|
+
readonly updatedAt: Schema.String;
|
|
2200
|
+
}>;
|
|
2201
|
+
readonly session: Schema.Struct<{
|
|
2202
|
+
readonly createdAt: Schema.String;
|
|
2203
|
+
readonly id: Schema.String;
|
|
2204
|
+
readonly projectId: Schema.String;
|
|
2205
|
+
readonly revision: Schema.String;
|
|
2206
|
+
readonly state: Schema.Literals<readonly ["idle", "starting", "running", "waiting-approval", "interrupted", "recovering", "stopping", "stopped", "failed"]>;
|
|
2207
|
+
readonly updatedAt: Schema.String;
|
|
2208
|
+
readonly workspaceId: Schema.String;
|
|
2209
|
+
readonly workspaceRevision: Schema.String;
|
|
2210
|
+
readonly agentDefinitionRef: Schema.optional<Schema.Struct<{
|
|
2211
|
+
readonly contentDigest: Schema.String;
|
|
2212
|
+
readonly key: Schema.String;
|
|
2213
|
+
readonly version: Schema.String;
|
|
2214
|
+
}>>;
|
|
2215
|
+
readonly executor: Schema.optional<Schema.Struct<{
|
|
2216
|
+
readonly connectionId: Schema.String;
|
|
2217
|
+
readonly kind: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
|
|
2218
|
+
readonly model: Schema.optional<Schema.String>;
|
|
2219
|
+
}>>;
|
|
2220
|
+
/** Why the runtime of a failed Session failed, when Maia knows. */
|
|
2221
|
+
readonly failure: Schema.optional<Schema.Struct<{
|
|
2222
|
+
readonly code: Schema.String;
|
|
2223
|
+
readonly message: Schema.String;
|
|
2224
|
+
}>>;
|
|
2225
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
2226
|
+
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
2227
|
+
readonly title: Schema.optional<Schema.String>;
|
|
2228
|
+
/** A coding Session's own worktree; a reading Session has none. */
|
|
2229
|
+
readonly worktree: Schema.optional<Schema.Struct<{
|
|
2230
|
+
readonly baseRef: Schema.String;
|
|
2231
|
+
readonly baseRevision: Schema.String;
|
|
2232
|
+
readonly branch: Schema.String;
|
|
2233
|
+
readonly setup: Schema.Literals<readonly ["none", "pending", "succeeded", "failed"]>;
|
|
2234
|
+
readonly skills: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
2235
|
+
readonly digest: Schema.String;
|
|
2236
|
+
readonly name: Schema.String;
|
|
2237
|
+
}>>>;
|
|
2238
|
+
readonly state: Schema.Literals<readonly ["active", "archived", "removed"]>;
|
|
2239
|
+
}>>;
|
|
2240
|
+
}>;
|
|
2241
|
+
}>, Schema.Struct<{
|
|
2242
|
+
readonly delivery: Schema.Literals<readonly ["new", "duplicate"]>;
|
|
2243
|
+
readonly method: Schema.Literal<"session.rename">;
|
|
2244
|
+
readonly receipt: Schema.Struct<{
|
|
2245
|
+
readonly actorId: Schema.String;
|
|
2246
|
+
readonly aggregateRevision: Schema.String;
|
|
2247
|
+
readonly commandId: Schema.String;
|
|
2248
|
+
readonly createdAt: Schema.String;
|
|
2249
|
+
readonly eventCursor: Schema.String;
|
|
2250
|
+
readonly method: Schema.String;
|
|
2251
|
+
readonly receiptId: Schema.String;
|
|
2252
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
2253
|
+
readonly state: Schema.Literal<"succeeded">;
|
|
2254
|
+
readonly target: Schema.Struct<{
|
|
2255
|
+
readonly id: Schema.String;
|
|
2256
|
+
readonly type: Schema.String;
|
|
2257
|
+
}>;
|
|
2258
|
+
readonly updatedAt: Schema.String;
|
|
2259
|
+
}>;
|
|
2260
|
+
readonly session: Schema.Struct<{
|
|
2261
|
+
readonly createdAt: Schema.String;
|
|
2262
|
+
readonly id: Schema.String;
|
|
2263
|
+
readonly projectId: Schema.String;
|
|
2264
|
+
readonly revision: Schema.String;
|
|
2265
|
+
readonly state: Schema.Literals<readonly ["idle", "starting", "running", "waiting-approval", "interrupted", "recovering", "stopping", "stopped", "failed"]>;
|
|
2266
|
+
readonly updatedAt: Schema.String;
|
|
2267
|
+
readonly workspaceId: Schema.String;
|
|
2268
|
+
readonly workspaceRevision: Schema.String;
|
|
2269
|
+
readonly agentDefinitionRef: Schema.optional<Schema.Struct<{
|
|
2270
|
+
readonly contentDigest: Schema.String;
|
|
2271
|
+
readonly key: Schema.String;
|
|
2272
|
+
readonly version: Schema.String;
|
|
2273
|
+
}>>;
|
|
2274
|
+
readonly executor: Schema.optional<Schema.Struct<{
|
|
2275
|
+
readonly connectionId: Schema.String;
|
|
2276
|
+
readonly kind: Schema.Literals<readonly ["claude-code", "codex-cli"]>;
|
|
2277
|
+
readonly model: Schema.optional<Schema.String>;
|
|
2278
|
+
}>>;
|
|
2279
|
+
/** Why the runtime of a failed Session failed, when Maia knows. */
|
|
2280
|
+
readonly failure: Schema.optional<Schema.Struct<{
|
|
2281
|
+
readonly code: Schema.String;
|
|
2282
|
+
readonly message: Schema.String;
|
|
2283
|
+
}>>;
|
|
2284
|
+
readonly schemaVersion: Schema.Literal<4>;
|
|
2285
|
+
/** Set at creation or by a rename; otherwise the first line of the first turn. */
|
|
2286
|
+
readonly title: Schema.optional<Schema.String>;
|
|
2287
|
+
/** A coding Session's own worktree; a reading Session has none. */
|
|
2288
|
+
readonly worktree: Schema.optional<Schema.Struct<{
|
|
2289
|
+
readonly baseRef: Schema.String;
|
|
2290
|
+
readonly baseRevision: Schema.String;
|
|
2291
|
+
readonly branch: Schema.String;
|
|
2292
|
+
readonly setup: Schema.Literals<readonly ["none", "pending", "succeeded", "failed"]>;
|
|
2293
|
+
readonly skills: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
2294
|
+
readonly digest: Schema.String;
|
|
2295
|
+
readonly name: Schema.String;
|
|
2296
|
+
}>>>;
|
|
2297
|
+
readonly state: Schema.Literals<readonly ["active", "archived", "removed"]>;
|
|
2298
|
+
}>>;
|
|
2299
|
+
}>;
|
|
2300
|
+
}>]>;
|
|
2301
|
+
export { agentPermissionRequestEffectSchema, agentPermissionResultEffectSchema, } from "./agent-permission-effect-schema.js";
|
|
2302
|
+
export { sessionObservationEffectSchema, sessionObserveResultEffectSchema, } from "./observation-effect-schema.js";
|
|
2303
|
+
export { sessionArchiveParametersEffectSchema, sessionDiffParametersEffectSchema, sessionDiffResultEffectSchema, } from "./worktree-effect-schema.js";
|
|
2304
|
+
//# sourceMappingURL=effect-schema.d.ts.map
|