@maiaos/protocol 0.1.0-canary.8 → 0.1.0-canary.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +15 -6
- package/dist/agent/definition.d.ts +3 -3
- package/dist/agent/definition.d.ts.map +1 -1
- package/dist/agent/definition.js +1 -1
- package/dist/agent/definition.js.map +1 -1
- package/dist/agent/effect-schema.d.ts +2 -0
- package/dist/agent/effect-schema.d.ts.map +1 -1
- package/dist/agent/effect-schema.js +3 -0
- package/dist/agent/effect-schema.js.map +1 -1
- package/dist/agent/index.d.ts +1 -1
- package/dist/agent/index.d.ts.map +1 -1
- package/dist/agent/index.js +1 -1
- package/dist/agent/index.js.map +1 -1
- package/dist/agent/worker-operation.d.ts +42 -1
- package/dist/agent/worker-operation.d.ts.map +1 -1
- package/dist/agents/contract.d.ts +27 -0
- package/dist/agents/contract.d.ts.map +1 -1
- package/dist/agents/contract.js +4 -1
- package/dist/agents/contract.js.map +1 -1
- package/dist/agents/effect-schema.d.ts +53 -2
- package/dist/agents/effect-schema.d.ts.map +1 -1
- package/dist/agents/effect-schema.js +51 -10
- package/dist/agents/effect-schema.js.map +1 -1
- package/dist/agents/feature.d.ts +54 -4
- package/dist/agents/feature.d.ts.map +1 -1
- package/dist/agents/feature.js +52 -4
- package/dist/agents/feature.js.map +1 -1
- package/dist/agents/index.d.ts +1 -1
- package/dist/agents/index.d.ts.map +1 -1
- package/dist/agents/index.js +1 -1
- package/dist/agents/index.js.map +1 -1
- package/dist/approval/contract.d.ts +21 -5
- package/dist/approval/contract.d.ts.map +1 -1
- package/dist/approval/contract.js +2 -1
- package/dist/approval/contract.js.map +1 -1
- package/dist/approval/effect-schema.d.ts +1 -1
- package/dist/approval/effect-schema.d.ts.map +1 -1
- package/dist/approval/effect-schema.js +1 -1
- package/dist/approval/effect-schema.js.map +1 -1
- package/dist/approval/feature.d.ts +21 -2
- package/dist/approval/feature.d.ts.map +1 -1
- package/dist/approval/feature.js +21 -2
- package/dist/approval/feature.js.map +1 -1
- package/dist/approval/index.d.ts +1 -1
- package/dist/approval/index.d.ts.map +1 -1
- package/dist/approval/index.js +1 -1
- package/dist/approval/index.js.map +1 -1
- package/dist/approval/request-effect-schema.d.ts +40 -5
- package/dist/approval/request-effect-schema.d.ts.map +1 -1
- package/dist/approval/request-effect-schema.js +30 -7
- package/dist/approval/request-effect-schema.js.map +1 -1
- package/dist/approval/result-effect-schema.d.ts +14 -6
- package/dist/approval/result-effect-schema.d.ts.map +1 -1
- package/dist/board/contract.d.ts +1668 -0
- package/dist/board/contract.d.ts.map +1 -0
- package/dist/board/contract.js +108 -0
- package/dist/board/contract.js.map +1 -0
- package/dist/board/effect-schema.d.ts +6 -0
- package/dist/board/effect-schema.d.ts.map +1 -0
- package/dist/board/effect-schema.js +6 -0
- package/dist/board/effect-schema.js.map +1 -0
- package/dist/board/feature.d.ts +565 -0
- package/dist/board/feature.d.ts.map +1 -0
- package/dist/board/feature.js +535 -0
- package/dist/board/feature.js.map +1 -0
- package/dist/board/index.d.ts +3 -0
- package/dist/board/index.d.ts.map +1 -0
- package/dist/board/index.js +3 -0
- package/dist/board/index.js.map +1 -0
- package/dist/board/manage-effect-schema.d.ts +493 -0
- package/dist/board/manage-effect-schema.d.ts.map +1 -0
- package/dist/board/manage-effect-schema.js +73 -0
- package/dist/board/manage-effect-schema.js.map +1 -0
- package/dist/board/model-effect-schema.d.ts +111 -0
- package/dist/board/model-effect-schema.d.ts.map +1 -0
- package/dist/board/model-effect-schema.js +120 -0
- package/dist/board/model-effect-schema.js.map +1 -0
- package/dist/board/plan-effect-schema.d.ts +120 -0
- package/dist/board/plan-effect-schema.d.ts.map +1 -0
- package/dist/board/plan-effect-schema.js +108 -0
- package/dist/board/plan-effect-schema.js.map +1 -0
- package/dist/board/task-effect-schema.d.ts +1835 -0
- package/dist/board/task-effect-schema.d.ts.map +1 -0
- package/dist/board/task-effect-schema.js +275 -0
- package/dist/board/task-effect-schema.js.map +1 -0
- package/dist/board/thread-effect-schema.d.ts +633 -0
- package/dist/board/thread-effect-schema.d.ts.map +1 -0
- package/dist/board/thread-effect-schema.js +116 -0
- package/dist/board/thread-effect-schema.js.map +1 -0
- package/dist/command-receipt/contract.d.ts +3 -0
- package/dist/command-receipt/contract.d.ts.map +1 -1
- package/dist/command-receipt/effect-schema.d.ts +12 -0
- package/dist/command-receipt/effect-schema.d.ts.map +1 -1
- package/dist/command-receipt/effect-schema.js +7 -0
- package/dist/command-receipt/effect-schema.js.map +1 -1
- package/dist/command-receipt/feature.d.ts +10 -0
- package/dist/command-receipt/feature.d.ts.map +1 -1
- package/dist/command-receipt/feature.js +10 -0
- package/dist/command-receipt/feature.js.map +1 -1
- package/dist/connection/access-effect-schema.d.ts +4 -0
- package/dist/connection/access-effect-schema.d.ts.map +1 -1
- package/dist/connection/contract.d.ts +203 -2
- package/dist/connection/contract.d.ts.map +1 -1
- package/dist/connection/contract.js +7 -0
- package/dist/connection/contract.js.map +1 -1
- package/dist/connection/effect-schema.d.ts +194 -2
- package/dist/connection/effect-schema.d.ts.map +1 -1
- package/dist/connection/effect-schema.js +3 -0
- package/dist/connection/effect-schema.js.map +1 -1
- package/dist/connection/executors-effect-schema.d.ts +275 -0
- package/dist/connection/executors-effect-schema.d.ts.map +1 -0
- package/dist/connection/executors-effect-schema.js +80 -0
- package/dist/connection/executors-effect-schema.js.map +1 -0
- package/dist/connection/feature.d.ts +301 -10
- package/dist/connection/feature.d.ts.map +1 -1
- package/dist/connection/feature.js +381 -46
- package/dist/connection/feature.js.map +1 -1
- package/dist/connection/gateway-effect-schema.d.ts +7 -0
- package/dist/connection/gateway-effect-schema.d.ts.map +1 -1
- package/dist/connection/gateway-effect-schema.js +7 -0
- package/dist/connection/gateway-effect-schema.js.map +1 -1
- package/dist/connection/index.d.ts +1 -1
- package/dist/connection/index.d.ts.map +1 -1
- package/dist/connection/index.js +1 -1
- package/dist/connection/index.js.map +1 -1
- package/dist/connection/request-effect-schema.d.ts +23 -4
- package/dist/connection/request-effect-schema.d.ts.map +1 -1
- package/dist/connection/request-effect-schema.js +42 -14
- package/dist/connection/request-effect-schema.js.map +1 -1
- package/dist/connection/result-effect-schema.d.ts +98 -6
- package/dist/connection/result-effect-schema.d.ts.map +1 -1
- package/dist/connection/result-effect-schema.js +4 -3
- package/dist/connection/result-effect-schema.js.map +1 -1
- package/dist/connection/system-effect-schema.d.ts +16 -0
- package/dist/connection/system-effect-schema.d.ts.map +1 -1
- package/dist/connection/system-effect-schema.js +5 -5
- package/dist/connection/system-effect-schema.js.map +1 -1
- package/dist/container/contract.d.ts +2 -0
- package/dist/container/contract.d.ts.map +1 -1
- package/dist/container/effect-schema.d.ts +4 -0
- package/dist/container/effect-schema.d.ts.map +1 -1
- package/dist/container/portfolio-feature.d.ts +286 -0
- package/dist/container/portfolio-feature.d.ts.map +1 -1
- package/dist/container/portfolio-feature.js +131 -0
- package/dist/container/portfolio-feature.js.map +1 -1
- package/dist/coordinator-tool/index.d.ts +1 -1
- package/dist/coordinator-tool/index.d.ts.map +1 -1
- package/dist/coordinator-tool/index.js +1 -1
- package/dist/coordinator-tool/index.js.map +1 -1
- package/dist/coordinator-tool/input-schema.d.ts +0 -7
- package/dist/coordinator-tool/input-schema.d.ts.map +1 -1
- package/dist/coordinator-tool/input-schema.js +0 -38
- package/dist/coordinator-tool/input-schema.js.map +1 -1
- package/dist/coordinator-tool/registry.d.ts +21 -0
- package/dist/coordinator-tool/registry.d.ts.map +1 -1
- package/dist/coordinator-tool/registry.js +175 -4
- package/dist/coordinator-tool/registry.js.map +1 -1
- package/dist/discovery/contract.d.ts +140 -2
- package/dist/discovery/contract.d.ts.map +1 -1
- package/dist/discovery/contract.js +11 -1
- package/dist/discovery/contract.js.map +1 -1
- package/dist/discovery/effect-schema.d.ts +323 -6
- package/dist/discovery/effect-schema.d.ts.map +1 -1
- package/dist/discovery/effect-schema.js +157 -8
- package/dist/discovery/effect-schema.js.map +1 -1
- package/dist/discovery/feature.d.ts +82 -2
- package/dist/discovery/feature.d.ts.map +1 -1
- package/dist/discovery/feature.js +78 -2
- package/dist/discovery/feature.js.map +1 -1
- package/dist/discovery/index.d.ts +1 -1
- package/dist/discovery/index.d.ts.map +1 -1
- package/dist/discovery/index.js +1 -1
- package/dist/discovery/index.js.map +1 -1
- package/dist/envelope/effect-schema.d.ts +38 -17
- package/dist/envelope/effect-schema.d.ts.map +1 -1
- package/dist/envelope/effect-schema.js +30 -8
- package/dist/envelope/effect-schema.js.map +1 -1
- package/dist/envelope/envelope.d.ts +25 -3
- package/dist/envelope/envelope.d.ts.map +1 -1
- package/dist/envelope/envelope.js +37 -1
- package/dist/envelope/envelope.js.map +1 -1
- package/dist/envelope/index.d.ts +2 -2
- package/dist/envelope/index.d.ts.map +1 -1
- package/dist/envelope/index.js +2 -2
- package/dist/envelope/index.js.map +1 -1
- package/dist/envelope/policy.d.ts +11 -0
- package/dist/envelope/policy.d.ts.map +1 -1
- package/dist/envelope/policy.js +13 -0
- package/dist/envelope/policy.js.map +1 -1
- package/dist/event/contract.d.ts +47 -0
- package/dist/event/contract.d.ts.map +1 -1
- package/dist/event/contract.js +3 -0
- package/dist/event/contract.js.map +1 -1
- package/dist/event/effect-schema.d.ts +3 -1
- package/dist/event/effect-schema.d.ts.map +1 -1
- package/dist/event/effect-schema.js +3 -1
- package/dist/event/effect-schema.js.map +1 -1
- package/dist/event/envelope-effect-schema.d.ts +2 -0
- package/dist/event/envelope-effect-schema.d.ts.map +1 -1
- package/dist/event/envelope-effect-schema.js +2 -0
- package/dist/event/envelope-effect-schema.js.map +1 -1
- package/dist/event/feature.d.ts +35 -0
- package/dist/event/feature.d.ts.map +1 -0
- package/dist/event/feature.js +39 -0
- package/dist/event/feature.js.map +1 -0
- package/dist/event/format.d.ts +6 -0
- package/dist/event/format.d.ts.map +1 -1
- package/dist/event/format.js +6 -0
- package/dist/event/format.js.map +1 -1
- package/dist/event/index.d.ts +4 -1
- package/dist/event/index.d.ts.map +1 -1
- package/dist/event/index.js +4 -1
- package/dist/event/index.js.map +1 -1
- package/dist/event/lifecycle/effect-schema.d.ts +31 -0
- package/dist/event/lifecycle/effect-schema.d.ts.map +1 -0
- package/dist/event/lifecycle/effect-schema.js +36 -0
- package/dist/event/lifecycle/effect-schema.js.map +1 -0
- package/dist/event/lifecycle/index.d.ts +2 -0
- package/dist/event/lifecycle/index.d.ts.map +1 -0
- package/dist/event/lifecycle/index.js +2 -0
- package/dist/event/lifecycle/index.js.map +1 -0
- package/dist/event/lifecycle/schema.d.ts +20 -0
- package/dist/event/lifecycle/schema.d.ts.map +1 -0
- package/dist/event/lifecycle/schema.js +7 -0
- package/dist/event/lifecycle/schema.js.map +1 -0
- package/dist/event/read-effect-schema.d.ts +105 -0
- package/dist/event/read-effect-schema.d.ts.map +1 -0
- package/dist/event/read-effect-schema.js +64 -0
- package/dist/event/read-effect-schema.js.map +1 -0
- package/dist/event/registry.d.ts +5 -0
- package/dist/event/registry.d.ts.map +1 -1
- package/dist/event/registry.js +288 -8
- package/dist/event/registry.js.map +1 -1
- package/dist/event/session-activity-effect-schema.d.ts +36 -0
- package/dist/event/session-activity-effect-schema.d.ts.map +1 -0
- package/dist/event/session-activity-effect-schema.js +58 -0
- package/dist/event/session-activity-effect-schema.js.map +1 -0
- package/dist/event/session-activity.d.ts +30 -0
- package/dist/event/session-activity.d.ts.map +1 -0
- package/dist/event/session-activity.js +19 -0
- package/dist/event/session-activity.js.map +1 -0
- package/dist/event/update-effect-schema.d.ts +20 -0
- package/dist/event/update-effect-schema.d.ts.map +1 -0
- package/dist/event/update-effect-schema.js +29 -0
- package/dist/event/update-effect-schema.js.map +1 -0
- package/dist/event/update.d.ts +16 -0
- package/dist/event/update.d.ts.map +1 -0
- package/dist/event/update.js +6 -0
- package/dist/event/update.js.map +1 -0
- package/dist/event/waiting/effect-schema.d.ts +42 -0
- package/dist/event/waiting/effect-schema.d.ts.map +1 -0
- package/dist/event/waiting/effect-schema.js +51 -0
- package/dist/event/waiting/effect-schema.js.map +1 -0
- package/dist/event/waiting/index.d.ts +2 -0
- package/dist/event/waiting/index.d.ts.map +1 -0
- package/dist/event/waiting/index.js +2 -0
- package/dist/event/waiting/index.js.map +1 -0
- package/dist/event/waiting/schema.d.ts +23 -0
- package/dist/event/waiting/schema.d.ts.map +1 -0
- package/dist/event/waiting/schema.js +6 -0
- package/dist/event/waiting/schema.js.map +1 -0
- package/dist/event-stream/contract.d.ts +121 -0
- package/dist/event-stream/contract.d.ts.map +1 -0
- package/dist/event-stream/contract.js +5 -0
- package/dist/event-stream/contract.js.map +1 -0
- package/dist/event-stream/effect-schema.d.ts +118 -0
- package/dist/event-stream/effect-schema.d.ts.map +1 -0
- package/dist/event-stream/effect-schema.js +90 -0
- package/dist/event-stream/effect-schema.js.map +1 -0
- package/dist/event-stream/index.d.ts +2 -0
- package/dist/event-stream/index.d.ts.map +1 -0
- package/dist/event-stream/index.js +2 -0
- package/dist/event-stream/index.js.map +1 -0
- package/dist/execution/contract.d.ts +1 -0
- package/dist/execution/contract.d.ts.map +1 -1
- package/dist/execution/effect-schema.d.ts +6 -0
- package/dist/execution/effect-schema.d.ts.map +1 -1
- package/dist/execution/feature.d.ts +575 -0
- package/dist/execution/feature.d.ts.map +1 -0
- package/dist/execution/feature.js +543 -0
- package/dist/execution/feature.js.map +1 -0
- package/dist/execution/file-operation-contract.d.ts +1 -0
- package/dist/execution/file-operation-contract.d.ts.map +1 -1
- package/dist/execution/file-operation-effect-schema.d.ts +1 -0
- package/dist/execution/file-operation-effect-schema.d.ts.map +1 -1
- package/dist/execution/index.d.ts +1 -0
- package/dist/execution/index.d.ts.map +1 -1
- package/dist/execution/index.js +1 -0
- package/dist/execution/index.js.map +1 -1
- package/dist/execution/operation-contract.d.ts +1 -0
- package/dist/execution/operation-contract.d.ts.map +1 -1
- package/dist/execution/operation-effect-schema.d.ts +1 -0
- package/dist/execution/operation-effect-schema.d.ts.map +1 -1
- package/dist/execution/placement/contract.d.ts +4 -0
- package/dist/execution/placement/contract.d.ts.map +1 -1
- package/dist/execution/placement/effect-schema.d.ts +4 -0
- package/dist/execution/placement/effect-schema.d.ts.map +1 -1
- package/dist/execution/relocation/contract.d.ts +2 -0
- package/dist/execution/relocation/contract.d.ts.map +1 -1
- package/dist/execution/relocation/effect-schema.d.ts +4 -0
- package/dist/execution/relocation/effect-schema.d.ts.map +1 -1
- package/dist/execution/worktree/contract.d.ts +12 -0
- package/dist/execution/worktree/contract.d.ts.map +1 -1
- package/dist/execution/worktree/effect-schema.d.ts +20 -0
- package/dist/execution/worktree/effect-schema.d.ts.map +1 -1
- package/dist/execution/worktree/effect-schema.js +11 -0
- package/dist/execution/worktree/effect-schema.js.map +1 -1
- package/dist/executor/index.d.ts +2 -0
- package/dist/executor/index.d.ts.map +1 -0
- package/dist/executor/index.js +2 -0
- package/dist/executor/index.js.map +1 -0
- package/dist/executor/policy.d.ts +28 -0
- package/dist/executor/policy.d.ts.map +1 -0
- package/dist/executor/policy.js +49 -0
- package/dist/executor/policy.js.map +1 -0
- package/dist/feature/descriptor/descriptor.d.ts +42 -2
- package/dist/feature/descriptor/descriptor.d.ts.map +1 -1
- package/dist/feature/descriptor/descriptor.js.map +1 -1
- package/dist/feature/descriptor/index.d.ts +1 -1
- package/dist/feature/descriptor/index.d.ts.map +1 -1
- package/dist/feature/descriptor/index.js.map +1 -1
- package/dist/feature/index.d.ts +1 -1
- package/dist/feature/index.d.ts.map +1 -1
- package/dist/feature/index.js +1 -1
- package/dist/feature/index.js.map +1 -1
- package/dist/feature/node-status.d.ts +65 -1
- package/dist/feature/node-status.d.ts.map +1 -1
- package/dist/feature/node-status.js +59 -1
- package/dist/feature/node-status.js.map +1 -1
- package/dist/feature/registry.d.ts +59 -4
- package/dist/feature/registry.d.ts.map +1 -1
- package/dist/feature/registry.js +53 -0
- package/dist/feature/registry.js.map +1 -1
- package/dist/github/contract.d.ts +266 -0
- package/dist/github/contract.d.ts.map +1 -0
- package/dist/github/contract.js +30 -0
- package/dist/github/contract.js.map +1 -0
- package/dist/github/effect-schema.d.ts +488 -0
- package/dist/github/effect-schema.d.ts.map +1 -0
- package/dist/github/effect-schema.js +231 -0
- package/dist/github/effect-schema.js.map +1 -0
- package/dist/github/feature.d.ts +201 -0
- package/dist/github/feature.d.ts.map +1 -0
- package/dist/github/feature.js +195 -0
- package/dist/github/feature.js.map +1 -0
- package/dist/github/index.d.ts +3 -0
- package/dist/github/index.d.ts.map +1 -0
- package/dist/github/index.js +3 -0
- package/dist/github/index.js.map +1 -0
- package/dist/goal/contract.d.ts +449 -0
- package/dist/goal/contract.d.ts.map +1 -0
- package/dist/goal/contract.js +37 -0
- package/dist/goal/contract.js.map +1 -0
- package/dist/goal/effect-schema.d.ts +870 -0
- package/dist/goal/effect-schema.d.ts.map +1 -0
- package/dist/goal/effect-schema.js +349 -0
- package/dist/goal/effect-schema.js.map +1 -0
- package/dist/goal/feature.d.ts +256 -0
- package/dist/goal/feature.d.ts.map +1 -0
- package/dist/goal/feature.js +237 -0
- package/dist/goal/feature.js.map +1 -0
- package/dist/goal/index.d.ts +3 -0
- package/dist/goal/index.d.ts.map +1 -0
- package/dist/goal/index.js +3 -0
- package/dist/goal/index.js.map +1 -0
- package/dist/harness/installed/effect-schema.d.ts.map +1 -1
- package/dist/harness/installed/effect-schema.js +2 -1
- package/dist/harness/installed/effect-schema.js.map +1 -1
- package/dist/harness/installed/feature.d.ts +35 -0
- package/dist/harness/installed/feature.d.ts.map +1 -0
- package/dist/harness/installed/feature.js +39 -0
- package/dist/harness/installed/feature.js.map +1 -0
- package/dist/harness/installed/index.d.ts +1 -0
- package/dist/harness/installed/index.d.ts.map +1 -1
- package/dist/harness/installed/index.js +1 -0
- package/dist/harness/installed/index.js.map +1 -1
- package/dist/hold/contract.d.ts +2 -0
- package/dist/hold/contract.d.ts.map +1 -1
- package/dist/hold/effect-schema.d.ts +4 -0
- package/dist/hold/effect-schema.d.ts.map +1 -1
- package/dist/hold/feature.d.ts +155 -0
- package/dist/hold/feature.d.ts.map +1 -0
- package/dist/hold/feature.js +151 -0
- package/dist/hold/feature.js.map +1 -0
- package/dist/hold/index.d.ts +1 -0
- package/dist/hold/index.d.ts.map +1 -1
- package/dist/hold/index.js +1 -0
- package/dist/hold/index.js.map +1 -1
- package/dist/inbox/contract.d.ts +386 -0
- package/dist/inbox/contract.d.ts.map +1 -0
- package/dist/inbox/contract.js +20 -0
- package/dist/inbox/contract.js.map +1 -0
- package/dist/inbox/effect-schema.d.ts +750 -0
- package/dist/inbox/effect-schema.d.ts.map +1 -0
- package/dist/inbox/effect-schema.js +246 -0
- package/dist/inbox/effect-schema.js.map +1 -0
- package/dist/inbox/feature.d.ts +164 -0
- package/dist/inbox/feature.d.ts.map +1 -0
- package/dist/inbox/feature.js +160 -0
- package/dist/inbox/feature.js.map +1 -0
- package/dist/inbox/index.d.ts +3 -0
- package/dist/inbox/index.d.ts.map +1 -0
- package/dist/inbox/index.js +3 -0
- package/dist/inbox/index.js.map +1 -0
- package/dist/index.d.ts +28 -15
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +28 -15
- package/dist/index.js.map +1 -1
- package/dist/integration-authorization/claude-code-contract.d.ts +3 -0
- package/dist/integration-authorization/claude-code-contract.d.ts.map +1 -1
- package/dist/integration-authorization/contract.d.ts +141 -12
- package/dist/integration-authorization/contract.d.ts.map +1 -1
- package/dist/integration-authorization/contract.js +37 -1
- package/dist/integration-authorization/contract.js.map +1 -1
- package/dist/integration-authorization/effect-schema.d.ts +5961 -1583
- package/dist/integration-authorization/effect-schema.d.ts.map +1 -1
- package/dist/integration-authorization/effect-schema.js +157 -6
- package/dist/integration-authorization/effect-schema.js.map +1 -1
- package/dist/integration-authorization/feature.d.ts +845 -0
- package/dist/integration-authorization/feature.d.ts.map +1 -0
- package/dist/integration-authorization/feature.js +795 -0
- package/dist/integration-authorization/feature.js.map +1 -0
- package/dist/integration-authorization/index.d.ts +5 -0
- package/dist/integration-authorization/index.d.ts.map +1 -1
- package/dist/integration-authorization/index.js +5 -0
- package/dist/integration-authorization/index.js.map +1 -1
- package/dist/integration-authorization/pi-rpc-contract.d.ts +3 -0
- package/dist/integration-authorization/pi-rpc-contract.d.ts.map +1 -1
- package/dist/integration-authorization/policy.d.ts +6 -1
- package/dist/integration-authorization/policy.d.ts.map +1 -1
- package/dist/integration-authorization/policy.js +6 -1
- package/dist/integration-authorization/policy.js.map +1 -1
- package/dist/interaction/effect-schema.d.ts +1 -1
- package/dist/interaction/effect-schema.d.ts.map +1 -1
- package/dist/interaction/effect-schema.js +1 -1
- package/dist/interaction/effect-schema.js.map +1 -1
- package/dist/interaction/feature.d.ts +50 -0
- package/dist/interaction/feature.d.ts.map +1 -1
- package/dist/interaction/feature.js +48 -0
- package/dist/interaction/feature.js.map +1 -1
- package/dist/interaction/result-contract.d.ts +3 -0
- package/dist/interaction/result-contract.d.ts.map +1 -1
- package/dist/interaction/result-effect-schema.d.ts +6 -0
- package/dist/interaction/result-effect-schema.d.ts.map +1 -1
- package/dist/invocation-context/contract.d.ts +2 -1
- package/dist/invocation-context/contract.d.ts.map +1 -1
- package/dist/invocation-context/effect-schema.d.ts +12 -2
- package/dist/invocation-context/effect-schema.d.ts.map +1 -1
- package/dist/invocation-context/effect-schema.js +24 -3
- package/dist/invocation-context/effect-schema.js.map +1 -1
- package/dist/invocation-context/feature.d.ts +35 -0
- package/dist/invocation-context/feature.d.ts.map +1 -0
- package/dist/invocation-context/feature.js +39 -0
- package/dist/invocation-context/feature.js.map +1 -0
- package/dist/invocation-context/index.d.ts +1 -0
- package/dist/invocation-context/index.d.ts.map +1 -1
- package/dist/invocation-context/index.js +1 -0
- package/dist/invocation-context/index.js.map +1 -1
- package/dist/invocation-context/policy.d.ts +6 -1
- package/dist/invocation-context/policy.d.ts.map +1 -1
- package/dist/invocation-context/policy.js +7 -1
- package/dist/invocation-context/policy.js.map +1 -1
- package/dist/local-node/contract.d.ts +57 -18
- package/dist/local-node/contract.d.ts.map +1 -1
- package/dist/local-node/contract.js +3 -1
- package/dist/local-node/contract.js.map +1 -1
- package/dist/local-node/effect-schema.d.ts +3916 -1276
- package/dist/local-node/effect-schema.d.ts.map +1 -1
- package/dist/local-node/effect-schema.js +122 -10
- package/dist/local-node/effect-schema.js.map +1 -1
- package/dist/local-node/index.d.ts +2 -2
- package/dist/local-node/index.d.ts.map +1 -1
- package/dist/local-node/index.js +2 -2
- package/dist/local-node/index.js.map +1 -1
- package/dist/local-node/node-api/index.d.ts +2 -2
- package/dist/local-node/node-api/index.d.ts.map +1 -1
- package/dist/local-node/node-api/index.js +2 -2
- package/dist/local-node/node-api/index.js.map +1 -1
- package/dist/local-node/node-api/methods.d.ts +11 -215
- package/dist/local-node/node-api/methods.d.ts.map +1 -1
- package/dist/local-node/node-api/methods.js +148 -215
- package/dist/local-node/node-api/methods.js.map +1 -1
- package/dist/local-node/node-api/policy.d.ts +33 -0
- package/dist/local-node/node-api/policy.d.ts.map +1 -1
- package/dist/local-node/node-api/policy.js +33 -0
- package/dist/local-node/node-api/policy.js.map +1 -1
- package/dist/local-node/receipt-list.d.ts +6 -7
- package/dist/local-node/receipt-list.d.ts.map +1 -1
- package/dist/local-node/receipt-list.js +64 -7
- package/dist/local-node/receipt-list.js.map +1 -1
- package/dist/node-update/contract.d.ts +198 -0
- package/dist/node-update/contract.d.ts.map +1 -0
- package/dist/node-update/contract.js +22 -0
- package/dist/node-update/contract.js.map +1 -0
- package/dist/node-update/effect-schema.d.ts +435 -0
- package/dist/node-update/effect-schema.d.ts.map +1 -0
- package/dist/node-update/effect-schema.js +307 -0
- package/dist/node-update/effect-schema.js.map +1 -0
- package/dist/node-update/feature.d.ts +379 -0
- package/dist/node-update/feature.d.ts.map +1 -0
- package/dist/node-update/feature.js +363 -0
- package/dist/node-update/feature.js.map +1 -0
- package/dist/node-update/index.d.ts +3 -0
- package/dist/node-update/index.d.ts.map +1 -0
- package/dist/node-update/index.js +3 -0
- package/dist/node-update/index.js.map +1 -0
- package/dist/orchestration/contract.d.ts +6 -0
- package/dist/orchestration/contract.d.ts.map +1 -1
- package/dist/orchestration/effect-schema.d.ts +14 -2
- package/dist/orchestration/effect-schema.d.ts.map +1 -1
- package/dist/orchestration/effect-schema.js +2 -2
- package/dist/orchestration/effect-schema.js.map +1 -1
- package/dist/orchestration/feature.d.ts +235 -0
- package/dist/orchestration/feature.d.ts.map +1 -1
- package/dist/orchestration/feature.js +227 -0
- package/dist/orchestration/feature.js.map +1 -1
- package/dist/orchestration/topology.d.ts +11 -1
- package/dist/orchestration/topology.d.ts.map +1 -1
- package/dist/orchestration/topology.js +38 -29
- package/dist/orchestration/topology.js.map +1 -1
- package/dist/pairing/contract.d.ts +86 -0
- package/dist/pairing/contract.d.ts.map +1 -0
- package/dist/pairing/contract.js +12 -0
- package/dist/pairing/contract.js.map +1 -0
- package/dist/pairing/effect-schema.d.ts +166 -0
- package/dist/pairing/effect-schema.d.ts.map +1 -0
- package/dist/pairing/effect-schema.js +94 -0
- package/dist/pairing/effect-schema.js.map +1 -0
- package/dist/pairing/feature.d.ts +141 -0
- package/dist/pairing/feature.d.ts.map +1 -0
- package/dist/pairing/feature.js +139 -0
- package/dist/pairing/feature.js.map +1 -0
- package/dist/pairing/index.d.ts +3 -0
- package/dist/pairing/index.d.ts.map +1 -0
- package/dist/pairing/index.js +3 -0
- package/dist/pairing/index.js.map +1 -0
- package/dist/port-lease/contract.d.ts +3 -0
- package/dist/port-lease/contract.d.ts.map +1 -1
- package/dist/port-lease/feature.d.ts +21 -0
- package/dist/port-lease/feature.d.ts.map +1 -1
- package/dist/port-lease/feature.js +21 -0
- package/dist/port-lease/feature.js.map +1 -1
- package/dist/port-lease/result-effect-schema.d.ts +6 -0
- package/dist/port-lease/result-effect-schema.d.ts.map +1 -1
- package/dist/presentation/contract.d.ts +41 -2
- package/dist/presentation/contract.d.ts.map +1 -1
- package/dist/presentation/effect-schema.d.ts +37 -2
- package/dist/presentation/effect-schema.d.ts.map +1 -1
- package/dist/presentation/feature.d.ts +20 -0
- package/dist/presentation/feature.d.ts.map +1 -1
- package/dist/presentation/feature.js +20 -0
- package/dist/presentation/feature.js.map +1 -1
- package/dist/presentation/session-list-effect-schema.d.ts +37 -2
- package/dist/presentation/session-list-effect-schema.d.ts.map +1 -1
- package/dist/principal/contract.d.ts +104 -0
- package/dist/principal/contract.d.ts.map +1 -0
- package/dist/principal/contract.js +18 -0
- package/dist/principal/contract.js.map +1 -0
- package/dist/principal/effect-schema.d.ts +166 -0
- package/dist/principal/effect-schema.d.ts.map +1 -0
- package/dist/principal/effect-schema.js +93 -0
- package/dist/principal/effect-schema.js.map +1 -0
- package/dist/principal/feature.d.ts +111 -0
- package/dist/principal/feature.d.ts.map +1 -0
- package/dist/principal/feature.js +111 -0
- package/dist/principal/feature.js.map +1 -0
- package/dist/principal/index.d.ts +3 -0
- package/dist/principal/index.d.ts.map +1 -0
- package/dist/principal/index.js +3 -0
- package/dist/principal/index.js.map +1 -0
- package/dist/project-workspace/contract.d.ts +351 -2
- package/dist/project-workspace/contract.d.ts.map +1 -1
- package/dist/project-workspace/contract.js +34 -2
- package/dist/project-workspace/contract.js.map +1 -1
- package/dist/project-workspace/effect-schema.d.ts +403 -0
- package/dist/project-workspace/effect-schema.d.ts.map +1 -1
- package/dist/project-workspace/effect-schema.js +105 -1
- package/dist/project-workspace/effect-schema.js.map +1 -1
- package/dist/project-workspace/feature.d.ts +659 -1
- package/dist/project-workspace/feature.d.ts.map +1 -1
- package/dist/project-workspace/feature.js +625 -1
- package/dist/project-workspace/feature.js.map +1 -1
- package/dist/project-workspace/git-effect-schema.d.ts +93 -0
- package/dist/project-workspace/git-effect-schema.d.ts.map +1 -0
- package/dist/project-workspace/git-effect-schema.js +81 -0
- package/dist/project-workspace/git-effect-schema.js.map +1 -0
- package/dist/project-workspace/index.d.ts +2 -2
- package/dist/project-workspace/index.d.ts.map +1 -1
- package/dist/project-workspace/index.js +2 -2
- package/dist/project-workspace/index.js.map +1 -1
- package/dist/project-workspace/knowledge-effect-schema.d.ts +413 -0
- package/dist/project-workspace/knowledge-effect-schema.d.ts.map +1 -0
- package/dist/project-workspace/knowledge-effect-schema.js +232 -0
- package/dist/project-workspace/knowledge-effect-schema.js.map +1 -0
- package/dist/project-workspace/policy.d.ts +40 -0
- package/dist/project-workspace/policy.d.ts.map +1 -1
- package/dist/project-workspace/policy.js +39 -0
- package/dist/project-workspace/policy.js.map +1 -1
- package/dist/provider/feature.d.ts +35 -0
- package/dist/provider/feature.d.ts.map +1 -0
- package/dist/provider/feature.js +39 -0
- package/dist/provider/feature.js.map +1 -0
- package/dist/provider/index.d.ts +1 -0
- package/dist/provider/index.d.ts.map +1 -1
- package/dist/provider/index.js +1 -0
- package/dist/provider/index.js.map +1 -1
- package/dist/reach/address.d.ts +18 -0
- package/dist/reach/address.d.ts.map +1 -0
- package/dist/reach/address.js +42 -0
- package/dist/reach/address.js.map +1 -0
- package/dist/reach/contract.d.ts +68 -0
- package/dist/reach/contract.d.ts.map +1 -0
- package/dist/reach/contract.js +8 -0
- package/dist/reach/contract.js.map +1 -0
- package/dist/reach/effect-schema.d.ts +133 -0
- package/dist/reach/effect-schema.d.ts.map +1 -0
- package/dist/reach/effect-schema.js +68 -0
- package/dist/reach/effect-schema.js.map +1 -0
- package/dist/reach/feature.d.ts +106 -0
- package/dist/reach/feature.d.ts.map +1 -0
- package/dist/reach/feature.js +106 -0
- package/dist/reach/feature.js.map +1 -0
- package/dist/reach/index.d.ts +4 -0
- package/dist/reach/index.d.ts.map +1 -0
- package/dist/reach/index.js +4 -0
- package/dist/reach/index.js.map +1 -0
- package/dist/reference/feature.d.ts +5 -0
- package/dist/reference/feature.d.ts.map +1 -1
- package/dist/reference/feature.js +5 -0
- package/dist/reference/feature.js.map +1 -1
- package/dist/release/version.d.ts +2 -2
- package/dist/release/version.d.ts.map +1 -1
- package/dist/release/version.js +2 -2
- package/dist/release/version.js.map +1 -1
- package/dist/remote-node/bridge-effect-schema.js +2 -2
- package/dist/remote-node/contract.d.ts +103 -2
- package/dist/remote-node/contract.d.ts.map +1 -1
- package/dist/remote-node/effect-schema.d.ts +1 -1
- package/dist/remote-node/effect-schema.d.ts.map +1 -1
- package/dist/remote-node/effect-schema.js +1 -1
- package/dist/remote-node/effect-schema.js.map +1 -1
- package/dist/remote-node/feature.d.ts +185 -0
- package/dist/remote-node/feature.d.ts.map +1 -1
- package/dist/remote-node/feature.js +173 -0
- package/dist/remote-node/feature.js.map +1 -1
- package/dist/remote-node/request-effect-schema.d.ts +4 -4
- package/dist/remote-node/request-effect-schema.d.ts.map +1 -1
- package/dist/remote-node/request-effect-schema.js +2 -1
- package/dist/remote-node/request-effect-schema.js.map +1 -1
- package/dist/remote-node/result-effect-schema.d.ts +194 -1
- package/dist/remote-node/result-effect-schema.d.ts.map +1 -1
- package/dist/remote-node/result-effect-schema.js +13 -2
- package/dist/remote-node/result-effect-schema.js.map +1 -1
- package/dist/routine/contract.d.ts +644 -18
- package/dist/routine/contract.d.ts.map +1 -1
- package/dist/routine/contract.js +28 -2
- package/dist/routine/contract.js.map +1 -1
- package/dist/routine/effect-schema.d.ts +1489 -218
- package/dist/routine/effect-schema.d.ts.map +1 -1
- package/dist/routine/effect-schema.js +358 -20
- package/dist/routine/effect-schema.js.map +1 -1
- package/dist/routine/feature.d.ts +336 -11
- package/dist/routine/feature.d.ts.map +1 -1
- package/dist/routine/feature.js +318 -11
- package/dist/routine/feature.js.map +1 -1
- package/dist/routine/index.d.ts +1 -1
- package/dist/routine/index.d.ts.map +1 -1
- package/dist/routine/index.js +1 -1
- package/dist/routine/index.js.map +1 -1
- package/dist/routine/policy.d.ts +55 -3
- package/dist/routine/policy.d.ts.map +1 -1
- package/dist/routine/policy.js +46 -1
- package/dist/routine/policy.js.map +1 -1
- package/dist/run-ledger/contract.d.ts +47 -0
- package/dist/run-ledger/contract.d.ts.map +1 -1
- package/dist/run-ledger/feature.d.ts +32 -0
- package/dist/run-ledger/feature.d.ts.map +1 -1
- package/dist/run-ledger/feature.js +32 -0
- package/dist/run-ledger/feature.js.map +1 -1
- package/dist/run-ledger/result-effect-schema.d.ts +94 -0
- package/dist/run-ledger/result-effect-schema.d.ts.map +1 -1
- package/dist/runtime/effect-schema.d.ts.map +1 -1
- package/dist/runtime/effect-schema.js +2 -1
- package/dist/runtime/effect-schema.js.map +1 -1
- package/dist/runtime/feature.d.ts +35 -0
- package/dist/runtime/feature.d.ts.map +1 -0
- package/dist/runtime/feature.js +39 -0
- package/dist/runtime/feature.js.map +1 -0
- package/dist/runtime/index.d.ts +1 -0
- package/dist/runtime/index.d.ts.map +1 -1
- package/dist/runtime/index.js +1 -0
- package/dist/runtime/index.js.map +1 -1
- package/dist/runtime-schema/effect-json-schema.d.ts +9 -0
- package/dist/runtime-schema/effect-json-schema.d.ts.map +1 -0
- package/dist/runtime-schema/effect-json-schema.js +41 -0
- package/dist/runtime-schema/effect-json-schema.js.map +1 -0
- package/dist/runtime-schema/effect-schema.d.ts +1 -0
- package/dist/runtime-schema/effect-schema.d.ts.map +1 -1
- package/dist/runtime-schema/effect-schema.js +1 -0
- package/dist/runtime-schema/effect-schema.js.map +1 -1
- package/dist/secret/contract.d.ts +107 -0
- package/dist/secret/contract.d.ts.map +1 -0
- package/dist/secret/contract.js +34 -0
- package/dist/secret/contract.js.map +1 -0
- package/dist/secret/effect-schema.d.ts +185 -0
- package/dist/secret/effect-schema.d.ts.map +1 -0
- package/dist/secret/effect-schema.js +113 -0
- package/dist/secret/effect-schema.js.map +1 -0
- package/dist/secret/feature.d.ts +103 -0
- package/dist/secret/feature.d.ts.map +1 -0
- package/dist/secret/feature.js +103 -0
- package/dist/secret/feature.js.map +1 -0
- package/dist/secret/index.d.ts +3 -0
- package/dist/secret/index.d.ts.map +1 -0
- package/dist/secret/index.js +3 -0
- package/dist/secret/index.js.map +1 -0
- package/dist/session/agent-permission-contract.d.ts +6 -5
- package/dist/session/agent-permission-contract.d.ts.map +1 -1
- package/dist/session/agent-permission-effect-schema.d.ts +11 -9
- package/dist/session/agent-permission-effect-schema.d.ts.map +1 -1
- package/dist/session/agent-permission-effect-schema.js +2 -2
- package/dist/session/agent-permission-effect-schema.js.map +1 -1
- package/dist/session/contract.d.ts +967 -82
- package/dist/session/contract.d.ts.map +1 -1
- package/dist/session/contract.js +33 -4
- package/dist/session/contract.js.map +1 -1
- package/dist/session/effect-schema.d.ts +2825 -151
- package/dist/session/effect-schema.d.ts.map +1 -1
- package/dist/session/effect-schema.js +580 -51
- package/dist/session/effect-schema.js.map +1 -1
- package/dist/session/feature.d.ts +779 -24
- package/dist/session/feature.d.ts.map +1 -1
- package/dist/session/feature.js +712 -3
- package/dist/session/feature.js.map +1 -1
- package/dist/session/index.d.ts +5 -3
- package/dist/session/index.d.ts.map +1 -1
- package/dist/session/index.js +5 -3
- package/dist/session/index.js.map +1 -1
- package/dist/session/observation-contract.d.ts +2 -2
- package/dist/session/observation-effect-schema.d.ts +7 -2
- package/dist/session/observation-effect-schema.d.ts.map +1 -1
- package/dist/session/observation-effect-schema.js +6 -1
- package/dist/session/observation-effect-schema.js.map +1 -1
- package/dist/session/placement/contract.d.ts +35 -0
- package/dist/session/placement/contract.d.ts.map +1 -0
- package/dist/session/placement/contract.js +5 -0
- package/dist/session/placement/contract.js.map +1 -0
- package/dist/session/placement/effect-schema.d.ts +55 -0
- package/dist/session/placement/effect-schema.d.ts.map +1 -0
- package/dist/session/placement/effect-schema.js +76 -0
- package/dist/session/placement/effect-schema.js.map +1 -0
- package/dist/session/placement/index.d.ts +2 -0
- package/dist/session/placement/index.d.ts.map +1 -0
- package/dist/session/placement/index.js +2 -0
- package/dist/session/placement/index.js.map +1 -0
- package/dist/session/policy.d.ts +150 -0
- package/dist/session/policy.d.ts.map +1 -1
- package/dist/session/policy.js +178 -2
- package/dist/session/policy.js.map +1 -1
- package/dist/session/stop-resume-contract.d.ts +127 -2
- package/dist/session/stop-resume-contract.d.ts.map +1 -1
- package/dist/session/stop-resume-contract.js +5 -1
- package/dist/session/stop-resume-contract.js.map +1 -1
- package/dist/session/worktree-effect-schema.d.ts +55 -1
- package/dist/session/worktree-effect-schema.d.ts.map +1 -1
- package/dist/session/worktree-effect-schema.js +79 -3
- package/dist/session/worktree-effect-schema.js.map +1 -1
- package/dist/session-command/contract.d.ts +442 -0
- package/dist/session-command/contract.d.ts.map +1 -0
- package/dist/session-command/contract.js +12 -0
- package/dist/session-command/contract.js.map +1 -0
- package/dist/session-command/effect-schema.d.ts +875 -0
- package/dist/session-command/effect-schema.d.ts.map +1 -0
- package/dist/session-command/effect-schema.js +125 -0
- package/dist/session-command/effect-schema.js.map +1 -0
- package/dist/session-command/feature.d.ts +141 -0
- package/dist/session-command/feature.d.ts.map +1 -0
- package/dist/session-command/feature.js +137 -0
- package/dist/session-command/feature.js.map +1 -0
- package/dist/session-command/index.d.ts +4 -0
- package/dist/session-command/index.d.ts.map +1 -0
- package/dist/session-command/index.js +4 -0
- package/dist/session-command/index.js.map +1 -0
- package/dist/session-command/policy.d.ts +33 -0
- package/dist/session-command/policy.d.ts.map +1 -0
- package/dist/session-command/policy.js +60 -0
- package/dist/session-command/policy.js.map +1 -0
- package/dist/session-guard/contract.d.ts +35 -4
- package/dist/session-guard/contract.d.ts.map +1 -1
- package/dist/session-guard/contract.js +34 -5
- package/dist/session-guard/contract.js.map +1 -1
- package/dist/session-guard/feature.d.ts +66 -1
- package/dist/session-guard/feature.d.ts.map +1 -1
- package/dist/session-guard/feature.js +62 -1
- package/dist/session-guard/feature.js.map +1 -1
- package/dist/session-guard/index.d.ts +1 -1
- package/dist/session-guard/index.d.ts.map +1 -1
- package/dist/session-guard/index.js +1 -1
- package/dist/session-guard/index.js.map +1 -1
- package/dist/session-guard/request-effect-schema.d.ts +33 -0
- package/dist/session-guard/request-effect-schema.d.ts.map +1 -1
- package/dist/session-guard/request-effect-schema.js +22 -0
- package/dist/session-guard/request-effect-schema.js.map +1 -1
- package/dist/session-guard/result-effect-schema.d.ts +28 -0
- package/dist/session-guard/result-effect-schema.d.ts.map +1 -1
- package/dist/session-guard/result-effect-schema.js +3 -1
- package/dist/session-guard/result-effect-schema.js.map +1 -1
- package/dist/session-stream/contract.d.ts +2 -1
- package/dist/session-stream/contract.d.ts.map +1 -1
- package/dist/session-stream/effect-schema.d.ts +9 -8
- package/dist/session-stream/effect-schema.d.ts.map +1 -1
- package/dist/skills-sync/contract.d.ts +142 -0
- package/dist/skills-sync/contract.d.ts.map +1 -0
- package/dist/skills-sync/contract.js +13 -0
- package/dist/skills-sync/contract.js.map +1 -0
- package/dist/skills-sync/effect-schema.d.ts +312 -0
- package/dist/skills-sync/effect-schema.d.ts.map +1 -0
- package/dist/skills-sync/effect-schema.js +160 -0
- package/dist/skills-sync/effect-schema.js.map +1 -0
- package/dist/skills-sync/feature.d.ts +102 -0
- package/dist/skills-sync/feature.d.ts.map +1 -0
- package/dist/skills-sync/feature.js +102 -0
- package/dist/skills-sync/feature.js.map +1 -0
- package/dist/skills-sync/index.d.ts +3 -0
- package/dist/skills-sync/index.d.ts.map +1 -0
- package/dist/skills-sync/index.js +3 -0
- package/dist/skills-sync/index.js.map +1 -0
- package/dist/team-workspace/contract.d.ts +1 -0
- package/dist/team-workspace/contract.d.ts.map +1 -1
- package/dist/team-workspace/effect-schema.d.ts +2 -0
- package/dist/team-workspace/effect-schema.d.ts.map +1 -1
- package/dist/team-workspace/feature.d.ts +10 -0
- package/dist/team-workspace/feature.d.ts.map +1 -1
- package/dist/team-workspace/feature.js +10 -0
- package/dist/team-workspace/feature.js.map +1 -1
- package/dist/terminal/contract.d.ts +2 -0
- package/dist/terminal/contract.d.ts.map +1 -1
- package/dist/terminal/effect-schema.d.ts +6 -0
- package/dist/terminal/effect-schema.d.ts.map +1 -1
- package/dist/terminal/effect-schema.js +2 -0
- package/dist/terminal/effect-schema.js.map +1 -1
- package/dist/terminal/feature.d.ts +281 -0
- package/dist/terminal/feature.d.ts.map +1 -1
- package/dist/terminal/feature.js +289 -0
- package/dist/terminal/feature.js.map +1 -1
- package/dist/turn/contract.d.ts +633 -4
- package/dist/turn/contract.d.ts.map +1 -1
- package/dist/turn/contract.js +18 -4
- package/dist/turn/contract.js.map +1 -1
- package/dist/turn/effect-schema.d.ts +1507 -161
- package/dist/turn/effect-schema.d.ts.map +1 -1
- package/dist/turn/effect-schema.js +123 -10
- package/dist/turn/effect-schema.js.map +1 -1
- package/dist/turn/index.d.ts +2 -2
- package/dist/turn/index.d.ts.map +1 -1
- package/dist/turn/index.js +2 -2
- package/dist/turn/index.js.map +1 -1
- package/dist/turn/policy.d.ts +54 -0
- package/dist/turn/policy.d.ts.map +1 -1
- package/dist/turn/policy.js +74 -0
- package/dist/turn/policy.js.map +1 -1
- package/dist/voice/contract.d.ts +6 -6
- package/dist/voice/effect-schema.d.ts +10 -9
- package/dist/voice/effect-schema.d.ts.map +1 -1
- package/dist/voice/effect-schema.js +3 -1
- package/dist/voice/effect-schema.js.map +1 -1
- package/dist/voice/feature.d.ts +70 -2
- package/dist/voice/feature.d.ts.map +1 -1
- package/dist/voice/feature.js +32 -0
- package/dist/voice/feature.js.map +1 -1
- package/dist/voice/orchestrator-system-prompt.d.ts +2 -2
- package/dist/voice/orchestrator-system-prompt.js +2 -2
- package/dist/voice/relay-contract.d.ts +1 -0
- package/dist/voice/relay-contract.d.ts.map +1 -1
- package/dist/voice/relay-effect-schema.d.ts +2 -0
- package/dist/voice/relay-effect-schema.d.ts.map +1 -1
- package/dist/webhooks/contract.d.ts +358 -0
- package/dist/webhooks/contract.d.ts.map +1 -0
- package/dist/webhooks/contract.js +26 -0
- package/dist/webhooks/contract.js.map +1 -0
- package/dist/webhooks/effect-schema.d.ts +550 -0
- package/dist/webhooks/effect-schema.d.ts.map +1 -0
- package/dist/webhooks/effect-schema.js +197 -0
- package/dist/webhooks/effect-schema.js.map +1 -0
- package/dist/webhooks/feature.d.ts +125 -0
- package/dist/webhooks/feature.d.ts.map +1 -0
- package/dist/webhooks/feature.js +123 -0
- package/dist/webhooks/feature.js.map +1 -0
- package/dist/webhooks/hook-effect-schema.d.ts +69 -0
- package/dist/webhooks/hook-effect-schema.d.ts.map +1 -0
- package/dist/webhooks/hook-effect-schema.js +107 -0
- package/dist/webhooks/hook-effect-schema.js.map +1 -0
- package/dist/webhooks/index.d.ts +4 -0
- package/dist/webhooks/index.d.ts.map +1 -0
- package/dist/webhooks/index.js +4 -0
- package/dist/webhooks/index.js.map +1 -0
- package/dist/webhooks/policy.d.ts +16 -0
- package/dist/webhooks/policy.d.ts.map +1 -0
- package/dist/webhooks/policy.js +16 -0
- package/dist/webhooks/policy.js.map +1 -0
- package/package.json +9 -3
- package/dist/configuration/configuration.d.ts +0 -63
- package/dist/configuration/configuration.d.ts.map +0 -1
- package/dist/configuration/configuration.js +0 -93
- package/dist/configuration/configuration.js.map +0 -1
- package/dist/configuration/index.d.ts +0 -2
- package/dist/configuration/index.d.ts.map +0 -1
- package/dist/configuration/index.js +0 -2
- package/dist/configuration/index.js.map +0 -1
|
@@ -5,16 +5,30 @@ export declare const routineSchema: import("../runtime-schema/runtime-schema.js"
|
|
|
5
5
|
readonly id: string;
|
|
6
6
|
readonly name: string;
|
|
7
7
|
readonly nextFireAt?: string | undefined;
|
|
8
|
+
readonly precheck?: {
|
|
9
|
+
readonly command: readonly string[];
|
|
10
|
+
readonly timeoutSeconds: number;
|
|
11
|
+
readonly digest: string;
|
|
12
|
+
} | undefined;
|
|
8
13
|
readonly revision: string;
|
|
9
14
|
readonly schedule: {
|
|
10
15
|
readonly expression: string;
|
|
11
16
|
readonly timezone: string;
|
|
17
|
+
} | {
|
|
18
|
+
readonly event: string;
|
|
19
|
+
} | {
|
|
20
|
+
readonly at: string;
|
|
21
|
+
} | {
|
|
22
|
+
readonly everyMinutes: number;
|
|
23
|
+
readonly startsAt: string;
|
|
12
24
|
};
|
|
13
25
|
readonly schemaVersion: "maia.routine/v1";
|
|
14
26
|
readonly state: "active" | "disabled" | "paused";
|
|
15
27
|
readonly template: {
|
|
28
|
+
readonly agentId?: string | undefined;
|
|
16
29
|
readonly connectionId?: string | undefined;
|
|
17
|
-
readonly executor?:
|
|
30
|
+
readonly executor?: string | undefined;
|
|
31
|
+
readonly mode?: "continue" | "new" | undefined;
|
|
18
32
|
readonly model?: string | undefined;
|
|
19
33
|
readonly projectId: string;
|
|
20
34
|
readonly prompt: string;
|
|
@@ -23,6 +37,7 @@ export declare const routineSchema: import("../runtime-schema/runtime-schema.js"
|
|
|
23
37
|
}>;
|
|
24
38
|
export type Routine = InferRuntimeSchema<typeof routineSchema>;
|
|
25
39
|
export declare const routineFireSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
40
|
+
readonly eventId?: string | undefined;
|
|
26
41
|
readonly failure?: {
|
|
27
42
|
readonly code: string;
|
|
28
43
|
readonly message: string;
|
|
@@ -31,12 +46,12 @@ export declare const routineFireSchema: import("../runtime-schema/runtime-schema
|
|
|
31
46
|
readonly id: string;
|
|
32
47
|
readonly missed?: number | undefined;
|
|
33
48
|
readonly outcome: "failed" | "launching" | "skipped" | "started";
|
|
34
|
-
readonly reason?: "connection_disabled" | "held" | "launch_failed" | "outcome_unknown" | "overlap" | "routine_not_active" | "saturated" | "workspace_unavailable" | undefined;
|
|
49
|
+
readonly reason?: "agent_disabled" | "connection_disabled" | "held" | "home_session_unavailable" | "launch_failed" | "outcome_unknown" | "overlap" | "precheck_failed" | "precheck_skipped" | "precheck_timeout" | "precheck_unconfirmed" | "routine_not_active" | "saturated" | "workspace_unavailable" | undefined;
|
|
35
50
|
readonly recordedAt: string;
|
|
36
51
|
readonly routineId: string;
|
|
37
52
|
readonly scheduledAt: string;
|
|
38
53
|
readonly sessionId?: string | undefined;
|
|
39
|
-
readonly triggerKind: "cron" | "manual";
|
|
54
|
+
readonly triggerKind: "cron" | "event" | "manual" | "webhook";
|
|
40
55
|
readonly turnId?: string | undefined;
|
|
41
56
|
readonly turnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
42
57
|
}>;
|
|
@@ -44,11 +59,38 @@ export type RoutineFire = InferRuntimeSchema<typeof routineFireSchema>;
|
|
|
44
59
|
export declare const routineScheduleSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
45
60
|
readonly expression: string;
|
|
46
61
|
readonly timezone: string;
|
|
62
|
+
} | {
|
|
63
|
+
readonly event: string;
|
|
64
|
+
} | {
|
|
65
|
+
readonly at: string;
|
|
66
|
+
} | {
|
|
67
|
+
readonly everyMinutes: number;
|
|
68
|
+
readonly startsAt: string;
|
|
47
69
|
}>;
|
|
48
70
|
export type RoutineSchedule = InferRuntimeSchema<typeof routineScheduleSchema>;
|
|
71
|
+
export declare const routineCronScheduleSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
72
|
+
readonly expression: string;
|
|
73
|
+
readonly timezone: string;
|
|
74
|
+
}>;
|
|
75
|
+
export type RoutineCronSchedule = InferRuntimeSchema<typeof routineCronScheduleSchema>;
|
|
76
|
+
export declare const routineEventScheduleSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
77
|
+
readonly event: string;
|
|
78
|
+
}>;
|
|
79
|
+
export type RoutineEventSchedule = InferRuntimeSchema<typeof routineEventScheduleSchema>;
|
|
80
|
+
export declare const routineOnceScheduleSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
81
|
+
readonly at: string;
|
|
82
|
+
}>;
|
|
83
|
+
export type RoutineOnceSchedule = InferRuntimeSchema<typeof routineOnceScheduleSchema>;
|
|
84
|
+
export declare const routineIntervalScheduleSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
85
|
+
readonly everyMinutes: number;
|
|
86
|
+
readonly startsAt: string;
|
|
87
|
+
}>;
|
|
88
|
+
export type RoutineIntervalSchedule = InferRuntimeSchema<typeof routineIntervalScheduleSchema>;
|
|
49
89
|
export declare const routineTemplateSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
90
|
+
readonly agentId?: string | undefined;
|
|
50
91
|
readonly connectionId?: string | undefined;
|
|
51
|
-
readonly executor?:
|
|
92
|
+
readonly executor?: string | undefined;
|
|
93
|
+
readonly mode?: "continue" | "new" | undefined;
|
|
52
94
|
readonly model?: string | undefined;
|
|
53
95
|
readonly projectId: string;
|
|
54
96
|
readonly prompt: string;
|
|
@@ -68,16 +110,30 @@ export declare const routineListResultSchema: import("../runtime-schema/runtime-
|
|
|
68
110
|
readonly id: string;
|
|
69
111
|
readonly name: string;
|
|
70
112
|
readonly nextFireAt?: string | undefined;
|
|
113
|
+
readonly precheck?: {
|
|
114
|
+
readonly command: readonly string[];
|
|
115
|
+
readonly timeoutSeconds: number;
|
|
116
|
+
readonly digest: string;
|
|
117
|
+
} | undefined;
|
|
71
118
|
readonly revision: string;
|
|
72
119
|
readonly schedule: {
|
|
73
120
|
readonly expression: string;
|
|
74
121
|
readonly timezone: string;
|
|
122
|
+
} | {
|
|
123
|
+
readonly event: string;
|
|
124
|
+
} | {
|
|
125
|
+
readonly at: string;
|
|
126
|
+
} | {
|
|
127
|
+
readonly everyMinutes: number;
|
|
128
|
+
readonly startsAt: string;
|
|
75
129
|
};
|
|
76
130
|
readonly schemaVersion: "maia.routine/v1";
|
|
77
131
|
readonly state: "active" | "disabled" | "paused";
|
|
78
132
|
readonly template: {
|
|
133
|
+
readonly agentId?: string | undefined;
|
|
79
134
|
readonly connectionId?: string | undefined;
|
|
80
|
-
readonly executor?:
|
|
135
|
+
readonly executor?: string | undefined;
|
|
136
|
+
readonly mode?: "continue" | "new" | undefined;
|
|
81
137
|
readonly model?: string | undefined;
|
|
82
138
|
readonly projectId: string;
|
|
83
139
|
readonly prompt: string;
|
|
@@ -94,6 +150,7 @@ export declare const routineShowParametersSchema: import("../runtime-schema/runt
|
|
|
94
150
|
export type RoutineShowParameters = InferRuntimeSchema<typeof routineShowParametersSchema>;
|
|
95
151
|
export declare const routineShowResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
96
152
|
readonly fires: readonly {
|
|
153
|
+
readonly eventId?: string | undefined;
|
|
97
154
|
readonly failure?: {
|
|
98
155
|
readonly code: string;
|
|
99
156
|
readonly message: string;
|
|
@@ -102,12 +159,12 @@ export declare const routineShowResultSchema: import("../runtime-schema/runtime-
|
|
|
102
159
|
readonly id: string;
|
|
103
160
|
readonly missed?: number | undefined;
|
|
104
161
|
readonly outcome: "failed" | "launching" | "skipped" | "started";
|
|
105
|
-
readonly reason?: "connection_disabled" | "held" | "launch_failed" | "outcome_unknown" | "overlap" | "routine_not_active" | "saturated" | "workspace_unavailable" | undefined;
|
|
162
|
+
readonly reason?: "agent_disabled" | "connection_disabled" | "held" | "home_session_unavailable" | "launch_failed" | "outcome_unknown" | "overlap" | "precheck_failed" | "precheck_skipped" | "precheck_timeout" | "precheck_unconfirmed" | "routine_not_active" | "saturated" | "workspace_unavailable" | undefined;
|
|
106
163
|
readonly recordedAt: string;
|
|
107
164
|
readonly routineId: string;
|
|
108
165
|
readonly scheduledAt: string;
|
|
109
166
|
readonly sessionId?: string | undefined;
|
|
110
|
-
readonly triggerKind: "cron" | "manual";
|
|
167
|
+
readonly triggerKind: "cron" | "event" | "manual" | "webhook";
|
|
111
168
|
readonly turnId?: string | undefined;
|
|
112
169
|
readonly turnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
113
170
|
}[];
|
|
@@ -118,16 +175,30 @@ export declare const routineShowResultSchema: import("../runtime-schema/runtime-
|
|
|
118
175
|
readonly id: string;
|
|
119
176
|
readonly name: string;
|
|
120
177
|
readonly nextFireAt?: string | undefined;
|
|
178
|
+
readonly precheck?: {
|
|
179
|
+
readonly command: readonly string[];
|
|
180
|
+
readonly timeoutSeconds: number;
|
|
181
|
+
readonly digest: string;
|
|
182
|
+
} | undefined;
|
|
121
183
|
readonly revision: string;
|
|
122
184
|
readonly schedule: {
|
|
123
185
|
readonly expression: string;
|
|
124
186
|
readonly timezone: string;
|
|
187
|
+
} | {
|
|
188
|
+
readonly event: string;
|
|
189
|
+
} | {
|
|
190
|
+
readonly at: string;
|
|
191
|
+
} | {
|
|
192
|
+
readonly everyMinutes: number;
|
|
193
|
+
readonly startsAt: string;
|
|
125
194
|
};
|
|
126
195
|
readonly schemaVersion: "maia.routine/v1";
|
|
127
196
|
readonly state: "active" | "disabled" | "paused";
|
|
128
197
|
readonly template: {
|
|
198
|
+
readonly agentId?: string | undefined;
|
|
129
199
|
readonly connectionId?: string | undefined;
|
|
130
|
-
readonly executor?:
|
|
200
|
+
readonly executor?: string | undefined;
|
|
201
|
+
readonly mode?: "continue" | "new" | undefined;
|
|
131
202
|
readonly model?: string | undefined;
|
|
132
203
|
readonly projectId: string;
|
|
133
204
|
readonly prompt: string;
|
|
@@ -136,17 +207,60 @@ export declare const routineShowResultSchema: import("../runtime-schema/runtime-
|
|
|
136
207
|
};
|
|
137
208
|
}>;
|
|
138
209
|
export type RoutineShowResult = InferRuntimeSchema<typeof routineShowResultSchema>;
|
|
210
|
+
export declare const routineRunsParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
211
|
+
readonly afterCursor?: string | undefined;
|
|
212
|
+
readonly limit: number;
|
|
213
|
+
readonly routineId?: string | undefined;
|
|
214
|
+
}>;
|
|
215
|
+
export type RoutineRunsParameters = InferRuntimeSchema<typeof routineRunsParametersSchema>;
|
|
216
|
+
export declare const routineRunsResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
217
|
+
readonly items: readonly {
|
|
218
|
+
readonly eventId?: string | undefined;
|
|
219
|
+
readonly failure?: {
|
|
220
|
+
readonly code: string;
|
|
221
|
+
readonly message: string;
|
|
222
|
+
} | undefined;
|
|
223
|
+
readonly failureReason?: "approval_required" | "output_limit_exceeded" | "protocol_invalid" | "repository_changed" | "runtime_exited" | "runtime_failed" | "turn_deadline_exceeded" | "turn_rejected" | undefined;
|
|
224
|
+
readonly id: string;
|
|
225
|
+
readonly missed?: number | undefined;
|
|
226
|
+
readonly outcome: "failed" | "launching" | "skipped" | "started";
|
|
227
|
+
readonly reason?: "agent_disabled" | "connection_disabled" | "held" | "home_session_unavailable" | "launch_failed" | "outcome_unknown" | "overlap" | "precheck_failed" | "precheck_skipped" | "precheck_timeout" | "precheck_unconfirmed" | "routine_not_active" | "saturated" | "workspace_unavailable" | undefined;
|
|
228
|
+
readonly recordedAt: string;
|
|
229
|
+
readonly routineId: string;
|
|
230
|
+
readonly scheduledAt: string;
|
|
231
|
+
readonly sessionId?: string | undefined;
|
|
232
|
+
readonly triggerKind: "cron" | "event" | "manual" | "webhook";
|
|
233
|
+
readonly turnId?: string | undefined;
|
|
234
|
+
readonly turnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
235
|
+
}[];
|
|
236
|
+
readonly method: "routine.runs";
|
|
237
|
+
readonly nextCursor?: string | undefined;
|
|
238
|
+
}>;
|
|
239
|
+
export type RoutineRunsResult = InferRuntimeSchema<typeof routineRunsResultSchema>;
|
|
139
240
|
export declare const routineCreatePreviewParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
140
241
|
readonly commandId: string;
|
|
141
242
|
readonly name: string;
|
|
142
243
|
readonly paused?: boolean | undefined;
|
|
244
|
+
readonly precheck?: {
|
|
245
|
+
readonly command: readonly string[];
|
|
246
|
+
readonly timeoutSeconds: number;
|
|
247
|
+
} | undefined;
|
|
143
248
|
readonly schedule: {
|
|
144
249
|
readonly expression: string;
|
|
145
250
|
readonly timezone: string;
|
|
251
|
+
} | {
|
|
252
|
+
readonly event: string;
|
|
253
|
+
} | {
|
|
254
|
+
readonly at: string;
|
|
255
|
+
} | {
|
|
256
|
+
readonly everyMinutes: number;
|
|
257
|
+
readonly startsAt: string;
|
|
146
258
|
};
|
|
147
259
|
readonly template: {
|
|
260
|
+
readonly agentId?: string | undefined;
|
|
148
261
|
readonly connectionId?: string | undefined;
|
|
149
|
-
readonly executor?:
|
|
262
|
+
readonly executor?: string | undefined;
|
|
263
|
+
readonly mode?: "continue" | "new" | undefined;
|
|
150
264
|
readonly model?: string | undefined;
|
|
151
265
|
readonly projectId: string;
|
|
152
266
|
readonly prompt: string;
|
|
@@ -157,13 +271,26 @@ export declare const routineCreatePreviewResultSchema: import("../runtime-schema
|
|
|
157
271
|
readonly commandId: string;
|
|
158
272
|
readonly name: string;
|
|
159
273
|
readonly paused?: boolean | undefined;
|
|
274
|
+
readonly precheck?: {
|
|
275
|
+
readonly command: readonly string[];
|
|
276
|
+
readonly timeoutSeconds: number;
|
|
277
|
+
} | undefined;
|
|
160
278
|
readonly schedule: {
|
|
161
279
|
readonly expression: string;
|
|
162
280
|
readonly timezone: string;
|
|
281
|
+
} | {
|
|
282
|
+
readonly event: string;
|
|
283
|
+
} | {
|
|
284
|
+
readonly at: string;
|
|
285
|
+
} | {
|
|
286
|
+
readonly everyMinutes: number;
|
|
287
|
+
readonly startsAt: string;
|
|
163
288
|
};
|
|
164
289
|
readonly template: {
|
|
290
|
+
readonly agentId?: string | undefined;
|
|
165
291
|
readonly connectionId?: string | undefined;
|
|
166
|
-
readonly executor?:
|
|
292
|
+
readonly executor?: string | undefined;
|
|
293
|
+
readonly mode?: "continue" | "new" | undefined;
|
|
167
294
|
readonly model?: string | undefined;
|
|
168
295
|
readonly projectId: string;
|
|
169
296
|
readonly prompt: string;
|
|
@@ -175,6 +302,7 @@ export declare const routineCreatePreviewResultSchema: import("../runtime-schema
|
|
|
175
302
|
readonly issuedAt: string;
|
|
176
303
|
readonly method: "routine.create.preview";
|
|
177
304
|
readonly nextFires: readonly string[];
|
|
305
|
+
readonly precheckDigest?: string | undefined;
|
|
178
306
|
readonly routineId: string;
|
|
179
307
|
}>;
|
|
180
308
|
export type RoutineCreatePreviewResult = InferRuntimeSchema<typeof routineCreatePreviewResultSchema>;
|
|
@@ -182,13 +310,26 @@ export declare const routineCreateConfirmParametersSchema: import("../runtime-sc
|
|
|
182
310
|
readonly commandId: string;
|
|
183
311
|
readonly name: string;
|
|
184
312
|
readonly paused?: boolean | undefined;
|
|
313
|
+
readonly precheck?: {
|
|
314
|
+
readonly command: readonly string[];
|
|
315
|
+
readonly timeoutSeconds: number;
|
|
316
|
+
} | undefined;
|
|
185
317
|
readonly schedule: {
|
|
186
318
|
readonly expression: string;
|
|
187
319
|
readonly timezone: string;
|
|
320
|
+
} | {
|
|
321
|
+
readonly event: string;
|
|
322
|
+
} | {
|
|
323
|
+
readonly at: string;
|
|
324
|
+
} | {
|
|
325
|
+
readonly everyMinutes: number;
|
|
326
|
+
readonly startsAt: string;
|
|
188
327
|
};
|
|
189
328
|
readonly template: {
|
|
329
|
+
readonly agentId?: string | undefined;
|
|
190
330
|
readonly connectionId?: string | undefined;
|
|
191
|
-
readonly executor?:
|
|
331
|
+
readonly executor?: string | undefined;
|
|
332
|
+
readonly mode?: "continue" | "new" | undefined;
|
|
192
333
|
readonly model?: string | undefined;
|
|
193
334
|
readonly projectId: string;
|
|
194
335
|
readonly prompt: string;
|
|
@@ -210,6 +351,7 @@ export declare const routineCreateConfirmResultSchema: import("../runtime-schema
|
|
|
210
351
|
readonly createdAt: string;
|
|
211
352
|
readonly eventCursor: string;
|
|
212
353
|
readonly method: string;
|
|
354
|
+
readonly proposedBy?: string | undefined;
|
|
213
355
|
readonly receiptId: string;
|
|
214
356
|
readonly schemaVersion: 1;
|
|
215
357
|
readonly state: "succeeded";
|
|
@@ -225,16 +367,30 @@ export declare const routineCreateConfirmResultSchema: import("../runtime-schema
|
|
|
225
367
|
readonly id: string;
|
|
226
368
|
readonly name: string;
|
|
227
369
|
readonly nextFireAt?: string | undefined;
|
|
370
|
+
readonly precheck?: {
|
|
371
|
+
readonly command: readonly string[];
|
|
372
|
+
readonly timeoutSeconds: number;
|
|
373
|
+
readonly digest: string;
|
|
374
|
+
} | undefined;
|
|
228
375
|
readonly revision: string;
|
|
229
376
|
readonly schedule: {
|
|
230
377
|
readonly expression: string;
|
|
231
378
|
readonly timezone: string;
|
|
379
|
+
} | {
|
|
380
|
+
readonly event: string;
|
|
381
|
+
} | {
|
|
382
|
+
readonly at: string;
|
|
383
|
+
} | {
|
|
384
|
+
readonly everyMinutes: number;
|
|
385
|
+
readonly startsAt: string;
|
|
232
386
|
};
|
|
233
387
|
readonly schemaVersion: "maia.routine/v1";
|
|
234
388
|
readonly state: "active" | "disabled" | "paused";
|
|
235
389
|
readonly template: {
|
|
390
|
+
readonly agentId?: string | undefined;
|
|
236
391
|
readonly connectionId?: string | undefined;
|
|
237
|
-
readonly executor?:
|
|
392
|
+
readonly executor?: string | undefined;
|
|
393
|
+
readonly mode?: "continue" | "new" | undefined;
|
|
238
394
|
readonly model?: string | undefined;
|
|
239
395
|
readonly projectId: string;
|
|
240
396
|
readonly prompt: string;
|
|
@@ -259,6 +415,7 @@ export declare const routinePauseResultSchema: import("../runtime-schema/runtime
|
|
|
259
415
|
readonly createdAt: string;
|
|
260
416
|
readonly eventCursor: string;
|
|
261
417
|
readonly method: string;
|
|
418
|
+
readonly proposedBy?: string | undefined;
|
|
262
419
|
readonly receiptId: string;
|
|
263
420
|
readonly schemaVersion: 1;
|
|
264
421
|
readonly state: "succeeded";
|
|
@@ -274,16 +431,30 @@ export declare const routinePauseResultSchema: import("../runtime-schema/runtime
|
|
|
274
431
|
readonly id: string;
|
|
275
432
|
readonly name: string;
|
|
276
433
|
readonly nextFireAt?: string | undefined;
|
|
434
|
+
readonly precheck?: {
|
|
435
|
+
readonly command: readonly string[];
|
|
436
|
+
readonly timeoutSeconds: number;
|
|
437
|
+
readonly digest: string;
|
|
438
|
+
} | undefined;
|
|
277
439
|
readonly revision: string;
|
|
278
440
|
readonly schedule: {
|
|
279
441
|
readonly expression: string;
|
|
280
442
|
readonly timezone: string;
|
|
443
|
+
} | {
|
|
444
|
+
readonly event: string;
|
|
445
|
+
} | {
|
|
446
|
+
readonly at: string;
|
|
447
|
+
} | {
|
|
448
|
+
readonly everyMinutes: number;
|
|
449
|
+
readonly startsAt: string;
|
|
281
450
|
};
|
|
282
451
|
readonly schemaVersion: "maia.routine/v1";
|
|
283
452
|
readonly state: "active" | "disabled" | "paused";
|
|
284
453
|
readonly template: {
|
|
454
|
+
readonly agentId?: string | undefined;
|
|
285
455
|
readonly connectionId?: string | undefined;
|
|
286
|
-
readonly executor?:
|
|
456
|
+
readonly executor?: string | undefined;
|
|
457
|
+
readonly mode?: "continue" | "new" | undefined;
|
|
287
458
|
readonly model?: string | undefined;
|
|
288
459
|
readonly projectId: string;
|
|
289
460
|
readonly prompt: string;
|
|
@@ -302,6 +473,7 @@ export declare const routineResumeResultSchema: import("../runtime-schema/runtim
|
|
|
302
473
|
readonly createdAt: string;
|
|
303
474
|
readonly eventCursor: string;
|
|
304
475
|
readonly method: string;
|
|
476
|
+
readonly proposedBy?: string | undefined;
|
|
305
477
|
readonly receiptId: string;
|
|
306
478
|
readonly schemaVersion: 1;
|
|
307
479
|
readonly state: "succeeded";
|
|
@@ -317,16 +489,30 @@ export declare const routineResumeResultSchema: import("../runtime-schema/runtim
|
|
|
317
489
|
readonly id: string;
|
|
318
490
|
readonly name: string;
|
|
319
491
|
readonly nextFireAt?: string | undefined;
|
|
492
|
+
readonly precheck?: {
|
|
493
|
+
readonly command: readonly string[];
|
|
494
|
+
readonly timeoutSeconds: number;
|
|
495
|
+
readonly digest: string;
|
|
496
|
+
} | undefined;
|
|
320
497
|
readonly revision: string;
|
|
321
498
|
readonly schedule: {
|
|
322
499
|
readonly expression: string;
|
|
323
500
|
readonly timezone: string;
|
|
501
|
+
} | {
|
|
502
|
+
readonly event: string;
|
|
503
|
+
} | {
|
|
504
|
+
readonly at: string;
|
|
505
|
+
} | {
|
|
506
|
+
readonly everyMinutes: number;
|
|
507
|
+
readonly startsAt: string;
|
|
324
508
|
};
|
|
325
509
|
readonly schemaVersion: "maia.routine/v1";
|
|
326
510
|
readonly state: "active" | "disabled" | "paused";
|
|
327
511
|
readonly template: {
|
|
512
|
+
readonly agentId?: string | undefined;
|
|
328
513
|
readonly connectionId?: string | undefined;
|
|
329
|
-
readonly executor?:
|
|
514
|
+
readonly executor?: string | undefined;
|
|
515
|
+
readonly mode?: "continue" | "new" | undefined;
|
|
330
516
|
readonly model?: string | undefined;
|
|
331
517
|
readonly projectId: string;
|
|
332
518
|
readonly prompt: string;
|
|
@@ -372,6 +558,7 @@ export declare const routineDisableConfirmResultSchema: import("../runtime-schem
|
|
|
372
558
|
readonly createdAt: string;
|
|
373
559
|
readonly eventCursor: string;
|
|
374
560
|
readonly method: string;
|
|
561
|
+
readonly proposedBy?: string | undefined;
|
|
375
562
|
readonly receiptId: string;
|
|
376
563
|
readonly schemaVersion: 1;
|
|
377
564
|
readonly state: "succeeded";
|
|
@@ -387,16 +574,30 @@ export declare const routineDisableConfirmResultSchema: import("../runtime-schem
|
|
|
387
574
|
readonly id: string;
|
|
388
575
|
readonly name: string;
|
|
389
576
|
readonly nextFireAt?: string | undefined;
|
|
577
|
+
readonly precheck?: {
|
|
578
|
+
readonly command: readonly string[];
|
|
579
|
+
readonly timeoutSeconds: number;
|
|
580
|
+
readonly digest: string;
|
|
581
|
+
} | undefined;
|
|
390
582
|
readonly revision: string;
|
|
391
583
|
readonly schedule: {
|
|
392
584
|
readonly expression: string;
|
|
393
585
|
readonly timezone: string;
|
|
586
|
+
} | {
|
|
587
|
+
readonly event: string;
|
|
588
|
+
} | {
|
|
589
|
+
readonly at: string;
|
|
590
|
+
} | {
|
|
591
|
+
readonly everyMinutes: number;
|
|
592
|
+
readonly startsAt: string;
|
|
394
593
|
};
|
|
395
594
|
readonly schemaVersion: "maia.routine/v1";
|
|
396
595
|
readonly state: "active" | "disabled" | "paused";
|
|
397
596
|
readonly template: {
|
|
597
|
+
readonly agentId?: string | undefined;
|
|
398
598
|
readonly connectionId?: string | undefined;
|
|
399
|
-
readonly executor?:
|
|
599
|
+
readonly executor?: string | undefined;
|
|
600
|
+
readonly mode?: "continue" | "new" | undefined;
|
|
400
601
|
readonly model?: string | undefined;
|
|
401
602
|
readonly projectId: string;
|
|
402
603
|
readonly prompt: string;
|
|
@@ -430,6 +631,7 @@ export type RoutineRunConfirmParameters = InferRuntimeSchema<typeof routineRunCo
|
|
|
430
631
|
export declare const routineRunConfirmResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
431
632
|
readonly delivery: "duplicate" | "new";
|
|
432
633
|
readonly fire: {
|
|
634
|
+
readonly eventId?: string | undefined;
|
|
433
635
|
readonly failure?: {
|
|
434
636
|
readonly code: string;
|
|
435
637
|
readonly message: string;
|
|
@@ -438,12 +640,12 @@ export declare const routineRunConfirmResultSchema: import("../runtime-schema/ru
|
|
|
438
640
|
readonly id: string;
|
|
439
641
|
readonly missed?: number | undefined;
|
|
440
642
|
readonly outcome: "failed" | "launching" | "skipped" | "started";
|
|
441
|
-
readonly reason?: "connection_disabled" | "held" | "launch_failed" | "outcome_unknown" | "overlap" | "routine_not_active" | "saturated" | "workspace_unavailable" | undefined;
|
|
643
|
+
readonly reason?: "agent_disabled" | "connection_disabled" | "held" | "home_session_unavailable" | "launch_failed" | "outcome_unknown" | "overlap" | "precheck_failed" | "precheck_skipped" | "precheck_timeout" | "precheck_unconfirmed" | "routine_not_active" | "saturated" | "workspace_unavailable" | undefined;
|
|
442
644
|
readonly recordedAt: string;
|
|
443
645
|
readonly routineId: string;
|
|
444
646
|
readonly scheduledAt: string;
|
|
445
647
|
readonly sessionId?: string | undefined;
|
|
446
|
-
readonly triggerKind: "cron" | "manual";
|
|
648
|
+
readonly triggerKind: "cron" | "event" | "manual" | "webhook";
|
|
447
649
|
readonly turnId?: string | undefined;
|
|
448
650
|
readonly turnState?: "completed" | "dispatching" | "failed" | "interrupted" | "outcome-unknown" | "queued" | "running" | undefined;
|
|
449
651
|
};
|
|
@@ -455,6 +657,7 @@ export declare const routineRunConfirmResultSchema: import("../runtime-schema/ru
|
|
|
455
657
|
readonly createdAt: string;
|
|
456
658
|
readonly eventCursor: string;
|
|
457
659
|
readonly method: string;
|
|
660
|
+
readonly proposedBy?: string | undefined;
|
|
458
661
|
readonly receiptId: string;
|
|
459
662
|
readonly schemaVersion: 1;
|
|
460
663
|
readonly state: "succeeded";
|
|
@@ -466,5 +669,428 @@ export declare const routineRunConfirmResultSchema: import("../runtime-schema/ru
|
|
|
466
669
|
};
|
|
467
670
|
}>;
|
|
468
671
|
export type RoutineRunConfirmResult = InferRuntimeSchema<typeof routineRunConfirmResultSchema>;
|
|
469
|
-
|
|
672
|
+
/** An update changes a routine's prompt, schedule or Agent in place, after a preview. */
|
|
673
|
+
export declare const routineUpdatePreviewParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
674
|
+
readonly commandId: string;
|
|
675
|
+
readonly expectedRevision: string;
|
|
676
|
+
readonly routineId: string;
|
|
677
|
+
readonly agentId?: string | undefined;
|
|
678
|
+
readonly prompt?: string | undefined;
|
|
679
|
+
readonly schedule?: {
|
|
680
|
+
readonly expression: string;
|
|
681
|
+
readonly timezone: string;
|
|
682
|
+
} | {
|
|
683
|
+
readonly event: string;
|
|
684
|
+
} | {
|
|
685
|
+
readonly at: string;
|
|
686
|
+
} | {
|
|
687
|
+
readonly everyMinutes: number;
|
|
688
|
+
readonly startsAt: string;
|
|
689
|
+
} | undefined;
|
|
690
|
+
}>;
|
|
691
|
+
export type RoutineUpdatePreviewParameters = InferRuntimeSchema<typeof routineUpdatePreviewParametersSchema>;
|
|
692
|
+
export declare const routineUpdatePreviewResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
693
|
+
readonly inputDigest: string;
|
|
694
|
+
readonly proof: string;
|
|
695
|
+
readonly actorId: string;
|
|
696
|
+
readonly expiresAt: string;
|
|
697
|
+
readonly issuedAt: string;
|
|
698
|
+
readonly commandId: string;
|
|
699
|
+
readonly expectedRevision: string;
|
|
700
|
+
readonly routineId: string;
|
|
701
|
+
readonly agentId?: string | undefined;
|
|
702
|
+
readonly prompt?: string | undefined;
|
|
703
|
+
readonly schedule?: {
|
|
704
|
+
readonly expression: string;
|
|
705
|
+
readonly timezone: string;
|
|
706
|
+
} | {
|
|
707
|
+
readonly event: string;
|
|
708
|
+
} | {
|
|
709
|
+
readonly at: string;
|
|
710
|
+
} | {
|
|
711
|
+
readonly everyMinutes: number;
|
|
712
|
+
readonly startsAt: string;
|
|
713
|
+
} | undefined;
|
|
714
|
+
readonly changes: {
|
|
715
|
+
readonly agentId?: {
|
|
716
|
+
readonly after: string;
|
|
717
|
+
readonly before: string;
|
|
718
|
+
} | undefined;
|
|
719
|
+
readonly prompt?: {
|
|
720
|
+
readonly after: string;
|
|
721
|
+
readonly before: string;
|
|
722
|
+
} | undefined;
|
|
723
|
+
readonly schedule?: {
|
|
724
|
+
readonly after: {
|
|
725
|
+
readonly expression: string;
|
|
726
|
+
readonly timezone: string;
|
|
727
|
+
} | {
|
|
728
|
+
readonly event: string;
|
|
729
|
+
} | {
|
|
730
|
+
readonly at: string;
|
|
731
|
+
} | {
|
|
732
|
+
readonly everyMinutes: number;
|
|
733
|
+
readonly startsAt: string;
|
|
734
|
+
};
|
|
735
|
+
readonly before: {
|
|
736
|
+
readonly expression: string;
|
|
737
|
+
readonly timezone: string;
|
|
738
|
+
} | {
|
|
739
|
+
readonly event: string;
|
|
740
|
+
} | {
|
|
741
|
+
readonly at: string;
|
|
742
|
+
} | {
|
|
743
|
+
readonly everyMinutes: number;
|
|
744
|
+
readonly startsAt: string;
|
|
745
|
+
};
|
|
746
|
+
readonly nextFireAt?: string | undefined;
|
|
747
|
+
} | undefined;
|
|
748
|
+
};
|
|
749
|
+
readonly method: "routine.update.preview";
|
|
750
|
+
readonly name: string;
|
|
751
|
+
}>;
|
|
752
|
+
export type RoutineUpdatePreviewResult = InferRuntimeSchema<typeof routineUpdatePreviewResultSchema>;
|
|
753
|
+
export declare const routineUpdateConfirmParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
754
|
+
readonly inputDigest: string;
|
|
755
|
+
readonly proof: string;
|
|
756
|
+
readonly commandId: string;
|
|
757
|
+
readonly expectedRevision: string;
|
|
758
|
+
readonly routineId: string;
|
|
759
|
+
readonly agentId?: string | undefined;
|
|
760
|
+
readonly prompt?: string | undefined;
|
|
761
|
+
readonly schedule?: {
|
|
762
|
+
readonly expression: string;
|
|
763
|
+
readonly timezone: string;
|
|
764
|
+
} | {
|
|
765
|
+
readonly event: string;
|
|
766
|
+
} | {
|
|
767
|
+
readonly at: string;
|
|
768
|
+
} | {
|
|
769
|
+
readonly everyMinutes: number;
|
|
770
|
+
readonly startsAt: string;
|
|
771
|
+
} | undefined;
|
|
772
|
+
}>;
|
|
773
|
+
export type RoutineUpdateConfirmParameters = InferRuntimeSchema<typeof routineUpdateConfirmParametersSchema>;
|
|
774
|
+
export declare const routineUpdateConfirmResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
775
|
+
readonly changed: readonly ("agentId" | "prompt" | "schedule")[];
|
|
776
|
+
readonly delivery: "duplicate" | "new";
|
|
777
|
+
readonly method: "routine.update.confirm";
|
|
778
|
+
readonly receipt: {
|
|
779
|
+
readonly actorId: string;
|
|
780
|
+
readonly aggregateRevision: string;
|
|
781
|
+
readonly commandId: string;
|
|
782
|
+
readonly createdAt: string;
|
|
783
|
+
readonly eventCursor: string;
|
|
784
|
+
readonly method: string;
|
|
785
|
+
readonly proposedBy?: string | undefined;
|
|
786
|
+
readonly receiptId: string;
|
|
787
|
+
readonly schemaVersion: 1;
|
|
788
|
+
readonly state: "succeeded";
|
|
789
|
+
readonly target: {
|
|
790
|
+
readonly id: string;
|
|
791
|
+
readonly type: string;
|
|
792
|
+
};
|
|
793
|
+
readonly updatedAt: string;
|
|
794
|
+
};
|
|
795
|
+
readonly routine: {
|
|
796
|
+
readonly confirmedBy: string;
|
|
797
|
+
readonly createdAt: string;
|
|
798
|
+
readonly id: string;
|
|
799
|
+
readonly name: string;
|
|
800
|
+
readonly nextFireAt?: string | undefined;
|
|
801
|
+
readonly precheck?: {
|
|
802
|
+
readonly command: readonly string[];
|
|
803
|
+
readonly timeoutSeconds: number;
|
|
804
|
+
readonly digest: string;
|
|
805
|
+
} | undefined;
|
|
806
|
+
readonly revision: string;
|
|
807
|
+
readonly schedule: {
|
|
808
|
+
readonly expression: string;
|
|
809
|
+
readonly timezone: string;
|
|
810
|
+
} | {
|
|
811
|
+
readonly event: string;
|
|
812
|
+
} | {
|
|
813
|
+
readonly at: string;
|
|
814
|
+
} | {
|
|
815
|
+
readonly everyMinutes: number;
|
|
816
|
+
readonly startsAt: string;
|
|
817
|
+
};
|
|
818
|
+
readonly schemaVersion: "maia.routine/v1";
|
|
819
|
+
readonly state: "active" | "disabled" | "paused";
|
|
820
|
+
readonly template: {
|
|
821
|
+
readonly agentId?: string | undefined;
|
|
822
|
+
readonly connectionId?: string | undefined;
|
|
823
|
+
readonly executor?: string | undefined;
|
|
824
|
+
readonly mode?: "continue" | "new" | undefined;
|
|
825
|
+
readonly model?: string | undefined;
|
|
826
|
+
readonly projectId: string;
|
|
827
|
+
readonly prompt: string;
|
|
828
|
+
};
|
|
829
|
+
readonly updatedAt: string;
|
|
830
|
+
};
|
|
831
|
+
}>;
|
|
832
|
+
export type RoutineUpdateConfirmResult = InferRuntimeSchema<typeof routineUpdateConfirmResultSchema>;
|
|
833
|
+
/** A move takes a routine to another Project of the same container, after a preview. */
|
|
834
|
+
export declare const routineMovePreviewParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
835
|
+
readonly commandId: string;
|
|
836
|
+
readonly expectedRevision: string;
|
|
837
|
+
readonly routineId: string;
|
|
838
|
+
readonly projectId: string;
|
|
839
|
+
}>;
|
|
840
|
+
export type RoutineMovePreviewParameters = InferRuntimeSchema<typeof routineMovePreviewParametersSchema>;
|
|
841
|
+
export declare const routineMovePreviewResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
842
|
+
readonly inputDigest: string;
|
|
843
|
+
readonly proof: string;
|
|
844
|
+
readonly actorId: string;
|
|
845
|
+
readonly expiresAt: string;
|
|
846
|
+
readonly issuedAt: string;
|
|
847
|
+
readonly commandId: string;
|
|
848
|
+
readonly expectedRevision: string;
|
|
849
|
+
readonly routineId: string;
|
|
850
|
+
readonly projectId: string;
|
|
851
|
+
readonly fromProjectId: string;
|
|
852
|
+
readonly method: "routine.move.preview";
|
|
853
|
+
readonly moves: {
|
|
854
|
+
readonly fires: number;
|
|
855
|
+
readonly triggers: number;
|
|
856
|
+
};
|
|
857
|
+
readonly name: string;
|
|
858
|
+
}>;
|
|
859
|
+
export type RoutineMovePreviewResult = InferRuntimeSchema<typeof routineMovePreviewResultSchema>;
|
|
860
|
+
export declare const routineMoveConfirmParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
861
|
+
readonly inputDigest: string;
|
|
862
|
+
readonly proof: string;
|
|
863
|
+
readonly commandId: string;
|
|
864
|
+
readonly expectedRevision: string;
|
|
865
|
+
readonly routineId: string;
|
|
866
|
+
readonly projectId: string;
|
|
867
|
+
}>;
|
|
868
|
+
export type RoutineMoveConfirmParameters = InferRuntimeSchema<typeof routineMoveConfirmParametersSchema>;
|
|
869
|
+
export declare const routineMoveConfirmResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
870
|
+
readonly delivery: "duplicate" | "new";
|
|
871
|
+
readonly fromProjectId: string;
|
|
872
|
+
readonly method: "routine.move.confirm";
|
|
873
|
+
readonly receipt: {
|
|
874
|
+
readonly actorId: string;
|
|
875
|
+
readonly aggregateRevision: string;
|
|
876
|
+
readonly commandId: string;
|
|
877
|
+
readonly createdAt: string;
|
|
878
|
+
readonly eventCursor: string;
|
|
879
|
+
readonly method: string;
|
|
880
|
+
readonly proposedBy?: string | undefined;
|
|
881
|
+
readonly receiptId: string;
|
|
882
|
+
readonly schemaVersion: 1;
|
|
883
|
+
readonly state: "succeeded";
|
|
884
|
+
readonly target: {
|
|
885
|
+
readonly id: string;
|
|
886
|
+
readonly type: string;
|
|
887
|
+
};
|
|
888
|
+
readonly updatedAt: string;
|
|
889
|
+
};
|
|
890
|
+
readonly routine: {
|
|
891
|
+
readonly confirmedBy: string;
|
|
892
|
+
readonly createdAt: string;
|
|
893
|
+
readonly id: string;
|
|
894
|
+
readonly name: string;
|
|
895
|
+
readonly nextFireAt?: string | undefined;
|
|
896
|
+
readonly precheck?: {
|
|
897
|
+
readonly command: readonly string[];
|
|
898
|
+
readonly timeoutSeconds: number;
|
|
899
|
+
readonly digest: string;
|
|
900
|
+
} | undefined;
|
|
901
|
+
readonly revision: string;
|
|
902
|
+
readonly schedule: {
|
|
903
|
+
readonly expression: string;
|
|
904
|
+
readonly timezone: string;
|
|
905
|
+
} | {
|
|
906
|
+
readonly event: string;
|
|
907
|
+
} | {
|
|
908
|
+
readonly at: string;
|
|
909
|
+
} | {
|
|
910
|
+
readonly everyMinutes: number;
|
|
911
|
+
readonly startsAt: string;
|
|
912
|
+
};
|
|
913
|
+
readonly schemaVersion: "maia.routine/v1";
|
|
914
|
+
readonly state: "active" | "disabled" | "paused";
|
|
915
|
+
readonly template: {
|
|
916
|
+
readonly agentId?: string | undefined;
|
|
917
|
+
readonly connectionId?: string | undefined;
|
|
918
|
+
readonly executor?: string | undefined;
|
|
919
|
+
readonly mode?: "continue" | "new" | undefined;
|
|
920
|
+
readonly model?: string | undefined;
|
|
921
|
+
readonly projectId: string;
|
|
922
|
+
readonly prompt: string;
|
|
923
|
+
};
|
|
924
|
+
readonly updatedAt: string;
|
|
925
|
+
};
|
|
926
|
+
}>;
|
|
927
|
+
export type RoutineMoveConfirmResult = InferRuntimeSchema<typeof routineMoveConfirmResultSchema>;
|
|
928
|
+
export declare const routineTriggerSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
929
|
+
readonly confirmedBy: string;
|
|
930
|
+
readonly createdAt: string;
|
|
931
|
+
readonly filters: readonly {
|
|
932
|
+
readonly equals: string | number | boolean;
|
|
933
|
+
readonly path: string;
|
|
934
|
+
}[];
|
|
935
|
+
readonly id: string;
|
|
936
|
+
readonly ratePerMinute: number;
|
|
937
|
+
readonly revision: string;
|
|
938
|
+
readonly routineId: string;
|
|
939
|
+
readonly schemaVersion: "maia.routine-trigger/v1";
|
|
940
|
+
readonly state: "active" | "disabled";
|
|
941
|
+
readonly updatedAt: string;
|
|
942
|
+
}>;
|
|
943
|
+
export type RoutineTrigger = InferRuntimeSchema<typeof routineTriggerSchema>;
|
|
944
|
+
export declare const routineTriggerFilterSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
945
|
+
readonly equals: string | number | boolean;
|
|
946
|
+
readonly path: string;
|
|
947
|
+
}>;
|
|
948
|
+
export type RoutineTriggerFilter = InferRuntimeSchema<typeof routineTriggerFilterSchema>;
|
|
949
|
+
export declare const routineTriggerListParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
950
|
+
readonly routineId: string;
|
|
951
|
+
}>;
|
|
952
|
+
export type RoutineTriggerListParameters = InferRuntimeSchema<typeof routineTriggerListParametersSchema>;
|
|
953
|
+
export declare const routineTriggerListResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
954
|
+
readonly method: "routine.trigger.list";
|
|
955
|
+
readonly triggers: readonly {
|
|
956
|
+
readonly confirmedBy: string;
|
|
957
|
+
readonly createdAt: string;
|
|
958
|
+
readonly filters: readonly {
|
|
959
|
+
readonly equals: string | number | boolean;
|
|
960
|
+
readonly path: string;
|
|
961
|
+
}[];
|
|
962
|
+
readonly id: string;
|
|
963
|
+
readonly ratePerMinute: number;
|
|
964
|
+
readonly revision: string;
|
|
965
|
+
readonly routineId: string;
|
|
966
|
+
readonly schemaVersion: "maia.routine-trigger/v1";
|
|
967
|
+
readonly state: "active" | "disabled";
|
|
968
|
+
readonly updatedAt: string;
|
|
969
|
+
}[];
|
|
970
|
+
}>;
|
|
971
|
+
export type RoutineTriggerListResult = InferRuntimeSchema<typeof routineTriggerListResultSchema>;
|
|
972
|
+
export declare const routineTriggerCreatePreviewParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
973
|
+
readonly commandId: string;
|
|
974
|
+
readonly filters: readonly {
|
|
975
|
+
readonly equals: string | number | boolean;
|
|
976
|
+
readonly path: string;
|
|
977
|
+
}[];
|
|
978
|
+
readonly ratePerMinute: number;
|
|
979
|
+
readonly routineId: string;
|
|
980
|
+
}>;
|
|
981
|
+
export type RoutineTriggerCreatePreviewParameters = InferRuntimeSchema<typeof routineTriggerCreatePreviewParametersSchema>;
|
|
982
|
+
export declare const routineTriggerCreatePreviewResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
983
|
+
readonly inputDigest: string;
|
|
984
|
+
readonly proof: string;
|
|
985
|
+
readonly actorId: string;
|
|
986
|
+
readonly expiresAt: string;
|
|
987
|
+
readonly issuedAt: string;
|
|
988
|
+
readonly commandId: string;
|
|
989
|
+
readonly filters: readonly {
|
|
990
|
+
readonly equals: string | number | boolean;
|
|
991
|
+
readonly path: string;
|
|
992
|
+
}[];
|
|
993
|
+
readonly ratePerMinute: number;
|
|
994
|
+
readonly routineId: string;
|
|
995
|
+
readonly method: "routine.trigger.create.preview";
|
|
996
|
+
readonly triggerId: string;
|
|
997
|
+
}>;
|
|
998
|
+
export type RoutineTriggerCreatePreviewResult = InferRuntimeSchema<typeof routineTriggerCreatePreviewResultSchema>;
|
|
999
|
+
export declare const routineTriggerCreateConfirmParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1000
|
+
readonly inputDigest: string;
|
|
1001
|
+
readonly proof: string;
|
|
1002
|
+
readonly commandId: string;
|
|
1003
|
+
readonly filters: readonly {
|
|
1004
|
+
readonly equals: string | number | boolean;
|
|
1005
|
+
readonly path: string;
|
|
1006
|
+
}[];
|
|
1007
|
+
readonly ratePerMinute: number;
|
|
1008
|
+
readonly routineId: string;
|
|
1009
|
+
readonly signingSecret: string;
|
|
1010
|
+
}>;
|
|
1011
|
+
export type RoutineTriggerCreateConfirmParameters = InferRuntimeSchema<typeof routineTriggerCreateConfirmParametersSchema>;
|
|
1012
|
+
export declare const routineTriggerCreateConfirmResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1013
|
+
readonly actorId: string;
|
|
1014
|
+
readonly commandId: string;
|
|
1015
|
+
readonly delivery: "duplicate" | "new";
|
|
1016
|
+
readonly inputDigest: string;
|
|
1017
|
+
readonly method: "routine.trigger.create.confirm";
|
|
1018
|
+
readonly receipt: {
|
|
1019
|
+
readonly actorId: string;
|
|
1020
|
+
readonly aggregateRevision: string;
|
|
1021
|
+
readonly commandId: string;
|
|
1022
|
+
readonly createdAt: string;
|
|
1023
|
+
readonly eventCursor: string;
|
|
1024
|
+
readonly method: string;
|
|
1025
|
+
readonly proposedBy?: string | undefined;
|
|
1026
|
+
readonly receiptId: string;
|
|
1027
|
+
readonly schemaVersion: 1;
|
|
1028
|
+
readonly state: "succeeded";
|
|
1029
|
+
readonly target: {
|
|
1030
|
+
readonly id: string;
|
|
1031
|
+
readonly type: string;
|
|
1032
|
+
};
|
|
1033
|
+
readonly updatedAt: string;
|
|
1034
|
+
};
|
|
1035
|
+
readonly trigger: {
|
|
1036
|
+
readonly confirmedBy: string;
|
|
1037
|
+
readonly createdAt: string;
|
|
1038
|
+
readonly filters: readonly {
|
|
1039
|
+
readonly equals: string | number | boolean;
|
|
1040
|
+
readonly path: string;
|
|
1041
|
+
}[];
|
|
1042
|
+
readonly id: string;
|
|
1043
|
+
readonly ratePerMinute: number;
|
|
1044
|
+
readonly revision: string;
|
|
1045
|
+
readonly routineId: string;
|
|
1046
|
+
readonly schemaVersion: "maia.routine-trigger/v1";
|
|
1047
|
+
readonly state: "active" | "disabled";
|
|
1048
|
+
readonly updatedAt: string;
|
|
1049
|
+
};
|
|
1050
|
+
}>;
|
|
1051
|
+
export type RoutineTriggerCreateConfirmResult = InferRuntimeSchema<typeof routineTriggerCreateConfirmResultSchema>;
|
|
1052
|
+
export declare const routineTriggerDisableParametersSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1053
|
+
readonly commandId: string;
|
|
1054
|
+
readonly expectedRevision: string;
|
|
1055
|
+
readonly triggerId: string;
|
|
1056
|
+
}>;
|
|
1057
|
+
export type RoutineTriggerDisableParameters = InferRuntimeSchema<typeof routineTriggerDisableParametersSchema>;
|
|
1058
|
+
export declare const routineTriggerDisableResultSchema: import("../runtime-schema/runtime-schema.js").RuntimeSchema<{
|
|
1059
|
+
readonly delivery: "duplicate" | "new";
|
|
1060
|
+
readonly method: "routine.trigger.disable";
|
|
1061
|
+
readonly receipt: {
|
|
1062
|
+
readonly actorId: string;
|
|
1063
|
+
readonly aggregateRevision: string;
|
|
1064
|
+
readonly commandId: string;
|
|
1065
|
+
readonly createdAt: string;
|
|
1066
|
+
readonly eventCursor: string;
|
|
1067
|
+
readonly method: string;
|
|
1068
|
+
readonly proposedBy?: string | undefined;
|
|
1069
|
+
readonly receiptId: string;
|
|
1070
|
+
readonly schemaVersion: 1;
|
|
1071
|
+
readonly state: "succeeded";
|
|
1072
|
+
readonly target: {
|
|
1073
|
+
readonly id: string;
|
|
1074
|
+
readonly type: string;
|
|
1075
|
+
};
|
|
1076
|
+
readonly updatedAt: string;
|
|
1077
|
+
};
|
|
1078
|
+
readonly trigger: {
|
|
1079
|
+
readonly confirmedBy: string;
|
|
1080
|
+
readonly createdAt: string;
|
|
1081
|
+
readonly filters: readonly {
|
|
1082
|
+
readonly equals: string | number | boolean;
|
|
1083
|
+
readonly path: string;
|
|
1084
|
+
}[];
|
|
1085
|
+
readonly id: string;
|
|
1086
|
+
readonly ratePerMinute: number;
|
|
1087
|
+
readonly revision: string;
|
|
1088
|
+
readonly routineId: string;
|
|
1089
|
+
readonly schemaVersion: "maia.routine-trigger/v1";
|
|
1090
|
+
readonly state: "active" | "disabled";
|
|
1091
|
+
readonly updatedAt: string;
|
|
1092
|
+
};
|
|
1093
|
+
}>;
|
|
1094
|
+
export type RoutineTriggerDisableResult = InferRuntimeSchema<typeof routineTriggerDisableResultSchema>;
|
|
1095
|
+
export { DEFAULT_ROUTINE_TRIGGER_RATE_PER_MINUTE, MAX_ACTIVE_ROUTINE_TRIGGERS, MAX_LIVE_ROUTINES_PER_PROJECT, MAX_ROUTINE_INTERVAL_MINUTES, MAX_ROUTINE_PAGE_SIZE, MAX_ROUTINE_PREVIEW_FIRES, MAX_ROUTINE_SHOWN_FIRES, MAX_ROUTINE_TRIGGER_BODY_BYTES, MAX_ROUTINE_TRIGGER_FILTERS, MAX_ROUTINE_TRIGGER_RATE_PER_MINUTE, MAX_ROUTINE_TRIGGERS_SHOWN, MIN_ROUTINE_INTERVAL_MINUTES, ROUTINE_AGGREGATE_TYPE, ROUTINE_ERROR_CODES, ROUTINE_FIRE_REASONS, ROUTINE_SCHEMA_VERSION, ROUTINE_TRIGGER_HEADERS, ROUTINE_TRIGGER_PATH_PREFIX, ROUTINE_TRIGGER_SCHEMA_VERSION, type RoutineTriggerCall, type RoutineTriggerCallOutcome, routineTriggerPath, } from "./policy.js";
|
|
470
1096
|
//# sourceMappingURL=contract.d.ts.map
|