@wjarka/cezarion 0.15.1 → 0.16.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/README.md +167 -46
- package/dist/agent-config/catalog.d.ts +6 -2
- package/dist/agent-config/catalog.js +78 -3
- package/dist/agent-config/catalog.js.map +1 -1
- package/dist/agent-config/model-settings/shared.js +6 -3
- package/dist/agent-config/model-settings/shared.js.map +1 -1
- package/dist/agent-config/models.js +4 -0
- package/dist/agent-config/models.js.map +1 -1
- package/dist/agent-config/validate.js +6 -0
- package/dist/agent-config/validate.js.map +1 -1
- package/dist/artifacts/cli.js +10 -2
- package/dist/artifacts/cli.js.map +1 -1
- package/dist/automations/coordinator.d.ts +7 -0
- package/dist/automations/coordinator.js +22 -2
- package/dist/automations/coordinator.js.map +1 -1
- package/dist/automations/github-poller.d.ts +4 -4
- package/dist/automations/github-poller.js.map +1 -1
- package/dist/automations/schedule-runner.d.ts +130 -0
- package/dist/automations/schedule-runner.js +326 -0
- package/dist/automations/schedule-runner.js.map +1 -0
- package/dist/automations/scheduler.d.ts +38 -7
- package/dist/automations/scheduler.js +90 -22
- package/dist/automations/scheduler.js.map +1 -1
- package/dist/automations/store.d.ts +80 -3
- package/dist/automations/store.js +208 -16
- package/dist/automations/store.js.map +1 -1
- package/dist/automations/task-template.d.ts +42 -6
- package/dist/automations/task-template.js +152 -24
- package/dist/automations/task-template.js.map +1 -1
- package/dist/automations/types.d.ts +142 -6
- package/dist/automations/types.js +64 -6
- package/dist/automations/types.js.map +1 -1
- package/dist/autosave-holders.js +8 -12
- package/dist/autosave-holders.js.map +1 -1
- package/dist/ci-wait/client.d.ts +8 -1
- package/dist/ci-wait/client.js +43 -1
- package/dist/ci-wait/client.js.map +1 -1
- package/dist/ci-wait/controller.d.ts +83 -4
- package/dist/ci-wait/controller.js +76 -11
- package/dist/ci-wait/controller.js.map +1 -1
- package/dist/ci-wait/errors.d.ts +7 -1
- package/dist/ci-wait/errors.js +36 -0
- package/dist/ci-wait/errors.js.map +1 -1
- package/dist/ci-wait/github.d.ts +2 -0
- package/dist/ci-wait/github.js +3 -1
- package/dist/ci-wait/github.js.map +1 -1
- package/dist/ci-wait/mcp.d.ts +2 -98
- package/dist/ci-wait/mcp.js +11 -25
- package/dist/ci-wait/mcp.js.map +1 -1
- package/dist/ci-wait/supervisor.d.ts +2 -1
- package/dist/ci-wait/supervisor.js +2 -1
- package/dist/ci-wait/supervisor.js.map +1 -1
- package/dist/ci-wait/tools.d.ts +307 -0
- package/dist/ci-wait/tools.js +63 -0
- package/dist/ci-wait/tools.js.map +1 -0
- package/dist/config.d.ts +3 -0
- package/dist/config.js +7 -0
- package/dist/config.js.map +1 -1
- package/dist/contract/agent-config.d.ts +5 -0
- package/dist/contract/agent-profiles.d.ts +15 -0
- package/dist/contract/automation-schedule.d.ts +60 -0
- package/dist/contract/automations.d.ts +208 -36
- package/dist/contract/delegation.d.ts +96 -0
- package/dist/contract/discovery.d.ts +7 -0
- package/dist/contract/github.d.ts +1 -0
- package/dist/contract/health.d.ts +6 -0
- package/dist/contract/index.d.ts +3 -0
- package/dist/contract/index.js +1445 -745
- package/dist/contract/preview.d.ts +508 -0
- package/dist/contract/runs.d.ts +716 -15
- package/dist/contract/skills.d.ts +39 -0
- package/dist/contract/workflows.d.ts +6 -0
- package/dist/contract/workspace.d.ts +65 -0
- package/dist/contract/zoned-time.d.ts +35 -0
- package/dist/core/agent-env.d.ts +11 -0
- package/dist/core/agent-env.js +27 -5
- package/dist/core/agent-env.js.map +1 -1
- package/dist/core/agent-profiles.js +7 -0
- package/dist/core/agent-profiles.js.map +1 -1
- package/dist/core/agent-runner.d.ts +49 -1
- package/dist/core/agent-runner.js +2 -1
- package/dist/core/agent-runner.js.map +1 -1
- package/dist/core/backend-detect.d.ts +3 -2
- package/dist/core/backend-detect.js +27 -1
- package/dist/core/backend-detect.js.map +1 -1
- package/dist/core/claude-cli-runner.d.ts +1 -0
- package/dist/core/claude-cli-runner.js +69 -19
- package/dist/core/claude-cli-runner.js.map +1 -1
- package/dist/core/codex-app-server-runner.d.ts +1 -0
- package/dist/core/codex-app-server-runner.js +200 -25
- package/dist/core/codex-app-server-runner.js.map +1 -1
- package/dist/core/codex-app-server-transport.d.ts +7 -3
- package/dist/core/codex-app-server-transport.js +11 -9
- package/dist/core/codex-app-server-transport.js.map +1 -1
- package/dist/core/cursor-acp-runner.d.ts +1 -0
- package/dist/core/cursor-acp-runner.js +24 -9
- package/dist/core/cursor-acp-runner.js.map +1 -1
- package/dist/core/host-model-catalog.js +2 -0
- package/dist/core/host-model-catalog.js.map +1 -1
- package/dist/core/managed-session.js +2 -0
- package/dist/core/managed-session.js.map +1 -1
- package/dist/core/model-identity.js +2 -0
- package/dist/core/model-identity.js.map +1 -1
- package/dist/core/model-presets.js +3 -0
- package/dist/core/model-presets.js.map +1 -1
- package/dist/core/omp-model-catalog.d.ts +43 -0
- package/dist/core/omp-model-catalog.js +205 -0
- package/dist/core/omp-model-catalog.js.map +1 -0
- package/dist/core/omp-runner.d.ts +73 -0
- package/dist/core/omp-runner.js +990 -0
- package/dist/core/omp-runner.js.map +1 -0
- package/dist/core/omp-ui-mapper.d.ts +106 -0
- package/dist/core/omp-ui-mapper.js +882 -0
- package/dist/core/omp-ui-mapper.js.map +1 -0
- package/dist/core/opencode-server-runner.d.ts +18 -4
- package/dist/core/opencode-server-runner.js +337 -96
- package/dist/core/opencode-server-runner.js.map +1 -1
- package/dist/core/opencode-session-error.d.ts +11 -0
- package/dist/core/opencode-session-error.js +26 -0
- package/dist/core/opencode-session-error.js.map +1 -0
- package/dist/core/opencode-ui-mapper.js +4 -36
- package/dist/core/opencode-ui-mapper.js.map +1 -1
- package/dist/core/pi-runner.d.ts +1 -0
- package/dist/core/pi-runner.js +75 -12
- package/dist/core/pi-runner.js.map +1 -1
- package/dist/core/provider-auth.d.ts +9 -2
- package/dist/core/provider-auth.js +43 -6
- package/dist/core/provider-auth.js.map +1 -1
- package/dist/core/runner-factory.js +3 -0
- package/dist/core/runner-factory.js.map +1 -1
- package/dist/core/runner-model-catalog.js +1 -0
- package/dist/core/runner-model-catalog.js.map +1 -1
- package/dist/core/runner-stderr.d.ts +2 -0
- package/dist/core/runner-stderr.js +20 -0
- package/dist/core/runner-stderr.js.map +1 -0
- package/dist/core/session-process.d.ts +22 -0
- package/dist/core/session-process.js +202 -0
- package/dist/core/session-process.js.map +1 -0
- package/dist/core/ui-events.d.ts +1 -1
- package/dist/core/usage-limit.js +3 -60
- package/dist/core/usage-limit.js.map +1 -1
- package/dist/data-gitignore.d.ts +6 -0
- package/dist/data-gitignore.js +57 -0
- package/dist/data-gitignore.js.map +1 -0
- package/dist/delegation/capacity.d.ts +19 -0
- package/dist/delegation/capacity.js +34 -0
- package/dist/delegation/capacity.js.map +1 -0
- package/dist/delegation/cli.js +13 -4
- package/dist/delegation/cli.js.map +1 -1
- package/dist/delegation/conversations.d.ts +4 -2
- package/dist/delegation/conversations.js +8 -12
- package/dist/delegation/conversations.js.map +1 -1
- package/dist/delegation/credentials.d.ts +2 -0
- package/dist/delegation/credentials.js +10 -0
- package/dist/delegation/credentials.js.map +1 -1
- package/dist/delegation/destroy-observation.d.ts +42 -0
- package/dist/delegation/destroy-observation.js +115 -0
- package/dist/delegation/destroy-observation.js.map +1 -0
- package/dist/delegation/execution-identity.d.ts +6 -0
- package/dist/delegation/execution-identity.js +1 -1
- package/dist/delegation/execution-identity.js.map +1 -1
- package/dist/delegation/policy.d.ts +3 -2
- package/dist/delegation/policy.js +7 -5
- package/dist/delegation/policy.js.map +1 -1
- package/dist/delegation/process-liveness.d.ts +57 -20
- package/dist/delegation/process-liveness.js +114 -92
- package/dist/delegation/process-liveness.js.map +1 -1
- package/dist/delegation/provision.js +6 -6
- package/dist/delegation/provision.js.map +1 -1
- package/dist/delegation/results.js +4 -2
- package/dist/delegation/results.js.map +1 -1
- package/dist/delegation/retry-backoff.d.ts +23 -0
- package/dist/delegation/retry-backoff.js +18 -0
- package/dist/delegation/retry-backoff.js.map +1 -0
- package/dist/delegation/routes.d.ts +64 -58
- package/dist/delegation/scratch-cleanup.d.ts +29 -0
- package/dist/delegation/scratch-cleanup.js +143 -0
- package/dist/delegation/scratch-cleanup.js.map +1 -0
- package/dist/delegation/service.d.ts +20 -1
- package/dist/delegation/service.js +233 -70
- package/dist/delegation/service.js.map +1 -1
- package/dist/delegation/transport.d.ts +12 -6
- package/dist/delegation/workspace.d.ts +23 -4
- package/dist/delegation/workspace.js +147 -31
- package/dist/delegation/workspace.js.map +1 -1
- package/dist/git-worktree-lock-helper.js +8 -3
- package/dist/git-worktree-lock-helper.js.map +1 -1
- package/dist/git-worktree-lock.d.ts +6 -1
- package/dist/git-worktree-lock.js +10 -4
- package/dist/git-worktree-lock.js.map +1 -1
- package/dist/git-worktree-release.d.ts +20 -0
- package/dist/git-worktree-release.js +27 -0
- package/dist/git-worktree-release.js.map +1 -0
- package/dist/git-worktree.d.ts +8 -2
- package/dist/git-worktree.js +19 -2
- package/dist/git-worktree.js.map +1 -1
- package/dist/handoff.d.ts +2 -2
- package/dist/handoff.js +1 -1
- package/dist/index.js +109 -76
- package/dist/index.js.map +1 -1
- package/dist/paths.d.ts +1 -1
- package/dist/paths.js +5 -1
- package/dist/paths.js.map +1 -1
- package/dist/preview/cdp.d.ts +13 -0
- package/dist/preview/cdp.js +69 -0
- package/dist/preview/cdp.js.map +1 -0
- package/dist/preview/chromium.d.ts +75 -0
- package/dist/preview/chromium.js +394 -0
- package/dist/preview/chromium.js.map +1 -0
- package/dist/preview/dev-server.d.ts +68 -0
- package/dist/preview/dev-server.js +341 -0
- package/dist/preview/dev-server.js.map +1 -0
- package/dist/preview/host.d.ts +154 -0
- package/dist/preview/host.js +681 -0
- package/dist/preview/host.js.map +1 -0
- package/dist/preview/registration.d.ts +63 -0
- package/dist/preview/registration.js +109 -0
- package/dist/preview/registration.js.map +1 -0
- package/dist/preview/session.d.ts +73 -0
- package/dist/preview/session.js +347 -0
- package/dist/preview/session.js.map +1 -0
- package/dist/preview/url.d.ts +6 -0
- package/dist/preview/url.js +17 -0
- package/dist/preview/url.js.map +1 -0
- package/dist/runs/agent-tmpdir-removal.d.ts +15 -0
- package/dist/runs/agent-tmpdir-removal.js +60 -0
- package/dist/runs/agent-tmpdir-removal.js.map +1 -0
- package/dist/runs/agent-tmpdir.d.ts +12 -1
- package/dist/runs/agent-tmpdir.js +123 -34
- package/dist/runs/agent-tmpdir.js.map +1 -1
- package/dist/runs/delegation-state.d.ts +5 -1
- package/dist/runs/delegation-state.js +9 -0
- package/dist/runs/delegation-state.js.map +1 -1
- package/dist/runs/event-history.d.ts +4 -4
- package/dist/runs/event-history.js +97 -117
- package/dist/runs/event-history.js.map +1 -1
- package/dist/runs/history-compressor.d.ts +29 -0
- package/dist/runs/history-compressor.js +116 -0
- package/dist/runs/history-compressor.js.map +1 -0
- package/dist/runs/history-file.d.ts +36 -0
- package/dist/runs/history-file.js +463 -0
- package/dist/runs/history-file.js.map +1 -0
- package/dist/runs/human-ask-summary.js +18 -13
- package/dist/runs/human-ask-summary.js.map +1 -1
- package/dist/runs/legacy-index.d.ts +62 -0
- package/dist/runs/legacy-index.js +168 -0
- package/dist/runs/legacy-index.js.map +1 -0
- package/dist/runs/raw-record.d.ts +52 -0
- package/dist/runs/raw-record.js +145 -0
- package/dist/runs/raw-record.js.map +1 -0
- package/dist/runs/retention.d.ts +13 -6
- package/dist/runs/retention.js +42 -13
- package/dist/runs/retention.js.map +1 -1
- package/dist/runs/run-claims.d.ts +23 -0
- package/dist/runs/run-claims.js +24 -0
- package/dist/runs/run-claims.js.map +1 -0
- package/dist/runs/run-database.d.ts +385 -0
- package/dist/runs/run-database.js +930 -0
- package/dist/runs/run-database.js.map +1 -0
- package/dist/runs/run-index.d.ts +35 -9
- package/dist/runs/run-index.js +200 -25
- package/dist/runs/run-index.js.map +1 -1
- package/dist/runs/run-row.d.ts +44 -0
- package/dist/runs/run-row.js +84 -0
- package/dist/runs/run-row.js.map +1 -0
- package/dist/runs/run-search.d.ts +29 -0
- package/dist/runs/run-search.js +63 -0
- package/dist/runs/run-search.js.map +1 -0
- package/dist/runs/store-open-error.d.ts +24 -0
- package/dist/runs/store-open-error.js +61 -0
- package/dist/runs/store-open-error.js.map +1 -0
- package/dist/runs/store.d.ts +667 -32
- package/dist/runs/store.js +2153 -324
- package/dist/runs/store.js.map +1 -1
- package/dist/runs/transcript-facts.d.ts +77 -0
- package/dist/runs/transcript-facts.js +302 -0
- package/dist/runs/transcript-facts.js.map +1 -0
- package/dist/runs/webhook.js +5 -4
- package/dist/runs/webhook.js.map +1 -1
- package/dist/runs/worker-execution.d.ts +22 -0
- package/dist/runs/worker-execution.js +30 -0
- package/dist/runs/worker-execution.js.map +1 -0
- package/dist/server/capabilities.d.ts +1 -0
- package/dist/server/capabilities.js +2 -0
- package/dist/server/capabilities.js.map +1 -1
- package/dist/server/cockpit-ownership.d.ts +8 -0
- package/dist/server/cockpit-ownership.js +19 -0
- package/dist/server/cockpit-ownership.js.map +1 -1
- package/dist/server/forge/github.d.ts +1 -4
- package/dist/server/forge/github.js +47 -23
- package/dist/server/forge/github.js.map +1 -1
- package/dist/server/git.js +1 -1
- package/dist/server/git.js.map +1 -1
- package/dist/server/open-in-app.js +1 -0
- package/dist/server/open-in-app.js.map +1 -1
- package/dist/server/preview-socket.d.ts +36 -0
- package/dist/server/preview-socket.js +126 -0
- package/dist/server/preview-socket.js.map +1 -0
- package/dist/server/project-context.d.ts +31 -4
- package/dist/server/project-context.js +73 -9
- package/dist/server/project-context.js.map +1 -1
- package/dist/server/provider-action-gate.js +1 -0
- package/dist/server/provider-action-gate.js.map +1 -1
- package/dist/server/repo-branches.d.ts +4 -3
- package/dist/server/repo-branches.js +5 -4
- package/dist/server/repo-branches.js.map +1 -1
- package/dist/server/server.d.ts +4500 -2727
- package/dist/server/server.js +651 -202
- package/dist/server/server.js.map +1 -1
- package/dist/server/upgrade-router.d.ts +23 -0
- package/dist/server/upgrade-router.js +53 -0
- package/dist/server/upgrade-router.js.map +1 -0
- package/dist/server/validators.d.ts +6 -1
- package/dist/server/validators.js +4 -4
- package/dist/server/validators.js.map +1 -1
- package/dist/server/ws.d.ts +16 -16
- package/dist/server/ws.js +56 -54
- package/dist/server/ws.js.map +1 -1
- package/dist/skills-remote.d.ts +14 -0
- package/dist/skills-remote.js +91 -15
- package/dist/skills-remote.js.map +1 -1
- package/dist/task-cli/cli.js +40 -16
- package/dist/task-cli/cli.js.map +1 -1
- package/dist/task-cli/discovery.d.ts +4 -3
- package/dist/task-cli/discovery.js +4 -3
- package/dist/task-cli/discovery.js.map +1 -1
- package/dist/task-cli/http.d.ts +2 -0
- package/dist/task-cli/http.js +10 -4
- package/dist/task-cli/http.js.map +1 -1
- package/dist/task-cli/projections.d.ts +5 -2
- package/dist/task-cli/projections.js +13 -0
- package/dist/task-cli/projections.js.map +1 -1
- package/dist/task-cli/watch.d.ts +15 -2
- package/dist/task-cli/watch.js +31 -9
- package/dist/task-cli/watch.js.map +1 -1
- package/dist/ui-state.d.ts +4 -3
- package/dist/ui-state.js +8 -3
- package/dist/ui-state.js.map +1 -1
- package/dist/workflows/grouped-command.d.ts +31 -0
- package/dist/workflows/grouped-command.js +143 -0
- package/dist/workflows/grouped-command.js.map +1 -0
- package/dist/workflows/run.d.ts +223 -42
- package/dist/workflows/run.js +1316 -398
- package/dist/workflows/run.js.map +1 -1
- package/dist/workflows/types.d.ts +12 -0
- package/dist/workflows/types.js +20 -0
- package/dist/workflows/types.js.map +1 -1
- package/dist/workspace/agent-accounts.d.ts +5 -1
- package/dist/workspace/agent-accounts.js +1 -0
- package/dist/workspace/agent-accounts.js.map +1 -1
- package/dist/workspace/agent-profiles.js +1 -1
- package/dist/workspace/agent-profiles.js.map +1 -1
- package/dist/workspace/config.d.ts +3 -1
- package/dist/workspace/config.js +1 -0
- package/dist/workspace/config.js.map +1 -1
- package/dist/worktree-setup.d.ts +85 -0
- package/dist/worktree-setup.js +164 -0
- package/dist/worktree-setup.js.map +1 -0
- package/package.json +7 -5
- package/scripts/benchmark-run-store-fixture.ts +428 -0
- package/scripts/benchmark-run-store.ts +743 -0
- package/scripts/benchmark-stuck-destroys.ts +143 -0
- package/scripts/mock-autonomous.mjs +11 -0
- package/scripts/mock-ci-tool.mjs +20 -5
- package/scripts/mock-claude.mjs +110 -1
- package/scripts/mock-codex-app-server.mjs +117 -2
- package/scripts/mock-codex-coalesce-steer.mjs +59 -0
- package/scripts/mock-codex-reverse-steer.mjs +130 -0
- package/scripts/mock-cursor-acp.mjs +75 -1
- package/scripts/mock-omp-rpc.mjs +605 -0
- package/scripts/mock-opencode-serve.mjs +312 -22
- package/scripts/mock-pi-rpc.mjs +109 -3
- package/scripts/mock-runner-crash.mjs +42 -0
- package/scripts/mock-silent-tail.mjs +78 -0
- package/scripts/mock-turn-messages.mjs +5 -0
- package/scripts/omp-ci-wait.mjs +29 -0
- package/scripts/omp-restrict-delegation.yml +4 -0
- package/scripts/pi-ci-wait.mjs +12 -9
- package/scripts/seed-archive-profile.ts +3 -3
- package/web/dist/assets/agent-accounts-CFOBMVHc.js +1 -0
- package/web/dist/assets/alert-dialog-BrpNUwMt.js +1 -0
- package/web/dist/assets/app-window-CSHwDX9N.js +1 -0
- package/web/dist/assets/button-C_rd7CPp.js +43 -0
- package/web/dist/assets/compare-variants-D6WXhvXA.js +1 -0
- package/web/dist/assets/diff-DrEARXTV.js +3 -0
- package/web/dist/assets/diff-controls-B1-j7nFg.js +1 -0
- package/web/dist/assets/{diff-view-DPn6bQ5W.js → diff-view-DvGLjdTk.js} +3 -3
- package/web/dist/assets/dropdown-menu-BegOZFrj.js +1 -0
- package/web/dist/assets/format-DpNe3S0A.js +1 -0
- package/web/dist/assets/git-toolbar-Cw4ljmhB.js +1 -0
- package/web/dist/assets/github-CfV5sqL0.js +1 -0
- package/web/dist/assets/{image-preview-DJ8cgb1Z.js → image-preview-FOEfqpZP.js} +1 -1
- package/web/dist/assets/index-DgWWlOLy.js +13 -0
- package/web/dist/assets/index-fBFnuvxu.css +1 -0
- package/web/dist/assets/{nav-row-styles-3j64kH5s.js → nav-row-styles-vp2JbhuJ.js} +1 -1
- package/web/dist/assets/play-CmVAj_fu.js +1 -0
- package/web/dist/assets/popover-BohP6WTx.js +1 -0
- package/web/dist/assets/preview-pane-connected-qTA5KNoJ.js +3 -0
- package/web/dist/assets/preview-state-vuMviq6q.js +1 -0
- package/web/dist/assets/prompt-templates-Cubdut_C.js +15 -0
- package/web/dist/assets/repo-git-Cf4t5PD0.js +1 -0
- package/web/dist/assets/{run-diff-5-RRdcVz.js → run-diff-BpkUW37Z.js} +3 -3
- package/web/dist/assets/run-header-68WHf9wV.js +1 -0
- package/web/dist/assets/skills-DiVIgKeU.js +1 -0
- package/web/dist/assets/square-terminal-B6RYYieR.js +1 -0
- package/web/dist/assets/status-dot-CqTJHSP9.js +1 -0
- package/web/dist/assets/{tab-link-K0hjzEXR.js → tab-link-B07Hu4QX.js} +1 -1
- package/web/dist/assets/task-changes--lQF6EYf.js +1 -0
- package/web/dist/assets/task-commits-Cx0qy4DN.js +1 -0
- package/web/dist/assets/task-files-D50s-gKW.js +2 -0
- package/web/dist/assets/task-github-item-DaqmSwYT.js +1 -0
- package/web/dist/assets/task-thread-BPQ64lui.js +7 -0
- package/web/dist/assets/{task-thread-Bw_nQuTx.css → task-thread-zNE2Q9E-.css} +1 -1
- package/web/dist/assets/textarea-D20O4Pw0.js +1 -0
- package/web/dist/assets/thread-state-DWcFMrvb.js +4 -0
- package/web/dist/assets/use-hand-to-agent-state-BLIGmwbd.css +1 -0
- package/web/dist/assets/use-hand-to-agent-state-Cy9eyyfL.js +1 -0
- package/web/dist/assets/{utils-fzNfbPzA.js → utils-JsL3ZsJf.js} +1 -1
- package/web/dist/assets/workflows-jwG7uxqi.js +11 -0
- package/web/dist/assets/{zoomable-image-CDmZ_Rtl.js → zoomable-image-BJJ64KGc.js} +1 -1
- package/web/dist/cezarion-lockup-dark.svg +1 -13
- package/web/dist/cezarion-lockup-light.svg +1 -13
- package/web/dist/cezarion-mark-dark.svg +1 -12
- package/web/dist/cezarion-mark-light.svg +1 -12
- package/web/dist/index.html +16 -21
- package/web/dist/assets/agent-accounts-CU2ZDv24.js +0 -1
- package/web/dist/assets/alert-dialog-C-xYE_dg.js +0 -43
- package/web/dist/assets/chevron-right-BENZ-1ZN.js +0 -1
- package/web/dist/assets/collapsible-DD9J91Iv.js +0 -1
- package/web/dist/assets/compare-variants-5FmqpFSN.js +0 -1
- package/web/dist/assets/diff-controls-Bj0YrioE.js +0 -1
- package/web/dist/assets/diff-rE8rm75J2.js +0 -3
- package/web/dist/assets/diff-stat-BKDCSVfJ.js +0 -1
- package/web/dist/assets/dropdown-menu-Ch5BYQh_.js +0 -1
- package/web/dist/assets/format-dBiNDNVe.js +0 -1
- package/web/dist/assets/git-toolbar-ClVvf5iF.js +0 -1
- package/web/dist/assets/github-BkNOyour.css +0 -1
- package/web/dist/assets/github-DeZMeMwJ.js +0 -1
- package/web/dist/assets/github-item-detail-W5F6GVjF.js +0 -1
- package/web/dist/assets/github-sidebar-model-DcMu-IK2.js +0 -1
- package/web/dist/assets/highlighter-CdHqIwFr.js +0 -3
- package/web/dist/assets/index-CatemBEL.js +0 -8
- package/web/dist/assets/index-MvfD8bZJ.css +0 -1
- package/web/dist/assets/markdown-zdKeLIYA.js +0 -2
- package/web/dist/assets/mobile-run-bar-BCfmFi8V.js +0 -1
- package/web/dist/assets/prompt-templates-CBPp39IU.js +0 -15
- package/web/dist/assets/reference-chip-D6owncJT.js +0 -1
- package/web/dist/assets/repo-git-CtdkZFey.js +0 -1
- package/web/dist/assets/run-header-BcjoDi0W.js +0 -1
- package/web/dist/assets/sheet-ChnYVrp1.js +0 -1
- package/web/dist/assets/skills-C8YKp2vr.js +0 -1
- package/web/dist/assets/task-changes-BW8YdWG8.js +0 -1
- package/web/dist/assets/task-commits-q2kB2y6L.js +0 -1
- package/web/dist/assets/task-files-pPL6_3Cr.js +0 -2
- package/web/dist/assets/task-github-item-BXF5R52U.js +0 -1
- package/web/dist/assets/task-thread-DtkFL3EC.js +0 -10
- package/web/dist/assets/textarea-DxlkE-Yd.js +0 -1
- package/web/dist/assets/token-metrics-DIAjrPlM.js +0 -1
- package/web/dist/assets/use-desktop-CrDny2uG.js +0 -1
- package/web/dist/assets/use-submit-shortcut-KWJsC906.js +0 -1
- package/web/dist/assets/workflows-TmcPEj2K.js +0 -11
- /package/web/dist/assets/{lib-BQXq3kEf2.js → lib-BQXq3kEf.js} +0 -0
|
@@ -43,6 +43,15 @@ export declare const automationFiltersSchema: z.ZodObject<{
|
|
|
43
43
|
maxRecords: z.ZodNumber;
|
|
44
44
|
}, z.core.$strip>;
|
|
45
45
|
export type AutomationFilters = z.infer<typeof automationFiltersSchema>;
|
|
46
|
+
/**
|
|
47
|
+
* What triggers an automation: a bounded GitHub poll, or a schedule in the cockpit's zone. The
|
|
48
|
+
* storage schema defaults a definition without `kind` to `github`, so the wire always carries it.
|
|
49
|
+
*/
|
|
50
|
+
export declare const automationKindSchema: z.ZodEnum<{
|
|
51
|
+
github: "github";
|
|
52
|
+
schedule: "schedule";
|
|
53
|
+
}>;
|
|
54
|
+
export type AutomationKind = z.infer<typeof automationKindSchema>;
|
|
46
55
|
/**
|
|
47
56
|
* The task a match launches: `POST /runs`' own body minus the three keys an automation owns
|
|
48
57
|
* itself — `task` (the rendered prompt), `images` and `todoId` — plus the prompt TEMPLATE.
|
|
@@ -71,6 +80,7 @@ export declare const automationTaskSchema: z.ZodObject<{
|
|
|
71
80
|
claude: "claude";
|
|
72
81
|
codex: "codex";
|
|
73
82
|
cursor: "cursor";
|
|
83
|
+
omp: "omp";
|
|
74
84
|
opencode: "opencode";
|
|
75
85
|
pi: "pi";
|
|
76
86
|
}>>;
|
|
@@ -89,6 +99,7 @@ export declare const automationTaskSchema: z.ZodObject<{
|
|
|
89
99
|
claude: "claude";
|
|
90
100
|
codex: "codex";
|
|
91
101
|
cursor: "cursor";
|
|
102
|
+
omp: "omp";
|
|
92
103
|
opencode: "opencode";
|
|
93
104
|
pi: "pi";
|
|
94
105
|
}>>;
|
|
@@ -108,14 +119,18 @@ export declare const automationDefinitionSchema: z.ZodObject<{
|
|
|
108
119
|
name: z.ZodString;
|
|
109
120
|
description: z.ZodOptional<z.ZodString>;
|
|
110
121
|
enabled: z.ZodBoolean;
|
|
111
|
-
|
|
122
|
+
kind: z.ZodEnum<{
|
|
123
|
+
github: "github";
|
|
124
|
+
schedule: "schedule";
|
|
125
|
+
}>;
|
|
126
|
+
events: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
112
127
|
"issue.labeled": "issue.labeled";
|
|
113
128
|
"issue.opened": "issue.opened";
|
|
114
129
|
"issue.unlabeled": "issue.unlabeled";
|
|
115
130
|
"pull_request.opened": "pull_request.opened";
|
|
116
|
-
}
|
|
117
|
-
intervalSeconds: z.ZodNumber
|
|
118
|
-
filters: z.ZodObject<{
|
|
131
|
+
}>>>;
|
|
132
|
+
intervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
133
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
119
134
|
authors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
120
135
|
assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
121
136
|
allLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -124,7 +139,19 @@ export declare const automationDefinitionSchema: z.ZodObject<{
|
|
|
124
139
|
changedLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
125
140
|
lookbackDays: z.ZodNumber;
|
|
126
141
|
maxRecords: z.ZodNumber;
|
|
127
|
-
}, z.core.$strip
|
|
142
|
+
}, z.core.$strip>>;
|
|
143
|
+
schedule: z.ZodOptional<z.ZodObject<{
|
|
144
|
+
type: z.ZodEnum<{
|
|
145
|
+
daily: "daily";
|
|
146
|
+
hours: "hours";
|
|
147
|
+
weekdays: "weekdays";
|
|
148
|
+
weekly: "weekly";
|
|
149
|
+
}>;
|
|
150
|
+
hour: z.ZodOptional<z.ZodNumber>;
|
|
151
|
+
minute: z.ZodOptional<z.ZodNumber>;
|
|
152
|
+
day: z.ZodOptional<z.ZodNumber>;
|
|
153
|
+
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>]>>;
|
|
154
|
+
}, z.core.$strip>>;
|
|
128
155
|
task: z.ZodObject<{
|
|
129
156
|
workflow: z.ZodOptional<z.ZodString>;
|
|
130
157
|
steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -139,6 +166,7 @@ export declare const automationDefinitionSchema: z.ZodObject<{
|
|
|
139
166
|
claude: "claude";
|
|
140
167
|
codex: "codex";
|
|
141
168
|
cursor: "cursor";
|
|
169
|
+
omp: "omp";
|
|
142
170
|
opencode: "opencode";
|
|
143
171
|
pi: "pi";
|
|
144
172
|
}>>;
|
|
@@ -157,6 +185,7 @@ export declare const automationDefinitionSchema: z.ZodObject<{
|
|
|
157
185
|
claude: "claude";
|
|
158
186
|
codex: "codex";
|
|
159
187
|
cursor: "cursor";
|
|
188
|
+
omp: "omp";
|
|
160
189
|
opencode: "opencode";
|
|
161
190
|
pi: "pi";
|
|
162
191
|
}>>;
|
|
@@ -199,6 +228,8 @@ export declare const automationRuntimeStateSchema: z.ZodObject<{
|
|
|
199
228
|
}, z.core.$strip>>;
|
|
200
229
|
nextCheckAt: z.ZodOptional<z.ZodString>;
|
|
201
230
|
lastSuccessAt: z.ZodOptional<z.ZodString>;
|
|
231
|
+
nextRunAt: z.ZodOptional<z.ZodString>;
|
|
232
|
+
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
202
233
|
etags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
203
234
|
backoffUntil: z.ZodOptional<z.ZodString>;
|
|
204
235
|
consecutiveFailures: z.ZodOptional<z.ZodNumber>;
|
|
@@ -208,9 +239,12 @@ export type AutomationRuntimeState = z.infer<typeof automationRuntimeStateSchema
|
|
|
208
239
|
* task was launched and none was meant to be. */
|
|
209
240
|
export declare const automationLogResultSchema: z.ZodEnum<{
|
|
210
241
|
baseline: "baseline";
|
|
242
|
+
"catch-up": "catch-up";
|
|
211
243
|
duplicate: "duplicate";
|
|
212
244
|
error: "error";
|
|
245
|
+
failed: "failed";
|
|
213
246
|
launched: "launched";
|
|
247
|
+
manual: "manual";
|
|
214
248
|
"no-match": "no-match";
|
|
215
249
|
preview: "preview";
|
|
216
250
|
"rate-limited": "rate-limited";
|
|
@@ -231,9 +265,12 @@ export declare const automationLogRecordSchema: z.ZodObject<{
|
|
|
231
265
|
}>>;
|
|
232
266
|
result: z.ZodEnum<{
|
|
233
267
|
baseline: "baseline";
|
|
268
|
+
"catch-up": "catch-up";
|
|
234
269
|
duplicate: "duplicate";
|
|
235
270
|
error: "error";
|
|
271
|
+
failed: "failed";
|
|
236
272
|
launched: "launched";
|
|
273
|
+
manual: "manual";
|
|
237
274
|
"no-match": "no-match";
|
|
238
275
|
preview: "preview";
|
|
239
276
|
"rate-limited": "rate-limited";
|
|
@@ -271,14 +308,18 @@ export declare const automationListEntrySchema: z.ZodObject<{
|
|
|
271
308
|
name: z.ZodString;
|
|
272
309
|
description: z.ZodOptional<z.ZodString>;
|
|
273
310
|
enabled: z.ZodBoolean;
|
|
274
|
-
|
|
311
|
+
kind: z.ZodEnum<{
|
|
312
|
+
github: "github";
|
|
313
|
+
schedule: "schedule";
|
|
314
|
+
}>;
|
|
315
|
+
events: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
275
316
|
"issue.labeled": "issue.labeled";
|
|
276
317
|
"issue.opened": "issue.opened";
|
|
277
318
|
"issue.unlabeled": "issue.unlabeled";
|
|
278
319
|
"pull_request.opened": "pull_request.opened";
|
|
279
|
-
}
|
|
280
|
-
intervalSeconds: z.ZodNumber
|
|
281
|
-
filters: z.ZodObject<{
|
|
320
|
+
}>>>;
|
|
321
|
+
intervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
322
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
282
323
|
authors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
283
324
|
assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
284
325
|
allLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -287,7 +328,19 @@ export declare const automationListEntrySchema: z.ZodObject<{
|
|
|
287
328
|
changedLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
288
329
|
lookbackDays: z.ZodNumber;
|
|
289
330
|
maxRecords: z.ZodNumber;
|
|
290
|
-
}, z.core.$strip
|
|
331
|
+
}, z.core.$strip>>;
|
|
332
|
+
schedule: z.ZodOptional<z.ZodObject<{
|
|
333
|
+
type: z.ZodEnum<{
|
|
334
|
+
daily: "daily";
|
|
335
|
+
hours: "hours";
|
|
336
|
+
weekdays: "weekdays";
|
|
337
|
+
weekly: "weekly";
|
|
338
|
+
}>;
|
|
339
|
+
hour: z.ZodOptional<z.ZodNumber>;
|
|
340
|
+
minute: z.ZodOptional<z.ZodNumber>;
|
|
341
|
+
day: z.ZodOptional<z.ZodNumber>;
|
|
342
|
+
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>]>>;
|
|
343
|
+
}, z.core.$strip>>;
|
|
291
344
|
task: z.ZodObject<{
|
|
292
345
|
workflow: z.ZodOptional<z.ZodString>;
|
|
293
346
|
steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -302,6 +355,7 @@ export declare const automationListEntrySchema: z.ZodObject<{
|
|
|
302
355
|
claude: "claude";
|
|
303
356
|
codex: "codex";
|
|
304
357
|
cursor: "cursor";
|
|
358
|
+
omp: "omp";
|
|
305
359
|
opencode: "opencode";
|
|
306
360
|
pi: "pi";
|
|
307
361
|
}>>;
|
|
@@ -320,6 +374,7 @@ export declare const automationListEntrySchema: z.ZodObject<{
|
|
|
320
374
|
claude: "claude";
|
|
321
375
|
codex: "codex";
|
|
322
376
|
cursor: "cursor";
|
|
377
|
+
omp: "omp";
|
|
323
378
|
opencode: "opencode";
|
|
324
379
|
pi: "pi";
|
|
325
380
|
}>>;
|
|
@@ -350,6 +405,8 @@ export declare const automationListEntrySchema: z.ZodObject<{
|
|
|
350
405
|
}, z.core.$strip>>;
|
|
351
406
|
nextCheckAt: z.ZodOptional<z.ZodString>;
|
|
352
407
|
lastSuccessAt: z.ZodOptional<z.ZodString>;
|
|
408
|
+
nextRunAt: z.ZodOptional<z.ZodString>;
|
|
409
|
+
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
353
410
|
etags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
354
411
|
backoffUntil: z.ZodOptional<z.ZodString>;
|
|
355
412
|
consecutiveFailures: z.ZodOptional<z.ZodNumber>;
|
|
@@ -367,9 +424,12 @@ export declare const automationListEntrySchema: z.ZodObject<{
|
|
|
367
424
|
}>>;
|
|
368
425
|
result: z.ZodEnum<{
|
|
369
426
|
baseline: "baseline";
|
|
427
|
+
"catch-up": "catch-up";
|
|
370
428
|
duplicate: "duplicate";
|
|
371
429
|
error: "error";
|
|
430
|
+
failed: "failed";
|
|
372
431
|
launched: "launched";
|
|
432
|
+
manual: "manual";
|
|
373
433
|
"no-match": "no-match";
|
|
374
434
|
preview: "preview";
|
|
375
435
|
"rate-limited": "rate-limited";
|
|
@@ -397,6 +457,7 @@ export declare const automationListEntrySchema: z.ZodObject<{
|
|
|
397
457
|
duplicates: z.ZodNumber;
|
|
398
458
|
errors: z.ZodNumber;
|
|
399
459
|
}, z.core.$strip>;
|
|
460
|
+
nextRunAt: z.ZodOptional<z.ZodString>;
|
|
400
461
|
}, z.core.$strip>;
|
|
401
462
|
export type AutomationListEntry = z.infer<typeof automationListEntrySchema>;
|
|
402
463
|
/**
|
|
@@ -405,11 +466,13 @@ export type AutomationListEntry = z.infer<typeof automationListEntrySchema>;
|
|
|
405
466
|
* `available`/`reason` are the forge's own cached availability (the same degrade `/github` uses:
|
|
406
467
|
* no GitHub remote, no `gh`, offline — never a 5xx), and `scheduler` summarizes the timer:
|
|
407
468
|
* `scheduled` when any definition is enabled, `idle` otherwise, with `nextDue` the earliest
|
|
408
|
-
*
|
|
469
|
+
* `nextRunAt` across them. `available`/`reason` describe GitHub only; a schedule needs neither.
|
|
470
|
+
* `timeZone` is the server's own zone, the one every schedule is evaluated in.
|
|
409
471
|
*/
|
|
410
472
|
export declare const automationsResponseSchema: z.ZodObject<{
|
|
411
473
|
available: z.ZodBoolean;
|
|
412
474
|
reason: z.ZodOptional<z.ZodString>;
|
|
475
|
+
timeZone: z.ZodString;
|
|
413
476
|
scheduler: z.ZodObject<{
|
|
414
477
|
state: z.ZodEnum<{
|
|
415
478
|
idle: "idle";
|
|
@@ -423,14 +486,18 @@ export declare const automationsResponseSchema: z.ZodObject<{
|
|
|
423
486
|
name: z.ZodString;
|
|
424
487
|
description: z.ZodOptional<z.ZodString>;
|
|
425
488
|
enabled: z.ZodBoolean;
|
|
426
|
-
|
|
489
|
+
kind: z.ZodEnum<{
|
|
490
|
+
github: "github";
|
|
491
|
+
schedule: "schedule";
|
|
492
|
+
}>;
|
|
493
|
+
events: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
427
494
|
"issue.labeled": "issue.labeled";
|
|
428
495
|
"issue.opened": "issue.opened";
|
|
429
496
|
"issue.unlabeled": "issue.unlabeled";
|
|
430
497
|
"pull_request.opened": "pull_request.opened";
|
|
431
|
-
}
|
|
432
|
-
intervalSeconds: z.ZodNumber
|
|
433
|
-
filters: z.ZodObject<{
|
|
498
|
+
}>>>;
|
|
499
|
+
intervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
500
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
434
501
|
authors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
435
502
|
assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
436
503
|
allLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -439,7 +506,19 @@ export declare const automationsResponseSchema: z.ZodObject<{
|
|
|
439
506
|
changedLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
440
507
|
lookbackDays: z.ZodNumber;
|
|
441
508
|
maxRecords: z.ZodNumber;
|
|
442
|
-
}, z.core.$strip
|
|
509
|
+
}, z.core.$strip>>;
|
|
510
|
+
schedule: z.ZodOptional<z.ZodObject<{
|
|
511
|
+
type: z.ZodEnum<{
|
|
512
|
+
daily: "daily";
|
|
513
|
+
hours: "hours";
|
|
514
|
+
weekdays: "weekdays";
|
|
515
|
+
weekly: "weekly";
|
|
516
|
+
}>;
|
|
517
|
+
hour: z.ZodOptional<z.ZodNumber>;
|
|
518
|
+
minute: z.ZodOptional<z.ZodNumber>;
|
|
519
|
+
day: z.ZodOptional<z.ZodNumber>;
|
|
520
|
+
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>]>>;
|
|
521
|
+
}, z.core.$strip>>;
|
|
443
522
|
task: z.ZodObject<{
|
|
444
523
|
workflow: z.ZodOptional<z.ZodString>;
|
|
445
524
|
steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -454,6 +533,7 @@ export declare const automationsResponseSchema: z.ZodObject<{
|
|
|
454
533
|
claude: "claude";
|
|
455
534
|
codex: "codex";
|
|
456
535
|
cursor: "cursor";
|
|
536
|
+
omp: "omp";
|
|
457
537
|
opencode: "opencode";
|
|
458
538
|
pi: "pi";
|
|
459
539
|
}>>;
|
|
@@ -472,6 +552,7 @@ export declare const automationsResponseSchema: z.ZodObject<{
|
|
|
472
552
|
claude: "claude";
|
|
473
553
|
codex: "codex";
|
|
474
554
|
cursor: "cursor";
|
|
555
|
+
omp: "omp";
|
|
475
556
|
opencode: "opencode";
|
|
476
557
|
pi: "pi";
|
|
477
558
|
}>>;
|
|
@@ -502,6 +583,8 @@ export declare const automationsResponseSchema: z.ZodObject<{
|
|
|
502
583
|
}, z.core.$strip>>;
|
|
503
584
|
nextCheckAt: z.ZodOptional<z.ZodString>;
|
|
504
585
|
lastSuccessAt: z.ZodOptional<z.ZodString>;
|
|
586
|
+
nextRunAt: z.ZodOptional<z.ZodString>;
|
|
587
|
+
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
505
588
|
etags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
506
589
|
backoffUntil: z.ZodOptional<z.ZodString>;
|
|
507
590
|
consecutiveFailures: z.ZodOptional<z.ZodNumber>;
|
|
@@ -519,9 +602,12 @@ export declare const automationsResponseSchema: z.ZodObject<{
|
|
|
519
602
|
}>>;
|
|
520
603
|
result: z.ZodEnum<{
|
|
521
604
|
baseline: "baseline";
|
|
605
|
+
"catch-up": "catch-up";
|
|
522
606
|
duplicate: "duplicate";
|
|
523
607
|
error: "error";
|
|
608
|
+
failed: "failed";
|
|
524
609
|
launched: "launched";
|
|
610
|
+
manual: "manual";
|
|
525
611
|
"no-match": "no-match";
|
|
526
612
|
preview: "preview";
|
|
527
613
|
"rate-limited": "rate-limited";
|
|
@@ -549,6 +635,7 @@ export declare const automationsResponseSchema: z.ZodObject<{
|
|
|
549
635
|
duplicates: z.ZodNumber;
|
|
550
636
|
errors: z.ZodNumber;
|
|
551
637
|
}, z.core.$strip>;
|
|
638
|
+
nextRunAt: z.ZodOptional<z.ZodString>;
|
|
552
639
|
}, z.core.$strip>>;
|
|
553
640
|
}, z.core.$strip>;
|
|
554
641
|
export type AutomationsResponse = z.infer<typeof automationsResponseSchema>;
|
|
@@ -560,14 +647,18 @@ export declare const automationResponseSchema: z.ZodObject<{
|
|
|
560
647
|
name: z.ZodString;
|
|
561
648
|
description: z.ZodOptional<z.ZodString>;
|
|
562
649
|
enabled: z.ZodBoolean;
|
|
563
|
-
|
|
650
|
+
kind: z.ZodEnum<{
|
|
651
|
+
github: "github";
|
|
652
|
+
schedule: "schedule";
|
|
653
|
+
}>;
|
|
654
|
+
events: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
564
655
|
"issue.labeled": "issue.labeled";
|
|
565
656
|
"issue.opened": "issue.opened";
|
|
566
657
|
"issue.unlabeled": "issue.unlabeled";
|
|
567
658
|
"pull_request.opened": "pull_request.opened";
|
|
568
|
-
}
|
|
569
|
-
intervalSeconds: z.ZodNumber
|
|
570
|
-
filters: z.ZodObject<{
|
|
659
|
+
}>>>;
|
|
660
|
+
intervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
661
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
571
662
|
authors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
572
663
|
assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
573
664
|
allLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -576,7 +667,19 @@ export declare const automationResponseSchema: z.ZodObject<{
|
|
|
576
667
|
changedLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
577
668
|
lookbackDays: z.ZodNumber;
|
|
578
669
|
maxRecords: z.ZodNumber;
|
|
579
|
-
}, z.core.$strip
|
|
670
|
+
}, z.core.$strip>>;
|
|
671
|
+
schedule: z.ZodOptional<z.ZodObject<{
|
|
672
|
+
type: z.ZodEnum<{
|
|
673
|
+
daily: "daily";
|
|
674
|
+
hours: "hours";
|
|
675
|
+
weekdays: "weekdays";
|
|
676
|
+
weekly: "weekly";
|
|
677
|
+
}>;
|
|
678
|
+
hour: z.ZodOptional<z.ZodNumber>;
|
|
679
|
+
minute: z.ZodOptional<z.ZodNumber>;
|
|
680
|
+
day: z.ZodOptional<z.ZodNumber>;
|
|
681
|
+
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>]>>;
|
|
682
|
+
}, z.core.$strip>>;
|
|
580
683
|
task: z.ZodObject<{
|
|
581
684
|
workflow: z.ZodOptional<z.ZodString>;
|
|
582
685
|
steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -591,6 +694,7 @@ export declare const automationResponseSchema: z.ZodObject<{
|
|
|
591
694
|
claude: "claude";
|
|
592
695
|
codex: "codex";
|
|
593
696
|
cursor: "cursor";
|
|
697
|
+
omp: "omp";
|
|
594
698
|
opencode: "opencode";
|
|
595
699
|
pi: "pi";
|
|
596
700
|
}>>;
|
|
@@ -609,6 +713,7 @@ export declare const automationResponseSchema: z.ZodObject<{
|
|
|
609
713
|
claude: "claude";
|
|
610
714
|
codex: "codex";
|
|
611
715
|
cursor: "cursor";
|
|
716
|
+
omp: "omp";
|
|
612
717
|
opencode: "opencode";
|
|
613
718
|
pi: "pi";
|
|
614
719
|
}>>;
|
|
@@ -633,14 +738,18 @@ export declare const automationDetailResponseSchema: z.ZodObject<{
|
|
|
633
738
|
name: z.ZodString;
|
|
634
739
|
description: z.ZodOptional<z.ZodString>;
|
|
635
740
|
enabled: z.ZodBoolean;
|
|
636
|
-
|
|
741
|
+
kind: z.ZodEnum<{
|
|
742
|
+
github: "github";
|
|
743
|
+
schedule: "schedule";
|
|
744
|
+
}>;
|
|
745
|
+
events: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
637
746
|
"issue.labeled": "issue.labeled";
|
|
638
747
|
"issue.opened": "issue.opened";
|
|
639
748
|
"issue.unlabeled": "issue.unlabeled";
|
|
640
749
|
"pull_request.opened": "pull_request.opened";
|
|
641
|
-
}
|
|
642
|
-
intervalSeconds: z.ZodNumber
|
|
643
|
-
filters: z.ZodObject<{
|
|
750
|
+
}>>>;
|
|
751
|
+
intervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
752
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
644
753
|
authors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
645
754
|
assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
646
755
|
allLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -649,7 +758,19 @@ export declare const automationDetailResponseSchema: z.ZodObject<{
|
|
|
649
758
|
changedLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
650
759
|
lookbackDays: z.ZodNumber;
|
|
651
760
|
maxRecords: z.ZodNumber;
|
|
652
|
-
}, z.core.$strip
|
|
761
|
+
}, z.core.$strip>>;
|
|
762
|
+
schedule: z.ZodOptional<z.ZodObject<{
|
|
763
|
+
type: z.ZodEnum<{
|
|
764
|
+
daily: "daily";
|
|
765
|
+
hours: "hours";
|
|
766
|
+
weekdays: "weekdays";
|
|
767
|
+
weekly: "weekly";
|
|
768
|
+
}>;
|
|
769
|
+
hour: z.ZodOptional<z.ZodNumber>;
|
|
770
|
+
minute: z.ZodOptional<z.ZodNumber>;
|
|
771
|
+
day: z.ZodOptional<z.ZodNumber>;
|
|
772
|
+
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>]>>;
|
|
773
|
+
}, z.core.$strip>>;
|
|
653
774
|
task: z.ZodObject<{
|
|
654
775
|
workflow: z.ZodOptional<z.ZodString>;
|
|
655
776
|
steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -664,6 +785,7 @@ export declare const automationDetailResponseSchema: z.ZodObject<{
|
|
|
664
785
|
claude: "claude";
|
|
665
786
|
codex: "codex";
|
|
666
787
|
cursor: "cursor";
|
|
788
|
+
omp: "omp";
|
|
667
789
|
opencode: "opencode";
|
|
668
790
|
pi: "pi";
|
|
669
791
|
}>>;
|
|
@@ -682,6 +804,7 @@ export declare const automationDetailResponseSchema: z.ZodObject<{
|
|
|
682
804
|
claude: "claude";
|
|
683
805
|
codex: "codex";
|
|
684
806
|
cursor: "cursor";
|
|
807
|
+
omp: "omp";
|
|
685
808
|
opencode: "opencode";
|
|
686
809
|
pi: "pi";
|
|
687
810
|
}>>;
|
|
@@ -713,6 +836,8 @@ export declare const automationDetailResponseSchema: z.ZodObject<{
|
|
|
713
836
|
}, z.core.$strip>>;
|
|
714
837
|
nextCheckAt: z.ZodOptional<z.ZodString>;
|
|
715
838
|
lastSuccessAt: z.ZodOptional<z.ZodString>;
|
|
839
|
+
nextRunAt: z.ZodOptional<z.ZodString>;
|
|
840
|
+
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
716
841
|
etags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
717
842
|
backoffUntil: z.ZodOptional<z.ZodString>;
|
|
718
843
|
consecutiveFailures: z.ZodOptional<z.ZodNumber>;
|
|
@@ -730,9 +855,12 @@ export declare const automationDetailResponseSchema: z.ZodObject<{
|
|
|
730
855
|
}>>;
|
|
731
856
|
result: z.ZodEnum<{
|
|
732
857
|
baseline: "baseline";
|
|
858
|
+
"catch-up": "catch-up";
|
|
733
859
|
duplicate: "duplicate";
|
|
734
860
|
error: "error";
|
|
861
|
+
failed: "failed";
|
|
735
862
|
launched: "launched";
|
|
863
|
+
manual: "manual";
|
|
736
864
|
"no-match": "no-match";
|
|
737
865
|
preview: "preview";
|
|
738
866
|
"rate-limited": "rate-limited";
|
|
@@ -804,9 +932,12 @@ export declare const automationLogResponseSchema: z.ZodObject<{
|
|
|
804
932
|
}>>;
|
|
805
933
|
result: z.ZodEnum<{
|
|
806
934
|
baseline: "baseline";
|
|
935
|
+
"catch-up": "catch-up";
|
|
807
936
|
duplicate: "duplicate";
|
|
808
937
|
error: "error";
|
|
938
|
+
failed: "failed";
|
|
809
939
|
launched: "launched";
|
|
940
|
+
manual: "manual";
|
|
810
941
|
"no-match": "no-match";
|
|
811
942
|
preview: "preview";
|
|
812
943
|
"rate-limited": "rate-limited";
|
|
@@ -836,6 +967,11 @@ export declare const automationRetryResponseSchema: z.ZodObject<{
|
|
|
836
967
|
runId: z.ZodString;
|
|
837
968
|
}, z.core.$strip>;
|
|
838
969
|
export type AutomationRetryResponse = z.infer<typeof automationRetryResponseSchema>;
|
|
970
|
+
/** `POST /automations/:id/run` (202) — a schedule fired once by hand, and the run it created. */
|
|
971
|
+
export declare const automationRunResponseSchema: z.ZodObject<{
|
|
972
|
+
runId: z.ZodString;
|
|
973
|
+
}, z.core.$strip>;
|
|
974
|
+
export type AutomationRunResponse = z.infer<typeof automationRunResponseSchema>;
|
|
839
975
|
/**
|
|
840
976
|
* `POST /automations`. The definition minus everything the server owns — id, revision, the
|
|
841
977
|
* timestamps and `enabled`, which is not a body field: a definition is always created paused, and
|
|
@@ -844,14 +980,14 @@ export type AutomationRetryResponse = z.infer<typeof automationRetryResponseSche
|
|
|
844
980
|
export declare const createAutomationInputSchema: z.ZodObject<{
|
|
845
981
|
name: z.ZodString;
|
|
846
982
|
description: z.ZodOptional<z.ZodString>;
|
|
847
|
-
events: z.ZodArray<z.ZodEnum<{
|
|
983
|
+
events: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
848
984
|
"issue.labeled": "issue.labeled";
|
|
849
985
|
"issue.opened": "issue.opened";
|
|
850
986
|
"issue.unlabeled": "issue.unlabeled";
|
|
851
987
|
"pull_request.opened": "pull_request.opened";
|
|
852
|
-
}
|
|
853
|
-
intervalSeconds: z.ZodNumber
|
|
854
|
-
filters: z.ZodObject<{
|
|
988
|
+
}>>>;
|
|
989
|
+
intervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
990
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
855
991
|
authors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
856
992
|
assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
857
993
|
allLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -860,7 +996,19 @@ export declare const createAutomationInputSchema: z.ZodObject<{
|
|
|
860
996
|
changedLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
861
997
|
lookbackDays: z.ZodNumber;
|
|
862
998
|
maxRecords: z.ZodNumber;
|
|
863
|
-
}, z.core.$strip
|
|
999
|
+
}, z.core.$strip>>;
|
|
1000
|
+
schedule: z.ZodOptional<z.ZodObject<{
|
|
1001
|
+
type: z.ZodEnum<{
|
|
1002
|
+
daily: "daily";
|
|
1003
|
+
hours: "hours";
|
|
1004
|
+
weekdays: "weekdays";
|
|
1005
|
+
weekly: "weekly";
|
|
1006
|
+
}>;
|
|
1007
|
+
hour: z.ZodOptional<z.ZodNumber>;
|
|
1008
|
+
minute: z.ZodOptional<z.ZodNumber>;
|
|
1009
|
+
day: z.ZodOptional<z.ZodNumber>;
|
|
1010
|
+
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>]>>;
|
|
1011
|
+
}, z.core.$strip>>;
|
|
864
1012
|
task: z.ZodObject<{
|
|
865
1013
|
workflow: z.ZodOptional<z.ZodString>;
|
|
866
1014
|
steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -875,6 +1023,7 @@ export declare const createAutomationInputSchema: z.ZodObject<{
|
|
|
875
1023
|
claude: "claude";
|
|
876
1024
|
codex: "codex";
|
|
877
1025
|
cursor: "cursor";
|
|
1026
|
+
omp: "omp";
|
|
878
1027
|
opencode: "opencode";
|
|
879
1028
|
pi: "pi";
|
|
880
1029
|
}>>;
|
|
@@ -893,6 +1042,7 @@ export declare const createAutomationInputSchema: z.ZodObject<{
|
|
|
893
1042
|
claude: "claude";
|
|
894
1043
|
codex: "codex";
|
|
895
1044
|
cursor: "cursor";
|
|
1045
|
+
omp: "omp";
|
|
896
1046
|
opencode: "opencode";
|
|
897
1047
|
pi: "pi";
|
|
898
1048
|
}>>;
|
|
@@ -904,6 +1054,10 @@ export declare const createAutomationInputSchema: z.ZodObject<{
|
|
|
904
1054
|
variants: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
905
1055
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
906
1056
|
}, z.core.$strip>;
|
|
1057
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
1058
|
+
github: "github";
|
|
1059
|
+
schedule: "schedule";
|
|
1060
|
+
}>>;
|
|
907
1061
|
enable: z.ZodOptional<z.ZodBoolean>;
|
|
908
1062
|
}, z.core.$strip>;
|
|
909
1063
|
export type CreateAutomationInput = z.input<typeof createAutomationInputSchema>;
|
|
@@ -915,14 +1069,14 @@ export type CreateAutomationInput = z.input<typeof createAutomationInputSchema>;
|
|
|
915
1069
|
export declare const updateAutomationInputSchema: z.ZodObject<{
|
|
916
1070
|
name: z.ZodString;
|
|
917
1071
|
description: z.ZodOptional<z.ZodString>;
|
|
918
|
-
events: z.ZodArray<z.ZodEnum<{
|
|
1072
|
+
events: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
919
1073
|
"issue.labeled": "issue.labeled";
|
|
920
1074
|
"issue.opened": "issue.opened";
|
|
921
1075
|
"issue.unlabeled": "issue.unlabeled";
|
|
922
1076
|
"pull_request.opened": "pull_request.opened";
|
|
923
|
-
}
|
|
924
|
-
intervalSeconds: z.ZodNumber
|
|
925
|
-
filters: z.ZodObject<{
|
|
1077
|
+
}>>>;
|
|
1078
|
+
intervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
1079
|
+
filters: z.ZodOptional<z.ZodObject<{
|
|
926
1080
|
authors: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
927
1081
|
assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
928
1082
|
allLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -931,7 +1085,19 @@ export declare const updateAutomationInputSchema: z.ZodObject<{
|
|
|
931
1085
|
changedLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
932
1086
|
lookbackDays: z.ZodNumber;
|
|
933
1087
|
maxRecords: z.ZodNumber;
|
|
934
|
-
}, z.core.$strip
|
|
1088
|
+
}, z.core.$strip>>;
|
|
1089
|
+
schedule: z.ZodOptional<z.ZodObject<{
|
|
1090
|
+
type: z.ZodEnum<{
|
|
1091
|
+
daily: "daily";
|
|
1092
|
+
hours: "hours";
|
|
1093
|
+
weekdays: "weekdays";
|
|
1094
|
+
weekly: "weekly";
|
|
1095
|
+
}>;
|
|
1096
|
+
hour: z.ZodOptional<z.ZodNumber>;
|
|
1097
|
+
minute: z.ZodOptional<z.ZodNumber>;
|
|
1098
|
+
day: z.ZodOptional<z.ZodNumber>;
|
|
1099
|
+
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>]>>;
|
|
1100
|
+
}, z.core.$strip>>;
|
|
935
1101
|
task: z.ZodObject<{
|
|
936
1102
|
workflow: z.ZodOptional<z.ZodString>;
|
|
937
1103
|
steps: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -946,6 +1112,7 @@ export declare const updateAutomationInputSchema: z.ZodObject<{
|
|
|
946
1112
|
claude: "claude";
|
|
947
1113
|
codex: "codex";
|
|
948
1114
|
cursor: "cursor";
|
|
1115
|
+
omp: "omp";
|
|
949
1116
|
opencode: "opencode";
|
|
950
1117
|
pi: "pi";
|
|
951
1118
|
}>>;
|
|
@@ -964,6 +1131,7 @@ export declare const updateAutomationInputSchema: z.ZodObject<{
|
|
|
964
1131
|
claude: "claude";
|
|
965
1132
|
codex: "codex";
|
|
966
1133
|
cursor: "cursor";
|
|
1134
|
+
omp: "omp";
|
|
967
1135
|
opencode: "opencode";
|
|
968
1136
|
pi: "pi";
|
|
969
1137
|
}>>;
|
|
@@ -975,6 +1143,10 @@ export declare const updateAutomationInputSchema: z.ZodObject<{
|
|
|
975
1143
|
variants: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
|
|
976
1144
|
systemPrompt: z.ZodOptional<z.ZodString>;
|
|
977
1145
|
}, z.core.$strip>;
|
|
1146
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
1147
|
+
github: "github";
|
|
1148
|
+
schedule: "schedule";
|
|
1149
|
+
}>>;
|
|
978
1150
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
979
1151
|
expectedRevision: z.ZodNumber;
|
|
980
1152
|
}, z.core.$strip>;
|