@wjarka/cezarion 0.17.0 → 0.18.0-dev.5799
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/bin.js +2 -0
- package/cez.js +2 -0
- package/cezarion.js +2 -0
- package/dist/cez.js +2 -0
- package/dist/cezarion.js +2 -0
- package/dist/hsq.js +2 -0
- package/dist/index.js +1 -835
- package/dist/server/app-type.d.ts +1 -6
- package/dist/server/app-type.js +1 -2
- package/hsq.js +2 -0
- package/package.json +20 -59
- package/web/dist/assets/activity-motion-0wHCeUs7.css +1 -0
- package/web/dist/assets/activity-motion-2nE59DAT.js +2 -0
- package/web/dist/assets/activity-route-R9lPc2jy.js +1 -0
- package/web/dist/assets/agent-accounts-f1cxwgfz.js +18 -0
- package/web/dist/assets/alert-dialog-Dj464rjk.js +1 -0
- package/web/dist/assets/arrow-right-Dh_Lx3um.js +1 -0
- package/web/dist/assets/button-CHUAMTHK.js +3 -0
- package/web/dist/assets/centered-state-DGyy0SuA.js +1 -0
- package/web/dist/assets/cez-idle-EVoUsgU3.js +1 -0
- package/web/dist/assets/commit-diff-panel-BJyNYmCY.js +1 -0
- package/web/dist/assets/control-locations-C9II3kPz.js +1 -0
- package/web/dist/assets/design-icons-DmYTv2r1.js +1 -0
- package/web/dist/assets/diff-D_9MtICR.js +3 -0
- package/web/dist/assets/diff-controls-BR2uqhwG.js +1 -0
- package/web/dist/assets/diff-view-xRPxXHXl.js +11 -0
- package/web/dist/assets/dropdown-menu-DhrBcVgr.js +1 -0
- package/web/dist/assets/es2015-D345RR4o.js +41 -0
- package/web/dist/assets/file-preview-D08Kq15E.js +2 -0
- package/web/dist/assets/git-toolbar-D9taioU5.js +1 -0
- package/web/dist/assets/github-bv_pBGc5.js +1 -0
- package/web/dist/assets/github-sidebar-model-B0Ufci5S.js +1 -0
- package/web/dist/assets/global-activity-route-QxTPDyx-.js +1 -0
- package/web/dist/assets/hourglass-B0lPAJvT.js +1 -0
- package/web/dist/assets/{image-preview-C_t9q45f.js → image-preview-Cq1vDiEo.js} +1 -1
- package/web/dist/assets/index-B18AqW0Z.css +1 -0
- package/web/dist/assets/index-DgU3yYUl.js +14 -0
- package/web/dist/assets/index.global-D3Ga_D3Y.js +1 -0
- package/web/dist/assets/live-protocol-BVn0UA_g.js +64 -0
- package/web/dist/assets/live-refetch-BdnmTJ_8.js +1 -0
- package/web/dist/assets/{live-worker-BizfZSoh.ts → live-worker-BWdeGzQX.ts} +2 -1
- package/web/dist/assets/loader-circle-CZkGEdoI.js +1 -0
- package/web/dist/assets/markdown-D7DUNWcJ.js +6 -0
- package/web/dist/assets/mermaid.min-3O9YjB2l.js +1 -0
- package/web/dist/assets/message-square-B-MD-8rD.js +1 -0
- package/web/dist/assets/{nav-row-styles-AoIhhIwf.js → nav-row-styles-BZUUavOF.js} +1 -1
- package/web/dist/assets/popover-DRcRI46x.js +1 -0
- package/web/dist/assets/preview-pane-connected-cD-MTiVN.js +3 -0
- package/web/dist/assets/project-router-MMOk9VbW.js +1 -0
- package/web/dist/assets/project-scope-context-B3M-u8R0.js +4 -0
- package/web/dist/assets/queries-DORTKwyN.js +1 -0
- package/web/dist/assets/repo-git-E_4Ighvg.js +1 -0
- package/web/dist/assets/report-reader-XVNQsXB4.js +1 -0
- package/web/dist/assets/report-title-D4Mbu2Er.js +1 -0
- package/web/dist/assets/reports-B7QAzibP.css +1 -0
- package/web/dist/assets/reports-B_PVTBzP.js +1 -0
- package/web/dist/assets/run-header-wm0gSs6X.js +2 -0
- package/web/dist/assets/skill-empty-hint-YDmkqgo-.js +1 -0
- package/web/dist/assets/skills-D2RLxUIc.js +1 -0
- package/web/dist/assets/skills-DFBiAuJG.js +1 -0
- package/web/dist/assets/skills-workflows-C21NystW.css +1 -0
- package/web/dist/assets/sortable.esm-zp_qkYGV.js +5 -0
- package/web/dist/assets/tab-link-BvoGfK8S.js +1 -0
- package/web/dist/assets/task-changes-DNtkfFzQ.js +1 -0
- package/web/dist/assets/task-commits-CivO-OrN.js +1 -0
- package/web/dist/assets/task-files-dczkxV_G.js +1 -0
- package/web/dist/assets/task-github-item-DKV4yrcf.js +1 -0
- package/web/dist/assets/task-thread-DIaTTGEF.js +9 -0
- package/web/dist/assets/textarea-DlVUfdWG.js +1 -0
- package/web/dist/assets/thread-state-DIozHuHb.js +4 -0
- package/web/dist/assets/toaster-B1MyeHiE.js +1 -0
- package/web/dist/assets/use-hand-to-agent-state-D58ayxI4.js +1 -0
- package/web/dist/assets/useInfiniteQuery-BbYMWe23.js +1 -0
- package/web/dist/assets/useQuery-CqqnAJvu.js +1 -0
- package/web/dist/assets/workflows-YMEsGXeB.js +7 -0
- package/web/dist/assets/ws-BtSVmivO.js +1 -0
- package/web/dist/assets/zoomable-image-5pOUaPEg.js +1 -0
- package/web/dist/index.html +31 -15
- package/web/dist/live-worker.js +2 -2
- package/LICENSE +0 -22
- package/README.md +0 -1725
- package/dist/agent-config/account-identity.d.ts +0 -28
- package/dist/agent-config/account-identity.js +0 -131
- package/dist/agent-config/account-identity.js.map +0 -1
- package/dist/agent-config/catalog.d.ts +0 -70
- package/dist/agent-config/catalog.js +0 -383
- package/dist/agent-config/catalog.js.map +0 -1
- package/dist/agent-config/files.d.ts +0 -42
- package/dist/agent-config/files.js +0 -115
- package/dist/agent-config/files.js.map +0 -1
- package/dist/agent-config/model-settings/claude.d.ts +0 -2
- package/dist/agent-config/model-settings/claude.js +0 -11
- package/dist/agent-config/model-settings/claude.js.map +0 -1
- package/dist/agent-config/model-settings/codex.d.ts +0 -2
- package/dist/agent-config/model-settings/codex.js +0 -16
- package/dist/agent-config/model-settings/codex.js.map +0 -1
- package/dist/agent-config/model-settings/opencode.d.ts +0 -2
- package/dist/agent-config/model-settings/opencode.js +0 -8
- package/dist/agent-config/model-settings/opencode.js.map +0 -1
- package/dist/agent-config/model-settings/pi.d.ts +0 -2
- package/dist/agent-config/model-settings/pi.js +0 -38
- package/dist/agent-config/model-settings/pi.js.map +0 -1
- package/dist/agent-config/model-settings/shared.d.ts +0 -12
- package/dist/agent-config/model-settings/shared.js +0 -100
- package/dist/agent-config/model-settings/shared.js.map +0 -1
- package/dist/agent-config/model-settings/types.d.ts +0 -9
- package/dist/agent-config/model-settings/types.js +0 -2
- package/dist/agent-config/model-settings/types.js.map +0 -1
- package/dist/agent-config/models.d.ts +0 -9
- package/dist/agent-config/models.js +0 -40
- package/dist/agent-config/models.js.map +0 -1
- package/dist/agent-config/seed.d.ts +0 -15
- package/dist/agent-config/seed.js +0 -94
- package/dist/agent-config/seed.js.map +0 -1
- package/dist/agent-config/service.d.ts +0 -44
- package/dist/agent-config/service.js +0 -72
- package/dist/agent-config/service.js.map +0 -1
- package/dist/agent-config/validate.d.ts +0 -18
- package/dist/agent-config/validate.js +0 -82
- package/dist/agent-config/validate.js.map +0 -1
- package/dist/application-update/bin-recovery.d.ts +0 -5
- package/dist/application-update/bin-recovery.js +0 -96
- package/dist/application-update/bin-recovery.js.map +0 -1
- package/dist/application-update/discovery.d.ts +0 -22
- package/dist/application-update/discovery.js +0 -91
- package/dist/application-update/discovery.js.map +0 -1
- package/dist/application-update/helper.d.ts +0 -57
- package/dist/application-update/helper.js +0 -369
- package/dist/application-update/helper.js.map +0 -1
- package/dist/application-update/launcher.d.ts +0 -12
- package/dist/application-update/launcher.js +0 -59
- package/dist/application-update/launcher.js.map +0 -1
- package/dist/application-update/lock.d.ts +0 -4
- package/dist/application-update/lock.js +0 -70
- package/dist/application-update/lock.js.map +0 -1
- package/dist/application-update/npm-process.d.ts +0 -17
- package/dist/application-update/npm-process.js +0 -133
- package/dist/application-update/npm-process.js.map +0 -1
- package/dist/application-update/service.d.ts +0 -69
- package/dist/application-update/service.js +0 -456
- package/dist/application-update/service.js.map +0 -1
- package/dist/archive-on-merge-setting.d.ts +0 -15
- package/dist/archive-on-merge-setting.js +0 -14
- package/dist/archive-on-merge-setting.js.map +0 -1
- package/dist/artifacts/cli.d.ts +0 -9
- package/dist/artifacts/cli.js +0 -59
- package/dist/artifacts/cli.js.map +0 -1
- package/dist/artifacts/lifecycle.d.ts +0 -4
- package/dist/artifacts/lifecycle.js +0 -42
- package/dist/artifacts/lifecycle.js.map +0 -1
- package/dist/artifacts/resolve.d.ts +0 -18
- package/dist/artifacts/resolve.js +0 -103
- package/dist/artifacts/resolve.js.map +0 -1
- package/dist/artifacts/store.d.ts +0 -8
- package/dist/artifacts/store.js +0 -323
- package/dist/artifacts/store.js.map +0 -1
- package/dist/automations/automation-cli.d.ts +0 -59
- package/dist/automations/automation-cli.js +0 -509
- package/dist/automations/automation-cli.js.map +0 -1
- package/dist/automations/builtin-skill.d.ts +0 -7
- package/dist/automations/builtin-skill.js +0 -14
- package/dist/automations/builtin-skill.js.map +0 -1
- package/dist/automations/coordinator.d.ts +0 -33
- package/dist/automations/coordinator.js +0 -86
- package/dist/automations/coordinator.js.map +0 -1
- package/dist/automations/github-baseline.d.ts +0 -3
- package/dist/automations/github-baseline.js +0 -17
- package/dist/automations/github-baseline.js.map +0 -1
- package/dist/automations/github-poller.d.ts +0 -93
- package/dist/automations/github-poller.js +0 -303
- package/dist/automations/github-poller.js.map +0 -1
- package/dist/automations/prompts.d.ts +0 -12
- package/dist/automations/prompts.js +0 -160
- package/dist/automations/prompts.js.map +0 -1
- package/dist/automations/schedule-runner.d.ts +0 -149
- package/dist/automations/schedule-runner.js +0 -513
- package/dist/automations/schedule-runner.js.map +0 -1
- package/dist/automations/scheduler.d.ts +0 -87
- package/dist/automations/scheduler.js +0 -434
- package/dist/automations/scheduler.js.map +0 -1
- package/dist/automations/service.d.ts +0 -777
- package/dist/automations/service.js +0 -444
- package/dist/automations/service.js.map +0 -1
- package/dist/automations/store.d.ts +0 -160
- package/dist/automations/store.js +0 -738
- package/dist/automations/store.js.map +0 -1
- package/dist/automations/task-template.d.ts +0 -59
- package/dist/automations/task-template.js +0 -273
- package/dist/automations/task-template.js.map +0 -1
- package/dist/automations/tool-adapter.d.ts +0 -6
- package/dist/automations/tool-adapter.js +0 -108
- package/dist/automations/tool-adapter.js.map +0 -1
- package/dist/automations/types.d.ts +0 -1
- package/dist/automations/types.js +0 -2
- package/dist/automations/types.js.map +0 -1
- package/dist/autosave-cleanup.d.ts +0 -26
- package/dist/autosave-cleanup.js +0 -87
- package/dist/autosave-cleanup.js.map +0 -1
- package/dist/autosave-git.d.ts +0 -21
- package/dist/autosave-git.js +0 -204
- package/dist/autosave-git.js.map +0 -1
- package/dist/autosave-group.d.ts +0 -8
- package/dist/autosave-group.js +0 -61
- package/dist/autosave-group.js.map +0 -1
- package/dist/autosave-holders.d.ts +0 -34
- package/dist/autosave-holders.js +0 -204
- package/dist/autosave-holders.js.map +0 -1
- package/dist/autosave-windows.d.ts +0 -25
- package/dist/autosave-windows.js +0 -156
- package/dist/autosave-windows.js.map +0 -1
- package/dist/ci-wait/client.d.ts +0 -28
- package/dist/ci-wait/client.js +0 -105
- package/dist/ci-wait/client.js.map +0 -1
- package/dist/ci-wait/controller.d.ts +0 -756
- package/dist/ci-wait/controller.js +0 -334
- package/dist/ci-wait/controller.js.map +0 -1
- package/dist/ci-wait/errors.d.ts +0 -27
- package/dist/ci-wait/errors.js +0 -252
- package/dist/ci-wait/errors.js.map +0 -1
- package/dist/ci-wait/github.d.ts +0 -87
- package/dist/ci-wait/github.js +0 -278
- package/dist/ci-wait/github.js.map +0 -1
- package/dist/ci-wait/injection.d.ts +0 -3
- package/dist/ci-wait/injection.js +0 -26
- package/dist/ci-wait/injection.js.map +0 -1
- package/dist/ci-wait/mcp.d.ts +0 -3
- package/dist/ci-wait/mcp.js +0 -30
- package/dist/ci-wait/mcp.js.map +0 -1
- package/dist/ci-wait/resources.d.ts +0 -7
- package/dist/ci-wait/resources.js +0 -32
- package/dist/ci-wait/resources.js.map +0 -1
- package/dist/ci-wait/supervisor.d.ts +0 -29
- package/dist/ci-wait/supervisor.js +0 -260
- package/dist/ci-wait/supervisor.js.map +0 -1
- package/dist/ci-wait/tools.d.ts +0 -827
- package/dist/ci-wait/tools.js +0 -208
- package/dist/ci-wait/tools.js.map +0 -1
- package/dist/config.d.ts +0 -68
- package/dist/config.js +0 -209
- package/dist/config.js.map +0 -1
- package/dist/contract/active-provider.d.ts +0 -12
- package/dist/contract/agent-config.d.ts +0 -160
- package/dist/contract/agent-profiles.d.ts +0 -369
- package/dist/contract/application-update.d.ts +0 -32
- package/dist/contract/artifacts.d.ts +0 -83
- package/dist/contract/ask-schema.d.ts +0 -50
- package/dist/contract/ask.d.ts +0 -9
- package/dist/contract/attachments.d.ts +0 -35
- package/dist/contract/attention.d.ts +0 -90
- package/dist/contract/automation-requests.d.ts +0 -308
- package/dist/contract/automation-schedule.d.ts +0 -89
- package/dist/contract/automation-storage.d.ts +0 -512
- package/dist/contract/automations.d.ts +0 -1542
- package/dist/contract/ci-wait.d.ts +0 -222
- package/dist/contract/config-requests.d.ts +0 -36
- package/dist/contract/conversations.d.ts +0 -351
- package/dist/contract/defined.d.ts +0 -8
- package/dist/contract/delegation.d.ts +0 -1882
- package/dist/contract/discovery.d.ts +0 -141
- package/dist/contract/effort.d.ts +0 -18
- package/dist/contract/events.d.ts +0 -292
- package/dist/contract/github-requests.d.ts +0 -26
- package/dist/contract/github.d.ts +0 -732
- package/dist/contract/handoff.d.ts +0 -43
- package/dist/contract/health.d.ts +0 -124
- package/dist/contract/image-path.d.ts +0 -6
- package/dist/contract/index.d.ts +0 -59
- package/dist/contract/index.js +0 -5887
- package/dist/contract/live-coordination.d.ts +0 -158
- package/dist/contract/live-limits.d.ts +0 -8
- package/dist/contract/live.d.ts +0 -123
- package/dist/contract/pending-ask.d.ts +0 -58
- package/dist/contract/permissions.d.ts +0 -54
- package/dist/contract/preview.d.ts +0 -541
- package/dist/contract/project-limits.d.ts +0 -33
- package/dist/contract/projects.d.ts +0 -716
- package/dist/contract/provider-requests.d.ts +0 -77
- package/dist/contract/query-requests.d.ts +0 -52
- package/dist/contract/repo-requests.d.ts +0 -12
- package/dist/contract/repo.d.ts +0 -496
- package/dist/contract/run-labels.d.ts +0 -8
- package/dist/contract/run-limits.d.ts +0 -8
- package/dist/contract/run-predicates.d.ts +0 -32
- package/dist/contract/run-requests.d.ts +0 -33
- package/dist/contract/run-search.d.ts +0 -193
- package/dist/contract/runs.d.ts +0 -5340
- package/dist/contract/scheduled-tasks.d.ts +0 -187
- package/dist/contract/skills.d.ts +0 -56
- package/dist/contract/team-skill-ref.d.ts +0 -10
- package/dist/contract/tool-display.d.ts +0 -25
- package/dist/contract/ui-state-requests.d.ts +0 -60
- package/dist/contract/version.d.ts +0 -3
- package/dist/contract/voice.d.ts +0 -213
- package/dist/contract/waits.d.ts +0 -1204
- package/dist/contract/workflow-file.d.ts +0 -37
- package/dist/contract/workflow-requests.d.ts +0 -7
- package/dist/contract/workflows.d.ts +0 -250
- package/dist/contract/workspace.d.ts +0 -631
- package/dist/contract/zoned-time.d.ts +0 -26
- package/dist/core/agent-env.d.ts +0 -30
- package/dist/core/agent-env.js +0 -400
- package/dist/core/agent-env.js.map +0 -1
- package/dist/core/agent-model-policy.d.ts +0 -10
- package/dist/core/agent-model-policy.js +0 -36
- package/dist/core/agent-model-policy.js.map +0 -1
- package/dist/core/agent-profiles.d.ts +0 -50
- package/dist/core/agent-profiles.js +0 -105
- package/dist/core/agent-profiles.js.map +0 -1
- package/dist/core/agent-runner.d.ts +0 -394
- package/dist/core/agent-runner.js +0 -96
- package/dist/core/agent-runner.js.map +0 -1
- package/dist/core/ask.d.ts +0 -79
- package/dist/core/ask.js +0 -232
- package/dist/core/ask.js.map +0 -1
- package/dist/core/backend-detect.d.ts +0 -17
- package/dist/core/backend-detect.js +0 -209
- package/dist/core/backend-detect.js.map +0 -1
- package/dist/core/claude-cli-runner.d.ts +0 -72
- package/dist/core/claude-cli-runner.js +0 -910
- package/dist/core/claude-cli-runner.js.map +0 -1
- package/dist/core/claude-model-catalog.d.ts +0 -16
- package/dist/core/claude-model-catalog.js +0 -198
- package/dist/core/claude-model-catalog.js.map +0 -1
- package/dist/core/claude-ui-mapper.d.ts +0 -80
- package/dist/core/claude-ui-mapper.js +0 -696
- package/dist/core/claude-ui-mapper.js.map +0 -1
- package/dist/core/codex-app-server-runner.d.ts +0 -61
- package/dist/core/codex-app-server-runner.js +0 -1278
- package/dist/core/codex-app-server-runner.js.map +0 -1
- package/dist/core/codex-app-server-transport.d.ts +0 -52
- package/dist/core/codex-app-server-transport.js +0 -199
- package/dist/core/codex-app-server-transport.js.map +0 -1
- package/dist/core/codex-approvals.d.ts +0 -12
- package/dist/core/codex-approvals.js +0 -161
- package/dist/core/codex-approvals.js.map +0 -1
- package/dist/core/codex-model-catalog.d.ts +0 -10
- package/dist/core/codex-model-catalog.js +0 -110
- package/dist/core/codex-model-catalog.js.map +0 -1
- package/dist/core/codex-permissions.d.ts +0 -6
- package/dist/core/codex-permissions.js +0 -27
- package/dist/core/codex-permissions.js.map +0 -1
- package/dist/core/codex-stream-error.d.ts +0 -2
- package/dist/core/codex-stream-error.js +0 -12
- package/dist/core/codex-stream-error.js.map +0 -1
- package/dist/core/codex-turn-outcome.d.ts +0 -8
- package/dist/core/codex-turn-outcome.js +0 -30
- package/dist/core/codex-turn-outcome.js.map +0 -1
- package/dist/core/codex-ui-mapper.d.ts +0 -112
- package/dist/core/codex-ui-mapper.js +0 -808
- package/dist/core/codex-ui-mapper.js.map +0 -1
- package/dist/core/cursor-acp-runner.d.ts +0 -34
- package/dist/core/cursor-acp-runner.js +0 -777
- package/dist/core/cursor-acp-runner.js.map +0 -1
- package/dist/core/cursor-cli-flags.d.ts +0 -19
- package/dist/core/cursor-cli-flags.js +0 -47
- package/dist/core/cursor-cli-flags.js.map +0 -1
- package/dist/core/cursor-config-options.d.ts +0 -18
- package/dist/core/cursor-config-options.js +0 -31
- package/dist/core/cursor-config-options.js.map +0 -1
- package/dist/core/cursor-model-catalog.d.ts +0 -45
- package/dist/core/cursor-model-catalog.js +0 -300
- package/dist/core/cursor-model-catalog.js.map +0 -1
- package/dist/core/cursor-print-capabilities.d.ts +0 -16
- package/dist/core/cursor-print-capabilities.js +0 -141
- package/dist/core/cursor-print-capabilities.js.map +0 -1
- package/dist/core/cursor-print-process.d.ts +0 -31
- package/dist/core/cursor-print-process.js +0 -117
- package/dist/core/cursor-print-process.js.map +0 -1
- package/dist/core/cursor-print-runner.d.ts +0 -31
- package/dist/core/cursor-print-runner.js +0 -555
- package/dist/core/cursor-print-runner.js.map +0 -1
- package/dist/core/cursor-print-tool-catalog.d.ts +0 -10
- package/dist/core/cursor-print-tool-catalog.js +0 -91
- package/dist/core/cursor-print-tool-catalog.js.map +0 -1
- package/dist/core/cursor-print-ui-mapper.d.ts +0 -47
- package/dist/core/cursor-print-ui-mapper.js +0 -553
- package/dist/core/cursor-print-ui-mapper.js.map +0 -1
- package/dist/core/cursor-provider-error.d.ts +0 -33
- package/dist/core/cursor-provider-error.js +0 -68
- package/dist/core/cursor-provider-error.js.map +0 -1
- package/dist/core/cursor-runner.d.ts +0 -24
- package/dist/core/cursor-runner.js +0 -149
- package/dist/core/cursor-runner.js.map +0 -1
- package/dist/core/cursor-ui-mapper.d.ts +0 -29
- package/dist/core/cursor-ui-mapper.js +0 -275
- package/dist/core/cursor-ui-mapper.js.map +0 -1
- package/dist/core/defined.d.ts +0 -1
- package/dist/core/defined.js +0 -2
- package/dist/core/defined.js.map +0 -1
- package/dist/core/hook-items.d.ts +0 -14
- package/dist/core/hook-items.js +0 -13
- package/dist/core/hook-items.js.map +0 -1
- package/dist/core/host-model-catalog.d.ts +0 -7
- package/dist/core/host-model-catalog.js +0 -21
- package/dist/core/host-model-catalog.js.map +0 -1
- package/dist/core/input-submissions.d.ts +0 -14
- package/dist/core/input-submissions.js +0 -26
- package/dist/core/input-submissions.js.map +0 -1
- package/dist/core/managed-session.d.ts +0 -6
- package/dist/core/managed-session.js +0 -116
- package/dist/core/managed-session.js.map +0 -1
- package/dist/core/model-identity.d.ts +0 -108
- package/dist/core/model-identity.js +0 -137
- package/dist/core/model-identity.js.map +0 -1
- package/dist/core/model-presets.d.ts +0 -10
- package/dist/core/model-presets.js +0 -77
- package/dist/core/model-presets.js.map +0 -1
- package/dist/core/ndjson.d.ts +0 -6
- package/dist/core/ndjson.js +0 -23
- package/dist/core/ndjson.js.map +0 -1
- package/dist/core/omp-model-catalog.d.ts +0 -43
- package/dist/core/omp-model-catalog.js +0 -205
- package/dist/core/omp-model-catalog.js.map +0 -1
- package/dist/core/omp-runner.d.ts +0 -72
- package/dist/core/omp-runner.js +0 -1049
- package/dist/core/omp-runner.js.map +0 -1
- package/dist/core/omp-ui-mapper.d.ts +0 -106
- package/dist/core/omp-ui-mapper.js +0 -882
- package/dist/core/omp-ui-mapper.js.map +0 -1
- package/dist/core/opencode-model-catalog.d.ts +0 -32
- package/dist/core/opencode-model-catalog.js +0 -215
- package/dist/core/opencode-model-catalog.js.map +0 -1
- package/dist/core/opencode-permissions.d.ts +0 -52
- package/dist/core/opencode-permissions.js +0 -101
- package/dist/core/opencode-permissions.js.map +0 -1
- package/dist/core/opencode-server-runner.d.ts +0 -61
- package/dist/core/opencode-server-runner.js +0 -1692
- package/dist/core/opencode-server-runner.js.map +0 -1
- package/dist/core/opencode-session-error.d.ts +0 -19
- package/dist/core/opencode-session-error.js +0 -42
- package/dist/core/opencode-session-error.js.map +0 -1
- package/dist/core/opencode-ui-mapper.d.ts +0 -137
- package/dist/core/opencode-ui-mapper.js +0 -768
- package/dist/core/opencode-ui-mapper.js.map +0 -1
- package/dist/core/pi-model-catalog.d.ts +0 -38
- package/dist/core/pi-model-catalog.js +0 -249
- package/dist/core/pi-model-catalog.js.map +0 -1
- package/dist/core/pi-runner.d.ts +0 -43
- package/dist/core/pi-runner.js +0 -827
- package/dist/core/pi-runner.js.map +0 -1
- package/dist/core/pi-ui-mapper.d.ts +0 -52
- package/dist/core/pi-ui-mapper.js +0 -395
- package/dist/core/pi-ui-mapper.js.map +0 -1
- package/dist/core/process-usage.d.ts +0 -74
- package/dist/core/process-usage.js +0 -218
- package/dist/core/process-usage.js.map +0 -1
- package/dist/core/provider-auth.d.ts +0 -168
- package/dist/core/provider-auth.js +0 -660
- package/dist/core/provider-auth.js.map +0 -1
- package/dist/core/provider-availability.d.ts +0 -3
- package/dist/core/provider-availability.js +0 -14
- package/dist/core/provider-availability.js.map +0 -1
- package/dist/core/runner-factory.d.ts +0 -11
- package/dist/core/runner-factory.js +0 -31
- package/dist/core/runner-factory.js.map +0 -1
- package/dist/core/runner-model-catalog.d.ts +0 -34
- package/dist/core/runner-model-catalog.js +0 -109
- package/dist/core/runner-model-catalog.js.map +0 -1
- package/dist/core/runner-runtime.d.ts +0 -40
- package/dist/core/runner-runtime.js +0 -88
- package/dist/core/runner-runtime.js.map +0 -1
- package/dist/core/runner-stderr.d.ts +0 -2
- package/dist/core/runner-stderr.js +0 -20
- package/dist/core/runner-stderr.js.map +0 -1
- package/dist/core/runner-tool-grants.d.ts +0 -21
- package/dist/core/runner-tool-grants.js +0 -64
- package/dist/core/runner-tool-grants.js.map +0 -1
- package/dist/core/secret-redaction.d.ts +0 -20
- package/dist/core/secret-redaction.js +0 -98
- package/dist/core/secret-redaction.js.map +0 -1
- package/dist/core/session-process.d.ts +0 -42
- package/dist/core/session-process.js +0 -360
- package/dist/core/session-process.js.map +0 -1
- package/dist/core/shell-env.d.ts +0 -17
- package/dist/core/shell-env.js +0 -51
- package/dist/core/shell-env.js.map +0 -1
- package/dist/core/ui-events.d.ts +0 -348
- package/dist/core/ui-events.js +0 -2
- package/dist/core/ui-events.js.map +0 -1
- package/dist/core/usage-limit.d.ts +0 -42
- package/dist/core/usage-limit.js +0 -152
- package/dist/core/usage-limit.js.map +0 -1
- package/dist/core/usage.d.ts +0 -11
- package/dist/core/usage.js +0 -15
- package/dist/core/usage.js.map +0 -1
- package/dist/core/v1-text-coalescer.d.ts +0 -36
- package/dist/core/v1-text-coalescer.js +0 -72
- package/dist/core/v1-text-coalescer.js.map +0 -1
- package/dist/data-gitignore.d.ts +0 -6
- package/dist/data-gitignore.js +0 -59
- package/dist/data-gitignore.js.map +0 -1
- package/dist/delegation/capacity.d.ts +0 -15
- package/dist/delegation/capacity.js +0 -30
- package/dist/delegation/capacity.js.map +0 -1
- package/dist/delegation/cli.d.ts +0 -4
- package/dist/delegation/cli.js +0 -481
- package/dist/delegation/cli.js.map +0 -1
- package/dist/delegation/context.d.ts +0 -40
- package/dist/delegation/context.js +0 -378
- package/dist/delegation/context.js.map +0 -1
- package/dist/delegation/conversations.d.ts +0 -9
- package/dist/delegation/conversations.js +0 -66
- package/dist/delegation/conversations.js.map +0 -1
- package/dist/delegation/credentials.d.ts +0 -21
- package/dist/delegation/credentials.js +0 -66
- package/dist/delegation/credentials.js.map +0 -1
- package/dist/delegation/destroy-observation.d.ts +0 -42
- package/dist/delegation/destroy-observation.js +0 -115
- package/dist/delegation/destroy-observation.js.map +0 -1
- package/dist/delegation/effort.d.ts +0 -1
- package/dist/delegation/effort.js +0 -11
- package/dist/delegation/effort.js.map +0 -1
- package/dist/delegation/execution-identity.d.ts +0 -180
- package/dist/delegation/execution-identity.js +0 -154
- package/dist/delegation/execution-identity.js.map +0 -1
- package/dist/delegation/idle-test-app.d.ts +0 -4
- package/dist/delegation/idle-test-app.js +0 -174
- package/dist/delegation/idle-test-app.js.map +0 -1
- package/dist/delegation/input.d.ts +0 -12
- package/dist/delegation/input.js +0 -50
- package/dist/delegation/input.js.map +0 -1
- package/dist/delegation/park-notice.d.ts +0 -42
- package/dist/delegation/park-notice.js +0 -71
- package/dist/delegation/park-notice.js.map +0 -1
- package/dist/delegation/policy.d.ts +0 -22
- package/dist/delegation/policy.js +0 -95
- package/dist/delegation/policy.js.map +0 -1
- package/dist/delegation/process-liveness.d.ts +0 -98
- package/dist/delegation/process-liveness.js +0 -213
- package/dist/delegation/process-liveness.js.map +0 -1
- package/dist/delegation/provision.d.ts +0 -32
- package/dist/delegation/provision.js +0 -177
- package/dist/delegation/provision.js.map +0 -1
- package/dist/delegation/questions.d.ts +0 -21
- package/dist/delegation/questions.js +0 -50
- package/dist/delegation/questions.js.map +0 -1
- package/dist/delegation/readiness.d.ts +0 -13
- package/dist/delegation/readiness.js +0 -19
- package/dist/delegation/readiness.js.map +0 -1
- package/dist/delegation/results.d.ts +0 -13
- package/dist/delegation/results.js +0 -154
- package/dist/delegation/results.js.map +0 -1
- package/dist/delegation/retry-backoff.d.ts +0 -31
- package/dist/delegation/retry-backoff.js +0 -26
- package/dist/delegation/retry-backoff.js.map +0 -1
- package/dist/delegation/routes.d.ts +0 -953
- package/dist/delegation/routes.js +0 -74
- package/dist/delegation/routes.js.map +0 -1
- package/dist/delegation/scratch-cleanup.d.ts +0 -28
- package/dist/delegation/scratch-cleanup.js +0 -145
- package/dist/delegation/scratch-cleanup.js.map +0 -1
- package/dist/delegation/service.d.ts +0 -211
- package/dist/delegation/service.js +0 -946
- package/dist/delegation/service.js.map +0 -1
- package/dist/delegation/transport.d.ts +0 -931
- package/dist/delegation/transport.js +0 -22
- package/dist/delegation/transport.js.map +0 -1
- package/dist/delegation/wait.d.ts +0 -14
- package/dist/delegation/wait.js +0 -72
- package/dist/delegation/wait.js.map +0 -1
- package/dist/delegation/windows-test-app.d.ts +0 -5
- package/dist/delegation/windows-test-app.js +0 -63
- package/dist/delegation/windows-test-app.js.map +0 -1
- package/dist/delegation/windows-workspace-identity.d.ts +0 -3
- package/dist/delegation/windows-workspace-identity.js +0 -22
- package/dist/delegation/windows-workspace-identity.js.map +0 -1
- package/dist/delegation/workspace.d.ts +0 -33
- package/dist/delegation/workspace.js +0 -556
- package/dist/delegation/workspace.js.map +0 -1
- package/dist/detached-process.d.ts +0 -103
- package/dist/detached-process.js +0 -301
- package/dist/detached-process.js.map +0 -1
- package/dist/discovery/catalog.d.ts +0 -15
- package/dist/discovery/catalog.js +0 -31
- package/dist/discovery/catalog.js.map +0 -1
- package/dist/discovery/cli.d.ts +0 -8
- package/dist/discovery/cli.js +0 -106
- package/dist/discovery/cli.js.map +0 -1
- package/dist/git-diff-base.d.ts +0 -41
- package/dist/git-diff-base.js +0 -116
- package/dist/git-diff-base.js.map +0 -1
- package/dist/git-index-copy.d.ts +0 -4
- package/dist/git-index-copy.js +0 -10
- package/dist/git-index-copy.js.map +0 -1
- package/dist/git-refs.d.ts +0 -11
- package/dist/git-refs.js +0 -14
- package/dist/git-refs.js.map +0 -1
- package/dist/git-worktree-lock-helper.d.ts +0 -7
- package/dist/git-worktree-lock-helper.js +0 -158
- package/dist/git-worktree-lock-helper.js.map +0 -1
- package/dist/git-worktree-lock.d.ts +0 -17
- package/dist/git-worktree-lock.js +0 -90
- package/dist/git-worktree-lock.js.map +0 -1
- package/dist/git-worktree-release.d.ts +0 -20
- package/dist/git-worktree-release.js +0 -27
- package/dist/git-worktree-release.js.map +0 -1
- package/dist/git-worktree.d.ts +0 -154
- package/dist/git-worktree.js +0 -858
- package/dist/git-worktree.js.map +0 -1
- package/dist/handoff.d.ts +0 -72
- package/dist/handoff.js +0 -206
- package/dist/handoff.js.map +0 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.js.map +0 -1
- package/dist/install-as-command.d.ts +0 -40
- package/dist/install-as-command.js +0 -52
- package/dist/install-as-command.js.map +0 -1
- package/dist/merge-observations.d.ts +0 -13
- package/dist/merge-observations.js +0 -55
- package/dist/merge-observations.js.map +0 -1
- package/dist/open-url.d.ts +0 -2
- package/dist/open-url.js +0 -10
- package/dist/open-url.js.map +0 -1
- package/dist/pack-check.d.ts +0 -17
- package/dist/pack-check.js +0 -27
- package/dist/pack-check.js.map +0 -1
- package/dist/paths.d.ts +0 -138
- package/dist/paths.js +0 -220
- package/dist/paths.js.map +0 -1
- package/dist/planner.d.ts +0 -28
- package/dist/planner.js +0 -271
- package/dist/planner.js.map +0 -1
- package/dist/preview/agent-address.d.ts +0 -34
- package/dist/preview/agent-address.js +0 -51
- package/dist/preview/agent-address.js.map +0 -1
- package/dist/preview/agent-marker.d.ts +0 -17
- package/dist/preview/agent-marker.js +0 -71
- package/dist/preview/agent-marker.js.map +0 -1
- package/dist/preview/cdp-proxy.d.ts +0 -54
- package/dist/preview/cdp-proxy.js +0 -151
- package/dist/preview/cdp-proxy.js.map +0 -1
- package/dist/preview/cdp.d.ts +0 -49
- package/dist/preview/cdp.js +0 -167
- package/dist/preview/cdp.js.map +0 -1
- package/dist/preview/chromium.d.ts +0 -87
- package/dist/preview/chromium.js +0 -481
- package/dist/preview/chromium.js.map +0 -1
- package/dist/preview/dev-server.d.ts +0 -68
- package/dist/preview/dev-server.js +0 -317
- package/dist/preview/dev-server.js.map +0 -1
- package/dist/preview/host.d.ts +0 -221
- package/dist/preview/host.js +0 -967
- package/dist/preview/host.js.map +0 -1
- package/dist/preview/registration.d.ts +0 -68
- package/dist/preview/registration.js +0 -111
- package/dist/preview/registration.js.map +0 -1
- package/dist/preview/session.d.ts +0 -75
- package/dist/preview/session.js +0 -357
- package/dist/preview/session.js.map +0 -1
- package/dist/preview/url.d.ts +0 -6
- package/dist/preview/url.js +0 -17
- package/dist/preview/url.js.map +0 -1
- package/dist/process-wait/exit-file.d.ts +0 -29
- package/dist/process-wait/exit-file.js +0 -67
- package/dist/process-wait/exit-file.js.map +0 -1
- package/dist/process-wait/supervisor.d.ts +0 -30
- package/dist/process-wait/supervisor.js +0 -71
- package/dist/process-wait/supervisor.js.map +0 -1
- package/dist/release/manifests.d.ts +0 -103
- package/dist/release/manifests.js +0 -90
- package/dist/release/manifests.js.map +0 -1
- package/dist/release/snapshot.d.ts +0 -67
- package/dist/release/snapshot.js +0 -97
- package/dist/release/snapshot.js.map +0 -1
- package/dist/release/stable.d.ts +0 -38
- package/dist/release/stable.js +0 -55
- package/dist/release/stable.js.map +0 -1
- package/dist/runs/agent-tmpdir-removal.d.ts +0 -15
- package/dist/runs/agent-tmpdir-removal.js +0 -60
- package/dist/runs/agent-tmpdir-removal.js.map +0 -1
- package/dist/runs/agent-tmpdir.d.ts +0 -119
- package/dist/runs/agent-tmpdir.js +0 -829
- package/dist/runs/agent-tmpdir.js.map +0 -1
- package/dist/runs/arm-repo-handle.d.ts +0 -9
- package/dist/runs/arm-repo-handle.js +0 -45
- package/dist/runs/arm-repo-handle.js.map +0 -1
- package/dist/runs/auto-name.d.ts +0 -75
- package/dist/runs/auto-name.js +0 -179
- package/dist/runs/auto-name.js.map +0 -1
- package/dist/runs/client-request.d.ts +0 -11
- package/dist/runs/client-request.js +0 -26
- package/dist/runs/client-request.js.map +0 -1
- package/dist/runs/delegation-state.d.ts +0 -400
- package/dist/runs/delegation-state.js +0 -22
- package/dist/runs/delegation-state.js.map +0 -1
- package/dist/runs/event-history-agent-context.d.ts +0 -14
- package/dist/runs/event-history-agent-context.js +0 -105
- package/dist/runs/event-history-agent-context.js.map +0 -1
- package/dist/runs/event-history-context.d.ts +0 -15
- package/dist/runs/event-history-context.js +0 -109
- package/dist/runs/event-history-context.js.map +0 -1
- package/dist/runs/event-history.d.ts +0 -53
- package/dist/runs/event-history.js +0 -535
- package/dist/runs/event-history.js.map +0 -1
- package/dist/runs/history-compressor.d.ts +0 -29
- package/dist/runs/history-compressor.js +0 -116
- package/dist/runs/history-compressor.js.map +0 -1
- package/dist/runs/history-file.d.ts +0 -36
- package/dist/runs/history-file.js +0 -463
- package/dist/runs/history-file.js.map +0 -1
- package/dist/runs/history-stream.d.ts +0 -2
- package/dist/runs/history-stream.js +0 -62
- package/dist/runs/history-stream.js.map +0 -1
- package/dist/runs/legacy-index.d.ts +0 -49
- package/dist/runs/legacy-index.js +0 -155
- package/dist/runs/legacy-index.js.map +0 -1
- package/dist/runs/live-item-snapshots.d.ts +0 -13
- package/dist/runs/live-item-snapshots.js +0 -79
- package/dist/runs/live-item-snapshots.js.map +0 -1
- package/dist/runs/loaded-run-healing.d.ts +0 -3
- package/dist/runs/loaded-run-healing.js +0 -17
- package/dist/runs/loaded-run-healing.js.map +0 -1
- package/dist/runs/outcome-commit.d.ts +0 -98
- package/dist/runs/outcome-commit.js +0 -132
- package/dist/runs/outcome-commit.js.map +0 -1
- package/dist/runs/pull-requests.d.ts +0 -14
- package/dist/runs/pull-requests.js +0 -96
- package/dist/runs/pull-requests.js.map +0 -1
- package/dist/runs/raw-record.d.ts +0 -40
- package/dist/runs/raw-record.js +0 -133
- package/dist/runs/raw-record.js.map +0 -1
- package/dist/runs/retention.d.ts +0 -91
- package/dist/runs/retention.js +0 -182
- package/dist/runs/retention.js.map +0 -1
- package/dist/runs/review-gate.d.ts +0 -18
- package/dist/runs/review-gate.js +0 -21
- package/dist/runs/review-gate.js.map +0 -1
- package/dist/runs/run-claims.d.ts +0 -16
- package/dist/runs/run-claims.js +0 -24
- package/dist/runs/run-claims.js.map +0 -1
- package/dist/runs/run-database.d.ts +0 -380
- package/dist/runs/run-database.js +0 -1008
- package/dist/runs/run-database.js.map +0 -1
- package/dist/runs/run-index.d.ts +0 -26
- package/dist/runs/run-index.js +0 -212
- package/dist/runs/run-index.js.map +0 -1
- package/dist/runs/run-row.d.ts +0 -15
- package/dist/runs/run-row.js +0 -59
- package/dist/runs/run-row.js.map +0 -1
- package/dist/runs/store-open-error.d.ts +0 -24
- package/dist/runs/store-open-error.js +0 -61
- package/dist/runs/store-open-error.js.map +0 -1
- package/dist/runs/store.d.ts +0 -3090
- package/dist/runs/store.js +0 -4693
- package/dist/runs/store.js.map +0 -1
- package/dist/runs/task-markers.d.ts +0 -29
- package/dist/runs/task-markers.js +0 -78
- package/dist/runs/task-markers.js.map +0 -1
- package/dist/runs/task-refs.d.ts +0 -25
- package/dist/runs/task-refs.js +0 -74
- package/dist/runs/task-refs.js.map +0 -1
- package/dist/runs/transcript-facts-fold.d.ts +0 -64
- package/dist/runs/transcript-facts-fold.js +0 -109
- package/dist/runs/transcript-facts-fold.js.map +0 -1
- package/dist/runs/transcript-facts-load.d.ts +0 -11
- package/dist/runs/transcript-facts-load.js +0 -66
- package/dist/runs/transcript-facts-load.js.map +0 -1
- package/dist/runs/transcript-facts-queue.d.ts +0 -30
- package/dist/runs/transcript-facts-queue.js +0 -227
- package/dist/runs/transcript-facts-queue.js.map +0 -1
- package/dist/runs/transcript-facts-worker.d.ts +0 -15
- package/dist/runs/transcript-facts-worker.js +0 -26
- package/dist/runs/transcript-facts-worker.js.map +0 -1
- package/dist/runs/transcript-facts.d.ts +0 -39
- package/dist/runs/transcript-facts.js +0 -186
- package/dist/runs/transcript-facts.js.map +0 -1
- package/dist/runs/ui-event-sink.d.ts +0 -56
- package/dist/runs/ui-event-sink.js +0 -188
- package/dist/runs/ui-event-sink.js.map +0 -1
- package/dist/runs/webhook.d.ts +0 -191
- package/dist/runs/webhook.js +0 -360
- package/dist/runs/webhook.js.map +0 -1
- package/dist/runs/worker-execution.d.ts +0 -22
- package/dist/runs/worker-execution.js +0 -30
- package/dist/runs/worker-execution.js.map +0 -1
- package/dist/server/app-type.js.map +0 -1
- package/dist/server/archive-on-merge.d.ts +0 -35
- package/dist/server/archive-on-merge.js +0 -202
- package/dist/server/archive-on-merge.js.map +0 -1
- package/dist/server/capabilities.d.ts +0 -59
- package/dist/server/capabilities.js +0 -141
- package/dist/server/capabilities.js.map +0 -1
- package/dist/server/checkout-progress.d.ts +0 -10
- package/dist/server/checkout-progress.js +0 -27
- package/dist/server/checkout-progress.js.map +0 -1
- package/dist/server/checkout.d.ts +0 -129
- package/dist/server/checkout.js +0 -304
- package/dist/server/checkout.js.map +0 -1
- package/dist/server/cockpit-ownership.d.ts +0 -31
- package/dist/server/cockpit-ownership.js +0 -191
- package/dist/server/cockpit-ownership.js.map +0 -1
- package/dist/server/cold-repo-handles.d.ts +0 -14
- package/dist/server/cold-repo-handles.js +0 -78
- package/dist/server/cold-repo-handles.js.map +0 -1
- package/dist/server/completion-actions.d.ts +0 -30
- package/dist/server/completion-actions.js +0 -204
- package/dist/server/completion-actions.js.map +0 -1
- package/dist/server/create-project.d.ts +0 -71
- package/dist/server/create-project.js +0 -448
- package/dist/server/create-project.js.map +0 -1
- package/dist/server/forge/github-filters.d.ts +0 -22
- package/dist/server/forge/github-filters.js +0 -127
- package/dist/server/forge/github-filters.js.map +0 -1
- package/dist/server/forge/github-merge-requirements.d.ts +0 -18
- package/dist/server/forge/github-merge-requirements.js +0 -137
- package/dist/server/forge/github-merge-requirements.js.map +0 -1
- package/dist/server/forge/github.d.ts +0 -535
- package/dist/server/forge/github.js +0 -3200
- package/dist/server/forge/github.js.map +0 -1
- package/dist/server/forge/index.d.ts +0 -40
- package/dist/server/forge/index.js +0 -72
- package/dist/server/forge/index.js.map +0 -1
- package/dist/server/forge/types.d.ts +0 -244
- package/dist/server/forge/types.js +0 -2
- package/dist/server/forge/types.js.map +0 -1
- package/dist/server/fs-browse.d.ts +0 -80
- package/dist/server/fs-browse.js +0 -182
- package/dist/server/fs-browse.js.map +0 -1
- package/dist/server/git-changes.d.ts +0 -203
- package/dist/server/git-changes.js +0 -508
- package/dist/server/git-changes.js.map +0 -1
- package/dist/server/git.d.ts +0 -52
- package/dist/server/git.js +0 -170
- package/dist/server/git.js.map +0 -1
- package/dist/server/github.d.ts +0 -9
- package/dist/server/github.js +0 -8
- package/dist/server/github.js.map +0 -1
- package/dist/server/launch-key.d.ts +0 -5
- package/dist/server/launch-key.js +0 -31
- package/dist/server/launch-key.js.map +0 -1
- package/dist/server/live-routes.d.ts +0 -68
- package/dist/server/live-routes.js +0 -147
- package/dist/server/live-routes.js.map +0 -1
- package/dist/server/open-in-app.d.ts +0 -57
- package/dist/server/open-in-app.js +0 -177
- package/dist/server/open-in-app.js.map +0 -1
- package/dist/server/open-in-targets.d.ts +0 -42
- package/dist/server/open-in-targets.js +0 -110
- package/dist/server/open-in-targets.js.map +0 -1
- package/dist/server/open-in-terminal.d.ts +0 -73
- package/dist/server/open-in-terminal.js +0 -159
- package/dist/server/open-in-terminal.js.map +0 -1
- package/dist/server/pr.d.ts +0 -7
- package/dist/server/pr.js +0 -7
- package/dist/server/pr.js.map +0 -1
- package/dist/server/preview-cdp-socket.d.ts +0 -21
- package/dist/server/preview-cdp-socket.js +0 -112
- package/dist/server/preview-cdp-socket.js.map +0 -1
- package/dist/server/preview-socket.d.ts +0 -36
- package/dist/server/preview-socket.js +0 -126
- package/dist/server/preview-socket.js.map +0 -1
- package/dist/server/preview-sockets.d.ts +0 -14
- package/dist/server/preview-sockets.js +0 -18
- package/dist/server/preview-sockets.js.map +0 -1
- package/dist/server/project-context.d.ts +0 -192
- package/dist/server/project-context.js +0 -444
- package/dist/server/project-context.js.map +0 -1
- package/dist/server/provider-action-gate.d.ts +0 -5
- package/dist/server/provider-action-gate.js +0 -27
- package/dist/server/provider-action-gate.js.map +0 -1
- package/dist/server/provider-auth-runtime.d.ts +0 -32
- package/dist/server/provider-auth-runtime.js +0 -116
- package/dist/server/provider-auth-runtime.js.map +0 -1
- package/dist/server/repo-branches.d.ts +0 -99
- package/dist/server/repo-branches.js +0 -620
- package/dist/server/repo-branches.js.map +0 -1
- package/dist/server/repo-pull.d.ts +0 -18
- package/dist/server/repo-pull.js +0 -96
- package/dist/server/repo-pull.js.map +0 -1
- package/dist/server/run-event-feed.d.ts +0 -20
- package/dist/server/run-event-feed.js +0 -190
- package/dist/server/run-event-feed.js.map +0 -1
- package/dist/server/server-deps.d.ts +0 -37
- package/dist/server/server-deps.js +0 -114
- package/dist/server/server-deps.js.map +0 -1
- package/dist/server/server.d.ts +0 -28587
- package/dist/server/server.js +0 -5466
- package/dist/server/server.js.map +0 -1
- package/dist/server/start-run-options.d.ts +0 -82
- package/dist/server/start-run-options.js +0 -111
- package/dist/server/start-run-options.js.map +0 -1
- package/dist/server/static-ui.d.ts +0 -49
- package/dist/server/static-ui.js +0 -98
- package/dist/server/static-ui.js.map +0 -1
- package/dist/server/upgrade-router.d.ts +0 -23
- package/dist/server/upgrade-router.js +0 -53
- package/dist/server/upgrade-router.js.map +0 -1
- package/dist/server/validators.d.ts +0 -80
- package/dist/server/validators.js +0 -85
- package/dist/server/validators.js.map +0 -1
- package/dist/server/ws.d.ts +0 -65
- package/dist/server/ws.js +0 -200
- package/dist/server/ws.js.map +0 -1
- package/dist/server/wsl.d.ts +0 -25
- package/dist/server/wsl.js +0 -92
- package/dist/server/wsl.js.map +0 -1
- package/dist/server-install/engine.d.ts +0 -47
- package/dist/server-install/engine.js +0 -317
- package/dist/server-install/engine.js.map +0 -1
- package/dist/server-install/npx-cache.d.ts +0 -36
- package/dist/server-install/npx-cache.js +0 -104
- package/dist/server-install/npx-cache.js.map +0 -1
- package/dist/server-install/platforms/macosx-ngrok.d.ts +0 -6
- package/dist/server-install/platforms/macosx-ngrok.js +0 -371
- package/dist/server-install/platforms/macosx-ngrok.js.map +0 -1
- package/dist/server-install/platforms/ubuntu-vps.d.ts +0 -54
- package/dist/server-install/platforms/ubuntu-vps.js +0 -1066
- package/dist/server-install/platforms/ubuntu-vps.js.map +0 -1
- package/dist/server-install/state.d.ts +0 -50
- package/dist/server-install/state.js +0 -180
- package/dist/server-install/state.js.map +0 -1
- package/dist/server-install/steps.d.ts +0 -108
- package/dist/server-install/steps.js +0 -332
- package/dist/server-install/steps.js.map +0 -1
- package/dist/server-install/strategies.d.ts +0 -4
- package/dist/server-install/strategies.js +0 -20
- package/dist/server-install/strategies.js.map +0 -1
- package/dist/server-install/types.d.ts +0 -284
- package/dist/server-install/types.js +0 -118
- package/dist/server-install/types.js.map +0 -1
- package/dist/server-install/ui.d.ts +0 -36
- package/dist/server-install/ui.js +0 -130
- package/dist/server-install/ui.js.map +0 -1
- package/dist/session-context.d.ts +0 -64
- package/dist/session-context.js +0 -264
- package/dist/session-context.js.map +0 -1
- package/dist/skills-provision.d.ts +0 -62
- package/dist/skills-provision.js +0 -325
- package/dist/skills-provision.js.map +0 -1
- package/dist/skills-remote.d.ts +0 -129
- package/dist/skills-remote.js +0 -782
- package/dist/skills-remote.js.map +0 -1
- package/dist/skills.d.ts +0 -71
- package/dist/skills.js +0 -249
- package/dist/skills.js.map +0 -1
- package/dist/subcommands.d.ts +0 -11
- package/dist/subcommands.js +0 -24
- package/dist/subcommands.js.map +0 -1
- package/dist/task-cli/cli.d.ts +0 -38
- package/dist/task-cli/cli.js +0 -710
- package/dist/task-cli/cli.js.map +0 -1
- package/dist/task-cli/discovery.d.ts +0 -25
- package/dist/task-cli/discovery.js +0 -98
- package/dist/task-cli/discovery.js.map +0 -1
- package/dist/task-cli/hint.d.ts +0 -20
- package/dist/task-cli/hint.js +0 -14
- package/dist/task-cli/hint.js.map +0 -1
- package/dist/task-cli/http.d.ts +0 -49
- package/dist/task-cli/http.js +0 -109
- package/dist/task-cli/http.js.map +0 -1
- package/dist/task-cli/projections.d.ts +0 -68
- package/dist/task-cli/projections.js +0 -76
- package/dist/task-cli/projections.js.map +0 -1
- package/dist/task-cli/watch.d.ts +0 -119
- package/dist/task-cli/watch.js +0 -475
- package/dist/task-cli/watch.js.map +0 -1
- package/dist/ui-state.d.ts +0 -41
- package/dist/ui-state.js +0 -90
- package/dist/ui-state.js.map +0 -1
- package/dist/update-check.d.ts +0 -2
- package/dist/update-check.js +0 -26
- package/dist/update-check.js.map +0 -1
- package/dist/voice/decide.d.ts +0 -32
- package/dist/voice/decide.js +0 -297
- package/dist/voice/decide.js.map +0 -1
- package/dist/voice/decision-log.d.ts +0 -52
- package/dist/voice/decision-log.js +0 -107
- package/dist/voice/decision-log.js.map +0 -1
- package/dist/voice/engine.d.ts +0 -119
- package/dist/voice/engine.js +0 -60
- package/dist/voice/engine.js.map +0 -1
- package/dist/voice/fake-engine.d.ts +0 -10
- package/dist/voice/fake-engine.js +0 -192
- package/dist/voice/fake-engine.js.map +0 -1
- package/dist/voice/jev-engine.d.ts +0 -17
- package/dist/voice/jev-engine.js +0 -110
- package/dist/voice/jev-engine.js.map +0 -1
- package/dist/voice/pending-ask.d.ts +0 -17
- package/dist/voice/pending-ask.js +0 -50
- package/dist/voice/pending-ask.js.map +0 -1
- package/dist/voice/routes.d.ts +0 -115
- package/dist/voice/routes.js +0 -91
- package/dist/voice/routes.js.map +0 -1
- package/dist/voice/sentence.d.ts +0 -21
- package/dist/voice/sentence.js +0 -61
- package/dist/voice/sentence.js.map +0 -1
- package/dist/voice/thresholds.d.ts +0 -28
- package/dist/voice/thresholds.js +0 -29
- package/dist/voice/thresholds.js.map +0 -1
- package/dist/webhooks/cli.d.ts +0 -18
- package/dist/webhooks/cli.js +0 -145
- package/dist/webhooks/cli.js.map +0 -1
- package/dist/webhooks/prompt.d.ts +0 -5
- package/dist/webhooks/prompt.js +0 -26
- package/dist/webhooks/prompt.js.map +0 -1
- package/dist/workflows/active-run.d.ts +0 -167
- package/dist/workflows/active-run.js +0 -21
- package/dist/workflows/active-run.js.map +0 -1
- package/dist/workflows/attachment-path.d.ts +0 -6
- package/dist/workflows/attachment-path.js +0 -40
- package/dist/workflows/attachment-path.js.map +0 -1
- package/dist/workflows/continuation-admission.d.ts +0 -913
- package/dist/workflows/continuation-admission.js +0 -265
- package/dist/workflows/continuation-admission.js.map +0 -1
- package/dist/workflows/execution-account.d.ts +0 -13
- package/dist/workflows/execution-account.js +0 -18
- package/dist/workflows/execution-account.js.map +0 -1
- package/dist/workflows/grouped-command.d.ts +0 -31
- package/dist/workflows/grouped-command.js +0 -143
- package/dist/workflows/grouped-command.js.map +0 -1
- package/dist/workflows/input-acknowledgement.d.ts +0 -152
- package/dist/workflows/input-acknowledgement.js +0 -38
- package/dist/workflows/input-acknowledgement.js.map +0 -1
- package/dist/workflows/line-order.d.ts +0 -5
- package/dist/workflows/line-order.js +0 -25
- package/dist/workflows/line-order.js.map +0 -1
- package/dist/workflows/load.d.ts +0 -17
- package/dist/workflows/load.js +0 -61
- package/dist/workflows/load.js.map +0 -1
- package/dist/workflows/outcome-batches.d.ts +0 -20
- package/dist/workflows/outcome-batches.js +0 -25
- package/dist/workflows/outcome-batches.js.map +0 -1
- package/dist/workflows/question-routing.d.ts +0 -8
- package/dist/workflows/question-routing.js +0 -18
- package/dist/workflows/question-routing.js.map +0 -1
- package/dist/workflows/run-scheduling.d.ts +0 -35
- package/dist/workflows/run-scheduling.js +0 -61
- package/dist/workflows/run-scheduling.js.map +0 -1
- package/dist/workflows/run-states.d.ts +0 -190
- package/dist/workflows/run-states.js +0 -295
- package/dist/workflows/run-states.js.map +0 -1
- package/dist/workflows/run.d.ts +0 -2405
- package/dist/workflows/run.js +0 -10745
- package/dist/workflows/run.js.map +0 -1
- package/dist/workflows/turn-end.d.ts +0 -116
- package/dist/workflows/turn-end.js +0 -68
- package/dist/workflows/turn-end.js.map +0 -1
- package/dist/workflows/types.d.ts +0 -83
- package/dist/workflows/types.js +0 -192
- package/dist/workflows/types.js.map +0 -1
- package/dist/workflows/waits.d.ts +0 -74
- package/dist/workflows/waits.js +0 -197
- package/dist/workflows/waits.js.map +0 -1
- package/dist/workspace/agent-accounts.d.ts +0 -128
- package/dist/workspace/agent-accounts.js +0 -280
- package/dist/workspace/agent-accounts.js.map +0 -1
- package/dist/workspace/agent-profiles.d.ts +0 -124
- package/dist/workspace/agent-profiles.js +0 -190
- package/dist/workspace/agent-profiles.js.map +0 -1
- package/dist/workspace/config.d.ts +0 -181
- package/dist/workspace/config.js +0 -389
- package/dist/workspace/config.js.map +0 -1
- package/dist/workspace/migrations.d.ts +0 -35
- package/dist/workspace/migrations.js +0 -147
- package/dist/workspace/migrations.js.map +0 -1
- package/dist/workspace/projects-cli.d.ts +0 -25
- package/dist/workspace/projects-cli.js +0 -172
- package/dist/workspace/projects-cli.js.map +0 -1
- package/dist/workspace/projects.d.ts +0 -129
- package/dist/workspace/projects.js +0 -267
- package/dist/workspace/projects.js.map +0 -1
- package/dist/workspace/semaphore.d.ts +0 -145
- package/dist/workspace/semaphore.js +0 -196
- package/dist/workspace/semaphore.js.map +0 -1
- package/dist/workspace/ui-state.d.ts +0 -36
- package/dist/workspace/ui-state.js +0 -55
- package/dist/workspace/ui-state.js.map +0 -1
- package/dist/workspace/webhooks.d.ts +0 -40
- package/dist/workspace/webhooks.js +0 -146
- package/dist/workspace/webhooks.js.map +0 -1
- package/dist/worktree-manifest.d.ts +0 -165
- package/dist/worktree-manifest.js +0 -530
- package/dist/worktree-manifest.js.map +0 -1
- package/dist/worktree-setup.d.ts +0 -85
- package/dist/worktree-setup.js +0 -164
- package/dist/worktree-setup.js.map +0 -1
- package/scripts/benchmark-run-store-fixture.ts +0 -432
- package/scripts/benchmark-run-store.ts +0 -743
- package/scripts/benchmark-stuck-destroys.ts +0 -143
- package/scripts/check-pack.mjs +0 -48
- package/scripts/inline-contract.mjs +0 -165
- package/scripts/install-as-command.mjs +0 -122
- package/scripts/measure-transcript-facts-health.mjs +0 -87
- package/scripts/measure-transcript-facts-lag.mjs +0 -68
- package/scripts/mock-autonomous.mjs +0 -11
- package/scripts/mock-ci-tool.mjs +0 -111
- package/scripts/mock-claude-model-refusal.mjs +0 -42
- package/scripts/mock-claude.mjs +0 -1065
- package/scripts/mock-codex-app-server.mjs +0 -905
- package/scripts/mock-codex-coalesce-steer.mjs +0 -59
- package/scripts/mock-codex-reverse-steer.mjs +0 -130
- package/scripts/mock-cursor-acp.mjs +0 -423
- package/scripts/mock-cursor-hang-stdin-late.mjs +0 -35
- package/scripts/mock-cursor-hang-stdin.mjs +0 -30
- package/scripts/mock-cursor-print.mjs +0 -256
- package/scripts/mock-deferred-turn-start.mjs +0 -16
- package/scripts/mock-delivery-control.d.mts +0 -23
- package/scripts/mock-delivery-control.mjs +0 -80
- package/scripts/mock-env-record.mjs +0 -11
- package/scripts/mock-failure-control.d.mts +0 -13
- package/scripts/mock-failure-control.mjs +0 -68
- package/scripts/mock-multi-pr.mjs +0 -7
- package/scripts/mock-nudge.mjs +0 -45
- package/scripts/mock-omp-rpc.mjs +0 -779
- package/scripts/mock-opencode-serve.mjs +0 -1230
- package/scripts/mock-pi-rpc.mjs +0 -698
- package/scripts/mock-runner-crash.mjs +0 -58
- package/scripts/mock-session-context.d.mts +0 -5
- package/scripts/mock-session-context.mjs +0 -56
- package/scripts/mock-silent-tail.mjs +0 -85
- package/scripts/mock-turn-messages.mjs +0 -5
- package/scripts/omp-ci-wait.mjs +0 -29
- package/scripts/omp-restrict-delegation.yml +0 -4
- package/scripts/pi-ci-wait.mjs +0 -17
- package/scripts/pi-default-tools.mjs +0 -22
- package/scripts/pi-project-skills.mjs +0 -59
- package/scripts/pi-retry-degraded-service.mjs +0 -16
- package/scripts/probe-cursor-print.mjs +0 -627
- package/scripts/seed-archive-profile.ts +0 -53
- package/scripts/sync-readme.mjs +0 -20
- package/scripts/test-process-usage.mjs +0 -47
- package/scripts/transcript-facts-fixture.mjs +0 -53
- package/scripts/voice-replay.ts +0 -50
- package/scripts/windows-workspace-identity.cs +0 -208
- package/scripts/windows-workspace-identity.ps1 +0 -10
- package/web/dist/assets/alert-dialog-DfctKUMw.js +0 -1
- package/web/dist/assets/button-CeupvoKG.js +0 -41
- package/web/dist/assets/centered-state-hDsyXrnH.js +0 -1
- package/web/dist/assets/cez-idle-D3aj_9lp.js +0 -1
- package/web/dist/assets/diff-BnIXZK3i2.js +0 -3
- package/web/dist/assets/diff-controls-GewpW9aF.js +0 -1
- package/web/dist/assets/diff-view-Byo7gpvW.js +0 -11
- package/web/dist/assets/dropdown-menu-COj_J5wd.js +0 -6
- package/web/dist/assets/git-toolbar-DY0z0n4S.js +0 -1
- package/web/dist/assets/github-DwU6ALRK.js +0 -1
- package/web/dist/assets/index-BOfE8pyD.js +0 -34
- package/web/dist/assets/index-D9HpsmdW.css +0 -1
- package/web/dist/assets/lib-BQXq3kEf.js +0 -1
- package/web/dist/assets/live-protocol-Uce2NwEX.js +0 -64
- package/web/dist/assets/play-CmVAj_fu.js +0 -1
- package/web/dist/assets/popover-D56fhiXj.js +0 -1
- package/web/dist/assets/preview-pane-connected-BmVqfSU5.js +0 -3
- package/web/dist/assets/reference-chip-gQNk-4jc.js +0 -1
- package/web/dist/assets/repo-git-B5ECDUuv.js +0 -1
- package/web/dist/assets/run-header-C0Y1NvEM.js +0 -2
- package/web/dist/assets/skill-empty-hint-oOtzR3v0.js +0 -1
- package/web/dist/assets/skills-DUeTkZ9z.js +0 -1
- package/web/dist/assets/status-dot-1PR0i69P.js +0 -1
- package/web/dist/assets/tab-link-DmWk4l5O.js +0 -1
- package/web/dist/assets/task-changes-DKZXuW89.js +0 -1
- package/web/dist/assets/task-commits-BZ6KxWdF.js +0 -1
- package/web/dist/assets/task-files-DlF7Apcn.js +0 -2
- package/web/dist/assets/task-github-item-CVPo3geZ.js +0 -1
- package/web/dist/assets/task-thread-mm4-ECyo.js +0 -9
- package/web/dist/assets/thread-state-CIw2BlhT.js +0 -4
- package/web/dist/assets/use-hand-to-agent-state-BCDjzHnG.js +0 -1
- package/web/dist/assets/workflows-D8vYD-ql.js +0 -7
- package/web/dist/assets/zoomable-image-CxQSsfcn.js +0 -1
|
@@ -1,1882 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
/** Owned workers (spec 2026-09-06). No import from runs: runs embeds this metadata. */
|
|
3
|
-
export declare const workerOperationSchema: z.ZodEnum<{
|
|
4
|
-
destroy: "destroy";
|
|
5
|
-
diff: "diff";
|
|
6
|
-
inspect: "inspect";
|
|
7
|
-
spawn: "spawn";
|
|
8
|
-
steer: "steer";
|
|
9
|
-
stop: "stop";
|
|
10
|
-
wait: "wait";
|
|
11
|
-
}>;
|
|
12
|
-
export type WorkerOperation = z.infer<typeof workerOperationSchema>;
|
|
13
|
-
/** 1–32 unique ids; the worker wait entry and `cezar_wait` reuse it for worker and request ids. */
|
|
14
|
-
export declare const workerIdsSchema: z.ZodArray<z.ZodUUID>;
|
|
15
|
-
export declare const workerWorkspaceSchema: z.ZodObject<{
|
|
16
|
-
ownerRunId: z.ZodUUID;
|
|
17
|
-
resourceId: z.ZodUUID;
|
|
18
|
-
kind: z.ZodLiteral<"owned-isolated">;
|
|
19
|
-
path: z.ZodString;
|
|
20
|
-
branch: z.ZodString;
|
|
21
|
-
baselineSha: z.ZodString;
|
|
22
|
-
}, z.core.$strict>;
|
|
23
|
-
export type WorkerWorkspace = z.infer<typeof workerWorkspaceSchema>;
|
|
24
|
-
export declare const workerOutcomeSchema: z.ZodObject<{
|
|
25
|
-
workerId: z.ZodUUID;
|
|
26
|
-
status: z.ZodEnum<{
|
|
27
|
-
cancelled: "cancelled";
|
|
28
|
-
done: "done";
|
|
29
|
-
failed: "failed";
|
|
30
|
-
review: "review";
|
|
31
|
-
}>;
|
|
32
|
-
observedAt: z.ZodISODateTime;
|
|
33
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
34
|
-
revision: z.ZodOptional<z.ZodNumber>;
|
|
35
|
-
}, z.core.$strict>;
|
|
36
|
-
export type WorkerOutcome = z.infer<typeof workerOutcomeSchema>;
|
|
37
|
-
export declare const workerWaitModeSchema: z.ZodEnum<{
|
|
38
|
-
all: "all";
|
|
39
|
-
any: "any";
|
|
40
|
-
one: "one";
|
|
41
|
-
}>;
|
|
42
|
-
export declare const workerWaitSchema: z.ZodObject<{
|
|
43
|
-
id: z.ZodUUID;
|
|
44
|
-
workerIds: z.ZodArray<z.ZodUUID>;
|
|
45
|
-
requestIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
46
|
-
requestOutcomes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
47
|
-
requestId: z.ZodUUID;
|
|
48
|
-
status: z.ZodEnum<{
|
|
49
|
-
cancelled: "cancelled";
|
|
50
|
-
"completed-without-reply": "completed-without-reply";
|
|
51
|
-
destroyed: "destroyed";
|
|
52
|
-
failed: "failed";
|
|
53
|
-
"human-fallback": "human-fallback";
|
|
54
|
-
replied: "replied";
|
|
55
|
-
"replied-late": "replied-late";
|
|
56
|
-
"sender-closed": "sender-closed";
|
|
57
|
-
"timed-out": "timed-out";
|
|
58
|
-
}>;
|
|
59
|
-
observedAt: z.ZodISODateTime;
|
|
60
|
-
replyId: z.ZodOptional<z.ZodUUID>;
|
|
61
|
-
}, z.core.$strict>>>;
|
|
62
|
-
deadline: z.ZodISODateTime;
|
|
63
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
64
|
-
all: "all";
|
|
65
|
-
any: "any";
|
|
66
|
-
one: "one";
|
|
67
|
-
}>>;
|
|
68
|
-
revisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
69
|
-
workerId: z.ZodUUID;
|
|
70
|
-
revision: z.ZodNumber;
|
|
71
|
-
}, z.core.$strict>>>;
|
|
72
|
-
reason: z.ZodOptional<z.ZodEnum<{
|
|
73
|
-
cancelled: "cancelled";
|
|
74
|
-
message: "message";
|
|
75
|
-
outcome: "outcome";
|
|
76
|
-
timeout: "timeout";
|
|
77
|
-
}>>;
|
|
78
|
-
phase: z.ZodEnum<{
|
|
79
|
-
parked: "parked";
|
|
80
|
-
registered: "registered";
|
|
81
|
-
"wake-pending": "wake-pending";
|
|
82
|
-
}>;
|
|
83
|
-
outcomes: z.ZodArray<z.ZodObject<{
|
|
84
|
-
workerId: z.ZodUUID;
|
|
85
|
-
status: z.ZodEnum<{
|
|
86
|
-
cancelled: "cancelled";
|
|
87
|
-
done: "done";
|
|
88
|
-
failed: "failed";
|
|
89
|
-
review: "review";
|
|
90
|
-
}>;
|
|
91
|
-
observedAt: z.ZodISODateTime;
|
|
92
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
93
|
-
revision: z.ZodOptional<z.ZodNumber>;
|
|
94
|
-
}, z.core.$strict>>;
|
|
95
|
-
wakeId: z.ZodOptional<z.ZodUUID>;
|
|
96
|
-
}, z.core.$strict>;
|
|
97
|
-
export type WorkerWait = z.infer<typeof workerWaitSchema>;
|
|
98
|
-
/** Cezar's completion wait as inspection and the relationships view show it: the `WorkerWait`
|
|
99
|
-
* projection without a deadline, which that wait does not have, and the `via` that names it.
|
|
100
|
-
* `WorkerWait` keeps requiring a deadline (hearsay-tools/cezarion#1301). */
|
|
101
|
-
export declare const workerCompletionWaitSchema: z.ZodObject<{
|
|
102
|
-
id: z.ZodUUID;
|
|
103
|
-
workerIds: z.ZodArray<z.ZodUUID>;
|
|
104
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
105
|
-
all: "all";
|
|
106
|
-
any: "any";
|
|
107
|
-
one: "one";
|
|
108
|
-
}>>;
|
|
109
|
-
revisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
110
|
-
workerId: z.ZodUUID;
|
|
111
|
-
revision: z.ZodNumber;
|
|
112
|
-
}, z.core.$strict>>>;
|
|
113
|
-
reason: z.ZodOptional<z.ZodEnum<{
|
|
114
|
-
cancelled: "cancelled";
|
|
115
|
-
message: "message";
|
|
116
|
-
outcome: "outcome";
|
|
117
|
-
timeout: "timeout";
|
|
118
|
-
}>>;
|
|
119
|
-
phase: z.ZodEnum<{
|
|
120
|
-
parked: "parked";
|
|
121
|
-
registered: "registered";
|
|
122
|
-
"wake-pending": "wake-pending";
|
|
123
|
-
}>;
|
|
124
|
-
outcomes: z.ZodArray<z.ZodObject<{
|
|
125
|
-
workerId: z.ZodUUID;
|
|
126
|
-
status: z.ZodEnum<{
|
|
127
|
-
cancelled: "cancelled";
|
|
128
|
-
done: "done";
|
|
129
|
-
failed: "failed";
|
|
130
|
-
review: "review";
|
|
131
|
-
}>;
|
|
132
|
-
observedAt: z.ZodISODateTime;
|
|
133
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
134
|
-
revision: z.ZodOptional<z.ZodNumber>;
|
|
135
|
-
}, z.core.$strict>>;
|
|
136
|
-
wakeId: z.ZodOptional<z.ZodUUID>;
|
|
137
|
-
via: z.ZodLiteral<"completion">;
|
|
138
|
-
}, z.core.$strict>;
|
|
139
|
-
export type WorkerCompletionWait = z.infer<typeof workerCompletionWaitSchema>;
|
|
140
|
-
/** Automatic retries of a pending destroy (hearsay-tools/cezarion#879): how many scheduled
|
|
141
|
-
* attempts ran since the last explicit request, when the next one is due, and whether they
|
|
142
|
-
* reached the hourly cap with nothing changing, which the cockpit shows as needing attention.
|
|
143
|
-
* Absent until the first automatic attempt; a manual destroy clears it. Stored on the run record
|
|
144
|
-
* (`destroyRetry`), never inside the strict worker delegation, so an older cezar strips it instead
|
|
145
|
-
* of quarantining the worker; the API shows it as the worker's `destroy.retry`. */
|
|
146
|
-
export declare const workerDestroyRetrySchema: z.ZodObject<{
|
|
147
|
-
attempts: z.ZodNumber;
|
|
148
|
-
nextAt: z.ZodISODateTime;
|
|
149
|
-
needsAttention: z.ZodOptional<z.ZodLiteral<true>>;
|
|
150
|
-
}, z.core.$strict>;
|
|
151
|
-
export type WorkerDestroyRetry = z.infer<typeof workerDestroyRetrySchema>;
|
|
152
|
-
export declare const workerDestroySchema: z.ZodObject<{
|
|
153
|
-
requestedAt: z.ZodISODateTime;
|
|
154
|
-
phase: z.ZodEnum<{
|
|
155
|
-
cleaning: "cleaning";
|
|
156
|
-
complete: "complete";
|
|
157
|
-
incomplete: "incomplete";
|
|
158
|
-
requested: "requested";
|
|
159
|
-
terminating: "terminating";
|
|
160
|
-
}>;
|
|
161
|
-
remaining: z.ZodArray<z.ZodEnum<{
|
|
162
|
-
branch: "branch";
|
|
163
|
-
process: "process";
|
|
164
|
-
worktree: "worktree";
|
|
165
|
-
}>>;
|
|
166
|
-
error: z.ZodOptional<z.ZodString>;
|
|
167
|
-
}, z.core.$strict>;
|
|
168
|
-
export type WorkerDestroy = z.infer<typeof workerDestroySchema>;
|
|
169
|
-
/** A worker's destroy as inspection and relationships show it: the stored phase, plus its retry state. */
|
|
170
|
-
export declare const workerDestroyViewSchema: z.ZodObject<{
|
|
171
|
-
requestedAt: z.ZodISODateTime;
|
|
172
|
-
phase: z.ZodEnum<{
|
|
173
|
-
cleaning: "cleaning";
|
|
174
|
-
complete: "complete";
|
|
175
|
-
incomplete: "incomplete";
|
|
176
|
-
requested: "requested";
|
|
177
|
-
terminating: "terminating";
|
|
178
|
-
}>;
|
|
179
|
-
remaining: z.ZodArray<z.ZodEnum<{
|
|
180
|
-
branch: "branch";
|
|
181
|
-
process: "process";
|
|
182
|
-
worktree: "worktree";
|
|
183
|
-
}>>;
|
|
184
|
-
error: z.ZodOptional<z.ZodString>;
|
|
185
|
-
retry: z.ZodOptional<z.ZodObject<{
|
|
186
|
-
attempts: z.ZodNumber;
|
|
187
|
-
nextAt: z.ZodISODateTime;
|
|
188
|
-
needsAttention: z.ZodOptional<z.ZodLiteral<true>>;
|
|
189
|
-
}, z.core.$strict>>;
|
|
190
|
-
}, z.core.$strict>;
|
|
191
|
-
export type WorkerDestroyView = z.infer<typeof workerDestroyViewSchema>;
|
|
192
|
-
export declare const workerCreationReceiptSchema: z.ZodObject<{
|
|
193
|
-
requestId: z.ZodUUID;
|
|
194
|
-
workerId: z.ZodUUID;
|
|
195
|
-
requestHash: z.ZodString;
|
|
196
|
-
deletion: z.ZodOptional<z.ZodObject<{
|
|
197
|
-
phase: z.ZodEnum<{
|
|
198
|
-
complete: "complete";
|
|
199
|
-
pending: "pending";
|
|
200
|
-
}>;
|
|
201
|
-
revision: z.ZodNumber;
|
|
202
|
-
resourceId: z.ZodUUID;
|
|
203
|
-
generation: z.ZodUUID;
|
|
204
|
-
}, z.core.$strict>>;
|
|
205
|
-
}, z.core.$strict>;
|
|
206
|
-
export declare const workerBackendSchema: z.ZodEnum<{
|
|
207
|
-
claude: "claude";
|
|
208
|
-
codex: "codex";
|
|
209
|
-
cursor: "cursor";
|
|
210
|
-
omp: "omp";
|
|
211
|
-
opencode: "opencode";
|
|
212
|
-
pi: "pi";
|
|
213
|
-
}>;
|
|
214
|
-
/**
|
|
215
|
-
* Why a `parent-file` path may never be attached, or undefined. An attached `.gitignore` would
|
|
216
|
-
* rewrite the worker worktree's ignore rules and could re-include another attachment, which its
|
|
217
|
-
* diff and autosave would then carry (hearsay-tools/cezarion#1149). The schema and the server share it.
|
|
218
|
-
*/
|
|
219
|
-
export declare function parentFileRefusal(path: string): string | undefined;
|
|
220
|
-
export declare const workerContextReferenceSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
221
|
-
kind: z.ZodLiteral<"baseline-file">;
|
|
222
|
-
path: z.ZodString;
|
|
223
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
224
|
-
kind: z.ZodLiteral<"parent-attachment">;
|
|
225
|
-
id: z.ZodString;
|
|
226
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
227
|
-
kind: z.ZodLiteral<"parent-file">;
|
|
228
|
-
path: z.ZodString;
|
|
229
|
-
}, z.core.$strict>], "kind">;
|
|
230
|
-
export type WorkerContextReference = z.infer<typeof workerContextReferenceSchema>;
|
|
231
|
-
export declare const workerContextSchema: z.ZodObject<{
|
|
232
|
-
text: z.ZodOptional<z.ZodString>;
|
|
233
|
-
artifacts: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
234
|
-
kind: z.ZodLiteral<"baseline-file">;
|
|
235
|
-
path: z.ZodString;
|
|
236
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
237
|
-
kind: z.ZodLiteral<"parent-attachment">;
|
|
238
|
-
id: z.ZodString;
|
|
239
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
240
|
-
kind: z.ZodLiteral<"parent-file">;
|
|
241
|
-
path: z.ZodString;
|
|
242
|
-
}, z.core.$strict>], "kind">>>;
|
|
243
|
-
}, z.core.$strict>;
|
|
244
|
-
export declare const workerInputSchema: z.ZodObject<{
|
|
245
|
-
source: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
246
|
-
kind: z.ZodLiteral<"baseline-file">;
|
|
247
|
-
path: z.ZodString;
|
|
248
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
249
|
-
kind: z.ZodLiteral<"parent-attachment">;
|
|
250
|
-
id: z.ZodString;
|
|
251
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
252
|
-
kind: z.ZodLiteral<"parent-file">;
|
|
253
|
-
path: z.ZodString;
|
|
254
|
-
}, z.core.$strict>], "kind">;
|
|
255
|
-
path: z.ZodString;
|
|
256
|
-
sha256: z.ZodString;
|
|
257
|
-
bytes: z.ZodNumber;
|
|
258
|
-
}, z.core.$strict>;
|
|
259
|
-
export type WorkerInput = z.infer<typeof workerInputSchema>;
|
|
260
|
-
export declare const workerInputRecipeSchema: z.ZodObject<{
|
|
261
|
-
text: z.ZodOptional<z.ZodString>;
|
|
262
|
-
inputs: z.ZodArray<z.ZodObject<{
|
|
263
|
-
source: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
264
|
-
kind: z.ZodLiteral<"baseline-file">;
|
|
265
|
-
path: z.ZodString;
|
|
266
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
267
|
-
kind: z.ZodLiteral<"parent-attachment">;
|
|
268
|
-
id: z.ZodString;
|
|
269
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
270
|
-
kind: z.ZodLiteral<"parent-file">;
|
|
271
|
-
path: z.ZodString;
|
|
272
|
-
}, z.core.$strict>], "kind">;
|
|
273
|
-
path: z.ZodString;
|
|
274
|
-
sha256: z.ZodString;
|
|
275
|
-
bytes: z.ZodNumber;
|
|
276
|
-
}, z.core.$strict>>;
|
|
277
|
-
}, z.core.$strict>;
|
|
278
|
-
export type WorkerInputRecipe = z.infer<typeof workerInputRecipeSchema>;
|
|
279
|
-
export declare const workerCollectedResultSchema: z.ZodObject<{
|
|
280
|
-
workerId: z.ZodUUID;
|
|
281
|
-
parentRunId: z.ZodUUID;
|
|
282
|
-
revision: z.ZodNumber;
|
|
283
|
-
observedAt: z.ZodISODateTime;
|
|
284
|
-
status: z.ZodEnum<{
|
|
285
|
-
cancelled: "cancelled";
|
|
286
|
-
done: "done";
|
|
287
|
-
failed: "failed";
|
|
288
|
-
queued: "queued";
|
|
289
|
-
review: "review";
|
|
290
|
-
running: "running";
|
|
291
|
-
waiting: "waiting";
|
|
292
|
-
}>;
|
|
293
|
-
outcome: z.ZodEnum<{
|
|
294
|
-
cancelled: "cancelled";
|
|
295
|
-
completed: "completed";
|
|
296
|
-
destroyed: "destroyed";
|
|
297
|
-
failed: "failed";
|
|
298
|
-
"review-ready": "review-ready";
|
|
299
|
-
running: "running";
|
|
300
|
-
}>;
|
|
301
|
-
lastExecutionOutcome: z.ZodEnum<{
|
|
302
|
-
cancelled: "cancelled";
|
|
303
|
-
completed: "completed";
|
|
304
|
-
failed: "failed";
|
|
305
|
-
"review-ready": "review-ready";
|
|
306
|
-
running: "running";
|
|
307
|
-
}>;
|
|
308
|
-
partial: z.ZodBoolean;
|
|
309
|
-
settled: z.ZodBoolean;
|
|
310
|
-
error: z.ZodOptional<z.ZodString>;
|
|
311
|
-
backend: z.ZodOptional<z.ZodEnum<{
|
|
312
|
-
claude: "claude";
|
|
313
|
-
codex: "codex";
|
|
314
|
-
cursor: "cursor";
|
|
315
|
-
omp: "omp";
|
|
316
|
-
opencode: "opencode";
|
|
317
|
-
pi: "pi";
|
|
318
|
-
}>>;
|
|
319
|
-
model: z.ZodOptional<z.ZodString>;
|
|
320
|
-
baselineSha: z.ZodString;
|
|
321
|
-
workspace: z.ZodObject<{
|
|
322
|
-
ownerRunId: z.ZodUUID;
|
|
323
|
-
resourceId: z.ZodUUID;
|
|
324
|
-
kind: z.ZodLiteral<"owned-isolated">;
|
|
325
|
-
path: z.ZodString;
|
|
326
|
-
branch: z.ZodString;
|
|
327
|
-
baselineSha: z.ZodString;
|
|
328
|
-
state: z.ZodOptional<z.ZodEnum<{
|
|
329
|
-
available: "available";
|
|
330
|
-
deleted: "deleted";
|
|
331
|
-
unavailable: "unavailable";
|
|
332
|
-
}>>;
|
|
333
|
-
}, z.core.$strict>;
|
|
334
|
-
cleanup: z.ZodEnum<{
|
|
335
|
-
cleaning: "cleaning";
|
|
336
|
-
complete: "complete";
|
|
337
|
-
incomplete: "incomplete";
|
|
338
|
-
requested: "requested";
|
|
339
|
-
retained: "retained";
|
|
340
|
-
terminating: "terminating";
|
|
341
|
-
}>;
|
|
342
|
-
summary: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
343
|
-
state: z.ZodLiteral<"available">;
|
|
344
|
-
text: z.ZodString;
|
|
345
|
-
source: z.ZodLiteral<"assistant">;
|
|
346
|
-
seq: z.ZodNumber;
|
|
347
|
-
truncated: z.ZodBoolean;
|
|
348
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
349
|
-
state: z.ZodLiteral<"unavailable">;
|
|
350
|
-
reason: z.ZodEnum<{
|
|
351
|
-
missing: "missing";
|
|
352
|
-
"no-assistant-output": "no-assistant-output";
|
|
353
|
-
unreadable: "unreadable";
|
|
354
|
-
unverified: "unverified";
|
|
355
|
-
}>;
|
|
356
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
357
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
358
|
-
state: z.ZodLiteral<"deleted">;
|
|
359
|
-
reason: z.ZodLiteral<"missing">;
|
|
360
|
-
}, z.core.$strict>], "state">;
|
|
361
|
-
head: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
362
|
-
state: z.ZodLiteral<"available">;
|
|
363
|
-
sha: z.ZodString;
|
|
364
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
365
|
-
state: z.ZodLiteral<"unavailable">;
|
|
366
|
-
reason: z.ZodEnum<{
|
|
367
|
-
missing: "missing";
|
|
368
|
-
"no-assistant-output": "no-assistant-output";
|
|
369
|
-
unreadable: "unreadable";
|
|
370
|
-
unverified: "unverified";
|
|
371
|
-
}>;
|
|
372
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
373
|
-
sha: z.ZodOptional<z.ZodString>;
|
|
374
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
375
|
-
state: z.ZodLiteral<"deleted">;
|
|
376
|
-
reason: z.ZodLiteral<"missing">;
|
|
377
|
-
sha: z.ZodOptional<z.ZodString>;
|
|
378
|
-
}, z.core.$strict>], "state">;
|
|
379
|
-
diff: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
380
|
-
state: z.ZodLiteral<"available">;
|
|
381
|
-
snapshotId: z.ZodUUID;
|
|
382
|
-
path: z.ZodString;
|
|
383
|
-
truncated: z.ZodBoolean;
|
|
384
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
385
|
-
state: z.ZodLiteral<"unavailable">;
|
|
386
|
-
reason: z.ZodEnum<{
|
|
387
|
-
missing: "missing";
|
|
388
|
-
"no-assistant-output": "no-assistant-output";
|
|
389
|
-
unreadable: "unreadable";
|
|
390
|
-
unverified: "unverified";
|
|
391
|
-
}>;
|
|
392
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
393
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
394
|
-
state: z.ZodLiteral<"deleted">;
|
|
395
|
-
reason: z.ZodLiteral<"missing">;
|
|
396
|
-
}, z.core.$strict>], "state">;
|
|
397
|
-
artifacts: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
398
|
-
state: z.ZodLiteral<"available">;
|
|
399
|
-
items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
400
|
-
state: z.ZodLiteral<"available">;
|
|
401
|
-
id: z.ZodString;
|
|
402
|
-
path: z.ZodString;
|
|
403
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
404
|
-
state: z.ZodLiteral<"unavailable">;
|
|
405
|
-
reason: z.ZodEnum<{
|
|
406
|
-
missing: "missing";
|
|
407
|
-
"no-assistant-output": "no-assistant-output";
|
|
408
|
-
unreadable: "unreadable";
|
|
409
|
-
unverified: "unverified";
|
|
410
|
-
}>;
|
|
411
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
412
|
-
id: z.ZodString;
|
|
413
|
-
path: z.ZodString;
|
|
414
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
415
|
-
state: z.ZodLiteral<"deleted">;
|
|
416
|
-
reason: z.ZodLiteral<"missing">;
|
|
417
|
-
id: z.ZodString;
|
|
418
|
-
path: z.ZodString;
|
|
419
|
-
}, z.core.$strict>], "state">>;
|
|
420
|
-
truncated: z.ZodBoolean;
|
|
421
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
422
|
-
state: z.ZodLiteral<"unavailable">;
|
|
423
|
-
reason: z.ZodEnum<{
|
|
424
|
-
missing: "missing";
|
|
425
|
-
"no-assistant-output": "no-assistant-output";
|
|
426
|
-
unreadable: "unreadable";
|
|
427
|
-
unverified: "unverified";
|
|
428
|
-
}>;
|
|
429
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
430
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
431
|
-
state: z.ZodLiteral<"deleted">;
|
|
432
|
-
reason: z.ZodLiteral<"missing">;
|
|
433
|
-
}, z.core.$strict>], "state">;
|
|
434
|
-
}, z.core.$strict>;
|
|
435
|
-
export type WorkerCollectedResult = z.infer<typeof workerCollectedResultSchema>;
|
|
436
|
-
export declare const workerResultFileSchema: z.ZodObject<{
|
|
437
|
-
result: z.ZodObject<{
|
|
438
|
-
workerId: z.ZodUUID;
|
|
439
|
-
parentRunId: z.ZodUUID;
|
|
440
|
-
revision: z.ZodNumber;
|
|
441
|
-
observedAt: z.ZodISODateTime;
|
|
442
|
-
status: z.ZodEnum<{
|
|
443
|
-
cancelled: "cancelled";
|
|
444
|
-
done: "done";
|
|
445
|
-
failed: "failed";
|
|
446
|
-
queued: "queued";
|
|
447
|
-
review: "review";
|
|
448
|
-
running: "running";
|
|
449
|
-
waiting: "waiting";
|
|
450
|
-
}>;
|
|
451
|
-
outcome: z.ZodEnum<{
|
|
452
|
-
cancelled: "cancelled";
|
|
453
|
-
completed: "completed";
|
|
454
|
-
destroyed: "destroyed";
|
|
455
|
-
failed: "failed";
|
|
456
|
-
"review-ready": "review-ready";
|
|
457
|
-
running: "running";
|
|
458
|
-
}>;
|
|
459
|
-
lastExecutionOutcome: z.ZodEnum<{
|
|
460
|
-
cancelled: "cancelled";
|
|
461
|
-
completed: "completed";
|
|
462
|
-
failed: "failed";
|
|
463
|
-
"review-ready": "review-ready";
|
|
464
|
-
running: "running";
|
|
465
|
-
}>;
|
|
466
|
-
partial: z.ZodBoolean;
|
|
467
|
-
settled: z.ZodBoolean;
|
|
468
|
-
error: z.ZodOptional<z.ZodString>;
|
|
469
|
-
backend: z.ZodOptional<z.ZodEnum<{
|
|
470
|
-
claude: "claude";
|
|
471
|
-
codex: "codex";
|
|
472
|
-
cursor: "cursor";
|
|
473
|
-
omp: "omp";
|
|
474
|
-
opencode: "opencode";
|
|
475
|
-
pi: "pi";
|
|
476
|
-
}>>;
|
|
477
|
-
model: z.ZodOptional<z.ZodString>;
|
|
478
|
-
baselineSha: z.ZodString;
|
|
479
|
-
workspace: z.ZodObject<{
|
|
480
|
-
ownerRunId: z.ZodUUID;
|
|
481
|
-
resourceId: z.ZodUUID;
|
|
482
|
-
kind: z.ZodLiteral<"owned-isolated">;
|
|
483
|
-
path: z.ZodString;
|
|
484
|
-
branch: z.ZodString;
|
|
485
|
-
baselineSha: z.ZodString;
|
|
486
|
-
state: z.ZodOptional<z.ZodEnum<{
|
|
487
|
-
available: "available";
|
|
488
|
-
deleted: "deleted";
|
|
489
|
-
unavailable: "unavailable";
|
|
490
|
-
}>>;
|
|
491
|
-
}, z.core.$strict>;
|
|
492
|
-
cleanup: z.ZodEnum<{
|
|
493
|
-
cleaning: "cleaning";
|
|
494
|
-
complete: "complete";
|
|
495
|
-
incomplete: "incomplete";
|
|
496
|
-
requested: "requested";
|
|
497
|
-
retained: "retained";
|
|
498
|
-
terminating: "terminating";
|
|
499
|
-
}>;
|
|
500
|
-
summary: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
501
|
-
state: z.ZodLiteral<"available">;
|
|
502
|
-
text: z.ZodString;
|
|
503
|
-
source: z.ZodLiteral<"assistant">;
|
|
504
|
-
seq: z.ZodNumber;
|
|
505
|
-
truncated: z.ZodBoolean;
|
|
506
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
507
|
-
state: z.ZodLiteral<"unavailable">;
|
|
508
|
-
reason: z.ZodEnum<{
|
|
509
|
-
missing: "missing";
|
|
510
|
-
"no-assistant-output": "no-assistant-output";
|
|
511
|
-
unreadable: "unreadable";
|
|
512
|
-
unverified: "unverified";
|
|
513
|
-
}>;
|
|
514
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
515
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
516
|
-
state: z.ZodLiteral<"deleted">;
|
|
517
|
-
reason: z.ZodLiteral<"missing">;
|
|
518
|
-
}, z.core.$strict>], "state">;
|
|
519
|
-
head: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
520
|
-
state: z.ZodLiteral<"available">;
|
|
521
|
-
sha: z.ZodString;
|
|
522
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
523
|
-
state: z.ZodLiteral<"unavailable">;
|
|
524
|
-
reason: z.ZodEnum<{
|
|
525
|
-
missing: "missing";
|
|
526
|
-
"no-assistant-output": "no-assistant-output";
|
|
527
|
-
unreadable: "unreadable";
|
|
528
|
-
unverified: "unverified";
|
|
529
|
-
}>;
|
|
530
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
531
|
-
sha: z.ZodOptional<z.ZodString>;
|
|
532
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
533
|
-
state: z.ZodLiteral<"deleted">;
|
|
534
|
-
reason: z.ZodLiteral<"missing">;
|
|
535
|
-
sha: z.ZodOptional<z.ZodString>;
|
|
536
|
-
}, z.core.$strict>], "state">;
|
|
537
|
-
diff: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
538
|
-
state: z.ZodLiteral<"available">;
|
|
539
|
-
snapshotId: z.ZodUUID;
|
|
540
|
-
path: z.ZodString;
|
|
541
|
-
truncated: z.ZodBoolean;
|
|
542
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
543
|
-
state: z.ZodLiteral<"unavailable">;
|
|
544
|
-
reason: z.ZodEnum<{
|
|
545
|
-
missing: "missing";
|
|
546
|
-
"no-assistant-output": "no-assistant-output";
|
|
547
|
-
unreadable: "unreadable";
|
|
548
|
-
unverified: "unverified";
|
|
549
|
-
}>;
|
|
550
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
551
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
552
|
-
state: z.ZodLiteral<"deleted">;
|
|
553
|
-
reason: z.ZodLiteral<"missing">;
|
|
554
|
-
}, z.core.$strict>], "state">;
|
|
555
|
-
artifacts: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
556
|
-
state: z.ZodLiteral<"available">;
|
|
557
|
-
items: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
558
|
-
state: z.ZodLiteral<"available">;
|
|
559
|
-
id: z.ZodString;
|
|
560
|
-
path: z.ZodString;
|
|
561
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
562
|
-
state: z.ZodLiteral<"unavailable">;
|
|
563
|
-
reason: z.ZodEnum<{
|
|
564
|
-
missing: "missing";
|
|
565
|
-
"no-assistant-output": "no-assistant-output";
|
|
566
|
-
unreadable: "unreadable";
|
|
567
|
-
unverified: "unverified";
|
|
568
|
-
}>;
|
|
569
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
570
|
-
id: z.ZodString;
|
|
571
|
-
path: z.ZodString;
|
|
572
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
573
|
-
state: z.ZodLiteral<"deleted">;
|
|
574
|
-
reason: z.ZodLiteral<"missing">;
|
|
575
|
-
id: z.ZodString;
|
|
576
|
-
path: z.ZodString;
|
|
577
|
-
}, z.core.$strict>], "state">>;
|
|
578
|
-
truncated: z.ZodBoolean;
|
|
579
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
580
|
-
state: z.ZodLiteral<"unavailable">;
|
|
581
|
-
reason: z.ZodEnum<{
|
|
582
|
-
missing: "missing";
|
|
583
|
-
"no-assistant-output": "no-assistant-output";
|
|
584
|
-
unreadable: "unreadable";
|
|
585
|
-
unverified: "unverified";
|
|
586
|
-
}>;
|
|
587
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
588
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
589
|
-
state: z.ZodLiteral<"deleted">;
|
|
590
|
-
reason: z.ZodLiteral<"missing">;
|
|
591
|
-
}, z.core.$strict>], "state">;
|
|
592
|
-
}, z.core.$strict>;
|
|
593
|
-
diffSnapshot: z.ZodOptional<z.ZodString>;
|
|
594
|
-
}, z.core.$strict>;
|
|
595
|
-
export declare const workerResultReferenceSchema: z.ZodObject<{
|
|
596
|
-
workerId: z.ZodUUID;
|
|
597
|
-
revision: z.ZodNumber;
|
|
598
|
-
snapshotId: z.ZodUUID;
|
|
599
|
-
observedAt: z.ZodISODateTime;
|
|
600
|
-
lastExecutionOutcome: z.ZodEnum<{
|
|
601
|
-
cancelled: "cancelled";
|
|
602
|
-
completed: "completed";
|
|
603
|
-
failed: "failed";
|
|
604
|
-
"review-ready": "review-ready";
|
|
605
|
-
running: "running";
|
|
606
|
-
}>;
|
|
607
|
-
previous: z.ZodOptional<z.ZodObject<{
|
|
608
|
-
revision: z.ZodNumber;
|
|
609
|
-
observedAt: z.ZodISODateTime;
|
|
610
|
-
lastExecutionOutcome: z.ZodEnum<{
|
|
611
|
-
cancelled: "cancelled";
|
|
612
|
-
completed: "completed";
|
|
613
|
-
failed: "failed";
|
|
614
|
-
"review-ready": "review-ready";
|
|
615
|
-
running: "running";
|
|
616
|
-
}>;
|
|
617
|
-
}, z.core.$strict>>;
|
|
618
|
-
}, z.core.$strict>;
|
|
619
|
-
export declare const delegationStateSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
620
|
-
role: z.ZodLiteral<"root">;
|
|
621
|
-
conversation: z.ZodOptional<z.ZodObject<{
|
|
622
|
-
messages: z.ZodArray<z.ZodObject<{
|
|
623
|
-
senderRunId: z.ZodUUID;
|
|
624
|
-
recipientRunId: z.ZodUUID;
|
|
625
|
-
kind: z.ZodEnum<{
|
|
626
|
-
"follow-up": "follow-up";
|
|
627
|
-
progress: "progress";
|
|
628
|
-
reply: "reply";
|
|
629
|
-
request: "request";
|
|
630
|
-
}>;
|
|
631
|
-
requestId: z.ZodOptional<z.ZodUUID>;
|
|
632
|
-
id: z.ZodUUID;
|
|
633
|
-
text: z.ZodString;
|
|
634
|
-
createdAt: z.ZodISODateTime;
|
|
635
|
-
deadline: z.ZodOptional<z.ZodISODateTime>;
|
|
636
|
-
requestHash: z.ZodString;
|
|
637
|
-
state: z.ZodEnum<{
|
|
638
|
-
accepted: "accepted";
|
|
639
|
-
"continuation-required": "continuation-required";
|
|
640
|
-
destroyed: "destroyed";
|
|
641
|
-
late: "late";
|
|
642
|
-
}>;
|
|
643
|
-
resumed: z.ZodOptional<z.ZodLiteral<true>>;
|
|
644
|
-
instruction: z.ZodOptional<z.ZodString>;
|
|
645
|
-
question: z.ZodOptional<z.ZodObject<{
|
|
646
|
-
context: z.ZodOptional<z.ZodString>;
|
|
647
|
-
questions: z.ZodArray<z.ZodObject<{
|
|
648
|
-
id: z.ZodOptional<z.ZodString>;
|
|
649
|
-
header: z.ZodString;
|
|
650
|
-
question: z.ZodString;
|
|
651
|
-
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
652
|
-
label: z.ZodString;
|
|
653
|
-
description: z.ZodOptional<z.ZodString>;
|
|
654
|
-
}, z.core.$strict>>>;
|
|
655
|
-
multiSelect: z.ZodOptional<z.ZodBoolean>;
|
|
656
|
-
}, z.core.$strict>>;
|
|
657
|
-
}, z.core.$strict>>;
|
|
658
|
-
}, z.core.$strict>>;
|
|
659
|
-
outcomes: z.ZodArray<z.ZodObject<{
|
|
660
|
-
requestId: z.ZodUUID;
|
|
661
|
-
status: z.ZodEnum<{
|
|
662
|
-
cancelled: "cancelled";
|
|
663
|
-
"completed-without-reply": "completed-without-reply";
|
|
664
|
-
destroyed: "destroyed";
|
|
665
|
-
failed: "failed";
|
|
666
|
-
"human-fallback": "human-fallback";
|
|
667
|
-
replied: "replied";
|
|
668
|
-
"replied-late": "replied-late";
|
|
669
|
-
"sender-closed": "sender-closed";
|
|
670
|
-
"timed-out": "timed-out";
|
|
671
|
-
}>;
|
|
672
|
-
observedAt: z.ZodISODateTime;
|
|
673
|
-
replyId: z.ZodOptional<z.ZodUUID>;
|
|
674
|
-
}, z.core.$strict>>;
|
|
675
|
-
}, z.core.$strict>>;
|
|
676
|
-
permissions: z.ZodArray<z.ZodEnum<{
|
|
677
|
-
destroy: "destroy";
|
|
678
|
-
diff: "diff";
|
|
679
|
-
inspect: "inspect";
|
|
680
|
-
spawn: "spawn";
|
|
681
|
-
steer: "steer";
|
|
682
|
-
stop: "stop";
|
|
683
|
-
wait: "wait";
|
|
684
|
-
}>>;
|
|
685
|
-
receipts: z.ZodArray<z.ZodObject<{
|
|
686
|
-
requestId: z.ZodUUID;
|
|
687
|
-
workerId: z.ZodUUID;
|
|
688
|
-
requestHash: z.ZodString;
|
|
689
|
-
deletion: z.ZodOptional<z.ZodObject<{
|
|
690
|
-
phase: z.ZodEnum<{
|
|
691
|
-
complete: "complete";
|
|
692
|
-
pending: "pending";
|
|
693
|
-
}>;
|
|
694
|
-
revision: z.ZodNumber;
|
|
695
|
-
resourceId: z.ZodUUID;
|
|
696
|
-
generation: z.ZodUUID;
|
|
697
|
-
}, z.core.$strict>>;
|
|
698
|
-
}, z.core.$strict>>;
|
|
699
|
-
wait: z.ZodOptional<z.ZodObject<{
|
|
700
|
-
id: z.ZodUUID;
|
|
701
|
-
workerIds: z.ZodArray<z.ZodUUID>;
|
|
702
|
-
requestIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
703
|
-
requestOutcomes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
704
|
-
requestId: z.ZodUUID;
|
|
705
|
-
status: z.ZodEnum<{
|
|
706
|
-
cancelled: "cancelled";
|
|
707
|
-
"completed-without-reply": "completed-without-reply";
|
|
708
|
-
destroyed: "destroyed";
|
|
709
|
-
failed: "failed";
|
|
710
|
-
"human-fallback": "human-fallback";
|
|
711
|
-
replied: "replied";
|
|
712
|
-
"replied-late": "replied-late";
|
|
713
|
-
"sender-closed": "sender-closed";
|
|
714
|
-
"timed-out": "timed-out";
|
|
715
|
-
}>;
|
|
716
|
-
observedAt: z.ZodISODateTime;
|
|
717
|
-
replyId: z.ZodOptional<z.ZodUUID>;
|
|
718
|
-
}, z.core.$strict>>>;
|
|
719
|
-
deadline: z.ZodISODateTime;
|
|
720
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
721
|
-
all: "all";
|
|
722
|
-
any: "any";
|
|
723
|
-
one: "one";
|
|
724
|
-
}>>;
|
|
725
|
-
revisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
726
|
-
workerId: z.ZodUUID;
|
|
727
|
-
revision: z.ZodNumber;
|
|
728
|
-
}, z.core.$strict>>>;
|
|
729
|
-
reason: z.ZodOptional<z.ZodEnum<{
|
|
730
|
-
cancelled: "cancelled";
|
|
731
|
-
message: "message";
|
|
732
|
-
outcome: "outcome";
|
|
733
|
-
timeout: "timeout";
|
|
734
|
-
}>>;
|
|
735
|
-
phase: z.ZodEnum<{
|
|
736
|
-
parked: "parked";
|
|
737
|
-
registered: "registered";
|
|
738
|
-
"wake-pending": "wake-pending";
|
|
739
|
-
}>;
|
|
740
|
-
outcomes: z.ZodArray<z.ZodObject<{
|
|
741
|
-
workerId: z.ZodUUID;
|
|
742
|
-
status: z.ZodEnum<{
|
|
743
|
-
cancelled: "cancelled";
|
|
744
|
-
done: "done";
|
|
745
|
-
failed: "failed";
|
|
746
|
-
review: "review";
|
|
747
|
-
}>;
|
|
748
|
-
observedAt: z.ZodISODateTime;
|
|
749
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
750
|
-
revision: z.ZodOptional<z.ZodNumber>;
|
|
751
|
-
}, z.core.$strict>>;
|
|
752
|
-
wakeId: z.ZodOptional<z.ZodUUID>;
|
|
753
|
-
}, z.core.$strict>>;
|
|
754
|
-
lastWait: z.ZodOptional<z.ZodObject<{
|
|
755
|
-
id: z.ZodUUID;
|
|
756
|
-
workerIds: z.ZodArray<z.ZodUUID>;
|
|
757
|
-
requestIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
758
|
-
requestOutcomes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
759
|
-
requestId: z.ZodUUID;
|
|
760
|
-
status: z.ZodEnum<{
|
|
761
|
-
cancelled: "cancelled";
|
|
762
|
-
"completed-without-reply": "completed-without-reply";
|
|
763
|
-
destroyed: "destroyed";
|
|
764
|
-
failed: "failed";
|
|
765
|
-
"human-fallback": "human-fallback";
|
|
766
|
-
replied: "replied";
|
|
767
|
-
"replied-late": "replied-late";
|
|
768
|
-
"sender-closed": "sender-closed";
|
|
769
|
-
"timed-out": "timed-out";
|
|
770
|
-
}>;
|
|
771
|
-
observedAt: z.ZodISODateTime;
|
|
772
|
-
replyId: z.ZodOptional<z.ZodUUID>;
|
|
773
|
-
}, z.core.$strict>>>;
|
|
774
|
-
deadline: z.ZodISODateTime;
|
|
775
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
776
|
-
all: "all";
|
|
777
|
-
any: "any";
|
|
778
|
-
one: "one";
|
|
779
|
-
}>>;
|
|
780
|
-
revisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
781
|
-
workerId: z.ZodUUID;
|
|
782
|
-
revision: z.ZodNumber;
|
|
783
|
-
}, z.core.$strict>>>;
|
|
784
|
-
reason: z.ZodOptional<z.ZodEnum<{
|
|
785
|
-
cancelled: "cancelled";
|
|
786
|
-
message: "message";
|
|
787
|
-
outcome: "outcome";
|
|
788
|
-
timeout: "timeout";
|
|
789
|
-
}>>;
|
|
790
|
-
phase: z.ZodEnum<{
|
|
791
|
-
parked: "parked";
|
|
792
|
-
registered: "registered";
|
|
793
|
-
"wake-pending": "wake-pending";
|
|
794
|
-
}>;
|
|
795
|
-
outcomes: z.ZodArray<z.ZodObject<{
|
|
796
|
-
workerId: z.ZodUUID;
|
|
797
|
-
status: z.ZodEnum<{
|
|
798
|
-
cancelled: "cancelled";
|
|
799
|
-
done: "done";
|
|
800
|
-
failed: "failed";
|
|
801
|
-
review: "review";
|
|
802
|
-
}>;
|
|
803
|
-
observedAt: z.ZodISODateTime;
|
|
804
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
805
|
-
revision: z.ZodOptional<z.ZodNumber>;
|
|
806
|
-
}, z.core.$strict>>;
|
|
807
|
-
wakeId: z.ZodOptional<z.ZodUUID>;
|
|
808
|
-
}, z.core.$strict>>;
|
|
809
|
-
results: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
810
|
-
workerId: z.ZodUUID;
|
|
811
|
-
revision: z.ZodNumber;
|
|
812
|
-
snapshotId: z.ZodUUID;
|
|
813
|
-
observedAt: z.ZodISODateTime;
|
|
814
|
-
lastExecutionOutcome: z.ZodEnum<{
|
|
815
|
-
cancelled: "cancelled";
|
|
816
|
-
completed: "completed";
|
|
817
|
-
failed: "failed";
|
|
818
|
-
"review-ready": "review-ready";
|
|
819
|
-
running: "running";
|
|
820
|
-
}>;
|
|
821
|
-
previous: z.ZodOptional<z.ZodObject<{
|
|
822
|
-
revision: z.ZodNumber;
|
|
823
|
-
observedAt: z.ZodISODateTime;
|
|
824
|
-
lastExecutionOutcome: z.ZodEnum<{
|
|
825
|
-
cancelled: "cancelled";
|
|
826
|
-
completed: "completed";
|
|
827
|
-
failed: "failed";
|
|
828
|
-
"review-ready": "review-ready";
|
|
829
|
-
running: "running";
|
|
830
|
-
}>;
|
|
831
|
-
}, z.core.$strict>>;
|
|
832
|
-
}, z.core.$strict>>>;
|
|
833
|
-
finishRequestedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
834
|
-
historyDeletion: z.ZodOptional<z.ZodLiteral<"pending">>;
|
|
835
|
-
completion: z.ZodOptional<z.ZodObject<{
|
|
836
|
-
phase: z.ZodEnum<{
|
|
837
|
-
attention: "attention";
|
|
838
|
-
waiting: "waiting";
|
|
839
|
-
}>;
|
|
840
|
-
waitId: z.ZodOptional<z.ZodUUID>;
|
|
841
|
-
}, z.core.$strict>>;
|
|
842
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
843
|
-
role: z.ZodLiteral<"worker">;
|
|
844
|
-
wait: z.ZodOptional<z.ZodObject<{
|
|
845
|
-
id: z.ZodUUID;
|
|
846
|
-
workerIds: z.ZodArray<z.ZodUUID>;
|
|
847
|
-
requestIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
848
|
-
requestOutcomes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
849
|
-
requestId: z.ZodUUID;
|
|
850
|
-
status: z.ZodEnum<{
|
|
851
|
-
cancelled: "cancelled";
|
|
852
|
-
"completed-without-reply": "completed-without-reply";
|
|
853
|
-
destroyed: "destroyed";
|
|
854
|
-
failed: "failed";
|
|
855
|
-
"human-fallback": "human-fallback";
|
|
856
|
-
replied: "replied";
|
|
857
|
-
"replied-late": "replied-late";
|
|
858
|
-
"sender-closed": "sender-closed";
|
|
859
|
-
"timed-out": "timed-out";
|
|
860
|
-
}>;
|
|
861
|
-
observedAt: z.ZodISODateTime;
|
|
862
|
-
replyId: z.ZodOptional<z.ZodUUID>;
|
|
863
|
-
}, z.core.$strict>>>;
|
|
864
|
-
deadline: z.ZodISODateTime;
|
|
865
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
866
|
-
all: "all";
|
|
867
|
-
any: "any";
|
|
868
|
-
one: "one";
|
|
869
|
-
}>>;
|
|
870
|
-
revisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
871
|
-
workerId: z.ZodUUID;
|
|
872
|
-
revision: z.ZodNumber;
|
|
873
|
-
}, z.core.$strict>>>;
|
|
874
|
-
reason: z.ZodOptional<z.ZodEnum<{
|
|
875
|
-
cancelled: "cancelled";
|
|
876
|
-
message: "message";
|
|
877
|
-
outcome: "outcome";
|
|
878
|
-
timeout: "timeout";
|
|
879
|
-
}>>;
|
|
880
|
-
phase: z.ZodEnum<{
|
|
881
|
-
parked: "parked";
|
|
882
|
-
registered: "registered";
|
|
883
|
-
"wake-pending": "wake-pending";
|
|
884
|
-
}>;
|
|
885
|
-
outcomes: z.ZodArray<z.ZodObject<{
|
|
886
|
-
workerId: z.ZodUUID;
|
|
887
|
-
status: z.ZodEnum<{
|
|
888
|
-
cancelled: "cancelled";
|
|
889
|
-
done: "done";
|
|
890
|
-
failed: "failed";
|
|
891
|
-
review: "review";
|
|
892
|
-
}>;
|
|
893
|
-
observedAt: z.ZodISODateTime;
|
|
894
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
895
|
-
revision: z.ZodOptional<z.ZodNumber>;
|
|
896
|
-
}, z.core.$strict>>;
|
|
897
|
-
wakeId: z.ZodOptional<z.ZodUUID>;
|
|
898
|
-
}, z.core.$strict>>;
|
|
899
|
-
lastWait: z.ZodOptional<z.ZodObject<{
|
|
900
|
-
id: z.ZodUUID;
|
|
901
|
-
workerIds: z.ZodArray<z.ZodUUID>;
|
|
902
|
-
requestIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
903
|
-
requestOutcomes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
904
|
-
requestId: z.ZodUUID;
|
|
905
|
-
status: z.ZodEnum<{
|
|
906
|
-
cancelled: "cancelled";
|
|
907
|
-
"completed-without-reply": "completed-without-reply";
|
|
908
|
-
destroyed: "destroyed";
|
|
909
|
-
failed: "failed";
|
|
910
|
-
"human-fallback": "human-fallback";
|
|
911
|
-
replied: "replied";
|
|
912
|
-
"replied-late": "replied-late";
|
|
913
|
-
"sender-closed": "sender-closed";
|
|
914
|
-
"timed-out": "timed-out";
|
|
915
|
-
}>;
|
|
916
|
-
observedAt: z.ZodISODateTime;
|
|
917
|
-
replyId: z.ZodOptional<z.ZodUUID>;
|
|
918
|
-
}, z.core.$strict>>>;
|
|
919
|
-
deadline: z.ZodISODateTime;
|
|
920
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
921
|
-
all: "all";
|
|
922
|
-
any: "any";
|
|
923
|
-
one: "one";
|
|
924
|
-
}>>;
|
|
925
|
-
revisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
926
|
-
workerId: z.ZodUUID;
|
|
927
|
-
revision: z.ZodNumber;
|
|
928
|
-
}, z.core.$strict>>>;
|
|
929
|
-
reason: z.ZodOptional<z.ZodEnum<{
|
|
930
|
-
cancelled: "cancelled";
|
|
931
|
-
message: "message";
|
|
932
|
-
outcome: "outcome";
|
|
933
|
-
timeout: "timeout";
|
|
934
|
-
}>>;
|
|
935
|
-
phase: z.ZodEnum<{
|
|
936
|
-
parked: "parked";
|
|
937
|
-
registered: "registered";
|
|
938
|
-
"wake-pending": "wake-pending";
|
|
939
|
-
}>;
|
|
940
|
-
outcomes: z.ZodArray<z.ZodObject<{
|
|
941
|
-
workerId: z.ZodUUID;
|
|
942
|
-
status: z.ZodEnum<{
|
|
943
|
-
cancelled: "cancelled";
|
|
944
|
-
done: "done";
|
|
945
|
-
failed: "failed";
|
|
946
|
-
review: "review";
|
|
947
|
-
}>;
|
|
948
|
-
observedAt: z.ZodISODateTime;
|
|
949
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
950
|
-
revision: z.ZodOptional<z.ZodNumber>;
|
|
951
|
-
}, z.core.$strict>>;
|
|
952
|
-
wakeId: z.ZodOptional<z.ZodUUID>;
|
|
953
|
-
}, z.core.$strict>>;
|
|
954
|
-
permissions: z.ZodArray<z.ZodEnum<{
|
|
955
|
-
destroy: "destroy";
|
|
956
|
-
diff: "diff";
|
|
957
|
-
inspect: "inspect";
|
|
958
|
-
spawn: "spawn";
|
|
959
|
-
steer: "steer";
|
|
960
|
-
stop: "stop";
|
|
961
|
-
wait: "wait";
|
|
962
|
-
}>>;
|
|
963
|
-
parentRunId: z.ZodUUID;
|
|
964
|
-
workspace: z.ZodObject<{
|
|
965
|
-
ownerRunId: z.ZodUUID;
|
|
966
|
-
resourceId: z.ZodUUID;
|
|
967
|
-
kind: z.ZodLiteral<"owned-isolated">;
|
|
968
|
-
path: z.ZodString;
|
|
969
|
-
branch: z.ZodString;
|
|
970
|
-
baselineSha: z.ZodString;
|
|
971
|
-
}, z.core.$strict>;
|
|
972
|
-
destroy: z.ZodOptional<z.ZodObject<{
|
|
973
|
-
requestedAt: z.ZodISODateTime;
|
|
974
|
-
phase: z.ZodEnum<{
|
|
975
|
-
cleaning: "cleaning";
|
|
976
|
-
complete: "complete";
|
|
977
|
-
incomplete: "incomplete";
|
|
978
|
-
requested: "requested";
|
|
979
|
-
terminating: "terminating";
|
|
980
|
-
}>;
|
|
981
|
-
remaining: z.ZodArray<z.ZodEnum<{
|
|
982
|
-
branch: "branch";
|
|
983
|
-
process: "process";
|
|
984
|
-
worktree: "worktree";
|
|
985
|
-
}>>;
|
|
986
|
-
error: z.ZodOptional<z.ZodString>;
|
|
987
|
-
}, z.core.$strict>>;
|
|
988
|
-
context: z.ZodOptional<z.ZodObject<{
|
|
989
|
-
text: z.ZodOptional<z.ZodString>;
|
|
990
|
-
inputs: z.ZodArray<z.ZodObject<{
|
|
991
|
-
source: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
992
|
-
kind: z.ZodLiteral<"baseline-file">;
|
|
993
|
-
path: z.ZodString;
|
|
994
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
995
|
-
kind: z.ZodLiteral<"parent-attachment">;
|
|
996
|
-
id: z.ZodString;
|
|
997
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
998
|
-
kind: z.ZodLiteral<"parent-file">;
|
|
999
|
-
path: z.ZodString;
|
|
1000
|
-
}, z.core.$strict>], "kind">;
|
|
1001
|
-
path: z.ZodString;
|
|
1002
|
-
sha256: z.ZodString;
|
|
1003
|
-
bytes: z.ZodNumber;
|
|
1004
|
-
}, z.core.$strict>>;
|
|
1005
|
-
}, z.core.$strict>>;
|
|
1006
|
-
executionRevision: z.ZodOptional<z.ZodNumber>;
|
|
1007
|
-
executionStartSeq: z.ZodOptional<z.ZodNumber>;
|
|
1008
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1009
|
-
role: z.ZodLiteral<"invalid">;
|
|
1010
|
-
}, z.core.$strict>], "role">;
|
|
1011
|
-
export type DelegationState = z.infer<typeof delegationStateSchema>;
|
|
1012
|
-
/** Slim list/palette projection. Never copies resource paths, permissions or receipts. */
|
|
1013
|
-
export declare const runDelegationSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1014
|
-
role: z.ZodLiteral<"root">;
|
|
1015
|
-
wait: z.ZodOptional<z.ZodObject<{
|
|
1016
|
-
workerIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
1017
|
-
requestIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
1018
|
-
phase: z.ZodEnum<{
|
|
1019
|
-
parked: "parked";
|
|
1020
|
-
registered: "registered";
|
|
1021
|
-
"wake-pending": "wake-pending";
|
|
1022
|
-
}>;
|
|
1023
|
-
outcomes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1024
|
-
workerId: z.ZodUUID;
|
|
1025
|
-
}, z.core.$strip>>>;
|
|
1026
|
-
}, z.core.$strip>>;
|
|
1027
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1028
|
-
role: z.ZodLiteral<"worker">;
|
|
1029
|
-
parentRunId: z.ZodUUID;
|
|
1030
|
-
wait: z.ZodOptional<z.ZodObject<{
|
|
1031
|
-
requestIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
1032
|
-
phase: z.ZodEnum<{
|
|
1033
|
-
parked: "parked";
|
|
1034
|
-
registered: "registered";
|
|
1035
|
-
"wake-pending": "wake-pending";
|
|
1036
|
-
}>;
|
|
1037
|
-
}, z.core.$strip>>;
|
|
1038
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1039
|
-
role: z.ZodLiteral<"invalid">;
|
|
1040
|
-
}, z.core.$strip>], "role">;
|
|
1041
|
-
export type RunDelegationSummary = z.infer<typeof runDelegationSummarySchema>;
|
|
1042
|
-
export declare const workerSpawnRequestSchema: z.ZodObject<{
|
|
1043
|
-
task: z.ZodString;
|
|
1044
|
-
baseline: z.ZodString;
|
|
1045
|
-
requestId: z.ZodUUID;
|
|
1046
|
-
context: z.ZodOptional<z.ZodObject<{
|
|
1047
|
-
text: z.ZodOptional<z.ZodString>;
|
|
1048
|
-
artifacts: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1049
|
-
kind: z.ZodLiteral<"baseline-file">;
|
|
1050
|
-
path: z.ZodString;
|
|
1051
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1052
|
-
kind: z.ZodLiteral<"parent-attachment">;
|
|
1053
|
-
id: z.ZodString;
|
|
1054
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1055
|
-
kind: z.ZodLiteral<"parent-file">;
|
|
1056
|
-
path: z.ZodString;
|
|
1057
|
-
}, z.core.$strict>], "kind">>>;
|
|
1058
|
-
}, z.core.$strict>>;
|
|
1059
|
-
backend: z.ZodOptional<z.ZodEnum<{
|
|
1060
|
-
claude: "claude";
|
|
1061
|
-
codex: "codex";
|
|
1062
|
-
cursor: "cursor";
|
|
1063
|
-
omp: "omp";
|
|
1064
|
-
opencode: "opencode";
|
|
1065
|
-
pi: "pi";
|
|
1066
|
-
}>>;
|
|
1067
|
-
model: z.ZodOptional<z.ZodString>;
|
|
1068
|
-
effort: z.ZodOptional<z.ZodString>;
|
|
1069
|
-
workflow: z.ZodOptional<z.ZodString>;
|
|
1070
|
-
skill: z.ZodOptional<z.ZodString>;
|
|
1071
|
-
}, z.core.$strict>;
|
|
1072
|
-
export type WorkerSpawnRequest = z.infer<typeof workerSpawnRequestSchema>;
|
|
1073
|
-
export declare const workerSteerRequestSchema: z.ZodObject<{
|
|
1074
|
-
text: z.ZodString;
|
|
1075
|
-
}, z.core.$strict>;
|
|
1076
|
-
export type WorkerSteerRequest = z.infer<typeof workerSteerRequestSchema>;
|
|
1077
|
-
export declare const workerWaitRequestSchema: z.ZodObject<{
|
|
1078
|
-
workerIds: z.ZodArray<z.ZodUUID>;
|
|
1079
|
-
timeoutSeconds: z.ZodDefault<z.ZodNumber>;
|
|
1080
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
1081
|
-
all: "all";
|
|
1082
|
-
any: "any";
|
|
1083
|
-
one: "one";
|
|
1084
|
-
}>>;
|
|
1085
|
-
}, z.core.$strict>;
|
|
1086
|
-
export type WorkerWaitRequest = z.infer<typeof workerWaitRequestSchema>;
|
|
1087
|
-
export declare const inboxClaimSchema: z.ZodObject<{
|
|
1088
|
-
receiptId: z.ZodUUID;
|
|
1089
|
-
generation: z.ZodUUID;
|
|
1090
|
-
expiresAt: z.ZodISODateTime;
|
|
1091
|
-
acknowledgedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1092
|
-
memberIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
1093
|
-
}, z.core.$strict>;
|
|
1094
|
-
export type InboxClaim = z.infer<typeof inboxClaimSchema>;
|
|
1095
|
-
export declare const agentInputSchema: z.ZodObject<{
|
|
1096
|
-
conversation: z.ZodOptional<z.ZodObject<{
|
|
1097
|
-
senderRunId: z.ZodUUID;
|
|
1098
|
-
recipientRunId: z.ZodUUID;
|
|
1099
|
-
kind: z.ZodEnum<{
|
|
1100
|
-
"follow-up": "follow-up";
|
|
1101
|
-
progress: "progress";
|
|
1102
|
-
reply: "reply";
|
|
1103
|
-
request: "request";
|
|
1104
|
-
}>;
|
|
1105
|
-
requestId: z.ZodOptional<z.ZodUUID>;
|
|
1106
|
-
}, z.core.$strict>>;
|
|
1107
|
-
id: z.ZodUUID;
|
|
1108
|
-
source: z.ZodEnum<{
|
|
1109
|
-
agent: "agent";
|
|
1110
|
-
lifecycle: "lifecycle";
|
|
1111
|
-
}>;
|
|
1112
|
-
parentRunId: z.ZodUUID;
|
|
1113
|
-
text: z.ZodString;
|
|
1114
|
-
createdAt: z.ZodISODateTime;
|
|
1115
|
-
deliveredAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1116
|
-
consumedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1117
|
-
awaitingRead: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1118
|
-
inboxClaim: z.ZodOptional<z.ZodObject<{
|
|
1119
|
-
receiptId: z.ZodUUID;
|
|
1120
|
-
generation: z.ZodUUID;
|
|
1121
|
-
expiresAt: z.ZodISODateTime;
|
|
1122
|
-
acknowledgedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1123
|
-
memberIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
1124
|
-
}, z.core.$strict>>;
|
|
1125
|
-
purpose: z.ZodOptional<z.ZodLiteral<"completion-refusal">>;
|
|
1126
|
-
}, z.core.$strict>;
|
|
1127
|
-
export type AgentInput = z.infer<typeof agentInputSchema>;
|
|
1128
|
-
export declare const workerInspectionSchema: z.ZodObject<{
|
|
1129
|
-
workerId: z.ZodUUID;
|
|
1130
|
-
parentRunId: z.ZodUUID;
|
|
1131
|
-
status: z.ZodEnum<{
|
|
1132
|
-
cancelled: "cancelled";
|
|
1133
|
-
done: "done";
|
|
1134
|
-
failed: "failed";
|
|
1135
|
-
queued: "queued";
|
|
1136
|
-
review: "review";
|
|
1137
|
-
running: "running";
|
|
1138
|
-
waiting: "waiting";
|
|
1139
|
-
}>;
|
|
1140
|
-
currentStepId: z.ZodOptional<z.ZodString>;
|
|
1141
|
-
workspace: z.ZodObject<{
|
|
1142
|
-
ownerRunId: z.ZodUUID;
|
|
1143
|
-
resourceId: z.ZodUUID;
|
|
1144
|
-
kind: z.ZodLiteral<"owned-isolated">;
|
|
1145
|
-
path: z.ZodString;
|
|
1146
|
-
branch: z.ZodString;
|
|
1147
|
-
baselineSha: z.ZodString;
|
|
1148
|
-
}, z.core.$strict>;
|
|
1149
|
-
backend: z.ZodOptional<z.ZodEnum<{
|
|
1150
|
-
claude: "claude";
|
|
1151
|
-
codex: "codex";
|
|
1152
|
-
cursor: "cursor";
|
|
1153
|
-
omp: "omp";
|
|
1154
|
-
opencode: "opencode";
|
|
1155
|
-
pi: "pi";
|
|
1156
|
-
}>>;
|
|
1157
|
-
model: z.ZodOptional<z.ZodString>;
|
|
1158
|
-
inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1159
|
-
source: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1160
|
-
kind: z.ZodLiteral<"baseline-file">;
|
|
1161
|
-
path: z.ZodString;
|
|
1162
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1163
|
-
kind: z.ZodLiteral<"parent-attachment">;
|
|
1164
|
-
id: z.ZodString;
|
|
1165
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1166
|
-
kind: z.ZodLiteral<"parent-file">;
|
|
1167
|
-
path: z.ZodString;
|
|
1168
|
-
}, z.core.$strict>], "kind">;
|
|
1169
|
-
path: z.ZodString;
|
|
1170
|
-
sha256: z.ZodString;
|
|
1171
|
-
bytes: z.ZodNumber;
|
|
1172
|
-
}, z.core.$strict>>>;
|
|
1173
|
-
wait: z.ZodOptional<z.ZodObject<{
|
|
1174
|
-
id: z.ZodUUID;
|
|
1175
|
-
workerIds: z.ZodArray<z.ZodUUID>;
|
|
1176
|
-
requestIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
1177
|
-
requestOutcomes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1178
|
-
requestId: z.ZodUUID;
|
|
1179
|
-
status: z.ZodEnum<{
|
|
1180
|
-
cancelled: "cancelled";
|
|
1181
|
-
"completed-without-reply": "completed-without-reply";
|
|
1182
|
-
destroyed: "destroyed";
|
|
1183
|
-
failed: "failed";
|
|
1184
|
-
"human-fallback": "human-fallback";
|
|
1185
|
-
replied: "replied";
|
|
1186
|
-
"replied-late": "replied-late";
|
|
1187
|
-
"sender-closed": "sender-closed";
|
|
1188
|
-
"timed-out": "timed-out";
|
|
1189
|
-
}>;
|
|
1190
|
-
observedAt: z.ZodISODateTime;
|
|
1191
|
-
replyId: z.ZodOptional<z.ZodUUID>;
|
|
1192
|
-
}, z.core.$strict>>>;
|
|
1193
|
-
deadline: z.ZodISODateTime;
|
|
1194
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
1195
|
-
all: "all";
|
|
1196
|
-
any: "any";
|
|
1197
|
-
one: "one";
|
|
1198
|
-
}>>;
|
|
1199
|
-
revisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1200
|
-
workerId: z.ZodUUID;
|
|
1201
|
-
revision: z.ZodNumber;
|
|
1202
|
-
}, z.core.$strict>>>;
|
|
1203
|
-
reason: z.ZodOptional<z.ZodEnum<{
|
|
1204
|
-
cancelled: "cancelled";
|
|
1205
|
-
message: "message";
|
|
1206
|
-
outcome: "outcome";
|
|
1207
|
-
timeout: "timeout";
|
|
1208
|
-
}>>;
|
|
1209
|
-
phase: z.ZodEnum<{
|
|
1210
|
-
parked: "parked";
|
|
1211
|
-
registered: "registered";
|
|
1212
|
-
"wake-pending": "wake-pending";
|
|
1213
|
-
}>;
|
|
1214
|
-
outcomes: z.ZodArray<z.ZodObject<{
|
|
1215
|
-
workerId: z.ZodUUID;
|
|
1216
|
-
status: z.ZodEnum<{
|
|
1217
|
-
cancelled: "cancelled";
|
|
1218
|
-
done: "done";
|
|
1219
|
-
failed: "failed";
|
|
1220
|
-
review: "review";
|
|
1221
|
-
}>;
|
|
1222
|
-
observedAt: z.ZodISODateTime;
|
|
1223
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
1224
|
-
revision: z.ZodOptional<z.ZodNumber>;
|
|
1225
|
-
}, z.core.$strict>>;
|
|
1226
|
-
wakeId: z.ZodOptional<z.ZodUUID>;
|
|
1227
|
-
}, z.core.$strict>>;
|
|
1228
|
-
completionWait: z.ZodOptional<z.ZodObject<{
|
|
1229
|
-
id: z.ZodUUID;
|
|
1230
|
-
workerIds: z.ZodArray<z.ZodUUID>;
|
|
1231
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
1232
|
-
all: "all";
|
|
1233
|
-
any: "any";
|
|
1234
|
-
one: "one";
|
|
1235
|
-
}>>;
|
|
1236
|
-
revisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1237
|
-
workerId: z.ZodUUID;
|
|
1238
|
-
revision: z.ZodNumber;
|
|
1239
|
-
}, z.core.$strict>>>;
|
|
1240
|
-
reason: z.ZodOptional<z.ZodEnum<{
|
|
1241
|
-
cancelled: "cancelled";
|
|
1242
|
-
message: "message";
|
|
1243
|
-
outcome: "outcome";
|
|
1244
|
-
timeout: "timeout";
|
|
1245
|
-
}>>;
|
|
1246
|
-
phase: z.ZodEnum<{
|
|
1247
|
-
parked: "parked";
|
|
1248
|
-
registered: "registered";
|
|
1249
|
-
"wake-pending": "wake-pending";
|
|
1250
|
-
}>;
|
|
1251
|
-
outcomes: z.ZodArray<z.ZodObject<{
|
|
1252
|
-
workerId: z.ZodUUID;
|
|
1253
|
-
status: z.ZodEnum<{
|
|
1254
|
-
cancelled: "cancelled";
|
|
1255
|
-
done: "done";
|
|
1256
|
-
failed: "failed";
|
|
1257
|
-
review: "review";
|
|
1258
|
-
}>;
|
|
1259
|
-
observedAt: z.ZodISODateTime;
|
|
1260
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
1261
|
-
revision: z.ZodOptional<z.ZodNumber>;
|
|
1262
|
-
}, z.core.$strict>>;
|
|
1263
|
-
wakeId: z.ZodOptional<z.ZodUUID>;
|
|
1264
|
-
via: z.ZodLiteral<"completion">;
|
|
1265
|
-
}, z.core.$strict>>;
|
|
1266
|
-
destroy: z.ZodOptional<z.ZodObject<{
|
|
1267
|
-
requestedAt: z.ZodISODateTime;
|
|
1268
|
-
phase: z.ZodEnum<{
|
|
1269
|
-
cleaning: "cleaning";
|
|
1270
|
-
complete: "complete";
|
|
1271
|
-
incomplete: "incomplete";
|
|
1272
|
-
requested: "requested";
|
|
1273
|
-
terminating: "terminating";
|
|
1274
|
-
}>;
|
|
1275
|
-
remaining: z.ZodArray<z.ZodEnum<{
|
|
1276
|
-
branch: "branch";
|
|
1277
|
-
process: "process";
|
|
1278
|
-
worktree: "worktree";
|
|
1279
|
-
}>>;
|
|
1280
|
-
error: z.ZodOptional<z.ZodString>;
|
|
1281
|
-
retry: z.ZodOptional<z.ZodObject<{
|
|
1282
|
-
attempts: z.ZodNumber;
|
|
1283
|
-
nextAt: z.ZodISODateTime;
|
|
1284
|
-
needsAttention: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1285
|
-
}, z.core.$strict>>;
|
|
1286
|
-
}, z.core.$strict>>;
|
|
1287
|
-
outcome: z.ZodOptional<z.ZodObject<{
|
|
1288
|
-
workerId: z.ZodUUID;
|
|
1289
|
-
status: z.ZodEnum<{
|
|
1290
|
-
cancelled: "cancelled";
|
|
1291
|
-
done: "done";
|
|
1292
|
-
failed: "failed";
|
|
1293
|
-
review: "review";
|
|
1294
|
-
}>;
|
|
1295
|
-
observedAt: z.ZodISODateTime;
|
|
1296
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
1297
|
-
revision: z.ZodOptional<z.ZodNumber>;
|
|
1298
|
-
}, z.core.$strict>>;
|
|
1299
|
-
}, z.core.$strip>;
|
|
1300
|
-
export type WorkerInspection = z.infer<typeof workerInspectionSchema>;
|
|
1301
|
-
/** Small summaries omit inspection inputs, wait payloads and assistant output. */
|
|
1302
|
-
export declare const workerListEntrySchema: z.ZodObject<{
|
|
1303
|
-
workerId: z.ZodUUID;
|
|
1304
|
-
parentRunId: z.ZodUUID;
|
|
1305
|
-
status: z.ZodEnum<{
|
|
1306
|
-
cancelled: "cancelled";
|
|
1307
|
-
done: "done";
|
|
1308
|
-
failed: "failed";
|
|
1309
|
-
queued: "queued";
|
|
1310
|
-
review: "review";
|
|
1311
|
-
running: "running";
|
|
1312
|
-
waiting: "waiting";
|
|
1313
|
-
}>;
|
|
1314
|
-
workspace: z.ZodObject<{
|
|
1315
|
-
ownerRunId: z.ZodUUID;
|
|
1316
|
-
resourceId: z.ZodUUID;
|
|
1317
|
-
kind: z.ZodLiteral<"owned-isolated">;
|
|
1318
|
-
path: z.ZodString;
|
|
1319
|
-
branch: z.ZodString;
|
|
1320
|
-
baselineSha: z.ZodString;
|
|
1321
|
-
}, z.core.$strict>;
|
|
1322
|
-
destroy: z.ZodOptional<z.ZodObject<{
|
|
1323
|
-
requestedAt: z.ZodISODateTime;
|
|
1324
|
-
phase: z.ZodEnum<{
|
|
1325
|
-
cleaning: "cleaning";
|
|
1326
|
-
complete: "complete";
|
|
1327
|
-
incomplete: "incomplete";
|
|
1328
|
-
requested: "requested";
|
|
1329
|
-
terminating: "terminating";
|
|
1330
|
-
}>;
|
|
1331
|
-
remaining: z.ZodArray<z.ZodEnum<{
|
|
1332
|
-
branch: "branch";
|
|
1333
|
-
process: "process";
|
|
1334
|
-
worktree: "worktree";
|
|
1335
|
-
}>>;
|
|
1336
|
-
error: z.ZodOptional<z.ZodString>;
|
|
1337
|
-
retry: z.ZodOptional<z.ZodObject<{
|
|
1338
|
-
attempts: z.ZodNumber;
|
|
1339
|
-
nextAt: z.ZodISODateTime;
|
|
1340
|
-
needsAttention: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1341
|
-
}, z.core.$strict>>;
|
|
1342
|
-
}, z.core.$strict>>;
|
|
1343
|
-
revision: z.ZodNumber;
|
|
1344
|
-
settled: z.ZodBoolean;
|
|
1345
|
-
destroyed: z.ZodBoolean;
|
|
1346
|
-
}, z.core.$strict>;
|
|
1347
|
-
export declare const workerListResultSchema: z.ZodObject<{
|
|
1348
|
-
workers: z.ZodArray<z.ZodObject<{
|
|
1349
|
-
workerId: z.ZodUUID;
|
|
1350
|
-
parentRunId: z.ZodUUID;
|
|
1351
|
-
status: z.ZodEnum<{
|
|
1352
|
-
cancelled: "cancelled";
|
|
1353
|
-
done: "done";
|
|
1354
|
-
failed: "failed";
|
|
1355
|
-
queued: "queued";
|
|
1356
|
-
review: "review";
|
|
1357
|
-
running: "running";
|
|
1358
|
-
waiting: "waiting";
|
|
1359
|
-
}>;
|
|
1360
|
-
workspace: z.ZodObject<{
|
|
1361
|
-
ownerRunId: z.ZodUUID;
|
|
1362
|
-
resourceId: z.ZodUUID;
|
|
1363
|
-
kind: z.ZodLiteral<"owned-isolated">;
|
|
1364
|
-
path: z.ZodString;
|
|
1365
|
-
branch: z.ZodString;
|
|
1366
|
-
baselineSha: z.ZodString;
|
|
1367
|
-
}, z.core.$strict>;
|
|
1368
|
-
destroy: z.ZodOptional<z.ZodObject<{
|
|
1369
|
-
requestedAt: z.ZodISODateTime;
|
|
1370
|
-
phase: z.ZodEnum<{
|
|
1371
|
-
cleaning: "cleaning";
|
|
1372
|
-
complete: "complete";
|
|
1373
|
-
incomplete: "incomplete";
|
|
1374
|
-
requested: "requested";
|
|
1375
|
-
terminating: "terminating";
|
|
1376
|
-
}>;
|
|
1377
|
-
remaining: z.ZodArray<z.ZodEnum<{
|
|
1378
|
-
branch: "branch";
|
|
1379
|
-
process: "process";
|
|
1380
|
-
worktree: "worktree";
|
|
1381
|
-
}>>;
|
|
1382
|
-
error: z.ZodOptional<z.ZodString>;
|
|
1383
|
-
retry: z.ZodOptional<z.ZodObject<{
|
|
1384
|
-
attempts: z.ZodNumber;
|
|
1385
|
-
nextAt: z.ZodISODateTime;
|
|
1386
|
-
needsAttention: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1387
|
-
}, z.core.$strict>>;
|
|
1388
|
-
}, z.core.$strict>>;
|
|
1389
|
-
revision: z.ZodNumber;
|
|
1390
|
-
settled: z.ZodBoolean;
|
|
1391
|
-
destroyed: z.ZodBoolean;
|
|
1392
|
-
}, z.core.$strict>>;
|
|
1393
|
-
}, z.core.$strict>;
|
|
1394
|
-
export type WorkerListResult = z.infer<typeof workerListResultSchema>;
|
|
1395
|
-
/** Receipt offsets are scoped to the authenticated parent; each page examines at most 32. */
|
|
1396
|
-
export declare const workerListQuerySchema: z.ZodObject<{
|
|
1397
|
-
offset: z.ZodOptional<z.ZodString>;
|
|
1398
|
-
}, z.core.$strict>;
|
|
1399
|
-
export type WorkerListQuery = z.infer<typeof workerListQuerySchema>;
|
|
1400
|
-
export declare const workerListPageSchema: z.ZodObject<{
|
|
1401
|
-
workers: z.ZodArray<z.ZodObject<{
|
|
1402
|
-
workerId: z.ZodUUID;
|
|
1403
|
-
parentRunId: z.ZodUUID;
|
|
1404
|
-
status: z.ZodEnum<{
|
|
1405
|
-
cancelled: "cancelled";
|
|
1406
|
-
done: "done";
|
|
1407
|
-
failed: "failed";
|
|
1408
|
-
queued: "queued";
|
|
1409
|
-
review: "review";
|
|
1410
|
-
running: "running";
|
|
1411
|
-
waiting: "waiting";
|
|
1412
|
-
}>;
|
|
1413
|
-
workspace: z.ZodObject<{
|
|
1414
|
-
ownerRunId: z.ZodUUID;
|
|
1415
|
-
resourceId: z.ZodUUID;
|
|
1416
|
-
kind: z.ZodLiteral<"owned-isolated">;
|
|
1417
|
-
path: z.ZodString;
|
|
1418
|
-
branch: z.ZodString;
|
|
1419
|
-
baselineSha: z.ZodString;
|
|
1420
|
-
}, z.core.$strict>;
|
|
1421
|
-
destroy: z.ZodOptional<z.ZodObject<{
|
|
1422
|
-
requestedAt: z.ZodISODateTime;
|
|
1423
|
-
phase: z.ZodEnum<{
|
|
1424
|
-
cleaning: "cleaning";
|
|
1425
|
-
complete: "complete";
|
|
1426
|
-
incomplete: "incomplete";
|
|
1427
|
-
requested: "requested";
|
|
1428
|
-
terminating: "terminating";
|
|
1429
|
-
}>;
|
|
1430
|
-
remaining: z.ZodArray<z.ZodEnum<{
|
|
1431
|
-
branch: "branch";
|
|
1432
|
-
process: "process";
|
|
1433
|
-
worktree: "worktree";
|
|
1434
|
-
}>>;
|
|
1435
|
-
error: z.ZodOptional<z.ZodString>;
|
|
1436
|
-
retry: z.ZodOptional<z.ZodObject<{
|
|
1437
|
-
attempts: z.ZodNumber;
|
|
1438
|
-
nextAt: z.ZodISODateTime;
|
|
1439
|
-
needsAttention: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1440
|
-
}, z.core.$strict>>;
|
|
1441
|
-
}, z.core.$strict>>;
|
|
1442
|
-
revision: z.ZodNumber;
|
|
1443
|
-
settled: z.ZodBoolean;
|
|
1444
|
-
destroyed: z.ZodBoolean;
|
|
1445
|
-
}, z.core.$strict>>;
|
|
1446
|
-
nextOffset: z.ZodOptional<z.ZodNumber>;
|
|
1447
|
-
}, z.core.$strict>;
|
|
1448
|
-
export type WorkerListPage = z.infer<typeof workerListPageSchema>;
|
|
1449
|
-
export declare const workerDiffSchema: z.ZodObject<{
|
|
1450
|
-
workerId: z.ZodUUID;
|
|
1451
|
-
baselineSha: z.ZodString;
|
|
1452
|
-
diff: z.ZodString;
|
|
1453
|
-
truncated: z.ZodBoolean;
|
|
1454
|
-
}, z.core.$strip>;
|
|
1455
|
-
export type WorkerDiff = z.infer<typeof workerDiffSchema>;
|
|
1456
|
-
export declare const workerStopResultSchema: z.ZodObject<{
|
|
1457
|
-
workerId: z.ZodUUID;
|
|
1458
|
-
state: z.ZodEnum<{
|
|
1459
|
-
stopping: "stopping";
|
|
1460
|
-
terminated: "terminated";
|
|
1461
|
-
}>;
|
|
1462
|
-
}, z.core.$strip>;
|
|
1463
|
-
export type WorkerStopResult = z.infer<typeof workerStopResultSchema>;
|
|
1464
|
-
export declare const workerDestroyResultSchema: z.ZodObject<{
|
|
1465
|
-
workerId: z.ZodUUID;
|
|
1466
|
-
state: z.ZodEnum<{
|
|
1467
|
-
complete: "complete";
|
|
1468
|
-
incomplete: "incomplete";
|
|
1469
|
-
}>;
|
|
1470
|
-
deleted: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1471
|
-
kind: z.ZodLiteral<"worktree">;
|
|
1472
|
-
path: z.ZodString;
|
|
1473
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1474
|
-
kind: z.ZodLiteral<"branch">;
|
|
1475
|
-
ref: z.ZodString;
|
|
1476
|
-
}, z.core.$strict>], "kind">>>;
|
|
1477
|
-
remaining: z.ZodArray<z.ZodEnum<{
|
|
1478
|
-
branch: "branch";
|
|
1479
|
-
process: "process";
|
|
1480
|
-
worktree: "worktree";
|
|
1481
|
-
}>>;
|
|
1482
|
-
error: z.ZodOptional<z.ZodString>;
|
|
1483
|
-
}, z.core.$strip>;
|
|
1484
|
-
export type WorkerDestroyResult = z.infer<typeof workerDestroyResultSchema>;
|
|
1485
|
-
/** #816: outstanding allocations against `limit`, lifetime creations against `creationLimit`. */
|
|
1486
|
-
export declare const workerCapacitySchema: z.ZodObject<{
|
|
1487
|
-
outstanding: z.ZodNumber;
|
|
1488
|
-
limit: z.ZodNumber;
|
|
1489
|
-
created: z.ZodNumber;
|
|
1490
|
-
creationLimit: z.ZodNumber;
|
|
1491
|
-
}, z.core.$strict>;
|
|
1492
|
-
export type WorkerCapacity = z.infer<typeof workerCapacitySchema>;
|
|
1493
|
-
/** A related run's display title: the three fields `runTitle` reads (#864). The cockpit's run list
|
|
1494
|
-
* carries only the newest archived runs, so the relationships answer names its own runs. */
|
|
1495
|
-
export declare const relatedRunTitleSchema: z.ZodObject<{
|
|
1496
|
-
id: z.ZodString;
|
|
1497
|
-
title: z.ZodString;
|
|
1498
|
-
titleSummary: z.ZodOptional<z.ZodString>;
|
|
1499
|
-
titleOrigin: z.ZodOptional<z.ZodEnum<{
|
|
1500
|
-
auto: "auto";
|
|
1501
|
-
marker: "marker";
|
|
1502
|
-
user: "user";
|
|
1503
|
-
}>>;
|
|
1504
|
-
}, z.core.$strip>;
|
|
1505
|
-
export type RelatedRunTitle = z.infer<typeof relatedRunTitleSchema>;
|
|
1506
|
-
export declare const runRelationshipsSchema: z.ZodObject<{
|
|
1507
|
-
parentRunId: z.ZodOptional<z.ZodUUID>;
|
|
1508
|
-
workers: z.ZodArray<z.ZodObject<{
|
|
1509
|
-
workerId: z.ZodUUID;
|
|
1510
|
-
parentRunId: z.ZodUUID;
|
|
1511
|
-
status: z.ZodEnum<{
|
|
1512
|
-
cancelled: "cancelled";
|
|
1513
|
-
done: "done";
|
|
1514
|
-
failed: "failed";
|
|
1515
|
-
queued: "queued";
|
|
1516
|
-
review: "review";
|
|
1517
|
-
running: "running";
|
|
1518
|
-
waiting: "waiting";
|
|
1519
|
-
}>;
|
|
1520
|
-
currentStepId: z.ZodOptional<z.ZodString>;
|
|
1521
|
-
workspace: z.ZodObject<{
|
|
1522
|
-
ownerRunId: z.ZodUUID;
|
|
1523
|
-
resourceId: z.ZodUUID;
|
|
1524
|
-
kind: z.ZodLiteral<"owned-isolated">;
|
|
1525
|
-
path: z.ZodString;
|
|
1526
|
-
branch: z.ZodString;
|
|
1527
|
-
baselineSha: z.ZodString;
|
|
1528
|
-
}, z.core.$strict>;
|
|
1529
|
-
backend: z.ZodOptional<z.ZodEnum<{
|
|
1530
|
-
claude: "claude";
|
|
1531
|
-
codex: "codex";
|
|
1532
|
-
cursor: "cursor";
|
|
1533
|
-
omp: "omp";
|
|
1534
|
-
opencode: "opencode";
|
|
1535
|
-
pi: "pi";
|
|
1536
|
-
}>>;
|
|
1537
|
-
model: z.ZodOptional<z.ZodString>;
|
|
1538
|
-
inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1539
|
-
source: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1540
|
-
kind: z.ZodLiteral<"baseline-file">;
|
|
1541
|
-
path: z.ZodString;
|
|
1542
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1543
|
-
kind: z.ZodLiteral<"parent-attachment">;
|
|
1544
|
-
id: z.ZodString;
|
|
1545
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1546
|
-
kind: z.ZodLiteral<"parent-file">;
|
|
1547
|
-
path: z.ZodString;
|
|
1548
|
-
}, z.core.$strict>], "kind">;
|
|
1549
|
-
path: z.ZodString;
|
|
1550
|
-
sha256: z.ZodString;
|
|
1551
|
-
bytes: z.ZodNumber;
|
|
1552
|
-
}, z.core.$strict>>>;
|
|
1553
|
-
wait: z.ZodOptional<z.ZodObject<{
|
|
1554
|
-
id: z.ZodUUID;
|
|
1555
|
-
workerIds: z.ZodArray<z.ZodUUID>;
|
|
1556
|
-
requestIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
1557
|
-
requestOutcomes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1558
|
-
requestId: z.ZodUUID;
|
|
1559
|
-
status: z.ZodEnum<{
|
|
1560
|
-
cancelled: "cancelled";
|
|
1561
|
-
"completed-without-reply": "completed-without-reply";
|
|
1562
|
-
destroyed: "destroyed";
|
|
1563
|
-
failed: "failed";
|
|
1564
|
-
"human-fallback": "human-fallback";
|
|
1565
|
-
replied: "replied";
|
|
1566
|
-
"replied-late": "replied-late";
|
|
1567
|
-
"sender-closed": "sender-closed";
|
|
1568
|
-
"timed-out": "timed-out";
|
|
1569
|
-
}>;
|
|
1570
|
-
observedAt: z.ZodISODateTime;
|
|
1571
|
-
replyId: z.ZodOptional<z.ZodUUID>;
|
|
1572
|
-
}, z.core.$strict>>>;
|
|
1573
|
-
deadline: z.ZodISODateTime;
|
|
1574
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
1575
|
-
all: "all";
|
|
1576
|
-
any: "any";
|
|
1577
|
-
one: "one";
|
|
1578
|
-
}>>;
|
|
1579
|
-
revisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1580
|
-
workerId: z.ZodUUID;
|
|
1581
|
-
revision: z.ZodNumber;
|
|
1582
|
-
}, z.core.$strict>>>;
|
|
1583
|
-
reason: z.ZodOptional<z.ZodEnum<{
|
|
1584
|
-
cancelled: "cancelled";
|
|
1585
|
-
message: "message";
|
|
1586
|
-
outcome: "outcome";
|
|
1587
|
-
timeout: "timeout";
|
|
1588
|
-
}>>;
|
|
1589
|
-
phase: z.ZodEnum<{
|
|
1590
|
-
parked: "parked";
|
|
1591
|
-
registered: "registered";
|
|
1592
|
-
"wake-pending": "wake-pending";
|
|
1593
|
-
}>;
|
|
1594
|
-
outcomes: z.ZodArray<z.ZodObject<{
|
|
1595
|
-
workerId: z.ZodUUID;
|
|
1596
|
-
status: z.ZodEnum<{
|
|
1597
|
-
cancelled: "cancelled";
|
|
1598
|
-
done: "done";
|
|
1599
|
-
failed: "failed";
|
|
1600
|
-
review: "review";
|
|
1601
|
-
}>;
|
|
1602
|
-
observedAt: z.ZodISODateTime;
|
|
1603
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
1604
|
-
revision: z.ZodOptional<z.ZodNumber>;
|
|
1605
|
-
}, z.core.$strict>>;
|
|
1606
|
-
wakeId: z.ZodOptional<z.ZodUUID>;
|
|
1607
|
-
}, z.core.$strict>>;
|
|
1608
|
-
completionWait: z.ZodOptional<z.ZodObject<{
|
|
1609
|
-
id: z.ZodUUID;
|
|
1610
|
-
workerIds: z.ZodArray<z.ZodUUID>;
|
|
1611
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
1612
|
-
all: "all";
|
|
1613
|
-
any: "any";
|
|
1614
|
-
one: "one";
|
|
1615
|
-
}>>;
|
|
1616
|
-
revisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1617
|
-
workerId: z.ZodUUID;
|
|
1618
|
-
revision: z.ZodNumber;
|
|
1619
|
-
}, z.core.$strict>>>;
|
|
1620
|
-
reason: z.ZodOptional<z.ZodEnum<{
|
|
1621
|
-
cancelled: "cancelled";
|
|
1622
|
-
message: "message";
|
|
1623
|
-
outcome: "outcome";
|
|
1624
|
-
timeout: "timeout";
|
|
1625
|
-
}>>;
|
|
1626
|
-
phase: z.ZodEnum<{
|
|
1627
|
-
parked: "parked";
|
|
1628
|
-
registered: "registered";
|
|
1629
|
-
"wake-pending": "wake-pending";
|
|
1630
|
-
}>;
|
|
1631
|
-
outcomes: z.ZodArray<z.ZodObject<{
|
|
1632
|
-
workerId: z.ZodUUID;
|
|
1633
|
-
status: z.ZodEnum<{
|
|
1634
|
-
cancelled: "cancelled";
|
|
1635
|
-
done: "done";
|
|
1636
|
-
failed: "failed";
|
|
1637
|
-
review: "review";
|
|
1638
|
-
}>;
|
|
1639
|
-
observedAt: z.ZodISODateTime;
|
|
1640
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
1641
|
-
revision: z.ZodOptional<z.ZodNumber>;
|
|
1642
|
-
}, z.core.$strict>>;
|
|
1643
|
-
wakeId: z.ZodOptional<z.ZodUUID>;
|
|
1644
|
-
via: z.ZodLiteral<"completion">;
|
|
1645
|
-
}, z.core.$strict>>;
|
|
1646
|
-
destroy: z.ZodOptional<z.ZodObject<{
|
|
1647
|
-
requestedAt: z.ZodISODateTime;
|
|
1648
|
-
phase: z.ZodEnum<{
|
|
1649
|
-
cleaning: "cleaning";
|
|
1650
|
-
complete: "complete";
|
|
1651
|
-
incomplete: "incomplete";
|
|
1652
|
-
requested: "requested";
|
|
1653
|
-
terminating: "terminating";
|
|
1654
|
-
}>;
|
|
1655
|
-
remaining: z.ZodArray<z.ZodEnum<{
|
|
1656
|
-
branch: "branch";
|
|
1657
|
-
process: "process";
|
|
1658
|
-
worktree: "worktree";
|
|
1659
|
-
}>>;
|
|
1660
|
-
error: z.ZodOptional<z.ZodString>;
|
|
1661
|
-
retry: z.ZodOptional<z.ZodObject<{
|
|
1662
|
-
attempts: z.ZodNumber;
|
|
1663
|
-
nextAt: z.ZodISODateTime;
|
|
1664
|
-
needsAttention: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1665
|
-
}, z.core.$strict>>;
|
|
1666
|
-
}, z.core.$strict>>;
|
|
1667
|
-
outcome: z.ZodOptional<z.ZodObject<{
|
|
1668
|
-
workerId: z.ZodUUID;
|
|
1669
|
-
status: z.ZodEnum<{
|
|
1670
|
-
cancelled: "cancelled";
|
|
1671
|
-
done: "done";
|
|
1672
|
-
failed: "failed";
|
|
1673
|
-
review: "review";
|
|
1674
|
-
}>;
|
|
1675
|
-
observedAt: z.ZodISODateTime;
|
|
1676
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
1677
|
-
revision: z.ZodOptional<z.ZodNumber>;
|
|
1678
|
-
}, z.core.$strict>>;
|
|
1679
|
-
}, z.core.$strip>>;
|
|
1680
|
-
titles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1681
|
-
id: z.ZodString;
|
|
1682
|
-
title: z.ZodString;
|
|
1683
|
-
titleSummary: z.ZodOptional<z.ZodString>;
|
|
1684
|
-
titleOrigin: z.ZodOptional<z.ZodEnum<{
|
|
1685
|
-
auto: "auto";
|
|
1686
|
-
marker: "marker";
|
|
1687
|
-
user: "user";
|
|
1688
|
-
}>>;
|
|
1689
|
-
}, z.core.$strip>>>;
|
|
1690
|
-
capacity: z.ZodOptional<z.ZodObject<{
|
|
1691
|
-
outstanding: z.ZodNumber;
|
|
1692
|
-
limit: z.ZodNumber;
|
|
1693
|
-
created: z.ZodNumber;
|
|
1694
|
-
creationLimit: z.ZodNumber;
|
|
1695
|
-
}, z.core.$strict>>;
|
|
1696
|
-
}, z.core.$strip>;
|
|
1697
|
-
export type RunRelationships = z.infer<typeof runRelationshipsSchema>;
|
|
1698
|
-
export declare const delegationErrorResponseSchema: z.ZodObject<{
|
|
1699
|
-
code: z.ZodEnum<{
|
|
1700
|
-
capacity_limit: "capacity_limit";
|
|
1701
|
-
denied_scope: "denied_scope";
|
|
1702
|
-
incompatible_state: "incompatible_state";
|
|
1703
|
-
incomplete_cleanup: "incomplete_cleanup";
|
|
1704
|
-
invalid_baseline: "invalid_baseline";
|
|
1705
|
-
invalid_input: "invalid_input";
|
|
1706
|
-
unauthenticated: "unauthenticated";
|
|
1707
|
-
unavailable_diff: "unavailable_diff";
|
|
1708
|
-
unavailable_transport: "unavailable_transport";
|
|
1709
|
-
}>;
|
|
1710
|
-
error: z.ZodString;
|
|
1711
|
-
modelChoices: z.ZodOptional<z.ZodObject<{
|
|
1712
|
-
runner: z.ZodEnum<{
|
|
1713
|
-
claude: "claude";
|
|
1714
|
-
codex: "codex";
|
|
1715
|
-
cursor: "cursor";
|
|
1716
|
-
omp: "omp";
|
|
1717
|
-
opencode: "opencode";
|
|
1718
|
-
pi: "pi";
|
|
1719
|
-
}>;
|
|
1720
|
-
requestedModel: z.ZodString;
|
|
1721
|
-
availableModels: z.ZodArray<z.ZodObject<{
|
|
1722
|
-
id: z.ZodString;
|
|
1723
|
-
label: z.ZodString;
|
|
1724
|
-
description: z.ZodString;
|
|
1725
|
-
effortLevels: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
1726
|
-
high: "high";
|
|
1727
|
-
low: "low";
|
|
1728
|
-
max: "max";
|
|
1729
|
-
medium: "medium";
|
|
1730
|
-
xhigh: "xhigh";
|
|
1731
|
-
}>>>;
|
|
1732
|
-
}, z.core.$strip>>;
|
|
1733
|
-
otherRunners: z.ZodArray<z.ZodEnum<{
|
|
1734
|
-
claude: "claude";
|
|
1735
|
-
codex: "codex";
|
|
1736
|
-
cursor: "cursor";
|
|
1737
|
-
omp: "omp";
|
|
1738
|
-
opencode: "opencode";
|
|
1739
|
-
pi: "pi";
|
|
1740
|
-
}>>;
|
|
1741
|
-
}, z.core.$strip>>;
|
|
1742
|
-
}, z.core.$strip>;
|
|
1743
|
-
export type DelegationErrorResponse = z.infer<typeof delegationErrorResponseSchema>;
|
|
1744
|
-
export declare const workerParamsSchema: z.ZodObject<{
|
|
1745
|
-
workerId: z.ZodUUID;
|
|
1746
|
-
}, z.core.$strict>;
|
|
1747
|
-
export type WorkerParams = z.infer<typeof workerParamsSchema>;
|
|
1748
|
-
export declare const workerSpawnResultSchema: z.ZodObject<{
|
|
1749
|
-
workerId: z.ZodUUID;
|
|
1750
|
-
baselineSha: z.ZodString;
|
|
1751
|
-
}, z.core.$strict>;
|
|
1752
|
-
export type WorkerSpawnResult = z.infer<typeof workerSpawnResultSchema>;
|
|
1753
|
-
export declare const workerSteerResultSchema: z.ZodObject<{
|
|
1754
|
-
workerId: z.ZodUUID;
|
|
1755
|
-
state: z.ZodEnum<{
|
|
1756
|
-
delivered: "delivered";
|
|
1757
|
-
queued: "queued";
|
|
1758
|
-
}>;
|
|
1759
|
-
}, z.core.$strict>;
|
|
1760
|
-
export type WorkerSteerResult = z.infer<typeof workerSteerResultSchema>;
|
|
1761
|
-
export declare const workerWaitResultSchema: z.ZodObject<{
|
|
1762
|
-
wait: z.ZodObject<{
|
|
1763
|
-
id: z.ZodUUID;
|
|
1764
|
-
workerIds: z.ZodArray<z.ZodUUID>;
|
|
1765
|
-
requestIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
1766
|
-
requestOutcomes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1767
|
-
requestId: z.ZodUUID;
|
|
1768
|
-
status: z.ZodEnum<{
|
|
1769
|
-
cancelled: "cancelled";
|
|
1770
|
-
"completed-without-reply": "completed-without-reply";
|
|
1771
|
-
destroyed: "destroyed";
|
|
1772
|
-
failed: "failed";
|
|
1773
|
-
"human-fallback": "human-fallback";
|
|
1774
|
-
replied: "replied";
|
|
1775
|
-
"replied-late": "replied-late";
|
|
1776
|
-
"sender-closed": "sender-closed";
|
|
1777
|
-
"timed-out": "timed-out";
|
|
1778
|
-
}>;
|
|
1779
|
-
observedAt: z.ZodISODateTime;
|
|
1780
|
-
replyId: z.ZodOptional<z.ZodUUID>;
|
|
1781
|
-
}, z.core.$strict>>>;
|
|
1782
|
-
deadline: z.ZodISODateTime;
|
|
1783
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
1784
|
-
all: "all";
|
|
1785
|
-
any: "any";
|
|
1786
|
-
one: "one";
|
|
1787
|
-
}>>;
|
|
1788
|
-
revisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1789
|
-
workerId: z.ZodUUID;
|
|
1790
|
-
revision: z.ZodNumber;
|
|
1791
|
-
}, z.core.$strict>>>;
|
|
1792
|
-
reason: z.ZodOptional<z.ZodEnum<{
|
|
1793
|
-
cancelled: "cancelled";
|
|
1794
|
-
message: "message";
|
|
1795
|
-
outcome: "outcome";
|
|
1796
|
-
timeout: "timeout";
|
|
1797
|
-
}>>;
|
|
1798
|
-
phase: z.ZodEnum<{
|
|
1799
|
-
parked: "parked";
|
|
1800
|
-
registered: "registered";
|
|
1801
|
-
"wake-pending": "wake-pending";
|
|
1802
|
-
}>;
|
|
1803
|
-
outcomes: z.ZodArray<z.ZodObject<{
|
|
1804
|
-
workerId: z.ZodUUID;
|
|
1805
|
-
status: z.ZodEnum<{
|
|
1806
|
-
cancelled: "cancelled";
|
|
1807
|
-
done: "done";
|
|
1808
|
-
failed: "failed";
|
|
1809
|
-
review: "review";
|
|
1810
|
-
}>;
|
|
1811
|
-
observedAt: z.ZodISODateTime;
|
|
1812
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
1813
|
-
revision: z.ZodOptional<z.ZodNumber>;
|
|
1814
|
-
}, z.core.$strict>>;
|
|
1815
|
-
wakeId: z.ZodOptional<z.ZodUUID>;
|
|
1816
|
-
}, z.core.$strict>;
|
|
1817
|
-
instruction: z.ZodString;
|
|
1818
|
-
}, z.core.$strict>;
|
|
1819
|
-
export type WorkerWaitResult = z.infer<typeof workerWaitResultSchema>;
|
|
1820
|
-
export declare const workerEmptyRequestSchema: z.ZodObject<{}, z.core.$strict>;
|
|
1821
|
-
export declare const workerCancelWaitRequestSchema: z.ZodObject<{
|
|
1822
|
-
waitId: z.ZodUUID;
|
|
1823
|
-
}, z.core.$strict>;
|
|
1824
|
-
export type WorkerCancelWaitRequest = z.infer<typeof workerCancelWaitRequestSchema>;
|
|
1825
|
-
export declare const workerCancelWaitResultSchema: z.ZodObject<{
|
|
1826
|
-
wait: z.ZodObject<{
|
|
1827
|
-
id: z.ZodUUID;
|
|
1828
|
-
workerIds: z.ZodArray<z.ZodUUID>;
|
|
1829
|
-
requestIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
1830
|
-
requestOutcomes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1831
|
-
requestId: z.ZodUUID;
|
|
1832
|
-
status: z.ZodEnum<{
|
|
1833
|
-
cancelled: "cancelled";
|
|
1834
|
-
"completed-without-reply": "completed-without-reply";
|
|
1835
|
-
destroyed: "destroyed";
|
|
1836
|
-
failed: "failed";
|
|
1837
|
-
"human-fallback": "human-fallback";
|
|
1838
|
-
replied: "replied";
|
|
1839
|
-
"replied-late": "replied-late";
|
|
1840
|
-
"sender-closed": "sender-closed";
|
|
1841
|
-
"timed-out": "timed-out";
|
|
1842
|
-
}>;
|
|
1843
|
-
observedAt: z.ZodISODateTime;
|
|
1844
|
-
replyId: z.ZodOptional<z.ZodUUID>;
|
|
1845
|
-
}, z.core.$strict>>>;
|
|
1846
|
-
deadline: z.ZodISODateTime;
|
|
1847
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
1848
|
-
all: "all";
|
|
1849
|
-
any: "any";
|
|
1850
|
-
one: "one";
|
|
1851
|
-
}>>;
|
|
1852
|
-
revisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1853
|
-
workerId: z.ZodUUID;
|
|
1854
|
-
revision: z.ZodNumber;
|
|
1855
|
-
}, z.core.$strict>>>;
|
|
1856
|
-
reason: z.ZodOptional<z.ZodEnum<{
|
|
1857
|
-
cancelled: "cancelled";
|
|
1858
|
-
message: "message";
|
|
1859
|
-
outcome: "outcome";
|
|
1860
|
-
timeout: "timeout";
|
|
1861
|
-
}>>;
|
|
1862
|
-
phase: z.ZodEnum<{
|
|
1863
|
-
parked: "parked";
|
|
1864
|
-
registered: "registered";
|
|
1865
|
-
"wake-pending": "wake-pending";
|
|
1866
|
-
}>;
|
|
1867
|
-
outcomes: z.ZodArray<z.ZodObject<{
|
|
1868
|
-
workerId: z.ZodUUID;
|
|
1869
|
-
status: z.ZodEnum<{
|
|
1870
|
-
cancelled: "cancelled";
|
|
1871
|
-
done: "done";
|
|
1872
|
-
failed: "failed";
|
|
1873
|
-
review: "review";
|
|
1874
|
-
}>;
|
|
1875
|
-
observedAt: z.ZodISODateTime;
|
|
1876
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
1877
|
-
revision: z.ZodOptional<z.ZodNumber>;
|
|
1878
|
-
}, z.core.$strict>>;
|
|
1879
|
-
wakeId: z.ZodOptional<z.ZodUUID>;
|
|
1880
|
-
}, z.core.$strict>;
|
|
1881
|
-
}, z.core.$strict>;
|
|
1882
|
-
export type WorkerCancelWaitResult = z.infer<typeof workerCancelWaitResultSchema>;
|