@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,2719 @@
|
|
|
1
|
+
import type { InferRuntimeSchema } from "../runtime-schema/index.js";
|
|
2
|
+
export declare const orchestrationTaskInputSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
3
|
+
readonly clientKey: string;
|
|
4
|
+
readonly dependsOn: readonly string[];
|
|
5
|
+
readonly objective: string;
|
|
6
|
+
}>;
|
|
7
|
+
export type OrchestrationTaskInput = InferRuntimeSchema<typeof orchestrationTaskInputSchema>;
|
|
8
|
+
export declare const orchestrationTaskGraphSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
9
|
+
readonly dispatchTaskKey: string;
|
|
10
|
+
readonly rootTaskKey: string;
|
|
11
|
+
readonly tasks: readonly {
|
|
12
|
+
readonly clientKey: string;
|
|
13
|
+
readonly dependsOn: readonly string[];
|
|
14
|
+
readonly objective: string;
|
|
15
|
+
}[];
|
|
16
|
+
}>;
|
|
17
|
+
export type OrchestrationTaskGraph = InferRuntimeSchema<typeof orchestrationTaskGraphSchema>;
|
|
18
|
+
export declare const orchestrationTaskSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
19
|
+
readonly clientKey: string;
|
|
20
|
+
readonly createdAt: string;
|
|
21
|
+
readonly dependencyTaskIds: readonly string[];
|
|
22
|
+
readonly id: string;
|
|
23
|
+
readonly revision: string;
|
|
24
|
+
readonly runId: string;
|
|
25
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
26
|
+
readonly state: "active" | "failed" | "pending" | "waiting-question";
|
|
27
|
+
readonly updatedAt: string;
|
|
28
|
+
readonly workspaceId: string;
|
|
29
|
+
readonly objective: string;
|
|
30
|
+
}>;
|
|
31
|
+
export type OrchestrationTask = InferRuntimeSchema<typeof orchestrationTaskSchema>;
|
|
32
|
+
export declare const orchestrationTaskSummarySchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
33
|
+
readonly clientKey: string;
|
|
34
|
+
readonly createdAt: string;
|
|
35
|
+
readonly dependencyTaskIds: readonly string[];
|
|
36
|
+
readonly id: string;
|
|
37
|
+
readonly revision: string;
|
|
38
|
+
readonly runId: string;
|
|
39
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
40
|
+
readonly state: "active" | "failed" | "pending" | "waiting-question";
|
|
41
|
+
readonly updatedAt: string;
|
|
42
|
+
readonly workspaceId: string;
|
|
43
|
+
}>;
|
|
44
|
+
export type OrchestrationTaskSummary = InferRuntimeSchema<typeof orchestrationTaskSummarySchema>;
|
|
45
|
+
export declare const orchestrationRunSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
46
|
+
readonly coordinator: {
|
|
47
|
+
readonly actorId: "actor_local_user";
|
|
48
|
+
readonly epoch: 1;
|
|
49
|
+
};
|
|
50
|
+
readonly createdAt: string;
|
|
51
|
+
readonly dispatchTaskId: string;
|
|
52
|
+
readonly id: string;
|
|
53
|
+
readonly revision: string;
|
|
54
|
+
readonly rootTaskId: string;
|
|
55
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
56
|
+
readonly state: "active" | "failed" | "waiting-question";
|
|
57
|
+
readonly terminalId: string;
|
|
58
|
+
readonly updatedAt: string;
|
|
59
|
+
readonly workspaceId: string;
|
|
60
|
+
}>;
|
|
61
|
+
export type OrchestrationRun = InferRuntimeSchema<typeof orchestrationRunSchema>;
|
|
62
|
+
export declare const orchestrationAttemptSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
63
|
+
readonly createdAt: string;
|
|
64
|
+
readonly id: string;
|
|
65
|
+
readonly ordinal: 1;
|
|
66
|
+
readonly revision: string;
|
|
67
|
+
readonly runId: string;
|
|
68
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
69
|
+
readonly state: "active" | "failed" | "waiting-question";
|
|
70
|
+
readonly taskId: string;
|
|
71
|
+
readonly updatedAt: string;
|
|
72
|
+
}>;
|
|
73
|
+
export type OrchestrationAttempt = InferRuntimeSchema<typeof orchestrationAttemptSchema>;
|
|
74
|
+
export declare const orchestrationDispatchSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
75
|
+
readonly attemptId: string;
|
|
76
|
+
readonly createdAt: string;
|
|
77
|
+
readonly id: string;
|
|
78
|
+
readonly revision: string;
|
|
79
|
+
readonly runId: string;
|
|
80
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
81
|
+
readonly taskId: string;
|
|
82
|
+
readonly terminalId: string;
|
|
83
|
+
readonly updatedAt: string;
|
|
84
|
+
readonly state: "active";
|
|
85
|
+
} | {
|
|
86
|
+
readonly attemptId: string;
|
|
87
|
+
readonly createdAt: string;
|
|
88
|
+
readonly id: string;
|
|
89
|
+
readonly revision: string;
|
|
90
|
+
readonly runId: string;
|
|
91
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
92
|
+
readonly taskId: string;
|
|
93
|
+
readonly terminalId: string;
|
|
94
|
+
readonly updatedAt: string;
|
|
95
|
+
readonly state: "waiting-question";
|
|
96
|
+
} | {
|
|
97
|
+
readonly attemptId: string;
|
|
98
|
+
readonly createdAt: string;
|
|
99
|
+
readonly id: string;
|
|
100
|
+
readonly revision: string;
|
|
101
|
+
readonly runId: string;
|
|
102
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
103
|
+
readonly taskId: string;
|
|
104
|
+
readonly terminalId: string;
|
|
105
|
+
readonly updatedAt: string;
|
|
106
|
+
readonly failure: {
|
|
107
|
+
readonly code: "terminal_containment_unsupported";
|
|
108
|
+
readonly platform: "darwin" | "linux";
|
|
109
|
+
} | {
|
|
110
|
+
readonly code: "platform_unsupported";
|
|
111
|
+
readonly platform: "other" | "win32";
|
|
112
|
+
};
|
|
113
|
+
readonly state: "failed";
|
|
114
|
+
}>;
|
|
115
|
+
export type OrchestrationDispatch = InferRuntimeSchema<typeof orchestrationDispatchSchema>;
|
|
116
|
+
export declare const orchestrationMailboxSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
117
|
+
readonly contentBytes: string;
|
|
118
|
+
readonly createdAt: string;
|
|
119
|
+
readonly deliveryCount: string;
|
|
120
|
+
readonly headSequence: string;
|
|
121
|
+
readonly id: string;
|
|
122
|
+
readonly owner: {
|
|
123
|
+
readonly id: string;
|
|
124
|
+
readonly kind: "run";
|
|
125
|
+
} | {
|
|
126
|
+
readonly id: string;
|
|
127
|
+
readonly kind: "dispatch";
|
|
128
|
+
};
|
|
129
|
+
readonly revision: string;
|
|
130
|
+
readonly runId: string;
|
|
131
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
132
|
+
readonly updatedAt: string;
|
|
133
|
+
}>;
|
|
134
|
+
export type OrchestrationMailbox = InferRuntimeSchema<typeof orchestrationMailboxSchema>;
|
|
135
|
+
export declare const orchestrationMessageSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
136
|
+
readonly body: string;
|
|
137
|
+
readonly createdAt: string;
|
|
138
|
+
readonly digest: string;
|
|
139
|
+
readonly id: string;
|
|
140
|
+
readonly runId: string;
|
|
141
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
142
|
+
readonly sender: {
|
|
143
|
+
readonly actorId: "actor_local_user";
|
|
144
|
+
readonly kind: "run-coordinator";
|
|
145
|
+
readonly runId: string;
|
|
146
|
+
};
|
|
147
|
+
readonly subject: string;
|
|
148
|
+
readonly recipient: {
|
|
149
|
+
readonly id: string;
|
|
150
|
+
readonly kind: "dispatch";
|
|
151
|
+
};
|
|
152
|
+
readonly type: "dispatch";
|
|
153
|
+
} | {
|
|
154
|
+
readonly body: string;
|
|
155
|
+
readonly createdAt: string;
|
|
156
|
+
readonly digest: string;
|
|
157
|
+
readonly id: string;
|
|
158
|
+
readonly runId: string;
|
|
159
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
160
|
+
readonly sender: {
|
|
161
|
+
readonly actorId: "actor_local_user";
|
|
162
|
+
readonly kind: "run-coordinator";
|
|
163
|
+
readonly runId: string;
|
|
164
|
+
};
|
|
165
|
+
readonly subject: string;
|
|
166
|
+
readonly questionId: string;
|
|
167
|
+
readonly recipient: {
|
|
168
|
+
readonly id: string;
|
|
169
|
+
readonly kind: "run";
|
|
170
|
+
};
|
|
171
|
+
readonly type: "question";
|
|
172
|
+
} | {
|
|
173
|
+
readonly body: string;
|
|
174
|
+
readonly createdAt: string;
|
|
175
|
+
readonly digest: string;
|
|
176
|
+
readonly id: string;
|
|
177
|
+
readonly runId: string;
|
|
178
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
179
|
+
readonly sender: {
|
|
180
|
+
readonly actorId: "actor_local_user";
|
|
181
|
+
readonly kind: "run-coordinator";
|
|
182
|
+
readonly runId: string;
|
|
183
|
+
};
|
|
184
|
+
readonly subject: string;
|
|
185
|
+
readonly questionId: string;
|
|
186
|
+
readonly recipient: {
|
|
187
|
+
readonly id: string;
|
|
188
|
+
readonly kind: "dispatch";
|
|
189
|
+
};
|
|
190
|
+
readonly type: "reply";
|
|
191
|
+
} | {
|
|
192
|
+
readonly body: string;
|
|
193
|
+
readonly createdAt: string;
|
|
194
|
+
readonly digest: string;
|
|
195
|
+
readonly id: string;
|
|
196
|
+
readonly runId: string;
|
|
197
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
198
|
+
readonly sender: {
|
|
199
|
+
readonly actorId: "actor_local_user";
|
|
200
|
+
readonly kind: "run-coordinator";
|
|
201
|
+
readonly runId: string;
|
|
202
|
+
};
|
|
203
|
+
readonly subject: string;
|
|
204
|
+
readonly recipient: {
|
|
205
|
+
readonly id: string;
|
|
206
|
+
readonly kind: "run";
|
|
207
|
+
};
|
|
208
|
+
readonly type: "dispatch-settled";
|
|
209
|
+
}>;
|
|
210
|
+
export type OrchestrationMessage = InferRuntimeSchema<typeof orchestrationMessageSchema>;
|
|
211
|
+
export declare const orchestrationDeliverySchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
212
|
+
readonly attemptCount: number;
|
|
213
|
+
readonly createdAt: string;
|
|
214
|
+
readonly firstDeliveredAt?: string | undefined;
|
|
215
|
+
readonly id: string;
|
|
216
|
+
readonly lastDeliveredAt?: string | undefined;
|
|
217
|
+
readonly mailboxId: string;
|
|
218
|
+
readonly message: {
|
|
219
|
+
readonly body: string;
|
|
220
|
+
readonly createdAt: string;
|
|
221
|
+
readonly digest: string;
|
|
222
|
+
readonly id: string;
|
|
223
|
+
readonly runId: string;
|
|
224
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
225
|
+
readonly sender: {
|
|
226
|
+
readonly actorId: "actor_local_user";
|
|
227
|
+
readonly kind: "run-coordinator";
|
|
228
|
+
readonly runId: string;
|
|
229
|
+
};
|
|
230
|
+
readonly subject: string;
|
|
231
|
+
readonly recipient: {
|
|
232
|
+
readonly id: string;
|
|
233
|
+
readonly kind: "dispatch";
|
|
234
|
+
};
|
|
235
|
+
readonly type: "dispatch";
|
|
236
|
+
} | {
|
|
237
|
+
readonly body: string;
|
|
238
|
+
readonly createdAt: string;
|
|
239
|
+
readonly digest: string;
|
|
240
|
+
readonly id: string;
|
|
241
|
+
readonly runId: string;
|
|
242
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
243
|
+
readonly sender: {
|
|
244
|
+
readonly actorId: "actor_local_user";
|
|
245
|
+
readonly kind: "run-coordinator";
|
|
246
|
+
readonly runId: string;
|
|
247
|
+
};
|
|
248
|
+
readonly subject: string;
|
|
249
|
+
readonly questionId: string;
|
|
250
|
+
readonly recipient: {
|
|
251
|
+
readonly id: string;
|
|
252
|
+
readonly kind: "run";
|
|
253
|
+
};
|
|
254
|
+
readonly type: "question";
|
|
255
|
+
} | {
|
|
256
|
+
readonly body: string;
|
|
257
|
+
readonly createdAt: string;
|
|
258
|
+
readonly digest: string;
|
|
259
|
+
readonly id: string;
|
|
260
|
+
readonly runId: string;
|
|
261
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
262
|
+
readonly sender: {
|
|
263
|
+
readonly actorId: "actor_local_user";
|
|
264
|
+
readonly kind: "run-coordinator";
|
|
265
|
+
readonly runId: string;
|
|
266
|
+
};
|
|
267
|
+
readonly subject: string;
|
|
268
|
+
readonly questionId: string;
|
|
269
|
+
readonly recipient: {
|
|
270
|
+
readonly id: string;
|
|
271
|
+
readonly kind: "dispatch";
|
|
272
|
+
};
|
|
273
|
+
readonly type: "reply";
|
|
274
|
+
} | {
|
|
275
|
+
readonly body: string;
|
|
276
|
+
readonly createdAt: string;
|
|
277
|
+
readonly digest: string;
|
|
278
|
+
readonly id: string;
|
|
279
|
+
readonly runId: string;
|
|
280
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
281
|
+
readonly sender: {
|
|
282
|
+
readonly actorId: "actor_local_user";
|
|
283
|
+
readonly kind: "run-coordinator";
|
|
284
|
+
readonly runId: string;
|
|
285
|
+
};
|
|
286
|
+
readonly subject: string;
|
|
287
|
+
readonly recipient: {
|
|
288
|
+
readonly id: string;
|
|
289
|
+
readonly kind: "run";
|
|
290
|
+
};
|
|
291
|
+
readonly type: "dispatch-settled";
|
|
292
|
+
};
|
|
293
|
+
readonly sequence: string;
|
|
294
|
+
readonly state: "pending";
|
|
295
|
+
} | {
|
|
296
|
+
readonly attemptCount: number;
|
|
297
|
+
readonly createdAt: string;
|
|
298
|
+
readonly firstDeliveredAt?: string | undefined;
|
|
299
|
+
readonly id: string;
|
|
300
|
+
readonly lastDeliveredAt?: string | undefined;
|
|
301
|
+
readonly mailboxId: string;
|
|
302
|
+
readonly message: {
|
|
303
|
+
readonly body: string;
|
|
304
|
+
readonly createdAt: string;
|
|
305
|
+
readonly digest: string;
|
|
306
|
+
readonly id: string;
|
|
307
|
+
readonly runId: string;
|
|
308
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
309
|
+
readonly sender: {
|
|
310
|
+
readonly actorId: "actor_local_user";
|
|
311
|
+
readonly kind: "run-coordinator";
|
|
312
|
+
readonly runId: string;
|
|
313
|
+
};
|
|
314
|
+
readonly subject: string;
|
|
315
|
+
readonly recipient: {
|
|
316
|
+
readonly id: string;
|
|
317
|
+
readonly kind: "dispatch";
|
|
318
|
+
};
|
|
319
|
+
readonly type: "dispatch";
|
|
320
|
+
} | {
|
|
321
|
+
readonly body: string;
|
|
322
|
+
readonly createdAt: string;
|
|
323
|
+
readonly digest: string;
|
|
324
|
+
readonly id: string;
|
|
325
|
+
readonly runId: string;
|
|
326
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
327
|
+
readonly sender: {
|
|
328
|
+
readonly actorId: "actor_local_user";
|
|
329
|
+
readonly kind: "run-coordinator";
|
|
330
|
+
readonly runId: string;
|
|
331
|
+
};
|
|
332
|
+
readonly subject: string;
|
|
333
|
+
readonly questionId: string;
|
|
334
|
+
readonly recipient: {
|
|
335
|
+
readonly id: string;
|
|
336
|
+
readonly kind: "run";
|
|
337
|
+
};
|
|
338
|
+
readonly type: "question";
|
|
339
|
+
} | {
|
|
340
|
+
readonly body: string;
|
|
341
|
+
readonly createdAt: string;
|
|
342
|
+
readonly digest: string;
|
|
343
|
+
readonly id: string;
|
|
344
|
+
readonly runId: string;
|
|
345
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
346
|
+
readonly sender: {
|
|
347
|
+
readonly actorId: "actor_local_user";
|
|
348
|
+
readonly kind: "run-coordinator";
|
|
349
|
+
readonly runId: string;
|
|
350
|
+
};
|
|
351
|
+
readonly subject: string;
|
|
352
|
+
readonly questionId: string;
|
|
353
|
+
readonly recipient: {
|
|
354
|
+
readonly id: string;
|
|
355
|
+
readonly kind: "dispatch";
|
|
356
|
+
};
|
|
357
|
+
readonly type: "reply";
|
|
358
|
+
} | {
|
|
359
|
+
readonly body: string;
|
|
360
|
+
readonly createdAt: string;
|
|
361
|
+
readonly digest: string;
|
|
362
|
+
readonly id: string;
|
|
363
|
+
readonly runId: string;
|
|
364
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
365
|
+
readonly sender: {
|
|
366
|
+
readonly actorId: "actor_local_user";
|
|
367
|
+
readonly kind: "run-coordinator";
|
|
368
|
+
readonly runId: string;
|
|
369
|
+
};
|
|
370
|
+
readonly subject: string;
|
|
371
|
+
readonly recipient: {
|
|
372
|
+
readonly id: string;
|
|
373
|
+
readonly kind: "run";
|
|
374
|
+
};
|
|
375
|
+
readonly type: "dispatch-settled";
|
|
376
|
+
};
|
|
377
|
+
readonly sequence: string;
|
|
378
|
+
readonly acknowledgedAt: string;
|
|
379
|
+
readonly acknowledgingActorId: "actor_local_user";
|
|
380
|
+
readonly state: "acknowledged";
|
|
381
|
+
}>;
|
|
382
|
+
export type OrchestrationDelivery = InferRuntimeSchema<typeof orchestrationDeliverySchema>;
|
|
383
|
+
export declare const orchestrationPendingDeliverySchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
384
|
+
readonly attemptCount: number;
|
|
385
|
+
readonly createdAt: string;
|
|
386
|
+
readonly firstDeliveredAt?: string | undefined;
|
|
387
|
+
readonly id: string;
|
|
388
|
+
readonly lastDeliveredAt?: string | undefined;
|
|
389
|
+
readonly mailboxId: string;
|
|
390
|
+
readonly message: {
|
|
391
|
+
readonly body: string;
|
|
392
|
+
readonly createdAt: string;
|
|
393
|
+
readonly digest: string;
|
|
394
|
+
readonly id: string;
|
|
395
|
+
readonly runId: string;
|
|
396
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
397
|
+
readonly sender: {
|
|
398
|
+
readonly actorId: "actor_local_user";
|
|
399
|
+
readonly kind: "run-coordinator";
|
|
400
|
+
readonly runId: string;
|
|
401
|
+
};
|
|
402
|
+
readonly subject: string;
|
|
403
|
+
readonly recipient: {
|
|
404
|
+
readonly id: string;
|
|
405
|
+
readonly kind: "dispatch";
|
|
406
|
+
};
|
|
407
|
+
readonly type: "dispatch";
|
|
408
|
+
} | {
|
|
409
|
+
readonly body: string;
|
|
410
|
+
readonly createdAt: string;
|
|
411
|
+
readonly digest: string;
|
|
412
|
+
readonly id: string;
|
|
413
|
+
readonly runId: string;
|
|
414
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
415
|
+
readonly sender: {
|
|
416
|
+
readonly actorId: "actor_local_user";
|
|
417
|
+
readonly kind: "run-coordinator";
|
|
418
|
+
readonly runId: string;
|
|
419
|
+
};
|
|
420
|
+
readonly subject: string;
|
|
421
|
+
readonly questionId: string;
|
|
422
|
+
readonly recipient: {
|
|
423
|
+
readonly id: string;
|
|
424
|
+
readonly kind: "run";
|
|
425
|
+
};
|
|
426
|
+
readonly type: "question";
|
|
427
|
+
} | {
|
|
428
|
+
readonly body: string;
|
|
429
|
+
readonly createdAt: string;
|
|
430
|
+
readonly digest: string;
|
|
431
|
+
readonly id: string;
|
|
432
|
+
readonly runId: string;
|
|
433
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
434
|
+
readonly sender: {
|
|
435
|
+
readonly actorId: "actor_local_user";
|
|
436
|
+
readonly kind: "run-coordinator";
|
|
437
|
+
readonly runId: string;
|
|
438
|
+
};
|
|
439
|
+
readonly subject: string;
|
|
440
|
+
readonly questionId: string;
|
|
441
|
+
readonly recipient: {
|
|
442
|
+
readonly id: string;
|
|
443
|
+
readonly kind: "dispatch";
|
|
444
|
+
};
|
|
445
|
+
readonly type: "reply";
|
|
446
|
+
} | {
|
|
447
|
+
readonly body: string;
|
|
448
|
+
readonly createdAt: string;
|
|
449
|
+
readonly digest: string;
|
|
450
|
+
readonly id: string;
|
|
451
|
+
readonly runId: string;
|
|
452
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
453
|
+
readonly sender: {
|
|
454
|
+
readonly actorId: "actor_local_user";
|
|
455
|
+
readonly kind: "run-coordinator";
|
|
456
|
+
readonly runId: string;
|
|
457
|
+
};
|
|
458
|
+
readonly subject: string;
|
|
459
|
+
readonly recipient: {
|
|
460
|
+
readonly id: string;
|
|
461
|
+
readonly kind: "run";
|
|
462
|
+
};
|
|
463
|
+
readonly type: "dispatch-settled";
|
|
464
|
+
};
|
|
465
|
+
readonly sequence: string;
|
|
466
|
+
readonly state: "pending";
|
|
467
|
+
}>;
|
|
468
|
+
export type OrchestrationPendingDelivery = InferRuntimeSchema<typeof orchestrationPendingDeliverySchema>;
|
|
469
|
+
export declare const orchestrationAcknowledgedDeliverySchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
470
|
+
readonly attemptCount: number;
|
|
471
|
+
readonly createdAt: string;
|
|
472
|
+
readonly firstDeliveredAt?: string | undefined;
|
|
473
|
+
readonly id: string;
|
|
474
|
+
readonly lastDeliveredAt?: string | undefined;
|
|
475
|
+
readonly mailboxId: string;
|
|
476
|
+
readonly message: {
|
|
477
|
+
readonly body: string;
|
|
478
|
+
readonly createdAt: string;
|
|
479
|
+
readonly digest: string;
|
|
480
|
+
readonly id: string;
|
|
481
|
+
readonly runId: string;
|
|
482
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
483
|
+
readonly sender: {
|
|
484
|
+
readonly actorId: "actor_local_user";
|
|
485
|
+
readonly kind: "run-coordinator";
|
|
486
|
+
readonly runId: string;
|
|
487
|
+
};
|
|
488
|
+
readonly subject: string;
|
|
489
|
+
readonly recipient: {
|
|
490
|
+
readonly id: string;
|
|
491
|
+
readonly kind: "dispatch";
|
|
492
|
+
};
|
|
493
|
+
readonly type: "dispatch";
|
|
494
|
+
} | {
|
|
495
|
+
readonly body: string;
|
|
496
|
+
readonly createdAt: string;
|
|
497
|
+
readonly digest: string;
|
|
498
|
+
readonly id: string;
|
|
499
|
+
readonly runId: string;
|
|
500
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
501
|
+
readonly sender: {
|
|
502
|
+
readonly actorId: "actor_local_user";
|
|
503
|
+
readonly kind: "run-coordinator";
|
|
504
|
+
readonly runId: string;
|
|
505
|
+
};
|
|
506
|
+
readonly subject: string;
|
|
507
|
+
readonly questionId: string;
|
|
508
|
+
readonly recipient: {
|
|
509
|
+
readonly id: string;
|
|
510
|
+
readonly kind: "run";
|
|
511
|
+
};
|
|
512
|
+
readonly type: "question";
|
|
513
|
+
} | {
|
|
514
|
+
readonly body: string;
|
|
515
|
+
readonly createdAt: string;
|
|
516
|
+
readonly digest: string;
|
|
517
|
+
readonly id: string;
|
|
518
|
+
readonly runId: string;
|
|
519
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
520
|
+
readonly sender: {
|
|
521
|
+
readonly actorId: "actor_local_user";
|
|
522
|
+
readonly kind: "run-coordinator";
|
|
523
|
+
readonly runId: string;
|
|
524
|
+
};
|
|
525
|
+
readonly subject: string;
|
|
526
|
+
readonly questionId: string;
|
|
527
|
+
readonly recipient: {
|
|
528
|
+
readonly id: string;
|
|
529
|
+
readonly kind: "dispatch";
|
|
530
|
+
};
|
|
531
|
+
readonly type: "reply";
|
|
532
|
+
} | {
|
|
533
|
+
readonly body: string;
|
|
534
|
+
readonly createdAt: string;
|
|
535
|
+
readonly digest: string;
|
|
536
|
+
readonly id: string;
|
|
537
|
+
readonly runId: string;
|
|
538
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
539
|
+
readonly sender: {
|
|
540
|
+
readonly actorId: "actor_local_user";
|
|
541
|
+
readonly kind: "run-coordinator";
|
|
542
|
+
readonly runId: string;
|
|
543
|
+
};
|
|
544
|
+
readonly subject: string;
|
|
545
|
+
readonly recipient: {
|
|
546
|
+
readonly id: string;
|
|
547
|
+
readonly kind: "run";
|
|
548
|
+
};
|
|
549
|
+
readonly type: "dispatch-settled";
|
|
550
|
+
};
|
|
551
|
+
readonly sequence: string;
|
|
552
|
+
readonly acknowledgedAt: string;
|
|
553
|
+
readonly acknowledgingActorId: "actor_local_user";
|
|
554
|
+
readonly state: "acknowledged";
|
|
555
|
+
}>;
|
|
556
|
+
export type OrchestrationAcknowledgedDelivery = InferRuntimeSchema<typeof orchestrationAcknowledgedDeliverySchema>;
|
|
557
|
+
export declare const orchestrationQuestionSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
558
|
+
readonly askMessageId: string;
|
|
559
|
+
readonly attemptId: string;
|
|
560
|
+
readonly body: string;
|
|
561
|
+
readonly createdAt: string;
|
|
562
|
+
readonly dispatchId: string;
|
|
563
|
+
readonly id: string;
|
|
564
|
+
readonly revision: string;
|
|
565
|
+
readonly runId: string;
|
|
566
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
567
|
+
readonly subject: string;
|
|
568
|
+
readonly taskId: string;
|
|
569
|
+
readonly updatedAt: string;
|
|
570
|
+
readonly state: "open";
|
|
571
|
+
} | {
|
|
572
|
+
readonly askMessageId: string;
|
|
573
|
+
readonly attemptId: string;
|
|
574
|
+
readonly body: string;
|
|
575
|
+
readonly createdAt: string;
|
|
576
|
+
readonly dispatchId: string;
|
|
577
|
+
readonly id: string;
|
|
578
|
+
readonly revision: string;
|
|
579
|
+
readonly runId: string;
|
|
580
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
581
|
+
readonly subject: string;
|
|
582
|
+
readonly taskId: string;
|
|
583
|
+
readonly updatedAt: string;
|
|
584
|
+
readonly answer: string;
|
|
585
|
+
readonly replyMessageId: string;
|
|
586
|
+
readonly state: "answered";
|
|
587
|
+
} | {
|
|
588
|
+
readonly askMessageId: string;
|
|
589
|
+
readonly attemptId: string;
|
|
590
|
+
readonly body: string;
|
|
591
|
+
readonly createdAt: string;
|
|
592
|
+
readonly dispatchId: string;
|
|
593
|
+
readonly id: string;
|
|
594
|
+
readonly revision: string;
|
|
595
|
+
readonly runId: string;
|
|
596
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
597
|
+
readonly subject: string;
|
|
598
|
+
readonly taskId: string;
|
|
599
|
+
readonly updatedAt: string;
|
|
600
|
+
readonly state: "cancelled";
|
|
601
|
+
}>;
|
|
602
|
+
export type OrchestrationQuestion = InferRuntimeSchema<typeof orchestrationQuestionSchema>;
|
|
603
|
+
export declare const orchestrationRunCreateParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
604
|
+
readonly commandId: string;
|
|
605
|
+
readonly expectedRevision: "0";
|
|
606
|
+
readonly graph: {
|
|
607
|
+
readonly dispatchTaskKey: string;
|
|
608
|
+
readonly rootTaskKey: string;
|
|
609
|
+
readonly tasks: readonly {
|
|
610
|
+
readonly clientKey: string;
|
|
611
|
+
readonly dependsOn: readonly string[];
|
|
612
|
+
readonly objective: string;
|
|
613
|
+
}[];
|
|
614
|
+
};
|
|
615
|
+
readonly terminalId: string;
|
|
616
|
+
readonly workspaceId: string;
|
|
617
|
+
}>;
|
|
618
|
+
export type OrchestrationRunCreateParameters = InferRuntimeSchema<typeof orchestrationRunCreateParametersSchema>;
|
|
619
|
+
export declare const orchestrationRunShowParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
620
|
+
readonly runId: string;
|
|
621
|
+
}>;
|
|
622
|
+
export type OrchestrationRunShowParameters = InferRuntimeSchema<typeof orchestrationRunShowParametersSchema>;
|
|
623
|
+
export declare const orchestrationRunListParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
624
|
+
readonly afterCursor: string;
|
|
625
|
+
readonly limit: number;
|
|
626
|
+
readonly workspaceId: string;
|
|
627
|
+
}>;
|
|
628
|
+
export type OrchestrationRunListParameters = InferRuntimeSchema<typeof orchestrationRunListParametersSchema>;
|
|
629
|
+
export declare const orchestrationTaskListParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
630
|
+
readonly afterCursor: string;
|
|
631
|
+
readonly limit: number;
|
|
632
|
+
readonly runId: string;
|
|
633
|
+
}>;
|
|
634
|
+
export type OrchestrationTaskListParameters = InferRuntimeSchema<typeof orchestrationTaskListParametersSchema>;
|
|
635
|
+
export declare const orchestrationTaskShowParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
636
|
+
readonly runId: string;
|
|
637
|
+
readonly taskId: string;
|
|
638
|
+
}>;
|
|
639
|
+
export type OrchestrationTaskShowParameters = InferRuntimeSchema<typeof orchestrationTaskShowParametersSchema>;
|
|
640
|
+
export declare const orchestrationDispatchShowParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
641
|
+
readonly runId: string;
|
|
642
|
+
}>;
|
|
643
|
+
export type OrchestrationDispatchShowParameters = InferRuntimeSchema<typeof orchestrationDispatchShowParametersSchema>;
|
|
644
|
+
export declare const orchestrationInboxCheckParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
645
|
+
readonly coordinatorEpoch: 1;
|
|
646
|
+
readonly limit: number;
|
|
647
|
+
readonly owner: {
|
|
648
|
+
readonly id: string;
|
|
649
|
+
readonly kind: "run";
|
|
650
|
+
} | {
|
|
651
|
+
readonly id: string;
|
|
652
|
+
readonly kind: "dispatch";
|
|
653
|
+
};
|
|
654
|
+
readonly runId: string;
|
|
655
|
+
}>;
|
|
656
|
+
export type OrchestrationInboxCheckParameters = InferRuntimeSchema<typeof orchestrationInboxCheckParametersSchema>;
|
|
657
|
+
export declare const orchestrationInboxAckParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
658
|
+
readonly commandId: string;
|
|
659
|
+
readonly coordinatorEpoch: 1;
|
|
660
|
+
readonly deliveryId: string;
|
|
661
|
+
readonly expectedMailboxRevision: string;
|
|
662
|
+
readonly owner: {
|
|
663
|
+
readonly id: string;
|
|
664
|
+
readonly kind: "run";
|
|
665
|
+
} | {
|
|
666
|
+
readonly id: string;
|
|
667
|
+
readonly kind: "dispatch";
|
|
668
|
+
};
|
|
669
|
+
readonly runId: string;
|
|
670
|
+
}>;
|
|
671
|
+
export type OrchestrationInboxAckParameters = InferRuntimeSchema<typeof orchestrationInboxAckParametersSchema>;
|
|
672
|
+
export declare const orchestrationQuestionOpenParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
673
|
+
readonly commandId: string;
|
|
674
|
+
readonly coordinatorEpoch: 1;
|
|
675
|
+
readonly dispatchId: string;
|
|
676
|
+
readonly expectedDispatchRevision: string;
|
|
677
|
+
readonly expectedRunRevision: string;
|
|
678
|
+
readonly runId: string;
|
|
679
|
+
readonly body: string;
|
|
680
|
+
readonly subject: string;
|
|
681
|
+
}>;
|
|
682
|
+
export type OrchestrationQuestionOpenParameters = InferRuntimeSchema<typeof orchestrationQuestionOpenParametersSchema>;
|
|
683
|
+
export declare const orchestrationQuestionReplyParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
684
|
+
readonly commandId: string;
|
|
685
|
+
readonly coordinatorEpoch: 1;
|
|
686
|
+
readonly dispatchId: string;
|
|
687
|
+
readonly expectedDispatchRevision: string;
|
|
688
|
+
readonly expectedRunRevision: string;
|
|
689
|
+
readonly runId: string;
|
|
690
|
+
readonly answer: string;
|
|
691
|
+
readonly expectedQuestionRevision: string;
|
|
692
|
+
readonly questionId: string;
|
|
693
|
+
}>;
|
|
694
|
+
export type OrchestrationQuestionReplyParameters = InferRuntimeSchema<typeof orchestrationQuestionReplyParametersSchema>;
|
|
695
|
+
export declare const orchestrationQuestionCancelParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
696
|
+
readonly commandId: string;
|
|
697
|
+
readonly coordinatorEpoch: 1;
|
|
698
|
+
readonly dispatchId: string;
|
|
699
|
+
readonly expectedDispatchRevision: string;
|
|
700
|
+
readonly expectedRunRevision: string;
|
|
701
|
+
readonly runId: string;
|
|
702
|
+
readonly expectedQuestionRevision: string;
|
|
703
|
+
readonly questionId: string;
|
|
704
|
+
}>;
|
|
705
|
+
export type OrchestrationQuestionCancelParameters = InferRuntimeSchema<typeof orchestrationQuestionCancelParametersSchema>;
|
|
706
|
+
export declare const orchestrationDispatchSettleTerminalParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
707
|
+
readonly commandId: string;
|
|
708
|
+
readonly coordinatorEpoch: 1;
|
|
709
|
+
readonly dispatchId: string;
|
|
710
|
+
readonly expectedDispatchRevision: string;
|
|
711
|
+
readonly expectedRunRevision: string;
|
|
712
|
+
readonly runId: string;
|
|
713
|
+
}>;
|
|
714
|
+
export type OrchestrationDispatchSettleTerminalParameters = InferRuntimeSchema<typeof orchestrationDispatchSettleTerminalParametersSchema>;
|
|
715
|
+
export declare const orchestrationRunCreateResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
716
|
+
readonly aggregate: {
|
|
717
|
+
readonly attempt: {
|
|
718
|
+
readonly createdAt: string;
|
|
719
|
+
readonly id: string;
|
|
720
|
+
readonly ordinal: 1;
|
|
721
|
+
readonly revision: string;
|
|
722
|
+
readonly runId: string;
|
|
723
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
724
|
+
readonly state: "active" | "failed" | "waiting-question";
|
|
725
|
+
readonly taskId: string;
|
|
726
|
+
readonly updatedAt: string;
|
|
727
|
+
};
|
|
728
|
+
readonly dispatch: {
|
|
729
|
+
readonly attemptId: string;
|
|
730
|
+
readonly createdAt: string;
|
|
731
|
+
readonly id: string;
|
|
732
|
+
readonly revision: string;
|
|
733
|
+
readonly runId: string;
|
|
734
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
735
|
+
readonly taskId: string;
|
|
736
|
+
readonly terminalId: string;
|
|
737
|
+
readonly updatedAt: string;
|
|
738
|
+
readonly state: "active";
|
|
739
|
+
} | {
|
|
740
|
+
readonly attemptId: string;
|
|
741
|
+
readonly createdAt: string;
|
|
742
|
+
readonly id: string;
|
|
743
|
+
readonly revision: string;
|
|
744
|
+
readonly runId: string;
|
|
745
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
746
|
+
readonly taskId: string;
|
|
747
|
+
readonly terminalId: string;
|
|
748
|
+
readonly updatedAt: string;
|
|
749
|
+
readonly state: "waiting-question";
|
|
750
|
+
} | {
|
|
751
|
+
readonly attemptId: string;
|
|
752
|
+
readonly createdAt: string;
|
|
753
|
+
readonly id: string;
|
|
754
|
+
readonly revision: string;
|
|
755
|
+
readonly runId: string;
|
|
756
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
757
|
+
readonly taskId: string;
|
|
758
|
+
readonly terminalId: string;
|
|
759
|
+
readonly updatedAt: string;
|
|
760
|
+
readonly failure: {
|
|
761
|
+
readonly code: "terminal_containment_unsupported";
|
|
762
|
+
readonly platform: "darwin" | "linux";
|
|
763
|
+
} | {
|
|
764
|
+
readonly code: "platform_unsupported";
|
|
765
|
+
readonly platform: "other" | "win32";
|
|
766
|
+
};
|
|
767
|
+
readonly state: "failed";
|
|
768
|
+
};
|
|
769
|
+
readonly mailboxes: readonly {
|
|
770
|
+
readonly contentBytes: string;
|
|
771
|
+
readonly createdAt: string;
|
|
772
|
+
readonly deliveryCount: string;
|
|
773
|
+
readonly headSequence: string;
|
|
774
|
+
readonly id: string;
|
|
775
|
+
readonly owner: {
|
|
776
|
+
readonly id: string;
|
|
777
|
+
readonly kind: "run";
|
|
778
|
+
} | {
|
|
779
|
+
readonly id: string;
|
|
780
|
+
readonly kind: "dispatch";
|
|
781
|
+
};
|
|
782
|
+
readonly revision: string;
|
|
783
|
+
readonly runId: string;
|
|
784
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
785
|
+
readonly updatedAt: string;
|
|
786
|
+
}[];
|
|
787
|
+
readonly question?: {
|
|
788
|
+
readonly askMessageId: string;
|
|
789
|
+
readonly attemptId: string;
|
|
790
|
+
readonly body: string;
|
|
791
|
+
readonly createdAt: string;
|
|
792
|
+
readonly dispatchId: string;
|
|
793
|
+
readonly id: string;
|
|
794
|
+
readonly revision: string;
|
|
795
|
+
readonly runId: string;
|
|
796
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
797
|
+
readonly subject: string;
|
|
798
|
+
readonly taskId: string;
|
|
799
|
+
readonly updatedAt: string;
|
|
800
|
+
readonly state: "open";
|
|
801
|
+
} | {
|
|
802
|
+
readonly askMessageId: string;
|
|
803
|
+
readonly attemptId: string;
|
|
804
|
+
readonly body: string;
|
|
805
|
+
readonly createdAt: string;
|
|
806
|
+
readonly dispatchId: string;
|
|
807
|
+
readonly id: string;
|
|
808
|
+
readonly revision: string;
|
|
809
|
+
readonly runId: string;
|
|
810
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
811
|
+
readonly subject: string;
|
|
812
|
+
readonly taskId: string;
|
|
813
|
+
readonly updatedAt: string;
|
|
814
|
+
readonly answer: string;
|
|
815
|
+
readonly replyMessageId: string;
|
|
816
|
+
readonly state: "answered";
|
|
817
|
+
} | {
|
|
818
|
+
readonly askMessageId: string;
|
|
819
|
+
readonly attemptId: string;
|
|
820
|
+
readonly body: string;
|
|
821
|
+
readonly createdAt: string;
|
|
822
|
+
readonly dispatchId: string;
|
|
823
|
+
readonly id: string;
|
|
824
|
+
readonly revision: string;
|
|
825
|
+
readonly runId: string;
|
|
826
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
827
|
+
readonly subject: string;
|
|
828
|
+
readonly taskId: string;
|
|
829
|
+
readonly updatedAt: string;
|
|
830
|
+
readonly state: "cancelled";
|
|
831
|
+
} | undefined;
|
|
832
|
+
readonly run: {
|
|
833
|
+
readonly coordinator: {
|
|
834
|
+
readonly actorId: "actor_local_user";
|
|
835
|
+
readonly epoch: 1;
|
|
836
|
+
};
|
|
837
|
+
readonly createdAt: string;
|
|
838
|
+
readonly dispatchTaskId: string;
|
|
839
|
+
readonly id: string;
|
|
840
|
+
readonly revision: string;
|
|
841
|
+
readonly rootTaskId: string;
|
|
842
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
843
|
+
readonly state: "active" | "failed" | "waiting-question";
|
|
844
|
+
readonly terminalId: string;
|
|
845
|
+
readonly updatedAt: string;
|
|
846
|
+
readonly workspaceId: string;
|
|
847
|
+
};
|
|
848
|
+
readonly tasks: readonly {
|
|
849
|
+
readonly clientKey: string;
|
|
850
|
+
readonly createdAt: string;
|
|
851
|
+
readonly dependencyTaskIds: readonly string[];
|
|
852
|
+
readonly id: string;
|
|
853
|
+
readonly revision: string;
|
|
854
|
+
readonly runId: string;
|
|
855
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
856
|
+
readonly state: "active" | "failed" | "pending" | "waiting-question";
|
|
857
|
+
readonly updatedAt: string;
|
|
858
|
+
readonly workspaceId: string;
|
|
859
|
+
readonly objective: string;
|
|
860
|
+
}[];
|
|
861
|
+
};
|
|
862
|
+
readonly delivery: "duplicate" | "new";
|
|
863
|
+
readonly initialDelivery: {
|
|
864
|
+
readonly attemptCount: number;
|
|
865
|
+
readonly createdAt: string;
|
|
866
|
+
readonly firstDeliveredAt?: string | undefined;
|
|
867
|
+
readonly id: string;
|
|
868
|
+
readonly lastDeliveredAt?: string | undefined;
|
|
869
|
+
readonly mailboxId: string;
|
|
870
|
+
readonly message: {
|
|
871
|
+
readonly body: string;
|
|
872
|
+
readonly createdAt: string;
|
|
873
|
+
readonly digest: string;
|
|
874
|
+
readonly id: string;
|
|
875
|
+
readonly runId: string;
|
|
876
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
877
|
+
readonly sender: {
|
|
878
|
+
readonly actorId: "actor_local_user";
|
|
879
|
+
readonly kind: "run-coordinator";
|
|
880
|
+
readonly runId: string;
|
|
881
|
+
};
|
|
882
|
+
readonly subject: string;
|
|
883
|
+
readonly recipient: {
|
|
884
|
+
readonly id: string;
|
|
885
|
+
readonly kind: "dispatch";
|
|
886
|
+
};
|
|
887
|
+
readonly type: "dispatch";
|
|
888
|
+
} | {
|
|
889
|
+
readonly body: string;
|
|
890
|
+
readonly createdAt: string;
|
|
891
|
+
readonly digest: string;
|
|
892
|
+
readonly id: string;
|
|
893
|
+
readonly runId: string;
|
|
894
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
895
|
+
readonly sender: {
|
|
896
|
+
readonly actorId: "actor_local_user";
|
|
897
|
+
readonly kind: "run-coordinator";
|
|
898
|
+
readonly runId: string;
|
|
899
|
+
};
|
|
900
|
+
readonly subject: string;
|
|
901
|
+
readonly questionId: string;
|
|
902
|
+
readonly recipient: {
|
|
903
|
+
readonly id: string;
|
|
904
|
+
readonly kind: "run";
|
|
905
|
+
};
|
|
906
|
+
readonly type: "question";
|
|
907
|
+
} | {
|
|
908
|
+
readonly body: string;
|
|
909
|
+
readonly createdAt: string;
|
|
910
|
+
readonly digest: string;
|
|
911
|
+
readonly id: string;
|
|
912
|
+
readonly runId: string;
|
|
913
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
914
|
+
readonly sender: {
|
|
915
|
+
readonly actorId: "actor_local_user";
|
|
916
|
+
readonly kind: "run-coordinator";
|
|
917
|
+
readonly runId: string;
|
|
918
|
+
};
|
|
919
|
+
readonly subject: string;
|
|
920
|
+
readonly questionId: string;
|
|
921
|
+
readonly recipient: {
|
|
922
|
+
readonly id: string;
|
|
923
|
+
readonly kind: "dispatch";
|
|
924
|
+
};
|
|
925
|
+
readonly type: "reply";
|
|
926
|
+
} | {
|
|
927
|
+
readonly body: string;
|
|
928
|
+
readonly createdAt: string;
|
|
929
|
+
readonly digest: string;
|
|
930
|
+
readonly id: string;
|
|
931
|
+
readonly runId: string;
|
|
932
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
933
|
+
readonly sender: {
|
|
934
|
+
readonly actorId: "actor_local_user";
|
|
935
|
+
readonly kind: "run-coordinator";
|
|
936
|
+
readonly runId: string;
|
|
937
|
+
};
|
|
938
|
+
readonly subject: string;
|
|
939
|
+
readonly recipient: {
|
|
940
|
+
readonly id: string;
|
|
941
|
+
readonly kind: "run";
|
|
942
|
+
};
|
|
943
|
+
readonly type: "dispatch-settled";
|
|
944
|
+
};
|
|
945
|
+
readonly sequence: string;
|
|
946
|
+
readonly state: "pending";
|
|
947
|
+
} | {
|
|
948
|
+
readonly attemptCount: number;
|
|
949
|
+
readonly createdAt: string;
|
|
950
|
+
readonly firstDeliveredAt?: string | undefined;
|
|
951
|
+
readonly id: string;
|
|
952
|
+
readonly lastDeliveredAt?: string | undefined;
|
|
953
|
+
readonly mailboxId: string;
|
|
954
|
+
readonly message: {
|
|
955
|
+
readonly body: string;
|
|
956
|
+
readonly createdAt: string;
|
|
957
|
+
readonly digest: string;
|
|
958
|
+
readonly id: string;
|
|
959
|
+
readonly runId: string;
|
|
960
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
961
|
+
readonly sender: {
|
|
962
|
+
readonly actorId: "actor_local_user";
|
|
963
|
+
readonly kind: "run-coordinator";
|
|
964
|
+
readonly runId: string;
|
|
965
|
+
};
|
|
966
|
+
readonly subject: string;
|
|
967
|
+
readonly recipient: {
|
|
968
|
+
readonly id: string;
|
|
969
|
+
readonly kind: "dispatch";
|
|
970
|
+
};
|
|
971
|
+
readonly type: "dispatch";
|
|
972
|
+
} | {
|
|
973
|
+
readonly body: string;
|
|
974
|
+
readonly createdAt: string;
|
|
975
|
+
readonly digest: string;
|
|
976
|
+
readonly id: string;
|
|
977
|
+
readonly runId: string;
|
|
978
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
979
|
+
readonly sender: {
|
|
980
|
+
readonly actorId: "actor_local_user";
|
|
981
|
+
readonly kind: "run-coordinator";
|
|
982
|
+
readonly runId: string;
|
|
983
|
+
};
|
|
984
|
+
readonly subject: string;
|
|
985
|
+
readonly questionId: string;
|
|
986
|
+
readonly recipient: {
|
|
987
|
+
readonly id: string;
|
|
988
|
+
readonly kind: "run";
|
|
989
|
+
};
|
|
990
|
+
readonly type: "question";
|
|
991
|
+
} | {
|
|
992
|
+
readonly body: string;
|
|
993
|
+
readonly createdAt: string;
|
|
994
|
+
readonly digest: string;
|
|
995
|
+
readonly id: string;
|
|
996
|
+
readonly runId: string;
|
|
997
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
998
|
+
readonly sender: {
|
|
999
|
+
readonly actorId: "actor_local_user";
|
|
1000
|
+
readonly kind: "run-coordinator";
|
|
1001
|
+
readonly runId: string;
|
|
1002
|
+
};
|
|
1003
|
+
readonly subject: string;
|
|
1004
|
+
readonly questionId: string;
|
|
1005
|
+
readonly recipient: {
|
|
1006
|
+
readonly id: string;
|
|
1007
|
+
readonly kind: "dispatch";
|
|
1008
|
+
};
|
|
1009
|
+
readonly type: "reply";
|
|
1010
|
+
} | {
|
|
1011
|
+
readonly body: string;
|
|
1012
|
+
readonly createdAt: string;
|
|
1013
|
+
readonly digest: string;
|
|
1014
|
+
readonly id: string;
|
|
1015
|
+
readonly runId: string;
|
|
1016
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
1017
|
+
readonly sender: {
|
|
1018
|
+
readonly actorId: "actor_local_user";
|
|
1019
|
+
readonly kind: "run-coordinator";
|
|
1020
|
+
readonly runId: string;
|
|
1021
|
+
};
|
|
1022
|
+
readonly subject: string;
|
|
1023
|
+
readonly recipient: {
|
|
1024
|
+
readonly id: string;
|
|
1025
|
+
readonly kind: "run";
|
|
1026
|
+
};
|
|
1027
|
+
readonly type: "dispatch-settled";
|
|
1028
|
+
};
|
|
1029
|
+
readonly sequence: string;
|
|
1030
|
+
readonly acknowledgedAt: string;
|
|
1031
|
+
readonly acknowledgingActorId: "actor_local_user";
|
|
1032
|
+
readonly state: "acknowledged";
|
|
1033
|
+
};
|
|
1034
|
+
readonly method: "run.create";
|
|
1035
|
+
readonly receipt: {
|
|
1036
|
+
readonly actorId: string;
|
|
1037
|
+
readonly aggregateRevision: string;
|
|
1038
|
+
readonly commandId: string;
|
|
1039
|
+
readonly createdAt: string;
|
|
1040
|
+
readonly eventCursor: string;
|
|
1041
|
+
readonly method: string;
|
|
1042
|
+
readonly receiptId: string;
|
|
1043
|
+
readonly schemaVersion: 1;
|
|
1044
|
+
readonly state: "succeeded";
|
|
1045
|
+
readonly target: {
|
|
1046
|
+
readonly id: string;
|
|
1047
|
+
readonly type: string;
|
|
1048
|
+
};
|
|
1049
|
+
readonly updatedAt: string;
|
|
1050
|
+
};
|
|
1051
|
+
}>;
|
|
1052
|
+
export type OrchestrationRunCreateResult = InferRuntimeSchema<typeof orchestrationRunCreateResultSchema>;
|
|
1053
|
+
export declare const orchestrationRunShowResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1054
|
+
readonly aggregate: {
|
|
1055
|
+
readonly attempt: {
|
|
1056
|
+
readonly createdAt: string;
|
|
1057
|
+
readonly id: string;
|
|
1058
|
+
readonly ordinal: 1;
|
|
1059
|
+
readonly revision: string;
|
|
1060
|
+
readonly runId: string;
|
|
1061
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
1062
|
+
readonly state: "active" | "failed" | "waiting-question";
|
|
1063
|
+
readonly taskId: string;
|
|
1064
|
+
readonly updatedAt: string;
|
|
1065
|
+
};
|
|
1066
|
+
readonly dispatch: {
|
|
1067
|
+
readonly attemptId: string;
|
|
1068
|
+
readonly createdAt: string;
|
|
1069
|
+
readonly id: string;
|
|
1070
|
+
readonly revision: string;
|
|
1071
|
+
readonly runId: string;
|
|
1072
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
1073
|
+
readonly taskId: string;
|
|
1074
|
+
readonly terminalId: string;
|
|
1075
|
+
readonly updatedAt: string;
|
|
1076
|
+
readonly state: "active";
|
|
1077
|
+
} | {
|
|
1078
|
+
readonly attemptId: string;
|
|
1079
|
+
readonly createdAt: string;
|
|
1080
|
+
readonly id: string;
|
|
1081
|
+
readonly revision: string;
|
|
1082
|
+
readonly runId: string;
|
|
1083
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
1084
|
+
readonly taskId: string;
|
|
1085
|
+
readonly terminalId: string;
|
|
1086
|
+
readonly updatedAt: string;
|
|
1087
|
+
readonly state: "waiting-question";
|
|
1088
|
+
} | {
|
|
1089
|
+
readonly attemptId: string;
|
|
1090
|
+
readonly createdAt: string;
|
|
1091
|
+
readonly id: string;
|
|
1092
|
+
readonly revision: string;
|
|
1093
|
+
readonly runId: string;
|
|
1094
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
1095
|
+
readonly taskId: string;
|
|
1096
|
+
readonly terminalId: string;
|
|
1097
|
+
readonly updatedAt: string;
|
|
1098
|
+
readonly failure: {
|
|
1099
|
+
readonly code: "terminal_containment_unsupported";
|
|
1100
|
+
readonly platform: "darwin" | "linux";
|
|
1101
|
+
} | {
|
|
1102
|
+
readonly code: "platform_unsupported";
|
|
1103
|
+
readonly platform: "other" | "win32";
|
|
1104
|
+
};
|
|
1105
|
+
readonly state: "failed";
|
|
1106
|
+
};
|
|
1107
|
+
readonly mailboxes: readonly {
|
|
1108
|
+
readonly contentBytes: string;
|
|
1109
|
+
readonly createdAt: string;
|
|
1110
|
+
readonly deliveryCount: string;
|
|
1111
|
+
readonly headSequence: string;
|
|
1112
|
+
readonly id: string;
|
|
1113
|
+
readonly owner: {
|
|
1114
|
+
readonly id: string;
|
|
1115
|
+
readonly kind: "run";
|
|
1116
|
+
} | {
|
|
1117
|
+
readonly id: string;
|
|
1118
|
+
readonly kind: "dispatch";
|
|
1119
|
+
};
|
|
1120
|
+
readonly revision: string;
|
|
1121
|
+
readonly runId: string;
|
|
1122
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
1123
|
+
readonly updatedAt: string;
|
|
1124
|
+
}[];
|
|
1125
|
+
readonly question?: {
|
|
1126
|
+
readonly askMessageId: string;
|
|
1127
|
+
readonly attemptId: string;
|
|
1128
|
+
readonly body: string;
|
|
1129
|
+
readonly createdAt: string;
|
|
1130
|
+
readonly dispatchId: string;
|
|
1131
|
+
readonly id: string;
|
|
1132
|
+
readonly revision: string;
|
|
1133
|
+
readonly runId: string;
|
|
1134
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
1135
|
+
readonly subject: string;
|
|
1136
|
+
readonly taskId: string;
|
|
1137
|
+
readonly updatedAt: string;
|
|
1138
|
+
readonly state: "open";
|
|
1139
|
+
} | {
|
|
1140
|
+
readonly askMessageId: string;
|
|
1141
|
+
readonly attemptId: string;
|
|
1142
|
+
readonly body: string;
|
|
1143
|
+
readonly createdAt: string;
|
|
1144
|
+
readonly dispatchId: string;
|
|
1145
|
+
readonly id: string;
|
|
1146
|
+
readonly revision: string;
|
|
1147
|
+
readonly runId: string;
|
|
1148
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
1149
|
+
readonly subject: string;
|
|
1150
|
+
readonly taskId: string;
|
|
1151
|
+
readonly updatedAt: string;
|
|
1152
|
+
readonly answer: string;
|
|
1153
|
+
readonly replyMessageId: string;
|
|
1154
|
+
readonly state: "answered";
|
|
1155
|
+
} | {
|
|
1156
|
+
readonly askMessageId: string;
|
|
1157
|
+
readonly attemptId: string;
|
|
1158
|
+
readonly body: string;
|
|
1159
|
+
readonly createdAt: string;
|
|
1160
|
+
readonly dispatchId: string;
|
|
1161
|
+
readonly id: string;
|
|
1162
|
+
readonly revision: string;
|
|
1163
|
+
readonly runId: string;
|
|
1164
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
1165
|
+
readonly subject: string;
|
|
1166
|
+
readonly taskId: string;
|
|
1167
|
+
readonly updatedAt: string;
|
|
1168
|
+
readonly state: "cancelled";
|
|
1169
|
+
} | undefined;
|
|
1170
|
+
readonly run: {
|
|
1171
|
+
readonly coordinator: {
|
|
1172
|
+
readonly actorId: "actor_local_user";
|
|
1173
|
+
readonly epoch: 1;
|
|
1174
|
+
};
|
|
1175
|
+
readonly createdAt: string;
|
|
1176
|
+
readonly dispatchTaskId: string;
|
|
1177
|
+
readonly id: string;
|
|
1178
|
+
readonly revision: string;
|
|
1179
|
+
readonly rootTaskId: string;
|
|
1180
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
1181
|
+
readonly state: "active" | "failed" | "waiting-question";
|
|
1182
|
+
readonly terminalId: string;
|
|
1183
|
+
readonly updatedAt: string;
|
|
1184
|
+
readonly workspaceId: string;
|
|
1185
|
+
};
|
|
1186
|
+
readonly tasks: readonly {
|
|
1187
|
+
readonly clientKey: string;
|
|
1188
|
+
readonly createdAt: string;
|
|
1189
|
+
readonly dependencyTaskIds: readonly string[];
|
|
1190
|
+
readonly id: string;
|
|
1191
|
+
readonly revision: string;
|
|
1192
|
+
readonly runId: string;
|
|
1193
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
1194
|
+
readonly state: "active" | "failed" | "pending" | "waiting-question";
|
|
1195
|
+
readonly updatedAt: string;
|
|
1196
|
+
readonly workspaceId: string;
|
|
1197
|
+
readonly objective: string;
|
|
1198
|
+
}[];
|
|
1199
|
+
};
|
|
1200
|
+
readonly method: "run.show";
|
|
1201
|
+
}>;
|
|
1202
|
+
export type OrchestrationRunShowResult = InferRuntimeSchema<typeof orchestrationRunShowResultSchema>;
|
|
1203
|
+
export declare const orchestrationRunListResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1204
|
+
readonly items: readonly {
|
|
1205
|
+
readonly coordinator: {
|
|
1206
|
+
readonly actorId: "actor_local_user";
|
|
1207
|
+
readonly epoch: 1;
|
|
1208
|
+
};
|
|
1209
|
+
readonly createdAt: string;
|
|
1210
|
+
readonly dispatchTaskId: string;
|
|
1211
|
+
readonly id: string;
|
|
1212
|
+
readonly revision: string;
|
|
1213
|
+
readonly rootTaskId: string;
|
|
1214
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
1215
|
+
readonly state: "active" | "failed" | "waiting-question";
|
|
1216
|
+
readonly terminalId: string;
|
|
1217
|
+
readonly updatedAt: string;
|
|
1218
|
+
readonly workspaceId: string;
|
|
1219
|
+
}[];
|
|
1220
|
+
readonly method: "run.list";
|
|
1221
|
+
readonly nextCursor?: string | undefined;
|
|
1222
|
+
}>;
|
|
1223
|
+
export type OrchestrationRunListResult = InferRuntimeSchema<typeof orchestrationRunListResultSchema>;
|
|
1224
|
+
export declare const orchestrationTaskListResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1225
|
+
readonly items: readonly {
|
|
1226
|
+
readonly clientKey: string;
|
|
1227
|
+
readonly createdAt: string;
|
|
1228
|
+
readonly dependencyTaskIds: readonly string[];
|
|
1229
|
+
readonly id: string;
|
|
1230
|
+
readonly revision: string;
|
|
1231
|
+
readonly runId: string;
|
|
1232
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
1233
|
+
readonly state: "active" | "failed" | "pending" | "waiting-question";
|
|
1234
|
+
readonly updatedAt: string;
|
|
1235
|
+
readonly workspaceId: string;
|
|
1236
|
+
}[];
|
|
1237
|
+
readonly method: "run.task.list";
|
|
1238
|
+
readonly nextCursor?: string | undefined;
|
|
1239
|
+
readonly runId: string;
|
|
1240
|
+
}>;
|
|
1241
|
+
export type OrchestrationTaskListResult = InferRuntimeSchema<typeof orchestrationTaskListResultSchema>;
|
|
1242
|
+
export declare const orchestrationTaskShowResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1243
|
+
readonly method: "run.task.show";
|
|
1244
|
+
readonly runId: string;
|
|
1245
|
+
readonly task: {
|
|
1246
|
+
readonly clientKey: string;
|
|
1247
|
+
readonly createdAt: string;
|
|
1248
|
+
readonly dependencyTaskIds: readonly string[];
|
|
1249
|
+
readonly id: string;
|
|
1250
|
+
readonly revision: string;
|
|
1251
|
+
readonly runId: string;
|
|
1252
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
1253
|
+
readonly state: "active" | "failed" | "pending" | "waiting-question";
|
|
1254
|
+
readonly updatedAt: string;
|
|
1255
|
+
readonly workspaceId: string;
|
|
1256
|
+
readonly objective: string;
|
|
1257
|
+
};
|
|
1258
|
+
readonly taskId: string;
|
|
1259
|
+
}>;
|
|
1260
|
+
export type OrchestrationTaskShowResult = InferRuntimeSchema<typeof orchestrationTaskShowResultSchema>;
|
|
1261
|
+
export declare const orchestrationDispatchShowResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1262
|
+
readonly dispatch: {
|
|
1263
|
+
readonly attemptId: string;
|
|
1264
|
+
readonly createdAt: string;
|
|
1265
|
+
readonly id: string;
|
|
1266
|
+
readonly revision: string;
|
|
1267
|
+
readonly runId: string;
|
|
1268
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
1269
|
+
readonly taskId: string;
|
|
1270
|
+
readonly terminalId: string;
|
|
1271
|
+
readonly updatedAt: string;
|
|
1272
|
+
readonly state: "active";
|
|
1273
|
+
} | {
|
|
1274
|
+
readonly attemptId: string;
|
|
1275
|
+
readonly createdAt: string;
|
|
1276
|
+
readonly id: string;
|
|
1277
|
+
readonly revision: string;
|
|
1278
|
+
readonly runId: string;
|
|
1279
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
1280
|
+
readonly taskId: string;
|
|
1281
|
+
readonly terminalId: string;
|
|
1282
|
+
readonly updatedAt: string;
|
|
1283
|
+
readonly state: "waiting-question";
|
|
1284
|
+
} | {
|
|
1285
|
+
readonly attemptId: string;
|
|
1286
|
+
readonly createdAt: string;
|
|
1287
|
+
readonly id: string;
|
|
1288
|
+
readonly revision: string;
|
|
1289
|
+
readonly runId: string;
|
|
1290
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
1291
|
+
readonly taskId: string;
|
|
1292
|
+
readonly terminalId: string;
|
|
1293
|
+
readonly updatedAt: string;
|
|
1294
|
+
readonly failure: {
|
|
1295
|
+
readonly code: "terminal_containment_unsupported";
|
|
1296
|
+
readonly platform: "darwin" | "linux";
|
|
1297
|
+
} | {
|
|
1298
|
+
readonly code: "platform_unsupported";
|
|
1299
|
+
readonly platform: "other" | "win32";
|
|
1300
|
+
};
|
|
1301
|
+
readonly state: "failed";
|
|
1302
|
+
};
|
|
1303
|
+
readonly method: "run.dispatch.show";
|
|
1304
|
+
readonly runId: string;
|
|
1305
|
+
}>;
|
|
1306
|
+
export type OrchestrationDispatchShowResult = InferRuntimeSchema<typeof orchestrationDispatchShowResultSchema>;
|
|
1307
|
+
export declare const orchestrationInboxCheckResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1308
|
+
readonly items: readonly {
|
|
1309
|
+
readonly attemptCount: number;
|
|
1310
|
+
readonly createdAt: string;
|
|
1311
|
+
readonly firstDeliveredAt?: string | undefined;
|
|
1312
|
+
readonly id: string;
|
|
1313
|
+
readonly lastDeliveredAt?: string | undefined;
|
|
1314
|
+
readonly mailboxId: string;
|
|
1315
|
+
readonly message: {
|
|
1316
|
+
readonly body: string;
|
|
1317
|
+
readonly createdAt: string;
|
|
1318
|
+
readonly digest: string;
|
|
1319
|
+
readonly id: string;
|
|
1320
|
+
readonly runId: string;
|
|
1321
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
1322
|
+
readonly sender: {
|
|
1323
|
+
readonly actorId: "actor_local_user";
|
|
1324
|
+
readonly kind: "run-coordinator";
|
|
1325
|
+
readonly runId: string;
|
|
1326
|
+
};
|
|
1327
|
+
readonly subject: string;
|
|
1328
|
+
readonly recipient: {
|
|
1329
|
+
readonly id: string;
|
|
1330
|
+
readonly kind: "dispatch";
|
|
1331
|
+
};
|
|
1332
|
+
readonly type: "dispatch";
|
|
1333
|
+
} | {
|
|
1334
|
+
readonly body: string;
|
|
1335
|
+
readonly createdAt: string;
|
|
1336
|
+
readonly digest: string;
|
|
1337
|
+
readonly id: string;
|
|
1338
|
+
readonly runId: string;
|
|
1339
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
1340
|
+
readonly sender: {
|
|
1341
|
+
readonly actorId: "actor_local_user";
|
|
1342
|
+
readonly kind: "run-coordinator";
|
|
1343
|
+
readonly runId: string;
|
|
1344
|
+
};
|
|
1345
|
+
readonly subject: string;
|
|
1346
|
+
readonly questionId: string;
|
|
1347
|
+
readonly recipient: {
|
|
1348
|
+
readonly id: string;
|
|
1349
|
+
readonly kind: "run";
|
|
1350
|
+
};
|
|
1351
|
+
readonly type: "question";
|
|
1352
|
+
} | {
|
|
1353
|
+
readonly body: string;
|
|
1354
|
+
readonly createdAt: string;
|
|
1355
|
+
readonly digest: string;
|
|
1356
|
+
readonly id: string;
|
|
1357
|
+
readonly runId: string;
|
|
1358
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
1359
|
+
readonly sender: {
|
|
1360
|
+
readonly actorId: "actor_local_user";
|
|
1361
|
+
readonly kind: "run-coordinator";
|
|
1362
|
+
readonly runId: string;
|
|
1363
|
+
};
|
|
1364
|
+
readonly subject: string;
|
|
1365
|
+
readonly questionId: string;
|
|
1366
|
+
readonly recipient: {
|
|
1367
|
+
readonly id: string;
|
|
1368
|
+
readonly kind: "dispatch";
|
|
1369
|
+
};
|
|
1370
|
+
readonly type: "reply";
|
|
1371
|
+
} | {
|
|
1372
|
+
readonly body: string;
|
|
1373
|
+
readonly createdAt: string;
|
|
1374
|
+
readonly digest: string;
|
|
1375
|
+
readonly id: string;
|
|
1376
|
+
readonly runId: string;
|
|
1377
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
1378
|
+
readonly sender: {
|
|
1379
|
+
readonly actorId: "actor_local_user";
|
|
1380
|
+
readonly kind: "run-coordinator";
|
|
1381
|
+
readonly runId: string;
|
|
1382
|
+
};
|
|
1383
|
+
readonly subject: string;
|
|
1384
|
+
readonly recipient: {
|
|
1385
|
+
readonly id: string;
|
|
1386
|
+
readonly kind: "run";
|
|
1387
|
+
};
|
|
1388
|
+
readonly type: "dispatch-settled";
|
|
1389
|
+
};
|
|
1390
|
+
readonly sequence: string;
|
|
1391
|
+
readonly state: "pending";
|
|
1392
|
+
}[];
|
|
1393
|
+
readonly mailbox: {
|
|
1394
|
+
readonly contentBytes: string;
|
|
1395
|
+
readonly createdAt: string;
|
|
1396
|
+
readonly deliveryCount: string;
|
|
1397
|
+
readonly headSequence: string;
|
|
1398
|
+
readonly id: string;
|
|
1399
|
+
readonly owner: {
|
|
1400
|
+
readonly id: string;
|
|
1401
|
+
readonly kind: "run";
|
|
1402
|
+
} | {
|
|
1403
|
+
readonly id: string;
|
|
1404
|
+
readonly kind: "dispatch";
|
|
1405
|
+
};
|
|
1406
|
+
readonly revision: string;
|
|
1407
|
+
readonly runId: string;
|
|
1408
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
1409
|
+
readonly updatedAt: string;
|
|
1410
|
+
};
|
|
1411
|
+
readonly method: "run.inbox.check";
|
|
1412
|
+
}>;
|
|
1413
|
+
export type OrchestrationInboxCheckResult = InferRuntimeSchema<typeof orchestrationInboxCheckResultSchema>;
|
|
1414
|
+
export declare const orchestrationInboxAckResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1415
|
+
readonly delivery: {
|
|
1416
|
+
readonly attemptCount: number;
|
|
1417
|
+
readonly createdAt: string;
|
|
1418
|
+
readonly firstDeliveredAt?: string | undefined;
|
|
1419
|
+
readonly id: string;
|
|
1420
|
+
readonly lastDeliveredAt?: string | undefined;
|
|
1421
|
+
readonly mailboxId: string;
|
|
1422
|
+
readonly message: {
|
|
1423
|
+
readonly body: string;
|
|
1424
|
+
readonly createdAt: string;
|
|
1425
|
+
readonly digest: string;
|
|
1426
|
+
readonly id: string;
|
|
1427
|
+
readonly runId: string;
|
|
1428
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
1429
|
+
readonly sender: {
|
|
1430
|
+
readonly actorId: "actor_local_user";
|
|
1431
|
+
readonly kind: "run-coordinator";
|
|
1432
|
+
readonly runId: string;
|
|
1433
|
+
};
|
|
1434
|
+
readonly subject: string;
|
|
1435
|
+
readonly recipient: {
|
|
1436
|
+
readonly id: string;
|
|
1437
|
+
readonly kind: "dispatch";
|
|
1438
|
+
};
|
|
1439
|
+
readonly type: "dispatch";
|
|
1440
|
+
} | {
|
|
1441
|
+
readonly body: string;
|
|
1442
|
+
readonly createdAt: string;
|
|
1443
|
+
readonly digest: string;
|
|
1444
|
+
readonly id: string;
|
|
1445
|
+
readonly runId: string;
|
|
1446
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
1447
|
+
readonly sender: {
|
|
1448
|
+
readonly actorId: "actor_local_user";
|
|
1449
|
+
readonly kind: "run-coordinator";
|
|
1450
|
+
readonly runId: string;
|
|
1451
|
+
};
|
|
1452
|
+
readonly subject: string;
|
|
1453
|
+
readonly questionId: string;
|
|
1454
|
+
readonly recipient: {
|
|
1455
|
+
readonly id: string;
|
|
1456
|
+
readonly kind: "run";
|
|
1457
|
+
};
|
|
1458
|
+
readonly type: "question";
|
|
1459
|
+
} | {
|
|
1460
|
+
readonly body: string;
|
|
1461
|
+
readonly createdAt: string;
|
|
1462
|
+
readonly digest: string;
|
|
1463
|
+
readonly id: string;
|
|
1464
|
+
readonly runId: string;
|
|
1465
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
1466
|
+
readonly sender: {
|
|
1467
|
+
readonly actorId: "actor_local_user";
|
|
1468
|
+
readonly kind: "run-coordinator";
|
|
1469
|
+
readonly runId: string;
|
|
1470
|
+
};
|
|
1471
|
+
readonly subject: string;
|
|
1472
|
+
readonly questionId: string;
|
|
1473
|
+
readonly recipient: {
|
|
1474
|
+
readonly id: string;
|
|
1475
|
+
readonly kind: "dispatch";
|
|
1476
|
+
};
|
|
1477
|
+
readonly type: "reply";
|
|
1478
|
+
} | {
|
|
1479
|
+
readonly body: string;
|
|
1480
|
+
readonly createdAt: string;
|
|
1481
|
+
readonly digest: string;
|
|
1482
|
+
readonly id: string;
|
|
1483
|
+
readonly runId: string;
|
|
1484
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
1485
|
+
readonly sender: {
|
|
1486
|
+
readonly actorId: "actor_local_user";
|
|
1487
|
+
readonly kind: "run-coordinator";
|
|
1488
|
+
readonly runId: string;
|
|
1489
|
+
};
|
|
1490
|
+
readonly subject: string;
|
|
1491
|
+
readonly recipient: {
|
|
1492
|
+
readonly id: string;
|
|
1493
|
+
readonly kind: "run";
|
|
1494
|
+
};
|
|
1495
|
+
readonly type: "dispatch-settled";
|
|
1496
|
+
};
|
|
1497
|
+
readonly sequence: string;
|
|
1498
|
+
readonly acknowledgedAt: string;
|
|
1499
|
+
readonly acknowledgingActorId: "actor_local_user";
|
|
1500
|
+
readonly state: "acknowledged";
|
|
1501
|
+
};
|
|
1502
|
+
readonly mailbox: {
|
|
1503
|
+
readonly contentBytes: string;
|
|
1504
|
+
readonly createdAt: string;
|
|
1505
|
+
readonly deliveryCount: string;
|
|
1506
|
+
readonly headSequence: string;
|
|
1507
|
+
readonly id: string;
|
|
1508
|
+
readonly owner: {
|
|
1509
|
+
readonly id: string;
|
|
1510
|
+
readonly kind: "run";
|
|
1511
|
+
} | {
|
|
1512
|
+
readonly id: string;
|
|
1513
|
+
readonly kind: "dispatch";
|
|
1514
|
+
};
|
|
1515
|
+
readonly revision: string;
|
|
1516
|
+
readonly runId: string;
|
|
1517
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
1518
|
+
readonly updatedAt: string;
|
|
1519
|
+
};
|
|
1520
|
+
readonly method: "run.inbox.ack";
|
|
1521
|
+
readonly receipt: {
|
|
1522
|
+
readonly actorId: string;
|
|
1523
|
+
readonly aggregateRevision: string;
|
|
1524
|
+
readonly commandId: string;
|
|
1525
|
+
readonly createdAt: string;
|
|
1526
|
+
readonly eventCursor: string;
|
|
1527
|
+
readonly method: string;
|
|
1528
|
+
readonly receiptId: string;
|
|
1529
|
+
readonly schemaVersion: 1;
|
|
1530
|
+
readonly state: "succeeded";
|
|
1531
|
+
readonly target: {
|
|
1532
|
+
readonly id: string;
|
|
1533
|
+
readonly type: string;
|
|
1534
|
+
};
|
|
1535
|
+
readonly updatedAt: string;
|
|
1536
|
+
};
|
|
1537
|
+
}>;
|
|
1538
|
+
export type OrchestrationInboxAckResult = InferRuntimeSchema<typeof orchestrationInboxAckResultSchema>;
|
|
1539
|
+
export declare const orchestrationQuestionOpenResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1540
|
+
readonly aggregate: {
|
|
1541
|
+
readonly attempt: {
|
|
1542
|
+
readonly createdAt: string;
|
|
1543
|
+
readonly id: string;
|
|
1544
|
+
readonly ordinal: 1;
|
|
1545
|
+
readonly revision: string;
|
|
1546
|
+
readonly runId: string;
|
|
1547
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
1548
|
+
readonly state: "active" | "failed" | "waiting-question";
|
|
1549
|
+
readonly taskId: string;
|
|
1550
|
+
readonly updatedAt: string;
|
|
1551
|
+
};
|
|
1552
|
+
readonly dispatch: {
|
|
1553
|
+
readonly attemptId: string;
|
|
1554
|
+
readonly createdAt: string;
|
|
1555
|
+
readonly id: string;
|
|
1556
|
+
readonly revision: string;
|
|
1557
|
+
readonly runId: string;
|
|
1558
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
1559
|
+
readonly taskId: string;
|
|
1560
|
+
readonly terminalId: string;
|
|
1561
|
+
readonly updatedAt: string;
|
|
1562
|
+
readonly state: "active";
|
|
1563
|
+
} | {
|
|
1564
|
+
readonly attemptId: string;
|
|
1565
|
+
readonly createdAt: string;
|
|
1566
|
+
readonly id: string;
|
|
1567
|
+
readonly revision: string;
|
|
1568
|
+
readonly runId: string;
|
|
1569
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
1570
|
+
readonly taskId: string;
|
|
1571
|
+
readonly terminalId: string;
|
|
1572
|
+
readonly updatedAt: string;
|
|
1573
|
+
readonly state: "waiting-question";
|
|
1574
|
+
} | {
|
|
1575
|
+
readonly attemptId: string;
|
|
1576
|
+
readonly createdAt: string;
|
|
1577
|
+
readonly id: string;
|
|
1578
|
+
readonly revision: string;
|
|
1579
|
+
readonly runId: string;
|
|
1580
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
1581
|
+
readonly taskId: string;
|
|
1582
|
+
readonly terminalId: string;
|
|
1583
|
+
readonly updatedAt: string;
|
|
1584
|
+
readonly failure: {
|
|
1585
|
+
readonly code: "terminal_containment_unsupported";
|
|
1586
|
+
readonly platform: "darwin" | "linux";
|
|
1587
|
+
} | {
|
|
1588
|
+
readonly code: "platform_unsupported";
|
|
1589
|
+
readonly platform: "other" | "win32";
|
|
1590
|
+
};
|
|
1591
|
+
readonly state: "failed";
|
|
1592
|
+
};
|
|
1593
|
+
readonly mailboxes: readonly {
|
|
1594
|
+
readonly contentBytes: string;
|
|
1595
|
+
readonly createdAt: string;
|
|
1596
|
+
readonly deliveryCount: string;
|
|
1597
|
+
readonly headSequence: string;
|
|
1598
|
+
readonly id: string;
|
|
1599
|
+
readonly owner: {
|
|
1600
|
+
readonly id: string;
|
|
1601
|
+
readonly kind: "run";
|
|
1602
|
+
} | {
|
|
1603
|
+
readonly id: string;
|
|
1604
|
+
readonly kind: "dispatch";
|
|
1605
|
+
};
|
|
1606
|
+
readonly revision: string;
|
|
1607
|
+
readonly runId: string;
|
|
1608
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
1609
|
+
readonly updatedAt: string;
|
|
1610
|
+
}[];
|
|
1611
|
+
readonly question?: {
|
|
1612
|
+
readonly askMessageId: string;
|
|
1613
|
+
readonly attemptId: string;
|
|
1614
|
+
readonly body: string;
|
|
1615
|
+
readonly createdAt: string;
|
|
1616
|
+
readonly dispatchId: string;
|
|
1617
|
+
readonly id: string;
|
|
1618
|
+
readonly revision: string;
|
|
1619
|
+
readonly runId: string;
|
|
1620
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
1621
|
+
readonly subject: string;
|
|
1622
|
+
readonly taskId: string;
|
|
1623
|
+
readonly updatedAt: string;
|
|
1624
|
+
readonly state: "open";
|
|
1625
|
+
} | {
|
|
1626
|
+
readonly askMessageId: string;
|
|
1627
|
+
readonly attemptId: string;
|
|
1628
|
+
readonly body: string;
|
|
1629
|
+
readonly createdAt: string;
|
|
1630
|
+
readonly dispatchId: string;
|
|
1631
|
+
readonly id: string;
|
|
1632
|
+
readonly revision: string;
|
|
1633
|
+
readonly runId: string;
|
|
1634
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
1635
|
+
readonly subject: string;
|
|
1636
|
+
readonly taskId: string;
|
|
1637
|
+
readonly updatedAt: string;
|
|
1638
|
+
readonly answer: string;
|
|
1639
|
+
readonly replyMessageId: string;
|
|
1640
|
+
readonly state: "answered";
|
|
1641
|
+
} | {
|
|
1642
|
+
readonly askMessageId: string;
|
|
1643
|
+
readonly attemptId: string;
|
|
1644
|
+
readonly body: string;
|
|
1645
|
+
readonly createdAt: string;
|
|
1646
|
+
readonly dispatchId: string;
|
|
1647
|
+
readonly id: string;
|
|
1648
|
+
readonly revision: string;
|
|
1649
|
+
readonly runId: string;
|
|
1650
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
1651
|
+
readonly subject: string;
|
|
1652
|
+
readonly taskId: string;
|
|
1653
|
+
readonly updatedAt: string;
|
|
1654
|
+
readonly state: "cancelled";
|
|
1655
|
+
} | undefined;
|
|
1656
|
+
readonly run: {
|
|
1657
|
+
readonly coordinator: {
|
|
1658
|
+
readonly actorId: "actor_local_user";
|
|
1659
|
+
readonly epoch: 1;
|
|
1660
|
+
};
|
|
1661
|
+
readonly createdAt: string;
|
|
1662
|
+
readonly dispatchTaskId: string;
|
|
1663
|
+
readonly id: string;
|
|
1664
|
+
readonly revision: string;
|
|
1665
|
+
readonly rootTaskId: string;
|
|
1666
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
1667
|
+
readonly state: "active" | "failed" | "waiting-question";
|
|
1668
|
+
readonly terminalId: string;
|
|
1669
|
+
readonly updatedAt: string;
|
|
1670
|
+
readonly workspaceId: string;
|
|
1671
|
+
};
|
|
1672
|
+
readonly tasks: readonly {
|
|
1673
|
+
readonly clientKey: string;
|
|
1674
|
+
readonly createdAt: string;
|
|
1675
|
+
readonly dependencyTaskIds: readonly string[];
|
|
1676
|
+
readonly id: string;
|
|
1677
|
+
readonly revision: string;
|
|
1678
|
+
readonly runId: string;
|
|
1679
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
1680
|
+
readonly state: "active" | "failed" | "pending" | "waiting-question";
|
|
1681
|
+
readonly updatedAt: string;
|
|
1682
|
+
readonly workspaceId: string;
|
|
1683
|
+
readonly objective: string;
|
|
1684
|
+
}[];
|
|
1685
|
+
};
|
|
1686
|
+
readonly receipt: {
|
|
1687
|
+
readonly actorId: string;
|
|
1688
|
+
readonly aggregateRevision: string;
|
|
1689
|
+
readonly commandId: string;
|
|
1690
|
+
readonly createdAt: string;
|
|
1691
|
+
readonly eventCursor: string;
|
|
1692
|
+
readonly method: string;
|
|
1693
|
+
readonly receiptId: string;
|
|
1694
|
+
readonly schemaVersion: 1;
|
|
1695
|
+
readonly state: "succeeded";
|
|
1696
|
+
readonly target: {
|
|
1697
|
+
readonly id: string;
|
|
1698
|
+
readonly type: string;
|
|
1699
|
+
};
|
|
1700
|
+
readonly updatedAt: string;
|
|
1701
|
+
};
|
|
1702
|
+
readonly delivery: {
|
|
1703
|
+
readonly attemptCount: number;
|
|
1704
|
+
readonly createdAt: string;
|
|
1705
|
+
readonly firstDeliveredAt?: string | undefined;
|
|
1706
|
+
readonly id: string;
|
|
1707
|
+
readonly lastDeliveredAt?: string | undefined;
|
|
1708
|
+
readonly mailboxId: string;
|
|
1709
|
+
readonly message: {
|
|
1710
|
+
readonly body: string;
|
|
1711
|
+
readonly createdAt: string;
|
|
1712
|
+
readonly digest: string;
|
|
1713
|
+
readonly id: string;
|
|
1714
|
+
readonly runId: string;
|
|
1715
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
1716
|
+
readonly sender: {
|
|
1717
|
+
readonly actorId: "actor_local_user";
|
|
1718
|
+
readonly kind: "run-coordinator";
|
|
1719
|
+
readonly runId: string;
|
|
1720
|
+
};
|
|
1721
|
+
readonly subject: string;
|
|
1722
|
+
readonly recipient: {
|
|
1723
|
+
readonly id: string;
|
|
1724
|
+
readonly kind: "dispatch";
|
|
1725
|
+
};
|
|
1726
|
+
readonly type: "dispatch";
|
|
1727
|
+
} | {
|
|
1728
|
+
readonly body: string;
|
|
1729
|
+
readonly createdAt: string;
|
|
1730
|
+
readonly digest: string;
|
|
1731
|
+
readonly id: string;
|
|
1732
|
+
readonly runId: string;
|
|
1733
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
1734
|
+
readonly sender: {
|
|
1735
|
+
readonly actorId: "actor_local_user";
|
|
1736
|
+
readonly kind: "run-coordinator";
|
|
1737
|
+
readonly runId: string;
|
|
1738
|
+
};
|
|
1739
|
+
readonly subject: string;
|
|
1740
|
+
readonly questionId: string;
|
|
1741
|
+
readonly recipient: {
|
|
1742
|
+
readonly id: string;
|
|
1743
|
+
readonly kind: "run";
|
|
1744
|
+
};
|
|
1745
|
+
readonly type: "question";
|
|
1746
|
+
} | {
|
|
1747
|
+
readonly body: string;
|
|
1748
|
+
readonly createdAt: string;
|
|
1749
|
+
readonly digest: string;
|
|
1750
|
+
readonly id: string;
|
|
1751
|
+
readonly runId: string;
|
|
1752
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
1753
|
+
readonly sender: {
|
|
1754
|
+
readonly actorId: "actor_local_user";
|
|
1755
|
+
readonly kind: "run-coordinator";
|
|
1756
|
+
readonly runId: string;
|
|
1757
|
+
};
|
|
1758
|
+
readonly subject: string;
|
|
1759
|
+
readonly questionId: string;
|
|
1760
|
+
readonly recipient: {
|
|
1761
|
+
readonly id: string;
|
|
1762
|
+
readonly kind: "dispatch";
|
|
1763
|
+
};
|
|
1764
|
+
readonly type: "reply";
|
|
1765
|
+
} | {
|
|
1766
|
+
readonly body: string;
|
|
1767
|
+
readonly createdAt: string;
|
|
1768
|
+
readonly digest: string;
|
|
1769
|
+
readonly id: string;
|
|
1770
|
+
readonly runId: string;
|
|
1771
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
1772
|
+
readonly sender: {
|
|
1773
|
+
readonly actorId: "actor_local_user";
|
|
1774
|
+
readonly kind: "run-coordinator";
|
|
1775
|
+
readonly runId: string;
|
|
1776
|
+
};
|
|
1777
|
+
readonly subject: string;
|
|
1778
|
+
readonly recipient: {
|
|
1779
|
+
readonly id: string;
|
|
1780
|
+
readonly kind: "run";
|
|
1781
|
+
};
|
|
1782
|
+
readonly type: "dispatch-settled";
|
|
1783
|
+
};
|
|
1784
|
+
readonly sequence: string;
|
|
1785
|
+
readonly state: "pending";
|
|
1786
|
+
} | {
|
|
1787
|
+
readonly attemptCount: number;
|
|
1788
|
+
readonly createdAt: string;
|
|
1789
|
+
readonly firstDeliveredAt?: string | undefined;
|
|
1790
|
+
readonly id: string;
|
|
1791
|
+
readonly lastDeliveredAt?: string | undefined;
|
|
1792
|
+
readonly mailboxId: string;
|
|
1793
|
+
readonly message: {
|
|
1794
|
+
readonly body: string;
|
|
1795
|
+
readonly createdAt: string;
|
|
1796
|
+
readonly digest: string;
|
|
1797
|
+
readonly id: string;
|
|
1798
|
+
readonly runId: string;
|
|
1799
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
1800
|
+
readonly sender: {
|
|
1801
|
+
readonly actorId: "actor_local_user";
|
|
1802
|
+
readonly kind: "run-coordinator";
|
|
1803
|
+
readonly runId: string;
|
|
1804
|
+
};
|
|
1805
|
+
readonly subject: string;
|
|
1806
|
+
readonly recipient: {
|
|
1807
|
+
readonly id: string;
|
|
1808
|
+
readonly kind: "dispatch";
|
|
1809
|
+
};
|
|
1810
|
+
readonly type: "dispatch";
|
|
1811
|
+
} | {
|
|
1812
|
+
readonly body: string;
|
|
1813
|
+
readonly createdAt: string;
|
|
1814
|
+
readonly digest: string;
|
|
1815
|
+
readonly id: string;
|
|
1816
|
+
readonly runId: string;
|
|
1817
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
1818
|
+
readonly sender: {
|
|
1819
|
+
readonly actorId: "actor_local_user";
|
|
1820
|
+
readonly kind: "run-coordinator";
|
|
1821
|
+
readonly runId: string;
|
|
1822
|
+
};
|
|
1823
|
+
readonly subject: string;
|
|
1824
|
+
readonly questionId: string;
|
|
1825
|
+
readonly recipient: {
|
|
1826
|
+
readonly id: string;
|
|
1827
|
+
readonly kind: "run";
|
|
1828
|
+
};
|
|
1829
|
+
readonly type: "question";
|
|
1830
|
+
} | {
|
|
1831
|
+
readonly body: string;
|
|
1832
|
+
readonly createdAt: string;
|
|
1833
|
+
readonly digest: string;
|
|
1834
|
+
readonly id: string;
|
|
1835
|
+
readonly runId: string;
|
|
1836
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
1837
|
+
readonly sender: {
|
|
1838
|
+
readonly actorId: "actor_local_user";
|
|
1839
|
+
readonly kind: "run-coordinator";
|
|
1840
|
+
readonly runId: string;
|
|
1841
|
+
};
|
|
1842
|
+
readonly subject: string;
|
|
1843
|
+
readonly questionId: string;
|
|
1844
|
+
readonly recipient: {
|
|
1845
|
+
readonly id: string;
|
|
1846
|
+
readonly kind: "dispatch";
|
|
1847
|
+
};
|
|
1848
|
+
readonly type: "reply";
|
|
1849
|
+
} | {
|
|
1850
|
+
readonly body: string;
|
|
1851
|
+
readonly createdAt: string;
|
|
1852
|
+
readonly digest: string;
|
|
1853
|
+
readonly id: string;
|
|
1854
|
+
readonly runId: string;
|
|
1855
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
1856
|
+
readonly sender: {
|
|
1857
|
+
readonly actorId: "actor_local_user";
|
|
1858
|
+
readonly kind: "run-coordinator";
|
|
1859
|
+
readonly runId: string;
|
|
1860
|
+
};
|
|
1861
|
+
readonly subject: string;
|
|
1862
|
+
readonly recipient: {
|
|
1863
|
+
readonly id: string;
|
|
1864
|
+
readonly kind: "run";
|
|
1865
|
+
};
|
|
1866
|
+
readonly type: "dispatch-settled";
|
|
1867
|
+
};
|
|
1868
|
+
readonly sequence: string;
|
|
1869
|
+
readonly acknowledgedAt: string;
|
|
1870
|
+
readonly acknowledgingActorId: "actor_local_user";
|
|
1871
|
+
readonly state: "acknowledged";
|
|
1872
|
+
};
|
|
1873
|
+
readonly method: "run.question.open";
|
|
1874
|
+
}>;
|
|
1875
|
+
export type OrchestrationQuestionOpenResult = InferRuntimeSchema<typeof orchestrationQuestionOpenResultSchema>;
|
|
1876
|
+
export declare const orchestrationQuestionReplyResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1877
|
+
readonly aggregate: {
|
|
1878
|
+
readonly attempt: {
|
|
1879
|
+
readonly createdAt: string;
|
|
1880
|
+
readonly id: string;
|
|
1881
|
+
readonly ordinal: 1;
|
|
1882
|
+
readonly revision: string;
|
|
1883
|
+
readonly runId: string;
|
|
1884
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
1885
|
+
readonly state: "active" | "failed" | "waiting-question";
|
|
1886
|
+
readonly taskId: string;
|
|
1887
|
+
readonly updatedAt: string;
|
|
1888
|
+
};
|
|
1889
|
+
readonly dispatch: {
|
|
1890
|
+
readonly attemptId: string;
|
|
1891
|
+
readonly createdAt: string;
|
|
1892
|
+
readonly id: string;
|
|
1893
|
+
readonly revision: string;
|
|
1894
|
+
readonly runId: string;
|
|
1895
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
1896
|
+
readonly taskId: string;
|
|
1897
|
+
readonly terminalId: string;
|
|
1898
|
+
readonly updatedAt: string;
|
|
1899
|
+
readonly state: "active";
|
|
1900
|
+
} | {
|
|
1901
|
+
readonly attemptId: string;
|
|
1902
|
+
readonly createdAt: string;
|
|
1903
|
+
readonly id: string;
|
|
1904
|
+
readonly revision: string;
|
|
1905
|
+
readonly runId: string;
|
|
1906
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
1907
|
+
readonly taskId: string;
|
|
1908
|
+
readonly terminalId: string;
|
|
1909
|
+
readonly updatedAt: string;
|
|
1910
|
+
readonly state: "waiting-question";
|
|
1911
|
+
} | {
|
|
1912
|
+
readonly attemptId: string;
|
|
1913
|
+
readonly createdAt: string;
|
|
1914
|
+
readonly id: string;
|
|
1915
|
+
readonly revision: string;
|
|
1916
|
+
readonly runId: string;
|
|
1917
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
1918
|
+
readonly taskId: string;
|
|
1919
|
+
readonly terminalId: string;
|
|
1920
|
+
readonly updatedAt: string;
|
|
1921
|
+
readonly failure: {
|
|
1922
|
+
readonly code: "terminal_containment_unsupported";
|
|
1923
|
+
readonly platform: "darwin" | "linux";
|
|
1924
|
+
} | {
|
|
1925
|
+
readonly code: "platform_unsupported";
|
|
1926
|
+
readonly platform: "other" | "win32";
|
|
1927
|
+
};
|
|
1928
|
+
readonly state: "failed";
|
|
1929
|
+
};
|
|
1930
|
+
readonly mailboxes: readonly {
|
|
1931
|
+
readonly contentBytes: string;
|
|
1932
|
+
readonly createdAt: string;
|
|
1933
|
+
readonly deliveryCount: string;
|
|
1934
|
+
readonly headSequence: string;
|
|
1935
|
+
readonly id: string;
|
|
1936
|
+
readonly owner: {
|
|
1937
|
+
readonly id: string;
|
|
1938
|
+
readonly kind: "run";
|
|
1939
|
+
} | {
|
|
1940
|
+
readonly id: string;
|
|
1941
|
+
readonly kind: "dispatch";
|
|
1942
|
+
};
|
|
1943
|
+
readonly revision: string;
|
|
1944
|
+
readonly runId: string;
|
|
1945
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
1946
|
+
readonly updatedAt: string;
|
|
1947
|
+
}[];
|
|
1948
|
+
readonly question?: {
|
|
1949
|
+
readonly askMessageId: string;
|
|
1950
|
+
readonly attemptId: string;
|
|
1951
|
+
readonly body: string;
|
|
1952
|
+
readonly createdAt: string;
|
|
1953
|
+
readonly dispatchId: string;
|
|
1954
|
+
readonly id: string;
|
|
1955
|
+
readonly revision: string;
|
|
1956
|
+
readonly runId: string;
|
|
1957
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
1958
|
+
readonly subject: string;
|
|
1959
|
+
readonly taskId: string;
|
|
1960
|
+
readonly updatedAt: string;
|
|
1961
|
+
readonly state: "open";
|
|
1962
|
+
} | {
|
|
1963
|
+
readonly askMessageId: string;
|
|
1964
|
+
readonly attemptId: string;
|
|
1965
|
+
readonly body: string;
|
|
1966
|
+
readonly createdAt: string;
|
|
1967
|
+
readonly dispatchId: string;
|
|
1968
|
+
readonly id: string;
|
|
1969
|
+
readonly revision: string;
|
|
1970
|
+
readonly runId: string;
|
|
1971
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
1972
|
+
readonly subject: string;
|
|
1973
|
+
readonly taskId: string;
|
|
1974
|
+
readonly updatedAt: string;
|
|
1975
|
+
readonly answer: string;
|
|
1976
|
+
readonly replyMessageId: string;
|
|
1977
|
+
readonly state: "answered";
|
|
1978
|
+
} | {
|
|
1979
|
+
readonly askMessageId: string;
|
|
1980
|
+
readonly attemptId: string;
|
|
1981
|
+
readonly body: string;
|
|
1982
|
+
readonly createdAt: string;
|
|
1983
|
+
readonly dispatchId: string;
|
|
1984
|
+
readonly id: string;
|
|
1985
|
+
readonly revision: string;
|
|
1986
|
+
readonly runId: string;
|
|
1987
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
1988
|
+
readonly subject: string;
|
|
1989
|
+
readonly taskId: string;
|
|
1990
|
+
readonly updatedAt: string;
|
|
1991
|
+
readonly state: "cancelled";
|
|
1992
|
+
} | undefined;
|
|
1993
|
+
readonly run: {
|
|
1994
|
+
readonly coordinator: {
|
|
1995
|
+
readonly actorId: "actor_local_user";
|
|
1996
|
+
readonly epoch: 1;
|
|
1997
|
+
};
|
|
1998
|
+
readonly createdAt: string;
|
|
1999
|
+
readonly dispatchTaskId: string;
|
|
2000
|
+
readonly id: string;
|
|
2001
|
+
readonly revision: string;
|
|
2002
|
+
readonly rootTaskId: string;
|
|
2003
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
2004
|
+
readonly state: "active" | "failed" | "waiting-question";
|
|
2005
|
+
readonly terminalId: string;
|
|
2006
|
+
readonly updatedAt: string;
|
|
2007
|
+
readonly workspaceId: string;
|
|
2008
|
+
};
|
|
2009
|
+
readonly tasks: readonly {
|
|
2010
|
+
readonly clientKey: string;
|
|
2011
|
+
readonly createdAt: string;
|
|
2012
|
+
readonly dependencyTaskIds: readonly string[];
|
|
2013
|
+
readonly id: string;
|
|
2014
|
+
readonly revision: string;
|
|
2015
|
+
readonly runId: string;
|
|
2016
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
2017
|
+
readonly state: "active" | "failed" | "pending" | "waiting-question";
|
|
2018
|
+
readonly updatedAt: string;
|
|
2019
|
+
readonly workspaceId: string;
|
|
2020
|
+
readonly objective: string;
|
|
2021
|
+
}[];
|
|
2022
|
+
};
|
|
2023
|
+
readonly receipt: {
|
|
2024
|
+
readonly actorId: string;
|
|
2025
|
+
readonly aggregateRevision: string;
|
|
2026
|
+
readonly commandId: string;
|
|
2027
|
+
readonly createdAt: string;
|
|
2028
|
+
readonly eventCursor: string;
|
|
2029
|
+
readonly method: string;
|
|
2030
|
+
readonly receiptId: string;
|
|
2031
|
+
readonly schemaVersion: 1;
|
|
2032
|
+
readonly state: "succeeded";
|
|
2033
|
+
readonly target: {
|
|
2034
|
+
readonly id: string;
|
|
2035
|
+
readonly type: string;
|
|
2036
|
+
};
|
|
2037
|
+
readonly updatedAt: string;
|
|
2038
|
+
};
|
|
2039
|
+
readonly delivery: {
|
|
2040
|
+
readonly attemptCount: number;
|
|
2041
|
+
readonly createdAt: string;
|
|
2042
|
+
readonly firstDeliveredAt?: string | undefined;
|
|
2043
|
+
readonly id: string;
|
|
2044
|
+
readonly lastDeliveredAt?: string | undefined;
|
|
2045
|
+
readonly mailboxId: string;
|
|
2046
|
+
readonly message: {
|
|
2047
|
+
readonly body: string;
|
|
2048
|
+
readonly createdAt: string;
|
|
2049
|
+
readonly digest: string;
|
|
2050
|
+
readonly id: string;
|
|
2051
|
+
readonly runId: string;
|
|
2052
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
2053
|
+
readonly sender: {
|
|
2054
|
+
readonly actorId: "actor_local_user";
|
|
2055
|
+
readonly kind: "run-coordinator";
|
|
2056
|
+
readonly runId: string;
|
|
2057
|
+
};
|
|
2058
|
+
readonly subject: string;
|
|
2059
|
+
readonly recipient: {
|
|
2060
|
+
readonly id: string;
|
|
2061
|
+
readonly kind: "dispatch";
|
|
2062
|
+
};
|
|
2063
|
+
readonly type: "dispatch";
|
|
2064
|
+
} | {
|
|
2065
|
+
readonly body: string;
|
|
2066
|
+
readonly createdAt: string;
|
|
2067
|
+
readonly digest: string;
|
|
2068
|
+
readonly id: string;
|
|
2069
|
+
readonly runId: string;
|
|
2070
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
2071
|
+
readonly sender: {
|
|
2072
|
+
readonly actorId: "actor_local_user";
|
|
2073
|
+
readonly kind: "run-coordinator";
|
|
2074
|
+
readonly runId: string;
|
|
2075
|
+
};
|
|
2076
|
+
readonly subject: string;
|
|
2077
|
+
readonly questionId: string;
|
|
2078
|
+
readonly recipient: {
|
|
2079
|
+
readonly id: string;
|
|
2080
|
+
readonly kind: "run";
|
|
2081
|
+
};
|
|
2082
|
+
readonly type: "question";
|
|
2083
|
+
} | {
|
|
2084
|
+
readonly body: string;
|
|
2085
|
+
readonly createdAt: string;
|
|
2086
|
+
readonly digest: string;
|
|
2087
|
+
readonly id: string;
|
|
2088
|
+
readonly runId: string;
|
|
2089
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
2090
|
+
readonly sender: {
|
|
2091
|
+
readonly actorId: "actor_local_user";
|
|
2092
|
+
readonly kind: "run-coordinator";
|
|
2093
|
+
readonly runId: string;
|
|
2094
|
+
};
|
|
2095
|
+
readonly subject: string;
|
|
2096
|
+
readonly questionId: string;
|
|
2097
|
+
readonly recipient: {
|
|
2098
|
+
readonly id: string;
|
|
2099
|
+
readonly kind: "dispatch";
|
|
2100
|
+
};
|
|
2101
|
+
readonly type: "reply";
|
|
2102
|
+
} | {
|
|
2103
|
+
readonly body: string;
|
|
2104
|
+
readonly createdAt: string;
|
|
2105
|
+
readonly digest: string;
|
|
2106
|
+
readonly id: string;
|
|
2107
|
+
readonly runId: string;
|
|
2108
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
2109
|
+
readonly sender: {
|
|
2110
|
+
readonly actorId: "actor_local_user";
|
|
2111
|
+
readonly kind: "run-coordinator";
|
|
2112
|
+
readonly runId: string;
|
|
2113
|
+
};
|
|
2114
|
+
readonly subject: string;
|
|
2115
|
+
readonly recipient: {
|
|
2116
|
+
readonly id: string;
|
|
2117
|
+
readonly kind: "run";
|
|
2118
|
+
};
|
|
2119
|
+
readonly type: "dispatch-settled";
|
|
2120
|
+
};
|
|
2121
|
+
readonly sequence: string;
|
|
2122
|
+
readonly state: "pending";
|
|
2123
|
+
} | {
|
|
2124
|
+
readonly attemptCount: number;
|
|
2125
|
+
readonly createdAt: string;
|
|
2126
|
+
readonly firstDeliveredAt?: string | undefined;
|
|
2127
|
+
readonly id: string;
|
|
2128
|
+
readonly lastDeliveredAt?: string | undefined;
|
|
2129
|
+
readonly mailboxId: string;
|
|
2130
|
+
readonly message: {
|
|
2131
|
+
readonly body: string;
|
|
2132
|
+
readonly createdAt: string;
|
|
2133
|
+
readonly digest: string;
|
|
2134
|
+
readonly id: string;
|
|
2135
|
+
readonly runId: string;
|
|
2136
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
2137
|
+
readonly sender: {
|
|
2138
|
+
readonly actorId: "actor_local_user";
|
|
2139
|
+
readonly kind: "run-coordinator";
|
|
2140
|
+
readonly runId: string;
|
|
2141
|
+
};
|
|
2142
|
+
readonly subject: string;
|
|
2143
|
+
readonly recipient: {
|
|
2144
|
+
readonly id: string;
|
|
2145
|
+
readonly kind: "dispatch";
|
|
2146
|
+
};
|
|
2147
|
+
readonly type: "dispatch";
|
|
2148
|
+
} | {
|
|
2149
|
+
readonly body: string;
|
|
2150
|
+
readonly createdAt: string;
|
|
2151
|
+
readonly digest: string;
|
|
2152
|
+
readonly id: string;
|
|
2153
|
+
readonly runId: string;
|
|
2154
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
2155
|
+
readonly sender: {
|
|
2156
|
+
readonly actorId: "actor_local_user";
|
|
2157
|
+
readonly kind: "run-coordinator";
|
|
2158
|
+
readonly runId: string;
|
|
2159
|
+
};
|
|
2160
|
+
readonly subject: string;
|
|
2161
|
+
readonly questionId: string;
|
|
2162
|
+
readonly recipient: {
|
|
2163
|
+
readonly id: string;
|
|
2164
|
+
readonly kind: "run";
|
|
2165
|
+
};
|
|
2166
|
+
readonly type: "question";
|
|
2167
|
+
} | {
|
|
2168
|
+
readonly body: string;
|
|
2169
|
+
readonly createdAt: string;
|
|
2170
|
+
readonly digest: string;
|
|
2171
|
+
readonly id: string;
|
|
2172
|
+
readonly runId: string;
|
|
2173
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
2174
|
+
readonly sender: {
|
|
2175
|
+
readonly actorId: "actor_local_user";
|
|
2176
|
+
readonly kind: "run-coordinator";
|
|
2177
|
+
readonly runId: string;
|
|
2178
|
+
};
|
|
2179
|
+
readonly subject: string;
|
|
2180
|
+
readonly questionId: string;
|
|
2181
|
+
readonly recipient: {
|
|
2182
|
+
readonly id: string;
|
|
2183
|
+
readonly kind: "dispatch";
|
|
2184
|
+
};
|
|
2185
|
+
readonly type: "reply";
|
|
2186
|
+
} | {
|
|
2187
|
+
readonly body: string;
|
|
2188
|
+
readonly createdAt: string;
|
|
2189
|
+
readonly digest: string;
|
|
2190
|
+
readonly id: string;
|
|
2191
|
+
readonly runId: string;
|
|
2192
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
2193
|
+
readonly sender: {
|
|
2194
|
+
readonly actorId: "actor_local_user";
|
|
2195
|
+
readonly kind: "run-coordinator";
|
|
2196
|
+
readonly runId: string;
|
|
2197
|
+
};
|
|
2198
|
+
readonly subject: string;
|
|
2199
|
+
readonly recipient: {
|
|
2200
|
+
readonly id: string;
|
|
2201
|
+
readonly kind: "run";
|
|
2202
|
+
};
|
|
2203
|
+
readonly type: "dispatch-settled";
|
|
2204
|
+
};
|
|
2205
|
+
readonly sequence: string;
|
|
2206
|
+
readonly acknowledgedAt: string;
|
|
2207
|
+
readonly acknowledgingActorId: "actor_local_user";
|
|
2208
|
+
readonly state: "acknowledged";
|
|
2209
|
+
};
|
|
2210
|
+
readonly method: "run.question.reply";
|
|
2211
|
+
}>;
|
|
2212
|
+
export type OrchestrationQuestionReplyResult = InferRuntimeSchema<typeof orchestrationQuestionReplyResultSchema>;
|
|
2213
|
+
export declare const orchestrationQuestionCancelResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
2214
|
+
readonly aggregate: {
|
|
2215
|
+
readonly attempt: {
|
|
2216
|
+
readonly createdAt: string;
|
|
2217
|
+
readonly id: string;
|
|
2218
|
+
readonly ordinal: 1;
|
|
2219
|
+
readonly revision: string;
|
|
2220
|
+
readonly runId: string;
|
|
2221
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
2222
|
+
readonly state: "active" | "failed" | "waiting-question";
|
|
2223
|
+
readonly taskId: string;
|
|
2224
|
+
readonly updatedAt: string;
|
|
2225
|
+
};
|
|
2226
|
+
readonly dispatch: {
|
|
2227
|
+
readonly attemptId: string;
|
|
2228
|
+
readonly createdAt: string;
|
|
2229
|
+
readonly id: string;
|
|
2230
|
+
readonly revision: string;
|
|
2231
|
+
readonly runId: string;
|
|
2232
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
2233
|
+
readonly taskId: string;
|
|
2234
|
+
readonly terminalId: string;
|
|
2235
|
+
readonly updatedAt: string;
|
|
2236
|
+
readonly state: "active";
|
|
2237
|
+
} | {
|
|
2238
|
+
readonly attemptId: string;
|
|
2239
|
+
readonly createdAt: string;
|
|
2240
|
+
readonly id: string;
|
|
2241
|
+
readonly revision: string;
|
|
2242
|
+
readonly runId: string;
|
|
2243
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
2244
|
+
readonly taskId: string;
|
|
2245
|
+
readonly terminalId: string;
|
|
2246
|
+
readonly updatedAt: string;
|
|
2247
|
+
readonly state: "waiting-question";
|
|
2248
|
+
} | {
|
|
2249
|
+
readonly attemptId: string;
|
|
2250
|
+
readonly createdAt: string;
|
|
2251
|
+
readonly id: string;
|
|
2252
|
+
readonly revision: string;
|
|
2253
|
+
readonly runId: string;
|
|
2254
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
2255
|
+
readonly taskId: string;
|
|
2256
|
+
readonly terminalId: string;
|
|
2257
|
+
readonly updatedAt: string;
|
|
2258
|
+
readonly failure: {
|
|
2259
|
+
readonly code: "terminal_containment_unsupported";
|
|
2260
|
+
readonly platform: "darwin" | "linux";
|
|
2261
|
+
} | {
|
|
2262
|
+
readonly code: "platform_unsupported";
|
|
2263
|
+
readonly platform: "other" | "win32";
|
|
2264
|
+
};
|
|
2265
|
+
readonly state: "failed";
|
|
2266
|
+
};
|
|
2267
|
+
readonly mailboxes: readonly {
|
|
2268
|
+
readonly contentBytes: string;
|
|
2269
|
+
readonly createdAt: string;
|
|
2270
|
+
readonly deliveryCount: string;
|
|
2271
|
+
readonly headSequence: string;
|
|
2272
|
+
readonly id: string;
|
|
2273
|
+
readonly owner: {
|
|
2274
|
+
readonly id: string;
|
|
2275
|
+
readonly kind: "run";
|
|
2276
|
+
} | {
|
|
2277
|
+
readonly id: string;
|
|
2278
|
+
readonly kind: "dispatch";
|
|
2279
|
+
};
|
|
2280
|
+
readonly revision: string;
|
|
2281
|
+
readonly runId: string;
|
|
2282
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
2283
|
+
readonly updatedAt: string;
|
|
2284
|
+
}[];
|
|
2285
|
+
readonly question?: {
|
|
2286
|
+
readonly askMessageId: string;
|
|
2287
|
+
readonly attemptId: string;
|
|
2288
|
+
readonly body: string;
|
|
2289
|
+
readonly createdAt: string;
|
|
2290
|
+
readonly dispatchId: string;
|
|
2291
|
+
readonly id: string;
|
|
2292
|
+
readonly revision: string;
|
|
2293
|
+
readonly runId: string;
|
|
2294
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
2295
|
+
readonly subject: string;
|
|
2296
|
+
readonly taskId: string;
|
|
2297
|
+
readonly updatedAt: string;
|
|
2298
|
+
readonly state: "open";
|
|
2299
|
+
} | {
|
|
2300
|
+
readonly askMessageId: string;
|
|
2301
|
+
readonly attemptId: string;
|
|
2302
|
+
readonly body: string;
|
|
2303
|
+
readonly createdAt: string;
|
|
2304
|
+
readonly dispatchId: string;
|
|
2305
|
+
readonly id: string;
|
|
2306
|
+
readonly revision: string;
|
|
2307
|
+
readonly runId: string;
|
|
2308
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
2309
|
+
readonly subject: string;
|
|
2310
|
+
readonly taskId: string;
|
|
2311
|
+
readonly updatedAt: string;
|
|
2312
|
+
readonly answer: string;
|
|
2313
|
+
readonly replyMessageId: string;
|
|
2314
|
+
readonly state: "answered";
|
|
2315
|
+
} | {
|
|
2316
|
+
readonly askMessageId: string;
|
|
2317
|
+
readonly attemptId: string;
|
|
2318
|
+
readonly body: string;
|
|
2319
|
+
readonly createdAt: string;
|
|
2320
|
+
readonly dispatchId: string;
|
|
2321
|
+
readonly id: string;
|
|
2322
|
+
readonly revision: string;
|
|
2323
|
+
readonly runId: string;
|
|
2324
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
2325
|
+
readonly subject: string;
|
|
2326
|
+
readonly taskId: string;
|
|
2327
|
+
readonly updatedAt: string;
|
|
2328
|
+
readonly state: "cancelled";
|
|
2329
|
+
} | undefined;
|
|
2330
|
+
readonly run: {
|
|
2331
|
+
readonly coordinator: {
|
|
2332
|
+
readonly actorId: "actor_local_user";
|
|
2333
|
+
readonly epoch: 1;
|
|
2334
|
+
};
|
|
2335
|
+
readonly createdAt: string;
|
|
2336
|
+
readonly dispatchTaskId: string;
|
|
2337
|
+
readonly id: string;
|
|
2338
|
+
readonly revision: string;
|
|
2339
|
+
readonly rootTaskId: string;
|
|
2340
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
2341
|
+
readonly state: "active" | "failed" | "waiting-question";
|
|
2342
|
+
readonly terminalId: string;
|
|
2343
|
+
readonly updatedAt: string;
|
|
2344
|
+
readonly workspaceId: string;
|
|
2345
|
+
};
|
|
2346
|
+
readonly tasks: readonly {
|
|
2347
|
+
readonly clientKey: string;
|
|
2348
|
+
readonly createdAt: string;
|
|
2349
|
+
readonly dependencyTaskIds: readonly string[];
|
|
2350
|
+
readonly id: string;
|
|
2351
|
+
readonly revision: string;
|
|
2352
|
+
readonly runId: string;
|
|
2353
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
2354
|
+
readonly state: "active" | "failed" | "pending" | "waiting-question";
|
|
2355
|
+
readonly updatedAt: string;
|
|
2356
|
+
readonly workspaceId: string;
|
|
2357
|
+
readonly objective: string;
|
|
2358
|
+
}[];
|
|
2359
|
+
};
|
|
2360
|
+
readonly receipt: {
|
|
2361
|
+
readonly actorId: string;
|
|
2362
|
+
readonly aggregateRevision: string;
|
|
2363
|
+
readonly commandId: string;
|
|
2364
|
+
readonly createdAt: string;
|
|
2365
|
+
readonly eventCursor: string;
|
|
2366
|
+
readonly method: string;
|
|
2367
|
+
readonly receiptId: string;
|
|
2368
|
+
readonly schemaVersion: 1;
|
|
2369
|
+
readonly state: "succeeded";
|
|
2370
|
+
readonly target: {
|
|
2371
|
+
readonly id: string;
|
|
2372
|
+
readonly type: string;
|
|
2373
|
+
};
|
|
2374
|
+
readonly updatedAt: string;
|
|
2375
|
+
};
|
|
2376
|
+
readonly method: "run.question.cancel";
|
|
2377
|
+
}>;
|
|
2378
|
+
export type OrchestrationQuestionCancelResult = InferRuntimeSchema<typeof orchestrationQuestionCancelResultSchema>;
|
|
2379
|
+
export declare const orchestrationDispatchSettleTerminalResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
2380
|
+
readonly aggregate: {
|
|
2381
|
+
readonly attempt: {
|
|
2382
|
+
readonly createdAt: string;
|
|
2383
|
+
readonly id: string;
|
|
2384
|
+
readonly ordinal: 1;
|
|
2385
|
+
readonly revision: string;
|
|
2386
|
+
readonly runId: string;
|
|
2387
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
2388
|
+
readonly state: "active" | "failed" | "waiting-question";
|
|
2389
|
+
readonly taskId: string;
|
|
2390
|
+
readonly updatedAt: string;
|
|
2391
|
+
};
|
|
2392
|
+
readonly dispatch: {
|
|
2393
|
+
readonly attemptId: string;
|
|
2394
|
+
readonly createdAt: string;
|
|
2395
|
+
readonly id: string;
|
|
2396
|
+
readonly revision: string;
|
|
2397
|
+
readonly runId: string;
|
|
2398
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
2399
|
+
readonly taskId: string;
|
|
2400
|
+
readonly terminalId: string;
|
|
2401
|
+
readonly updatedAt: string;
|
|
2402
|
+
readonly state: "active";
|
|
2403
|
+
} | {
|
|
2404
|
+
readonly attemptId: string;
|
|
2405
|
+
readonly createdAt: string;
|
|
2406
|
+
readonly id: string;
|
|
2407
|
+
readonly revision: string;
|
|
2408
|
+
readonly runId: string;
|
|
2409
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
2410
|
+
readonly taskId: string;
|
|
2411
|
+
readonly terminalId: string;
|
|
2412
|
+
readonly updatedAt: string;
|
|
2413
|
+
readonly state: "waiting-question";
|
|
2414
|
+
} | {
|
|
2415
|
+
readonly attemptId: string;
|
|
2416
|
+
readonly createdAt: string;
|
|
2417
|
+
readonly id: string;
|
|
2418
|
+
readonly revision: string;
|
|
2419
|
+
readonly runId: string;
|
|
2420
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
2421
|
+
readonly taskId: string;
|
|
2422
|
+
readonly terminalId: string;
|
|
2423
|
+
readonly updatedAt: string;
|
|
2424
|
+
readonly failure: {
|
|
2425
|
+
readonly code: "terminal_containment_unsupported";
|
|
2426
|
+
readonly platform: "darwin" | "linux";
|
|
2427
|
+
} | {
|
|
2428
|
+
readonly code: "platform_unsupported";
|
|
2429
|
+
readonly platform: "other" | "win32";
|
|
2430
|
+
};
|
|
2431
|
+
readonly state: "failed";
|
|
2432
|
+
};
|
|
2433
|
+
readonly mailboxes: readonly {
|
|
2434
|
+
readonly contentBytes: string;
|
|
2435
|
+
readonly createdAt: string;
|
|
2436
|
+
readonly deliveryCount: string;
|
|
2437
|
+
readonly headSequence: string;
|
|
2438
|
+
readonly id: string;
|
|
2439
|
+
readonly owner: {
|
|
2440
|
+
readonly id: string;
|
|
2441
|
+
readonly kind: "run";
|
|
2442
|
+
} | {
|
|
2443
|
+
readonly id: string;
|
|
2444
|
+
readonly kind: "dispatch";
|
|
2445
|
+
};
|
|
2446
|
+
readonly revision: string;
|
|
2447
|
+
readonly runId: string;
|
|
2448
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
2449
|
+
readonly updatedAt: string;
|
|
2450
|
+
}[];
|
|
2451
|
+
readonly question?: {
|
|
2452
|
+
readonly askMessageId: string;
|
|
2453
|
+
readonly attemptId: string;
|
|
2454
|
+
readonly body: string;
|
|
2455
|
+
readonly createdAt: string;
|
|
2456
|
+
readonly dispatchId: string;
|
|
2457
|
+
readonly id: string;
|
|
2458
|
+
readonly revision: string;
|
|
2459
|
+
readonly runId: string;
|
|
2460
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
2461
|
+
readonly subject: string;
|
|
2462
|
+
readonly taskId: string;
|
|
2463
|
+
readonly updatedAt: string;
|
|
2464
|
+
readonly state: "open";
|
|
2465
|
+
} | {
|
|
2466
|
+
readonly askMessageId: string;
|
|
2467
|
+
readonly attemptId: string;
|
|
2468
|
+
readonly body: string;
|
|
2469
|
+
readonly createdAt: string;
|
|
2470
|
+
readonly dispatchId: string;
|
|
2471
|
+
readonly id: string;
|
|
2472
|
+
readonly revision: string;
|
|
2473
|
+
readonly runId: string;
|
|
2474
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
2475
|
+
readonly subject: string;
|
|
2476
|
+
readonly taskId: string;
|
|
2477
|
+
readonly updatedAt: string;
|
|
2478
|
+
readonly answer: string;
|
|
2479
|
+
readonly replyMessageId: string;
|
|
2480
|
+
readonly state: "answered";
|
|
2481
|
+
} | {
|
|
2482
|
+
readonly askMessageId: string;
|
|
2483
|
+
readonly attemptId: string;
|
|
2484
|
+
readonly body: string;
|
|
2485
|
+
readonly createdAt: string;
|
|
2486
|
+
readonly dispatchId: string;
|
|
2487
|
+
readonly id: string;
|
|
2488
|
+
readonly revision: string;
|
|
2489
|
+
readonly runId: string;
|
|
2490
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
2491
|
+
readonly subject: string;
|
|
2492
|
+
readonly taskId: string;
|
|
2493
|
+
readonly updatedAt: string;
|
|
2494
|
+
readonly state: "cancelled";
|
|
2495
|
+
} | undefined;
|
|
2496
|
+
readonly run: {
|
|
2497
|
+
readonly coordinator: {
|
|
2498
|
+
readonly actorId: "actor_local_user";
|
|
2499
|
+
readonly epoch: 1;
|
|
2500
|
+
};
|
|
2501
|
+
readonly createdAt: string;
|
|
2502
|
+
readonly dispatchTaskId: string;
|
|
2503
|
+
readonly id: string;
|
|
2504
|
+
readonly revision: string;
|
|
2505
|
+
readonly rootTaskId: string;
|
|
2506
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
2507
|
+
readonly state: "active" | "failed" | "waiting-question";
|
|
2508
|
+
readonly terminalId: string;
|
|
2509
|
+
readonly updatedAt: string;
|
|
2510
|
+
readonly workspaceId: string;
|
|
2511
|
+
};
|
|
2512
|
+
readonly tasks: readonly {
|
|
2513
|
+
readonly clientKey: string;
|
|
2514
|
+
readonly createdAt: string;
|
|
2515
|
+
readonly dependencyTaskIds: readonly string[];
|
|
2516
|
+
readonly id: string;
|
|
2517
|
+
readonly revision: string;
|
|
2518
|
+
readonly runId: string;
|
|
2519
|
+
readonly schemaVersion: "maia.orchestration/v1";
|
|
2520
|
+
readonly state: "active" | "failed" | "pending" | "waiting-question";
|
|
2521
|
+
readonly updatedAt: string;
|
|
2522
|
+
readonly workspaceId: string;
|
|
2523
|
+
readonly objective: string;
|
|
2524
|
+
}[];
|
|
2525
|
+
};
|
|
2526
|
+
readonly delivery: {
|
|
2527
|
+
readonly attemptCount: number;
|
|
2528
|
+
readonly createdAt: string;
|
|
2529
|
+
readonly firstDeliveredAt?: string | undefined;
|
|
2530
|
+
readonly id: string;
|
|
2531
|
+
readonly lastDeliveredAt?: string | undefined;
|
|
2532
|
+
readonly mailboxId: string;
|
|
2533
|
+
readonly message: {
|
|
2534
|
+
readonly body: string;
|
|
2535
|
+
readonly createdAt: string;
|
|
2536
|
+
readonly digest: string;
|
|
2537
|
+
readonly id: string;
|
|
2538
|
+
readonly runId: string;
|
|
2539
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
2540
|
+
readonly sender: {
|
|
2541
|
+
readonly actorId: "actor_local_user";
|
|
2542
|
+
readonly kind: "run-coordinator";
|
|
2543
|
+
readonly runId: string;
|
|
2544
|
+
};
|
|
2545
|
+
readonly subject: string;
|
|
2546
|
+
readonly recipient: {
|
|
2547
|
+
readonly id: string;
|
|
2548
|
+
readonly kind: "dispatch";
|
|
2549
|
+
};
|
|
2550
|
+
readonly type: "dispatch";
|
|
2551
|
+
} | {
|
|
2552
|
+
readonly body: string;
|
|
2553
|
+
readonly createdAt: string;
|
|
2554
|
+
readonly digest: string;
|
|
2555
|
+
readonly id: string;
|
|
2556
|
+
readonly runId: string;
|
|
2557
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
2558
|
+
readonly sender: {
|
|
2559
|
+
readonly actorId: "actor_local_user";
|
|
2560
|
+
readonly kind: "run-coordinator";
|
|
2561
|
+
readonly runId: string;
|
|
2562
|
+
};
|
|
2563
|
+
readonly subject: string;
|
|
2564
|
+
readonly questionId: string;
|
|
2565
|
+
readonly recipient: {
|
|
2566
|
+
readonly id: string;
|
|
2567
|
+
readonly kind: "run";
|
|
2568
|
+
};
|
|
2569
|
+
readonly type: "question";
|
|
2570
|
+
} | {
|
|
2571
|
+
readonly body: string;
|
|
2572
|
+
readonly createdAt: string;
|
|
2573
|
+
readonly digest: string;
|
|
2574
|
+
readonly id: string;
|
|
2575
|
+
readonly runId: string;
|
|
2576
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
2577
|
+
readonly sender: {
|
|
2578
|
+
readonly actorId: "actor_local_user";
|
|
2579
|
+
readonly kind: "run-coordinator";
|
|
2580
|
+
readonly runId: string;
|
|
2581
|
+
};
|
|
2582
|
+
readonly subject: string;
|
|
2583
|
+
readonly questionId: string;
|
|
2584
|
+
readonly recipient: {
|
|
2585
|
+
readonly id: string;
|
|
2586
|
+
readonly kind: "dispatch";
|
|
2587
|
+
};
|
|
2588
|
+
readonly type: "reply";
|
|
2589
|
+
} | {
|
|
2590
|
+
readonly body: string;
|
|
2591
|
+
readonly createdAt: string;
|
|
2592
|
+
readonly digest: string;
|
|
2593
|
+
readonly id: string;
|
|
2594
|
+
readonly runId: string;
|
|
2595
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
2596
|
+
readonly sender: {
|
|
2597
|
+
readonly actorId: "actor_local_user";
|
|
2598
|
+
readonly kind: "run-coordinator";
|
|
2599
|
+
readonly runId: string;
|
|
2600
|
+
};
|
|
2601
|
+
readonly subject: string;
|
|
2602
|
+
readonly recipient: {
|
|
2603
|
+
readonly id: string;
|
|
2604
|
+
readonly kind: "run";
|
|
2605
|
+
};
|
|
2606
|
+
readonly type: "dispatch-settled";
|
|
2607
|
+
};
|
|
2608
|
+
readonly sequence: string;
|
|
2609
|
+
readonly state: "pending";
|
|
2610
|
+
} | {
|
|
2611
|
+
readonly attemptCount: number;
|
|
2612
|
+
readonly createdAt: string;
|
|
2613
|
+
readonly firstDeliveredAt?: string | undefined;
|
|
2614
|
+
readonly id: string;
|
|
2615
|
+
readonly lastDeliveredAt?: string | undefined;
|
|
2616
|
+
readonly mailboxId: string;
|
|
2617
|
+
readonly message: {
|
|
2618
|
+
readonly body: string;
|
|
2619
|
+
readonly createdAt: string;
|
|
2620
|
+
readonly digest: string;
|
|
2621
|
+
readonly id: string;
|
|
2622
|
+
readonly runId: string;
|
|
2623
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
2624
|
+
readonly sender: {
|
|
2625
|
+
readonly actorId: "actor_local_user";
|
|
2626
|
+
readonly kind: "run-coordinator";
|
|
2627
|
+
readonly runId: string;
|
|
2628
|
+
};
|
|
2629
|
+
readonly subject: string;
|
|
2630
|
+
readonly recipient: {
|
|
2631
|
+
readonly id: string;
|
|
2632
|
+
readonly kind: "dispatch";
|
|
2633
|
+
};
|
|
2634
|
+
readonly type: "dispatch";
|
|
2635
|
+
} | {
|
|
2636
|
+
readonly body: string;
|
|
2637
|
+
readonly createdAt: string;
|
|
2638
|
+
readonly digest: string;
|
|
2639
|
+
readonly id: string;
|
|
2640
|
+
readonly runId: string;
|
|
2641
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
2642
|
+
readonly sender: {
|
|
2643
|
+
readonly actorId: "actor_local_user";
|
|
2644
|
+
readonly kind: "run-coordinator";
|
|
2645
|
+
readonly runId: string;
|
|
2646
|
+
};
|
|
2647
|
+
readonly subject: string;
|
|
2648
|
+
readonly questionId: string;
|
|
2649
|
+
readonly recipient: {
|
|
2650
|
+
readonly id: string;
|
|
2651
|
+
readonly kind: "run";
|
|
2652
|
+
};
|
|
2653
|
+
readonly type: "question";
|
|
2654
|
+
} | {
|
|
2655
|
+
readonly body: string;
|
|
2656
|
+
readonly createdAt: string;
|
|
2657
|
+
readonly digest: string;
|
|
2658
|
+
readonly id: string;
|
|
2659
|
+
readonly runId: string;
|
|
2660
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
2661
|
+
readonly sender: {
|
|
2662
|
+
readonly actorId: "actor_local_user";
|
|
2663
|
+
readonly kind: "run-coordinator";
|
|
2664
|
+
readonly runId: string;
|
|
2665
|
+
};
|
|
2666
|
+
readonly subject: string;
|
|
2667
|
+
readonly questionId: string;
|
|
2668
|
+
readonly recipient: {
|
|
2669
|
+
readonly id: string;
|
|
2670
|
+
readonly kind: "dispatch";
|
|
2671
|
+
};
|
|
2672
|
+
readonly type: "reply";
|
|
2673
|
+
} | {
|
|
2674
|
+
readonly body: string;
|
|
2675
|
+
readonly createdAt: string;
|
|
2676
|
+
readonly digest: string;
|
|
2677
|
+
readonly id: string;
|
|
2678
|
+
readonly runId: string;
|
|
2679
|
+
readonly schemaVersion: "maia.orchestration-message/v1";
|
|
2680
|
+
readonly sender: {
|
|
2681
|
+
readonly actorId: "actor_local_user";
|
|
2682
|
+
readonly kind: "run-coordinator";
|
|
2683
|
+
readonly runId: string;
|
|
2684
|
+
};
|
|
2685
|
+
readonly subject: string;
|
|
2686
|
+
readonly recipient: {
|
|
2687
|
+
readonly id: string;
|
|
2688
|
+
readonly kind: "run";
|
|
2689
|
+
};
|
|
2690
|
+
readonly type: "dispatch-settled";
|
|
2691
|
+
};
|
|
2692
|
+
readonly sequence: string;
|
|
2693
|
+
readonly acknowledgedAt: string;
|
|
2694
|
+
readonly acknowledgingActorId: "actor_local_user";
|
|
2695
|
+
readonly state: "acknowledged";
|
|
2696
|
+
};
|
|
2697
|
+
readonly method: "run.dispatch.settle-terminal";
|
|
2698
|
+
readonly receipt: {
|
|
2699
|
+
readonly actorId: string;
|
|
2700
|
+
readonly aggregateRevision: string;
|
|
2701
|
+
readonly commandId: string;
|
|
2702
|
+
readonly createdAt: string;
|
|
2703
|
+
readonly eventCursor: string;
|
|
2704
|
+
readonly method: string;
|
|
2705
|
+
readonly receiptId: string;
|
|
2706
|
+
readonly schemaVersion: 1;
|
|
2707
|
+
readonly state: "succeeded";
|
|
2708
|
+
readonly target: {
|
|
2709
|
+
readonly id: string;
|
|
2710
|
+
readonly type: string;
|
|
2711
|
+
};
|
|
2712
|
+
readonly updatedAt: string;
|
|
2713
|
+
};
|
|
2714
|
+
}>;
|
|
2715
|
+
export type OrchestrationDispatchSettleTerminalResult = InferRuntimeSchema<typeof orchestrationDispatchSettleTerminalResultSchema>;
|
|
2716
|
+
export type OrchestrationResult = OrchestrationDispatchSettleTerminalResult | OrchestrationDispatchShowResult | OrchestrationInboxAckResult | OrchestrationInboxCheckResult | OrchestrationQuestionCancelResult | OrchestrationQuestionOpenResult | OrchestrationQuestionReplyResult | OrchestrationRunCreateResult | OrchestrationRunListResult | OrchestrationRunShowResult | OrchestrationTaskListResult | OrchestrationTaskShowResult;
|
|
2717
|
+
export * from "./policy.js";
|
|
2718
|
+
export * from "./version.js";
|
|
2719
|
+
//# sourceMappingURL=contract.d.ts.map
|