@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
package/dist/workflow-state.js
CHANGED
|
@@ -11,6 +11,7 @@ import {
|
|
|
11
11
|
collectTreeseedEnvironmentContext,
|
|
12
12
|
withTreeseedKeyAgentAutopromptDisabled
|
|
13
13
|
} from "./operations/services/config-runtime.js";
|
|
14
|
+
import { resolveTreeseedGitHubToken } from "./service-credentials.js";
|
|
14
15
|
import { resolveWranglerBin } from "./operations/services/runtime-tools.js";
|
|
15
16
|
import { getTreeseedEnvironmentSuggestedValues, validateTreeseedEnvironmentValues } from "./platform/environment.js";
|
|
16
17
|
import { resolveTreeseedWebCachePolicy } from "./platform/deploy-config.js";
|
|
@@ -19,10 +20,12 @@ import {
|
|
|
19
20
|
createPersistentDeployTarget,
|
|
20
21
|
loadDeployState
|
|
21
22
|
} from "./operations/services/deploy.js";
|
|
22
|
-
import {
|
|
23
|
+
import { loadTreeseedPlatformConfig } from "./platform/config.js";
|
|
23
24
|
import { collectCliPreflight } from "./operations/services/workspace-preflight.js";
|
|
24
25
|
import { collectPublicPackageReleaseLineState, currentBranch, gitStatusPorcelain } from "./operations/services/workspace-save.js";
|
|
25
|
-
import { hasCompleteTreeseedPackageCheckout, isWorkspaceRoot
|
|
26
|
+
import { hasCompleteTreeseedPackageCheckout, isWorkspaceRoot } from "./operations/services/workspace-tools.js";
|
|
27
|
+
import { classifyTreeseedGitMode, runTreeseedGitText } from "./operations/services/git-runner.js";
|
|
28
|
+
import { packageAdapterPlanSummary } from "./operations/services/package-adapters.js";
|
|
26
29
|
import { inspectWorkspaceDependencyMode } from "./operations/services/workspace-dependency-mode.js";
|
|
27
30
|
import { inspectDetachedHeadRepair, PRODUCTION_BRANCH, STAGING_BRANCH } from "./operations/services/git-workflow.js";
|
|
28
31
|
import { classifyWorkflowRunJournals, inspectWorkflowLock } from "./workflow/runs.js";
|
|
@@ -31,6 +34,14 @@ import {
|
|
|
31
34
|
resolveTreeseedWorkflowPaths,
|
|
32
35
|
workflowEnvironmentForBranchRole
|
|
33
36
|
} from "./workflow/policy.js";
|
|
37
|
+
function runGit(args, options) {
|
|
38
|
+
return runTreeseedGitText(args, {
|
|
39
|
+
cwd: options.cwd,
|
|
40
|
+
mode: classifyTreeseedGitMode(args),
|
|
41
|
+
timeoutMs: options.timeoutMs,
|
|
42
|
+
maxBuffer: options.maxBuffer
|
|
43
|
+
});
|
|
44
|
+
}
|
|
34
45
|
function emptyPersistentEnvironments() {
|
|
35
46
|
return {
|
|
36
47
|
local: { initialized: false, phase: "pending", configured: false, provisioned: false, deployable: false, blockers: [], warnings: [], lastValidatedAt: null, lastDeploymentTimestamp: null, lastDeployedUrl: null },
|
|
@@ -141,7 +152,7 @@ function providerProblems(validation, provider) {
|
|
|
141
152
|
const id = problem.id.toUpperCase();
|
|
142
153
|
const group = problem.entry.group;
|
|
143
154
|
if (provider === "github") {
|
|
144
|
-
return id === "
|
|
155
|
+
return id === "TREESEED_GITHUB_TOKEN" || group === "github";
|
|
145
156
|
}
|
|
146
157
|
if (provider === "cloudflare") {
|
|
147
158
|
return id.startsWith("CLOUDFLARE_") || id.includes("TURNSTILE") || group === "cloudflare";
|
|
@@ -207,9 +218,9 @@ function providerLiveCheck(provider, configured, cwd, env) {
|
|
|
207
218
|
}
|
|
208
219
|
function providerStatusForScope(cwd, scope, statusConfig, options) {
|
|
209
220
|
const values = statusConfig.values;
|
|
210
|
-
const githubConfigured =
|
|
211
|
-
const cloudflareConfigured = typeof values.
|
|
212
|
-
const railwayConfigured = typeof values.
|
|
221
|
+
const githubConfigured = Boolean(resolveTreeseedGitHubToken(values));
|
|
222
|
+
const cloudflareConfigured = typeof values.TREESEED_CLOUDFLARE_API_TOKEN === "string" && values.TREESEED_CLOUDFLARE_API_TOKEN.trim().length > 0;
|
|
223
|
+
const railwayConfigured = typeof values.TREESEED_RAILWAY_API_TOKEN === "string" && values.TREESEED_RAILWAY_API_TOKEN.trim().length > 0;
|
|
213
224
|
const localDevelopmentConfigured = providerProblems(statusConfig.validation, "localDevelopment").length === 0;
|
|
214
225
|
const live = options.live === true;
|
|
215
226
|
const env = statusConfig.resolvedValues;
|
|
@@ -243,7 +254,7 @@ function hasStatusConfigValue(statusConfigByScope, key) {
|
|
|
243
254
|
}
|
|
244
255
|
function knownRemoteTrackingBranchExists(repoDir, branchName) {
|
|
245
256
|
try {
|
|
246
|
-
|
|
257
|
+
runGit(["show-ref", "--verify", "--quiet", `refs/remotes/origin/${branchName}`], { cwd: repoDir, capture: true });
|
|
247
258
|
return true;
|
|
248
259
|
} catch {
|
|
249
260
|
return false;
|
|
@@ -251,7 +262,7 @@ function knownRemoteTrackingBranchExists(repoDir, branchName) {
|
|
|
251
262
|
}
|
|
252
263
|
function safeHeadCommit(repoDir) {
|
|
253
264
|
try {
|
|
254
|
-
return
|
|
265
|
+
return runGit(["rev-parse", "HEAD"], { cwd: repoDir, capture: true }).trim();
|
|
255
266
|
} catch {
|
|
256
267
|
return null;
|
|
257
268
|
}
|
|
@@ -267,14 +278,14 @@ function safeReleaseHistory(repoDir) {
|
|
|
267
278
|
};
|
|
268
279
|
}
|
|
269
280
|
try {
|
|
270
|
-
const output =
|
|
281
|
+
const output = runGit(["rev-list", "--left-right", "--count", "staging...main"], { cwd: repoDir, capture: true }).trim();
|
|
271
282
|
const [aheadRaw, behindRaw] = output.split(/\s+/u);
|
|
272
283
|
const stagingAheadMain = Number.parseInt(aheadRaw ?? "", 10);
|
|
273
284
|
const stagingBehindMain = Number.parseInt(behindRaw ?? "", 10);
|
|
274
285
|
if (!Number.isFinite(stagingAheadMain) || !Number.isFinite(stagingBehindMain)) {
|
|
275
286
|
throw new Error("invalid rev-list output");
|
|
276
287
|
}
|
|
277
|
-
const stagingOnlySubjects =
|
|
288
|
+
const stagingOnlySubjects = runGit(["log", "--format=%s", "main..staging"], { cwd: repoDir, capture: true }).split("\n").map((line) => line.trim()).filter(Boolean);
|
|
278
289
|
const unreleasedStagingCommits = stagingOnlySubjects.filter((subject) => subject !== "release: sync package staging heads" && subject !== "release: back-merge main into staging" && !subject.startsWith("release: back-merge main into staging ")).length;
|
|
279
290
|
return {
|
|
280
291
|
stagingAheadMain,
|
|
@@ -293,25 +304,34 @@ function safeReleaseHistory(repoDir) {
|
|
|
293
304
|
};
|
|
294
305
|
}
|
|
295
306
|
}
|
|
296
|
-
const
|
|
297
|
-
function
|
|
307
|
+
const DEFAULT_WORKFLOW_RUN_HISTORY_LIMIT = 20;
|
|
308
|
+
function capWorkflowRunHistory(runs, options = {}) {
|
|
298
309
|
const historyMode = options.history === "all" ? "all" : "recent";
|
|
299
|
-
const limit = options.limit ??
|
|
300
|
-
const
|
|
310
|
+
const limit = options.limit ?? DEFAULT_WORKFLOW_RUN_HISTORY_LIMIT;
|
|
311
|
+
const total = runs.length;
|
|
301
312
|
if (historyMode === "all") {
|
|
302
313
|
return {
|
|
303
314
|
historyMode,
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
315
|
+
runs,
|
|
316
|
+
total,
|
|
317
|
+
omitted: 0
|
|
307
318
|
};
|
|
308
319
|
}
|
|
309
|
-
const cappedRuns =
|
|
320
|
+
const cappedRuns = runs.slice(0, limit);
|
|
310
321
|
return {
|
|
311
322
|
historyMode,
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
323
|
+
runs: cappedRuns,
|
|
324
|
+
total,
|
|
325
|
+
omitted: Math.max(0, total - cappedRuns.length)
|
|
326
|
+
};
|
|
327
|
+
}
|
|
328
|
+
function capObsoleteWorkflowRuns(obsoleteRuns, options = {}) {
|
|
329
|
+
const capped = capWorkflowRunHistory(obsoleteRuns, options);
|
|
330
|
+
return {
|
|
331
|
+
historyMode: capped.historyMode,
|
|
332
|
+
obsoleteRuns: capped.runs,
|
|
333
|
+
obsoleteRunsTotal: capped.total,
|
|
334
|
+
obsoleteRunsOmitted: capped.omitted
|
|
315
335
|
};
|
|
316
336
|
}
|
|
317
337
|
function resolveLocalStatusUrl(deployConfig) {
|
|
@@ -329,28 +349,30 @@ function resolveTreeseedWorkflowState(cwd, options = {}) {
|
|
|
329
349
|
const dirtyWorktree = root ? gitStatusPorcelain(root).length > 0 : false;
|
|
330
350
|
const completePackageCheckout = hasCompleteTreeseedPackageCheckout(effectiveCwd);
|
|
331
351
|
const workspaceDependencyMode = inspectWorkspaceDependencyMode(effectiveCwd);
|
|
332
|
-
const
|
|
333
|
-
|
|
334
|
-
const
|
|
352
|
+
const packageAdapters = workspaceRoot ? packageAdapterPlanSummary(effectiveCwd) : [];
|
|
353
|
+
const packageSyncRepos = workspaceRoot ? packageAdapters.map((pkg) => {
|
|
354
|
+
const packageDir = resolve(effectiveCwd, pkg.path);
|
|
355
|
+
const repoBranch = currentBranch(packageDir) || null;
|
|
356
|
+
const dirty = gitStatusPorcelain(packageDir).length > 0;
|
|
335
357
|
const expectedBranch = branchName;
|
|
336
|
-
const detachedRepair = repoBranch ? null : inspectDetachedHeadRepair(
|
|
358
|
+
const detachedRepair = repoBranch ? null : inspectDetachedHeadRepair(packageDir, [expectedBranch, STAGING_BRANCH, PRODUCTION_BRANCH].filter((branch) => Boolean(branch)));
|
|
337
359
|
let localBranch = false;
|
|
338
360
|
if (expectedBranch) {
|
|
339
361
|
if (repoBranch === expectedBranch) {
|
|
340
362
|
localBranch = true;
|
|
341
363
|
} else {
|
|
342
364
|
try {
|
|
343
|
-
|
|
365
|
+
runGit(["show-ref", "--verify", "--quiet", `refs/heads/${expectedBranch}`], { cwd: packageDir, capture: true });
|
|
344
366
|
localBranch = true;
|
|
345
367
|
} catch {
|
|
346
368
|
localBranch = false;
|
|
347
369
|
}
|
|
348
370
|
}
|
|
349
371
|
}
|
|
350
|
-
const remoteBranch = Boolean(expectedBranch) ? knownRemoteTrackingBranchExists(
|
|
372
|
+
const remoteBranch = Boolean(expectedBranch) ? knownRemoteTrackingBranchExists(packageDir, expectedBranch) : false;
|
|
351
373
|
return {
|
|
352
|
-
name: pkg.
|
|
353
|
-
path: pkg.
|
|
374
|
+
name: pkg.id,
|
|
375
|
+
path: pkg.path,
|
|
354
376
|
branchName: repoBranch,
|
|
355
377
|
dirty,
|
|
356
378
|
aligned: expectedBranch ? repoBranch === expectedBranch : true,
|
|
@@ -401,15 +423,15 @@ function resolveTreeseedWorkflowState(cwd, options = {}) {
|
|
|
401
423
|
const machineConfig = existsSync(configPath) ? loadTreeseedMachineConfig(effectiveCwd) : null;
|
|
402
424
|
const keyStatus = inspectTreeseedKeyAgentStatus(effectiveCwd);
|
|
403
425
|
const marketSettings = machineConfig?.settings?.market && typeof machineConfig.settings.market === "object" ? machineConfig.settings.market : null;
|
|
404
|
-
const runnerHostId = typeof marketSettings?.runnerHostId === "string" && marketSettings.runnerHostId.trim() ? marketSettings.runnerHostId.trim() : typeof marketSettings?.projectId === "string" && marketSettings.projectId.trim() ? `
|
|
426
|
+
const runnerHostId = typeof marketSettings?.runnerHostId === "string" && marketSettings.runnerHostId.trim() ? marketSettings.runnerHostId.trim() : typeof marketSettings?.projectId === "string" && marketSettings.projectId.trim() ? `operations-runner:${marketSettings.projectId.trim()}` : null;
|
|
405
427
|
const runnerSession = runnerHostId ? safeResolveRemoteSession(effectiveCwd, runnerHostId) : null;
|
|
406
|
-
const workflowLock = inspectWorkflowLock(effectiveCwd);
|
|
428
|
+
const workflowLock = inspectWorkflowLock(effectiveCwd, { scope: "worktree" });
|
|
407
429
|
const workflowRunHeads = {};
|
|
408
430
|
if (root) {
|
|
409
431
|
workflowRunHeads["@treeseed/market"] = safeHeadCommit(root);
|
|
410
432
|
}
|
|
411
|
-
for (const pkg of
|
|
412
|
-
workflowRunHeads[pkg.
|
|
433
|
+
for (const pkg of packageAdapters) {
|
|
434
|
+
workflowRunHeads[pkg.id] = safeHeadCommit(resolve(effectiveCwd, pkg.path));
|
|
413
435
|
}
|
|
414
436
|
const classifiedRuns = classifyWorkflowRunJournals(effectiveCwd, {
|
|
415
437
|
currentBranch: branchName,
|
|
@@ -428,6 +450,7 @@ function resolveTreeseedWorkflowState(cwd, options = {}) {
|
|
|
428
450
|
nextStep: journal.steps.find((step) => step.status === "pending")?.description ?? null,
|
|
429
451
|
reasons: classification.reasons
|
|
430
452
|
}));
|
|
453
|
+
const staleHistory = capWorkflowRunHistory(staleRuns, { history: options.history });
|
|
431
454
|
const obsoleteRuns = classifiedRuns.filter((entry) => entry.classification.state === "obsolete").map(({ journal, classification }) => ({
|
|
432
455
|
runId: journal.runId,
|
|
433
456
|
command: journal.command,
|
|
@@ -467,7 +490,9 @@ function resolveTreeseedWorkflowState(cwd, options = {}) {
|
|
|
467
490
|
staleReason: workflowLock.staleReason
|
|
468
491
|
},
|
|
469
492
|
interruptedRuns,
|
|
470
|
-
staleRuns,
|
|
493
|
+
staleRuns: staleHistory.runs,
|
|
494
|
+
staleRunsTotal: staleHistory.total,
|
|
495
|
+
staleRunsOmitted: staleHistory.omitted,
|
|
471
496
|
obsoleteRuns: obsoleteHistory.obsoleteRuns,
|
|
472
497
|
historyMode: obsoleteHistory.historyMode,
|
|
473
498
|
obsoleteRunsTotal: obsoleteHistory.obsoleteRunsTotal,
|
|
@@ -475,7 +500,7 @@ function resolveTreeseedWorkflowState(cwd, options = {}) {
|
|
|
475
500
|
blockers: workflowBlockers
|
|
476
501
|
},
|
|
477
502
|
packageSync: {
|
|
478
|
-
mode: completePackageCheckout ? "recursive-workspace" : "root-only",
|
|
503
|
+
mode: completePackageCheckout || packageSyncRepos.length > 0 ? "recursive-workspace" : "root-only",
|
|
479
504
|
completeCheckout: completePackageCheckout,
|
|
480
505
|
dependencyMode: workspaceDependencyMode.mode,
|
|
481
506
|
workspaceLinks: workspaceDependencyMode,
|
|
@@ -485,7 +510,8 @@ function resolveTreeseedWorkflowState(cwd, options = {}) {
|
|
|
485
510
|
repos: packageSyncRepos,
|
|
486
511
|
blockers: packageSyncBlockers,
|
|
487
512
|
warnings: packageSyncWarnings,
|
|
488
|
-
releaseLine: packageReleaseLine
|
|
513
|
+
releaseLine: packageReleaseLine,
|
|
514
|
+
packages: packageAdapters
|
|
489
515
|
},
|
|
490
516
|
preview: {
|
|
491
517
|
enabled: false,
|
|
@@ -574,7 +600,7 @@ function resolveTreeseedWorkflowState(cwd, options = {}) {
|
|
|
574
600
|
};
|
|
575
601
|
if (tenantRoot) {
|
|
576
602
|
try {
|
|
577
|
-
const deployConfig =
|
|
603
|
+
const deployConfig = loadTreeseedPlatformConfig({ tenantRoot: effectiveCwd, environment: workflowEnvironmentForBranchRole(branchRole), env: options.env ?? process.env }).deployConfig;
|
|
578
604
|
const environmentContext = collectTreeseedEnvironmentContext(effectiveCwd);
|
|
579
605
|
const statusConfigByScope = Object.fromEntries(
|
|
580
606
|
["local", "staging", "prod"].map((scope) => [
|
|
@@ -597,11 +623,11 @@ function resolveTreeseedWorkflowState(cwd, options = {}) {
|
|
|
597
623
|
const runtimeSessionReady = Boolean(
|
|
598
624
|
marketSettings?.runnerReady === true || typeof runnerSession?.accessToken === "string" && runnerSession.accessToken.length > 0
|
|
599
625
|
);
|
|
600
|
-
state.auth.gh = state.auth.gh ||
|
|
601
|
-
state.auth.wrangler = state.auth.wrangler || hasStatusConfigValue(statusConfigByScope, "
|
|
602
|
-
state.auth.railway = state.auth.railway || hasStatusConfigValue(statusConfigByScope, "
|
|
626
|
+
state.auth.gh = state.auth.gh || Boolean(resolveTreeseedGitHubToken(statusConfigByScope.local.values)) || Boolean(resolveTreeseedGitHubToken(statusConfigByScope.staging.values)) || Boolean(resolveTreeseedGitHubToken(statusConfigByScope.prod.values));
|
|
627
|
+
state.auth.wrangler = state.auth.wrangler || hasStatusConfigValue(statusConfigByScope, "TREESEED_CLOUDFLARE_API_TOKEN");
|
|
628
|
+
state.auth.railway = state.auth.railway || hasStatusConfigValue(statusConfigByScope, "TREESEED_RAILWAY_API_TOKEN");
|
|
603
629
|
state.auth.copilot = state.auth.copilot || state.auth.gh;
|
|
604
|
-
state.marketConnection.baseUrl = state.marketConnection.baseUrl ?? sharedConfigValues.
|
|
630
|
+
state.marketConnection.baseUrl = state.marketConnection.baseUrl ?? sharedConfigValues.TREESEED_API_BASE_URL ?? deployConfig.runtime?.marketBaseUrl ?? deployConfig.hosting?.marketBaseUrl ?? null;
|
|
605
631
|
state.marketConnection.teamId = state.marketConnection.teamId ?? sharedConfigValues.TREESEED_HOSTING_TEAM_ID ?? deployConfig.runtime?.teamId ?? deployConfig.hosting?.teamId ?? null;
|
|
606
632
|
state.marketConnection.projectId = state.marketConnection.projectId ?? sharedConfigValues.TREESEED_PROJECT_ID ?? deployConfig.runtime?.projectId ?? deployConfig.hosting?.projectId ?? null;
|
|
607
633
|
state.marketConnection.hubMode = deployConfig.hub?.mode ?? null;
|
|
@@ -812,6 +838,7 @@ function recommendTreeseedNextSteps(state) {
|
|
|
812
838
|
}
|
|
813
839
|
export {
|
|
814
840
|
capObsoleteWorkflowRuns,
|
|
841
|
+
capWorkflowRunHistory,
|
|
815
842
|
recommendTreeseedNextSteps,
|
|
816
843
|
resolveTreeseedWorkflowState
|
|
817
844
|
};
|
|
@@ -1,17 +1,26 @@
|
|
|
1
|
-
export { applyTreeseedConfigValues, applyTreeseedEnvironmentToProcess, applyTreeseedSafeRepairs, assertTreeseedCommandEnvironment, checkTreeseedProviderConnections, clearTreeseedRemoteSession, collectTreeseedConfigContext, collectTreeseedPrintEnvReport, createDefaultTreeseedMachineConfig, ensureTreeseedActVerificationTooling, ensureTreeseedSecretSessionForConfig, ensureTreeseedGitignoreEntries, getTreeseedMachineConfigPaths, loadTreeseedMachineConfig, listRelevantTreeseedConfigEntries, finalizeTreeseedConfig, inspectTreeseedKeyAgentTransportDiagnostic, inspectTreeseedPassphraseEnvDiagnostic, listDeprecatedTreeseedLocalEnvFiles, inspectTreeseedKeyAgentStatus, lockTreeseedSecretSession, migrateTreeseedMachineKeyToWrapped, resolveTreeseedMachineEnvironmentValues, resolveTreeseedLaunchEnvironment, resolveTreeseedRemoteConfig, resolveTreeseedRemoteSession, rotateTreeseedMachineKey, rotateTreeseedMachineKeyPassphrase, setTreeseedRemoteSession, TREESEED_MACHINE_KEY_PASSPHRASE_ENV, TreeseedKeyAgentError, updateTreeseedDeployConfigFeatureToggles, unlockTreeseedSecretSessionFromEnv, unlockTreeseedSecretSessionInteractive, unlockTreeseedSecretSessionWithPassphrase, withTreeseedKeyAgentAutopromptDisabled, warnDeprecatedTreeseedLocalEnvFiles, writeTreeseedMachineConfig, } from './operations/services/config-runtime.
|
|
2
|
-
export { exportTreeseedCodebase } from './operations/services/export-runtime.
|
|
3
|
-
export { formatTreeseedHostingAuditReport, resolveTreeseedHostingAuditTarget, runTreeseedHostingAudit, type TreeseedHostingAuditCheck, type TreeseedHostingAuditEnvironment, type TreeseedHostingAuditHostKind, type TreeseedHostingAuditReport, } from './operations/services/hosting-audit.
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
14
|
-
export {
|
|
15
|
-
export {
|
|
16
|
-
export {
|
|
17
|
-
export {
|
|
1
|
+
export { applyTreeseedConfigValues, applyTreeseedEnvironmentToProcess, applyTreeseedSafeRepairs, assertTreeseedCommandEnvironment, checkTreeseedProviderConnections, clearTreeseedRemoteSession, collectTreeseedConfigContext, collectTreeseedConfigSeedValues, collectTreeseedPrintEnvReport, createDefaultTreeseedMachineConfig, ensureTreeseedActVerificationTooling, ensureTreeseedSecretSessionForConfig, ensureTreeseedGitignoreEntries, getTreeseedMachineConfigPaths, loadTreeseedMachineConfig, listRelevantTreeseedConfigEntries, finalizeTreeseedConfig, inspectTreeseedKeyAgentTransportDiagnostic, inspectTreeseedPassphraseEnvDiagnostic, listDeprecatedTreeseedLocalEnvFiles, inspectTreeseedKeyAgentStatus, lockTreeseedSecretSession, migrateTreeseedMachineKeyToWrapped, resolveTreeseedMachineEnvironmentValues, resolveTreeseedLaunchEnvironment, resolveTreeseedRemoteConfig, resolveTreeseedRemoteSession, rotateTreeseedMachineKey, rotateTreeseedMachineKeyPassphrase, setTreeseedRemoteSession, TREESEED_MACHINE_KEY_PASSPHRASE_ENV, TreeseedKeyAgentError, updateTreeseedDeployConfigFeatureToggles, unlockTreeseedSecretSessionFromEnv, unlockTreeseedSecretSessionInteractive, unlockTreeseedSecretSessionWithPassphrase, withTreeseedKeyAgentAutopromptDisabled, warnDeprecatedTreeseedLocalEnvFiles, writeTreeseedMachineConfig, } from './operations/services/config-runtime.js';
|
|
2
|
+
export { exportTreeseedCodebase } from './operations/services/export-runtime.js';
|
|
3
|
+
export { formatTreeseedHostingAuditReport, resolveTreeseedHostingAuditTarget, runTreeseedHostingAudit, type TreeseedHostingAuditCheck, type TreeseedHostingAuditEnvironment, type TreeseedHostingAuditHostKind, type TreeseedHostingAuditReport, } from './operations/services/hosting-audit.js';
|
|
4
|
+
export { collectTreeseedHostedServiceChecks, type TreeseedHostedServiceCheck, type TreeseedHostedServiceCheckReport, type TreeseedHostedServiceCheckStatus, type TreeseedHostedServiceType, type TreeseedObservedRailwayServiceState, } from './operations/services/hosted-service-checks.js';
|
|
5
|
+
export { collectTreeseedDeploymentReadiness, formatTreeseedReadinessReport, type TreeseedDeploymentReadinessCheck, type TreeseedDeploymentReadinessReport, type TreeseedDeploymentReadinessStatus, } from './operations/services/deployment-readiness.js';
|
|
6
|
+
export { collectTreeseedLiveHostedServiceChecks, type TreeseedLiveHostedServiceCheckOptions, type TreeseedLiveHostedServiceCheckReport, } from './operations/services/live-hosted-service-checks.js';
|
|
7
|
+
export { runTreeseedOperationsRunnerSmoke, type TreeseedOperationsRunnerSmokeOptions, type TreeseedOperationsRunnerSmokeReport, } from './operations/services/operations-runner-smoke.js';
|
|
8
|
+
export { readTreeseedVerificationCache, treeseedVerificationCacheKey, writeTreeseedVerificationCache, type TreeseedVerificationCacheEntry, } from './operations/services/verification-cache.js';
|
|
9
|
+
export { assertDeploymentInitialized, cleanupDestroyedState, createBranchPreviewDeployTarget, createPersistentDeployTarget, deployTargetLabel, destroyCloudflareResources, ensureGeneratedWranglerConfig, finalizeDeploymentState, loadDeployState, printDeploySummary, printDestroySummary, provisionCloudflareResources, runRemoteD1Migrations, syncCloudflareSecrets, validateDeployPrerequisites, validateDestroyPrerequisites, } from './operations/services/deploy.js';
|
|
10
|
+
export { assertCleanWorktree, assertFeatureBranch, branchExists, checkoutBranch, createFeatureBranchFromStaging, currentManagedBranch, deleteLocalBranch, deleteRemoteBranch, ensureLocalBranchTracking, gitWorkflowRoot, listTaskBranches, mergeCurrentBranchIntoStaging, mergeStagingIntoMain, prepareReleaseBranches, PRODUCTION_BRANCH, pushBranch, remoteBranchExists, STAGING_BRANCH, syncBranchWithOrigin, waitForStagingAutomation, } from './operations/services/git-workflow.js';
|
|
11
|
+
export { loadCliDeployConfig, packageScriptPath, resolveWranglerBin, } from './operations/services/runtime-tools.js';
|
|
12
|
+
export { configuredRailwayServices, validateRailwayDeployPrerequisites, } from './operations/services/railway-deploy.js';
|
|
13
|
+
export { getRailwayAuthProfile, listRailwayEnvironments, listRailwayProjects, listRailwayServices, listRailwayVariables, resolveRailwayApiToken, resolveRailwayApiUrl, resolveRailwayWorkspace, resolveRailwayWorkspaceContext, } from './operations/services/railway-api.js';
|
|
14
|
+
export { githubRepositoryCredentialEnvName, resolveGitHubCredentialForRepository, type TreeseedGitHubCredentialResolution, } from './operations/services/github-credentials.js';
|
|
15
|
+
export { createGitHubApiClient, ensureGitHubActionsEnvironment, getLatestGitHubWorkflowRun, listGitHubEnvironmentSecretNames, listGitHubEnvironmentVariableNames, type GitHubWorkflowDispatchResult, type GitHubWorkflowRunSummary, } from './operations/services/github-api.js';
|
|
16
|
+
export { inspectTreeseedGitLocks, inspectTreeseedGitLockSet, inspectTreeseedWorkspaceGitLocks, recoverTreeseedGitLocks, runTreeseedGitBatch, runTreeseedGit, type TreeseedGitLockDiagnostic, type TreeseedGitLockKind, type TreeseedGitLockProcessHint, type TreeseedGitBatchOperation, type TreeseedGitRunnerMode, type TreeseedGitRunnerResult, type TreeseedGitWorkspaceLockDiagnostics, } from './operations/services/git-runner.js';
|
|
17
|
+
export { discoverTreeseedPackageAdapters, findTreeseedPackageAdapter, packageAdapterPlanSummary, planTreeseedPackageDevelopmentImage, runTreeseedPackageImageWorkflow, syncTreeseedPackageWorkflows, validateTreeseedPackageManifests, type TreeseedPackageAdapter, type TreeseedPackageDevelopmentImagePlan, type TreeseedPackageImageWorkflowOptions, type TreeseedPackageManifestValidation, type TreeseedPackageWorkflowSyncResult, type TreeseedPackageWorkflowTemplateKind, } from './operations/services/package-adapters.js';
|
|
18
|
+
export { runTenantDeployPreflight, runWorkspaceReleasePreflight, runWorkspaceSavePreflight, } from './operations/services/save-deploy-preflight.js';
|
|
19
|
+
export { collectCliPreflight } from './operations/services/workspace-preflight.js';
|
|
20
|
+
export { collectTreeseedDependencyStatus, collectTreeseedToolStatus, createTreeseedManagedToolEnv, formatTreeseedDependencyFailureDetails, formatTreeseedDependencyReport, installTreeseedDependencies, resolveTreeseedToolBinary, resolveTreeseedToolCommand, type TreeseedToolStatusResult, } from './managed-dependencies.js';
|
|
21
|
+
export { runTreeseedCopilotTask, type TreeseedCopilotTaskInput, type TreeseedCopilotTaskResult, } from './copilot.js';
|
|
22
|
+
export { applyWorkspaceVersionChanges, collectMergeConflictReport, currentBranch, formatMergeConflictReport, gitStatusPorcelain, hasMeaningfulChanges, incrementVersion, originRemoteUrl, planWorkspaceReleaseBump, repoRoot, } from './operations/services/workspace-save.js';
|
|
23
|
+
export { assertNoWorkspaceLinksInDeploymentLockfiles, collectDeploymentLockfileWorkspaceIssues, discoverWorkspaceLinks, ensureLocalWorkspaceLinks, inspectWorkspaceDependencyMode, unlinkLocalWorkspaceLinks, type DependencyResolutionMode, type DeploymentLockfileWorkspaceIssue, type WorkspaceLinksMode, } from './operations/services/workspace-dependency-mode.js';
|
|
24
|
+
export { findNearestTreeseedRoot, findNearestTreeseedWorkspaceRoot, isWorkspaceRoot, run, workspaceRoot, } from './operations/services/workspace-tools.js';
|
|
25
|
+
export { resolveTreeseedWorkflowPaths, } from './workflow/policy.js';
|
|
26
|
+
export { collectTreeseedReconcileStatus, createTreeseedReconcileRegistry, deriveTreeseedDesiredUnits, destroyTreeseedTargetUnits, planTreeseedReconciliation, refreshTreeseedUnits, reconcileTreeseedTarget, } from './reconcile/index.js';
|
package/dist/workflow-support.js
CHANGED
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
checkTreeseedProviderConnections,
|
|
7
7
|
clearTreeseedRemoteSession,
|
|
8
8
|
collectTreeseedConfigContext,
|
|
9
|
+
collectTreeseedConfigSeedValues,
|
|
9
10
|
collectTreeseedPrintEnvReport,
|
|
10
11
|
createDefaultTreeseedMachineConfig,
|
|
11
12
|
ensureTreeseedActVerificationTooling,
|
|
@@ -44,6 +45,24 @@ import {
|
|
|
44
45
|
resolveTreeseedHostingAuditTarget,
|
|
45
46
|
runTreeseedHostingAudit
|
|
46
47
|
} from "./operations/services/hosting-audit.js";
|
|
48
|
+
import {
|
|
49
|
+
collectTreeseedHostedServiceChecks
|
|
50
|
+
} from "./operations/services/hosted-service-checks.js";
|
|
51
|
+
import {
|
|
52
|
+
collectTreeseedDeploymentReadiness,
|
|
53
|
+
formatTreeseedReadinessReport
|
|
54
|
+
} from "./operations/services/deployment-readiness.js";
|
|
55
|
+
import {
|
|
56
|
+
collectTreeseedLiveHostedServiceChecks
|
|
57
|
+
} from "./operations/services/live-hosted-service-checks.js";
|
|
58
|
+
import {
|
|
59
|
+
runTreeseedOperationsRunnerSmoke
|
|
60
|
+
} from "./operations/services/operations-runner-smoke.js";
|
|
61
|
+
import {
|
|
62
|
+
readTreeseedVerificationCache,
|
|
63
|
+
treeseedVerificationCacheKey,
|
|
64
|
+
writeTreeseedVerificationCache
|
|
65
|
+
} from "./operations/services/verification-cache.js";
|
|
47
66
|
import {
|
|
48
67
|
assertDeploymentInitialized,
|
|
49
68
|
cleanupDestroyedState,
|
|
@@ -67,7 +86,6 @@ import {
|
|
|
67
86
|
assertFeatureBranch,
|
|
68
87
|
branchExists,
|
|
69
88
|
checkoutBranch,
|
|
70
|
-
createDeprecatedTaskTag,
|
|
71
89
|
createFeatureBranchFromStaging,
|
|
72
90
|
currentManagedBranch,
|
|
73
91
|
deleteLocalBranch,
|
|
@@ -85,10 +103,6 @@ import {
|
|
|
85
103
|
syncBranchWithOrigin,
|
|
86
104
|
waitForStagingAutomation
|
|
87
105
|
} from "./operations/services/git-workflow.js";
|
|
88
|
-
import {
|
|
89
|
-
dockerIsAvailable,
|
|
90
|
-
stopKnownMailpitContainers
|
|
91
|
-
} from "./operations/services/mailpit-runtime.js";
|
|
92
106
|
import {
|
|
93
107
|
loadCliDeployConfig,
|
|
94
108
|
packageScriptPath,
|
|
@@ -96,25 +110,47 @@ import {
|
|
|
96
110
|
} from "./operations/services/runtime-tools.js";
|
|
97
111
|
import {
|
|
98
112
|
configuredRailwayServices,
|
|
99
|
-
deployRailwayService,
|
|
100
113
|
validateRailwayDeployPrerequisites
|
|
101
114
|
} from "./operations/services/railway-deploy.js";
|
|
102
115
|
import {
|
|
103
|
-
ensureRailwayEnvironment,
|
|
104
|
-
ensureRailwayProject,
|
|
105
|
-
ensureRailwayService,
|
|
106
116
|
getRailwayAuthProfile,
|
|
107
117
|
listRailwayEnvironments,
|
|
108
118
|
listRailwayProjects,
|
|
109
119
|
listRailwayServices,
|
|
110
120
|
listRailwayVariables,
|
|
111
|
-
railwayGraphqlRequest,
|
|
112
121
|
resolveRailwayApiToken,
|
|
113
122
|
resolveRailwayApiUrl,
|
|
114
123
|
resolveRailwayWorkspace,
|
|
115
|
-
resolveRailwayWorkspaceContext
|
|
116
|
-
upsertRailwayVariables
|
|
124
|
+
resolveRailwayWorkspaceContext
|
|
117
125
|
} from "./operations/services/railway-api.js";
|
|
126
|
+
import {
|
|
127
|
+
githubRepositoryCredentialEnvName,
|
|
128
|
+
resolveGitHubCredentialForRepository
|
|
129
|
+
} from "./operations/services/github-credentials.js";
|
|
130
|
+
import {
|
|
131
|
+
createGitHubApiClient,
|
|
132
|
+
ensureGitHubActionsEnvironment,
|
|
133
|
+
getLatestGitHubWorkflowRun,
|
|
134
|
+
listGitHubEnvironmentSecretNames,
|
|
135
|
+
listGitHubEnvironmentVariableNames
|
|
136
|
+
} from "./operations/services/github-api.js";
|
|
137
|
+
import {
|
|
138
|
+
inspectTreeseedGitLocks,
|
|
139
|
+
inspectTreeseedGitLockSet,
|
|
140
|
+
inspectTreeseedWorkspaceGitLocks,
|
|
141
|
+
recoverTreeseedGitLocks,
|
|
142
|
+
runTreeseedGitBatch,
|
|
143
|
+
runTreeseedGit
|
|
144
|
+
} from "./operations/services/git-runner.js";
|
|
145
|
+
import {
|
|
146
|
+
discoverTreeseedPackageAdapters,
|
|
147
|
+
findTreeseedPackageAdapter,
|
|
148
|
+
packageAdapterPlanSummary,
|
|
149
|
+
planTreeseedPackageDevelopmentImage,
|
|
150
|
+
runTreeseedPackageImageWorkflow,
|
|
151
|
+
syncTreeseedPackageWorkflows,
|
|
152
|
+
validateTreeseedPackageManifests
|
|
153
|
+
} from "./operations/services/package-adapters.js";
|
|
118
154
|
import {
|
|
119
155
|
runTenantDeployPreflight,
|
|
120
156
|
runWorkspaceReleasePreflight,
|
|
@@ -161,13 +197,16 @@ import {
|
|
|
161
197
|
run,
|
|
162
198
|
workspaceRoot
|
|
163
199
|
} from "./operations/services/workspace-tools.js";
|
|
200
|
+
import {
|
|
201
|
+
resolveTreeseedWorkflowPaths
|
|
202
|
+
} from "./workflow/policy.js";
|
|
164
203
|
import {
|
|
165
204
|
collectTreeseedReconcileStatus,
|
|
166
205
|
createTreeseedReconcileRegistry,
|
|
167
206
|
deriveTreeseedDesiredUnits,
|
|
168
207
|
destroyTreeseedTargetUnits,
|
|
169
|
-
observeTreeseedUnits,
|
|
170
208
|
planTreeseedReconciliation,
|
|
209
|
+
refreshTreeseedUnits,
|
|
171
210
|
reconcileTreeseedTarget
|
|
172
211
|
} from "./reconcile/index.js";
|
|
173
212
|
export {
|
|
@@ -193,15 +232,19 @@ export {
|
|
|
193
232
|
collectDeploymentLockfileWorkspaceIssues,
|
|
194
233
|
collectMergeConflictReport,
|
|
195
234
|
collectTreeseedConfigContext,
|
|
235
|
+
collectTreeseedConfigSeedValues,
|
|
196
236
|
collectTreeseedDependencyStatus,
|
|
237
|
+
collectTreeseedDeploymentReadiness,
|
|
238
|
+
collectTreeseedHostedServiceChecks,
|
|
239
|
+
collectTreeseedLiveHostedServiceChecks,
|
|
197
240
|
collectTreeseedPrintEnvReport,
|
|
198
241
|
collectTreeseedReconcileStatus,
|
|
199
242
|
collectTreeseedToolStatus,
|
|
200
243
|
configuredRailwayServices,
|
|
201
244
|
createBranchPreviewDeployTarget,
|
|
202
245
|
createDefaultTreeseedMachineConfig,
|
|
203
|
-
createDeprecatedTaskTag,
|
|
204
246
|
createFeatureBranchFromStaging,
|
|
247
|
+
createGitHubApiClient,
|
|
205
248
|
createPersistentDeployTarget,
|
|
206
249
|
createTreeseedManagedToolEnv,
|
|
207
250
|
createTreeseedReconcileRegistry,
|
|
@@ -209,19 +252,16 @@ export {
|
|
|
209
252
|
currentManagedBranch,
|
|
210
253
|
deleteLocalBranch,
|
|
211
254
|
deleteRemoteBranch,
|
|
212
|
-
deployRailwayService,
|
|
213
255
|
deployTargetLabel,
|
|
214
256
|
deriveTreeseedDesiredUnits,
|
|
215
257
|
destroyCloudflareResources,
|
|
216
258
|
destroyTreeseedTargetUnits,
|
|
259
|
+
discoverTreeseedPackageAdapters,
|
|
217
260
|
discoverWorkspaceLinks,
|
|
218
|
-
dockerIsAvailable,
|
|
219
261
|
ensureGeneratedWranglerConfig,
|
|
262
|
+
ensureGitHubActionsEnvironment,
|
|
220
263
|
ensureLocalBranchTracking,
|
|
221
264
|
ensureLocalWorkspaceLinks,
|
|
222
|
-
ensureRailwayEnvironment,
|
|
223
|
-
ensureRailwayProject,
|
|
224
|
-
ensureRailwayService,
|
|
225
265
|
ensureTreeseedActVerificationTooling,
|
|
226
266
|
ensureTreeseedGitignoreEntries,
|
|
227
267
|
ensureTreeseedSecretSessionForConfig,
|
|
@@ -230,23 +270,32 @@ export {
|
|
|
230
270
|
finalizeTreeseedConfig,
|
|
231
271
|
findNearestTreeseedRoot,
|
|
232
272
|
findNearestTreeseedWorkspaceRoot,
|
|
273
|
+
findTreeseedPackageAdapter,
|
|
233
274
|
formatMergeConflictReport,
|
|
234
275
|
formatTreeseedDependencyFailureDetails,
|
|
235
276
|
formatTreeseedDependencyReport,
|
|
236
277
|
formatTreeseedHostingAuditReport,
|
|
278
|
+
formatTreeseedReadinessReport,
|
|
279
|
+
getLatestGitHubWorkflowRun,
|
|
237
280
|
getRailwayAuthProfile,
|
|
238
281
|
getTreeseedMachineConfigPaths,
|
|
239
282
|
gitStatusPorcelain,
|
|
240
283
|
gitWorkflowRoot,
|
|
284
|
+
githubRepositoryCredentialEnvName,
|
|
241
285
|
hasMeaningfulChanges,
|
|
242
286
|
incrementVersion,
|
|
287
|
+
inspectTreeseedGitLockSet,
|
|
288
|
+
inspectTreeseedGitLocks,
|
|
243
289
|
inspectTreeseedKeyAgentStatus,
|
|
244
290
|
inspectTreeseedKeyAgentTransportDiagnostic,
|
|
245
291
|
inspectTreeseedPassphraseEnvDiagnostic,
|
|
292
|
+
inspectTreeseedWorkspaceGitLocks,
|
|
246
293
|
inspectWorkspaceDependencyMode,
|
|
247
294
|
installTreeseedDependencies,
|
|
248
295
|
isWorkspaceRoot,
|
|
249
296
|
listDeprecatedTreeseedLocalEnvFiles,
|
|
297
|
+
listGitHubEnvironmentSecretNames,
|
|
298
|
+
listGitHubEnvironmentVariableNames,
|
|
250
299
|
listRailwayEnvironments,
|
|
251
300
|
listRailwayProjects,
|
|
252
301
|
listRailwayServices,
|
|
@@ -260,9 +309,10 @@ export {
|
|
|
260
309
|
mergeCurrentBranchIntoStaging,
|
|
261
310
|
mergeStagingIntoMain,
|
|
262
311
|
migrateTreeseedMachineKeyToWrapped,
|
|
263
|
-
observeTreeseedUnits,
|
|
264
312
|
originRemoteUrl,
|
|
313
|
+
packageAdapterPlanSummary,
|
|
265
314
|
packageScriptPath,
|
|
315
|
+
planTreeseedPackageDevelopmentImage,
|
|
266
316
|
planTreeseedReconciliation,
|
|
267
317
|
planWorkspaceReleaseBump,
|
|
268
318
|
prepareReleaseBranches,
|
|
@@ -270,10 +320,13 @@ export {
|
|
|
270
320
|
printDestroySummary,
|
|
271
321
|
provisionCloudflareResources,
|
|
272
322
|
pushBranch,
|
|
273
|
-
|
|
323
|
+
readTreeseedVerificationCache,
|
|
274
324
|
reconcileTreeseedTarget,
|
|
325
|
+
recoverTreeseedGitLocks,
|
|
326
|
+
refreshTreeseedUnits,
|
|
275
327
|
remoteBranchExists,
|
|
276
328
|
repoRoot,
|
|
329
|
+
resolveGitHubCredentialForRepository,
|
|
277
330
|
resolveRailwayApiToken,
|
|
278
331
|
resolveRailwayApiUrl,
|
|
279
332
|
resolveRailwayWorkspace,
|
|
@@ -285,6 +338,7 @@ export {
|
|
|
285
338
|
resolveTreeseedRemoteSession,
|
|
286
339
|
resolveTreeseedToolBinary,
|
|
287
340
|
resolveTreeseedToolCommand,
|
|
341
|
+
resolveTreeseedWorkflowPaths,
|
|
288
342
|
resolveWranglerBin,
|
|
289
343
|
rotateTreeseedMachineKey,
|
|
290
344
|
rotateTreeseedMachineKeyPassphrase,
|
|
@@ -292,25 +346,31 @@ export {
|
|
|
292
346
|
runRemoteD1Migrations,
|
|
293
347
|
runTenantDeployPreflight,
|
|
294
348
|
runTreeseedCopilotTask,
|
|
349
|
+
runTreeseedGit,
|
|
350
|
+
runTreeseedGitBatch,
|
|
295
351
|
runTreeseedHostingAudit,
|
|
352
|
+
runTreeseedOperationsRunnerSmoke,
|
|
353
|
+
runTreeseedPackageImageWorkflow,
|
|
296
354
|
runWorkspaceReleasePreflight,
|
|
297
355
|
runWorkspaceSavePreflight,
|
|
298
356
|
setTreeseedRemoteSession,
|
|
299
|
-
stopKnownMailpitContainers,
|
|
300
357
|
syncBranchWithOrigin,
|
|
301
358
|
syncCloudflareSecrets,
|
|
359
|
+
syncTreeseedPackageWorkflows,
|
|
360
|
+
treeseedVerificationCacheKey,
|
|
302
361
|
unlinkLocalWorkspaceLinks,
|
|
303
362
|
unlockTreeseedSecretSessionFromEnv,
|
|
304
363
|
unlockTreeseedSecretSessionInteractive,
|
|
305
364
|
unlockTreeseedSecretSessionWithPassphrase,
|
|
306
365
|
updateTreeseedDeployConfigFeatureToggles,
|
|
307
|
-
upsertRailwayVariables,
|
|
308
366
|
validateDeployPrerequisites,
|
|
309
367
|
validateDestroyPrerequisites,
|
|
310
368
|
validateRailwayDeployPrerequisites,
|
|
369
|
+
validateTreeseedPackageManifests,
|
|
311
370
|
waitForStagingAutomation,
|
|
312
371
|
warnDeprecatedTreeseedLocalEnvFiles,
|
|
313
372
|
withTreeseedKeyAgentAutopromptDisabled,
|
|
314
373
|
workspaceRoot,
|
|
315
|
-
writeTreeseedMachineConfig
|
|
374
|
+
writeTreeseedMachineConfig,
|
|
375
|
+
writeTreeseedVerificationCache
|
|
316
376
|
};
|