@treeseed/sdk 0.10.28 → 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 +213 -7
- 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 +118 -59
- package/dist/capacity-provider.js +235 -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 +3 -2
- package/dist/control-plane.js +38 -13
- 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 +50900 -11018
- package/dist/db/market-schema.js +2313 -467
- package/dist/db/node-sqlite.d.ts +1 -232
- package/dist/db/node-sqlite.js +7 -2
- 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 +12 -0
- package/dist/hosting/apps.js +107 -0
- package/dist/hosting/builtins.d.ts +25 -0
- package/dist/hosting/builtins.js +602 -0
- package/dist/hosting/contracts.d.ts +208 -0
- package/dist/hosting/contracts.js +0 -0
- package/dist/hosting/graph.d.ts +195 -0
- package/dist/hosting/graph.js +1092 -0
- package/dist/hosting/index.d.ts +4 -0
- package/dist/hosting/index.js +4 -0
- package/dist/index.d.ts +88 -67
- package/dist/index.js +142 -14
- 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 -9
- package/dist/market-client.d.ts +327 -9
- package/dist/market-client.js +464 -20
- 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 +4 -2
- package/dist/operations/services/bootstrap-runner.js +22 -2
- 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 +83 -24
- package/dist/operations/services/config-runtime.js +449 -130
- package/dist/operations/services/deploy.d.ts +106 -624
- package/dist/operations/services/deploy.js +746 -263
- package/dist/operations/services/deployment-readiness.d.ts +30 -0
- package/dist/operations/services/deployment-readiness.js +206 -0
- 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 +45 -6
- package/dist/operations/services/git-workflow.js +251 -23
- package/dist/operations/services/github-actions-verification.d.ts +4 -1
- package/dist/operations/services/github-actions-verification.js +12 -3
- package/dist/operations/services/github-api.js +22 -6
- package/dist/operations/services/github-automation.d.ts +4 -4
- package/dist/operations/services/github-automation.js +19 -21
- package/dist/operations/services/github-credentials.d.ts +13 -0
- package/dist/operations/services/github-credentials.js +59 -0
- package/dist/operations/services/hosted-service-checks.d.ts +81 -0
- package/dist/operations/services/hosted-service-checks.js +478 -0
- 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 +22 -17
- package/dist/operations/services/live-hosted-service-checks.d.ts +26 -0
- package/dist/operations/services/live-hosted-service-checks.js +463 -0
- 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-host-security.js +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 +31 -0
- package/dist/operations/services/operations-runner-smoke.js +198 -0
- package/dist/operations/services/package-adapters.d.ts +170 -0
- package/dist/operations/services/package-adapters.js +859 -0
- package/dist/operations/services/package-reference-policy.d.ts +13 -88
- package/dist/operations/services/package-reference-policy.js +96 -215
- package/dist/operations/services/project-host-operations.d.ts +4 -4
- package/dist/operations/services/project-platform.d.ts +57 -173
- package/dist/operations/services/project-platform.js +80 -111
- package/dist/operations/services/project-web-monitor.d.ts +2 -2
- package/dist/operations/services/project-web-monitor.js +122 -5
- package/dist/operations/services/railway-api.d.ts +117 -5
- package/dist/operations/services/railway-api.js +915 -93
- package/dist/operations/services/railway-deploy.d.ts +30 -112
- package/dist/operations/services/railway-deploy.js +521 -961
- 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 +8 -7
- package/dist/operations/services/repository-save-orchestrator.js +604 -212
- 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 -191
- package/dist/operations/services/runtime-tools.js +4 -443
- 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/verification-cache.d.ts +25 -0
- package/dist/operations/services/verification-cache.js +71 -0
- 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 +50 -5
- 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 +42 -19
- package/dist/operations/services/workspace-tools.js +42 -7
- 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 +38 -2
- package/dist/platform/deploy-config.d.ts +1 -1
- package/dist/platform/deploy-config.js +80 -9
- 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 +568 -45
- package/dist/platform/environment.d.ts +3 -2
- package/dist/platform/environment.js +122 -21
- 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 +13 -4
- 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/platform-operation-store.js +2 -2
- package/dist/platform-operations.js +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 +5 -5
- package/dist/reconcile/builtin-adapters.d.ts +7 -1
- package/dist/reconcile/builtin-adapters.js +3190 -429
- package/dist/reconcile/contracts.d.ts +23 -6
- package/dist/reconcile/desired-state.d.ts +2 -192
- package/dist/reconcile/desired-state.js +29 -38
- package/dist/reconcile/engine.d.ts +61 -395
- package/dist/reconcile/engine.js +229 -44
- package/dist/reconcile/index.d.ts +10 -8
- package/dist/reconcile/index.js +2 -0
- package/dist/reconcile/live-acceptance.d.ts +100 -0
- package/dist/reconcile/live-acceptance.js +2027 -0
- package/dist/reconcile/platform.d.ts +104 -0
- package/dist/reconcile/platform.js +100 -0
- 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 +7 -44
- package/dist/reconcile/units.d.ts +1 -1
- package/dist/reconcile/units.js +9 -3
- 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/deployment-readiness.js +20 -0
- package/dist/scripts/generate-treedx-openapi-types.js +186 -0
- package/dist/scripts/migrate-journey-csv-to-guarantees.js +140 -0
- package/dist/scripts/operations-runner-smoke.js +16 -0
- package/dist/scripts/package-tools.js +12 -1
- package/dist/scripts/prepare.js +3 -7
- package/dist/scripts/release-verify.js +6 -6
- 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/tenant-workflow-action.js +10 -1
- 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 +1352 -116
- package/dist/sdk-types.js +413 -2
- package/dist/sdk.d.ts +106 -100
- package/dist/sdk.js +211 -51
- 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-requirements.js +9 -0
- package/dist/template-launch-ui.d.ts +2 -2
- package/dist/treedx/adapters.d.ts +6 -0
- package/dist/treedx/adapters.js +36 -0
- package/dist/treedx/client.d.ts +222 -0
- package/dist/treedx/client.js +871 -0
- package/dist/treedx/errors.d.ts +13 -0
- package/dist/treedx/errors.js +17 -0
- package/dist/treedx/federated-client.d.ts +27 -0
- package/dist/treedx/federated-client.js +158 -0
- package/dist/treedx/generated/openapi-types.d.ts +3558 -0
- package/dist/treedx/generated/openapi-types.js +0 -0
- package/dist/treedx/graph-adapter.d.ts +33 -0
- package/dist/treedx/graph-adapter.js +156 -0
- package/dist/treedx/index.d.ts +14 -0
- package/dist/treedx/index.js +48 -0
- package/dist/treedx/market-integration.d.ts +27 -0
- package/dist/treedx/market-integration.js +131 -0
- package/dist/treedx/ports.d.ts +166 -0
- package/dist/treedx/ports.js +231 -0
- package/dist/treedx/query-adapter.d.ts +19 -0
- package/dist/treedx/query-adapter.js +62 -0
- package/dist/treedx/registry-client.d.ts +11 -0
- package/dist/treedx/registry-client.js +19 -0
- package/dist/treedx/repository-adapter.d.ts +45 -0
- package/dist/treedx/repository-adapter.js +319 -0
- package/dist/treedx/sdk-integration.d.ts +27 -0
- package/dist/treedx/sdk-integration.js +63 -0
- package/dist/treedx/types.d.ts +1084 -0
- package/dist/treedx/types.js +8 -0
- package/dist/treedx/workspace-adapter.d.ts +27 -0
- package/dist/treedx/workspace-adapter.js +65 -0
- package/dist/treedx-backends.d.ts +220 -0
- package/dist/treedx-backends.js +634 -0
- package/dist/treedx-client.d.ts +89 -0
- package/dist/treedx-client.js +184 -0
- package/dist/treeseed/services/compose.yml +2 -3
- package/dist/treeseed/template-catalog/catalog.fixture.json +27 -27
- 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 +580 -523
- package/dist/workflow/operations.js +2084 -1279
- 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 +17 -4
- package/dist/workflow-state.js +68 -41
- package/dist/workflow-support.d.ts +26 -17
- package/dist/workflow-support.js +84 -24
- package/dist/workflow.d.ts +51 -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/0004_treedx_market_integration.sql +99 -0
- 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 +106 -18
- package/scripts/{verify-driver.mjs → verify-driver.ts} +19 -4
- package/templates/github/deploy-web.workflow.yml +49 -12
- 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 -41
- package/dist/operations/services/release-candidate.js +0 -616
- 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 { type
|
|
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;
|
|
@@ -49,7 +58,72 @@ type WorkflowRepoReport = {
|
|
|
49
58
|
changelog?: Record<string, unknown> | null;
|
|
50
59
|
adminCommitSummary?: Record<string, unknown> | null;
|
|
51
60
|
};
|
|
52
|
-
|
|
61
|
+
type WorkflowApplicationSelection = {
|
|
62
|
+
selected: string[];
|
|
63
|
+
skipped: Array<{
|
|
64
|
+
appId: string;
|
|
65
|
+
reason: string;
|
|
66
|
+
}>;
|
|
67
|
+
reasons: Array<{
|
|
68
|
+
appId: string;
|
|
69
|
+
reason: string;
|
|
70
|
+
}>;
|
|
71
|
+
source: 'changed-paths' | 'package-selection' | 'default';
|
|
72
|
+
};
|
|
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>>;
|
|
53
127
|
export declare function workflowCi(helpers: WorkflowOperationHelpers, input?: TreeseedCiInput): Promise<TreeseedWorkflowResult<TreeseedCiResult>>;
|
|
54
128
|
export declare function workflowTasks(helpers: WorkflowOperationHelpers): Promise<TreeseedWorkflowResult<{
|
|
55
129
|
tasks: TreeseedTaskBranchMetadata[];
|
|
@@ -123,10 +197,11 @@ export declare function workflowConfig(helpers: WorkflowOperationHelpers, input?
|
|
|
123
197
|
remediation: string[];
|
|
124
198
|
};
|
|
125
199
|
market: any;
|
|
126
|
-
connection: import("../sdk-types.
|
|
200
|
+
connection: import("../sdk-types.js").ProjectConnection | null;
|
|
127
201
|
runnerTokenIssued: boolean;
|
|
128
202
|
} & {
|
|
129
203
|
finalState?: WorkflowStatePayload;
|
|
204
|
+
timing?: TreeseedWorkflowTiming;
|
|
130
205
|
}> | TreeseedWorkflowResult<{
|
|
131
206
|
mode: string;
|
|
132
207
|
scopes: ("local" | "staging" | "prod")[];
|
|
@@ -150,7 +225,7 @@ export declare function workflowConfig(helpers: WorkflowOperationHelpers, input?
|
|
|
150
225
|
issues: any[];
|
|
151
226
|
};
|
|
152
227
|
}[];
|
|
153
|
-
repairs: import("../operations/services/config-runtime.
|
|
228
|
+
repairs: import("../operations/services/config-runtime.js").TreeseedRepairAction[];
|
|
154
229
|
preflight: {
|
|
155
230
|
ok: boolean;
|
|
156
231
|
requireAuth: boolean;
|
|
@@ -195,16 +270,17 @@ export declare function workflowConfig(helpers: WorkflowOperationHelpers, input?
|
|
|
195
270
|
actVerificationReady: any;
|
|
196
271
|
remediation: string[];
|
|
197
272
|
};
|
|
198
|
-
context: import("../operations/services/config-runtime.
|
|
199
|
-
secretSession: import("../operations/services/config-runtime.
|
|
273
|
+
context: import("../operations/services/config-runtime.js").TreeseedCollectedConfigContext;
|
|
274
|
+
secretSession: import("../operations/services/config-runtime.js").TreeseedConfigSecretSessionBootstrap;
|
|
200
275
|
} & {
|
|
201
276
|
finalState?: WorkflowStatePayload;
|
|
277
|
+
timing?: TreeseedWorkflowTiming;
|
|
202
278
|
}> | TreeseedWorkflowResult<{
|
|
203
279
|
mode: string;
|
|
204
280
|
scopes: ("local" | "staging" | "prod")[];
|
|
205
281
|
sync: "none" | "cloudflare" | "railway" | "github" | "all";
|
|
206
282
|
keyPath: string;
|
|
207
|
-
repairs: import("../operations/services/config-runtime.
|
|
283
|
+
repairs: import("../operations/services/config-runtime.js").TreeseedRepairAction[];
|
|
208
284
|
preflight: {
|
|
209
285
|
ok: boolean;
|
|
210
286
|
requireAuth: boolean;
|
|
@@ -249,14 +325,15 @@ export declare function workflowConfig(helpers: WorkflowOperationHelpers, input?
|
|
|
249
325
|
actVerificationReady: any;
|
|
250
326
|
remediation: string[];
|
|
251
327
|
};
|
|
252
|
-
context: import("../operations/services/config-runtime.
|
|
253
|
-
secretSession: import("../operations/services/config-runtime.
|
|
328
|
+
context: import("../operations/services/config-runtime.js").TreeseedCollectedConfigContext;
|
|
329
|
+
secretSession: import("../operations/services/config-runtime.js").TreeseedConfigSecretSessionBootstrap;
|
|
254
330
|
} & {
|
|
255
331
|
finalState?: WorkflowStatePayload;
|
|
332
|
+
timing?: TreeseedWorkflowTiming;
|
|
256
333
|
}>>;
|
|
257
334
|
export declare function workflowExport(helpers: WorkflowOperationHelpers, input?: TreeseedExportInput): Promise<TreeseedWorkflowResult<{
|
|
258
335
|
worktreeMode: TreeseedWorkflowWorktreeMode;
|
|
259
|
-
managedWorktree: import("./worktrees.
|
|
336
|
+
managedWorktree: import("./worktrees.js").ManagedWorkflowWorktreeMetadata | null;
|
|
260
337
|
worktreePath: string | null;
|
|
261
338
|
primaryRoot: string | null;
|
|
262
339
|
directory: string;
|
|
@@ -274,8 +351,94 @@ export declare function workflowExport(helpers: WorkflowOperationHelpers, input?
|
|
|
274
351
|
};
|
|
275
352
|
} & {
|
|
276
353
|
finalState?: WorkflowStatePayload;
|
|
354
|
+
timing?: TreeseedWorkflowTiming;
|
|
277
355
|
}>>;
|
|
278
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
|
+
}>>;
|
|
279
442
|
export declare function workflowDev(helpers: WorkflowOperationHelpers, input?: TreeseedWorkflowDevInput): Promise<TreeseedWorkflowResult<{
|
|
280
443
|
watch: boolean;
|
|
281
444
|
background: boolean;
|
|
@@ -294,9 +457,10 @@ export declare function workflowDev(helpers: WorkflowOperationHelpers, input?: T
|
|
|
294
457
|
blockers: string[];
|
|
295
458
|
warnings: string[];
|
|
296
459
|
};
|
|
297
|
-
workspaceLinks: import("../operations/services/workspace-dependency-mode.
|
|
460
|
+
workspaceLinks: import("../operations/services/workspace-dependency-mode.js").WorkspaceDependencyModeReport;
|
|
298
461
|
} & {
|
|
299
462
|
finalState?: WorkflowStatePayload;
|
|
463
|
+
timing?: TreeseedWorkflowTiming;
|
|
300
464
|
}> | TreeseedWorkflowResult<{
|
|
301
465
|
watch: boolean;
|
|
302
466
|
background: boolean;
|
|
@@ -315,20 +479,21 @@ export declare function workflowDev(helpers: WorkflowOperationHelpers, input?: T
|
|
|
315
479
|
blockers: string[];
|
|
316
480
|
warnings: string[];
|
|
317
481
|
};
|
|
318
|
-
workspaceLinks: import("../operations/services/workspace-dependency-mode.
|
|
482
|
+
workspaceLinks: import("../operations/services/workspace-dependency-mode.js").WorkspaceDependencyModeReport;
|
|
319
483
|
} & {
|
|
320
484
|
finalState?: WorkflowStatePayload;
|
|
485
|
+
timing?: TreeseedWorkflowTiming;
|
|
321
486
|
}>>;
|
|
322
487
|
export declare function workflowSave(helpers: WorkflowOperationHelpers, input: TreeseedSaveInput): Promise<TreeseedWorkflowResult<{
|
|
323
|
-
repositoryPlan: import("../operations/services/repository-save-orchestrator.
|
|
324
|
-
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[];
|
|
325
490
|
plannedVersions: Record<string, string>;
|
|
326
491
|
plannedSteps: {
|
|
327
492
|
id: string;
|
|
328
493
|
description: string;
|
|
329
494
|
}[];
|
|
330
495
|
worktreeMode: TreeseedWorkflowWorktreeMode;
|
|
331
|
-
managedWorktree: import("./worktrees.
|
|
496
|
+
managedWorktree: import("./worktrees.js").ManagedWorkflowWorktreeMetadata | null;
|
|
332
497
|
worktreePath: string | null;
|
|
333
498
|
primaryRoot: string | null;
|
|
334
499
|
mode: TreeseedWorkflowMode;
|
|
@@ -336,8 +501,8 @@ export declare function workflowSave(helpers: WorkflowOperationHelpers, input: T
|
|
|
336
501
|
scope: string;
|
|
337
502
|
hotfix: boolean;
|
|
338
503
|
message: string;
|
|
339
|
-
repos: import("../operations/services/repository-save-orchestrator.
|
|
340
|
-
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;
|
|
341
506
|
blockers: string[];
|
|
342
507
|
autoResumeCandidate: {
|
|
343
508
|
runId: string;
|
|
@@ -349,14 +514,18 @@ export declare function workflowSave(helpers: WorkflowOperationHelpers, input: T
|
|
|
349
514
|
at: string;
|
|
350
515
|
} | null;
|
|
351
516
|
} | null;
|
|
352
|
-
workspaceLinks: import("../operations/services/workspace-dependency-mode.
|
|
517
|
+
workspaceLinks: import("../operations/services/workspace-dependency-mode.js").WorkspaceDependencyModeReport;
|
|
353
518
|
ciMode: "hosted" | "off";
|
|
354
|
-
|
|
519
|
+
lane: string;
|
|
520
|
+
verifyMode: "action-first" | "local-only" | import("../workflow.js").TreeseedWorkflowVerifyMode;
|
|
521
|
+
releaseCandidateMode: TreeseedReleaseCandidateMode;
|
|
522
|
+
applicationSelection: WorkflowApplicationSelection;
|
|
355
523
|
} & {
|
|
356
524
|
finalState?: WorkflowStatePayload;
|
|
525
|
+
timing?: TreeseedWorkflowTiming;
|
|
357
526
|
}> | TreeseedWorkflowResult<{
|
|
358
527
|
worktreeMode: TreeseedWorkflowWorktreeMode;
|
|
359
|
-
managedWorktree: import("./worktrees.
|
|
528
|
+
managedWorktree: import("./worktrees.js").ManagedWorkflowWorktreeMetadata | null;
|
|
360
529
|
worktreePath: string | null;
|
|
361
530
|
primaryRoot: string | null;
|
|
362
531
|
mode: "root-only" | "recursive-workspace";
|
|
@@ -380,7 +549,7 @@ export declare function workflowSave(helpers: WorkflowOperationHelpers, input: T
|
|
|
380
549
|
partialFailure: null;
|
|
381
550
|
previewAction: Record<string, unknown>;
|
|
382
551
|
mergeConflict: null;
|
|
383
|
-
workspaceLinks: import("../operations/services/workspace-dependency-mode.
|
|
552
|
+
workspaceLinks: import("../operations/services/workspace-dependency-mode.js").WorkspaceDependencyModeReport;
|
|
384
553
|
commandReadiness: {
|
|
385
554
|
status: string;
|
|
386
555
|
checks: {
|
|
@@ -399,16 +568,19 @@ export declare function workflowSave(helpers: WorkflowOperationHelpers, input: T
|
|
|
399
568
|
missing: never[];
|
|
400
569
|
};
|
|
401
570
|
lockfileValidation: {
|
|
402
|
-
root: import("../operations/services/repository-save-orchestrator.
|
|
571
|
+
root: import("../operations/services/repository-save-orchestrator.js").RepositoryLockfileValidationResult | null;
|
|
403
572
|
repos: {
|
|
404
573
|
name: string;
|
|
405
574
|
path: string;
|
|
406
|
-
lockfileValidation: import("../operations/services/repository-save-orchestrator.
|
|
575
|
+
lockfileValidation: import("../operations/services/repository-save-orchestrator.js").RepositoryLockfileValidationResult | null;
|
|
407
576
|
}[];
|
|
408
577
|
};
|
|
409
578
|
ciMode: "hosted" | "off";
|
|
410
|
-
|
|
411
|
-
|
|
579
|
+
lane: string;
|
|
580
|
+
verifyMode: "action-first" | "local-only" | import("../workflow.js").TreeseedWorkflowVerifyMode;
|
|
581
|
+
releaseCandidateMode: TreeseedReleaseCandidateMode;
|
|
582
|
+
applicationSelection: WorkflowApplicationSelection;
|
|
583
|
+
workflowGates: Record<string, unknown>[] | {
|
|
412
584
|
name: string;
|
|
413
585
|
repository: string | null;
|
|
414
586
|
workflow: string;
|
|
@@ -423,11 +595,25 @@ export declare function workflowSave(helpers: WorkflowOperationHelpers, input: T
|
|
|
423
595
|
updatedAt: null;
|
|
424
596
|
timeoutSeconds: number | null;
|
|
425
597
|
cached: boolean;
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
|
|
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;
|
|
612
|
+
} | null;
|
|
613
|
+
hostingAudit: null;
|
|
429
614
|
} & {
|
|
430
615
|
finalState?: WorkflowStatePayload;
|
|
616
|
+
timing?: TreeseedWorkflowTiming;
|
|
431
617
|
}>>;
|
|
432
618
|
export declare function workflowClose(helpers: WorkflowOperationHelpers, input: TreeseedCloseInput): Promise<TreeseedWorkflowResult<{
|
|
433
619
|
autoSaveRequired: boolean;
|
|
@@ -439,7 +625,7 @@ export declare function workflowClose(helpers: WorkflowOperationHelpers, input:
|
|
|
439
625
|
description: string;
|
|
440
626
|
}[];
|
|
441
627
|
worktreeMode: TreeseedWorkflowWorktreeMode;
|
|
442
|
-
managedWorktree: import("./worktrees.
|
|
628
|
+
managedWorktree: import("./worktrees.js").ManagedWorkflowWorktreeMetadata | null;
|
|
443
629
|
worktreePath: string | null;
|
|
444
630
|
primaryRoot: string | null;
|
|
445
631
|
mode: TreeseedWorkflowMode;
|
|
@@ -457,21 +643,22 @@ export declare function workflowClose(helpers: WorkflowOperationHelpers, input:
|
|
|
457
643
|
} | null;
|
|
458
644
|
} & {
|
|
459
645
|
finalState?: WorkflowStatePayload;
|
|
646
|
+
timing?: TreeseedWorkflowTiming;
|
|
460
647
|
}> | TreeseedWorkflowResult<{
|
|
461
648
|
mode: TreeseedWorkflowMode;
|
|
462
649
|
branchName: string;
|
|
463
650
|
message: string;
|
|
464
651
|
autoSaved: boolean;
|
|
465
652
|
autoSaveResult: ({
|
|
466
|
-
repositoryPlan: import("../operations/services/repository-save-orchestrator.
|
|
467
|
-
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[];
|
|
468
655
|
plannedVersions: Record<string, string>;
|
|
469
656
|
plannedSteps: {
|
|
470
657
|
id: string;
|
|
471
658
|
description: string;
|
|
472
659
|
}[];
|
|
473
660
|
worktreeMode: TreeseedWorkflowWorktreeMode;
|
|
474
|
-
managedWorktree: import("./worktrees.
|
|
661
|
+
managedWorktree: import("./worktrees.js").ManagedWorkflowWorktreeMetadata | null;
|
|
475
662
|
worktreePath: string | null;
|
|
476
663
|
primaryRoot: string | null;
|
|
477
664
|
mode: TreeseedWorkflowMode;
|
|
@@ -479,8 +666,8 @@ export declare function workflowClose(helpers: WorkflowOperationHelpers, input:
|
|
|
479
666
|
scope: string;
|
|
480
667
|
hotfix: boolean;
|
|
481
668
|
message: string;
|
|
482
|
-
repos: import("../operations/services/repository-save-orchestrator.
|
|
483
|
-
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;
|
|
484
671
|
blockers: string[];
|
|
485
672
|
autoResumeCandidate: {
|
|
486
673
|
runId: string;
|
|
@@ -492,14 +679,18 @@ export declare function workflowClose(helpers: WorkflowOperationHelpers, input:
|
|
|
492
679
|
at: string;
|
|
493
680
|
} | null;
|
|
494
681
|
} | null;
|
|
495
|
-
workspaceLinks: import("../operations/services/workspace-dependency-mode.
|
|
682
|
+
workspaceLinks: import("../operations/services/workspace-dependency-mode.js").WorkspaceDependencyModeReport;
|
|
496
683
|
ciMode: "hosted" | "off";
|
|
497
|
-
|
|
684
|
+
lane: string;
|
|
685
|
+
verifyMode: "action-first" | "local-only" | import("../workflow.js").TreeseedWorkflowVerifyMode;
|
|
686
|
+
releaseCandidateMode: TreeseedReleaseCandidateMode;
|
|
687
|
+
applicationSelection: WorkflowApplicationSelection;
|
|
498
688
|
} & {
|
|
499
689
|
finalState?: WorkflowStatePayload;
|
|
690
|
+
timing?: TreeseedWorkflowTiming;
|
|
500
691
|
}) | ({
|
|
501
692
|
worktreeMode: TreeseedWorkflowWorktreeMode;
|
|
502
|
-
managedWorktree: import("./worktrees.
|
|
693
|
+
managedWorktree: import("./worktrees.js").ManagedWorkflowWorktreeMetadata | null;
|
|
503
694
|
worktreePath: string | null;
|
|
504
695
|
primaryRoot: string | null;
|
|
505
696
|
mode: "root-only" | "recursive-workspace";
|
|
@@ -523,7 +714,7 @@ export declare function workflowClose(helpers: WorkflowOperationHelpers, input:
|
|
|
523
714
|
partialFailure: null;
|
|
524
715
|
previewAction: Record<string, unknown>;
|
|
525
716
|
mergeConflict: null;
|
|
526
|
-
workspaceLinks: import("../operations/services/workspace-dependency-mode.
|
|
717
|
+
workspaceLinks: import("../operations/services/workspace-dependency-mode.js").WorkspaceDependencyModeReport;
|
|
527
718
|
commandReadiness: {
|
|
528
719
|
status: string;
|
|
529
720
|
checks: {
|
|
@@ -542,16 +733,19 @@ export declare function workflowClose(helpers: WorkflowOperationHelpers, input:
|
|
|
542
733
|
missing: never[];
|
|
543
734
|
};
|
|
544
735
|
lockfileValidation: {
|
|
545
|
-
root: import("../operations/services/repository-save-orchestrator.
|
|
736
|
+
root: import("../operations/services/repository-save-orchestrator.js").RepositoryLockfileValidationResult | null;
|
|
546
737
|
repos: {
|
|
547
738
|
name: string;
|
|
548
739
|
path: string;
|
|
549
|
-
lockfileValidation: import("../operations/services/repository-save-orchestrator.
|
|
740
|
+
lockfileValidation: import("../operations/services/repository-save-orchestrator.js").RepositoryLockfileValidationResult | null;
|
|
550
741
|
}[];
|
|
551
742
|
};
|
|
552
743
|
ciMode: "hosted" | "off";
|
|
553
|
-
|
|
554
|
-
|
|
744
|
+
lane: string;
|
|
745
|
+
verifyMode: "action-first" | "local-only" | import("../workflow.js").TreeseedWorkflowVerifyMode;
|
|
746
|
+
releaseCandidateMode: TreeseedReleaseCandidateMode;
|
|
747
|
+
applicationSelection: WorkflowApplicationSelection;
|
|
748
|
+
workflowGates: Record<string, unknown>[] | {
|
|
555
749
|
name: string;
|
|
556
750
|
repository: string | null;
|
|
557
751
|
workflow: string;
|
|
@@ -566,67 +760,119 @@ export declare function workflowClose(helpers: WorkflowOperationHelpers, input:
|
|
|
566
760
|
updatedAt: null;
|
|
567
761
|
timeoutSeconds: number | null;
|
|
568
762
|
cached: boolean;
|
|
569
|
-
}
|
|
570
|
-
|
|
571
|
-
|
|
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;
|
|
777
|
+
} | null;
|
|
778
|
+
hostingAudit: null;
|
|
572
779
|
} & {
|
|
573
780
|
finalState?: WorkflowStatePayload;
|
|
781
|
+
timing?: TreeseedWorkflowTiming;
|
|
574
782
|
}) | null;
|
|
575
|
-
deprecatedTag: {
|
|
576
|
-
tagName: string;
|
|
577
|
-
head: string;
|
|
578
|
-
};
|
|
579
783
|
repos: WorkflowRepoReport[];
|
|
580
784
|
rootRepo: WorkflowRepoReport;
|
|
581
785
|
previewCleanup: {
|
|
582
|
-
|
|
583
|
-
|
|
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
|
+
};
|
|
584
796
|
} | {
|
|
585
797
|
performed: boolean;
|
|
586
798
|
};
|
|
587
799
|
remoteDeleted: boolean;
|
|
588
800
|
localDeleted: boolean;
|
|
589
801
|
finalBranch: string;
|
|
590
|
-
workspaceLinks: import("../operations/services/workspace-dependency-mode.
|
|
802
|
+
workspaceLinks: import("../operations/services/workspace-dependency-mode.js").WorkspaceDependencyModeReport;
|
|
591
803
|
worktreeCleanup: {
|
|
592
804
|
removed: boolean;
|
|
593
805
|
reason: string;
|
|
594
806
|
worktreePath?: undefined;
|
|
595
807
|
primaryRoot?: undefined;
|
|
596
808
|
branch?: undefined;
|
|
809
|
+
deletedLocalBranch?: undefined;
|
|
597
810
|
} | {
|
|
598
811
|
removed: boolean;
|
|
599
812
|
worktreePath: string;
|
|
600
813
|
primaryRoot: string;
|
|
601
814
|
branch: string;
|
|
815
|
+
deletedLocalBranch: boolean;
|
|
602
816
|
reason?: undefined;
|
|
603
817
|
};
|
|
604
818
|
worktreeMode: TreeseedWorkflowWorktreeMode;
|
|
605
|
-
managedWorktree: import("./worktrees.
|
|
819
|
+
managedWorktree: import("./worktrees.js").ManagedWorkflowWorktreeMetadata | null;
|
|
606
820
|
worktreePath: string | null;
|
|
607
821
|
primaryRoot: string | null;
|
|
608
822
|
} & {
|
|
609
823
|
finalState?: WorkflowStatePayload;
|
|
824
|
+
timing?: TreeseedWorkflowTiming;
|
|
610
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
|
+
};
|
|
611
846
|
export declare function workflowStage(helpers: WorkflowOperationHelpers, input: TreeseedStageInput): Promise<TreeseedWorkflowResult<{
|
|
612
|
-
autoSaveRequired: boolean;
|
|
613
|
-
blockers: string[];
|
|
614
|
-
rootRepo: WorkflowRepoReport;
|
|
615
|
-
repos: WorkflowRepoReport[];
|
|
616
|
-
plannedSteps: {
|
|
617
|
-
id: string;
|
|
618
|
-
description: string;
|
|
619
|
-
}[];
|
|
620
847
|
worktreeMode: TreeseedWorkflowWorktreeMode;
|
|
621
|
-
managedWorktree: import("./worktrees.
|
|
848
|
+
managedWorktree: import("./worktrees.js").ManagedWorkflowWorktreeMetadata | null;
|
|
622
849
|
worktreePath: string | null;
|
|
623
850
|
primaryRoot: string | null;
|
|
624
|
-
mode:
|
|
625
|
-
branchName: string
|
|
851
|
+
mode: string;
|
|
852
|
+
branchName: string;
|
|
853
|
+
branchRole: import("./policy.js").TreeseedWorkflowBranchRole;
|
|
626
854
|
mergeTarget: string;
|
|
627
855
|
mergeStrategy: string;
|
|
628
856
|
message: string;
|
|
629
|
-
|
|
857
|
+
verifyMode: StageVerifyMode;
|
|
858
|
+
ciMode: StageCiMode;
|
|
859
|
+
cleanupMode: StageCleanupMode;
|
|
860
|
+
updateFrom: string;
|
|
861
|
+
waitForStaging: boolean;
|
|
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[];
|
|
630
876
|
autoResumeCandidate: {
|
|
631
877
|
runId: string;
|
|
632
878
|
branch: string | null;
|
|
@@ -637,35 +883,58 @@ export declare function workflowStage(helpers: WorkflowOperationHelpers, input:
|
|
|
637
883
|
at: string;
|
|
638
884
|
} | null;
|
|
639
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;
|
|
640
919
|
} & {
|
|
641
920
|
finalState?: WorkflowStatePayload;
|
|
921
|
+
timing?: TreeseedWorkflowTiming;
|
|
642
922
|
}> | TreeseedWorkflowResult<{
|
|
643
923
|
mode: TreeseedWorkflowMode;
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
autoSaveResult: ({
|
|
650
|
-
repositoryPlan: import("../operations/services/repository-save-orchestrator.ts").RepositorySavePlan;
|
|
651
|
-
waves: import("../operations/services/repository-save-orchestrator.ts").RepositorySavePlanWave[];
|
|
652
|
-
plannedVersions: Record<string, string>;
|
|
653
|
-
plannedSteps: {
|
|
654
|
-
id: string;
|
|
655
|
-
description: string;
|
|
924
|
+
runId: string;
|
|
925
|
+
releasePlan: {
|
|
926
|
+
freshArchivedRuns: {
|
|
927
|
+
runId: string;
|
|
928
|
+
reasons: string[];
|
|
656
929
|
}[];
|
|
657
930
|
worktreeMode: TreeseedWorkflowWorktreeMode;
|
|
658
|
-
managedWorktree: import("./worktrees.
|
|
931
|
+
managedWorktree: import("./worktrees.js").ManagedWorkflowWorktreeMetadata | null;
|
|
659
932
|
worktreePath: string | null;
|
|
660
933
|
primaryRoot: string | null;
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
message: string;
|
|
666
|
-
repos: import("../operations/services/repository-save-orchestrator.ts").RepositorySavePlanRepo[];
|
|
667
|
-
rootRepo: import("../operations/services/repository-save-orchestrator.ts").RepositorySavePlanRepo;
|
|
668
|
-
blockers: string[];
|
|
934
|
+
readiness: import("../workflow-support.js").TreeseedDeploymentReadinessReport;
|
|
935
|
+
ciMode: "hosted" | "off";
|
|
936
|
+
level: "patch" | "major" | "minor";
|
|
937
|
+
fresh: boolean;
|
|
669
938
|
autoResumeCandidate: {
|
|
670
939
|
runId: string;
|
|
671
940
|
branch: string | null;
|
|
@@ -676,181 +945,178 @@ export declare function workflowStage(helpers: WorkflowOperationHelpers, input:
|
|
|
676
945
|
at: string;
|
|
677
946
|
} | null;
|
|
678
947
|
} | null;
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
worktreePath: string | null;
|
|
688
|
-
primaryRoot: string | null;
|
|
689
|
-
mode: "root-only" | "recursive-workspace";
|
|
690
|
-
branch: string;
|
|
691
|
-
scope: string;
|
|
692
|
-
hotfix: boolean;
|
|
693
|
-
message: string;
|
|
694
|
-
resumed: boolean;
|
|
695
|
-
resumedRunId: string | null;
|
|
696
|
-
autoResumed: boolean;
|
|
697
|
-
commitSha: string;
|
|
698
|
-
commitCreated: boolean;
|
|
699
|
-
noChanges: boolean;
|
|
700
|
-
branchSync: {
|
|
701
|
-
pushed: boolean;
|
|
702
|
-
};
|
|
703
|
-
repos: RepositorySaveReport[];
|
|
704
|
-
rootRepo: RepositorySaveReport;
|
|
705
|
-
waves: string[][];
|
|
706
|
-
plannedVersions: Record<string, string>;
|
|
707
|
-
partialFailure: null;
|
|
708
|
-
previewAction: Record<string, unknown>;
|
|
709
|
-
mergeConflict: null;
|
|
710
|
-
workspaceLinks: import("../operations/services/workspace-dependency-mode.ts").WorkspaceDependencyModeReport;
|
|
711
|
-
commandReadiness: {
|
|
712
|
-
status: string;
|
|
713
|
-
checks: {
|
|
714
|
-
exists: boolean;
|
|
715
|
-
id: string;
|
|
716
|
-
path: string;
|
|
717
|
-
}[];
|
|
718
|
-
missing: {
|
|
719
|
-
id: string;
|
|
720
|
-
path: string;
|
|
721
|
-
}[];
|
|
722
|
-
} | {
|
|
723
|
-
status: string;
|
|
724
|
-
reason: string;
|
|
725
|
-
checks: never[];
|
|
726
|
-
missing: never[];
|
|
948
|
+
mode: TreeseedWorkflowMode;
|
|
949
|
+
mergeStrategy: string;
|
|
950
|
+
releaseLine: {
|
|
951
|
+
group: string[];
|
|
952
|
+
repair: boolean;
|
|
953
|
+
targetLine: string;
|
|
954
|
+
highestCurrentLine: string;
|
|
955
|
+
alignedBefore: boolean;
|
|
727
956
|
};
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
957
|
+
rootVersion: string;
|
|
958
|
+
releaseTag: string;
|
|
959
|
+
stagingBranch: string;
|
|
960
|
+
productionBranch: string;
|
|
961
|
+
packageSelection: {
|
|
962
|
+
changed: any[];
|
|
963
|
+
dependents: any[];
|
|
964
|
+
selected: any[];
|
|
735
965
|
};
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
966
|
+
plannedVersions: any;
|
|
967
|
+
stableDependencyVersions: Record<string, string>;
|
|
968
|
+
applicationSelection: WorkflowApplicationSelection;
|
|
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;
|
|
741
979
|
workflow: string;
|
|
742
980
|
branch: string;
|
|
743
|
-
headSha: string;
|
|
744
981
|
status: string;
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
}
|
|
754
|
-
|
|
755
|
-
hostingAudit: import("../workflow-support.ts").TreeseedHostingAuditReport | null;
|
|
756
|
-
} & {
|
|
757
|
-
finalState?: WorkflowStatePayload;
|
|
758
|
-
}) | null;
|
|
759
|
-
deprecatedTag: {
|
|
760
|
-
tagName: string;
|
|
761
|
-
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[];
|
|
762
992
|
};
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
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;
|
|
768
1029
|
};
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
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
|
+
};
|
|
775
1063
|
};
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
finalBranch: string;
|
|
781
|
-
workspaceLinks: import("../operations/services/workspace-dependency-mode.ts").WorkspaceDependencyModeReport;
|
|
782
|
-
ciMode: "hosted" | "off";
|
|
783
|
-
workflowGates: any;
|
|
784
|
-
hostingAudit: import("../workflow-support.ts").TreeseedHostingAuditReport | null;
|
|
785
|
-
worktreeCleanup: {
|
|
786
|
-
removed: boolean;
|
|
787
|
-
reason: string;
|
|
788
|
-
worktreePath?: undefined;
|
|
789
|
-
primaryRoot?: undefined;
|
|
790
|
-
branch?: undefined;
|
|
791
|
-
} | {
|
|
792
|
-
removed: boolean;
|
|
793
|
-
worktreePath: string;
|
|
794
|
-
primaryRoot: string;
|
|
1064
|
+
publishWait: Record<string, unknown>[] | {
|
|
1065
|
+
name: string;
|
|
1066
|
+
repository: string | null;
|
|
1067
|
+
workflow: string;
|
|
795
1068
|
branch: string;
|
|
796
|
-
|
|
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
|
+
};
|
|
797
1106
|
};
|
|
1107
|
+
workspaceLinks: import("../operations/services/workspace-dependency-mode.js").WorkspaceDependencyModeReport;
|
|
1108
|
+
releasedCommit: string;
|
|
1109
|
+
touchedPackages: string[];
|
|
1110
|
+
finalBranch: string;
|
|
798
1111
|
worktreeMode: TreeseedWorkflowWorktreeMode;
|
|
799
|
-
managedWorktree: import("./worktrees.
|
|
1112
|
+
managedWorktree: import("./worktrees.js").ManagedWorkflowWorktreeMetadata | null;
|
|
800
1113
|
worktreePath: string | null;
|
|
801
1114
|
primaryRoot: string | null;
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
status: string;
|
|
808
|
-
branchScope: DevTagBranchScope;
|
|
809
|
-
includePackages: string[];
|
|
810
|
-
repos: ({
|
|
811
|
-
status: string;
|
|
812
|
-
packageName: string;
|
|
813
|
-
currentVersion: string;
|
|
814
|
-
branchScope: DevTagBranchScope;
|
|
815
|
-
candidates: {
|
|
816
|
-
tagName: string;
|
|
817
|
-
reason: string;
|
|
818
|
-
branch: string | null | undefined;
|
|
819
|
-
branchSlug: string | undefined;
|
|
820
|
-
version: string | null | undefined;
|
|
821
|
-
}[];
|
|
822
|
-
candidateCount: number;
|
|
823
|
-
cleaned: string[];
|
|
824
|
-
cleanedCount: number;
|
|
825
|
-
skipped: {
|
|
826
|
-
tagName: string;
|
|
827
|
-
reason: string;
|
|
828
|
-
}[];
|
|
829
|
-
skippedCount: number;
|
|
830
|
-
name: any;
|
|
831
|
-
path: string;
|
|
832
|
-
} | {
|
|
833
|
-
status: string;
|
|
834
|
-
candidateCount: number;
|
|
835
|
-
cleaned: string[];
|
|
836
|
-
cleanedCount: number;
|
|
837
|
-
skippedCount: number;
|
|
838
|
-
packageName: string;
|
|
839
|
-
currentVersion: string;
|
|
840
|
-
branchScope: DevTagBranchScope;
|
|
841
|
-
candidates: import("../operations/services/package-reference-policy.ts").StaleDevTagClassification[];
|
|
842
|
-
skipped: import("../operations/services/package-reference-policy.ts").StaleDevTagClassification[];
|
|
843
|
-
tags: import("../operations/services/package-reference-policy.ts").StaleDevTagClassification[];
|
|
844
|
-
name: any;
|
|
845
|
-
path: string;
|
|
846
|
-
})[];
|
|
847
|
-
candidateCount: number;
|
|
848
|
-
cleanedCount: number;
|
|
849
|
-
skippedCount: number;
|
|
850
|
-
} & {
|
|
851
|
-
finalState?: WorkflowStatePayload;
|
|
852
|
-
}>>;
|
|
853
|
-
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[];
|
|
854
1120
|
autoResumeCandidate: {
|
|
855
1121
|
runId: string;
|
|
856
1122
|
branch: string | null;
|
|
@@ -861,16 +1127,7 @@ export declare function workflowRelease(helpers: WorkflowOperationHelpers, input
|
|
|
861
1127
|
at: string;
|
|
862
1128
|
} | null;
|
|
863
1129
|
} | null;
|
|
864
|
-
worktreeMode: TreeseedWorkflowWorktreeMode;
|
|
865
|
-
managedWorktree: import("./worktrees.ts").ManagedWorkflowWorktreeMetadata | null;
|
|
866
|
-
worktreePath: string | null;
|
|
867
|
-
primaryRoot: string | null;
|
|
868
|
-
ciMode: "hosted" | "off";
|
|
869
|
-
fresh: boolean;
|
|
870
|
-
freshArchivedRuns: never[];
|
|
871
|
-
mode: TreeseedWorkflowMode;
|
|
872
1130
|
mergeStrategy: string;
|
|
873
|
-
level: string;
|
|
874
1131
|
releaseLine: {
|
|
875
1132
|
group: string[];
|
|
876
1133
|
repair: boolean;
|
|
@@ -889,6 +1146,7 @@ export declare function workflowRelease(helpers: WorkflowOperationHelpers, input
|
|
|
889
1146
|
};
|
|
890
1147
|
plannedVersions: any;
|
|
891
1148
|
stableDependencyVersions: Record<string, string>;
|
|
1149
|
+
applicationSelection: WorkflowApplicationSelection;
|
|
892
1150
|
plannedDevReferenceRewrites: {
|
|
893
1151
|
repoName: string;
|
|
894
1152
|
filePath: string;
|
|
@@ -903,10 +1161,8 @@ export declare function workflowRelease(helpers: WorkflowOperationHelpers, input
|
|
|
903
1161
|
branch: string;
|
|
904
1162
|
status: string;
|
|
905
1163
|
}[];
|
|
906
|
-
touchedPackages: any[];
|
|
907
1164
|
repos: WorkflowRepoReport[];
|
|
908
1165
|
rootRepo: WorkflowRepoReport;
|
|
909
|
-
finalBranch: string;
|
|
910
1166
|
plannedSteps: {
|
|
911
1167
|
id: string;
|
|
912
1168
|
description: string;
|
|
@@ -914,253 +1170,15 @@ export declare function workflowRelease(helpers: WorkflowOperationHelpers, input
|
|
|
914
1170
|
blockers: string[];
|
|
915
1171
|
} & {
|
|
916
1172
|
finalState?: WorkflowStatePayload;
|
|
917
|
-
|
|
918
|
-
worktreeMode: TreeseedWorkflowWorktreeMode;
|
|
919
|
-
managedWorktree: import("./worktrees.ts").ManagedWorkflowWorktreeMetadata | null;
|
|
920
|
-
worktreePath: string | null;
|
|
921
|
-
primaryRoot: string | null;
|
|
922
|
-
mode: "root-only";
|
|
923
|
-
mergeStrategy: string;
|
|
924
|
-
level: "patch" | "major" | "minor";
|
|
925
|
-
fresh: boolean;
|
|
926
|
-
freshArchivedRuns: {
|
|
927
|
-
runId: string;
|
|
928
|
-
reasons: string[];
|
|
929
|
-
}[];
|
|
930
|
-
resumed: boolean;
|
|
931
|
-
resumedRunId: string | null;
|
|
932
|
-
autoResumed: boolean;
|
|
933
|
-
rootVersion: string;
|
|
934
|
-
releaseTag: string;
|
|
935
|
-
releasedCommit: string;
|
|
936
|
-
stagingBranch: string;
|
|
937
|
-
productionBranch: string;
|
|
938
|
-
touchedPackages: never[];
|
|
939
|
-
packageSelection: {
|
|
940
|
-
changed: never[];
|
|
941
|
-
dependents: never[];
|
|
942
|
-
selected: never[];
|
|
943
|
-
};
|
|
944
|
-
publishWait: never[];
|
|
945
|
-
repos: never[];
|
|
946
|
-
rootRepo: WorkflowRepoReport;
|
|
947
|
-
releaseCandidate: ReleaseCandidateReport | null;
|
|
948
|
-
stagingWorkflowGates: Record<string, unknown>[] | {
|
|
949
|
-
name: string;
|
|
950
|
-
repository: string | null;
|
|
951
|
-
workflow: string;
|
|
952
|
-
branch: string;
|
|
953
|
-
headSha: string;
|
|
954
|
-
status: string;
|
|
955
|
-
reason: string;
|
|
956
|
-
conclusion: null;
|
|
957
|
-
runId: null;
|
|
958
|
-
url: null;
|
|
959
|
-
createdAt: null;
|
|
960
|
-
updatedAt: null;
|
|
961
|
-
timeoutSeconds: number | null;
|
|
962
|
-
cached: boolean;
|
|
963
|
-
}[];
|
|
964
|
-
releaseBackMerge: {
|
|
965
|
-
status: string;
|
|
966
|
-
merged: boolean;
|
|
967
|
-
repoName: string;
|
|
968
|
-
sourceBranch: string;
|
|
969
|
-
targetBranch: string;
|
|
970
|
-
commitSha: string;
|
|
971
|
-
} | {
|
|
972
|
-
packageStagingPointersSynced: boolean;
|
|
973
|
-
packageStagingPointerCommit: string;
|
|
974
|
-
status: string;
|
|
975
|
-
merged: boolean;
|
|
976
|
-
repoName: string;
|
|
977
|
-
sourceBranch: string;
|
|
978
|
-
targetBranch: string;
|
|
979
|
-
commitSha: string;
|
|
980
|
-
};
|
|
981
|
-
hostedDeploymentState: Record<string, unknown>[];
|
|
982
|
-
finalBranch: string;
|
|
983
|
-
pushStatus: {
|
|
984
|
-
stagingPushed: boolean;
|
|
985
|
-
productionPushed: boolean;
|
|
986
|
-
tagPushed: boolean;
|
|
987
|
-
};
|
|
988
|
-
workspaceLinks: import("../operations/services/workspace-dependency-mode.ts").WorkspaceDependencyModeReport;
|
|
989
|
-
ciMode: "hosted" | "off";
|
|
990
|
-
workflowGates: (Record<string, unknown> | {
|
|
991
|
-
name: string;
|
|
992
|
-
repository: string | null;
|
|
993
|
-
workflow: string;
|
|
994
|
-
branch: string;
|
|
995
|
-
headSha: string;
|
|
996
|
-
status: string;
|
|
997
|
-
reason: string;
|
|
998
|
-
conclusion: null;
|
|
999
|
-
runId: null;
|
|
1000
|
-
url: null;
|
|
1001
|
-
createdAt: null;
|
|
1002
|
-
updatedAt: null;
|
|
1003
|
-
timeoutSeconds: number | null;
|
|
1004
|
-
cached: boolean;
|
|
1005
|
-
})[];
|
|
1006
|
-
hostingAudit: import("../workflow-support.ts").TreeseedHostingAuditReport | null;
|
|
1007
|
-
} & {
|
|
1008
|
-
finalState?: WorkflowStatePayload;
|
|
1009
|
-
}> | TreeseedWorkflowResult<{
|
|
1010
|
-
worktreeMode: TreeseedWorkflowWorktreeMode;
|
|
1011
|
-
managedWorktree: import("./worktrees.ts").ManagedWorkflowWorktreeMetadata | null;
|
|
1012
|
-
worktreePath: string | null;
|
|
1013
|
-
primaryRoot: string | null;
|
|
1014
|
-
mode: "recursive-workspace";
|
|
1015
|
-
mergeStrategy: string;
|
|
1016
|
-
level: "patch" | "major" | "minor";
|
|
1017
|
-
fresh: boolean;
|
|
1018
|
-
freshArchivedRuns: {
|
|
1019
|
-
runId: string;
|
|
1020
|
-
reasons: string[];
|
|
1021
|
-
}[];
|
|
1022
|
-
resumed: boolean;
|
|
1023
|
-
resumedRunId: string | null;
|
|
1024
|
-
autoResumed: boolean;
|
|
1025
|
-
rootVersion: string;
|
|
1026
|
-
releaseTag: string;
|
|
1027
|
-
releasedCommit: string;
|
|
1028
|
-
stagingBranch: string;
|
|
1029
|
-
productionBranch: string;
|
|
1030
|
-
touchedPackages: string[];
|
|
1031
|
-
packageSelection: {
|
|
1032
|
-
changed: string[];
|
|
1033
|
-
dependents: string[];
|
|
1034
|
-
selected: string[];
|
|
1035
|
-
};
|
|
1036
|
-
replacedDevReferences: (import("../operations/services/package-reference-policy.ts").RewrittenDevReference & {
|
|
1037
|
-
repoName: string;
|
|
1038
|
-
packageJsonPath: string;
|
|
1039
|
-
})[];
|
|
1040
|
-
releaseInstalls: Record<string, unknown>[];
|
|
1041
|
-
devTagCleanup: {
|
|
1042
|
-
replacedDevReferenceCount: number;
|
|
1043
|
-
releasedPackageDevTagCount: number;
|
|
1044
|
-
status: string;
|
|
1045
|
-
branchScope: DevTagBranchScope;
|
|
1046
|
-
includePackages: string[];
|
|
1047
|
-
repos: ({
|
|
1048
|
-
status: string;
|
|
1049
|
-
packageName: string;
|
|
1050
|
-
currentVersion: string;
|
|
1051
|
-
branchScope: DevTagBranchScope;
|
|
1052
|
-
candidates: {
|
|
1053
|
-
tagName: string;
|
|
1054
|
-
reason: string;
|
|
1055
|
-
branch: string | null | undefined;
|
|
1056
|
-
branchSlug: string | undefined;
|
|
1057
|
-
version: string | null | undefined;
|
|
1058
|
-
}[];
|
|
1059
|
-
candidateCount: number;
|
|
1060
|
-
cleaned: string[];
|
|
1061
|
-
cleanedCount: number;
|
|
1062
|
-
skipped: {
|
|
1063
|
-
tagName: string;
|
|
1064
|
-
reason: string;
|
|
1065
|
-
}[];
|
|
1066
|
-
skippedCount: number;
|
|
1067
|
-
name: any;
|
|
1068
|
-
path: string;
|
|
1069
|
-
} | {
|
|
1070
|
-
status: string;
|
|
1071
|
-
candidateCount: number;
|
|
1072
|
-
cleaned: string[];
|
|
1073
|
-
cleanedCount: number;
|
|
1074
|
-
skippedCount: number;
|
|
1075
|
-
packageName: string;
|
|
1076
|
-
currentVersion: string;
|
|
1077
|
-
branchScope: DevTagBranchScope;
|
|
1078
|
-
candidates: import("../operations/services/package-reference-policy.ts").StaleDevTagClassification[];
|
|
1079
|
-
skipped: import("../operations/services/package-reference-policy.ts").StaleDevTagClassification[];
|
|
1080
|
-
tags: import("../operations/services/package-reference-policy.ts").StaleDevTagClassification[];
|
|
1081
|
-
name: any;
|
|
1082
|
-
path: string;
|
|
1083
|
-
})[];
|
|
1084
|
-
candidateCount: number;
|
|
1085
|
-
cleanedCount: number;
|
|
1086
|
-
skippedCount: number;
|
|
1087
|
-
} | {
|
|
1088
|
-
status: string;
|
|
1089
|
-
reason: string;
|
|
1090
|
-
};
|
|
1091
|
-
publishWait: Record<string, unknown>[];
|
|
1092
|
-
repos: WorkflowRepoReport[];
|
|
1093
|
-
rootRepo: WorkflowRepoReport;
|
|
1094
|
-
releaseCandidate: ReleaseCandidateReport | null;
|
|
1095
|
-
stagingWorkflowGates: Record<string, unknown>[] | {
|
|
1096
|
-
name: string;
|
|
1097
|
-
repository: string | null;
|
|
1098
|
-
workflow: string;
|
|
1099
|
-
branch: string;
|
|
1100
|
-
headSha: string;
|
|
1101
|
-
status: string;
|
|
1102
|
-
reason: string;
|
|
1103
|
-
conclusion: null;
|
|
1104
|
-
runId: null;
|
|
1105
|
-
url: null;
|
|
1106
|
-
createdAt: null;
|
|
1107
|
-
updatedAt: null;
|
|
1108
|
-
timeoutSeconds: number | null;
|
|
1109
|
-
cached: boolean;
|
|
1110
|
-
}[];
|
|
1111
|
-
releaseBackMerge: {
|
|
1112
|
-
status: string;
|
|
1113
|
-
merged: boolean;
|
|
1114
|
-
repoName: string;
|
|
1115
|
-
sourceBranch: string;
|
|
1116
|
-
targetBranch: string;
|
|
1117
|
-
commitSha: string;
|
|
1118
|
-
} | {
|
|
1119
|
-
packageStagingPointersSynced: boolean;
|
|
1120
|
-
packageStagingPointerCommit: string;
|
|
1121
|
-
status: string;
|
|
1122
|
-
merged: boolean;
|
|
1123
|
-
repoName: string;
|
|
1124
|
-
sourceBranch: string;
|
|
1125
|
-
targetBranch: string;
|
|
1126
|
-
commitSha: string;
|
|
1127
|
-
};
|
|
1128
|
-
hostedDeploymentState: Record<string, unknown>[];
|
|
1129
|
-
finalBranch: string;
|
|
1130
|
-
pushStatus: {
|
|
1131
|
-
stagingPushed: boolean;
|
|
1132
|
-
productionPushed: boolean;
|
|
1133
|
-
tagPushed: boolean;
|
|
1134
|
-
};
|
|
1135
|
-
workspaceLinks: import("../operations/services/workspace-dependency-mode.ts").WorkspaceDependencyModeReport;
|
|
1136
|
-
ciMode: "hosted" | "off";
|
|
1137
|
-
workflowGates: (Record<string, unknown> | {
|
|
1138
|
-
name: string;
|
|
1139
|
-
repository: string | null;
|
|
1140
|
-
workflow: string;
|
|
1141
|
-
branch: string;
|
|
1142
|
-
headSha: string;
|
|
1143
|
-
status: string;
|
|
1144
|
-
reason: string;
|
|
1145
|
-
conclusion: null;
|
|
1146
|
-
runId: null;
|
|
1147
|
-
url: null;
|
|
1148
|
-
createdAt: null;
|
|
1149
|
-
updatedAt: null;
|
|
1150
|
-
timeoutSeconds: number | null;
|
|
1151
|
-
cached: boolean;
|
|
1152
|
-
})[];
|
|
1153
|
-
hostingAudit: import("../workflow-support.ts").TreeseedHostingAuditReport | null;
|
|
1154
|
-
} & {
|
|
1155
|
-
finalState?: WorkflowStatePayload;
|
|
1173
|
+
timing?: TreeseedWorkflowTiming;
|
|
1156
1174
|
}>>;
|
|
1157
1175
|
export declare function workflowResume(helpers: WorkflowOperationHelpers, input: TreeseedResumeInput): Promise<any>;
|
|
1158
1176
|
export declare function workflowRecover(helpers: WorkflowOperationHelpers, input?: TreeseedRecoverInput): Promise<TreeseedWorkflowResult<{
|
|
1159
|
-
lock: import("./runs.
|
|
1177
|
+
lock: import("./runs.js").TreeseedWorkflowLockInspection;
|
|
1160
1178
|
interruptedRuns: {
|
|
1161
1179
|
runId: string;
|
|
1162
1180
|
command: TreeseedWorkflowRunCommand;
|
|
1163
|
-
status: import("./runs.
|
|
1181
|
+
status: import("./runs.js").TreeseedWorkflowRunStatus;
|
|
1164
1182
|
createdAt: string;
|
|
1165
1183
|
updatedAt: string;
|
|
1166
1184
|
nextStep: string | null;
|
|
@@ -1175,7 +1193,7 @@ export declare function workflowRecover(helpers: WorkflowOperationHelpers, input
|
|
|
1175
1193
|
staleRuns: {
|
|
1176
1194
|
runId: string;
|
|
1177
1195
|
command: TreeseedWorkflowRunCommand;
|
|
1178
|
-
status: import("./runs.
|
|
1196
|
+
status: import("./runs.js").TreeseedWorkflowRunStatus;
|
|
1179
1197
|
createdAt: string;
|
|
1180
1198
|
updatedAt: string;
|
|
1181
1199
|
nextStep: string | null;
|
|
@@ -1185,12 +1203,12 @@ export declare function workflowRecover(helpers: WorkflowOperationHelpers, input
|
|
|
1185
1203
|
details: Record<string, unknown> | null;
|
|
1186
1204
|
at: string;
|
|
1187
1205
|
} | null;
|
|
1188
|
-
classification: import("./runs.
|
|
1206
|
+
classification: import("./runs.js").TreeseedWorkflowRunClassification;
|
|
1189
1207
|
}[];
|
|
1190
1208
|
obsoleteRuns: {
|
|
1191
1209
|
runId: string;
|
|
1192
1210
|
command: TreeseedWorkflowRunCommand;
|
|
1193
|
-
status: import("./runs.
|
|
1211
|
+
status: import("./runs.js").TreeseedWorkflowRunStatus;
|
|
1194
1212
|
createdAt: string;
|
|
1195
1213
|
updatedAt: string;
|
|
1196
1214
|
failure: {
|
|
@@ -1199,12 +1217,12 @@ export declare function workflowRecover(helpers: WorkflowOperationHelpers, input
|
|
|
1199
1217
|
details: Record<string, unknown> | null;
|
|
1200
1218
|
at: string;
|
|
1201
1219
|
} | null;
|
|
1202
|
-
classification: import("./runs.
|
|
1220
|
+
classification: import("./runs.js").TreeseedWorkflowRunClassification;
|
|
1203
1221
|
}[];
|
|
1204
1222
|
prunedRuns: {
|
|
1205
1223
|
runId: string;
|
|
1206
1224
|
command: TreeseedWorkflowRunCommand;
|
|
1207
|
-
status: import("./runs.
|
|
1225
|
+
status: import("./runs.js").TreeseedWorkflowRunStatus;
|
|
1208
1226
|
createdAt: string;
|
|
1209
1227
|
updatedAt: string;
|
|
1210
1228
|
nextStep: string | null;
|
|
@@ -1214,7 +1232,7 @@ export declare function workflowRecover(helpers: WorkflowOperationHelpers, input
|
|
|
1214
1232
|
details: Record<string, unknown> | null;
|
|
1215
1233
|
at: string;
|
|
1216
1234
|
} | null;
|
|
1217
|
-
classification: import("./runs.
|
|
1235
|
+
classification: import("./runs.js").TreeseedWorkflowRunClassification;
|
|
1218
1236
|
}[];
|
|
1219
1237
|
markedObsoleteRun: {
|
|
1220
1238
|
runId: string;
|
|
@@ -1225,6 +1243,7 @@ export declare function workflowRecover(helpers: WorkflowOperationHelpers, input
|
|
|
1225
1243
|
runCount: number;
|
|
1226
1244
|
} & {
|
|
1227
1245
|
finalState?: WorkflowStatePayload;
|
|
1246
|
+
timing?: TreeseedWorkflowTiming;
|
|
1228
1247
|
}>>;
|
|
1229
1248
|
export declare function workflowDestroy(helpers: WorkflowOperationHelpers, input: TreeseedDestroyInput): Promise<TreeseedWorkflowResult<{
|
|
1230
1249
|
remoteResult: {
|
|
@@ -1236,6 +1255,7 @@ export declare function workflowDestroy(helpers: WorkflowOperationHelpers, input
|
|
|
1236
1255
|
branchName: string;
|
|
1237
1256
|
};
|
|
1238
1257
|
deleteData: boolean;
|
|
1258
|
+
sweepTreeseed: boolean;
|
|
1239
1259
|
summary: {
|
|
1240
1260
|
target: any;
|
|
1241
1261
|
identity: any;
|
|
@@ -1247,13 +1267,10 @@ export declare function workflowDestroy(helpers: WorkflowOperationHelpers, input
|
|
|
1247
1267
|
formGuardKv: any;
|
|
1248
1268
|
sessionKv: any;
|
|
1249
1269
|
siteDataDb: any;
|
|
1250
|
-
queue: any;
|
|
1251
1270
|
content: any;
|
|
1252
1271
|
resources: {
|
|
1253
1272
|
pagesProject: any;
|
|
1254
1273
|
contentBucket: any;
|
|
1255
|
-
queue: any;
|
|
1256
|
-
dlq: any;
|
|
1257
1274
|
database: any;
|
|
1258
1275
|
turnstileWidget: any;
|
|
1259
1276
|
formGuardKv: any;
|
|
@@ -1278,8 +1295,8 @@ export declare function workflowDestroy(helpers: WorkflowOperationHelpers, input
|
|
|
1278
1295
|
staleWhileRevalidateSeconds: number;
|
|
1279
1296
|
staleIfErrorSeconds: number;
|
|
1280
1297
|
};
|
|
1281
|
-
contentPages: Required<import("../platform/contracts.
|
|
1282
|
-
r2PublishedObjects: Required<import("../platform/contracts.
|
|
1298
|
+
contentPages: Required<import("../platform/contracts.js").TreeseedWebCachePolicyConfig>;
|
|
1299
|
+
r2PublishedObjects: Required<import("../platform/contracts.js").TreeseedWebCachePolicyConfig>;
|
|
1283
1300
|
};
|
|
1284
1301
|
deployPurge: any;
|
|
1285
1302
|
contentPurge: any;
|
|
@@ -1293,18 +1310,55 @@ export declare function workflowDestroy(helpers: WorkflowOperationHelpers, input
|
|
|
1293
1310
|
name: any;
|
|
1294
1311
|
status: any;
|
|
1295
1312
|
}[];
|
|
1296
|
-
local:
|
|
1297
|
-
provider: any;
|
|
1298
|
-
type: any;
|
|
1299
|
-
name: any;
|
|
1300
|
-
status: any;
|
|
1301
|
-
}[];
|
|
1313
|
+
local: any[];
|
|
1302
1314
|
};
|
|
1315
|
+
verification: {
|
|
1316
|
+
localDocker?: {
|
|
1317
|
+
provider: string;
|
|
1318
|
+
method: string;
|
|
1319
|
+
status: string;
|
|
1320
|
+
reason: string;
|
|
1321
|
+
remaining: {
|
|
1322
|
+
containers: number;
|
|
1323
|
+
volumes: number;
|
|
1324
|
+
networks: number;
|
|
1325
|
+
};
|
|
1326
|
+
totalRemaining: number;
|
|
1327
|
+
} | {
|
|
1328
|
+
provider: string;
|
|
1329
|
+
method: string;
|
|
1330
|
+
status: string;
|
|
1331
|
+
remaining: {
|
|
1332
|
+
containers: any;
|
|
1333
|
+
volumes: any;
|
|
1334
|
+
networks: any;
|
|
1335
|
+
};
|
|
1336
|
+
totalRemaining: any;
|
|
1337
|
+
reason?: undefined;
|
|
1338
|
+
} | undefined;
|
|
1339
|
+
cloudflare: {
|
|
1340
|
+
provider: string;
|
|
1341
|
+
method: string;
|
|
1342
|
+
status: string;
|
|
1343
|
+
remaining: {
|
|
1344
|
+
pages: any;
|
|
1345
|
+
workers: any;
|
|
1346
|
+
kvNamespaces: any;
|
|
1347
|
+
queues: any;
|
|
1348
|
+
d1Databases: any;
|
|
1349
|
+
r2Buckets: any;
|
|
1350
|
+
turnstileWidgets: any;
|
|
1351
|
+
dnsRecords: any;
|
|
1352
|
+
};
|
|
1353
|
+
totalRemaining: any;
|
|
1354
|
+
};
|
|
1355
|
+
} | null;
|
|
1303
1356
|
} | null;
|
|
1304
1357
|
scope: string;
|
|
1305
1358
|
dryRun: boolean;
|
|
1306
1359
|
force: boolean;
|
|
1307
1360
|
deleteData: boolean;
|
|
1361
|
+
sweepTreeseed: boolean;
|
|
1308
1362
|
destroyRemote: boolean;
|
|
1309
1363
|
destroyLocal: boolean;
|
|
1310
1364
|
removeBuildArtifacts: boolean;
|
|
@@ -1319,12 +1373,14 @@ export declare function workflowDestroy(helpers: WorkflowOperationHelpers, input
|
|
|
1319
1373
|
}[];
|
|
1320
1374
|
} & {
|
|
1321
1375
|
finalState?: WorkflowStatePayload;
|
|
1376
|
+
timing?: TreeseedWorkflowTiming;
|
|
1322
1377
|
}> | TreeseedWorkflowResult<{
|
|
1323
1378
|
dryRun: boolean;
|
|
1324
1379
|
remoteResult: Record<string, unknown> | null;
|
|
1325
1380
|
scope: string;
|
|
1326
1381
|
force: boolean;
|
|
1327
1382
|
deleteData: boolean;
|
|
1383
|
+
sweepTreeseed: boolean;
|
|
1328
1384
|
destroyRemote: boolean;
|
|
1329
1385
|
destroyLocal: boolean;
|
|
1330
1386
|
removeBuildArtifacts: boolean;
|
|
@@ -1339,5 +1395,6 @@ export declare function workflowDestroy(helpers: WorkflowOperationHelpers, input
|
|
|
1339
1395
|
}[];
|
|
1340
1396
|
} & {
|
|
1341
1397
|
finalState?: WorkflowStatePayload;
|
|
1398
|
+
timing?: TreeseedWorkflowTiming;
|
|
1342
1399
|
}>>;
|
|
1343
1400
|
export {};
|