@treeseed/sdk 0.11.0 → 0.12.4
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 +9 -4
- package/dist/agent-capacity.d.ts +916 -0
- package/dist/agent-capacity.js +1600 -0
- package/dist/agent-tools.d.ts +37 -0
- package/dist/agent-tools.js +301 -0
- package/dist/api/app.d.ts +1 -1
- package/dist/api/auth/d1-database.d.ts +2 -2
- package/dist/api/auth/d1-provider.d.ts +4 -4
- package/dist/api/auth/d1-store.d.ts +2 -2
- package/dist/api/auth/memory-provider.d.ts +1 -1
- package/dist/api/auth/tokens.d.ts +1 -1
- package/dist/api/config.d.ts +3 -1
- package/dist/api/config.js +34 -10
- package/dist/api/http.d.ts +2 -2
- package/dist/api/index.d.ts +10 -10
- package/dist/api/index.js +4 -2
- package/dist/api/operations-routes.d.ts +3 -3
- package/dist/api/operations.d.ts +1 -1
- package/dist/api/providers.d.ts +1 -1
- package/dist/api/providers.js +21 -4
- package/dist/api/railway.d.ts +3 -2
- package/dist/api/sdk-dispatch.d.ts +4 -4
- package/dist/api/sdk-routes.d.ts +2 -2
- package/dist/api/templates.d.ts +2 -2
- package/dist/api/types.d.ts +3 -2
- package/dist/capacity-provider.d.ts +117 -60
- package/dist/capacity-provider.js +215 -43
- package/dist/capacity.d.ts +2 -2
- package/dist/cli-tools.d.ts +1 -1
- package/dist/content-operations.d.ts +97 -0
- package/dist/content-operations.js +250 -0
- package/dist/content-store.d.ts +4 -4
- package/dist/control-plane-client.d.ts +13 -18
- package/dist/control-plane-client.js +8 -86
- package/dist/control-plane.d.ts +2 -2
- package/dist/copilot.d.ts +3 -0
- package/dist/copilot.js +16 -1
- package/dist/d1-http.d.ts +1 -1
- package/dist/d1-store.d.ts +32 -57
- package/dist/d1-store.js +115 -318
- package/dist/db/d1.d.ts +1 -232
- package/dist/db/index.d.ts +3 -3
- package/dist/db/market-schema.d.ts +49037 -11843
- package/dist/db/market-schema.js +1788 -50
- package/dist/db/node-sqlite.d.ts +1 -232
- package/dist/db/schema.d.ts +0 -462
- package/dist/db/schema.js +2 -22
- package/dist/dispatch.d.ts +1 -1
- package/dist/dispatch.js +0 -11
- package/dist/fixture-support.js +52 -4
- package/dist/governance.d.ts +133 -0
- package/dist/governance.js +285 -0
- package/dist/graph/build.d.ts +2 -2
- package/dist/graph/context-query-contracts.d.ts +1 -1
- package/dist/graph/dsl.d.ts +1 -1
- package/dist/graph/query.d.ts +4 -4
- package/dist/graph/ranking.d.ts +1 -1
- package/dist/graph/schema.d.ts +1 -1
- package/dist/graph.d.ts +11 -11
- package/dist/guarantees/index.d.ts +425 -0
- package/dist/guarantees/index.js +1146 -0
- package/dist/hosting/apps.d.ts +1 -1
- package/dist/hosting/builtins.d.ts +1 -1
- package/dist/hosting/builtins.js +9 -198
- package/dist/hosting/contracts.d.ts +3 -2
- package/dist/hosting/graph.d.ts +24 -21
- package/dist/hosting/graph.js +280 -294
- package/dist/hosting/index.d.ts +4 -4
- package/dist/index.d.ts +88 -74
- package/dist/index.js +81 -10
- package/dist/local-dev/managed-dev.d.ts +85 -0
- package/dist/local-dev/managed-dev.js +368 -0
- package/dist/managed-dependencies.d.ts +9 -0
- package/dist/managed-dependencies.js +10 -8
- package/dist/market-client.d.ts +265 -7
- package/dist/market-client.js +381 -9
- package/dist/model-registry.d.ts +1 -1
- package/dist/model-registry.js +19 -19
- package/dist/operations/agent-tools.d.ts +2 -11
- package/dist/operations/agent-tools.js +2 -14
- package/dist/operations/providers/default.d.ts +1 -1
- package/dist/operations/providers/default.js +20 -37
- package/dist/operations/repository-operations.d.ts +26 -2
- package/dist/operations/repository-operations.js +159 -1
- package/dist/operations/runtime.d.ts +3 -3
- package/dist/operations/services/bootstrap-runner.d.ts +1 -1
- package/dist/operations/services/build-warning-policy.d.ts +34 -0
- package/dist/operations/services/build-warning-policy.js +81 -82
- package/dist/operations/services/commit-message-provider.js +4 -4
- package/dist/operations/services/config-runtime.d.ts +73 -19
- package/dist/operations/services/config-runtime.js +276 -100
- package/dist/operations/services/deploy.d.ts +41 -622
- package/dist/operations/services/deploy.js +181 -213
- package/dist/operations/services/deployment-readiness.d.ts +1 -1
- package/dist/operations/services/deployment-readiness.js +38 -7
- package/dist/operations/services/git-remote-policy.js +12 -4
- package/dist/operations/services/git-runner.d.ts +66 -0
- package/dist/operations/services/git-runner.js +479 -0
- package/dist/operations/services/git-workflow.d.ts +43 -5
- package/dist/operations/services/git-workflow.js +242 -20
- package/dist/operations/services/github-actions-verification.d.ts +3 -1
- package/dist/operations/services/github-actions-verification.js +11 -3
- package/dist/operations/services/github-api.js +21 -5
- package/dist/operations/services/github-automation.d.ts +3 -3
- package/dist/operations/services/github-automation.js +15 -18
- package/dist/operations/services/github-credentials.js +2 -1
- package/dist/operations/services/hosted-service-checks.d.ts +19 -1
- package/dist/operations/services/hosted-service-checks.js +162 -11
- package/dist/operations/services/hosting-audit.d.ts +2 -2
- package/dist/operations/services/hosting-audit.js +7 -7
- package/dist/operations/services/hub-launch.d.ts +1 -1
- package/dist/operations/services/hub-provider-launch.d.ts +5 -5
- package/dist/operations/services/hub-provider-launch.js +19 -14
- package/dist/operations/services/live-hosted-service-checks.d.ts +2 -1
- package/dist/operations/services/live-hosted-service-checks.js +193 -80
- package/dist/operations/services/local-dev.js +0 -1
- package/dist/operations/services/managed-host-security.d.ts +1 -1
- package/dist/operations/services/managed-repositories.d.ts +37 -0
- package/dist/operations/services/managed-repositories.js +177 -0
- package/dist/operations/services/operations-runner-smoke.d.ts +3 -2
- package/dist/operations/services/operations-runner-smoke.js +22 -4
- package/dist/operations/services/package-adapters.d.ts +77 -2
- package/dist/operations/services/package-adapters.js +627 -56
- package/dist/operations/services/package-reference-policy.d.ts +12 -88
- package/dist/operations/services/package-reference-policy.js +81 -213
- package/dist/operations/services/project-host-operations.d.ts +4 -4
- package/dist/operations/services/project-platform.d.ts +19 -193
- package/dist/operations/services/project-platform.js +31 -103
- package/dist/operations/services/project-web-monitor.d.ts +2 -2
- package/dist/operations/services/project-web-monitor.js +97 -2
- package/dist/operations/services/railway-api.d.ts +36 -7
- package/dist/operations/services/railway-api.js +331 -100
- package/dist/operations/services/railway-deploy.d.ts +7 -95
- package/dist/operations/services/railway-deploy.js +334 -742
- package/dist/operations/services/release-history.js +3 -4
- package/dist/operations/services/release-proof-ledger.d.ts +13 -0
- package/dist/operations/services/release-proof-ledger.js +81 -0
- package/dist/operations/services/release-proof-planner.d.ts +48 -0
- package/dist/operations/services/release-proof-planner.js +195 -0
- package/dist/operations/services/release-proof-runner.d.ts +16 -0
- package/dist/operations/services/release-proof-runner.js +169 -0
- package/dist/operations/services/release-proof.d.ts +81 -0
- package/dist/operations/services/release-proof.js +79 -0
- package/dist/operations/services/repository-save-orchestrator.d.ts +6 -7
- package/dist/operations/services/repository-save-orchestrator.js +353 -174
- package/dist/operations/services/runtime-paths.d.ts +1 -3
- package/dist/operations/services/runtime-paths.js +0 -4
- package/dist/operations/services/runtime-tools.d.ts +1 -192
- package/dist/operations/services/runtime-tools.js +4 -444
- package/dist/operations/services/save-deploy-preflight.js +9 -1
- package/dist/operations/services/template-host-bindings.d.ts +2 -2
- package/dist/operations/services/template-host-bindings.js +3 -2
- package/dist/operations/services/template-registry.d.ts +6 -6
- package/dist/operations/services/template-registry.js +33 -14
- package/dist/operations/services/template-secret-sync.d.ts +3 -3
- package/dist/operations/services/workflow-timing.d.ts +25 -0
- package/dist/operations/services/workflow-timing.js +79 -0
- package/dist/operations/services/workspace-dependency-mode.js +41 -4
- package/dist/operations/services/workspace-preflight.js +8 -8
- package/dist/operations/services/workspace-save-script.d.ts +4 -4
- package/dist/operations/services/workspace-save.d.ts +1 -0
- package/dist/operations/services/workspace-save.js +41 -18
- package/dist/operations/services/workspace-tools.js +40 -6
- package/dist/operations-registry.d.ts +1 -1
- package/dist/operations-registry.js +5 -6
- package/dist/operations-types.d.ts +1 -1
- package/dist/operations.d.ts +17 -11
- package/dist/operations.js +57 -3
- package/dist/platform/book-export.js +2 -0
- package/dist/platform/books-data.d.ts +1 -1
- package/dist/platform/config.d.ts +27 -0
- package/dist/platform/config.js +100 -0
- package/dist/platform/content-runtime-source.d.ts +54 -0
- package/dist/platform/content-runtime-source.js +169 -0
- package/dist/platform/contracts.d.ts +6 -1
- package/dist/platform/deploy-config.d.ts +1 -1
- package/dist/platform/deploy-config.js +7 -1
- package/dist/platform/deploy-runtime.d.ts +1 -1
- package/dist/platform/desired-state.d.ts +63 -0
- package/dist/platform/desired-state.js +1021 -0
- package/dist/platform/env.yaml +414 -19
- package/dist/platform/environment.d.ts +2 -2
- package/dist/platform/environment.js +54 -22
- package/dist/platform/local-content-materialization.d.ts +9 -0
- package/dist/platform/local-content-materialization.js +212 -0
- package/dist/platform/plugin.d.ts +5 -5
- package/dist/platform/plugins/runtime.d.ts +3 -3
- package/dist/platform/plugins/runtime.js +62 -1
- package/dist/platform/plugins.d.ts +6 -6
- package/dist/platform/published-content-pipeline.d.ts +3 -3
- package/dist/platform/published-content-pipeline.js +5 -1
- package/dist/platform/published-content.d.ts +4 -3
- package/dist/platform/site-config-schema.d.ts +1 -0
- package/dist/platform/site-config-schema.js +4 -1
- package/dist/platform/tenant/runtime-config.d.ts +152 -2
- package/dist/platform/tenant-config.d.ts +1 -1
- package/dist/platform/utils/site-config-schema.d.ts +154 -0
- package/dist/platform/utils/site-config-schema.js +400 -461
- package/dist/platform-operation-store.d.ts +1 -1
- package/dist/plugin-default.d.ts +1 -1
- package/dist/plugin-default.js +27 -12
- package/dist/project-import.d.ts +91 -0
- package/dist/project-import.js +257 -0
- package/dist/project-workflow.d.ts +1 -1
- package/dist/reconcile/bootstrap-systems.d.ts +2 -2
- package/dist/reconcile/bootstrap-systems.js +3 -3
- package/dist/reconcile/builtin-adapters.d.ts +7 -1
- package/dist/reconcile/builtin-adapters.js +2924 -346
- package/dist/reconcile/contracts.d.ts +15 -2
- package/dist/reconcile/desired-state.d.ts +2 -193
- package/dist/reconcile/desired-state.js +24 -33
- package/dist/reconcile/engine.d.ts +60 -397
- package/dist/reconcile/engine.js +182 -18
- package/dist/reconcile/index.d.ts +10 -10
- package/dist/reconcile/live-acceptance.d.ts +22 -1
- package/dist/reconcile/live-acceptance.js +456 -44
- package/dist/reconcile/providers/docker-private.d.ts +54 -0
- package/dist/reconcile/providers/docker-private.js +101 -0
- package/dist/reconcile/providers/github-private.d.ts +65 -0
- package/dist/reconcile/providers/github-private.js +119 -0
- package/dist/reconcile/providers/local-private.d.ts +28 -0
- package/dist/reconcile/providers/local-private.js +75 -0
- package/dist/reconcile/providers/railway-iac.d.ts +66 -0
- package/dist/reconcile/providers/railway-iac.js +275 -0
- package/dist/reconcile/providers/release-private.d.ts +92 -0
- package/dist/reconcile/providers/release-private.js +152 -0
- package/dist/reconcile/registry.d.ts +2 -2
- package/dist/reconcile/registry.js +16 -1
- package/dist/reconcile/state.d.ts +1 -1
- package/dist/reconcile/state.js +3 -40
- package/dist/reconcile/units.d.ts +1 -1
- package/dist/reconcile/units.js +7 -1
- package/dist/remote.d.ts +6 -6
- package/dist/scenes/artifacts.d.ts +16 -0
- package/dist/scenes/artifacts.js +61 -0
- package/dist/scenes/auth.d.ts +2 -0
- package/dist/scenes/auth.js +28 -0
- package/dist/scenes/base-url.d.ts +12 -0
- package/dist/scenes/base-url.js +123 -0
- package/dist/scenes/builtin-plugins.d.ts +2 -0
- package/dist/scenes/builtin-plugins.js +447 -0
- package/dist/scenes/checkpoints.d.ts +14 -0
- package/dist/scenes/checkpoints.js +33 -0
- package/dist/scenes/device-matrix.d.ts +2 -0
- package/dist/scenes/device-matrix.js +97 -0
- package/dist/scenes/devices.d.ts +11 -0
- package/dist/scenes/devices.js +22 -0
- package/dist/scenes/diagnostics.d.ts +5 -0
- package/dist/scenes/diagnostics.js +22 -0
- package/dist/scenes/diagram-providers.d.ts +2 -0
- package/dist/scenes/diagram-providers.js +181 -0
- package/dist/scenes/diagram-validation.d.ts +22 -0
- package/dist/scenes/diagram-validation.js +74 -0
- package/dist/scenes/environment.d.ts +2 -0
- package/dist/scenes/environment.js +65 -0
- package/dist/scenes/evidence-bundle.d.ts +5 -0
- package/dist/scenes/evidence-bundle.js +42 -0
- package/dist/scenes/evidence-report.d.ts +10 -0
- package/dist/scenes/evidence-report.js +73 -0
- package/dist/scenes/evidence.d.ts +16 -0
- package/dist/scenes/evidence.js +277 -0
- package/dist/scenes/index.d.ts +48 -0
- package/dist/scenes/index.js +312 -0
- package/dist/scenes/inspect.d.ts +9 -0
- package/dist/scenes/inspect.js +64 -0
- package/dist/scenes/loader.d.ts +3 -0
- package/dist/scenes/loader.js +38 -0
- package/dist/scenes/logs.d.ts +2 -0
- package/dist/scenes/logs.js +47 -0
- package/dist/scenes/operations.d.ts +3 -0
- package/dist/scenes/operations.js +128 -0
- package/dist/scenes/phase0.d.ts +9 -0
- package/dist/scenes/phase0.js +637 -0
- package/dist/scenes/planner.d.ts +12 -0
- package/dist/scenes/planner.js +166 -0
- package/dist/scenes/playwright-adapter.d.ts +2 -0
- package/dist/scenes/playwright-adapter.js +63 -0
- package/dist/scenes/plugins.d.ts +5 -0
- package/dist/scenes/plugins.js +115 -0
- package/dist/scenes/progress.d.ts +17 -0
- package/dist/scenes/progress.js +24 -0
- package/dist/scenes/publish-destinations.d.ts +12 -0
- package/dist/scenes/publish-destinations.js +99 -0
- package/dist/scenes/publish-plan-report.d.ts +10 -0
- package/dist/scenes/publish-plan-report.js +70 -0
- package/dist/scenes/publish-plan.d.ts +15 -0
- package/dist/scenes/publish-plan.js +248 -0
- package/dist/scenes/publish-redaction.d.ts +16 -0
- package/dist/scenes/publish-redaction.js +148 -0
- package/dist/scenes/publish-release-record.d.ts +13 -0
- package/dist/scenes/publish-release-record.js +34 -0
- package/dist/scenes/publish-report.d.ts +10 -0
- package/dist/scenes/publish-report.js +67 -0
- package/dist/scenes/publish.d.ts +16 -0
- package/dist/scenes/publish.js +298 -0
- package/dist/scenes/registry.d.ts +12 -0
- package/dist/scenes/registry.js +65 -0
- package/dist/scenes/remotion-adapter.d.ts +3 -0
- package/dist/scenes/remotion-adapter.js +94 -0
- package/dist/scenes/remotion-composition-registry.d.ts +2 -0
- package/dist/scenes/remotion-composition-registry.js +12 -0
- package/dist/scenes/remotion-compositions.d.ts +15 -0
- package/dist/scenes/remotion-compositions.js +464 -0
- package/dist/scenes/remotion-diagrams.d.ts +9 -0
- package/dist/scenes/remotion-diagrams.js +188 -0
- package/dist/scenes/remotion-input.d.ts +13 -0
- package/dist/scenes/remotion-input.js +291 -0
- package/dist/scenes/remotion-visuals.d.ts +29 -0
- package/dist/scenes/remotion-visuals.js +198 -0
- package/dist/scenes/render-media-assets.d.ts +9 -0
- package/dist/scenes/render-media-assets.js +117 -0
- package/dist/scenes/render-report.d.ts +10 -0
- package/dist/scenes/render-report.js +27 -0
- package/dist/scenes/render.d.ts +2 -0
- package/dist/scenes/render.js +218 -0
- package/dist/scenes/reporter.d.ts +3 -0
- package/dist/scenes/reporter.js +101 -0
- package/dist/scenes/resume.d.ts +2 -0
- package/dist/scenes/resume.js +79 -0
- package/dist/scenes/runner.d.ts +2 -0
- package/dist/scenes/runner.js +674 -0
- package/dist/scenes/schema.d.ts +6 -0
- package/dist/scenes/schema.js +994 -0
- package/dist/scenes/seed.d.ts +2 -0
- package/dist/scenes/seed.js +83 -0
- package/dist/scenes/segments.d.ts +15 -0
- package/dist/scenes/segments.js +79 -0
- package/dist/scenes/selectors.d.ts +3 -0
- package/dist/scenes/selectors.js +21 -0
- package/dist/scenes/timeline.d.ts +11 -0
- package/dist/scenes/timeline.js +26 -0
- package/dist/scenes/timeouts.d.ts +6 -0
- package/dist/scenes/timeouts.js +17 -0
- package/dist/scenes/training-captions.d.ts +14 -0
- package/dist/scenes/training-captions.js +98 -0
- package/dist/scenes/training-report.d.ts +10 -0
- package/dist/scenes/training-report.js +78 -0
- package/dist/scenes/training-transcript.d.ts +24 -0
- package/dist/scenes/training-transcript.js +204 -0
- package/dist/scenes/training.d.ts +10 -0
- package/dist/scenes/training.js +134 -0
- package/dist/scenes/types.d.ts +1872 -0
- package/dist/scenes/types.js +8 -0
- package/dist/scenes/visual-audit-contact-sheets.d.ts +6 -0
- package/dist/scenes/visual-audit-contact-sheets.js +119 -0
- package/dist/scenes/visual-audit-fixtures.d.ts +25 -0
- package/dist/scenes/visual-audit-fixtures.js +210 -0
- package/dist/scenes/visual-audit-report.d.ts +11 -0
- package/dist/scenes/visual-audit-report.js +85 -0
- package/dist/scenes/visual-audit-review.d.ts +23 -0
- package/dist/scenes/visual-audit-review.js +829 -0
- package/dist/scenes/visual-audit-routes.d.ts +13 -0
- package/dist/scenes/visual-audit-routes.js +308 -0
- package/dist/scenes/visual-audit.d.ts +3 -0
- package/dist/scenes/visual-audit.js +596 -0
- package/dist/scripts/build-dist.js +154 -40
- package/dist/scripts/check-build-warnings.js +42 -53
- package/dist/scripts/cleanup-markdown.js +1 -1
- package/dist/scripts/cli-test-fixtures.js +24 -28
- package/dist/scripts/migrate-journey-csv-to-guarantees.js +140 -0
- package/dist/scripts/package-tools.js +12 -1
- package/dist/scripts/prepare.js +3 -7
- package/dist/scripts/release-verify.js +2 -5
- package/dist/scripts/run-fixture-astro-command.js +1 -1
- package/dist/scripts/template-catalog.test.js +68 -82
- package/dist/scripts/tenant-dev.js +0 -10
- package/dist/scripts/test-cloudflare-local.js +1 -1
- package/dist/scripts/test-scaffold.js +0 -1
- package/dist/scripts/test-smoke.js +3 -3
- package/dist/scripts/treeseed-build-dist.js +4 -7
- package/dist/scripts/treeseed-release-verify.js +1 -1
- package/dist/scripts/verify-driver.js +30 -21
- package/dist/scripts/workflow-commands.test.js +18 -27
- package/dist/scripts/workspace-command-e2e.js +1 -1
- package/dist/scripts/workspace-lint.js +6 -0
- package/dist/scripts/workspace-release-test.js +90 -1
- package/dist/scripts/workspace-test.js +6 -0
- package/dist/sdk-dispatch.d.ts +1 -1
- package/dist/sdk-dispatch.js +0 -16
- package/dist/sdk-fields.d.ts +1 -1
- package/dist/sdk-filters.d.ts +1 -1
- package/dist/sdk-types.d.ts +1184 -113
- package/dist/sdk-types.js +393 -0
- package/dist/sdk.d.ts +74 -79
- package/dist/sdk.js +27 -36
- package/dist/secrets-capability.d.ts +421 -0
- package/dist/secrets-capability.js +530 -0
- package/dist/seeds/normalize.js +1 -0
- package/dist/seeds/planner.js +38 -0
- package/dist/seeds/schema.js +293 -4
- package/dist/seeds/types.d.ts +60 -0
- package/dist/seeds/types.js +9 -1
- package/dist/service-credentials.d.ts +54 -0
- package/dist/service-credentials.js +112 -0
- package/dist/stores/cursor-store.d.ts +2 -2
- package/dist/stores/envelopes.d.ts +1 -1
- package/dist/stores/helpers.d.ts +1 -1
- package/dist/stores/lease-store.d.ts +2 -2
- package/dist/stores/message-store.d.ts +2 -2
- package/dist/stores/operational-store.d.ts +3 -26
- package/dist/stores/operational-store.js +0 -225
- package/dist/stores/project-workflow-store.d.ts +2 -2
- package/dist/stores/run-store.d.ts +2 -3
- package/dist/stores/run-store.js +0 -98
- package/dist/stores/subscription-store.d.ts +2 -3
- package/dist/stores/subscription-store.js +0 -100
- package/dist/template-catalog.d.ts +1 -1
- package/dist/template-launch-requirements.d.ts +2 -2
- package/dist/template-launch-ui.d.ts +2 -2
- package/dist/treedx/adapters.d.ts +6 -6
- package/dist/treedx/client.d.ts +1 -1
- package/dist/treedx/errors.d.ts +1 -1
- package/dist/treedx/federated-client.d.ts +3 -3
- package/dist/treedx/graph-adapter.d.ts +2 -2
- package/dist/treedx/index.d.ts +14 -14
- package/dist/treedx/market-integration.d.ts +1 -1
- package/dist/treedx/ports.d.ts +30 -30
- package/dist/treedx/query-adapter.d.ts +3 -3
- package/dist/treedx/registry-client.d.ts +2 -2
- package/dist/treedx/repository-adapter.d.ts +4 -4
- package/dist/treedx/repository-adapter.js +14 -3
- package/dist/treedx/sdk-integration.d.ts +3 -3
- package/dist/treedx/types.d.ts +2 -2
- package/dist/treedx/workspace-adapter.d.ts +2 -2
- package/dist/treedx-backends.d.ts +13 -11
- package/dist/treedx-backends.js +52 -50
- package/dist/treedx-client.d.ts +3 -0
- package/dist/treedx-client.js +10 -1
- package/dist/treeseed/services/compose.yml +2 -3
- package/dist/treeseed/template-catalog/catalog.fixture.json +4 -4
- package/dist/types/agents.d.ts +256 -0
- package/dist/types/agents.js +42 -1
- package/dist/verification.d.ts +1 -0
- package/dist/verification.js +143 -14
- package/dist/workflow/operations.d.ts +510 -559
- package/dist/workflow/operations.js +1891 -1342
- package/dist/workflow/policy.js +19 -7
- package/dist/workflow/runs.d.ts +9 -3
- package/dist/workflow/runs.js +66 -26
- package/dist/workflow/session.d.ts +4 -1
- package/dist/workflow/session.js +50 -10
- package/dist/workflow/worktrees.d.ts +6 -2
- package/dist/workflow/worktrees.js +98 -15
- package/dist/workflow-state.d.ts +5 -5
- package/dist/workflow-state.js +27 -17
- package/dist/workflow-support.d.ts +26 -25
- package/dist/workflow-support.js +27 -31
- package/dist/workflow.d.ts +46 -16
- package/dist/workflow.js +19 -7
- package/drizzle/d1/0000_treeseed_d1.sql +0 -18
- package/drizzle/market/0000_market_control_plane.sql +1793 -1499
- package/drizzle/market/0005_agent_capacity_coordination.sql +145 -0
- package/drizzle/market/0006_provider_assignment_lifecycle.sql +9 -0
- package/drizzle/market/0007_agent_architecture_gap_closure.sql +157 -0
- package/drizzle/market/0008_agent_capacity_operational_closure.sql +27 -0
- package/drizzle/market/0009_agent_capacity_runtime_hardening.sql +29 -0
- package/drizzle/market/0010_secrets_capability_persistence.sql +130 -0
- package/drizzle/market/0011_github_app_adapter.sql +47 -0
- package/drizzle/market/0012_workday_test_runs.sql +44 -0
- package/drizzle/market/0013_runtime_task_lifecycle.sql +39 -0
- package/drizzle/market/0014_governance_pipeline.sql +189 -0
- package/package.json +75 -18
- package/scripts/{verify-driver.mjs → verify-driver.ts} +19 -4
- package/templates/github/deploy-web.workflow.yml +12 -8
- package/dist/operations/services/mailpit-runtime.d.ts +0 -20
- package/dist/operations/services/mailpit-runtime.js +0 -67
- package/dist/operations/services/release-candidate.d.ts +0 -60
- package/dist/operations/services/release-candidate.js +0 -953
- package/dist/scripts/ensure-mailpit.js +0 -48
- package/dist/scripts/logs-mailpit.js +0 -2
- package/dist/scripts/run-ts.js +0 -45
- package/dist/scripts/stop-mailpit.js +0 -5
- package/dist/scripts/treeseed-run-ts.js +0 -45
|
@@ -1,12 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { type
|
|
6
|
-
import { type
|
|
7
|
-
import
|
|
1
|
+
import { planTreeseedReconciliation, reconcileTreeseedTarget, type TreeseedReconcileTarget } from '../reconcile/index.js';
|
|
2
|
+
import { STAGING_BRANCH } from '../operations/services/git-workflow.js';
|
|
3
|
+
import type { TreeseedProofDriver } from '../operations/services/release-proof.js';
|
|
4
|
+
import { type TreeseedWorkflowTiming } from '../operations/services/workflow-timing.js';
|
|
5
|
+
import { type ReleaseHistoryCommit } from '../operations/services/release-history.js';
|
|
6
|
+
import { type RepositorySaveReport } from '../operations/services/repository-save-orchestrator.js';
|
|
7
|
+
import { resolveTreeseedWorkflowState, type TreeseedWorkflowStatusOptions } from '../workflow-state.js';
|
|
8
|
+
import { type TreeseedReconcileResult } from '../reconcile/index.js';
|
|
9
|
+
import { type TreeseedWorkflowRunCommand, type TreeseedWorkflowRunJournal } from './runs.js';
|
|
10
|
+
import { type TreeseedWorkflowMode } from './session.js';
|
|
11
|
+
import type { TreeseedCloseInput, TreeseedCiInput, TreeseedConfigInput, TreeseedDestroyInput, TreeseedExportInput, TreeseedReleaseCandidateInput, TreeseedReleaseInput, TreeseedRecoverInput, TreeseedResumeInput, TreeseedSaveInput, TreeseedStageInput, TreeseedSwitchInput, TreeseedTaskBranchMetadata, TreeseedUpdateInput, TreeseedWorkflowContext, TreeseedWorkflowCiMode, TreeseedWorkflowDevInput, TreeseedWorkflowExecutionMode, TreeseedWorkflowOperationId, TreeseedWorkflowResult, TreeseedWorkflowWorktreeMode, TreeseedReleaseCandidateMode, TreeseedProofInput } from '../workflow.js';
|
|
8
12
|
type WorkflowWrite = NonNullable<TreeseedWorkflowContext['write']>;
|
|
9
13
|
type WorkflowStatePayload = ReturnType<typeof resolveTreeseedWorkflowState>;
|
|
14
|
+
type ReleaseCandidateMode = TreeseedReleaseCandidateMode;
|
|
10
15
|
export type TreeseedWorkflowErrorCode = 'validation_failed' | 'merge_conflict' | 'missing_runtime_auth' | 'deployment_timeout' | 'confirmation_required' | 'unsupported_transport' | 'unsupported_state' | 'workflow_locked' | 'resume_unavailable' | 'workflow_contract_missing' | 'github_workflow_failed' | 'github_auth_unavailable';
|
|
11
16
|
export declare class TreeseedWorkflowError extends Error {
|
|
12
17
|
code: TreeseedWorkflowErrorCode;
|
|
@@ -27,6 +32,10 @@ export type WorkflowOperationHelpers = {
|
|
|
27
32
|
tasks: TreeseedTaskBranchMetadata[];
|
|
28
33
|
}>>;
|
|
29
34
|
};
|
|
35
|
+
export declare function normalizeSaveLane(lane: TreeseedSaveInput['lane'] | undefined): "fast" | "promotion";
|
|
36
|
+
export declare function normalizeSaveCiMode(mode: TreeseedWorkflowCiMode | undefined, branch: string | null | undefined, lane?: 'fast' | 'promotion'): "hosted" | "off";
|
|
37
|
+
export declare function normalizeReleaseCandidateMode(mode: TreeseedSaveInput['releaseCandidate'] | undefined, operation: Extract<TreeseedWorkflowOperationId, 'save' | 'stage' | 'release'>, lane?: 'fast' | 'promotion'): ReleaseCandidateMode;
|
|
38
|
+
export declare function shouldUseHostedSaveCi(input: TreeseedSaveInput, branch: string | null | undefined, lane?: 'fast' | 'promotion'): boolean;
|
|
30
39
|
type WorkflowRepoReport = {
|
|
31
40
|
name: string;
|
|
32
41
|
path: string;
|
|
@@ -61,7 +70,60 @@ type WorkflowApplicationSelection = {
|
|
|
61
70
|
}>;
|
|
62
71
|
source: 'changed-paths' | 'package-selection' | 'default';
|
|
63
72
|
};
|
|
64
|
-
export declare function
|
|
73
|
+
export declare function workflowProof(helpers: WorkflowOperationHelpers, input?: TreeseedProofInput): Promise<TreeseedWorkflowResult<Record<string, unknown> & {
|
|
74
|
+
finalState?: WorkflowStatePayload;
|
|
75
|
+
timing?: TreeseedWorkflowTiming;
|
|
76
|
+
}>>;
|
|
77
|
+
export declare function workflowReleaseCandidate(helpers: WorkflowOperationHelpers, input?: TreeseedReleaseCandidateInput): Promise<TreeseedWorkflowResult<{
|
|
78
|
+
mode: TreeseedReleaseCandidateMode;
|
|
79
|
+
driver: TreeseedProofDriver;
|
|
80
|
+
verifyDriver: import("../workflow.js").TreeseedReleaseCandidateVerifyDriver;
|
|
81
|
+
selectedPackageNames: string[];
|
|
82
|
+
keepWorkspace: boolean;
|
|
83
|
+
plan: import("../operations.js").TreeseedProofPlan;
|
|
84
|
+
plannedSteps: {
|
|
85
|
+
id: string;
|
|
86
|
+
description: string;
|
|
87
|
+
}[];
|
|
88
|
+
} & {
|
|
89
|
+
finalState?: WorkflowStatePayload;
|
|
90
|
+
timing?: TreeseedWorkflowTiming;
|
|
91
|
+
}>>;
|
|
92
|
+
export declare function reconcileTreeseedBranchPreview(input: {
|
|
93
|
+
root: string;
|
|
94
|
+
branch: string;
|
|
95
|
+
appId?: string[];
|
|
96
|
+
dryRun: boolean;
|
|
97
|
+
execute: boolean;
|
|
98
|
+
workflowRunId?: string;
|
|
99
|
+
initialize?: boolean;
|
|
100
|
+
env?: NodeJS.ProcessEnv;
|
|
101
|
+
}): Promise<{
|
|
102
|
+
status: 'planned' | 'reconciled';
|
|
103
|
+
branch: string;
|
|
104
|
+
initialize: boolean;
|
|
105
|
+
reconcile: Awaited<ReturnType<typeof planTreeseedReconciliation>> | Awaited<ReturnType<typeof reconcileTreeseedTarget>>;
|
|
106
|
+
}>;
|
|
107
|
+
export declare function destroyTreeseedBranchPreview(input: {
|
|
108
|
+
root: string;
|
|
109
|
+
branch: string;
|
|
110
|
+
dryRun: boolean;
|
|
111
|
+
execute: boolean;
|
|
112
|
+
reason: 'close' | 'branch-delete' | 'expired' | 'manual';
|
|
113
|
+
env?: NodeJS.ProcessEnv;
|
|
114
|
+
}): Promise<{
|
|
115
|
+
status: 'planned' | 'destroyed';
|
|
116
|
+
branch: string;
|
|
117
|
+
reason: string;
|
|
118
|
+
reconcile: Awaited<ReturnType<typeof planTreeseedReconciliation>> | {
|
|
119
|
+
target: {
|
|
120
|
+
kind: 'branch';
|
|
121
|
+
branchName: string;
|
|
122
|
+
};
|
|
123
|
+
results: TreeseedReconcileResult[];
|
|
124
|
+
};
|
|
125
|
+
}>;
|
|
126
|
+
export declare function workflowStatus(helpers: WorkflowOperationHelpers, input?: TreeseedWorkflowStatusOptions): Promise<TreeseedWorkflowResult<import("../workflow-state.js").TreeseedWorkflowState>>;
|
|
65
127
|
export declare function workflowCi(helpers: WorkflowOperationHelpers, input?: TreeseedCiInput): Promise<TreeseedWorkflowResult<TreeseedCiResult>>;
|
|
66
128
|
export declare function workflowTasks(helpers: WorkflowOperationHelpers): Promise<TreeseedWorkflowResult<{
|
|
67
129
|
tasks: TreeseedTaskBranchMetadata[];
|
|
@@ -135,10 +197,11 @@ export declare function workflowConfig(helpers: WorkflowOperationHelpers, input?
|
|
|
135
197
|
remediation: string[];
|
|
136
198
|
};
|
|
137
199
|
market: any;
|
|
138
|
-
connection: import("../sdk-types.
|
|
200
|
+
connection: import("../sdk-types.js").ProjectConnection | null;
|
|
139
201
|
runnerTokenIssued: boolean;
|
|
140
202
|
} & {
|
|
141
203
|
finalState?: WorkflowStatePayload;
|
|
204
|
+
timing?: TreeseedWorkflowTiming;
|
|
142
205
|
}> | TreeseedWorkflowResult<{
|
|
143
206
|
mode: string;
|
|
144
207
|
scopes: ("local" | "staging" | "prod")[];
|
|
@@ -162,7 +225,7 @@ export declare function workflowConfig(helpers: WorkflowOperationHelpers, input?
|
|
|
162
225
|
issues: any[];
|
|
163
226
|
};
|
|
164
227
|
}[];
|
|
165
|
-
repairs: import("../operations/services/config-runtime.
|
|
228
|
+
repairs: import("../operations/services/config-runtime.js").TreeseedRepairAction[];
|
|
166
229
|
preflight: {
|
|
167
230
|
ok: boolean;
|
|
168
231
|
requireAuth: boolean;
|
|
@@ -207,16 +270,17 @@ export declare function workflowConfig(helpers: WorkflowOperationHelpers, input?
|
|
|
207
270
|
actVerificationReady: any;
|
|
208
271
|
remediation: string[];
|
|
209
272
|
};
|
|
210
|
-
context: import("../operations/services/config-runtime.
|
|
211
|
-
secretSession: import("../operations/services/config-runtime.
|
|
273
|
+
context: import("../operations/services/config-runtime.js").TreeseedCollectedConfigContext;
|
|
274
|
+
secretSession: import("../operations/services/config-runtime.js").TreeseedConfigSecretSessionBootstrap;
|
|
212
275
|
} & {
|
|
213
276
|
finalState?: WorkflowStatePayload;
|
|
277
|
+
timing?: TreeseedWorkflowTiming;
|
|
214
278
|
}> | TreeseedWorkflowResult<{
|
|
215
279
|
mode: string;
|
|
216
280
|
scopes: ("local" | "staging" | "prod")[];
|
|
217
281
|
sync: "none" | "cloudflare" | "railway" | "github" | "all";
|
|
218
282
|
keyPath: string;
|
|
219
|
-
repairs: import("../operations/services/config-runtime.
|
|
283
|
+
repairs: import("../operations/services/config-runtime.js").TreeseedRepairAction[];
|
|
220
284
|
preflight: {
|
|
221
285
|
ok: boolean;
|
|
222
286
|
requireAuth: boolean;
|
|
@@ -261,14 +325,15 @@ export declare function workflowConfig(helpers: WorkflowOperationHelpers, input?
|
|
|
261
325
|
actVerificationReady: any;
|
|
262
326
|
remediation: string[];
|
|
263
327
|
};
|
|
264
|
-
context: import("../operations/services/config-runtime.
|
|
265
|
-
secretSession: import("../operations/services/config-runtime.
|
|
328
|
+
context: import("../operations/services/config-runtime.js").TreeseedCollectedConfigContext;
|
|
329
|
+
secretSession: import("../operations/services/config-runtime.js").TreeseedConfigSecretSessionBootstrap;
|
|
266
330
|
} & {
|
|
267
331
|
finalState?: WorkflowStatePayload;
|
|
332
|
+
timing?: TreeseedWorkflowTiming;
|
|
268
333
|
}>>;
|
|
269
334
|
export declare function workflowExport(helpers: WorkflowOperationHelpers, input?: TreeseedExportInput): Promise<TreeseedWorkflowResult<{
|
|
270
335
|
worktreeMode: TreeseedWorkflowWorktreeMode;
|
|
271
|
-
managedWorktree: import("./worktrees.
|
|
336
|
+
managedWorktree: import("./worktrees.js").ManagedWorkflowWorktreeMetadata | null;
|
|
272
337
|
worktreePath: string | null;
|
|
273
338
|
primaryRoot: string | null;
|
|
274
339
|
directory: string;
|
|
@@ -286,8 +351,94 @@ export declare function workflowExport(helpers: WorkflowOperationHelpers, input?
|
|
|
286
351
|
};
|
|
287
352
|
} & {
|
|
288
353
|
finalState?: WorkflowStatePayload;
|
|
354
|
+
timing?: TreeseedWorkflowTiming;
|
|
289
355
|
}>>;
|
|
290
356
|
export declare function workflowSwitch(helpers: WorkflowOperationHelpers, input: TreeseedSwitchInput): any;
|
|
357
|
+
type TreeseedUpdateStrategy = 'merge' | 'ff-only';
|
|
358
|
+
type TreeseedUpdateRepoAction = 'planned' | 'up-to-date' | 'merged' | 'fast-forwarded' | 'pushed' | 'blocked';
|
|
359
|
+
type TreeseedUpdateRepoResult = {
|
|
360
|
+
name: string;
|
|
361
|
+
path: string;
|
|
362
|
+
branch: string;
|
|
363
|
+
sourceRef: string;
|
|
364
|
+
action: TreeseedUpdateRepoAction;
|
|
365
|
+
beforeHead: string | null;
|
|
366
|
+
afterHead: string | null;
|
|
367
|
+
pushed: boolean;
|
|
368
|
+
changedFiles: string[];
|
|
369
|
+
blockers: string[];
|
|
370
|
+
ahead?: number | null;
|
|
371
|
+
behind?: number | null;
|
|
372
|
+
status?: 'up-to-date' | 'merge-needed' | 'fast-forward' | 'blocked';
|
|
373
|
+
};
|
|
374
|
+
type TreeseedUpdateConflict = {
|
|
375
|
+
repo: string;
|
|
376
|
+
path: string;
|
|
377
|
+
files: string[];
|
|
378
|
+
};
|
|
379
|
+
export declare function workflowUpdate(helpers: WorkflowOperationHelpers, input?: TreeseedUpdateInput): Promise<TreeseedWorkflowResult<{
|
|
380
|
+
worktreeMode: TreeseedWorkflowWorktreeMode;
|
|
381
|
+
managedWorktree: import("./worktrees.js").ManagedWorkflowWorktreeMetadata | null;
|
|
382
|
+
worktreePath: string | null;
|
|
383
|
+
primaryRoot: string | null;
|
|
384
|
+
mode: TreeseedWorkflowMode;
|
|
385
|
+
branch: string;
|
|
386
|
+
sourceBranch: string;
|
|
387
|
+
sourceRef: string;
|
|
388
|
+
strategy: TreeseedUpdateStrategy;
|
|
389
|
+
pushed: boolean;
|
|
390
|
+
plan: boolean;
|
|
391
|
+
repos: TreeseedUpdateRepoResult[];
|
|
392
|
+
rootRepo: TreeseedUpdateRepoResult;
|
|
393
|
+
conflicts: never[];
|
|
394
|
+
blockers: string[];
|
|
395
|
+
} & {
|
|
396
|
+
finalState?: WorkflowStatePayload;
|
|
397
|
+
timing?: TreeseedWorkflowTiming;
|
|
398
|
+
}> | TreeseedWorkflowResult<{
|
|
399
|
+
worktreeMode: TreeseedWorkflowWorktreeMode;
|
|
400
|
+
managedWorktree: import("./worktrees.js").ManagedWorkflowWorktreeMetadata | null;
|
|
401
|
+
worktreePath: string | null;
|
|
402
|
+
primaryRoot: string | null;
|
|
403
|
+
mode: TreeseedWorkflowMode;
|
|
404
|
+
branch: string;
|
|
405
|
+
sourceBranch: string;
|
|
406
|
+
sourceRef: string;
|
|
407
|
+
strategy: TreeseedUpdateStrategy;
|
|
408
|
+
pushed: boolean;
|
|
409
|
+
plan: boolean;
|
|
410
|
+
repos: TreeseedUpdateRepoResult[];
|
|
411
|
+
rootRepo: {
|
|
412
|
+
action: "blocked" | "committed" | "up-to-date" | "merged" | "fast-forwarded";
|
|
413
|
+
commitSha: string | null;
|
|
414
|
+
pushed: boolean;
|
|
415
|
+
changedFiles: string[];
|
|
416
|
+
name: string;
|
|
417
|
+
path: string;
|
|
418
|
+
branch: string;
|
|
419
|
+
sourceRef: string;
|
|
420
|
+
beforeHead: string | null;
|
|
421
|
+
afterHead: string | null;
|
|
422
|
+
blockers: string[];
|
|
423
|
+
} | {
|
|
424
|
+
action: "blocked" | "committed" | "up-to-date" | "merged" | "fast-forwarded";
|
|
425
|
+
commitSha: string | null;
|
|
426
|
+
pushed: boolean;
|
|
427
|
+
changedFiles: string[];
|
|
428
|
+
name: string;
|
|
429
|
+
path: string;
|
|
430
|
+
branch: string;
|
|
431
|
+
sourceRef: string;
|
|
432
|
+
beforeHead: string | null;
|
|
433
|
+
afterHead: string | null;
|
|
434
|
+
blockers: never[];
|
|
435
|
+
};
|
|
436
|
+
conflicts: TreeseedUpdateConflict[];
|
|
437
|
+
workspaceLinks: import("../operations/services/workspace-dependency-mode.js").WorkspaceDependencyModeReport;
|
|
438
|
+
} & {
|
|
439
|
+
finalState?: WorkflowStatePayload;
|
|
440
|
+
timing?: TreeseedWorkflowTiming;
|
|
441
|
+
}>>;
|
|
291
442
|
export declare function workflowDev(helpers: WorkflowOperationHelpers, input?: TreeseedWorkflowDevInput): Promise<TreeseedWorkflowResult<{
|
|
292
443
|
watch: boolean;
|
|
293
444
|
background: boolean;
|
|
@@ -306,9 +457,10 @@ export declare function workflowDev(helpers: WorkflowOperationHelpers, input?: T
|
|
|
306
457
|
blockers: string[];
|
|
307
458
|
warnings: string[];
|
|
308
459
|
};
|
|
309
|
-
workspaceLinks: import("../operations/services/workspace-dependency-mode.
|
|
460
|
+
workspaceLinks: import("../operations/services/workspace-dependency-mode.js").WorkspaceDependencyModeReport;
|
|
310
461
|
} & {
|
|
311
462
|
finalState?: WorkflowStatePayload;
|
|
463
|
+
timing?: TreeseedWorkflowTiming;
|
|
312
464
|
}> | TreeseedWorkflowResult<{
|
|
313
465
|
watch: boolean;
|
|
314
466
|
background: boolean;
|
|
@@ -327,20 +479,21 @@ export declare function workflowDev(helpers: WorkflowOperationHelpers, input?: T
|
|
|
327
479
|
blockers: string[];
|
|
328
480
|
warnings: string[];
|
|
329
481
|
};
|
|
330
|
-
workspaceLinks: import("../operations/services/workspace-dependency-mode.
|
|
482
|
+
workspaceLinks: import("../operations/services/workspace-dependency-mode.js").WorkspaceDependencyModeReport;
|
|
331
483
|
} & {
|
|
332
484
|
finalState?: WorkflowStatePayload;
|
|
485
|
+
timing?: TreeseedWorkflowTiming;
|
|
333
486
|
}>>;
|
|
334
487
|
export declare function workflowSave(helpers: WorkflowOperationHelpers, input: TreeseedSaveInput): Promise<TreeseedWorkflowResult<{
|
|
335
|
-
repositoryPlan: import("../operations/services/repository-save-orchestrator.
|
|
336
|
-
waves: import("../operations/services/repository-save-orchestrator.
|
|
488
|
+
repositoryPlan: import("../operations/services/repository-save-orchestrator.js").RepositorySavePlan;
|
|
489
|
+
waves: import("../operations/services/repository-save-orchestrator.js").RepositorySavePlanWave[];
|
|
337
490
|
plannedVersions: Record<string, string>;
|
|
338
491
|
plannedSteps: {
|
|
339
492
|
id: string;
|
|
340
493
|
description: string;
|
|
341
494
|
}[];
|
|
342
495
|
worktreeMode: TreeseedWorkflowWorktreeMode;
|
|
343
|
-
managedWorktree: import("./worktrees.
|
|
496
|
+
managedWorktree: import("./worktrees.js").ManagedWorkflowWorktreeMetadata | null;
|
|
344
497
|
worktreePath: string | null;
|
|
345
498
|
primaryRoot: string | null;
|
|
346
499
|
mode: TreeseedWorkflowMode;
|
|
@@ -348,8 +501,8 @@ export declare function workflowSave(helpers: WorkflowOperationHelpers, input: T
|
|
|
348
501
|
scope: string;
|
|
349
502
|
hotfix: boolean;
|
|
350
503
|
message: string;
|
|
351
|
-
repos: import("../operations/services/repository-save-orchestrator.
|
|
352
|
-
rootRepo: import("../operations/services/repository-save-orchestrator.
|
|
504
|
+
repos: import("../operations/services/repository-save-orchestrator.js").RepositorySavePlanRepo[];
|
|
505
|
+
rootRepo: import("../operations/services/repository-save-orchestrator.js").RepositorySavePlanRepo;
|
|
353
506
|
blockers: string[];
|
|
354
507
|
autoResumeCandidate: {
|
|
355
508
|
runId: string;
|
|
@@ -361,17 +514,18 @@ export declare function workflowSave(helpers: WorkflowOperationHelpers, input: T
|
|
|
361
514
|
at: string;
|
|
362
515
|
} | null;
|
|
363
516
|
} | null;
|
|
364
|
-
workspaceLinks: import("../operations/services/workspace-dependency-mode.
|
|
517
|
+
workspaceLinks: import("../operations/services/workspace-dependency-mode.js").WorkspaceDependencyModeReport;
|
|
365
518
|
ciMode: "hosted" | "off";
|
|
366
519
|
lane: string;
|
|
367
|
-
verifyMode: "action-first" | "local-only" | import("../workflow.
|
|
368
|
-
releaseCandidateMode:
|
|
520
|
+
verifyMode: "action-first" | "local-only" | import("../workflow.js").TreeseedWorkflowVerifyMode;
|
|
521
|
+
releaseCandidateMode: TreeseedReleaseCandidateMode;
|
|
369
522
|
applicationSelection: WorkflowApplicationSelection;
|
|
370
523
|
} & {
|
|
371
524
|
finalState?: WorkflowStatePayload;
|
|
525
|
+
timing?: TreeseedWorkflowTiming;
|
|
372
526
|
}> | TreeseedWorkflowResult<{
|
|
373
527
|
worktreeMode: TreeseedWorkflowWorktreeMode;
|
|
374
|
-
managedWorktree: import("./worktrees.
|
|
528
|
+
managedWorktree: import("./worktrees.js").ManagedWorkflowWorktreeMetadata | null;
|
|
375
529
|
worktreePath: string | null;
|
|
376
530
|
primaryRoot: string | null;
|
|
377
531
|
mode: "root-only" | "recursive-workspace";
|
|
@@ -395,7 +549,7 @@ export declare function workflowSave(helpers: WorkflowOperationHelpers, input: T
|
|
|
395
549
|
partialFailure: null;
|
|
396
550
|
previewAction: Record<string, unknown>;
|
|
397
551
|
mergeConflict: null;
|
|
398
|
-
workspaceLinks: import("../operations/services/workspace-dependency-mode.
|
|
552
|
+
workspaceLinks: import("../operations/services/workspace-dependency-mode.js").WorkspaceDependencyModeReport;
|
|
399
553
|
commandReadiness: {
|
|
400
554
|
status: string;
|
|
401
555
|
checks: {
|
|
@@ -414,19 +568,19 @@ export declare function workflowSave(helpers: WorkflowOperationHelpers, input: T
|
|
|
414
568
|
missing: never[];
|
|
415
569
|
};
|
|
416
570
|
lockfileValidation: {
|
|
417
|
-
root: import("../operations/services/repository-save-orchestrator.
|
|
571
|
+
root: import("../operations/services/repository-save-orchestrator.js").RepositoryLockfileValidationResult | null;
|
|
418
572
|
repos: {
|
|
419
573
|
name: string;
|
|
420
574
|
path: string;
|
|
421
|
-
lockfileValidation: import("../operations/services/repository-save-orchestrator.
|
|
575
|
+
lockfileValidation: import("../operations/services/repository-save-orchestrator.js").RepositoryLockfileValidationResult | null;
|
|
422
576
|
}[];
|
|
423
577
|
};
|
|
424
578
|
ciMode: "hosted" | "off";
|
|
425
579
|
lane: string;
|
|
426
|
-
verifyMode: "action-first" | "local-only" | import("../workflow.
|
|
427
|
-
releaseCandidateMode:
|
|
580
|
+
verifyMode: "action-first" | "local-only" | import("../workflow.js").TreeseedWorkflowVerifyMode;
|
|
581
|
+
releaseCandidateMode: TreeseedReleaseCandidateMode;
|
|
428
582
|
applicationSelection: WorkflowApplicationSelection;
|
|
429
|
-
workflowGates:
|
|
583
|
+
workflowGates: Record<string, unknown>[] | {
|
|
430
584
|
name: string;
|
|
431
585
|
repository: string | null;
|
|
432
586
|
workflow: string;
|
|
@@ -441,16 +595,25 @@ export declare function workflowSave(helpers: WorkflowOperationHelpers, input: T
|
|
|
441
595
|
updatedAt: null;
|
|
442
596
|
timeoutSeconds: number | null;
|
|
443
597
|
cached: boolean;
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
598
|
+
}[];
|
|
599
|
+
hostedReconcile: any;
|
|
600
|
+
releaseCandidate: {
|
|
601
|
+
mode: TreeseedReleaseCandidateMode;
|
|
602
|
+
driver: TreeseedProofDriver;
|
|
603
|
+
selectedPackageNames: string[];
|
|
604
|
+
proof: import("../operations.js").TreeseedProofRunResult;
|
|
605
|
+
status: string;
|
|
606
|
+
reused: number;
|
|
607
|
+
records: number;
|
|
608
|
+
} | null;
|
|
609
|
+
releaseProof: import("../operations.js").TreeseedProofRunResult | {
|
|
610
|
+
skipped: boolean;
|
|
611
|
+
reason: string;
|
|
451
612
|
} | null;
|
|
613
|
+
hostingAudit: null;
|
|
452
614
|
} & {
|
|
453
615
|
finalState?: WorkflowStatePayload;
|
|
616
|
+
timing?: TreeseedWorkflowTiming;
|
|
454
617
|
}>>;
|
|
455
618
|
export declare function workflowClose(helpers: WorkflowOperationHelpers, input: TreeseedCloseInput): Promise<TreeseedWorkflowResult<{
|
|
456
619
|
autoSaveRequired: boolean;
|
|
@@ -462,7 +625,7 @@ export declare function workflowClose(helpers: WorkflowOperationHelpers, input:
|
|
|
462
625
|
description: string;
|
|
463
626
|
}[];
|
|
464
627
|
worktreeMode: TreeseedWorkflowWorktreeMode;
|
|
465
|
-
managedWorktree: import("./worktrees.
|
|
628
|
+
managedWorktree: import("./worktrees.js").ManagedWorkflowWorktreeMetadata | null;
|
|
466
629
|
worktreePath: string | null;
|
|
467
630
|
primaryRoot: string | null;
|
|
468
631
|
mode: TreeseedWorkflowMode;
|
|
@@ -480,21 +643,22 @@ export declare function workflowClose(helpers: WorkflowOperationHelpers, input:
|
|
|
480
643
|
} | null;
|
|
481
644
|
} & {
|
|
482
645
|
finalState?: WorkflowStatePayload;
|
|
646
|
+
timing?: TreeseedWorkflowTiming;
|
|
483
647
|
}> | TreeseedWorkflowResult<{
|
|
484
648
|
mode: TreeseedWorkflowMode;
|
|
485
649
|
branchName: string;
|
|
486
650
|
message: string;
|
|
487
651
|
autoSaved: boolean;
|
|
488
652
|
autoSaveResult: ({
|
|
489
|
-
repositoryPlan: import("../operations/services/repository-save-orchestrator.
|
|
490
|
-
waves: import("../operations/services/repository-save-orchestrator.
|
|
653
|
+
repositoryPlan: import("../operations/services/repository-save-orchestrator.js").RepositorySavePlan;
|
|
654
|
+
waves: import("../operations/services/repository-save-orchestrator.js").RepositorySavePlanWave[];
|
|
491
655
|
plannedVersions: Record<string, string>;
|
|
492
656
|
plannedSteps: {
|
|
493
657
|
id: string;
|
|
494
658
|
description: string;
|
|
495
659
|
}[];
|
|
496
660
|
worktreeMode: TreeseedWorkflowWorktreeMode;
|
|
497
|
-
managedWorktree: import("./worktrees.
|
|
661
|
+
managedWorktree: import("./worktrees.js").ManagedWorkflowWorktreeMetadata | null;
|
|
498
662
|
worktreePath: string | null;
|
|
499
663
|
primaryRoot: string | null;
|
|
500
664
|
mode: TreeseedWorkflowMode;
|
|
@@ -502,8 +666,8 @@ export declare function workflowClose(helpers: WorkflowOperationHelpers, input:
|
|
|
502
666
|
scope: string;
|
|
503
667
|
hotfix: boolean;
|
|
504
668
|
message: string;
|
|
505
|
-
repos: import("../operations/services/repository-save-orchestrator.
|
|
506
|
-
rootRepo: import("../operations/services/repository-save-orchestrator.
|
|
669
|
+
repos: import("../operations/services/repository-save-orchestrator.js").RepositorySavePlanRepo[];
|
|
670
|
+
rootRepo: import("../operations/services/repository-save-orchestrator.js").RepositorySavePlanRepo;
|
|
507
671
|
blockers: string[];
|
|
508
672
|
autoResumeCandidate: {
|
|
509
673
|
runId: string;
|
|
@@ -515,17 +679,18 @@ export declare function workflowClose(helpers: WorkflowOperationHelpers, input:
|
|
|
515
679
|
at: string;
|
|
516
680
|
} | null;
|
|
517
681
|
} | null;
|
|
518
|
-
workspaceLinks: import("../operations/services/workspace-dependency-mode.
|
|
682
|
+
workspaceLinks: import("../operations/services/workspace-dependency-mode.js").WorkspaceDependencyModeReport;
|
|
519
683
|
ciMode: "hosted" | "off";
|
|
520
684
|
lane: string;
|
|
521
|
-
verifyMode: "action-first" | "local-only" | import("../workflow.
|
|
522
|
-
releaseCandidateMode:
|
|
685
|
+
verifyMode: "action-first" | "local-only" | import("../workflow.js").TreeseedWorkflowVerifyMode;
|
|
686
|
+
releaseCandidateMode: TreeseedReleaseCandidateMode;
|
|
523
687
|
applicationSelection: WorkflowApplicationSelection;
|
|
524
688
|
} & {
|
|
525
689
|
finalState?: WorkflowStatePayload;
|
|
690
|
+
timing?: TreeseedWorkflowTiming;
|
|
526
691
|
}) | ({
|
|
527
692
|
worktreeMode: TreeseedWorkflowWorktreeMode;
|
|
528
|
-
managedWorktree: import("./worktrees.
|
|
693
|
+
managedWorktree: import("./worktrees.js").ManagedWorkflowWorktreeMetadata | null;
|
|
529
694
|
worktreePath: string | null;
|
|
530
695
|
primaryRoot: string | null;
|
|
531
696
|
mode: "root-only" | "recursive-workspace";
|
|
@@ -549,7 +714,7 @@ export declare function workflowClose(helpers: WorkflowOperationHelpers, input:
|
|
|
549
714
|
partialFailure: null;
|
|
550
715
|
previewAction: Record<string, unknown>;
|
|
551
716
|
mergeConflict: null;
|
|
552
|
-
workspaceLinks: import("../operations/services/workspace-dependency-mode.
|
|
717
|
+
workspaceLinks: import("../operations/services/workspace-dependency-mode.js").WorkspaceDependencyModeReport;
|
|
553
718
|
commandReadiness: {
|
|
554
719
|
status: string;
|
|
555
720
|
checks: {
|
|
@@ -568,19 +733,19 @@ export declare function workflowClose(helpers: WorkflowOperationHelpers, input:
|
|
|
568
733
|
missing: never[];
|
|
569
734
|
};
|
|
570
735
|
lockfileValidation: {
|
|
571
|
-
root: import("../operations/services/repository-save-orchestrator.
|
|
736
|
+
root: import("../operations/services/repository-save-orchestrator.js").RepositoryLockfileValidationResult | null;
|
|
572
737
|
repos: {
|
|
573
738
|
name: string;
|
|
574
739
|
path: string;
|
|
575
|
-
lockfileValidation: import("../operations/services/repository-save-orchestrator.
|
|
740
|
+
lockfileValidation: import("../operations/services/repository-save-orchestrator.js").RepositoryLockfileValidationResult | null;
|
|
576
741
|
}[];
|
|
577
742
|
};
|
|
578
743
|
ciMode: "hosted" | "off";
|
|
579
744
|
lane: string;
|
|
580
|
-
verifyMode: "action-first" | "local-only" | import("../workflow.
|
|
581
|
-
releaseCandidateMode:
|
|
745
|
+
verifyMode: "action-first" | "local-only" | import("../workflow.js").TreeseedWorkflowVerifyMode;
|
|
746
|
+
releaseCandidateMode: TreeseedReleaseCandidateMode;
|
|
582
747
|
applicationSelection: WorkflowApplicationSelection;
|
|
583
|
-
workflowGates:
|
|
748
|
+
workflowGates: Record<string, unknown>[] | {
|
|
584
749
|
name: string;
|
|
585
750
|
repository: string | null;
|
|
586
751
|
workflow: string;
|
|
@@ -595,74 +760,119 @@ export declare function workflowClose(helpers: WorkflowOperationHelpers, input:
|
|
|
595
760
|
updatedAt: null;
|
|
596
761
|
timeoutSeconds: number | null;
|
|
597
762
|
cached: boolean;
|
|
598
|
-
}
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
763
|
+
}[];
|
|
764
|
+
hostedReconcile: any;
|
|
765
|
+
releaseCandidate: {
|
|
766
|
+
mode: TreeseedReleaseCandidateMode;
|
|
767
|
+
driver: TreeseedProofDriver;
|
|
768
|
+
selectedPackageNames: string[];
|
|
769
|
+
proof: import("../operations.js").TreeseedProofRunResult;
|
|
770
|
+
status: string;
|
|
771
|
+
reused: number;
|
|
772
|
+
records: number;
|
|
773
|
+
} | null;
|
|
774
|
+
releaseProof: import("../operations.js").TreeseedProofRunResult | {
|
|
775
|
+
skipped: boolean;
|
|
776
|
+
reason: string;
|
|
605
777
|
} | null;
|
|
778
|
+
hostingAudit: null;
|
|
606
779
|
} & {
|
|
607
780
|
finalState?: WorkflowStatePayload;
|
|
781
|
+
timing?: TreeseedWorkflowTiming;
|
|
608
782
|
}) | null;
|
|
609
|
-
deprecatedTag: {
|
|
610
|
-
tagName: string;
|
|
611
|
-
head: string;
|
|
612
|
-
};
|
|
613
783
|
repos: WorkflowRepoReport[];
|
|
614
784
|
rootRepo: WorkflowRepoReport;
|
|
615
785
|
previewCleanup: {
|
|
616
|
-
|
|
617
|
-
|
|
786
|
+
status: "planned" | "destroyed";
|
|
787
|
+
branch: string;
|
|
788
|
+
reason: string;
|
|
789
|
+
reconcile: Awaited<ReturnType<typeof planTreeseedReconciliation>> | {
|
|
790
|
+
target: {
|
|
791
|
+
kind: "branch";
|
|
792
|
+
branchName: string;
|
|
793
|
+
};
|
|
794
|
+
results: TreeseedReconcileResult[];
|
|
795
|
+
};
|
|
618
796
|
} | {
|
|
619
797
|
performed: boolean;
|
|
620
798
|
};
|
|
621
799
|
remoteDeleted: boolean;
|
|
622
800
|
localDeleted: boolean;
|
|
623
801
|
finalBranch: string;
|
|
624
|
-
workspaceLinks: import("../operations/services/workspace-dependency-mode.
|
|
802
|
+
workspaceLinks: import("../operations/services/workspace-dependency-mode.js").WorkspaceDependencyModeReport;
|
|
625
803
|
worktreeCleanup: {
|
|
626
804
|
removed: boolean;
|
|
627
805
|
reason: string;
|
|
628
806
|
worktreePath?: undefined;
|
|
629
807
|
primaryRoot?: undefined;
|
|
630
808
|
branch?: undefined;
|
|
809
|
+
deletedLocalBranch?: undefined;
|
|
631
810
|
} | {
|
|
632
811
|
removed: boolean;
|
|
633
812
|
worktreePath: string;
|
|
634
813
|
primaryRoot: string;
|
|
635
814
|
branch: string;
|
|
815
|
+
deletedLocalBranch: boolean;
|
|
636
816
|
reason?: undefined;
|
|
637
817
|
};
|
|
638
818
|
worktreeMode: TreeseedWorkflowWorktreeMode;
|
|
639
|
-
managedWorktree: import("./worktrees.
|
|
819
|
+
managedWorktree: import("./worktrees.js").ManagedWorkflowWorktreeMetadata | null;
|
|
640
820
|
worktreePath: string | null;
|
|
641
821
|
primaryRoot: string | null;
|
|
642
822
|
} & {
|
|
643
823
|
finalState?: WorkflowStatePayload;
|
|
824
|
+
timing?: TreeseedWorkflowTiming;
|
|
644
825
|
}>>;
|
|
826
|
+
type StageVerifyMode = 'action' | 'local' | 'none';
|
|
827
|
+
type StageCiMode = 'off' | 'hosted';
|
|
828
|
+
type StageCleanupMode = 'success' | 'manual';
|
|
829
|
+
type StageRepoPlan = {
|
|
830
|
+
name: string;
|
|
831
|
+
path: string;
|
|
832
|
+
kind: 'root' | 'managed';
|
|
833
|
+
sourceBranch: string;
|
|
834
|
+
targetBranch: typeof STAGING_BRANCH;
|
|
835
|
+
remoteSourceExists: boolean;
|
|
836
|
+
beforeHead: string | null;
|
|
837
|
+
stagingHeadBefore: string | null;
|
|
838
|
+
integratedHead?: string | null;
|
|
839
|
+
promotedHead?: string | null;
|
|
840
|
+
cleanup?: {
|
|
841
|
+
localDeleted: boolean;
|
|
842
|
+
remoteDeleted: boolean;
|
|
843
|
+
worktreeRemoved?: boolean;
|
|
844
|
+
};
|
|
845
|
+
};
|
|
645
846
|
export declare function workflowStage(helpers: WorkflowOperationHelpers, input: TreeseedStageInput): Promise<TreeseedWorkflowResult<{
|
|
646
|
-
autoSaveRequired: boolean;
|
|
647
|
-
blockers: string[];
|
|
648
|
-
readiness: import("../workflow-support.ts").TreeseedDeploymentReadinessReport;
|
|
649
|
-
rootRepo: WorkflowRepoReport;
|
|
650
|
-
repos: WorkflowRepoReport[];
|
|
651
|
-
plannedSteps: {
|
|
652
|
-
id: string;
|
|
653
|
-
description: string;
|
|
654
|
-
}[];
|
|
655
847
|
worktreeMode: TreeseedWorkflowWorktreeMode;
|
|
656
|
-
managedWorktree: import("./worktrees.
|
|
848
|
+
managedWorktree: import("./worktrees.js").ManagedWorkflowWorktreeMetadata | null;
|
|
657
849
|
worktreePath: string | null;
|
|
658
850
|
primaryRoot: string | null;
|
|
659
|
-
mode:
|
|
660
|
-
branchName: string
|
|
851
|
+
mode: string;
|
|
852
|
+
branchName: string;
|
|
853
|
+
branchRole: import("./policy.js").TreeseedWorkflowBranchRole;
|
|
661
854
|
mergeTarget: string;
|
|
662
855
|
mergeStrategy: string;
|
|
663
856
|
message: string;
|
|
664
|
-
|
|
857
|
+
verifyMode: StageVerifyMode;
|
|
858
|
+
ciMode: StageCiMode;
|
|
859
|
+
cleanupMode: StageCleanupMode;
|
|
860
|
+
updateFrom: string;
|
|
861
|
+
waitForStaging: boolean;
|
|
665
862
|
applicationSelection: WorkflowApplicationSelection;
|
|
863
|
+
plan: {
|
|
864
|
+
schemaVersion: 1;
|
|
865
|
+
branchName: string;
|
|
866
|
+
targetBranch: typeof STAGING_BRANCH;
|
|
867
|
+
updateFrom: typeof STAGING_BRANCH;
|
|
868
|
+
verifyMode: StageVerifyMode;
|
|
869
|
+
ciMode: StageCiMode;
|
|
870
|
+
cleanupMode: StageCleanupMode;
|
|
871
|
+
repos: StageRepoPlan[];
|
|
872
|
+
phases: string[];
|
|
873
|
+
};
|
|
874
|
+
phases: string[];
|
|
875
|
+
blockers: string[];
|
|
666
876
|
autoResumeCandidate: {
|
|
667
877
|
runId: string;
|
|
668
878
|
branch: string | null;
|
|
@@ -673,35 +883,58 @@ export declare function workflowStage(helpers: WorkflowOperationHelpers, input:
|
|
|
673
883
|
at: string;
|
|
674
884
|
} | null;
|
|
675
885
|
} | null;
|
|
886
|
+
legacyMutationPathDisabled: boolean;
|
|
887
|
+
} & {
|
|
888
|
+
finalState?: WorkflowStatePayload;
|
|
889
|
+
timing?: TreeseedWorkflowTiming;
|
|
890
|
+
}>>;
|
|
891
|
+
export declare function workflowRelease(helpers: WorkflowOperationHelpers, input: TreeseedReleaseInput): Promise<TreeseedWorkflowResult<{
|
|
892
|
+
mode: string;
|
|
893
|
+
target: TreeseedReconcileTarget;
|
|
894
|
+
executionMode: TreeseedWorkflowExecutionMode;
|
|
895
|
+
verifyDeployedResources: boolean;
|
|
896
|
+
desiredGraph: import("../index.js").TreeseedDesiredResourceGraph;
|
|
897
|
+
units: {
|
|
898
|
+
unitId: string;
|
|
899
|
+
unitType: import("../reconcile/contracts.js").TreeseedReconcileUnitType;
|
|
900
|
+
provider: string;
|
|
901
|
+
logicalName: string;
|
|
902
|
+
dependencies: string[];
|
|
903
|
+
}[];
|
|
904
|
+
plannedSteps: {
|
|
905
|
+
id: string;
|
|
906
|
+
description: string;
|
|
907
|
+
action: import("../reconcile/contracts.js").TreeseedReconcileActionKind;
|
|
908
|
+
reasons: string[];
|
|
909
|
+
}[];
|
|
910
|
+
reconcile: {
|
|
911
|
+
target: TreeseedReconcileTarget;
|
|
912
|
+
units: import("../reconcile/contracts.js").TreeseedDesiredUnit[];
|
|
913
|
+
plans: import("../reconcile/contracts.js").TreeseedReconcilePlan[];
|
|
914
|
+
results: TreeseedReconcileResult[];
|
|
915
|
+
state: import("../reconcile/contracts.js").TreeseedReconcileStateRecord;
|
|
916
|
+
timings: import("../timing.js").TreeseedTimingEntry[];
|
|
917
|
+
} | null;
|
|
918
|
+
legacyMutationPathDisabled: boolean;
|
|
676
919
|
} & {
|
|
677
920
|
finalState?: WorkflowStatePayload;
|
|
921
|
+
timing?: TreeseedWorkflowTiming;
|
|
678
922
|
}> | TreeseedWorkflowResult<{
|
|
679
923
|
mode: TreeseedWorkflowMode;
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
autoSaveResult: ({
|
|
686
|
-
repositoryPlan: import("../operations/services/repository-save-orchestrator.ts").RepositorySavePlan;
|
|
687
|
-
waves: import("../operations/services/repository-save-orchestrator.ts").RepositorySavePlanWave[];
|
|
688
|
-
plannedVersions: Record<string, string>;
|
|
689
|
-
plannedSteps: {
|
|
690
|
-
id: string;
|
|
691
|
-
description: string;
|
|
924
|
+
runId: string;
|
|
925
|
+
releasePlan: {
|
|
926
|
+
freshArchivedRuns: {
|
|
927
|
+
runId: string;
|
|
928
|
+
reasons: string[];
|
|
692
929
|
}[];
|
|
693
930
|
worktreeMode: TreeseedWorkflowWorktreeMode;
|
|
694
|
-
managedWorktree: import("./worktrees.
|
|
931
|
+
managedWorktree: import("./worktrees.js").ManagedWorkflowWorktreeMetadata | null;
|
|
695
932
|
worktreePath: string | null;
|
|
696
933
|
primaryRoot: string | null;
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
message: string;
|
|
702
|
-
repos: import("../operations/services/repository-save-orchestrator.ts").RepositorySavePlanRepo[];
|
|
703
|
-
rootRepo: import("../operations/services/repository-save-orchestrator.ts").RepositorySavePlanRepo;
|
|
704
|
-
blockers: string[];
|
|
934
|
+
readiness: import("../workflow-support.js").TreeseedDeploymentReadinessReport;
|
|
935
|
+
ciMode: "hosted" | "off";
|
|
936
|
+
level: "patch" | "major" | "minor";
|
|
937
|
+
fresh: boolean;
|
|
705
938
|
autoResumeCandidate: {
|
|
706
939
|
runId: string;
|
|
707
940
|
branch: string | null;
|
|
@@ -712,198 +945,178 @@ export declare function workflowStage(helpers: WorkflowOperationHelpers, input:
|
|
|
712
945
|
at: string;
|
|
713
946
|
} | null;
|
|
714
947
|
} | null;
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
}) | ({
|
|
724
|
-
worktreeMode: TreeseedWorkflowWorktreeMode;
|
|
725
|
-
managedWorktree: import("./worktrees.ts").ManagedWorkflowWorktreeMetadata | null;
|
|
726
|
-
worktreePath: string | null;
|
|
727
|
-
primaryRoot: string | null;
|
|
728
|
-
mode: "root-only" | "recursive-workspace";
|
|
729
|
-
branch: string;
|
|
730
|
-
scope: string;
|
|
731
|
-
hotfix: boolean;
|
|
732
|
-
message: string;
|
|
733
|
-
resumed: boolean;
|
|
734
|
-
resumedRunId: string | null;
|
|
735
|
-
autoResumed: boolean;
|
|
736
|
-
commitSha: string;
|
|
737
|
-
commitCreated: boolean;
|
|
738
|
-
noChanges: boolean;
|
|
739
|
-
branchSync: {
|
|
740
|
-
pushed: boolean;
|
|
948
|
+
mode: TreeseedWorkflowMode;
|
|
949
|
+
mergeStrategy: string;
|
|
950
|
+
releaseLine: {
|
|
951
|
+
group: string[];
|
|
952
|
+
repair: boolean;
|
|
953
|
+
targetLine: string;
|
|
954
|
+
highestCurrentLine: string;
|
|
955
|
+
alignedBefore: boolean;
|
|
741
956
|
};
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
commandReadiness: {
|
|
751
|
-
status: string;
|
|
752
|
-
checks: {
|
|
753
|
-
exists: boolean;
|
|
754
|
-
id: string;
|
|
755
|
-
path: string;
|
|
756
|
-
}[];
|
|
757
|
-
missing: {
|
|
758
|
-
id: string;
|
|
759
|
-
path: string;
|
|
760
|
-
}[];
|
|
761
|
-
} | {
|
|
762
|
-
status: string;
|
|
763
|
-
reason: string;
|
|
764
|
-
checks: never[];
|
|
765
|
-
missing: never[];
|
|
957
|
+
rootVersion: string;
|
|
958
|
+
releaseTag: string;
|
|
959
|
+
stagingBranch: string;
|
|
960
|
+
productionBranch: string;
|
|
961
|
+
packageSelection: {
|
|
962
|
+
changed: any[];
|
|
963
|
+
dependents: any[];
|
|
964
|
+
selected: any[];
|
|
766
965
|
};
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
repos: {
|
|
770
|
-
name: string;
|
|
771
|
-
path: string;
|
|
772
|
-
lockfileValidation: import("../operations/services/repository-save-orchestrator.ts").RepositoryLockfileValidationResult | null;
|
|
773
|
-
}[];
|
|
774
|
-
};
|
|
775
|
-
ciMode: "hosted" | "off";
|
|
776
|
-
lane: string;
|
|
777
|
-
verifyMode: "action-first" | "local-only" | import("../workflow.ts").TreeseedWorkflowVerifyMode;
|
|
778
|
-
releaseCandidateMode: ReleaseCandidateMode;
|
|
966
|
+
plannedVersions: any;
|
|
967
|
+
stableDependencyVersions: Record<string, string>;
|
|
779
968
|
applicationSelection: WorkflowApplicationSelection;
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
969
|
+
plannedDevReferenceRewrites: {
|
|
970
|
+
repoName: string;
|
|
971
|
+
filePath: string;
|
|
972
|
+
field?: string;
|
|
973
|
+
dependencyName?: string;
|
|
974
|
+
spec: string;
|
|
975
|
+
reason: string;
|
|
976
|
+
}[];
|
|
977
|
+
plannedPublishWaits: {
|
|
978
|
+
name: any;
|
|
783
979
|
workflow: string;
|
|
784
980
|
branch: string;
|
|
785
|
-
headSha: string;
|
|
786
981
|
status: string;
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
}
|
|
796
|
-
|
|
797
|
-
hostingAudit: {
|
|
798
|
-
hostingAudit: import("../workflow-support.ts").TreeseedHostingAuditReport;
|
|
799
|
-
hostedServices: import("../index.ts").TreeseedHostedServiceCheckReport;
|
|
800
|
-
readiness: import("../workflow-support.ts").TreeseedDeploymentReadinessReport;
|
|
801
|
-
live: boolean;
|
|
802
|
-
} | null;
|
|
803
|
-
} & {
|
|
804
|
-
finalState?: WorkflowStatePayload;
|
|
805
|
-
}) | null;
|
|
806
|
-
deprecatedTag: {
|
|
807
|
-
tagName: string;
|
|
808
|
-
head: string;
|
|
982
|
+
}[];
|
|
983
|
+
touchedPackages: any[];
|
|
984
|
+
repos: WorkflowRepoReport[];
|
|
985
|
+
rootRepo: WorkflowRepoReport;
|
|
986
|
+
finalBranch: string;
|
|
987
|
+
plannedSteps: {
|
|
988
|
+
id: string;
|
|
989
|
+
description: string;
|
|
990
|
+
}[];
|
|
991
|
+
blockers: string[];
|
|
809
992
|
};
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
993
|
+
releaseGates: Record<string, unknown>;
|
|
994
|
+
workspaceUnlink: import("../operations/services/workspace-dependency-mode.js").WorkspaceDependencyModeReport;
|
|
995
|
+
releaseMetadata: {
|
|
996
|
+
versions: {
|
|
997
|
+
[k: string]: string;
|
|
998
|
+
};
|
|
999
|
+
adapterMetadata: {
|
|
1000
|
+
name: any;
|
|
1001
|
+
version: string | null;
|
|
1002
|
+
result: {
|
|
1003
|
+
status: string;
|
|
1004
|
+
adapter: string;
|
|
1005
|
+
command: string;
|
|
1006
|
+
} | {
|
|
1007
|
+
status: string;
|
|
1008
|
+
reason: string;
|
|
1009
|
+
adapter: string;
|
|
1010
|
+
command?: undefined;
|
|
1011
|
+
} | {
|
|
1012
|
+
status: string;
|
|
1013
|
+
reason: null;
|
|
1014
|
+
adapter: string;
|
|
1015
|
+
command?: undefined;
|
|
1016
|
+
} | {
|
|
1017
|
+
status: string;
|
|
1018
|
+
reason: string;
|
|
1019
|
+
};
|
|
1020
|
+
}[];
|
|
1021
|
+
rootInstall: {
|
|
1022
|
+
status: string;
|
|
1023
|
+
reason: string;
|
|
1024
|
+
} | {
|
|
1025
|
+
status: string;
|
|
1026
|
+
reason: null;
|
|
1027
|
+
};
|
|
1028
|
+
workspaceUnlink: import("../operations/services/workspace-dependency-mode.js").WorkspaceDependencyModeReport;
|
|
815
1029
|
};
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
1030
|
+
packageReleases: Record<string, unknown>[];
|
|
1031
|
+
rootRelease: {
|
|
1032
|
+
name: string;
|
|
1033
|
+
version: string;
|
|
1034
|
+
releaseTag: string;
|
|
1035
|
+
changelog: {
|
|
1036
|
+
version: string;
|
|
1037
|
+
date: string;
|
|
1038
|
+
sourceRef: string;
|
|
1039
|
+
targetRef: string;
|
|
1040
|
+
commitCount: number;
|
|
1041
|
+
sections: Record<import("../operations/services/release-history.js").ReleaseHistorySection, string[]>;
|
|
1042
|
+
notableCommits: ReleaseHistoryCommit[];
|
|
1043
|
+
changelogPath: string;
|
|
1044
|
+
changelogUpdated: boolean;
|
|
1045
|
+
entry: string;
|
|
1046
|
+
};
|
|
1047
|
+
commit: {
|
|
1048
|
+
committed: boolean;
|
|
1049
|
+
commitSha: string;
|
|
1050
|
+
};
|
|
1051
|
+
promotion: {
|
|
1052
|
+
targetBranch: string;
|
|
1053
|
+
expectedBefore: string | null;
|
|
1054
|
+
commitSha: string;
|
|
1055
|
+
pushed: boolean;
|
|
1056
|
+
verified: boolean;
|
|
1057
|
+
};
|
|
1058
|
+
tag: {
|
|
1059
|
+
tagName: string;
|
|
1060
|
+
local: string;
|
|
1061
|
+
remote: string;
|
|
1062
|
+
};
|
|
823
1063
|
};
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
finalBranch: string;
|
|
829
|
-
workspaceLinks: import("../operations/services/workspace-dependency-mode.ts").WorkspaceDependencyModeReport;
|
|
830
|
-
ciMode: "hosted" | "off";
|
|
831
|
-
workflowGates: any;
|
|
832
|
-
hostingAudit: {
|
|
833
|
-
hostingAudit: import("../workflow-support.ts").TreeseedHostingAuditReport;
|
|
834
|
-
hostedServices: import("../index.ts").TreeseedHostedServiceCheckReport;
|
|
835
|
-
readiness: import("../workflow-support.ts").TreeseedDeploymentReadinessReport;
|
|
836
|
-
live: boolean;
|
|
837
|
-
} | null;
|
|
838
|
-
worktreeCleanup: {
|
|
839
|
-
removed: boolean;
|
|
840
|
-
reason: string;
|
|
841
|
-
worktreePath?: undefined;
|
|
842
|
-
primaryRoot?: undefined;
|
|
843
|
-
branch?: undefined;
|
|
844
|
-
} | {
|
|
845
|
-
removed: boolean;
|
|
846
|
-
worktreePath: string;
|
|
847
|
-
primaryRoot: string;
|
|
1064
|
+
publishWait: Record<string, unknown>[] | {
|
|
1065
|
+
name: string;
|
|
1066
|
+
repository: string | null;
|
|
1067
|
+
workflow: string;
|
|
848
1068
|
branch: string;
|
|
849
|
-
|
|
1069
|
+
headSha: string;
|
|
1070
|
+
status: string;
|
|
1071
|
+
reason: string;
|
|
1072
|
+
conclusion: null;
|
|
1073
|
+
runId: null;
|
|
1074
|
+
url: null;
|
|
1075
|
+
createdAt: null;
|
|
1076
|
+
updatedAt: null;
|
|
1077
|
+
timeoutSeconds: number | null;
|
|
1078
|
+
cached: boolean;
|
|
1079
|
+
}[];
|
|
1080
|
+
backMerge: {
|
|
1081
|
+
packages: {
|
|
1082
|
+
status: string;
|
|
1083
|
+
merged: boolean;
|
|
1084
|
+
repoName: string;
|
|
1085
|
+
sourceBranch: string;
|
|
1086
|
+
targetBranch: string;
|
|
1087
|
+
commitSha: string;
|
|
1088
|
+
}[];
|
|
1089
|
+
root: {
|
|
1090
|
+
status: string;
|
|
1091
|
+
merged: boolean;
|
|
1092
|
+
repoName: string;
|
|
1093
|
+
sourceBranch: string;
|
|
1094
|
+
targetBranch: string;
|
|
1095
|
+
commitSha: string;
|
|
1096
|
+
} | {
|
|
1097
|
+
packageStagingPointersSynced: boolean;
|
|
1098
|
+
packageStagingPointerCommit: string;
|
|
1099
|
+
status: string;
|
|
1100
|
+
merged: boolean;
|
|
1101
|
+
repoName: string;
|
|
1102
|
+
sourceBranch: string;
|
|
1103
|
+
targetBranch: string;
|
|
1104
|
+
commitSha: string;
|
|
1105
|
+
};
|
|
850
1106
|
};
|
|
1107
|
+
workspaceLinks: import("../operations/services/workspace-dependency-mode.js").WorkspaceDependencyModeReport;
|
|
1108
|
+
releasedCommit: string;
|
|
1109
|
+
touchedPackages: string[];
|
|
1110
|
+
finalBranch: string;
|
|
851
1111
|
worktreeMode: TreeseedWorkflowWorktreeMode;
|
|
852
|
-
managedWorktree: import("./worktrees.
|
|
1112
|
+
managedWorktree: import("./worktrees.js").ManagedWorkflowWorktreeMetadata | null;
|
|
853
1113
|
worktreePath: string | null;
|
|
854
1114
|
primaryRoot: string | null;
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
status: string;
|
|
861
|
-
branchScope: DevTagBranchScope;
|
|
862
|
-
includePackages: string[];
|
|
863
|
-
repos: ({
|
|
864
|
-
status: string;
|
|
865
|
-
packageName: string;
|
|
866
|
-
currentVersion: string;
|
|
867
|
-
branchScope: DevTagBranchScope;
|
|
868
|
-
candidates: {
|
|
869
|
-
tagName: string;
|
|
870
|
-
reason: string;
|
|
871
|
-
branch: string | null | undefined;
|
|
872
|
-
branchSlug: string | undefined;
|
|
873
|
-
version: string | null | undefined;
|
|
874
|
-
}[];
|
|
875
|
-
candidateCount: number;
|
|
876
|
-
cleaned: string[];
|
|
877
|
-
cleanedCount: number;
|
|
878
|
-
skipped: {
|
|
879
|
-
tagName: string;
|
|
880
|
-
reason: string;
|
|
881
|
-
}[];
|
|
882
|
-
skippedCount: number;
|
|
883
|
-
name: any;
|
|
884
|
-
path: string;
|
|
885
|
-
} | {
|
|
886
|
-
status: string;
|
|
887
|
-
candidateCount: number;
|
|
888
|
-
cleaned: string[];
|
|
889
|
-
cleanedCount: number;
|
|
890
|
-
skippedCount: number;
|
|
891
|
-
packageName: string;
|
|
892
|
-
currentVersion: string;
|
|
893
|
-
branchScope: DevTagBranchScope;
|
|
894
|
-
candidates: import("../operations/services/package-reference-policy.ts").StaleDevTagClassification[];
|
|
895
|
-
skipped: import("../operations/services/package-reference-policy.ts").StaleDevTagClassification[];
|
|
896
|
-
tags: import("../operations/services/package-reference-policy.ts").StaleDevTagClassification[];
|
|
897
|
-
name: any;
|
|
898
|
-
path: string;
|
|
899
|
-
})[];
|
|
900
|
-
candidateCount: number;
|
|
901
|
-
cleanedCount: number;
|
|
902
|
-
skippedCount: number;
|
|
903
|
-
} & {
|
|
904
|
-
finalState?: WorkflowStatePayload;
|
|
905
|
-
}>>;
|
|
906
|
-
export declare function workflowRelease(helpers: WorkflowOperationHelpers, input: TreeseedReleaseInput): Promise<TreeseedWorkflowResult<{
|
|
1115
|
+
readiness: import("../workflow-support.js").TreeseedDeploymentReadinessReport;
|
|
1116
|
+
ciMode: "hosted" | "off";
|
|
1117
|
+
level: "patch" | "major" | "minor";
|
|
1118
|
+
fresh: boolean;
|
|
1119
|
+
freshArchivedRuns: never[];
|
|
907
1120
|
autoResumeCandidate: {
|
|
908
1121
|
runId: string;
|
|
909
1122
|
branch: string | null;
|
|
@@ -914,17 +1127,7 @@ export declare function workflowRelease(helpers: WorkflowOperationHelpers, input
|
|
|
914
1127
|
at: string;
|
|
915
1128
|
} | null;
|
|
916
1129
|
} | null;
|
|
917
|
-
worktreeMode: TreeseedWorkflowWorktreeMode;
|
|
918
|
-
managedWorktree: import("./worktrees.ts").ManagedWorkflowWorktreeMetadata | null;
|
|
919
|
-
worktreePath: string | null;
|
|
920
|
-
primaryRoot: string | null;
|
|
921
|
-
readiness: import("../workflow-support.ts").TreeseedDeploymentReadinessReport;
|
|
922
|
-
ciMode: "hosted" | "off";
|
|
923
|
-
fresh: boolean;
|
|
924
|
-
freshArchivedRuns: never[];
|
|
925
|
-
mode: TreeseedWorkflowMode;
|
|
926
1130
|
mergeStrategy: string;
|
|
927
|
-
level: string;
|
|
928
1131
|
releaseLine: {
|
|
929
1132
|
group: string[];
|
|
930
1133
|
repair: boolean;
|
|
@@ -958,10 +1161,8 @@ export declare function workflowRelease(helpers: WorkflowOperationHelpers, input
|
|
|
958
1161
|
branch: string;
|
|
959
1162
|
status: string;
|
|
960
1163
|
}[];
|
|
961
|
-
touchedPackages: any[];
|
|
962
1164
|
repos: WorkflowRepoReport[];
|
|
963
1165
|
rootRepo: WorkflowRepoReport;
|
|
964
|
-
finalBranch: string;
|
|
965
1166
|
plannedSteps: {
|
|
966
1167
|
id: string;
|
|
967
1168
|
description: string;
|
|
@@ -969,265 +1170,15 @@ export declare function workflowRelease(helpers: WorkflowOperationHelpers, input
|
|
|
969
1170
|
blockers: string[];
|
|
970
1171
|
} & {
|
|
971
1172
|
finalState?: WorkflowStatePayload;
|
|
972
|
-
|
|
973
|
-
worktreeMode: TreeseedWorkflowWorktreeMode;
|
|
974
|
-
managedWorktree: import("./worktrees.ts").ManagedWorkflowWorktreeMetadata | null;
|
|
975
|
-
worktreePath: string | null;
|
|
976
|
-
primaryRoot: string | null;
|
|
977
|
-
mode: "root-only";
|
|
978
|
-
mergeStrategy: string;
|
|
979
|
-
level: "patch" | "major" | "minor";
|
|
980
|
-
fresh: boolean;
|
|
981
|
-
freshArchivedRuns: {
|
|
982
|
-
runId: string;
|
|
983
|
-
reasons: string[];
|
|
984
|
-
}[];
|
|
985
|
-
resumed: boolean;
|
|
986
|
-
resumedRunId: string | null;
|
|
987
|
-
autoResumed: boolean;
|
|
988
|
-
rootVersion: string;
|
|
989
|
-
releaseTag: string;
|
|
990
|
-
releasedCommit: string;
|
|
991
|
-
stagingBranch: string;
|
|
992
|
-
productionBranch: string;
|
|
993
|
-
touchedPackages: never[];
|
|
994
|
-
packageSelection: {
|
|
995
|
-
changed: never[];
|
|
996
|
-
dependents: never[];
|
|
997
|
-
selected: never[];
|
|
998
|
-
};
|
|
999
|
-
applicationSelection: WorkflowApplicationSelection;
|
|
1000
|
-
publishWait: never[];
|
|
1001
|
-
repos: never[];
|
|
1002
|
-
rootRepo: WorkflowRepoReport;
|
|
1003
|
-
releaseCandidate: ReleaseCandidateReport | null;
|
|
1004
|
-
stagingWorkflowGates: Record<string, unknown>[] | {
|
|
1005
|
-
name: string;
|
|
1006
|
-
repository: string | null;
|
|
1007
|
-
workflow: string;
|
|
1008
|
-
branch: string;
|
|
1009
|
-
headSha: string;
|
|
1010
|
-
status: string;
|
|
1011
|
-
reason: string;
|
|
1012
|
-
conclusion: null;
|
|
1013
|
-
runId: null;
|
|
1014
|
-
url: null;
|
|
1015
|
-
createdAt: null;
|
|
1016
|
-
updatedAt: null;
|
|
1017
|
-
timeoutSeconds: number | null;
|
|
1018
|
-
cached: boolean;
|
|
1019
|
-
}[];
|
|
1020
|
-
releaseBackMerge: {
|
|
1021
|
-
status: string;
|
|
1022
|
-
merged: boolean;
|
|
1023
|
-
repoName: string;
|
|
1024
|
-
sourceBranch: string;
|
|
1025
|
-
targetBranch: string;
|
|
1026
|
-
commitSha: string;
|
|
1027
|
-
} | {
|
|
1028
|
-
packageStagingPointersSynced: boolean;
|
|
1029
|
-
packageStagingPointerCommit: string;
|
|
1030
|
-
status: string;
|
|
1031
|
-
merged: boolean;
|
|
1032
|
-
repoName: string;
|
|
1033
|
-
sourceBranch: string;
|
|
1034
|
-
targetBranch: string;
|
|
1035
|
-
commitSha: string;
|
|
1036
|
-
};
|
|
1037
|
-
hostedDeploymentState: Record<string, unknown>[];
|
|
1038
|
-
finalBranch: string;
|
|
1039
|
-
pushStatus: {
|
|
1040
|
-
stagingPushed: boolean;
|
|
1041
|
-
productionPushed: boolean;
|
|
1042
|
-
tagPushed: boolean;
|
|
1043
|
-
};
|
|
1044
|
-
workspaceLinks: import("../operations/services/workspace-dependency-mode.ts").WorkspaceDependencyModeReport;
|
|
1045
|
-
ciMode: "hosted" | "off";
|
|
1046
|
-
workflowGates: (Record<string, unknown> | {
|
|
1047
|
-
name: string;
|
|
1048
|
-
repository: string | null;
|
|
1049
|
-
workflow: string;
|
|
1050
|
-
branch: string;
|
|
1051
|
-
headSha: string;
|
|
1052
|
-
status: string;
|
|
1053
|
-
reason: string;
|
|
1054
|
-
conclusion: null;
|
|
1055
|
-
runId: null;
|
|
1056
|
-
url: null;
|
|
1057
|
-
createdAt: null;
|
|
1058
|
-
updatedAt: null;
|
|
1059
|
-
timeoutSeconds: number | null;
|
|
1060
|
-
cached: boolean;
|
|
1061
|
-
})[];
|
|
1062
|
-
hostingAudit: {
|
|
1063
|
-
hostingAudit: import("../workflow-support.ts").TreeseedHostingAuditReport;
|
|
1064
|
-
hostedServices: import("../index.ts").TreeseedHostedServiceCheckReport;
|
|
1065
|
-
readiness: import("../workflow-support.ts").TreeseedDeploymentReadinessReport;
|
|
1066
|
-
live: boolean;
|
|
1067
|
-
} | null;
|
|
1068
|
-
} & {
|
|
1069
|
-
finalState?: WorkflowStatePayload;
|
|
1070
|
-
}> | TreeseedWorkflowResult<{
|
|
1071
|
-
worktreeMode: TreeseedWorkflowWorktreeMode;
|
|
1072
|
-
managedWorktree: import("./worktrees.ts").ManagedWorkflowWorktreeMetadata | null;
|
|
1073
|
-
worktreePath: string | null;
|
|
1074
|
-
primaryRoot: string | null;
|
|
1075
|
-
mode: "recursive-workspace";
|
|
1076
|
-
mergeStrategy: string;
|
|
1077
|
-
level: "patch" | "major" | "minor";
|
|
1078
|
-
fresh: boolean;
|
|
1079
|
-
freshArchivedRuns: {
|
|
1080
|
-
runId: string;
|
|
1081
|
-
reasons: string[];
|
|
1082
|
-
}[];
|
|
1083
|
-
resumed: boolean;
|
|
1084
|
-
resumedRunId: string | null;
|
|
1085
|
-
autoResumed: boolean;
|
|
1086
|
-
rootVersion: string;
|
|
1087
|
-
releaseTag: string;
|
|
1088
|
-
releasedCommit: string;
|
|
1089
|
-
stagingBranch: string;
|
|
1090
|
-
productionBranch: string;
|
|
1091
|
-
touchedPackages: string[];
|
|
1092
|
-
packageSelection: {
|
|
1093
|
-
changed: string[];
|
|
1094
|
-
dependents: string[];
|
|
1095
|
-
selected: string[];
|
|
1096
|
-
};
|
|
1097
|
-
applicationSelection: WorkflowApplicationSelection;
|
|
1098
|
-
replacedDevReferences: (import("../operations/services/package-reference-policy.ts").RewrittenDevReference & {
|
|
1099
|
-
repoName: string;
|
|
1100
|
-
packageJsonPath: string;
|
|
1101
|
-
})[];
|
|
1102
|
-
releaseInstalls: Record<string, unknown>[];
|
|
1103
|
-
devTagCleanup: {
|
|
1104
|
-
replacedDevReferenceCount: number;
|
|
1105
|
-
releasedPackageDevTagCount: number;
|
|
1106
|
-
status: string;
|
|
1107
|
-
branchScope: DevTagBranchScope;
|
|
1108
|
-
includePackages: string[];
|
|
1109
|
-
repos: ({
|
|
1110
|
-
status: string;
|
|
1111
|
-
packageName: string;
|
|
1112
|
-
currentVersion: string;
|
|
1113
|
-
branchScope: DevTagBranchScope;
|
|
1114
|
-
candidates: {
|
|
1115
|
-
tagName: string;
|
|
1116
|
-
reason: string;
|
|
1117
|
-
branch: string | null | undefined;
|
|
1118
|
-
branchSlug: string | undefined;
|
|
1119
|
-
version: string | null | undefined;
|
|
1120
|
-
}[];
|
|
1121
|
-
candidateCount: number;
|
|
1122
|
-
cleaned: string[];
|
|
1123
|
-
cleanedCount: number;
|
|
1124
|
-
skipped: {
|
|
1125
|
-
tagName: string;
|
|
1126
|
-
reason: string;
|
|
1127
|
-
}[];
|
|
1128
|
-
skippedCount: number;
|
|
1129
|
-
name: any;
|
|
1130
|
-
path: string;
|
|
1131
|
-
} | {
|
|
1132
|
-
status: string;
|
|
1133
|
-
candidateCount: number;
|
|
1134
|
-
cleaned: string[];
|
|
1135
|
-
cleanedCount: number;
|
|
1136
|
-
skippedCount: number;
|
|
1137
|
-
packageName: string;
|
|
1138
|
-
currentVersion: string;
|
|
1139
|
-
branchScope: DevTagBranchScope;
|
|
1140
|
-
candidates: import("../operations/services/package-reference-policy.ts").StaleDevTagClassification[];
|
|
1141
|
-
skipped: import("../operations/services/package-reference-policy.ts").StaleDevTagClassification[];
|
|
1142
|
-
tags: import("../operations/services/package-reference-policy.ts").StaleDevTagClassification[];
|
|
1143
|
-
name: any;
|
|
1144
|
-
path: string;
|
|
1145
|
-
})[];
|
|
1146
|
-
candidateCount: number;
|
|
1147
|
-
cleanedCount: number;
|
|
1148
|
-
skippedCount: number;
|
|
1149
|
-
} | {
|
|
1150
|
-
status: string;
|
|
1151
|
-
reason: string;
|
|
1152
|
-
};
|
|
1153
|
-
publishWait: Record<string, unknown>[];
|
|
1154
|
-
repos: WorkflowRepoReport[];
|
|
1155
|
-
rootRepo: WorkflowRepoReport;
|
|
1156
|
-
releaseCandidate: ReleaseCandidateReport | null;
|
|
1157
|
-
stagingWorkflowGates: Record<string, unknown>[] | {
|
|
1158
|
-
name: string;
|
|
1159
|
-
repository: string | null;
|
|
1160
|
-
workflow: string;
|
|
1161
|
-
branch: string;
|
|
1162
|
-
headSha: string;
|
|
1163
|
-
status: string;
|
|
1164
|
-
reason: string;
|
|
1165
|
-
conclusion: null;
|
|
1166
|
-
runId: null;
|
|
1167
|
-
url: null;
|
|
1168
|
-
createdAt: null;
|
|
1169
|
-
updatedAt: null;
|
|
1170
|
-
timeoutSeconds: number | null;
|
|
1171
|
-
cached: boolean;
|
|
1172
|
-
}[];
|
|
1173
|
-
releaseBackMerge: {
|
|
1174
|
-
status: string;
|
|
1175
|
-
merged: boolean;
|
|
1176
|
-
repoName: string;
|
|
1177
|
-
sourceBranch: string;
|
|
1178
|
-
targetBranch: string;
|
|
1179
|
-
commitSha: string;
|
|
1180
|
-
} | {
|
|
1181
|
-
packageStagingPointersSynced: boolean;
|
|
1182
|
-
packageStagingPointerCommit: string;
|
|
1183
|
-
status: string;
|
|
1184
|
-
merged: boolean;
|
|
1185
|
-
repoName: string;
|
|
1186
|
-
sourceBranch: string;
|
|
1187
|
-
targetBranch: string;
|
|
1188
|
-
commitSha: string;
|
|
1189
|
-
};
|
|
1190
|
-
hostedDeploymentState: Record<string, unknown>[];
|
|
1191
|
-
finalBranch: string;
|
|
1192
|
-
pushStatus: {
|
|
1193
|
-
stagingPushed: boolean;
|
|
1194
|
-
productionPushed: boolean;
|
|
1195
|
-
tagPushed: boolean;
|
|
1196
|
-
};
|
|
1197
|
-
workspaceLinks: import("../operations/services/workspace-dependency-mode.ts").WorkspaceDependencyModeReport;
|
|
1198
|
-
ciMode: "hosted" | "off";
|
|
1199
|
-
workflowGates: (Record<string, unknown> | {
|
|
1200
|
-
name: string;
|
|
1201
|
-
repository: string | null;
|
|
1202
|
-
workflow: string;
|
|
1203
|
-
branch: string;
|
|
1204
|
-
headSha: string;
|
|
1205
|
-
status: string;
|
|
1206
|
-
reason: string;
|
|
1207
|
-
conclusion: null;
|
|
1208
|
-
runId: null;
|
|
1209
|
-
url: null;
|
|
1210
|
-
createdAt: null;
|
|
1211
|
-
updatedAt: null;
|
|
1212
|
-
timeoutSeconds: number | null;
|
|
1213
|
-
cached: boolean;
|
|
1214
|
-
})[];
|
|
1215
|
-
hostingAudit: {
|
|
1216
|
-
hostingAudit: import("../workflow-support.ts").TreeseedHostingAuditReport;
|
|
1217
|
-
hostedServices: import("../index.ts").TreeseedHostedServiceCheckReport;
|
|
1218
|
-
readiness: import("../workflow-support.ts").TreeseedDeploymentReadinessReport;
|
|
1219
|
-
live: boolean;
|
|
1220
|
-
} | null;
|
|
1221
|
-
} & {
|
|
1222
|
-
finalState?: WorkflowStatePayload;
|
|
1173
|
+
timing?: TreeseedWorkflowTiming;
|
|
1223
1174
|
}>>;
|
|
1224
1175
|
export declare function workflowResume(helpers: WorkflowOperationHelpers, input: TreeseedResumeInput): Promise<any>;
|
|
1225
1176
|
export declare function workflowRecover(helpers: WorkflowOperationHelpers, input?: TreeseedRecoverInput): Promise<TreeseedWorkflowResult<{
|
|
1226
|
-
lock: import("./runs.
|
|
1177
|
+
lock: import("./runs.js").TreeseedWorkflowLockInspection;
|
|
1227
1178
|
interruptedRuns: {
|
|
1228
1179
|
runId: string;
|
|
1229
1180
|
command: TreeseedWorkflowRunCommand;
|
|
1230
|
-
status: import("./runs.
|
|
1181
|
+
status: import("./runs.js").TreeseedWorkflowRunStatus;
|
|
1231
1182
|
createdAt: string;
|
|
1232
1183
|
updatedAt: string;
|
|
1233
1184
|
nextStep: string | null;
|
|
@@ -1242,7 +1193,7 @@ export declare function workflowRecover(helpers: WorkflowOperationHelpers, input
|
|
|
1242
1193
|
staleRuns: {
|
|
1243
1194
|
runId: string;
|
|
1244
1195
|
command: TreeseedWorkflowRunCommand;
|
|
1245
|
-
status: import("./runs.
|
|
1196
|
+
status: import("./runs.js").TreeseedWorkflowRunStatus;
|
|
1246
1197
|
createdAt: string;
|
|
1247
1198
|
updatedAt: string;
|
|
1248
1199
|
nextStep: string | null;
|
|
@@ -1252,12 +1203,12 @@ export declare function workflowRecover(helpers: WorkflowOperationHelpers, input
|
|
|
1252
1203
|
details: Record<string, unknown> | null;
|
|
1253
1204
|
at: string;
|
|
1254
1205
|
} | null;
|
|
1255
|
-
classification: import("./runs.
|
|
1206
|
+
classification: import("./runs.js").TreeseedWorkflowRunClassification;
|
|
1256
1207
|
}[];
|
|
1257
1208
|
obsoleteRuns: {
|
|
1258
1209
|
runId: string;
|
|
1259
1210
|
command: TreeseedWorkflowRunCommand;
|
|
1260
|
-
status: import("./runs.
|
|
1211
|
+
status: import("./runs.js").TreeseedWorkflowRunStatus;
|
|
1261
1212
|
createdAt: string;
|
|
1262
1213
|
updatedAt: string;
|
|
1263
1214
|
failure: {
|
|
@@ -1266,12 +1217,12 @@ export declare function workflowRecover(helpers: WorkflowOperationHelpers, input
|
|
|
1266
1217
|
details: Record<string, unknown> | null;
|
|
1267
1218
|
at: string;
|
|
1268
1219
|
} | null;
|
|
1269
|
-
classification: import("./runs.
|
|
1220
|
+
classification: import("./runs.js").TreeseedWorkflowRunClassification;
|
|
1270
1221
|
}[];
|
|
1271
1222
|
prunedRuns: {
|
|
1272
1223
|
runId: string;
|
|
1273
1224
|
command: TreeseedWorkflowRunCommand;
|
|
1274
|
-
status: import("./runs.
|
|
1225
|
+
status: import("./runs.js").TreeseedWorkflowRunStatus;
|
|
1275
1226
|
createdAt: string;
|
|
1276
1227
|
updatedAt: string;
|
|
1277
1228
|
nextStep: string | null;
|
|
@@ -1281,7 +1232,7 @@ export declare function workflowRecover(helpers: WorkflowOperationHelpers, input
|
|
|
1281
1232
|
details: Record<string, unknown> | null;
|
|
1282
1233
|
at: string;
|
|
1283
1234
|
} | null;
|
|
1284
|
-
classification: import("./runs.
|
|
1235
|
+
classification: import("./runs.js").TreeseedWorkflowRunClassification;
|
|
1285
1236
|
}[];
|
|
1286
1237
|
markedObsoleteRun: {
|
|
1287
1238
|
runId: string;
|
|
@@ -1292,6 +1243,7 @@ export declare function workflowRecover(helpers: WorkflowOperationHelpers, input
|
|
|
1292
1243
|
runCount: number;
|
|
1293
1244
|
} & {
|
|
1294
1245
|
finalState?: WorkflowStatePayload;
|
|
1246
|
+
timing?: TreeseedWorkflowTiming;
|
|
1295
1247
|
}>>;
|
|
1296
1248
|
export declare function workflowDestroy(helpers: WorkflowOperationHelpers, input: TreeseedDestroyInput): Promise<TreeseedWorkflowResult<{
|
|
1297
1249
|
remoteResult: {
|
|
@@ -1315,13 +1267,10 @@ export declare function workflowDestroy(helpers: WorkflowOperationHelpers, input
|
|
|
1315
1267
|
formGuardKv: any;
|
|
1316
1268
|
sessionKv: any;
|
|
1317
1269
|
siteDataDb: any;
|
|
1318
|
-
queue: any;
|
|
1319
1270
|
content: any;
|
|
1320
1271
|
resources: {
|
|
1321
1272
|
pagesProject: any;
|
|
1322
1273
|
contentBucket: any;
|
|
1323
|
-
queue: any;
|
|
1324
|
-
dlq: any;
|
|
1325
1274
|
database: any;
|
|
1326
1275
|
turnstileWidget: any;
|
|
1327
1276
|
formGuardKv: any;
|
|
@@ -1346,8 +1295,8 @@ export declare function workflowDestroy(helpers: WorkflowOperationHelpers, input
|
|
|
1346
1295
|
staleWhileRevalidateSeconds: number;
|
|
1347
1296
|
staleIfErrorSeconds: number;
|
|
1348
1297
|
};
|
|
1349
|
-
contentPages: Required<import("../platform/contracts.
|
|
1350
|
-
r2PublishedObjects: Required<import("../platform/contracts.
|
|
1298
|
+
contentPages: Required<import("../platform/contracts.js").TreeseedWebCachePolicyConfig>;
|
|
1299
|
+
r2PublishedObjects: Required<import("../platform/contracts.js").TreeseedWebCachePolicyConfig>;
|
|
1351
1300
|
};
|
|
1352
1301
|
deployPurge: any;
|
|
1353
1302
|
contentPurge: any;
|
|
@@ -1424,6 +1373,7 @@ export declare function workflowDestroy(helpers: WorkflowOperationHelpers, input
|
|
|
1424
1373
|
}[];
|
|
1425
1374
|
} & {
|
|
1426
1375
|
finalState?: WorkflowStatePayload;
|
|
1376
|
+
timing?: TreeseedWorkflowTiming;
|
|
1427
1377
|
}> | TreeseedWorkflowResult<{
|
|
1428
1378
|
dryRun: boolean;
|
|
1429
1379
|
remoteResult: Record<string, unknown> | null;
|
|
@@ -1445,5 +1395,6 @@ export declare function workflowDestroy(helpers: WorkflowOperationHelpers, input
|
|
|
1445
1395
|
}[];
|
|
1446
1396
|
} & {
|
|
1447
1397
|
finalState?: WorkflowStatePayload;
|
|
1398
|
+
timing?: TreeseedWorkflowTiming;
|
|
1448
1399
|
}>>;
|
|
1449
1400
|
export {};
|