@wjarka/cezarion 0.16.0 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -0
- package/README.md +594 -207
- package/dist/agent-config/account-identity.d.ts +3 -19
- package/dist/agent-config/account-identity.js +8 -5
- package/dist/agent-config/account-identity.js.map +1 -1
- package/dist/agent-config/catalog.d.ts +3 -14
- package/dist/agent-config/catalog.js.map +1 -1
- package/dist/agent-config/files.d.ts +2 -6
- package/dist/agent-config/files.js +2 -6
- package/dist/agent-config/files.js.map +1 -1
- package/dist/agent-config/model-settings/types.d.ts +1 -1
- package/dist/agent-config/seed.d.ts +11 -3
- package/dist/agent-config/seed.js +52 -48
- package/dist/agent-config/seed.js.map +1 -1
- package/dist/agent-config/service.js +3 -2
- package/dist/agent-config/service.js.map +1 -1
- package/dist/agent-config/validate.d.ts +1 -4
- package/dist/agent-config/validate.js.map +1 -1
- package/dist/application-update/helper.d.ts +2 -2
- package/dist/application-update/helper.js +7 -12
- package/dist/application-update/helper.js.map +1 -1
- package/dist/application-update/launcher.d.ts +4 -0
- package/dist/application-update/launcher.js +18 -12
- package/dist/application-update/launcher.js.map +1 -1
- package/dist/application-update/service.d.ts +3 -3
- package/dist/application-update/service.js +1 -1
- package/dist/application-update/service.js.map +1 -1
- package/dist/archive-on-merge-setting.d.ts +15 -0
- package/dist/archive-on-merge-setting.js +14 -0
- package/dist/archive-on-merge-setting.js.map +1 -0
- package/dist/artifacts/cli.d.ts +8 -0
- package/dist/artifacts/cli.js +21 -2
- package/dist/artifacts/cli.js.map +1 -1
- package/dist/artifacts/resolve.js +2 -1
- package/dist/artifacts/resolve.js.map +1 -1
- package/dist/artifacts/store.js.map +1 -1
- package/dist/automations/automation-cli.d.ts +59 -0
- package/dist/automations/automation-cli.js +509 -0
- package/dist/automations/automation-cli.js.map +1 -0
- package/dist/automations/builtin-skill.d.ts +7 -0
- package/dist/automations/builtin-skill.js +14 -0
- package/dist/automations/builtin-skill.js.map +1 -0
- package/dist/automations/github-baseline.d.ts +3 -0
- package/dist/automations/github-baseline.js +17 -0
- package/dist/automations/github-baseline.js.map +1 -0
- package/dist/automations/github-poller.d.ts +23 -4
- package/dist/automations/github-poller.js +157 -88
- package/dist/automations/github-poller.js.map +1 -1
- package/dist/automations/prompts.d.ts +12 -0
- package/dist/automations/prompts.js +160 -0
- package/dist/automations/prompts.js.map +1 -0
- package/dist/automations/schedule-runner.d.ts +43 -24
- package/dist/automations/schedule-runner.js +207 -20
- package/dist/automations/schedule-runner.js.map +1 -1
- package/dist/automations/scheduler.d.ts +10 -2
- package/dist/automations/scheduler.js +200 -54
- package/dist/automations/scheduler.js.map +1 -1
- package/dist/automations/service.d.ts +777 -0
- package/dist/automations/service.js +444 -0
- package/dist/automations/service.js.map +1 -0
- package/dist/automations/store.d.ts +17 -7
- package/dist/automations/store.js +88 -17
- package/dist/automations/store.js.map +1 -1
- package/dist/automations/task-template.d.ts +7 -2
- package/dist/automations/task-template.js +93 -44
- package/dist/automations/task-template.js.map +1 -1
- package/dist/automations/tool-adapter.d.ts +6 -0
- package/dist/automations/tool-adapter.js +108 -0
- package/dist/automations/tool-adapter.js.map +1 -0
- package/dist/automations/types.d.ts +1 -405
- package/dist/automations/types.js +1 -218
- package/dist/automations/types.js.map +1 -1
- package/dist/autosave-cleanup.d.ts +26 -0
- package/dist/autosave-cleanup.js +87 -0
- package/dist/autosave-cleanup.js.map +1 -0
- package/dist/autosave-git.d.ts +3 -0
- package/dist/autosave-git.js +67 -35
- package/dist/autosave-git.js.map +1 -1
- package/dist/autosave-group.d.ts +8 -0
- package/dist/autosave-group.js +61 -0
- package/dist/autosave-group.js.map +1 -0
- package/dist/autosave-holders.d.ts +31 -4
- package/dist/autosave-holders.js +92 -7
- package/dist/autosave-holders.js.map +1 -1
- package/dist/autosave-windows.d.ts +14 -0
- package/dist/autosave-windows.js +36 -2
- package/dist/autosave-windows.js.map +1 -1
- package/dist/ci-wait/client.d.ts +20 -3
- package/dist/ci-wait/client.js +40 -44
- package/dist/ci-wait/client.js.map +1 -1
- package/dist/ci-wait/controller.d.ts +622 -36
- package/dist/ci-wait/controller.js +152 -20
- package/dist/ci-wait/controller.js.map +1 -1
- package/dist/ci-wait/errors.d.ts +19 -0
- package/dist/ci-wait/errors.js +180 -2
- package/dist/ci-wait/errors.js.map +1 -1
- package/dist/ci-wait/github.d.ts +25 -1
- package/dist/ci-wait/github.js +76 -9
- package/dist/ci-wait/github.js.map +1 -1
- package/dist/ci-wait/mcp.d.ts +0 -1
- package/dist/ci-wait/mcp.js +0 -2
- package/dist/ci-wait/mcp.js.map +1 -1
- package/dist/ci-wait/supervisor.d.ts +7 -0
- package/dist/ci-wait/supervisor.js +113 -17
- package/dist/ci-wait/supervisor.js.map +1 -1
- package/dist/ci-wait/tools.d.ts +536 -16
- package/dist/ci-wait/tools.js +165 -20
- package/dist/ci-wait/tools.js.map +1 -1
- package/dist/config.d.ts +3 -17
- package/dist/config.js +4 -60
- package/dist/config.js.map +1 -1
- package/dist/contract/active-provider.d.ts +12 -0
- package/dist/contract/agent-profiles.d.ts +2 -10
- package/dist/contract/ask-schema.d.ts +22 -4
- package/dist/contract/ask.d.ts +6 -4
- package/dist/contract/attachments.d.ts +35 -0
- package/dist/contract/attention.d.ts +46 -37
- package/dist/contract/automation-requests.d.ts +308 -0
- package/dist/contract/automation-schedule.d.ts +40 -11
- package/dist/contract/automation-storage.d.ts +512 -0
- package/dist/contract/automations.d.ts +421 -40
- package/dist/contract/ci-wait.d.ts +41 -4
- package/dist/contract/config-requests.d.ts +36 -0
- package/dist/contract/conversations.d.ts +24 -10
- package/dist/contract/defined.d.ts +8 -0
- package/dist/contract/delegation.d.ts +312 -8
- package/dist/contract/events.d.ts +24 -3
- package/dist/contract/github-requests.d.ts +26 -0
- package/dist/contract/github.d.ts +60 -27
- package/dist/contract/handoff.d.ts +43 -0
- package/dist/contract/health.d.ts +2 -2
- package/dist/contract/image-path.d.ts +6 -0
- package/dist/contract/index.d.ts +31 -0
- package/dist/contract/index.js +3756 -1525
- package/dist/contract/live-coordination.d.ts +158 -0
- package/dist/contract/live-limits.d.ts +8 -0
- package/dist/contract/live.d.ts +123 -0
- package/dist/contract/pending-ask.d.ts +58 -0
- package/dist/contract/permissions.d.ts +54 -0
- package/dist/contract/preview.d.ts +33 -0
- package/dist/contract/project-limits.d.ts +33 -0
- package/dist/contract/projects.d.ts +486 -20
- package/dist/contract/provider-requests.d.ts +77 -0
- package/dist/contract/query-requests.d.ts +52 -0
- package/dist/contract/repo-requests.d.ts +12 -0
- package/dist/contract/run-labels.d.ts +8 -0
- package/dist/contract/run-limits.d.ts +8 -0
- package/dist/contract/run-predicates.d.ts +32 -0
- package/dist/contract/run-requests.d.ts +33 -0
- package/dist/contract/run-search.d.ts +193 -0
- package/dist/contract/runs.d.ts +2232 -1894
- package/dist/contract/scheduled-tasks.d.ts +187 -0
- package/dist/contract/skills.d.ts +22 -772
- package/dist/contract/team-skill-ref.d.ts +10 -0
- package/dist/{core → contract}/tool-display.d.ts +4 -10
- package/dist/contract/ui-state-requests.d.ts +60 -0
- package/dist/contract/version.d.ts +3 -0
- package/dist/contract/voice.d.ts +213 -0
- package/dist/contract/waits.d.ts +1204 -0
- package/dist/contract/workflow-file.d.ts +37 -0
- package/dist/contract/workflow-requests.d.ts +7 -0
- package/dist/contract/workflows.d.ts +1 -2
- package/dist/contract/workspace.d.ts +34 -82
- package/dist/contract/zoned-time.d.ts +2 -11
- package/dist/core/agent-env.d.ts +4 -16
- package/dist/core/agent-env.js +14 -16
- package/dist/core/agent-env.js.map +1 -1
- package/dist/core/agent-profiles.d.ts +28 -40
- package/dist/core/agent-profiles.js +56 -51
- package/dist/core/agent-profiles.js.map +1 -1
- package/dist/core/agent-runner.d.ts +88 -44
- package/dist/core/agent-runner.js +17 -18
- package/dist/core/agent-runner.js.map +1 -1
- package/dist/core/ask.d.ts +3 -0
- package/dist/core/ask.js +12 -0
- package/dist/core/ask.js.map +1 -1
- package/dist/core/backend-detect.js +16 -2
- package/dist/core/backend-detect.js.map +1 -1
- package/dist/core/claude-cli-runner.d.ts +23 -4
- package/dist/core/claude-cli-runner.js +280 -76
- package/dist/core/claude-cli-runner.js.map +1 -1
- package/dist/core/claude-model-catalog.d.ts +2 -10
- package/dist/core/claude-model-catalog.js +2 -10
- package/dist/core/claude-model-catalog.js.map +1 -1
- package/dist/core/claude-ui-mapper.d.ts +2 -2
- package/dist/core/claude-ui-mapper.js +94 -2
- package/dist/core/claude-ui-mapper.js.map +1 -1
- package/dist/core/codex-app-server-runner.d.ts +3 -4
- package/dist/core/codex-app-server-runner.js +146 -51
- package/dist/core/codex-app-server-runner.js.map +1 -1
- package/dist/core/codex-app-server-transport.d.ts +4 -3
- package/dist/core/codex-app-server-transport.js +11 -7
- package/dist/core/codex-app-server-transport.js.map +1 -1
- package/dist/core/codex-approvals.d.ts +12 -0
- package/dist/core/codex-approvals.js +161 -0
- package/dist/core/codex-approvals.js.map +1 -0
- package/dist/core/codex-permissions.d.ts +1 -1
- package/dist/core/codex-ui-mapper.js +45 -1
- package/dist/core/codex-ui-mapper.js.map +1 -1
- package/dist/core/cursor-acp-runner.d.ts +1 -1
- package/dist/core/cursor-acp-runner.js +39 -15
- package/dist/core/cursor-acp-runner.js.map +1 -1
- package/dist/core/cursor-cli-flags.d.ts +19 -0
- package/dist/core/cursor-cli-flags.js +47 -0
- package/dist/core/cursor-cli-flags.js.map +1 -0
- package/dist/core/cursor-model-catalog.d.ts +22 -0
- package/dist/core/cursor-model-catalog.js +53 -24
- package/dist/core/cursor-model-catalog.js.map +1 -1
- package/dist/core/cursor-print-capabilities.d.ts +16 -0
- package/dist/core/cursor-print-capabilities.js +141 -0
- package/dist/core/cursor-print-capabilities.js.map +1 -0
- package/dist/core/cursor-print-process.d.ts +31 -0
- package/dist/core/cursor-print-process.js +117 -0
- package/dist/core/cursor-print-process.js.map +1 -0
- package/dist/core/cursor-print-runner.d.ts +31 -0
- package/dist/core/cursor-print-runner.js +555 -0
- package/dist/core/cursor-print-runner.js.map +1 -0
- package/dist/core/cursor-print-tool-catalog.d.ts +10 -0
- package/dist/core/cursor-print-tool-catalog.js +91 -0
- package/dist/core/cursor-print-tool-catalog.js.map +1 -0
- package/dist/core/cursor-print-ui-mapper.d.ts +47 -0
- package/dist/core/cursor-print-ui-mapper.js +553 -0
- package/dist/core/cursor-print-ui-mapper.js.map +1 -0
- package/dist/core/cursor-runner.d.ts +24 -0
- package/dist/core/cursor-runner.js +149 -0
- package/dist/core/cursor-runner.js.map +1 -0
- package/dist/core/cursor-ui-mapper.js +5 -2
- package/dist/core/cursor-ui-mapper.js.map +1 -1
- package/dist/core/defined.d.ts +1 -0
- package/dist/core/defined.js +2 -0
- package/dist/core/defined.js.map +1 -0
- package/dist/core/hook-items.d.ts +14 -0
- package/dist/core/hook-items.js +13 -0
- package/dist/core/hook-items.js.map +1 -0
- package/dist/core/host-model-catalog.d.ts +2 -9
- package/dist/core/host-model-catalog.js +2 -9
- package/dist/core/host-model-catalog.js.map +1 -1
- package/dist/core/managed-session.js +15 -3
- package/dist/core/managed-session.js.map +1 -1
- package/dist/core/model-identity.d.ts +4 -21
- package/dist/core/model-identity.js.map +1 -1
- package/dist/core/model-presets.d.ts +2 -13
- package/dist/core/model-presets.js +2 -13
- package/dist/core/model-presets.js.map +1 -1
- package/dist/core/omp-model-catalog.js.map +1 -1
- package/dist/core/omp-runner.d.ts +6 -7
- package/dist/core/omp-runner.js +92 -33
- package/dist/core/omp-runner.js.map +1 -1
- package/dist/core/omp-ui-mapper.js +1 -1
- package/dist/core/omp-ui-mapper.js.map +1 -1
- package/dist/core/opencode-model-catalog.js.map +1 -1
- package/dist/core/opencode-permissions.d.ts +52 -0
- package/dist/core/opencode-permissions.js +101 -0
- package/dist/core/opencode-permissions.js.map +1 -0
- package/dist/core/opencode-server-runner.d.ts +10 -9
- package/dist/core/opencode-server-runner.js +286 -28
- package/dist/core/opencode-server-runner.js.map +1 -1
- package/dist/core/opencode-session-error.d.ts +15 -7
- package/dist/core/opencode-session-error.js +25 -9
- package/dist/core/opencode-session-error.js.map +1 -1
- package/dist/core/opencode-ui-mapper.js +2 -2
- package/dist/core/opencode-ui-mapper.js.map +1 -1
- package/dist/core/pi-model-catalog.js.map +1 -1
- package/dist/core/pi-runner.d.ts +12 -4
- package/dist/core/pi-runner.js +171 -63
- package/dist/core/pi-runner.js.map +1 -1
- package/dist/core/pi-ui-mapper.js +1 -1
- package/dist/core/pi-ui-mapper.js.map +1 -1
- package/dist/core/process-usage.d.ts +5 -0
- package/dist/core/process-usage.js +24 -4
- package/dist/core/process-usage.js.map +1 -1
- package/dist/core/provider-auth.d.ts +16 -107
- package/dist/core/provider-auth.js +16 -132
- package/dist/core/provider-auth.js.map +1 -1
- package/dist/core/runner-factory.d.ts +4 -1
- package/dist/core/runner-factory.js +3 -3
- package/dist/core/runner-factory.js.map +1 -1
- package/dist/core/runner-runtime.d.ts +22 -0
- package/dist/core/runner-runtime.js +66 -5
- package/dist/core/runner-runtime.js.map +1 -1
- package/dist/core/runner-tool-grants.d.ts +21 -0
- package/dist/core/runner-tool-grants.js +64 -0
- package/dist/core/runner-tool-grants.js.map +1 -0
- package/dist/core/secret-redaction.d.ts +3 -20
- package/dist/core/secret-redaction.js +3 -20
- package/dist/core/secret-redaction.js.map +1 -1
- package/dist/core/session-process.d.ts +22 -2
- package/dist/core/session-process.js +170 -12
- package/dist/core/session-process.js.map +1 -1
- package/dist/core/shell-env.d.ts +2 -15
- package/dist/core/shell-env.js +2 -15
- package/dist/core/shell-env.js.map +1 -1
- package/dist/core/ui-events.d.ts +60 -47
- package/dist/core/ui-events.js +0 -23
- package/dist/core/ui-events.js.map +1 -1
- package/dist/core/usage-limit.js.map +1 -1
- package/dist/data-gitignore.js +3 -1
- package/dist/data-gitignore.js.map +1 -1
- package/dist/delegation/capacity.d.ts +4 -8
- package/dist/delegation/capacity.js +4 -8
- package/dist/delegation/capacity.js.map +1 -1
- package/dist/delegation/cli.js +123 -21
- package/dist/delegation/cli.js.map +1 -1
- package/dist/delegation/context.d.ts +19 -3
- package/dist/delegation/context.js +217 -22
- package/dist/delegation/context.js.map +1 -1
- package/dist/delegation/conversations.d.ts +4 -3
- package/dist/delegation/conversations.js +7 -5
- package/dist/delegation/conversations.js.map +1 -1
- package/dist/delegation/destroy-observation.d.ts +1 -1
- package/dist/delegation/destroy-observation.js.map +1 -1
- package/dist/delegation/effort.js.map +1 -1
- package/dist/delegation/execution-identity.d.ts +1 -1
- package/dist/delegation/execution-identity.js +41 -7
- package/dist/delegation/execution-identity.js.map +1 -1
- package/dist/delegation/idle-test-app.d.ts +4 -0
- package/dist/delegation/idle-test-app.js +174 -0
- package/dist/delegation/idle-test-app.js.map +1 -0
- package/dist/delegation/input.js.map +1 -1
- package/dist/delegation/park-notice.d.ts +42 -0
- package/dist/delegation/park-notice.js +71 -0
- package/dist/delegation/park-notice.js.map +1 -0
- package/dist/delegation/policy.d.ts +2 -0
- package/dist/delegation/policy.js +9 -1
- package/dist/delegation/policy.js.map +1 -1
- package/dist/delegation/process-liveness.d.ts +10 -15
- package/dist/delegation/process-liveness.js +11 -35
- package/dist/delegation/process-liveness.js.map +1 -1
- package/dist/delegation/provision.js +21 -19
- package/dist/delegation/provision.js.map +1 -1
- package/dist/delegation/questions.d.ts +3 -1
- package/dist/delegation/questions.js +10 -5
- package/dist/delegation/questions.js.map +1 -1
- package/dist/delegation/readiness.d.ts +2 -2
- package/dist/delegation/results.d.ts +4 -1
- package/dist/delegation/results.js +49 -18
- package/dist/delegation/results.js.map +1 -1
- package/dist/delegation/retry-backoff.d.ts +8 -0
- package/dist/delegation/retry-backoff.js +8 -0
- package/dist/delegation/retry-backoff.js.map +1 -1
- package/dist/delegation/routes.d.ts +114 -30
- package/dist/delegation/routes.js +4 -1
- package/dist/delegation/routes.js.map +1 -1
- package/dist/delegation/scratch-cleanup.d.ts +4 -5
- package/dist/delegation/scratch-cleanup.js +10 -8
- package/dist/delegation/scratch-cleanup.js.map +1 -1
- package/dist/delegation/service.d.ts +12 -4
- package/dist/delegation/service.js +76 -28
- package/dist/delegation/service.js.map +1 -1
- package/dist/delegation/transport.d.ts +154 -70
- package/dist/delegation/wait.d.ts +11 -0
- package/dist/delegation/wait.js +24 -0
- package/dist/delegation/wait.js.map +1 -1
- package/dist/delegation/windows-test-app.d.ts +5 -0
- package/dist/delegation/windows-test-app.js +63 -0
- package/dist/delegation/windows-test-app.js.map +1 -0
- package/dist/delegation/windows-workspace-identity.d.ts +3 -0
- package/dist/delegation/windows-workspace-identity.js +22 -0
- package/dist/delegation/windows-workspace-identity.js.map +1 -0
- package/dist/delegation/workspace.d.ts +5 -10
- package/dist/delegation/workspace.js +136 -75
- package/dist/delegation/workspace.js.map +1 -1
- package/dist/detached-process.d.ts +103 -0
- package/dist/detached-process.js +301 -0
- package/dist/detached-process.js.map +1 -0
- package/dist/discovery/catalog.d.ts +2 -1
- package/dist/discovery/catalog.js.map +1 -1
- package/dist/discovery/cli.js +3 -1
- package/dist/discovery/cli.js.map +1 -1
- package/dist/git-diff-base.d.ts +6 -61
- package/dist/git-diff-base.js +6 -70
- package/dist/git-diff-base.js.map +1 -1
- package/dist/git-index-copy.d.ts +4 -0
- package/dist/git-index-copy.js +10 -0
- package/dist/git-index-copy.js.map +1 -0
- package/dist/git-worktree-lock.d.ts +2 -4
- package/dist/git-worktree-lock.js +2 -4
- package/dist/git-worktree-lock.js.map +1 -1
- package/dist/git-worktree-release.d.ts +2 -2
- package/dist/git-worktree-release.js.map +1 -1
- package/dist/git-worktree.d.ts +47 -76
- package/dist/git-worktree.js +240 -94
- package/dist/git-worktree.js.map +1 -1
- package/dist/handoff.d.ts +51 -41
- package/dist/handoff.js +130 -78
- package/dist/handoff.js.map +1 -1
- package/dist/index.js +60 -39
- package/dist/index.js.map +1 -1
- package/dist/merge-observations.d.ts +13 -0
- package/dist/merge-observations.js +55 -0
- package/dist/merge-observations.js.map +1 -0
- package/dist/open-url.js +4 -14
- package/dist/open-url.js.map +1 -1
- package/dist/paths.d.ts +10 -13
- package/dist/paths.js +36 -17
- package/dist/paths.js.map +1 -1
- package/dist/planner.d.ts +2 -1
- package/dist/planner.js +9 -6
- package/dist/planner.js.map +1 -1
- package/dist/preview/agent-address.d.ts +34 -0
- package/dist/preview/agent-address.js +51 -0
- package/dist/preview/agent-address.js.map +1 -0
- package/dist/preview/agent-marker.d.ts +17 -0
- package/dist/preview/agent-marker.js +71 -0
- package/dist/preview/agent-marker.js.map +1 -0
- package/dist/preview/cdp-proxy.d.ts +54 -0
- package/dist/preview/cdp-proxy.js +151 -0
- package/dist/preview/cdp-proxy.js.map +1 -0
- package/dist/preview/cdp.d.ts +39 -3
- package/dist/preview/cdp.js +155 -57
- package/dist/preview/cdp.js.map +1 -1
- package/dist/preview/chromium.d.ts +18 -6
- package/dist/preview/chromium.js +112 -25
- package/dist/preview/chromium.js.map +1 -1
- package/dist/preview/dev-server.d.ts +1 -1
- package/dist/preview/dev-server.js +20 -44
- package/dist/preview/dev-server.js.map +1 -1
- package/dist/preview/host.d.ts +70 -3
- package/dist/preview/host.js +314 -28
- package/dist/preview/host.js.map +1 -1
- package/dist/preview/registration.d.ts +10 -5
- package/dist/preview/registration.js +2 -0
- package/dist/preview/registration.js.map +1 -1
- package/dist/preview/session.d.ts +2 -0
- package/dist/preview/session.js +10 -0
- package/dist/preview/session.js.map +1 -1
- package/dist/process-wait/exit-file.d.ts +29 -0
- package/dist/process-wait/exit-file.js +67 -0
- package/dist/process-wait/exit-file.js.map +1 -0
- package/dist/process-wait/supervisor.d.ts +30 -0
- package/dist/process-wait/supervisor.js +71 -0
- package/dist/process-wait/supervisor.js.map +1 -0
- package/dist/release/snapshot.d.ts +6 -6
- package/dist/runs/agent-tmpdir.d.ts +51 -36
- package/dist/runs/agent-tmpdir.js +389 -132
- package/dist/runs/agent-tmpdir.js.map +1 -1
- package/dist/runs/auto-name.d.ts +6 -6
- package/dist/runs/auto-name.js +1 -1
- package/dist/runs/auto-name.js.map +1 -1
- package/dist/runs/client-request.d.ts +3 -3
- package/dist/runs/client-request.js +3 -3
- package/dist/runs/client-request.js.map +1 -1
- package/dist/runs/delegation-state.d.ts +11 -2
- package/dist/runs/delegation-state.js.map +1 -1
- package/dist/runs/event-history-agent-context.d.ts +14 -0
- package/dist/runs/event-history-agent-context.js +105 -0
- package/dist/runs/event-history-agent-context.js.map +1 -0
- package/dist/runs/event-history-context.d.ts +15 -0
- package/dist/runs/event-history-context.js +109 -0
- package/dist/runs/event-history-context.js.map +1 -0
- package/dist/runs/event-history.d.ts +4 -1
- package/dist/runs/event-history.js +29 -130
- package/dist/runs/event-history.js.map +1 -1
- package/dist/runs/history-stream.d.ts +2 -0
- package/dist/runs/history-stream.js +62 -0
- package/dist/runs/history-stream.js.map +1 -0
- package/dist/runs/legacy-index.d.ts +6 -19
- package/dist/runs/legacy-index.js +6 -19
- package/dist/runs/legacy-index.js.map +1 -1
- package/dist/runs/live-item-snapshots.d.ts +13 -0
- package/dist/runs/live-item-snapshots.js +79 -0
- package/dist/runs/live-item-snapshots.js.map +1 -0
- package/dist/runs/loaded-run-healing.d.ts +3 -0
- package/dist/runs/loaded-run-healing.js +17 -0
- package/dist/runs/loaded-run-healing.js.map +1 -0
- package/dist/runs/outcome-commit.d.ts +98 -0
- package/dist/runs/outcome-commit.js +132 -0
- package/dist/runs/outcome-commit.js.map +1 -0
- package/dist/runs/pull-requests.d.ts +14 -0
- package/dist/runs/pull-requests.js +96 -0
- package/dist/runs/pull-requests.js.map +1 -0
- package/dist/runs/raw-record.d.ts +3 -15
- package/dist/runs/raw-record.js +3 -15
- package/dist/runs/raw-record.js.map +1 -1
- package/dist/runs/retention.d.ts +2 -2
- package/dist/runs/retention.js +7 -0
- package/dist/runs/retention.js.map +1 -1
- package/dist/runs/review-gate.d.ts +1 -1
- package/dist/runs/review-gate.js.map +1 -1
- package/dist/runs/run-claims.d.ts +2 -9
- package/dist/runs/run-claims.js.map +1 -1
- package/dist/runs/run-database.d.ts +29 -34
- package/dist/runs/run-database.js +124 -46
- package/dist/runs/run-database.js.map +1 -1
- package/dist/runs/run-index.d.ts +6 -25
- package/dist/runs/run-index.js +25 -38
- package/dist/runs/run-index.js.map +1 -1
- package/dist/runs/run-row.d.ts +5 -34
- package/dist/runs/run-row.js +13 -38
- package/dist/runs/run-row.js.map +1 -1
- package/dist/runs/store.d.ts +1597 -744
- package/dist/runs/store.js +1231 -739
- package/dist/runs/store.js.map +1 -1
- package/dist/runs/task-markers.d.ts +1 -0
- package/dist/runs/task-markers.js +5 -1
- package/dist/runs/task-markers.js.map +1 -1
- package/dist/runs/task-refs.d.ts +3 -3
- package/dist/runs/transcript-facts-fold.d.ts +64 -0
- package/dist/runs/transcript-facts-fold.js +109 -0
- package/dist/runs/transcript-facts-fold.js.map +1 -0
- package/dist/runs/transcript-facts-load.d.ts +11 -0
- package/dist/runs/transcript-facts-load.js +66 -0
- package/dist/runs/transcript-facts-load.js.map +1 -0
- package/dist/runs/transcript-facts-queue.d.ts +30 -0
- package/dist/runs/transcript-facts-queue.js +227 -0
- package/dist/runs/transcript-facts-queue.js.map +1 -0
- package/dist/runs/transcript-facts-worker.d.ts +15 -0
- package/dist/runs/transcript-facts-worker.js +26 -0
- package/dist/runs/transcript-facts-worker.js.map +1 -0
- package/dist/runs/transcript-facts.d.ts +13 -51
- package/dist/runs/transcript-facts.js +86 -202
- package/dist/runs/transcript-facts.js.map +1 -1
- package/dist/runs/ui-event-sink.d.ts +5 -30
- package/dist/runs/ui-event-sink.js +8 -30
- package/dist/runs/ui-event-sink.js.map +1 -1
- package/dist/runs/webhook.d.ts +104 -38
- package/dist/runs/webhook.js +180 -77
- package/dist/runs/webhook.js.map +1 -1
- package/dist/server/app-type.d.ts +2 -17
- package/dist/server/archive-on-merge.d.ts +35 -0
- package/dist/server/archive-on-merge.js +202 -0
- package/dist/server/archive-on-merge.js.map +1 -0
- package/dist/server/capabilities.d.ts +3 -15
- package/dist/server/capabilities.js +6 -19
- package/dist/server/capabilities.js.map +1 -1
- package/dist/server/checkout-progress.d.ts +10 -0
- package/dist/server/checkout-progress.js +27 -0
- package/dist/server/checkout-progress.js.map +1 -0
- package/dist/server/checkout.d.ts +10 -19
- package/dist/server/checkout.js +15 -45
- package/dist/server/checkout.js.map +1 -1
- package/dist/server/cockpit-ownership.d.ts +2 -0
- package/dist/server/cockpit-ownership.js +9 -0
- package/dist/server/cockpit-ownership.js.map +1 -1
- package/dist/server/cold-repo-handles.d.ts +2 -7
- package/dist/server/cold-repo-handles.js +2 -7
- package/dist/server/cold-repo-handles.js.map +1 -1
- package/dist/server/completion-actions.d.ts +30 -0
- package/dist/server/completion-actions.js +204 -0
- package/dist/server/completion-actions.js.map +1 -0
- package/dist/server/create-project.d.ts +71 -0
- package/dist/server/create-project.js +448 -0
- package/dist/server/create-project.js.map +1 -0
- package/dist/server/forge/github-filters.d.ts +7 -1
- package/dist/server/forge/github-filters.js +66 -51
- package/dist/server/forge/github-filters.js.map +1 -1
- package/dist/server/forge/github-merge-requirements.d.ts +18 -0
- package/dist/server/forge/github-merge-requirements.js +137 -0
- package/dist/server/forge/github-merge-requirements.js.map +1 -0
- package/dist/server/forge/github.d.ts +98 -111
- package/dist/server/forge/github.js +625 -306
- package/dist/server/forge/github.js.map +1 -1
- package/dist/server/forge/types.d.ts +25 -22
- package/dist/server/fs-browse.d.ts +3 -28
- package/dist/server/fs-browse.js.map +1 -1
- package/dist/server/git-changes.d.ts +5 -15
- package/dist/server/git-changes.js +3 -50
- package/dist/server/git-changes.js.map +1 -1
- package/dist/server/git.d.ts +3 -1
- package/dist/server/git.js +12 -0
- package/dist/server/git.js.map +1 -1
- package/dist/server/github.d.ts +1 -1
- package/dist/server/github.js +1 -1
- package/dist/server/github.js.map +1 -1
- package/dist/server/launch-key.d.ts +2 -4
- package/dist/server/launch-key.js +2 -4
- package/dist/server/launch-key.js.map +1 -1
- package/dist/server/live-routes.d.ts +68 -0
- package/dist/server/live-routes.js +147 -0
- package/dist/server/live-routes.js.map +1 -0
- package/dist/server/open-in-app.d.ts +4 -13
- package/dist/server/open-in-app.js +5 -41
- package/dist/server/open-in-app.js.map +1 -1
- package/dist/server/open-in-targets.d.ts +42 -0
- package/dist/server/open-in-targets.js +110 -0
- package/dist/server/open-in-targets.js.map +1 -0
- package/dist/server/open-in-terminal.d.ts +3 -0
- package/dist/server/open-in-terminal.js +6 -26
- package/dist/server/open-in-terminal.js.map +1 -1
- package/dist/server/preview-cdp-socket.d.ts +21 -0
- package/dist/server/preview-cdp-socket.js +112 -0
- package/dist/server/preview-cdp-socket.js.map +1 -0
- package/dist/server/preview-socket.d.ts +11 -11
- package/dist/server/preview-socket.js +22 -22
- package/dist/server/preview-socket.js.map +1 -1
- package/dist/server/preview-sockets.d.ts +14 -0
- package/dist/server/preview-sockets.js +18 -0
- package/dist/server/preview-sockets.js.map +1 -0
- package/dist/server/project-context.d.ts +54 -18
- package/dist/server/project-context.js +178 -5
- package/dist/server/project-context.js.map +1 -1
- package/dist/server/provider-action-gate.d.ts +0 -2
- package/dist/server/provider-action-gate.js +0 -21
- package/dist/server/provider-action-gate.js.map +1 -1
- package/dist/server/provider-auth-runtime.d.ts +3 -18
- package/dist/server/provider-auth-runtime.js +3 -18
- package/dist/server/provider-auth-runtime.js.map +1 -1
- package/dist/server/repo-branches.d.ts +3 -9
- package/dist/server/repo-branches.js +6 -22
- package/dist/server/repo-branches.js.map +1 -1
- package/dist/server/run-event-feed.d.ts +20 -0
- package/dist/server/run-event-feed.js +190 -0
- package/dist/server/run-event-feed.js.map +1 -0
- package/dist/server/server-deps.d.ts +37 -0
- package/dist/server/server-deps.js +114 -0
- package/dist/server/server-deps.js.map +1 -0
- package/dist/server/server.d.ts +14082 -11998
- package/dist/server/server.js +785 -1647
- package/dist/server/server.js.map +1 -1
- package/dist/server/start-run-options.d.ts +82 -0
- package/dist/server/start-run-options.js +111 -0
- package/dist/server/start-run-options.js.map +1 -0
- package/dist/server/validators.d.ts +3 -29
- package/dist/server/validators.js +1 -2
- package/dist/server/validators.js.map +1 -1
- package/dist/server/ws.d.ts +3 -23
- package/dist/server/ws.js +3 -23
- package/dist/server/ws.js.map +1 -1
- package/dist/server-install/engine.d.ts +6 -9
- package/dist/server-install/engine.js +2 -9
- package/dist/server-install/engine.js.map +1 -1
- package/dist/server-install/platforms/ubuntu-vps.d.ts +1 -1
- package/dist/server-install/state.d.ts +2 -4
- package/dist/server-install/state.js +2 -4
- package/dist/server-install/state.js.map +1 -1
- package/dist/server-install/steps.d.ts +2 -5
- package/dist/server-install/steps.js +3 -6
- package/dist/server-install/steps.js.map +1 -1
- package/dist/server-install/types.d.ts +3 -6
- package/dist/server-install/types.js +2 -5
- package/dist/server-install/types.js.map +1 -1
- package/dist/server-install/ui.d.ts +2 -8
- package/dist/server-install/ui.js +3 -3
- package/dist/server-install/ui.js.map +1 -1
- package/dist/session-context.d.ts +64 -0
- package/dist/session-context.js +264 -0
- package/dist/session-context.js.map +1 -0
- package/dist/skills-provision.d.ts +62 -0
- package/dist/skills-provision.js +325 -0
- package/dist/skills-provision.js.map +1 -0
- package/dist/skills-remote.d.ts +29 -27
- package/dist/skills-remote.js +236 -100
- package/dist/skills-remote.js.map +1 -1
- package/dist/skills.d.ts +25 -36
- package/dist/skills.js +43 -54
- package/dist/skills.js.map +1 -1
- package/dist/subcommands.d.ts +11 -0
- package/dist/subcommands.js +24 -0
- package/dist/subcommands.js.map +1 -0
- package/dist/task-cli/cli.js +78 -25
- package/dist/task-cli/cli.js.map +1 -1
- package/dist/task-cli/discovery.d.ts +4 -2
- package/dist/task-cli/discovery.js +14 -13
- package/dist/task-cli/discovery.js.map +1 -1
- package/dist/task-cli/hint.d.ts +20 -0
- package/dist/task-cli/hint.js +14 -0
- package/dist/task-cli/hint.js.map +1 -0
- package/dist/task-cli/http.d.ts +1 -0
- package/dist/task-cli/http.js +3 -1
- package/dist/task-cli/http.js.map +1 -1
- package/dist/task-cli/projections.d.ts +14 -11
- package/dist/task-cli/projections.js +15 -11
- package/dist/task-cli/projections.js.map +1 -1
- package/dist/task-cli/watch.d.ts +18 -10
- package/dist/task-cli/watch.js +128 -20
- package/dist/task-cli/watch.js.map +1 -1
- package/dist/ui-state.d.ts +17 -3
- package/dist/ui-state.js +56 -9
- package/dist/ui-state.js.map +1 -1
- package/dist/update-check.d.ts +0 -10
- package/dist/update-check.js +1 -16
- package/dist/update-check.js.map +1 -1
- package/dist/voice/decide.d.ts +32 -0
- package/dist/voice/decide.js +297 -0
- package/dist/voice/decide.js.map +1 -0
- package/dist/voice/decision-log.d.ts +52 -0
- package/dist/voice/decision-log.js +107 -0
- package/dist/voice/decision-log.js.map +1 -0
- package/dist/voice/engine.d.ts +119 -0
- package/dist/voice/engine.js +60 -0
- package/dist/voice/engine.js.map +1 -0
- package/dist/voice/fake-engine.d.ts +10 -0
- package/dist/voice/fake-engine.js +192 -0
- package/dist/voice/fake-engine.js.map +1 -0
- package/dist/voice/jev-engine.d.ts +17 -0
- package/dist/voice/jev-engine.js +110 -0
- package/dist/voice/jev-engine.js.map +1 -0
- package/dist/voice/pending-ask.d.ts +17 -0
- package/dist/voice/pending-ask.js +50 -0
- package/dist/voice/pending-ask.js.map +1 -0
- package/dist/voice/routes.d.ts +115 -0
- package/dist/voice/routes.js +91 -0
- package/dist/voice/routes.js.map +1 -0
- package/dist/voice/sentence.d.ts +21 -0
- package/dist/voice/sentence.js +61 -0
- package/dist/voice/sentence.js.map +1 -0
- package/dist/voice/thresholds.d.ts +28 -0
- package/dist/voice/thresholds.js +29 -0
- package/dist/voice/thresholds.js.map +1 -0
- package/dist/webhooks/cli.d.ts +18 -0
- package/dist/webhooks/cli.js +145 -0
- package/dist/webhooks/cli.js.map +1 -0
- package/dist/webhooks/prompt.d.ts +5 -0
- package/dist/webhooks/prompt.js +26 -0
- package/dist/webhooks/prompt.js.map +1 -0
- package/dist/workflows/active-run.d.ts +167 -0
- package/dist/workflows/active-run.js +21 -0
- package/dist/workflows/active-run.js.map +1 -0
- package/dist/workflows/continuation-admission.d.ts +913 -0
- package/dist/workflows/continuation-admission.js +265 -0
- package/dist/workflows/continuation-admission.js.map +1 -0
- package/dist/workflows/execution-account.d.ts +13 -0
- package/dist/workflows/execution-account.js +18 -0
- package/dist/workflows/execution-account.js.map +1 -0
- package/dist/workflows/input-acknowledgement.d.ts +152 -0
- package/dist/workflows/input-acknowledgement.js +38 -0
- package/dist/workflows/input-acknowledgement.js.map +1 -0
- package/dist/workflows/line-order.d.ts +5 -0
- package/dist/workflows/line-order.js +25 -0
- package/dist/workflows/line-order.js.map +1 -0
- package/dist/workflows/outcome-batches.d.ts +20 -0
- package/dist/workflows/outcome-batches.js +25 -0
- package/dist/workflows/outcome-batches.js.map +1 -0
- package/dist/workflows/question-routing.d.ts +8 -0
- package/dist/workflows/question-routing.js +18 -0
- package/dist/workflows/question-routing.js.map +1 -0
- package/dist/workflows/run-scheduling.d.ts +35 -0
- package/dist/workflows/run-scheduling.js +61 -0
- package/dist/workflows/run-scheduling.js.map +1 -0
- package/dist/workflows/run-states.d.ts +190 -0
- package/dist/workflows/run-states.js +295 -0
- package/dist/workflows/run-states.js.map +1 -0
- package/dist/workflows/run.d.ts +1296 -278
- package/dist/workflows/run.js +5730 -3265
- package/dist/workflows/run.js.map +1 -1
- package/dist/workflows/turn-end.d.ts +116 -0
- package/dist/workflows/turn-end.js +68 -0
- package/dist/workflows/turn-end.js.map +1 -0
- package/dist/workflows/types.d.ts +35 -130
- package/dist/workflows/types.js +47 -100
- package/dist/workflows/types.js.map +1 -1
- package/dist/workflows/waits.d.ts +74 -0
- package/dist/workflows/waits.js +197 -0
- package/dist/workflows/waits.js.map +1 -0
- package/dist/workspace/agent-accounts.d.ts +5 -38
- package/dist/workspace/agent-accounts.js +14 -40
- package/dist/workspace/agent-accounts.js.map +1 -1
- package/dist/workspace/agent-profiles.d.ts +40 -16
- package/dist/workspace/agent-profiles.js +77 -17
- package/dist/workspace/agent-profiles.js.map +1 -1
- package/dist/workspace/config.d.ts +48 -49
- package/dist/workspace/config.js +68 -72
- package/dist/workspace/config.js.map +1 -1
- package/dist/workspace/migrations.d.ts +3 -13
- package/dist/workspace/migrations.js.map +1 -1
- package/dist/workspace/projects-cli.d.ts +1 -1
- package/dist/workspace/projects-cli.js.map +1 -1
- package/dist/workspace/projects.d.ts +15 -18
- package/dist/workspace/projects.js +20 -16
- package/dist/workspace/projects.js.map +1 -1
- package/dist/workspace/semaphore.d.ts +11 -45
- package/dist/workspace/semaphore.js +6 -18
- package/dist/workspace/semaphore.js.map +1 -1
- package/dist/workspace/ui-state.d.ts +6 -4
- package/dist/workspace/ui-state.js +6 -4
- package/dist/workspace/ui-state.js.map +1 -1
- package/dist/workspace/webhooks.d.ts +40 -0
- package/dist/workspace/webhooks.js +146 -0
- package/dist/workspace/webhooks.js.map +1 -0
- package/dist/worktree-manifest.d.ts +165 -0
- package/dist/worktree-manifest.js +530 -0
- package/dist/worktree-manifest.js.map +1 -0
- package/dist/worktree-setup.js.map +1 -1
- package/package.json +6 -5
- package/scripts/benchmark-run-store-fixture.ts +7 -3
- package/scripts/check-pack.mjs +3 -1
- package/scripts/inline-contract.mjs +80 -27
- package/scripts/install-as-command.mjs +3 -1
- package/scripts/measure-transcript-facts-health.mjs +87 -0
- package/scripts/measure-transcript-facts-lag.mjs +68 -0
- package/scripts/mock-ci-tool.mjs +49 -6
- package/scripts/mock-claude-model-refusal.mjs +42 -0
- package/scripts/mock-claude.mjs +833 -591
- package/scripts/mock-codex-app-server.mjs +785 -418
- package/scripts/mock-cursor-acp.mjs +296 -125
- package/scripts/mock-cursor-print.mjs +256 -0
- package/scripts/mock-deferred-turn-start.mjs +16 -0
- package/scripts/mock-delivery-control.d.mts +23 -0
- package/scripts/mock-delivery-control.mjs +80 -0
- package/scripts/mock-env-record.mjs +11 -0
- package/scripts/mock-failure-control.d.mts +13 -0
- package/scripts/mock-failure-control.mjs +68 -0
- package/scripts/mock-multi-pr.mjs +7 -0
- package/scripts/mock-nudge.mjs +45 -0
- package/scripts/mock-omp-rpc.mjs +429 -255
- package/scripts/mock-opencode-serve.mjs +972 -557
- package/scripts/mock-pi-rpc.mjs +558 -331
- package/scripts/mock-runner-crash.mjs +18 -2
- package/scripts/mock-session-context.d.mts +5 -0
- package/scripts/mock-session-context.mjs +56 -0
- package/scripts/mock-silent-tail.mjs +10 -3
- package/scripts/pi-default-tools.mjs +22 -0
- package/scripts/pi-project-skills.mjs +59 -0
- package/scripts/probe-cursor-print.mjs +627 -0
- package/scripts/transcript-facts-fixture.mjs +53 -0
- package/scripts/voice-replay.ts +50 -0
- package/scripts/windows-workspace-identity.cs +208 -0
- package/scripts/windows-workspace-identity.ps1 +10 -0
- package/web/dist/assets/alert-dialog-DfctKUMw.js +1 -0
- package/web/dist/assets/button-CeupvoKG.js +41 -0
- package/web/dist/assets/centered-state-hDsyXrnH.js +1 -0
- package/web/dist/assets/cez-idle-D3aj_9lp.js +1 -0
- package/web/dist/assets/diff-BnIXZK3i2.js +3 -0
- package/web/dist/assets/diff-controls-GewpW9aF.js +1 -0
- package/web/dist/assets/diff-view-Byo7gpvW.js +11 -0
- package/web/dist/assets/dropdown-menu-COj_J5wd.js +6 -0
- package/web/dist/assets/eye-B8okNWXU.js +1 -0
- package/web/dist/assets/git-toolbar-DY0z0n4S.js +1 -0
- package/web/dist/assets/github-DwU6ALRK.js +1 -0
- package/web/dist/assets/{image-preview-FOEfqpZP.js → image-preview-C_t9q45f.js} +1 -1
- package/web/dist/assets/index-BOfE8pyD.js +34 -0
- package/web/dist/assets/index-D9HpsmdW.css +1 -0
- package/web/dist/assets/live-protocol-Uce2NwEX.js +64 -0
- package/web/dist/assets/live-worker-BizfZSoh.ts +33 -0
- package/web/dist/assets/markdown-BBDDg-4t.js +1 -0
- package/web/dist/assets/nav-row-styles-AoIhhIwf.js +1 -0
- package/web/dist/assets/popover-D56fhiXj.js +1 -0
- package/web/dist/assets/preview-pane-connected-BmVqfSU5.js +3 -0
- package/web/dist/assets/reference-chip-gQNk-4jc.js +1 -0
- package/web/dist/assets/repo-git-B5ECDUuv.js +1 -0
- package/web/dist/assets/{repo-git-CoKp-g9K.css → repo-git-DVXNOJDT.css} +1 -1
- package/web/dist/assets/run-header-C0Y1NvEM.js +2 -0
- package/web/dist/assets/run-header-CC7VUTg9.css +1 -0
- package/web/dist/assets/skills-DUeTkZ9z.js +1 -0
- package/web/dist/assets/status-dot-1PR0i69P.js +1 -0
- package/web/dist/assets/tab-link-DmWk4l5O.js +1 -0
- package/web/dist/assets/task-changes-DKZXuW89.js +1 -0
- package/web/dist/assets/task-commits-BZ6KxWdF.js +1 -0
- package/web/dist/assets/task-files-DlF7Apcn.js +2 -0
- package/web/dist/assets/task-github-item-CVPo3geZ.js +1 -0
- package/web/dist/assets/task-thread-DtQ6uGfQ.css +1 -0
- package/web/dist/assets/task-thread-mm4-ECyo.js +9 -0
- package/web/dist/assets/thread-state-CIw2BlhT.js +4 -0
- package/web/dist/assets/use-hand-to-agent-state-BCDjzHnG.js +1 -0
- package/web/dist/assets/use-hand-to-agent-state-C7esPJ-N.css +1 -0
- package/web/dist/assets/workflows-D8vYD-ql.js +7 -0
- package/web/dist/assets/zoomable-image-CxQSsfcn.js +1 -0
- package/web/dist/index.html +13 -17
- package/web/dist/live-worker.js +4 -0
- package/dist/core/tool-display.js +0 -179
- package/dist/core/tool-display.js.map +0 -1
- package/dist/runs/human-ask-summary.d.ts +0 -9
- package/dist/runs/human-ask-summary.js +0 -39
- package/dist/runs/human-ask-summary.js.map +0 -1
- package/dist/runs/run-search.d.ts +0 -29
- package/dist/runs/run-search.js +0 -63
- package/dist/runs/run-search.js.map +0 -1
- package/dist/skills-banner.d.ts +0 -22
- package/dist/skills-banner.js +0 -41
- package/dist/skills-banner.js.map +0 -1
- package/dist/skills-update.d.ts +0 -88
- package/dist/skills-update.js +0 -392
- package/dist/skills-update.js.map +0 -1
- package/dist/todos.d.ts +0 -48
- package/dist/todos.js +0 -201
- package/dist/todos.js.map +0 -1
- package/web/dist/assets/agent-accounts-CFOBMVHc.js +0 -1
- package/web/dist/assets/alert-dialog-BrpNUwMt.js +0 -1
- package/web/dist/assets/button-C_rd7CPp.js +0 -43
- package/web/dist/assets/compare-variants-D6WXhvXA.js +0 -1
- package/web/dist/assets/diff-DrEARXTV.js +0 -3
- package/web/dist/assets/diff-controls-B1-j7nFg.js +0 -1
- package/web/dist/assets/diff-view-DvGLjdTk.js +0 -6
- package/web/dist/assets/dropdown-menu-BegOZFrj.js +0 -1
- package/web/dist/assets/format-DpNe3S0A.js +0 -1
- package/web/dist/assets/git-toolbar-Cw4ljmhB.js +0 -1
- package/web/dist/assets/github-CfV5sqL0.js +0 -1
- package/web/dist/assets/index-DgWWlOLy.js +0 -13
- package/web/dist/assets/index-fBFnuvxu.css +0 -1
- package/web/dist/assets/nav-row-styles-vp2JbhuJ.js +0 -1
- package/web/dist/assets/popover-BohP6WTx.js +0 -1
- package/web/dist/assets/preview-pane-connected-qTA5KNoJ.js +0 -3
- package/web/dist/assets/preview-state-vuMviq6q.js +0 -1
- package/web/dist/assets/prompt-templates-Cubdut_C.js +0 -15
- package/web/dist/assets/repo-git-Cf4t5PD0.js +0 -1
- package/web/dist/assets/run-diff-BpkUW37Z.js +0 -3
- package/web/dist/assets/run-header-68WHf9wV.js +0 -1
- package/web/dist/assets/run-header-8GObNx6F.css +0 -1
- package/web/dist/assets/search-x-I9Q8pgUa.js +0 -1
- package/web/dist/assets/skills-DFBiAuJG.js +0 -1
- package/web/dist/assets/skills-DiVIgKeU.js +0 -1
- package/web/dist/assets/square-terminal-B6RYYieR.js +0 -1
- package/web/dist/assets/status-dot-CqTJHSP9.js +0 -1
- package/web/dist/assets/tab-link-B07Hu4QX.js +0 -1
- package/web/dist/assets/task-changes--lQF6EYf.js +0 -1
- package/web/dist/assets/task-commits-Cx0qy4DN.js +0 -1
- package/web/dist/assets/task-files-D50s-gKW.js +0 -2
- package/web/dist/assets/task-github-item-DaqmSwYT.js +0 -1
- package/web/dist/assets/task-thread-BPQ64lui.js +0 -7
- package/web/dist/assets/task-thread-zNE2Q9E-.css +0 -1
- package/web/dist/assets/textarea-D20O4Pw0.js +0 -1
- package/web/dist/assets/thread-state-DWcFMrvb.js +0 -4
- package/web/dist/assets/use-hand-to-agent-state-BLIGmwbd.css +0 -1
- package/web/dist/assets/use-hand-to-agent-state-Cy9eyyfL.js +0 -1
- package/web/dist/assets/utils-JsL3ZsJf.js +0 -64
- package/web/dist/assets/workflows-jwG7uxqi.js +0 -11
- package/web/dist/assets/zoomable-image-BJJ64KGc.js +0 -1
|
@@ -1,21 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* These shapes exist twice on purpose and only once as a DEFINITION of what the wire carries.
|
|
7
|
-
* `packages/cezar/src/automations/types.ts` owns the STORAGE schemas: they are `.passthrough()`,
|
|
8
|
-
* because a definitions/state/log file written by a newer cezar must survive a round trip through
|
|
9
|
-
* an older one rather than lose keys it has never heard of. The schemas here are the CLOSED wire
|
|
10
|
-
* half of those files — every key the routes actually answer with, and no index signature, so a
|
|
11
|
-
* consumer compiles against a shape rather than against `unknown`. `src/server/
|
|
12
|
-
* contract-parity.automations.test.ts` checks each response schema against the route that serves
|
|
13
|
-
* it, in both directions.
|
|
14
|
-
*
|
|
15
|
-
* What that guard can and cannot see is worth knowing: a named key whose type drifts fails, and a
|
|
16
|
-
* key this file makes required that the route does not send fails — but an EXTRA key arriving
|
|
17
|
-
* through the storage schemas' catchall cannot, since the route's own type admits any key. That is
|
|
18
|
-
* the same limit `contract-parity.workspace.test.ts` documents for the open GUI-pref bags.
|
|
3
|
+
* Closed automation wire schemas. Storage schemas preserve unknown keys separately. Parity
|
|
4
|
+
* checks compare named response fields in both directions; open storage catchalls limit
|
|
5
|
+
* extra-key detection.
|
|
19
6
|
*/
|
|
20
7
|
/** The GitHub activity an automation reacts to. Four events, all bounded polls — never a webhook. */
|
|
21
8
|
export declare const automationEventSchema: z.ZodEnum<{
|
|
@@ -33,8 +20,10 @@ export type AutomationEvent = z.infer<typeof automationEventSchema>;
|
|
|
33
20
|
* caller that omits them in a request body still gets them back materialized.
|
|
34
21
|
*/
|
|
35
22
|
export declare const automationFiltersSchema: z.ZodObject<{
|
|
23
|
+
includeExisting: z.ZodOptional<z.ZodBoolean>;
|
|
36
24
|
authors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
37
25
|
assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
26
|
+
requireCurrentLabels: z.ZodOptional<z.ZodBoolean>;
|
|
38
27
|
allLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
39
28
|
anyLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
40
29
|
excludeLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -53,15 +42,14 @@ export declare const automationKindSchema: z.ZodEnum<{
|
|
|
53
42
|
}>;
|
|
54
43
|
export type AutomationKind = z.infer<typeof automationKindSchema>;
|
|
55
44
|
/**
|
|
56
|
-
* The task a match launches: `POST /runs`' own body minus the
|
|
57
|
-
* itself — `task` (the rendered prompt)
|
|
45
|
+
* The task a match launches: `POST /runs`' own body minus the two keys an automation owns
|
|
46
|
+
* itself — `task` (the rendered prompt) and `images` — plus the prompt TEMPLATE.
|
|
58
47
|
*
|
|
59
48
|
* Two keys are re-spelled rather than inherited, because the automation schema really does differ
|
|
60
49
|
* from the composer's and the contract has to describe the automation route:
|
|
61
50
|
*
|
|
62
|
-
* - `variants`
|
|
63
|
-
*
|
|
64
|
-
* spelling is assignable to the route's parameter;
|
|
51
|
+
* - `variants` retains `1 | 2 | 3` in stored definitions and read responses. New writes use
|
|
52
|
+
* `singleRunVariantsSchema`; a saved count above one is readable but cannot launch;
|
|
65
53
|
* - `systemPrompt` carries no `.transform()` here. The composer's trims-to-absent on the way in,
|
|
66
54
|
* which makes the key REQUIRED (`string | undefined`) on the output side; the automation route
|
|
67
55
|
* stores and answers it plainly, so it stays optional.
|
|
@@ -106,12 +94,43 @@ export declare const automationTaskSchema: z.ZodObject<{
|
|
|
106
94
|
agentProfile: z.ZodOptional<z.ZodString>;
|
|
107
95
|
worktree: z.ZodOptional<z.ZodBoolean>;
|
|
108
96
|
autonomous: z.ZodOptional<z.ZodBoolean>;
|
|
109
|
-
|
|
97
|
+
archiveWhenDone: z.ZodOptional<z.ZodBoolean>;
|
|
98
|
+
autoMergePr: z.ZodOptional<z.ZodBoolean>;
|
|
110
99
|
prompt: z.ZodString;
|
|
111
100
|
variants: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
112
101
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
113
102
|
}, z.core.$strip>;
|
|
114
103
|
export type AutomationTask = z.infer<typeof automationTaskSchema>;
|
|
104
|
+
/**
|
|
105
|
+
* A one-time schedule's archive record (hearsay-tools/cezarion#1465): written after its task
|
|
106
|
+
* exists (`launched`, with the run and receipt) or when it was cancelled. An archived definition
|
|
107
|
+
* is always paused and never fires again; only `once` schedules are archived.
|
|
108
|
+
*/
|
|
109
|
+
export declare const automationArchiveSchema: z.ZodObject<{
|
|
110
|
+
at: z.ZodString;
|
|
111
|
+
outcome: z.ZodEnum<{
|
|
112
|
+
cancelled: "cancelled";
|
|
113
|
+
launched: "launched";
|
|
114
|
+
}>;
|
|
115
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
116
|
+
receiptId: z.ZodOptional<z.ZodString>;
|
|
117
|
+
trigger: z.ZodOptional<z.ZodEnum<{
|
|
118
|
+
late: "late";
|
|
119
|
+
manual: "manual";
|
|
120
|
+
retry: "retry";
|
|
121
|
+
schedule: "schedule";
|
|
122
|
+
}>>;
|
|
123
|
+
}, z.core.$strip>;
|
|
124
|
+
export type AutomationArchive = z.infer<typeof automationArchiveSchema>;
|
|
125
|
+
/** Where a one-time schedule stands, derived by the server so clients never re-derive it. */
|
|
126
|
+
export declare const onceStatusSchema: z.ZodEnum<{
|
|
127
|
+
archived: "archived";
|
|
128
|
+
failed: "failed";
|
|
129
|
+
missed: "missed";
|
|
130
|
+
paused: "paused";
|
|
131
|
+
waiting: "waiting";
|
|
132
|
+
}>;
|
|
133
|
+
export type OnceStatus = z.infer<typeof onceStatusSchema>;
|
|
115
134
|
/** One stored automation, as every route that answers a single definition serves it. */
|
|
116
135
|
export declare const automationDefinitionSchema: z.ZodObject<{
|
|
117
136
|
id: z.ZodString;
|
|
@@ -131,8 +150,10 @@ export declare const automationDefinitionSchema: z.ZodObject<{
|
|
|
131
150
|
}>>>;
|
|
132
151
|
intervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
133
152
|
filters: z.ZodOptional<z.ZodObject<{
|
|
153
|
+
includeExisting: z.ZodOptional<z.ZodBoolean>;
|
|
134
154
|
authors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
135
155
|
assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
156
|
+
requireCurrentLabels: z.ZodOptional<z.ZodBoolean>;
|
|
136
157
|
allLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
137
158
|
anyLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
138
159
|
excludeLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -144,6 +165,7 @@ export declare const automationDefinitionSchema: z.ZodObject<{
|
|
|
144
165
|
type: z.ZodEnum<{
|
|
145
166
|
daily: "daily";
|
|
146
167
|
hours: "hours";
|
|
168
|
+
once: "once";
|
|
147
169
|
weekdays: "weekdays";
|
|
148
170
|
weekly: "weekly";
|
|
149
171
|
}>;
|
|
@@ -151,6 +173,9 @@ export declare const automationDefinitionSchema: z.ZodObject<{
|
|
|
151
173
|
minute: z.ZodOptional<z.ZodNumber>;
|
|
152
174
|
day: z.ZodOptional<z.ZodNumber>;
|
|
153
175
|
every: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<6>, z.ZodLiteral<8>, z.ZodLiteral<12>]>>;
|
|
176
|
+
at: z.ZodOptional<z.ZodString>;
|
|
177
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
178
|
+
latestStartMinutes: z.ZodOptional<z.ZodNumber>;
|
|
154
179
|
}, z.core.$strip>>;
|
|
155
180
|
task: z.ZodObject<{
|
|
156
181
|
workflow: z.ZodOptional<z.ZodString>;
|
|
@@ -192,11 +217,27 @@ export declare const automationDefinitionSchema: z.ZodObject<{
|
|
|
192
217
|
agentProfile: z.ZodOptional<z.ZodString>;
|
|
193
218
|
worktree: z.ZodOptional<z.ZodBoolean>;
|
|
194
219
|
autonomous: z.ZodOptional<z.ZodBoolean>;
|
|
195
|
-
|
|
220
|
+
archiveWhenDone: z.ZodOptional<z.ZodBoolean>;
|
|
221
|
+
autoMergePr: z.ZodOptional<z.ZodBoolean>;
|
|
196
222
|
prompt: z.ZodString;
|
|
197
223
|
variants: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
198
224
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
199
225
|
}, z.core.$strip>;
|
|
226
|
+
archived: z.ZodOptional<z.ZodObject<{
|
|
227
|
+
at: z.ZodString;
|
|
228
|
+
outcome: z.ZodEnum<{
|
|
229
|
+
cancelled: "cancelled";
|
|
230
|
+
launched: "launched";
|
|
231
|
+
}>;
|
|
232
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
233
|
+
receiptId: z.ZodOptional<z.ZodString>;
|
|
234
|
+
trigger: z.ZodOptional<z.ZodEnum<{
|
|
235
|
+
late: "late";
|
|
236
|
+
manual: "manual";
|
|
237
|
+
retry: "retry";
|
|
238
|
+
schedule: "schedule";
|
|
239
|
+
}>>;
|
|
240
|
+
}, z.core.$strip>>;
|
|
200
241
|
createdAt: z.ZodString;
|
|
201
242
|
updatedAt: z.ZodString;
|
|
202
243
|
}, z.core.$strip>;
|
|
@@ -211,9 +252,35 @@ export type AutomationCursor = z.infer<typeof automationCursorSchema>;
|
|
|
211
252
|
* The scheduler's own bookkeeping for one automation. Every key is optional — a definition that
|
|
212
253
|
* has never run has no state at all, and the keys appear as the poller reaches each stage.
|
|
213
254
|
*/
|
|
255
|
+
/** Durable position inside a bounded GitHub scan, including live overlap and historical searches. */
|
|
256
|
+
export declare const automationHistoryScanSchema: z.ZodObject<{
|
|
257
|
+
since: z.ZodString;
|
|
258
|
+
until: z.ZodString;
|
|
259
|
+
source: z.ZodNumber;
|
|
260
|
+
page: z.ZodNumber;
|
|
261
|
+
item: z.ZodNumber;
|
|
262
|
+
event: z.ZodNumber;
|
|
263
|
+
cursor: z.ZodOptional<z.ZodObject<{
|
|
264
|
+
timestamp: z.ZodString;
|
|
265
|
+
tieBreaker: z.ZodOptional<z.ZodString>;
|
|
266
|
+
}, z.core.$strip>>;
|
|
267
|
+
}, z.core.$strip>;
|
|
214
268
|
export declare const automationRuntimeStateSchema: z.ZodObject<{
|
|
215
269
|
revision: z.ZodOptional<z.ZodNumber>;
|
|
216
270
|
baselineAt: z.ZodOptional<z.ZodString>;
|
|
271
|
+
armedAt: z.ZodOptional<z.ZodString>;
|
|
272
|
+
historyScan: z.ZodOptional<z.ZodObject<{
|
|
273
|
+
since: z.ZodString;
|
|
274
|
+
until: z.ZodString;
|
|
275
|
+
source: z.ZodNumber;
|
|
276
|
+
page: z.ZodNumber;
|
|
277
|
+
item: z.ZodNumber;
|
|
278
|
+
event: z.ZodNumber;
|
|
279
|
+
cursor: z.ZodOptional<z.ZodObject<{
|
|
280
|
+
timestamp: z.ZodString;
|
|
281
|
+
tieBreaker: z.ZodOptional<z.ZodString>;
|
|
282
|
+
}, z.core.$strip>>;
|
|
283
|
+
}, z.core.$strip>>;
|
|
217
284
|
cursor: z.ZodOptional<z.ZodObject<{
|
|
218
285
|
timestamp: z.ZodString;
|
|
219
286
|
tieBreaker: z.ZodOptional<z.ZodString>;
|
|
@@ -233,6 +300,10 @@ export declare const automationRuntimeStateSchema: z.ZodObject<{
|
|
|
233
300
|
etags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
234
301
|
backoffUntil: z.ZodOptional<z.ZodString>;
|
|
235
302
|
consecutiveFailures: z.ZodOptional<z.ZodNumber>;
|
|
303
|
+
onceOutcome: z.ZodOptional<z.ZodEnum<{
|
|
304
|
+
failed: "failed";
|
|
305
|
+
missed: "missed";
|
|
306
|
+
}>>;
|
|
236
307
|
}, z.core.$strip>;
|
|
237
308
|
export type AutomationRuntimeState = z.infer<typeof automationRuntimeStateSchema>;
|
|
238
309
|
/** What one poll decided about one candidate. `baseline` and `preview` are bookkeeping rows: no
|
|
@@ -245,6 +316,7 @@ export declare const automationLogResultSchema: z.ZodEnum<{
|
|
|
245
316
|
failed: "failed";
|
|
246
317
|
launched: "launched";
|
|
247
318
|
manual: "manual";
|
|
319
|
+
missed: "missed";
|
|
248
320
|
"no-match": "no-match";
|
|
249
321
|
preview: "preview";
|
|
250
322
|
"rate-limited": "rate-limited";
|
|
@@ -271,6 +343,7 @@ export declare const automationLogRecordSchema: z.ZodObject<{
|
|
|
271
343
|
failed: "failed";
|
|
272
344
|
launched: "launched";
|
|
273
345
|
manual: "manual";
|
|
346
|
+
missed: "missed";
|
|
274
347
|
"no-match": "no-match";
|
|
275
348
|
preview: "preview";
|
|
276
349
|
"rate-limited": "rate-limited";
|
|
@@ -293,7 +366,7 @@ export declare const automationLogRecordSchema: z.ZodObject<{
|
|
|
293
366
|
}, z.core.$strip>>;
|
|
294
367
|
}, z.core.$strip>;
|
|
295
368
|
export type AutomationLogRecord = z.infer<typeof automationLogRecordSchema>;
|
|
296
|
-
/**
|
|
369
|
+
/** Launches count all retained tasks; activity tallies use the automation's latest 100 log rows. */
|
|
297
370
|
export declare const automationCountsSchema: z.ZodObject<{
|
|
298
371
|
matches: z.ZodNumber;
|
|
299
372
|
launched: z.ZodNumber;
|
|
@@ -320,8 +393,10 @@ export declare const automationListEntrySchema: z.ZodObject<{
|
|
|
320
393
|
}>>>;
|
|
321
394
|
intervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
322
395
|
filters: z.ZodOptional<z.ZodObject<{
|
|
396
|
+
includeExisting: z.ZodOptional<z.ZodBoolean>;
|
|
323
397
|
authors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
324
398
|
assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
399
|
+
requireCurrentLabels: z.ZodOptional<z.ZodBoolean>;
|
|
325
400
|
allLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
326
401
|
anyLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
327
402
|
excludeLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -333,6 +408,7 @@ export declare const automationListEntrySchema: z.ZodObject<{
|
|
|
333
408
|
type: z.ZodEnum<{
|
|
334
409
|
daily: "daily";
|
|
335
410
|
hours: "hours";
|
|
411
|
+
once: "once";
|
|
336
412
|
weekdays: "weekdays";
|
|
337
413
|
weekly: "weekly";
|
|
338
414
|
}>;
|
|
@@ -340,6 +416,9 @@ export declare const automationListEntrySchema: z.ZodObject<{
|
|
|
340
416
|
minute: z.ZodOptional<z.ZodNumber>;
|
|
341
417
|
day: z.ZodOptional<z.ZodNumber>;
|
|
342
418
|
every: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<6>, z.ZodLiteral<8>, z.ZodLiteral<12>]>>;
|
|
419
|
+
at: z.ZodOptional<z.ZodString>;
|
|
420
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
421
|
+
latestStartMinutes: z.ZodOptional<z.ZodNumber>;
|
|
343
422
|
}, z.core.$strip>>;
|
|
344
423
|
task: z.ZodObject<{
|
|
345
424
|
workflow: z.ZodOptional<z.ZodString>;
|
|
@@ -381,16 +460,45 @@ export declare const automationListEntrySchema: z.ZodObject<{
|
|
|
381
460
|
agentProfile: z.ZodOptional<z.ZodString>;
|
|
382
461
|
worktree: z.ZodOptional<z.ZodBoolean>;
|
|
383
462
|
autonomous: z.ZodOptional<z.ZodBoolean>;
|
|
384
|
-
|
|
463
|
+
archiveWhenDone: z.ZodOptional<z.ZodBoolean>;
|
|
464
|
+
autoMergePr: z.ZodOptional<z.ZodBoolean>;
|
|
385
465
|
prompt: z.ZodString;
|
|
386
466
|
variants: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
387
467
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
388
468
|
}, z.core.$strip>;
|
|
469
|
+
archived: z.ZodOptional<z.ZodObject<{
|
|
470
|
+
at: z.ZodString;
|
|
471
|
+
outcome: z.ZodEnum<{
|
|
472
|
+
cancelled: "cancelled";
|
|
473
|
+
launched: "launched";
|
|
474
|
+
}>;
|
|
475
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
476
|
+
receiptId: z.ZodOptional<z.ZodString>;
|
|
477
|
+
trigger: z.ZodOptional<z.ZodEnum<{
|
|
478
|
+
late: "late";
|
|
479
|
+
manual: "manual";
|
|
480
|
+
retry: "retry";
|
|
481
|
+
schedule: "schedule";
|
|
482
|
+
}>>;
|
|
483
|
+
}, z.core.$strip>>;
|
|
389
484
|
createdAt: z.ZodString;
|
|
390
485
|
updatedAt: z.ZodString;
|
|
391
486
|
state: z.ZodOptional<z.ZodObject<{
|
|
392
487
|
revision: z.ZodOptional<z.ZodNumber>;
|
|
393
488
|
baselineAt: z.ZodOptional<z.ZodString>;
|
|
489
|
+
armedAt: z.ZodOptional<z.ZodString>;
|
|
490
|
+
historyScan: z.ZodOptional<z.ZodObject<{
|
|
491
|
+
since: z.ZodString;
|
|
492
|
+
until: z.ZodString;
|
|
493
|
+
source: z.ZodNumber;
|
|
494
|
+
page: z.ZodNumber;
|
|
495
|
+
item: z.ZodNumber;
|
|
496
|
+
event: z.ZodNumber;
|
|
497
|
+
cursor: z.ZodOptional<z.ZodObject<{
|
|
498
|
+
timestamp: z.ZodString;
|
|
499
|
+
tieBreaker: z.ZodOptional<z.ZodString>;
|
|
500
|
+
}, z.core.$strip>>;
|
|
501
|
+
}, z.core.$strip>>;
|
|
394
502
|
cursor: z.ZodOptional<z.ZodObject<{
|
|
395
503
|
timestamp: z.ZodString;
|
|
396
504
|
tieBreaker: z.ZodOptional<z.ZodString>;
|
|
@@ -410,6 +518,10 @@ export declare const automationListEntrySchema: z.ZodObject<{
|
|
|
410
518
|
etags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
411
519
|
backoffUntil: z.ZodOptional<z.ZodString>;
|
|
412
520
|
consecutiveFailures: z.ZodOptional<z.ZodNumber>;
|
|
521
|
+
onceOutcome: z.ZodOptional<z.ZodEnum<{
|
|
522
|
+
failed: "failed";
|
|
523
|
+
missed: "missed";
|
|
524
|
+
}>>;
|
|
413
525
|
}, z.core.$strip>>;
|
|
414
526
|
latestLog: z.ZodOptional<z.ZodObject<{
|
|
415
527
|
seq: z.ZodNumber;
|
|
@@ -430,6 +542,7 @@ export declare const automationListEntrySchema: z.ZodObject<{
|
|
|
430
542
|
failed: "failed";
|
|
431
543
|
launched: "launched";
|
|
432
544
|
manual: "manual";
|
|
545
|
+
missed: "missed";
|
|
433
546
|
"no-match": "no-match";
|
|
434
547
|
preview: "preview";
|
|
435
548
|
"rate-limited": "rate-limited";
|
|
@@ -458,6 +571,13 @@ export declare const automationListEntrySchema: z.ZodObject<{
|
|
|
458
571
|
errors: z.ZodNumber;
|
|
459
572
|
}, z.core.$strip>;
|
|
460
573
|
nextRunAt: z.ZodOptional<z.ZodString>;
|
|
574
|
+
onceStatus: z.ZodOptional<z.ZodEnum<{
|
|
575
|
+
archived: "archived";
|
|
576
|
+
failed: "failed";
|
|
577
|
+
missed: "missed";
|
|
578
|
+
paused: "paused";
|
|
579
|
+
waiting: "waiting";
|
|
580
|
+
}>>;
|
|
461
581
|
}, z.core.$strip>;
|
|
462
582
|
export type AutomationListEntry = z.infer<typeof automationListEntrySchema>;
|
|
463
583
|
/**
|
|
@@ -498,8 +618,10 @@ export declare const automationsResponseSchema: z.ZodObject<{
|
|
|
498
618
|
}>>>;
|
|
499
619
|
intervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
500
620
|
filters: z.ZodOptional<z.ZodObject<{
|
|
621
|
+
includeExisting: z.ZodOptional<z.ZodBoolean>;
|
|
501
622
|
authors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
502
623
|
assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
624
|
+
requireCurrentLabels: z.ZodOptional<z.ZodBoolean>;
|
|
503
625
|
allLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
504
626
|
anyLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
505
627
|
excludeLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -511,6 +633,7 @@ export declare const automationsResponseSchema: z.ZodObject<{
|
|
|
511
633
|
type: z.ZodEnum<{
|
|
512
634
|
daily: "daily";
|
|
513
635
|
hours: "hours";
|
|
636
|
+
once: "once";
|
|
514
637
|
weekdays: "weekdays";
|
|
515
638
|
weekly: "weekly";
|
|
516
639
|
}>;
|
|
@@ -518,6 +641,9 @@ export declare const automationsResponseSchema: z.ZodObject<{
|
|
|
518
641
|
minute: z.ZodOptional<z.ZodNumber>;
|
|
519
642
|
day: z.ZodOptional<z.ZodNumber>;
|
|
520
643
|
every: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<6>, z.ZodLiteral<8>, z.ZodLiteral<12>]>>;
|
|
644
|
+
at: z.ZodOptional<z.ZodString>;
|
|
645
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
646
|
+
latestStartMinutes: z.ZodOptional<z.ZodNumber>;
|
|
521
647
|
}, z.core.$strip>>;
|
|
522
648
|
task: z.ZodObject<{
|
|
523
649
|
workflow: z.ZodOptional<z.ZodString>;
|
|
@@ -559,16 +685,45 @@ export declare const automationsResponseSchema: z.ZodObject<{
|
|
|
559
685
|
agentProfile: z.ZodOptional<z.ZodString>;
|
|
560
686
|
worktree: z.ZodOptional<z.ZodBoolean>;
|
|
561
687
|
autonomous: z.ZodOptional<z.ZodBoolean>;
|
|
562
|
-
|
|
688
|
+
archiveWhenDone: z.ZodOptional<z.ZodBoolean>;
|
|
689
|
+
autoMergePr: z.ZodOptional<z.ZodBoolean>;
|
|
563
690
|
prompt: z.ZodString;
|
|
564
691
|
variants: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
565
692
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
566
693
|
}, z.core.$strip>;
|
|
694
|
+
archived: z.ZodOptional<z.ZodObject<{
|
|
695
|
+
at: z.ZodString;
|
|
696
|
+
outcome: z.ZodEnum<{
|
|
697
|
+
cancelled: "cancelled";
|
|
698
|
+
launched: "launched";
|
|
699
|
+
}>;
|
|
700
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
701
|
+
receiptId: z.ZodOptional<z.ZodString>;
|
|
702
|
+
trigger: z.ZodOptional<z.ZodEnum<{
|
|
703
|
+
late: "late";
|
|
704
|
+
manual: "manual";
|
|
705
|
+
retry: "retry";
|
|
706
|
+
schedule: "schedule";
|
|
707
|
+
}>>;
|
|
708
|
+
}, z.core.$strip>>;
|
|
567
709
|
createdAt: z.ZodString;
|
|
568
710
|
updatedAt: z.ZodString;
|
|
569
711
|
state: z.ZodOptional<z.ZodObject<{
|
|
570
712
|
revision: z.ZodOptional<z.ZodNumber>;
|
|
571
713
|
baselineAt: z.ZodOptional<z.ZodString>;
|
|
714
|
+
armedAt: z.ZodOptional<z.ZodString>;
|
|
715
|
+
historyScan: z.ZodOptional<z.ZodObject<{
|
|
716
|
+
since: z.ZodString;
|
|
717
|
+
until: z.ZodString;
|
|
718
|
+
source: z.ZodNumber;
|
|
719
|
+
page: z.ZodNumber;
|
|
720
|
+
item: z.ZodNumber;
|
|
721
|
+
event: z.ZodNumber;
|
|
722
|
+
cursor: z.ZodOptional<z.ZodObject<{
|
|
723
|
+
timestamp: z.ZodString;
|
|
724
|
+
tieBreaker: z.ZodOptional<z.ZodString>;
|
|
725
|
+
}, z.core.$strip>>;
|
|
726
|
+
}, z.core.$strip>>;
|
|
572
727
|
cursor: z.ZodOptional<z.ZodObject<{
|
|
573
728
|
timestamp: z.ZodString;
|
|
574
729
|
tieBreaker: z.ZodOptional<z.ZodString>;
|
|
@@ -588,6 +743,10 @@ export declare const automationsResponseSchema: z.ZodObject<{
|
|
|
588
743
|
etags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
589
744
|
backoffUntil: z.ZodOptional<z.ZodString>;
|
|
590
745
|
consecutiveFailures: z.ZodOptional<z.ZodNumber>;
|
|
746
|
+
onceOutcome: z.ZodOptional<z.ZodEnum<{
|
|
747
|
+
failed: "failed";
|
|
748
|
+
missed: "missed";
|
|
749
|
+
}>>;
|
|
591
750
|
}, z.core.$strip>>;
|
|
592
751
|
latestLog: z.ZodOptional<z.ZodObject<{
|
|
593
752
|
seq: z.ZodNumber;
|
|
@@ -608,6 +767,7 @@ export declare const automationsResponseSchema: z.ZodObject<{
|
|
|
608
767
|
failed: "failed";
|
|
609
768
|
launched: "launched";
|
|
610
769
|
manual: "manual";
|
|
770
|
+
missed: "missed";
|
|
611
771
|
"no-match": "no-match";
|
|
612
772
|
preview: "preview";
|
|
613
773
|
"rate-limited": "rate-limited";
|
|
@@ -636,6 +796,13 @@ export declare const automationsResponseSchema: z.ZodObject<{
|
|
|
636
796
|
errors: z.ZodNumber;
|
|
637
797
|
}, z.core.$strip>;
|
|
638
798
|
nextRunAt: z.ZodOptional<z.ZodString>;
|
|
799
|
+
onceStatus: z.ZodOptional<z.ZodEnum<{
|
|
800
|
+
archived: "archived";
|
|
801
|
+
failed: "failed";
|
|
802
|
+
missed: "missed";
|
|
803
|
+
paused: "paused";
|
|
804
|
+
waiting: "waiting";
|
|
805
|
+
}>>;
|
|
639
806
|
}, z.core.$strip>>;
|
|
640
807
|
}, z.core.$strip>;
|
|
641
808
|
export type AutomationsResponse = z.infer<typeof automationsResponseSchema>;
|
|
@@ -659,8 +826,10 @@ export declare const automationResponseSchema: z.ZodObject<{
|
|
|
659
826
|
}>>>;
|
|
660
827
|
intervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
661
828
|
filters: z.ZodOptional<z.ZodObject<{
|
|
829
|
+
includeExisting: z.ZodOptional<z.ZodBoolean>;
|
|
662
830
|
authors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
663
831
|
assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
832
|
+
requireCurrentLabels: z.ZodOptional<z.ZodBoolean>;
|
|
664
833
|
allLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
665
834
|
anyLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
666
835
|
excludeLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -672,6 +841,7 @@ export declare const automationResponseSchema: z.ZodObject<{
|
|
|
672
841
|
type: z.ZodEnum<{
|
|
673
842
|
daily: "daily";
|
|
674
843
|
hours: "hours";
|
|
844
|
+
once: "once";
|
|
675
845
|
weekdays: "weekdays";
|
|
676
846
|
weekly: "weekly";
|
|
677
847
|
}>;
|
|
@@ -679,6 +849,9 @@ export declare const automationResponseSchema: z.ZodObject<{
|
|
|
679
849
|
minute: z.ZodOptional<z.ZodNumber>;
|
|
680
850
|
day: z.ZodOptional<z.ZodNumber>;
|
|
681
851
|
every: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<6>, z.ZodLiteral<8>, z.ZodLiteral<12>]>>;
|
|
852
|
+
at: z.ZodOptional<z.ZodString>;
|
|
853
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
854
|
+
latestStartMinutes: z.ZodOptional<z.ZodNumber>;
|
|
682
855
|
}, z.core.$strip>>;
|
|
683
856
|
task: z.ZodObject<{
|
|
684
857
|
workflow: z.ZodOptional<z.ZodString>;
|
|
@@ -720,16 +893,154 @@ export declare const automationResponseSchema: z.ZodObject<{
|
|
|
720
893
|
agentProfile: z.ZodOptional<z.ZodString>;
|
|
721
894
|
worktree: z.ZodOptional<z.ZodBoolean>;
|
|
722
895
|
autonomous: z.ZodOptional<z.ZodBoolean>;
|
|
723
|
-
|
|
896
|
+
archiveWhenDone: z.ZodOptional<z.ZodBoolean>;
|
|
897
|
+
autoMergePr: z.ZodOptional<z.ZodBoolean>;
|
|
724
898
|
prompt: z.ZodString;
|
|
725
899
|
variants: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
726
900
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
727
901
|
}, z.core.$strip>;
|
|
902
|
+
archived: z.ZodOptional<z.ZodObject<{
|
|
903
|
+
at: z.ZodString;
|
|
904
|
+
outcome: z.ZodEnum<{
|
|
905
|
+
cancelled: "cancelled";
|
|
906
|
+
launched: "launched";
|
|
907
|
+
}>;
|
|
908
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
909
|
+
receiptId: z.ZodOptional<z.ZodString>;
|
|
910
|
+
trigger: z.ZodOptional<z.ZodEnum<{
|
|
911
|
+
late: "late";
|
|
912
|
+
manual: "manual";
|
|
913
|
+
retry: "retry";
|
|
914
|
+
schedule: "schedule";
|
|
915
|
+
}>>;
|
|
916
|
+
}, z.core.$strip>>;
|
|
728
917
|
createdAt: z.ZodString;
|
|
729
918
|
updatedAt: z.ZodString;
|
|
730
919
|
}, z.core.$strip>;
|
|
731
920
|
}, z.core.$strip>;
|
|
732
921
|
export type AutomationResponse = z.infer<typeof automationResponseSchema>;
|
|
922
|
+
/**
|
|
923
|
+
* `POST /automations`. A one-time schedule's answer adds `once`: the due wall time and zone as
|
|
924
|
+
* stored, the instant they resolve to, and the downtime note (hearsay-tools/cezarion#1465).
|
|
925
|
+
*/
|
|
926
|
+
export declare const automationCreateResponseSchema: z.ZodObject<{
|
|
927
|
+
automation: z.ZodObject<{
|
|
928
|
+
id: z.ZodString;
|
|
929
|
+
revision: z.ZodNumber;
|
|
930
|
+
name: z.ZodString;
|
|
931
|
+
description: z.ZodOptional<z.ZodString>;
|
|
932
|
+
enabled: z.ZodBoolean;
|
|
933
|
+
kind: z.ZodEnum<{
|
|
934
|
+
github: "github";
|
|
935
|
+
schedule: "schedule";
|
|
936
|
+
}>;
|
|
937
|
+
events: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
938
|
+
"issue.labeled": "issue.labeled";
|
|
939
|
+
"issue.opened": "issue.opened";
|
|
940
|
+
"issue.unlabeled": "issue.unlabeled";
|
|
941
|
+
"pull_request.opened": "pull_request.opened";
|
|
942
|
+
}>>>;
|
|
943
|
+
intervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
944
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
945
|
+
includeExisting: z.ZodOptional<z.ZodBoolean>;
|
|
946
|
+
authors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
947
|
+
assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
948
|
+
requireCurrentLabels: z.ZodOptional<z.ZodBoolean>;
|
|
949
|
+
allLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
950
|
+
anyLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
951
|
+
excludeLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
952
|
+
changedLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
953
|
+
lookbackDays: z.ZodNumber;
|
|
954
|
+
maxRecords: z.ZodNumber;
|
|
955
|
+
}, z.core.$strip>>;
|
|
956
|
+
schedule: z.ZodOptional<z.ZodObject<{
|
|
957
|
+
type: z.ZodEnum<{
|
|
958
|
+
daily: "daily";
|
|
959
|
+
hours: "hours";
|
|
960
|
+
once: "once";
|
|
961
|
+
weekdays: "weekdays";
|
|
962
|
+
weekly: "weekly";
|
|
963
|
+
}>;
|
|
964
|
+
hour: z.ZodOptional<z.ZodNumber>;
|
|
965
|
+
minute: z.ZodOptional<z.ZodNumber>;
|
|
966
|
+
day: z.ZodOptional<z.ZodNumber>;
|
|
967
|
+
every: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<6>, z.ZodLiteral<8>, z.ZodLiteral<12>]>>;
|
|
968
|
+
at: z.ZodOptional<z.ZodString>;
|
|
969
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
970
|
+
latestStartMinutes: z.ZodOptional<z.ZodNumber>;
|
|
971
|
+
}, z.core.$strip>>;
|
|
972
|
+
task: z.ZodObject<{
|
|
973
|
+
workflow: z.ZodOptional<z.ZodString>;
|
|
974
|
+
steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
975
|
+
id: z.ZodString;
|
|
976
|
+
name: z.ZodOptional<z.ZodString>;
|
|
977
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
978
|
+
skill: z.ZodOptional<z.ZodString>;
|
|
979
|
+
model: z.ZodOptional<z.ZodString>;
|
|
980
|
+
effort: z.ZodOptional<z.ZodString>;
|
|
981
|
+
timeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
982
|
+
runner: z.ZodOptional<z.ZodEnum<{
|
|
983
|
+
claude: "claude";
|
|
984
|
+
codex: "codex";
|
|
985
|
+
cursor: "cursor";
|
|
986
|
+
omp: "omp";
|
|
987
|
+
opencode: "opencode";
|
|
988
|
+
pi: "pi";
|
|
989
|
+
}>>;
|
|
990
|
+
agentProfile: z.ZodOptional<z.ZodString>;
|
|
991
|
+
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
992
|
+
bashAllowlist: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
993
|
+
command: z.ZodOptional<z.ZodString>;
|
|
994
|
+
onFail: z.ZodOptional<z.ZodObject<{
|
|
995
|
+
retry: z.ZodString;
|
|
996
|
+
max: z.ZodDefault<z.ZodNumber>;
|
|
997
|
+
}, z.core.$strip>>;
|
|
998
|
+
}, z.core.$strip>>>;
|
|
999
|
+
model: z.ZodOptional<z.ZodString>;
|
|
1000
|
+
effort: z.ZodOptional<z.ZodString>;
|
|
1001
|
+
runner: z.ZodOptional<z.ZodEnum<{
|
|
1002
|
+
claude: "claude";
|
|
1003
|
+
codex: "codex";
|
|
1004
|
+
cursor: "cursor";
|
|
1005
|
+
omp: "omp";
|
|
1006
|
+
opencode: "opencode";
|
|
1007
|
+
pi: "pi";
|
|
1008
|
+
}>>;
|
|
1009
|
+
agentProfile: z.ZodOptional<z.ZodString>;
|
|
1010
|
+
worktree: z.ZodOptional<z.ZodBoolean>;
|
|
1011
|
+
autonomous: z.ZodOptional<z.ZodBoolean>;
|
|
1012
|
+
archiveWhenDone: z.ZodOptional<z.ZodBoolean>;
|
|
1013
|
+
autoMergePr: z.ZodOptional<z.ZodBoolean>;
|
|
1014
|
+
prompt: z.ZodString;
|
|
1015
|
+
variants: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
1016
|
+
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
1017
|
+
}, z.core.$strip>;
|
|
1018
|
+
archived: z.ZodOptional<z.ZodObject<{
|
|
1019
|
+
at: z.ZodString;
|
|
1020
|
+
outcome: z.ZodEnum<{
|
|
1021
|
+
cancelled: "cancelled";
|
|
1022
|
+
launched: "launched";
|
|
1023
|
+
}>;
|
|
1024
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
1025
|
+
receiptId: z.ZodOptional<z.ZodString>;
|
|
1026
|
+
trigger: z.ZodOptional<z.ZodEnum<{
|
|
1027
|
+
late: "late";
|
|
1028
|
+
manual: "manual";
|
|
1029
|
+
retry: "retry";
|
|
1030
|
+
schedule: "schedule";
|
|
1031
|
+
}>>;
|
|
1032
|
+
}, z.core.$strip>>;
|
|
1033
|
+
createdAt: z.ZodString;
|
|
1034
|
+
updatedAt: z.ZodString;
|
|
1035
|
+
}, z.core.$strip>;
|
|
1036
|
+
once: z.ZodOptional<z.ZodObject<{
|
|
1037
|
+
dueAt: z.ZodString;
|
|
1038
|
+
timeZone: z.ZodString;
|
|
1039
|
+
resolvedInstant: z.ZodString;
|
|
1040
|
+
note: z.ZodString;
|
|
1041
|
+
}, z.core.$strip>>;
|
|
1042
|
+
}, z.core.$strip>;
|
|
1043
|
+
export type AutomationCreateResponse = z.infer<typeof automationCreateResponseSchema>;
|
|
733
1044
|
/** `GET /automations/:id` — one definition with its state and the most recent log row. */
|
|
734
1045
|
export declare const automationDetailResponseSchema: z.ZodObject<{
|
|
735
1046
|
automation: z.ZodObject<{
|
|
@@ -750,8 +1061,10 @@ export declare const automationDetailResponseSchema: z.ZodObject<{
|
|
|
750
1061
|
}>>>;
|
|
751
1062
|
intervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
752
1063
|
filters: z.ZodOptional<z.ZodObject<{
|
|
1064
|
+
includeExisting: z.ZodOptional<z.ZodBoolean>;
|
|
753
1065
|
authors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
754
1066
|
assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1067
|
+
requireCurrentLabels: z.ZodOptional<z.ZodBoolean>;
|
|
755
1068
|
allLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
756
1069
|
anyLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
757
1070
|
excludeLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -763,6 +1076,7 @@ export declare const automationDetailResponseSchema: z.ZodObject<{
|
|
|
763
1076
|
type: z.ZodEnum<{
|
|
764
1077
|
daily: "daily";
|
|
765
1078
|
hours: "hours";
|
|
1079
|
+
once: "once";
|
|
766
1080
|
weekdays: "weekdays";
|
|
767
1081
|
weekly: "weekly";
|
|
768
1082
|
}>;
|
|
@@ -770,6 +1084,9 @@ export declare const automationDetailResponseSchema: z.ZodObject<{
|
|
|
770
1084
|
minute: z.ZodOptional<z.ZodNumber>;
|
|
771
1085
|
day: z.ZodOptional<z.ZodNumber>;
|
|
772
1086
|
every: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<6>, z.ZodLiteral<8>, z.ZodLiteral<12>]>>;
|
|
1087
|
+
at: z.ZodOptional<z.ZodString>;
|
|
1088
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
1089
|
+
latestStartMinutes: z.ZodOptional<z.ZodNumber>;
|
|
773
1090
|
}, z.core.$strip>>;
|
|
774
1091
|
task: z.ZodObject<{
|
|
775
1092
|
workflow: z.ZodOptional<z.ZodString>;
|
|
@@ -811,17 +1128,46 @@ export declare const automationDetailResponseSchema: z.ZodObject<{
|
|
|
811
1128
|
agentProfile: z.ZodOptional<z.ZodString>;
|
|
812
1129
|
worktree: z.ZodOptional<z.ZodBoolean>;
|
|
813
1130
|
autonomous: z.ZodOptional<z.ZodBoolean>;
|
|
814
|
-
|
|
1131
|
+
archiveWhenDone: z.ZodOptional<z.ZodBoolean>;
|
|
1132
|
+
autoMergePr: z.ZodOptional<z.ZodBoolean>;
|
|
815
1133
|
prompt: z.ZodString;
|
|
816
1134
|
variants: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
817
1135
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
818
1136
|
}, z.core.$strip>;
|
|
1137
|
+
archived: z.ZodOptional<z.ZodObject<{
|
|
1138
|
+
at: z.ZodString;
|
|
1139
|
+
outcome: z.ZodEnum<{
|
|
1140
|
+
cancelled: "cancelled";
|
|
1141
|
+
launched: "launched";
|
|
1142
|
+
}>;
|
|
1143
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
1144
|
+
receiptId: z.ZodOptional<z.ZodString>;
|
|
1145
|
+
trigger: z.ZodOptional<z.ZodEnum<{
|
|
1146
|
+
late: "late";
|
|
1147
|
+
manual: "manual";
|
|
1148
|
+
retry: "retry";
|
|
1149
|
+
schedule: "schedule";
|
|
1150
|
+
}>>;
|
|
1151
|
+
}, z.core.$strip>>;
|
|
819
1152
|
createdAt: z.ZodString;
|
|
820
1153
|
updatedAt: z.ZodString;
|
|
821
1154
|
}, z.core.$strip>;
|
|
822
1155
|
state: z.ZodOptional<z.ZodObject<{
|
|
823
1156
|
revision: z.ZodOptional<z.ZodNumber>;
|
|
824
1157
|
baselineAt: z.ZodOptional<z.ZodString>;
|
|
1158
|
+
armedAt: z.ZodOptional<z.ZodString>;
|
|
1159
|
+
historyScan: z.ZodOptional<z.ZodObject<{
|
|
1160
|
+
since: z.ZodString;
|
|
1161
|
+
until: z.ZodString;
|
|
1162
|
+
source: z.ZodNumber;
|
|
1163
|
+
page: z.ZodNumber;
|
|
1164
|
+
item: z.ZodNumber;
|
|
1165
|
+
event: z.ZodNumber;
|
|
1166
|
+
cursor: z.ZodOptional<z.ZodObject<{
|
|
1167
|
+
timestamp: z.ZodString;
|
|
1168
|
+
tieBreaker: z.ZodOptional<z.ZodString>;
|
|
1169
|
+
}, z.core.$strip>>;
|
|
1170
|
+
}, z.core.$strip>>;
|
|
825
1171
|
cursor: z.ZodOptional<z.ZodObject<{
|
|
826
1172
|
timestamp: z.ZodString;
|
|
827
1173
|
tieBreaker: z.ZodOptional<z.ZodString>;
|
|
@@ -841,6 +1187,10 @@ export declare const automationDetailResponseSchema: z.ZodObject<{
|
|
|
841
1187
|
etags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
842
1188
|
backoffUntil: z.ZodOptional<z.ZodString>;
|
|
843
1189
|
consecutiveFailures: z.ZodOptional<z.ZodNumber>;
|
|
1190
|
+
onceOutcome: z.ZodOptional<z.ZodEnum<{
|
|
1191
|
+
failed: "failed";
|
|
1192
|
+
missed: "missed";
|
|
1193
|
+
}>>;
|
|
844
1194
|
}, z.core.$strip>>;
|
|
845
1195
|
latestLog: z.ZodOptional<z.ZodObject<{
|
|
846
1196
|
seq: z.ZodNumber;
|
|
@@ -861,6 +1211,7 @@ export declare const automationDetailResponseSchema: z.ZodObject<{
|
|
|
861
1211
|
failed: "failed";
|
|
862
1212
|
launched: "launched";
|
|
863
1213
|
manual: "manual";
|
|
1214
|
+
missed: "missed";
|
|
864
1215
|
"no-match": "no-match";
|
|
865
1216
|
preview: "preview";
|
|
866
1217
|
"rate-limited": "rate-limited";
|
|
@@ -882,6 +1233,13 @@ export declare const automationDetailResponseSchema: z.ZodObject<{
|
|
|
882
1233
|
resetAt: z.ZodOptional<z.ZodString>;
|
|
883
1234
|
}, z.core.$strip>>;
|
|
884
1235
|
}, z.core.$strip>>;
|
|
1236
|
+
onceStatus: z.ZodOptional<z.ZodEnum<{
|
|
1237
|
+
archived: "archived";
|
|
1238
|
+
failed: "failed";
|
|
1239
|
+
missed: "missed";
|
|
1240
|
+
paused: "paused";
|
|
1241
|
+
waiting: "waiting";
|
|
1242
|
+
}>>;
|
|
885
1243
|
}, z.core.$strip>;
|
|
886
1244
|
export type AutomationDetailResponse = z.infer<typeof automationDetailResponseSchema>;
|
|
887
1245
|
/**
|
|
@@ -938,6 +1296,7 @@ export declare const automationLogResponseSchema: z.ZodObject<{
|
|
|
938
1296
|
failed: "failed";
|
|
939
1297
|
launched: "launched";
|
|
940
1298
|
manual: "manual";
|
|
1299
|
+
missed: "missed";
|
|
941
1300
|
"no-match": "no-match";
|
|
942
1301
|
preview: "preview";
|
|
943
1302
|
"rate-limited": "rate-limited";
|
|
@@ -988,8 +1347,10 @@ export declare const createAutomationInputSchema: z.ZodObject<{
|
|
|
988
1347
|
}>>>;
|
|
989
1348
|
intervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
990
1349
|
filters: z.ZodOptional<z.ZodObject<{
|
|
1350
|
+
includeExisting: z.ZodOptional<z.ZodBoolean>;
|
|
991
1351
|
authors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
992
1352
|
assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1353
|
+
requireCurrentLabels: z.ZodOptional<z.ZodBoolean>;
|
|
993
1354
|
allLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
994
1355
|
anyLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
995
1356
|
excludeLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1001,6 +1362,7 @@ export declare const createAutomationInputSchema: z.ZodObject<{
|
|
|
1001
1362
|
type: z.ZodEnum<{
|
|
1002
1363
|
daily: "daily";
|
|
1003
1364
|
hours: "hours";
|
|
1365
|
+
once: "once";
|
|
1004
1366
|
weekdays: "weekdays";
|
|
1005
1367
|
weekly: "weekly";
|
|
1006
1368
|
}>;
|
|
@@ -1008,7 +1370,14 @@ export declare const createAutomationInputSchema: z.ZodObject<{
|
|
|
1008
1370
|
minute: z.ZodOptional<z.ZodNumber>;
|
|
1009
1371
|
day: z.ZodOptional<z.ZodNumber>;
|
|
1010
1372
|
every: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<6>, z.ZodLiteral<8>, z.ZodLiteral<12>]>>;
|
|
1373
|
+
at: z.ZodOptional<z.ZodString>;
|
|
1374
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
1375
|
+
latestStartMinutes: z.ZodOptional<z.ZodNumber>;
|
|
1011
1376
|
}, z.core.$strip>>;
|
|
1377
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
1378
|
+
github: "github";
|
|
1379
|
+
schedule: "schedule";
|
|
1380
|
+
}>>;
|
|
1012
1381
|
task: z.ZodObject<{
|
|
1013
1382
|
workflow: z.ZodOptional<z.ZodString>;
|
|
1014
1383
|
steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1049,15 +1418,12 @@ export declare const createAutomationInputSchema: z.ZodObject<{
|
|
|
1049
1418
|
agentProfile: z.ZodOptional<z.ZodString>;
|
|
1050
1419
|
worktree: z.ZodOptional<z.ZodBoolean>;
|
|
1051
1420
|
autonomous: z.ZodOptional<z.ZodBoolean>;
|
|
1052
|
-
|
|
1421
|
+
archiveWhenDone: z.ZodOptional<z.ZodBoolean>;
|
|
1422
|
+
autoMergePr: z.ZodOptional<z.ZodBoolean>;
|
|
1053
1423
|
prompt: z.ZodString;
|
|
1054
|
-
variants: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
1055
1424
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
1425
|
+
variants: z.ZodOptional<z.ZodLiteral<1>>;
|
|
1056
1426
|
}, z.core.$strip>;
|
|
1057
|
-
kind: z.ZodOptional<z.ZodEnum<{
|
|
1058
|
-
github: "github";
|
|
1059
|
-
schedule: "schedule";
|
|
1060
|
-
}>>;
|
|
1061
1427
|
enable: z.ZodOptional<z.ZodBoolean>;
|
|
1062
1428
|
}, z.core.$strip>;
|
|
1063
1429
|
export type CreateAutomationInput = z.input<typeof createAutomationInputSchema>;
|
|
@@ -1077,8 +1443,10 @@ export declare const updateAutomationInputSchema: z.ZodObject<{
|
|
|
1077
1443
|
}>>>;
|
|
1078
1444
|
intervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
1079
1445
|
filters: z.ZodOptional<z.ZodObject<{
|
|
1446
|
+
includeExisting: z.ZodOptional<z.ZodBoolean>;
|
|
1080
1447
|
authors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1081
1448
|
assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1449
|
+
requireCurrentLabels: z.ZodOptional<z.ZodBoolean>;
|
|
1082
1450
|
allLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1083
1451
|
anyLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1084
1452
|
excludeLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1090,6 +1458,7 @@ export declare const updateAutomationInputSchema: z.ZodObject<{
|
|
|
1090
1458
|
type: z.ZodEnum<{
|
|
1091
1459
|
daily: "daily";
|
|
1092
1460
|
hours: "hours";
|
|
1461
|
+
once: "once";
|
|
1093
1462
|
weekdays: "weekdays";
|
|
1094
1463
|
weekly: "weekly";
|
|
1095
1464
|
}>;
|
|
@@ -1097,7 +1466,14 @@ export declare const updateAutomationInputSchema: z.ZodObject<{
|
|
|
1097
1466
|
minute: z.ZodOptional<z.ZodNumber>;
|
|
1098
1467
|
day: z.ZodOptional<z.ZodNumber>;
|
|
1099
1468
|
every: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<6>, z.ZodLiteral<8>, z.ZodLiteral<12>]>>;
|
|
1469
|
+
at: z.ZodOptional<z.ZodString>;
|
|
1470
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
1471
|
+
latestStartMinutes: z.ZodOptional<z.ZodNumber>;
|
|
1100
1472
|
}, z.core.$strip>>;
|
|
1473
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
1474
|
+
github: "github";
|
|
1475
|
+
schedule: "schedule";
|
|
1476
|
+
}>>;
|
|
1101
1477
|
task: z.ZodObject<{
|
|
1102
1478
|
workflow: z.ZodOptional<z.ZodString>;
|
|
1103
1479
|
steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1138,19 +1514,24 @@ export declare const updateAutomationInputSchema: z.ZodObject<{
|
|
|
1138
1514
|
agentProfile: z.ZodOptional<z.ZodString>;
|
|
1139
1515
|
worktree: z.ZodOptional<z.ZodBoolean>;
|
|
1140
1516
|
autonomous: z.ZodOptional<z.ZodBoolean>;
|
|
1141
|
-
|
|
1517
|
+
archiveWhenDone: z.ZodOptional<z.ZodBoolean>;
|
|
1518
|
+
autoMergePr: z.ZodOptional<z.ZodBoolean>;
|
|
1142
1519
|
prompt: z.ZodString;
|
|
1143
|
-
variants: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
1144
1520
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
1521
|
+
variants: z.ZodOptional<z.ZodLiteral<1>>;
|
|
1145
1522
|
}, z.core.$strip>;
|
|
1146
|
-
kind: z.ZodOptional<z.ZodEnum<{
|
|
1147
|
-
github: "github";
|
|
1148
|
-
schedule: "schedule";
|
|
1149
|
-
}>>;
|
|
1150
1523
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
1151
1524
|
expectedRevision: z.ZodNumber;
|
|
1152
1525
|
}, z.core.$strip>;
|
|
1153
1526
|
export type UpdateAutomationInput = z.input<typeof updateAutomationInputSchema>;
|
|
1527
|
+
/** `GET /automations` — archived one-time schedules are left out unless asked for. */
|
|
1528
|
+
export declare const automationListQuerySchema: z.ZodObject<{
|
|
1529
|
+
archived: z.ZodOptional<z.ZodEnum<{
|
|
1530
|
+
include: "include";
|
|
1531
|
+
only: "only";
|
|
1532
|
+
}>>;
|
|
1533
|
+
}, z.core.$strip>;
|
|
1534
|
+
export type AutomationListQuery = z.input<typeof automationListQuerySchema>;
|
|
1154
1535
|
/** `POST /automations/:id/check` — which of the two manual checks to run. */
|
|
1155
1536
|
export declare const automationCheckInputSchema: z.ZodObject<{
|
|
1156
1537
|
mode: z.ZodEnum<{
|