@canhta/dsh-autopilot 0.1.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +41 -0
- package/CONTEXT.md +39 -0
- package/LICENSE +21 -0
- package/README.md +95 -0
- package/cordis.patch.yml +13 -0
- package/deploy/dsh-autopilot.service +26 -0
- package/docs/CONTRIBUTING.md +60 -0
- package/docs/README.md +34 -0
- package/docs/agents/domain.md +7 -0
- package/docs/agents/issue-tracker.md +21 -0
- package/docs/agents/triage-labels.md +13 -0
- package/docs/assets/banner.png +0 -0
- package/docs/deployment.md +138 -0
- package/docs/engineering.md +43 -0
- package/docs/specs/execution.md +65 -0
- package/docs/specs/integrations.md +89 -0
- package/docs/specs/lifecycle.md +81 -0
- package/docs/specs/operations.md +89 -0
- package/docs/specs/plugin.md +49 -0
- package/docs/specs/providers.md +62 -0
- package/docs/specs/scope.md +35 -0
- package/docs/specs/ui-components.md +96 -0
- package/docs/specs/web-ui.md +64 -0
- package/lib/admission/cancellation-control.d.ts +11 -0
- package/lib/admission/cancellation-control.js +72 -0
- package/lib/admission/cancellation-control.js.map +1 -0
- package/lib/admission/candidates.d.ts +2 -0
- package/lib/admission/candidates.js +23 -0
- package/lib/admission/candidates.js.map +1 -0
- package/lib/admission/composition-claim.d.ts +10 -0
- package/lib/admission/composition-claim.js +13 -0
- package/lib/admission/composition-claim.js.map +1 -0
- package/lib/admission/constants.d.ts +12 -0
- package/lib/admission/constants.js +13 -0
- package/lib/admission/constants.js.map +1 -0
- package/lib/admission/deliveries.d.ts +6 -0
- package/lib/admission/deliveries.js +175 -0
- package/lib/admission/deliveries.js.map +1 -0
- package/lib/admission/delivery-control.d.ts +28 -0
- package/lib/admission/delivery-control.js +294 -0
- package/lib/admission/delivery-control.js.map +1 -0
- package/lib/admission/execution-control.d.ts +29 -0
- package/lib/admission/execution-control.js +177 -0
- package/lib/admission/execution-control.js.map +1 -0
- package/lib/admission/index.d.ts +4 -0
- package/lib/admission/index.js +4 -0
- package/lib/admission/index.js.map +1 -0
- package/lib/admission/model.d.ts +296 -0
- package/lib/admission/model.js +13 -0
- package/lib/admission/model.js.map +1 -0
- package/lib/admission/pause-control.d.ts +44 -0
- package/lib/admission/pause-control.js +220 -0
- package/lib/admission/pause-control.js.map +1 -0
- package/lib/admission/policy.d.ts +39 -0
- package/lib/admission/policy.js +238 -0
- package/lib/admission/policy.js.map +1 -0
- package/lib/admission/ports.d.ts +13 -0
- package/lib/admission/ports.js +2 -0
- package/lib/admission/ports.js.map +1 -0
- package/lib/admission/publication-control.d.ts +16 -0
- package/lib/admission/publication-control.js +153 -0
- package/lib/admission/publication-control.js.map +1 -0
- package/lib/admission/reconciler.d.ts +7 -0
- package/lib/admission/reconciler.js +121 -0
- package/lib/admission/reconciler.js.map +1 -0
- package/lib/admission/resume-control.d.ts +27 -0
- package/lib/admission/resume-control.js +213 -0
- package/lib/admission/resume-control.js.map +1 -0
- package/lib/admission/run-fence.d.ts +11 -0
- package/lib/admission/run-fence.js +49 -0
- package/lib/admission/run-fence.js.map +1 -0
- package/lib/admission/service.d.ts +130 -0
- package/lib/admission/service.js +415 -0
- package/lib/admission/service.js.map +1 -0
- package/lib/admission/state-domain.d.ts +11 -0
- package/lib/admission/state-domain.js +33 -0
- package/lib/admission/state-domain.js.map +1 -0
- package/lib/admission/state-integrity.d.ts +19 -0
- package/lib/admission/state-integrity.js +102 -0
- package/lib/admission/state-integrity.js.map +1 -0
- package/lib/admission/state-migration.d.ts +4 -0
- package/lib/admission/state-migration.js +46 -0
- package/lib/admission/state-migration.js.map +1 -0
- package/lib/admission/state.d.ts +4524 -0
- package/lib/admission/state.js +394 -0
- package/lib/admission/state.js.map +1 -0
- package/lib/admission.d.ts +1 -0
- package/lib/admission.js +2 -0
- package/lib/admission.js.map +1 -0
- package/lib/client-types/client/OperationsAtoms.d.ts +30 -0
- package/lib/client-types/client/OperationsPanel.d.ts +34 -0
- package/lib/client-types/client/RunsView.d.ts +14 -0
- package/lib/client-types/client/SettingsCapabilitySections.d.ts +16 -0
- package/lib/client-types/client/SettingsPanel.d.ts +40 -0
- package/lib/client-types/client/SettingsPolicySections.d.ts +13 -0
- package/lib/client-types/client/SettingsProviderSection.d.ts +21 -0
- package/lib/client-types/client/SummaryView.d.ts +10 -0
- package/lib/client-types/client/WorktreesView.d.ts +9 -0
- package/lib/client-types/client/index.d.ts +9 -0
- package/lib/client-types/client/locales/en.d.ts +154 -0
- package/lib/client-types/client/locales/index.d.ts +9 -0
- package/lib/client-types/client/locales/zh.d.ts +155 -0
- package/lib/client-types/client/settings-draft.d.ts +29 -0
- package/lib/client-types/client/state.d.ts +63 -0
- package/lib/client-types/code-host/index.d.ts +2 -0
- package/lib/client-types/code-host/model.d.ts +118 -0
- package/lib/client-types/code-host/registry.d.ts +23 -0
- package/lib/client-types/code-host/validation.d.ts +51 -0
- package/lib/client-types/code-host.d.ts +2 -0
- package/lib/client-types/config/index.d.ts +2 -0
- package/lib/client-types/config/settings.d.ts +51 -0
- package/lib/client-types/config.d.ts +2 -0
- package/lib/client-types/notification/index.d.ts +2 -0
- package/lib/client-types/notification/model.d.ts +57 -0
- package/lib/client-types/notification/registry.d.ts +16 -0
- package/lib/client-types/notification.d.ts +2 -0
- package/lib/client-types/providers/generation-registry.d.ts +20 -0
- package/lib/client-types/remote.d.ts +65 -0
- package/lib/client-types/tracker/index.d.ts +2 -0
- package/lib/client-types/tracker/model.d.ts +222 -0
- package/lib/client-types/tracker/registry.d.ts +49 -0
- package/lib/client-types/tracker/validation.d.ts +60 -0
- package/lib/client-types/tracker.d.ts +2 -0
- package/lib/client-types/web/contract.d.ts +958 -0
- package/lib/client.js +7961 -0
- package/lib/client.js.map +1 -0
- package/lib/code-host/index.d.ts +2 -0
- package/lib/code-host/index.js +3 -0
- package/lib/code-host/index.js.map +1 -0
- package/lib/code-host/model.d.ts +118 -0
- package/lib/code-host/model.js +23 -0
- package/lib/code-host/model.js.map +1 -0
- package/lib/code-host/registry.d.ts +23 -0
- package/lib/code-host/registry.js +90 -0
- package/lib/code-host/registry.js.map +1 -0
- package/lib/code-host/validation.d.ts +51 -0
- package/lib/code-host/validation.js +30 -0
- package/lib/code-host/validation.js.map +1 -0
- package/lib/code-host.d.ts +2 -0
- package/lib/code-host.js +3 -0
- package/lib/code-host.js.map +1 -0
- package/lib/config/index.d.ts +2 -0
- package/lib/config/index.js +3 -0
- package/lib/config/index.js.map +1 -0
- package/lib/config/settings.d.ts +51 -0
- package/lib/config/settings.js +195 -0
- package/lib/config/settings.js.map +1 -0
- package/lib/config.d.ts +2 -0
- package/lib/config.js +3 -0
- package/lib/config.js.map +1 -0
- package/lib/delivery/index.d.ts +1 -0
- package/lib/delivery/index.js +2 -0
- package/lib/delivery/index.js.map +1 -0
- package/lib/delivery/service.d.ts +29 -0
- package/lib/delivery/service.js +140 -0
- package/lib/delivery/service.js.map +1 -0
- package/lib/delivery.d.ts +2 -0
- package/lib/delivery.js +3 -0
- package/lib/delivery.js.map +1 -0
- package/lib/dispatch/composition.d.ts +18 -0
- package/lib/dispatch/composition.js +109 -0
- package/lib/dispatch/composition.js.map +1 -0
- package/lib/dispatch/contract.d.ts +2 -0
- package/lib/dispatch/contract.js +2 -0
- package/lib/dispatch/contract.js.map +1 -0
- package/lib/dispatch/execute.d.ts +10 -0
- package/lib/dispatch/execute.js +138 -0
- package/lib/dispatch/execute.js.map +1 -0
- package/lib/dispatch/execution-state.d.ts +12 -0
- package/lib/dispatch/execution-state.js +24 -0
- package/lib/dispatch/execution-state.js.map +1 -0
- package/lib/dispatch/git.d.ts +5 -0
- package/lib/dispatch/git.js +95 -0
- package/lib/dispatch/git.js.map +1 -0
- package/lib/dispatch/index.d.ts +2 -0
- package/lib/dispatch/index.js +2 -0
- package/lib/dispatch/index.js.map +1 -0
- package/lib/dispatch/report.d.ts +11 -0
- package/lib/dispatch/report.js +141 -0
- package/lib/dispatch/report.js.map +1 -0
- package/lib/dispatch/resume.d.ts +17 -0
- package/lib/dispatch/resume.js +89 -0
- package/lib/dispatch/resume.js.map +1 -0
- package/lib/dispatch/service.d.ts +56 -0
- package/lib/dispatch/service.js +231 -0
- package/lib/dispatch/service.js.map +1 -0
- package/lib/dispatch/usage.d.ts +10 -0
- package/lib/dispatch/usage.js +47 -0
- package/lib/dispatch/usage.js.map +1 -0
- package/lib/dispatch.d.ts +2 -0
- package/lib/dispatch.js +3 -0
- package/lib/dispatch.js.map +1 -0
- package/lib/github-code-host.d.ts +1 -0
- package/lib/github-code-host.js +2 -0
- package/lib/github-code-host.js.map +1 -0
- package/lib/github-issues.d.ts +1 -0
- package/lib/github-issues.js +2 -0
- package/lib/github-issues.js.map +1 -0
- package/lib/index.d.ts +21 -0
- package/lib/index.js +48 -0
- package/lib/index.js.map +1 -0
- package/lib/ingress.d.ts +2 -0
- package/lib/ingress.js +3 -0
- package/lib/ingress.js.map +1 -0
- package/lib/jira.d.ts +1 -0
- package/lib/jira.js +2 -0
- package/lib/jira.js.map +1 -0
- package/lib/mcp/contracts.d.ts +21 -0
- package/lib/mcp/contracts.js +33 -0
- package/lib/mcp/contracts.js.map +1 -0
- package/lib/mcp/cursor.d.ts +10 -0
- package/lib/mcp/cursor.js +68 -0
- package/lib/mcp/cursor.js.map +1 -0
- package/lib/mcp/definition.d.ts +8 -0
- package/lib/mcp/definition.js +43 -0
- package/lib/mcp/definition.js.map +1 -0
- package/lib/mcp/index.d.ts +6 -0
- package/lib/mcp/index.js +7 -0
- package/lib/mcp/index.js.map +1 -0
- package/lib/mcp/json.d.ts +4 -0
- package/lib/mcp/json.js +20 -0
- package/lib/mcp/json.js.map +1 -0
- package/lib/mcp/mount.d.ts +17 -0
- package/lib/mcp/mount.js +79 -0
- package/lib/mcp/mount.js.map +1 -0
- package/lib/mcp/read-tools.d.ts +27 -0
- package/lib/mcp/read-tools.js +149 -0
- package/lib/mcp/read-tools.js.map +1 -0
- package/lib/notification/index.d.ts +2 -0
- package/lib/notification/index.js +3 -0
- package/lib/notification/index.js.map +1 -0
- package/lib/notification/model.d.ts +57 -0
- package/lib/notification/model.js +20 -0
- package/lib/notification/model.js.map +1 -0
- package/lib/notification/registry.d.ts +16 -0
- package/lib/notification/registry.js +67 -0
- package/lib/notification/registry.js.map +1 -0
- package/lib/notification.d.ts +2 -0
- package/lib/notification.js +3 -0
- package/lib/notification.js.map +1 -0
- package/lib/ntfy-notification.d.ts +1 -0
- package/lib/ntfy-notification.js +2 -0
- package/lib/ntfy-notification.js.map +1 -0
- package/lib/operations/cleanup-inspector.d.ts +16 -0
- package/lib/operations/cleanup-inspector.js +132 -0
- package/lib/operations/cleanup-inspector.js.map +1 -0
- package/lib/operations/cleanup.d.ts +25 -0
- package/lib/operations/cleanup.js +151 -0
- package/lib/operations/cleanup.js.map +1 -0
- package/lib/operations/disposition.d.ts +46 -0
- package/lib/operations/disposition.js +89 -0
- package/lib/operations/disposition.js.map +1 -0
- package/lib/operations/health.d.ts +6 -0
- package/lib/operations/health.js +41 -0
- package/lib/operations/health.js.map +1 -0
- package/lib/operations/index.d.ts +6 -0
- package/lib/operations/index.js +7 -0
- package/lib/operations/index.js.map +1 -0
- package/lib/operations/inspection.d.ts +35 -0
- package/lib/operations/inspection.js +183 -0
- package/lib/operations/inspection.js.map +1 -0
- package/lib/operations/model.d.ts +77 -0
- package/lib/operations/model.js +2 -0
- package/lib/operations/model.js.map +1 -0
- package/lib/operations/recovery.d.ts +11 -0
- package/lib/operations/recovery.js +101 -0
- package/lib/operations/recovery.js.map +1 -0
- package/lib/operations/retention.d.ts +28 -0
- package/lib/operations/retention.js +105 -0
- package/lib/operations/retention.js.map +1 -0
- package/lib/operations/runtime-owner.d.ts +54 -0
- package/lib/operations/runtime-owner.js +281 -0
- package/lib/operations/runtime-owner.js.map +1 -0
- package/lib/operations/service.d.ts +55 -0
- package/lib/operations/service.js +154 -0
- package/lib/operations/service.js.map +1 -0
- package/lib/operations/state.d.ts +79 -0
- package/lib/operations/state.js +51 -0
- package/lib/operations/state.js.map +1 -0
- package/lib/operations/storage-composition.d.ts +16 -0
- package/lib/operations/storage-composition.js +61 -0
- package/lib/operations/storage-composition.js.map +1 -0
- package/lib/operations/store.d.ts +16 -0
- package/lib/operations/store.js +84 -0
- package/lib/operations/store.js.map +1 -0
- package/lib/operations.d.ts +2 -0
- package/lib/operations.js +3 -0
- package/lib/operations.js.map +1 -0
- package/lib/providers/generation-registry.d.ts +20 -0
- package/lib/providers/generation-registry.js +72 -0
- package/lib/providers/generation-registry.js.map +1 -0
- package/lib/providers/github-code-host/contracts.d.ts +224 -0
- package/lib/providers/github-code-host/contracts.js +144 -0
- package/lib/providers/github-code-host/contracts.js.map +1 -0
- package/lib/providers/github-code-host/index.d.ts +2 -0
- package/lib/providers/github-code-host/index.js +2 -0
- package/lib/providers/github-code-host/index.js.map +1 -0
- package/lib/providers/github-code-host/provider.d.ts +5 -0
- package/lib/providers/github-code-host/provider.js +289 -0
- package/lib/providers/github-code-host/provider.js.map +1 -0
- package/lib/providers/github-code-host/schemas.d.ts +81 -0
- package/lib/providers/github-code-host/schemas.js +39 -0
- package/lib/providers/github-code-host/schemas.js.map +1 -0
- package/lib/providers/github-code-host/settings.d.ts +16 -0
- package/lib/providers/github-code-host/settings.js +65 -0
- package/lib/providers/github-code-host/settings.js.map +1 -0
- package/lib/providers/github-issues/contracts.d.ts +151 -0
- package/lib/providers/github-issues/contracts.js +141 -0
- package/lib/providers/github-issues/contracts.js.map +1 -0
- package/lib/providers/github-issues/index.d.ts +1 -0
- package/lib/providers/github-issues/index.js +2 -0
- package/lib/providers/github-issues/index.js.map +1 -0
- package/lib/providers/github-issues/ingress.d.ts +8 -0
- package/lib/providers/github-issues/ingress.js +80 -0
- package/lib/providers/github-issues/ingress.js.map +1 -0
- package/lib/providers/github-issues/normalization.d.ts +11 -0
- package/lib/providers/github-issues/normalization.js +115 -0
- package/lib/providers/github-issues/normalization.js.map +1 -0
- package/lib/providers/github-issues/provider.d.ts +6 -0
- package/lib/providers/github-issues/provider.js +235 -0
- package/lib/providers/github-issues/provider.js.map +1 -0
- package/lib/providers/github-issues/schemas.d.ts +123 -0
- package/lib/providers/github-issues/schemas.js +58 -0
- package/lib/providers/github-issues/schemas.js.map +1 -0
- package/lib/providers/github-issues/settings.d.ts +27 -0
- package/lib/providers/github-issues/settings.js +154 -0
- package/lib/providers/github-issues/settings.js.map +1 -0
- package/lib/providers/jira/contracts.d.ts +193 -0
- package/lib/providers/jira/contracts.js +133 -0
- package/lib/providers/jira/contracts.js.map +1 -0
- package/lib/providers/jira/index.d.ts +1 -0
- package/lib/providers/jira/index.js +2 -0
- package/lib/providers/jira/index.js.map +1 -0
- package/lib/providers/jira/ingress.d.ts +4 -0
- package/lib/providers/jira/ingress.js +60 -0
- package/lib/providers/jira/ingress.js.map +1 -0
- package/lib/providers/jira/normalization.d.ts +8 -0
- package/lib/providers/jira/normalization.js +121 -0
- package/lib/providers/jira/normalization.js.map +1 -0
- package/lib/providers/jira/provider.d.ts +6 -0
- package/lib/providers/jira/provider.js +317 -0
- package/lib/providers/jira/provider.js.map +1 -0
- package/lib/providers/jira/schemas.d.ts +134 -0
- package/lib/providers/jira/schemas.js +76 -0
- package/lib/providers/jira/schemas.js.map +1 -0
- package/lib/providers/jira/settings.d.ts +32 -0
- package/lib/providers/jira/settings.js +163 -0
- package/lib/providers/jira/settings.js.map +1 -0
- package/lib/providers/notification-http.d.ts +13 -0
- package/lib/providers/notification-http.js +136 -0
- package/lib/providers/notification-http.js.map +1 -0
- package/lib/providers/ntfy-notification/index.d.ts +2 -0
- package/lib/providers/ntfy-notification/index.js +2 -0
- package/lib/providers/ntfy-notification/index.js.map +1 -0
- package/lib/providers/ntfy-notification/provider.d.ts +4 -0
- package/lib/providers/ntfy-notification/provider.js +89 -0
- package/lib/providers/ntfy-notification/provider.js.map +1 -0
- package/lib/providers/ntfy-notification/settings.d.ts +12 -0
- package/lib/providers/ntfy-notification/settings.js +34 -0
- package/lib/providers/ntfy-notification/settings.js.map +1 -0
- package/lib/providers/webhook-notification/index.d.ts +2 -0
- package/lib/providers/webhook-notification/index.js +2 -0
- package/lib/providers/webhook-notification/index.js.map +1 -0
- package/lib/providers/webhook-notification/provider.d.ts +4 -0
- package/lib/providers/webhook-notification/provider.js +57 -0
- package/lib/providers/webhook-notification/provider.js.map +1 -0
- package/lib/providers/webhook-notification/settings.d.ts +11 -0
- package/lib/providers/webhook-notification/settings.js +31 -0
- package/lib/providers/webhook-notification/settings.js.map +1 -0
- package/lib/publication/git.d.ts +7 -0
- package/lib/publication/git.js +154 -0
- package/lib/publication/git.js.map +1 -0
- package/lib/publication/index.d.ts +1 -0
- package/lib/publication/index.js +2 -0
- package/lib/publication/index.js.map +1 -0
- package/lib/publication/service.d.ts +27 -0
- package/lib/publication/service.js +166 -0
- package/lib/publication/service.js.map +1 -0
- package/lib/publication.d.ts +2 -0
- package/lib/publication.js +3 -0
- package/lib/publication.js.map +1 -0
- package/lib/reconciliation/index.d.ts +3 -0
- package/lib/reconciliation/index.js +4 -0
- package/lib/reconciliation/index.js.map +1 -0
- package/lib/reconciliation/ingress.d.ts +21 -0
- package/lib/reconciliation/ingress.js +168 -0
- package/lib/reconciliation/ingress.js.map +1 -0
- package/lib/reconciliation/service.d.ts +75 -0
- package/lib/reconciliation/service.js +228 -0
- package/lib/reconciliation/service.js.map +1 -0
- package/lib/reconciliation.d.ts +2 -0
- package/lib/reconciliation.js +3 -0
- package/lib/reconciliation.js.map +1 -0
- package/lib/remote.d.ts +65 -0
- package/lib/remote.js +135 -0
- package/lib/remote.js.map +1 -0
- package/lib/tracker/index.d.ts +2 -0
- package/lib/tracker/index.js +3 -0
- package/lib/tracker/index.js.map +1 -0
- package/lib/tracker/model.d.ts +222 -0
- package/lib/tracker/model.js +66 -0
- package/lib/tracker/model.js.map +1 -0
- package/lib/tracker/registry.d.ts +49 -0
- package/lib/tracker/registry.js +213 -0
- package/lib/tracker/registry.js.map +1 -0
- package/lib/tracker/validation.d.ts +60 -0
- package/lib/tracker/validation.js +52 -0
- package/lib/tracker/validation.js.map +1 -0
- package/lib/tracker.d.ts +2 -0
- package/lib/tracker.js +3 -0
- package/lib/tracker.js.map +1 -0
- package/lib/typert.d.ts +1 -0
- package/lib/typert.js +2 -0
- package/lib/typert.js.map +1 -0
- package/lib/web/commands.d.ts +18 -0
- package/lib/web/commands.js +231 -0
- package/lib/web/commands.js.map +1 -0
- package/lib/web/contract.d.ts +958 -0
- package/lib/web/contract.js +230 -0
- package/lib/web/contract.js.map +1 -0
- package/lib/web/contributions.d.ts +41 -0
- package/lib/web/contributions.js +61 -0
- package/lib/web/contributions.js.map +1 -0
- package/lib/web/integrations.d.ts +13 -0
- package/lib/web/integrations.js +95 -0
- package/lib/web/integrations.js.map +1 -0
- package/lib/web/projection.d.ts +10 -0
- package/lib/web/projection.js +192 -0
- package/lib/web/projection.js.map +1 -0
- package/lib/web/service.d.ts +31 -0
- package/lib/web/service.js +141 -0
- package/lib/web/service.js.map +1 -0
- package/lib/web.d.ts +5 -0
- package/lib/web.js +6 -0
- package/lib/web.js.map +1 -0
- package/lib/webhook-notification.d.ts +1 -0
- package/lib/webhook-notification.js +2 -0
- package/lib/webhook-notification.js.map +1 -0
- package/lib/workflow/index.d.ts +1 -0
- package/lib/workflow/index.js +2 -0
- package/lib/workflow/index.js.map +1 -0
- package/lib/workflow/service.d.ts +31 -0
- package/lib/workflow/service.js +220 -0
- package/lib/workflow/service.js.map +1 -0
- package/lib/workflow.d.ts +2 -0
- package/lib/workflow.js +3 -0
- package/lib/workflow.js.map +1 -0
- package/package.json +276 -0
|
@@ -0,0 +1,958 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const runLifecycleSchema: z.ZodEnum<{
|
|
3
|
+
blocked: "blocked";
|
|
4
|
+
cancelled: "cancelled";
|
|
5
|
+
completed: "completed";
|
|
6
|
+
failed: "failed";
|
|
7
|
+
implementing: "implementing";
|
|
8
|
+
paused: "paused";
|
|
9
|
+
pausing: "pausing";
|
|
10
|
+
publishing: "publishing";
|
|
11
|
+
queued: "queued";
|
|
12
|
+
}>;
|
|
13
|
+
export type RunLifecycle = z.infer<typeof runLifecycleSchema>;
|
|
14
|
+
export declare const operationsQuerySchema: z.ZodObject<{
|
|
15
|
+
offset: z.ZodDefault<z.ZodNumber>;
|
|
16
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
17
|
+
search: z.ZodOptional<z.ZodString>;
|
|
18
|
+
states: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
19
|
+
blocked: "blocked";
|
|
20
|
+
cancelled: "cancelled";
|
|
21
|
+
completed: "completed";
|
|
22
|
+
failed: "failed";
|
|
23
|
+
implementing: "implementing";
|
|
24
|
+
paused: "paused";
|
|
25
|
+
pausing: "pausing";
|
|
26
|
+
publishing: "publishing";
|
|
27
|
+
queued: "queued";
|
|
28
|
+
}>>>;
|
|
29
|
+
attentionOnly: z.ZodOptional<z.ZodBoolean>;
|
|
30
|
+
}, z.core.$strip>;
|
|
31
|
+
export type OperationsQuery = z.infer<typeof operationsQuerySchema>;
|
|
32
|
+
export declare const providerViewSchema: z.ZodObject<{
|
|
33
|
+
id: z.ZodString;
|
|
34
|
+
displayName: z.ZodString;
|
|
35
|
+
configurationNamespace: z.ZodString;
|
|
36
|
+
selected: z.ZodBoolean;
|
|
37
|
+
availability: z.ZodEnum<{
|
|
38
|
+
available: "available";
|
|
39
|
+
unavailable: "unavailable";
|
|
40
|
+
}>;
|
|
41
|
+
setup: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
42
|
+
status: z.ZodLiteral<"available">;
|
|
43
|
+
mcpServerName: z.ZodString;
|
|
44
|
+
resources: z.ZodArray<z.ZodObject<{
|
|
45
|
+
label: z.ZodString;
|
|
46
|
+
value: z.ZodString;
|
|
47
|
+
}, z.core.$strip>>;
|
|
48
|
+
credentialRefs: z.ZodArray<z.ZodObject<{
|
|
49
|
+
label: z.ZodString;
|
|
50
|
+
ref: z.ZodString;
|
|
51
|
+
}, z.core.$strip>>;
|
|
52
|
+
lookup: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
53
|
+
status: z.ZodLiteral<"available">;
|
|
54
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
55
|
+
status: z.ZodLiteral<"unavailable">;
|
|
56
|
+
reason: z.ZodString;
|
|
57
|
+
}, z.core.$strip>], "status">;
|
|
58
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
59
|
+
status: z.ZodLiteral<"unavailable">;
|
|
60
|
+
reason: z.ZodString;
|
|
61
|
+
}, z.core.$strip>], "status">;
|
|
62
|
+
}, z.core.$strip>;
|
|
63
|
+
export type ProviderView = z.infer<typeof providerViewSchema>;
|
|
64
|
+
export declare const providerSetupViewSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
65
|
+
status: z.ZodLiteral<"available">;
|
|
66
|
+
mcpServerName: z.ZodString;
|
|
67
|
+
resources: z.ZodArray<z.ZodObject<{
|
|
68
|
+
label: z.ZodString;
|
|
69
|
+
value: z.ZodString;
|
|
70
|
+
}, z.core.$strip>>;
|
|
71
|
+
credentialRefs: z.ZodArray<z.ZodObject<{
|
|
72
|
+
label: z.ZodString;
|
|
73
|
+
ref: z.ZodString;
|
|
74
|
+
}, z.core.$strip>>;
|
|
75
|
+
lookup: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
76
|
+
status: z.ZodLiteral<"available">;
|
|
77
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
78
|
+
status: z.ZodLiteral<"unavailable">;
|
|
79
|
+
reason: z.ZodString;
|
|
80
|
+
}, z.core.$strip>], "status">;
|
|
81
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
82
|
+
status: z.ZodLiteral<"unavailable">;
|
|
83
|
+
reason: z.ZodString;
|
|
84
|
+
}, z.core.$strip>], "status">;
|
|
85
|
+
export type ProviderSetupView = z.infer<typeof providerSetupViewSchema>;
|
|
86
|
+
export declare const usageViewSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
87
|
+
kind: z.ZodLiteral<"known">;
|
|
88
|
+
settled: z.ZodNumber;
|
|
89
|
+
reserved: z.ZodNumber;
|
|
90
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
91
|
+
kind: z.ZodLiteral<"unknown">;
|
|
92
|
+
reason: z.ZodString;
|
|
93
|
+
}, z.core.$strip>]>;
|
|
94
|
+
export type UsageView = z.infer<typeof usageViewSchema>;
|
|
95
|
+
export declare const externalReferenceSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
96
|
+
status: z.ZodLiteral<"available">;
|
|
97
|
+
url: z.ZodString;
|
|
98
|
+
label: z.ZodString;
|
|
99
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
100
|
+
status: z.ZodLiteral<"unknown">;
|
|
101
|
+
reason: z.ZodString;
|
|
102
|
+
}, z.core.$strip>]>;
|
|
103
|
+
export type ExternalReferenceView = z.infer<typeof externalReferenceSchema>;
|
|
104
|
+
export declare const worktreeViewSchema: z.ZodObject<{
|
|
105
|
+
path: z.ZodString;
|
|
106
|
+
branch: z.ZodString;
|
|
107
|
+
head: z.ZodOptional<z.ZodString>;
|
|
108
|
+
state: z.ZodEnum<{
|
|
109
|
+
active: "active";
|
|
110
|
+
"cleanup-eligible": "cleanup-eligible";
|
|
111
|
+
missing: "missing";
|
|
112
|
+
retained: "retained";
|
|
113
|
+
unknown: "unknown";
|
|
114
|
+
unsafe: "unsafe";
|
|
115
|
+
}>;
|
|
116
|
+
dirty: z.ZodUnion<readonly [z.ZodObject<{
|
|
117
|
+
status: z.ZodLiteral<"known">;
|
|
118
|
+
value: z.ZodBoolean;
|
|
119
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
120
|
+
status: z.ZodLiteral<"unknown">;
|
|
121
|
+
reason: z.ZodString;
|
|
122
|
+
}, z.core.$strip>]>;
|
|
123
|
+
untracked: z.ZodUnion<readonly [z.ZodObject<{
|
|
124
|
+
status: z.ZodLiteral<"known">;
|
|
125
|
+
value: z.ZodBoolean;
|
|
126
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
127
|
+
status: z.ZodLiteral<"unknown">;
|
|
128
|
+
reason: z.ZodString;
|
|
129
|
+
}, z.core.$strip>]>;
|
|
130
|
+
unpushed: z.ZodUnion<readonly [z.ZodObject<{
|
|
131
|
+
status: z.ZodLiteral<"known">;
|
|
132
|
+
value: z.ZodBoolean;
|
|
133
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
134
|
+
status: z.ZodLiteral<"unknown">;
|
|
135
|
+
reason: z.ZodString;
|
|
136
|
+
}, z.core.$strip>]>;
|
|
137
|
+
pullRequestDisposition: z.ZodEnum<{
|
|
138
|
+
"closed-unmerged": "closed-unmerged";
|
|
139
|
+
merged: "merged";
|
|
140
|
+
open: "open";
|
|
141
|
+
unknown: "unknown";
|
|
142
|
+
}>;
|
|
143
|
+
cleanup: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
144
|
+
status: z.ZodLiteral<"available">;
|
|
145
|
+
eligible: z.ZodBoolean;
|
|
146
|
+
rejections: z.ZodArray<z.ZodEnum<{
|
|
147
|
+
"dirty-files": "dirty-files";
|
|
148
|
+
"external-intent-unresolved": "external-intent-unresolved";
|
|
149
|
+
"ownership-unproven": "ownership-unproven";
|
|
150
|
+
"pr-closed-unmerged": "pr-closed-unmerged";
|
|
151
|
+
"pr-open": "pr-open";
|
|
152
|
+
"pr-unknown": "pr-unknown";
|
|
153
|
+
"recovery-required": "recovery-required";
|
|
154
|
+
"retention-not-met": "retention-not-met";
|
|
155
|
+
"run-active": "run-active";
|
|
156
|
+
"run-blocked": "run-blocked";
|
|
157
|
+
"run-failed": "run-failed";
|
|
158
|
+
"run-paused": "run-paused";
|
|
159
|
+
"run-publishing": "run-publishing";
|
|
160
|
+
"unpushed-commits": "unpushed-commits";
|
|
161
|
+
"untracked-files": "untracked-files";
|
|
162
|
+
"worktree-missing": "worktree-missing";
|
|
163
|
+
}>>;
|
|
164
|
+
removableBytes: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unknown">]>;
|
|
165
|
+
retentionReference: z.ZodOptional<z.ZodString>;
|
|
166
|
+
retentionEligibleAt: z.ZodOptional<z.ZodString>;
|
|
167
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
168
|
+
status: z.ZodLiteral<"unavailable">;
|
|
169
|
+
reason: z.ZodString;
|
|
170
|
+
}, z.core.$strip>], "status">;
|
|
171
|
+
}, z.core.$strip>;
|
|
172
|
+
export type WorktreeView = z.infer<typeof worktreeViewSchema>;
|
|
173
|
+
export declare const cleanupPreviewViewSchema: z.ZodObject<{
|
|
174
|
+
path: z.ZodString;
|
|
175
|
+
branch: z.ZodString;
|
|
176
|
+
head: z.ZodOptional<z.ZodString>;
|
|
177
|
+
state: z.ZodEnum<{
|
|
178
|
+
active: "active";
|
|
179
|
+
"cleanup-eligible": "cleanup-eligible";
|
|
180
|
+
missing: "missing";
|
|
181
|
+
retained: "retained";
|
|
182
|
+
unknown: "unknown";
|
|
183
|
+
unsafe: "unsafe";
|
|
184
|
+
}>;
|
|
185
|
+
dirty: z.ZodUnion<readonly [z.ZodObject<{
|
|
186
|
+
status: z.ZodLiteral<"known">;
|
|
187
|
+
value: z.ZodBoolean;
|
|
188
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
189
|
+
status: z.ZodLiteral<"unknown">;
|
|
190
|
+
reason: z.ZodString;
|
|
191
|
+
}, z.core.$strip>]>;
|
|
192
|
+
untracked: z.ZodUnion<readonly [z.ZodObject<{
|
|
193
|
+
status: z.ZodLiteral<"known">;
|
|
194
|
+
value: z.ZodBoolean;
|
|
195
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
196
|
+
status: z.ZodLiteral<"unknown">;
|
|
197
|
+
reason: z.ZodString;
|
|
198
|
+
}, z.core.$strip>]>;
|
|
199
|
+
unpushed: z.ZodUnion<readonly [z.ZodObject<{
|
|
200
|
+
status: z.ZodLiteral<"known">;
|
|
201
|
+
value: z.ZodBoolean;
|
|
202
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
203
|
+
status: z.ZodLiteral<"unknown">;
|
|
204
|
+
reason: z.ZodString;
|
|
205
|
+
}, z.core.$strip>]>;
|
|
206
|
+
pullRequestDisposition: z.ZodEnum<{
|
|
207
|
+
"closed-unmerged": "closed-unmerged";
|
|
208
|
+
merged: "merged";
|
|
209
|
+
open: "open";
|
|
210
|
+
unknown: "unknown";
|
|
211
|
+
}>;
|
|
212
|
+
cleanup: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
213
|
+
status: z.ZodLiteral<"available">;
|
|
214
|
+
eligible: z.ZodBoolean;
|
|
215
|
+
rejections: z.ZodArray<z.ZodEnum<{
|
|
216
|
+
"dirty-files": "dirty-files";
|
|
217
|
+
"external-intent-unresolved": "external-intent-unresolved";
|
|
218
|
+
"ownership-unproven": "ownership-unproven";
|
|
219
|
+
"pr-closed-unmerged": "pr-closed-unmerged";
|
|
220
|
+
"pr-open": "pr-open";
|
|
221
|
+
"pr-unknown": "pr-unknown";
|
|
222
|
+
"recovery-required": "recovery-required";
|
|
223
|
+
"retention-not-met": "retention-not-met";
|
|
224
|
+
"run-active": "run-active";
|
|
225
|
+
"run-blocked": "run-blocked";
|
|
226
|
+
"run-failed": "run-failed";
|
|
227
|
+
"run-paused": "run-paused";
|
|
228
|
+
"run-publishing": "run-publishing";
|
|
229
|
+
"unpushed-commits": "unpushed-commits";
|
|
230
|
+
"untracked-files": "untracked-files";
|
|
231
|
+
"worktree-missing": "worktree-missing";
|
|
232
|
+
}>>;
|
|
233
|
+
removableBytes: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unknown">]>;
|
|
234
|
+
retentionReference: z.ZodOptional<z.ZodString>;
|
|
235
|
+
retentionEligibleAt: z.ZodOptional<z.ZodString>;
|
|
236
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
237
|
+
status: z.ZodLiteral<"unavailable">;
|
|
238
|
+
reason: z.ZodString;
|
|
239
|
+
}, z.core.$strip>], "status">;
|
|
240
|
+
previewId: z.ZodString;
|
|
241
|
+
}, z.core.$strip>;
|
|
242
|
+
export type CleanupPreviewView = z.infer<typeof cleanupPreviewViewSchema>;
|
|
243
|
+
export declare const deliveryViewSchema: z.ZodObject<{
|
|
244
|
+
id: z.ZodString;
|
|
245
|
+
kind: z.ZodEnum<{
|
|
246
|
+
notification: "notification";
|
|
247
|
+
"tracker-projection": "tracker-projection";
|
|
248
|
+
"tracker-report": "tracker-report";
|
|
249
|
+
}>;
|
|
250
|
+
providerId: z.ZodString;
|
|
251
|
+
destination: z.ZodString;
|
|
252
|
+
status: z.ZodEnum<{
|
|
253
|
+
exhausted: "exhausted";
|
|
254
|
+
"in-flight": "in-flight";
|
|
255
|
+
pending: "pending";
|
|
256
|
+
"permanent-failure": "permanent-failure";
|
|
257
|
+
retired: "retired";
|
|
258
|
+
"retryable-failure": "retryable-failure";
|
|
259
|
+
succeeded: "succeeded";
|
|
260
|
+
uncertain: "uncertain";
|
|
261
|
+
}>;
|
|
262
|
+
attempts: z.ZodNumber;
|
|
263
|
+
nextRetryAt: z.ZodOptional<z.ZodString>;
|
|
264
|
+
receivedAt: z.ZodOptional<z.ZodString>;
|
|
265
|
+
lastError: z.ZodOptional<z.ZodString>;
|
|
266
|
+
retryable: z.ZodBoolean;
|
|
267
|
+
}, z.core.$strip>;
|
|
268
|
+
export type DeliveryView = z.infer<typeof deliveryViewSchema>;
|
|
269
|
+
export declare const timelineEntrySchema: z.ZodObject<{
|
|
270
|
+
at: z.ZodString;
|
|
271
|
+
label: z.ZodString;
|
|
272
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
273
|
+
}, z.core.$strip>;
|
|
274
|
+
export type TimelineEntryView = z.infer<typeof timelineEntrySchema>;
|
|
275
|
+
export declare const runSummarySchema: z.ZodObject<{
|
|
276
|
+
runId: z.ZodString;
|
|
277
|
+
displayKey: z.ZodString;
|
|
278
|
+
summary: z.ZodString;
|
|
279
|
+
providerId: z.ZodString;
|
|
280
|
+
providerName: z.ZodString;
|
|
281
|
+
lifecycle: z.ZodEnum<{
|
|
282
|
+
blocked: "blocked";
|
|
283
|
+
cancelled: "cancelled";
|
|
284
|
+
completed: "completed";
|
|
285
|
+
failed: "failed";
|
|
286
|
+
implementing: "implementing";
|
|
287
|
+
paused: "paused";
|
|
288
|
+
pausing: "pausing";
|
|
289
|
+
publishing: "publishing";
|
|
290
|
+
queued: "queued";
|
|
291
|
+
}>;
|
|
292
|
+
reason: z.ZodString;
|
|
293
|
+
priorityRank: z.ZodNumber;
|
|
294
|
+
phase: z.ZodString;
|
|
295
|
+
queuedAt: z.ZodString;
|
|
296
|
+
updatedAt: z.ZodString;
|
|
297
|
+
attention: z.ZodBoolean;
|
|
298
|
+
usage: z.ZodUnion<readonly [z.ZodObject<{
|
|
299
|
+
kind: z.ZodLiteral<"known">;
|
|
300
|
+
settled: z.ZodNumber;
|
|
301
|
+
reserved: z.ZodNumber;
|
|
302
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
303
|
+
kind: z.ZodLiteral<"unknown">;
|
|
304
|
+
reason: z.ZodString;
|
|
305
|
+
}, z.core.$strip>]>;
|
|
306
|
+
ticket: z.ZodUnion<readonly [z.ZodObject<{
|
|
307
|
+
status: z.ZodLiteral<"available">;
|
|
308
|
+
url: z.ZodString;
|
|
309
|
+
label: z.ZodString;
|
|
310
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
311
|
+
status: z.ZodLiteral<"unknown">;
|
|
312
|
+
reason: z.ZodString;
|
|
313
|
+
}, z.core.$strip>]>;
|
|
314
|
+
session: z.ZodUnion<readonly [z.ZodObject<{
|
|
315
|
+
status: z.ZodLiteral<"available">;
|
|
316
|
+
url: z.ZodString;
|
|
317
|
+
label: z.ZodString;
|
|
318
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
319
|
+
status: z.ZodLiteral<"unknown">;
|
|
320
|
+
reason: z.ZodString;
|
|
321
|
+
}, z.core.$strip>]>;
|
|
322
|
+
pullRequest: z.ZodUnion<readonly [z.ZodObject<{
|
|
323
|
+
status: z.ZodLiteral<"available">;
|
|
324
|
+
url: z.ZodString;
|
|
325
|
+
label: z.ZodString;
|
|
326
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
327
|
+
status: z.ZodLiteral<"unknown">;
|
|
328
|
+
reason: z.ZodString;
|
|
329
|
+
}, z.core.$strip>]>;
|
|
330
|
+
deliveries: z.ZodArray<z.ZodObject<{
|
|
331
|
+
id: z.ZodString;
|
|
332
|
+
kind: z.ZodEnum<{
|
|
333
|
+
notification: "notification";
|
|
334
|
+
"tracker-projection": "tracker-projection";
|
|
335
|
+
"tracker-report": "tracker-report";
|
|
336
|
+
}>;
|
|
337
|
+
providerId: z.ZodString;
|
|
338
|
+
destination: z.ZodString;
|
|
339
|
+
status: z.ZodEnum<{
|
|
340
|
+
exhausted: "exhausted";
|
|
341
|
+
"in-flight": "in-flight";
|
|
342
|
+
pending: "pending";
|
|
343
|
+
"permanent-failure": "permanent-failure";
|
|
344
|
+
retired: "retired";
|
|
345
|
+
"retryable-failure": "retryable-failure";
|
|
346
|
+
succeeded: "succeeded";
|
|
347
|
+
uncertain: "uncertain";
|
|
348
|
+
}>;
|
|
349
|
+
attempts: z.ZodNumber;
|
|
350
|
+
nextRetryAt: z.ZodOptional<z.ZodString>;
|
|
351
|
+
receivedAt: z.ZodOptional<z.ZodString>;
|
|
352
|
+
lastError: z.ZodOptional<z.ZodString>;
|
|
353
|
+
retryable: z.ZodBoolean;
|
|
354
|
+
}, z.core.$strip>>;
|
|
355
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
356
|
+
"cancel-run": "cancel-run";
|
|
357
|
+
"pause-run": "pause-run";
|
|
358
|
+
"resume-run": "resume-run";
|
|
359
|
+
}>>;
|
|
360
|
+
worktree: z.ZodOptional<z.ZodObject<{
|
|
361
|
+
path: z.ZodString;
|
|
362
|
+
branch: z.ZodString;
|
|
363
|
+
head: z.ZodOptional<z.ZodString>;
|
|
364
|
+
state: z.ZodEnum<{
|
|
365
|
+
active: "active";
|
|
366
|
+
"cleanup-eligible": "cleanup-eligible";
|
|
367
|
+
missing: "missing";
|
|
368
|
+
retained: "retained";
|
|
369
|
+
unknown: "unknown";
|
|
370
|
+
unsafe: "unsafe";
|
|
371
|
+
}>;
|
|
372
|
+
dirty: z.ZodUnion<readonly [z.ZodObject<{
|
|
373
|
+
status: z.ZodLiteral<"known">;
|
|
374
|
+
value: z.ZodBoolean;
|
|
375
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
376
|
+
status: z.ZodLiteral<"unknown">;
|
|
377
|
+
reason: z.ZodString;
|
|
378
|
+
}, z.core.$strip>]>;
|
|
379
|
+
untracked: z.ZodUnion<readonly [z.ZodObject<{
|
|
380
|
+
status: z.ZodLiteral<"known">;
|
|
381
|
+
value: z.ZodBoolean;
|
|
382
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
383
|
+
status: z.ZodLiteral<"unknown">;
|
|
384
|
+
reason: z.ZodString;
|
|
385
|
+
}, z.core.$strip>]>;
|
|
386
|
+
unpushed: z.ZodUnion<readonly [z.ZodObject<{
|
|
387
|
+
status: z.ZodLiteral<"known">;
|
|
388
|
+
value: z.ZodBoolean;
|
|
389
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
390
|
+
status: z.ZodLiteral<"unknown">;
|
|
391
|
+
reason: z.ZodString;
|
|
392
|
+
}, z.core.$strip>]>;
|
|
393
|
+
pullRequestDisposition: z.ZodEnum<{
|
|
394
|
+
"closed-unmerged": "closed-unmerged";
|
|
395
|
+
merged: "merged";
|
|
396
|
+
open: "open";
|
|
397
|
+
unknown: "unknown";
|
|
398
|
+
}>;
|
|
399
|
+
cleanup: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
400
|
+
status: z.ZodLiteral<"available">;
|
|
401
|
+
eligible: z.ZodBoolean;
|
|
402
|
+
rejections: z.ZodArray<z.ZodEnum<{
|
|
403
|
+
"dirty-files": "dirty-files";
|
|
404
|
+
"external-intent-unresolved": "external-intent-unresolved";
|
|
405
|
+
"ownership-unproven": "ownership-unproven";
|
|
406
|
+
"pr-closed-unmerged": "pr-closed-unmerged";
|
|
407
|
+
"pr-open": "pr-open";
|
|
408
|
+
"pr-unknown": "pr-unknown";
|
|
409
|
+
"recovery-required": "recovery-required";
|
|
410
|
+
"retention-not-met": "retention-not-met";
|
|
411
|
+
"run-active": "run-active";
|
|
412
|
+
"run-blocked": "run-blocked";
|
|
413
|
+
"run-failed": "run-failed";
|
|
414
|
+
"run-paused": "run-paused";
|
|
415
|
+
"run-publishing": "run-publishing";
|
|
416
|
+
"unpushed-commits": "unpushed-commits";
|
|
417
|
+
"untracked-files": "untracked-files";
|
|
418
|
+
"worktree-missing": "worktree-missing";
|
|
419
|
+
}>>;
|
|
420
|
+
removableBytes: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unknown">]>;
|
|
421
|
+
retentionReference: z.ZodOptional<z.ZodString>;
|
|
422
|
+
retentionEligibleAt: z.ZodOptional<z.ZodString>;
|
|
423
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
424
|
+
status: z.ZodLiteral<"unavailable">;
|
|
425
|
+
reason: z.ZodString;
|
|
426
|
+
}, z.core.$strip>], "status">;
|
|
427
|
+
}, z.core.$strip>>;
|
|
428
|
+
}, z.core.$strip>;
|
|
429
|
+
export type RunSummaryView = z.infer<typeof runSummarySchema>;
|
|
430
|
+
export declare const runDetailSchema: z.ZodObject<{
|
|
431
|
+
runId: z.ZodString;
|
|
432
|
+
displayKey: z.ZodString;
|
|
433
|
+
summary: z.ZodString;
|
|
434
|
+
providerId: z.ZodString;
|
|
435
|
+
providerName: z.ZodString;
|
|
436
|
+
lifecycle: z.ZodEnum<{
|
|
437
|
+
blocked: "blocked";
|
|
438
|
+
cancelled: "cancelled";
|
|
439
|
+
completed: "completed";
|
|
440
|
+
failed: "failed";
|
|
441
|
+
implementing: "implementing";
|
|
442
|
+
paused: "paused";
|
|
443
|
+
pausing: "pausing";
|
|
444
|
+
publishing: "publishing";
|
|
445
|
+
queued: "queued";
|
|
446
|
+
}>;
|
|
447
|
+
reason: z.ZodString;
|
|
448
|
+
priorityRank: z.ZodNumber;
|
|
449
|
+
phase: z.ZodString;
|
|
450
|
+
queuedAt: z.ZodString;
|
|
451
|
+
updatedAt: z.ZodString;
|
|
452
|
+
attention: z.ZodBoolean;
|
|
453
|
+
usage: z.ZodUnion<readonly [z.ZodObject<{
|
|
454
|
+
kind: z.ZodLiteral<"known">;
|
|
455
|
+
settled: z.ZodNumber;
|
|
456
|
+
reserved: z.ZodNumber;
|
|
457
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
458
|
+
kind: z.ZodLiteral<"unknown">;
|
|
459
|
+
reason: z.ZodString;
|
|
460
|
+
}, z.core.$strip>]>;
|
|
461
|
+
ticket: z.ZodUnion<readonly [z.ZodObject<{
|
|
462
|
+
status: z.ZodLiteral<"available">;
|
|
463
|
+
url: z.ZodString;
|
|
464
|
+
label: z.ZodString;
|
|
465
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
466
|
+
status: z.ZodLiteral<"unknown">;
|
|
467
|
+
reason: z.ZodString;
|
|
468
|
+
}, z.core.$strip>]>;
|
|
469
|
+
session: z.ZodUnion<readonly [z.ZodObject<{
|
|
470
|
+
status: z.ZodLiteral<"available">;
|
|
471
|
+
url: z.ZodString;
|
|
472
|
+
label: z.ZodString;
|
|
473
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
474
|
+
status: z.ZodLiteral<"unknown">;
|
|
475
|
+
reason: z.ZodString;
|
|
476
|
+
}, z.core.$strip>]>;
|
|
477
|
+
pullRequest: z.ZodUnion<readonly [z.ZodObject<{
|
|
478
|
+
status: z.ZodLiteral<"available">;
|
|
479
|
+
url: z.ZodString;
|
|
480
|
+
label: z.ZodString;
|
|
481
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
482
|
+
status: z.ZodLiteral<"unknown">;
|
|
483
|
+
reason: z.ZodString;
|
|
484
|
+
}, z.core.$strip>]>;
|
|
485
|
+
deliveries: z.ZodArray<z.ZodObject<{
|
|
486
|
+
id: z.ZodString;
|
|
487
|
+
kind: z.ZodEnum<{
|
|
488
|
+
notification: "notification";
|
|
489
|
+
"tracker-projection": "tracker-projection";
|
|
490
|
+
"tracker-report": "tracker-report";
|
|
491
|
+
}>;
|
|
492
|
+
providerId: z.ZodString;
|
|
493
|
+
destination: z.ZodString;
|
|
494
|
+
status: z.ZodEnum<{
|
|
495
|
+
exhausted: "exhausted";
|
|
496
|
+
"in-flight": "in-flight";
|
|
497
|
+
pending: "pending";
|
|
498
|
+
"permanent-failure": "permanent-failure";
|
|
499
|
+
retired: "retired";
|
|
500
|
+
"retryable-failure": "retryable-failure";
|
|
501
|
+
succeeded: "succeeded";
|
|
502
|
+
uncertain: "uncertain";
|
|
503
|
+
}>;
|
|
504
|
+
attempts: z.ZodNumber;
|
|
505
|
+
nextRetryAt: z.ZodOptional<z.ZodString>;
|
|
506
|
+
receivedAt: z.ZodOptional<z.ZodString>;
|
|
507
|
+
lastError: z.ZodOptional<z.ZodString>;
|
|
508
|
+
retryable: z.ZodBoolean;
|
|
509
|
+
}, z.core.$strip>>;
|
|
510
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
511
|
+
"cancel-run": "cancel-run";
|
|
512
|
+
"pause-run": "pause-run";
|
|
513
|
+
"resume-run": "resume-run";
|
|
514
|
+
}>>;
|
|
515
|
+
worktree: z.ZodOptional<z.ZodObject<{
|
|
516
|
+
path: z.ZodString;
|
|
517
|
+
branch: z.ZodString;
|
|
518
|
+
head: z.ZodOptional<z.ZodString>;
|
|
519
|
+
state: z.ZodEnum<{
|
|
520
|
+
active: "active";
|
|
521
|
+
"cleanup-eligible": "cleanup-eligible";
|
|
522
|
+
missing: "missing";
|
|
523
|
+
retained: "retained";
|
|
524
|
+
unknown: "unknown";
|
|
525
|
+
unsafe: "unsafe";
|
|
526
|
+
}>;
|
|
527
|
+
dirty: z.ZodUnion<readonly [z.ZodObject<{
|
|
528
|
+
status: z.ZodLiteral<"known">;
|
|
529
|
+
value: z.ZodBoolean;
|
|
530
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
531
|
+
status: z.ZodLiteral<"unknown">;
|
|
532
|
+
reason: z.ZodString;
|
|
533
|
+
}, z.core.$strip>]>;
|
|
534
|
+
untracked: z.ZodUnion<readonly [z.ZodObject<{
|
|
535
|
+
status: z.ZodLiteral<"known">;
|
|
536
|
+
value: z.ZodBoolean;
|
|
537
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
538
|
+
status: z.ZodLiteral<"unknown">;
|
|
539
|
+
reason: z.ZodString;
|
|
540
|
+
}, z.core.$strip>]>;
|
|
541
|
+
unpushed: z.ZodUnion<readonly [z.ZodObject<{
|
|
542
|
+
status: z.ZodLiteral<"known">;
|
|
543
|
+
value: z.ZodBoolean;
|
|
544
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
545
|
+
status: z.ZodLiteral<"unknown">;
|
|
546
|
+
reason: z.ZodString;
|
|
547
|
+
}, z.core.$strip>]>;
|
|
548
|
+
pullRequestDisposition: z.ZodEnum<{
|
|
549
|
+
"closed-unmerged": "closed-unmerged";
|
|
550
|
+
merged: "merged";
|
|
551
|
+
open: "open";
|
|
552
|
+
unknown: "unknown";
|
|
553
|
+
}>;
|
|
554
|
+
cleanup: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
555
|
+
status: z.ZodLiteral<"available">;
|
|
556
|
+
eligible: z.ZodBoolean;
|
|
557
|
+
rejections: z.ZodArray<z.ZodEnum<{
|
|
558
|
+
"dirty-files": "dirty-files";
|
|
559
|
+
"external-intent-unresolved": "external-intent-unresolved";
|
|
560
|
+
"ownership-unproven": "ownership-unproven";
|
|
561
|
+
"pr-closed-unmerged": "pr-closed-unmerged";
|
|
562
|
+
"pr-open": "pr-open";
|
|
563
|
+
"pr-unknown": "pr-unknown";
|
|
564
|
+
"recovery-required": "recovery-required";
|
|
565
|
+
"retention-not-met": "retention-not-met";
|
|
566
|
+
"run-active": "run-active";
|
|
567
|
+
"run-blocked": "run-blocked";
|
|
568
|
+
"run-failed": "run-failed";
|
|
569
|
+
"run-paused": "run-paused";
|
|
570
|
+
"run-publishing": "run-publishing";
|
|
571
|
+
"unpushed-commits": "unpushed-commits";
|
|
572
|
+
"untracked-files": "untracked-files";
|
|
573
|
+
"worktree-missing": "worktree-missing";
|
|
574
|
+
}>>;
|
|
575
|
+
removableBytes: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unknown">]>;
|
|
576
|
+
retentionReference: z.ZodOptional<z.ZodString>;
|
|
577
|
+
retentionEligibleAt: z.ZodOptional<z.ZodString>;
|
|
578
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
579
|
+
status: z.ZodLiteral<"unavailable">;
|
|
580
|
+
reason: z.ZodString;
|
|
581
|
+
}, z.core.$strip>], "status">;
|
|
582
|
+
}, z.core.$strip>>;
|
|
583
|
+
brief: z.ZodObject<{
|
|
584
|
+
updatedAt: z.ZodString;
|
|
585
|
+
content: z.ZodString;
|
|
586
|
+
}, z.core.$strip>;
|
|
587
|
+
outcome: z.ZodOptional<z.ZodObject<{
|
|
588
|
+
kind: z.ZodEnum<{
|
|
589
|
+
blocked: "blocked";
|
|
590
|
+
failed: "failed";
|
|
591
|
+
verified: "verified";
|
|
592
|
+
}>;
|
|
593
|
+
summary: z.ZodString;
|
|
594
|
+
evidence: z.ZodArray<z.ZodString>;
|
|
595
|
+
}, z.core.$strip>>;
|
|
596
|
+
timeline: z.ZodArray<z.ZodObject<{
|
|
597
|
+
at: z.ZodString;
|
|
598
|
+
label: z.ZodString;
|
|
599
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
600
|
+
}, z.core.$strip>>;
|
|
601
|
+
}, z.core.$strip>;
|
|
602
|
+
export type RunDetailView = z.infer<typeof runDetailSchema>;
|
|
603
|
+
export declare const commandKindSchema: z.ZodEnum<{
|
|
604
|
+
"cancel-run": "cancel-run";
|
|
605
|
+
drain: "drain";
|
|
606
|
+
"pause-run": "pause-run";
|
|
607
|
+
"pause-scheduler": "pause-scheduler";
|
|
608
|
+
reconcile: "reconcile";
|
|
609
|
+
"remove-worktree": "remove-worktree";
|
|
610
|
+
"resume-run": "resume-run";
|
|
611
|
+
"resume-scheduler": "resume-scheduler";
|
|
612
|
+
"retry-delivery": "retry-delivery";
|
|
613
|
+
}>;
|
|
614
|
+
export type CommandKind = z.infer<typeof commandKindSchema>;
|
|
615
|
+
export declare const commandRequestSchema: z.ZodObject<{
|
|
616
|
+
requestId: z.ZodString;
|
|
617
|
+
kind: z.ZodEnum<{
|
|
618
|
+
"cancel-run": "cancel-run";
|
|
619
|
+
drain: "drain";
|
|
620
|
+
"pause-run": "pause-run";
|
|
621
|
+
"pause-scheduler": "pause-scheduler";
|
|
622
|
+
reconcile: "reconcile";
|
|
623
|
+
"remove-worktree": "remove-worktree";
|
|
624
|
+
"resume-run": "resume-run";
|
|
625
|
+
"resume-scheduler": "resume-scheduler";
|
|
626
|
+
"retry-delivery": "retry-delivery";
|
|
627
|
+
}>;
|
|
628
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
629
|
+
deliveryId: z.ZodOptional<z.ZodString>;
|
|
630
|
+
previewId: z.ZodOptional<z.ZodString>;
|
|
631
|
+
}, z.core.$strip>;
|
|
632
|
+
export type CommandRequest = z.infer<typeof commandRequestSchema>;
|
|
633
|
+
export declare const commandReceiptSchema: z.ZodObject<{
|
|
634
|
+
requestId: z.ZodString;
|
|
635
|
+
kind: z.ZodEnum<{
|
|
636
|
+
"cancel-run": "cancel-run";
|
|
637
|
+
drain: "drain";
|
|
638
|
+
"pause-run": "pause-run";
|
|
639
|
+
"pause-scheduler": "pause-scheduler";
|
|
640
|
+
reconcile: "reconcile";
|
|
641
|
+
"remove-worktree": "remove-worktree";
|
|
642
|
+
"resume-run": "resume-run";
|
|
643
|
+
"resume-scheduler": "resume-scheduler";
|
|
644
|
+
"retry-delivery": "retry-delivery";
|
|
645
|
+
}>;
|
|
646
|
+
status: z.ZodEnum<{
|
|
647
|
+
accepted: "accepted";
|
|
648
|
+
"in-progress": "in-progress";
|
|
649
|
+
rejected: "rejected";
|
|
650
|
+
succeeded: "succeeded";
|
|
651
|
+
}>;
|
|
652
|
+
acceptedAt: z.ZodString;
|
|
653
|
+
finishedAt: z.ZodOptional<z.ZodString>;
|
|
654
|
+
message: z.ZodOptional<z.ZodString>;
|
|
655
|
+
revision: z.ZodOptional<z.ZodNumber>;
|
|
656
|
+
}, z.core.$strip>;
|
|
657
|
+
export type CommandReceipt = z.infer<typeof commandReceiptSchema>;
|
|
658
|
+
export declare const reconciliationViewSchema: z.ZodObject<{
|
|
659
|
+
active: z.ZodNumber;
|
|
660
|
+
nextScheduledAt: z.ZodOptional<z.ZodString>;
|
|
661
|
+
lastAttempt: z.ZodOptional<z.ZodObject<{
|
|
662
|
+
source: z.ZodEnum<{
|
|
663
|
+
manual: "manual";
|
|
664
|
+
scheduled: "scheduled";
|
|
665
|
+
startup: "startup";
|
|
666
|
+
webhook: "webhook";
|
|
667
|
+
}>;
|
|
668
|
+
completedAt: z.ZodString;
|
|
669
|
+
outcome: z.ZodEnum<{
|
|
670
|
+
failed: "failed";
|
|
671
|
+
succeeded: "succeeded";
|
|
672
|
+
}>;
|
|
673
|
+
admitted: z.ZodNumber;
|
|
674
|
+
failure: z.ZodOptional<z.ZodString>;
|
|
675
|
+
}, z.core.$strip>>;
|
|
676
|
+
}, z.core.$strip>;
|
|
677
|
+
export type ReconciliationView = z.infer<typeof reconciliationViewSchema>;
|
|
678
|
+
export declare const operationsSnapshotSchema: z.ZodObject<{
|
|
679
|
+
revision: z.ZodNumber;
|
|
680
|
+
fetchedAt: z.ZodString;
|
|
681
|
+
scheduler: z.ZodObject<{
|
|
682
|
+
mode: z.ZodEnum<{
|
|
683
|
+
disabled: "disabled";
|
|
684
|
+
draining: "draining";
|
|
685
|
+
enabled: "enabled";
|
|
686
|
+
}>;
|
|
687
|
+
changedAt: z.ZodString;
|
|
688
|
+
}, z.core.$strip>;
|
|
689
|
+
providers: z.ZodArray<z.ZodObject<{
|
|
690
|
+
id: z.ZodString;
|
|
691
|
+
displayName: z.ZodString;
|
|
692
|
+
configurationNamespace: z.ZodString;
|
|
693
|
+
selected: z.ZodBoolean;
|
|
694
|
+
availability: z.ZodEnum<{
|
|
695
|
+
available: "available";
|
|
696
|
+
unavailable: "unavailable";
|
|
697
|
+
}>;
|
|
698
|
+
setup: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
699
|
+
status: z.ZodLiteral<"available">;
|
|
700
|
+
mcpServerName: z.ZodString;
|
|
701
|
+
resources: z.ZodArray<z.ZodObject<{
|
|
702
|
+
label: z.ZodString;
|
|
703
|
+
value: z.ZodString;
|
|
704
|
+
}, z.core.$strip>>;
|
|
705
|
+
credentialRefs: z.ZodArray<z.ZodObject<{
|
|
706
|
+
label: z.ZodString;
|
|
707
|
+
ref: z.ZodString;
|
|
708
|
+
}, z.core.$strip>>;
|
|
709
|
+
lookup: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
710
|
+
status: z.ZodLiteral<"available">;
|
|
711
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
712
|
+
status: z.ZodLiteral<"unavailable">;
|
|
713
|
+
reason: z.ZodString;
|
|
714
|
+
}, z.core.$strip>], "status">;
|
|
715
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
716
|
+
status: z.ZodLiteral<"unavailable">;
|
|
717
|
+
reason: z.ZodString;
|
|
718
|
+
}, z.core.$strip>], "status">;
|
|
719
|
+
}, z.core.$strip>>;
|
|
720
|
+
runs: z.ZodObject<{
|
|
721
|
+
items: z.ZodArray<z.ZodObject<{
|
|
722
|
+
runId: z.ZodString;
|
|
723
|
+
displayKey: z.ZodString;
|
|
724
|
+
summary: z.ZodString;
|
|
725
|
+
providerId: z.ZodString;
|
|
726
|
+
providerName: z.ZodString;
|
|
727
|
+
lifecycle: z.ZodEnum<{
|
|
728
|
+
blocked: "blocked";
|
|
729
|
+
cancelled: "cancelled";
|
|
730
|
+
completed: "completed";
|
|
731
|
+
failed: "failed";
|
|
732
|
+
implementing: "implementing";
|
|
733
|
+
paused: "paused";
|
|
734
|
+
pausing: "pausing";
|
|
735
|
+
publishing: "publishing";
|
|
736
|
+
queued: "queued";
|
|
737
|
+
}>;
|
|
738
|
+
reason: z.ZodString;
|
|
739
|
+
priorityRank: z.ZodNumber;
|
|
740
|
+
phase: z.ZodString;
|
|
741
|
+
queuedAt: z.ZodString;
|
|
742
|
+
updatedAt: z.ZodString;
|
|
743
|
+
attention: z.ZodBoolean;
|
|
744
|
+
usage: z.ZodUnion<readonly [z.ZodObject<{
|
|
745
|
+
kind: z.ZodLiteral<"known">;
|
|
746
|
+
settled: z.ZodNumber;
|
|
747
|
+
reserved: z.ZodNumber;
|
|
748
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
749
|
+
kind: z.ZodLiteral<"unknown">;
|
|
750
|
+
reason: z.ZodString;
|
|
751
|
+
}, z.core.$strip>]>;
|
|
752
|
+
ticket: z.ZodUnion<readonly [z.ZodObject<{
|
|
753
|
+
status: z.ZodLiteral<"available">;
|
|
754
|
+
url: z.ZodString;
|
|
755
|
+
label: z.ZodString;
|
|
756
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
757
|
+
status: z.ZodLiteral<"unknown">;
|
|
758
|
+
reason: z.ZodString;
|
|
759
|
+
}, z.core.$strip>]>;
|
|
760
|
+
session: z.ZodUnion<readonly [z.ZodObject<{
|
|
761
|
+
status: z.ZodLiteral<"available">;
|
|
762
|
+
url: z.ZodString;
|
|
763
|
+
label: z.ZodString;
|
|
764
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
765
|
+
status: z.ZodLiteral<"unknown">;
|
|
766
|
+
reason: z.ZodString;
|
|
767
|
+
}, z.core.$strip>]>;
|
|
768
|
+
pullRequest: z.ZodUnion<readonly [z.ZodObject<{
|
|
769
|
+
status: z.ZodLiteral<"available">;
|
|
770
|
+
url: z.ZodString;
|
|
771
|
+
label: z.ZodString;
|
|
772
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
773
|
+
status: z.ZodLiteral<"unknown">;
|
|
774
|
+
reason: z.ZodString;
|
|
775
|
+
}, z.core.$strip>]>;
|
|
776
|
+
deliveries: z.ZodArray<z.ZodObject<{
|
|
777
|
+
id: z.ZodString;
|
|
778
|
+
kind: z.ZodEnum<{
|
|
779
|
+
notification: "notification";
|
|
780
|
+
"tracker-projection": "tracker-projection";
|
|
781
|
+
"tracker-report": "tracker-report";
|
|
782
|
+
}>;
|
|
783
|
+
providerId: z.ZodString;
|
|
784
|
+
destination: z.ZodString;
|
|
785
|
+
status: z.ZodEnum<{
|
|
786
|
+
exhausted: "exhausted";
|
|
787
|
+
"in-flight": "in-flight";
|
|
788
|
+
pending: "pending";
|
|
789
|
+
"permanent-failure": "permanent-failure";
|
|
790
|
+
retired: "retired";
|
|
791
|
+
"retryable-failure": "retryable-failure";
|
|
792
|
+
succeeded: "succeeded";
|
|
793
|
+
uncertain: "uncertain";
|
|
794
|
+
}>;
|
|
795
|
+
attempts: z.ZodNumber;
|
|
796
|
+
nextRetryAt: z.ZodOptional<z.ZodString>;
|
|
797
|
+
receivedAt: z.ZodOptional<z.ZodString>;
|
|
798
|
+
lastError: z.ZodOptional<z.ZodString>;
|
|
799
|
+
retryable: z.ZodBoolean;
|
|
800
|
+
}, z.core.$strip>>;
|
|
801
|
+
actions: z.ZodArray<z.ZodEnum<{
|
|
802
|
+
"cancel-run": "cancel-run";
|
|
803
|
+
"pause-run": "pause-run";
|
|
804
|
+
"resume-run": "resume-run";
|
|
805
|
+
}>>;
|
|
806
|
+
worktree: z.ZodOptional<z.ZodObject<{
|
|
807
|
+
path: z.ZodString;
|
|
808
|
+
branch: z.ZodString;
|
|
809
|
+
head: z.ZodOptional<z.ZodString>;
|
|
810
|
+
state: z.ZodEnum<{
|
|
811
|
+
active: "active";
|
|
812
|
+
"cleanup-eligible": "cleanup-eligible";
|
|
813
|
+
missing: "missing";
|
|
814
|
+
retained: "retained";
|
|
815
|
+
unknown: "unknown";
|
|
816
|
+
unsafe: "unsafe";
|
|
817
|
+
}>;
|
|
818
|
+
dirty: z.ZodUnion<readonly [z.ZodObject<{
|
|
819
|
+
status: z.ZodLiteral<"known">;
|
|
820
|
+
value: z.ZodBoolean;
|
|
821
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
822
|
+
status: z.ZodLiteral<"unknown">;
|
|
823
|
+
reason: z.ZodString;
|
|
824
|
+
}, z.core.$strip>]>;
|
|
825
|
+
untracked: z.ZodUnion<readonly [z.ZodObject<{
|
|
826
|
+
status: z.ZodLiteral<"known">;
|
|
827
|
+
value: z.ZodBoolean;
|
|
828
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
829
|
+
status: z.ZodLiteral<"unknown">;
|
|
830
|
+
reason: z.ZodString;
|
|
831
|
+
}, z.core.$strip>]>;
|
|
832
|
+
unpushed: z.ZodUnion<readonly [z.ZodObject<{
|
|
833
|
+
status: z.ZodLiteral<"known">;
|
|
834
|
+
value: z.ZodBoolean;
|
|
835
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
836
|
+
status: z.ZodLiteral<"unknown">;
|
|
837
|
+
reason: z.ZodString;
|
|
838
|
+
}, z.core.$strip>]>;
|
|
839
|
+
pullRequestDisposition: z.ZodEnum<{
|
|
840
|
+
"closed-unmerged": "closed-unmerged";
|
|
841
|
+
merged: "merged";
|
|
842
|
+
open: "open";
|
|
843
|
+
unknown: "unknown";
|
|
844
|
+
}>;
|
|
845
|
+
cleanup: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
846
|
+
status: z.ZodLiteral<"available">;
|
|
847
|
+
eligible: z.ZodBoolean;
|
|
848
|
+
rejections: z.ZodArray<z.ZodEnum<{
|
|
849
|
+
"dirty-files": "dirty-files";
|
|
850
|
+
"external-intent-unresolved": "external-intent-unresolved";
|
|
851
|
+
"ownership-unproven": "ownership-unproven";
|
|
852
|
+
"pr-closed-unmerged": "pr-closed-unmerged";
|
|
853
|
+
"pr-open": "pr-open";
|
|
854
|
+
"pr-unknown": "pr-unknown";
|
|
855
|
+
"recovery-required": "recovery-required";
|
|
856
|
+
"retention-not-met": "retention-not-met";
|
|
857
|
+
"run-active": "run-active";
|
|
858
|
+
"run-blocked": "run-blocked";
|
|
859
|
+
"run-failed": "run-failed";
|
|
860
|
+
"run-paused": "run-paused";
|
|
861
|
+
"run-publishing": "run-publishing";
|
|
862
|
+
"unpushed-commits": "unpushed-commits";
|
|
863
|
+
"untracked-files": "untracked-files";
|
|
864
|
+
"worktree-missing": "worktree-missing";
|
|
865
|
+
}>>;
|
|
866
|
+
removableBytes: z.ZodUnion<readonly [z.ZodNumber, z.ZodLiteral<"unknown">]>;
|
|
867
|
+
retentionReference: z.ZodOptional<z.ZodString>;
|
|
868
|
+
retentionEligibleAt: z.ZodOptional<z.ZodString>;
|
|
869
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
870
|
+
status: z.ZodLiteral<"unavailable">;
|
|
871
|
+
reason: z.ZodString;
|
|
872
|
+
}, z.core.$strip>], "status">;
|
|
873
|
+
}, z.core.$strip>>;
|
|
874
|
+
}, z.core.$strip>>;
|
|
875
|
+
total: z.ZodNumber;
|
|
876
|
+
offset: z.ZodNumber;
|
|
877
|
+
limit: z.ZodNumber;
|
|
878
|
+
}, z.core.$strip>;
|
|
879
|
+
budget: z.ZodObject<{
|
|
880
|
+
deploymentCap: z.ZodNumber;
|
|
881
|
+
settled: z.ZodNumber;
|
|
882
|
+
reserved: z.ZodNumber;
|
|
883
|
+
remaining: z.ZodNullable<z.ZodNumber>;
|
|
884
|
+
usageUncertain: z.ZodBoolean;
|
|
885
|
+
}, z.core.$strip>;
|
|
886
|
+
schedule: z.ZodObject<{
|
|
887
|
+
timezone: z.ZodString;
|
|
888
|
+
reconcileIntervalSeconds: z.ZodNumber;
|
|
889
|
+
}, z.core.$strip>;
|
|
890
|
+
reconciliation: z.ZodObject<{
|
|
891
|
+
active: z.ZodNumber;
|
|
892
|
+
nextScheduledAt: z.ZodOptional<z.ZodString>;
|
|
893
|
+
lastAttempt: z.ZodOptional<z.ZodObject<{
|
|
894
|
+
source: z.ZodEnum<{
|
|
895
|
+
manual: "manual";
|
|
896
|
+
scheduled: "scheduled";
|
|
897
|
+
startup: "startup";
|
|
898
|
+
webhook: "webhook";
|
|
899
|
+
}>;
|
|
900
|
+
completedAt: z.ZodString;
|
|
901
|
+
outcome: z.ZodEnum<{
|
|
902
|
+
failed: "failed";
|
|
903
|
+
succeeded: "succeeded";
|
|
904
|
+
}>;
|
|
905
|
+
admitted: z.ZodNumber;
|
|
906
|
+
failure: z.ZodOptional<z.ZodString>;
|
|
907
|
+
}, z.core.$strip>>;
|
|
908
|
+
}, z.core.$strip>;
|
|
909
|
+
commands: z.ZodArray<z.ZodObject<{
|
|
910
|
+
requestId: z.ZodString;
|
|
911
|
+
kind: z.ZodEnum<{
|
|
912
|
+
"cancel-run": "cancel-run";
|
|
913
|
+
drain: "drain";
|
|
914
|
+
"pause-run": "pause-run";
|
|
915
|
+
"pause-scheduler": "pause-scheduler";
|
|
916
|
+
reconcile: "reconcile";
|
|
917
|
+
"remove-worktree": "remove-worktree";
|
|
918
|
+
"resume-run": "resume-run";
|
|
919
|
+
"resume-scheduler": "resume-scheduler";
|
|
920
|
+
"retry-delivery": "retry-delivery";
|
|
921
|
+
}>;
|
|
922
|
+
status: z.ZodEnum<{
|
|
923
|
+
accepted: "accepted";
|
|
924
|
+
"in-progress": "in-progress";
|
|
925
|
+
rejected: "rejected";
|
|
926
|
+
succeeded: "succeeded";
|
|
927
|
+
}>;
|
|
928
|
+
acceptedAt: z.ZodString;
|
|
929
|
+
finishedAt: z.ZodOptional<z.ZodString>;
|
|
930
|
+
message: z.ZodOptional<z.ZodString>;
|
|
931
|
+
revision: z.ZodOptional<z.ZodNumber>;
|
|
932
|
+
}, z.core.$strip>>;
|
|
933
|
+
integrations: z.ZodObject<{
|
|
934
|
+
deliveries: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
935
|
+
status: z.ZodLiteral<"available">;
|
|
936
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
937
|
+
status: z.ZodLiteral<"unavailable">;
|
|
938
|
+
reason: z.ZodString;
|
|
939
|
+
}, z.core.$strip>], "status">;
|
|
940
|
+
worktrees: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
941
|
+
status: z.ZodLiteral<"available">;
|
|
942
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
943
|
+
status: z.ZodLiteral<"unavailable">;
|
|
944
|
+
reason: z.ZodString;
|
|
945
|
+
}, z.core.$strip>], "status">;
|
|
946
|
+
}, z.core.$strip>;
|
|
947
|
+
}, z.core.$strip>;
|
|
948
|
+
export type OperationsSnapshot = z.infer<typeof operationsSnapshotSchema>;
|
|
949
|
+
export declare const providerTestResultSchema: z.ZodObject<{
|
|
950
|
+
providerId: z.ZodString;
|
|
951
|
+
checkedAt: z.ZodString;
|
|
952
|
+
status: z.ZodEnum<{
|
|
953
|
+
failed: "failed";
|
|
954
|
+
ready: "ready";
|
|
955
|
+
}>;
|
|
956
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
957
|
+
}, z.core.$strip>;
|
|
958
|
+
export type ProviderTestResult = z.infer<typeof providerTestResultSchema>;
|