@hearsay-tools/squawk 0.18.0 → 0.19.0-dev.8638
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 +362 -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 +80 -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 +98 -0
- package/dist/runners/codex/mock.js +62 -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 +102 -0
- package/dist/runners/omp/mock.js +59 -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 +26 -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 +87 -0
- package/dist/runners/pi/mock.js +54 -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-D7EK3_7b.js +1 -0
- package/web/dist/assets/activity-motion-2BQBW4lA.js +2 -0
- package/web/dist/assets/activity-motion-DcKVM8fM.css +1 -0
- package/web/dist/assets/activity-route-Ct06t8Y9.js +1 -0
- package/web/dist/assets/agent-config-section-D6Lcc7c5.js +7 -0
- package/web/dist/assets/agent-defaults-section-BnDBbzuG.js +1 -0
- package/web/dist/assets/agents-settings-path-7X6_cvUg.js +1 -0
- package/web/dist/assets/appearance-CM6ahUyy.js +1 -0
- package/web/dist/assets/archive-on-merge-field-C7_Fwy2A.js +1 -0
- package/web/dist/assets/arrow-up-right-DKGzsMqY.js +1 -0
- package/web/dist/assets/attention-CBCeJN5w.js +1 -0
- package/web/dist/assets/automation-format-DB34jUyF.js +1 -0
- package/web/dist/assets/automations-route-7B_DF4O1.js +2 -0
- package/web/dist/assets/automations-route-CzqZXK0W.css +1 -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-O4ugJ12w.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-DKZvZQ2G.js +3 -0
- package/web/dist/assets/diff-controls-BpTFu29H.js +1 -0
- package/web/dist/assets/diff-view-D4yXb2w7.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-CUhut4J9.js +2 -0
- package/web/dist/assets/folder-browser-B7IbnF0d.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-po0QJciG.js +1 -0
- package/web/dist/assets/github-TgLTixC7.js +1 -0
- package/web/dist/assets/global-activity-route-OHCmn0ZO.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/html-report-BX3msvci.js +3 -0
- package/web/dist/assets/html-report-frame-uuqkBC0u.js +1 -0
- package/web/dist/assets/image-preview-Sisptm3b.js +1 -0
- package/web/dist/assets/index-C69_Sk06.css +1 -0
- package/web/dist/assets/index-CvVmG4Yu.js +21 -0
- package/web/dist/assets/label-Bt8n7Spq.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-Crd6fVGH.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-jle_P0a2.js +2 -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-DKeXbc4N.js +1 -0
- package/web/dist/assets/notifications-section-Bhqr3yOz.js +1 -0
- package/web/dist/assets/open-in-menu-BPp88ouw.js +1 -0
- package/web/dist/assets/own-lookup-DS54wXvD.js +1 -0
- package/web/dist/assets/page-shell-7pLJMOgh.js +1 -0
- package/web/dist/assets/page-shell-DQPYcKyL.css +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-CBt_nlmX.js +3 -0
- package/web/dist/assets/project-location-BRxXN249.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-CLJTc7gv.js +1 -0
- package/web/dist/assets/project-scope-context-Rv6S_BXt.js +4 -0
- package/web/dist/assets/projects-section-DnGSWHZJ.js +1 -0
- package/web/dist/assets/prompt-templates-section-8kBTviSw.js +1 -0
- package/web/dist/assets/queries-qCF-eOqZ.js +1 -0
- package/web/dist/assets/reference-chip-D0v0keVC.js +1 -0
- package/web/dist/assets/remote-settings-notice-D7G8cXSx.js +1 -0
- package/web/dist/assets/repo-git-DqBUjQMh.js +1 -0
- package/web/dist/assets/report-reader-DtSBGt0O.js +1 -0
- package/web/dist/assets/reports-CgbU2SrW.css +1 -0
- package/web/dist/assets/reports-ea3-iuBm.js +1 -0
- package/web/dist/assets/resources-section-CpXFFHXl.js +1 -0
- package/web/dist/assets/run-header-BWTrj0_2.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-aiSr0uTB.js +1 -0
- package/web/dist/assets/session-context-section-BRaZbxVO.js +119 -0
- package/web/dist/assets/settings-agent-picker-DMIqQhkC.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-CqiAPuLq.css +1 -0
- package/web/dist/assets/settings-shell-DwMbZhxp.js +1 -0
- package/web/dist/assets/sidebar-section-ClrORHpO.js +1 -0
- package/web/dist/assets/skills-B97qjJ7j.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-Bu1g-ArE.js +1 -0
- package/web/dist/assets/task-changes-BEfLx9dF.js +1 -0
- package/web/dist/assets/task-commits-6f0GpNF7.js +1 -0
- package/web/dist/assets/task-files-CA2xTRaM.js +1 -0
- package/web/dist/assets/task-github-item-BWapcDJr.js +1 -0
- package/web/dist/assets/task-groups-4tzKGROI.js +1 -0
- package/web/dist/assets/task-thread-0rKVutjQ.js +9 -0
- package/web/dist/assets/task-thread-DzADOhZd.css +1 -0
- package/web/dist/assets/tasks-table-C5uoZMFs.js +1 -0
- package/web/dist/assets/textarea-vJt9undk.js +1 -0
- package/web/dist/assets/thread-state-C3eDWXYs.js +4 -0
- package/web/dist/assets/toaster-BXnLIU3z.js +1 -0
- package/web/dist/assets/use-hand-to-agent-state-Ch0ok71s.css +1 -0
- package/web/dist/assets/use-hand-to-agent-state-DrAmCxn8.js +1 -0
- package/web/dist/assets/utils-DSMR_WLb.js +1 -0
- package/web/dist/assets/workflows-CW-1K6tq.js +7 -0
- package/web/dist/assets/workflows-DsE0ExV6.css +1 -0
- package/web/dist/assets/workspace-tools-BzDQrP3y.js +1 -0
- package/web/dist/assets/worktrees-section-ay1jJn_w.js +4 -0
- package/web/dist/assets/zoomable-image-CIQl1Wpe.js +1 -0
- package/web/dist/index.html +67 -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
|
@@ -1,12 +1,49 @@
|
|
|
1
|
-
import { projectPaths } from '../project-paths.js';
|
|
2
|
-
import { productName } from '../home/display.js';
|
|
3
1
|
import { randomUUID } from 'node:crypto';
|
|
4
|
-
import {
|
|
2
|
+
import { hostsLiveSharedWorker, SHARED_HOST_REFUSAL } from '../runs/shared-hosts.js';
|
|
3
|
+
import { supervisedWorkers } from '../runs/supervised.js';
|
|
4
|
+
import { supervisorIdOf } from '../runs/task-rights.js';
|
|
5
5
|
import { collectWorkerEvidence } from './results.js';
|
|
6
|
+
import { controllerRefusal } from '../runs/worker-execution.js';
|
|
6
7
|
import { DelegationPolicyError } from './policy.js';
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
8
|
+
import { describeProcesses, isCurrentProcess, recordedProcessLive } from '../core/process-stat.js';
|
|
9
|
+
import { workspaceDirectoryRemoved, workspaceKind } from './workspace-kinds.js';
|
|
10
|
+
import { loadConfig } from '../config.js';
|
|
9
11
|
import { DESTROY_ATTENTION_ATTEMPTS, DESTROY_BACKOFF, retryDelayMs } from './retry-backoff.js';
|
|
12
|
+
import { WORKTREE_LOCK_BUSY_PREFIX } from './workspace-removal.js';
|
|
13
|
+
import { describeWork } from './workspace-work.js';
|
|
14
|
+
import { workerExecutionsOf } from './worker-executions.js';
|
|
15
|
+
/** How long an explicit destroy waits in the worktree mutation lock queue: long enough for a
|
|
16
|
+
* settling worker's own Git work to finish (hearsay-tools/squawk#3817). */
|
|
17
|
+
export const MANUAL_DESTROY_LOCK_WAIT_MS = 30_000;
|
|
18
|
+
/** The part of the CLI's 45 s request bound an explicit destroy may use before its lock wait ends,
|
|
19
|
+
* so the caller reads the answer, holder and retry time included, instead of a transport timeout. */
|
|
20
|
+
export const MANUAL_DESTROY_ANSWER_BY_MS = 40_000;
|
|
21
|
+
/** Why the worker's scope is not this controller's to stop: its current generation's record names
|
|
22
|
+
* another live Squawk, or cannot be read. Undefined when it is ours. */
|
|
23
|
+
function foreignControl(store, workerId) {
|
|
24
|
+
const generation = store.workerExecutions.readWorkerExecution(workerId)?.generation;
|
|
25
|
+
const record = generation ? store.workerExecutions.readWorkerProcesses(workerId, generation) : 'absent';
|
|
26
|
+
if (record === 'unknown')
|
|
27
|
+
return 'worker process record is unreadable';
|
|
28
|
+
if (record === 'absent' || isCurrentProcess(record.controller) || !recordedProcessLive(record.controller))
|
|
29
|
+
return undefined;
|
|
30
|
+
return controllerRefusal(record.controller.pid).message;
|
|
31
|
+
}
|
|
32
|
+
/** A worker that failed before any step started: no agent ran in it, so it holds no work, and its
|
|
33
|
+
* resources and cap slot are released without the parent asking (hearsay-tools/squawk#3817). */
|
|
34
|
+
export function failedBeforeFirstStep(store, run) {
|
|
35
|
+
return run.delegation?.role === 'worker' && run.status === 'failed' && !run.delegation.destroy &&
|
|
36
|
+
!run.steps.some(step => step.startedAt) && store.workerExecutions.readWorkerExecution(run.id)?.phase === 'complete';
|
|
37
|
+
}
|
|
38
|
+
/** Whether a destroy attempt may delete work: an explicit attempt of it allowed that now or
|
|
39
|
+
* earlier, and the pending destroy keeps the approval (hearsay-tools/squawk#3553). */
|
|
40
|
+
function discardsWork(worker, options) {
|
|
41
|
+
return options?.discardWork === true || (worker.delegation?.role === 'worker' && worker.delegation.destroy?.discardWork === true);
|
|
42
|
+
}
|
|
43
|
+
/** What a process entry hands to `DelegationService`: one `WorkerCleanup` per registered project. */
|
|
44
|
+
export function workerCleanups(options = {}) {
|
|
45
|
+
return (project, isAttached, serialized) => new WorkerCleanup(project, isAttached, serialized, options);
|
|
46
|
+
}
|
|
10
47
|
/** One registered project's destroy state and retry lifecycle. */
|
|
11
48
|
export class WorkerCleanup {
|
|
12
49
|
project;
|
|
@@ -14,6 +51,7 @@ export class WorkerCleanup {
|
|
|
14
51
|
detached = false;
|
|
15
52
|
projects;
|
|
16
53
|
now;
|
|
54
|
+
unsubscribe;
|
|
17
55
|
constructor(project, isAttached, serialized, options = {}) {
|
|
18
56
|
this.project = project;
|
|
19
57
|
this.serialized = serialized;
|
|
@@ -22,34 +60,89 @@ export class WorkerCleanup {
|
|
|
22
60
|
this.destroyBackoff = options.backoff ?? DESTROY_BACKOFF;
|
|
23
61
|
this.destroyAttentionAttempts = options.attentionAttempts ?? DESTROY_ATTENTION_ATTEMPTS;
|
|
24
62
|
this.terminationTimeoutMs = options.terminationTimeoutMs ?? 30_000;
|
|
63
|
+
this.manualLockWaitMs = options.manualLockWaitMs ?? MANUAL_DESTROY_LOCK_WAIT_MS;
|
|
64
|
+
// The record as it stands now, not the write's snapshot: an earlier listener's nested write of
|
|
65
|
+
// the run reaches this one first. A conflict's payload is the other writer's record.
|
|
66
|
+
this.unsubscribe = project.store.lifecycle.subscribe({
|
|
67
|
+
'run.created': ({ run }) => this.onRun(project.store.getRun(run.id) ?? run),
|
|
68
|
+
'run.updated': ({ run, source }) => this.onRun(source === 'conflict' ? run : project.store.getRun(run.id) ?? run),
|
|
69
|
+
});
|
|
25
70
|
}
|
|
26
|
-
|
|
27
|
-
|
|
71
|
+
/** Every run change, a status change or not (a worker's execution completes in a write that
|
|
72
|
+
* changes no status): a worker that just failed before its first step is destroyed in the background. */
|
|
73
|
+
onRun = (run) => {
|
|
74
|
+
if (failedBeforeFirstStep(this.project.store, run))
|
|
75
|
+
this.releaseFailedStart(run.id);
|
|
76
|
+
};
|
|
77
|
+
failStartReleases = new Set();
|
|
78
|
+
/** One automatic destroy per fail-start worker; an incomplete one continues on the retry cadence. */
|
|
79
|
+
releaseFailedStart(workerId) {
|
|
80
|
+
const project = this.projects.get(this.project.id);
|
|
81
|
+
if (!project || this.failStartReleases.has(workerId))
|
|
82
|
+
return;
|
|
83
|
+
this.failStartReleases.add(workerId);
|
|
84
|
+
const check = () => {
|
|
85
|
+
if (this.projects.get(project.id) !== project)
|
|
86
|
+
throw new DelegationPolicyError('denied_scope', 'Worker scope denied');
|
|
87
|
+
const current = project.store.getRun(workerId);
|
|
88
|
+
if (current?.delegation?.role !== 'worker' || current.delegation.workspace.ownerRunId !== workerId || current.status !== 'failed' ||
|
|
89
|
+
current.delegation.destroy?.phase === 'complete')
|
|
90
|
+
throw new DelegationPolicyError('incompatible_state', 'Worker is no longer a failed start');
|
|
91
|
+
// Until destroy intent is written, the worker must still be a failed start: a parent's resume
|
|
92
|
+
// can queue, run and fail it again while this release waits its turn. `destroyAttempt` calls
|
|
93
|
+
// this last with no await before it writes the intent; after that, a resume is refused.
|
|
94
|
+
if (!current.delegation.destroy && !failedBeforeFirstStep(project.store, current)) {
|
|
95
|
+
throw new DelegationPolicyError('incompatible_state', 'Worker is no longer a failed start');
|
|
96
|
+
}
|
|
97
|
+
return current;
|
|
98
|
+
};
|
|
99
|
+
// Off the store's emit: the attempt writes runs itself.
|
|
100
|
+
setImmediate(() => {
|
|
101
|
+
void this.serialized(`worker:${project.id}:${workerId}`, async () => {
|
|
102
|
+
if (!failedBeforeFirstStep(project.store, check()))
|
|
103
|
+
return;
|
|
104
|
+
await this.serialized(`destroy-retries:${project.id}`, () => this.destroyAttempt(project, workerId, check, 'scheduled', this.now()));
|
|
105
|
+
}).catch(() => undefined).finally(() => {
|
|
106
|
+
this.failStartReleases.delete(workerId);
|
|
107
|
+
this.scheduleDestroyRetry(project, workerId);
|
|
108
|
+
});
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
request(workerId, check, options = {}) {
|
|
112
|
+
const refusal = this.project.store.retention.fallbackDeleteError(workerId, 'worktree');
|
|
28
113
|
if (refusal)
|
|
29
114
|
return Promise.reject(new DelegationPolicyError('incompatible_state', refusal));
|
|
30
|
-
return this.destroySerialized(this.project, workerId, check);
|
|
115
|
+
return this.destroySerialized(this.project, workerId, check, options);
|
|
116
|
+
}
|
|
117
|
+
armAfterRecovery() {
|
|
118
|
+
this.armDestroyRetries(this.project.id);
|
|
119
|
+
// A fail-start that settled while no controller ran is released now. `listRuns` holds only live
|
|
120
|
+
// runs, and a settled failed worker is not one: read every worker.
|
|
121
|
+
for (const id of this.project.store.queries.listWorkerIds()) {
|
|
122
|
+
const run = this.project.store.getRun(id);
|
|
123
|
+
if (run && failedBeforeFirstStep(this.project.store, run))
|
|
124
|
+
this.releaseFailedStart(id);
|
|
125
|
+
}
|
|
31
126
|
}
|
|
32
|
-
armAfterRecovery() { this.armDestroyRetries(this.project.id); }
|
|
33
127
|
detach() {
|
|
34
128
|
this.clearDestroyRetries(this.project.id);
|
|
129
|
+
this.unsubscribe();
|
|
35
130
|
this.detached = true;
|
|
36
131
|
}
|
|
37
132
|
destroyRetryTimers = new Map();
|
|
38
133
|
destroyRetryInFlight = new Map();
|
|
39
|
-
/** What each pending destroy's last full attempt observed (hearsay-tools/cezarion#879). */
|
|
40
|
-
destroyObservations = new Map();
|
|
41
|
-
/** Each project's common Git dir, resolved once per registration for the change check. */
|
|
42
|
-
commonDirs = new Map();
|
|
43
134
|
destroyBackoff;
|
|
44
135
|
destroyAttentionAttempts;
|
|
45
136
|
terminationTimeoutMs;
|
|
137
|
+
manualLockWaitMs;
|
|
138
|
+
/** When each armed automatic attempt is due, so an explicit destroy's answer can say when. */
|
|
139
|
+
destroyRetryDue = new Map();
|
|
46
140
|
clearDestroyRetries(projectId) {
|
|
47
141
|
for (const timer of this.destroyRetryTimers.get(projectId)?.values() ?? [])
|
|
48
142
|
clearTimeout(timer);
|
|
49
143
|
this.destroyRetryTimers.delete(projectId);
|
|
50
144
|
this.destroyRetryInFlight.delete(projectId);
|
|
51
|
-
this.
|
|
52
|
-
this.commonDirs.delete(projectId);
|
|
145
|
+
this.destroyRetryDue.delete(projectId);
|
|
53
146
|
}
|
|
54
147
|
/** Called only after manager recovery, when persisted destroy intents may be retried. */
|
|
55
148
|
armDestroyRetries(projectId) {
|
|
@@ -58,14 +151,14 @@ export class WorkerCleanup {
|
|
|
58
151
|
return;
|
|
59
152
|
project.manager.recoverWorkerCleanup();
|
|
60
153
|
// A pending destroy keeps its worker in the live set (`isLiveRecord`), so this is every one.
|
|
61
|
-
for (const run of project.store.listRuns())
|
|
154
|
+
for (const run of project.store.queries.listRuns())
|
|
62
155
|
this.scheduleDestroyRetry(project, run.id);
|
|
63
156
|
}
|
|
64
157
|
/** Arms the next automatic attempt of a pending destroy. A retry state written before a restart
|
|
65
158
|
* resumes where it was; the fast cadence is the floor, and a little over the cap the ceiling, so
|
|
66
159
|
* a clock that jumped cannot park a destroy for days (hearsay-tools/cezarion#879). */
|
|
67
160
|
scheduleDestroyRetry(project, workerId) {
|
|
68
|
-
if (this.projects.get(project.id) !== project || project.store.isFallbackRun(workerId))
|
|
161
|
+
if (this.projects.get(project.id) !== project || project.store.claims.isFallbackRun(workerId))
|
|
69
162
|
return;
|
|
70
163
|
const run = project.store.getRun(workerId);
|
|
71
164
|
if (run?.delegation?.role !== 'worker' || !run.delegation.destroy || run.delegation.destroy.phase === 'complete')
|
|
@@ -80,8 +173,15 @@ export class WorkerCleanup {
|
|
|
80
173
|
const { fastMs, capMs } = this.destroyBackoff;
|
|
81
174
|
const nextAt = run.destroyRetry ? Date.parse(run.destroyRetry.nextAt) - this.now() : 0;
|
|
82
175
|
const delay = Math.min(Math.max(fastMs, nextAt), capMs * 1.1);
|
|
176
|
+
let due = this.destroyRetryDue.get(project.id);
|
|
177
|
+
if (!due) {
|
|
178
|
+
due = new Map();
|
|
179
|
+
this.destroyRetryDue.set(project.id, due);
|
|
180
|
+
}
|
|
181
|
+
due.set(workerId, this.now() + delay);
|
|
83
182
|
const timer = setTimeout(() => {
|
|
84
183
|
timers.delete(workerId);
|
|
184
|
+
due.delete(workerId);
|
|
85
185
|
if (this.projects.get(project.id) !== project)
|
|
86
186
|
return;
|
|
87
187
|
let inFlight = this.destroyRetryInFlight.get(project.id);
|
|
@@ -98,9 +198,8 @@ export class WorkerCleanup {
|
|
|
98
198
|
timer.unref?.();
|
|
99
199
|
timers.set(workerId, timer);
|
|
100
200
|
}
|
|
101
|
-
/** One automatic attempt. It
|
|
102
|
-
*
|
|
103
|
-
* is due, and from the attention threshold on the cockpit says the cleanup needs attention. */
|
|
201
|
+
/** One automatic attempt. It records the attempt and when the next is due, and from the attention
|
|
202
|
+
* threshold on the cockpit says the cleanup needs attention. */
|
|
104
203
|
destroyTick(project, workerId) {
|
|
105
204
|
return this.serialized(`worker:${project.id}:${workerId}`, async () => {
|
|
106
205
|
const check = () => {
|
|
@@ -113,14 +212,9 @@ export class WorkerCleanup {
|
|
|
113
212
|
return current;
|
|
114
213
|
};
|
|
115
214
|
check();
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
seen.key === observeDestroy({ store: project.store, dataDir, commonDir: await this.commonDir(project), workerId });
|
|
120
|
-
// One automatic full attempt at a time per project: attempts that coincide (every pending destroy after a
|
|
121
|
-
// restart) would otherwise contend for the worktree mutation lock and come back lock-busy, never skipped.
|
|
122
|
-
if (!unchanged)
|
|
123
|
-
await this.serialized(`destroy-retries:${project.id}`, () => this.destroyAttempt(project, workerId, check, 'scheduled')).catch(() => undefined);
|
|
215
|
+
// One automatic attempt at a time per project: attempts that coincide (every pending destroy
|
|
216
|
+
// after a restart) would otherwise contend for the worktree mutation lock.
|
|
217
|
+
await this.serialized(`destroy-retries:${project.id}`, () => this.destroyAttempt(project, workerId, check, 'scheduled', this.now())).catch(() => undefined);
|
|
124
218
|
if (this.projects.get(project.id) !== project)
|
|
125
219
|
return;
|
|
126
220
|
const current = project.store.getRun(workerId);
|
|
@@ -132,45 +226,96 @@ export class WorkerCleanup {
|
|
|
132
226
|
project.store.commitDestroyRetry(workerId, retry);
|
|
133
227
|
});
|
|
134
228
|
}
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
// A failure is not cached: the next attempt asks again, and until then the check is record-only.
|
|
139
|
-
dir = gitCommonDir(project.root).catch(() => { this.commonDirs.delete(project.id); return undefined; });
|
|
140
|
-
this.commonDirs.set(project.id, dir);
|
|
141
|
-
}
|
|
142
|
-
return dir;
|
|
229
|
+
/** An explicit destroy's lock wait: what is left of its answer budget after termination, at least 1 s. */
|
|
230
|
+
manualLockWait(startedAt) {
|
|
231
|
+
return Math.max(1_000, Math.min(this.manualLockWaitMs, MANUAL_DESTROY_ANSWER_BY_MS - (this.now() - startedAt)));
|
|
143
232
|
}
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
let observations = this.destroyObservations.get(project.id);
|
|
148
|
-
if (!seen) {
|
|
149
|
-
observations?.delete(workerId);
|
|
150
|
-
return;
|
|
151
|
-
}
|
|
152
|
-
if (!observations) {
|
|
153
|
-
observations = new Map();
|
|
154
|
-
this.destroyObservations.set(project.id, observations);
|
|
155
|
-
}
|
|
156
|
-
observations.set(workerId, seen);
|
|
233
|
+
/** The project's raw `worktreeTeardown` value, read fresh at each attempt. */
|
|
234
|
+
async teardownConfig(project) {
|
|
235
|
+
return (await loadConfig(project.root, project.home)).worktreeTeardown;
|
|
157
236
|
}
|
|
158
237
|
/** An explicit destroy (Clean up, `cez worker destroy`): always a full attempt, and it restarts the
|
|
159
238
|
* backoff, so a timer armed for a later automatic attempt is dropped and re-armed at the fast cadence. */
|
|
160
|
-
destroySerialized(project, workerId, check) {
|
|
161
|
-
|
|
239
|
+
async destroySerialized(project, workerId, check, options) {
|
|
240
|
+
const rearm = () => {
|
|
162
241
|
// A replaced registration owns its own timers under the same project id: leave them alone.
|
|
163
242
|
if (this.projects.get(project.id) !== project)
|
|
164
243
|
return;
|
|
165
244
|
const timers = this.destroyRetryTimers.get(project.id);
|
|
166
245
|
clearTimeout(timers?.get(workerId));
|
|
167
246
|
timers?.delete(workerId);
|
|
247
|
+
this.destroyRetryDue.get(project.id)?.delete(workerId);
|
|
168
248
|
this.scheduleDestroyRetry(project, workerId);
|
|
169
|
-
}
|
|
249
|
+
};
|
|
250
|
+
let result;
|
|
251
|
+
// The answer budget starts when the request arrives, so time queued behind another attempt counts.
|
|
252
|
+
const requestedAt = this.now();
|
|
253
|
+
try {
|
|
254
|
+
result = await this.serialized(`worker:${project.id}:${workerId}`, async () => await this.workRefusal(project, workerId, check, options) ?? this.destroyAttempt(project, workerId, check, 'manual', requestedAt, options));
|
|
255
|
+
}
|
|
256
|
+
finally {
|
|
257
|
+
rearm();
|
|
258
|
+
}
|
|
259
|
+
// A busy lock clears by itself: say when the next automatic attempt runs (hearsay-tools/squawk#3817).
|
|
260
|
+
const due = this.destroyRetryDue.get(project.id)?.get(workerId);
|
|
261
|
+
return result.error?.startsWith(WORKTREE_LOCK_BUSY_PREFIX) && due !== undefined
|
|
262
|
+
? { ...result, error: `${result.error}; Squawk retries automatically at ${new Date(due).toISOString()}` } : result;
|
|
263
|
+
}
|
|
264
|
+
/** hearsay-tools/squawk#3553: an explicit destroy that would delete work refuses, naming it,
|
|
265
|
+
* before it changes anything, so the parent can still resume or collect the worker. A failed
|
|
266
|
+
* read leaves the decision to the checked removal, which reads the work again under the lock. */
|
|
267
|
+
async workRefusal(project, workerId, check, options) {
|
|
268
|
+
const worker = check();
|
|
269
|
+
if (worker.delegation?.role !== 'worker' || discardsWork(worker, options))
|
|
270
|
+
return undefined;
|
|
271
|
+
const kind = workspaceKind(worker.delegation.workspace);
|
|
272
|
+
const work = await kind.work(project.root, worker.delegation.workspace).catch(() => undefined);
|
|
273
|
+
if (!work)
|
|
274
|
+
return undefined;
|
|
275
|
+
return { workerId, state: 'incomplete', remaining: worker.delegation.destroy?.remaining ?? ['process', ...kind.destroyResources], work, error: describeWork(workerId, work) };
|
|
276
|
+
}
|
|
277
|
+
/**
|
|
278
|
+
* A worker's destroy first stops and destroys the workers it started, which work in its
|
|
279
|
+
* directory, and then asks whether a live worker still works there. Returns why the worker's own
|
|
280
|
+
* destroy cannot go on yet, or undefined.
|
|
281
|
+
*
|
|
282
|
+
* Lock order: an explicit destroy holds the supervisor's key and takes each child's key in turn.
|
|
283
|
+
* A scheduled attempt already holds the project's `destroy-retries` key, and a child's own
|
|
284
|
+
* scheduled attempt takes its key before that one, so a scheduled attempt never waits for a
|
|
285
|
+
* child's key: it records the child's destroy, leaves it to the child's own retry and reports
|
|
286
|
+
* itself incomplete until that retry has finished.
|
|
287
|
+
*/
|
|
288
|
+
async destroySupervised(project, workerId, mode, startedAt) {
|
|
289
|
+
const worker = project.store.getRun(workerId);
|
|
290
|
+
for (const child of supervisedWorkers(project.store.queries, worker)) {
|
|
291
|
+
const record = child.delegation?.role === 'worker' ? child.delegation : undefined;
|
|
292
|
+
if (!record || (record.destroy?.phase === 'complete' && !record.destroy.remaining.length))
|
|
293
|
+
continue;
|
|
294
|
+
const held = (error) => `Worker ${child.id}, which this worker started, is not destroyed yet${error ? `: ${error}` : ''}`.slice(0, 2_000);
|
|
295
|
+
if (mode === 'scheduled') {
|
|
296
|
+
if (!record.destroy) {
|
|
297
|
+
project.store.commitDelegation([{ id: child.id, delegation: { ...record, destroy: { requestedAt: new Date().toISOString(), phase: 'requested',
|
|
298
|
+
remaining: ['process', ...workspaceKind(record.workspace).destroyResources] } } }]);
|
|
299
|
+
}
|
|
300
|
+
this.scheduleDestroyRetry(project, child.id);
|
|
301
|
+
return held('its cleanup retries on its own');
|
|
302
|
+
}
|
|
303
|
+
const check = () => {
|
|
304
|
+
const current = project.store.getRun(child.id);
|
|
305
|
+
if (current?.delegation?.role !== 'worker' || supervisorIdOf(current) !== workerId)
|
|
306
|
+
throw new DelegationPolicyError('denied_scope', 'Worker scope denied');
|
|
307
|
+
return current;
|
|
308
|
+
};
|
|
309
|
+
const result = await this.serialized(`worker:${project.id}:${child.id}`, () => this.destroyAttempt(project, child.id, check, mode, startedAt));
|
|
310
|
+
if (result.state !== 'complete')
|
|
311
|
+
return held(result.error);
|
|
312
|
+
}
|
|
313
|
+
const current = project.store.getRun(workerId);
|
|
314
|
+
return current && hostsLiveSharedWorker(current, rootId => project.store.queries.listWorkersOf(rootId)) ? SHARED_HOST_REFUSAL : undefined;
|
|
170
315
|
}
|
|
171
316
|
/** One full destroy attempt; the caller holds the worker's serialization key. A manual attempt
|
|
172
317
|
* clears the run's `destroyRetry`, which resets the backoff; a completed destroy drops it. */
|
|
173
|
-
async destroyAttempt(project, workerId, check, mode) {
|
|
318
|
+
async destroyAttempt(project, workerId, check, mode, startedAt, options) {
|
|
174
319
|
const assertAttached = () => {
|
|
175
320
|
if (this.projects.get(project.id) !== project)
|
|
176
321
|
throw new DelegationPolicyError('denied_scope', 'Worker scope denied');
|
|
@@ -183,66 +328,60 @@ export class WorkerCleanup {
|
|
|
183
328
|
if (parent?.delegation?.role === 'root' && parent.delegation.receipts.some(receipt => receipt.workerId === workerId && receipt.deletion)) {
|
|
184
329
|
throw new DelegationPolicyError('incompatible_state', 'Worker history deletion has begun; retry history deletion');
|
|
185
330
|
}
|
|
186
|
-
const
|
|
331
|
+
const teardown = await this.teardownConfig(project);
|
|
187
332
|
assertAttached();
|
|
188
333
|
worker = check();
|
|
189
334
|
if (worker.delegation?.role !== 'worker')
|
|
190
335
|
throw new DelegationPolicyError('denied_scope', 'Worker scope denied');
|
|
191
|
-
// What this attempt decided on (hearsay-tools/cezarion#879): a later tick that would see the same skips its
|
|
192
|
-
// work. Retaken where the attempt decides (after termination, at each holder proof), so its own writes up
|
|
193
|
-
// to there (stopping the worker, the removal's checkpoint) are not a change, and anything later is.
|
|
194
|
-
const observe = () => observeDestroy({ store: project.store, dataDir: project.store.sourceDataDir(workerId), commonDir, workerId });
|
|
195
|
-
let key = observe();
|
|
196
336
|
const workspace = worker.delegation.workspace;
|
|
337
|
+
const kind = workspaceKind(workspace);
|
|
197
338
|
const requestedAt = worker.delegation.destroy?.requestedAt ?? new Date().toISOString();
|
|
198
|
-
const resources = (worker.delegation.destroy?.remaining ??
|
|
339
|
+
const resources = (worker.delegation.destroy?.remaining ?? kind.destroyResources).filter((resource) => resource !== 'process');
|
|
340
|
+
const discardWork = discardsWork(worker, options);
|
|
199
341
|
const persist = (phase, remaining, error) => {
|
|
200
342
|
assertAttached();
|
|
201
343
|
worker = project.store.getRun(workerId);
|
|
202
344
|
if (worker.delegation?.role !== 'worker')
|
|
203
345
|
throw new DelegationPolicyError('denied_scope', 'Worker scope denied');
|
|
204
346
|
project.store.commitDelegation([{ id: workerId, delegation: { ...worker.delegation, destroy: { requestedAt, phase, remaining,
|
|
205
|
-
...(error ? { error: error.slice(0, 2_000) } : {}) } } }]);
|
|
347
|
+
...(error ? { error: error.slice(0, 2_000) } : {}), ...(discardWork ? { discardWork: true } : {}) } } }]);
|
|
206
348
|
// The retry state lives beside the delegation: an explicit destroy and a completed one both drop it.
|
|
207
349
|
if (worker.destroyRetry && (phase === 'complete' || (mode === 'manual' && phase === 'requested')))
|
|
208
350
|
project.store.commitDestroyRetry(workerId, undefined);
|
|
209
351
|
};
|
|
210
|
-
/** What the attempt decided on, and the holders it ran into, kept only when that explains the
|
|
211
|
-
* failure. A complete destroy keeps nothing, and neither does a failure no key input or named
|
|
212
|
-
* holder accounts for (lock contention, a failed Git step, an unnamed blocker): it can clear
|
|
213
|
-
* without changing anything a tick could see, so the next tick attempts in full. */
|
|
214
|
-
const observed = (result, holders, explained) => {
|
|
215
|
-
this.observeAttempt(project, workerId, result.state === 'complete' || !explained ? undefined : { key, holders: recordHolders(holders) });
|
|
216
|
-
return result;
|
|
217
|
-
};
|
|
218
352
|
const terminationFailure = () => {
|
|
219
353
|
// #469: name what blocks a crashed generation; other causes keep the generic message.
|
|
220
354
|
const taken = project.manager.takeWorkerTerminationBlocker(workerId);
|
|
221
355
|
const reason = taken && (taken.blocker.kind === 'unreadable' ? 'worker process record is unreadable; termination cannot be proven'
|
|
222
|
-
: taken.blocker.kind === 'controller' ?
|
|
223
|
-
:
|
|
356
|
+
: taken.blocker.kind === 'controller' ? controllerRefusal(taken.blocker.pid).message
|
|
357
|
+
: `the previous execution's ${taken.blocker.pids.length === 1 ? 'process' : 'processes'} ${describeProcesses(taken.blocker.pids)} still ${taken.blocker.pids.length === 1 ? 'runs' : 'run'}`);
|
|
224
358
|
if (taken?.changed)
|
|
225
|
-
project.store.appendEvent(workerId, { type: 'lifecycle', message: `destroy blocked: ${reason}` });
|
|
359
|
+
project.store.eventLog.appendEvent(workerId, { type: 'lifecycle', message: `destroy blocked: ${reason}` });
|
|
226
360
|
const result = { workerId, state: 'incomplete', remaining: ['process', ...resources], error: !taken ? 'Worker termination is not proven; retry cleanup later'
|
|
227
361
|
: taken.blocker.kind === 'unreadable' ? reason : `Worker termination is not proven: ${reason}; retry cleanup later` };
|
|
228
362
|
persist(result.state, result.remaining, result.error);
|
|
229
|
-
return
|
|
363
|
+
return result;
|
|
364
|
+
};
|
|
365
|
+
const scopeFailure = (error) => {
|
|
366
|
+
const result = { workerId, state: 'incomplete', remaining: ['process', ...resources], error: `Worker processes were not stopped: ${error}; retry cleanup later` };
|
|
367
|
+
persist(result.state, result.remaining, result.error);
|
|
368
|
+
return result;
|
|
230
369
|
};
|
|
231
370
|
const cleanWorkspace = async () => {
|
|
232
371
|
persist('cleaning', resources);
|
|
233
372
|
let result;
|
|
234
373
|
const snapshot = structuredClone(check());
|
|
235
|
-
const proof = project.store.readWorkerExecution(workerId);
|
|
374
|
+
const proof = project.store.workerExecutions.readWorkerExecution(workerId);
|
|
236
375
|
const evidence = await collectWorkerEvidence(project.root, project.store, snapshot);
|
|
237
376
|
assertAttached();
|
|
238
377
|
const current = check();
|
|
239
|
-
if (proof?.phase !== 'complete' || project.store.readWorkerExecution(workerId)?.generation !== proof.generation ||
|
|
240
|
-
project.store.readWorkerExecution(workerId)?.phase !== 'complete' || current.status !== snapshot.status ||
|
|
378
|
+
if (proof?.phase !== 'complete' || project.store.workerExecutions.readWorkerExecution(workerId)?.generation !== proof.generation ||
|
|
379
|
+
project.store.workerExecutions.readWorkerExecution(workerId)?.phase !== 'complete' || current.status !== snapshot.status ||
|
|
241
380
|
JSON.stringify(current.delegation) !== JSON.stringify(snapshot.delegation))
|
|
242
381
|
throw new Error('Worker changed before cleanup checkpoint');
|
|
243
382
|
// This immutable parent payload must be durable before the first destructive operation. A
|
|
244
383
|
// payload already on disk is durable, whatever cleanup phase it names (hearsay-tools/cezarion#879).
|
|
245
|
-
project.store.commitWorkerResult(evidence.result.parentRunId, evidence.result, evidence.diffSnapshot, { ignoreCleanup: true });
|
|
384
|
+
project.store.workerResults.commitWorkerResult(evidence.result.parentRunId, evidence.result, evidence.diffSnapshot, { ignoreCleanup: true });
|
|
246
385
|
assertAttached();
|
|
247
386
|
check();
|
|
248
387
|
const release = project.manager.claimWorkerCleanup(workerId);
|
|
@@ -251,32 +390,26 @@ export class WorkerCleanup {
|
|
|
251
390
|
const current = check();
|
|
252
391
|
if (!release || current.delegation?.role !== 'worker' ||
|
|
253
392
|
JSON.stringify(current.delegation.workspace) !== JSON.stringify(workspace) ||
|
|
254
|
-
project.store.readWorkerExecution(workerId)?.generation !== proof.generation ||
|
|
255
|
-
project.store.readWorkerExecution(workerId)?.phase !== 'complete') {
|
|
393
|
+
project.store.workerExecutions.readWorkerExecution(workerId)?.generation !== proof.generation ||
|
|
394
|
+
project.store.workerExecutions.readWorkerExecution(workerId)?.phase !== 'complete') {
|
|
256
395
|
throw new Error('Worker resource ownership changed');
|
|
257
396
|
}
|
|
258
397
|
};
|
|
398
|
+
// The worker's recorded processes ended with its scope; one still live is a new execution.
|
|
259
399
|
const assertSafe = () => {
|
|
260
400
|
assertCurrent();
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
if (holders === 'safe')
|
|
264
|
-
return;
|
|
265
|
-
throw holders.length ? new WorkspaceHeldError(holders) : new Error('Worker resources may still be held; cleanup will retry');
|
|
401
|
+
if (project.store.workerExecutions.workerResourceHolders(workerId, proof.generation, workspace.resourceId) !== 'safe')
|
|
402
|
+
throw new Error('Worker processes still run; cleanup will retry');
|
|
266
403
|
};
|
|
267
|
-
// The removal turns being held into an incomplete result; it reports the holders either of its
|
|
268
|
-
// checks named, or that it stopped for a reason no key input explains, an unnamed holder
|
|
269
|
-
// included (hearsay-tools/cezarion#879).
|
|
270
|
-
let holders = [];
|
|
271
|
-
let explained = true;
|
|
272
404
|
try {
|
|
273
405
|
assertCurrent();
|
|
274
|
-
// #781: release preview before the final
|
|
275
|
-
result = await
|
|
406
|
+
// #781: release preview before the final check immediately preceding removal.
|
|
407
|
+
result = await kind.remove(project.root, workspace, { previewHost: project.manager.previewHost, assertCurrent, assertUnheld: assertSafe,
|
|
408
|
+
...(mode === 'manual' ? { waitMs: this.manualLockWait(startedAt) } : {}), ...(discardWork ? { discardWork } : {}) });
|
|
276
409
|
}
|
|
277
|
-
catch {
|
|
278
|
-
|
|
279
|
-
|
|
410
|
+
catch (error) {
|
|
411
|
+
result = { workerId, state: 'incomplete', remaining: resources,
|
|
412
|
+
error: `Worker resources could not be verified: ${(error instanceof Error ? error.message : String(error)).slice(0, 300)}; cleanup will retry` };
|
|
280
413
|
}
|
|
281
414
|
finally {
|
|
282
415
|
release?.();
|
|
@@ -287,21 +420,19 @@ export class WorkerCleanup {
|
|
|
287
420
|
assertAttached();
|
|
288
421
|
persist(result.state, result.remaining, result.error);
|
|
289
422
|
// Preserve the captured bytes even if Git removal was only partially successful.
|
|
290
|
-
const removed =
|
|
291
|
-
project.store.commitWorkerResult(evidence.result.parentRunId, { ...evidence.result, observedAt: new Date().toISOString(),
|
|
423
|
+
const removed = workspaceDirectoryRemoved(workspace, result.remaining);
|
|
424
|
+
project.store.workerResults.commitWorkerResult(evidence.result.parentRunId, { ...evidence.result, observedAt: new Date().toISOString(),
|
|
292
425
|
cleanup: result.state, outcome: result.state === 'complete' ? 'destroyed' : evidence.result.lastExecutionOutcome,
|
|
293
426
|
workspace: { ...workspace, state: removed ? 'deleted' : evidence.result.workspace.state },
|
|
294
427
|
head: removed ? { state: 'deleted', reason: 'missing', ...('sha' in evidence.result.head ? { sha: evidence.result.head.sha } : {}) } : evidence.result.head,
|
|
295
428
|
diff: evidence.result.diff.state === 'available' ? { ...evidence.result.diff, snapshotId: randomUUID() } : evidence.result.diff,
|
|
296
429
|
}, evidence.diffSnapshot);
|
|
297
430
|
project.manager.reconcileWorkerWaits(evidence.result.parentRunId);
|
|
298
|
-
return
|
|
431
|
+
return result;
|
|
299
432
|
};
|
|
300
433
|
const recordFailure = (error) => {
|
|
301
434
|
// hearsay-tools/cezarion#879: an attempt that throws says why, instead of leaving an
|
|
302
|
-
// in-progress phase with no error, as long as this is still the same pending destroy.
|
|
303
|
-
// throw explains nothing a tick could see clear, so the next tick attempts in full.
|
|
304
|
-
this.observeAttempt(project, workerId, undefined);
|
|
435
|
+
// in-progress phase with no error, as long as this is still the same pending destroy.
|
|
305
436
|
try {
|
|
306
437
|
const current = this.projects.get(project.id) === project ? project.store.getRun(workerId) : undefined;
|
|
307
438
|
if (current?.delegation?.role === 'worker' && current.delegation.destroy?.requestedAt === requestedAt && current.delegation.destroy.phase !== 'complete') {
|
|
@@ -310,15 +441,42 @@ export class WorkerCleanup {
|
|
|
310
441
|
}
|
|
311
442
|
catch { /* the attempt's own error is the one to report */ }
|
|
312
443
|
};
|
|
313
|
-
|
|
444
|
+
// The recorded destroy keeps this worker from starting another one; the ones it started go first.
|
|
445
|
+
const heldBySupervised = async () => {
|
|
446
|
+
persist('requested', worker.delegation?.role === 'worker' && worker.delegation.destroy?.remaining || ['process', ...kind.destroyResources]);
|
|
447
|
+
const held = await this.destroySupervised(project, workerId, mode, startedAt);
|
|
448
|
+
assertAttached();
|
|
449
|
+
if (!held)
|
|
450
|
+
return undefined;
|
|
451
|
+
persist('incomplete', ['process', ...resources], held);
|
|
452
|
+
return { workerId, state: 'incomplete', remaining: ['process', ...resources], error: held };
|
|
453
|
+
};
|
|
454
|
+
const held = await heldBySupervised();
|
|
455
|
+
if (held)
|
|
456
|
+
return held;
|
|
314
457
|
try {
|
|
315
458
|
persist('terminating', ['process', ...resources]);
|
|
316
459
|
project.manager.requestWorkerStop(workerId);
|
|
460
|
+
// Registered services stop gracefully while the worktree they run in still exists.
|
|
461
|
+
const teardownError = await kind.teardown(project.root, teardown, workspace);
|
|
462
|
+
// A project replaced during the teardown keeps its old manager alive: never reap through it.
|
|
463
|
+
assertAttached();
|
|
464
|
+
if (teardownError)
|
|
465
|
+
project.store.eventLog.appendEvent(workerId, { type: 'lifecycle', message: `worktree teardown failed: ${teardownError}` });
|
|
317
466
|
const terminated = await project.manager.awaitRunTermination(workerId, this.terminationTimeoutMs, { reapOrphans: true });
|
|
318
467
|
assertAttached();
|
|
319
|
-
key = observe();
|
|
320
468
|
if (!terminated)
|
|
321
469
|
return terminationFailure();
|
|
470
|
+
// A worker another live Squawk still controls is not ours to stop, settled or not.
|
|
471
|
+
const foreign = foreignControl(project.store, workerId);
|
|
472
|
+
if (foreign)
|
|
473
|
+
return scopeFailure(foreign);
|
|
474
|
+
// Everything else the worker started, detached descendants included where the host contains
|
|
475
|
+
// them, ends with its scope (ADR 0032).
|
|
476
|
+
const stopped = await workerExecutionsOf(project.store).scopes.stop(workerId, this.terminationTimeoutMs);
|
|
477
|
+
assertAttached();
|
|
478
|
+
if (!stopped.stopped)
|
|
479
|
+
return scopeFailure(stopped.error);
|
|
322
480
|
return await cleanWorkspace();
|
|
323
481
|
}
|
|
324
482
|
catch (error) {
|