@hearsay-tools/squawk 0.18.0 → 0.19.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +57 -1436
- package/dist/activity/publisher.d.ts +6 -4
- package/dist/activity/publisher.js +7 -8
- package/dist/activity/publisher.js.map +1 -1
- package/dist/activity/read-model.d.ts +6 -2
- package/dist/activity/read-model.js +23 -21
- package/dist/activity/read-model.js.map +1 -1
- package/dist/activity/requests.d.ts +8 -2
- package/dist/activity/requests.js +3 -3
- package/dist/activity/requests.js.map +1 -1
- package/dist/activity/tool-activity.d.ts +6 -8
- package/dist/activity/tool-activity.js +10 -6
- package/dist/activity/tool-activity.js.map +1 -1
- package/dist/activity/wait.d.ts +5 -11
- package/dist/activity/wait.js +12 -8
- package/dist/activity/wait.js.map +1 -1
- package/dist/agent-config/catalog.d.ts +6 -62
- package/dist/agent-config/catalog.js +20 -376
- package/dist/agent-config/catalog.js.map +1 -1
- package/dist/agent-config/files.d.ts +1 -1
- package/dist/agent-config/files.js.map +1 -1
- package/dist/agent-config/model-settings/shared.d.ts +2 -3
- package/dist/agent-config/model-settings/shared.js +2 -2
- package/dist/agent-config/model-settings/shared.js.map +1 -1
- package/dist/agent-config/models.d.ts +8 -5
- package/dist/agent-config/models.js +8 -27
- package/dist/agent-config/models.js.map +1 -1
- package/dist/agent-config/seed.d.ts +2 -2
- package/dist/agent-config/seed.js +7 -12
- package/dist/agent-config/seed.js.map +1 -1
- package/dist/agent-config/service.d.ts +8 -4
- package/dist/agent-config/service.js +12 -6
- package/dist/agent-config/service.js.map +1 -1
- package/dist/agent-config/validate.d.ts +1 -1
- package/dist/artifacts/cli.d.ts +2 -0
- package/dist/artifacts/cli.js +4 -3
- package/dist/artifacts/cli.js.map +1 -1
- package/dist/artifacts/removal-slot.d.ts +3 -0
- package/dist/artifacts/removal-slot.js +7 -0
- package/dist/artifacts/removal-slot.js.map +1 -0
- package/dist/artifacts/reports-index.d.ts +16 -6
- package/dist/artifacts/reports-index.js +38 -35
- package/dist/artifacts/reports-index.js.map +1 -1
- package/dist/artifacts/reports-watch.js +2 -3
- package/dist/artifacts/reports-watch.js.map +1 -1
- package/dist/artifacts/resolve.js +1 -2
- package/dist/artifacts/resolve.js.map +1 -1
- package/dist/artifacts/store.d.ts +1 -1
- package/dist/artifacts/store.js +4 -2
- package/dist/artifacts/store.js.map +1 -1
- package/dist/automations/agent-tools.d.ts +2 -0
- package/dist/automations/agent-tools.js +24 -0
- package/dist/automations/agent-tools.js.map +1 -0
- package/dist/automations/automation-cli.d.ts +2 -0
- package/dist/automations/automation-cli.js +15 -7
- package/dist/automations/automation-cli.js.map +1 -1
- package/dist/automations/coordinator.js +1 -2
- package/dist/automations/coordinator.js.map +1 -1
- package/dist/automations/enabled.d.ts +2 -0
- package/dist/automations/enabled.js +6 -0
- package/dist/automations/enabled.js.map +1 -0
- package/dist/automations/github-baseline.js +2 -0
- package/dist/automations/github-baseline.js.map +1 -1
- package/dist/automations/github-poller.d.ts +3 -0
- package/dist/automations/github-poller.js +6 -6
- package/dist/automations/github-poller.js.map +1 -1
- package/dist/automations/github-repository.d.ts +22 -0
- package/dist/automations/github-repository.js +46 -0
- package/dist/automations/github-repository.js.map +1 -0
- package/dist/automations/prompts.d.ts +1 -4
- package/dist/automations/prompts.js +23 -63
- package/dist/automations/prompts.js.map +1 -1
- package/dist/automations/schedule-runner.js +6 -7
- package/dist/automations/schedule-runner.js.map +1 -1
- package/dist/automations/scheduler.d.ts +5 -4
- package/dist/automations/scheduler.js +59 -14
- package/dist/automations/scheduler.js.map +1 -1
- package/dist/automations/service.d.ts +41 -16
- package/dist/automations/service.js +14 -9
- package/dist/automations/service.js.map +1 -1
- package/dist/automations/store.d.ts +2 -0
- package/dist/automations/store.js +42 -5
- package/dist/automations/store.js.map +1 -1
- package/dist/automations/task-template.js +18 -13
- package/dist/automations/task-template.js.map +1 -1
- package/dist/automations/tool-adapter.d.ts +6 -1
- package/dist/automations/tool-adapter.js +104 -10
- package/dist/automations/tool-adapter.js.map +1 -1
- package/dist/automations/tool-catalog.d.ts +119 -0
- package/dist/automations/tool-catalog.js +48 -0
- package/dist/automations/tool-catalog.js.map +1 -0
- package/dist/automations/tool-client.d.ts +9 -0
- package/dist/automations/tool-client.js +19 -0
- package/dist/automations/tool-client.js.map +1 -0
- package/dist/automations/tool-env.d.ts +1 -0
- package/dist/automations/tool-env.js +3 -0
- package/dist/automations/tool-env.js.map +1 -0
- package/dist/automations/tool-errors.d.ts +9 -0
- package/dist/automations/tool-errors.js +34 -0
- package/dist/automations/tool-errors.js.map +1 -0
- package/dist/automations/tool-github.d.ts +9 -0
- package/dist/automations/tool-github.js +9 -0
- package/dist/automations/tool-github.js.map +1 -0
- package/dist/automations/tool-session.d.ts +5 -0
- package/dist/automations/tool-session.js +19 -0
- package/dist/automations/tool-session.js.map +1 -0
- package/dist/automations/tool-timeout.d.ts +2 -0
- package/dist/automations/tool-timeout.js +22 -0
- package/dist/automations/tool-timeout.js.map +1 -0
- package/dist/automations/tools.d.ts +325 -0
- package/dist/automations/tools.js +30 -0
- package/dist/automations/tools.js.map +1 -0
- package/dist/autosave-cleanup.d.ts +4 -2
- package/dist/autosave-cleanup.js +32 -9
- package/dist/autosave-cleanup.js.map +1 -1
- package/dist/autosave-commit.d.ts +52 -0
- package/dist/autosave-commit.js +408 -0
- package/dist/autosave-commit.js.map +1 -0
- package/dist/autosave-git.d.ts +16 -9
- package/dist/autosave-git.js +144 -50
- package/dist/autosave-git.js.map +1 -1
- package/dist/autosave-holders.d.ts +3 -1
- package/dist/autosave-holders.js +7 -4
- package/dist/autosave-holders.js.map +1 -1
- package/dist/autosave-removal-slots.d.ts +6 -0
- package/dist/autosave-removal-slots.js +13 -0
- package/dist/autosave-removal-slots.js.map +1 -0
- package/dist/boot.d.ts +36 -0
- package/dist/boot.js +81 -0
- package/dist/boot.js.map +1 -0
- package/dist/built-in-cli-commands.d.ts +6 -0
- package/dist/built-in-cli-commands.js +156 -0
- package/dist/built-in-cli-commands.js.map +1 -0
- package/dist/built-in-launch-parts.d.ts +14 -0
- package/dist/built-in-launch-parts.js +54 -0
- package/dist/built-in-launch-parts.js.map +1 -0
- package/dist/built-in-run-slots.d.ts +12 -0
- package/dist/built-in-run-slots.js +28 -0
- package/dist/built-in-run-slots.js.map +1 -0
- package/dist/built-in-tool-definitions.d.ts +2 -0
- package/dist/built-in-tool-definitions.js +29 -0
- package/dist/built-in-tool-definitions.js.map +1 -0
- package/dist/built-in-tools.d.ts +3 -0
- package/dist/built-in-tools.js +11 -0
- package/dist/built-in-tools.js.map +1 -0
- package/dist/built-in-wait-kinds.d.ts +4 -0
- package/dist/built-in-wait-kinds.js +14 -0
- package/dist/built-in-wait-kinds.js.map +1 -0
- package/dist/ci-wait/client.d.ts +80 -20
- package/dist/ci-wait/client.js +44 -40
- package/dist/ci-wait/client.js.map +1 -1
- package/dist/ci-wait/controller.d.ts +74 -722
- package/dist/ci-wait/controller.js +62 -178
- package/dist/ci-wait/controller.js.map +1 -1
- package/dist/ci-wait/errors.d.ts +11 -15
- package/dist/ci-wait/errors.js +32 -81
- package/dist/ci-wait/errors.js.map +1 -1
- package/dist/ci-wait/github.d.ts +52 -36
- package/dist/ci-wait/github.js +97 -83
- package/dist/ci-wait/github.js.map +1 -1
- package/dist/ci-wait/mcp.d.ts +1 -1
- package/dist/ci-wait/mcp.js +8 -6
- package/dist/ci-wait/mcp.js.map +1 -1
- package/dist/ci-wait/pr-wait-kind.d.ts +66 -0
- package/dist/ci-wait/pr-wait-kind.js +121 -0
- package/dist/ci-wait/pr-wait-kind.js.map +1 -0
- package/dist/ci-wait/progress.d.ts +2 -28
- package/dist/ci-wait/progress.js +3 -42
- package/dist/ci-wait/progress.js.map +1 -1
- package/dist/ci-wait/queued-checks.d.ts +15 -0
- package/dist/ci-wait/queued-checks.js +44 -0
- package/dist/ci-wait/queued-checks.js.map +1 -0
- package/dist/ci-wait/resource-pool.d.ts +17 -0
- package/dist/ci-wait/resource-pool.js +50 -0
- package/dist/ci-wait/resource-pool.js.map +1 -0
- package/dist/ci-wait/resources.d.ts +5 -8
- package/dist/ci-wait/resources.js +8 -42
- package/dist/ci-wait/resources.js.map +1 -1
- package/dist/ci-wait/supervisor.d.ts +5 -12
- package/dist/ci-wait/supervisor.js +147 -76
- package/dist/ci-wait/supervisor.js.map +1 -1
- package/dist/ci-wait/tool-catalog.d.ts +260 -0
- package/dist/ci-wait/tool-catalog.js +77 -0
- package/dist/ci-wait/tool-catalog.js.map +1 -0
- package/dist/ci-wait/tool-definition.d.ts +21 -0
- package/dist/ci-wait/tool-definition.js +9 -0
- package/dist/ci-wait/tool-definition.js.map +1 -0
- package/dist/ci-wait/tool-names.d.ts +3 -0
- package/dist/ci-wait/tool-names.js +13 -0
- package/dist/ci-wait/tool-names.js.map +1 -0
- package/dist/ci-wait/tool-registry.d.ts +68 -0
- package/dist/ci-wait/tool-registry.js +34 -0
- package/dist/ci-wait/tool-registry.js.map +1 -0
- package/dist/ci-wait/tools.d.ts +334 -632
- package/dist/ci-wait/tools.js +28 -191
- package/dist/ci-wait/tools.js.map +1 -1
- package/dist/cli-dispatch.d.ts +9 -10
- package/dist/cli-dispatch.js +100 -142
- package/dist/cli-dispatch.js.map +1 -1
- package/dist/config.d.ts +6 -43
- package/dist/config.js +52 -65
- package/dist/config.js.map +1 -1
- package/dist/contract/activity.d.ts +71 -56
- package/dist/contract/agent-config.d.ts +2 -16
- package/dist/contract/agent-input.d.ts +56 -0
- package/dist/contract/agent-profiles.d.ts +33 -201
- package/dist/contract/agent-tools.d.ts +51 -0
- package/dist/contract/ask-schema.d.ts +4 -2
- package/dist/contract/attachments.d.ts +2 -2
- package/dist/contract/attention.d.ts +9 -1
- package/dist/contract/automation-requests.d.ts +18 -54
- package/dist/contract/automation-schedule.d.ts +9 -0
- package/dist/contract/automation-storage.d.ts +22 -48
- package/dist/contract/automation-tool.d.ts +293 -0
- package/dist/contract/automations.d.ts +76 -159
- package/dist/contract/ci-wait.d.ts +25 -0
- package/dist/contract/config-requests.d.ts +6 -16
- package/dist/contract/control-locations.d.ts +1 -1
- package/dist/contract/conversations.d.ts +31 -2
- package/dist/contract/create-run-input.d.ts +62 -0
- package/dist/contract/delegation.d.ts +376 -152
- package/dist/contract/discovery.d.ts +29 -96
- package/dist/contract/events.d.ts +7 -6
- package/dist/contract/github.d.ts +0 -18
- package/dist/contract/handoff.d.ts +2 -2
- package/dist/contract/health.d.ts +74 -64
- package/dist/contract/index.d.ts +14 -5
- package/dist/contract/index.js +3798 -3398
- package/dist/contract/live-coordination.d.ts +30 -12
- package/dist/contract/live.d.ts +29 -0
- package/dist/contract/model-choices.d.ts +40 -0
- package/dist/contract/own-lookup.d.ts +5 -0
- package/dist/contract/per-runner-optional-strings.d.ts +3 -9
- package/dist/contract/projects.d.ts +1 -9
- package/dist/contract/provider-requests.d.ts +12 -46
- package/dist/contract/query-requests.d.ts +5 -8
- package/dist/contract/queued-messages.d.ts +35 -0
- package/dist/contract/reference-status.d.ts +19 -0
- package/dist/contract/repo-info.d.ts +12 -0
- package/dist/contract/repo.d.ts +3 -2
- package/dist/contract/run-predicates.d.ts +47 -3
- package/dist/contract/run-requests.d.ts +1 -9
- package/dist/contract/run-search.d.ts +18 -20
- package/dist/contract/run-status.d.ts +33 -0
- package/dist/contract/runner-install.d.ts +41 -0
- package/dist/contract/runner-skills.d.ts +59 -0
- package/dist/contract/runner.d.ts +14 -0
- package/dist/contract/runners.d.ts +150 -0
- package/dist/contract/runs.d.ts +609 -321
- package/dist/contract/scheduled-tasks.d.ts +3 -3
- package/dist/contract/session-context.d.ts +140 -0
- package/dist/contract/skills.d.ts +1 -33
- package/dist/contract/task-options.d.ts +1 -1
- package/dist/contract/tool-display.d.ts +8 -2
- package/dist/contract/ui-state-requests.d.ts +0 -4
- package/dist/contract/usage-limit-hold.d.ts +22 -0
- package/dist/contract/utf8.d.ts +2 -0
- package/dist/contract/wait-limits.d.ts +25 -0
- package/dist/contract/wait-tools.d.ts +669 -0
- package/dist/contract/waiting-on.d.ts +46 -0
- package/dist/contract/waits.d.ts +150 -515
- package/dist/contract/worker-outcome.d.ts +24 -0
- package/dist/contract/workflow-file.d.ts +4 -8
- package/dist/contract/workflow-requests.d.ts +1 -0
- package/dist/contract/workflows.d.ts +29 -52
- package/dist/contract/workspace-events.d.ts +28 -32
- package/dist/contract/workspace.d.ts +56 -179
- package/dist/core/acp/events.d.ts +63 -0
- package/dist/core/acp/events.js +344 -0
- package/dist/core/acp/events.js.map +1 -0
- package/dist/core/acp/protocol.d.ts +86 -0
- package/dist/core/acp/protocol.js +14 -0
- package/dist/core/acp/protocol.js.map +1 -0
- package/dist/core/acp/session.d.ts +101 -0
- package/dist/core/acp/session.js +322 -0
- package/dist/core/acp/session.js.map +1 -0
- package/dist/core/acp/transport.d.ts +38 -0
- package/dist/core/acp/transport.js +144 -0
- package/dist/core/acp/transport.js.map +1 -0
- package/dist/core/acp/usage.d.ts +3 -0
- package/dist/core/acp/usage.js +12 -0
- package/dist/core/acp/usage.js.map +1 -0
- package/dist/core/agent-config-notes.d.ts +5 -0
- package/dist/core/agent-config-notes.js +6 -0
- package/dist/core/agent-config-notes.js.map +1 -0
- package/dist/core/agent-env.d.ts +5 -2
- package/dist/core/agent-env.js +11 -29
- package/dist/core/agent-env.js.map +1 -1
- package/dist/core/agent-profiles.d.ts +16 -33
- package/dist/core/agent-profiles.js +30 -80
- package/dist/core/agent-profiles.js.map +1 -1
- package/dist/core/agent-runner-values.d.ts +68 -0
- package/dist/core/agent-runner-values.js +111 -0
- package/dist/core/agent-runner-values.js.map +1 -0
- package/dist/core/agent-runner.d.ts +59 -71
- package/dist/core/agent-runner.js +3 -93
- package/dist/core/agent-runner.js.map +1 -1
- package/dist/core/backend-detect.d.ts +17 -4
- package/dist/core/backend-detect.js +86 -153
- package/dist/core/backend-detect.js.map +1 -1
- package/dist/core/browser-sign-in-error.d.ts +6 -0
- package/dist/core/browser-sign-in-error.js +18 -0
- package/dist/core/browser-sign-in-error.js.map +1 -0
- package/dist/core/cli-registry.d.ts +57 -0
- package/dist/core/cli-registry.js +22 -0
- package/dist/core/cli-registry.js.map +1 -0
- package/dist/core/github-request-limits.d.ts +9 -0
- package/dist/core/github-request-limits.js +13 -0
- package/dist/core/github-request-limits.js.map +1 -0
- package/dist/core/host-model-catalog.d.ts +2 -2
- package/dist/core/host-model-catalog.js +7 -16
- package/dist/core/host-model-catalog.js.map +1 -1
- package/dist/core/host-path.d.ts +5 -0
- package/dist/core/host-path.js +9 -0
- package/dist/core/host-path.js.map +1 -0
- package/dist/core/host-skill-catalog.d.ts +7 -0
- package/dist/core/host-skill-catalog.js +12 -0
- package/dist/core/host-skill-catalog.js.map +1 -0
- package/dist/core/json-guards.d.ts +3 -0
- package/dist/core/json-guards.js +8 -0
- package/dist/core/json-guards.js.map +1 -0
- package/dist/core/launch-registry.d.ts +50 -0
- package/dist/core/launch-registry.js +60 -0
- package/dist/core/launch-registry.js.map +1 -0
- package/dist/core/login-output.d.ts +5 -0
- package/dist/core/login-output.js +14 -0
- package/dist/core/login-output.js.map +1 -0
- package/dist/core/managed-cli-source.d.ts +23 -0
- package/dist/core/managed-cli-source.js +2 -0
- package/dist/core/managed-cli-source.js.map +1 -0
- package/dist/core/managed-session.d.ts +5 -0
- package/dist/core/managed-session.js +45 -3
- package/dist/core/managed-session.js.map +1 -1
- package/dist/core/mock-prompts.d.ts +63 -0
- package/dist/core/mock-prompts.js +64 -0
- package/dist/core/mock-prompts.js.map +1 -0
- package/dist/core/model-identity.d.ts +15 -20
- package/dist/core/model-identity.js +21 -31
- package/dist/core/model-identity.js.map +1 -1
- package/dist/core/model-presets.d.ts +3 -8
- package/dist/core/model-presets.js +16 -38
- package/dist/core/model-presets.js.map +1 -1
- package/dist/core/model-probe-spawn.d.ts +8 -0
- package/dist/core/model-probe-spawn.js +7 -0
- package/dist/core/model-probe-spawn.js.map +1 -0
- package/dist/core/model-probe-teardown.js +1 -1
- package/dist/core/model-probe-teardown.js.map +1 -1
- package/dist/core/native-mock.d.ts +6 -0
- package/dist/core/native-mock.js +26 -0
- package/dist/core/native-mock.js.map +1 -0
- package/dist/core/os-cgroup.d.ts +43 -0
- package/dist/core/os-cgroup.js +220 -0
- package/dist/core/os-cgroup.js.map +1 -0
- package/dist/core/os-win-job.d.ts +30 -0
- package/dist/core/os-win-job.js +80 -0
- package/dist/core/os-win-job.js.map +1 -0
- package/dist/core/own-lookup.d.ts +1 -0
- package/dist/core/own-lookup.js +2 -0
- package/dist/core/own-lookup.js.map +1 -0
- package/dist/core/pi-rpc-turn.d.ts +26 -11
- package/dist/core/pi-rpc-turn.js +49 -24
- package/dist/core/pi-rpc-turn.js.map +1 -1
- package/dist/core/pi-rpc-wire.d.ts +9 -4
- package/dist/core/pi-rpc-wire.js +29 -8
- package/dist/core/pi-rpc-wire.js.map +1 -1
- package/dist/core/process-ownership.d.ts +12 -0
- package/dist/core/process-ownership.js +33 -0
- package/dist/core/process-ownership.js.map +1 -0
- package/dist/core/process-stat.d.ts +51 -0
- package/dist/core/process-stat.js +141 -0
- package/dist/core/process-stat.js.map +1 -0
- package/dist/core/process-usage.d.ts +6 -1
- package/dist/core/process-usage.js +9 -3
- package/dist/core/process-usage.js.map +1 -1
- package/dist/core/product-env.d.ts +2 -6
- package/dist/core/product-env.js +3 -10
- package/dist/core/product-env.js.map +1 -1
- package/dist/core/project-agents-file.d.ts +6 -0
- package/dist/core/project-agents-file.js +18 -0
- package/dist/core/project-agents-file.js.map +1 -0
- package/dist/core/provider-auth.d.ts +10 -4
- package/dist/core/provider-auth.js +59 -220
- package/dist/core/provider-auth.js.map +1 -1
- package/dist/core/provider-availability.d.ts +3 -1
- package/dist/core/provider-availability.js +1 -0
- package/dist/core/provider-availability.js.map +1 -1
- package/dist/core/provider-error.d.ts +21 -0
- package/dist/core/provider-error.js +32 -0
- package/dist/core/provider-error.js.map +1 -0
- package/dist/core/registry.d.ts +39 -0
- package/dist/core/registry.js +96 -0
- package/dist/core/registry.js.map +1 -0
- package/dist/core/runner-cli.d.ts +10 -0
- package/dist/core/runner-cli.js +34 -0
- package/dist/core/runner-cli.js.map +1 -0
- package/dist/core/runner-config-files.d.ts +60 -0
- package/dist/core/runner-config-files.js +14 -0
- package/dist/core/runner-config-files.js.map +1 -0
- package/dist/core/runner-definition.d.ts +353 -0
- package/dist/core/runner-definition.js +5 -0
- package/dist/core/runner-definition.js.map +1 -0
- package/dist/core/runner-facts.d.ts +77 -111
- package/dist/core/runner-facts.js +32 -52
- package/dist/core/runner-facts.js.map +1 -1
- package/dist/core/runner-fields.d.ts +26 -0
- package/dist/core/runner-fields.js +52 -0
- package/dist/core/runner-fields.js.map +1 -0
- package/dist/core/runner-id-schema.d.ts +15 -0
- package/dist/core/runner-id-schema.js +30 -0
- package/dist/core/runner-id-schema.js.map +1 -0
- package/dist/core/runner-ids.d.ts +9 -0
- package/dist/core/runner-ids.js +10 -0
- package/dist/core/runner-ids.js.map +1 -0
- package/dist/core/runner-model-catalog.d.ts +11 -9
- package/dist/core/runner-model-catalog.js +46 -51
- package/dist/core/runner-model-catalog.js.map +1 -1
- package/dist/core/runner-model-settings.d.ts +10 -0
- package/dist/core/runner-model-settings.js +3 -0
- package/dist/core/runner-model-settings.js.map +1 -0
- package/dist/core/runner-registry.d.ts +60 -0
- package/dist/core/runner-registry.js +115 -0
- package/dist/core/runner-registry.js.map +1 -0
- package/dist/core/runner-runtime.d.ts +9 -0
- package/dist/core/runner-runtime.js +8 -1
- package/dist/core/runner-runtime.js.map +1 -1
- package/dist/core/runner-skill-catalog.d.ts +28 -0
- package/dist/core/runner-skill-catalog.js +91 -0
- package/dist/core/runner-skill-catalog.js.map +1 -0
- package/dist/core/runner-skill-reference.d.ts +26 -0
- package/dist/core/runner-skill-reference.js +43 -0
- package/dist/core/runner-skill-reference.js.map +1 -0
- package/dist/core/runner-tool-grants.d.ts +1 -1
- package/dist/core/runner-tool-grants.js +1 -1
- package/dist/core/runner-tool-grants.js.map +1 -1
- package/dist/core/secret-redaction.d.ts +2 -0
- package/dist/core/secret-redaction.js +11 -3
- package/dist/core/secret-redaction.js.map +1 -1
- package/dist/core/session-containment.d.ts +78 -0
- package/dist/core/session-containment.js +247 -0
- package/dist/core/session-containment.js.map +1 -0
- package/dist/core/session-descendants.d.ts +15 -0
- package/dist/core/session-descendants.js +95 -0
- package/dist/core/session-descendants.js.map +1 -0
- package/dist/core/session-process.d.ts +23 -7
- package/dist/core/session-process.js +158 -28
- package/dist/core/session-process.js.map +1 -1
- package/dist/core/skill-path-scope.d.ts +4 -0
- package/dist/core/skill-path-scope.js +28 -0
- package/dist/core/skill-path-scope.js.map +1 -0
- package/dist/core/skill-probe.d.ts +21 -0
- package/dist/core/skill-probe.js +105 -0
- package/dist/core/skill-probe.js.map +1 -0
- package/dist/core/skill-trigger.d.ts +14 -0
- package/dist/core/skill-trigger.js +38 -0
- package/dist/core/skill-trigger.js.map +1 -0
- package/dist/core/structured-output.d.ts +9 -0
- package/dist/core/structured-output.js +64 -0
- package/dist/core/structured-output.js.map +1 -0
- package/dist/core/ui-events.d.ts +15 -4
- package/dist/core/ui-events.js.map +1 -1
- package/dist/core/usage-limit.d.ts +3 -2
- package/dist/core/usage-limit.js +16 -2
- package/dist/core/usage-limit.js.map +1 -1
- package/dist/core/v1-text-coalescer.d.ts +1 -1
- package/dist/core/v1-text-coalescer.js +1 -1
- package/dist/core/v1-text-coalescer.js.map +1 -1
- package/dist/data-gitignore.js +3 -6
- package/dist/data-gitignore.js.map +1 -1
- package/dist/delegation/capacity.d.ts +16 -1
- package/dist/delegation/capacity.js +36 -12
- package/dist/delegation/capacity.js.map +1 -1
- package/dist/delegation/cli.d.ts +4 -0
- package/dist/delegation/cli.js +63 -44
- package/dist/delegation/cli.js.map +1 -1
- package/dist/delegation/context.d.ts +40 -5
- package/dist/delegation/context.js +101 -85
- package/dist/delegation/context.js.map +1 -1
- package/dist/delegation/conversation-send.d.ts +9 -13
- package/dist/delegation/conversation-send.js +31 -17
- package/dist/delegation/conversation-send.js.map +1 -1
- package/dist/delegation/conversations.d.ts +41 -2129
- package/dist/delegation/conversations.js +108 -113
- package/dist/delegation/conversations.js.map +1 -1
- package/dist/delegation/execution-identity.d.ts +83 -67
- package/dist/delegation/execution-identity.js +244 -67
- package/dist/delegation/execution-identity.js.map +1 -1
- package/dist/delegation/execution-settings.d.ts +1 -2
- package/dist/delegation/execution-settings.js.map +1 -1
- package/dist/delegation/family-end.d.ts +16 -0
- package/dist/delegation/family-end.js +114 -0
- package/dist/delegation/family-end.js.map +1 -0
- package/dist/delegation/identity-file-store.d.ts +1 -1
- package/dist/delegation/input.js.map +1 -1
- package/dist/delegation/owned-workspace-release.d.ts +8 -0
- package/dist/delegation/owned-workspace-release.js +9 -0
- package/dist/delegation/owned-workspace-release.js.map +1 -0
- package/dist/delegation/park-notice.d.ts +44 -10
- package/dist/delegation/park-notice.js +53 -17
- package/dist/delegation/park-notice.js.map +1 -1
- package/dist/delegation/policy.d.ts +26 -8
- package/dist/delegation/policy.js +60 -37
- package/dist/delegation/policy.js.map +1 -1
- package/dist/delegation/private-record-file.d.ts +7 -0
- package/dist/delegation/private-record-file.js +55 -0
- package/dist/delegation/private-record-file.js.map +1 -0
- package/dist/delegation/process-liveness.d.ts +9 -76
- package/dist/delegation/process-liveness.js +6 -145
- package/dist/delegation/process-liveness.js.map +1 -1
- package/dist/delegation/provision.d.ts +6 -4
- package/dist/delegation/provision.js +76 -46
- package/dist/delegation/provision.js.map +1 -1
- package/dist/delegation/questions.d.ts +16 -1
- package/dist/delegation/questions.js +31 -0
- package/dist/delegation/questions.js.map +1 -1
- package/dist/delegation/readiness.d.ts +4 -2
- package/dist/delegation/readiness.js +9 -7
- package/dist/delegation/readiness.js.map +1 -1
- package/dist/delegation/receipt-cache.d.ts +9 -0
- package/dist/delegation/receipt-cache.js +26 -0
- package/dist/delegation/receipt-cache.js.map +1 -0
- package/dist/delegation/removal-slot.d.ts +4 -0
- package/dist/delegation/removal-slot.js +20 -0
- package/dist/delegation/removal-slot.js.map +1 -0
- package/dist/delegation/results.d.ts +10 -2
- package/dist/delegation/results.js +40 -22
- package/dist/delegation/results.js.map +1 -1
- package/dist/delegation/retry-backoff.d.ts +7 -1
- package/dist/delegation/retry-backoff.js +6 -0
- package/dist/delegation/retry-backoff.js.map +1 -1
- package/dist/delegation/routes.d.ts +149 -29
- package/dist/delegation/routes.js +6 -6
- package/dist/delegation/routes.js.map +1 -1
- package/dist/delegation/scratch-cleanup.d.ts +1 -1
- package/dist/delegation/scratch-cleanup.js +18 -18
- package/dist/delegation/scratch-cleanup.js.map +1 -1
- package/dist/delegation/service.d.ts +50 -19
- package/dist/delegation/service.js +326 -182
- package/dist/delegation/service.js.map +1 -1
- package/dist/delegation/shared-workspace.d.ts +25 -0
- package/dist/delegation/shared-workspace.js +100 -0
- package/dist/delegation/shared-workspace.js.map +1 -0
- package/dist/delegation/task-discovery.js +9 -5
- package/dist/delegation/task-discovery.js.map +1 -1
- package/dist/delegation/transport.d.ts +141 -21
- package/dist/delegation/wait-kinds.d.ts +8 -0
- package/dist/delegation/wait-kinds.js +317 -0
- package/dist/delegation/wait-kinds.js.map +1 -0
- package/dist/delegation/windows-identity-store.d.ts +1 -1
- package/dist/delegation/windows-identity-store.js +1 -1
- package/dist/delegation/windows-identity-store.js.map +1 -1
- package/dist/delegation/worker-cleanup.d.ts +46 -11
- package/dist/delegation/worker-cleanup.js +260 -102
- package/dist/delegation/worker-cleanup.js.map +1 -1
- package/dist/delegation/worker-deletion-proof.d.ts +13 -0
- package/dist/delegation/worker-deletion-proof.js.map +1 -0
- package/dist/delegation/worker-executions.d.ts +72 -0
- package/dist/delegation/worker-executions.js +252 -0
- package/dist/delegation/worker-executions.js.map +1 -0
- package/dist/delegation/worker-resource-holders.d.ts +20 -0
- package/dist/delegation/worker-resource-holders.js +18 -0
- package/dist/delegation/worker-resource-holders.js.map +1 -0
- package/dist/delegation/workspace-git.d.ts +16 -0
- package/dist/delegation/workspace-git.js +61 -0
- package/dist/delegation/workspace-git.js.map +1 -0
- package/dist/delegation/workspace-kinds.d.ts +75 -0
- package/dist/delegation/workspace-kinds.js +122 -0
- package/dist/delegation/workspace-kinds.js.map +1 -0
- package/dist/delegation/workspace-record.d.ts +69 -0
- package/dist/delegation/workspace-record.js +124 -0
- package/dist/delegation/workspace-record.js.map +1 -0
- package/dist/delegation/workspace-removal.d.ts +28 -0
- package/dist/delegation/workspace-removal.js +376 -0
- package/dist/delegation/workspace-removal.js.map +1 -0
- package/dist/delegation/workspace-state.d.ts +65 -0
- package/dist/delegation/workspace-state.js +270 -0
- package/dist/delegation/workspace-state.js.map +1 -0
- package/dist/delegation/workspace-work.d.ts +35 -0
- package/dist/delegation/workspace-work.js +75 -0
- package/dist/delegation/workspace-work.js.map +1 -0
- package/dist/delegation/workspace.d.ts +5 -32
- package/dist/delegation/workspace.js +13 -417
- package/dist/delegation/workspace.js.map +1 -1
- package/dist/delegation/worktree-teardown.d.ts +8 -0
- package/dist/delegation/worktree-teardown.js +36 -0
- package/dist/delegation/worktree-teardown.js.map +1 -0
- package/dist/detached-process.d.ts +4 -43
- package/dist/detached-process.js +4 -210
- package/dist/detached-process.js.map +1 -1
- package/dist/discovery/catalog.d.ts +2 -9
- package/dist/discovery/catalog.js +1 -18
- package/dist/discovery/catalog.js.map +1 -1
- package/dist/discovery/choices.d.ts +10 -0
- package/dist/discovery/choices.js +21 -0
- package/dist/discovery/choices.js.map +1 -0
- package/dist/discovery/cli.d.ts +2 -0
- package/dist/discovery/cli.js +7 -2
- package/dist/discovery/cli.js.map +1 -1
- package/dist/features/jobs/cli.d.ts +4 -0
- package/dist/features/jobs/cli.js +79 -0
- package/dist/features/jobs/cli.js.map +1 -0
- package/dist/features/jobs/command.d.ts +9 -0
- package/dist/features/jobs/command.js +19 -0
- package/dist/features/jobs/command.js.map +1 -0
- package/dist/features/jobs/index.d.ts +11 -0
- package/dist/features/jobs/index.js +20 -0
- package/dist/features/jobs/index.js.map +1 -0
- package/dist/features/jobs/job.d.ts +107 -0
- package/dist/features/jobs/job.js +388 -0
- package/dist/features/jobs/job.js.map +1 -0
- package/dist/features/jobs/removal-slot.d.ts +14 -0
- package/dist/features/jobs/removal-slot.js +50 -0
- package/dist/features/jobs/removal-slot.js.map +1 -0
- package/dist/features/mcp/cli.d.ts +14 -0
- package/dist/features/mcp/cli.js +87 -0
- package/dist/features/mcp/cli.js.map +1 -0
- package/dist/features/mcp/index.d.ts +9 -0
- package/dist/features/mcp/index.js +13 -0
- package/dist/features/mcp/index.js.map +1 -0
- package/dist/features/mcp/stdio.d.ts +10 -0
- package/dist/features/mcp/stdio.js +41 -0
- package/dist/features/mcp/stdio.js.map +1 -0
- package/dist/features/mcp/tools.d.ts +19 -0
- package/dist/features/mcp/tools.js +476 -0
- package/dist/features/mcp/tools.js.map +1 -0
- package/dist/git-command.d.ts +43 -2
- package/dist/git-command.js +57 -4
- package/dist/git-command.js.map +1 -1
- package/dist/git-diff-base.d.ts +1 -1
- package/dist/git-private-index.js +1 -2
- package/dist/git-private-index.js.map +1 -1
- package/dist/git-refs.d.ts +1 -1
- package/dist/git-refs.js +1 -1
- package/dist/git-worktree-lock-helper.d.ts +23 -0
- package/dist/git-worktree-lock-helper.js +152 -30
- package/dist/git-worktree-lock-helper.js.map +1 -1
- package/dist/git-worktree-lock.d.ts +21 -4
- package/dist/git-worktree-lock.js +23 -14
- package/dist/git-worktree-lock.js.map +1 -1
- package/dist/git-worktree-release.d.ts +5 -9
- package/dist/git-worktree-release.js +5 -10
- package/dist/git-worktree-release.js.map +1 -1
- package/dist/git-worktree.d.ts +22 -55
- package/dist/git-worktree.js +225 -405
- package/dist/git-worktree.js.map +1 -1
- package/dist/handoff.d.ts +6 -6
- package/dist/handoff.js +18 -17
- package/dist/handoff.js.map +1 -1
- package/dist/headless-run.d.ts +4 -1
- package/dist/headless-run.js +27 -12
- package/dist/headless-run.js.map +1 -1
- package/dist/home/backup-args.d.ts +22 -0
- package/dist/home/backup-args.js +38 -0
- package/dist/home/backup-args.js.map +1 -0
- package/dist/home/boundary.js +4 -4
- package/dist/home/boundary.js.map +1 -1
- package/dist/home/command.d.ts +4 -4
- package/dist/home/command.js +9 -15
- package/dist/home/command.js.map +1 -1
- package/dist/home/deprecation.d.ts +2 -4
- package/dist/home/deprecation.js +2 -3
- package/dist/home/deprecation.js.map +1 -1
- package/dist/home/entry.d.ts +2 -4
- package/dist/home/entry.js +12 -12
- package/dist/home/entry.js.map +1 -1
- package/dist/home/home.d.ts +3 -4
- package/dist/home/home.js +5 -10
- package/dist/home/home.js.map +1 -1
- package/dist/home/identity.d.ts +5 -10
- package/dist/home/identity.js +3 -7
- package/dist/home/identity.js.map +1 -1
- package/dist/home/install-marker.js +6 -7
- package/dist/home/install-marker.js.map +1 -1
- package/dist/home/leases.js +1 -1
- package/dist/home/leases.js.map +1 -1
- package/dist/home/legacy-account-paths.js +0 -3
- package/dist/home/legacy-account-paths.js.map +1 -1
- package/dist/home/legacy-recovery.d.ts +2 -2
- package/dist/home/legacy-recovery.js +4 -9
- package/dist/home/legacy-recovery.js.map +1 -1
- package/dist/home/legacy-source.d.ts +2 -3
- package/dist/home/legacy-source.js +3 -6
- package/dist/home/legacy-source.js.map +1 -1
- package/dist/home/migrate.d.ts +1 -1
- package/dist/home/migrate.js +32 -19
- package/dist/home/migrate.js.map +1 -1
- package/dist/home/migration-accounts.d.ts +0 -2
- package/dist/home/migration-accounts.js +2 -11
- package/dist/home/migration-accounts.js.map +1 -1
- package/dist/home/migration-boot.d.ts +1 -2
- package/dist/home/migration-boot.js +5 -9
- package/dist/home/migration-boot.js.map +1 -1
- package/dist/home/migration-claim.js +1 -1
- package/dist/home/migration-claim.js.map +1 -1
- package/dist/home/migration-cli.js +4 -3
- package/dist/home/migration-cli.js.map +1 -1
- package/dist/home/migration-guard.js +1 -2
- package/dist/home/migration-guard.js.map +1 -1
- package/dist/home/migration-plan.d.ts +1 -1
- package/dist/home/migration-plan.js +5 -6
- package/dist/home/migration-plan.js.map +1 -1
- package/dist/home/private-files.js +3 -4
- package/dist/home/private-files.js.map +1 -1
- package/dist/home/process-identity.js +1 -1
- package/dist/home/process-identity.js.map +1 -1
- package/dist/home/protected-roots.d.ts +1 -1
- package/dist/home/protected-roots.js +3 -4
- package/dist/home/protected-roots.js.map +1 -1
- package/dist/home/recovery-watch.d.ts +1 -1
- package/dist/home/recovery-watch.js +3 -4
- package/dist/home/recovery-watch.js.map +1 -1
- package/dist/home/recovery.d.ts +3 -4
- package/dist/home/recovery.js +7 -9
- package/dist/home/recovery.js.map +1 -1
- package/dist/home/resolve.js +1 -2
- package/dist/home/resolve.js.map +1 -1
- package/dist/home/store.js +2 -2
- package/dist/home/store.js.map +1 -1
- package/dist/home/write-lock.js +1 -1
- package/dist/home/write-lock.js.map +1 -1
- package/dist/index.js +45 -30
- package/dist/index.js.map +1 -1
- package/dist/install-as-command.d.ts +1 -1
- package/dist/legacy-runs.d.ts +57 -0
- package/dist/legacy-runs.js +135 -0
- package/dist/legacy-runs.js.map +1 -0
- package/dist/managed-install/cli-archive.d.ts +4 -0
- package/dist/managed-install/cli-archive.js +89 -0
- package/dist/managed-install/cli-archive.js.map +1 -0
- package/dist/managed-install/cli-installation.d.ts +26 -0
- package/dist/managed-install/cli-installation.js +119 -0
- package/dist/managed-install/cli-installation.js.map +1 -0
- package/dist/managed-install/cli-manifest.d.ts +33 -0
- package/dist/managed-install/cli-manifest.js +57 -0
- package/dist/managed-install/cli-manifest.js.map +1 -0
- package/dist/managed-install/cli-storage.d.ts +45 -0
- package/dist/managed-install/cli-storage.js +212 -0
- package/dist/managed-install/cli-storage.js.map +1 -0
- package/dist/managed-install/launcher.d.ts +16 -0
- package/dist/managed-install/launcher.js +139 -0
- package/dist/managed-install/launcher.js.map +1 -0
- package/dist/managed-install/layout.d.ts +34 -0
- package/dist/managed-install/layout.js +43 -0
- package/dist/managed-install/layout.js.map +1 -0
- package/dist/managed-install/runtime-home.d.ts +8 -0
- package/dist/managed-install/runtime-home.js +14 -0
- package/dist/managed-install/runtime-home.js.map +1 -0
- package/dist/pack-check.d.ts +13 -1
- package/dist/pack-check.js +40 -1
- package/dist/pack-check.js.map +1 -1
- package/dist/paths.d.ts +16 -21
- package/dist/paths.js +38 -57
- package/dist/paths.js.map +1 -1
- package/dist/planner.d.ts +3 -10
- package/dist/planner.js +24 -78
- package/dist/planner.js.map +1 -1
- package/dist/plugin/acp.d.ts +15 -0
- package/dist/plugin/acp.js +12 -0
- package/dist/plugin/acp.js.map +1 -0
- package/dist/plugin/api.d.ts +46 -0
- package/dist/plugin/api.js +155 -0
- package/dist/plugin/api.js.map +1 -0
- package/dist/plugin/bundled-features.d.ts +11 -0
- package/dist/plugin/bundled-features.js +37 -0
- package/dist/plugin/bundled-features.js.map +1 -0
- package/dist/plugin/bundled-runners.d.ts +28 -0
- package/dist/plugin/bundled-runners.js +57 -0
- package/dist/plugin/bundled-runners.js.map +1 -0
- package/dist/plugin/cli.d.ts +5 -0
- package/dist/plugin/cli.js +55 -0
- package/dist/plugin/cli.js.map +1 -0
- package/dist/plugin/index.d.ts +14 -0
- package/dist/plugin/index.js +2 -0
- package/dist/plugin/index.js.map +1 -0
- package/dist/plugin/loader.d.ts +81 -0
- package/dist/plugin/loader.js +187 -0
- package/dist/plugin/loader.js.map +1 -0
- package/dist/plugin/managed-cli.d.ts +8 -0
- package/dist/plugin/managed-cli.js +9 -0
- package/dist/plugin/managed-cli.js.map +1 -0
- package/dist/plugin/model-settings.d.ts +8 -0
- package/dist/plugin/model-settings.js +8 -0
- package/dist/plugin/model-settings.js.map +1 -0
- package/dist/plugin/pi-rpc.d.ts +8 -0
- package/dist/plugin/pi-rpc.js +8 -0
- package/dist/plugin/pi-rpc.js.map +1 -0
- package/dist/plugin/resolve-hook.d.ts +21 -0
- package/dist/plugin/resolve-hook.js +53 -0
- package/dist/plugin/resolve-hook.js.map +1 -0
- package/dist/plugin/runner-kit.d.ts +41 -0
- package/dist/plugin/runner-kit.js +23 -0
- package/dist/plugin/runner-kit.js.map +1 -0
- package/dist/plugin/runtime.d.ts +38 -0
- package/dist/plugin/runtime.js +39 -0
- package/dist/plugin/runtime.js.map +1 -0
- package/dist/preview/agent-address.d.ts +1 -1
- package/dist/preview/agent-address.js +3 -3
- package/dist/preview/agent-address.js.map +1 -1
- package/dist/preview/agent-marker.js +11 -8
- package/dist/preview/agent-marker.js.map +1 -1
- package/dist/preview/agent-tools.d.ts +2 -0
- package/dist/preview/agent-tools.js +18 -0
- package/dist/preview/agent-tools.js.map +1 -0
- package/dist/preview/browser-launch.d.ts +2 -1
- package/dist/preview/browser-launch.js +16 -9
- package/dist/preview/browser-launch.js.map +1 -1
- package/dist/preview/cdp-proxy.d.ts +2 -2
- package/dist/preview/cdp-proxy.js +6 -7
- package/dist/preview/cdp-proxy.js.map +1 -1
- package/dist/preview/cdp.d.ts +4 -2
- package/dist/preview/cdp.js +43 -4
- package/dist/preview/cdp.js.map +1 -1
- package/dist/preview/chromium.d.ts +9 -5
- package/dist/preview/chromium.js +45 -14
- package/dist/preview/chromium.js.map +1 -1
- package/dist/preview/dev-server.d.ts +5 -2
- package/dist/preview/dev-server.js +84 -20
- package/dist/preview/dev-server.js.map +1 -1
- package/dist/preview/host.d.ts +17 -10
- package/dist/preview/host.js +31 -24
- package/dist/preview/host.js.map +1 -1
- package/dist/preview/registration.d.ts +1 -1
- package/dist/preview/registration.js +6 -6
- package/dist/preview/registration.js.map +1 -1
- package/dist/preview/run-tools.d.ts +3 -2
- package/dist/preview/run-tools.js +9 -8
- package/dist/preview/run-tools.js.map +1 -1
- package/dist/preview/session.js +13 -7
- package/dist/preview/session.js.map +1 -1
- package/dist/preview/tool-catalog.d.ts +146 -0
- package/dist/preview/tool-catalog.js +14 -0
- package/dist/preview/tool-catalog.js.map +1 -0
- package/dist/preview/tool-client.d.ts +8 -0
- package/dist/preview/tool-client.js +16 -0
- package/dist/preview/tool-client.js.map +1 -0
- package/dist/preview/tool-env.d.ts +2 -0
- package/dist/preview/tool-env.js +4 -0
- package/dist/preview/tool-env.js.map +1 -0
- package/dist/preview/tool-errors.d.ts +7 -0
- package/dist/preview/tool-errors.js +36 -0
- package/dist/preview/tool-errors.js.map +1 -0
- package/dist/preview/tool-session.d.ts +6 -0
- package/dist/preview/tool-session.js +9 -0
- package/dist/preview/tool-session.js.map +1 -0
- package/dist/preview/tools.d.ts +57 -0
- package/dist/preview/tools.js +18 -0
- package/dist/preview/tools.js.map +1 -0
- package/dist/process-wait/exit-file.d.ts +14 -9
- package/dist/process-wait/exit-file.js +23 -10
- package/dist/process-wait/exit-file.js.map +1 -1
- package/dist/process-wait/job-exit-file.d.ts +15 -0
- package/dist/process-wait/job-exit-file.js +49 -0
- package/dist/process-wait/job-exit-file.js.map +1 -0
- package/dist/process-wait/supervisor.d.ts +2 -2
- package/dist/process-wait/supervisor.js +12 -9
- package/dist/process-wait/supervisor.js.map +1 -1
- package/dist/project-commands.d.ts +1 -1
- package/dist/project-commands.js +4 -19
- package/dist/project-commands.js.map +1 -1
- package/dist/project-fence.d.ts +63 -0
- package/dist/project-fence.js +145 -0
- package/dist/project-fence.js.map +1 -0
- package/dist/project-migration/answer.d.ts +2 -0
- package/dist/project-migration/answer.js +7 -5
- package/dist/project-migration/answer.js.map +1 -1
- package/dist/project-migration/auto.d.ts +17 -14
- package/dist/project-migration/auto.js +72 -50
- package/dist/project-migration/auto.js.map +1 -1
- package/dist/project-migration/cli.js +3 -2
- package/dist/project-migration/cli.js.map +1 -1
- package/dist/project-migration/containment.d.ts +1 -1
- package/dist/project-migration/containment.js +7 -7
- package/dist/project-migration/containment.js.map +1 -1
- package/dist/project-migration/engine.d.ts +13 -1
- package/dist/project-migration/engine.js +19 -2
- package/dist/project-migration/engine.js.map +1 -1
- package/dist/project-migration/fresh.d.ts +1 -1
- package/dist/project-migration/fresh.js +2 -3
- package/dist/project-migration/fresh.js.map +1 -1
- package/dist/project-migration/journal.d.ts +8 -2
- package/dist/project-migration/journal.js +9 -2
- package/dist/project-migration/journal.js.map +1 -1
- package/dist/project-migration/live.d.ts +30 -5
- package/dist/project-migration/live.js +107 -8
- package/dist/project-migration/live.js.map +1 -1
- package/dist/project-migration/offline.d.ts +6 -4
- package/dist/project-migration/offline.js +8 -6
- package/dist/project-migration/offline.js.map +1 -1
- package/dist/project-migration/pending.d.ts +10 -0
- package/dist/project-migration/pending.js +57 -0
- package/dist/project-migration/pending.js.map +1 -0
- package/dist/project-migration/plan.d.ts +31 -2
- package/dist/project-migration/plan.js +154 -41
- package/dist/project-migration/plan.js.map +1 -1
- package/dist/project-migration/steps.js +63 -5
- package/dist/project-migration/steps.js.map +1 -1
- package/dist/project-paths.d.ts +10 -9
- package/dist/project-paths.js +24 -17
- package/dist/project-paths.js.map +1 -1
- package/dist/release/compatibility.d.ts +2 -2
- package/dist/release/compatibility.js +4 -4
- package/dist/release/compatibility.js.map +1 -1
- package/dist/release/manifests.d.ts +8 -18
- package/dist/release/manifests.js +14 -42
- package/dist/release/manifests.js.map +1 -1
- package/dist/release/publication.js +2 -2
- package/dist/release/publication.js.map +1 -1
- package/dist/release/snapshot.d.ts +3 -3
- package/dist/release/snapshot.js +3 -3
- package/dist/release/stable.d.ts +21 -2
- package/dist/release/stable.js +27 -2
- package/dist/release/stable.js.map +1 -1
- package/dist/remote-settings-cli.d.ts +5 -3
- package/dist/remote-settings-cli.js +10 -8
- package/dist/remote-settings-cli.js.map +1 -1
- package/dist/remote-settings.d.ts +1 -1
- package/dist/runners/antigravity/account-home.d.ts +3 -0
- package/dist/runners/antigravity/account-home.js +45 -0
- package/dist/runners/antigravity/account-home.js.map +1 -0
- package/dist/runners/antigravity/accounts.d.ts +14 -0
- package/dist/runners/antigravity/accounts.js +6 -0
- package/dist/runners/antigravity/accounts.js.map +1 -0
- package/dist/runners/antigravity/antigravity-model-catalog.d.ts +9 -0
- package/dist/runners/antigravity/antigravity-model-catalog.js +79 -0
- package/dist/runners/antigravity/antigravity-model-catalog.js.map +1 -0
- package/dist/runners/antigravity/antigravity-runner.d.ts +48 -0
- package/dist/runners/antigravity/antigravity-runner.js +29 -0
- package/dist/runners/antigravity/antigravity-runner.js.map +1 -0
- package/dist/runners/antigravity/antigravity-session.d.ts +115 -0
- package/dist/runners/antigravity/antigravity-session.js +702 -0
- package/dist/runners/antigravity/antigravity-session.js.map +1 -0
- package/dist/runners/antigravity/antigravity-skill-catalog.d.ts +9 -0
- package/dist/runners/antigravity/antigravity-skill-catalog.js +174 -0
- package/dist/runners/antigravity/antigravity-skill-catalog.js.map +1 -0
- package/dist/runners/antigravity/antigravity-ui-mapper.d.ts +17 -0
- package/dist/runners/antigravity/antigravity-ui-mapper.js +76 -0
- package/dist/runners/antigravity/antigravity-ui-mapper.js.map +1 -0
- package/dist/runners/antigravity/ask-question.d.ts +9 -0
- package/dist/runners/antigravity/ask-question.js +37 -0
- package/dist/runners/antigravity/ask-question.js.map +1 -0
- package/dist/runners/antigravity/browser-sign-in.d.ts +10 -0
- package/dist/runners/antigravity/browser-sign-in.js +127 -0
- package/dist/runners/antigravity/browser-sign-in.js.map +1 -0
- package/dist/runners/antigravity/cli.d.ts +23 -0
- package/dist/runners/antigravity/cli.js +31 -0
- package/dist/runners/antigravity/cli.js.map +1 -0
- package/dist/runners/antigravity/client-files.d.ts +5 -0
- package/dist/runners/antigravity/client-files.js +20 -0
- package/dist/runners/antigravity/client-files.js.map +1 -0
- package/dist/runners/antigravity/config-files.d.ts +2 -0
- package/dist/runners/antigravity/config-files.js +8 -0
- package/dist/runners/antigravity/config-files.js.map +1 -0
- package/dist/runners/antigravity/definition.d.ts +1 -0
- package/dist/runners/antigravity/definition.js +31 -0
- package/dist/runners/antigravity/definition.js.map +1 -0
- package/dist/runners/antigravity/detection.d.ts +14 -0
- package/dist/runners/antigravity/detection.js +12 -0
- package/dist/runners/antigravity/detection.js.map +1 -0
- package/dist/runners/antigravity/display.d.ts +11 -0
- package/dist/runners/antigravity/display.js +7 -0
- package/dist/runners/antigravity/display.js.map +1 -0
- package/dist/runners/antigravity/env.d.ts +3 -0
- package/dist/runners/antigravity/env.js +2 -0
- package/dist/runners/antigravity/env.js.map +1 -0
- package/dist/runners/antigravity/executable.d.ts +45 -0
- package/dist/runners/antigravity/executable.js +183 -0
- package/dist/runners/antigravity/executable.js.map +1 -0
- package/dist/runners/antigravity/extra-tools.d.ts +1 -0
- package/dist/runners/antigravity/extra-tools.js +2 -0
- package/dist/runners/antigravity/extra-tools.js.map +1 -0
- package/dist/runners/antigravity/facts.d.ts +26 -0
- package/dist/runners/antigravity/facts.js +25 -0
- package/dist/runners/antigravity/facts.js.map +1 -0
- package/dist/runners/antigravity/http-mcp.d.ts +14 -0
- package/dist/runners/antigravity/http-mcp.js +82 -0
- package/dist/runners/antigravity/http-mcp.js.map +1 -0
- package/dist/runners/antigravity/index.d.ts +6 -0
- package/dist/runners/antigravity/index.js +9 -0
- package/dist/runners/antigravity/index.js.map +1 -0
- package/dist/runners/antigravity/launch-args.d.ts +4 -0
- package/dist/runners/antigravity/launch-args.js +7 -0
- package/dist/runners/antigravity/launch-args.js.map +1 -0
- package/dist/runners/antigravity/login-probe.d.ts +9 -0
- package/dist/runners/antigravity/login-probe.js +55 -0
- package/dist/runners/antigravity/login-probe.js.map +1 -0
- package/dist/runners/antigravity/login.d.ts +5 -0
- package/dist/runners/antigravity/login.js +5 -0
- package/dist/runners/antigravity/login.js.map +1 -0
- package/dist/runners/antigravity/mcp-name.d.ts +2 -0
- package/dist/runners/antigravity/mcp-name.js +3 -0
- package/dist/runners/antigravity/mcp-name.js.map +1 -0
- package/dist/runners/antigravity/mock.d.ts +155 -0
- package/dist/runners/antigravity/mock.js +35 -0
- package/dist/runners/antigravity/mock.js.map +1 -0
- package/dist/runners/antigravity/model-settings.d.ts +2 -0
- package/dist/runners/antigravity/model-settings.js +4 -0
- package/dist/runners/antigravity/model-settings.js.map +1 -0
- package/dist/runners/antigravity/models.d.ts +5 -0
- package/dist/runners/antigravity/models.js +15 -0
- package/dist/runners/antigravity/models.js.map +1 -0
- package/dist/runners/antigravity/native-diagnostics.d.ts +4 -0
- package/dist/runners/antigravity/native-diagnostics.js +59 -0
- package/dist/runners/antigravity/native-diagnostics.js.map +1 -0
- package/dist/runners/antigravity/permissions.d.ts +4 -0
- package/dist/runners/antigravity/permissions.js +42 -0
- package/dist/runners/antigravity/permissions.js.map +1 -0
- package/dist/runners/antigravity/probe-process.d.ts +27 -0
- package/dist/runners/antigravity/probe-process.js +84 -0
- package/dist/runners/antigravity/probe-process.js.map +1 -0
- package/dist/runners/antigravity/runtime-env.d.ts +8 -0
- package/dist/runners/antigravity/runtime-env.js +30 -0
- package/dist/runners/antigravity/runtime-env.js.map +1 -0
- package/dist/runners/antigravity/spec-support.d.ts +2 -0
- package/dist/runners/antigravity/spec-support.js +23 -0
- package/dist/runners/antigravity/spec-support.js.map +1 -0
- package/dist/runners/antigravity/subagent-tracker.d.ts +50 -0
- package/dist/runners/antigravity/subagent-tracker.js +152 -0
- package/dist/runners/antigravity/subagent-tracker.js.map +1 -0
- package/dist/runners/antigravity/subagent-transcript.d.ts +41 -0
- package/dist/runners/antigravity/subagent-transcript.js +185 -0
- package/dist/runners/antigravity/subagent-transcript.js.map +1 -0
- package/dist/runners/antigravity/tool-normalization.d.ts +15 -0
- package/dist/runners/antigravity/tool-normalization.js +104 -0
- package/dist/runners/antigravity/tool-normalization.js.map +1 -0
- package/dist/runners/antigravity/tool-transcript.d.ts +85 -0
- package/dist/runners/antigravity/tool-transcript.js +274 -0
- package/dist/runners/antigravity/tool-transcript.js.map +1 -0
- package/dist/runners/antigravity/transcript-tailer.d.ts +56 -0
- package/dist/runners/antigravity/transcript-tailer.js +175 -0
- package/dist/runners/antigravity/transcript-tailer.js.map +1 -0
- package/dist/runners/antigravity/usage.d.ts +2 -0
- package/dist/runners/antigravity/usage.js +14 -0
- package/dist/runners/antigravity/usage.js.map +1 -0
- package/dist/runners/antigravity/wire-updates.d.ts +14 -0
- package/dist/runners/antigravity/wire-updates.js +50 -0
- package/dist/runners/antigravity/wire-updates.js.map +1 -0
- package/dist/runners/claude/accounts.d.ts +11 -0
- package/dist/runners/claude/accounts.js +10 -0
- package/dist/runners/claude/accounts.js.map +1 -0
- package/dist/runners/claude/claude-cli-runner.d.ts +89 -0
- package/dist/runners/claude/claude-cli-runner.js +895 -0
- package/dist/runners/claude/claude-cli-runner.js.map +1 -0
- package/dist/runners/claude/claude-executable.js +9 -0
- package/dist/runners/claude/claude-executable.js.map +1 -0
- package/dist/runners/claude/claude-forked-command.d.ts +36 -0
- package/dist/runners/claude/claude-forked-command.js +65 -0
- package/dist/runners/claude/claude-forked-command.js.map +1 -0
- package/dist/runners/claude/claude-model-catalog.d.ts +16 -0
- package/dist/runners/claude/claude-model-catalog.js +196 -0
- package/dist/runners/claude/claude-model-catalog.js.map +1 -0
- package/dist/runners/claude/claude-partial-messages.d.ts +32 -0
- package/dist/runners/claude/claude-partial-messages.js +129 -0
- package/dist/runners/claude/claude-partial-messages.js.map +1 -0
- package/dist/runners/claude/claude-setting-sources.d.ts +2 -0
- package/dist/runners/claude/claude-setting-sources.js +7 -0
- package/dist/runners/claude/claude-setting-sources.js.map +1 -0
- package/dist/runners/claude/claude-skill-catalog.d.ts +3 -0
- package/dist/runners/claude/claude-skill-catalog.js +30 -0
- package/dist/runners/claude/claude-skill-catalog.js.map +1 -0
- package/dist/runners/claude/claude-stream.d.ts +39 -0
- package/dist/runners/claude/claude-stream.js +108 -0
- package/dist/runners/claude/claude-stream.js.map +1 -0
- package/dist/runners/claude/claude-ui-mapper.d.ts +90 -0
- package/dist/runners/claude/claude-ui-mapper.js +878 -0
- package/dist/runners/claude/claude-ui-mapper.js.map +1 -0
- package/dist/runners/claude/cli.d.ts +15 -0
- package/dist/runners/claude/cli.js +8 -0
- package/dist/runners/claude/cli.js.map +1 -0
- package/dist/runners/claude/config-files.d.ts +10 -0
- package/dist/runners/claude/config-files.js +122 -0
- package/dist/runners/claude/config-files.js.map +1 -0
- package/dist/runners/claude/definition.d.ts +2 -0
- package/dist/runners/claude/definition.js +42 -0
- package/dist/runners/claude/definition.js.map +1 -0
- package/dist/runners/claude/detection.d.ts +12 -0
- package/dist/runners/claude/detection.js +17 -0
- package/dist/runners/claude/detection.js.map +1 -0
- package/dist/runners/claude/display.d.ts +12 -0
- package/dist/runners/claude/display.js +13 -0
- package/dist/runners/claude/display.js.map +1 -0
- package/dist/runners/claude/env.d.ts +4 -0
- package/dist/runners/claude/env.js +3 -0
- package/dist/runners/claude/env.js.map +1 -0
- package/dist/runners/claude/extra-tools.d.ts +3 -0
- package/dist/runners/claude/extra-tools.js +4 -0
- package/dist/runners/claude/extra-tools.js.map +1 -0
- package/dist/runners/claude/facts.d.ts +28 -0
- package/dist/runners/claude/facts.js +25 -0
- package/dist/runners/claude/facts.js.map +1 -0
- package/dist/runners/claude/index.d.ts +6 -0
- package/dist/runners/claude/index.js +9 -0
- package/dist/runners/claude/index.js.map +1 -0
- package/dist/runners/claude/login-probe.d.ts +4 -0
- package/dist/runners/claude/login-probe.js +16 -0
- package/dist/runners/claude/login-probe.js.map +1 -0
- package/dist/runners/claude/login.d.ts +7 -0
- package/dist/runners/claude/login.js +8 -0
- package/dist/runners/claude/login.js.map +1 -0
- package/dist/runners/claude/mock.d.ts +99 -0
- package/dist/runners/claude/mock.js +78 -0
- package/dist/runners/claude/mock.js.map +1 -0
- package/dist/runners/claude/model-settings.d.ts +2 -0
- package/dist/runners/claude/model-settings.js +11 -0
- package/dist/runners/claude/model-settings.js.map +1 -0
- package/dist/runners/claude/models.d.ts +3 -0
- package/dist/runners/claude/models.js +23 -0
- package/dist/runners/claude/models.js.map +1 -0
- package/dist/runners/claude/spec-support.d.ts +8 -0
- package/dist/runners/claude/spec-support.js +30 -0
- package/dist/runners/claude/spec-support.js.map +1 -0
- package/dist/runners/codex/accounts.d.ts +11 -0
- package/dist/runners/codex/accounts.js +8 -0
- package/dist/runners/codex/accounts.js.map +1 -0
- package/dist/runners/codex/cli.d.ts +15 -0
- package/dist/runners/codex/cli.js +8 -0
- package/dist/runners/codex/cli.js.map +1 -0
- package/dist/runners/codex/codex-app-server-runner.d.ts +62 -0
- package/dist/runners/codex/codex-app-server-runner.js +1230 -0
- package/dist/runners/codex/codex-app-server-runner.js.map +1 -0
- package/dist/runners/codex/codex-app-server-transport.d.ts +55 -0
- package/dist/runners/codex/codex-app-server-transport.js +198 -0
- package/dist/runners/codex/codex-app-server-transport.js.map +1 -0
- package/dist/runners/codex/codex-approvals.d.ts +12 -0
- package/dist/runners/codex/codex-approvals.js +180 -0
- package/dist/runners/codex/codex-approvals.js.map +1 -0
- package/dist/runners/codex/codex-hook-mapper.d.ts +15 -0
- package/dist/runners/codex/codex-hook-mapper.js +72 -0
- package/dist/runners/codex/codex-hook-mapper.js.map +1 -0
- package/dist/runners/codex/codex-model-catalog.d.ts +10 -0
- package/dist/runners/codex/codex-model-catalog.js +110 -0
- package/dist/runners/codex/codex-model-catalog.js.map +1 -0
- package/dist/runners/codex/codex-native-frames.d.ts +35 -0
- package/dist/runners/codex/codex-native-frames.js +80 -0
- package/dist/runners/codex/codex-native-frames.js.map +1 -0
- package/dist/runners/codex/codex-permissions.d.ts +13 -0
- package/dist/runners/codex/codex-permissions.js +34 -0
- package/dist/runners/codex/codex-permissions.js.map +1 -0
- package/dist/runners/codex/codex-skill-catalog.d.ts +3 -0
- package/dist/runners/codex/codex-skill-catalog.js +36 -0
- package/dist/runners/codex/codex-skill-catalog.js.map +1 -0
- package/dist/runners/codex/codex-stream-error.js.map +1 -0
- package/dist/runners/codex/codex-thread-config.d.ts +18 -0
- package/dist/runners/codex/codex-thread-config.js +30 -0
- package/dist/runners/codex/codex-thread-config.js.map +1 -0
- package/dist/runners/codex/codex-turn-config.d.ts +19 -0
- package/dist/runners/codex/codex-turn-config.js +30 -0
- package/dist/runners/codex/codex-turn-config.js.map +1 -0
- package/dist/runners/codex/codex-turn-outcome.d.ts +10 -0
- package/dist/runners/codex/codex-turn-outcome.js +35 -0
- package/dist/runners/codex/codex-turn-outcome.js.map +1 -0
- package/dist/runners/codex/codex-ui-mapper-state.d.ts +84 -0
- package/dist/runners/codex/codex-ui-mapper-state.js.map +1 -0
- package/dist/runners/codex/codex-ui-mapper.d.ts +44 -0
- package/dist/runners/codex/codex-ui-mapper.js +799 -0
- package/dist/runners/codex/codex-ui-mapper.js.map +1 -0
- package/dist/runners/codex/config-files.d.ts +10 -0
- package/dist/runners/codex/config-files.js +71 -0
- package/dist/runners/codex/config-files.js.map +1 -0
- package/dist/runners/codex/definition.d.ts +2 -0
- package/dist/runners/codex/definition.js +42 -0
- package/dist/runners/codex/definition.js.map +1 -0
- package/dist/runners/codex/detection.d.ts +8 -0
- package/dist/runners/codex/detection.js +14 -0
- package/dist/runners/codex/detection.js.map +1 -0
- package/dist/runners/codex/display.d.ts +12 -0
- package/dist/runners/codex/display.js +13 -0
- package/dist/runners/codex/display.js.map +1 -0
- package/dist/runners/codex/env.d.ts +4 -0
- package/dist/runners/codex/env.js +3 -0
- package/dist/runners/codex/env.js.map +1 -0
- package/dist/runners/codex/extra-tools.d.ts +3 -0
- package/dist/runners/codex/extra-tools.js +4 -0
- package/dist/runners/codex/extra-tools.js.map +1 -0
- package/dist/runners/codex/facts.d.ts +28 -0
- package/dist/runners/codex/facts.js +28 -0
- package/dist/runners/codex/facts.js.map +1 -0
- package/dist/runners/codex/index.d.ts +6 -0
- package/dist/runners/codex/index.js +9 -0
- package/dist/runners/codex/index.js.map +1 -0
- package/dist/runners/codex/login-probe.d.ts +4 -0
- package/dist/runners/codex/login-probe.js +30 -0
- package/dist/runners/codex/login-probe.js.map +1 -0
- package/dist/runners/codex/login.d.ts +7 -0
- package/dist/runners/codex/login.js +8 -0
- package/dist/runners/codex/login.js.map +1 -0
- package/dist/runners/codex/mock.d.ts +97 -0
- package/dist/runners/codex/mock.js +61 -0
- package/dist/runners/codex/mock.js.map +1 -0
- package/dist/runners/codex/model-settings.d.ts +2 -0
- package/dist/runners/codex/model-settings.js +16 -0
- package/dist/runners/codex/model-settings.js.map +1 -0
- package/dist/runners/codex/models.d.ts +3 -0
- package/dist/runners/codex/models.js +11 -0
- package/dist/runners/codex/models.js.map +1 -0
- package/dist/runners/codex/spec-support.d.ts +9 -0
- package/dist/runners/codex/spec-support.js +31 -0
- package/dist/runners/codex/spec-support.js.map +1 -0
- package/dist/runners/omp/accounts.d.ts +11 -0
- package/dist/runners/omp/accounts.js +11 -0
- package/dist/runners/omp/accounts.js.map +1 -0
- package/dist/runners/omp/agent-dir.d.ts +13 -0
- package/dist/runners/omp/agent-dir.js +33 -0
- package/dist/runners/omp/agent-dir.js.map +1 -0
- package/dist/runners/omp/cli.d.ts +13 -0
- package/dist/runners/omp/cli.js +9 -0
- package/dist/runners/omp/cli.js.map +1 -0
- package/dist/runners/omp/config-files.d.ts +10 -0
- package/dist/runners/omp/config-files.js +98 -0
- package/dist/runners/omp/config-files.js.map +1 -0
- package/dist/runners/omp/definition.d.ts +2 -0
- package/dist/runners/omp/definition.js +41 -0
- package/dist/runners/omp/definition.js.map +1 -0
- package/dist/runners/omp/detection.d.ts +8 -0
- package/dist/runners/omp/detection.js +12 -0
- package/dist/runners/omp/detection.js.map +1 -0
- package/dist/runners/omp/display.d.ts +11 -0
- package/dist/runners/omp/display.js +12 -0
- package/dist/runners/omp/display.js.map +1 -0
- package/dist/runners/omp/env.d.ts +4 -0
- package/dist/runners/omp/env.js +17 -0
- package/dist/runners/omp/env.js.map +1 -0
- package/dist/runners/omp/extra-tools.d.ts +3 -0
- package/dist/runners/omp/extra-tools.js +6 -0
- package/dist/runners/omp/extra-tools.js.map +1 -0
- package/dist/runners/omp/facts.d.ts +28 -0
- package/dist/runners/omp/facts.js +26 -0
- package/dist/runners/omp/facts.js.map +1 -0
- package/dist/runners/omp/index.d.ts +6 -0
- package/dist/runners/omp/index.js +9 -0
- package/dist/runners/omp/index.js.map +1 -0
- package/dist/runners/omp/login-probe.d.ts +13 -0
- package/dist/runners/omp/login-probe.js +25 -0
- package/dist/runners/omp/login-probe.js.map +1 -0
- package/dist/runners/omp/login.d.ts +8 -0
- package/dist/runners/omp/login.js +12 -0
- package/dist/runners/omp/login.js.map +1 -0
- package/dist/runners/omp/mock.d.ts +101 -0
- package/dist/runners/omp/mock.js +58 -0
- package/dist/runners/omp/mock.js.map +1 -0
- package/dist/runners/omp/models.d.ts +3 -0
- package/dist/runners/omp/models.js +11 -0
- package/dist/runners/omp/models.js.map +1 -0
- package/dist/runners/omp/omp-ci-wait.mjs +27 -0
- package/dist/runners/omp/omp-model-catalog.d.ts +35 -0
- package/dist/runners/omp/omp-model-catalog.js +176 -0
- package/dist/runners/omp/omp-model-catalog.js.map +1 -0
- package/dist/runners/omp/omp-runner.d.ts +92 -0
- package/dist/runners/omp/omp-runner.js +809 -0
- package/dist/runners/omp/omp-runner.js.map +1 -0
- package/dist/runners/omp/omp-skill-catalog.d.ts +3 -0
- package/dist/runners/omp/omp-skill-catalog.js +23 -0
- package/dist/runners/omp/omp-skill-catalog.js.map +1 -0
- package/dist/runners/omp/omp-subagent-rows.d.ts +21 -0
- package/dist/runners/omp/omp-subagent-rows.js +100 -0
- package/dist/runners/omp/omp-subagent-rows.js.map +1 -0
- package/dist/runners/omp/omp-ui-mapper.d.ts +112 -0
- package/dist/runners/omp/omp-ui-mapper.js +826 -0
- package/dist/runners/omp/omp-ui-mapper.js.map +1 -0
- package/dist/runners/omp/spec-support.d.ts +9 -0
- package/dist/runners/omp/spec-support.js +35 -0
- package/dist/runners/omp/spec-support.js.map +1 -0
- package/dist/runners/opencode/accounts.d.ts +11 -0
- package/dist/runners/opencode/accounts.js +10 -0
- package/dist/runners/opencode/accounts.js.map +1 -0
- package/dist/runners/opencode/cli.d.ts +16 -0
- package/dist/runners/opencode/cli.js +8 -0
- package/dist/runners/opencode/cli.js.map +1 -0
- package/dist/runners/opencode/config-files.d.ts +10 -0
- package/dist/runners/opencode/config-files.js +70 -0
- package/dist/runners/opencode/config-files.js.map +1 -0
- package/dist/runners/opencode/definition.d.ts +2 -0
- package/dist/runners/opencode/definition.js +42 -0
- package/dist/runners/opencode/definition.js.map +1 -0
- package/dist/runners/opencode/detection.d.ts +8 -0
- package/dist/runners/opencode/detection.js +12 -0
- package/dist/runners/opencode/detection.js.map +1 -0
- package/dist/runners/opencode/display.d.ts +11 -0
- package/dist/runners/opencode/display.js +12 -0
- package/dist/runners/opencode/display.js.map +1 -0
- package/dist/runners/opencode/env.d.ts +4 -0
- package/dist/runners/opencode/env.js +4 -0
- package/dist/runners/opencode/env.js.map +1 -0
- package/dist/runners/opencode/extra-tools.d.ts +3 -0
- package/dist/runners/opencode/extra-tools.js +4 -0
- package/dist/runners/opencode/extra-tools.js.map +1 -0
- package/dist/runners/opencode/facts.d.ts +28 -0
- package/dist/runners/opencode/facts.js +25 -0
- package/dist/runners/opencode/facts.js.map +1 -0
- package/dist/runners/opencode/index.d.ts +6 -0
- package/dist/runners/opencode/index.js +9 -0
- package/dist/runners/opencode/index.js.map +1 -0
- package/dist/runners/opencode/login-probe.d.ts +4 -0
- package/dist/runners/opencode/login-probe.js +31 -0
- package/dist/runners/opencode/login-probe.js.map +1 -0
- package/dist/runners/opencode/login.d.ts +7 -0
- package/dist/runners/opencode/login.js +8 -0
- package/dist/runners/opencode/login.js.map +1 -0
- package/dist/runners/opencode/mock.d.ts +111 -0
- package/dist/runners/opencode/mock.js +65 -0
- package/dist/runners/opencode/mock.js.map +1 -0
- package/dist/runners/opencode/model-settings.d.ts +2 -0
- package/dist/runners/opencode/model-settings.js +8 -0
- package/dist/runners/opencode/model-settings.js.map +1 -0
- package/dist/runners/opencode/models.d.ts +3 -0
- package/dist/runners/opencode/models.js +10 -0
- package/dist/runners/opencode/models.js.map +1 -0
- package/dist/runners/opencode/opencode-http.d.ts +3 -0
- package/dist/runners/opencode/opencode-http.js +32 -0
- package/dist/runners/opencode/opencode-http.js.map +1 -0
- package/dist/runners/opencode/opencode-minimal.d.ts +42 -0
- package/dist/runners/opencode/opencode-minimal.js +57 -0
- package/dist/runners/opencode/opencode-minimal.js.map +1 -0
- package/dist/runners/opencode/opencode-model-catalog.d.ts +26 -0
- package/dist/runners/opencode/opencode-model-catalog.js +188 -0
- package/dist/runners/opencode/opencode-model-catalog.js.map +1 -0
- package/dist/runners/opencode/opencode-permissions.d.ts +51 -0
- package/dist/runners/opencode/opencode-permissions.js +101 -0
- package/dist/runners/opencode/opencode-permissions.js.map +1 -0
- package/dist/runners/opencode/opencode-questions.d.ts +3 -0
- package/dist/runners/opencode/opencode-questions.js +66 -0
- package/dist/runners/opencode/opencode-questions.js.map +1 -0
- package/dist/runners/opencode/opencode-runtime-config.d.ts +12 -0
- package/dist/runners/opencode/opencode-runtime-config.js +37 -0
- package/dist/runners/opencode/opencode-runtime-config.js.map +1 -0
- package/dist/runners/opencode/opencode-server-runner.d.ts +78 -0
- package/dist/runners/opencode/opencode-server-runner.js +1623 -0
- package/dist/runners/opencode/opencode-server-runner.js.map +1 -0
- package/dist/runners/opencode/opencode-session-error.d.ts +28 -0
- package/dist/runners/opencode/opencode-session-error.js +87 -0
- package/dist/runners/opencode/opencode-session-error.js.map +1 -0
- package/dist/runners/opencode/opencode-skill-catalog.d.ts +3 -0
- package/dist/runners/opencode/opencode-skill-catalog.js +36 -0
- package/dist/runners/opencode/opencode-skill-catalog.js.map +1 -0
- package/dist/runners/opencode/opencode-task-scope.js +19 -0
- package/dist/runners/opencode/opencode-task-scope.js.map +1 -0
- package/dist/runners/opencode/opencode-task-scope.mjs +59 -0
- package/dist/runners/opencode/opencode-ui-mapper-state.d.ts +82 -0
- package/dist/runners/opencode/opencode-ui-mapper-state.js.map +1 -0
- package/dist/runners/opencode/opencode-ui-mapper.d.ts +23 -0
- package/dist/runners/opencode/opencode-ui-mapper.js +760 -0
- package/dist/runners/opencode/opencode-ui-mapper.js.map +1 -0
- package/dist/runners/opencode/opencode-usage.d.ts +32 -0
- package/dist/runners/opencode/opencode-usage.js.map +1 -0
- package/dist/runners/opencode/spec-support.d.ts +9 -0
- package/dist/runners/opencode/spec-support.js +31 -0
- package/dist/runners/opencode/spec-support.js.map +1 -0
- package/dist/runners/pi/accounts.d.ts +11 -0
- package/dist/runners/pi/accounts.js +8 -0
- package/dist/runners/pi/accounts.js.map +1 -0
- package/dist/runners/pi/cli.d.ts +13 -0
- package/dist/runners/pi/cli.js +8 -0
- package/dist/runners/pi/cli.js.map +1 -0
- package/dist/runners/pi/config-files.d.ts +10 -0
- package/dist/runners/pi/config-files.js +73 -0
- package/dist/runners/pi/config-files.js.map +1 -0
- package/dist/runners/pi/definition.d.ts +2 -0
- package/dist/runners/pi/definition.js +42 -0
- package/dist/runners/pi/definition.js.map +1 -0
- package/dist/runners/pi/detection.d.ts +8 -0
- package/dist/runners/pi/detection.js +13 -0
- package/dist/runners/pi/detection.js.map +1 -0
- package/dist/runners/pi/display.d.ts +12 -0
- package/dist/runners/pi/display.js +13 -0
- package/dist/runners/pi/display.js.map +1 -0
- package/dist/runners/pi/env.d.ts +4 -0
- package/dist/runners/pi/env.js +15 -0
- package/dist/runners/pi/env.js.map +1 -0
- package/dist/runners/pi/extensions/pi-ci-wait.mjs +10 -0
- package/dist/runners/pi/extensions/pi-default-tools.mjs +22 -0
- package/dist/runners/pi/extensions/pi-retry-degraded-service.mjs +26 -0
- package/dist/runners/pi/extensions/pi-runaway-reply-guard.mjs +34 -0
- package/dist/runners/pi/extra-tools.d.ts +3 -0
- package/dist/runners/pi/extra-tools.js +7 -0
- package/dist/runners/pi/extra-tools.js.map +1 -0
- package/dist/runners/pi/facts.d.ts +28 -0
- package/dist/runners/pi/facts.js +24 -0
- package/dist/runners/pi/facts.js.map +1 -0
- package/dist/runners/pi/index.d.ts +6 -0
- package/dist/runners/pi/index.js +9 -0
- package/dist/runners/pi/index.js.map +1 -0
- package/dist/runners/pi/login-probe.d.ts +4 -0
- package/dist/runners/pi/login-probe.js +17 -0
- package/dist/runners/pi/login-probe.js.map +1 -0
- package/dist/runners/pi/login.d.ts +7 -0
- package/dist/runners/pi/login.js +8 -0
- package/dist/runners/pi/login.js.map +1 -0
- package/dist/runners/pi/mock.d.ts +86 -0
- package/dist/runners/pi/mock.js +53 -0
- package/dist/runners/pi/mock.js.map +1 -0
- package/dist/runners/pi/model-settings.d.ts +2 -0
- package/dist/runners/pi/model-settings.js +38 -0
- package/dist/runners/pi/model-settings.js.map +1 -0
- package/dist/runners/pi/models.d.ts +3 -0
- package/dist/runners/pi/models.js +17 -0
- package/dist/runners/pi/models.js.map +1 -0
- package/dist/runners/pi/pi-args.d.ts +5 -0
- package/dist/runners/pi/pi-args.js +10 -0
- package/dist/runners/pi/pi-args.js.map +1 -0
- package/dist/runners/pi/pi-model-catalog.d.ts +30 -0
- package/dist/runners/pi/pi-model-catalog.js +242 -0
- package/dist/runners/pi/pi-model-catalog.js.map +1 -0
- package/dist/runners/pi/pi-runner.d.ts +53 -0
- package/dist/runners/pi/pi-runner.js +599 -0
- package/dist/runners/pi/pi-runner.js.map +1 -0
- package/dist/runners/pi/pi-skill-catalog.d.ts +3 -0
- package/dist/runners/pi/pi-skill-catalog.js +34 -0
- package/dist/runners/pi/pi-skill-catalog.js.map +1 -0
- package/dist/runners/pi/pi-ui-mapper.d.ts +46 -0
- package/dist/runners/pi/pi-ui-mapper.js +414 -0
- package/dist/runners/pi/pi-ui-mapper.js.map +1 -0
- package/dist/runners/pi/runaway-reply.d.ts +25 -0
- package/dist/runners/pi/runaway-reply.js +55 -0
- package/dist/runners/pi/runaway-reply.js.map +1 -0
- package/dist/runners/pi/spec-support.d.ts +21 -0
- package/dist/runners/pi/spec-support.js +44 -0
- package/dist/runners/pi/spec-support.js.map +1 -0
- package/dist/runs/agent-tmpdir.d.ts +6 -2
- package/dist/runs/agent-tmpdir.js +57 -8
- package/dist/runs/agent-tmpdir.js.map +1 -1
- package/dist/runs/archive-family.js +2 -2
- package/dist/runs/archive-family.js.map +1 -1
- package/dist/runs/arm-repo-handle.d.ts +18 -3
- package/dist/runs/arm-repo-handle.js +2 -3
- package/dist/runs/arm-repo-handle.js.map +1 -1
- package/dist/runs/auto-name.d.ts +7 -2
- package/dist/runs/auto-name.js +12 -7
- package/dist/runs/auto-name.js.map +1 -1
- package/dist/runs/automation-runs.d.ts +26 -0
- package/dist/runs/automation-runs.js +70 -0
- package/dist/runs/automation-runs.js.map +1 -0
- package/dist/runs/branch-owners.d.ts +30 -0
- package/dist/runs/branch-owners.js +81 -0
- package/dist/runs/branch-owners.js.map +1 -0
- package/dist/runs/claim-families.d.ts +1 -1
- package/dist/runs/claim-families.js +1 -1
- package/dist/runs/cold-reads.d.ts +1 -1
- package/dist/runs/cold-reads.js +1 -1
- package/dist/runs/conversation-archive.d.ts +48 -0
- package/dist/runs/conversation-archive.js +110 -0
- package/dist/runs/conversation-archive.js.map +1 -0
- package/dist/runs/conversation-compaction.d.ts +35 -0
- package/dist/runs/conversation-compaction.js +110 -0
- package/dist/runs/conversation-compaction.js.map +1 -0
- package/dist/runs/conversation-identity.d.ts +2 -1
- package/dist/runs/conversation-identity.js +4 -4
- package/dist/runs/conversation-identity.js.map +1 -1
- package/dist/runs/conversation-ledger.d.ts +60 -0
- package/dist/runs/conversation-ledger.js +64 -0
- package/dist/runs/conversation-ledger.js.map +1 -0
- package/dist/runs/conversation-members.d.ts +26 -0
- package/dist/runs/conversation-members.js +63 -0
- package/dist/runs/conversation-members.js.map +1 -0
- package/dist/runs/delegation-state.d.ts +37 -3
- package/dist/runs/delegation-state.js +6 -0
- package/dist/runs/delegation-state.js.map +1 -1
- package/dist/runs/event-log.d.ts +79 -0
- package/dist/runs/event-log.js +188 -0
- package/dist/runs/event-log.js.map +1 -0
- package/dist/runs/exit-events.d.ts +5 -0
- package/dist/runs/exit-events.js +1 -7
- package/dist/runs/exit-events.js.map +1 -1
- package/dist/runs/guarded-json-sql.d.ts +8 -0
- package/dist/runs/guarded-json-sql.js +11 -0
- package/dist/runs/guarded-json-sql.js.map +1 -0
- package/dist/runs/history-file.js +8 -6
- package/dist/runs/history-file.js.map +1 -1
- package/dist/runs/legacy-index.d.ts +2 -2
- package/dist/runs/legacy-index.js +4 -5
- package/dist/runs/legacy-index.js.map +1 -1
- package/dist/runs/legacy-run-rows.d.ts +51 -1
- package/dist/runs/legacy-run-rows.js +186 -2
- package/dist/runs/legacy-run-rows.js.map +1 -1
- package/dist/runs/legacy-waits.js +2 -2
- package/dist/runs/legacy-waits.js.map +1 -1
- package/dist/runs/lifecycle-registry.d.ts +16 -0
- package/dist/runs/lifecycle-registry.js +30 -0
- package/dist/runs/lifecycle-registry.js.map +1 -0
- package/dist/runs/lifecycle.d.ts +82 -0
- package/dist/runs/lifecycle.js +64 -0
- package/dist/runs/lifecycle.js.map +1 -0
- package/dist/runs/live-tasks.d.ts +10 -0
- package/dist/runs/live-tasks.js +33 -0
- package/dist/runs/live-tasks.js.map +1 -0
- package/dist/runs/loaded-run-exits.d.ts +29 -2
- package/dist/runs/loaded-run-exits.js +50 -2
- package/dist/runs/loaded-run-exits.js.map +1 -1
- package/dist/runs/loaded-run-healing.js +1 -1
- package/dist/runs/loaded-run-healing.js.map +1 -1
- package/dist/runs/outcome-commit.d.ts +27 -3
- package/dist/runs/outcome-commit.js +26 -7
- package/dist/runs/outcome-commit.js.map +1 -1
- package/dist/runs/owned-run-create.d.ts +6 -3
- package/dist/runs/owned-run-create.js +46 -16
- package/dist/runs/owned-run-create.js.map +1 -1
- package/dist/runs/ports.d.ts +295 -0
- package/dist/runs/ports.js +2 -0
- package/dist/runs/ports.js.map +1 -0
- package/dist/runs/project-run-connection.d.ts +6 -1
- package/dist/runs/project-run-connection.js +46 -5
- package/dist/runs/project-run-connection.js.map +1 -1
- package/dist/runs/project-run-sources.d.ts +2 -2
- package/dist/runs/project-run-sources.js +5 -5
- package/dist/runs/project-run-sources.js.map +1 -1
- package/dist/runs/record-write-rules.d.ts +16 -4
- package/dist/runs/record-write-rules.js +48 -17
- package/dist/runs/record-write-rules.js.map +1 -1
- package/dist/runs/removal-slots.d.ts +78 -0
- package/dist/runs/removal-slots.js +92 -0
- package/dist/runs/removal-slots.js.map +1 -0
- package/dist/runs/retention.d.ts +46 -22
- package/dist/runs/retention.js +87 -60
- package/dist/runs/retention.js.map +1 -1
- package/dist/runs/run-archive.d.ts +1276 -0
- package/dist/runs/run-archive.js +382 -0
- package/dist/runs/run-archive.js.map +1 -0
- package/dist/runs/run-claims-topic.d.ts +136 -0
- package/dist/runs/run-claims-topic.js +291 -0
- package/dist/runs/run-claims-topic.js.map +1 -0
- package/dist/runs/run-claims.d.ts +1 -1
- package/dist/runs/run-claims.js +2 -2
- package/dist/runs/run-claims.js.map +1 -1
- package/dist/runs/run-cold-reads.d.ts +98 -0
- package/dist/runs/run-cold-reads.js +199 -0
- package/dist/runs/run-cold-reads.js.map +1 -0
- package/dist/runs/run-database-migrations.d.ts +8 -0
- package/dist/runs/run-database-migrations.js +236 -0
- package/dist/runs/run-database-migrations.js.map +1 -0
- package/dist/runs/run-database-peer-page.js +3 -4
- package/dist/runs/run-database-peer-page.js.map +1 -1
- package/dist/runs/run-database-row.js +5 -0
- package/dist/runs/run-database-row.js.map +1 -1
- package/dist/runs/run-database-version.d.ts +6 -3
- package/dist/runs/run-database-version.js +17 -3
- package/dist/runs/run-database-version.js.map +1 -1
- package/dist/runs/run-database.d.ts +28 -3
- package/dist/runs/run-database.js +104 -246
- package/dist/runs/run-database.js.map +1 -1
- package/dist/runs/run-decode.d.ts +3274 -0
- package/dist/runs/run-decode.js +132 -0
- package/dist/runs/run-decode.js.map +1 -0
- package/dist/runs/run-derived-rows.d.ts +25 -0
- package/dist/runs/run-derived-rows.js +46 -0
- package/dist/runs/run-derived-rows.js.map +1 -0
- package/dist/runs/run-exits.d.ts +1913 -46
- package/dist/runs/run-exits.js +35 -10
- package/dist/runs/run-exits.js.map +1 -1
- package/dist/runs/run-index-cache.d.ts +10 -0
- package/dist/runs/run-index-cache.js +45 -0
- package/dist/runs/run-index-cache.js.map +1 -0
- package/dist/runs/run-index-rows.d.ts +35 -0
- package/dist/runs/run-index-rows.js +51 -0
- package/dist/runs/run-index-rows.js.map +1 -0
- package/dist/runs/run-index.d.ts +5 -11
- package/dist/runs/run-index.js +43 -81
- package/dist/runs/run-index.js.map +1 -1
- package/dist/runs/run-indexes.d.ts +7 -0
- package/dist/runs/run-indexes.js +8 -0
- package/dist/runs/run-indexes.js.map +1 -0
- package/dist/runs/run-persistence.d.ts +156 -0
- package/dist/runs/run-persistence.js +410 -0
- package/dist/runs/run-persistence.js.map +1 -0
- package/dist/runs/run-pins.d.ts +38 -0
- package/dist/runs/run-pins.js +45 -0
- package/dist/runs/run-pins.js.map +1 -0
- package/dist/runs/run-queries.d.ts +198 -0
- package/dist/runs/run-queries.js +530 -0
- package/dist/runs/run-queries.js.map +1 -0
- package/dist/runs/run-read-flags.d.ts +58 -0
- package/dist/runs/run-read-flags.js +87 -0
- package/dist/runs/run-read-flags.js.map +1 -0
- package/dist/runs/run-redaction.d.ts +21 -0
- package/dist/runs/run-redaction.js +47 -0
- package/dist/runs/run-redaction.js.map +1 -0
- package/dist/runs/run-references.d.ts +14 -4
- package/dist/runs/run-references.js +84 -18
- package/dist/runs/run-references.js.map +1 -1
- package/dist/runs/run-repo-scope.d.ts +42 -0
- package/dist/runs/run-repo-scope.js +110 -0
- package/dist/runs/run-repo-scope.js.map +1 -0
- package/dist/runs/run-retention.d.ts +85 -0
- package/dist/runs/run-retention.js +240 -0
- package/dist/runs/run-retention.js.map +1 -0
- package/dist/runs/run-row.d.ts +23 -0
- package/dist/runs/run-row.js +49 -4
- package/dist/runs/run-row.js.map +1 -1
- package/dist/runs/run-summary-page.js +2 -0
- package/dist/runs/run-summary-page.js.map +1 -1
- package/dist/runs/shared-hosts.d.ts +17 -0
- package/dist/runs/shared-hosts.js +30 -0
- package/dist/runs/shared-hosts.js.map +1 -0
- package/dist/runs/store-open-error.js +7 -8
- package/dist/runs/store-open-error.js.map +1 -1
- package/dist/runs/store-open.d.ts +54 -0
- package/dist/runs/store-open.js +104 -0
- package/dist/runs/store-open.js.map +1 -0
- package/dist/runs/store.d.ts +74 -3729
- package/dist/runs/store.js +295 -2952
- package/dist/runs/store.js.map +1 -1
- package/dist/runs/supervised.d.ts +22 -0
- package/dist/runs/supervised.js +28 -0
- package/dist/runs/supervised.js.map +1 -0
- package/dist/runs/task-rights.d.ts +87 -0
- package/dist/runs/task-rights.js +153 -0
- package/dist/runs/task-rights.js.map +1 -0
- package/dist/runs/transcript-facts-fold.d.ts +1 -1
- package/dist/runs/transcript-facts-fold.js +1 -1
- package/dist/runs/transcript-facts-fold.js.map +1 -1
- package/dist/runs/transcript-facts-load.js +1 -1
- package/dist/runs/transcript-facts-load.js.map +1 -1
- package/dist/runs/transcript-facts-queue.d.ts +5 -1
- package/dist/runs/transcript-facts-queue.js +48 -9
- package/dist/runs/transcript-facts-queue.js.map +1 -1
- package/dist/runs/transcript-facts-topic.d.ts +45 -0
- package/dist/runs/transcript-facts-topic.js +101 -0
- package/dist/runs/transcript-facts-topic.js.map +1 -0
- package/dist/runs/transcript-facts.js +1 -2
- package/dist/runs/transcript-facts.js.map +1 -1
- package/dist/runs/wait-capacity.js.map +1 -1
- package/dist/runs/wait-helpers.d.ts +28 -0
- package/dist/runs/wait-helpers.js +34 -0
- package/dist/runs/wait-helpers.js.map +1 -0
- package/dist/runs/wait-phases.d.ts +9 -1
- package/dist/runs/wait-phases.js +17 -2
- package/dist/runs/wait-phases.js.map +1 -1
- package/dist/runs/wait-registration-write.js.map +1 -1
- package/dist/runs/webhook.d.ts +24 -14
- package/dist/runs/webhook.js +29 -44
- package/dist/runs/webhook.js.map +1 -1
- package/dist/runs/worker-execution.d.ts +24 -1
- package/dist/runs/worker-execution.js +66 -7
- package/dist/runs/worker-execution.js.map +1 -1
- package/dist/runs/worker-executions-registry.d.ts +33 -0
- package/dist/runs/worker-executions-registry.js +18 -0
- package/dist/runs/worker-executions-registry.js.map +1 -0
- package/dist/runs/worker-result-commit.js +1 -1
- package/dist/runs/worker-results.d.ts +38 -0
- package/dist/runs/worker-results.js +87 -0
- package/dist/runs/worker-results.js.map +1 -0
- package/dist/serve-boot.d.ts +12 -25
- package/dist/serve-boot.js +9 -52
- package/dist/serve-boot.js.map +1 -1
- package/dist/serve-command.d.ts +9 -9
- package/dist/serve-command.js +47 -41
- package/dist/serve-command.js.map +1 -1
- package/dist/serve-listener.d.ts +2 -2
- package/dist/serve-listener.js +2 -2
- package/dist/serve-stop.d.ts +40 -0
- package/dist/serve-stop.js +41 -0
- package/dist/serve-stop.js.map +1 -0
- package/dist/server/accept-negotiation.d.ts +17 -0
- package/dist/server/accept-negotiation.js +53 -0
- package/dist/server/accept-negotiation.js.map +1 -0
- package/dist/server/activity-routes.d.ts +22 -7
- package/dist/server/activity-routes.js +6 -9
- package/dist/server/activity-routes.js.map +1 -1
- package/dist/server/activity-sources.d.ts +2 -2
- package/dist/server/activity-sources.js +4 -4
- package/dist/server/activity-sources.js.map +1 -1
- package/dist/server/agent-profile-id.d.ts +8 -0
- package/dist/server/agent-profile-id.js +14 -0
- package/dist/server/agent-profile-id.js.map +1 -0
- package/dist/server/archive-on-merge.js +16 -11
- package/dist/server/archive-on-merge.js.map +1 -1
- package/dist/server/automations-routes.d.ts +1435 -0
- package/dist/server/automations-routes.js +192 -0
- package/dist/server/automations-routes.js.map +1 -0
- package/dist/server/backend-checks.d.ts +29 -0
- package/dist/server/backend-checks.js +53 -0
- package/dist/server/backend-checks.js.map +1 -0
- package/dist/server/bounded-read-cache.d.ts +10 -0
- package/dist/server/bounded-read-cache.js +54 -0
- package/dist/server/bounded-read-cache.js.map +1 -0
- package/dist/server/brand-file-routes.d.ts +7 -0
- package/dist/server/brand-file-routes.js +19 -0
- package/dist/server/brand-file-routes.js.map +1 -0
- package/dist/server/capabilities.d.ts +4 -7
- package/dist/server/capabilities.js +2 -5
- package/dist/server/capabilities.js.map +1 -1
- package/dist/server/checkout.js +7 -6
- package/dist/server/checkout.js.map +1 -1
- package/dist/server/cockpit-ownership.d.ts +2 -59
- package/dist/server/cockpit-ownership.js +4 -143
- package/dist/server/cockpit-ownership.js.map +1 -1
- package/dist/server/completion-actions.js +8 -8
- package/dist/server/completion-actions.js.map +1 -1
- package/dist/server/config-merge.js +7 -6
- package/dist/server/config-merge.js.map +1 -1
- package/dist/server/create-project.js +10 -10
- package/dist/server/create-project.js.map +1 -1
- package/dist/server/forge/draft-pr.d.ts +1 -1
- package/dist/server/forge/draft-pr.js +45 -30
- package/dist/server/forge/draft-pr.js.map +1 -1
- package/dist/server/forge/github-checks.d.ts +31 -0
- package/dist/server/forge/github-checks.js +155 -0
- package/dist/server/forge/github-checks.js.map +1 -0
- package/dist/server/forge/github-cli.d.ts +14 -0
- package/dist/server/forge/github-cli.js +25 -0
- package/dist/server/forge/github-cli.js.map +1 -0
- package/dist/server/forge/github-comments.d.ts +25 -0
- package/dist/server/forge/github-comments.js +486 -0
- package/dist/server/forge/github-comments.js.map +1 -0
- package/dist/server/forge/github-filters.js +2 -3
- package/dist/server/forge/github-filters.js.map +1 -1
- package/dist/server/forge/github-list.d.ts +77 -0
- package/dist/server/forge/github-list.js +541 -0
- package/dist/server/forge/github-list.js.map +1 -0
- package/dist/server/forge/github-merge-state.d.ts +1 -1
- package/dist/server/forge/github-merge-state.js +4 -9
- package/dist/server/forge/github-merge-state.js.map +1 -1
- package/dist/server/forge/github-merged-pr-chunk.d.ts +5 -0
- package/dist/server/forge/github-merged-pr-chunk.js +45 -0
- package/dist/server/forge/github-merged-pr-chunk.js.map +1 -0
- package/dist/server/forge/github-mutations.d.ts +19 -0
- package/dist/server/forge/github-mutations.js +295 -0
- package/dist/server/forge/github-mutations.js.map +1 -0
- package/dist/server/forge/github-pr-diff.d.ts +10 -0
- package/dist/server/forge/github-pr-diff.js +126 -0
- package/dist/server/forge/github-pr-diff.js.map +1 -0
- package/dist/server/forge/github-ref-status-derive.d.ts +54 -0
- package/dist/server/forge/github-ref-status-derive.js +202 -0
- package/dist/server/forge/github-ref-status-derive.js.map +1 -0
- package/dist/server/forge/github-ref-status-query.d.ts +5 -0
- package/dist/server/forge/github-ref-status-query.js +11 -0
- package/dist/server/forge/github-ref-status-query.js.map +1 -0
- package/dist/server/forge/github-ref-status.d.ts +23 -0
- package/dist/server/forge/github-ref-status.js +224 -0
- package/dist/server/forge/github-ref-status.js.map +1 -0
- package/dist/server/forge/github-repo-handle.d.ts +43 -0
- package/dist/server/forge/github-repo-handle.js +161 -0
- package/dist/server/forge/github-repo-handle.js.map +1 -0
- package/dist/server/forge/github-request-gate.d.ts +64 -0
- package/dist/server/forge/github-request-gate.js +152 -0
- package/dist/server/forge/github-request-gate.js.map +1 -0
- package/dist/server/forge/github-reviewer-ref.d.ts +11 -0
- package/dist/server/forge/github-reviewer-ref.js +17 -0
- package/dist/server/forge/github-reviewer-ref.js.map +1 -0
- package/dist/server/forge/github-shared.d.ts +119 -0
- package/dist/server/forge/github-shared.js +225 -0
- package/dist/server/forge/github-shared.js.map +1 -0
- package/dist/server/forge/github.d.ts +15 -386
- package/dist/server/forge/github.js +29 -2789
- package/dist/server/forge/github.js.map +1 -1
- package/dist/server/forge/types.d.ts +3 -3
- package/dist/server/fs-browse.d.ts +1 -1
- package/dist/server/fs-browse.js +3 -5
- package/dist/server/fs-browse.js.map +1 -1
- package/dist/server/git-changes.d.ts +19 -1
- package/dist/server/git-changes.js +23 -18
- package/dist/server/git-changes.js.map +1 -1
- package/dist/server/git-dir-stamp.d.ts +35 -0
- package/dist/server/git-dir-stamp.js +158 -0
- package/dist/server/git-dir-stamp.js.map +1 -0
- package/dist/server/git.d.ts +7 -1
- package/dist/server/git.js +72 -10
- package/dist/server/git.js.map +1 -1
- package/dist/server/github-routes.d.ts +733 -0
- package/dist/server/github-routes.js +140 -0
- package/dist/server/github-routes.js.map +1 -0
- package/dist/server/health-cache.d.ts +39 -0
- package/dist/server/health-cache.js +66 -0
- package/dist/server/health-cache.js.map +1 -0
- package/dist/server/home-recovery-routes.d.ts +2 -3
- package/dist/server/home-recovery-routes.js +12 -12
- package/dist/server/home-recovery-routes.js.map +1 -1
- package/dist/server/host-authority.d.ts +20 -0
- package/dist/server/host-authority.js +46 -0
- package/dist/server/host-authority.js.map +1 -0
- package/dist/server/live-routes.d.ts +13 -6
- package/dist/server/live-routes.js +1 -0
- package/dist/server/live-routes.js.map +1 -1
- package/dist/server/models-routes.d.ts +60 -0
- package/dist/server/models-routes.js +24 -0
- package/dist/server/models-routes.js.map +1 -0
- package/dist/server/open-in-app.d.ts +5 -3
- package/dist/server/open-in-app.js +14 -18
- package/dist/server/open-in-app.js.map +1 -1
- package/dist/server/open-in-targets.d.ts +6 -6
- package/dist/server/open-in-targets.js +20 -26
- package/dist/server/open-in-targets.js.map +1 -1
- package/dist/server/open-in-terminal.d.ts +3 -3
- package/dist/server/open-in-terminal.js +3 -3
- package/dist/server/preview-cdp-socket.js +1 -1
- package/dist/server/preview-cdp-socket.js.map +1 -1
- package/dist/server/preview-socket.js +1 -1
- package/dist/server/preview-socket.js.map +1 -1
- package/dist/server/probe-writable-dir.d.ts +5 -0
- package/dist/server/probe-writable-dir.js +25 -0
- package/dist/server/probe-writable-dir.js.map +1 -0
- package/dist/server/project-context.d.ts +40 -26
- package/dist/server/project-context.js +75 -78
- package/dist/server/project-context.js.map +1 -1
- package/dist/server/project-run-files.d.ts +4 -2
- package/dist/server/project-run-files.js +4 -4
- package/dist/server/project-run-files.js.map +1 -1
- package/dist/server/project-settings-routes.d.ts +985 -0
- package/dist/server/project-settings-routes.js +346 -0
- package/dist/server/project-settings-routes.js.map +1 -0
- package/dist/server/projects-routes.d.ts +833 -0
- package/dist/server/projects-routes.js +423 -0
- package/dist/server/projects-routes.js.map +1 -0
- package/dist/server/provider-action-gate.d.ts +22 -3
- package/dist/server/provider-action-gate.js +40 -14
- package/dist/server/provider-action-gate.js.map +1 -1
- package/dist/server/provider-auth-runtime.d.ts +2 -1
- package/dist/server/provider-auth-runtime.js +11 -8
- package/dist/server/provider-auth-runtime.js.map +1 -1
- package/dist/server/provider-sign-in-routes.d.ts +231 -0
- package/dist/server/provider-sign-in-routes.js +61 -0
- package/dist/server/provider-sign-in-routes.js.map +1 -0
- package/dist/server/provider-sign-ins.d.ts +12 -0
- package/dist/server/provider-sign-ins.js +61 -0
- package/dist/server/provider-sign-ins.js.map +1 -0
- package/dist/server/providers-routes.d.ts +666 -0
- package/dist/server/providers-routes.js +373 -0
- package/dist/server/providers-routes.js.map +1 -0
- package/dist/server/repo-branch-forge.js +38 -10
- package/dist/server/repo-branch-forge.js.map +1 -1
- package/dist/server/repo-branch-sweep.d.ts +23 -1
- package/dist/server/repo-branch-sweep.js +9 -1
- package/dist/server/repo-branch-sweep.js.map +1 -1
- package/dist/server/repo-branches.d.ts +18 -3
- package/dist/server/repo-branches.js +119 -53
- package/dist/server/repo-branches.js.map +1 -1
- package/dist/server/repo-pull.js +3 -6
- package/dist/server/repo-pull.js.map +1 -1
- package/dist/server/repo-read-cache.d.ts +22 -0
- package/dist/server/repo-read-cache.js +51 -0
- package/dist/server/repo-read-cache.js.map +1 -0
- package/dist/server/repo-routes.d.ts +509 -0
- package/dist/server/repo-routes.js +243 -0
- package/dist/server/repo-routes.js.map +1 -0
- package/dist/server/reports-api.js +4 -3
- package/dist/server/reports-api.js.map +1 -1
- package/dist/server/reports-topic.d.ts +1 -1
- package/dist/server/reports-topic.js +2 -1
- package/dist/server/reports-topic.js.map +1 -1
- package/dist/server/run-accounts.d.ts +47 -0
- package/dist/server/run-accounts.js +89 -0
- package/dist/server/run-accounts.js.map +1 -0
- package/dist/server/run-checkout.d.ts +9 -2
- package/dist/server/run-checkout.js +50 -18
- package/dist/server/run-checkout.js.map +1 -1
- package/dist/server/run-event-feed.d.ts +7 -1
- package/dist/server/run-event-feed.js +87 -30
- package/dist/server/run-event-feed.js.map +1 -1
- package/dist/server/run-relationships.d.ts +19 -0
- package/dist/server/run-relationships.js +47 -0
- package/dist/server/run-relationships.js.map +1 -0
- package/dist/server/runner-install-routes.d.ts +106 -0
- package/dist/server/runner-install-routes.js +52 -0
- package/dist/server/runner-install-routes.js.map +1 -0
- package/dist/server/runner-skills.d.ts +13 -0
- package/dist/server/runner-skills.js +21 -0
- package/dist/server/runner-skills.js.map +1 -0
- package/dist/server/runners-routes.d.ts +156 -0
- package/dist/server/runners-routes.js +29 -0
- package/dist/server/runners-routes.js.map +1 -0
- package/dist/server/runs-routes.d.ts +13066 -0
- package/dist/server/runs-routes.js +834 -0
- package/dist/server/runs-routes.js.map +1 -0
- package/dist/server/server-deps.d.ts +8 -5
- package/dist/server/server-deps.js +25 -12
- package/dist/server/server-deps.js.map +1 -1
- package/dist/server/server-types.d.ts +40 -0
- package/dist/server/server-types.js +34 -0
- package/dist/server/server-types.js.map +1 -0
- package/dist/server/server.d.ts +6281 -4782
- package/dist/server/server.js +220 -4493
- package/dist/server/server.js.map +1 -1
- package/dist/server/session-context-routes.d.ts +108 -0
- package/dist/server/session-context-routes.js +26 -0
- package/dist/server/session-context-routes.js.map +1 -0
- package/dist/server/start-run-options.d.ts +15 -8
- package/dist/server/start-run-options.js +17 -7
- package/dist/server/start-run-options.js.map +1 -1
- package/dist/server/start-server.d.ts +6 -0
- package/dist/server/start-server.js +345 -0
- package/dist/server/start-server.js.map +1 -0
- package/dist/server/static-assets.d.ts +5 -0
- package/dist/server/static-assets.js +109 -0
- package/dist/server/static-assets.js.map +1 -0
- package/dist/server/static-ui.d.ts +1 -1
- package/dist/server/static-ui.js +8 -6
- package/dist/server/static-ui.js.map +1 -1
- package/dist/server/validators.d.ts +6 -3
- package/dist/server/validators.js +22 -13
- package/dist/server/validators.js.map +1 -1
- package/dist/server/web-app-manifest.d.ts +23 -0
- package/dist/server/web-app-manifest.js +27 -0
- package/dist/server/web-app-manifest.js.map +1 -0
- package/dist/server/workspace-config-patch.js +3 -3
- package/dist/server/workspace-config-patch.js.map +1 -1
- package/dist/server/workspace-live-routes.d.ts +7 -0
- package/dist/server/workspace-projects.d.ts +3 -8
- package/dist/server/workspace-projects.js +5 -17
- package/dist/server/workspace-projects.js.map +1 -1
- package/dist/server/workspace-routes.d.ts +713 -0
- package/dist/server/workspace-routes.js +262 -0
- package/dist/server/workspace-routes.js.map +1 -0
- package/dist/server/workspace-run-feed.d.ts +15 -5
- package/dist/server/workspace-run-feed.js +14 -11
- package/dist/server/workspace-run-feed.js.map +1 -1
- package/dist/server/worktree-size-cache.d.ts +3 -0
- package/dist/server/worktree-size-cache.js +8 -0
- package/dist/server/worktree-size-cache.js.map +1 -0
- package/dist/server/ws.js +22 -9
- package/dist/server/ws.js.map +1 -1
- package/dist/server/wsl.js +1 -1
- package/dist/server-command.js +1 -2
- package/dist/server-command.js.map +1 -1
- package/dist/server-install/engine.d.ts +2 -2
- package/dist/server-install/engine.js +4 -5
- package/dist/server-install/engine.js.map +1 -1
- package/dist/server-install/group-migrate.js +35 -24
- package/dist/server-install/group-migrate.js.map +1 -1
- package/dist/server-install/migrate-journal.d.ts +1 -0
- package/dist/server-install/migrate-journal.js +4 -4
- package/dist/server-install/migrate-journal.js.map +1 -1
- package/dist/server-install/npx-cache.d.ts +1 -1
- package/dist/server-install/npx-cache.js +4 -5
- package/dist/server-install/npx-cache.js.map +1 -1
- package/dist/server-install/platforms/macosx-migration.d.ts +2 -2
- package/dist/server-install/platforms/macosx-migration.js +3 -7
- package/dist/server-install/platforms/macosx-migration.js.map +1 -1
- package/dist/server-install/platforms/macosx-ngrok.d.ts +6 -8
- package/dist/server-install/platforms/macosx-ngrok.js +64 -67
- package/dist/server-install/platforms/macosx-ngrok.js.map +1 -1
- package/dist/server-install/platforms/ubuntu-vps-migration.d.ts +6 -6
- package/dist/server-install/platforms/ubuntu-vps-migration.js +22 -39
- package/dist/server-install/platforms/ubuntu-vps-migration.js.map +1 -1
- package/dist/server-install/platforms/ubuntu-vps-names.d.ts +13 -11
- package/dist/server-install/platforms/ubuntu-vps-names.js +15 -17
- package/dist/server-install/platforms/ubuntu-vps-names.js.map +1 -1
- package/dist/server-install/platforms/ubuntu-vps-redeploy.d.ts +1 -1
- package/dist/server-install/platforms/ubuntu-vps-redeploy.js +2 -3
- package/dist/server-install/platforms/ubuntu-vps-redeploy.js.map +1 -1
- package/dist/server-install/platforms/ubuntu-vps.d.ts +9 -13
- package/dist/server-install/platforms/ubuntu-vps.js +95 -99
- package/dist/server-install/platforms/ubuntu-vps.js.map +1 -1
- package/dist/server-install/state.js +2 -3
- package/dist/server-install/state.js.map +1 -1
- package/dist/server-install/steps.js +29 -24
- package/dist/server-install/steps.js.map +1 -1
- package/dist/server-install/types.d.ts +9 -6
- package/dist/server-install/types.js +10 -7
- package/dist/server-install/types.js.map +1 -1
- package/dist/session-context-file.d.ts +11 -0
- package/dist/session-context-file.js +173 -0
- package/dist/session-context-file.js.map +1 -0
- package/dist/session-context.d.ts +61 -4
- package/dist/session-context.js +268 -36
- package/dist/session-context.js.map +1 -1
- package/dist/skills.d.ts +0 -69
- package/dist/skills.js +0 -205
- package/dist/skills.js.map +1 -1
- package/dist/subcommands.d.ts +8 -10
- package/dist/subcommands.js +23 -54
- package/dist/subcommands.js.map +1 -1
- package/dist/task-branch-head.d.ts +7 -0
- package/dist/task-branch-head.js +32 -0
- package/dist/task-branch-head.js.map +1 -0
- package/dist/task-cli/cli.js +64 -211
- package/dist/task-cli/cli.js.map +1 -1
- package/dist/task-cli/discovery.d.ts +22 -1
- package/dist/task-cli/discovery.js +79 -29
- package/dist/task-cli/discovery.js.map +1 -1
- package/dist/task-cli/http.d.ts +15 -16
- package/dist/task-cli/http.js +17 -7
- package/dist/task-cli/http.js.map +1 -1
- package/dist/task-cli/operations.d.ts +156 -0
- package/dist/task-cli/operations.js +388 -0
- package/dist/task-cli/operations.js.map +1 -0
- package/dist/task-cli/projections.d.ts +4 -2
- package/dist/task-cli/projections.js +2 -2
- package/dist/task-cli/projections.js.map +1 -1
- package/dist/task-cli/watch.d.ts +31 -8
- package/dist/task-cli/watch.js +159 -91
- package/dist/task-cli/watch.js.map +1 -1
- package/dist/ui-state.d.ts +11 -10
- package/dist/ui-state.js +36 -11
- package/dist/ui-state.js.map +1 -1
- package/dist/update-check.d.ts +1 -1
- package/dist/update-check.js +3 -4
- package/dist/update-check.js.map +1 -1
- package/dist/webhooks/cli.d.ts +2 -0
- package/dist/webhooks/cli.js +5 -2
- package/dist/webhooks/cli.js.map +1 -1
- package/dist/worker-scope/cgroup.d.ts +7 -0
- package/dist/worker-scope/cgroup.js +17 -0
- package/dist/worker-scope/cgroup.js.map +1 -0
- package/dist/worker-scope/groups.d.ts +15 -0
- package/dist/worker-scope/groups.js +45 -0
- package/dist/worker-scope/groups.js.map +1 -0
- package/dist/worker-scope/job.d.ts +7 -0
- package/dist/worker-scope/job.js +10 -0
- package/dist/worker-scope/job.js.map +1 -0
- package/dist/worker-scope/scope.d.ts +38 -0
- package/dist/worker-scope/scope.js +20 -0
- package/dist/worker-scope/scope.js.map +1 -0
- package/dist/worker-scope/worker-scopes.d.ts +75 -0
- package/dist/worker-scope/worker-scopes.js +254 -0
- package/dist/worker-scope/worker-scopes.js.map +1 -0
- package/dist/workflows/active-run.d.ts +2 -2
- package/dist/workflows/active-run.js +2 -2
- package/dist/workflows/attachment-path.d.ts +2 -0
- package/dist/workflows/attachment-path.js +23 -1
- package/dist/workflows/attachment-path.js.map +1 -1
- package/dist/workflows/completion-policy.d.ts +11 -3
- package/dist/workflows/completion-policy.js +13 -3
- package/dist/workflows/completion-policy.js.map +1 -1
- package/dist/workflows/continuation-admission.d.ts +183 -41
- package/dist/workflows/continuation-admission.js +77 -42
- package/dist/workflows/continuation-admission.js.map +1 -1
- package/dist/workflows/execution-account.d.ts +2 -3
- package/dist/workflows/execution-account.js +6 -4
- package/dist/workflows/execution-account.js.map +1 -1
- package/dist/workflows/grouped-command.d.ts +3 -0
- package/dist/workflows/grouped-command.js +42 -6
- package/dist/workflows/grouped-command.js.map +1 -1
- package/dist/workflows/input-acknowledgement.d.ts +23 -3
- package/dist/workflows/input-acknowledgement.js.map +1 -1
- package/dist/workflows/load.js +15 -0
- package/dist/workflows/load.js.map +1 -1
- package/dist/workflows/outcome-batches.d.ts +5 -4
- package/dist/workflows/outcome-batches.js +4 -3
- package/dist/workflows/outcome-batches.js.map +1 -1
- package/dist/workflows/question-routing.d.ts +3 -1
- package/dist/workflows/question-routing.js +9 -3
- package/dist/workflows/question-routing.js.map +1 -1
- package/dist/workflows/run/attachment-writer.d.ts +5 -4
- package/dist/workflows/run/attachment-writer.js +12 -9
- package/dist/workflows/run/attachment-writer.js.map +1 -1
- package/dist/workflows/run/auto-resume.d.ts +38 -16
- package/dist/workflows/run/auto-resume.js +106 -68
- package/dist/workflows/run/auto-resume.js.map +1 -1
- package/dist/workflows/run/completion-gate.d.ts +4 -0
- package/dist/workflows/run/completion-gate.js +20 -16
- package/dist/workflows/run/completion-gate.js.map +1 -1
- package/dist/workflows/run/compose.d.ts +27 -21
- package/dist/workflows/run/compose.js +55 -46
- package/dist/workflows/run/compose.js.map +1 -1
- package/dist/workflows/run/constants.d.ts +2 -2
- package/dist/workflows/run/constants.js +2 -2
- package/dist/workflows/run/constants.js.map +1 -1
- package/dist/workflows/run/continuation-acceptance.d.ts +14 -11
- package/dist/workflows/run/continuation-acceptance.js +113 -36
- package/dist/workflows/run/continuation-acceptance.js.map +1 -1
- package/dist/workflows/run/continuation-session.d.ts +10 -12
- package/dist/workflows/run/continuation-session.js +110 -154
- package/dist/workflows/run/continuation-session.js.map +1 -1
- package/dist/workflows/run/cut-off-work.d.ts +41 -0
- package/dist/workflows/run/cut-off-work.js +96 -0
- package/dist/workflows/run/cut-off-work.js.map +1 -0
- package/dist/workflows/run/done-accepted.d.ts +42 -0
- package/dist/workflows/run/done-accepted.js +142 -0
- package/dist/workflows/run/done-accepted.js.map +1 -0
- package/dist/workflows/run/family-reconciler.d.ts +26 -12
- package/dist/workflows/run/family-reconciler.js +76 -59
- package/dist/workflows/run/family-reconciler.js.map +1 -1
- package/dist/workflows/run/human-waits.d.ts +32 -12
- package/dist/workflows/run/human-waits.js +77 -31
- package/dist/workflows/run/human-waits.js.map +1 -1
- package/dist/workflows/run/inbox-claims.d.ts +3 -2
- package/dist/workflows/run/inbox-claims.js +8 -17
- package/dist/workflows/run/inbox-claims.js.map +1 -1
- package/dist/workflows/run/input-batch.d.ts +4 -2
- package/dist/workflows/run/input-batch.js +7 -6
- package/dist/workflows/run/input-batch.js.map +1 -1
- package/dist/workflows/run/input-delivery.d.ts +81 -12
- package/dist/workflows/run/input-delivery.js +275 -117
- package/dist/workflows/run/input-delivery.js.map +1 -1
- package/dist/workflows/run/input-receipts.d.ts +15 -7
- package/dist/workflows/run/input-receipts.js +21 -20
- package/dist/workflows/run/input-receipts.js.map +1 -1
- package/dist/workflows/run/input-timers.js +3 -2
- package/dist/workflows/run/input-timers.js.map +1 -1
- package/dist/workflows/run/launch-context.d.ts +7 -14
- package/dist/workflows/run/launch-context.js +17 -41
- package/dist/workflows/run/launch-context.js.map +1 -1
- package/dist/workflows/run/launch-read-resolver.d.ts +107 -54
- package/dist/workflows/run/launch-read-resolver.js +138 -79
- package/dist/workflows/run/launch-read-resolver.js.map +1 -1
- package/dist/workflows/run/launch-settings.d.ts +2 -2
- package/dist/workflows/run/launch-settings.js.map +1 -1
- package/dist/workflows/run/live-session-state.d.ts +8 -0
- package/dist/workflows/run/live-session-state.js +9 -0
- package/dist/workflows/run/live-session-state.js.map +1 -1
- package/dist/workflows/run/liveness-timers.d.ts +105 -0
- package/dist/workflows/run/liveness-timers.js +134 -0
- package/dist/workflows/run/liveness-timers.js.map +1 -0
- package/dist/workflows/run/maintenance-claims.d.ts +15 -1
- package/dist/workflows/run/maintenance-claims.js +57 -10
- package/dist/workflows/run/maintenance-claims.js.map +1 -1
- package/dist/workflows/run/memory-guard.d.ts +6 -6
- package/dist/workflows/run/memory-guard.js +10 -10
- package/dist/workflows/run/memory-guard.js.map +1 -1
- package/dist/workflows/run/native-skill-input-queue.d.ts +59 -0
- package/dist/workflows/run/native-skill-input-queue.js +157 -0
- package/dist/workflows/run/native-skill-input-queue.js.map +1 -0
- package/dist/workflows/run/opening.d.ts +2 -2
- package/dist/workflows/run/pending-ask-facts.d.ts +2 -2
- package/dist/workflows/run/pending-ask-facts.js.map +1 -1
- package/dist/workflows/run/prompts.d.ts +3 -42
- package/dist/workflows/run/prompts.js +18 -88
- package/dist/workflows/run/prompts.js.map +1 -1
- package/dist/workflows/run/queued-input.d.ts +12 -10
- package/dist/workflows/run/queued-input.js +28 -17
- package/dist/workflows/run/queued-input.js.map +1 -1
- package/dist/workflows/run/queued-revival.d.ts +5 -4
- package/dist/workflows/run/queued-revival.js +38 -18
- package/dist/workflows/run/queued-revival.js.map +1 -1
- package/dist/workflows/run/run-cancel.d.ts +12 -2
- package/dist/workflows/run/run-cancel.js +43 -21
- package/dist/workflows/run/run-cancel.js.map +1 -1
- package/dist/workflows/run/run-finish.d.ts +16 -11
- package/dist/workflows/run/run-finish.js +52 -28
- package/dist/workflows/run/run-finish.js.map +1 -1
- package/dist/workflows/run/run-guards.d.ts +8 -7
- package/dist/workflows/run/run-guards.js.map +1 -1
- package/dist/workflows/run/run-line.d.ts +11 -10
- package/dist/workflows/run/run-line.js +32 -22
- package/dist/workflows/run/run-line.js.map +1 -1
- package/dist/workflows/run/run-memory.d.ts +65 -0
- package/dist/workflows/run/run-memory.js +84 -0
- package/dist/workflows/run/run-memory.js.map +1 -0
- package/dist/workflows/run/run-recovery.d.ts +6 -4
- package/dist/workflows/run/run-recovery.js +48 -33
- package/dist/workflows/run/run-recovery.js.map +1 -1
- package/dist/workflows/run/run-settlement.d.ts +29 -12
- package/dist/workflows/run/run-settlement.js +120 -59
- package/dist/workflows/run/run-settlement.js.map +1 -1
- package/dist/workflows/run/run-skills.d.ts +23 -105
- package/dist/workflows/run/run-skills.js +83 -210
- package/dist/workflows/run/run-skills.js.map +1 -1
- package/dist/workflows/run/run-start.d.ts +5 -4
- package/dist/workflows/run/run-start.js +1 -1
- package/dist/workflows/run/run-start.js.map +1 -1
- package/dist/workflows/run/run-workspace.d.ts +11 -7
- package/dist/workflows/run/run-workspace.js +25 -21
- package/dist/workflows/run/run-workspace.js.map +1 -1
- package/dist/workflows/run/session-events.d.ts +40 -22
- package/dist/workflows/run/session-events.js +57 -38
- package/dist/workflows/run/session-events.js.map +1 -1
- package/dist/workflows/run/squawk-tools.d.ts +43 -0
- package/dist/workflows/run/squawk-tools.js +113 -0
- package/dist/workflows/run/squawk-tools.js.map +1 -0
- package/dist/workflows/run/step-decisions.js +4 -3
- package/dist/workflows/run/step-decisions.js.map +1 -1
- package/dist/workflows/run/step-loop.d.ts +13 -7
- package/dist/workflows/run/step-loop.js +81 -47
- package/dist/workflows/run/step-loop.js.map +1 -1
- package/dist/workflows/run/step-session.d.ts +7 -5
- package/dist/workflows/run/step-session.js +70 -55
- package/dist/workflows/run/step-session.js.map +1 -1
- package/dist/workflows/run/steps.d.ts +1 -1
- package/dist/workflows/run/subagent-waits.d.ts +22 -12
- package/dist/workflows/run/subagent-waits.js +60 -43
- package/dist/workflows/run/subagent-waits.js.map +1 -1
- package/dist/workflows/run/turn-bookkeeping.d.ts +7 -7
- package/dist/workflows/run/turn-bookkeeping.js +13 -13
- package/dist/workflows/run/turn-bookkeeping.js.map +1 -1
- package/dist/workflows/run/turn-boundary.d.ts +25 -9
- package/dist/workflows/run/turn-boundary.js +14 -23
- package/dist/workflows/run/turn-boundary.js.map +1 -1
- package/dist/workflows/run/turn-markers.d.ts +3 -6
- package/dist/workflows/run/turn-markers.js +0 -11
- package/dist/workflows/run/turn-markers.js.map +1 -1
- package/dist/workflows/run/turn-nudges.d.ts +68 -22
- package/dist/workflows/run/turn-nudges.js +144 -30
- package/dist/workflows/run/turn-nudges.js.map +1 -1
- package/dist/workflows/run/turn-settler.d.ts +72 -12
- package/dist/workflows/run/turn-settler.js +165 -58
- package/dist/workflows/run/turn-settler.js.map +1 -1
- package/dist/workflows/run/types.d.ts +19 -15
- package/dist/workflows/run/usage-accounting.d.ts +4 -4
- package/dist/workflows/run/usage-accounting.js +15 -11
- package/dist/workflows/run/usage-accounting.js.map +1 -1
- package/dist/workflows/run/wait-engine.d.ts +143 -48
- package/dist/workflows/run/wait-engine.js +134 -195
- package/dist/workflows/run/wait-engine.js.map +1 -1
- package/dist/workflows/run/wait-input-descriptors.d.ts +3 -0
- package/dist/workflows/run/wait-input-descriptors.js +40 -0
- package/dist/workflows/run/wait-input-descriptors.js.map +1 -0
- package/dist/workflows/run/wait-kind-registry.d.ts +151 -0
- package/dist/workflows/run/wait-kind-registry.js +40 -0
- package/dist/workflows/run/wait-kind-registry.js.map +1 -0
- package/dist/workflows/run/wait-kinds.d.ts +545 -130
- package/dist/workflows/run/wait-kinds.js +160 -205
- package/dist/workflows/run/wait-kinds.js.map +1 -1
- package/dist/workflows/run/wait-registration-tool.d.ts +3 -3
- package/dist/workflows/run/wait-registration-tool.js +6 -5
- package/dist/workflows/run/wait-registration-tool.js.map +1 -1
- package/dist/workflows/run/wait-registration.d.ts +10 -2
- package/dist/workflows/run/wait-registration.js +18 -10
- package/dist/workflows/run/wait-registration.js.map +1 -1
- package/dist/workflows/run/wait-registry.d.ts +34 -35
- package/dist/workflows/run/wait-registry.js +122 -160
- package/dist/workflows/run/wait-registry.js.map +1 -1
- package/dist/workflows/run/wake-admission.d.ts +19 -6
- package/dist/workflows/run/wake-admission.js +49 -15
- package/dist/workflows/run/wake-admission.js.map +1 -1
- package/dist/workflows/run/wake-ledger.d.ts +12 -5
- package/dist/workflows/run/wake-ledger.js +19 -9
- package/dist/workflows/run/wake-ledger.js.map +1 -1
- package/dist/workflows/run/wake-retries.d.ts +10 -8
- package/dist/workflows/run/wake-retries.js +26 -47
- package/dist/workflows/run/wake-retries.js.map +1 -1
- package/dist/workflows/run/worker-executions.d.ts +18 -5
- package/dist/workflows/run/worker-executions.js +52 -20
- package/dist/workflows/run/worker-executions.js.map +1 -1
- package/dist/workflows/run/worker-orphans.d.ts +19 -37
- package/dist/workflows/run/worker-orphans.js +78 -130
- package/dist/workflows/run/worker-orphans.js.map +1 -1
- package/dist/workflows/run/worker-questions.d.ts +36 -23
- package/dist/workflows/run/worker-questions.js +140 -84
- package/dist/workflows/run/worker-questions.js.map +1 -1
- package/dist/workflows/run/worker-workspace-port.d.ts +35 -0
- package/dist/workflows/run/worker-workspace-port.js +7 -0
- package/dist/workflows/run/worker-workspace-port.js.map +1 -0
- package/dist/workflows/run/workflow-position.d.ts +9 -6
- package/dist/workflows/run/workflow-position.js +1 -0
- package/dist/workflows/run/workflow-position.js.map +1 -1
- package/dist/workflows/run/worktree-autosave.d.ts +4 -3
- package/dist/workflows/run/worktree-autosave.js +9 -8
- package/dist/workflows/run/worktree-autosave.js.map +1 -1
- package/dist/workflows/run-scheduling.d.ts +24 -12
- package/dist/workflows/run-scheduling.js +84 -15
- package/dist/workflows/run-scheduling.js.map +1 -1
- package/dist/workflows/run-states.d.ts +2 -9
- package/dist/workflows/run-states.js +54 -60
- package/dist/workflows/run-states.js.map +1 -1
- package/dist/workflows/run.d.ts +57 -25
- package/dist/workflows/run.js +95 -44
- package/dist/workflows/run.js.map +1 -1
- package/dist/workflows/step-kind-ids.d.ts +9 -0
- package/dist/workflows/step-kind-ids.js +10 -0
- package/dist/workflows/step-kind-ids.js.map +1 -0
- package/dist/workflows/step-kind-registry.d.ts +45 -0
- package/dist/workflows/step-kind-registry.js +48 -0
- package/dist/workflows/step-kind-registry.js.map +1 -0
- package/dist/workflows/turn-end.d.ts +17 -8
- package/dist/workflows/turn-end.js +11 -3
- package/dist/workflows/turn-end.js.map +1 -1
- package/dist/workflows/types.d.ts +7 -8
- package/dist/workflows/types.js +6 -19
- package/dist/workflows/types.js.map +1 -1
- package/dist/workflows/wait-kind-ids.d.ts +11 -0
- package/dist/workflows/wait-kind-ids.js +34 -0
- package/dist/workflows/wait-kind-ids.js.map +1 -0
- package/dist/workflows/wait-scope.d.ts +9 -10
- package/dist/workflows/wait-scope.js +20 -18
- package/dist/workflows/wait-scope.js.map +1 -1
- package/dist/workflows/waits.d.ts +12 -19
- package/dist/workflows/waits.js +21 -32
- package/dist/workflows/waits.js.map +1 -1
- package/dist/workspace/agent-accounts.d.ts +18 -45
- package/dist/workspace/agent-accounts.js +115 -55
- package/dist/workspace/agent-accounts.js.map +1 -1
- package/dist/workspace/agent-profiles.d.ts +6 -40
- package/dist/workspace/agent-profiles.js +7 -76
- package/dist/workspace/agent-profiles.js.map +1 -1
- package/dist/workspace/backup-cli.d.ts +1 -1
- package/dist/workspace/backup-cli.js +14 -17
- package/dist/workspace/backup-cli.js.map +1 -1
- package/dist/workspace/backups.d.ts +1 -18
- package/dist/workspace/backups.js +9 -42
- package/dist/workspace/backups.js.map +1 -1
- package/dist/workspace/config.d.ts +19 -24
- package/dist/workspace/config.js +50 -35
- package/dist/workspace/config.js.map +1 -1
- package/dist/workspace/migrations.js +2 -3
- package/dist/workspace/migrations.js.map +1 -1
- package/dist/workspace/projects-cli.d.ts +10 -8
- package/dist/workspace/projects-cli.js +21 -45
- package/dist/workspace/projects-cli.js.map +1 -1
- package/dist/workspace/projects.d.ts +4 -7
- package/dist/workspace/projects.js +13 -12
- package/dist/workspace/projects.js.map +1 -1
- package/dist/workspace/registry-entry.d.ts +4 -0
- package/dist/workspace/registry-entry.js +11 -0
- package/dist/workspace/registry-entry.js.map +1 -0
- package/dist/workspace/semaphore.js +1 -1
- package/dist/workspace/ui-state.js +1 -1
- package/dist/workspace/ui-state.js.map +1 -1
- package/dist/worktree-manifest.d.ts +14 -14
- package/dist/worktree-manifest.js +22 -25
- package/dist/worktree-manifest.js.map +1 -1
- package/dist/worktree-paths.d.ts +3 -0
- package/dist/worktree-paths.js +52 -0
- package/dist/worktree-paths.js.map +1 -0
- package/dist/worktree-setup.d.ts +12 -1
- package/dist/worktree-setup.js +14 -5
- package/dist/worktree-setup.js.map +1 -1
- package/dist/worktree-skill-cleanup.d.ts +11 -0
- package/dist/worktree-skill-cleanup.js +53 -0
- package/dist/worktree-skill-cleanup.js.map +1 -0
- package/package.json +15 -6
- package/scripts/benchmark-automation-lookups.ts +97 -0
- package/scripts/benchmark-conversation-lookup.ts +105 -0
- package/scripts/benchmark-family-reconcile.ts +8 -7
- package/scripts/benchmark-home.ts +3 -3
- package/scripts/benchmark-project-probes.mjs +1 -1
- package/scripts/benchmark-project.ts +41 -0
- package/scripts/benchmark-run-store.ts +10 -9
- package/scripts/benchmark-runtime.ts +30 -0
- package/scripts/benchmark-store-fixture.ts +43 -0
- package/scripts/benchmark-stuck-destroys.ts +25 -42
- package/scripts/benchmark-worker-lifecycle.ts +156 -0
- package/scripts/benchmark-workspace-events.ts +10 -9
- package/scripts/benchmark-worktree-retention.ts +133 -0
- package/scripts/check-pack.mjs +11 -2
- package/scripts/copy-runner-assets.d.mts +2 -0
- package/scripts/copy-runner-assets.mjs +69 -0
- package/scripts/inline-contract.mjs +63 -5
- package/scripts/measure-transcript-facts-health.mjs +93 -15
- package/scripts/measure-transcript-facts-lag.mjs +16 -7
- package/scripts/mock-acp-login.mjs +20 -0
- package/scripts/mock-acp-sessions.mjs +30 -0
- package/scripts/mock-acp.mjs +589 -0
- package/scripts/mock-antigravity-auth.mjs +62 -0
- package/scripts/mock-ask-answer.d.mts +2 -0
- package/scripts/mock-ask-answer.mjs +19 -0
- package/scripts/mock-autonomous.mjs +8 -1
- package/scripts/mock-ci-tool.mjs +79 -34
- package/scripts/mock-claude-subagents.mjs +1 -1
- package/scripts/mock-claude.mjs +56 -25
- package/scripts/mock-codex-app-server.mjs +69 -23
- package/scripts/mock-codex-subagents.mjs +1 -1
- package/scripts/mock-deferred-turn-start.mjs +1 -1
- package/scripts/mock-fixture-runner.mjs +184 -0
- package/scripts/mock-lifecycle.d.mts +2 -0
- package/scripts/mock-lifecycle.mjs +6 -2
- package/scripts/mock-nudge.mjs +6 -4
- package/scripts/mock-omp-rpc.mjs +52 -19
- package/scripts/mock-opencode-questions.d.mts +14 -0
- package/scripts/mock-opencode-questions.mjs +89 -0
- package/scripts/mock-opencode-serve.mjs +68 -89
- package/scripts/mock-pi-rpc.mjs +39 -16
- package/scripts/mock-provider-failures.mjs +51 -0
- package/scripts/mock-scenario.d.mts +6 -2
- package/scripts/mock-scenario.mjs +58 -23
- package/scripts/mock-silent-tail.mjs +2 -10
- package/scripts/mock-skill-data/antigravity.mjs +66 -0
- package/scripts/mock-skill-data/claude.mjs +83 -0
- package/scripts/mock-skill-data/codex.mjs +73 -0
- package/scripts/mock-skill-data/omp.mjs +59 -0
- package/scripts/mock-skill-data/opencode.mjs +82 -0
- package/scripts/mock-skill-data/pi.mjs +64 -0
- package/scripts/mock-skill-data.mjs +13 -0
- package/scripts/mock-skill-fixtures.d.mts +11 -0
- package/scripts/mock-skill-fixtures.mjs +62 -0
- package/scripts/mock-skill-list-data.d.mts +1 -0
- package/scripts/mock-skill-list-data.mjs +4 -0
- package/scripts/mock-skill-list.d.mts +1 -0
- package/scripts/mock-skill-list.mjs +14 -0
- package/scripts/mock-skill-trigger-data.mjs +4 -0
- package/scripts/mock-skill-trigger.mjs +34 -0
- package/scripts/mock-wire-evidence.config.mjs +10 -0
- package/scripts/mock-wire-tools.mjs +7 -1
- package/scripts/parity-rows.ts +9 -3
- package/scripts/profile-lint-compare.ts +101 -0
- package/scripts/profile-lint.ts +234 -0
- package/scripts/record-wait-oracle.ts +68 -0
- package/scripts/seed-archive-profile.ts +4 -2
- package/scripts/transcript-facts-fixture.mjs +1 -1
- package/scripts/transcript-facts-timing.mjs +165 -9
- package/scripts/windows-worker-job.cs +221 -0
- package/scripts/windows-worker-job.ps1 +41 -0
- package/web/dist/app-icon.png +0 -0
- package/web/dist/assets/accounts-section-COizLyTO.js +1 -0
- package/web/dist/assets/activity-motion-DcKVM8fM.css +1 -0
- package/web/dist/assets/activity-motion-DfI5xoMG.js +2 -0
- package/web/dist/assets/activity-route-BQs2vBeo.js +1 -0
- package/web/dist/assets/agent-config-section-BwBo-HRw.js +7 -0
- package/web/dist/assets/agent-defaults-section-h-Gjb_gh.js +1 -0
- package/web/dist/assets/agents-settings-path-7X6_cvUg.js +1 -0
- package/web/dist/assets/appearance-Bcl2amXv.js +1 -0
- package/web/dist/assets/archive-on-merge-field-Bm8miJjt.js +1 -0
- package/web/dist/assets/attention-8bNiiAFt.js +1 -0
- package/web/dist/assets/automation-format-DB34jUyF.js +1 -0
- package/web/dist/assets/automations-route-CutF-cGn.css +1 -0
- package/web/dist/assets/automations-route-rSezHxBp.js +2 -0
- package/web/dist/assets/badge-DQ3U69Ht.js +1 -0
- package/web/dist/assets/bot-TkDIw4y-.js +1 -0
- package/web/dist/assets/bundle-mjs-rHxsej31.js +1 -0
- package/web/dist/assets/button-B7MKxYjT.js +1 -0
- package/web/dist/assets/centered-state-V15AR_qo.js +1 -0
- package/web/dist/assets/cez-idle-CdswdDRd.js +1 -0
- package/web/dist/assets/change-counts-CW7O8g5Y.js +1 -0
- package/web/dist/assets/check-OP-CVgZG.js +1 -0
- package/web/dist/assets/chevron-down-CHGyCDBH.js +1 -0
- package/web/dist/assets/chevron-right-BENZ-1ZN.js +1 -0
- package/web/dist/assets/chunk-BO2N2NFS-DQrpGzb-.js +131 -0
- package/web/dist/assets/chunk-KS7C4IRE-Cg8l-LDN.js +3 -0
- package/web/dist/assets/circle-x-7nTlobAF.js +1 -0
- package/web/dist/assets/code-editor-B4baSOhz.js +4 -0
- package/web/dist/assets/collapsible-BEV4FO-1.js +1 -0
- package/web/dist/assets/command-KdW7aO0N.js +1 -0
- package/web/dist/assets/commit-list-DtEqtn9o.js +1 -0
- package/web/dist/assets/core-DzoyrHjB.js +12 -0
- package/web/dist/assets/design-icons-CzEoMH9c.js +1 -0
- package/web/dist/assets/dialog-B531GGAo.js +1 -0
- package/web/dist/assets/diff-BK789dS0.js +3 -0
- package/web/dist/assets/diff-controls-BFqQNxRu.js +1 -0
- package/web/dist/assets/diff-view-BEgQ7jZV.js +11 -0
- package/web/dist/assets/dist-BAoXdNsT.js +1 -0
- package/web/dist/assets/dist-BW234Kg5.js +1 -0
- package/web/dist/assets/dist-C5mlVBmd.js +1 -0
- package/web/dist/assets/dist-Czz3Y5qH.js +1 -0
- package/web/dist/assets/dist-DXO3xwbC.js +1 -0
- package/web/dist/assets/dist-Da4ckcJG.js +1 -0
- package/web/dist/assets/dropdown-menu-4e2iKSMT.js +1 -0
- package/web/dist/assets/es2015-CQth82uv.js +41 -0
- package/web/dist/assets/external-link-BE6y205O.js +1 -0
- package/web/dist/assets/file-preview-CDWTFZ4P.js +2 -0
- package/web/dist/assets/folder-browser-BfclRPcX.js +1 -0
- package/web/dist/assets/folder-o-AvL3y3.js +1 -0
- package/web/dist/assets/format-BU7D3IfE.js +1 -0
- package/web/dist/assets/git-toolbar-Pugtjt-9.js +1 -0
- package/web/dist/assets/github-CvpaGHe6.js +1 -0
- package/web/dist/assets/global-activity-route-Di_ICsRI.js +1 -0
- package/web/dist/assets/highlighted-body-OFNGDK62-Cx8MiNVZ.js +1 -0
- package/web/dist/assets/highlighter-DvLzHjjY.js +3 -0
- package/web/dist/assets/hourglass-CikYdGGQ.js +1 -0
- package/web/dist/assets/image-preview-Dx2w5oIn.js +1 -0
- package/web/dist/assets/index-CGjknHnV.css +1 -0
- package/web/dist/assets/index-CJFT0IZP.js +21 -0
- package/web/dist/assets/label-DEH7fJN4.js +1 -0
- package/web/dist/assets/lib-DrPFkMXk.js +1 -0
- package/web/dist/assets/live-protocol-DMhTnCmf.js +64 -0
- package/web/dist/assets/live-reads-BJ9eDISf.js +1 -0
- package/web/dist/assets/live-refetch-VoLPvzhe.js +1 -0
- package/web/dist/assets/live-worker-DBw-5jVE.ts +36 -0
- package/web/dist/assets/loader-circle-CPBhhDbB.js +1 -0
- package/web/dist/assets/markdown-Dv0r75AX.js +4 -0
- package/web/dist/assets/mermaid-GHXKKRXX-lTc_AjAC.js +1 -0
- package/web/dist/assets/moon-CRE9nU5R.js +1 -0
- package/web/dist/assets/nav-row-styles-DqKjMToI.js +1 -0
- package/web/dist/assets/notifications-section-DCiqPl3M.js +1 -0
- package/web/dist/assets/open-in-menu-HM5l7Bwk.js +1 -0
- package/web/dist/assets/own-lookup-DS54wXvD.js +1 -0
- package/web/dist/assets/play-CmVAj_fu.js +1 -0
- package/web/dist/assets/plus-CxRU2X8C.js +1 -0
- package/web/dist/assets/popover-BPgUYFyu.js +1 -0
- package/web/dist/assets/preload-helper-Czpn1I53.js +1 -0
- package/web/dist/assets/preview-pane-connected-WV9oolnn.js +3 -0
- package/web/dist/assets/project-location-CfJLc6aJ.js +1 -0
- package/web/dist/assets/project-order-AcHI4Dcl.js +1 -0
- package/web/dist/assets/project-rail-sortable-BmVI4_-T.js +1 -0
- package/web/dist/assets/project-router-Bii3ofOk.js +1 -0
- package/web/dist/assets/project-scope-context-BdqKyBHa.js +4 -0
- package/web/dist/assets/projects-section-D2cACaaG.js +1 -0
- package/web/dist/assets/prompt-templates-section-toLPd5u2.js +1 -0
- package/web/dist/assets/queries-C7VNk-nW.js +1 -0
- package/web/dist/assets/reference-chip-rylFalfg.js +1 -0
- package/web/dist/assets/remote-settings-notice-N9vtBTIK.js +1 -0
- package/web/dist/assets/repo-git-DJym0aRY.js +1 -0
- package/web/dist/assets/report-reader-CjskGtxS.js +1 -0
- package/web/dist/assets/reports-B-G9HA48.js +1 -0
- package/web/dist/assets/reports-CNFNb36Z.css +1 -0
- package/web/dist/assets/resources-section-B88h1y0Q.js +1 -0
- package/web/dist/assets/run-header-B-olCSdg.js +2 -0
- package/web/dist/assets/run-header-Ccnr9k0X.css +1 -0
- package/web/dist/assets/save-cue-Cd3ZAPBS.js +1 -0
- package/web/dist/assets/saved-draft-BwzBc-_Y.js +1 -0
- package/web/dist/assets/select-BaydzE-I.js +1 -0
- package/web/dist/assets/session-context-section-BJKRXbss.js +119 -0
- package/web/dist/assets/settings-agent-picker-6xZMIC_D.js +1 -0
- package/web/dist/assets/settings-field-DP9sYv5a.js +1 -0
- package/web/dist/assets/settings-select-CCIMGnyA.js +1 -0
- package/web/dist/assets/settings-shell-BkTgs1S9.js +1 -0
- package/web/dist/assets/settings-shell-iSd4xMWS.css +1 -0
- package/web/dist/assets/sidebar-section-B57HIEgv.js +1 -0
- package/web/dist/assets/skills-pBrfwrKF.js +1 -0
- package/web/dist/assets/skills-pM_PouEs.js +1 -0
- package/web/dist/assets/smartphone-Lr8Ug2z_.js +1 -0
- package/web/dist/assets/sortable.esm-CAVTYaA3.js +5 -0
- package/web/dist/assets/square-terminal-B6RYYieR.js +1 -0
- package/web/dist/assets/status-dot-BRzVlF2X.js +1 -0
- package/web/dist/assets/switch-SP8pw5uU.js +1 -0
- package/web/dist/assets/tab-link-B1CULYRs.js +1 -0
- package/web/dist/assets/task-changes-CXldTh93.js +1 -0
- package/web/dist/assets/task-commits-BZ3B_GPB.js +1 -0
- package/web/dist/assets/task-files-BSfmCkJc.js +1 -0
- package/web/dist/assets/task-github-item-v2bygvdO.js +1 -0
- package/web/dist/assets/task-groups-BbnYlkYj.js +1 -0
- package/web/dist/assets/task-thread-BPWnJ7Qx.js +9 -0
- package/web/dist/assets/task-thread-DzADOhZd.css +1 -0
- package/web/dist/assets/tasks-table-Cx7AM7lZ.js +1 -0
- package/web/dist/assets/textarea-vJt9undk.js +1 -0
- package/web/dist/assets/thread-state-R0MTvwlo.js +4 -0
- package/web/dist/assets/toaster-Bo5vCbz-.js +1 -0
- package/web/dist/assets/use-hand-to-agent-state-B6h6kcQg.css +1 -0
- package/web/dist/assets/use-hand-to-agent-state-BckHuhr8.js +1 -0
- package/web/dist/assets/useInfiniteQuery--iQKfpUQ.js +1 -0
- package/web/dist/assets/useQuery-BSyhc3l3.js +1 -0
- package/web/dist/assets/utils-DSMR_WLb.js +1 -0
- package/web/dist/assets/workflows-BBc2PFDB.js +7 -0
- package/web/dist/assets/workflows-C6suai0L.css +1 -0
- package/web/dist/assets/workspace-tools-CiTG-ArW.js +1 -0
- package/web/dist/assets/worktrees-section-C07tNayi.js +4 -0
- package/web/dist/assets/zoomable-image-CIQl1Wpe.js +1 -0
- package/web/dist/index.html +68 -32
- package/web/dist/live-worker.js +2 -2
- package/dist/agent-config/account-identity.d.ts +0 -28
- package/dist/agent-config/account-identity.js +0 -132
- package/dist/agent-config/account-identity.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/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/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 -23
- package/dist/application-update/discovery.js +0 -139
- package/dist/application-update/discovery.js.map +0 -1
- package/dist/application-update/helper.d.ts +0 -58
- package/dist/application-update/helper.js +0 -363
- 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 -61
- 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 -156
- package/dist/application-update/npm-process.js.map +0 -1
- package/dist/application-update/runtime-layout.d.ts +0 -20
- package/dist/application-update/runtime-layout.js +0 -91
- package/dist/application-update/runtime-layout.js.map +0 -1
- package/dist/application-update/scoped-recovery.d.ts +0 -32
- package/dist/application-update/scoped-recovery.js +0 -210
- package/dist/application-update/scoped-recovery.js.map +0 -1
- package/dist/application-update/service.d.ts +0 -86
- package/dist/application-update/service.js +0 -523
- package/dist/application-update/service.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/ci-wait/injection.d.ts +0 -3
- package/dist/ci-wait/injection.js +0 -13
- package/dist/ci-wait/injection.js.map +0 -1
- package/dist/contract/application-update.d.ts +0 -32
- package/dist/contract/self-update.d.ts +0 -255
- package/dist/contract/skill-sources.d.ts +0 -125
- package/dist/contract/team-skill-ref.d.ts +0 -10
- package/dist/contract/voice.d.ts +0 -213
- package/dist/core/claude-cli-runner.d.ts +0 -85
- package/dist/core/claude-cli-runner.js +0 -899
- package/dist/core/claude-cli-runner.js.map +0 -1
- package/dist/core/claude-executable.js +0 -15
- package/dist/core/claude-executable.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-stream.d.ts +0 -38
- package/dist/core/claude-stream.js +0 -77
- package/dist/core/claude-stream.js.map +0 -1
- package/dist/core/claude-ui-mapper.d.ts +0 -88
- package/dist/core/claude-ui-mapper.js +0 -851
- package/dist/core/claude-ui-mapper.js.map +0 -1
- package/dist/core/codex-app-server-runner.d.ts +0 -76
- package/dist/core/codex-app-server-runner.js +0 -1271
- 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 -200
- 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 -180
- package/dist/core/codex-approvals.js.map +0 -1
- package/dist/core/codex-hook-mapper.d.ts +0 -15
- package/dist/core/codex-hook-mapper.js +0 -73
- package/dist/core/codex-hook-mapper.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-native-frames.d.ts +0 -35
- package/dist/core/codex-native-frames.js +0 -80
- package/dist/core/codex-native-frames.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.js.map +0 -1
- package/dist/core/codex-turn-outcome.d.ts +0 -10
- package/dist/core/codex-turn-outcome.js +0 -35
- package/dist/core/codex-turn-outcome.js.map +0 -1
- package/dist/core/codex-ui-mapper-state.d.ts +0 -84
- package/dist/core/codex-ui-mapper-state.js.map +0 -1
- package/dist/core/codex-ui-mapper.d.ts +0 -44
- package/dist/core/codex-ui-mapper.js +0 -799
- package/dist/core/codex-ui-mapper.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 -50
- package/dist/core/cursor-model-catalog.js +0 -306
- package/dist/core/cursor-model-catalog.js.map +0 -1
- package/dist/core/cursor-print-capabilities.d.ts +0 -14
- package/dist/core/cursor-print-capabilities.js +0 -169
- 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 -43
- package/dist/core/cursor-print-runner.js +0 -574
- package/dist/core/cursor-print-runner.js.map +0 -1
- package/dist/core/cursor-print-tool-catalog.d.ts +0 -3
- package/dist/core/cursor-print-tool-catalog.js +0 -13
- 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 -574
- package/dist/core/cursor-print-ui-mapper.js.map +0 -1
- package/dist/core/cursor-provider-error.d.ts +0 -9
- package/dist/core/cursor-provider-error.js +0 -15
- package/dist/core/cursor-provider-error.js.map +0 -1
- package/dist/core/cursor-runner.d.ts +0 -46
- package/dist/core/cursor-runner.js +0 -144
- package/dist/core/cursor-runner.js.map +0 -1
- package/dist/core/disclaim-spawn.d.ts +0 -11
- package/dist/core/disclaim-spawn.js +0 -60
- package/dist/core/disclaim-spawn.js.map +0 -1
- package/dist/core/omp-model-catalog.d.ts +0 -39
- package/dist/core/omp-model-catalog.js +0 -183
- package/dist/core/omp-model-catalog.js.map +0 -1
- package/dist/core/omp-runner.d.ts +0 -86
- package/dist/core/omp-runner.js +0 -818
- package/dist/core/omp-runner.js.map +0 -1
- package/dist/core/omp-subagent-rows.d.ts +0 -21
- package/dist/core/omp-subagent-rows.js +0 -99
- package/dist/core/omp-subagent-rows.js.map +0 -1
- package/dist/core/omp-ui-mapper.d.ts +0 -112
- package/dist/core/omp-ui-mapper.js +0 -807
- package/dist/core/omp-ui-mapper.js.map +0 -1
- package/dist/core/opencode-model-catalog.d.ts +0 -27
- package/dist/core/opencode-model-catalog.js +0 -189
- 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-runtime-config.d.ts +0 -9
- package/dist/core/opencode-runtime-config.js +0 -26
- package/dist/core/opencode-runtime-config.js.map +0 -1
- package/dist/core/opencode-server-runner.d.ts +0 -75
- package/dist/core/opencode-server-runner.js +0 -1690
- 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-task-scope.js +0 -19
- package/dist/core/opencode-task-scope.js.map +0 -1
- package/dist/core/opencode-ui-mapper-state.d.ts +0 -82
- package/dist/core/opencode-ui-mapper-state.js.map +0 -1
- package/dist/core/opencode-ui-mapper.d.ts +0 -59
- package/dist/core/opencode-ui-mapper.js +0 -724
- package/dist/core/opencode-ui-mapper.js.map +0 -1
- package/dist/core/opencode-usage.d.ts +0 -32
- package/dist/core/opencode-usage.js.map +0 -1
- package/dist/core/pi-model-catalog.d.ts +0 -34
- package/dist/core/pi-model-catalog.js +0 -247
- package/dist/core/pi-model-catalog.js.map +0 -1
- package/dist/core/pi-runner.d.ts +0 -58
- package/dist/core/pi-runner.js +0 -587
- 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 -408
- package/dist/core/pi-ui-mapper.js.map +0 -1
- package/dist/core/runner-factory.d.ts +0 -11
- package/dist/core/runner-factory.js +0 -36
- package/dist/core/runner-factory.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/idle-test-app.d.ts +0 -4
- package/dist/delegation/idle-test-app.js +0 -186
- package/dist/delegation/idle-test-app.js.map +0 -1
- package/dist/delegation/windows-test-app.d.ts +0 -5
- package/dist/delegation/windows-test-app.js +0 -64
- package/dist/delegation/windows-test-app.js.map +0 -1
- package/dist/home/display.d.ts +0 -4
- package/dist/home/display.js +0 -11
- package/dist/home/display.js.map +0 -1
- package/dist/home/switch.d.ts +0 -2
- package/dist/home/switch.js +0 -3
- package/dist/home/switch.js.map +0 -1
- package/dist/jobs/cli.d.ts +0 -2
- package/dist/jobs/cli.js +0 -53
- package/dist/jobs/cli.js.map +0 -1
- package/dist/jobs/command.d.ts +0 -9
- package/dist/jobs/command.js +0 -19
- package/dist/jobs/command.js.map +0 -1
- package/dist/jobs/job.d.ts +0 -77
- package/dist/jobs/job.js +0 -252
- package/dist/jobs/job.js.map +0 -1
- package/dist/runs/worker-deletion-proof.d.ts +0 -13
- package/dist/runs/worker-deletion-proof.js.map +0 -1
- package/dist/runs/worker-resource-holders.d.ts +0 -17
- package/dist/runs/worker-resource-holders.js +0 -34
- package/dist/runs/worker-resource-holders.js.map +0 -1
- package/dist/self-update/checkouts.d.ts +0 -46
- package/dist/self-update/checkouts.js +0 -284
- package/dist/self-update/checkouts.js.map +0 -1
- package/dist/self-update/cli.d.ts +0 -19
- package/dist/self-update/cli.js +0 -243
- package/dist/self-update/cli.js.map +0 -1
- package/dist/self-update/installer.d.ts +0 -24
- package/dist/self-update/installer.js +0 -139
- package/dist/self-update/installer.js.map +0 -1
- package/dist/self-update/launcher.d.ts +0 -30
- package/dist/self-update/launcher.js +0 -172
- package/dist/self-update/launcher.js.map +0 -1
- package/dist/self-update/layout.d.ts +0 -108
- package/dist/self-update/layout.js +0 -276
- package/dist/self-update/layout.js.map +0 -1
- package/dist/self-update/pulls.d.ts +0 -30
- package/dist/self-update/pulls.js +0 -128
- package/dist/self-update/pulls.js.map +0 -1
- package/dist/self-update/registry.d.ts +0 -37
- package/dist/self-update/registry.js +0 -86
- package/dist/self-update/registry.js.map +0 -1
- package/dist/self-update/restart.d.ts +0 -25
- package/dist/self-update/restart.js +0 -79
- package/dist/self-update/restart.js.map +0 -1
- package/dist/self-update/semver.d.ts +0 -19
- package/dist/self-update/semver.js +0 -79
- package/dist/self-update/semver.js.map +0 -1
- package/dist/self-update/service.d.ts +0 -115
- package/dist/self-update/service.js +0 -332
- package/dist/self-update/service.js.map +0 -1
- package/dist/self-update/supervisor.d.ts +0 -10
- package/dist/self-update/supervisor.js +0 -52
- package/dist/self-update/supervisor.js.map +0 -1
- package/dist/server/launch-key.d.ts +0 -5
- package/dist/server/launch-key.js +0 -35
- package/dist/server/launch-key.js.map +0 -1
- package/dist/server/self-update-routes.d.ts +0 -308
- package/dist/server/self-update-routes.js +0 -80
- package/dist/server/self-update-routes.js.map +0 -1
- package/dist/server/skill-sources.d.ts +0 -264
- package/dist/server/skill-sources.js +0 -130
- package/dist/server/skill-sources.js.map +0 -1
- package/dist/skills-provision.d.ts +0 -64
- package/dist/skills-provision.js +0 -325
- package/dist/skills-provision.js.map +0 -1
- package/dist/skills-remote.d.ts +0 -144
- package/dist/skills-remote.js +0 -847
- package/dist/skills-remote.js.map +0 -1
- package/dist/voice/decide.d.ts +0 -35
- package/dist/voice/decide.js +0 -329
- package/dist/voice/decide.js.map +0 -1
- package/dist/voice/decision-log.d.ts +0 -48
- package/dist/voice/decision-log.js +0 -117
- package/dist/voice/decision-log.js.map +0 -1
- package/dist/voice/engine.d.ts +0 -119
- package/dist/voice/engine.js +0 -61
- 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 -51
- package/dist/voice/pending-ask.js.map +0 -1
- package/dist/voice/routes.d.ts +0 -115
- package/dist/voice/routes.js +0 -92
- 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/workflows/run/cezar-tools.d.ts +0 -45
- package/dist/workflows/run/cezar-tools.js +0 -117
- package/dist/workflows/run/cezar-tools.js.map +0 -1
- 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 -237
- package/scripts/omp-ci-wait.mjs +0 -29
- package/scripts/opencode-task-scope.d.mts +0 -18
- package/scripts/opencode-task-scope.mjs +0 -59
- package/scripts/pi-ci-wait.mjs +0 -17
- package/scripts/pi-default-tools.mjs +0 -22
- package/scripts/pi-retry-degraded-service.mjs +0 -16
- package/scripts/probe-cursor-print.mjs +0 -699
- package/scripts/voice-replay.ts +0 -50
- package/web/dist/assets/activity-motion-0wHCeUs7.css +0 -1
- package/web/dist/assets/activity-motion-hhx0e841.js +0 -2
- package/web/dist/assets/activity-route-De0BnSrc.js +0 -1
- package/web/dist/assets/agent-accounts-BCg-578Q.js +0 -18
- package/web/dist/assets/alert-dialog-Dj464rjk.js +0 -1
- package/web/dist/assets/bundle-mjs-BT31bpU6.js +0 -1
- package/web/dist/assets/button-CHUAMTHK.js +0 -3
- package/web/dist/assets/centered-state-DGyy0SuA.js +0 -1
- package/web/dist/assets/cez-idle-BT0U4GN_.js +0 -1
- package/web/dist/assets/chunk-BO2N2NFS-DE6qKn3r.js +0 -131
- package/web/dist/assets/commit-diff-panel-DYtYc_dH.js +0 -1
- package/web/dist/assets/control-locations-CA9TMupq.js +0 -1
- package/web/dist/assets/core-BCsw8oQw.js +0 -12
- package/web/dist/assets/design-icons-DmYTv2r1.js +0 -1
- package/web/dist/assets/diff-controls-BR2uqhwG.js +0 -1
- package/web/dist/assets/diff-tVGVhYyc.js +0 -3
- package/web/dist/assets/diff-view-CNM3u77o.js +0 -11
- package/web/dist/assets/dropdown-menu-DhrBcVgr.js +0 -1
- package/web/dist/assets/es2015-D345RR4o.js +0 -41
- package/web/dist/assets/file-preview-C1eTdJLJ.js +0 -2
- package/web/dist/assets/git-toolbar-Dwz8p8GW.js +0 -1
- package/web/dist/assets/github-BSezqH6f.js +0 -1
- package/web/dist/assets/github-sidebar-model-Ct0DltOv.js +0 -1
- package/web/dist/assets/global-activity-route-BZiYz-B0.js +0 -1
- package/web/dist/assets/highlighted-body-OFNGDK62-BL-MfFgl.js +0 -1
- package/web/dist/assets/hourglass-B0lPAJvT.js +0 -1
- package/web/dist/assets/image-preview-Cq1vDiEo.js +0 -1
- package/web/dist/assets/index-B18AqW0Z.css +0 -1
- package/web/dist/assets/index-D489J7QW.js +0 -14
- package/web/dist/assets/lib-BxQXEXDF.js +0 -1
- package/web/dist/assets/live-protocol-BDY7JJpT.js +0 -64
- package/web/dist/assets/live-refetch-C0kQc3-z.js +0 -1
- package/web/dist/assets/live-worker-BWdeGzQX.ts +0 -34
- package/web/dist/assets/loader-circle-CZkGEdoI.js +0 -1
- package/web/dist/assets/markdown-D7DUNWcJ.js +0 -6
- package/web/dist/assets/mermaid-GHXKKRXX-C4jxqUUb.js +0 -1
- package/web/dist/assets/nav-row-styles-BZUUavOF.js +0 -1
- package/web/dist/assets/popover-DRcRI46x.js +0 -1
- package/web/dist/assets/preview-pane-connected-DGkEs_L3.js +0 -3
- package/web/dist/assets/project-router-1m_VlC22.js +0 -1
- package/web/dist/assets/project-scope-context-CaUqlAd7.js +0 -4
- package/web/dist/assets/queries-DYfIpJ-d.js +0 -1
- package/web/dist/assets/repo-git-CU1S5P-y.js +0 -1
- package/web/dist/assets/report-reader-DlZol2Ux.js +0 -1
- package/web/dist/assets/reports-B7QAzibP.css +0 -1
- package/web/dist/assets/reports-DIGGjk7C.js +0 -1
- package/web/dist/assets/run-header-CC7VUTg9.css +0 -1
- package/web/dist/assets/run-header-DPjiPKRe.js +0 -2
- package/web/dist/assets/skill-empty-hint-YDmkqgo-.js +0 -1
- package/web/dist/assets/skills-BMwanop_.js +0 -1
- package/web/dist/assets/skills-DFBiAuJG.js +0 -1
- package/web/dist/assets/skills-workflows-C21NystW.css +0 -1
- package/web/dist/assets/sortable.esm-zp_qkYGV.js +0 -5
- package/web/dist/assets/tab-link-DCUifQ46.js +0 -1
- package/web/dist/assets/task-changes-BZXWvQN3.js +0 -1
- package/web/dist/assets/task-commits-ByI9MSfc.js +0 -1
- package/web/dist/assets/task-files-LJbenpiH.js +0 -1
- package/web/dist/assets/task-github-item-B0CU9lGR.js +0 -1
- package/web/dist/assets/task-thread-CXCN__1a.js +0 -9
- package/web/dist/assets/task-thread-DtQ6uGfQ.css +0 -1
- package/web/dist/assets/textarea-DlVUfdWG.js +0 -1
- package/web/dist/assets/thread-state-BLaCzqeX.js +0 -4
- package/web/dist/assets/toaster-B1MyeHiE.js +0 -1
- package/web/dist/assets/use-hand-to-agent-state-BkmKad8x.js +0 -1
- package/web/dist/assets/use-hand-to-agent-state-C7esPJ-N.css +0 -1
- package/web/dist/assets/useInfiniteQuery-qEY8OhKb.js +0 -1
- package/web/dist/assets/useQuery-DOJQOEBO.js +0 -1
- package/web/dist/assets/workflows-Dbxb-d-6.js +0 -7
- package/web/dist/assets/ws-DvGmrP4z.js +0 -1
- package/web/dist/assets/zoomable-image-5pOUaPEg.js +0 -1
- /package/dist/{runs → delegation}/worker-deletion-proof.js +0 -0
- /package/dist/{core → runners/claude}/claude-executable.d.ts +0 -0
- /package/dist/{core → runners/codex}/codex-stream-error.d.ts +0 -0
- /package/dist/{core → runners/codex}/codex-stream-error.js +0 -0
- /package/dist/{core → runners/codex}/codex-ui-mapper-state.js +0 -0
- /package/dist/{core → runners/opencode}/opencode-task-scope.d.ts +0 -0
- /package/dist/{core → runners/opencode}/opencode-ui-mapper-state.js +0 -0
- /package/dist/{core → runners/opencode}/opencode-usage.js +0 -0
- /package/{scripts → dist/runners/pi/extensions}/pi-project-skills.mjs +0 -0
package/dist/runs/store.d.ts
CHANGED
|
@@ -1,3158 +1,51 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import { type
|
|
3
|
-
|
|
4
|
-
import { EventEmitter } from 'node:events';
|
|
5
|
-
import { type WorkerExecution } from './worker-execution.ts';
|
|
1
|
+
import { type RunRecord, type StepState } from './run-decode.ts';
|
|
2
|
+
import { type RunLifecycleSource } from './lifecycle.ts';
|
|
3
|
+
import type { WorkerExecutionRecords, WorkerExecutions } from './ports.ts';
|
|
6
4
|
import { z } from 'zod';
|
|
7
5
|
import { queuedMessageSchema } from '../contract/index.js';
|
|
8
|
-
import {
|
|
9
|
-
import type {
|
|
10
|
-
import {
|
|
11
|
-
import { type TranscriptFacts } from './transcript-facts.ts';
|
|
12
|
-
import { type WorkerExecutionIdentity } from '../delegation/execution-identity.ts';
|
|
13
|
-
import { type CwdSource, type WorkerProcessRecord } from '../delegation/process-liveness.ts';
|
|
6
|
+
import type { WaitRegistrationReceipt } from '../contract/index.js';
|
|
7
|
+
import type { ConversationState, AgentInput, InboxClaim, DelegationState, Wait, WorkerDestroyRetry } from '../contract/index.js';
|
|
8
|
+
import { RunTranscriptFacts } from './transcript-facts-topic.ts';
|
|
14
9
|
import { workflowDefSchema } from '../workflows/types.ts';
|
|
15
10
|
import { type OutcomeDependencies, type OutcomeReceipt, type RunOutcome } from './outcome-commit.ts';
|
|
16
11
|
import { type ExitCall, type RunExitId, type RunPatch } from './run-exits.ts';
|
|
17
12
|
import { type ConversationIdentity } from './conversation-identity.ts';
|
|
18
13
|
export { ConversationIdInUseError } from './conversation-identity.ts';
|
|
19
|
-
import { type
|
|
20
|
-
import { RunDatabase, type RunDatabaseChanges, type RunDatabaseCommit } from './run-database.ts';
|
|
14
|
+
import { type ConversationLedger } from './conversation-ledger.ts';
|
|
21
15
|
export { ciWaitEntry, holdsWorkerWait, upgradeLegacyWaits, workerWaitEntry } from './legacy-waits.ts';
|
|
22
|
-
import {
|
|
16
|
+
import { RunRetentionTopic } from './run-retention.ts';
|
|
23
17
|
import { RunStoreOpenError } from './store-open-error.ts';
|
|
24
|
-
|
|
25
|
-
|
|
18
|
+
import { RunClaimsTopic } from './run-claims-topic.ts';
|
|
19
|
+
import { RunPinsTopic } from './run-pins.ts';
|
|
20
|
+
import { type SpawnCapacityRefusal } from './owned-run-create.ts';
|
|
21
|
+
import { WorkerResultsTopic } from './worker-results.ts';
|
|
22
|
+
import { RunEventLogTopic } from './event-log.ts';
|
|
23
|
+
import { RunRedaction } from './run-redaction.ts';
|
|
24
|
+
import { RunArchiveTopic } from './run-archive.ts';
|
|
25
|
+
import { RunReadFlagsTopic } from './run-read-flags.ts';
|
|
26
|
+
import { RunPersistenceTopic, type RunStorePersistence } from './run-persistence.ts';
|
|
27
|
+
import { RunQueriesTopic } from './run-queries.ts';
|
|
28
|
+
import { RunRepoScopeTopic } from './run-repo-scope.ts';
|
|
26
29
|
export type RunStatus = 'queued' | 'running' | 'waiting' | 'review' | 'done' | 'failed' | 'cancelled';
|
|
27
30
|
export type StepStatus = 'pending' | 'running' | 'waiting' | 'review' | 'done' | 'failed' | 'cancelled' | 'skipped';
|
|
28
|
-
declare const stepStateSchema: z.ZodObject<{
|
|
29
|
-
id: z.ZodString;
|
|
30
|
-
name: z.ZodString;
|
|
31
|
-
kind: z.ZodEnum<{
|
|
32
|
-
agent: "agent";
|
|
33
|
-
check: "check";
|
|
34
|
-
}>;
|
|
35
|
-
status: z.ZodEnum<{
|
|
36
|
-
cancelled: "cancelled";
|
|
37
|
-
done: "done";
|
|
38
|
-
failed: "failed";
|
|
39
|
-
pending: "pending";
|
|
40
|
-
review: "review";
|
|
41
|
-
running: "running";
|
|
42
|
-
skipped: "skipped";
|
|
43
|
-
waiting: "waiting";
|
|
44
|
-
}>;
|
|
45
|
-
iterations: z.ZodNumber;
|
|
46
|
-
retriesUsed: z.ZodOptional<z.ZodNumber>;
|
|
47
|
-
tokensUsed: z.ZodNumber;
|
|
48
|
-
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
49
|
-
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
50
|
-
usageInvocationsStarted: z.ZodOptional<z.ZodNumber>;
|
|
51
|
-
usageInvocationsObserved: z.ZodOptional<z.ZodNumber>;
|
|
52
|
-
usageTurnsStarted: z.ZodOptional<z.ZodNumber>;
|
|
53
|
-
usageTurnsRecorded: z.ZodOptional<z.ZodNumber>;
|
|
54
|
-
usageInvocationEpoch: z.ZodOptional<z.ZodNumber>;
|
|
55
|
-
startedAt: z.ZodOptional<z.ZodString>;
|
|
56
|
-
finishedAt: z.ZodOptional<z.ZodString>;
|
|
57
|
-
error: z.ZodOptional<z.ZodString>;
|
|
58
|
-
sessionId: z.ZodOptional<z.ZodString>;
|
|
59
|
-
sessionTransport: z.ZodOptional<z.ZodEnum<{
|
|
60
|
-
"cursor-acp": "cursor-acp";
|
|
61
|
-
"cursor-print": "cursor-print";
|
|
62
|
-
}>>;
|
|
63
|
-
profileId: z.ZodOptional<z.ZodString>;
|
|
64
|
-
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
65
|
-
synthetic: z.ZodOptional<z.ZodLiteral<"continuation">>;
|
|
66
|
-
backend: z.ZodOptional<z.ZodPipe<z.ZodEnum<{
|
|
67
|
-
claude: "claude";
|
|
68
|
-
"claude-cli": "claude-cli";
|
|
69
|
-
codex: "codex";
|
|
70
|
-
cursor: "cursor";
|
|
71
|
-
omp: "omp";
|
|
72
|
-
opencode: "opencode";
|
|
73
|
-
pi: "pi";
|
|
74
|
-
}>, z.ZodTransform<"claude" | "codex" | "cursor" | "omp" | "opencode" | "pi", "claude" | "claude-cli" | "codex" | "cursor" | "omp" | "opencode" | "pi">>>;
|
|
75
|
-
}, z.core.$strip>;
|
|
76
|
-
/** Exported for `./run-index.ts`, the read-only reader of the same records. Nothing else should
|
|
77
|
-
* parse a stored run — see `reconcileLoadedRun` for why a second parser is a correctness risk. */
|
|
78
|
-
export declare const runRecordSchema: z.ZodObject<{
|
|
79
|
-
archiveWhenDone: z.ZodOptional<z.ZodBoolean>;
|
|
80
|
-
autoMergePr: z.ZodOptional<z.ZodBoolean>;
|
|
81
|
-
allowWorkers: z.ZodOptional<z.ZodBoolean>;
|
|
82
|
-
allowMessaging: z.ZodOptional<z.ZodBoolean>;
|
|
83
|
-
id: z.ZodString;
|
|
84
|
-
title: z.ZodString;
|
|
85
|
-
titleSummary: z.ZodOptional<z.ZodString>;
|
|
86
|
-
diffStat: z.ZodOptional<z.ZodObject<{
|
|
87
|
-
adds: z.ZodNumber;
|
|
88
|
-
dels: z.ZodNumber;
|
|
89
|
-
files: z.ZodNumber;
|
|
90
|
-
repointed: z.ZodOptional<z.ZodBoolean>;
|
|
91
|
-
}, z.core.$strip>>;
|
|
92
|
-
workflow: z.ZodString;
|
|
93
|
-
task: z.ZodString;
|
|
94
|
-
queuedMessages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
95
|
-
id: z.ZodString;
|
|
96
|
-
text: z.ZodString;
|
|
97
|
-
images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
98
|
-
createdAt: z.ZodString;
|
|
99
|
-
}, z.core.$strip>>>;
|
|
100
|
-
continuationMessage: z.ZodOptional<z.ZodObject<{
|
|
101
|
-
id: z.ZodString;
|
|
102
|
-
text: z.ZodString;
|
|
103
|
-
images: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
104
|
-
createdAt: z.ZodString;
|
|
105
|
-
origin: z.ZodOptional<z.ZodEnum<{
|
|
106
|
-
human: "human";
|
|
107
|
-
lifecycle: "lifecycle";
|
|
108
|
-
}>>;
|
|
109
|
-
agentInputId: z.ZodOptional<z.ZodUUID>;
|
|
110
|
-
resumeContext: z.ZodOptional<z.ZodObject<{
|
|
111
|
-
failure: z.ZodOptional<z.ZodObject<{
|
|
112
|
-
stepId: z.ZodOptional<z.ZodString>;
|
|
113
|
-
error: z.ZodString;
|
|
114
|
-
}, z.core.$strip>>;
|
|
115
|
-
restarted: z.ZodOptional<z.ZodLiteral<true>>;
|
|
116
|
-
}, z.core.$strip>>;
|
|
117
|
-
}, z.core.$strip>>;
|
|
118
|
-
workflowResumeStepId: z.ZodOptional<z.ZodString>;
|
|
119
|
-
invalidAsk: z.ZodOptional<z.ZodBoolean>;
|
|
120
|
-
agentInputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
121
|
-
conversation: z.ZodOptional<z.ZodObject<{
|
|
122
|
-
senderRunId: z.ZodUUID;
|
|
123
|
-
recipientRunId: z.ZodUUID;
|
|
124
|
-
kind: z.ZodEnum<{
|
|
125
|
-
"follow-up": "follow-up";
|
|
126
|
-
progress: "progress";
|
|
127
|
-
reply: "reply";
|
|
128
|
-
request: "request";
|
|
129
|
-
}>;
|
|
130
|
-
requestId: z.ZodOptional<z.ZodUUID>;
|
|
131
|
-
relationship: z.ZodOptional<z.ZodEnum<{
|
|
132
|
-
family: "family";
|
|
133
|
-
peer: "peer";
|
|
134
|
-
}>>;
|
|
135
|
-
}, z.core.$strict>>;
|
|
136
|
-
id: z.ZodUUID;
|
|
137
|
-
source: z.ZodEnum<{
|
|
138
|
-
agent: "agent";
|
|
139
|
-
lifecycle: "lifecycle";
|
|
140
|
-
}>;
|
|
141
|
-
parentRunId: z.ZodUUID;
|
|
142
|
-
text: z.ZodString;
|
|
143
|
-
createdAt: z.ZodISODateTime;
|
|
144
|
-
deliveredAt: z.ZodOptional<z.ZodISODateTime>;
|
|
145
|
-
consumedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
146
|
-
awaitingRead: z.ZodOptional<z.ZodLiteral<true>>;
|
|
147
|
-
inboxClaim: z.ZodOptional<z.ZodObject<{
|
|
148
|
-
receiptId: z.ZodUUID;
|
|
149
|
-
generation: z.ZodUUID;
|
|
150
|
-
expiresAt: z.ZodISODateTime;
|
|
151
|
-
acknowledgedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
152
|
-
memberIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
153
|
-
}, z.core.$strict>>;
|
|
154
|
-
purpose: z.ZodOptional<z.ZodEnum<{
|
|
155
|
-
"completion-refusal": "completion-refusal";
|
|
156
|
-
"undelivered-question": "undelivered-question";
|
|
157
|
-
}>>;
|
|
158
|
-
requestHash: z.ZodOptional<z.ZodString>;
|
|
159
|
-
deadline: z.ZodOptional<z.ZodISODateTime>;
|
|
160
|
-
}, z.core.$strict>>>;
|
|
161
|
-
waits: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
162
|
-
prUrl: z.ZodString;
|
|
163
|
-
repository: z.ZodString;
|
|
164
|
-
prNumber: z.ZodNumber;
|
|
165
|
-
headSha: z.ZodString;
|
|
166
|
-
id: z.ZodUUID;
|
|
167
|
-
source: z.ZodEnum<{
|
|
168
|
-
agent: "agent";
|
|
169
|
-
cezar: "cezar";
|
|
170
|
-
}>;
|
|
171
|
-
via: z.ZodEnum<{
|
|
172
|
-
"ask-line": "ask-line";
|
|
173
|
-
budget: "budget";
|
|
174
|
-
"cez-message-wait": "cez-message-wait";
|
|
175
|
-
"cez-worker-wait": "cez-worker-wait";
|
|
176
|
-
cezar_ask: "cezar_ask";
|
|
177
|
-
cezar_wait: "cezar_wait";
|
|
178
|
-
cezar_wait_for_ci: "cezar_wait_for_ci";
|
|
179
|
-
completion: "completion";
|
|
180
|
-
"monitoring-line": "monitoring-line";
|
|
181
|
-
"native-ask": "native-ask";
|
|
182
|
-
"native-subagents": "native-subagents";
|
|
183
|
-
"no-wait": "no-wait";
|
|
184
|
-
"schedule-wakeup": "schedule-wakeup";
|
|
185
|
-
}>;
|
|
186
|
-
registeredAt: z.ZodISODateTime;
|
|
187
|
-
phase: z.ZodEnum<{
|
|
188
|
-
cancelled: "cancelled";
|
|
189
|
-
delivered: "delivered";
|
|
190
|
-
open: "open";
|
|
191
|
-
resolved: "resolved";
|
|
192
|
-
}>;
|
|
193
|
-
resolvedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
194
|
-
deliveredAt: z.ZodOptional<z.ZodISODateTime>;
|
|
195
|
-
cancelledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
196
|
-
turnId: z.ZodString;
|
|
197
|
-
kind: z.ZodLiteral<"pr">;
|
|
198
|
-
deadline: z.ZodISODateTime;
|
|
199
|
-
generation: z.ZodString;
|
|
200
|
-
timeoutSeconds: z.ZodNumber;
|
|
201
|
-
until: z.ZodEnum<{
|
|
202
|
-
checks: "checks";
|
|
203
|
-
merge: "merge";
|
|
204
|
-
merge_or_blocked: "merge_or_blocked";
|
|
205
|
-
}>;
|
|
206
|
-
wakeOnConflict: z.ZodBoolean;
|
|
207
|
-
result: z.ZodOptional<z.ZodObject<{
|
|
208
|
-
outcome: z.ZodEnum<{
|
|
209
|
-
blocked: "blocked";
|
|
210
|
-
cancelled: "cancelled";
|
|
211
|
-
closed: "closed";
|
|
212
|
-
conflicting: "conflicting";
|
|
213
|
-
deadline: "deadline";
|
|
214
|
-
error: "error";
|
|
215
|
-
failed: "failed";
|
|
216
|
-
head_changed: "head_changed";
|
|
217
|
-
merged: "merged";
|
|
218
|
-
no_checks: "no_checks";
|
|
219
|
-
passed: "passed";
|
|
220
|
-
skipped: "skipped";
|
|
221
|
-
}>;
|
|
222
|
-
headSha: z.ZodString;
|
|
223
|
-
observedHeadSha: z.ZodOptional<z.ZodString>;
|
|
224
|
-
mergeable: z.ZodOptional<z.ZodEnum<{
|
|
225
|
-
CONFLICTING: "CONFLICTING";
|
|
226
|
-
MERGEABLE: "MERGEABLE";
|
|
227
|
-
UNKNOWN: "UNKNOWN";
|
|
228
|
-
}>>;
|
|
229
|
-
mergeStateStatus: z.ZodOptional<z.ZodString>;
|
|
230
|
-
mergedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
231
|
-
mergeCommitSha: z.ZodOptional<z.ZodString>;
|
|
232
|
-
mergeBlock: z.ZodOptional<z.ZodObject<{
|
|
233
|
-
reason: z.ZodEnum<{
|
|
234
|
-
conflict: "conflict";
|
|
235
|
-
no_pending_merge: "no_pending_merge";
|
|
236
|
-
}>;
|
|
237
|
-
isInMergeQueue: z.ZodBoolean;
|
|
238
|
-
autoMergeEnabled: z.ZodBoolean;
|
|
239
|
-
event: z.ZodOptional<z.ZodObject<{
|
|
240
|
-
kind: z.ZodEnum<{
|
|
241
|
-
auto_merge_disabled: "auto_merge_disabled";
|
|
242
|
-
queue_removal: "queue_removal";
|
|
243
|
-
}>;
|
|
244
|
-
createdAt: z.ZodISODateTime;
|
|
245
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
246
|
-
reasonCode: z.ZodOptional<z.ZodString>;
|
|
247
|
-
}, z.core.$strict>>;
|
|
248
|
-
}, z.core.$strict>>;
|
|
249
|
-
observedAt: z.ZodISODateTime;
|
|
250
|
-
checks: z.ZodArray<z.ZodObject<{
|
|
251
|
-
name: z.ZodString;
|
|
252
|
-
state: z.ZodString;
|
|
253
|
-
link: z.ZodString;
|
|
254
|
-
}, z.core.$strict>>;
|
|
255
|
-
totalChecks: z.ZodNumber;
|
|
256
|
-
truncated: z.ZodBoolean;
|
|
257
|
-
diagnostic: z.ZodOptional<z.ZodString>;
|
|
258
|
-
}, z.core.$strict>>;
|
|
259
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
260
|
-
id: z.ZodUUID;
|
|
261
|
-
source: z.ZodEnum<{
|
|
262
|
-
agent: "agent";
|
|
263
|
-
cezar: "cezar";
|
|
264
|
-
}>;
|
|
265
|
-
via: z.ZodEnum<{
|
|
266
|
-
"ask-line": "ask-line";
|
|
267
|
-
budget: "budget";
|
|
268
|
-
"cez-message-wait": "cez-message-wait";
|
|
269
|
-
"cez-worker-wait": "cez-worker-wait";
|
|
270
|
-
cezar_ask: "cezar_ask";
|
|
271
|
-
cezar_wait: "cezar_wait";
|
|
272
|
-
cezar_wait_for_ci: "cezar_wait_for_ci";
|
|
273
|
-
completion: "completion";
|
|
274
|
-
"monitoring-line": "monitoring-line";
|
|
275
|
-
"native-ask": "native-ask";
|
|
276
|
-
"native-subagents": "native-subagents";
|
|
277
|
-
"no-wait": "no-wait";
|
|
278
|
-
"schedule-wakeup": "schedule-wakeup";
|
|
279
|
-
}>;
|
|
280
|
-
registeredAt: z.ZodISODateTime;
|
|
281
|
-
phase: z.ZodEnum<{
|
|
282
|
-
cancelled: "cancelled";
|
|
283
|
-
delivered: "delivered";
|
|
284
|
-
open: "open";
|
|
285
|
-
resolved: "resolved";
|
|
286
|
-
}>;
|
|
287
|
-
resolvedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
288
|
-
deliveredAt: z.ZodOptional<z.ZodISODateTime>;
|
|
289
|
-
cancelledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
290
|
-
turnId: z.ZodString;
|
|
291
|
-
kind: z.ZodLiteral<"timer">;
|
|
292
|
-
deadline: z.ZodISODateTime;
|
|
293
|
-
seconds: z.ZodNumber;
|
|
294
|
-
note: z.ZodOptional<z.ZodString>;
|
|
295
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
296
|
-
id: z.ZodUUID;
|
|
297
|
-
source: z.ZodEnum<{
|
|
298
|
-
agent: "agent";
|
|
299
|
-
cezar: "cezar";
|
|
300
|
-
}>;
|
|
301
|
-
via: z.ZodEnum<{
|
|
302
|
-
"ask-line": "ask-line";
|
|
303
|
-
budget: "budget";
|
|
304
|
-
"cez-message-wait": "cez-message-wait";
|
|
305
|
-
"cez-worker-wait": "cez-worker-wait";
|
|
306
|
-
cezar_ask: "cezar_ask";
|
|
307
|
-
cezar_wait: "cezar_wait";
|
|
308
|
-
cezar_wait_for_ci: "cezar_wait_for_ci";
|
|
309
|
-
completion: "completion";
|
|
310
|
-
"monitoring-line": "monitoring-line";
|
|
311
|
-
"native-ask": "native-ask";
|
|
312
|
-
"native-subagents": "native-subagents";
|
|
313
|
-
"no-wait": "no-wait";
|
|
314
|
-
"schedule-wakeup": "schedule-wakeup";
|
|
315
|
-
}>;
|
|
316
|
-
registeredAt: z.ZodISODateTime;
|
|
317
|
-
phase: z.ZodEnum<{
|
|
318
|
-
cancelled: "cancelled";
|
|
319
|
-
delivered: "delivered";
|
|
320
|
-
open: "open";
|
|
321
|
-
resolved: "resolved";
|
|
322
|
-
}>;
|
|
323
|
-
resolvedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
324
|
-
deliveredAt: z.ZodOptional<z.ZodISODateTime>;
|
|
325
|
-
cancelledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
326
|
-
turnId: z.ZodString;
|
|
327
|
-
kind: z.ZodLiteral<"human">;
|
|
328
|
-
questions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
329
|
-
id: z.ZodOptional<z.ZodString>;
|
|
330
|
-
header: z.ZodString;
|
|
331
|
-
question: z.ZodString;
|
|
332
|
-
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
333
|
-
label: z.ZodString;
|
|
334
|
-
description: z.ZodOptional<z.ZodString>;
|
|
335
|
-
}, z.core.$strict>>>;
|
|
336
|
-
multiSelect: z.ZodOptional<z.ZodBoolean>;
|
|
337
|
-
}, z.core.$strict>>>;
|
|
338
|
-
context: z.ZodOptional<z.ZodString>;
|
|
339
|
-
askSeq: z.ZodOptional<z.ZodNumber>;
|
|
340
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
341
|
-
id: z.ZodUUID;
|
|
342
|
-
source: z.ZodEnum<{
|
|
343
|
-
agent: "agent";
|
|
344
|
-
cezar: "cezar";
|
|
345
|
-
}>;
|
|
346
|
-
via: z.ZodEnum<{
|
|
347
|
-
"ask-line": "ask-line";
|
|
348
|
-
budget: "budget";
|
|
349
|
-
"cez-message-wait": "cez-message-wait";
|
|
350
|
-
"cez-worker-wait": "cez-worker-wait";
|
|
351
|
-
cezar_ask: "cezar_ask";
|
|
352
|
-
cezar_wait: "cezar_wait";
|
|
353
|
-
cezar_wait_for_ci: "cezar_wait_for_ci";
|
|
354
|
-
completion: "completion";
|
|
355
|
-
"monitoring-line": "monitoring-line";
|
|
356
|
-
"native-ask": "native-ask";
|
|
357
|
-
"native-subagents": "native-subagents";
|
|
358
|
-
"no-wait": "no-wait";
|
|
359
|
-
"schedule-wakeup": "schedule-wakeup";
|
|
360
|
-
}>;
|
|
361
|
-
registeredAt: z.ZodISODateTime;
|
|
362
|
-
phase: z.ZodEnum<{
|
|
363
|
-
cancelled: "cancelled";
|
|
364
|
-
delivered: "delivered";
|
|
365
|
-
open: "open";
|
|
366
|
-
resolved: "resolved";
|
|
367
|
-
}>;
|
|
368
|
-
resolvedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
369
|
-
deliveredAt: z.ZodOptional<z.ZodISODateTime>;
|
|
370
|
-
cancelledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
371
|
-
turnId: z.ZodString;
|
|
372
|
-
kind: z.ZodLiteral<"worker">;
|
|
373
|
-
deadline: z.ZodOptional<z.ZodISODateTime>;
|
|
374
|
-
timeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
375
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
376
|
-
all: "all";
|
|
377
|
-
any: "any";
|
|
378
|
-
one: "one";
|
|
379
|
-
}>>;
|
|
380
|
-
workerIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
381
|
-
revisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
382
|
-
workerId: z.ZodUUID;
|
|
383
|
-
revision: z.ZodNumber;
|
|
384
|
-
}, z.core.$strict>>>;
|
|
385
|
-
outcomes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
386
|
-
workerId: z.ZodUUID;
|
|
387
|
-
status: z.ZodEnum<{
|
|
388
|
-
cancelled: "cancelled";
|
|
389
|
-
done: "done";
|
|
390
|
-
failed: "failed";
|
|
391
|
-
review: "review";
|
|
392
|
-
}>;
|
|
393
|
-
observedAt: z.ZodISODateTime;
|
|
394
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
395
|
-
revision: z.ZodOptional<z.ZodNumber>;
|
|
396
|
-
}, z.core.$strict>>>;
|
|
397
|
-
requestIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
398
|
-
requestOutcomes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
399
|
-
requestId: z.ZodUUID;
|
|
400
|
-
status: z.ZodEnum<{
|
|
401
|
-
cancelled: "cancelled";
|
|
402
|
-
"completed-without-reply": "completed-without-reply";
|
|
403
|
-
deleted: "deleted";
|
|
404
|
-
destroyed: "destroyed";
|
|
405
|
-
failed: "failed";
|
|
406
|
-
"human-fallback": "human-fallback";
|
|
407
|
-
replied: "replied";
|
|
408
|
-
"replied-late": "replied-late";
|
|
409
|
-
"sender-closed": "sender-closed";
|
|
410
|
-
"timed-out": "timed-out";
|
|
411
|
-
}>;
|
|
412
|
-
observedAt: z.ZodISODateTime;
|
|
413
|
-
replyId: z.ZodOptional<z.ZodUUID>;
|
|
414
|
-
}, z.core.$strict>>>;
|
|
415
|
-
result: z.ZodOptional<z.ZodObject<{
|
|
416
|
-
reason: z.ZodEnum<{
|
|
417
|
-
outcome: "outcome";
|
|
418
|
-
timeout: "timeout";
|
|
419
|
-
}>;
|
|
420
|
-
}, z.core.$strict>>;
|
|
421
|
-
wakeInputId: z.ZodOptional<z.ZodUUID>;
|
|
422
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
423
|
-
id: z.ZodUUID;
|
|
424
|
-
source: z.ZodEnum<{
|
|
425
|
-
agent: "agent";
|
|
426
|
-
cezar: "cezar";
|
|
427
|
-
}>;
|
|
428
|
-
via: z.ZodEnum<{
|
|
429
|
-
"ask-line": "ask-line";
|
|
430
|
-
budget: "budget";
|
|
431
|
-
"cez-message-wait": "cez-message-wait";
|
|
432
|
-
"cez-worker-wait": "cez-worker-wait";
|
|
433
|
-
cezar_ask: "cezar_ask";
|
|
434
|
-
cezar_wait: "cezar_wait";
|
|
435
|
-
cezar_wait_for_ci: "cezar_wait_for_ci";
|
|
436
|
-
completion: "completion";
|
|
437
|
-
"monitoring-line": "monitoring-line";
|
|
438
|
-
"native-ask": "native-ask";
|
|
439
|
-
"native-subagents": "native-subagents";
|
|
440
|
-
"no-wait": "no-wait";
|
|
441
|
-
"schedule-wakeup": "schedule-wakeup";
|
|
442
|
-
}>;
|
|
443
|
-
registeredAt: z.ZodISODateTime;
|
|
444
|
-
phase: z.ZodEnum<{
|
|
445
|
-
cancelled: "cancelled";
|
|
446
|
-
delivered: "delivered";
|
|
447
|
-
open: "open";
|
|
448
|
-
resolved: "resolved";
|
|
449
|
-
}>;
|
|
450
|
-
resolvedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
451
|
-
deliveredAt: z.ZodOptional<z.ZodISODateTime>;
|
|
452
|
-
cancelledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
453
|
-
turnId: z.ZodString;
|
|
454
|
-
kind: z.ZodLiteral<"process">;
|
|
455
|
-
deadline: z.ZodISODateTime;
|
|
456
|
-
timeoutSeconds: z.ZodNumber;
|
|
457
|
-
pid: z.ZodNumber;
|
|
458
|
-
startToken: z.ZodOptional<z.ZodString>;
|
|
459
|
-
exitFile: z.ZodOptional<z.ZodString>;
|
|
460
|
-
note: z.ZodOptional<z.ZodString>;
|
|
461
|
-
result: z.ZodOptional<z.ZodObject<{
|
|
462
|
-
outcome: z.ZodEnum<{
|
|
463
|
-
deadline: "deadline";
|
|
464
|
-
error: "error";
|
|
465
|
-
exit_file: "exit_file";
|
|
466
|
-
exited: "exited";
|
|
467
|
-
}>;
|
|
468
|
-
observedAt: z.ZodISODateTime;
|
|
469
|
-
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
470
|
-
exitFileNote: z.ZodOptional<z.ZodLiteral<"not-an-exit-code">>;
|
|
471
|
-
diagnostic: z.ZodOptional<z.ZodString>;
|
|
472
|
-
}, z.core.$strict>>;
|
|
473
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
474
|
-
id: z.ZodUUID;
|
|
475
|
-
source: z.ZodEnum<{
|
|
476
|
-
agent: "agent";
|
|
477
|
-
cezar: "cezar";
|
|
478
|
-
}>;
|
|
479
|
-
via: z.ZodEnum<{
|
|
480
|
-
"ask-line": "ask-line";
|
|
481
|
-
budget: "budget";
|
|
482
|
-
"cez-message-wait": "cez-message-wait";
|
|
483
|
-
"cez-worker-wait": "cez-worker-wait";
|
|
484
|
-
cezar_ask: "cezar_ask";
|
|
485
|
-
cezar_wait: "cezar_wait";
|
|
486
|
-
cezar_wait_for_ci: "cezar_wait_for_ci";
|
|
487
|
-
completion: "completion";
|
|
488
|
-
"monitoring-line": "monitoring-line";
|
|
489
|
-
"native-ask": "native-ask";
|
|
490
|
-
"native-subagents": "native-subagents";
|
|
491
|
-
"no-wait": "no-wait";
|
|
492
|
-
"schedule-wakeup": "schedule-wakeup";
|
|
493
|
-
}>;
|
|
494
|
-
registeredAt: z.ZodISODateTime;
|
|
495
|
-
phase: z.ZodEnum<{
|
|
496
|
-
cancelled: "cancelled";
|
|
497
|
-
delivered: "delivered";
|
|
498
|
-
open: "open";
|
|
499
|
-
resolved: "resolved";
|
|
500
|
-
}>;
|
|
501
|
-
resolvedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
502
|
-
deliveredAt: z.ZodOptional<z.ZodISODateTime>;
|
|
503
|
-
cancelledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
504
|
-
turnId: z.ZodString;
|
|
505
|
-
kind: z.ZodLiteral<"peer">;
|
|
506
|
-
deadline: z.ZodISODateTime;
|
|
507
|
-
timeoutSeconds: z.ZodNumber;
|
|
508
|
-
peerIds: z.ZodArray<z.ZodUUID>;
|
|
509
|
-
result: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
510
|
-
reason: z.ZodLiteral<"message">;
|
|
511
|
-
peerRunId: z.ZodUUID;
|
|
512
|
-
messageId: z.ZodUUID;
|
|
513
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
514
|
-
reason: z.ZodLiteral<"settled">;
|
|
515
|
-
peerRunId: z.ZodUUID;
|
|
516
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
517
|
-
reason: z.ZodLiteral<"timeout">;
|
|
518
|
-
}, z.core.$strict>], "reason">>;
|
|
519
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
520
|
-
id: z.ZodUUID;
|
|
521
|
-
registeredAt: z.ZodISODateTime;
|
|
522
|
-
phase: z.ZodEnum<{
|
|
523
|
-
cancelled: "cancelled";
|
|
524
|
-
delivered: "delivered";
|
|
525
|
-
open: "open";
|
|
526
|
-
resolved: "resolved";
|
|
527
|
-
}>;
|
|
528
|
-
resolvedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
529
|
-
deliveredAt: z.ZodOptional<z.ZodISODateTime>;
|
|
530
|
-
cancelledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
531
|
-
turnId: z.ZodString;
|
|
532
|
-
kind: z.ZodLiteral<"subagent">;
|
|
533
|
-
source: z.ZodLiteral<"cezar">;
|
|
534
|
-
via: z.ZodLiteral<"native-subagents">;
|
|
535
|
-
deadline: z.ZodISODateTime;
|
|
536
|
-
children: z.ZodArray<z.ZodObject<{
|
|
537
|
-
id: z.ZodString;
|
|
538
|
-
status: z.ZodEnum<{
|
|
539
|
-
cancelled: "cancelled";
|
|
540
|
-
completed: "completed";
|
|
541
|
-
failed: "failed";
|
|
542
|
-
running: "running";
|
|
543
|
-
}>;
|
|
544
|
-
}, z.core.$strict>>;
|
|
545
|
-
result: z.ZodOptional<z.ZodObject<{
|
|
546
|
-
reason: z.ZodEnum<{
|
|
547
|
-
interrupted: "interrupted";
|
|
548
|
-
settled: "settled";
|
|
549
|
-
superseded: "superseded";
|
|
550
|
-
timeout: "timeout";
|
|
551
|
-
}>;
|
|
552
|
-
}, z.core.$strict>>;
|
|
553
|
-
}, z.core.$strict>], "kind">>>;
|
|
554
|
-
waitRegistrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
555
|
-
operationId: z.ZodUUID;
|
|
556
|
-
requestHash: z.ZodString;
|
|
557
|
-
wait: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
558
|
-
prUrl: z.ZodString;
|
|
559
|
-
repository: z.ZodString;
|
|
560
|
-
prNumber: z.ZodNumber;
|
|
561
|
-
headSha: z.ZodString;
|
|
562
|
-
id: z.ZodUUID;
|
|
563
|
-
source: z.ZodEnum<{
|
|
564
|
-
agent: "agent";
|
|
565
|
-
cezar: "cezar";
|
|
566
|
-
}>;
|
|
567
|
-
via: z.ZodEnum<{
|
|
568
|
-
"ask-line": "ask-line";
|
|
569
|
-
budget: "budget";
|
|
570
|
-
"cez-message-wait": "cez-message-wait";
|
|
571
|
-
"cez-worker-wait": "cez-worker-wait";
|
|
572
|
-
cezar_ask: "cezar_ask";
|
|
573
|
-
cezar_wait: "cezar_wait";
|
|
574
|
-
cezar_wait_for_ci: "cezar_wait_for_ci";
|
|
575
|
-
completion: "completion";
|
|
576
|
-
"monitoring-line": "monitoring-line";
|
|
577
|
-
"native-ask": "native-ask";
|
|
578
|
-
"native-subagents": "native-subagents";
|
|
579
|
-
"no-wait": "no-wait";
|
|
580
|
-
"schedule-wakeup": "schedule-wakeup";
|
|
581
|
-
}>;
|
|
582
|
-
registeredAt: z.ZodISODateTime;
|
|
583
|
-
phase: z.ZodEnum<{
|
|
584
|
-
cancelled: "cancelled";
|
|
585
|
-
delivered: "delivered";
|
|
586
|
-
open: "open";
|
|
587
|
-
resolved: "resolved";
|
|
588
|
-
}>;
|
|
589
|
-
resolvedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
590
|
-
deliveredAt: z.ZodOptional<z.ZodISODateTime>;
|
|
591
|
-
cancelledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
592
|
-
turnId: z.ZodString;
|
|
593
|
-
kind: z.ZodLiteral<"pr">;
|
|
594
|
-
deadline: z.ZodISODateTime;
|
|
595
|
-
generation: z.ZodString;
|
|
596
|
-
timeoutSeconds: z.ZodNumber;
|
|
597
|
-
until: z.ZodEnum<{
|
|
598
|
-
checks: "checks";
|
|
599
|
-
merge: "merge";
|
|
600
|
-
merge_or_blocked: "merge_or_blocked";
|
|
601
|
-
}>;
|
|
602
|
-
wakeOnConflict: z.ZodBoolean;
|
|
603
|
-
result: z.ZodOptional<z.ZodObject<{
|
|
604
|
-
outcome: z.ZodEnum<{
|
|
605
|
-
blocked: "blocked";
|
|
606
|
-
cancelled: "cancelled";
|
|
607
|
-
closed: "closed";
|
|
608
|
-
conflicting: "conflicting";
|
|
609
|
-
deadline: "deadline";
|
|
610
|
-
error: "error";
|
|
611
|
-
failed: "failed";
|
|
612
|
-
head_changed: "head_changed";
|
|
613
|
-
merged: "merged";
|
|
614
|
-
no_checks: "no_checks";
|
|
615
|
-
passed: "passed";
|
|
616
|
-
skipped: "skipped";
|
|
617
|
-
}>;
|
|
618
|
-
headSha: z.ZodString;
|
|
619
|
-
observedHeadSha: z.ZodOptional<z.ZodString>;
|
|
620
|
-
mergeable: z.ZodOptional<z.ZodEnum<{
|
|
621
|
-
CONFLICTING: "CONFLICTING";
|
|
622
|
-
MERGEABLE: "MERGEABLE";
|
|
623
|
-
UNKNOWN: "UNKNOWN";
|
|
624
|
-
}>>;
|
|
625
|
-
mergeStateStatus: z.ZodOptional<z.ZodString>;
|
|
626
|
-
mergedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
627
|
-
mergeCommitSha: z.ZodOptional<z.ZodString>;
|
|
628
|
-
mergeBlock: z.ZodOptional<z.ZodObject<{
|
|
629
|
-
reason: z.ZodEnum<{
|
|
630
|
-
conflict: "conflict";
|
|
631
|
-
no_pending_merge: "no_pending_merge";
|
|
632
|
-
}>;
|
|
633
|
-
isInMergeQueue: z.ZodBoolean;
|
|
634
|
-
autoMergeEnabled: z.ZodBoolean;
|
|
635
|
-
event: z.ZodOptional<z.ZodObject<{
|
|
636
|
-
kind: z.ZodEnum<{
|
|
637
|
-
auto_merge_disabled: "auto_merge_disabled";
|
|
638
|
-
queue_removal: "queue_removal";
|
|
639
|
-
}>;
|
|
640
|
-
createdAt: z.ZodISODateTime;
|
|
641
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
642
|
-
reasonCode: z.ZodOptional<z.ZodString>;
|
|
643
|
-
}, z.core.$strict>>;
|
|
644
|
-
}, z.core.$strict>>;
|
|
645
|
-
observedAt: z.ZodISODateTime;
|
|
646
|
-
checks: z.ZodArray<z.ZodObject<{
|
|
647
|
-
name: z.ZodString;
|
|
648
|
-
state: z.ZodString;
|
|
649
|
-
link: z.ZodString;
|
|
650
|
-
}, z.core.$strict>>;
|
|
651
|
-
totalChecks: z.ZodNumber;
|
|
652
|
-
truncated: z.ZodBoolean;
|
|
653
|
-
diagnostic: z.ZodOptional<z.ZodString>;
|
|
654
|
-
}, z.core.$strict>>;
|
|
655
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
656
|
-
id: z.ZodUUID;
|
|
657
|
-
source: z.ZodEnum<{
|
|
658
|
-
agent: "agent";
|
|
659
|
-
cezar: "cezar";
|
|
660
|
-
}>;
|
|
661
|
-
via: z.ZodEnum<{
|
|
662
|
-
"ask-line": "ask-line";
|
|
663
|
-
budget: "budget";
|
|
664
|
-
"cez-message-wait": "cez-message-wait";
|
|
665
|
-
"cez-worker-wait": "cez-worker-wait";
|
|
666
|
-
cezar_ask: "cezar_ask";
|
|
667
|
-
cezar_wait: "cezar_wait";
|
|
668
|
-
cezar_wait_for_ci: "cezar_wait_for_ci";
|
|
669
|
-
completion: "completion";
|
|
670
|
-
"monitoring-line": "monitoring-line";
|
|
671
|
-
"native-ask": "native-ask";
|
|
672
|
-
"native-subagents": "native-subagents";
|
|
673
|
-
"no-wait": "no-wait";
|
|
674
|
-
"schedule-wakeup": "schedule-wakeup";
|
|
675
|
-
}>;
|
|
676
|
-
registeredAt: z.ZodISODateTime;
|
|
677
|
-
phase: z.ZodEnum<{
|
|
678
|
-
cancelled: "cancelled";
|
|
679
|
-
delivered: "delivered";
|
|
680
|
-
open: "open";
|
|
681
|
-
resolved: "resolved";
|
|
682
|
-
}>;
|
|
683
|
-
resolvedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
684
|
-
deliveredAt: z.ZodOptional<z.ZodISODateTime>;
|
|
685
|
-
cancelledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
686
|
-
turnId: z.ZodString;
|
|
687
|
-
kind: z.ZodLiteral<"timer">;
|
|
688
|
-
deadline: z.ZodISODateTime;
|
|
689
|
-
seconds: z.ZodNumber;
|
|
690
|
-
note: z.ZodOptional<z.ZodString>;
|
|
691
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
692
|
-
id: z.ZodUUID;
|
|
693
|
-
source: z.ZodEnum<{
|
|
694
|
-
agent: "agent";
|
|
695
|
-
cezar: "cezar";
|
|
696
|
-
}>;
|
|
697
|
-
via: z.ZodEnum<{
|
|
698
|
-
"ask-line": "ask-line";
|
|
699
|
-
budget: "budget";
|
|
700
|
-
"cez-message-wait": "cez-message-wait";
|
|
701
|
-
"cez-worker-wait": "cez-worker-wait";
|
|
702
|
-
cezar_ask: "cezar_ask";
|
|
703
|
-
cezar_wait: "cezar_wait";
|
|
704
|
-
cezar_wait_for_ci: "cezar_wait_for_ci";
|
|
705
|
-
completion: "completion";
|
|
706
|
-
"monitoring-line": "monitoring-line";
|
|
707
|
-
"native-ask": "native-ask";
|
|
708
|
-
"native-subagents": "native-subagents";
|
|
709
|
-
"no-wait": "no-wait";
|
|
710
|
-
"schedule-wakeup": "schedule-wakeup";
|
|
711
|
-
}>;
|
|
712
|
-
registeredAt: z.ZodISODateTime;
|
|
713
|
-
phase: z.ZodEnum<{
|
|
714
|
-
cancelled: "cancelled";
|
|
715
|
-
delivered: "delivered";
|
|
716
|
-
open: "open";
|
|
717
|
-
resolved: "resolved";
|
|
718
|
-
}>;
|
|
719
|
-
resolvedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
720
|
-
deliveredAt: z.ZodOptional<z.ZodISODateTime>;
|
|
721
|
-
cancelledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
722
|
-
turnId: z.ZodString;
|
|
723
|
-
kind: z.ZodLiteral<"human">;
|
|
724
|
-
questions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
725
|
-
id: z.ZodOptional<z.ZodString>;
|
|
726
|
-
header: z.ZodString;
|
|
727
|
-
question: z.ZodString;
|
|
728
|
-
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
729
|
-
label: z.ZodString;
|
|
730
|
-
description: z.ZodOptional<z.ZodString>;
|
|
731
|
-
}, z.core.$strict>>>;
|
|
732
|
-
multiSelect: z.ZodOptional<z.ZodBoolean>;
|
|
733
|
-
}, z.core.$strict>>>;
|
|
734
|
-
context: z.ZodOptional<z.ZodString>;
|
|
735
|
-
askSeq: z.ZodOptional<z.ZodNumber>;
|
|
736
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
737
|
-
id: z.ZodUUID;
|
|
738
|
-
source: z.ZodEnum<{
|
|
739
|
-
agent: "agent";
|
|
740
|
-
cezar: "cezar";
|
|
741
|
-
}>;
|
|
742
|
-
via: z.ZodEnum<{
|
|
743
|
-
"ask-line": "ask-line";
|
|
744
|
-
budget: "budget";
|
|
745
|
-
"cez-message-wait": "cez-message-wait";
|
|
746
|
-
"cez-worker-wait": "cez-worker-wait";
|
|
747
|
-
cezar_ask: "cezar_ask";
|
|
748
|
-
cezar_wait: "cezar_wait";
|
|
749
|
-
cezar_wait_for_ci: "cezar_wait_for_ci";
|
|
750
|
-
completion: "completion";
|
|
751
|
-
"monitoring-line": "monitoring-line";
|
|
752
|
-
"native-ask": "native-ask";
|
|
753
|
-
"native-subagents": "native-subagents";
|
|
754
|
-
"no-wait": "no-wait";
|
|
755
|
-
"schedule-wakeup": "schedule-wakeup";
|
|
756
|
-
}>;
|
|
757
|
-
registeredAt: z.ZodISODateTime;
|
|
758
|
-
phase: z.ZodEnum<{
|
|
759
|
-
cancelled: "cancelled";
|
|
760
|
-
delivered: "delivered";
|
|
761
|
-
open: "open";
|
|
762
|
-
resolved: "resolved";
|
|
763
|
-
}>;
|
|
764
|
-
resolvedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
765
|
-
deliveredAt: z.ZodOptional<z.ZodISODateTime>;
|
|
766
|
-
cancelledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
767
|
-
turnId: z.ZodString;
|
|
768
|
-
kind: z.ZodLiteral<"worker">;
|
|
769
|
-
deadline: z.ZodOptional<z.ZodISODateTime>;
|
|
770
|
-
timeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
771
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
772
|
-
all: "all";
|
|
773
|
-
any: "any";
|
|
774
|
-
one: "one";
|
|
775
|
-
}>>;
|
|
776
|
-
workerIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
777
|
-
revisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
778
|
-
workerId: z.ZodUUID;
|
|
779
|
-
revision: z.ZodNumber;
|
|
780
|
-
}, z.core.$strict>>>;
|
|
781
|
-
outcomes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
782
|
-
workerId: z.ZodUUID;
|
|
783
|
-
status: z.ZodEnum<{
|
|
784
|
-
cancelled: "cancelled";
|
|
785
|
-
done: "done";
|
|
786
|
-
failed: "failed";
|
|
787
|
-
review: "review";
|
|
788
|
-
}>;
|
|
789
|
-
observedAt: z.ZodISODateTime;
|
|
790
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
791
|
-
revision: z.ZodOptional<z.ZodNumber>;
|
|
792
|
-
}, z.core.$strict>>>;
|
|
793
|
-
requestIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
794
|
-
requestOutcomes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
795
|
-
requestId: z.ZodUUID;
|
|
796
|
-
status: z.ZodEnum<{
|
|
797
|
-
cancelled: "cancelled";
|
|
798
|
-
"completed-without-reply": "completed-without-reply";
|
|
799
|
-
deleted: "deleted";
|
|
800
|
-
destroyed: "destroyed";
|
|
801
|
-
failed: "failed";
|
|
802
|
-
"human-fallback": "human-fallback";
|
|
803
|
-
replied: "replied";
|
|
804
|
-
"replied-late": "replied-late";
|
|
805
|
-
"sender-closed": "sender-closed";
|
|
806
|
-
"timed-out": "timed-out";
|
|
807
|
-
}>;
|
|
808
|
-
observedAt: z.ZodISODateTime;
|
|
809
|
-
replyId: z.ZodOptional<z.ZodUUID>;
|
|
810
|
-
}, z.core.$strict>>>;
|
|
811
|
-
result: z.ZodOptional<z.ZodObject<{
|
|
812
|
-
reason: z.ZodEnum<{
|
|
813
|
-
outcome: "outcome";
|
|
814
|
-
timeout: "timeout";
|
|
815
|
-
}>;
|
|
816
|
-
}, z.core.$strict>>;
|
|
817
|
-
wakeInputId: z.ZodOptional<z.ZodUUID>;
|
|
818
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
819
|
-
id: z.ZodUUID;
|
|
820
|
-
source: z.ZodEnum<{
|
|
821
|
-
agent: "agent";
|
|
822
|
-
cezar: "cezar";
|
|
823
|
-
}>;
|
|
824
|
-
via: z.ZodEnum<{
|
|
825
|
-
"ask-line": "ask-line";
|
|
826
|
-
budget: "budget";
|
|
827
|
-
"cez-message-wait": "cez-message-wait";
|
|
828
|
-
"cez-worker-wait": "cez-worker-wait";
|
|
829
|
-
cezar_ask: "cezar_ask";
|
|
830
|
-
cezar_wait: "cezar_wait";
|
|
831
|
-
cezar_wait_for_ci: "cezar_wait_for_ci";
|
|
832
|
-
completion: "completion";
|
|
833
|
-
"monitoring-line": "monitoring-line";
|
|
834
|
-
"native-ask": "native-ask";
|
|
835
|
-
"native-subagents": "native-subagents";
|
|
836
|
-
"no-wait": "no-wait";
|
|
837
|
-
"schedule-wakeup": "schedule-wakeup";
|
|
838
|
-
}>;
|
|
839
|
-
registeredAt: z.ZodISODateTime;
|
|
840
|
-
phase: z.ZodEnum<{
|
|
841
|
-
cancelled: "cancelled";
|
|
842
|
-
delivered: "delivered";
|
|
843
|
-
open: "open";
|
|
844
|
-
resolved: "resolved";
|
|
845
|
-
}>;
|
|
846
|
-
resolvedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
847
|
-
deliveredAt: z.ZodOptional<z.ZodISODateTime>;
|
|
848
|
-
cancelledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
849
|
-
turnId: z.ZodString;
|
|
850
|
-
kind: z.ZodLiteral<"process">;
|
|
851
|
-
deadline: z.ZodISODateTime;
|
|
852
|
-
timeoutSeconds: z.ZodNumber;
|
|
853
|
-
pid: z.ZodNumber;
|
|
854
|
-
startToken: z.ZodOptional<z.ZodString>;
|
|
855
|
-
exitFile: z.ZodOptional<z.ZodString>;
|
|
856
|
-
note: z.ZodOptional<z.ZodString>;
|
|
857
|
-
result: z.ZodOptional<z.ZodObject<{
|
|
858
|
-
outcome: z.ZodEnum<{
|
|
859
|
-
deadline: "deadline";
|
|
860
|
-
error: "error";
|
|
861
|
-
exit_file: "exit_file";
|
|
862
|
-
exited: "exited";
|
|
863
|
-
}>;
|
|
864
|
-
observedAt: z.ZodISODateTime;
|
|
865
|
-
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
866
|
-
exitFileNote: z.ZodOptional<z.ZodLiteral<"not-an-exit-code">>;
|
|
867
|
-
diagnostic: z.ZodOptional<z.ZodString>;
|
|
868
|
-
}, z.core.$strict>>;
|
|
869
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
870
|
-
id: z.ZodUUID;
|
|
871
|
-
source: z.ZodEnum<{
|
|
872
|
-
agent: "agent";
|
|
873
|
-
cezar: "cezar";
|
|
874
|
-
}>;
|
|
875
|
-
via: z.ZodEnum<{
|
|
876
|
-
"ask-line": "ask-line";
|
|
877
|
-
budget: "budget";
|
|
878
|
-
"cez-message-wait": "cez-message-wait";
|
|
879
|
-
"cez-worker-wait": "cez-worker-wait";
|
|
880
|
-
cezar_ask: "cezar_ask";
|
|
881
|
-
cezar_wait: "cezar_wait";
|
|
882
|
-
cezar_wait_for_ci: "cezar_wait_for_ci";
|
|
883
|
-
completion: "completion";
|
|
884
|
-
"monitoring-line": "monitoring-line";
|
|
885
|
-
"native-ask": "native-ask";
|
|
886
|
-
"native-subagents": "native-subagents";
|
|
887
|
-
"no-wait": "no-wait";
|
|
888
|
-
"schedule-wakeup": "schedule-wakeup";
|
|
889
|
-
}>;
|
|
890
|
-
registeredAt: z.ZodISODateTime;
|
|
891
|
-
phase: z.ZodEnum<{
|
|
892
|
-
cancelled: "cancelled";
|
|
893
|
-
delivered: "delivered";
|
|
894
|
-
open: "open";
|
|
895
|
-
resolved: "resolved";
|
|
896
|
-
}>;
|
|
897
|
-
resolvedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
898
|
-
deliveredAt: z.ZodOptional<z.ZodISODateTime>;
|
|
899
|
-
cancelledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
900
|
-
turnId: z.ZodString;
|
|
901
|
-
kind: z.ZodLiteral<"peer">;
|
|
902
|
-
deadline: z.ZodISODateTime;
|
|
903
|
-
timeoutSeconds: z.ZodNumber;
|
|
904
|
-
peerIds: z.ZodArray<z.ZodUUID>;
|
|
905
|
-
result: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
906
|
-
reason: z.ZodLiteral<"message">;
|
|
907
|
-
peerRunId: z.ZodUUID;
|
|
908
|
-
messageId: z.ZodUUID;
|
|
909
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
910
|
-
reason: z.ZodLiteral<"settled">;
|
|
911
|
-
peerRunId: z.ZodUUID;
|
|
912
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
913
|
-
reason: z.ZodLiteral<"timeout">;
|
|
914
|
-
}, z.core.$strict>], "reason">>;
|
|
915
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
916
|
-
id: z.ZodUUID;
|
|
917
|
-
registeredAt: z.ZodISODateTime;
|
|
918
|
-
phase: z.ZodEnum<{
|
|
919
|
-
cancelled: "cancelled";
|
|
920
|
-
delivered: "delivered";
|
|
921
|
-
open: "open";
|
|
922
|
-
resolved: "resolved";
|
|
923
|
-
}>;
|
|
924
|
-
resolvedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
925
|
-
deliveredAt: z.ZodOptional<z.ZodISODateTime>;
|
|
926
|
-
cancelledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
927
|
-
turnId: z.ZodString;
|
|
928
|
-
kind: z.ZodLiteral<"subagent">;
|
|
929
|
-
source: z.ZodLiteral<"cezar">;
|
|
930
|
-
via: z.ZodLiteral<"native-subagents">;
|
|
931
|
-
deadline: z.ZodISODateTime;
|
|
932
|
-
children: z.ZodArray<z.ZodObject<{
|
|
933
|
-
id: z.ZodString;
|
|
934
|
-
status: z.ZodEnum<{
|
|
935
|
-
cancelled: "cancelled";
|
|
936
|
-
completed: "completed";
|
|
937
|
-
failed: "failed";
|
|
938
|
-
running: "running";
|
|
939
|
-
}>;
|
|
940
|
-
}, z.core.$strict>>;
|
|
941
|
-
result: z.ZodOptional<z.ZodObject<{
|
|
942
|
-
reason: z.ZodEnum<{
|
|
943
|
-
interrupted: "interrupted";
|
|
944
|
-
settled: "settled";
|
|
945
|
-
superseded: "superseded";
|
|
946
|
-
timeout: "timeout";
|
|
947
|
-
}>;
|
|
948
|
-
}, z.core.$strict>>;
|
|
949
|
-
}, z.core.$strict>], "kind">;
|
|
950
|
-
deduplicated: z.ZodBoolean;
|
|
951
|
-
}, z.core.$strict>>>;
|
|
952
|
-
lastWaits: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
953
|
-
prUrl: z.ZodString;
|
|
954
|
-
repository: z.ZodString;
|
|
955
|
-
prNumber: z.ZodNumber;
|
|
956
|
-
headSha: z.ZodString;
|
|
957
|
-
id: z.ZodUUID;
|
|
958
|
-
source: z.ZodEnum<{
|
|
959
|
-
agent: "agent";
|
|
960
|
-
cezar: "cezar";
|
|
961
|
-
}>;
|
|
962
|
-
via: z.ZodEnum<{
|
|
963
|
-
"ask-line": "ask-line";
|
|
964
|
-
budget: "budget";
|
|
965
|
-
"cez-message-wait": "cez-message-wait";
|
|
966
|
-
"cez-worker-wait": "cez-worker-wait";
|
|
967
|
-
cezar_ask: "cezar_ask";
|
|
968
|
-
cezar_wait: "cezar_wait";
|
|
969
|
-
cezar_wait_for_ci: "cezar_wait_for_ci";
|
|
970
|
-
completion: "completion";
|
|
971
|
-
"monitoring-line": "monitoring-line";
|
|
972
|
-
"native-ask": "native-ask";
|
|
973
|
-
"native-subagents": "native-subagents";
|
|
974
|
-
"no-wait": "no-wait";
|
|
975
|
-
"schedule-wakeup": "schedule-wakeup";
|
|
976
|
-
}>;
|
|
977
|
-
registeredAt: z.ZodISODateTime;
|
|
978
|
-
phase: z.ZodEnum<{
|
|
979
|
-
cancelled: "cancelled";
|
|
980
|
-
delivered: "delivered";
|
|
981
|
-
open: "open";
|
|
982
|
-
resolved: "resolved";
|
|
983
|
-
}>;
|
|
984
|
-
resolvedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
985
|
-
deliveredAt: z.ZodOptional<z.ZodISODateTime>;
|
|
986
|
-
cancelledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
987
|
-
turnId: z.ZodString;
|
|
988
|
-
kind: z.ZodLiteral<"pr">;
|
|
989
|
-
deadline: z.ZodISODateTime;
|
|
990
|
-
generation: z.ZodString;
|
|
991
|
-
timeoutSeconds: z.ZodNumber;
|
|
992
|
-
until: z.ZodEnum<{
|
|
993
|
-
checks: "checks";
|
|
994
|
-
merge: "merge";
|
|
995
|
-
merge_or_blocked: "merge_or_blocked";
|
|
996
|
-
}>;
|
|
997
|
-
wakeOnConflict: z.ZodBoolean;
|
|
998
|
-
result: z.ZodOptional<z.ZodObject<{
|
|
999
|
-
outcome: z.ZodEnum<{
|
|
1000
|
-
blocked: "blocked";
|
|
1001
|
-
cancelled: "cancelled";
|
|
1002
|
-
closed: "closed";
|
|
1003
|
-
conflicting: "conflicting";
|
|
1004
|
-
deadline: "deadline";
|
|
1005
|
-
error: "error";
|
|
1006
|
-
failed: "failed";
|
|
1007
|
-
head_changed: "head_changed";
|
|
1008
|
-
merged: "merged";
|
|
1009
|
-
no_checks: "no_checks";
|
|
1010
|
-
passed: "passed";
|
|
1011
|
-
skipped: "skipped";
|
|
1012
|
-
}>;
|
|
1013
|
-
headSha: z.ZodString;
|
|
1014
|
-
observedHeadSha: z.ZodOptional<z.ZodString>;
|
|
1015
|
-
mergeable: z.ZodOptional<z.ZodEnum<{
|
|
1016
|
-
CONFLICTING: "CONFLICTING";
|
|
1017
|
-
MERGEABLE: "MERGEABLE";
|
|
1018
|
-
UNKNOWN: "UNKNOWN";
|
|
1019
|
-
}>>;
|
|
1020
|
-
mergeStateStatus: z.ZodOptional<z.ZodString>;
|
|
1021
|
-
mergedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1022
|
-
mergeCommitSha: z.ZodOptional<z.ZodString>;
|
|
1023
|
-
mergeBlock: z.ZodOptional<z.ZodObject<{
|
|
1024
|
-
reason: z.ZodEnum<{
|
|
1025
|
-
conflict: "conflict";
|
|
1026
|
-
no_pending_merge: "no_pending_merge";
|
|
1027
|
-
}>;
|
|
1028
|
-
isInMergeQueue: z.ZodBoolean;
|
|
1029
|
-
autoMergeEnabled: z.ZodBoolean;
|
|
1030
|
-
event: z.ZodOptional<z.ZodObject<{
|
|
1031
|
-
kind: z.ZodEnum<{
|
|
1032
|
-
auto_merge_disabled: "auto_merge_disabled";
|
|
1033
|
-
queue_removal: "queue_removal";
|
|
1034
|
-
}>;
|
|
1035
|
-
createdAt: z.ZodISODateTime;
|
|
1036
|
-
reason: z.ZodOptional<z.ZodString>;
|
|
1037
|
-
reasonCode: z.ZodOptional<z.ZodString>;
|
|
1038
|
-
}, z.core.$strict>>;
|
|
1039
|
-
}, z.core.$strict>>;
|
|
1040
|
-
observedAt: z.ZodISODateTime;
|
|
1041
|
-
checks: z.ZodArray<z.ZodObject<{
|
|
1042
|
-
name: z.ZodString;
|
|
1043
|
-
state: z.ZodString;
|
|
1044
|
-
link: z.ZodString;
|
|
1045
|
-
}, z.core.$strict>>;
|
|
1046
|
-
totalChecks: z.ZodNumber;
|
|
1047
|
-
truncated: z.ZodBoolean;
|
|
1048
|
-
diagnostic: z.ZodOptional<z.ZodString>;
|
|
1049
|
-
}, z.core.$strict>>;
|
|
1050
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1051
|
-
id: z.ZodUUID;
|
|
1052
|
-
source: z.ZodEnum<{
|
|
1053
|
-
agent: "agent";
|
|
1054
|
-
cezar: "cezar";
|
|
1055
|
-
}>;
|
|
1056
|
-
via: z.ZodEnum<{
|
|
1057
|
-
"ask-line": "ask-line";
|
|
1058
|
-
budget: "budget";
|
|
1059
|
-
"cez-message-wait": "cez-message-wait";
|
|
1060
|
-
"cez-worker-wait": "cez-worker-wait";
|
|
1061
|
-
cezar_ask: "cezar_ask";
|
|
1062
|
-
cezar_wait: "cezar_wait";
|
|
1063
|
-
cezar_wait_for_ci: "cezar_wait_for_ci";
|
|
1064
|
-
completion: "completion";
|
|
1065
|
-
"monitoring-line": "monitoring-line";
|
|
1066
|
-
"native-ask": "native-ask";
|
|
1067
|
-
"native-subagents": "native-subagents";
|
|
1068
|
-
"no-wait": "no-wait";
|
|
1069
|
-
"schedule-wakeup": "schedule-wakeup";
|
|
1070
|
-
}>;
|
|
1071
|
-
registeredAt: z.ZodISODateTime;
|
|
1072
|
-
phase: z.ZodEnum<{
|
|
1073
|
-
cancelled: "cancelled";
|
|
1074
|
-
delivered: "delivered";
|
|
1075
|
-
open: "open";
|
|
1076
|
-
resolved: "resolved";
|
|
1077
|
-
}>;
|
|
1078
|
-
resolvedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1079
|
-
deliveredAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1080
|
-
cancelledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1081
|
-
turnId: z.ZodString;
|
|
1082
|
-
kind: z.ZodLiteral<"timer">;
|
|
1083
|
-
deadline: z.ZodISODateTime;
|
|
1084
|
-
seconds: z.ZodNumber;
|
|
1085
|
-
note: z.ZodOptional<z.ZodString>;
|
|
1086
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1087
|
-
id: z.ZodUUID;
|
|
1088
|
-
source: z.ZodEnum<{
|
|
1089
|
-
agent: "agent";
|
|
1090
|
-
cezar: "cezar";
|
|
1091
|
-
}>;
|
|
1092
|
-
via: z.ZodEnum<{
|
|
1093
|
-
"ask-line": "ask-line";
|
|
1094
|
-
budget: "budget";
|
|
1095
|
-
"cez-message-wait": "cez-message-wait";
|
|
1096
|
-
"cez-worker-wait": "cez-worker-wait";
|
|
1097
|
-
cezar_ask: "cezar_ask";
|
|
1098
|
-
cezar_wait: "cezar_wait";
|
|
1099
|
-
cezar_wait_for_ci: "cezar_wait_for_ci";
|
|
1100
|
-
completion: "completion";
|
|
1101
|
-
"monitoring-line": "monitoring-line";
|
|
1102
|
-
"native-ask": "native-ask";
|
|
1103
|
-
"native-subagents": "native-subagents";
|
|
1104
|
-
"no-wait": "no-wait";
|
|
1105
|
-
"schedule-wakeup": "schedule-wakeup";
|
|
1106
|
-
}>;
|
|
1107
|
-
registeredAt: z.ZodISODateTime;
|
|
1108
|
-
phase: z.ZodEnum<{
|
|
1109
|
-
cancelled: "cancelled";
|
|
1110
|
-
delivered: "delivered";
|
|
1111
|
-
open: "open";
|
|
1112
|
-
resolved: "resolved";
|
|
1113
|
-
}>;
|
|
1114
|
-
resolvedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1115
|
-
deliveredAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1116
|
-
cancelledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1117
|
-
turnId: z.ZodString;
|
|
1118
|
-
kind: z.ZodLiteral<"human">;
|
|
1119
|
-
questions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1120
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1121
|
-
header: z.ZodString;
|
|
1122
|
-
question: z.ZodString;
|
|
1123
|
-
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1124
|
-
label: z.ZodString;
|
|
1125
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1126
|
-
}, z.core.$strict>>>;
|
|
1127
|
-
multiSelect: z.ZodOptional<z.ZodBoolean>;
|
|
1128
|
-
}, z.core.$strict>>>;
|
|
1129
|
-
context: z.ZodOptional<z.ZodString>;
|
|
1130
|
-
askSeq: z.ZodOptional<z.ZodNumber>;
|
|
1131
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1132
|
-
id: z.ZodUUID;
|
|
1133
|
-
source: z.ZodEnum<{
|
|
1134
|
-
agent: "agent";
|
|
1135
|
-
cezar: "cezar";
|
|
1136
|
-
}>;
|
|
1137
|
-
via: z.ZodEnum<{
|
|
1138
|
-
"ask-line": "ask-line";
|
|
1139
|
-
budget: "budget";
|
|
1140
|
-
"cez-message-wait": "cez-message-wait";
|
|
1141
|
-
"cez-worker-wait": "cez-worker-wait";
|
|
1142
|
-
cezar_ask: "cezar_ask";
|
|
1143
|
-
cezar_wait: "cezar_wait";
|
|
1144
|
-
cezar_wait_for_ci: "cezar_wait_for_ci";
|
|
1145
|
-
completion: "completion";
|
|
1146
|
-
"monitoring-line": "monitoring-line";
|
|
1147
|
-
"native-ask": "native-ask";
|
|
1148
|
-
"native-subagents": "native-subagents";
|
|
1149
|
-
"no-wait": "no-wait";
|
|
1150
|
-
"schedule-wakeup": "schedule-wakeup";
|
|
1151
|
-
}>;
|
|
1152
|
-
registeredAt: z.ZodISODateTime;
|
|
1153
|
-
phase: z.ZodEnum<{
|
|
1154
|
-
cancelled: "cancelled";
|
|
1155
|
-
delivered: "delivered";
|
|
1156
|
-
open: "open";
|
|
1157
|
-
resolved: "resolved";
|
|
1158
|
-
}>;
|
|
1159
|
-
resolvedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1160
|
-
deliveredAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1161
|
-
cancelledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1162
|
-
turnId: z.ZodString;
|
|
1163
|
-
kind: z.ZodLiteral<"worker">;
|
|
1164
|
-
deadline: z.ZodOptional<z.ZodISODateTime>;
|
|
1165
|
-
timeoutSeconds: z.ZodOptional<z.ZodNumber>;
|
|
1166
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
1167
|
-
all: "all";
|
|
1168
|
-
any: "any";
|
|
1169
|
-
one: "one";
|
|
1170
|
-
}>>;
|
|
1171
|
-
workerIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
1172
|
-
revisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1173
|
-
workerId: z.ZodUUID;
|
|
1174
|
-
revision: z.ZodNumber;
|
|
1175
|
-
}, z.core.$strict>>>;
|
|
1176
|
-
outcomes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1177
|
-
workerId: z.ZodUUID;
|
|
1178
|
-
status: z.ZodEnum<{
|
|
1179
|
-
cancelled: "cancelled";
|
|
1180
|
-
done: "done";
|
|
1181
|
-
failed: "failed";
|
|
1182
|
-
review: "review";
|
|
1183
|
-
}>;
|
|
1184
|
-
observedAt: z.ZodISODateTime;
|
|
1185
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
1186
|
-
revision: z.ZodOptional<z.ZodNumber>;
|
|
1187
|
-
}, z.core.$strict>>>;
|
|
1188
|
-
requestIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
1189
|
-
requestOutcomes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1190
|
-
requestId: z.ZodUUID;
|
|
1191
|
-
status: z.ZodEnum<{
|
|
1192
|
-
cancelled: "cancelled";
|
|
1193
|
-
"completed-without-reply": "completed-without-reply";
|
|
1194
|
-
deleted: "deleted";
|
|
1195
|
-
destroyed: "destroyed";
|
|
1196
|
-
failed: "failed";
|
|
1197
|
-
"human-fallback": "human-fallback";
|
|
1198
|
-
replied: "replied";
|
|
1199
|
-
"replied-late": "replied-late";
|
|
1200
|
-
"sender-closed": "sender-closed";
|
|
1201
|
-
"timed-out": "timed-out";
|
|
1202
|
-
}>;
|
|
1203
|
-
observedAt: z.ZodISODateTime;
|
|
1204
|
-
replyId: z.ZodOptional<z.ZodUUID>;
|
|
1205
|
-
}, z.core.$strict>>>;
|
|
1206
|
-
result: z.ZodOptional<z.ZodObject<{
|
|
1207
|
-
reason: z.ZodEnum<{
|
|
1208
|
-
outcome: "outcome";
|
|
1209
|
-
timeout: "timeout";
|
|
1210
|
-
}>;
|
|
1211
|
-
}, z.core.$strict>>;
|
|
1212
|
-
wakeInputId: z.ZodOptional<z.ZodUUID>;
|
|
1213
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1214
|
-
id: z.ZodUUID;
|
|
1215
|
-
source: z.ZodEnum<{
|
|
1216
|
-
agent: "agent";
|
|
1217
|
-
cezar: "cezar";
|
|
1218
|
-
}>;
|
|
1219
|
-
via: z.ZodEnum<{
|
|
1220
|
-
"ask-line": "ask-line";
|
|
1221
|
-
budget: "budget";
|
|
1222
|
-
"cez-message-wait": "cez-message-wait";
|
|
1223
|
-
"cez-worker-wait": "cez-worker-wait";
|
|
1224
|
-
cezar_ask: "cezar_ask";
|
|
1225
|
-
cezar_wait: "cezar_wait";
|
|
1226
|
-
cezar_wait_for_ci: "cezar_wait_for_ci";
|
|
1227
|
-
completion: "completion";
|
|
1228
|
-
"monitoring-line": "monitoring-line";
|
|
1229
|
-
"native-ask": "native-ask";
|
|
1230
|
-
"native-subagents": "native-subagents";
|
|
1231
|
-
"no-wait": "no-wait";
|
|
1232
|
-
"schedule-wakeup": "schedule-wakeup";
|
|
1233
|
-
}>;
|
|
1234
|
-
registeredAt: z.ZodISODateTime;
|
|
1235
|
-
phase: z.ZodEnum<{
|
|
1236
|
-
cancelled: "cancelled";
|
|
1237
|
-
delivered: "delivered";
|
|
1238
|
-
open: "open";
|
|
1239
|
-
resolved: "resolved";
|
|
1240
|
-
}>;
|
|
1241
|
-
resolvedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1242
|
-
deliveredAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1243
|
-
cancelledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1244
|
-
turnId: z.ZodString;
|
|
1245
|
-
kind: z.ZodLiteral<"process">;
|
|
1246
|
-
deadline: z.ZodISODateTime;
|
|
1247
|
-
timeoutSeconds: z.ZodNumber;
|
|
1248
|
-
pid: z.ZodNumber;
|
|
1249
|
-
startToken: z.ZodOptional<z.ZodString>;
|
|
1250
|
-
exitFile: z.ZodOptional<z.ZodString>;
|
|
1251
|
-
note: z.ZodOptional<z.ZodString>;
|
|
1252
|
-
result: z.ZodOptional<z.ZodObject<{
|
|
1253
|
-
outcome: z.ZodEnum<{
|
|
1254
|
-
deadline: "deadline";
|
|
1255
|
-
error: "error";
|
|
1256
|
-
exit_file: "exit_file";
|
|
1257
|
-
exited: "exited";
|
|
1258
|
-
}>;
|
|
1259
|
-
observedAt: z.ZodISODateTime;
|
|
1260
|
-
exitCode: z.ZodOptional<z.ZodNumber>;
|
|
1261
|
-
exitFileNote: z.ZodOptional<z.ZodLiteral<"not-an-exit-code">>;
|
|
1262
|
-
diagnostic: z.ZodOptional<z.ZodString>;
|
|
1263
|
-
}, z.core.$strict>>;
|
|
1264
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1265
|
-
id: z.ZodUUID;
|
|
1266
|
-
source: z.ZodEnum<{
|
|
1267
|
-
agent: "agent";
|
|
1268
|
-
cezar: "cezar";
|
|
1269
|
-
}>;
|
|
1270
|
-
via: z.ZodEnum<{
|
|
1271
|
-
"ask-line": "ask-line";
|
|
1272
|
-
budget: "budget";
|
|
1273
|
-
"cez-message-wait": "cez-message-wait";
|
|
1274
|
-
"cez-worker-wait": "cez-worker-wait";
|
|
1275
|
-
cezar_ask: "cezar_ask";
|
|
1276
|
-
cezar_wait: "cezar_wait";
|
|
1277
|
-
cezar_wait_for_ci: "cezar_wait_for_ci";
|
|
1278
|
-
completion: "completion";
|
|
1279
|
-
"monitoring-line": "monitoring-line";
|
|
1280
|
-
"native-ask": "native-ask";
|
|
1281
|
-
"native-subagents": "native-subagents";
|
|
1282
|
-
"no-wait": "no-wait";
|
|
1283
|
-
"schedule-wakeup": "schedule-wakeup";
|
|
1284
|
-
}>;
|
|
1285
|
-
registeredAt: z.ZodISODateTime;
|
|
1286
|
-
phase: z.ZodEnum<{
|
|
1287
|
-
cancelled: "cancelled";
|
|
1288
|
-
delivered: "delivered";
|
|
1289
|
-
open: "open";
|
|
1290
|
-
resolved: "resolved";
|
|
1291
|
-
}>;
|
|
1292
|
-
resolvedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1293
|
-
deliveredAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1294
|
-
cancelledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1295
|
-
turnId: z.ZodString;
|
|
1296
|
-
kind: z.ZodLiteral<"peer">;
|
|
1297
|
-
deadline: z.ZodISODateTime;
|
|
1298
|
-
timeoutSeconds: z.ZodNumber;
|
|
1299
|
-
peerIds: z.ZodArray<z.ZodUUID>;
|
|
1300
|
-
result: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1301
|
-
reason: z.ZodLiteral<"message">;
|
|
1302
|
-
peerRunId: z.ZodUUID;
|
|
1303
|
-
messageId: z.ZodUUID;
|
|
1304
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1305
|
-
reason: z.ZodLiteral<"settled">;
|
|
1306
|
-
peerRunId: z.ZodUUID;
|
|
1307
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1308
|
-
reason: z.ZodLiteral<"timeout">;
|
|
1309
|
-
}, z.core.$strict>], "reason">>;
|
|
1310
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1311
|
-
id: z.ZodUUID;
|
|
1312
|
-
registeredAt: z.ZodISODateTime;
|
|
1313
|
-
phase: z.ZodEnum<{
|
|
1314
|
-
cancelled: "cancelled";
|
|
1315
|
-
delivered: "delivered";
|
|
1316
|
-
open: "open";
|
|
1317
|
-
resolved: "resolved";
|
|
1318
|
-
}>;
|
|
1319
|
-
resolvedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1320
|
-
deliveredAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1321
|
-
cancelledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1322
|
-
turnId: z.ZodString;
|
|
1323
|
-
kind: z.ZodLiteral<"subagent">;
|
|
1324
|
-
source: z.ZodLiteral<"cezar">;
|
|
1325
|
-
via: z.ZodLiteral<"native-subagents">;
|
|
1326
|
-
deadline: z.ZodISODateTime;
|
|
1327
|
-
children: z.ZodArray<z.ZodObject<{
|
|
1328
|
-
id: z.ZodString;
|
|
1329
|
-
status: z.ZodEnum<{
|
|
1330
|
-
cancelled: "cancelled";
|
|
1331
|
-
completed: "completed";
|
|
1332
|
-
failed: "failed";
|
|
1333
|
-
running: "running";
|
|
1334
|
-
}>;
|
|
1335
|
-
}, z.core.$strict>>;
|
|
1336
|
-
result: z.ZodOptional<z.ZodObject<{
|
|
1337
|
-
reason: z.ZodEnum<{
|
|
1338
|
-
interrupted: "interrupted";
|
|
1339
|
-
settled: "settled";
|
|
1340
|
-
superseded: "superseded";
|
|
1341
|
-
timeout: "timeout";
|
|
1342
|
-
}>;
|
|
1343
|
-
}, z.core.$strict>>;
|
|
1344
|
-
}, z.core.$strict>], "kind">>>;
|
|
1345
|
-
previewServers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1346
|
-
port: z.ZodNumber;
|
|
1347
|
-
command: z.ZodString;
|
|
1348
|
-
cwd: z.ZodOptional<z.ZodString>;
|
|
1349
|
-
label: z.ZodString;
|
|
1350
|
-
path: z.ZodOptional<z.ZodString>;
|
|
1351
|
-
registeredAt: z.ZodISODateTime;
|
|
1352
|
-
answeredAtRegistration: z.ZodBoolean;
|
|
1353
|
-
}, z.core.$strip>>>;
|
|
1354
|
-
taskImages: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1355
|
-
model: z.ZodOptional<z.ZodString>;
|
|
1356
|
-
effort: z.ZodOptional<z.ZodString>;
|
|
1357
|
-
modelIdentity: z.ZodOptional<z.ZodString>;
|
|
1358
|
-
agentProfile: z.ZodOptional<z.ZodString>;
|
|
1359
|
-
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
1360
|
-
generateFollowups: z.ZodOptional<z.ZodBoolean>;
|
|
1361
|
-
autonomous: z.ZodOptional<z.ZodBoolean>;
|
|
1362
|
-
completionAction: z.ZodOptional<z.ZodObject<{
|
|
1363
|
-
id: z.ZodString;
|
|
1364
|
-
phase: z.ZodEnum<{
|
|
1365
|
-
blocked: "blocked";
|
|
1366
|
-
complete: "complete";
|
|
1367
|
-
pending: "pending";
|
|
1368
|
-
}>;
|
|
1369
|
-
message: z.ZodOptional<z.ZodString>;
|
|
1370
|
-
}, z.core.$strip>>;
|
|
1371
|
-
archiveBlocker: z.ZodOptional<z.ZodObject<{
|
|
1372
|
-
message: z.ZodString;
|
|
1373
|
-
runId: z.ZodOptional<z.ZodString>;
|
|
1374
|
-
pullRequestUrl: z.ZodOptional<z.ZodString>;
|
|
1375
|
-
}, z.core.$strip>>;
|
|
1376
|
-
status: z.ZodEnum<{
|
|
1377
|
-
cancelled: "cancelled";
|
|
1378
|
-
done: "done";
|
|
1379
|
-
failed: "failed";
|
|
1380
|
-
queued: "queued";
|
|
1381
|
-
review: "review";
|
|
1382
|
-
running: "running";
|
|
1383
|
-
waiting: "waiting";
|
|
1384
|
-
}>;
|
|
1385
|
-
createdAt: z.ZodString;
|
|
1386
|
-
startedAt: z.ZodOptional<z.ZodString>;
|
|
1387
|
-
finishedAt: z.ZodOptional<z.ZodString>;
|
|
1388
|
-
tokensUsed: z.ZodNumber;
|
|
1389
|
-
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1390
|
-
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1391
|
-
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
1392
|
-
pullRequestUrl: z.ZodOptional<z.ZodString>;
|
|
1393
|
-
referencedPullRequestUrl: z.ZodOptional<z.ZodString>;
|
|
1394
|
-
prNumber: z.ZodOptional<z.ZodNumber>;
|
|
1395
|
-
issueNumber: z.ZodOptional<z.ZodNumber>;
|
|
1396
|
-
referencedIssueNumberSeeded: z.ZodOptional<z.ZodBoolean>;
|
|
1397
|
-
titleOrigin: z.ZodOptional<z.ZodEnum<{
|
|
1398
|
-
auto: "auto";
|
|
1399
|
-
marker: "marker";
|
|
1400
|
-
user: "user";
|
|
1401
|
-
}>>;
|
|
1402
|
-
markerRefs: z.ZodOptional<z.ZodObject<{
|
|
1403
|
-
pr: z.ZodOptional<z.ZodNumber>;
|
|
1404
|
-
issue: z.ZodOptional<z.ZodNumber>;
|
|
1405
|
-
}, z.core.$strip>>;
|
|
1406
|
-
referencedPrCandidates: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1407
|
-
referencedIssueUrl: z.ZodOptional<z.ZodString>;
|
|
1408
|
-
referencedIssueCandidates: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1409
|
-
worktree: z.ZodOptional<z.ZodLiteral<false>>;
|
|
1410
|
-
worktreePath: z.ZodOptional<z.ZodString>;
|
|
1411
|
-
branch: z.ZodOptional<z.ZodString>;
|
|
1412
|
-
baseBranch: z.ZodOptional<z.ZodString>;
|
|
1413
|
-
worktreeReclaimedAt: z.ZodOptional<z.ZodString>;
|
|
1414
|
-
groupId: z.ZodOptional<z.ZodString>;
|
|
1415
|
-
variant: z.ZodOptional<z.ZodString>;
|
|
1416
|
-
clientRequestId: z.ZodOptional<z.ZodString>;
|
|
1417
|
-
clientRequestHash: z.ZodOptional<z.ZodString>;
|
|
1418
|
-
peakRssBytes: z.ZodOptional<z.ZodNumber>;
|
|
1419
|
-
peakProcCount: z.ZodOptional<z.ZodNumber>;
|
|
1420
|
-
archivedAt: z.ZodOptional<z.ZodString>;
|
|
1421
|
-
autoArchive: z.ZodOptional<z.ZodObject<{
|
|
1422
|
-
reason: z.ZodLiteral<"pull-requests-merged">;
|
|
1423
|
-
archivedAt: z.ZodString;
|
|
1424
|
-
fingerprint: z.ZodString;
|
|
1425
|
-
pullRequests: z.ZodArray<z.ZodObject<{
|
|
1426
|
-
owner: z.ZodString;
|
|
1427
|
-
repo: z.ZodString;
|
|
1428
|
-
number: z.ZodNumber;
|
|
1429
|
-
mergedAt: z.ZodString;
|
|
1430
|
-
}, z.core.$strip>>;
|
|
1431
|
-
}, z.core.$strip>>;
|
|
1432
|
-
manualUnarchivedAt: z.ZodOptional<z.ZodString>;
|
|
1433
|
-
pinned: z.ZodOptional<z.ZodBoolean>;
|
|
1434
|
-
pinnedAt: z.ZodOptional<z.ZodString>;
|
|
1435
|
-
seenAt: z.ZodOptional<z.ZodString>;
|
|
1436
|
-
currentStepId: z.ZodOptional<z.ZodString>;
|
|
1437
|
-
error: z.ZodOptional<z.ZodString>;
|
|
1438
|
-
delegation: z.ZodCatch<z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1439
|
-
role: z.ZodLiteral<"root">;
|
|
1440
|
-
conversation: z.ZodOptional<z.ZodObject<{
|
|
1441
|
-
messages: z.ZodArray<z.ZodObject<{
|
|
1442
|
-
senderRunId: z.ZodUUID;
|
|
1443
|
-
recipientRunId: z.ZodUUID;
|
|
1444
|
-
kind: z.ZodEnum<{
|
|
1445
|
-
"follow-up": "follow-up";
|
|
1446
|
-
progress: "progress";
|
|
1447
|
-
reply: "reply";
|
|
1448
|
-
request: "request";
|
|
1449
|
-
}>;
|
|
1450
|
-
requestId: z.ZodOptional<z.ZodUUID>;
|
|
1451
|
-
relationship: z.ZodOptional<z.ZodEnum<{
|
|
1452
|
-
family: "family";
|
|
1453
|
-
peer: "peer";
|
|
1454
|
-
}>>;
|
|
1455
|
-
id: z.ZodUUID;
|
|
1456
|
-
text: z.ZodString;
|
|
1457
|
-
createdAt: z.ZodISODateTime;
|
|
1458
|
-
deadline: z.ZodOptional<z.ZodISODateTime>;
|
|
1459
|
-
requestHash: z.ZodString;
|
|
1460
|
-
state: z.ZodEnum<{
|
|
1461
|
-
accepted: "accepted";
|
|
1462
|
-
"continuation-required": "continuation-required";
|
|
1463
|
-
destroyed: "destroyed";
|
|
1464
|
-
late: "late";
|
|
1465
|
-
}>;
|
|
1466
|
-
resumed: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1467
|
-
instruction: z.ZodOptional<z.ZodString>;
|
|
1468
|
-
question: z.ZodOptional<z.ZodObject<{
|
|
1469
|
-
context: z.ZodOptional<z.ZodString>;
|
|
1470
|
-
questions: z.ZodArray<z.ZodObject<{
|
|
1471
|
-
id: z.ZodOptional<z.ZodString>;
|
|
1472
|
-
header: z.ZodString;
|
|
1473
|
-
question: z.ZodString;
|
|
1474
|
-
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1475
|
-
label: z.ZodString;
|
|
1476
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1477
|
-
}, z.core.$strict>>>;
|
|
1478
|
-
multiSelect: z.ZodOptional<z.ZodBoolean>;
|
|
1479
|
-
}, z.core.$strict>>;
|
|
1480
|
-
}, z.core.$strict>>;
|
|
1481
|
-
}, z.core.$strict>>;
|
|
1482
|
-
outcomes: z.ZodArray<z.ZodObject<{
|
|
1483
|
-
requestId: z.ZodUUID;
|
|
1484
|
-
status: z.ZodEnum<{
|
|
1485
|
-
cancelled: "cancelled";
|
|
1486
|
-
"completed-without-reply": "completed-without-reply";
|
|
1487
|
-
deleted: "deleted";
|
|
1488
|
-
destroyed: "destroyed";
|
|
1489
|
-
failed: "failed";
|
|
1490
|
-
"human-fallback": "human-fallback";
|
|
1491
|
-
replied: "replied";
|
|
1492
|
-
"replied-late": "replied-late";
|
|
1493
|
-
"sender-closed": "sender-closed";
|
|
1494
|
-
"timed-out": "timed-out";
|
|
1495
|
-
}>;
|
|
1496
|
-
observedAt: z.ZodISODateTime;
|
|
1497
|
-
replyId: z.ZodOptional<z.ZodUUID>;
|
|
1498
|
-
}, z.core.$strict>>;
|
|
1499
|
-
}, z.core.$strict>>;
|
|
1500
|
-
permissions: z.ZodArray<z.ZodEnum<{
|
|
1501
|
-
destroy: "destroy";
|
|
1502
|
-
diff: "diff";
|
|
1503
|
-
inspect: "inspect";
|
|
1504
|
-
spawn: "spawn";
|
|
1505
|
-
steer: "steer";
|
|
1506
|
-
stop: "stop";
|
|
1507
|
-
wait: "wait";
|
|
1508
|
-
}>>;
|
|
1509
|
-
receipts: z.ZodArray<z.ZodObject<{
|
|
1510
|
-
requestId: z.ZodUUID;
|
|
1511
|
-
workerId: z.ZodUUID;
|
|
1512
|
-
requestHash: z.ZodString;
|
|
1513
|
-
deletion: z.ZodOptional<z.ZodObject<{
|
|
1514
|
-
phase: z.ZodEnum<{
|
|
1515
|
-
complete: "complete";
|
|
1516
|
-
pending: "pending";
|
|
1517
|
-
}>;
|
|
1518
|
-
revision: z.ZodNumber;
|
|
1519
|
-
resourceId: z.ZodUUID;
|
|
1520
|
-
generation: z.ZodUUID;
|
|
1521
|
-
}, z.core.$strict>>;
|
|
1522
|
-
}, z.core.$strict>>;
|
|
1523
|
-
wait: z.ZodOptional<z.ZodObject<{
|
|
1524
|
-
id: z.ZodUUID;
|
|
1525
|
-
workerIds: z.ZodArray<z.ZodUUID>;
|
|
1526
|
-
requestIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
1527
|
-
requestOutcomes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1528
|
-
requestId: z.ZodUUID;
|
|
1529
|
-
status: z.ZodEnum<{
|
|
1530
|
-
cancelled: "cancelled";
|
|
1531
|
-
"completed-without-reply": "completed-without-reply";
|
|
1532
|
-
deleted: "deleted";
|
|
1533
|
-
destroyed: "destroyed";
|
|
1534
|
-
failed: "failed";
|
|
1535
|
-
"human-fallback": "human-fallback";
|
|
1536
|
-
replied: "replied";
|
|
1537
|
-
"replied-late": "replied-late";
|
|
1538
|
-
"sender-closed": "sender-closed";
|
|
1539
|
-
"timed-out": "timed-out";
|
|
1540
|
-
}>;
|
|
1541
|
-
observedAt: z.ZodISODateTime;
|
|
1542
|
-
replyId: z.ZodOptional<z.ZodUUID>;
|
|
1543
|
-
}, z.core.$strict>>>;
|
|
1544
|
-
deadline: z.ZodISODateTime;
|
|
1545
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
1546
|
-
all: "all";
|
|
1547
|
-
any: "any";
|
|
1548
|
-
one: "one";
|
|
1549
|
-
}>>;
|
|
1550
|
-
revisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1551
|
-
workerId: z.ZodUUID;
|
|
1552
|
-
revision: z.ZodNumber;
|
|
1553
|
-
}, z.core.$strict>>>;
|
|
1554
|
-
reason: z.ZodOptional<z.ZodEnum<{
|
|
1555
|
-
cancelled: "cancelled";
|
|
1556
|
-
message: "message";
|
|
1557
|
-
outcome: "outcome";
|
|
1558
|
-
timeout: "timeout";
|
|
1559
|
-
}>>;
|
|
1560
|
-
phase: z.ZodEnum<{
|
|
1561
|
-
parked: "parked";
|
|
1562
|
-
registered: "registered";
|
|
1563
|
-
"wake-pending": "wake-pending";
|
|
1564
|
-
}>;
|
|
1565
|
-
outcomes: z.ZodArray<z.ZodObject<{
|
|
1566
|
-
workerId: z.ZodUUID;
|
|
1567
|
-
status: z.ZodEnum<{
|
|
1568
|
-
cancelled: "cancelled";
|
|
1569
|
-
done: "done";
|
|
1570
|
-
failed: "failed";
|
|
1571
|
-
review: "review";
|
|
1572
|
-
}>;
|
|
1573
|
-
observedAt: z.ZodISODateTime;
|
|
1574
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
1575
|
-
revision: z.ZodOptional<z.ZodNumber>;
|
|
1576
|
-
}, z.core.$strict>>;
|
|
1577
|
-
wakeId: z.ZodOptional<z.ZodUUID>;
|
|
1578
|
-
}, z.core.$strict>>;
|
|
1579
|
-
lastWait: z.ZodOptional<z.ZodObject<{
|
|
1580
|
-
id: z.ZodUUID;
|
|
1581
|
-
workerIds: z.ZodArray<z.ZodUUID>;
|
|
1582
|
-
requestIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
1583
|
-
requestOutcomes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1584
|
-
requestId: z.ZodUUID;
|
|
1585
|
-
status: z.ZodEnum<{
|
|
1586
|
-
cancelled: "cancelled";
|
|
1587
|
-
"completed-without-reply": "completed-without-reply";
|
|
1588
|
-
deleted: "deleted";
|
|
1589
|
-
destroyed: "destroyed";
|
|
1590
|
-
failed: "failed";
|
|
1591
|
-
"human-fallback": "human-fallback";
|
|
1592
|
-
replied: "replied";
|
|
1593
|
-
"replied-late": "replied-late";
|
|
1594
|
-
"sender-closed": "sender-closed";
|
|
1595
|
-
"timed-out": "timed-out";
|
|
1596
|
-
}>;
|
|
1597
|
-
observedAt: z.ZodISODateTime;
|
|
1598
|
-
replyId: z.ZodOptional<z.ZodUUID>;
|
|
1599
|
-
}, z.core.$strict>>>;
|
|
1600
|
-
deadline: z.ZodISODateTime;
|
|
1601
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
1602
|
-
all: "all";
|
|
1603
|
-
any: "any";
|
|
1604
|
-
one: "one";
|
|
1605
|
-
}>>;
|
|
1606
|
-
revisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1607
|
-
workerId: z.ZodUUID;
|
|
1608
|
-
revision: z.ZodNumber;
|
|
1609
|
-
}, z.core.$strict>>>;
|
|
1610
|
-
reason: z.ZodOptional<z.ZodEnum<{
|
|
1611
|
-
cancelled: "cancelled";
|
|
1612
|
-
message: "message";
|
|
1613
|
-
outcome: "outcome";
|
|
1614
|
-
timeout: "timeout";
|
|
1615
|
-
}>>;
|
|
1616
|
-
phase: z.ZodEnum<{
|
|
1617
|
-
parked: "parked";
|
|
1618
|
-
registered: "registered";
|
|
1619
|
-
"wake-pending": "wake-pending";
|
|
1620
|
-
}>;
|
|
1621
|
-
outcomes: z.ZodArray<z.ZodObject<{
|
|
1622
|
-
workerId: z.ZodUUID;
|
|
1623
|
-
status: z.ZodEnum<{
|
|
1624
|
-
cancelled: "cancelled";
|
|
1625
|
-
done: "done";
|
|
1626
|
-
failed: "failed";
|
|
1627
|
-
review: "review";
|
|
1628
|
-
}>;
|
|
1629
|
-
observedAt: z.ZodISODateTime;
|
|
1630
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
1631
|
-
revision: z.ZodOptional<z.ZodNumber>;
|
|
1632
|
-
}, z.core.$strict>>;
|
|
1633
|
-
wakeId: z.ZodOptional<z.ZodUUID>;
|
|
1634
|
-
}, z.core.$strict>>;
|
|
1635
|
-
results: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1636
|
-
workerId: z.ZodUUID;
|
|
1637
|
-
revision: z.ZodNumber;
|
|
1638
|
-
snapshotId: z.ZodUUID;
|
|
1639
|
-
observedAt: z.ZodISODateTime;
|
|
1640
|
-
lastExecutionOutcome: z.ZodEnum<{
|
|
1641
|
-
cancelled: "cancelled";
|
|
1642
|
-
completed: "completed";
|
|
1643
|
-
failed: "failed";
|
|
1644
|
-
"review-ready": "review-ready";
|
|
1645
|
-
running: "running";
|
|
1646
|
-
}>;
|
|
1647
|
-
previous: z.ZodOptional<z.ZodObject<{
|
|
1648
|
-
revision: z.ZodNumber;
|
|
1649
|
-
observedAt: z.ZodISODateTime;
|
|
1650
|
-
lastExecutionOutcome: z.ZodEnum<{
|
|
1651
|
-
cancelled: "cancelled";
|
|
1652
|
-
completed: "completed";
|
|
1653
|
-
failed: "failed";
|
|
1654
|
-
"review-ready": "review-ready";
|
|
1655
|
-
running: "running";
|
|
1656
|
-
}>;
|
|
1657
|
-
}, z.core.$strict>>;
|
|
1658
|
-
}, z.core.$strict>>>;
|
|
1659
|
-
finishRequestedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
1660
|
-
historyDeletion: z.ZodOptional<z.ZodLiteral<"pending">>;
|
|
1661
|
-
completion: z.ZodOptional<z.ZodObject<{
|
|
1662
|
-
phase: z.ZodEnum<{
|
|
1663
|
-
attention: "attention";
|
|
1664
|
-
waiting: "waiting";
|
|
1665
|
-
}>;
|
|
1666
|
-
waitId: z.ZodOptional<z.ZodUUID>;
|
|
1667
|
-
}, z.core.$strict>>;
|
|
1668
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1669
|
-
role: z.ZodLiteral<"worker">;
|
|
1670
|
-
wait: z.ZodOptional<z.ZodObject<{
|
|
1671
|
-
id: z.ZodUUID;
|
|
1672
|
-
workerIds: z.ZodArray<z.ZodUUID>;
|
|
1673
|
-
requestIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
1674
|
-
requestOutcomes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1675
|
-
requestId: z.ZodUUID;
|
|
1676
|
-
status: z.ZodEnum<{
|
|
1677
|
-
cancelled: "cancelled";
|
|
1678
|
-
"completed-without-reply": "completed-without-reply";
|
|
1679
|
-
deleted: "deleted";
|
|
1680
|
-
destroyed: "destroyed";
|
|
1681
|
-
failed: "failed";
|
|
1682
|
-
"human-fallback": "human-fallback";
|
|
1683
|
-
replied: "replied";
|
|
1684
|
-
"replied-late": "replied-late";
|
|
1685
|
-
"sender-closed": "sender-closed";
|
|
1686
|
-
"timed-out": "timed-out";
|
|
1687
|
-
}>;
|
|
1688
|
-
observedAt: z.ZodISODateTime;
|
|
1689
|
-
replyId: z.ZodOptional<z.ZodUUID>;
|
|
1690
|
-
}, z.core.$strict>>>;
|
|
1691
|
-
deadline: z.ZodISODateTime;
|
|
1692
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
1693
|
-
all: "all";
|
|
1694
|
-
any: "any";
|
|
1695
|
-
one: "one";
|
|
1696
|
-
}>>;
|
|
1697
|
-
revisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1698
|
-
workerId: z.ZodUUID;
|
|
1699
|
-
revision: z.ZodNumber;
|
|
1700
|
-
}, z.core.$strict>>>;
|
|
1701
|
-
reason: z.ZodOptional<z.ZodEnum<{
|
|
1702
|
-
cancelled: "cancelled";
|
|
1703
|
-
message: "message";
|
|
1704
|
-
outcome: "outcome";
|
|
1705
|
-
timeout: "timeout";
|
|
1706
|
-
}>>;
|
|
1707
|
-
phase: z.ZodEnum<{
|
|
1708
|
-
parked: "parked";
|
|
1709
|
-
registered: "registered";
|
|
1710
|
-
"wake-pending": "wake-pending";
|
|
1711
|
-
}>;
|
|
1712
|
-
outcomes: z.ZodArray<z.ZodObject<{
|
|
1713
|
-
workerId: z.ZodUUID;
|
|
1714
|
-
status: z.ZodEnum<{
|
|
1715
|
-
cancelled: "cancelled";
|
|
1716
|
-
done: "done";
|
|
1717
|
-
failed: "failed";
|
|
1718
|
-
review: "review";
|
|
1719
|
-
}>;
|
|
1720
|
-
observedAt: z.ZodISODateTime;
|
|
1721
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
1722
|
-
revision: z.ZodOptional<z.ZodNumber>;
|
|
1723
|
-
}, z.core.$strict>>;
|
|
1724
|
-
wakeId: z.ZodOptional<z.ZodUUID>;
|
|
1725
|
-
}, z.core.$strict>>;
|
|
1726
|
-
lastWait: z.ZodOptional<z.ZodObject<{
|
|
1727
|
-
id: z.ZodUUID;
|
|
1728
|
-
workerIds: z.ZodArray<z.ZodUUID>;
|
|
1729
|
-
requestIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
1730
|
-
requestOutcomes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1731
|
-
requestId: z.ZodUUID;
|
|
1732
|
-
status: z.ZodEnum<{
|
|
1733
|
-
cancelled: "cancelled";
|
|
1734
|
-
"completed-without-reply": "completed-without-reply";
|
|
1735
|
-
deleted: "deleted";
|
|
1736
|
-
destroyed: "destroyed";
|
|
1737
|
-
failed: "failed";
|
|
1738
|
-
"human-fallback": "human-fallback";
|
|
1739
|
-
replied: "replied";
|
|
1740
|
-
"replied-late": "replied-late";
|
|
1741
|
-
"sender-closed": "sender-closed";
|
|
1742
|
-
"timed-out": "timed-out";
|
|
1743
|
-
}>;
|
|
1744
|
-
observedAt: z.ZodISODateTime;
|
|
1745
|
-
replyId: z.ZodOptional<z.ZodUUID>;
|
|
1746
|
-
}, z.core.$strict>>>;
|
|
1747
|
-
deadline: z.ZodISODateTime;
|
|
1748
|
-
mode: z.ZodOptional<z.ZodEnum<{
|
|
1749
|
-
all: "all";
|
|
1750
|
-
any: "any";
|
|
1751
|
-
one: "one";
|
|
1752
|
-
}>>;
|
|
1753
|
-
revisions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1754
|
-
workerId: z.ZodUUID;
|
|
1755
|
-
revision: z.ZodNumber;
|
|
1756
|
-
}, z.core.$strict>>>;
|
|
1757
|
-
reason: z.ZodOptional<z.ZodEnum<{
|
|
1758
|
-
cancelled: "cancelled";
|
|
1759
|
-
message: "message";
|
|
1760
|
-
outcome: "outcome";
|
|
1761
|
-
timeout: "timeout";
|
|
1762
|
-
}>>;
|
|
1763
|
-
phase: z.ZodEnum<{
|
|
1764
|
-
parked: "parked";
|
|
1765
|
-
registered: "registered";
|
|
1766
|
-
"wake-pending": "wake-pending";
|
|
1767
|
-
}>;
|
|
1768
|
-
outcomes: z.ZodArray<z.ZodObject<{
|
|
1769
|
-
workerId: z.ZodUUID;
|
|
1770
|
-
status: z.ZodEnum<{
|
|
1771
|
-
cancelled: "cancelled";
|
|
1772
|
-
done: "done";
|
|
1773
|
-
failed: "failed";
|
|
1774
|
-
review: "review";
|
|
1775
|
-
}>;
|
|
1776
|
-
observedAt: z.ZodISODateTime;
|
|
1777
|
-
summary: z.ZodOptional<z.ZodString>;
|
|
1778
|
-
revision: z.ZodOptional<z.ZodNumber>;
|
|
1779
|
-
}, z.core.$strict>>;
|
|
1780
|
-
wakeId: z.ZodOptional<z.ZodUUID>;
|
|
1781
|
-
}, z.core.$strict>>;
|
|
1782
|
-
permissions: z.ZodArray<z.ZodEnum<{
|
|
1783
|
-
destroy: "destroy";
|
|
1784
|
-
diff: "diff";
|
|
1785
|
-
inspect: "inspect";
|
|
1786
|
-
spawn: "spawn";
|
|
1787
|
-
steer: "steer";
|
|
1788
|
-
stop: "stop";
|
|
1789
|
-
wait: "wait";
|
|
1790
|
-
}>>;
|
|
1791
|
-
parentRunId: z.ZodUUID;
|
|
1792
|
-
workspace: z.ZodObject<{
|
|
1793
|
-
ownerRunId: z.ZodUUID;
|
|
1794
|
-
resourceId: z.ZodUUID;
|
|
1795
|
-
kind: z.ZodLiteral<"owned-isolated">;
|
|
1796
|
-
path: z.ZodString;
|
|
1797
|
-
branch: z.ZodString;
|
|
1798
|
-
baselineSha: z.ZodString;
|
|
1799
|
-
}, z.core.$strict>;
|
|
1800
|
-
destroy: z.ZodOptional<z.ZodObject<{
|
|
1801
|
-
requestedAt: z.ZodISODateTime;
|
|
1802
|
-
phase: z.ZodEnum<{
|
|
1803
|
-
cleaning: "cleaning";
|
|
1804
|
-
complete: "complete";
|
|
1805
|
-
incomplete: "incomplete";
|
|
1806
|
-
requested: "requested";
|
|
1807
|
-
terminating: "terminating";
|
|
1808
|
-
}>;
|
|
1809
|
-
remaining: z.ZodArray<z.ZodEnum<{
|
|
1810
|
-
branch: "branch";
|
|
1811
|
-
process: "process";
|
|
1812
|
-
worktree: "worktree";
|
|
1813
|
-
}>>;
|
|
1814
|
-
error: z.ZodOptional<z.ZodString>;
|
|
1815
|
-
}, z.core.$strict>>;
|
|
1816
|
-
context: z.ZodOptional<z.ZodObject<{
|
|
1817
|
-
text: z.ZodOptional<z.ZodString>;
|
|
1818
|
-
inputs: z.ZodArray<z.ZodObject<{
|
|
1819
|
-
source: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1820
|
-
kind: z.ZodLiteral<"baseline-file">;
|
|
1821
|
-
path: z.ZodString;
|
|
1822
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1823
|
-
kind: z.ZodLiteral<"parent-attachment">;
|
|
1824
|
-
id: z.ZodString;
|
|
1825
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1826
|
-
kind: z.ZodLiteral<"parent-file">;
|
|
1827
|
-
path: z.ZodString;
|
|
1828
|
-
}, z.core.$strict>], "kind">;
|
|
1829
|
-
path: z.ZodString;
|
|
1830
|
-
sha256: z.ZodString;
|
|
1831
|
-
bytes: z.ZodNumber;
|
|
1832
|
-
}, z.core.$strict>>;
|
|
1833
|
-
}, z.core.$strict>>;
|
|
1834
|
-
executionRevision: z.ZodOptional<z.ZodNumber>;
|
|
1835
|
-
executionStartSeq: z.ZodOptional<z.ZodNumber>;
|
|
1836
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1837
|
-
role: z.ZodLiteral<"invalid">;
|
|
1838
|
-
}, z.core.$strict>], "role">>>;
|
|
1839
|
-
lastWaitsError: z.ZodCatch<z.ZodOptional<z.ZodString>>;
|
|
1840
|
-
automaticWakes: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
|
|
1841
|
-
waitDeliveryFailures: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
|
|
1842
|
-
runner: z.ZodOptional<z.ZodPipe<z.ZodEnum<{
|
|
1843
|
-
claude: "claude";
|
|
1844
|
-
"claude-cli": "claude-cli";
|
|
1845
|
-
codex: "codex";
|
|
1846
|
-
cursor: "cursor";
|
|
1847
|
-
omp: "omp";
|
|
1848
|
-
opencode: "opencode";
|
|
1849
|
-
pi: "pi";
|
|
1850
|
-
}>, z.ZodTransform<"claude" | "codex" | "cursor" | "omp" | "opencode" | "pi", "claude" | "claude-cli" | "codex" | "cursor" | "omp" | "opencode" | "pi">>>;
|
|
1851
|
-
notify: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
|
|
1852
|
-
webhook: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
1853
|
-
lastDeliveredAt: z.ZodOptional<z.ZodString>;
|
|
1854
|
-
lastError: z.ZodOptional<z.ZodString>;
|
|
1855
|
-
lastErrorWebhookId: z.ZodOptional<z.ZodString>;
|
|
1856
|
-
}, z.core.$strip>>>;
|
|
1857
|
-
destroyRetry: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
1858
|
-
attempts: z.ZodNumber;
|
|
1859
|
-
nextAt: z.ZodISODateTime;
|
|
1860
|
-
needsAttention: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1861
|
-
}, z.core.$strict>>>;
|
|
1862
|
-
stopping: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
|
|
1863
|
-
hasPendingPermission: z.ZodCatch<z.ZodOptional<z.ZodBoolean>>;
|
|
1864
|
-
autoResumeAt: z.ZodCatch<z.ZodOptional<z.ZodString>>;
|
|
1865
|
-
autoResumeAttempts: z.ZodCatch<z.ZodOptional<z.ZodNumber>>;
|
|
1866
|
-
pullRequests: z.ZodPreprocess<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1867
|
-
number: z.ZodNumber;
|
|
1868
|
-
url: z.ZodOptional<z.ZodString>;
|
|
1869
|
-
source: z.ZodEnum<{
|
|
1870
|
-
created: "created";
|
|
1871
|
-
declared: "declared";
|
|
1872
|
-
}>;
|
|
1873
|
-
}, z.core.$strip>>>>;
|
|
1874
|
-
worktreeSetup: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
1875
|
-
status: z.ZodEnum<{
|
|
1876
|
-
done: "done";
|
|
1877
|
-
failed: "failed";
|
|
1878
|
-
running: "running";
|
|
1879
|
-
}>;
|
|
1880
|
-
startedAt: z.ZodString;
|
|
1881
|
-
finishedAt: z.ZodOptional<z.ZodString>;
|
|
1882
|
-
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
1883
|
-
error: z.ZodOptional<z.ZodString>;
|
|
1884
|
-
}, z.core.$strip>>>;
|
|
1885
|
-
archived: z.ZodDefault<z.ZodBoolean>;
|
|
1886
|
-
workflowDef: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
1887
|
-
name: z.ZodString;
|
|
1888
|
-
description: z.ZodOptional<z.ZodString>;
|
|
1889
|
-
steps: z.ZodArray<z.ZodObject<{
|
|
1890
|
-
id: z.ZodString;
|
|
1891
|
-
name: z.ZodOptional<z.ZodString>;
|
|
1892
|
-
prompt: z.ZodOptional<z.ZodString>;
|
|
1893
|
-
skill: z.ZodOptional<z.ZodString>;
|
|
1894
|
-
model: z.ZodOptional<z.ZodString>;
|
|
1895
|
-
effort: z.ZodOptional<z.ZodString>;
|
|
1896
|
-
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
1897
|
-
runner: z.ZodOptional<z.ZodEnum<{
|
|
1898
|
-
claude: "claude";
|
|
1899
|
-
codex: "codex";
|
|
1900
|
-
cursor: "cursor";
|
|
1901
|
-
omp: "omp";
|
|
1902
|
-
opencode: "opencode";
|
|
1903
|
-
pi: "pi";
|
|
1904
|
-
}>>;
|
|
1905
|
-
agentProfile: z.ZodOptional<z.ZodString>;
|
|
1906
|
-
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1907
|
-
bashAllowlist: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1908
|
-
command: z.ZodOptional<z.ZodString>;
|
|
1909
|
-
onFail: z.ZodOptional<z.ZodObject<{
|
|
1910
|
-
retry: z.ZodString;
|
|
1911
|
-
max: z.ZodDefault<z.ZodNumber>;
|
|
1912
|
-
}, z.core.$strip>>;
|
|
1913
|
-
}, z.core.$strip>>;
|
|
1914
|
-
source: z.ZodEnum<{
|
|
1915
|
-
"built-in": "built-in";
|
|
1916
|
-
file: "file";
|
|
1917
|
-
}>;
|
|
1918
|
-
path: z.ZodOptional<z.ZodString>;
|
|
1919
|
-
}, z.core.$strip>>>;
|
|
1920
|
-
steps: z.ZodArray<z.ZodObject<{
|
|
1921
|
-
id: z.ZodString;
|
|
1922
|
-
name: z.ZodString;
|
|
1923
|
-
kind: z.ZodEnum<{
|
|
1924
|
-
agent: "agent";
|
|
1925
|
-
check: "check";
|
|
1926
|
-
}>;
|
|
1927
|
-
status: z.ZodEnum<{
|
|
1928
|
-
cancelled: "cancelled";
|
|
1929
|
-
done: "done";
|
|
1930
|
-
failed: "failed";
|
|
1931
|
-
pending: "pending";
|
|
1932
|
-
review: "review";
|
|
1933
|
-
running: "running";
|
|
1934
|
-
skipped: "skipped";
|
|
1935
|
-
waiting: "waiting";
|
|
1936
|
-
}>;
|
|
1937
|
-
iterations: z.ZodNumber;
|
|
1938
|
-
retriesUsed: z.ZodOptional<z.ZodNumber>;
|
|
1939
|
-
tokensUsed: z.ZodNumber;
|
|
1940
|
-
inputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1941
|
-
outputTokens: z.ZodOptional<z.ZodNumber>;
|
|
1942
|
-
usageInvocationsStarted: z.ZodOptional<z.ZodNumber>;
|
|
1943
|
-
usageInvocationsObserved: z.ZodOptional<z.ZodNumber>;
|
|
1944
|
-
usageTurnsStarted: z.ZodOptional<z.ZodNumber>;
|
|
1945
|
-
usageTurnsRecorded: z.ZodOptional<z.ZodNumber>;
|
|
1946
|
-
usageInvocationEpoch: z.ZodOptional<z.ZodNumber>;
|
|
1947
|
-
startedAt: z.ZodOptional<z.ZodString>;
|
|
1948
|
-
finishedAt: z.ZodOptional<z.ZodString>;
|
|
1949
|
-
error: z.ZodOptional<z.ZodString>;
|
|
1950
|
-
sessionId: z.ZodOptional<z.ZodString>;
|
|
1951
|
-
sessionTransport: z.ZodOptional<z.ZodEnum<{
|
|
1952
|
-
"cursor-acp": "cursor-acp";
|
|
1953
|
-
"cursor-print": "cursor-print";
|
|
1954
|
-
}>>;
|
|
1955
|
-
profileId: z.ZodOptional<z.ZodString>;
|
|
1956
|
-
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
1957
|
-
synthetic: z.ZodOptional<z.ZodLiteral<"continuation">>;
|
|
1958
|
-
backend: z.ZodOptional<z.ZodPipe<z.ZodEnum<{
|
|
1959
|
-
claude: "claude";
|
|
1960
|
-
"claude-cli": "claude-cli";
|
|
1961
|
-
codex: "codex";
|
|
1962
|
-
cursor: "cursor";
|
|
1963
|
-
omp: "omp";
|
|
1964
|
-
opencode: "opencode";
|
|
1965
|
-
pi: "pi";
|
|
1966
|
-
}>, z.ZodTransform<"claude" | "codex" | "cursor" | "omp" | "opencode" | "pi", "claude" | "claude-cli" | "codex" | "cursor" | "omp" | "opencode" | "pi">>>;
|
|
1967
|
-
}, z.core.$strip>>;
|
|
1968
|
-
automation: z.ZodOptional<z.ZodObject<{
|
|
1969
|
-
automationId: z.ZodString;
|
|
1970
|
-
receiptId: z.ZodString;
|
|
1971
|
-
event: z.ZodString;
|
|
1972
|
-
automationRevision: z.ZodNumber;
|
|
1973
|
-
githubUrl: z.ZodString;
|
|
1974
|
-
}, z.core.$strip>>;
|
|
1975
|
-
automationTrigger: z.ZodOptional<z.ZodObject<{
|
|
1976
|
-
automationId: z.ZodString;
|
|
1977
|
-
receiptId: z.ZodString;
|
|
1978
|
-
trigger: z.ZodEnum<{
|
|
1979
|
-
"catch-up": "catch-up";
|
|
1980
|
-
manual: "manual";
|
|
1981
|
-
schedule: "schedule";
|
|
1982
|
-
}>;
|
|
1983
|
-
occurrenceAt: z.ZodString;
|
|
1984
|
-
automationRevision: z.ZodNumber;
|
|
1985
|
-
}, z.core.$strip>>;
|
|
1986
|
-
handoffRecords: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
1987
|
-
autosave: z.ZodArray<z.ZodObject<{
|
|
1988
|
-
at: z.ZodString;
|
|
1989
|
-
note: z.ZodString;
|
|
1990
|
-
periodic: z.ZodOptional<z.ZodObject<{
|
|
1991
|
-
branch: z.ZodNullable<z.ZodString>;
|
|
1992
|
-
count: z.ZodNumber;
|
|
1993
|
-
first: z.ZodNullable<z.ZodString>;
|
|
1994
|
-
latest: z.ZodNullable<z.ZodString>;
|
|
1995
|
-
}, z.core.$strip>>;
|
|
1996
|
-
}, z.core.$strip>>;
|
|
1997
|
-
}, z.core.$strip>>>;
|
|
1998
|
-
}, z.core.$strip>;
|
|
1999
|
-
/** Read legacy wait fields into the wait list and salvage per entry, identically for live stores
|
|
2000
|
-
* and the read-only workspace index. */
|
|
2001
|
-
export declare function parseRunRecords(raw: unknown): z.ZodSafeParseResult<{
|
|
2002
|
-
archiveWhenDone?: boolean | undefined;
|
|
2003
|
-
autoMergePr?: boolean | undefined;
|
|
2004
|
-
allowWorkers?: boolean | undefined;
|
|
2005
|
-
allowMessaging?: boolean | undefined;
|
|
2006
|
-
id: string;
|
|
2007
|
-
title: string;
|
|
2008
|
-
titleSummary?: string | undefined;
|
|
2009
|
-
diffStat?: {
|
|
2010
|
-
adds: number;
|
|
2011
|
-
dels: number;
|
|
2012
|
-
files: number;
|
|
2013
|
-
repointed?: boolean | undefined;
|
|
2014
|
-
} | undefined;
|
|
2015
|
-
workflow: string;
|
|
2016
|
-
task: string;
|
|
2017
|
-
queuedMessages?: {
|
|
2018
|
-
id: string;
|
|
2019
|
-
text: string;
|
|
2020
|
-
images?: string[] | undefined;
|
|
2021
|
-
createdAt: string;
|
|
2022
|
-
}[] | undefined;
|
|
2023
|
-
continuationMessage?: {
|
|
2024
|
-
id: string;
|
|
2025
|
-
text: string;
|
|
2026
|
-
images?: string[] | undefined;
|
|
2027
|
-
createdAt: string;
|
|
2028
|
-
origin?: "human" | "lifecycle" | undefined;
|
|
2029
|
-
agentInputId?: string | undefined;
|
|
2030
|
-
resumeContext?: {
|
|
2031
|
-
failure?: {
|
|
2032
|
-
stepId?: string | undefined;
|
|
2033
|
-
error: string;
|
|
2034
|
-
} | undefined;
|
|
2035
|
-
restarted?: true | undefined;
|
|
2036
|
-
} | undefined;
|
|
2037
|
-
} | undefined;
|
|
2038
|
-
workflowResumeStepId?: string | undefined;
|
|
2039
|
-
invalidAsk?: boolean | undefined;
|
|
2040
|
-
agentInputs?: {
|
|
2041
|
-
conversation?: {
|
|
2042
|
-
senderRunId: string;
|
|
2043
|
-
recipientRunId: string;
|
|
2044
|
-
kind: "follow-up" | "progress" | "reply" | "request";
|
|
2045
|
-
requestId?: string | undefined;
|
|
2046
|
-
relationship?: "family" | "peer" | undefined;
|
|
2047
|
-
} | undefined;
|
|
2048
|
-
id: string;
|
|
2049
|
-
source: "agent" | "lifecycle";
|
|
2050
|
-
parentRunId: string;
|
|
2051
|
-
text: string;
|
|
2052
|
-
createdAt: string;
|
|
2053
|
-
deliveredAt?: string | undefined;
|
|
2054
|
-
consumedAt?: string | undefined;
|
|
2055
|
-
awaitingRead?: true | undefined;
|
|
2056
|
-
inboxClaim?: {
|
|
2057
|
-
receiptId: string;
|
|
2058
|
-
generation: string;
|
|
2059
|
-
expiresAt: string;
|
|
2060
|
-
acknowledgedAt?: string | undefined;
|
|
2061
|
-
memberIds?: string[] | undefined;
|
|
2062
|
-
} | undefined;
|
|
2063
|
-
purpose?: "completion-refusal" | "undelivered-question" | undefined;
|
|
2064
|
-
requestHash?: string | undefined;
|
|
2065
|
-
deadline?: string | undefined;
|
|
2066
|
-
}[] | undefined;
|
|
2067
|
-
waits?: ({
|
|
2068
|
-
prUrl: string;
|
|
2069
|
-
repository: string;
|
|
2070
|
-
prNumber: number;
|
|
2071
|
-
headSha: string;
|
|
2072
|
-
id: string;
|
|
2073
|
-
source: "agent" | "cezar";
|
|
2074
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
2075
|
-
registeredAt: string;
|
|
2076
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
2077
|
-
resolvedAt?: string | undefined;
|
|
2078
|
-
deliveredAt?: string | undefined;
|
|
2079
|
-
cancelledAt?: string | undefined;
|
|
2080
|
-
turnId: string;
|
|
2081
|
-
kind: "pr";
|
|
2082
|
-
deadline: string;
|
|
2083
|
-
generation: string;
|
|
2084
|
-
timeoutSeconds: number;
|
|
2085
|
-
until: "checks" | "merge" | "merge_or_blocked";
|
|
2086
|
-
wakeOnConflict: boolean;
|
|
2087
|
-
result?: {
|
|
2088
|
-
outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped";
|
|
2089
|
-
headSha: string;
|
|
2090
|
-
observedHeadSha?: string | undefined;
|
|
2091
|
-
mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
|
|
2092
|
-
mergeStateStatus?: string | undefined;
|
|
2093
|
-
mergedAt?: string | undefined;
|
|
2094
|
-
mergeCommitSha?: string | undefined;
|
|
2095
|
-
mergeBlock?: {
|
|
2096
|
-
reason: "conflict" | "no_pending_merge";
|
|
2097
|
-
isInMergeQueue: boolean;
|
|
2098
|
-
autoMergeEnabled: boolean;
|
|
2099
|
-
event?: {
|
|
2100
|
-
kind: "auto_merge_disabled" | "queue_removal";
|
|
2101
|
-
createdAt: string;
|
|
2102
|
-
reason?: string | undefined;
|
|
2103
|
-
reasonCode?: string | undefined;
|
|
2104
|
-
} | undefined;
|
|
2105
|
-
} | undefined;
|
|
2106
|
-
observedAt: string;
|
|
2107
|
-
checks: {
|
|
2108
|
-
name: string;
|
|
2109
|
-
state: string;
|
|
2110
|
-
link: string;
|
|
2111
|
-
}[];
|
|
2112
|
-
totalChecks: number;
|
|
2113
|
-
truncated: boolean;
|
|
2114
|
-
diagnostic?: string | undefined;
|
|
2115
|
-
} | undefined;
|
|
2116
|
-
} | {
|
|
2117
|
-
id: string;
|
|
2118
|
-
source: "agent" | "cezar";
|
|
2119
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
2120
|
-
registeredAt: string;
|
|
2121
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
2122
|
-
resolvedAt?: string | undefined;
|
|
2123
|
-
deliveredAt?: string | undefined;
|
|
2124
|
-
cancelledAt?: string | undefined;
|
|
2125
|
-
turnId: string;
|
|
2126
|
-
kind: "timer";
|
|
2127
|
-
deadline: string;
|
|
2128
|
-
seconds: number;
|
|
2129
|
-
note?: string | undefined;
|
|
2130
|
-
} | {
|
|
2131
|
-
id: string;
|
|
2132
|
-
source: "agent" | "cezar";
|
|
2133
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
2134
|
-
registeredAt: string;
|
|
2135
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
2136
|
-
resolvedAt?: string | undefined;
|
|
2137
|
-
deliveredAt?: string | undefined;
|
|
2138
|
-
cancelledAt?: string | undefined;
|
|
2139
|
-
turnId: string;
|
|
2140
|
-
kind: "human";
|
|
2141
|
-
questions?: {
|
|
2142
|
-
id?: string | undefined;
|
|
2143
|
-
header: string;
|
|
2144
|
-
question: string;
|
|
2145
|
-
options?: {
|
|
2146
|
-
label: string;
|
|
2147
|
-
description?: string | undefined;
|
|
2148
|
-
}[] | undefined;
|
|
2149
|
-
multiSelect?: boolean | undefined;
|
|
2150
|
-
}[] | undefined;
|
|
2151
|
-
context?: string | undefined;
|
|
2152
|
-
askSeq?: number | undefined;
|
|
2153
|
-
} | {
|
|
2154
|
-
id: string;
|
|
2155
|
-
source: "agent" | "cezar";
|
|
2156
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
2157
|
-
registeredAt: string;
|
|
2158
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
2159
|
-
resolvedAt?: string | undefined;
|
|
2160
|
-
deliveredAt?: string | undefined;
|
|
2161
|
-
cancelledAt?: string | undefined;
|
|
2162
|
-
turnId: string;
|
|
2163
|
-
kind: "worker";
|
|
2164
|
-
deadline?: string | undefined;
|
|
2165
|
-
timeoutSeconds?: number | undefined;
|
|
2166
|
-
mode?: "all" | "any" | "one" | undefined;
|
|
2167
|
-
workerIds?: string[] | undefined;
|
|
2168
|
-
revisions?: {
|
|
2169
|
-
workerId: string;
|
|
2170
|
-
revision: number;
|
|
2171
|
-
}[] | undefined;
|
|
2172
|
-
outcomes?: {
|
|
2173
|
-
workerId: string;
|
|
2174
|
-
status: "cancelled" | "done" | "failed" | "review";
|
|
2175
|
-
observedAt: string;
|
|
2176
|
-
summary?: string | undefined;
|
|
2177
|
-
revision?: number | undefined;
|
|
2178
|
-
}[] | undefined;
|
|
2179
|
-
requestIds?: string[] | undefined;
|
|
2180
|
-
requestOutcomes?: {
|
|
2181
|
-
requestId: string;
|
|
2182
|
-
status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
|
|
2183
|
-
observedAt: string;
|
|
2184
|
-
replyId?: string | undefined;
|
|
2185
|
-
}[] | undefined;
|
|
2186
|
-
result?: {
|
|
2187
|
-
reason: "outcome" | "timeout";
|
|
2188
|
-
} | undefined;
|
|
2189
|
-
wakeInputId?: string | undefined;
|
|
2190
|
-
} | {
|
|
2191
|
-
id: string;
|
|
2192
|
-
source: "agent" | "cezar";
|
|
2193
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
2194
|
-
registeredAt: string;
|
|
2195
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
2196
|
-
resolvedAt?: string | undefined;
|
|
2197
|
-
deliveredAt?: string | undefined;
|
|
2198
|
-
cancelledAt?: string | undefined;
|
|
2199
|
-
turnId: string;
|
|
2200
|
-
kind: "process";
|
|
2201
|
-
deadline: string;
|
|
2202
|
-
timeoutSeconds: number;
|
|
2203
|
-
pid: number;
|
|
2204
|
-
startToken?: string | undefined;
|
|
2205
|
-
exitFile?: string | undefined;
|
|
2206
|
-
note?: string | undefined;
|
|
2207
|
-
result?: {
|
|
2208
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
2209
|
-
observedAt: string;
|
|
2210
|
-
exitCode?: number | undefined;
|
|
2211
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
2212
|
-
diagnostic?: string | undefined;
|
|
2213
|
-
} | undefined;
|
|
2214
|
-
} | {
|
|
2215
|
-
id: string;
|
|
2216
|
-
source: "agent" | "cezar";
|
|
2217
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
2218
|
-
registeredAt: string;
|
|
2219
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
2220
|
-
resolvedAt?: string | undefined;
|
|
2221
|
-
deliveredAt?: string | undefined;
|
|
2222
|
-
cancelledAt?: string | undefined;
|
|
2223
|
-
turnId: string;
|
|
2224
|
-
kind: "peer";
|
|
2225
|
-
deadline: string;
|
|
2226
|
-
timeoutSeconds: number;
|
|
2227
|
-
peerIds: string[];
|
|
2228
|
-
result?: {
|
|
2229
|
-
reason: "message";
|
|
2230
|
-
peerRunId: string;
|
|
2231
|
-
messageId: string;
|
|
2232
|
-
} | {
|
|
2233
|
-
reason: "settled";
|
|
2234
|
-
peerRunId: string;
|
|
2235
|
-
} | {
|
|
2236
|
-
reason: "timeout";
|
|
2237
|
-
} | undefined;
|
|
2238
|
-
} | {
|
|
2239
|
-
id: string;
|
|
2240
|
-
registeredAt: string;
|
|
2241
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
2242
|
-
resolvedAt?: string | undefined;
|
|
2243
|
-
deliveredAt?: string | undefined;
|
|
2244
|
-
cancelledAt?: string | undefined;
|
|
2245
|
-
turnId: string;
|
|
2246
|
-
kind: "subagent";
|
|
2247
|
-
source: "cezar";
|
|
2248
|
-
via: "native-subagents";
|
|
2249
|
-
deadline: string;
|
|
2250
|
-
children: {
|
|
2251
|
-
id: string;
|
|
2252
|
-
status: "cancelled" | "completed" | "failed" | "running";
|
|
2253
|
-
}[];
|
|
2254
|
-
result?: {
|
|
2255
|
-
reason: "interrupted" | "settled" | "superseded" | "timeout";
|
|
2256
|
-
} | undefined;
|
|
2257
|
-
})[] | undefined;
|
|
2258
|
-
waitRegistrations?: {
|
|
2259
|
-
operationId: string;
|
|
2260
|
-
requestHash: string;
|
|
2261
|
-
wait: {
|
|
2262
|
-
prUrl: string;
|
|
2263
|
-
repository: string;
|
|
2264
|
-
prNumber: number;
|
|
2265
|
-
headSha: string;
|
|
2266
|
-
id: string;
|
|
2267
|
-
source: "agent" | "cezar";
|
|
2268
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
2269
|
-
registeredAt: string;
|
|
2270
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
2271
|
-
resolvedAt?: string | undefined;
|
|
2272
|
-
deliveredAt?: string | undefined;
|
|
2273
|
-
cancelledAt?: string | undefined;
|
|
2274
|
-
turnId: string;
|
|
2275
|
-
kind: "pr";
|
|
2276
|
-
deadline: string;
|
|
2277
|
-
generation: string;
|
|
2278
|
-
timeoutSeconds: number;
|
|
2279
|
-
until: "checks" | "merge" | "merge_or_blocked";
|
|
2280
|
-
wakeOnConflict: boolean;
|
|
2281
|
-
result?: {
|
|
2282
|
-
outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped";
|
|
2283
|
-
headSha: string;
|
|
2284
|
-
observedHeadSha?: string | undefined;
|
|
2285
|
-
mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
|
|
2286
|
-
mergeStateStatus?: string | undefined;
|
|
2287
|
-
mergedAt?: string | undefined;
|
|
2288
|
-
mergeCommitSha?: string | undefined;
|
|
2289
|
-
mergeBlock?: {
|
|
2290
|
-
reason: "conflict" | "no_pending_merge";
|
|
2291
|
-
isInMergeQueue: boolean;
|
|
2292
|
-
autoMergeEnabled: boolean;
|
|
2293
|
-
event?: {
|
|
2294
|
-
kind: "auto_merge_disabled" | "queue_removal";
|
|
2295
|
-
createdAt: string;
|
|
2296
|
-
reason?: string | undefined;
|
|
2297
|
-
reasonCode?: string | undefined;
|
|
2298
|
-
} | undefined;
|
|
2299
|
-
} | undefined;
|
|
2300
|
-
observedAt: string;
|
|
2301
|
-
checks: {
|
|
2302
|
-
name: string;
|
|
2303
|
-
state: string;
|
|
2304
|
-
link: string;
|
|
2305
|
-
}[];
|
|
2306
|
-
totalChecks: number;
|
|
2307
|
-
truncated: boolean;
|
|
2308
|
-
diagnostic?: string | undefined;
|
|
2309
|
-
} | undefined;
|
|
2310
|
-
} | {
|
|
2311
|
-
id: string;
|
|
2312
|
-
source: "agent" | "cezar";
|
|
2313
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
2314
|
-
registeredAt: string;
|
|
2315
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
2316
|
-
resolvedAt?: string | undefined;
|
|
2317
|
-
deliveredAt?: string | undefined;
|
|
2318
|
-
cancelledAt?: string | undefined;
|
|
2319
|
-
turnId: string;
|
|
2320
|
-
kind: "timer";
|
|
2321
|
-
deadline: string;
|
|
2322
|
-
seconds: number;
|
|
2323
|
-
note?: string | undefined;
|
|
2324
|
-
} | {
|
|
2325
|
-
id: string;
|
|
2326
|
-
source: "agent" | "cezar";
|
|
2327
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
2328
|
-
registeredAt: string;
|
|
2329
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
2330
|
-
resolvedAt?: string | undefined;
|
|
2331
|
-
deliveredAt?: string | undefined;
|
|
2332
|
-
cancelledAt?: string | undefined;
|
|
2333
|
-
turnId: string;
|
|
2334
|
-
kind: "human";
|
|
2335
|
-
questions?: {
|
|
2336
|
-
id?: string | undefined;
|
|
2337
|
-
header: string;
|
|
2338
|
-
question: string;
|
|
2339
|
-
options?: {
|
|
2340
|
-
label: string;
|
|
2341
|
-
description?: string | undefined;
|
|
2342
|
-
}[] | undefined;
|
|
2343
|
-
multiSelect?: boolean | undefined;
|
|
2344
|
-
}[] | undefined;
|
|
2345
|
-
context?: string | undefined;
|
|
2346
|
-
askSeq?: number | undefined;
|
|
2347
|
-
} | {
|
|
2348
|
-
id: string;
|
|
2349
|
-
source: "agent" | "cezar";
|
|
2350
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
2351
|
-
registeredAt: string;
|
|
2352
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
2353
|
-
resolvedAt?: string | undefined;
|
|
2354
|
-
deliveredAt?: string | undefined;
|
|
2355
|
-
cancelledAt?: string | undefined;
|
|
2356
|
-
turnId: string;
|
|
2357
|
-
kind: "worker";
|
|
2358
|
-
deadline?: string | undefined;
|
|
2359
|
-
timeoutSeconds?: number | undefined;
|
|
2360
|
-
mode?: "all" | "any" | "one" | undefined;
|
|
2361
|
-
workerIds?: string[] | undefined;
|
|
2362
|
-
revisions?: {
|
|
2363
|
-
workerId: string;
|
|
2364
|
-
revision: number;
|
|
2365
|
-
}[] | undefined;
|
|
2366
|
-
outcomes?: {
|
|
2367
|
-
workerId: string;
|
|
2368
|
-
status: "cancelled" | "done" | "failed" | "review";
|
|
2369
|
-
observedAt: string;
|
|
2370
|
-
summary?: string | undefined;
|
|
2371
|
-
revision?: number | undefined;
|
|
2372
|
-
}[] | undefined;
|
|
2373
|
-
requestIds?: string[] | undefined;
|
|
2374
|
-
requestOutcomes?: {
|
|
2375
|
-
requestId: string;
|
|
2376
|
-
status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
|
|
2377
|
-
observedAt: string;
|
|
2378
|
-
replyId?: string | undefined;
|
|
2379
|
-
}[] | undefined;
|
|
2380
|
-
result?: {
|
|
2381
|
-
reason: "outcome" | "timeout";
|
|
2382
|
-
} | undefined;
|
|
2383
|
-
wakeInputId?: string | undefined;
|
|
2384
|
-
} | {
|
|
2385
|
-
id: string;
|
|
2386
|
-
source: "agent" | "cezar";
|
|
2387
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
2388
|
-
registeredAt: string;
|
|
2389
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
2390
|
-
resolvedAt?: string | undefined;
|
|
2391
|
-
deliveredAt?: string | undefined;
|
|
2392
|
-
cancelledAt?: string | undefined;
|
|
2393
|
-
turnId: string;
|
|
2394
|
-
kind: "process";
|
|
2395
|
-
deadline: string;
|
|
2396
|
-
timeoutSeconds: number;
|
|
2397
|
-
pid: number;
|
|
2398
|
-
startToken?: string | undefined;
|
|
2399
|
-
exitFile?: string | undefined;
|
|
2400
|
-
note?: string | undefined;
|
|
2401
|
-
result?: {
|
|
2402
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
2403
|
-
observedAt: string;
|
|
2404
|
-
exitCode?: number | undefined;
|
|
2405
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
2406
|
-
diagnostic?: string | undefined;
|
|
2407
|
-
} | undefined;
|
|
2408
|
-
} | {
|
|
2409
|
-
id: string;
|
|
2410
|
-
source: "agent" | "cezar";
|
|
2411
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
2412
|
-
registeredAt: string;
|
|
2413
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
2414
|
-
resolvedAt?: string | undefined;
|
|
2415
|
-
deliveredAt?: string | undefined;
|
|
2416
|
-
cancelledAt?: string | undefined;
|
|
2417
|
-
turnId: string;
|
|
2418
|
-
kind: "peer";
|
|
2419
|
-
deadline: string;
|
|
2420
|
-
timeoutSeconds: number;
|
|
2421
|
-
peerIds: string[];
|
|
2422
|
-
result?: {
|
|
2423
|
-
reason: "message";
|
|
2424
|
-
peerRunId: string;
|
|
2425
|
-
messageId: string;
|
|
2426
|
-
} | {
|
|
2427
|
-
reason: "settled";
|
|
2428
|
-
peerRunId: string;
|
|
2429
|
-
} | {
|
|
2430
|
-
reason: "timeout";
|
|
2431
|
-
} | undefined;
|
|
2432
|
-
} | {
|
|
2433
|
-
id: string;
|
|
2434
|
-
registeredAt: string;
|
|
2435
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
2436
|
-
resolvedAt?: string | undefined;
|
|
2437
|
-
deliveredAt?: string | undefined;
|
|
2438
|
-
cancelledAt?: string | undefined;
|
|
2439
|
-
turnId: string;
|
|
2440
|
-
kind: "subagent";
|
|
2441
|
-
source: "cezar";
|
|
2442
|
-
via: "native-subagents";
|
|
2443
|
-
deadline: string;
|
|
2444
|
-
children: {
|
|
2445
|
-
id: string;
|
|
2446
|
-
status: "cancelled" | "completed" | "failed" | "running";
|
|
2447
|
-
}[];
|
|
2448
|
-
result?: {
|
|
2449
|
-
reason: "interrupted" | "settled" | "superseded" | "timeout";
|
|
2450
|
-
} | undefined;
|
|
2451
|
-
};
|
|
2452
|
-
deduplicated: boolean;
|
|
2453
|
-
}[] | undefined;
|
|
2454
|
-
lastWaits?: ({
|
|
2455
|
-
prUrl: string;
|
|
2456
|
-
repository: string;
|
|
2457
|
-
prNumber: number;
|
|
2458
|
-
headSha: string;
|
|
2459
|
-
id: string;
|
|
2460
|
-
source: "agent" | "cezar";
|
|
2461
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
2462
|
-
registeredAt: string;
|
|
2463
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
2464
|
-
resolvedAt?: string | undefined;
|
|
2465
|
-
deliveredAt?: string | undefined;
|
|
2466
|
-
cancelledAt?: string | undefined;
|
|
2467
|
-
turnId: string;
|
|
2468
|
-
kind: "pr";
|
|
2469
|
-
deadline: string;
|
|
2470
|
-
generation: string;
|
|
2471
|
-
timeoutSeconds: number;
|
|
2472
|
-
until: "checks" | "merge" | "merge_or_blocked";
|
|
2473
|
-
wakeOnConflict: boolean;
|
|
2474
|
-
result?: {
|
|
2475
|
-
outcome: "blocked" | "cancelled" | "closed" | "conflicting" | "deadline" | "error" | "failed" | "head_changed" | "merged" | "no_checks" | "passed" | "skipped";
|
|
2476
|
-
headSha: string;
|
|
2477
|
-
observedHeadSha?: string | undefined;
|
|
2478
|
-
mergeable?: "CONFLICTING" | "MERGEABLE" | "UNKNOWN" | undefined;
|
|
2479
|
-
mergeStateStatus?: string | undefined;
|
|
2480
|
-
mergedAt?: string | undefined;
|
|
2481
|
-
mergeCommitSha?: string | undefined;
|
|
2482
|
-
mergeBlock?: {
|
|
2483
|
-
reason: "conflict" | "no_pending_merge";
|
|
2484
|
-
isInMergeQueue: boolean;
|
|
2485
|
-
autoMergeEnabled: boolean;
|
|
2486
|
-
event?: {
|
|
2487
|
-
kind: "auto_merge_disabled" | "queue_removal";
|
|
2488
|
-
createdAt: string;
|
|
2489
|
-
reason?: string | undefined;
|
|
2490
|
-
reasonCode?: string | undefined;
|
|
2491
|
-
} | undefined;
|
|
2492
|
-
} | undefined;
|
|
2493
|
-
observedAt: string;
|
|
2494
|
-
checks: {
|
|
2495
|
-
name: string;
|
|
2496
|
-
state: string;
|
|
2497
|
-
link: string;
|
|
2498
|
-
}[];
|
|
2499
|
-
totalChecks: number;
|
|
2500
|
-
truncated: boolean;
|
|
2501
|
-
diagnostic?: string | undefined;
|
|
2502
|
-
} | undefined;
|
|
2503
|
-
} | {
|
|
2504
|
-
id: string;
|
|
2505
|
-
source: "agent" | "cezar";
|
|
2506
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
2507
|
-
registeredAt: string;
|
|
2508
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
2509
|
-
resolvedAt?: string | undefined;
|
|
2510
|
-
deliveredAt?: string | undefined;
|
|
2511
|
-
cancelledAt?: string | undefined;
|
|
2512
|
-
turnId: string;
|
|
2513
|
-
kind: "timer";
|
|
2514
|
-
deadline: string;
|
|
2515
|
-
seconds: number;
|
|
2516
|
-
note?: string | undefined;
|
|
2517
|
-
} | {
|
|
2518
|
-
id: string;
|
|
2519
|
-
source: "agent" | "cezar";
|
|
2520
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
2521
|
-
registeredAt: string;
|
|
2522
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
2523
|
-
resolvedAt?: string | undefined;
|
|
2524
|
-
deliveredAt?: string | undefined;
|
|
2525
|
-
cancelledAt?: string | undefined;
|
|
2526
|
-
turnId: string;
|
|
2527
|
-
kind: "human";
|
|
2528
|
-
questions?: {
|
|
2529
|
-
id?: string | undefined;
|
|
2530
|
-
header: string;
|
|
2531
|
-
question: string;
|
|
2532
|
-
options?: {
|
|
2533
|
-
label: string;
|
|
2534
|
-
description?: string | undefined;
|
|
2535
|
-
}[] | undefined;
|
|
2536
|
-
multiSelect?: boolean | undefined;
|
|
2537
|
-
}[] | undefined;
|
|
2538
|
-
context?: string | undefined;
|
|
2539
|
-
askSeq?: number | undefined;
|
|
2540
|
-
} | {
|
|
2541
|
-
id: string;
|
|
2542
|
-
source: "agent" | "cezar";
|
|
2543
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
2544
|
-
registeredAt: string;
|
|
2545
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
2546
|
-
resolvedAt?: string | undefined;
|
|
2547
|
-
deliveredAt?: string | undefined;
|
|
2548
|
-
cancelledAt?: string | undefined;
|
|
2549
|
-
turnId: string;
|
|
2550
|
-
kind: "worker";
|
|
2551
|
-
deadline?: string | undefined;
|
|
2552
|
-
timeoutSeconds?: number | undefined;
|
|
2553
|
-
mode?: "all" | "any" | "one" | undefined;
|
|
2554
|
-
workerIds?: string[] | undefined;
|
|
2555
|
-
revisions?: {
|
|
2556
|
-
workerId: string;
|
|
2557
|
-
revision: number;
|
|
2558
|
-
}[] | undefined;
|
|
2559
|
-
outcomes?: {
|
|
2560
|
-
workerId: string;
|
|
2561
|
-
status: "cancelled" | "done" | "failed" | "review";
|
|
2562
|
-
observedAt: string;
|
|
2563
|
-
summary?: string | undefined;
|
|
2564
|
-
revision?: number | undefined;
|
|
2565
|
-
}[] | undefined;
|
|
2566
|
-
requestIds?: string[] | undefined;
|
|
2567
|
-
requestOutcomes?: {
|
|
2568
|
-
requestId: string;
|
|
2569
|
-
status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
|
|
2570
|
-
observedAt: string;
|
|
2571
|
-
replyId?: string | undefined;
|
|
2572
|
-
}[] | undefined;
|
|
2573
|
-
result?: {
|
|
2574
|
-
reason: "outcome" | "timeout";
|
|
2575
|
-
} | undefined;
|
|
2576
|
-
wakeInputId?: string | undefined;
|
|
2577
|
-
} | {
|
|
2578
|
-
id: string;
|
|
2579
|
-
source: "agent" | "cezar";
|
|
2580
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
2581
|
-
registeredAt: string;
|
|
2582
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
2583
|
-
resolvedAt?: string | undefined;
|
|
2584
|
-
deliveredAt?: string | undefined;
|
|
2585
|
-
cancelledAt?: string | undefined;
|
|
2586
|
-
turnId: string;
|
|
2587
|
-
kind: "process";
|
|
2588
|
-
deadline: string;
|
|
2589
|
-
timeoutSeconds: number;
|
|
2590
|
-
pid: number;
|
|
2591
|
-
startToken?: string | undefined;
|
|
2592
|
-
exitFile?: string | undefined;
|
|
2593
|
-
note?: string | undefined;
|
|
2594
|
-
result?: {
|
|
2595
|
-
outcome: "deadline" | "error" | "exit_file" | "exited";
|
|
2596
|
-
observedAt: string;
|
|
2597
|
-
exitCode?: number | undefined;
|
|
2598
|
-
exitFileNote?: "not-an-exit-code" | undefined;
|
|
2599
|
-
diagnostic?: string | undefined;
|
|
2600
|
-
} | undefined;
|
|
2601
|
-
} | {
|
|
2602
|
-
id: string;
|
|
2603
|
-
source: "agent" | "cezar";
|
|
2604
|
-
via: "ask-line" | "budget" | "cez-message-wait" | "cez-worker-wait" | "cezar_ask" | "cezar_wait" | "cezar_wait_for_ci" | "completion" | "monitoring-line" | "native-ask" | "native-subagents" | "no-wait" | "schedule-wakeup";
|
|
2605
|
-
registeredAt: string;
|
|
2606
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
2607
|
-
resolvedAt?: string | undefined;
|
|
2608
|
-
deliveredAt?: string | undefined;
|
|
2609
|
-
cancelledAt?: string | undefined;
|
|
2610
|
-
turnId: string;
|
|
2611
|
-
kind: "peer";
|
|
2612
|
-
deadline: string;
|
|
2613
|
-
timeoutSeconds: number;
|
|
2614
|
-
peerIds: string[];
|
|
2615
|
-
result?: {
|
|
2616
|
-
reason: "message";
|
|
2617
|
-
peerRunId: string;
|
|
2618
|
-
messageId: string;
|
|
2619
|
-
} | {
|
|
2620
|
-
reason: "settled";
|
|
2621
|
-
peerRunId: string;
|
|
2622
|
-
} | {
|
|
2623
|
-
reason: "timeout";
|
|
2624
|
-
} | undefined;
|
|
2625
|
-
} | {
|
|
2626
|
-
id: string;
|
|
2627
|
-
registeredAt: string;
|
|
2628
|
-
phase: "cancelled" | "delivered" | "open" | "resolved";
|
|
2629
|
-
resolvedAt?: string | undefined;
|
|
2630
|
-
deliveredAt?: string | undefined;
|
|
2631
|
-
cancelledAt?: string | undefined;
|
|
2632
|
-
turnId: string;
|
|
2633
|
-
kind: "subagent";
|
|
2634
|
-
source: "cezar";
|
|
2635
|
-
via: "native-subagents";
|
|
2636
|
-
deadline: string;
|
|
2637
|
-
children: {
|
|
2638
|
-
id: string;
|
|
2639
|
-
status: "cancelled" | "completed" | "failed" | "running";
|
|
2640
|
-
}[];
|
|
2641
|
-
result?: {
|
|
2642
|
-
reason: "interrupted" | "settled" | "superseded" | "timeout";
|
|
2643
|
-
} | undefined;
|
|
2644
|
-
})[] | undefined;
|
|
2645
|
-
previewServers?: {
|
|
2646
|
-
port: number;
|
|
2647
|
-
command: string;
|
|
2648
|
-
cwd?: string | undefined;
|
|
2649
|
-
label: string;
|
|
2650
|
-
path?: string | undefined;
|
|
2651
|
-
registeredAt: string;
|
|
2652
|
-
answeredAtRegistration: boolean;
|
|
2653
|
-
}[] | undefined;
|
|
2654
|
-
taskImages?: string[] | undefined;
|
|
2655
|
-
model?: string | undefined;
|
|
2656
|
-
effort?: string | undefined;
|
|
2657
|
-
modelIdentity?: string | undefined;
|
|
2658
|
-
agentProfile?: string | undefined;
|
|
2659
|
-
systemPrompt?: string | undefined;
|
|
2660
|
-
generateFollowups?: boolean | undefined;
|
|
2661
|
-
autonomous?: boolean | undefined;
|
|
2662
|
-
completionAction?: {
|
|
2663
|
-
id: string;
|
|
2664
|
-
phase: "blocked" | "complete" | "pending";
|
|
2665
|
-
message?: string | undefined;
|
|
2666
|
-
} | undefined;
|
|
2667
|
-
archiveBlocker?: {
|
|
2668
|
-
message: string;
|
|
2669
|
-
runId?: string | undefined;
|
|
2670
|
-
pullRequestUrl?: string | undefined;
|
|
2671
|
-
} | undefined;
|
|
2672
|
-
status: "cancelled" | "done" | "failed" | "queued" | "review" | "running" | "waiting";
|
|
2673
|
-
createdAt: string;
|
|
2674
|
-
startedAt?: string | undefined;
|
|
2675
|
-
finishedAt?: string | undefined;
|
|
2676
|
-
tokensUsed: number;
|
|
2677
|
-
inputTokens?: number | undefined;
|
|
2678
|
-
outputTokens?: number | undefined;
|
|
2679
|
-
costUsd?: number | undefined;
|
|
2680
|
-
pullRequestUrl?: string | undefined;
|
|
2681
|
-
referencedPullRequestUrl?: string | undefined;
|
|
2682
|
-
prNumber?: number | undefined;
|
|
2683
|
-
issueNumber?: number | undefined;
|
|
2684
|
-
referencedIssueNumberSeeded?: boolean | undefined;
|
|
2685
|
-
titleOrigin?: "auto" | "marker" | "user" | undefined;
|
|
2686
|
-
markerRefs?: {
|
|
2687
|
-
pr?: number | undefined;
|
|
2688
|
-
issue?: number | undefined;
|
|
2689
|
-
} | undefined;
|
|
2690
|
-
referencedPrCandidates?: string[] | undefined;
|
|
2691
|
-
referencedIssueUrl?: string | undefined;
|
|
2692
|
-
referencedIssueCandidates?: string[] | undefined;
|
|
2693
|
-
worktree?: false | undefined;
|
|
2694
|
-
worktreePath?: string | undefined;
|
|
2695
|
-
branch?: string | undefined;
|
|
2696
|
-
baseBranch?: string | undefined;
|
|
2697
|
-
worktreeReclaimedAt?: string | undefined;
|
|
2698
|
-
groupId?: string | undefined;
|
|
2699
|
-
variant?: string | undefined;
|
|
2700
|
-
clientRequestId?: string | undefined;
|
|
2701
|
-
clientRequestHash?: string | undefined;
|
|
2702
|
-
peakRssBytes?: number | undefined;
|
|
2703
|
-
peakProcCount?: number | undefined;
|
|
2704
|
-
archivedAt?: string | undefined;
|
|
2705
|
-
autoArchive?: {
|
|
2706
|
-
reason: "pull-requests-merged";
|
|
2707
|
-
archivedAt: string;
|
|
2708
|
-
fingerprint: string;
|
|
2709
|
-
pullRequests: {
|
|
2710
|
-
owner: string;
|
|
2711
|
-
repo: string;
|
|
2712
|
-
number: number;
|
|
2713
|
-
mergedAt: string;
|
|
2714
|
-
}[];
|
|
2715
|
-
} | undefined;
|
|
2716
|
-
manualUnarchivedAt?: string | undefined;
|
|
2717
|
-
pinned?: boolean | undefined;
|
|
2718
|
-
pinnedAt?: string | undefined;
|
|
2719
|
-
seenAt?: string | undefined;
|
|
2720
|
-
currentStepId?: string | undefined;
|
|
2721
|
-
error?: string | undefined;
|
|
2722
|
-
delegation?: {
|
|
2723
|
-
role: "root";
|
|
2724
|
-
conversation?: {
|
|
2725
|
-
messages: {
|
|
2726
|
-
senderRunId: string;
|
|
2727
|
-
recipientRunId: string;
|
|
2728
|
-
kind: "follow-up" | "progress" | "reply" | "request";
|
|
2729
|
-
requestId?: string | undefined;
|
|
2730
|
-
relationship?: "family" | "peer" | undefined;
|
|
2731
|
-
id: string;
|
|
2732
|
-
text: string;
|
|
2733
|
-
createdAt: string;
|
|
2734
|
-
deadline?: string | undefined;
|
|
2735
|
-
requestHash: string;
|
|
2736
|
-
state: "accepted" | "continuation-required" | "destroyed" | "late";
|
|
2737
|
-
resumed?: true | undefined;
|
|
2738
|
-
instruction?: string | undefined;
|
|
2739
|
-
question?: {
|
|
2740
|
-
context?: string | undefined;
|
|
2741
|
-
questions: {
|
|
2742
|
-
id?: string | undefined;
|
|
2743
|
-
header: string;
|
|
2744
|
-
question: string;
|
|
2745
|
-
options?: {
|
|
2746
|
-
label: string;
|
|
2747
|
-
description?: string | undefined;
|
|
2748
|
-
}[] | undefined;
|
|
2749
|
-
multiSelect?: boolean | undefined;
|
|
2750
|
-
}[];
|
|
2751
|
-
} | undefined;
|
|
2752
|
-
}[];
|
|
2753
|
-
outcomes: {
|
|
2754
|
-
requestId: string;
|
|
2755
|
-
status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
|
|
2756
|
-
observedAt: string;
|
|
2757
|
-
replyId?: string | undefined;
|
|
2758
|
-
}[];
|
|
2759
|
-
} | undefined;
|
|
2760
|
-
permissions: ("destroy" | "diff" | "inspect" | "spawn" | "steer" | "stop" | "wait")[];
|
|
2761
|
-
receipts: {
|
|
2762
|
-
requestId: string;
|
|
2763
|
-
workerId: string;
|
|
2764
|
-
requestHash: string;
|
|
2765
|
-
deletion?: {
|
|
2766
|
-
phase: "complete" | "pending";
|
|
2767
|
-
revision: number;
|
|
2768
|
-
resourceId: string;
|
|
2769
|
-
generation: string;
|
|
2770
|
-
} | undefined;
|
|
2771
|
-
}[];
|
|
2772
|
-
wait?: {
|
|
2773
|
-
id: string;
|
|
2774
|
-
workerIds: string[];
|
|
2775
|
-
requestIds?: string[] | undefined;
|
|
2776
|
-
requestOutcomes?: {
|
|
2777
|
-
requestId: string;
|
|
2778
|
-
status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
|
|
2779
|
-
observedAt: string;
|
|
2780
|
-
replyId?: string | undefined;
|
|
2781
|
-
}[] | undefined;
|
|
2782
|
-
deadline: string;
|
|
2783
|
-
mode?: "all" | "any" | "one" | undefined;
|
|
2784
|
-
revisions?: {
|
|
2785
|
-
workerId: string;
|
|
2786
|
-
revision: number;
|
|
2787
|
-
}[] | undefined;
|
|
2788
|
-
reason?: "cancelled" | "message" | "outcome" | "timeout" | undefined;
|
|
2789
|
-
phase: "parked" | "registered" | "wake-pending";
|
|
2790
|
-
outcomes: {
|
|
2791
|
-
workerId: string;
|
|
2792
|
-
status: "cancelled" | "done" | "failed" | "review";
|
|
2793
|
-
observedAt: string;
|
|
2794
|
-
summary?: string | undefined;
|
|
2795
|
-
revision?: number | undefined;
|
|
2796
|
-
}[];
|
|
2797
|
-
wakeId?: string | undefined;
|
|
2798
|
-
} | undefined;
|
|
2799
|
-
lastWait?: {
|
|
2800
|
-
id: string;
|
|
2801
|
-
workerIds: string[];
|
|
2802
|
-
requestIds?: string[] | undefined;
|
|
2803
|
-
requestOutcomes?: {
|
|
2804
|
-
requestId: string;
|
|
2805
|
-
status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
|
|
2806
|
-
observedAt: string;
|
|
2807
|
-
replyId?: string | undefined;
|
|
2808
|
-
}[] | undefined;
|
|
2809
|
-
deadline: string;
|
|
2810
|
-
mode?: "all" | "any" | "one" | undefined;
|
|
2811
|
-
revisions?: {
|
|
2812
|
-
workerId: string;
|
|
2813
|
-
revision: number;
|
|
2814
|
-
}[] | undefined;
|
|
2815
|
-
reason?: "cancelled" | "message" | "outcome" | "timeout" | undefined;
|
|
2816
|
-
phase: "parked" | "registered" | "wake-pending";
|
|
2817
|
-
outcomes: {
|
|
2818
|
-
workerId: string;
|
|
2819
|
-
status: "cancelled" | "done" | "failed" | "review";
|
|
2820
|
-
observedAt: string;
|
|
2821
|
-
summary?: string | undefined;
|
|
2822
|
-
revision?: number | undefined;
|
|
2823
|
-
}[];
|
|
2824
|
-
wakeId?: string | undefined;
|
|
2825
|
-
} | undefined;
|
|
2826
|
-
results?: {
|
|
2827
|
-
workerId: string;
|
|
2828
|
-
revision: number;
|
|
2829
|
-
snapshotId: string;
|
|
2830
|
-
observedAt: string;
|
|
2831
|
-
lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
|
|
2832
|
-
previous?: {
|
|
2833
|
-
revision: number;
|
|
2834
|
-
observedAt: string;
|
|
2835
|
-
lastExecutionOutcome: "cancelled" | "completed" | "failed" | "review-ready" | "running";
|
|
2836
|
-
} | undefined;
|
|
2837
|
-
}[] | undefined;
|
|
2838
|
-
finishRequestedAt?: string | undefined;
|
|
2839
|
-
historyDeletion?: "pending" | undefined;
|
|
2840
|
-
completion?: {
|
|
2841
|
-
phase: "attention" | "waiting";
|
|
2842
|
-
waitId?: string | undefined;
|
|
2843
|
-
} | undefined;
|
|
2844
|
-
} | {
|
|
2845
|
-
role: "worker";
|
|
2846
|
-
wait?: {
|
|
2847
|
-
id: string;
|
|
2848
|
-
workerIds: string[];
|
|
2849
|
-
requestIds?: string[] | undefined;
|
|
2850
|
-
requestOutcomes?: {
|
|
2851
|
-
requestId: string;
|
|
2852
|
-
status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
|
|
2853
|
-
observedAt: string;
|
|
2854
|
-
replyId?: string | undefined;
|
|
2855
|
-
}[] | undefined;
|
|
2856
|
-
deadline: string;
|
|
2857
|
-
mode?: "all" | "any" | "one" | undefined;
|
|
2858
|
-
revisions?: {
|
|
2859
|
-
workerId: string;
|
|
2860
|
-
revision: number;
|
|
2861
|
-
}[] | undefined;
|
|
2862
|
-
reason?: "cancelled" | "message" | "outcome" | "timeout" | undefined;
|
|
2863
|
-
phase: "parked" | "registered" | "wake-pending";
|
|
2864
|
-
outcomes: {
|
|
2865
|
-
workerId: string;
|
|
2866
|
-
status: "cancelled" | "done" | "failed" | "review";
|
|
2867
|
-
observedAt: string;
|
|
2868
|
-
summary?: string | undefined;
|
|
2869
|
-
revision?: number | undefined;
|
|
2870
|
-
}[];
|
|
2871
|
-
wakeId?: string | undefined;
|
|
2872
|
-
} | undefined;
|
|
2873
|
-
lastWait?: {
|
|
2874
|
-
id: string;
|
|
2875
|
-
workerIds: string[];
|
|
2876
|
-
requestIds?: string[] | undefined;
|
|
2877
|
-
requestOutcomes?: {
|
|
2878
|
-
requestId: string;
|
|
2879
|
-
status: "cancelled" | "completed-without-reply" | "deleted" | "destroyed" | "failed" | "human-fallback" | "replied" | "replied-late" | "sender-closed" | "timed-out";
|
|
2880
|
-
observedAt: string;
|
|
2881
|
-
replyId?: string | undefined;
|
|
2882
|
-
}[] | undefined;
|
|
2883
|
-
deadline: string;
|
|
2884
|
-
mode?: "all" | "any" | "one" | undefined;
|
|
2885
|
-
revisions?: {
|
|
2886
|
-
workerId: string;
|
|
2887
|
-
revision: number;
|
|
2888
|
-
}[] | undefined;
|
|
2889
|
-
reason?: "cancelled" | "message" | "outcome" | "timeout" | undefined;
|
|
2890
|
-
phase: "parked" | "registered" | "wake-pending";
|
|
2891
|
-
outcomes: {
|
|
2892
|
-
workerId: string;
|
|
2893
|
-
status: "cancelled" | "done" | "failed" | "review";
|
|
2894
|
-
observedAt: string;
|
|
2895
|
-
summary?: string | undefined;
|
|
2896
|
-
revision?: number | undefined;
|
|
2897
|
-
}[];
|
|
2898
|
-
wakeId?: string | undefined;
|
|
2899
|
-
} | undefined;
|
|
2900
|
-
permissions: ("destroy" | "diff" | "inspect" | "spawn" | "steer" | "stop" | "wait")[];
|
|
2901
|
-
parentRunId: string;
|
|
2902
|
-
workspace: {
|
|
2903
|
-
ownerRunId: string;
|
|
2904
|
-
resourceId: string;
|
|
2905
|
-
kind: "owned-isolated";
|
|
2906
|
-
path: string;
|
|
2907
|
-
branch: string;
|
|
2908
|
-
baselineSha: string;
|
|
2909
|
-
};
|
|
2910
|
-
destroy?: {
|
|
2911
|
-
requestedAt: string;
|
|
2912
|
-
phase: "cleaning" | "complete" | "incomplete" | "requested" | "terminating";
|
|
2913
|
-
remaining: ("branch" | "process" | "worktree")[];
|
|
2914
|
-
error?: string | undefined;
|
|
2915
|
-
} | undefined;
|
|
2916
|
-
context?: {
|
|
2917
|
-
text?: string | undefined;
|
|
2918
|
-
inputs: {
|
|
2919
|
-
source: {
|
|
2920
|
-
kind: "parent-file";
|
|
2921
|
-
path: string;
|
|
2922
|
-
} | {
|
|
2923
|
-
kind: "baseline-file";
|
|
2924
|
-
path: string;
|
|
2925
|
-
} | {
|
|
2926
|
-
kind: "parent-attachment";
|
|
2927
|
-
id: string;
|
|
2928
|
-
};
|
|
2929
|
-
path: string;
|
|
2930
|
-
sha256: string;
|
|
2931
|
-
bytes: number;
|
|
2932
|
-
}[];
|
|
2933
|
-
} | undefined;
|
|
2934
|
-
executionRevision?: number | undefined;
|
|
2935
|
-
executionStartSeq?: number | undefined;
|
|
2936
|
-
} | {
|
|
2937
|
-
role: "invalid";
|
|
2938
|
-
} | undefined;
|
|
2939
|
-
lastWaitsError?: string | undefined;
|
|
2940
|
-
automaticWakes?: number | undefined;
|
|
2941
|
-
waitDeliveryFailures?: number | undefined;
|
|
2942
|
-
runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
|
|
2943
|
-
notify?: boolean | undefined;
|
|
2944
|
-
webhook?: {
|
|
2945
|
-
lastDeliveredAt?: string | undefined;
|
|
2946
|
-
lastError?: string | undefined;
|
|
2947
|
-
lastErrorWebhookId?: string | undefined;
|
|
2948
|
-
} | undefined;
|
|
2949
|
-
destroyRetry?: {
|
|
2950
|
-
attempts: number;
|
|
2951
|
-
nextAt: string;
|
|
2952
|
-
needsAttention?: true | undefined;
|
|
2953
|
-
} | undefined;
|
|
2954
|
-
stopping?: boolean | undefined;
|
|
2955
|
-
hasPendingPermission?: boolean | undefined;
|
|
2956
|
-
autoResumeAt?: string | undefined;
|
|
2957
|
-
autoResumeAttempts?: number | undefined;
|
|
2958
|
-
pullRequests?: {
|
|
2959
|
-
number: number;
|
|
2960
|
-
url?: string | undefined;
|
|
2961
|
-
source: "created" | "declared";
|
|
2962
|
-
}[] | undefined;
|
|
2963
|
-
worktreeSetup?: {
|
|
2964
|
-
status: "done" | "failed" | "running";
|
|
2965
|
-
startedAt: string;
|
|
2966
|
-
finishedAt?: string | undefined;
|
|
2967
|
-
durationMs?: number | undefined;
|
|
2968
|
-
error?: string | undefined;
|
|
2969
|
-
} | undefined;
|
|
2970
|
-
archived: boolean;
|
|
2971
|
-
workflowDef?: {
|
|
2972
|
-
name: string;
|
|
2973
|
-
description?: string | undefined;
|
|
2974
|
-
steps: {
|
|
2975
|
-
id: string;
|
|
2976
|
-
name?: string | undefined;
|
|
2977
|
-
prompt?: string | undefined;
|
|
2978
|
-
skill?: string | undefined;
|
|
2979
|
-
model?: string | undefined;
|
|
2980
|
-
effort?: string | undefined;
|
|
2981
|
-
timeoutMs?: number | undefined;
|
|
2982
|
-
runner?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
|
|
2983
|
-
agentProfile?: string | undefined;
|
|
2984
|
-
allowedTools?: string[] | undefined;
|
|
2985
|
-
bashAllowlist?: string[] | undefined;
|
|
2986
|
-
command?: string | undefined;
|
|
2987
|
-
onFail?: {
|
|
2988
|
-
retry: string;
|
|
2989
|
-
max: number;
|
|
2990
|
-
} | undefined;
|
|
2991
|
-
}[];
|
|
2992
|
-
source: "built-in" | "file";
|
|
2993
|
-
path?: string | undefined;
|
|
2994
|
-
} | undefined;
|
|
2995
|
-
steps: {
|
|
2996
|
-
id: string;
|
|
2997
|
-
name: string;
|
|
2998
|
-
kind: "agent" | "check";
|
|
2999
|
-
status: "cancelled" | "done" | "failed" | "pending" | "review" | "running" | "skipped" | "waiting";
|
|
3000
|
-
iterations: number;
|
|
3001
|
-
retriesUsed?: number | undefined;
|
|
3002
|
-
tokensUsed: number;
|
|
3003
|
-
inputTokens?: number | undefined;
|
|
3004
|
-
outputTokens?: number | undefined;
|
|
3005
|
-
usageInvocationsStarted?: number | undefined;
|
|
3006
|
-
usageInvocationsObserved?: number | undefined;
|
|
3007
|
-
usageTurnsStarted?: number | undefined;
|
|
3008
|
-
usageTurnsRecorded?: number | undefined;
|
|
3009
|
-
usageInvocationEpoch?: number | undefined;
|
|
3010
|
-
startedAt?: string | undefined;
|
|
3011
|
-
finishedAt?: string | undefined;
|
|
3012
|
-
error?: string | undefined;
|
|
3013
|
-
sessionId?: string | undefined;
|
|
3014
|
-
sessionTransport?: "cursor-acp" | "cursor-print" | undefined;
|
|
3015
|
-
profileId?: string | undefined;
|
|
3016
|
-
costUsd?: number | undefined;
|
|
3017
|
-
synthetic?: "continuation" | undefined;
|
|
3018
|
-
backend?: "claude" | "codex" | "cursor" | "omp" | "opencode" | "pi" | undefined;
|
|
3019
|
-
}[];
|
|
3020
|
-
automation?: {
|
|
3021
|
-
automationId: string;
|
|
3022
|
-
receiptId: string;
|
|
3023
|
-
event: string;
|
|
3024
|
-
automationRevision: number;
|
|
3025
|
-
githubUrl: string;
|
|
3026
|
-
} | undefined;
|
|
3027
|
-
automationTrigger?: {
|
|
3028
|
-
automationId: string;
|
|
3029
|
-
receiptId: string;
|
|
3030
|
-
trigger: "catch-up" | "manual" | "schedule";
|
|
3031
|
-
occurrenceAt: string;
|
|
3032
|
-
automationRevision: number;
|
|
3033
|
-
} | undefined;
|
|
3034
|
-
handoffRecords?: {
|
|
3035
|
-
autosave: {
|
|
3036
|
-
at: string;
|
|
3037
|
-
note: string;
|
|
3038
|
-
periodic?: {
|
|
3039
|
-
branch: string | null;
|
|
3040
|
-
count: number;
|
|
3041
|
-
first: string | null;
|
|
3042
|
-
latest: string | null;
|
|
3043
|
-
} | undefined;
|
|
3044
|
-
}[];
|
|
3045
|
-
} | undefined;
|
|
3046
|
-
}[]>;
|
|
3047
|
-
/** One stored record and what its JSON holds beyond the runtime schema (raw-record.ts), which
|
|
3048
|
-
* the next write of its row puts back. */
|
|
3049
|
-
export interface DecodedRun {
|
|
3050
|
-
run: RunRecord;
|
|
3051
|
-
extras: RawExtras | undefined;
|
|
3052
|
-
/** The stored JSON still had schema-3 wait fields (`upgradeLegacyWaits`): open rewrites it. */
|
|
3053
|
-
upgraded?: true;
|
|
3054
|
-
}
|
|
3055
|
-
/** One database row's `data` back into a record and its extras. Undefined when it does not parse:
|
|
3056
|
-
* one unreadable row costs that row only. */
|
|
3057
|
-
export declare function decodeRunRow(data: string): DecodedRun | undefined;
|
|
3058
|
-
/** One database row's `data` back into a record, for a reader that never writes it back. */
|
|
3059
|
-
export declare function decodeRunRecord(data: string): RunRecord | undefined;
|
|
3060
31
|
export { LEGACY_INDEX_BACKUP_FILE, LEGACY_INDEX_FILE } from './legacy-index.ts';
|
|
3061
|
-
export type StepState
|
|
32
|
+
export { decodeRunRecord, decodeRunRow, parseRunRecords, runRecordSchema, type DecodedRun, type RunRecord, type StepState } from './run-decode.ts';
|
|
33
|
+
export { ARCHIVED_WINDOW } from './run-index.ts';
|
|
3062
34
|
export type QueuedMessage = z.infer<typeof queuedMessageSchema>;
|
|
3063
|
-
export type RunRecord = z.infer<typeof runRecordSchema>;
|
|
3064
35
|
/** One persisted event line; `type` mirrors AgentEvent plus engine lifecycle. */
|
|
3065
36
|
export type RunEvent = import('../contract/index.js').RunEvent;
|
|
3066
|
-
/** How many archived root runs the run lists carry per project (#864): `GET /run-summaries?archived=recent`
|
|
3067
|
-
* and `GET /workspace/runs-index`. Unarchived runs are never cut; older archived runs page in
|
|
3068
|
-
* through `GET /run-summaries/archived` and the workspace search. */
|
|
3069
|
-
export declare const ARCHIVED_WINDOW = 200;
|
|
3070
37
|
/** The repository a project IS, as `resolveRepoHandle` reports it. `null`/absent means "unknown",
|
|
3071
38
|
* which is a real and common state (no `gh`, no remote, a non-git root) — never an error. */
|
|
3072
39
|
export type RepoHandle = {
|
|
3073
40
|
owner: string;
|
|
3074
41
|
name: string;
|
|
3075
42
|
};
|
|
3076
|
-
/**
|
|
3077
|
-
* Reconcile one record just read off disk with the fact that whichever process wrote it is gone.
|
|
3078
|
-
*
|
|
3079
|
-
* Mutates and returns `run`. Extracted from `RunStore.open` so the read-only index reader
|
|
3080
|
-
* (`./run-index.ts`) answers the SAME question about a `running` row on disk. Two parsers that
|
|
3081
|
-
* disagree here is a visible bug, not an internal one: the cockpit would show a task as running
|
|
3082
|
-
* in the ⌘K index and failed the moment you opened it.
|
|
3083
|
-
*
|
|
3084
|
-
* `keepLive` (#367): leave `queued`/`running`/`waiting` untouched so the caller can recover them
|
|
3085
|
-
* (RunManager.recover re-queues queued runs, resumes interrupted ones). Without it — one-shot CLI
|
|
3086
|
-
* paths that never recover, and the index reader, which has no manager at all — live-looking runs
|
|
3087
|
-
* are marked failed so no ghost stays behind.
|
|
3088
|
-
*/
|
|
3089
|
-
export declare function reconcileLoadedRun(run: RunRecord, opts?: {
|
|
3090
|
-
keepLive?: boolean;
|
|
3091
|
-
}): RunRecord;
|
|
3092
|
-
/**
|
|
3093
|
-
* Settle an adopted dead owner’s live run without starting work. Untouched runs cancel; started
|
|
3094
|
-
* runs become interrupted. Stop explicitly cancels its target. Mutates run.
|
|
3095
|
-
*/
|
|
3096
|
-
export declare function settleOrphanedRun(run: RunRecord, opts?: {
|
|
3097
|
-
stop?: boolean | undefined;
|
|
3098
|
-
}): RunRecord;
|
|
3099
|
-
export declare function __setLegacyImportHookForTests(hook?: {
|
|
3100
|
-
beforeTransaction?: () => void;
|
|
3101
|
-
beforeCommit?: () => void;
|
|
3102
|
-
}): void;
|
|
3103
|
-
/** What branch cleanup and git-log attribution read about a run (`RunStore.listBranchOwners`). */
|
|
3104
|
-
export interface BranchOwner {
|
|
3105
|
-
id: string;
|
|
3106
|
-
title: string;
|
|
3107
|
-
status: RunStatus;
|
|
3108
|
-
archived: boolean;
|
|
3109
|
-
createdAt: string;
|
|
3110
|
-
/** The branch the run owns (see `encodeRunRow`); absent for a run listed for its PR alone. */
|
|
3111
|
-
branch?: string;
|
|
3112
|
-
baseBranch?: string;
|
|
3113
|
-
pullRequestUrl?: string;
|
|
3114
|
-
}
|
|
3115
|
-
/** A record as a branch owner, or undefined when it owns no branch and created no PR: the
|
|
3116
|
-
* projection `listBranchOwners` reads off a row's summary and columns, computed from memory. */
|
|
3117
|
-
export declare function branchOwnerOf(run: RunRecord): BranchOwner | undefined;
|
|
3118
|
-
/** Who may hold a run in memory besides its own record (see `RunStore.pin`). `maintenance` is the
|
|
3119
|
-
* RunManager's publish, worktree-reclaim and branch-cleanup claims, held across their async work. */
|
|
3120
|
-
export type RunPinHolder = 'active' | 'continue' | 'cleanup' | 'maintenance';
|
|
3121
|
-
/**
|
|
3122
|
-
* Who may change a run, as this store sees it (#779, plan step 3; `RunStore.runOwnership`):
|
|
3123
|
-
* - `held`: this store claims its delegation family;
|
|
3124
|
-
* - `free`: no live process claims it and nothing in its family is live; a write takes it. A
|
|
3125
|
-
* proven-dead owner's claim on such a family counts for nothing: there is nothing to recover;
|
|
3126
|
-
* - `orphaned`: nobody alive owns a family that still has a live run (its owner died, or nobody
|
|
3127
|
-
* claimed it): taking it means adopting it first (`RunStore.adoptFamily` settles it, then the
|
|
3128
|
-
* manager recovers the family);
|
|
3129
|
-
* - `foreign`: another process that is alive (or cannot be proven dead) holds it: read-only here;
|
|
3130
|
-
* - `quarantined`: a write found it changed under this store; refused until cezar restarts;
|
|
3131
|
-
* - `fallback`: a family member is read from the fallback directory: refused as `foreign` until a control adopts it.
|
|
3132
|
-
*/
|
|
3133
|
-
export type RunOwnership = 'held' | 'free' | 'orphaned' | 'foreign' | 'quarantined' | 'fallback';
|
|
3134
|
-
/** The one answer every control gives for a run another cezar process owns (`409 { error }`). */
|
|
3135
|
-
export declare const RUN_IN_USE_ELSEWHERE: string;
|
|
3136
|
-
/** The answer for a run this process stopped writing after a conflicting write. */
|
|
3137
|
-
export declare const RUN_QUARANTINED: string;
|
|
3138
|
-
/** A write this store must not make: another process owns the run, its owner died with work
|
|
3139
|
-
* still live (adopt it first), or a conflict quarantined it. Nothing was changed. */
|
|
3140
|
-
export declare class RunWriteRefusedError extends Error {
|
|
3141
|
-
readonly runId: string;
|
|
3142
|
-
readonly ownership: Exclude<RunOwnership, 'held' | 'free'>;
|
|
3143
|
-
constructor(runId: string, ownership: Exclude<RunOwnership, 'held' | 'free'>, fallbackError?: string);
|
|
3144
|
-
}
|
|
3145
|
-
/** Newest first, runs created in the same millisecond in insertion order: the order `runs.db`
|
|
3146
|
-
* lists in, and the order every list had while it was a stable sort of the in-memory map. */
|
|
3147
|
-
/** Why a `run` event fired, when a delegation checkpoint caused it or nothing durable changed
|
|
3148
|
-
* (`republish`) (in-process only). */
|
|
3149
|
-
export type CommitSource = 'delegation-checkpoint' | 'delegation-destroy-progress' | 'live-release';
|
|
3150
43
|
/**
|
|
3151
44
|
* Run rows in runs.db plus append-only NDJSON events and an in-process event bus. Hold live,
|
|
3152
45
|
* pinned, related and unsettled records only. Optimistic writes debounce; durable commits
|
|
3153
46
|
* publish after persistence. Family claims fence every write.
|
|
3154
47
|
*/
|
|
3155
|
-
export declare class RunStore
|
|
48
|
+
export declare class RunStore {
|
|
3156
49
|
private readonly dataDir;
|
|
3157
50
|
/** The held set: every record this store keeps in memory, by id. */
|
|
3158
51
|
private readonly held;
|
|
@@ -3160,16 +53,18 @@ export declare class RunStore extends EventEmitter {
|
|
|
3160
53
|
private readonly pins;
|
|
3161
54
|
/** Staged ids while a durable commit installs and announces them: never evicted mid-commit. */
|
|
3162
55
|
private readonly committing;
|
|
3163
|
-
private saveTimer;
|
|
3164
56
|
/** `null` once the store is closed, and in a `RunStore.unavailable` store (nothing is written,
|
|
3165
57
|
* nothing is evicted). */
|
|
3166
58
|
private db;
|
|
3167
|
-
get reports(): ReportsIndex;
|
|
3168
59
|
/** Why `open` failed, in a `RunStore.unavailable` store. */
|
|
3169
60
|
private openFailure;
|
|
3170
|
-
private persistence;
|
|
3171
61
|
/** Runs whose held record is ahead of its row; the next save or commit writes them. */
|
|
3172
62
|
private readonly dirty;
|
|
63
|
+
/** The typed lifecycle events the store publishes after each write (lifecycle.ts). */
|
|
64
|
+
private readonly published;
|
|
65
|
+
readonly lifecycle: RunLifecycleSource;
|
|
66
|
+
/** Unsubscribe handles of the process-wide listeners (lifecycle-registry.ts), attached before any write can publish. */
|
|
67
|
+
private readonly listenerHandles;
|
|
3173
68
|
/** The lifecycle events run exits write (B12). */
|
|
3174
69
|
private readonly exitEvents;
|
|
3175
70
|
/** Runs gone from memory whose rows the next save or commit deletes. */
|
|
@@ -3177,10 +72,6 @@ export declare class RunStore extends EventEmitter {
|
|
|
3177
72
|
/** Deleted runs whose history files (events, handoff, images, artifacts) go once the delete of
|
|
3178
73
|
* their row commits: until then a conflict can undo the delete and bring the row back. */
|
|
3179
74
|
private readonly historyOwed;
|
|
3180
|
-
/** The repository this project IS (#945), armed after `open()` by `setRepoHandle`. Undefined
|
|
3181
|
-
* until it arrives and `null` when it cannot be known — both mean "unscoped", which is
|
|
3182
|
-
* exactly the pre-#945 behavior. */
|
|
3183
|
-
private repoHandle;
|
|
3184
75
|
/** `open()`'s `keepLive`, which a run read later from `runs.db` is reconciled with too. */
|
|
3185
76
|
private keepLive;
|
|
3186
77
|
/** This store's identity in `run_claims`; undefined without a database. */
|
|
@@ -3195,25 +86,41 @@ export declare class RunStore extends EventEmitter {
|
|
|
3195
86
|
* created the row and has not written it yet. `extras` is what that `data` holds beyond the
|
|
3196
87
|
* schema, which the next write of the row puts back (raw-record.ts). */
|
|
3197
88
|
private readonly base;
|
|
3198
|
-
/** Rows read cold in the current synchronous turn, so a commit staged from one is fenced against
|
|
3199
|
-
* the version it was computed from. `owned`: its family was already this store's when read.
|
|
3200
|
-
* Cleared at the next microtask: no commit spans a turn. */
|
|
3201
|
-
private readonly coldBase;
|
|
3202
|
-
private readonly coldReads;
|
|
3203
|
-
/** The family of each pending deletion, whose claim the deleting write is fenced against. */
|
|
3204
|
-
private readonly deletedFamilies;
|
|
3205
89
|
/** Rows a conflicting write excluded: this store refuses to write them until it is reopened. */
|
|
3206
90
|
private readonly quarantined;
|
|
3207
|
-
/**
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
91
|
+
/** The archive flag, archive on merge, completion actions and the transcript compressor (hearsay-tools/squawk#4041). */
|
|
92
|
+
readonly archive: RunArchiveTopic;
|
|
93
|
+
/** The pinned and read flags (hearsay-tools/squawk#4041). */
|
|
94
|
+
readonly readFlags: RunReadFlagsTopic;
|
|
95
|
+
/** What the transcript says about a run (hearsay-tools/squawk#4036). */
|
|
96
|
+
readonly transcriptFacts: RunTranscriptFacts;
|
|
97
|
+
/** Whether a run may go, and its deletion; the count-based archive (hearsay-tools/squawk#4037). */
|
|
98
|
+
readonly retention: RunRetentionTopic;
|
|
99
|
+
/** The saved snapshot of a worker's collected result (hearsay-tools/squawk#4038). */
|
|
100
|
+
readonly workerResults: WorkerResultsTopic;
|
|
101
|
+
/** The event log and reference markers (hearsay-tools/squawk#4040). */
|
|
102
|
+
readonly eventLog: RunEventLogTopic;
|
|
103
|
+
/** The scrub of events and free text (hearsay-tools/squawk#4040). */
|
|
104
|
+
readonly redaction: RunRedaction;
|
|
105
|
+
/** Claims, ownership, sources and fallback (hearsay-tools/squawk#4042). */
|
|
106
|
+
readonly claims: RunClaimsTopic;
|
|
107
|
+
/** The holds that keep a run loaded (hearsay-tools/squawk#4042). */
|
|
108
|
+
readonly runPins: RunPinsTopic;
|
|
109
|
+
/** Flush, persist, the fence, conflicts and the save debounce (hearsay-tools/squawk#4043). */
|
|
110
|
+
readonly persistence: RunPersistenceTopic;
|
|
111
|
+
/** The held set's cold reads, holds and eviction (hearsay-tools/squawk#4044). */
|
|
112
|
+
private readonly rows;
|
|
113
|
+
/** The list and find queries (hearsay-tools/squawk#4044). */
|
|
114
|
+
readonly queries: RunQueriesTopic;
|
|
115
|
+
/** The repository this project is, and the repair of the runs it rescopes (hearsay-tools/squawk#4044). */
|
|
116
|
+
readonly repoScope: RunRepoScopeTopic;
|
|
117
|
+
/** The family conversation ledgers, read by message and request ID (hearsay-tools/squawk#4192). */
|
|
118
|
+
readonly conversations: ConversationLedger;
|
|
119
|
+
private executions;
|
|
120
|
+
/** A worker's execution, process, identity and scope records (hearsay-tools/squawk#4039), built on
|
|
121
|
+
* first use by the factory this process registered; throws when none is registered. */
|
|
122
|
+
get workerExecutions(): WorkerExecutions & WorkerExecutionRecords;
|
|
3214
123
|
private readonly liveItems;
|
|
3215
|
-
private fallbackFacts;
|
|
3216
|
-
private factsFor;
|
|
3217
124
|
/** Capture both sources on the same synchronous sequence boundary before history IO. */
|
|
3218
125
|
liveReadSnapshot(runId: string): {
|
|
3219
126
|
events: {
|
|
@@ -3261,227 +168,6 @@ export declare class RunStore extends EventEmitter {
|
|
|
3261
168
|
/** Why this store has no database, when it is `RunStore.unavailable`'s: its runs are unknown,
|
|
3262
169
|
* not absent. */
|
|
3263
170
|
get unavailable(): RunStoreOpenError | undefined;
|
|
3264
|
-
/** Every sidecar for a run follows the winning record, never file-by-file fallback. */
|
|
3265
|
-
sourceDataDir(id: string): string;
|
|
3266
|
-
isFallbackRun(id: string): boolean;
|
|
3267
|
-
hasFallbackRun(id: string): boolean;
|
|
3268
|
-
fallbackDeleteError(id: string, kind?: 'record' | 'worktree'): string | undefined;
|
|
3269
|
-
/**
|
|
3270
|
-
* Open-time load: the live rows, the finished rows a load normalization repairs, then the
|
|
3271
|
-
* delegation families of the live ones. A row that does not parse is skipped and left in the
|
|
3272
|
-
* database untouched; one warning says how many.
|
|
3273
|
-
*
|
|
3274
|
-
* Only rows this store can claim are loaded (#779, plan step 3). A live row whose family another
|
|
3275
|
-
* live process claims — `serve`'s parked run, seen by a headless `cez run` — is that process's:
|
|
3276
|
-
* it is not loaded, normalized or recovered here, and stays readable through `getRun` and the
|
|
3277
|
-
* list rows. A live row nobody alive claims is taken over, as before: this open recovers it
|
|
3278
|
-
* (`keepLive`) or settles it as interrupted.
|
|
3279
|
-
*/
|
|
3280
|
-
private loadHeldRows;
|
|
3281
|
-
/** Normalize a record just read from `row` (see `reconcileLoadedRun`) and hold it. Marks the row
|
|
3282
|
-
* dirty only when normalization changed it, so the next save persists exactly the runs open()
|
|
3283
|
-
* rewrote. A row read up from schema-3 wait fields counts as changed: its rewrite drops them
|
|
3284
|
-
* and recomputes its summary and live column (`upgradeLegacyWaits`). The caller has claimed
|
|
3285
|
-
* the row's family. */
|
|
3286
|
-
private adoptLoadedRun;
|
|
3287
|
-
/**
|
|
3288
|
-
* Hold one delegation family: its root and the root's direct workers, read through the
|
|
3289
|
-
* `parent_run_id` index. No recursion: workers cannot delegate, so a worker's own id never
|
|
3290
|
-
* names a family. The caller has claimed it. `settle` settles its live rows instead of keeping
|
|
3291
|
-
* them for recovery (`settleOrphanedRun`); `stopId` is the run a Stop settles as cancelled.
|
|
3292
|
-
*/
|
|
3293
|
-
private holdFamily;
|
|
3294
|
-
/** Make sure this store claims each of `families`; `claimStoreFamilies` takes the free ones. */
|
|
3295
|
-
private claimFamilies;
|
|
3296
|
-
/** Release the claim of every family with nothing left in memory, once nothing is pending: a
|
|
3297
|
-
* failed save keeps its families claimed until it succeeds. A failed release retries at the
|
|
3298
|
-
* next sweep; `close()` releases the rest. */
|
|
3299
|
-
private releaseUnheldClaims;
|
|
3300
|
-
/**
|
|
3301
|
-
* Who may change this run right now (see `RunOwnership`), or undefined when there is no such
|
|
3302
|
-
* run. Read-only: nothing is claimed. Controls ask this first, so a run another process owns is
|
|
3303
|
-
* refused with `RUN_IN_USE_ELSEWHERE` and a dead process's run is adopted before it is changed.
|
|
3304
|
-
*/
|
|
3305
|
-
runOwnership(id: string): RunOwnership | undefined;
|
|
3306
|
-
/** Why a control on this run must be refused here, or undefined when this store may change it. */
|
|
3307
|
-
writeRefusal(id: string): string | undefined;
|
|
3308
|
-
/**
|
|
3309
|
-
* Claim an orphaned family before a control, then settle its live rows.
|
|
3310
|
-
* Stop cancels its target. Return the root id, or undefined for a live owner or missing run.
|
|
3311
|
-
*/
|
|
3312
|
-
adoptFamily(id: string, opts?: {
|
|
3313
|
-
stop?: boolean;
|
|
3314
|
-
}): string | undefined;
|
|
3315
|
-
/** Explicit controls only (`requireRunControl`): copy a fallback family in so it can be written. */
|
|
3316
|
-
adoptFallbackFamily(id: string): boolean;
|
|
3317
|
-
private fallbackRefusal;
|
|
3318
|
-
/** Run files are written only for a family this store may write, never a fallback family. */
|
|
3319
|
-
private writeDir;
|
|
3320
|
-
/** Every run whose family another process owns (`foreignClaimedRunIds`). */
|
|
3321
|
-
listForeignClaimedRunIds(): string[];
|
|
3322
|
-
/** Non-terminal rows in the database (both directories) and the runs of families another live store claims. */
|
|
3323
|
-
persistedLiveRunIds(): {
|
|
3324
|
-
live: string[];
|
|
3325
|
-
foreign: string[];
|
|
3326
|
-
};
|
|
3327
|
-
/**
|
|
3328
|
-
* Whether a held run anchors itself (and its family) in memory. Anything else held is a family
|
|
3329
|
-
* member or a settled write, and leaves at the next sweep (`evictSettled`).
|
|
3330
|
-
*
|
|
3331
|
-
* The held set is: every run that is live (`isLiveRecord`), pinned by a RunManager (`pin`),
|
|
3332
|
-
* dirty, or inside a durable commit; plus the whole delegation family (root and direct
|
|
3333
|
-
* workers) of any such run. Families are held because the RunManager reads a live run's family
|
|
3334
|
-
* on every run event — `GET /runs/:id/relationships`, the global `reconcileWorkerWaits` pass
|
|
3335
|
-
* (about twenty call sites), completion blockers and conversations — and decoding a cold
|
|
3336
|
-
* record costs about 200 µs (JSON.parse plus the schema). Measured on a copy of a real
|
|
3337
|
-
* cockpit's `runs.json` (958 runs, 957 of them delegated): a running root with 26 workers
|
|
3338
|
-
* paid about 5 ms per family read, and the live families together about 10 ms per global
|
|
3339
|
-
* pass, all on the event loop. Holding them costs memory in proportion to active work, not to
|
|
3340
|
-
* history.
|
|
3341
|
-
*/
|
|
3342
|
-
private isAnchor;
|
|
3343
|
-
/** The family roots with an anchoring member in memory. */
|
|
3344
|
-
private anchoredFamilies;
|
|
3345
|
-
/** Drop every held run that is neither an anchor nor in an anchored family. A store without a
|
|
3346
|
-
* database keeps everything: memory is the only copy it has. */
|
|
3347
|
-
private evictSettled;
|
|
3348
|
-
/** A run read from `runs.db`, normalized like a loaded one (`reconcileLoadedRun`, then the
|
|
3349
|
-
* repository scope) but held by nobody. Undefined when absent, deleted or unreadable. */
|
|
3350
|
-
private loadCold;
|
|
3351
|
-
private decodeCold;
|
|
3352
|
-
/** Hold a writable row. A fallback family's reads stay detached (the cold-read contract). */
|
|
3353
|
-
private holdDecoded;
|
|
3354
|
-
/**
|
|
3355
|
-
* Hold a claimed run for a write; leave after settlement unless anchored.
|
|
3356
|
-
* Take the family claim before reading its row. Return undefined for a live foreign owner
|
|
3357
|
-
* or a fallback family: neither claim is granted.
|
|
3358
|
-
*/
|
|
3359
|
-
private hold;
|
|
3360
|
-
/** The record a store write changes in place: held, or loaded to be. Undefined for a run this
|
|
3361
|
-
* store may not write (another process's, or quarantined), so the write changes nothing. */
|
|
3362
|
-
private record;
|
|
3363
|
-
/** Read held legacy family members, or a detached cold record. */
|
|
3364
|
-
private peek;
|
|
3365
|
-
/**
|
|
3366
|
-
* A run just read off its row, as reads answer it: held when its family is in memory (a live
|
|
3367
|
-
* family's members are read on every run event), else a copy nobody holds — frozen under
|
|
3368
|
-
* vitest when it leaves the store (`freeze`).
|
|
3369
|
-
*/
|
|
3370
|
-
private answerCold;
|
|
3371
|
-
/** `getRun` for a row a query already read: the held object, else decoded from `row`. */
|
|
3372
|
-
private fromRow;
|
|
3373
|
-
/** Run `fn` reading each run that is not held at most once (`ColdReadCache`, hearsay-tools/cezarion#2378). */
|
|
3374
|
-
withReadCache<T>(fn: () => T): T;
|
|
3375
|
-
/** Whether the run exists, held or not, without decoding it. */
|
|
3376
|
-
private hasRun;
|
|
3377
|
-
/**
|
|
3378
|
-
* Keep a run in memory for `holder` until `unpin(id, holder)`: a RunManager pins the runs it is
|
|
3379
|
-
* executing (`active`) and the run a Continue is admitting (`continue`). A finished run is
|
|
3380
|
-
* loaded. Pins are per holder, so releasing one never releases another. Returns the held record.
|
|
3381
|
-
*/
|
|
3382
|
-
pin(id: string, holder: RunPinHolder): RunRecord | undefined;
|
|
3383
|
-
/** Publish a run's current record again without a write: something read beside the record
|
|
3384
|
-
* changed, such as the run leaving the manager's live registries, which a detail's finish
|
|
3385
|
-
* verdict reads (hearsay-tools/cezarion#1301). */
|
|
3386
|
-
republish(id: string): void;
|
|
3387
|
-
/** Release `holder`'s pin. The run leaves memory at the next sweep once nothing else holds it. */
|
|
3388
|
-
unpin(id: string, holder: RunPinHolder): void;
|
|
3389
|
-
/**
|
|
3390
|
-
* Set discovered repository identity without blocking boot. Recompute conclusions from retained
|
|
3391
|
-
* evidence, including cold records; null retains unknown-handle behavior.
|
|
3392
|
-
*/
|
|
3393
|
-
setRepoHandle(handle: RepoHandle | null): void;
|
|
3394
|
-
/** Whether the stored summary still names a reference the scoped record no longer has. */
|
|
3395
|
-
private storedScopeDiffers;
|
|
3396
|
-
/**
|
|
3397
|
-
* The live set, newest first: runs whose record is live (`isLiveRecord`) or that a RunManager
|
|
3398
|
-
* pins. Finished runs are not here — read one by id (`getRun`), by an indexed query
|
|
3399
|
-
* (`listWorkersOf`, `findRunByClientRequestId`, `listRunsWithWorktree`,
|
|
3400
|
-
* `listBranchOwners`), or as list rows (`listRunSummaries`).
|
|
3401
|
-
*/
|
|
3402
|
-
listRuns(): RunRecord[];
|
|
3403
|
-
/** Where a held run lists: its row's insertion order, or after every row while this store has
|
|
3404
|
-
* not written it yet. The held set keeps such runs in creation order, and so does every list
|
|
3405
|
-
* that sorts them in held-set order (`sortNewestFirst` is stable). */
|
|
3406
|
-
private listOrder;
|
|
3407
|
-
/**
|
|
3408
|
-
* EVERY run as a full record, newest first — decoded row by row. Only the legacy `GET /runs`
|
|
3409
|
-
* (older clients; the cockpit reads `GET /run-summaries`) may call this: it is exactly the
|
|
3410
|
-
* whole-history parse #779 exists to remove from everything else.
|
|
3411
|
-
*/
|
|
3412
|
-
listAllRunsForLegacyRoute(): RunRecord[];
|
|
3413
|
-
/** A bounded page of discoverable peer roots, including the current held overlay. */
|
|
3414
|
-
listPeerTaskSummaries(options: PeerTaskPageOptions): {
|
|
3415
|
-
runs: RunSummary[];
|
|
3416
|
-
nextOffset?: number;
|
|
3417
|
-
};
|
|
3418
|
-
/**
|
|
3419
|
-
* Every run as its list row, newest first: the stored `summary` column, with each held run's
|
|
3420
|
-
* own projection laid over it — a debounced save keeps memory up to 300 ms ahead of the row,
|
|
3421
|
-
* and a run created since the last save has no row yet. `usage` is the caller's to attach.
|
|
3422
|
-
*
|
|
3423
|
-
* With `archivedWindow` (#864), the window the cockpit's lists read: every unarchived run, plus
|
|
3424
|
-
* the newest `archivedWindow` archived ROOT runs, and whether older archived roots were left
|
|
3425
|
-
* out. Archived workers are never in it (see `RunDatabase.listWindowSummaries`); with `roots`,
|
|
3426
|
-
* no worker is — the runs index, whose readers list no workers. A held run
|
|
3427
|
-
* lists by its record, so one archived or unarchived since the last save is ranked as it is now.
|
|
3428
|
-
*
|
|
3429
|
-
* A row this store found unreadable is left out, as the cold reader leaves out a row it had to
|
|
3430
|
-
* decode and could not. A finished row nobody has decoded is served from its summary by both,
|
|
3431
|
-
* which decodes nothing; reading it is what finds out (`isUnreadable`).
|
|
3432
|
-
*/
|
|
3433
|
-
listRunSummaries(options?: {
|
|
3434
|
-
archivedWindow?: number | undefined;
|
|
3435
|
-
roots?: boolean;
|
|
3436
|
-
}): {
|
|
3437
|
-
runs: RunSummary[];
|
|
3438
|
-
truncated: boolean;
|
|
3439
|
-
};
|
|
3440
|
-
/**
|
|
3441
|
-
* One page of archived ROOT runs, newest first (#864): `GET /run-summaries/archived`, the
|
|
3442
|
-
* archived runs past the window. Held runs list by their record, as in `listRunSummaries`.
|
|
3443
|
-
* `before` is the previous page's `nextCursor`; with `q`, only runs `matchesRunQuery` keeps, and
|
|
3444
|
-
* `total` counts those. `automationNames` lets `q` match a task by its automation's name, as the
|
|
3445
|
-
* list's origin line shows it (hearsay-tools/cezarion#1616). A cursor this store did not write
|
|
3446
|
-
* answers `{ error }`.
|
|
3447
|
-
*
|
|
3448
|
-
* Ranking reads every archived root's key (id, created_at, seq: no record, no summary), so the
|
|
3449
|
-
* page and `total` agree with the held overlay; only the page's own rows are read in full.
|
|
3450
|
-
*/
|
|
3451
|
-
listArchivedRuns(options: {
|
|
3452
|
-
before?: string;
|
|
3453
|
-
limit: number;
|
|
3454
|
-
q?: string;
|
|
3455
|
-
automationNames?: AutomationNames;
|
|
3456
|
-
}): ArchivedRunsResponse | {
|
|
3457
|
-
error: string;
|
|
3458
|
-
};
|
|
3459
|
-
/** The archived roots in `runs.db`, each by its key: every one without `q` (no record, no
|
|
3460
|
-
* summary read), and with `q` the searched rows `matchesRunSearch` keeps, which carry the summary
|
|
3461
|
-
* the search read. A deleted, held or unreadable run's row is left out; a held run joins in
|
|
3462
|
-
* `overlayHeldArchived`. */
|
|
3463
|
-
private rankArchivedRows;
|
|
3464
|
-
/** Lay the held archived roots over `ranked`, each by its record: it replaces its stored row
|
|
3465
|
-
* (already left out of `ranked`), and with `q` it must match. A held worker never lists. */
|
|
3466
|
-
private overlayHeldArchived;
|
|
3467
|
-
/** The page of `ordered` after the cursor `after`: its summaries, the cursor of the next page,
|
|
3468
|
-
* and `total`, the count of all of `ordered`. */
|
|
3469
|
-
private archivedPage;
|
|
3470
|
-
/** The page's summaries: a ranked key's own, else its stored one, read for the rows that have
|
|
3471
|
-
* none in a single query. A row whose stored summary does not fit the contract is projected from
|
|
3472
|
-
* its record; a row that cannot be read at all is left out. */
|
|
3473
|
-
private hydrateArchivedPage;
|
|
3474
|
-
/**
|
|
3475
|
-
* The ROOT runs, archived or not, that match `query` (`matchesRunSearch`), newest first: at most
|
|
3476
|
-
* `limit`, and whether more matched. The owned half of the workspace search (#864); held runs
|
|
3477
|
-
* match by their record.
|
|
3478
|
-
*/
|
|
3479
|
-
searchRunSummaries(query: string, limit: number): {
|
|
3480
|
-
runs: RunSummary[];
|
|
3481
|
-
truncated: boolean;
|
|
3482
|
-
};
|
|
3483
|
-
/** A row whose stored summary does not fit the contract any more, projected from its record. */
|
|
3484
|
-
private coldSummary;
|
|
3485
171
|
/**
|
|
3486
172
|
* The run, or undefined. A held run is the held object (writes install into it). Any other run
|
|
3487
173
|
* is a fresh copy of its row each call, normalized like a loaded record — frozen under vitest —
|
|
@@ -3491,61 +177,6 @@ export declare class RunStore extends EventEmitter {
|
|
|
3491
177
|
/** Whether the run's row is in `runs.db` but its record could not be read here: what tells a
|
|
3492
178
|
* run that cannot open from one that does not exist. Known once something tried to read it. */
|
|
3493
179
|
isUnreadable(id: string): boolean;
|
|
3494
|
-
/** The ids in memory right now: the held set, for diagnostics and the benchmark's heap pass. */
|
|
3495
|
-
heldIds(): string[];
|
|
3496
|
-
/**
|
|
3497
|
-
* The workers a root run owns, newest first, read off its own `receipts` (#659). Every
|
|
3498
|
-
* `createOwnedRun` writes the receipt and the worker record in one transaction, and the
|
|
3499
|
-
* receipt list is capped at 1,024 creations (#816), so this is a bounded lookup rather than a walk of the whole
|
|
3500
|
-
* project index. An ordinary or worker run owns nothing and costs one map read; a receipt
|
|
3501
|
-
* whose record has been deleted is skipped, never invented. A parent quarantined to
|
|
3502
|
-
* `invalid` has no readable receipts and reports none, which is also what the cockpit
|
|
3503
|
-
* assumes for that role.
|
|
3504
|
-
*/
|
|
3505
|
-
listOwnedWorkers(parentId: string): RunRecord[];
|
|
3506
|
-
/** Every worker filed under `parentId` (the `parent_run_id` index plus memory), newest first:
|
|
3507
|
-
* receipts or not, which is what the reconcile and deletion checks ask. */
|
|
3508
|
-
listWorkersOf(parentId: string): RunRecord[];
|
|
3509
|
-
/** The id of every worker, held or stored, without decoding any (recovery's worker passes). */
|
|
3510
|
-
listWorkerIds(): string[];
|
|
3511
|
-
/** The id of every run whose delegation is quarantined (`invalid`), held or stored: its stored
|
|
3512
|
-
* summary says so, so nothing is decoded (scratch cleanup). */
|
|
3513
|
-
listQuarantinedRunIds(): string[];
|
|
3514
|
-
/** All retained tasks this automation started, including variants, finished and archived runs.
|
|
3515
|
-
* Logs and receipts may compact independently. Read only matching keys in SQLite and overlay
|
|
3516
|
-
* held records so a debounced provenance update or deletion is reflected immediately. */
|
|
3517
|
-
countAutomationRuns(automationId: string): number;
|
|
3518
|
-
/** First non-archived task referencing a project issue, including secondary references. */
|
|
3519
|
-
findNonArchivedRunByIssue(repo: string, number: number): string | undefined;
|
|
3520
|
-
/**
|
|
3521
|
-
* The runs automation receipts launched, by receipt id (`automation.receiptId` or
|
|
3522
|
-
* `automationTrigger.receiptId`). Memory answers first; a receipt it does not know costs one
|
|
3523
|
-
* pass over `runs.db` that reads the records' JSON in SQLite — only a crash leftover (a
|
|
3524
|
-
* receipt still `reserved` at startup) ever asks.
|
|
3525
|
-
*/
|
|
3526
|
-
findRunIdsByAutomationReceipt(receiptIds: readonly string[]): Map<string, string>;
|
|
3527
|
-
/** The id of every root whose delegation carries a conversation, held or stored: recovery's full
|
|
3528
|
-
* reconcile pass (#661). Only roots' records are read, in SQLite. `naming` keeps the ledgers whose
|
|
3529
|
-
* messages name that run id, filtered there too, so a deleted peer decodes no other root. */
|
|
3530
|
-
listConversationRootIds(naming?: string): string[];
|
|
3531
|
-
/** The id of every run, held or stored, without decoding any (orphan-worktree sweeps). */
|
|
3532
|
-
listRunIds(): string[];
|
|
3533
|
-
/** Runs with a materialized worktree directory (`worktreePath`, not reclaimed), most recently
|
|
3534
|
-
* finished first, then newest first: worktree retention and the worktrees panel. */
|
|
3535
|
-
listRunsWithWorktree(): RunRecord[];
|
|
3536
|
-
/**
|
|
3537
|
-
* Every run that owns a branch or names the PR it created, as the few fields branch cleanup and
|
|
3538
|
-
* git-log attribution read (issue 08 §B3, §B5; a squash commit is attributed by its PR number):
|
|
3539
|
-
* the stored summary plus the `branch` and `base_branch` columns, so a Git-tab request decodes
|
|
3540
|
-
* no record. Held runs answer from memory.
|
|
3541
|
-
*/
|
|
3542
|
-
listBranchOwners(): BranchOwner[];
|
|
3543
|
-
/** The rows a column query returned, as records, with memory laid over them: a held run
|
|
3544
|
-
* answers from memory (matching `matches` there, not on its maybe-older row). */
|
|
3545
|
-
private queryRuns;
|
|
3546
|
-
/** The run an idempotent start already created (#504), archived or not. A deleted run is gone
|
|
3547
|
-
* with its record, so a retry after deletion honestly creates a fresh one. */
|
|
3548
|
-
findRunByClientRequestId(clientRequestId: string): RunRecord | undefined;
|
|
3549
180
|
createRun(input: Pick<RunRecord, 'allowWorkers' | 'allowMessaging'> & {
|
|
3550
181
|
title: string;
|
|
3551
182
|
systemPrompt?: string | undefined;
|
|
@@ -3555,7 +186,7 @@ export declare class RunStore extends EventEmitter {
|
|
|
3555
186
|
model?: string | undefined;
|
|
3556
187
|
/** Reasoning-effort pin (#45). Absent = harness default. */
|
|
3557
188
|
effort?: string | undefined;
|
|
3558
|
-
runner?:
|
|
189
|
+
runner?: string | undefined;
|
|
3559
190
|
/** Composer's per-task agent account (spec 2026-07-29-agent-profiles). */
|
|
3560
191
|
agentProfile?: string | undefined;
|
|
3561
192
|
autonomous?: boolean | undefined;
|
|
@@ -3572,7 +203,7 @@ export declare class RunStore extends EventEmitter {
|
|
|
3572
203
|
* a crash before a later write must still let reconciliation find the receipt's task. */
|
|
3573
204
|
automation?: RunRecord['automation'];
|
|
3574
205
|
automationTrigger?: RunRecord['automationTrigger'];
|
|
3575
|
-
steps: Array<Pick<StepState, 'id' | 'name' | 'kind'>>;
|
|
206
|
+
steps: Array<Pick<StepState, 'id' | 'name' | 'kind' | 'pluginKind' | 'skillPath'>>;
|
|
3576
207
|
}): RunRecord;
|
|
3577
208
|
/** Build without publishing: owned creation must commit its receipt and run together. */
|
|
3578
209
|
private buildRun;
|
|
@@ -3584,6 +215,13 @@ export declare class RunStore extends EventEmitter {
|
|
|
3584
215
|
input: AgentInput;
|
|
3585
216
|
recipientDelegation?: DelegationState;
|
|
3586
217
|
}, message?: ConversationIdentity): void;
|
|
218
|
+
/** Move root `rootId`'s settled ledger entries to the archive now, when any are eligible, so a row
|
|
219
|
+
* full of settled history compacts before a capacity check reads it. A root this store may not
|
|
220
|
+
* write stays as it is. */
|
|
221
|
+
compactConversation(rootId: string): void;
|
|
222
|
+
/** The settled entries a ledger commit moves to `conversation_archive` in its own transaction
|
|
223
|
+
* (`compactConversation`, hearsay-tools/squawk#4192), their text scrubbed as the row's is. */
|
|
224
|
+
private compactLedger;
|
|
3587
225
|
/** Crash recovery (#505): input a harness accepted but was never seen reading goes
|
|
3588
226
|
* back to the queue. Returns the requeued IDs. */
|
|
3589
227
|
requeueAwaitingReadInputs(id: string): string[];
|
|
@@ -3639,54 +277,17 @@ export declare class RunStore extends EventEmitter {
|
|
|
3639
277
|
delegation: DelegationState;
|
|
3640
278
|
}>): void;
|
|
3641
279
|
/** A pending destroy's automatic retry state, or its removal (hearsay-tools/cezarion#879). Kept on
|
|
3642
|
-
* the record beside the strict delegation, so an older
|
|
280
|
+
* the record beside the strict delegation, so an older Squawk strips it rather than quarantining the
|
|
3643
281
|
* worker. Destroy progress: nothing the family reconcile reads changes. */
|
|
3644
282
|
commitDestroyRetry(id: string, retry: WorkerDestroyRetry | undefined): void;
|
|
3645
283
|
/** Accepted execution revision is public lifecycle identity, separate from process generations. */
|
|
3646
|
-
commitWorkerContinuation(id: string, exit: RunExitId, patch?: Omit<RunPatch, 'delegation'>, step?: Pick<StepState, 'id' | 'name' | 'kind' | 'synthetic'>, conversation?: {
|
|
284
|
+
commitWorkerContinuation(id: string, exit: RunExitId, patch?: Omit<RunPatch, 'delegation'>, step?: Pick<StepState, 'id' | 'name' | 'kind' | 'synthetic' | 'continuesStepId'>, conversation?: {
|
|
3647
285
|
rootId: string;
|
|
3648
286
|
state: ConversationState;
|
|
3649
287
|
input: AgentInput;
|
|
3650
288
|
}): void;
|
|
3651
|
-
private workerResultsDir;
|
|
3652
|
-
workerResultSnapshotPath(parentId: string, workerId: string, snapshotId: string): string;
|
|
3653
|
-
private readWorkerResultFile;
|
|
3654
|
-
readWorkerResult(parentId: string, workerId: string): WorkerCollectedResult | undefined;
|
|
3655
|
-
readWorkerResultDiff(parentId: string, workerId: string): string | undefined;
|
|
3656
|
-
/** Publish a pointer only after its redacted immutable snapshot reaches disk. */
|
|
3657
|
-
commitWorkerResult(parentId: string, value: WorkerCollectedResult, diffSnapshot?: string, opts?: {
|
|
3658
|
-
ignoreCleanup?: boolean;
|
|
3659
|
-
}): WorkerCollectedResult;
|
|
3660
289
|
/** Create an owned worker run and its parent receipt; `createStoreOwnedRun` holds the checks. */
|
|
3661
|
-
createOwnedRun(input: Parameters<RunStore['createRun']>[0], parentId: string, requestId: string, worker: DelegationState, requestHash: string, executionIdentity?:
|
|
3662
|
-
/**
|
|
3663
|
-
* Durably replace or delete staged rows together with pending dirty rows. Persist before
|
|
3664
|
-
* changing held objects or notifying subscribers. On failure retain all pending state; flush()
|
|
3665
|
-
* remains best-effort.
|
|
3666
|
-
*/
|
|
3667
|
-
private commitIndex;
|
|
3668
|
-
private completionArchiveBlocker;
|
|
3669
|
-
/** One archive write for manual actions, merge observations, completion, and sweeps.
|
|
3670
|
-
* Archiving files history away; it never stops a process or removes a worktree. */
|
|
3671
|
-
private stageArchive;
|
|
3672
|
-
/** A bounded persisted queue also covers projects without a live RunManager. */
|
|
3673
|
-
listCompletionCandidates(afterSeq?: number, limit?: number): Array<{
|
|
3674
|
-
id: string;
|
|
3675
|
-
seq: number;
|
|
3676
|
-
}>;
|
|
3677
|
-
canCompleteAction(id: string, token: string): boolean;
|
|
3678
|
-
claimCompletionAction(id: string, token: string): boolean;
|
|
3679
|
-
completeAction(id: string, token: string, phase: 'blocked' | 'complete', message?: string): boolean;
|
|
3680
|
-
/**
|
|
3681
|
-
* Refuse (throwing, with nothing changed) a commit that stages a quarantined run, or a run whose
|
|
3682
|
-
* family this store does not claim and cannot take: another process owns it, or a dead process
|
|
3683
|
-
* left it live and it has not been adopted.
|
|
3684
|
-
*/
|
|
3685
|
-
private assertWritable;
|
|
3686
|
-
/** The family of a run this store knows: held, else its row; a run nowhere is its own. */
|
|
3687
|
-
private familyOf;
|
|
3688
|
-
/** Schedule the sweep that lets any of `ids` leave memory, when one of them now can. */
|
|
3689
|
-
private sweepIfSettled;
|
|
290
|
+
createOwnedRun(input: Parameters<RunStore['createRun']>[0], parentId: string, requestId: string, worker: DelegationState, requestHash: string, spawnCapacityRefusal: SpawnCapacityRefusal, executionIdentity?: unknown): RunRecord;
|
|
3690
291
|
/** Move run `id` by `exit` (ADR 0056): its status and `extras` in one write, checked against the
|
|
3691
292
|
* record that write changes. A run this store cannot write is neither checked nor written. The
|
|
3692
293
|
* exit decides how the write persists (`exitDurability`), never the extras. A guarded exit (one
|
|
@@ -3703,261 +304,11 @@ export declare class RunStore extends EventEmitter {
|
|
|
3703
304
|
private writeRun;
|
|
3704
305
|
private redactPatch;
|
|
3705
306
|
/** Append a step to an existing run (used by "Continue" — spec 003). */
|
|
3706
|
-
addStep(runId: string, step: Pick<StepState, 'id' | 'name' | 'kind' | 'synthetic'>): void;
|
|
307
|
+
addStep(runId: string, step: Pick<StepState, 'id' | 'name' | 'kind' | 'synthetic' | 'continuesStepId'>): void;
|
|
3707
308
|
updateStep(runId: string, stepId: string, patch: Partial<Omit<StepState, 'id'>>): void;
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
seq: number;
|
|
3711
|
-
}>;
|
|
3712
|
-
/** Use unnormalized persisted evidence: cold reads must not turn interrupted work into safety. */
|
|
3713
|
-
private archiveFamily;
|
|
3714
|
-
/** Blockers are feedback, never archive authority or cleanup permission. */
|
|
3715
|
-
setArchiveBlocker(id: string, blocker: RunRecord['archiveBlocker']): void;
|
|
3716
|
-
archiveMergeBlocker(snapshot: ArchiveOnMergeSnapshot, missing: ArchivePullRequestIdentity, repoBase?: string): void;
|
|
3717
|
-
hasArchiveOnMergeAssociations(id: string): boolean;
|
|
3718
|
-
prepareArchiveOnMerge(id: string): Promise<void>;
|
|
3719
|
-
archiveOnMergeSnapshot(id: string, repoBase?: string, isActive?: (id: string) => boolean): ArchiveOnMergeSnapshot | undefined;
|
|
3720
|
-
private archiveSnapshot;
|
|
3721
|
-
/** No await between final revalidation and the fenced, all-or-nothing cascade. */
|
|
3722
|
-
archiveAfterMerge(snapshot: ArchiveOnMergeSnapshot, observations: readonly MergedPullRequest[], repoBase?: string, isActive?: (id: string) => boolean): boolean;
|
|
3723
|
-
setArchived(id: string, archived: boolean): RunRecord | undefined;
|
|
3724
|
-
/** Parent + owned workers; returns how many records flipped `archived`. */
|
|
3725
|
-
private applyArchivedCascade;
|
|
3726
|
-
private applyArchived;
|
|
3727
|
-
/** Transcript form follows `archived`: enqueue compression, or restore the plain file now. */
|
|
3728
|
-
private syncTranscriptForm;
|
|
3729
|
-
/**
|
|
3730
|
-
* Whether this store may compress `id`'s transcript: the run exists, is archived, is not in a
|
|
3731
|
-
* live status (queued/running/waiting), and this process holds the family's claim in `claimed`
|
|
3732
|
-
* (not merely `pendingClaims`). Two processes never both write a run (#779, #818 B1).
|
|
3733
|
-
*/
|
|
3734
|
-
private isHistoryCompressEligible;
|
|
3735
|
-
/** Take the family claim if free and require it to be in `this.claimed`, not only pending. */
|
|
3736
|
-
private holdsCompressClaim;
|
|
3737
|
-
/** Startup sweep: enqueue every archived non-live run that still has a plain transcript. */
|
|
3738
|
-
compressArchivedHistory(): void;
|
|
3739
|
-
/** Resolves when the transcript compressor is idle (tests, shutdown). */
|
|
3740
|
-
historyIdle(): Promise<void>;
|
|
3741
|
-
/** Pin one run to the top of this project's task list, or unpin it (#935). Mirrors
|
|
3742
|
-
* `setArchived`: sets the fields, then persists + broadcasts via `touch`, so the updated
|
|
3743
|
-
* record rides the existing `run` SSE with no new event. Idempotent — re-pinning a pinned
|
|
3744
|
-
* run just re-stamps `pinnedAt`.
|
|
3745
|
-
*
|
|
3746
|
-
* Every active status is pinnable. Archived requests clear stale metadata instead, so a
|
|
3747
|
-
* late click racing archive cannot leave a hidden pin that reappears on unarchive. */
|
|
3748
|
-
setPinned(id: string, pinned: boolean): RunRecord | undefined;
|
|
3749
|
-
/** Bulk-archive finished runs (#780). `isSweepable` decides which; `archived` counts every
|
|
3750
|
-
* record that flipped (cascaded workers included), `ids` lists the top-level runs picked and
|
|
3751
|
-
* `pinnedIds` the subset that carried a pin before `clearPin` dropped it. */
|
|
3752
|
-
archiveFinished(scope?: ArchiveFinishedScope, automation?: boolean): {
|
|
3753
|
-
archived: number;
|
|
3754
|
-
ids: string[];
|
|
3755
|
-
pinnedIds: string[];
|
|
3756
|
-
};
|
|
3757
|
-
/** Mark one run as read (#unread-done-items): stamp the read receipt now. Mirrors
|
|
3758
|
-
* `setArchived` — sets the field then persists + broadcasts via `touch`, so the
|
|
3759
|
-
* updated record rides the existing `run` SSE with no new event. Idempotent by
|
|
3760
|
-
* design: opening an already-read thread just re-stamps a later `seenAt`. */
|
|
3761
|
-
setRead(id: string): RunRecord | undefined;
|
|
3762
|
-
/** Mark one run as UNread (#775): drop the read receipt so the run rejoins the unread
|
|
3763
|
-
* list. The inverse of `setRead` and, like it, `touch`es so the updated record rides the
|
|
3764
|
-
* existing `run` SSE.
|
|
3765
|
-
*
|
|
3766
|
-
* Deleting the field rather than adding a "manually unread" flag is the whole point:
|
|
3767
|
-
* absent `seenAt` is ALREADY what every reader treats as unread (`isUnread` in the
|
|
3768
|
-
* cockpit's read-state.ts, and `markAllRead`'s clause-for-clause copy of it below), so
|
|
3769
|
-
* clearing needs no new state and writes a shape any older cezar already parses.
|
|
3770
|
-
*
|
|
3771
|
-
* Deliberately unconditional: clearing a receipt is always a legal write, so this
|
|
3772
|
-
* succeeds for an already-unread run (idempotent) and for statuses that can never wear
|
|
3773
|
-
* the marker. WHETHER the action means anything for a given run is UI policy, and lives
|
|
3774
|
-
* in the cockpit's `runActionFlags` — the same split the rest of the store keeps. */
|
|
3775
|
-
setUnread(id: string): RunRecord | undefined;
|
|
3776
|
-
/**
|
|
3777
|
-
* Stamp unread finished runs in bulk and return the count. Keep the rule aligned with cockpit
|
|
3778
|
-
* isUnread: done/failed, finished since seen, not archived; cancelled and usage-limit waiting
|
|
3779
|
-
* runs are excluded. `automation` narrows it to one origin, as in `archiveFinished`
|
|
3780
|
-
* (hearsay-tools/cezarion#1616); absent stamps both.
|
|
3781
|
-
*/
|
|
3782
|
-
markAllRead(automation?: boolean): number;
|
|
3783
|
-
appendEvent(runId: string, event: {
|
|
3784
|
-
type: string;
|
|
3785
|
-
stepId?: string | undefined;
|
|
3786
|
-
[key: string]: unknown;
|
|
3787
|
-
}): RunEvent;
|
|
3788
|
-
/**
|
|
3789
|
-
* Apply agent-declared reference markers (spec 2026-07-18-task-ref-markers).
|
|
3790
|
-
* Marker values are authoritative for the display tier: they overwrite the
|
|
3791
|
-
* regex/namer numbers unless the prompt identifies the originating issue, and a declared PR re-resolves the referenced URL
|
|
3792
|
-
* against the candidate working set — including down to `undefined` when no
|
|
3793
|
-
* candidate matches (a wrong chip is worse than no chip). The created tier
|
|
3794
|
-
* (`pullRequestUrl`) is deliberately untouched.
|
|
3795
|
-
*
|
|
3796
|
-
* One declaration is NOT a statement about the referenced tier: the number of the PR this run
|
|
3797
|
-
* itself created. See `referencedPrDeclaration` — the marker contract asks the agent to
|
|
3798
|
-
* re-declare after it opens a PR, and taking that literally cost the task the PR it was about.
|
|
3799
|
-
*/
|
|
3800
|
-
applyMarkerRefs(runId: string, refs: {
|
|
3801
|
-
pr?: number | undefined;
|
|
3802
|
-
prs?: readonly number[] | undefined;
|
|
3803
|
-
issue?: number | undefined;
|
|
3804
|
-
}): RunRecord | undefined;
|
|
3805
|
-
/** Authoritative creation keeps the first scalar for publishing, plus every created identity. */
|
|
3806
|
-
recordCreatedPr(runId: string, url: string): RunRecord | undefined;
|
|
3807
|
-
private accumulatePullRequests;
|
|
3808
|
-
/**
|
|
3809
|
-
* Fan an event out to live subscribers WITHOUT writing it to the NDJSON
|
|
3810
|
-
* file — the channel for coalesced `item.delta` flushes (protocol-v2
|
|
3811
|
-
* performance guardrail: raw deltas never hit disk; replay = the persisted
|
|
3812
|
-
* snapshots). Stamped with `seq`/`ts` like persisted lines so the live
|
|
3813
|
-
* wire keeps one ordering axis. Finite polling coalesces active item content
|
|
3814
|
-
* into bounded in-memory snapshots on that clock; disk replay still has gaps
|
|
3815
|
-
* (dedup compares with `>`).
|
|
3816
|
-
*/
|
|
3817
|
-
emitEphemeral(runId: string, event: {
|
|
3818
|
-
type: string;
|
|
3819
|
-
stepId?: string;
|
|
3820
|
-
[key: string]: unknown;
|
|
3821
|
-
}): RunEvent;
|
|
3822
|
-
/** Lazily-collected concrete secret values from the host env (#427). */
|
|
3823
|
-
private secretValues;
|
|
3824
|
-
/** Controller-issued tokens never persist, including when host-secret redaction is disabled. */
|
|
3825
|
-
private readonly sessionSecrets;
|
|
3826
|
-
registerSessionSecret(value: string): void;
|
|
3827
|
-
containsSessionSecret(value: string): boolean;
|
|
3828
|
-
/**
|
|
3829
|
-
* Scrub known credential values / token shapes from an event before it is
|
|
3830
|
-
* persisted or fanned out. On by default; `CEZ_REDACT_SECRETS=0` opts out.
|
|
3831
|
-
*/
|
|
3832
|
-
private redact;
|
|
3833
|
-
/** Best-effort scrub of one free-text string bound for `runs.json`. Honors
|
|
3834
|
-
* the `CEZ_REDACT_SECRETS=0` opt-out itself so every caller inherits it. */
|
|
3835
|
-
redactText(text: string): string;
|
|
3836
|
-
private hostSecrets;
|
|
3837
|
-
/** The run's indexed transcript facts (#880): a read-only view, never a transcript read once
|
|
3838
|
-
* the run's index is loaded. An unreadable transcript answers as empty, as readEvents does. */
|
|
3839
|
-
transcriptFacts(runId: string): Readonly<TranscriptFacts>;
|
|
3840
|
-
/** The run's transcript facts when they are known: undefined when the transcript exists but its
|
|
3841
|
-
* facts are not current or cannot be read, so a caller can tell "no ask" from "no evidence". */
|
|
3842
|
-
knownTranscriptFacts(runId: string): Readonly<TranscriptFacts> | undefined;
|
|
3843
|
-
hasProjection(runId: string, projectionId: string): boolean;
|
|
3844
|
-
private factsWarming;
|
|
3845
|
-
/** Indexed family enumeration, including members not yet flushed to SQLite. */
|
|
3846
|
-
listFamilyRunIds(rootId: string): string[];
|
|
3847
|
-
private recoveryFactIds;
|
|
3848
|
-
/** Readiness owns no run snapshot across an await: refresh only the currently held owner. */
|
|
3849
|
-
prepareTranscriptFacts(runIds: Iterable<string>): Promise<void>;
|
|
3850
|
-
prepareRecoveryFacts(familyRootId?: string): Promise<void>;
|
|
3851
|
-
/** Register IDs only here; the index yields between cache reads and off-loop rebuilds. */
|
|
3852
|
-
private warmTranscriptFacts;
|
|
3853
|
-
/** Resolves when the open-time warm-up is done (tests). */
|
|
3854
|
-
factsWarmIdle(): Promise<void>;
|
|
3855
|
-
/** `readEvents` off the event loop (async read and async brotli), for collection paths. */
|
|
3856
|
-
readEventsAsync(runId: string): Promise<RunEvent[]>;
|
|
3857
|
-
readEvents(runId: string): RunEvent[];
|
|
3858
|
-
/** Private process-generation evidence; never part of run JSON or SSE. */
|
|
3859
|
-
private identityPath;
|
|
3860
|
-
readWorkerIdentity(id: string): WorkerExecutionIdentity | undefined;
|
|
3861
|
-
private writeWorkerIdentity;
|
|
3862
|
-
private executionPath;
|
|
3863
|
-
readWorkerExecution(id: string): WorkerExecution | undefined;
|
|
3864
|
-
private writeWorkerExecution;
|
|
3865
|
-
/** Complete execution is not permission to reuse/delete persistent resources (#738).
|
|
3866
|
-
* Synchronous, fresh and generation/resource fenced; callers hold admission off across awaits. */
|
|
3867
|
-
workerResourcesSafe(id: string, generation: string, resourceId: string, admittingQueued?: boolean): boolean;
|
|
3868
|
-
/** `workerResourcesSafe` with the refusal's live PIDs (empty when no PID explains it). */
|
|
3869
|
-
workerResourceHolders(id: string, generation: string, resourceId: string, opts?: {
|
|
3870
|
-
admittingQueued?: boolean;
|
|
3871
|
-
cwds?: CwdSource | undefined;
|
|
3872
|
-
}): 'safe' | number[];
|
|
3873
|
-
/** Upgrade a legacy completed checkpoint while terminal task ownership is still known.
|
|
3874
|
-
* No holder scan here: settlement and scheduling must never wait on cleanup proof. */
|
|
3875
|
-
retainWorkerScratchCleanup(id: string): void;
|
|
3876
|
-
/** Cleanup can outlive its index row, but never its generation or terminal task intent.
|
|
3877
|
-
* `cwds` is the scratch reprobe tick's shared `/proc` snapshot (hearsay-tools/cezarion#879). */
|
|
3878
|
-
workerScratchResourcesSafe(id: string, generation: string, resourceId: string, cwds?: CwdSource): boolean;
|
|
3879
|
-
commitWorkerExecutionStart(id: string): string;
|
|
3880
|
-
/** Private process record (#469): which processes a generation spawned, never part of run JSON or SSE. */
|
|
3881
|
-
private processesPath;
|
|
3882
|
-
/** Tri-state: only ENOENT is `absent` (legacy, scan-only). A present record that is unreadable,
|
|
3883
|
-
* wrongly permissioned, malformed or of another generation is `unknown`: never finalized or reaped. */
|
|
3884
|
-
readWorkerProcesses(id: string, generation: string): WorkerProcessRecord | 'absent' | 'unknown';
|
|
3885
|
-
private writeWorkerProcesses;
|
|
3886
|
-
/** Bound to the current generation. Past the cap the record never drops an entry: the
|
|
3887
|
-
* working-directory scan is the remaining evidence. */
|
|
3888
|
-
appendWorkerProcess(id: string, generation: string, pid: number, pgid?: number): boolean;
|
|
3889
|
-
commitWorkerExecutionComplete(id: string, generation: string): boolean;
|
|
3890
|
-
/** Complete replacement evidence can stand in for absent child history, never for a present execution. */
|
|
3891
|
-
readDeletedWorkerResult(parentId: string, workerId: string): WorkerCollectedResult | undefined;
|
|
3892
|
-
/** A deleted child's receipt replaces the private proof only after the deletion checkpoint. */
|
|
3893
|
-
private workerDeletionEvidence;
|
|
3894
|
-
private workerDeletionResult;
|
|
3895
|
-
canDeleteRun(id: string, kind?: 'record' | 'worktree'): boolean;
|
|
3896
|
-
/** Delegated history deletion is synchronous and checkpointed; any failed byte/index removal remains retryable. */
|
|
3897
|
-
private deleteDelegatedRun;
|
|
3898
|
-
private removeRunHistoryBytes;
|
|
3899
|
-
deleteRun(id: string): boolean;
|
|
3900
|
-
/** Write the pending rows out now (used on shutdown). */
|
|
3901
|
-
flush(): void;
|
|
309
|
+
/** A debounced write of the held record `id`: `apply` changes it in place, then `touch` saves it. */
|
|
310
|
+
private change;
|
|
3902
311
|
private seqs;
|
|
3903
|
-
private nextSeq;
|
|
3904
|
-
/** After a restart the in-memory counter is empty while the run's NDJSON file
|
|
3905
|
-
* keeps the history. Restarting from 1 would collide with the seqs a client
|
|
3906
|
-
* already replayed — its `seq > maxSeq` dedup then silently drops every
|
|
3907
|
-
* resumed event, even across a reload (the frozen-transcript symptom class
|
|
3908
|
-
* of #424). One file read on the first post-restart append per run. */
|
|
3909
|
-
private rehydrateSeq;
|
|
3910
|
-
private eventsPath;
|
|
3911
|
-
/** Same location `handoffPath()` in handoff.ts produces — inlined to keep
|
|
3912
|
-
* the store free of upward imports. */
|
|
3913
|
-
private handoffPath;
|
|
3914
|
-
/** Agent screenshots persisted by the run manager (see persistImage). */
|
|
3915
|
-
private imagesDir;
|
|
3916
|
-
private touch;
|
|
3917
|
-
/** Form follows archived: a terminal archived run with a plain transcript is queued again. */
|
|
3918
|
-
private maybeEnqueueHistoryCompress;
|
|
3919
|
-
/** The held record is gone; the next save or commit deletes its row, fenced by `family`'s claim
|
|
3920
|
-
* and by the revision this store last saw (kept in `base` until the delete is written). */
|
|
3921
|
-
private markDeleted;
|
|
3922
|
-
/** A deleted run's history files, once the delete of its row has committed. Best effort, as
|
|
3923
|
-
* deletion always was. */
|
|
3924
|
-
private removeOwedHistory;
|
|
3925
|
-
/**
|
|
3926
|
-
* Count-based history retention: of the runs past the newest `MAX_RUNS_KEPT` unarchived ones,
|
|
3927
|
-
* archive each finished run without delegation that is not pinned and whose family this store
|
|
3928
|
-
* can claim. Ranked over the row keys (the `created_at` index, no record decoded) with memory
|
|
3929
|
-
* laid over them, since a run created or archived since the last save has no row yet; the rows
|
|
3930
|
-
* past the cut are then filtered in `runs.db`, so only real candidates decode. Archived runs
|
|
3931
|
-
* are never deleted by retention — only an explicit delete, worker destruction, or history
|
|
3932
|
-
* deletion removes a run.
|
|
3933
|
-
*/
|
|
3934
|
-
private pruneOldRuns;
|
|
3935
|
-
/** Debounced so token-usage updates don't rewrite a row per event. Nothing to schedule without
|
|
3936
|
-
* a database: a `RunStore.unavailable` store, or a closed one, writes nothing. */
|
|
3937
|
-
private scheduleSave;
|
|
3938
|
-
/** The single database write, so a test can fail it the way a full disk would. */
|
|
3939
|
-
private writeIndex;
|
|
3940
|
-
/**
|
|
3941
|
-
* Write `staged` plus everything still pending — dirty rows from memory, deletions — in one
|
|
3942
|
-
* transaction, then clear the pending marks. Throws with nothing cleared when it fails.
|
|
3943
|
-
* Never copies or sorts the whole store: the cost is the rows that changed.
|
|
3944
|
-
*
|
|
3945
|
-
* Fenced (#779, plan step 3): the transaction commits only if every family it writes still
|
|
3946
|
-
* carries this store's claim and every row is at the revision this store last saw. Otherwise
|
|
3947
|
-
* nothing is written and `handleConflicts` deals with the rows that changed under it.
|
|
3948
|
-
*/
|
|
3949
|
-
private persist;
|
|
3950
|
-
/** What a write of these rows (id → family) must still find: this store's claims, at the
|
|
3951
|
-
* generations it took them, and each row at the revision it last saw (none for a new row). */
|
|
3952
|
-
private fence;
|
|
3953
|
-
/**
|
|
3954
|
-
* Handle a fenced-write conflict. Save unexpected conflict evidence before clearing pending
|
|
3955
|
-
* state or quarantining the row. If evidence persistence fails, retain pending writes. Other
|
|
3956
|
-
* rows remain writable; stale unclaimed reads only fail their write.
|
|
3957
|
-
*/
|
|
3958
|
-
private handleConflicts;
|
|
3959
|
-
/** Write what is pending, then (unless closing) let every run whose write settled leave memory. */
|
|
3960
|
-
private saveNow;
|
|
3961
312
|
/**
|
|
3962
313
|
* Write what is pending and release the database (store disposal, process shutdown).
|
|
3963
314
|
* Idempotent. A closed store keeps answering reads for what it holds — the final save evicts
|
|
@@ -3966,9 +317,3 @@ export declare class RunStore extends EventEmitter {
|
|
|
3966
317
|
*/
|
|
3967
318
|
close(): void;
|
|
3968
319
|
}
|
|
3969
|
-
export interface ArchiveOnMergeSnapshot {
|
|
3970
|
-
rootId: string;
|
|
3971
|
-
fingerprint: string;
|
|
3972
|
-
pullRequests: ArchivePullRequestIdentity[];
|
|
3973
|
-
token: string;
|
|
3974
|
-
}
|