@vibesdotdev/infra-deploy 0.0.2 → 1.0.0-rc.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/LICENSE +18 -0
- package/README.md +76 -12
- package/dist/cli/alerts/infra-alerts-create.cli-command.descriptor.d.ts +48 -35
- package/dist/cli/alerts/infra-alerts-create.cli-command.descriptor.d.ts.map +1 -1
- package/dist/cli/alerts/infra-alerts-create.cli-command.descriptor.js +1 -1
- package/dist/cli/alerts/infra-alerts-create.cli-command.descriptor.js.map +1 -1
- package/dist/cli/alerts/infra-alerts-create.cli-command.impl.d.ts +2 -1
- package/dist/cli/alerts/infra-alerts-create.cli-command.impl.d.ts.map +1 -1
- package/dist/cli/alerts/infra-alerts-create.cli-command.impl.js +31 -21
- package/dist/cli/alerts/infra-alerts-create.cli-command.impl.js.map +1 -1
- package/dist/cli/alerts/infra-alerts-delete.cli-command.descriptor.d.ts +26 -27
- package/dist/cli/alerts/infra-alerts-delete.cli-command.descriptor.d.ts.map +1 -1
- package/dist/cli/alerts/infra-alerts-delete.cli-command.descriptor.js +1 -1
- package/dist/cli/alerts/infra-alerts-delete.cli-command.descriptor.js.map +1 -1
- package/dist/cli/alerts/infra-alerts-delete.cli-command.impl.d.ts +2 -1
- package/dist/cli/alerts/infra-alerts-delete.cli-command.impl.d.ts.map +1 -1
- package/dist/cli/alerts/infra-alerts-delete.cli-command.impl.js +11 -11
- package/dist/cli/alerts/infra-alerts-delete.cli-command.impl.js.map +1 -1
- package/dist/cli/alerts/infra-alerts-list.cli-command.descriptor.d.ts +19 -17
- package/dist/cli/alerts/infra-alerts-list.cli-command.descriptor.d.ts.map +1 -1
- package/dist/cli/alerts/infra-alerts-list.cli-command.descriptor.js +1 -1
- package/dist/cli/alerts/infra-alerts-list.cli-command.descriptor.js.map +1 -1
- package/dist/cli/alerts/infra-alerts-list.cli-command.impl.d.ts +2 -1
- package/dist/cli/alerts/infra-alerts-list.cli-command.impl.d.ts.map +1 -1
- package/dist/cli/alerts/infra-alerts-list.cli-command.impl.js +15 -14
- package/dist/cli/alerts/infra-alerts-list.cli-command.impl.js.map +1 -1
- package/dist/cli/alerts/infra-alerts.cli-group.descriptor.d.ts +8 -8
- package/dist/cli/alerts/infra-alerts.cli-group.descriptor.js +1 -1
- package/dist/cli/alerts/infra-alerts.cli-group.descriptor.js.map +1 -1
- package/dist/cli/audit/infra-audit.cli-command.descriptor.d.ts +24 -17
- package/dist/cli/audit/infra-audit.cli-command.descriptor.d.ts.map +1 -1
- package/dist/cli/audit/infra-audit.cli-command.descriptor.js +8 -3
- package/dist/cli/audit/infra-audit.cli-command.descriptor.js.map +1 -1
- package/dist/cli/audit/infra-audit.cli-command.impl.d.ts +164 -1
- package/dist/cli/audit/infra-audit.cli-command.impl.d.ts.map +1 -1
- package/dist/cli/audit/infra-audit.cli-command.impl.js +557 -76
- package/dist/cli/audit/infra-audit.cli-command.impl.js.map +1 -1
- package/dist/cli/db/infra-db.cli-command.descriptor.d.ts +49 -0
- package/dist/cli/db/infra-db.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/db/infra-db.cli-command.descriptor.js +60 -0
- package/dist/cli/db/infra-db.cli-command.descriptor.js.map +1 -0
- package/dist/cli/db/infra-db.cli-command.impl.d.ts +30 -0
- package/dist/cli/db/infra-db.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/db/infra-db.cli-command.impl.js +167 -0
- package/dist/cli/db/infra-db.cli-command.impl.js.map +1 -0
- package/dist/cli/dns/infra-dns-activate.cli-command.impl.d.ts +6 -0
- package/dist/cli/dns/infra-dns-activate.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/dns/infra-dns-activate.cli-command.impl.js +53 -0
- package/dist/cli/dns/infra-dns-activate.cli-command.impl.js.map +1 -0
- package/dist/cli/dns/infra-dns-delete.cli-command.descriptor.d.ts +41 -0
- package/dist/cli/dns/infra-dns-delete.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/dns/infra-dns-delete.cli-command.descriptor.js +50 -0
- package/dist/cli/dns/infra-dns-delete.cli-command.descriptor.js.map +1 -0
- package/dist/cli/dns/infra-dns-delete.cli-command.impl.d.ts +12 -0
- package/dist/cli/dns/infra-dns-delete.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/dns/infra-dns-delete.cli-command.impl.js +70 -0
- package/dist/cli/dns/infra-dns-delete.cli-command.impl.js.map +1 -0
- package/dist/cli/dns/infra-dns-list.cli-command.descriptor.d.ts +32 -0
- package/dist/cli/dns/infra-dns-list.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/dns/infra-dns-list.cli-command.descriptor.js +39 -0
- package/dist/cli/dns/infra-dns-list.cli-command.descriptor.js.map +1 -0
- package/dist/cli/dns/infra-dns-list.cli-command.impl.d.ts +17 -0
- package/dist/cli/dns/infra-dns-list.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/dns/infra-dns-list.cli-command.impl.js +66 -0
- package/dist/cli/dns/infra-dns-list.cli-command.impl.js.map +1 -0
- package/dist/cli/dns/infra-dns-set.cli-command.descriptor.d.ts +58 -0
- package/dist/cli/dns/infra-dns-set.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/dns/infra-dns-set.cli-command.descriptor.js +72 -0
- package/dist/cli/dns/infra-dns-set.cli-command.descriptor.js.map +1 -0
- package/dist/cli/dns/infra-dns-set.cli-command.impl.d.ts +14 -0
- package/dist/cli/dns/infra-dns-set.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/dns/infra-dns-set.cli-command.impl.js +110 -0
- package/dist/cli/dns/infra-dns-set.cli-command.impl.js.map +1 -0
- package/dist/cli/dns/infra-dns.cli-group.descriptor.d.ts +41 -0
- package/dist/cli/dns/infra-dns.cli-group.descriptor.d.ts.map +1 -0
- package/dist/cli/dns/infra-dns.cli-group.descriptor.js +47 -0
- package/dist/cli/dns/infra-dns.cli-group.descriptor.js.map +1 -0
- package/dist/cli/dns/resolve-dns-provider.d.ts +24 -0
- package/dist/cli/dns/resolve-dns-provider.d.ts.map +1 -0
- package/dist/cli/dns/resolve-dns-provider.js +62 -0
- package/dist/cli/dns/resolve-dns-provider.js.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-delete.cli-command.descriptor.d.ts +37 -0
- package/dist/cli/edge-tls/infra-edge-tls-delete.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-delete.cli-command.descriptor.js +45 -0
- package/dist/cli/edge-tls/infra-edge-tls-delete.cli-command.descriptor.js.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-delete.cli-command.impl.d.ts +15 -0
- package/dist/cli/edge-tls/infra-edge-tls-delete.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-delete.cli-command.impl.js +78 -0
- package/dist/cli/edge-tls/infra-edge-tls-delete.cli-command.impl.js.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-list.cli-command.descriptor.d.ts +29 -0
- package/dist/cli/edge-tls/infra-edge-tls-list.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-list.cli-command.descriptor.js +35 -0
- package/dist/cli/edge-tls/infra-edge-tls-list.cli-command.descriptor.js.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-list.cli-command.impl.d.ts +19 -0
- package/dist/cli/edge-tls/infra-edge-tls-list.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-list.cli-command.impl.js +73 -0
- package/dist/cli/edge-tls/infra-edge-tls-list.cli-command.impl.js.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.descriptor.d.ts +41 -0
- package/dist/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.descriptor.js +50 -0
- package/dist/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.descriptor.js.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.impl.d.ts +16 -0
- package/dist/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.impl.js +81 -0
- package/dist/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.impl.js.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-set.cli-command.descriptor.d.ts +40 -0
- package/dist/cli/edge-tls/infra-edge-tls-set.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-set.cli-command.descriptor.js +49 -0
- package/dist/cli/edge-tls/infra-edge-tls-set.cli-command.descriptor.js.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-set.cli-command.impl.d.ts +14 -0
- package/dist/cli/edge-tls/infra-edge-tls-set.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-set.cli-command.impl.js +78 -0
- package/dist/cli/edge-tls/infra-edge-tls-set.cli-command.impl.js.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls.cli-group.descriptor.d.ts +12 -0
- package/dist/cli/edge-tls/infra-edge-tls.cli-group.descriptor.d.ts.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls.cli-group.descriptor.js +12 -0
- package/dist/cli/edge-tls/infra-edge-tls.cli-group.descriptor.js.map +1 -0
- package/dist/cli/edge-tls/resolve-edge-tls-provider.d.ts +25 -0
- package/dist/cli/edge-tls/resolve-edge-tls-provider.d.ts.map +1 -0
- package/dist/cli/edge-tls/resolve-edge-tls-provider.js +74 -0
- package/dist/cli/edge-tls/resolve-edge-tls-provider.js.map +1 -0
- package/dist/cli/infra-deploy.cli-group.descriptor.d.ts +8 -8
- package/dist/cli/infra-deploy.cli-group.descriptor.js +1 -1
- package/dist/cli/infra-deploy.cli-group.descriptor.js.map +1 -1
- package/dist/cli/infra.cli-group.descriptor.d.ts +7 -7
- package/dist/cli/infra.cli-group.descriptor.js +1 -1
- package/dist/cli/infra.cli-group.descriptor.js.map +1 -1
- package/dist/cli/inventory/infra-inventory.cli-command.descriptor.d.ts +26 -0
- package/dist/cli/inventory/infra-inventory.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/inventory/infra-inventory.cli-command.descriptor.js +18 -0
- package/dist/cli/inventory/infra-inventory.cli-command.descriptor.js.map +1 -0
- package/dist/cli/inventory/infra-inventory.cli-command.impl.d.ts +18 -0
- package/dist/cli/inventory/infra-inventory.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/inventory/infra-inventory.cli-command.impl.js +204 -0
- package/dist/cli/inventory/infra-inventory.cli-command.impl.js.map +1 -0
- package/dist/cli/list/infra-deploy.list.cli-command.descriptor.d.ts +40 -30
- package/dist/cli/list/infra-deploy.list.cli-command.descriptor.d.ts.map +1 -1
- package/dist/cli/list/infra-deploy.list.cli-command.descriptor.js +7 -3
- package/dist/cli/list/infra-deploy.list.cli-command.descriptor.js.map +1 -1
- package/dist/cli/list/infra-deploy.list.cli-command.impl.d.ts +35 -1
- package/dist/cli/list/infra-deploy.list.cli-command.impl.d.ts.map +1 -1
- package/dist/cli/list/infra-deploy.list.cli-command.impl.js +202 -20
- package/dist/cli/list/infra-deploy.list.cli-command.impl.js.map +1 -1
- package/dist/cli/logs/infra-logs.cli-command.descriptor.d.ts +113 -35
- package/dist/cli/logs/infra-logs.cli-command.descriptor.d.ts.map +1 -1
- package/dist/cli/logs/infra-logs.cli-command.descriptor.js +87 -3
- package/dist/cli/logs/infra-logs.cli-command.descriptor.js.map +1 -1
- package/dist/cli/logs/infra-logs.cli-command.impl.d.ts +61 -1
- package/dist/cli/logs/infra-logs.cli-command.impl.d.ts.map +1 -1
- package/dist/cli/logs/infra-logs.cli-command.impl.js +1160 -111
- package/dist/cli/logs/infra-logs.cli-command.impl.js.map +1 -1
- package/dist/cli/logs/stream-worker-tail.d.ts +7 -2
- package/dist/cli/logs/stream-worker-tail.d.ts.map +1 -1
- package/dist/cli/logs/stream-worker-tail.js +280 -113
- package/dist/cli/logs/stream-worker-tail.js.map +1 -1
- package/dist/cli/migrate/infra-deploy.migrate.cli-command.descriptor.d.ts +62 -0
- package/dist/cli/migrate/infra-deploy.migrate.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/migrate/infra-deploy.migrate.cli-command.descriptor.js +79 -0
- package/dist/cli/migrate/infra-deploy.migrate.cli-command.descriptor.js.map +1 -0
- package/dist/cli/migrate/infra-deploy.migrate.cli-command.impl.d.ts +8 -0
- package/dist/cli/migrate/infra-deploy.migrate.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/migrate/infra-deploy.migrate.cli-command.impl.js +105 -0
- package/dist/cli/migrate/infra-deploy.migrate.cli-command.impl.js.map +1 -0
- package/dist/cli/npm/infra-npm-mirror.cli-command.descriptor.d.ts +34 -0
- package/dist/cli/npm/infra-npm-mirror.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/npm/infra-npm-mirror.cli-command.descriptor.js +42 -0
- package/dist/cli/npm/infra-npm-mirror.cli-command.descriptor.js.map +1 -0
- package/dist/cli/npm/infra-npm-mirror.cli-command.impl.d.ts +13 -0
- package/dist/cli/npm/infra-npm-mirror.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/npm/infra-npm-mirror.cli-command.impl.js +82 -0
- package/dist/cli/npm/infra-npm-mirror.cli-command.impl.js.map +1 -0
- package/dist/cli/npm/infra-npm-publish.cli-command.descriptor.d.ts +80 -23
- package/dist/cli/npm/infra-npm-publish.cli-command.descriptor.d.ts.map +1 -1
- package/dist/cli/npm/infra-npm-publish.cli-command.descriptor.js +48 -16
- package/dist/cli/npm/infra-npm-publish.cli-command.descriptor.js.map +1 -1
- package/dist/cli/npm/infra-npm-publish.cli-command.impl.d.ts +47 -1
- package/dist/cli/npm/infra-npm-publish.cli-command.impl.d.ts.map +1 -1
- package/dist/cli/npm/infra-npm-publish.cli-command.impl.js +532 -351
- package/dist/cli/npm/infra-npm-publish.cli-command.impl.js.map +1 -1
- package/dist/cli/npm/infra-npm-reconcile-latest.cli-command.descriptor.d.ts +28 -0
- package/dist/cli/npm/infra-npm-reconcile-latest.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/npm/infra-npm-reconcile-latest.cli-command.descriptor.js +34 -0
- package/dist/cli/npm/infra-npm-reconcile-latest.cli-command.descriptor.js.map +1 -0
- package/dist/cli/npm/infra-npm-reconcile-latest.cli-command.impl.d.ts +12 -0
- package/dist/cli/npm/infra-npm-reconcile-latest.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/npm/infra-npm-reconcile-latest.cli-command.impl.js +134 -0
- package/dist/cli/npm/infra-npm-reconcile-latest.cli-command.impl.js.map +1 -0
- package/dist/cli/npm/infra-npm.cli-group.descriptor.d.ts +8 -8
- package/dist/cli/npm/infra-npm.cli-group.descriptor.js +1 -1
- package/dist/cli/npm/infra-npm.cli-group.descriptor.js.map +1 -1
- package/dist/cli/npm/mirror-registry-artifacts.d.ts +64 -0
- package/dist/cli/npm/mirror-registry-artifacts.d.ts.map +1 -0
- package/dist/cli/npm/mirror-registry-artifacts.js +114 -0
- package/dist/cli/npm/mirror-registry-artifacts.js.map +1 -0
- package/dist/cli/npm/publish/command-options.d.ts +24 -0
- package/dist/cli/npm/publish/command-options.d.ts.map +1 -0
- package/dist/cli/npm/publish/command-options.js +85 -0
- package/dist/cli/npm/publish/command-options.js.map +1 -0
- package/dist/cli/npm/publish/concurrency.d.ts +19 -0
- package/dist/cli/npm/publish/concurrency.d.ts.map +1 -0
- package/dist/cli/npm/publish/concurrency.js +60 -0
- package/dist/cli/npm/publish/concurrency.js.map +1 -0
- package/dist/cli/npm/publish/consumer-smoke.d.ts +83 -0
- package/dist/cli/npm/publish/consumer-smoke.d.ts.map +1 -0
- package/dist/cli/npm/publish/consumer-smoke.js +371 -0
- package/dist/cli/npm/publish/consumer-smoke.js.map +1 -0
- package/dist/cli/npm/publish/consumer-surfaces.d.ts +81 -0
- package/dist/cli/npm/publish/consumer-surfaces.d.ts.map +1 -0
- package/dist/cli/npm/publish/consumer-surfaces.js +199 -0
- package/dist/cli/npm/publish/consumer-surfaces.js.map +1 -0
- package/dist/cli/npm/publish/external-requirements.d.ts +171 -0
- package/dist/cli/npm/publish/external-requirements.d.ts.map +1 -0
- package/dist/cli/npm/publish/external-requirements.js +365 -0
- package/dist/cli/npm/publish/external-requirements.js.map +1 -0
- package/dist/cli/npm/publish/forge-source-identity.d.ts +64 -0
- package/dist/cli/npm/publish/forge-source-identity.d.ts.map +1 -0
- package/dist/cli/npm/publish/forge-source-identity.js +201 -0
- package/dist/cli/npm/publish/forge-source-identity.js.map +1 -0
- package/dist/cli/npm/publish/fs-paths.d.ts +25 -0
- package/dist/cli/npm/publish/fs-paths.d.ts.map +1 -0
- package/dist/cli/npm/publish/fs-paths.js +87 -0
- package/dist/cli/npm/publish/fs-paths.js.map +1 -0
- package/dist/cli/npm/publish/lease-preflight-answer.d.ts +17 -0
- package/dist/cli/npm/publish/lease-preflight-answer.d.ts.map +1 -0
- package/dist/cli/npm/publish/lease-preflight-answer.js +35 -0
- package/dist/cli/npm/publish/lease-preflight-answer.js.map +1 -0
- package/dist/cli/npm/publish/lease-preflight.d.ts +92 -0
- package/dist/cli/npm/publish/lease-preflight.d.ts.map +1 -0
- package/dist/cli/npm/publish/lease-preflight.js +205 -0
- package/dist/cli/npm/publish/lease-preflight.js.map +1 -0
- package/dist/cli/npm/publish/managed-lease.d.ts +110 -0
- package/dist/cli/npm/publish/managed-lease.d.ts.map +1 -0
- package/dist/cli/npm/publish/managed-lease.js +191 -0
- package/dist/cli/npm/publish/managed-lease.js.map +1 -0
- package/dist/cli/npm/publish/npm-exec.d.ts +148 -0
- package/dist/cli/npm/publish/npm-exec.d.ts.map +1 -0
- package/dist/cli/npm/publish/npm-exec.js +311 -0
- package/dist/cli/npm/publish/npm-exec.js.map +1 -0
- package/dist/cli/npm/publish/package-artifact.d.ts +107 -0
- package/dist/cli/npm/publish/package-artifact.d.ts.map +1 -0
- package/dist/cli/npm/publish/package-artifact.js +418 -0
- package/dist/cli/npm/publish/package-artifact.js.map +1 -0
- package/dist/cli/npm/publish/platform-registry.d.ts +76 -0
- package/dist/cli/npm/publish/platform-registry.d.ts.map +1 -0
- package/dist/cli/npm/publish/platform-registry.js +324 -0
- package/dist/cli/npm/publish/platform-registry.js.map +1 -0
- package/dist/cli/npm/publish/proof-external-closure.d.ts +139 -0
- package/dist/cli/npm/publish/proof-external-closure.d.ts.map +1 -0
- package/dist/cli/npm/publish/proof-external-closure.js +339 -0
- package/dist/cli/npm/publish/proof-external-closure.js.map +1 -0
- package/dist/cli/npm/publish/proof-installed-graph.d.ts +26 -0
- package/dist/cli/npm/publish/proof-installed-graph.d.ts.map +1 -0
- package/dist/cli/npm/publish/proof-installed-graph.js +229 -0
- package/dist/cli/npm/publish/proof-installed-graph.js.map +1 -0
- package/dist/cli/npm/publish/proof-registry.d.ts +74 -0
- package/dist/cli/npm/publish/proof-registry.d.ts.map +1 -0
- package/dist/cli/npm/publish/proof-registry.js +335 -0
- package/dist/cli/npm/publish/proof-registry.js.map +1 -0
- package/dist/cli/npm/publish/proof-source-credentials.d.ts +42 -0
- package/dist/cli/npm/publish/proof-source-credentials.d.ts.map +1 -0
- package/dist/cli/npm/publish/proof-source-credentials.js +129 -0
- package/dist/cli/npm/publish/proof-source-credentials.js.map +1 -0
- package/dist/cli/npm/publish/publish-package.d.ts +66 -0
- package/dist/cli/npm/publish/publish-package.d.ts.map +1 -0
- package/dist/cli/npm/publish/publish-package.js +544 -0
- package/dist/cli/npm/publish/publish-package.js.map +1 -0
- package/dist/cli/npm/publish/publisher-manifest.d.ts +173 -0
- package/dist/cli/npm/publish/publisher-manifest.d.ts.map +1 -0
- package/dist/cli/npm/publish/publisher-manifest.js +79 -0
- package/dist/cli/npm/publish/publisher-manifest.js.map +1 -0
- package/dist/cli/npm/publish/rc-major-exception.d.ts +20 -0
- package/dist/cli/npm/publish/rc-major-exception.d.ts.map +1 -0
- package/dist/cli/npm/publish/rc-major-exception.js +46 -0
- package/dist/cli/npm/publish/rc-major-exception.js.map +1 -0
- package/dist/cli/npm/publish/registry-availability.d.ts +150 -0
- package/dist/cli/npm/publish/registry-availability.d.ts.map +1 -0
- package/dist/cli/npm/publish/registry-availability.js +570 -0
- package/dist/cli/npm/publish/registry-availability.js.map +1 -0
- package/dist/cli/npm/publish/registry-credentials.d.ts +108 -0
- package/dist/cli/npm/publish/registry-credentials.d.ts.map +1 -0
- package/dist/cli/npm/publish/registry-credentials.js +290 -0
- package/dist/cli/npm/publish/registry-credentials.js.map +1 -0
- package/dist/cli/npm/publish/registry-reads.d.ts +42 -0
- package/dist/cli/npm/publish/registry-reads.d.ts.map +1 -0
- package/dist/cli/npm/publish/registry-reads.js +164 -0
- package/dist/cli/npm/publish/registry-reads.js.map +1 -0
- package/dist/cli/npm/publish/release-build.d.ts +46 -0
- package/dist/cli/npm/publish/release-build.d.ts.map +1 -0
- package/dist/cli/npm/publish/release-build.js +140 -0
- package/dist/cli/npm/publish/release-build.js.map +1 -0
- package/dist/cli/npm/publish/release-consumer-proof.d.ts +70 -0
- package/dist/cli/npm/publish/release-consumer-proof.d.ts.map +1 -0
- package/dist/cli/npm/publish/release-consumer-proof.js +397 -0
- package/dist/cli/npm/publish/release-consumer-proof.js.map +1 -0
- package/dist/cli/npm/publish/release-executor.d.ts +46 -0
- package/dist/cli/npm/publish/release-executor.d.ts.map +1 -0
- package/dist/cli/npm/publish/release-executor.js +181 -0
- package/dist/cli/npm/publish/release-executor.js.map +1 -0
- package/dist/cli/npm/publish/release-grants.client.impl.d.ts +10 -0
- package/dist/cli/npm/publish/release-grants.client.impl.d.ts.map +1 -0
- package/dist/cli/npm/publish/release-grants.client.impl.js +63 -0
- package/dist/cli/npm/publish/release-grants.client.impl.js.map +1 -0
- package/dist/cli/npm/publish/release-jobs.client.d.ts +39 -0
- package/dist/cli/npm/publish/release-jobs.client.d.ts.map +1 -0
- package/dist/cli/npm/publish/release-jobs.client.js +124 -0
- package/dist/cli/npm/publish/release-jobs.client.js.map +1 -0
- package/dist/cli/npm/publish/release-jobs.consumer.plugin.d.ts +20 -0
- package/dist/cli/npm/publish/release-jobs.consumer.plugin.d.ts.map +1 -0
- package/dist/cli/npm/publish/release-jobs.consumer.plugin.js +82 -0
- package/dist/cli/npm/publish/release-jobs.consumer.plugin.js.map +1 -0
- package/dist/cli/npm/publish/release-jobs.impl.d.ts +15 -0
- package/dist/cli/npm/publish/release-jobs.impl.d.ts.map +1 -0
- package/dist/cli/npm/publish/release-jobs.impl.js +42 -0
- package/dist/cli/npm/publish/release-jobs.impl.js.map +1 -0
- package/dist/cli/npm/publish/release-lock.d.ts +143 -0
- package/dist/cli/npm/publish/release-lock.d.ts.map +1 -0
- package/dist/cli/npm/publish/release-lock.js +371 -0
- package/dist/cli/npm/publish/release-lock.js.map +1 -0
- package/dist/cli/npm/publish/release-phases.d.ts +93 -0
- package/dist/cli/npm/publish/release-phases.d.ts.map +1 -0
- package/dist/cli/npm/publish/release-phases.js +175 -0
- package/dist/cli/npm/publish/release-phases.js.map +1 -0
- package/dist/cli/npm/publish/release-plan.d.ts +65 -0
- package/dist/cli/npm/publish/release-plan.d.ts.map +1 -0
- package/dist/cli/npm/publish/release-plan.js +178 -0
- package/dist/cli/npm/publish/release-plan.js.map +1 -0
- package/dist/cli/npm/publish/release-preflight.job.impl.d.ts +16 -0
- package/dist/cli/npm/publish/release-preflight.job.impl.d.ts.map +1 -0
- package/dist/cli/npm/publish/release-preflight.job.impl.js +71 -0
- package/dist/cli/npm/publish/release-preflight.job.impl.js.map +1 -0
- package/dist/cli/npm/publish/release-publish.job.impl.d.ts +18 -0
- package/dist/cli/npm/publish/release-publish.job.impl.d.ts.map +1 -0
- package/dist/cli/npm/publish/release-publish.job.impl.js +295 -0
- package/dist/cli/npm/publish/release-publish.job.impl.js.map +1 -0
- package/dist/cli/npm/publish/release-workspace.d.ts +95 -0
- package/dist/cli/npm/publish/release-workspace.d.ts.map +1 -0
- package/dist/cli/npm/publish/release-workspace.js +243 -0
- package/dist/cli/npm/publish/release-workspace.js.map +1 -0
- package/dist/cli/npm/publish/sensitive-temp.d.ts +90 -0
- package/dist/cli/npm/publish/sensitive-temp.d.ts.map +1 -0
- package/dist/cli/npm/publish/sensitive-temp.js +351 -0
- package/dist/cli/npm/publish/sensitive-temp.js.map +1 -0
- package/dist/cli/npm/publish/source-snapshot.d.ts +91 -0
- package/dist/cli/npm/publish/source-snapshot.d.ts.map +1 -0
- package/dist/cli/npm/publish/source-snapshot.js +245 -0
- package/dist/cli/npm/publish/source-snapshot.js.map +1 -0
- package/dist/cli/npm/publish/types.d.ts +69 -0
- package/dist/cli/npm/publish/types.d.ts.map +1 -0
- package/dist/cli/npm/publish/types.js +2 -0
- package/dist/cli/npm/publish/types.js.map +1 -0
- package/dist/cli/npm/publish/workspace-discovery.d.ts +48 -0
- package/dist/cli/npm/publish/workspace-discovery.d.ts.map +1 -0
- package/dist/cli/npm/publish/workspace-discovery.js +313 -0
- package/dist/cli/npm/publish/workspace-discovery.js.map +1 -0
- package/dist/cli/npm/put-attested-packument.d.ts +96 -0
- package/dist/cli/npm/put-attested-packument.d.ts.map +1 -0
- package/dist/cli/npm/put-attested-packument.js +240 -0
- package/dist/cli/npm/put-attested-packument.js.map +1 -0
- package/dist/cli/npm/reconcile-latest.d.ts +55 -0
- package/dist/cli/npm/reconcile-latest.d.ts.map +1 -0
- package/dist/cli/npm/reconcile-latest.js +59 -0
- package/dist/cli/npm/reconcile-latest.js.map +1 -0
- package/dist/cli/observability/blind-spots.d.ts +10 -0
- package/dist/cli/observability/blind-spots.d.ts.map +1 -0
- package/dist/cli/observability/blind-spots.js +19 -0
- package/dist/cli/observability/blind-spots.js.map +1 -0
- package/dist/cli/observability/infra-observability-exports-list.cli-command.impl.d.ts +6 -0
- package/dist/cli/observability/infra-observability-exports-list.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/observability/infra-observability-exports-list.cli-command.impl.js +75 -0
- package/dist/cli/observability/infra-observability-exports-list.cli-command.impl.js.map +1 -0
- package/dist/cli/observability/infra-observability-set.cli-command.descriptor.d.ts +42 -21
- package/dist/cli/observability/infra-observability-set.cli-command.descriptor.d.ts.map +1 -1
- package/dist/cli/observability/infra-observability-set.cli-command.descriptor.js +3 -3
- package/dist/cli/observability/infra-observability-set.cli-command.descriptor.js.map +1 -1
- package/dist/cli/observability/infra-observability-set.cli-command.impl.d.ts +3 -2
- package/dist/cli/observability/infra-observability-set.cli-command.impl.d.ts.map +1 -1
- package/dist/cli/observability/infra-observability-set.cli-command.impl.js +14 -14
- package/dist/cli/observability/infra-observability-set.cli-command.impl.js.map +1 -1
- package/dist/cli/observability/infra-observability-status.cli-command.descriptor.d.ts +25 -17
- package/dist/cli/observability/infra-observability-status.cli-command.descriptor.d.ts.map +1 -1
- package/dist/cli/observability/infra-observability-status.cli-command.descriptor.js +1 -1
- package/dist/cli/observability/infra-observability-status.cli-command.descriptor.js.map +1 -1
- package/dist/cli/observability/infra-observability-status.cli-command.impl.d.ts +2 -1
- package/dist/cli/observability/infra-observability-status.cli-command.impl.d.ts.map +1 -1
- package/dist/cli/observability/infra-observability-status.cli-command.impl.js +30 -23
- package/dist/cli/observability/infra-observability-status.cli-command.impl.js.map +1 -1
- package/dist/cli/observability/infra-observability.cli-group.descriptor.d.ts +8 -8
- package/dist/cli/observability/infra-observability.cli-group.descriptor.js +1 -1
- package/dist/cli/observability/infra-observability.cli-group.descriptor.js.map +1 -1
- package/dist/cli/plugin.d.ts +3 -0
- package/dist/cli/plugin.d.ts.map +1 -0
- package/dist/cli/plugin.js +45 -0
- package/dist/cli/plugin.js.map +1 -0
- package/dist/cli/readiness/infra-deploy.readiness.cli-command.descriptor.d.ts +38 -0
- package/dist/cli/readiness/infra-deploy.readiness.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/readiness/infra-deploy.readiness.cli-command.descriptor.js +43 -0
- package/dist/cli/readiness/infra-deploy.readiness.cli-command.descriptor.js.map +1 -0
- package/dist/cli/readiness/infra-deploy.readiness.cli-command.impl.d.ts +117 -0
- package/dist/cli/readiness/infra-deploy.readiness.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/readiness/infra-deploy.readiness.cli-command.impl.js +678 -0
- package/dist/cli/readiness/infra-deploy.readiness.cli-command.impl.js.map +1 -0
- package/dist/cli/regenerate/infra-deploy.regenerate.cli-command.descriptor.d.ts +37 -23
- package/dist/cli/regenerate/infra-deploy.regenerate.cli-command.descriptor.d.ts.map +1 -1
- package/dist/cli/regenerate/infra-deploy.regenerate.cli-command.descriptor.js +7 -1
- package/dist/cli/regenerate/infra-deploy.regenerate.cli-command.descriptor.js.map +1 -1
- package/dist/cli/regenerate/infra-deploy.regenerate.cli-command.impl.d.ts +2 -1
- package/dist/cli/regenerate/infra-deploy.regenerate.cli-command.impl.d.ts.map +1 -1
- package/dist/cli/regenerate/infra-deploy.regenerate.cli-command.impl.js +100 -25
- package/dist/cli/regenerate/infra-deploy.regenerate.cli-command.impl.js.map +1 -1
- package/dist/cli/release/cli/latest-manifest.d.ts +148 -0
- package/dist/cli/release/cli/latest-manifest.d.ts.map +1 -0
- package/dist/cli/release/cli/latest-manifest.js +152 -0
- package/dist/cli/release/cli/latest-manifest.js.map +1 -0
- package/dist/cli/rollback/infra-deploy.rollback.cli-command.descriptor.d.ts +41 -0
- package/dist/cli/rollback/infra-deploy.rollback.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/rollback/infra-deploy.rollback.cli-command.descriptor.js +49 -0
- package/dist/cli/rollback/infra-deploy.rollback.cli-command.descriptor.js.map +1 -0
- package/dist/cli/rollback/infra-deploy.rollback.cli-command.impl.d.ts +16 -0
- package/dist/cli/rollback/infra-deploy.rollback.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/rollback/infra-deploy.rollback.cli-command.impl.js +52 -0
- package/dist/cli/rollback/infra-deploy.rollback.cli-command.impl.js.map +1 -0
- package/dist/cli/rum/infra-rum-status.cli-command.descriptor.d.ts +19 -17
- package/dist/cli/rum/infra-rum-status.cli-command.descriptor.d.ts.map +1 -1
- package/dist/cli/rum/infra-rum-status.cli-command.descriptor.js +1 -1
- package/dist/cli/rum/infra-rum-status.cli-command.descriptor.js.map +1 -1
- package/dist/cli/rum/infra-rum-status.cli-command.impl.d.ts +2 -1
- package/dist/cli/rum/infra-rum-status.cli-command.impl.d.ts.map +1 -1
- package/dist/cli/rum/infra-rum-status.cli-command.impl.js +21 -15
- package/dist/cli/rum/infra-rum-status.cli-command.impl.js.map +1 -1
- package/dist/cli/rum/infra-rum.cli-group.descriptor.d.ts +8 -8
- package/dist/cli/rum/infra-rum.cli-group.descriptor.js +1 -1
- package/dist/cli/rum/infra-rum.cli-group.descriptor.js.map +1 -1
- package/dist/cli/run/deploy-smoke.d.ts +57 -0
- package/dist/cli/run/deploy-smoke.d.ts.map +1 -0
- package/dist/cli/run/deploy-smoke.js +251 -0
- package/dist/cli/run/deploy-smoke.js.map +1 -0
- package/dist/cli/run/deployment-marker.d.ts +74 -0
- package/dist/cli/run/deployment-marker.d.ts.map +1 -0
- package/dist/cli/run/deployment-marker.js +237 -0
- package/dist/cli/run/deployment-marker.js.map +1 -0
- package/dist/cli/run/deployment-provider.d.ts +56 -0
- package/dist/cli/run/deployment-provider.d.ts.map +1 -0
- package/dist/cli/run/deployment-provider.js +295 -0
- package/dist/cli/run/deployment-provider.js.map +1 -0
- package/dist/cli/run/deployment-run-ledger.d.ts +72 -0
- package/dist/cli/run/deployment-run-ledger.d.ts.map +1 -0
- package/dist/cli/run/deployment-run-ledger.js +164 -0
- package/dist/cli/run/deployment-run-ledger.js.map +1 -0
- package/dist/cli/run/git-source-identity.d.ts +21 -0
- package/dist/cli/run/git-source-identity.d.ts.map +1 -0
- package/dist/cli/run/git-source-identity.js +73 -0
- package/dist/cli/run/git-source-identity.js.map +1 -0
- package/dist/cli/run/immutable-deployment-release.program.d.ts +403 -0
- package/dist/cli/run/immutable-deployment-release.program.d.ts.map +1 -0
- package/dist/cli/run/immutable-deployment-release.program.js +589 -0
- package/dist/cli/run/immutable-deployment-release.program.js.map +1 -0
- package/dist/cli/run/immutable-deployment-workspace.d.ts +39 -0
- package/dist/cli/run/immutable-deployment-workspace.d.ts.map +1 -0
- package/dist/cli/run/immutable-deployment-workspace.js +525 -0
- package/dist/cli/run/immutable-deployment-workspace.js.map +1 -0
- package/dist/cli/run/infra-deploy.run.cli-command.descriptor.d.ts +80 -23
- package/dist/cli/run/infra-deploy.run.cli-command.descriptor.d.ts.map +1 -1
- package/dist/cli/run/infra-deploy.run.cli-command.descriptor.js +50 -8
- package/dist/cli/run/infra-deploy.run.cli-command.descriptor.js.map +1 -1
- package/dist/cli/run/infra-deploy.run.cli-command.impl.d.ts +46 -1
- package/dist/cli/run/infra-deploy.run.cli-command.impl.d.ts.map +1 -1
- package/dist/cli/run/infra-deploy.run.cli-command.impl.js +464 -226
- package/dist/cli/run/infra-deploy.run.cli-command.impl.js.map +1 -1
- package/dist/cli/shared/build-workspace-artifacts.d.ts +147 -0
- package/dist/cli/shared/build-workspace-artifacts.d.ts.map +1 -0
- package/dist/cli/shared/build-workspace-artifacts.js +2013 -0
- package/dist/cli/shared/build-workspace-artifacts.js.map +1 -0
- package/dist/cli/shared/credential-source.d.ts +3 -0
- package/dist/cli/shared/credential-source.d.ts.map +1 -0
- package/dist/cli/shared/credential-source.js +19 -0
- package/dist/cli/shared/credential-source.js.map +1 -0
- package/dist/cli/shared/discover-deployments.d.ts +46 -5
- package/dist/cli/shared/discover-deployments.d.ts.map +1 -1
- package/dist/cli/shared/discover-deployments.js +167 -41
- package/dist/cli/shared/discover-deployments.js.map +1 -1
- package/dist/cli/shared/infer-apex-zone.d.ts +18 -0
- package/dist/cli/shared/infer-apex-zone.d.ts.map +1 -0
- package/dist/cli/shared/infer-apex-zone.js +75 -0
- package/dist/cli/shared/infer-apex-zone.js.map +1 -0
- package/dist/cli/shared/option-strings.d.ts +2 -0
- package/dist/cli/shared/option-strings.d.ts.map +1 -0
- package/dist/cli/shared/option-strings.js +13 -0
- package/dist/cli/shared/option-strings.js.map +1 -0
- package/dist/cli/shared/repository-collection.d.ts +42 -0
- package/dist/cli/shared/repository-collection.d.ts.map +1 -0
- package/dist/cli/shared/repository-collection.js +111 -0
- package/dist/cli/shared/repository-collection.js.map +1 -0
- package/dist/cli/shared/runtime-execution.d.ts +78 -0
- package/dist/cli/shared/runtime-execution.d.ts.map +1 -0
- package/dist/cli/shared/runtime-execution.js +182 -0
- package/dist/cli/shared/runtime-execution.js.map +1 -0
- package/dist/cli/shared/workspace-artifact-lock.d.ts +17 -0
- package/dist/cli/shared/workspace-artifact-lock.d.ts.map +1 -0
- package/dist/cli/shared/workspace-artifact-lock.js +37 -0
- package/dist/cli/shared/workspace-artifact-lock.js.map +1 -0
- package/dist/cli/workers/doks-worker-runtime.d.ts +238 -0
- package/dist/cli/workers/doks-worker-runtime.d.ts.map +1 -0
- package/dist/cli/workers/doks-worker-runtime.js +410 -0
- package/dist/cli/workers/doks-worker-runtime.js.map +1 -0
- package/dist/cli/workers/infra-workers-apply.cli-command.descriptor.d.ts +28 -0
- package/dist/cli/workers/infra-workers-apply.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/workers/infra-workers-apply.cli-command.descriptor.js +28 -0
- package/dist/cli/workers/infra-workers-apply.cli-command.descriptor.js.map +1 -0
- package/dist/cli/workers/infra-workers-apply.cli-command.impl.d.ts +6 -0
- package/dist/cli/workers/infra-workers-apply.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/workers/infra-workers-apply.cli-command.impl.js +75 -0
- package/dist/cli/workers/infra-workers-apply.cli-command.impl.js.map +1 -0
- package/dist/cli/workers/infra-workers-build.cli-command.descriptor.d.ts +31 -0
- package/dist/cli/workers/infra-workers-build.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/workers/infra-workers-build.cli-command.descriptor.js +32 -0
- package/dist/cli/workers/infra-workers-build.cli-command.descriptor.js.map +1 -0
- package/dist/cli/workers/infra-workers-build.cli-command.impl.d.ts +6 -0
- package/dist/cli/workers/infra-workers-build.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/workers/infra-workers-build.cli-command.impl.js +67 -0
- package/dist/cli/workers/infra-workers-build.cli-command.impl.js.map +1 -0
- package/dist/cli/workers/infra-workers-logs.cli-command.descriptor.d.ts +48 -0
- package/dist/cli/workers/infra-workers-logs.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/workers/infra-workers-logs.cli-command.descriptor.js +60 -0
- package/dist/cli/workers/infra-workers-logs.cli-command.descriptor.js.map +1 -0
- package/dist/cli/workers/infra-workers-logs.cli-command.impl.d.ts +6 -0
- package/dist/cli/workers/infra-workers-logs.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/workers/infra-workers-logs.cli-command.impl.js +74 -0
- package/dist/cli/workers/infra-workers-logs.cli-command.impl.js.map +1 -0
- package/dist/cli/workers/infra-workers.cli-group.descriptor.d.ts +12 -0
- package/dist/cli/workers/infra-workers.cli-group.descriptor.d.ts.map +1 -0
- package/dist/cli/workers/infra-workers.cli-group.descriptor.js +12 -0
- package/dist/cli/workers/infra-workers.cli-group.descriptor.js.map +1 -0
- package/dist/config-loader.d.ts +60 -13
- package/dist/config-loader.d.ts.map +1 -1
- package/dist/config-loader.js +371 -104
- package/dist/config-loader.js.map +1 -1
- package/dist/declared-provider.d.ts +27 -0
- package/dist/declared-provider.d.ts.map +1 -0
- package/dist/declared-provider.js +46 -0
- package/dist/declared-provider.js.map +1 -0
- package/dist/deployment-collisions.d.ts +55 -0
- package/dist/deployment-collisions.d.ts.map +1 -0
- package/dist/deployment-collisions.js +70 -0
- package/dist/deployment-collisions.js.map +1 -0
- package/dist/deployment-environment.d.ts +57 -0
- package/dist/deployment-environment.d.ts.map +1 -0
- package/dist/deployment-environment.js +198 -0
- package/dist/deployment-environment.js.map +1 -0
- package/dist/deployment-settings.d.ts +27 -0
- package/dist/deployment-settings.d.ts.map +1 -0
- package/dist/deployment-settings.js +52 -0
- package/dist/deployment-settings.js.map +1 -0
- package/dist/deployment.config.descriptor.d.ts +59 -0
- package/dist/deployment.config.descriptor.d.ts.map +1 -0
- package/dist/deployment.config.descriptor.js +54 -0
- package/dist/deployment.config.descriptor.js.map +1 -0
- package/dist/descriptors/observability/infra-observability-exports-list.cli-command.descriptor.d.ts +29 -0
- package/dist/descriptors/observability/infra-observability-exports-list.cli-command.descriptor.d.ts.map +1 -0
- package/dist/descriptors/observability/infra-observability-exports-list.cli-command.descriptor.js +35 -0
- package/dist/descriptors/observability/infra-observability-exports-list.cli-command.descriptor.js.map +1 -0
- package/dist/descriptors/observability/infra-observability-exports.cli-group.descriptor.d.ts +12 -0
- package/dist/descriptors/observability/infra-observability-exports.cli-group.descriptor.d.ts.map +1 -0
- package/dist/descriptors/observability/infra-observability-exports.cli-group.descriptor.js +12 -0
- package/dist/descriptors/observability/infra-observability-exports.cli-group.descriptor.js.map +1 -0
- package/dist/index.d.ts +11 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +11 -3
- package/dist/index.js.map +1 -1
- package/dist/infra-deploy.plugin.d.ts +2 -2
- package/dist/infra-deploy.plugin.d.ts.map +1 -1
- package/dist/infra-deploy.plugin.js +63 -20
- package/dist/infra-deploy.plugin.js.map +1 -1
- package/dist/logger.d.ts +10 -0
- package/dist/logger.d.ts.map +1 -0
- package/dist/logger.js +11 -0
- package/dist/logger.js.map +1 -0
- package/dist/migrations/migrate-workspace.d.ts +21 -0
- package/dist/migrations/migrate-workspace.d.ts.map +1 -0
- package/dist/migrations/migrate-workspace.js +83 -0
- package/dist/migrations/migrate-workspace.js.map +1 -0
- package/dist/migrations/run-migrate.d.ts +15 -0
- package/dist/migrations/run-migrate.d.ts.map +1 -0
- package/dist/migrations/run-migrate.js +314 -0
- package/dist/migrations/run-migrate.js.map +1 -0
- package/dist/regenerate.d.ts +52 -30
- package/dist/regenerate.d.ts.map +1 -1
- package/dist/regenerate.js +176 -148
- package/dist/regenerate.js.map +1 -1
- package/dist/runtime-execution.d.ts +5 -0
- package/dist/runtime-execution.d.ts.map +1 -0
- package/dist/runtime-execution.js +12 -0
- package/dist/runtime-execution.js.map +1 -0
- package/dist/schemas/migrate.d.ts +110 -0
- package/dist/schemas/migrate.d.ts.map +1 -0
- package/dist/schemas/migrate.js +55 -0
- package/dist/schemas/migrate.js.map +1 -0
- package/dist/schemas/proof-registry.d.ts +25 -0
- package/dist/schemas/proof-registry.d.ts.map +1 -0
- package/dist/schemas/proof-registry.js +24 -0
- package/dist/schemas/proof-registry.js.map +1 -0
- package/dist/schemas/release-grants.d.ts +7 -0
- package/dist/schemas/release-grants.d.ts.map +1 -0
- package/dist/schemas/release-grants.js +6 -0
- package/dist/schemas/release-grants.js.map +1 -0
- package/dist/schemas/release-jobs.d.ts +444 -0
- package/dist/schemas/release-jobs.d.ts.map +1 -0
- package/dist/schemas/release-jobs.js +204 -0
- package/dist/schemas/release-jobs.js.map +1 -0
- package/dist/schemas/service-release.d.ts +15 -0
- package/dist/schemas/service-release.d.ts.map +1 -0
- package/dist/schemas/service-release.js +13 -0
- package/dist/schemas/service-release.js.map +1 -0
- package/dist/schemas/worker-logs.d.ts +42 -0
- package/dist/schemas/worker-logs.d.ts.map +1 -0
- package/dist/schemas/worker-logs.js +29 -0
- package/dist/schemas/worker-logs.js.map +1 -0
- package/dist/storage/deployment-runs.schema.d.ts +199 -0
- package/dist/storage/deployment-runs.schema.d.ts.map +1 -0
- package/dist/storage/deployment-runs.schema.js +61 -0
- package/dist/storage/deployment-runs.schema.js.map +1 -0
- package/dist/storage/deployment-runs.storage.descriptor.d.ts +4 -0
- package/dist/storage/deployment-runs.storage.descriptor.d.ts.map +1 -0
- package/dist/storage/deployment-runs.storage.descriptor.js +36 -0
- package/dist/storage/deployment-runs.storage.descriptor.js.map +1 -0
- package/package.json +107 -38
- package/src/cli/alerts/infra-alerts-create.cli-command.descriptor.ts +0 -61
- package/src/cli/alerts/infra-alerts-create.cli-command.impl.ts +0 -131
- package/src/cli/alerts/infra-alerts-delete.cli-command.descriptor.ts +0 -36
- package/src/cli/alerts/infra-alerts-delete.cli-command.impl.ts +0 -75
- package/src/cli/alerts/infra-alerts-list.cli-command.descriptor.ts +0 -27
- package/src/cli/alerts/infra-alerts-list.cli-command.impl.ts +0 -88
- package/src/cli/alerts/infra-alerts.cli-group.descriptor.ts +0 -12
- package/src/cli/audit/infra-audit.cli-command.descriptor.ts +0 -28
- package/src/cli/audit/infra-audit.cli-command.impl.ts +0 -293
- package/src/cli/infra-deploy.cli-group.descriptor.ts +0 -12
- package/src/cli/infra.cli-group.descriptor.ts +0 -11
- package/src/cli/list/infra-deploy.list.cli-command.descriptor.ts +0 -29
- package/src/cli/list/infra-deploy.list.cli-command.impl.ts +0 -125
- package/src/cli/logs/infra-logs.cli-command.descriptor.ts +0 -65
- package/src/cli/logs/infra-logs.cli-command.impl.ts +0 -354
- package/src/cli/logs/stream-worker-tail.ts +0 -202
- package/src/cli/npm/infra-npm-publish.cli-command.descriptor.ts +0 -75
- package/src/cli/npm/infra-npm-publish.cli-command.impl.ts +0 -474
- package/src/cli/npm/infra-npm.cli-group.descriptor.ts +0 -12
- package/src/cli/observability/infra-observability-set.cli-command.descriptor.ts +0 -57
- package/src/cli/observability/infra-observability-set.cli-command.impl.ts +0 -173
- package/src/cli/observability/infra-observability-status.cli-command.descriptor.ts +0 -35
- package/src/cli/observability/infra-observability-status.cli-command.impl.ts +0 -124
- package/src/cli/observability/infra-observability.cli-group.descriptor.ts +0 -12
- package/src/cli/regenerate/infra-deploy.regenerate.cli-command.descriptor.ts +0 -36
- package/src/cli/regenerate/infra-deploy.regenerate.cli-command.impl.ts +0 -103
- package/src/cli/rum/infra-rum-status.cli-command.descriptor.ts +0 -27
- package/src/cli/rum/infra-rum-status.cli-command.impl.ts +0 -112
- package/src/cli/rum/infra-rum.cli-group.descriptor.ts +0 -12
- package/src/cli/run/infra-deploy.run.cli-command.descriptor.ts +0 -49
- package/src/cli/run/infra-deploy.run.cli-command.impl.ts +0 -330
- package/src/cli/shared/discover-deployments.ts +0 -127
- package/src/config-loader.ts +0 -179
- package/src/index.ts +0 -11
- package/src/infra-deploy.plugin.ts +0 -83
- package/src/regenerate.ts +0 -230
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `downloads/cli/latest.json` — the release artifact `vibes update --self`
|
|
3
|
+
* reads (plan §5.1, WU-12 row 12).
|
|
4
|
+
*
|
|
5
|
+
* ### One writer, one reader, and the reader is the schema that matters
|
|
6
|
+
*
|
|
7
|
+
* The SHIPPING READER is `parseLatestManifest` / `selectAsset` in
|
|
8
|
+
* `@vibesdotdev/plugins` `src/cli/self-update.ts`. It is deliberately
|
|
9
|
+
* hand-written and defensive because a release manifest fetched over the
|
|
10
|
+
* network is untrusted input, and it is NOT imported here: `@vibesdotdev/plugins`
|
|
11
|
+
* is the host that mounts this package's CLI group, so a dependency edge from
|
|
12
|
+
* `infra-deploy` back to it would invert the composition layering for the sake
|
|
13
|
+
* of a type.
|
|
14
|
+
*
|
|
15
|
+
* The two are therefore held together by an executable proof rather than by a
|
|
16
|
+
* shared symbol, and the proof lives in the one package that already depends on
|
|
17
|
+
* BOTH — the CLI binary that ships them together:
|
|
18
|
+
*
|
|
19
|
+
* `apps/cli-bin/src/__tests__/release-latest-manifest.contract.test.ts`
|
|
20
|
+
*
|
|
21
|
+
* imports `buildLatestManifest` from here (via this package's
|
|
22
|
+
* `./release/latest-manifest` export) and `parseLatestManifest` / `selectAsset`
|
|
23
|
+
* from `@vibesdotdev/plugins/cli/self-update`, feeds the reader the exact bytes
|
|
24
|
+
* this module writes, and asserts the version, every selected asset URL, every
|
|
25
|
+
* sha256, and that both halves reject the same broken manifest. A schema drift
|
|
26
|
+
* this file's own zod check accepts but the shipping reader silently drops
|
|
27
|
+
* fails `bun test` in cli-bin — no network, no built matrix, no credential.
|
|
28
|
+
*
|
|
29
|
+
* WHAT THAT TEST DOES NOT COVER, stated so nobody mistakes it for coverage it
|
|
30
|
+
* has not got: the END-TO-END path — publish, serve, `vibes update --self`
|
|
31
|
+
* fetches the URL and names the digest it would verify — is NOT automated. It
|
|
32
|
+
* was measured by hand on 2026-08-31 against the real six-target `dist/` served
|
|
33
|
+
* over loopback (WU-12 receipt). The place to automate it is a
|
|
34
|
+
* `release.latest-manifest` case in `cli-bin/scripts/smoke-shipping.ts`, which
|
|
35
|
+
* runs the shipping binary; that case does not exist yet and cli-bin owns
|
|
36
|
+
* adding it.
|
|
37
|
+
*
|
|
38
|
+
* `LatestManifestSchema` below is the WRITER's contract: the release command
|
|
39
|
+
* validates its own output before writing, so a malformed `latest.json` is
|
|
40
|
+
* never published in the first place. It is intentionally a strict superset of
|
|
41
|
+
* nothing — every field the reader requires is required here, in the reader's
|
|
42
|
+
* spelling.
|
|
43
|
+
*
|
|
44
|
+
* ### Why `platform`/`arch` are Node spellings and not the release target id
|
|
45
|
+
*
|
|
46
|
+
* `selectAsset` matches on `process.platform` / `process.arch` of the running
|
|
47
|
+
* binary (`darwin|linux|win32` × `arm64|x64`). The release target ids in
|
|
48
|
+
* `build.ts` happen to be `<platform>-<arch>` in exactly those spellings, so
|
|
49
|
+
* the split is mechanical — but it is done ONCE, here, and asserted, rather
|
|
50
|
+
* than left as a coincidence two files rely on.
|
|
51
|
+
*
|
|
52
|
+
* ### Why the URL is absolute
|
|
53
|
+
*
|
|
54
|
+
* `--self` fetches `asset.url` directly. A relative key would make the reader
|
|
55
|
+
* re-derive the origin, which is how a mirror (`VIBES_MIRROR`) silently starts
|
|
56
|
+
* downloading from production. The manifest names the exact bytes it was
|
|
57
|
+
* generated for, origin included.
|
|
58
|
+
*/
|
|
59
|
+
import { z } from 'zod';
|
|
60
|
+
/** Object key (and local filename) of the release manifest. */
|
|
61
|
+
export const LATEST_MANIFEST_FILENAME = 'latest.json';
|
|
62
|
+
const NODE_PLATFORMS = ['darwin', 'linux', 'win32'];
|
|
63
|
+
const NODE_ARCHES = ['arm64', 'x64'];
|
|
64
|
+
export const LatestManifestAssetSchema = z.object({
|
|
65
|
+
/** `process.platform` of the binary this asset runs on. */
|
|
66
|
+
platform: z.enum(NODE_PLATFORMS),
|
|
67
|
+
/** `process.arch` of the binary this asset runs on. */
|
|
68
|
+
arch: z.enum(NODE_ARCHES),
|
|
69
|
+
/** Absolute download URL. */
|
|
70
|
+
url: z.url(),
|
|
71
|
+
/** Lowercase hex sha256 — the same digest `SHA256SUMS.txt` carries. */
|
|
72
|
+
sha256: z.string().regex(/^[0-9a-f]{64}$/),
|
|
73
|
+
size: z.number().int().positive()
|
|
74
|
+
});
|
|
75
|
+
export const LatestManifestSchema = z.object({
|
|
76
|
+
version: z.string().min(1),
|
|
77
|
+
/** ISO-8601 instant the manifest was generated. */
|
|
78
|
+
generatedAt: z.string().min(1),
|
|
79
|
+
assets: z.array(LatestManifestAssetSchema).min(1)
|
|
80
|
+
});
|
|
81
|
+
/**
|
|
82
|
+
* Split a release target id (`darwin-arm64`, `win32-x64`) into the
|
|
83
|
+
* `process.platform` / `process.arch` pair `selectAsset` matches on.
|
|
84
|
+
* Returns `null` for an id this manifest cannot describe, so an unknown target
|
|
85
|
+
* is DROPPED with a named reason rather than published as an asset no reader
|
|
86
|
+
* can select.
|
|
87
|
+
*/
|
|
88
|
+
export function splitReleaseTargetId(id) {
|
|
89
|
+
const separator = id.lastIndexOf('-');
|
|
90
|
+
if (separator <= 0)
|
|
91
|
+
return null;
|
|
92
|
+
const platformRaw = id.slice(0, separator);
|
|
93
|
+
const archRaw = id.slice(separator + 1);
|
|
94
|
+
const parsedPlatform = LatestManifestAssetSchema.shape.platform.safeParse(platformRaw);
|
|
95
|
+
if (!parsedPlatform.success)
|
|
96
|
+
return null;
|
|
97
|
+
const parsedArch = LatestManifestAssetSchema.shape.arch.safeParse(archRaw);
|
|
98
|
+
if (!parsedArch.success)
|
|
99
|
+
return null;
|
|
100
|
+
return {
|
|
101
|
+
platform: parsedPlatform.data,
|
|
102
|
+
arch: parsedArch.data
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Build (and validate) the release manifest.
|
|
107
|
+
*
|
|
108
|
+
* Throws when the result would not satisfy {@link LatestManifestSchema} —
|
|
109
|
+
* including the case where every target was skipped, because an assets-less
|
|
110
|
+
* manifest is one the shipping reader rejects with `lists no verifiable
|
|
111
|
+
* assets`, and publishing it would replace a working manifest with a broken
|
|
112
|
+
* one.
|
|
113
|
+
*/
|
|
114
|
+
export function buildLatestManifest(input) {
|
|
115
|
+
const assets = [];
|
|
116
|
+
const skipped = [];
|
|
117
|
+
const base = input.baseUrl.replace(/\/+$/, '');
|
|
118
|
+
for (const { targetId, record } of input.binaries) {
|
|
119
|
+
const split = splitReleaseTargetId(targetId);
|
|
120
|
+
if (!split) {
|
|
121
|
+
skipped.push({
|
|
122
|
+
targetId,
|
|
123
|
+
reason: `not a <process.platform>-<process.arch> pair (${NODE_PLATFORMS.join('|')} × ${NODE_ARCHES.join('|')})`
|
|
124
|
+
});
|
|
125
|
+
continue;
|
|
126
|
+
}
|
|
127
|
+
assets.push({
|
|
128
|
+
platform: split.platform,
|
|
129
|
+
arch: split.arch,
|
|
130
|
+
url: `${base}/${record.name}`,
|
|
131
|
+
sha256: record.sha256,
|
|
132
|
+
size: record.size
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
const candidate = {
|
|
136
|
+
version: input.version,
|
|
137
|
+
generatedAt: (input.now ?? new Date()).toISOString(),
|
|
138
|
+
assets
|
|
139
|
+
};
|
|
140
|
+
const parsed = LatestManifestSchema.safeParse(candidate);
|
|
141
|
+
if (!parsed.success) {
|
|
142
|
+
throw new Error(`latest.json would not validate against its own schema: ${parsed.error.issues
|
|
143
|
+
.map((issue) => `${issue.path.join('.') || '(root)'}: ${issue.message}`)
|
|
144
|
+
.join('; ')}`);
|
|
145
|
+
}
|
|
146
|
+
return {
|
|
147
|
+
manifest: parsed.data,
|
|
148
|
+
skipped,
|
|
149
|
+
json: `${JSON.stringify(parsed.data, null, 2)}\n`
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
//# s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y.rollback";
|
|
3
|
+
readonly kind: "cli/command";
|
|
4
|
+
readonly name: "rollback";
|
|
5
|
+
readonly description: string;
|
|
6
|
+
readonly group: "infra-deploy";
|
|
7
|
+
readonly arguments: [{
|
|
8
|
+
readonly name: "path";
|
|
9
|
+
readonly description: "App directory that declares the deployment (defaults to cwd)";
|
|
10
|
+
readonly required: false;
|
|
11
|
+
readonly variadic: false;
|
|
12
|
+
}];
|
|
13
|
+
readonly options: [{
|
|
14
|
+
readonly flags: "--to <version-id>";
|
|
15
|
+
readonly description: "Version to serve at 100% (must appear in the version list)";
|
|
16
|
+
}, {
|
|
17
|
+
readonly flags: "--message <text>";
|
|
18
|
+
readonly description: "Deployment message recorded with the rollback";
|
|
19
|
+
}, {
|
|
20
|
+
readonly flags: "--environment <name>";
|
|
21
|
+
readonly description: "Vibes environment: selects the deployed unit (as deploy does) and its provider credentials";
|
|
22
|
+
}, {
|
|
23
|
+
readonly flags: "--accept-current-container-image";
|
|
24
|
+
readonly description: "Required when the deployed unit declares containers: their image does not roll back";
|
|
25
|
+
}, {
|
|
26
|
+
readonly flags: "--dry-run";
|
|
27
|
+
readonly description: "List versions and print the provider command without changing traffic";
|
|
28
|
+
}, {
|
|
29
|
+
readonly flags: "-y, --yes";
|
|
30
|
+
readonly description: "Required to change traffic (non-interactive write gate)";
|
|
31
|
+
}, {
|
|
32
|
+
readonly flags: "-o, --output <format>";
|
|
33
|
+
readonly description: "Output format (text|json)";
|
|
34
|
+
readonly default: "text";
|
|
35
|
+
}];
|
|
36
|
+
readonly surfaces: ["cli"];
|
|
37
|
+
readonly hardware: ["consumer", "cloud"];
|
|
38
|
+
readonly enabled: true;
|
|
39
|
+
};
|
|
40
|
+
export default _default;
|
|
41
|
+
//# sourceMappingURL=infra-deploy.rollback.cli-command.descriptor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"infra-deploy.rollback.cli-command.descriptor.d.ts","sourceRoot":"","sources":["../../../src/cli/rollback/infra-deploy.rollback.cli-command.descriptor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAiDG"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { createRuntimeAsset } from '@vibesdotdev/kernel';
|
|
2
|
+
export default createRuntimeAsset({
|
|
3
|
+
id: 'infra-deploy.rollback',
|
|
4
|
+
kind: 'cli/command',
|
|
5
|
+
name: 'rollback',
|
|
6
|
+
description: "Return an app to a previously deployed version through its deployment provider. Lists " +
|
|
7
|
+
'recent versions and deployments; --dry-run prints the exact provider command; ' +
|
|
8
|
+
'executing requires --to <version-id> and --yes.',
|
|
9
|
+
group: 'infra-deploy',
|
|
10
|
+
arguments: [
|
|
11
|
+
{
|
|
12
|
+
name: 'path',
|
|
13
|
+
description: 'App directory that declares the deployment (defaults to cwd)',
|
|
14
|
+
required: false,
|
|
15
|
+
variadic: false
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
options: [
|
|
19
|
+
{
|
|
20
|
+
flags: '--to <version-id>',
|
|
21
|
+
description: 'Version to serve at 100% (must appear in the version list)'
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
flags: '--message <text>',
|
|
25
|
+
description: 'Deployment message recorded with the rollback'
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
flags: '--environment <name>',
|
|
29
|
+
description: 'Vibes environment: selects the deployed unit (as deploy does) and its provider credentials'
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
flags: '--accept-current-container-image',
|
|
33
|
+
description: 'Required when the deployed unit declares containers: their image does not roll back'
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
flags: '--dry-run',
|
|
37
|
+
description: 'List versions and print the provider command without changing traffic'
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
flags: '-y, --yes',
|
|
41
|
+
description: 'Required to change traffic (non-interactive write gate)'
|
|
42
|
+
},
|
|
43
|
+
{ flags: '-o, --output <format>', description: 'Output format (text|json)', default: 'text' }
|
|
44
|
+
],
|
|
45
|
+
surfaces: ['cli'],
|
|
46
|
+
hardware: ['consumer', 'cloud'],
|
|
47
|
+
enabled: true
|
|
48
|
+
});
|
|
49
|
+
//# sourceMappingURL=infra-deploy.rollback.cli-command.descriptor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"infra-deploy.rollback.cli-command.descriptor.js","sourceRoot":"","sources":["../../../src/cli/rollback/infra-deploy.rollback.cli-command.descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD,eAAe,kBAAkB,CAAC;IACjC,EAAE,EAAE,uBAAuB;IAC3B,IAAI,EAAE,aAAa;IACnB,IAAI,EAAE,UAAU;IAChB,WAAW,EACV,wFAAwF;QACxF,gFAAgF;QAChF,iDAAiD;IAClD,KAAK,EAAE,cAAc;IACrB,SAAS,EAAE;QACV;YACC,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,8DAA8D;YAC3E,QAAQ,EAAE,KAAK;YACf,QAAQ,EAAE,KAAK;SACf;KACD;IACD,OAAO,EAAE;QACR;YACC,KAAK,EAAE,mBAAmB;YAC1B,WAAW,EAAE,4DAA4D;SACzE;QACD;YACC,KAAK,EAAE,kBAAkB;YACzB,WAAW,EAAE,+CAA+C;SAC5D;QACD;YACC,KAAK,EAAE,sBAAsB;YAC7B,WAAW,EACV,4FAA4F;SAC7F;QACD;YACC,KAAK,EAAE,kCAAkC;YACzC,WAAW,EACV,qFAAqF;SACtF;QACD;YACC,KAAK,EAAE,WAAW;YAClB,WAAW,EAAE,uEAAuE;SACpF;QACD;YACC,KAAK,EAAE,WAAW;YAClB,WAAW,EAAE,yDAAyD;SACtE;QACD,EAAE,KAAK,EAAE,uBAAuB,EAAE,WAAW,EAAE,2BAA2B,EAAE,OAAO,EAAE,MAAM,EAAE;KAC7F;IACD,QAAQ,EAAE,CAAC,KAAK,CAAC;IACjB,QAAQ,EAAE,CAAC,UAAU,EAAE,OAAO,CAAC;IAC/B,OAAO,EAAE,IAAI;CACb,CAAC,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `vibes infra deploy rollback` — return an app to a known deployed version.
|
|
3
|
+
*
|
|
4
|
+
* A failed deploy must be recoverable through the same owner that deployed it.
|
|
5
|
+
* Before this command the only lever was a direct provider call, which is how
|
|
6
|
+
* the 2026-09-25 Forge CI worker restore had to be done. The app's
|
|
7
|
+
* `infra/deployment-provider` owns its versions and the command that serves
|
|
8
|
+
* one; credentials resolve exactly as deploy resolves them and never enter
|
|
9
|
+
* process.env. A provider that keeps no versions refuses.
|
|
10
|
+
*/
|
|
11
|
+
import type { CommandContext, CommandOptions } from '@vibesdotdev/cli';
|
|
12
|
+
declare const _default: {
|
|
13
|
+
execute(args: CommandOptions, opts: CommandOptions, context: CommandContext): Promise<void>;
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
16
|
+
//# sourceMappingURL=infra-deploy.rollback.cli-command.impl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"infra-deploy.rollback.cli-command.impl.d.ts","sourceRoot":"","sources":["../../../src/cli/rollback/infra-deploy.rollback.cli-command.impl.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAIH,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;;kBAW/D,cAAc,QACd,cAAc,WACX,cAAc,GACrB,OAAO,CAAC,IAAI,CAAC;;AALjB,wBAsCE"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `vibes infra deploy rollback` — return an app to a known deployed version.
|
|
3
|
+
*
|
|
4
|
+
* A failed deploy must be recoverable through the same owner that deployed it.
|
|
5
|
+
* Before this command the only lever was a direct provider call, which is how
|
|
6
|
+
* the 2026-09-25 Forge CI worker restore had to be done. The app's
|
|
7
|
+
* `infra/deployment-provider` owns its versions and the command that serves
|
|
8
|
+
* one; credentials resolve exactly as deploy resolves them and never enter
|
|
9
|
+
* process.env. A provider that keeps no versions refuses.
|
|
10
|
+
*/
|
|
11
|
+
import { getRuntimePath } from '@vibesdotdev/paths';
|
|
12
|
+
import { requireRuntimeCwd } from '@vibesdotdev/kernel';
|
|
13
|
+
import { DeploymentRollbackOutcomeSchema } from '@vibesdotdev/infra-core/kinds';
|
|
14
|
+
import { loadDeploymentConfig } from "../../config-loader.js";
|
|
15
|
+
import { normalizeDeploymentEnvironment } from '@vibesdotdev/infra-core/deployment-environment';
|
|
16
|
+
import { deploymentModuleEvaluation, providerOptions, resolveDeploymentProvider } from "../run/deployment-provider.js";
|
|
17
|
+
import { readCredentialSource } from "../shared/credential-source.js";
|
|
18
|
+
import { readString } from "../shared/option-strings.js";
|
|
19
|
+
export default {
|
|
20
|
+
async execute(args, opts, context) {
|
|
21
|
+
const { runtime } = context;
|
|
22
|
+
const ui = await runtime.context('cli/ui');
|
|
23
|
+
const paths = await getRuntimePath(runtime);
|
|
24
|
+
const appDir = paths.resolve(requireRuntimeCwd(runtime), readString(args.path) ?? '.');
|
|
25
|
+
const loaded = await loadDeploymentConfig(appDir, { runtime, projectionEnvironment: {} });
|
|
26
|
+
const { implementation } = await resolveDeploymentProvider(runtime, loaded.provider);
|
|
27
|
+
const outcome = DeploymentRollbackOutcomeSchema.parse(await implementation.rollback({
|
|
28
|
+
appDir: loaded.appDir,
|
|
29
|
+
deployment: loaded.deployment,
|
|
30
|
+
module: deploymentModuleEvaluation(loaded),
|
|
31
|
+
environment: normalizeDeploymentEnvironment(readString(opts.environment)),
|
|
32
|
+
credentialSource: readCredentialSource(opts),
|
|
33
|
+
to: readString(opts.to),
|
|
34
|
+
message: readString(opts.message),
|
|
35
|
+
dryRun: opts.dryRun === true,
|
|
36
|
+
yes: opts.yes === true,
|
|
37
|
+
options: providerOptions(opts),
|
|
38
|
+
log: ui
|
|
39
|
+
}));
|
|
40
|
+
if (readString(opts.output) === 'json') {
|
|
41
|
+
ui.json(outcome);
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
ui.info(`${outcome.unit}: serving ${outcome.serving
|
|
45
|
+
.map((entry) => `${entry.versionId}@${entry.percentage}%`)
|
|
46
|
+
.join(', ') || 'unknown'}`);
|
|
47
|
+
for (const version of outcome.versions.slice(-10)) {
|
|
48
|
+
ui.log(` ${version.id} ${version.createdOn ?? ''} ${version.message ?? ''}`);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
//# sourceMappingURL=infra-deploy.rollback.cli-command.impl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"infra-deploy.rollback.cli-command.impl.js","sourceRoot":"","sources":["../../../src/cli/rollback/infra-deploy.rollback.cli-command.impl.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAGxD,OAAO,EAAE,+BAA+B,EAAE,MAAM,+BAA+B,CAAC;AAChF,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAChG,OAAO,EAAE,0BAA0B,EAAE,eAAe,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AACvH,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAEzD,eAAe;IACd,KAAK,CAAC,OAAO,CACZ,IAAoB,EACpB,IAAoB,EACpB,OAAuB;QAEvB,MAAM,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC;QAC5B,MAAM,EAAE,GAAG,MAAM,OAAO,CAAC,OAAO,CAAY,QAAQ,CAAC,CAAC;QACtD,MAAM,KAAK,GAAG,MA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C,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,GAAG,KAAK,CAAC,SAAS,IAAI,KAAK,CAAC,UAAU,GAAG,CAAC;aACzD,IAAI,CAAC,IAAI,CAAC,IAAI,SAAS,EAAE,CAC3B,CAAC;QACF,KAAK,MAAM,OAAO,IAAI,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC;YACnD,EAAE,CAAC,GAAG,CAAC,KAAK,OAAO,CAAC,EAAE,KAAK,OAAO,CAAC,SAAS,IAAI,EAAE,KAAK,OAAO,CAAC,OAAO,IAAI,EAAE,EAAE,CAAC,CAAC;QACjF,CAAC;IACF,CAAC;CACD,CAAC"}
|
|
@@ -1,21 +1,23 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
id:
|
|
3
|
-
kind: "cli/command";
|
|
4
|
-
name:
|
|
5
|
-
description:
|
|
6
|
-
group:
|
|
7
|
-
options:
|
|
8
|
-
flags:
|
|
9
|
-
description:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
2
|
+
readonly id: "infra-rum.status";
|
|
3
|
+
readonly kind: "cli/command";
|
|
4
|
+
readonly name: "status";
|
|
5
|
+
readonly description: "List configured RUM sites + injection mode across providers";
|
|
6
|
+
readonly group: "infra-rum";
|
|
7
|
+
readonly options: [{
|
|
8
|
+
readonly flags: "--provider <id>";
|
|
9
|
+
readonly description: "Provider impl id (default: cloudflare-web-analytics)";
|
|
10
|
+
}, {
|
|
11
|
+
readonly flags: "--environment <name>";
|
|
12
|
+
readonly description: "Vibes environment for secret resolution (local|dev|staging|production)";
|
|
13
|
+
}, {
|
|
14
|
+
readonly flags: "-o, --output <format>";
|
|
15
|
+
readonly description: "Output format (text|json)";
|
|
16
|
+
readonly default: "text";
|
|
17
|
+
}];
|
|
18
|
+
readonly surfaces: ["cli"];
|
|
19
|
+
readonly hardware: ["consumer", "cloud"];
|
|
20
|
+
readonly enabled: true;
|
|
19
21
|
};
|
|
20
22
|
export default _default;
|
|
21
23
|
//# sourceMappingURL=infra-rum-status.cli-command.descriptor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"infra-rum-status.cli-command.descriptor.d.ts","sourceRoot":"","sources":["../../../src/cli/rum/infra-rum-status.cli-command.descriptor.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"infra-rum-status.cli-command.descriptor.d.ts","sourceRoot":"","sources":["../../../src/cli/rum/infra-rum-status.cli-command.descriptor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAEA,wBAwBG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"infra-rum-status.cli-command.descriptor.js","sourceRoot":"","sources":["../../../src/cli/rum/infra-rum-status.cli-command.descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"infra-rum-status.cli-command.descriptor.js","sourceRoot":"","sources":["../../../src/cli/rum/infra-rum-status.cli-command.descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD,eAAe,kBAAkB,CAAC;IACjC,EAAE,EAAE,kBAAkB;IACtB,IAAI,EAAE,aAAa;IACnB,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,6DAA6D;IAC1E,KAAK,EAAE,WAAW;IAClB,OAAO,EAAE;QACR;YACC,KAAK,EAAE,iBAAiB;YACxB,WAAW,EAAE,sDAAsD;SACnE;QACD;YACC,KAAK,EAAE,sBAAsB;YAC7B,WAAW,EAAE,wEAAwE;SACrF;QACD;YACC,KAAK,EAAE,uBAAuB;YAC9B,WAAW,EAAE,2BAA2B;YACxC,OAAO,EAAE,MAAM;SACf;KACD;IACD,QAAQ,EAAE,CAAC,KAAK,CAAC;IACjB,QAAQ,EAAE,CAAC,UAAU,EAAE,OAAO,CAAC;IAC/B,OAAO,EAAE,IAAI;CACb,CAAC,CAAC"}
|
|
@@ -5,8 +5,9 @@
|
|
|
5
5
|
* declared injection mode + privacy posture from the descriptor.
|
|
6
6
|
* Flags the "auto-injection but SSR Workers" gap that bit us earlier.
|
|
7
7
|
*/
|
|
8
|
+
import type { CommandContext, CommandOptions } from '@vibesdotdev/cli';
|
|
8
9
|
declare const _default: {
|
|
9
|
-
execute(_args:
|
|
10
|
+
execute(_args: CommandOptions, opts: CommandOptions, context: CommandContext): Promise<void>;
|
|
10
11
|
};
|
|
11
12
|
export default _default;
|
|
12
13
|
//# sourceMappingURL=infra-rum-status.cli-command.impl.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"infra-rum-status.cli-command.impl.d.ts","sourceRoot":"","sources":["../../../src/cli/rum/infra-rum-status.cli-command.impl.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG
|
|
1
|
+
{"version":3,"file":"infra-rum-status.cli-command.impl.d.ts","sourceRoot":"","sources":["../../../src/cli/rum/infra-rum-status.cli-command.impl.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;;mBAmBjD,cAAc,QAAQ,cAAc,WAAW,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;;AADnG,wBA2FE"}
|
|
@@ -5,15 +5,13 @@
|
|
|
5
5
|
* declared injection mode + privacy posture from the descriptor.
|
|
6
6
|
* Flags the "auto-injection but SSR Workers" gap that bit us earlier.
|
|
7
7
|
*/
|
|
8
|
-
import {
|
|
9
|
-
import {} from '@vibesdotdev/
|
|
10
|
-
|
|
11
|
-
return typeof v === 'string' && v.length > 0 ? v : undefined;
|
|
12
|
-
}
|
|
8
|
+
import { requestCLIExit } from '@vibesdotdev/cli/providers';
|
|
9
|
+
import { settle } from '@vibesdotdev/kernel';
|
|
10
|
+
import { readString } from "../shared/option-strings.js";
|
|
13
11
|
export default {
|
|
14
|
-
async execute(_args, opts) {
|
|
15
|
-
const runtime =
|
|
16
|
-
const ui =
|
|
12
|
+
async execute(_args, opts, context) {
|
|
13
|
+
const runtime = context.runtime;
|
|
14
|
+
const ui = await runtime.context('cli/ui');
|
|
17
15
|
const providerFilter = readString(opts.provider);
|
|
18
16
|
const output = readString(opts.output) ?? 'text';
|
|
19
17
|
if (!runtime.hasKind('infra/rum')) {
|
|
@@ -30,28 +28,31 @@ export default {
|
|
|
30
28
|
}
|
|
31
29
|
const reports = [];
|
|
32
30
|
for (const d of candidates) {
|
|
33
|
-
|
|
34
|
-
const impl =
|
|
31
|
+
const outcome = await settle(async () => {
|
|
32
|
+
const impl = await runtime
|
|
35
33
|
.query('infra/rum')
|
|
36
34
|
.withId(d.id)
|
|
37
|
-
.resolve()
|
|
38
|
-
|
|
35
|
+
.resolve();
|
|
36
|
+
return await impl.listSites();
|
|
37
|
+
});
|
|
38
|
+
if (outcome.ok) {
|
|
39
39
|
reports.push({
|
|
40
40
|
descriptorId: d.id,
|
|
41
41
|
adapter: d.adapter,
|
|
42
42
|
declaredInjection: d.injection,
|
|
43
43
|
declaredHostnames: d.hostnames,
|
|
44
|
-
sites
|
|
44
|
+
sites: outcome.value
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
|
-
|
|
47
|
+
else {
|
|
48
|
+
const cause = outcome.cause;
|
|
48
49
|
reports.push({
|
|
49
50
|
descriptorId: d.id,
|
|
50
51
|
adapter: d.adapter,
|
|
51
52
|
declaredInjection: d.injection,
|
|
52
53
|
declaredHostnames: d.hostnames,
|
|
53
54
|
sites: [],
|
|
54
|
-
error:
|
|
55
|
+
error: cause instanceof Error ? cause.message : cause.description
|
|
55
56
|
});
|
|
56
57
|
}
|
|
57
58
|
}
|
|
@@ -83,6 +84,11 @@ export default {
|
|
|
83
84
|
'SvelteKit handle).');
|
|
84
85
|
}
|
|
85
86
|
}
|
|
87
|
+
const failed = reports.filter((r) => r.error);
|
|
88
|
+
if (failed.length > 0) {
|
|
89
|
+
ui.error(`\n${failed.length} RUM provider(s) failed to enumerate. If the error mentions \`Account Analytics:Read\`, grant that scope to the listed token in the Cloudflare dashboard (My Profile → API Tokens → edit the token → add Account · Account Analytics · Read), then re-run \`vibes infra rum status\`.`);
|
|
90
|
+
requestCLIExit(1);
|
|
91
|
+
}
|
|
86
92
|
}
|
|
87
93
|
};
|
|
88
94
|
//# sourceMappingURL=infra-rum-status.cli-command.impl.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"infra-rum-status.cli-command.impl.js","sourceRoot":"","sources":["../../../src/cli/rum/infra-rum-status.cli-command.impl.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,
|
|
1
|
+
{"version":3,"file":"infra-rum-status.cli-command.impl.js","sourceRoot":"","sources":["../../../src/cli/rum/infra-rum-status.cli-command.impl.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAkB,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAE5E,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAM7C,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAWzD,eAAe;IACd,KAAK,CAAC,OAAO,CAAC,KAAqB,EAAE,IAAoB,EAAE,OAAuB;QACjF,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;QAChC,MAAM,EAAE,GAAG,MAAM,OAAO,CAAC,OAAO,CAAY,QAAQ,CAAC,CAAC;QAEtD,MAAM,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACjD,MAAM,MAAM,GAAG,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,MAAM,CAAC;QAEjD,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,EAAE,CAAC;YACnC,EAAE,CAAC,IAAI,CAAC,+BAA+B,CAAC,CA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IAAI,CAAC,GAAG,CAAC,IAAI;oBACnF,aAAa,CAAC,CAAC,SAAS,IAAI,GAAG,aAAa,CAAC,CAAC,CAAC,SAAS,IAAI,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,EAAE,CAChF,CAAC;YACH,CAAC;YACD,sCAAsC;YACtC,IAAI,CAAC,CAAC,iBAAiB,KAAK,eAAe,IAAI,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,KAAK,eAAe,CAAC,EAAE,CAAC;gBACrG,EAAE,CAAC,IAAI,CACN,gFAAgF;oBAC/E,6EAA6E;oBAC7E,8EAA8E;oBAC9E,oBAAoB,CACrB,CAAC;YACH,CAAC;QACF,CAAC;QAED,MAAM,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;QAC9C,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YACvB,EAAE,CAAC,KAAK,CAAC,KAAK,MAAM,CAAC,MAAM,uRAAuR,CAAC,CAAC;YACpT,cAAc,CAAC,CAAC,CAAC,CAAC;QACnB,CAAC;IACF,CAAC;CACD,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
id:
|
|
3
|
-
kind: "cli/group";
|
|
4
|
-
name:
|
|
5
|
-
description:
|
|
6
|
-
parent:
|
|
7
|
-
surfaces:
|
|
8
|
-
hardware:
|
|
9
|
-
enabled: true;
|
|
2
|
+
readonly id: "infra-rum";
|
|
3
|
+
readonly kind: "cli/group";
|
|
4
|
+
readonly name: "rum";
|
|
5
|
+
readonly description: "Real User Monitoring (beacon-based front-end telemetry) — CF Web Analytics, Sentry, …";
|
|
6
|
+
readonly parent: "infra";
|
|
7
|
+
readonly surfaces: ["cli"];
|
|
8
|
+
readonly hardware: ["consumer", "cloud"];
|
|
9
|
+
readonly enabled: true;
|
|
10
10
|
};
|
|
11
11
|
export default _default;
|
|
12
12
|
//# sourceMappingURL=infra-rum.cli-group.descriptor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"infra-rum.cli-group.descriptor.js","sourceRoot":"","sources":["../../../src/cli/rum/infra-rum.cli-group.descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"infra-rum.cli-group.descriptor.js","sourceRoot":"","sources":["../../../src/cli/rum/infra-rum.cli-group.descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD,eAAe,kBAAkB,CAAC;IACjC,EAAE,EAAE,WAAW;IACf,IAAI,EAAE,WAAW;IACjB,IAAI,EAAE,KAAK;IACX,WAAW,EAAE,uFAAuF;IACpG,MAAM,EAAE,OAAO;IACf,QAAQ,EAAE,CAAC,KAAK,CAAC;IACjB,QAAQ,EAAE,CAAC,UAAU,EAAE,OAAO,CAAC;IAC/B,OAAO,EAAE,IAAI;CACb,CAAC,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import type { DeploymentEnvironmentResolution } from '../../deployment-environment.ts';
|
|
2
|
+
import { type RuntimeRef } from '@vibesdotdev/kernel';
|
|
3
|
+
import type { AppDeployment } from '@vibesdotdev/infra-core';
|
|
4
|
+
export type DeploySmokeResult = {
|
|
5
|
+
ok: boolean;
|
|
6
|
+
url?: string;
|
|
7
|
+
detail: string;
|
|
8
|
+
skipped?: boolean;
|
|
9
|
+
};
|
|
10
|
+
export type RunDeploySmokeProbeOptions = {
|
|
11
|
+
/** The runtime whose lifecycle owns the pauses between probe attempts, and whose logger reports an unreadable build identity. */
|
|
12
|
+
runtime: RuntimeRef;
|
|
13
|
+
/**
|
|
14
|
+
* The commit SHA this deploy just shipped. When supplied, the probe reads the
|
|
15
|
+
* live origin's `/_app/version.json` and requires it to MATCH — turning
|
|
16
|
+
* "Cloudflare answered" into "the build I just shipped is the one serving".
|
|
17
|
+
*
|
|
18
|
+
* A stale worker (rate-limited push, an isolate still running the previous
|
|
19
|
+
* bundle) answers 200 with cf-ray exactly like a fresh one, so liveness alone
|
|
20
|
+
* can never catch a deploy that silently no-opped. `/_app/version.json` is
|
|
21
|
+
* SvelteKit's own build identity, served publicly BEFORE auth, which is what
|
|
22
|
+
* makes it usable on apps that only ever 302 to a login — and it needs no
|
|
23
|
+
* Cloudflare API permissions (`wrangler deployments list` requires
|
|
24
|
+
* `User->Memberships->Read`, which the deploy token does not carry).
|
|
25
|
+
*
|
|
26
|
+
* Omitted (or when the app publishes no version.json) the probe keeps its old
|
|
27
|
+
* liveness-only behaviour rather than failing a deploy over a missing file.
|
|
28
|
+
*/
|
|
29
|
+
expectedVersion?: string | null;
|
|
30
|
+
deployment: AppDeployment;
|
|
31
|
+
environmentResolution?: DeploymentEnvironmentResolution;
|
|
32
|
+
deployedUrl?: string | null;
|
|
33
|
+
retryWindowMs?: number;
|
|
34
|
+
pollIntervalMs?: number;
|
|
35
|
+
/** Separate, longer patience for build-identity propagation. */
|
|
36
|
+
freshnessWindowMs?: number;
|
|
37
|
+
fetchImpl?: typeof fetch;
|
|
38
|
+
onLine?: (stream: 'stdout' | 'stderr', line: string) => void;
|
|
39
|
+
};
|
|
40
|
+
export declare function isComparableBuildIdentity(value: string | null | undefined): boolean;
|
|
41
|
+
/**
|
|
42
|
+
* Post-deploy live probe: THE DEPLOYED ORIGIN ITSELF must answer below 500
|
|
43
|
+
* through Cloudflare (cf-ray present) within the retry window. This is the
|
|
44
|
+
* in-process home of scripts/cf-smoke-test.ts, which was only reachable from a
|
|
45
|
+
* dispatch-only workflow while the marker could report a false DEPLOY FAILED
|
|
46
|
+
* on rate-limited runs — the live probe is the counter-signal.
|
|
47
|
+
*
|
|
48
|
+
* What this probe does NOT establish, so nobody reads more into a green than it
|
|
49
|
+
* carries: `cf-ray` proves a Cloudflare edge answered, not that YOUR newly
|
|
50
|
+
* deployed worker answered. A stale worker, a route bound to the wrong script,
|
|
51
|
+
* or a Cloudflare error page all carry one. Proving provenance needs a
|
|
52
|
+
* deploy-stamped response header compared against the SHA just deployed, or a
|
|
53
|
+
* probe of an app-declared health path — `AppDeployment` carries neither today.
|
|
54
|
+
* Until it does, this reports liveness of the origin, not identity of the build.
|
|
55
|
+
*/
|
|
56
|
+
export declare function runDeploySmokeProbe(options: RunDeploySmokeProbeOptions): Promise<DeploySmokeResult>;
|
|
57
|
+
//# sourceMappingURL=deploy-smoke.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deploy-smoke.d.ts","sourceRoot":"","sources":["../../../src/cli/run/deploy-smoke.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,iCAAiC,CAAC;AACvF,OAAO,EAAU,KAAK,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAG9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAE7D,MAAM,MAAM,iBAAiB,GAAG;IAC/B,EAAE,EAAE,OAAO,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACxC,iIAAiI;IACjI,OAAO,EAAE,UAAU,CAAC;IACpB;;;;;;;;;;;;;;;OAeG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,UAAU,EAAE,aAAa,CAAC;IAC1B,qBAAqB,CAAC,EAAE,+BAA+B,CAAC;IACxD,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gEAAgE;IAChE,iBAAiB,CAAC,E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