@treeseed/sdk 0.11.0 → 0.12.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -4
- package/dist/agent-capacity.d.ts +916 -0
- package/dist/agent-capacity.js +1600 -0
- package/dist/agent-tools.d.ts +37 -0
- package/dist/agent-tools.js +301 -0
- package/dist/api/app.d.ts +1 -1
- package/dist/api/auth/d1-database.d.ts +2 -2
- package/dist/api/auth/d1-provider.d.ts +4 -4
- package/dist/api/auth/d1-store.d.ts +2 -2
- package/dist/api/auth/memory-provider.d.ts +1 -1
- package/dist/api/auth/tokens.d.ts +1 -1
- package/dist/api/config.d.ts +3 -1
- package/dist/api/config.js +34 -10
- package/dist/api/http.d.ts +2 -2
- package/dist/api/index.d.ts +10 -10
- package/dist/api/index.js +4 -2
- package/dist/api/operations-routes.d.ts +3 -3
- package/dist/api/operations.d.ts +1 -1
- package/dist/api/providers.d.ts +1 -1
- package/dist/api/providers.js +21 -4
- package/dist/api/railway.d.ts +3 -2
- package/dist/api/sdk-dispatch.d.ts +4 -4
- package/dist/api/sdk-routes.d.ts +2 -2
- package/dist/api/templates.d.ts +2 -2
- package/dist/api/types.d.ts +3 -2
- package/dist/capacity-provider.d.ts +117 -60
- package/dist/capacity-provider.js +215 -43
- package/dist/capacity.d.ts +2 -2
- package/dist/cli-tools.d.ts +1 -1
- package/dist/content-operations.d.ts +97 -0
- package/dist/content-operations.js +250 -0
- package/dist/content-store.d.ts +4 -4
- package/dist/control-plane-client.d.ts +13 -18
- package/dist/control-plane-client.js +8 -86
- package/dist/control-plane.d.ts +2 -2
- package/dist/copilot.d.ts +3 -0
- package/dist/copilot.js +16 -1
- package/dist/d1-http.d.ts +1 -1
- package/dist/d1-store.d.ts +32 -57
- package/dist/d1-store.js +115 -318
- package/dist/db/d1.d.ts +1 -232
- package/dist/db/index.d.ts +3 -3
- package/dist/db/market-schema.d.ts +49037 -11843
- package/dist/db/market-schema.js +1788 -50
- package/dist/db/node-sqlite.d.ts +1 -232
- package/dist/db/schema.d.ts +0 -462
- package/dist/db/schema.js +2 -22
- package/dist/dispatch.d.ts +1 -1
- package/dist/dispatch.js +0 -11
- package/dist/fixture-support.js +52 -4
- package/dist/governance.d.ts +133 -0
- package/dist/governance.js +285 -0
- package/dist/graph/build.d.ts +2 -2
- package/dist/graph/context-query-contracts.d.ts +1 -1
- package/dist/graph/dsl.d.ts +1 -1
- package/dist/graph/query.d.ts +4 -4
- package/dist/graph/ranking.d.ts +1 -1
- package/dist/graph/schema.d.ts +1 -1
- package/dist/graph.d.ts +11 -11
- package/dist/guarantees/index.d.ts +425 -0
- package/dist/guarantees/index.js +1146 -0
- package/dist/hosting/apps.d.ts +1 -1
- package/dist/hosting/builtins.d.ts +1 -1
- package/dist/hosting/builtins.js +9 -198
- package/dist/hosting/contracts.d.ts +3 -2
- package/dist/hosting/graph.d.ts +24 -21
- package/dist/hosting/graph.js +280 -294
- package/dist/hosting/index.d.ts +4 -4
- package/dist/index.d.ts +88 -74
- package/dist/index.js +81 -10
- package/dist/local-dev/managed-dev.d.ts +85 -0
- package/dist/local-dev/managed-dev.js +368 -0
- package/dist/managed-dependencies.d.ts +9 -0
- package/dist/managed-dependencies.js +10 -8
- package/dist/market-client.d.ts +265 -7
- package/dist/market-client.js +381 -9
- package/dist/model-registry.d.ts +1 -1
- package/dist/model-registry.js +19 -19
- package/dist/operations/agent-tools.d.ts +2 -11
- package/dist/operations/agent-tools.js +2 -14
- package/dist/operations/providers/default.d.ts +1 -1
- package/dist/operations/providers/default.js +20 -37
- package/dist/operations/repository-operations.d.ts +26 -2
- package/dist/operations/repository-operations.js +159 -1
- package/dist/operations/runtime.d.ts +3 -3
- package/dist/operations/services/bootstrap-runner.d.ts +1 -1
- package/dist/operations/services/build-warning-policy.d.ts +34 -0
- package/dist/operations/services/build-warning-policy.js +81 -82
- package/dist/operations/services/commit-message-provider.js +4 -4
- package/dist/operations/services/config-runtime.d.ts +73 -19
- package/dist/operations/services/config-runtime.js +276 -100
- package/dist/operations/services/deploy.d.ts +41 -622
- package/dist/operations/services/deploy.js +181 -213
- package/dist/operations/services/deployment-readiness.d.ts +1 -1
- package/dist/operations/services/deployment-readiness.js +38 -7
- package/dist/operations/services/git-remote-policy.js +12 -4
- package/dist/operations/services/git-runner.d.ts +66 -0
- package/dist/operations/services/git-runner.js +479 -0
- package/dist/operations/services/git-workflow.d.ts +43 -5
- package/dist/operations/services/git-workflow.js +242 -20
- package/dist/operations/services/github-actions-verification.d.ts +3 -1
- package/dist/operations/services/github-actions-verification.js +11 -3
- package/dist/operations/services/github-api.js +21 -5
- package/dist/operations/services/github-automation.d.ts +3 -3
- package/dist/operations/services/github-automation.js +15 -18
- package/dist/operations/services/github-credentials.js +2 -1
- package/dist/operations/services/hosted-service-checks.d.ts +19 -1
- package/dist/operations/services/hosted-service-checks.js +162 -11
- package/dist/operations/services/hosting-audit.d.ts +2 -2
- package/dist/operations/services/hosting-audit.js +7 -7
- package/dist/operations/services/hub-launch.d.ts +1 -1
- package/dist/operations/services/hub-provider-launch.d.ts +5 -5
- package/dist/operations/services/hub-provider-launch.js +19 -14
- package/dist/operations/services/live-hosted-service-checks.d.ts +2 -1
- package/dist/operations/services/live-hosted-service-checks.js +193 -80
- package/dist/operations/services/local-dev.js +0 -1
- package/dist/operations/services/managed-host-security.d.ts +1 -1
- package/dist/operations/services/managed-repositories.d.ts +37 -0
- package/dist/operations/services/managed-repositories.js +177 -0
- package/dist/operations/services/operations-runner-smoke.d.ts +3 -2
- package/dist/operations/services/operations-runner-smoke.js +22 -4
- package/dist/operations/services/package-adapters.d.ts +77 -2
- package/dist/operations/services/package-adapters.js +627 -56
- package/dist/operations/services/package-reference-policy.d.ts +12 -88
- package/dist/operations/services/package-reference-policy.js +81 -213
- package/dist/operations/services/project-host-operations.d.ts +4 -4
- package/dist/operations/services/project-platform.d.ts +19 -193
- package/dist/operations/services/project-platform.js +31 -103
- package/dist/operations/services/project-web-monitor.d.ts +2 -2
- package/dist/operations/services/project-web-monitor.js +97 -2
- package/dist/operations/services/railway-api.d.ts +36 -7
- package/dist/operations/services/railway-api.js +331 -100
- package/dist/operations/services/railway-deploy.d.ts +7 -95
- package/dist/operations/services/railway-deploy.js +334 -742
- package/dist/operations/services/release-history.js +3 -4
- package/dist/operations/services/release-proof-ledger.d.ts +13 -0
- package/dist/operations/services/release-proof-ledger.js +81 -0
- package/dist/operations/services/release-proof-planner.d.ts +48 -0
- package/dist/operations/services/release-proof-planner.js +195 -0
- package/dist/operations/services/release-proof-runner.d.ts +16 -0
- package/dist/operations/services/release-proof-runner.js +169 -0
- package/dist/operations/services/release-proof.d.ts +81 -0
- package/dist/operations/services/release-proof.js +79 -0
- package/dist/operations/services/repository-save-orchestrator.d.ts +6 -7
- package/dist/operations/services/repository-save-orchestrator.js +353 -174
- package/dist/operations/services/runtime-paths.d.ts +1 -3
- package/dist/operations/services/runtime-paths.js +0 -4
- package/dist/operations/services/runtime-tools.d.ts +1 -192
- package/dist/operations/services/runtime-tools.js +4 -444
- package/dist/operations/services/save-deploy-preflight.js +9 -1
- package/dist/operations/services/template-host-bindings.d.ts +2 -2
- package/dist/operations/services/template-host-bindings.js +3 -2
- package/dist/operations/services/template-registry.d.ts +6 -6
- package/dist/operations/services/template-registry.js +33 -14
- package/dist/operations/services/template-secret-sync.d.ts +3 -3
- package/dist/operations/services/workflow-timing.d.ts +25 -0
- package/dist/operations/services/workflow-timing.js +79 -0
- package/dist/operations/services/workspace-dependency-mode.js +41 -4
- package/dist/operations/services/workspace-preflight.js +8 -8
- package/dist/operations/services/workspace-save-script.d.ts +4 -4
- package/dist/operations/services/workspace-save.d.ts +1 -0
- package/dist/operations/services/workspace-save.js +41 -18
- package/dist/operations/services/workspace-tools.js +40 -6
- package/dist/operations-registry.d.ts +1 -1
- package/dist/operations-registry.js +5 -6
- package/dist/operations-types.d.ts +1 -1
- package/dist/operations.d.ts +17 -11
- package/dist/operations.js +57 -3
- package/dist/platform/book-export.js +2 -0
- package/dist/platform/books-data.d.ts +1 -1
- package/dist/platform/config.d.ts +27 -0
- package/dist/platform/config.js +100 -0
- package/dist/platform/content-runtime-source.d.ts +54 -0
- package/dist/platform/content-runtime-source.js +169 -0
- package/dist/platform/contracts.d.ts +6 -1
- package/dist/platform/deploy-config.d.ts +1 -1
- package/dist/platform/deploy-config.js +7 -1
- package/dist/platform/deploy-runtime.d.ts +1 -1
- package/dist/platform/desired-state.d.ts +63 -0
- package/dist/platform/desired-state.js +1021 -0
- package/dist/platform/env.yaml +414 -19
- package/dist/platform/environment.d.ts +2 -2
- package/dist/platform/environment.js +54 -22
- package/dist/platform/local-content-materialization.d.ts +9 -0
- package/dist/platform/local-content-materialization.js +212 -0
- package/dist/platform/plugin.d.ts +5 -5
- package/dist/platform/plugins/runtime.d.ts +3 -3
- package/dist/platform/plugins/runtime.js +62 -1
- package/dist/platform/plugins.d.ts +6 -6
- package/dist/platform/published-content-pipeline.d.ts +3 -3
- package/dist/platform/published-content-pipeline.js +5 -1
- package/dist/platform/published-content.d.ts +4 -3
- package/dist/platform/site-config-schema.d.ts +1 -0
- package/dist/platform/site-config-schema.js +4 -1
- package/dist/platform/tenant/runtime-config.d.ts +152 -2
- package/dist/platform/tenant-config.d.ts +1 -1
- package/dist/platform/utils/site-config-schema.d.ts +154 -0
- package/dist/platform/utils/site-config-schema.js +400 -461
- package/dist/platform-operation-store.d.ts +1 -1
- package/dist/plugin-default.d.ts +1 -1
- package/dist/plugin-default.js +27 -12
- package/dist/project-import.d.ts +91 -0
- package/dist/project-import.js +257 -0
- package/dist/project-workflow.d.ts +1 -1
- package/dist/reconcile/bootstrap-systems.d.ts +2 -2
- package/dist/reconcile/bootstrap-systems.js +3 -3
- package/dist/reconcile/builtin-adapters.d.ts +7 -1
- package/dist/reconcile/builtin-adapters.js +2924 -346
- package/dist/reconcile/contracts.d.ts +15 -2
- package/dist/reconcile/desired-state.d.ts +2 -193
- package/dist/reconcile/desired-state.js +24 -33
- package/dist/reconcile/engine.d.ts +60 -397
- package/dist/reconcile/engine.js +182 -18
- package/dist/reconcile/index.d.ts +10 -10
- package/dist/reconcile/live-acceptance.d.ts +22 -1
- package/dist/reconcile/live-acceptance.js +456 -44
- package/dist/reconcile/providers/docker-private.d.ts +54 -0
- package/dist/reconcile/providers/docker-private.js +101 -0
- package/dist/reconcile/providers/github-private.d.ts +65 -0
- package/dist/reconcile/providers/github-private.js +119 -0
- package/dist/reconcile/providers/local-private.d.ts +28 -0
- package/dist/reconcile/providers/local-private.js +75 -0
- package/dist/reconcile/providers/railway-iac.d.ts +66 -0
- package/dist/reconcile/providers/railway-iac.js +275 -0
- package/dist/reconcile/providers/release-private.d.ts +92 -0
- package/dist/reconcile/providers/release-private.js +152 -0
- package/dist/reconcile/registry.d.ts +2 -2
- package/dist/reconcile/registry.js +16 -1
- package/dist/reconcile/state.d.ts +1 -1
- package/dist/reconcile/state.js +3 -40
- package/dist/reconcile/units.d.ts +1 -1
- package/dist/reconcile/units.js +7 -1
- package/dist/remote.d.ts +6 -6
- package/dist/scenes/artifacts.d.ts +16 -0
- package/dist/scenes/artifacts.js +61 -0
- package/dist/scenes/auth.d.ts +2 -0
- package/dist/scenes/auth.js +28 -0
- package/dist/scenes/base-url.d.ts +12 -0
- package/dist/scenes/base-url.js +123 -0
- package/dist/scenes/builtin-plugins.d.ts +2 -0
- package/dist/scenes/builtin-plugins.js +447 -0
- package/dist/scenes/checkpoints.d.ts +14 -0
- package/dist/scenes/checkpoints.js +33 -0
- package/dist/scenes/device-matrix.d.ts +2 -0
- package/dist/scenes/device-matrix.js +97 -0
- package/dist/scenes/devices.d.ts +11 -0
- package/dist/scenes/devices.js +22 -0
- package/dist/scenes/diagnostics.d.ts +5 -0
- package/dist/scenes/diagnostics.js +22 -0
- package/dist/scenes/diagram-providers.d.ts +2 -0
- package/dist/scenes/diagram-providers.js +181 -0
- package/dist/scenes/diagram-validation.d.ts +22 -0
- package/dist/scenes/diagram-validation.js +74 -0
- package/dist/scenes/environment.d.ts +2 -0
- package/dist/scenes/environment.js +65 -0
- package/dist/scenes/evidence-bundle.d.ts +5 -0
- package/dist/scenes/evidence-bundle.js +42 -0
- package/dist/scenes/evidence-report.d.ts +10 -0
- package/dist/scenes/evidence-report.js +73 -0
- package/dist/scenes/evidence.d.ts +16 -0
- package/dist/scenes/evidence.js +277 -0
- package/dist/scenes/index.d.ts +48 -0
- package/dist/scenes/index.js +312 -0
- package/dist/scenes/inspect.d.ts +9 -0
- package/dist/scenes/inspect.js +64 -0
- package/dist/scenes/loader.d.ts +3 -0
- package/dist/scenes/loader.js +38 -0
- package/dist/scenes/logs.d.ts +2 -0
- package/dist/scenes/logs.js +47 -0
- package/dist/scenes/operations.d.ts +3 -0
- package/dist/scenes/operations.js +128 -0
- package/dist/scenes/phase0.d.ts +9 -0
- package/dist/scenes/phase0.js +637 -0
- package/dist/scenes/planner.d.ts +12 -0
- package/dist/scenes/planner.js +166 -0
- package/dist/scenes/playwright-adapter.d.ts +2 -0
- package/dist/scenes/playwright-adapter.js +63 -0
- package/dist/scenes/plugins.d.ts +5 -0
- package/dist/scenes/plugins.js +115 -0
- package/dist/scenes/progress.d.ts +17 -0
- package/dist/scenes/progress.js +24 -0
- package/dist/scenes/publish-destinations.d.ts +12 -0
- package/dist/scenes/publish-destinations.js +99 -0
- package/dist/scenes/publish-plan-report.d.ts +10 -0
- package/dist/scenes/publish-plan-report.js +70 -0
- package/dist/scenes/publish-plan.d.ts +15 -0
- package/dist/scenes/publish-plan.js +248 -0
- package/dist/scenes/publish-redaction.d.ts +16 -0
- package/dist/scenes/publish-redaction.js +148 -0
- package/dist/scenes/publish-release-record.d.ts +13 -0
- package/dist/scenes/publish-release-record.js +34 -0
- package/dist/scenes/publish-report.d.ts +10 -0
- package/dist/scenes/publish-report.js +67 -0
- package/dist/scenes/publish.d.ts +16 -0
- package/dist/scenes/publish.js +298 -0
- package/dist/scenes/registry.d.ts +12 -0
- package/dist/scenes/registry.js +65 -0
- package/dist/scenes/remotion-adapter.d.ts +3 -0
- package/dist/scenes/remotion-adapter.js +94 -0
- package/dist/scenes/remotion-composition-registry.d.ts +2 -0
- package/dist/scenes/remotion-composition-registry.js +12 -0
- package/dist/scenes/remotion-compositions.d.ts +15 -0
- package/dist/scenes/remotion-compositions.js +464 -0
- package/dist/scenes/remotion-diagrams.d.ts +9 -0
- package/dist/scenes/remotion-diagrams.js +188 -0
- package/dist/scenes/remotion-input.d.ts +13 -0
- package/dist/scenes/remotion-input.js +291 -0
- package/dist/scenes/remotion-visuals.d.ts +29 -0
- package/dist/scenes/remotion-visuals.js +198 -0
- package/dist/scenes/render-media-assets.d.ts +9 -0
- package/dist/scenes/render-media-assets.js +117 -0
- package/dist/scenes/render-report.d.ts +10 -0
- package/dist/scenes/render-report.js +27 -0
- package/dist/scenes/render.d.ts +2 -0
- package/dist/scenes/render.js +218 -0
- package/dist/scenes/reporter.d.ts +3 -0
- package/dist/scenes/reporter.js +101 -0
- package/dist/scenes/resume.d.ts +2 -0
- package/dist/scenes/resume.js +79 -0
- package/dist/scenes/runner.d.ts +2 -0
- package/dist/scenes/runner.js +674 -0
- package/dist/scenes/schema.d.ts +6 -0
- package/dist/scenes/schema.js +994 -0
- package/dist/scenes/seed.d.ts +2 -0
- package/dist/scenes/seed.js +83 -0
- package/dist/scenes/segments.d.ts +15 -0
- package/dist/scenes/segments.js +79 -0
- package/dist/scenes/selectors.d.ts +3 -0
- package/dist/scenes/selectors.js +21 -0
- package/dist/scenes/timeline.d.ts +11 -0
- package/dist/scenes/timeline.js +26 -0
- package/dist/scenes/timeouts.d.ts +6 -0
- package/dist/scenes/timeouts.js +17 -0
- package/dist/scenes/training-captions.d.ts +14 -0
- package/dist/scenes/training-captions.js +98 -0
- package/dist/scenes/training-report.d.ts +10 -0
- package/dist/scenes/training-report.js +78 -0
- package/dist/scenes/training-transcript.d.ts +24 -0
- package/dist/scenes/training-transcript.js +204 -0
- package/dist/scenes/training.d.ts +10 -0
- package/dist/scenes/training.js +134 -0
- package/dist/scenes/types.d.ts +1872 -0
- package/dist/scenes/types.js +8 -0
- package/dist/scenes/visual-audit-contact-sheets.d.ts +6 -0
- package/dist/scenes/visual-audit-contact-sheets.js +119 -0
- package/dist/scenes/visual-audit-fixtures.d.ts +25 -0
- package/dist/scenes/visual-audit-fixtures.js +210 -0
- package/dist/scenes/visual-audit-report.d.ts +11 -0
- package/dist/scenes/visual-audit-report.js +85 -0
- package/dist/scenes/visual-audit-review.d.ts +23 -0
- package/dist/scenes/visual-audit-review.js +829 -0
- package/dist/scenes/visual-audit-routes.d.ts +13 -0
- package/dist/scenes/visual-audit-routes.js +308 -0
- package/dist/scenes/visual-audit.d.ts +3 -0
- package/dist/scenes/visual-audit.js +596 -0
- package/dist/scripts/build-dist.js +154 -40
- package/dist/scripts/check-build-warnings.js +42 -53
- package/dist/scripts/cleanup-markdown.js +1 -1
- package/dist/scripts/cli-test-fixtures.js +24 -28
- package/dist/scripts/migrate-journey-csv-to-guarantees.js +140 -0
- package/dist/scripts/package-tools.js +12 -1
- package/dist/scripts/prepare.js +3 -7
- package/dist/scripts/release-verify.js +2 -5
- package/dist/scripts/run-fixture-astro-command.js +1 -1
- package/dist/scripts/template-catalog.test.js +68 -82
- package/dist/scripts/tenant-dev.js +0 -10
- package/dist/scripts/test-cloudflare-local.js +1 -1
- package/dist/scripts/test-scaffold.js +0 -1
- package/dist/scripts/test-smoke.js +3 -3
- package/dist/scripts/treeseed-build-dist.js +4 -7
- package/dist/scripts/treeseed-release-verify.js +1 -1
- package/dist/scripts/verify-driver.js +30 -21
- package/dist/scripts/workflow-commands.test.js +18 -27
- package/dist/scripts/workspace-command-e2e.js +1 -1
- package/dist/scripts/workspace-lint.js +6 -0
- package/dist/scripts/workspace-release-test.js +90 -1
- package/dist/scripts/workspace-test.js +6 -0
- package/dist/sdk-dispatch.d.ts +1 -1
- package/dist/sdk-dispatch.js +0 -16
- package/dist/sdk-fields.d.ts +1 -1
- package/dist/sdk-filters.d.ts +1 -1
- package/dist/sdk-types.d.ts +1184 -113
- package/dist/sdk-types.js +393 -0
- package/dist/sdk.d.ts +74 -79
- package/dist/sdk.js +27 -36
- package/dist/secrets-capability.d.ts +421 -0
- package/dist/secrets-capability.js +530 -0
- package/dist/seeds/normalize.js +1 -0
- package/dist/seeds/planner.js +38 -0
- package/dist/seeds/schema.js +293 -4
- package/dist/seeds/types.d.ts +60 -0
- package/dist/seeds/types.js +9 -1
- package/dist/service-credentials.d.ts +54 -0
- package/dist/service-credentials.js +112 -0
- package/dist/stores/cursor-store.d.ts +2 -2
- package/dist/stores/envelopes.d.ts +1 -1
- package/dist/stores/helpers.d.ts +1 -1
- package/dist/stores/lease-store.d.ts +2 -2
- package/dist/stores/message-store.d.ts +2 -2
- package/dist/stores/operational-store.d.ts +3 -26
- package/dist/stores/operational-store.js +0 -225
- package/dist/stores/project-workflow-store.d.ts +2 -2
- package/dist/stores/run-store.d.ts +2 -3
- package/dist/stores/run-store.js +0 -98
- package/dist/stores/subscription-store.d.ts +2 -3
- package/dist/stores/subscription-store.js +0 -100
- package/dist/template-catalog.d.ts +1 -1
- package/dist/template-launch-requirements.d.ts +2 -2
- package/dist/template-launch-ui.d.ts +2 -2
- package/dist/treedx/adapters.d.ts +6 -6
- package/dist/treedx/client.d.ts +1 -1
- package/dist/treedx/errors.d.ts +1 -1
- package/dist/treedx/federated-client.d.ts +3 -3
- package/dist/treedx/graph-adapter.d.ts +2 -2
- package/dist/treedx/index.d.ts +14 -14
- package/dist/treedx/market-integration.d.ts +1 -1
- package/dist/treedx/ports.d.ts +30 -30
- package/dist/treedx/query-adapter.d.ts +3 -3
- package/dist/treedx/registry-client.d.ts +2 -2
- package/dist/treedx/repository-adapter.d.ts +4 -4
- package/dist/treedx/repository-adapter.js +14 -3
- package/dist/treedx/sdk-integration.d.ts +3 -3
- package/dist/treedx/types.d.ts +2 -2
- package/dist/treedx/workspace-adapter.d.ts +2 -2
- package/dist/treedx-backends.d.ts +13 -11
- package/dist/treedx-backends.js +52 -50
- package/dist/treedx-client.d.ts +3 -0
- package/dist/treedx-client.js +10 -1
- package/dist/treeseed/services/compose.yml +2 -3
- package/dist/treeseed/template-catalog/catalog.fixture.json +4 -4
- package/dist/types/agents.d.ts +256 -0
- package/dist/types/agents.js +42 -1
- package/dist/verification.d.ts +1 -0
- package/dist/verification.js +143 -14
- package/dist/workflow/operations.d.ts +510 -559
- package/dist/workflow/operations.js +1891 -1342
- package/dist/workflow/policy.js +19 -7
- package/dist/workflow/runs.d.ts +9 -3
- package/dist/workflow/runs.js +66 -26
- package/dist/workflow/session.d.ts +4 -1
- package/dist/workflow/session.js +50 -10
- package/dist/workflow/worktrees.d.ts +6 -2
- package/dist/workflow/worktrees.js +98 -15
- package/dist/workflow-state.d.ts +5 -5
- package/dist/workflow-state.js +27 -17
- package/dist/workflow-support.d.ts +26 -25
- package/dist/workflow-support.js +27 -31
- package/dist/workflow.d.ts +46 -16
- package/dist/workflow.js +19 -7
- package/drizzle/d1/0000_treeseed_d1.sql +0 -18
- package/drizzle/market/0000_market_control_plane.sql +1793 -1499
- package/drizzle/market/0005_agent_capacity_coordination.sql +145 -0
- package/drizzle/market/0006_provider_assignment_lifecycle.sql +9 -0
- package/drizzle/market/0007_agent_architecture_gap_closure.sql +157 -0
- package/drizzle/market/0008_agent_capacity_operational_closure.sql +27 -0
- package/drizzle/market/0009_agent_capacity_runtime_hardening.sql +29 -0
- package/drizzle/market/0010_secrets_capability_persistence.sql +130 -0
- package/drizzle/market/0011_github_app_adapter.sql +47 -0
- package/drizzle/market/0012_workday_test_runs.sql +44 -0
- package/drizzle/market/0013_runtime_task_lifecycle.sql +39 -0
- package/drizzle/market/0014_governance_pipeline.sql +189 -0
- package/package.json +75 -18
- package/scripts/{verify-driver.mjs → verify-driver.ts} +19 -4
- package/templates/github/deploy-web.workflow.yml +12 -8
- package/dist/operations/services/mailpit-runtime.d.ts +0 -20
- package/dist/operations/services/mailpit-runtime.js +0 -67
- package/dist/operations/services/release-candidate.d.ts +0 -60
- package/dist/operations/services/release-candidate.js +0 -953
- package/dist/scripts/ensure-mailpit.js +0 -48
- package/dist/scripts/logs-mailpit.js +0 -2
- package/dist/scripts/run-ts.js +0 -45
- package/dist/scripts/stop-mailpit.js +0 -5
- package/dist/scripts/treeseed-run-ts.js +0 -45
package/dist/platform/env.yaml
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
entries:
|
|
2
|
-
|
|
2
|
+
TREESEED_GITHUB_TOKEN:
|
|
3
3
|
label: GitHub access token
|
|
4
4
|
group: auth
|
|
5
|
-
description: Personal access token used by Treeseed for GitHub CLI automation, repository setup, CI secret sync, and GitHub
|
|
6
|
-
howToGet: "Create a GitHub fine-grained personal access token scoped to the TreeSeed repository. Required repository permissions: Contents read/write, Environments read/write, Secrets and variables read/write, Actions and workflows read/write, Pull requests read/write, Issues read/write. Then paste it here as
|
|
5
|
+
description: Personal access token used by Treeseed for GitHub CLI automation, repository setup, CI secret sync, and repository-scoped GitHub workflows.
|
|
6
|
+
howToGet: "Create a GitHub fine-grained personal access token scoped to the TreeSeed repository. Required repository permissions: Contents read/write, Environments read/write, Secrets and variables read/write, Actions and workflows read/write, Pull requests read/write, Issues read/write. Then paste it here as TREESEED_GITHUB_TOKEN."
|
|
7
7
|
sensitivity: secret
|
|
8
8
|
targets:
|
|
9
9
|
- local-runtime
|
|
@@ -23,7 +23,31 @@ entries:
|
|
|
23
23
|
sourcePriority:
|
|
24
24
|
- machine-config
|
|
25
25
|
- process-env
|
|
26
|
-
|
|
26
|
+
TREESEED_GITHUB_COPILOT_TOKEN:
|
|
27
|
+
label: GitHub Copilot access token
|
|
28
|
+
group: auth
|
|
29
|
+
description: Account-scoped GitHub token used only by Treeseed GitHub Copilot SDK-backed execution providers.
|
|
30
|
+
howToGet: "Create a GitHub fine-grained personal access token for the account with an active Copilot subscription. Enable the Copilot Requests permission, then store it as TREESEED_GITHUB_COPILOT_TOKEN. If omitted, the Copilot adapter can fall back to TREESEED_GITHUB_TOKEN for compatibility."
|
|
31
|
+
sensitivity: secret
|
|
32
|
+
targets:
|
|
33
|
+
- local-runtime
|
|
34
|
+
- github-secret
|
|
35
|
+
- railway-secret
|
|
36
|
+
scopes:
|
|
37
|
+
- local
|
|
38
|
+
- staging
|
|
39
|
+
- prod
|
|
40
|
+
storage: scoped
|
|
41
|
+
requirement: optional
|
|
42
|
+
purposes:
|
|
43
|
+
- config
|
|
44
|
+
validation:
|
|
45
|
+
kind: nonempty
|
|
46
|
+
minLength: 8
|
|
47
|
+
sourcePriority:
|
|
48
|
+
- machine-config
|
|
49
|
+
- process-env
|
|
50
|
+
TREESEED_DOCKERHUB_USERNAME:
|
|
27
51
|
label: Docker Hub username
|
|
28
52
|
group: docker
|
|
29
53
|
description: Docker Hub username used by Treeseed package release workflows to publish container images such as treeseed/treedx and treeseed/treedx-profiler.
|
|
@@ -45,11 +69,11 @@ entries:
|
|
|
45
69
|
sourcePriority:
|
|
46
70
|
- machine-config
|
|
47
71
|
- process-env
|
|
48
|
-
|
|
72
|
+
TREESEED_DOCKERHUB_TOKEN:
|
|
49
73
|
label: Docker Hub token
|
|
50
74
|
group: docker
|
|
51
|
-
description: Docker Hub access token used by Treeseed
|
|
52
|
-
howToGet: Create a Docker Hub access token with permission to push the Treeseed images, then store it through Treeseed config as
|
|
75
|
+
description: Docker Hub access token used by Treeseed production release workflows to publish semantic TreeDX service and profiler images.
|
|
76
|
+
howToGet: Create a Docker Hub access token with permission to push the Treeseed images, then store it through Treeseed config as TREESEED_DOCKERHUB_TOKEN.
|
|
53
77
|
sensitivity: secret
|
|
54
78
|
targets:
|
|
55
79
|
- local-runtime
|
|
@@ -68,11 +92,11 @@ entries:
|
|
|
68
92
|
sourcePriority:
|
|
69
93
|
- machine-config
|
|
70
94
|
- process-env
|
|
71
|
-
|
|
95
|
+
TREESEED_RAILWAY_API_TOKEN:
|
|
72
96
|
label: Railway API token
|
|
73
97
|
group: auth
|
|
74
98
|
description: Account-level Railway API token used by Treeseed to provision, reconcile, deploy, and inspect Market Railway services.
|
|
75
|
-
howToGet: Create a Railway account API token with access to the Treeseed Market project/workspace, then store it through Treeseed config as
|
|
99
|
+
howToGet: Create a Railway account API token with access to the Treeseed Market project/workspace, then store it through Treeseed config as TREESEED_RAILWAY_API_TOKEN.
|
|
76
100
|
sensitivity: secret
|
|
77
101
|
targets:
|
|
78
102
|
- local-runtime
|
|
@@ -111,7 +135,7 @@ entries:
|
|
|
111
135
|
- staging
|
|
112
136
|
- prod
|
|
113
137
|
storage: shared
|
|
114
|
-
requirement:
|
|
138
|
+
requirement: optional
|
|
115
139
|
purposes:
|
|
116
140
|
- deploy
|
|
117
141
|
- destroy
|
|
@@ -211,11 +235,11 @@ entries:
|
|
|
211
235
|
- machine-config
|
|
212
236
|
- process-env
|
|
213
237
|
defaultValueRef: githubRepositoryVisibilityDefault
|
|
214
|
-
|
|
238
|
+
TREESEED_CLOUDFLARE_API_TOKEN:
|
|
215
239
|
label: Cloudflare API token
|
|
216
240
|
group: auth
|
|
217
241
|
description: Account-level Cloudflare API token used by Wrangler, Workers AI, and CI to manage Pages, Workers, Workers KV, D1, R2, Queues, Turnstile, DNS, cache settings, secrets, and deploys.
|
|
218
|
-
howToGet: "Create a Cloudflare account-level API token scoped to the target account and domain. Account permissions: Pages Write, Workers Scripts Write, Workers KV Storage Write, Workers R2 Storage Write, D1 Write, Queues Write, Turnstile Sites Write, Account Rulesets Write, and Account Rule Lists Write. Zone permissions for the target domain: Zone Read, DNS Write, Cache Settings Write, and SSL and Certificates Write. Cloudflare API docs may call Cache Settings Write the Cache Rules permission and Account Rule Lists Write the Account Filter Lists permission. If TREESEED_COMMIT_AI_GATEWAY_ID or Workers AI model execution is configured, also grant AI Gateway Run and Workers AI Write. Then paste it here as
|
|
242
|
+
howToGet: "Create a Cloudflare account-level API token scoped to the target account and domain. Account permissions: Pages Write, Workers Scripts Write, Workers KV Storage Write, Workers R2 Storage Write, D1 Write, Queues Write, Turnstile Sites Write, Account Rulesets Write, and Account Rule Lists Write. Zone permissions for the target domain: Zone Read, DNS Write, Cache Settings Write, and SSL and Certificates Write. Cloudflare API docs may call Cache Settings Write the Cache Rules permission and Account Rule Lists Write the Account Filter Lists permission. If TREESEED_COMMIT_AI_GATEWAY_ID or Workers AI model execution is configured, also grant AI Gateway Run and Workers AI Write. Then paste it here as TREESEED_CLOUDFLARE_API_TOKEN."
|
|
219
243
|
sensitivity: secret
|
|
220
244
|
targets:
|
|
221
245
|
- local-runtime
|
|
@@ -237,7 +261,7 @@ entries:
|
|
|
237
261
|
sourcePriority:
|
|
238
262
|
- machine-config
|
|
239
263
|
- process-env
|
|
240
|
-
|
|
264
|
+
TREESEED_CLOUDFLARE_ACCOUNT_ID:
|
|
241
265
|
label: Cloudflare account ID
|
|
242
266
|
group: cloudflare
|
|
243
267
|
description: Identifies the Cloudflare account Treeseed should provision, deploy into, and use for Workers AI commit message generation.
|
|
@@ -441,7 +465,7 @@ entries:
|
|
|
441
465
|
label: Treeseed central API base URL
|
|
442
466
|
group: hosting
|
|
443
467
|
description: Base URL for the always-available central TreeSeed market used when no team-specific specialized market is selected.
|
|
444
|
-
howToGet: The production TreeSeed market defaults to https://api.treeseed.
|
|
468
|
+
howToGet: The production TreeSeed market defaults to https://api.treeseed.dev. Set this only when an environment should use another central-compatible market endpoint.
|
|
445
469
|
sensitivity: plain
|
|
446
470
|
targets:
|
|
447
471
|
- github-variable
|
|
@@ -466,7 +490,7 @@ entries:
|
|
|
466
490
|
label: Treeseed default API base URL
|
|
467
491
|
group: hosting
|
|
468
492
|
description: Primary market control-plane API URL used by hosted and optionally registered self-hosted project platforms.
|
|
469
|
-
howToGet: The production TreeSeed market defaults to https://api.treeseed.
|
|
493
|
+
howToGet: The production TreeSeed market defaults to https://api.treeseed.dev. Set this to a staging, enterprise, or specialized market endpoint when that environment should register with a different market.
|
|
470
494
|
sensitivity: plain
|
|
471
495
|
targets:
|
|
472
496
|
- github-variable
|
|
@@ -493,15 +517,17 @@ entries:
|
|
|
493
517
|
group: hosting
|
|
494
518
|
cluster: hosting:treeseed-control-plane
|
|
495
519
|
visibility: system
|
|
496
|
-
description:
|
|
497
|
-
howToGet:
|
|
520
|
+
description: PostgreSQL connection URL for Treeseed control-plane tables. Local development derives this from the managed local API Postgres configuration; hosted environments receive the reconciled Railway PostgreSQL connection URL. Browser/UI code must never receive this value.
|
|
521
|
+
howToGet: For local development, Treeseed derives this from the local API Postgres port and database defaults. For staging and production, provision the managed Treeseed PostgreSQL resource through Treeseed/Railway reconciliation and store the generated connection URL as a service secret.
|
|
498
522
|
sensitivity: secret
|
|
499
523
|
targets:
|
|
524
|
+
- local-runtime
|
|
500
525
|
- railway-secret
|
|
501
526
|
serviceTargets:
|
|
502
527
|
- api
|
|
503
528
|
- operationsRunner
|
|
504
529
|
scopes:
|
|
530
|
+
- local
|
|
505
531
|
- staging
|
|
506
532
|
- prod
|
|
507
533
|
storage: scoped
|
|
@@ -512,9 +538,11 @@ entries:
|
|
|
512
538
|
validation:
|
|
513
539
|
kind: url
|
|
514
540
|
sourcePriority:
|
|
541
|
+
- generated
|
|
515
542
|
- machine-config
|
|
516
543
|
- process-env
|
|
517
544
|
- treeseed.site.yaml
|
|
545
|
+
localDefaultValueRef: localApiDatabaseUrlDefault
|
|
518
546
|
TREESEED_PLATFORM_RUNNER_SECRET:
|
|
519
547
|
label: Treeseed operations runner secret
|
|
520
548
|
group: hosting
|
|
@@ -533,7 +561,7 @@ entries:
|
|
|
533
561
|
- staging
|
|
534
562
|
- prod
|
|
535
563
|
storage: scoped
|
|
536
|
-
requirement:
|
|
564
|
+
requirement: optional
|
|
537
565
|
purposes:
|
|
538
566
|
- deploy
|
|
539
567
|
- config
|
|
@@ -654,11 +682,157 @@ entries:
|
|
|
654
682
|
- machine-config
|
|
655
683
|
- process-env
|
|
656
684
|
defaultValueRef: generatedSecret
|
|
685
|
+
TREESEED_STRIPE_SECRET_KEY:
|
|
686
|
+
label: Stripe platform secret key
|
|
687
|
+
group: commerce
|
|
688
|
+
cluster: hosting:treeseed-control-plane
|
|
689
|
+
visibility: system
|
|
690
|
+
description: Platform Stripe secret key used only by the API for Connect onboarding, Product/Price mirror sync, PaymentIntent confirmation, subscriptions, webhook reconciliation, and connected-account refunds.
|
|
691
|
+
howToGet: "Stripe Dashboard -> Developers -> API keys. Use test mode first. Prefer a restricted key when available with access for Connect accounts, account links, login links, Products, Prices, PaymentIntents, Customers, Subscriptions, Refunds, and webhook event reads as needed. Store with `npx trsd config set TREESEED_STRIPE_SECRET_KEY --environment local|staging|prod`; never place Stripe secret keys in plaintext env files and never request vendor-provided Stripe secret keys."
|
|
692
|
+
sensitivity: secret
|
|
693
|
+
targets:
|
|
694
|
+
- local-runtime
|
|
695
|
+
- railway-secret
|
|
696
|
+
serviceTargets:
|
|
697
|
+
- api
|
|
698
|
+
scopes:
|
|
699
|
+
- local
|
|
700
|
+
- staging
|
|
701
|
+
- prod
|
|
702
|
+
storage: scoped
|
|
703
|
+
requirement: optional
|
|
704
|
+
purposes:
|
|
705
|
+
- deploy
|
|
706
|
+
- config
|
|
707
|
+
validation:
|
|
708
|
+
kind: nonempty
|
|
709
|
+
sourcePriority:
|
|
710
|
+
- machine-config
|
|
711
|
+
- process-env
|
|
712
|
+
TREESEED_STRIPE_PUBLISHABLE_KEY:
|
|
713
|
+
label: Stripe publishable key
|
|
714
|
+
group: commerce
|
|
715
|
+
cluster: hosting:treeseed-control-plane
|
|
716
|
+
visibility: system
|
|
717
|
+
description: Platform Stripe publishable key returned by `/v1/commerce/stripe/config` for root-market Stripe Elements checkout surfaces. Admin must not initialize Stripe Elements.
|
|
718
|
+
howToGet: "Stripe Dashboard -> Developers -> API keys. Copy the publishable key for the same test/live mode as TREESEED_STRIPE_SECRET_KEY and store it with `npx trsd config set TREESEED_STRIPE_PUBLISHABLE_KEY --environment local|staging|prod`."
|
|
719
|
+
sensitivity: plain
|
|
720
|
+
targets:
|
|
721
|
+
- local-runtime
|
|
722
|
+
- railway-var
|
|
723
|
+
- config-file
|
|
724
|
+
serviceTargets:
|
|
725
|
+
- api
|
|
726
|
+
scopes:
|
|
727
|
+
- local
|
|
728
|
+
- staging
|
|
729
|
+
- prod
|
|
730
|
+
storage: shared
|
|
731
|
+
requirement: optional
|
|
732
|
+
purposes:
|
|
733
|
+
- deploy
|
|
734
|
+
- config
|
|
735
|
+
validation:
|
|
736
|
+
kind: nonempty
|
|
737
|
+
sourcePriority:
|
|
738
|
+
- machine-config
|
|
739
|
+
- process-env
|
|
740
|
+
- treeseed.site.yaml
|
|
741
|
+
TREESEED_STRIPE_WEBHOOK_SECRET:
|
|
742
|
+
label: Stripe webhook signing secret
|
|
743
|
+
group: commerce
|
|
744
|
+
cluster: hosting:treeseed-control-plane
|
|
745
|
+
visibility: system
|
|
746
|
+
description: Stripe webhook endpoint signing secret used by the API to verify connected-account payment and subscription events.
|
|
747
|
+
howToGet: "Stripe Dashboard -> Developers -> Webhooks. Add endpoint `<TREESEED_API_BASE_URL>/v1/commerce/webhooks/stripe`; for local development use the Stripe CLI to forward to the local API. Subscribe to payment_intent.succeeded, payment_intent.payment_failed, payment_intent.canceled, customer.subscription.created, customer.subscription.updated, customer.subscription.deleted, invoice.payment_succeeded, and invoice.payment_failed. Copy the signing secret and store it with `npx trsd config set TREESEED_STRIPE_WEBHOOK_SECRET --environment local|staging|prod`."
|
|
748
|
+
sensitivity: secret
|
|
749
|
+
targets:
|
|
750
|
+
- local-runtime
|
|
751
|
+
- railway-secret
|
|
752
|
+
serviceTargets:
|
|
753
|
+
- api
|
|
754
|
+
scopes:
|
|
755
|
+
- local
|
|
756
|
+
- staging
|
|
757
|
+
- prod
|
|
758
|
+
storage: scoped
|
|
759
|
+
requirement: optional
|
|
760
|
+
purposes:
|
|
761
|
+
- deploy
|
|
762
|
+
- config
|
|
763
|
+
validation:
|
|
764
|
+
kind: nonempty
|
|
765
|
+
sourcePriority:
|
|
766
|
+
- machine-config
|
|
767
|
+
- process-env
|
|
768
|
+
TREESEED_STRIPE_MODE:
|
|
769
|
+
label: Stripe mode
|
|
770
|
+
group: commerce
|
|
771
|
+
cluster: hosting:treeseed-control-plane
|
|
772
|
+
visibility: system
|
|
773
|
+
description: Stripe environment mode used by marketplace seller onboarding, mirror sync, checkout, webhooks, subscriptions, and refunds. Defaults to test for local and staging.
|
|
774
|
+
howToGet: "Set `test` for local and staging with `npx trsd config set TREESEED_STRIPE_MODE test --environment local|staging`. Set `live` in production only after Connect onboarding, webhook verification, local/staging marketplace acceptance, and Stripe production readiness are complete."
|
|
775
|
+
sensitivity: plain
|
|
776
|
+
targets:
|
|
777
|
+
- local-runtime
|
|
778
|
+
- railway-var
|
|
779
|
+
- config-file
|
|
780
|
+
serviceTargets:
|
|
781
|
+
- api
|
|
782
|
+
scopes:
|
|
783
|
+
- local
|
|
784
|
+
- staging
|
|
785
|
+
- prod
|
|
786
|
+
storage: shared
|
|
787
|
+
requirement: optional
|
|
788
|
+
purposes:
|
|
789
|
+
- deploy
|
|
790
|
+
- config
|
|
791
|
+
validation:
|
|
792
|
+
kind: enum
|
|
793
|
+
values:
|
|
794
|
+
- test
|
|
795
|
+
- live
|
|
796
|
+
sourcePriority:
|
|
797
|
+
- machine-config
|
|
798
|
+
- process-env
|
|
799
|
+
- treeseed.site.yaml
|
|
800
|
+
TREESEED_STRIPE_CONNECT_ACCOUNT_TYPE:
|
|
801
|
+
label: Stripe Connect account type
|
|
802
|
+
group: commerce
|
|
803
|
+
cluster: hosting:treeseed-control-plane
|
|
804
|
+
visibility: system
|
|
805
|
+
description: Canonical Stripe Connect account model for approved vendor onboarding. TreeSeed creates hosted onboarding links and vendors never provide raw Stripe secret keys.
|
|
806
|
+
howToGet: "Keep this set to `express` with `npx trsd config set TREESEED_STRIPE_CONNECT_ACCOUNT_TYPE express --environment local|staging|prod` unless a future documented phase changes the Connect account model."
|
|
807
|
+
sensitivity: plain
|
|
808
|
+
targets:
|
|
809
|
+
- local-runtime
|
|
810
|
+
- railway-var
|
|
811
|
+
- config-file
|
|
812
|
+
serviceTargets:
|
|
813
|
+
- api
|
|
814
|
+
scopes:
|
|
815
|
+
- local
|
|
816
|
+
- staging
|
|
817
|
+
- prod
|
|
818
|
+
storage: shared
|
|
819
|
+
requirement: optional
|
|
820
|
+
purposes:
|
|
821
|
+
- deploy
|
|
822
|
+
- config
|
|
823
|
+
validation:
|
|
824
|
+
kind: enum
|
|
825
|
+
values:
|
|
826
|
+
- express
|
|
827
|
+
sourcePriority:
|
|
828
|
+
- machine-config
|
|
829
|
+
- process-env
|
|
830
|
+
- treeseed.site.yaml
|
|
657
831
|
TREESEED_CATALOG_MARKET_API_BASE_URLS:
|
|
658
832
|
label: Treeseed catalog API URLs
|
|
659
833
|
group: hosting
|
|
660
834
|
description: Comma-separated API base URLs that contribute templates, knowledge packs, and shared resources to the integrated catalog.
|
|
661
|
-
howToGet: Start with the production TreeSeed market at https://api.treeseed.
|
|
835
|
+
howToGet: Start with the production TreeSeed market at https://api.treeseed.dev and add specialized team or enterprise API URLs as needed.
|
|
662
836
|
sensitivity: plain
|
|
663
837
|
targets:
|
|
664
838
|
- github-variable
|
|
@@ -729,3 +903,224 @@ entries:
|
|
|
729
903
|
relevanceRef: projectRegistrationEnabled
|
|
730
904
|
requiredWhenRef: projectRegistrationEnabled
|
|
731
905
|
defaultValueRef: hostingProjectIdDefault
|
|
906
|
+
TREESEED_SECRET_CAPABILITY_PROOF_REPO:
|
|
907
|
+
label: Secret capability proof repository
|
|
908
|
+
group: secrets-capability
|
|
909
|
+
description: GitHub repository slug used by guarded secret-capability live proof planning.
|
|
910
|
+
howToGet: Set to owner/name for a dedicated test repository when running the optional plan-only live proof.
|
|
911
|
+
sensitivity: plain
|
|
912
|
+
targets:
|
|
913
|
+
- local-runtime
|
|
914
|
+
scopes:
|
|
915
|
+
- local
|
|
916
|
+
- staging
|
|
917
|
+
- prod
|
|
918
|
+
storage: scoped
|
|
919
|
+
requirement: optional
|
|
920
|
+
purposes:
|
|
921
|
+
- dev
|
|
922
|
+
- config
|
|
923
|
+
validation:
|
|
924
|
+
kind: nonempty
|
|
925
|
+
sourcePriority:
|
|
926
|
+
- machine-config
|
|
927
|
+
- process-env
|
|
928
|
+
TREESEED_SECRET_CAPABILITY_PROOF_WORKFLOW:
|
|
929
|
+
label: Secret capability proof workflow
|
|
930
|
+
group: secrets-capability
|
|
931
|
+
description: Workflow file name used by guarded secret-capability live proof planning.
|
|
932
|
+
howToGet: Set to the allowlisted workflow file in the proof repository, such as secret-capability-proof.yml.
|
|
933
|
+
sensitivity: plain
|
|
934
|
+
targets:
|
|
935
|
+
- local-runtime
|
|
936
|
+
scopes:
|
|
937
|
+
- local
|
|
938
|
+
- staging
|
|
939
|
+
- prod
|
|
940
|
+
storage: scoped
|
|
941
|
+
requirement: optional
|
|
942
|
+
purposes:
|
|
943
|
+
- dev
|
|
944
|
+
- config
|
|
945
|
+
validation:
|
|
946
|
+
kind: nonempty
|
|
947
|
+
sourcePriority:
|
|
948
|
+
- machine-config
|
|
949
|
+
- process-env
|
|
950
|
+
TREESEED_SECRET_CAPABILITY_PROOF_REF:
|
|
951
|
+
label: Secret capability proof ref
|
|
952
|
+
group: secrets-capability
|
|
953
|
+
description: Branch or ref used by guarded secret-capability live proof planning.
|
|
954
|
+
howToGet: Set to the protected branch or ref used for the plan-only proof.
|
|
955
|
+
sensitivity: plain
|
|
956
|
+
targets:
|
|
957
|
+
- local-runtime
|
|
958
|
+
scopes:
|
|
959
|
+
- local
|
|
960
|
+
- staging
|
|
961
|
+
- prod
|
|
962
|
+
storage: scoped
|
|
963
|
+
requirement: optional
|
|
964
|
+
purposes:
|
|
965
|
+
- dev
|
|
966
|
+
- config
|
|
967
|
+
validation:
|
|
968
|
+
kind: nonempty
|
|
969
|
+
sourcePriority:
|
|
970
|
+
- machine-config
|
|
971
|
+
- process-env
|
|
972
|
+
TREESEED_CAPACITY_ACCEPTANCE_API_URL:
|
|
973
|
+
label: Capacity acceptance API URL
|
|
974
|
+
group: capacity-provider
|
|
975
|
+
description: Market API base URL used by live capacity runtime acceptance proof.
|
|
976
|
+
howToGet: Set to the staging or local API base URL when running capacity provider live acceptance.
|
|
977
|
+
sensitivity: plain
|
|
978
|
+
targets:
|
|
979
|
+
- local-runtime
|
|
980
|
+
scopes:
|
|
981
|
+
- local
|
|
982
|
+
- staging
|
|
983
|
+
- prod
|
|
984
|
+
storage: scoped
|
|
985
|
+
requirement: optional
|
|
986
|
+
purposes:
|
|
987
|
+
- dev
|
|
988
|
+
- config
|
|
989
|
+
validation:
|
|
990
|
+
kind: url
|
|
991
|
+
sourcePriority:
|
|
992
|
+
- machine-config
|
|
993
|
+
- process-env
|
|
994
|
+
TREESEED_CAPACITY_ACCEPTANCE_ADMIN_TOKEN:
|
|
995
|
+
label: Capacity acceptance admin token
|
|
996
|
+
group: capacity-provider
|
|
997
|
+
description: Admin bearer token used only by live capacity runtime acceptance proof.
|
|
998
|
+
howToGet: Create a scoped test/admin token for the acceptance environment and store it through Treeseed config.
|
|
999
|
+
sensitivity: secret
|
|
1000
|
+
targets:
|
|
1001
|
+
- local-runtime
|
|
1002
|
+
scopes:
|
|
1003
|
+
- local
|
|
1004
|
+
- staging
|
|
1005
|
+
- prod
|
|
1006
|
+
storage: scoped
|
|
1007
|
+
requirement: optional
|
|
1008
|
+
purposes:
|
|
1009
|
+
- dev
|
|
1010
|
+
- config
|
|
1011
|
+
validation:
|
|
1012
|
+
kind: nonempty
|
|
1013
|
+
minLength: 8
|
|
1014
|
+
sourcePriority:
|
|
1015
|
+
- machine-config
|
|
1016
|
+
- process-env
|
|
1017
|
+
TREESEED_CAPACITY_ACCEPTANCE_TEAM_ID:
|
|
1018
|
+
label: Capacity acceptance team ID
|
|
1019
|
+
group: capacity-provider
|
|
1020
|
+
description: Team id used by live capacity runtime acceptance proof.
|
|
1021
|
+
howToGet: Use a dedicated test team id in the target Market environment.
|
|
1022
|
+
sensitivity: plain
|
|
1023
|
+
targets:
|
|
1024
|
+
- local-runtime
|
|
1025
|
+
scopes:
|
|
1026
|
+
- local
|
|
1027
|
+
- staging
|
|
1028
|
+
- prod
|
|
1029
|
+
storage: scoped
|
|
1030
|
+
requirement: optional
|
|
1031
|
+
purposes:
|
|
1032
|
+
- dev
|
|
1033
|
+
- config
|
|
1034
|
+
validation:
|
|
1035
|
+
kind: nonempty
|
|
1036
|
+
sourcePriority:
|
|
1037
|
+
- machine-config
|
|
1038
|
+
- process-env
|
|
1039
|
+
TREESEED_CAPACITY_ACCEPTANCE_PROJECT_ID:
|
|
1040
|
+
label: Capacity acceptance project ID
|
|
1041
|
+
group: capacity-provider
|
|
1042
|
+
description: Project id used by live capacity runtime acceptance proof.
|
|
1043
|
+
howToGet: Use a dedicated test project id in the target Market environment.
|
|
1044
|
+
sensitivity: plain
|
|
1045
|
+
targets:
|
|
1046
|
+
- local-runtime
|
|
1047
|
+
scopes:
|
|
1048
|
+
- local
|
|
1049
|
+
- staging
|
|
1050
|
+
- prod
|
|
1051
|
+
storage: scoped
|
|
1052
|
+
requirement: optional
|
|
1053
|
+
purposes:
|
|
1054
|
+
- dev
|
|
1055
|
+
- config
|
|
1056
|
+
validation:
|
|
1057
|
+
kind: nonempty
|
|
1058
|
+
sourcePriority:
|
|
1059
|
+
- machine-config
|
|
1060
|
+
- process-env
|
|
1061
|
+
TREESEED_CAPACITY_ACCEPTANCE_PROVIDER_ID:
|
|
1062
|
+
label: Capacity acceptance provider ID
|
|
1063
|
+
group: capacity-provider
|
|
1064
|
+
description: Provider id used by live capacity runtime acceptance proof.
|
|
1065
|
+
howToGet: Use the provider id assigned to the test capacity provider.
|
|
1066
|
+
sensitivity: plain
|
|
1067
|
+
targets:
|
|
1068
|
+
- local-runtime
|
|
1069
|
+
scopes:
|
|
1070
|
+
- local
|
|
1071
|
+
- staging
|
|
1072
|
+
- prod
|
|
1073
|
+
storage: scoped
|
|
1074
|
+
requirement: optional
|
|
1075
|
+
purposes:
|
|
1076
|
+
- dev
|
|
1077
|
+
- config
|
|
1078
|
+
validation:
|
|
1079
|
+
kind: nonempty
|
|
1080
|
+
sourcePriority:
|
|
1081
|
+
- machine-config
|
|
1082
|
+
- process-env
|
|
1083
|
+
TREESEED_CAPACITY_ACCEPTANCE_AGENT_CLASS_ID:
|
|
1084
|
+
label: Capacity acceptance agent class ID
|
|
1085
|
+
group: capacity-provider
|
|
1086
|
+
description: Agent class id used by live capacity runtime acceptance proof.
|
|
1087
|
+
howToGet: Use an agent class available to the acceptance test project.
|
|
1088
|
+
sensitivity: plain
|
|
1089
|
+
targets:
|
|
1090
|
+
- local-runtime
|
|
1091
|
+
scopes:
|
|
1092
|
+
- local
|
|
1093
|
+
- staging
|
|
1094
|
+
- prod
|
|
1095
|
+
storage: scoped
|
|
1096
|
+
requirement: optional
|
|
1097
|
+
purposes:
|
|
1098
|
+
- dev
|
|
1099
|
+
- config
|
|
1100
|
+
validation:
|
|
1101
|
+
kind: nonempty
|
|
1102
|
+
sourcePriority:
|
|
1103
|
+
- machine-config
|
|
1104
|
+
- process-env
|
|
1105
|
+
TREESEED_CAPACITY_ACCEPTANCE_MODE:
|
|
1106
|
+
label: Capacity acceptance mode
|
|
1107
|
+
group: capacity-provider
|
|
1108
|
+
description: Work mode requested by live capacity runtime acceptance proof.
|
|
1109
|
+
howToGet: Leave unset to use planning, or set a supported project mode for the proof.
|
|
1110
|
+
sensitivity: plain
|
|
1111
|
+
targets:
|
|
1112
|
+
- local-runtime
|
|
1113
|
+
scopes:
|
|
1114
|
+
- local
|
|
1115
|
+
- staging
|
|
1116
|
+
- prod
|
|
1117
|
+
storage: scoped
|
|
1118
|
+
requirement: optional
|
|
1119
|
+
purposes:
|
|
1120
|
+
- dev
|
|
1121
|
+
- config
|
|
1122
|
+
validation:
|
|
1123
|
+
kind: nonempty
|
|
1124
|
+
sourcePriority:
|
|
1125
|
+
- machine-config
|
|
1126
|
+
- process-env
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { TreeseedDeployConfig, TreeseedTenantConfig } from './contracts.
|
|
2
|
-
import { type LoadedTreeseedPluginEntry } from './plugins.
|
|
1
|
+
import type { TreeseedDeployConfig, TreeseedTenantConfig } from './contracts.js';
|
|
2
|
+
import { type LoadedTreeseedPluginEntry } from './plugins.js';
|
|
3
3
|
export declare const TREESEED_ENVIRONMENT_SCOPES: readonly ["local", "staging", "prod"];
|
|
4
4
|
export declare const TREESEED_ENVIRONMENT_REQUIREMENTS: readonly ["required", "conditional", "optional", "generated"];
|
|
5
5
|
export declare const TREESEED_ENVIRONMENT_TARGETS: readonly ["local-runtime", "local-cloudflare", "github-secret", "github-variable", "cloudflare-secret", "cloudflare-var", "railway-secret", "railway-var", "config-file"];
|