@vibesdotdev/infra-deploy 0.0.2 → 1.0.0-rc.5
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 +40 -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 +50 -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 +108 -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 +83 -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 +52 -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 +52 -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 +568 -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 +91 -0
- package/dist/cli/npm/mirror-registry-artifacts.d.ts.map +1 -0
- package/dist/cli/npm/mirror-registry-artifacts.js +99 -0
- package/dist/cli/npm/mirror-registry-artifacts.js.map +1 -0
- package/dist/cli/npm/npm-protocol-package-registry.d.ts +32 -0
- package/dist/cli/npm/npm-protocol-package-registry.d.ts.map +1 -0
- package/dist/cli/npm/npm-protocol-package-registry.js +237 -0
- package/dist/cli/npm/npm-protocol-package-registry.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/publish-to-mirror.d.ts +28 -0
- package/dist/cli/npm/publish/publish-to-mirror.d.ts.map +1 -0
- package/dist/cli/npm/publish/publish-to-mirror.js +36 -0
- package/dist/cli/npm/publish/publish-to-mirror.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 +181 -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 +142 -0
- package/dist/cli/npm/put-attested-packument.d.ts.map +1 -0
- package/dist/cli/npm/put-attested-packument.js +353 -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/npm/registries/npmjs.package-registry.descriptor.d.ts +56 -0
- package/dist/cli/npm/registries/npmjs.package-registry.descriptor.d.ts.map +1 -0
- package/dist/cli/npm/registries/npmjs.package-registry.descriptor.js +16 -0
- package/dist/cli/npm/registries/npmjs.package-registry.descriptor.js.map +1 -0
- package/dist/cli/npm/registries/package-registries.plugin.d.ts +3 -0
- package/dist/cli/npm/registries/package-registries.plugin.d.ts.map +1 -0
- package/dist/cli/npm/registries/package-registries.plugin.js +44 -0
- package/dist/cli/npm/registries/package-registries.plugin.js.map +1 -0
- package/dist/cli/npm/registries/resolve-package-registry.d.ts +29 -0
- package/dist/cli/npm/registries/resolve-package-registry.d.ts.map +1 -0
- package/dist/cli/npm/registries/resolve-package-registry.js +58 -0
- package/dist/cli/npm/registries/resolve-package-registry.js.map +1 -0
- package/dist/cli/npm/registries/vibes-registry.package-registry.descriptor.d.ts +53 -0
- package/dist/cli/npm/registries/vibes-registry.package-registry.descriptor.d.ts.map +1 -0
- package/dist/cli/npm/registries/vibes-registry.package-registry.descriptor.js +12 -0
- package/dist/cli/npm/registries/vibes-registry.package-registry.descriptor.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 +51 -0
- package/dist/cli/run/deployment-provider.d.ts.map +1 -0
- package/dist/cli/run/deployment-provider.js +274 -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 +404 -0
- package/dist/cli/run/immutable-deployment-release.program.d.ts.map +1 -0
- package/dist/cli/run/immutable-deployment-release.program.js +585 -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 +77 -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 +49 -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 +440 -229
- package/dist/cli/run/infra-deploy.run.cli-command.impl.js.map +1 -1
- package/dist/cli/shared/build-workspace-artifacts.d.ts +152 -0
- package/dist/cli/shared/build-workspace-artifacts.d.ts.map +1 -0
- package/dist/cli/shared/build-workspace-artifacts.js +2049 -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/shared/workspace-artifact-store.d.ts +14 -0
- package/dist/cli/shared/workspace-artifact-store.d.ts.map +1 -0
- package/dist/cli/shared/workspace-artifact-store.js +53 -0
- package/dist/cli/shared/workspace-artifact-store.js.map +1 -0
- package/dist/cli/workers/doks-worker-runtime.d.ts +239 -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 +65 -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,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared provider resolution for `vibes infra dns *`.
|
|
3
|
+
*
|
|
4
|
+
* Picks the `infra/dns` implementation, optionally scoped to a named
|
|
5
|
+
* provider and a credential environment.
|
|
6
|
+
*/
|
|
7
|
+
import { type VibesRuntime } from '@vibesdotdev/kernel';
|
|
8
|
+
import type { CommandOptions } from '@vibesdotdev/cli';
|
|
9
|
+
import type { DnsImplementation, InfraDnsDescriptor } from '@vibesdotdev/infra-core';
|
|
10
|
+
import { readString } from '../shared/option-strings.ts';
|
|
11
|
+
export { readString };
|
|
12
|
+
export interface DnsScopeOptions {
|
|
13
|
+
environment?: string;
|
|
14
|
+
zone?: string;
|
|
15
|
+
}
|
|
16
|
+
export interface ResolvableDnsImplementation extends DnsImplementation {
|
|
17
|
+
create?: (opts: DnsScopeOptions) => Promise<DnsImplementation>;
|
|
18
|
+
}
|
|
19
|
+
export interface ResolvedDnsImplementation {
|
|
20
|
+
impl: DnsImplementation;
|
|
21
|
+
descriptor: InfraDnsDescriptor;
|
|
22
|
+
}
|
|
23
|
+
export declare function resolveDnsImplementation(runtime: VibesRuntime, opts: CommandOptions): Promise<ResolvedDnsImplementation>;
|
|
24
|
+
//# sourceMappingURL=resolve-dns-provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolve-dns-provider.d.ts","sourceRoot":"","sources":["../../../src/cli/dns/resolve-dns-provider.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAmB,KAAK,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACzE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAGrF,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAEzD,OAAO,EAAE,UAAU,EAAE,CAAC;AAEtB,MAAM,WAAW,eAAe;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,2BAA4B,SAAQ,iBAAiB;IACrE,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,eAAe,KAAK,OAAO,CAAC,iBAAiB,CAAC,CAAC;CAC/D;AAED,MAAM,WAAW,yBAAyB;IACzC,IAAI,EAAE,iBAAiB,CAAC;IACxB,UAAU,EAAE,kBAAkB,CAAC;CAC/B;AAED,wBAAsB,wBAAwB,CAC7C,OAAO,EAAE,YAAY,EACrB,IAAI,EAAE,cAAc,GAClB,OAAO,CAAC,yBAAyB,CAAC,CAsDpC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared provider resolution for `vibes infra dns *`.
|
|
3
|
+
*
|
|
4
|
+
* Picks the `infra/dns` implementation, optionally scoped to a named
|
|
5
|
+
* provider and a credential environment.
|
|
6
|
+
*/
|
|
7
|
+
import { CapabilityError } from '@vibesdotdev/kernel';
|
|
8
|
+
import { inferApexZoneFromWorkspace } from "../shared/infer-apex-zone.js";
|
|
9
|
+
import { readString } from "../shared/option-strings.js";
|
|
10
|
+
export { readString };
|
|
11
|
+
export async function resolveDnsImplementation(runtime, opts) {
|
|
12
|
+
if (!runtime.hasKind('infra/dns')) {
|
|
13
|
+
throw new CapabilityError('No infra/dns kind registered. Load infra-cloudflare or a sibling provider plugin.', 'NOT_FOUND');
|
|
14
|
+
}
|
|
15
|
+
const providerFilter = readString(opts.provider);
|
|
16
|
+
const descriptors = runtime.assets('infra/dns').descriptors();
|
|
17
|
+
const descriptor = providerFilter
|
|
18
|
+
? descriptors.find((d) => d.adapter === providerFilter || d.id === providerFilter)
|
|
19
|
+
: descriptors[0];
|
|
20
|
+
if (!descriptor) {
|
|
21
|
+
throw new CapabilityError(`No matching DNS provider${providerFilter ? ` for --provider "${providerFilter}"` : ''}.`, 'NOT_FOUND');
|
|
22
|
+
}
|
|
23
|
+
const base = await runtime
|
|
24
|
+
.query('infra/dns')
|
|
25
|
+
.withId(descriptor.id)
|
|
26
|
+
.resolve();
|
|
27
|
+
const environment = readString(opts.environment);
|
|
28
|
+
let zone = readString(opts.zone);
|
|
29
|
+
if (!zone) {
|
|
30
|
+
const name = readString(opts.name) ?? readString(opts.hostname);
|
|
31
|
+
if (name) {
|
|
32
|
+
const parts = name.split('.');
|
|
33
|
+
if (parts.length >= 2)
|
|
34
|
+
zone = parts.slice(-2).join('.');
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
if (!zone) {
|
|
38
|
+
zone = await inferApexZoneFromWorkspace(runtime);
|
|
39
|
+
}
|
|
40
|
+
if (!environment && !zone)
|
|
41
|
+
return { impl: base, descriptor };
|
|
42
|
+
// Re-create the impl so the descriptor carries the caller's environment
|
|
43
|
+
// and zone; the memoized zone lookup belongs to the new instance.
|
|
44
|
+
if (!base.create)
|
|
45
|
+
return { impl: base, descriptor };
|
|
46
|
+
const createOpts = {};
|
|
47
|
+
if (environment)
|
|
48
|
+
createOpts.environment = environment;
|
|
49
|
+
if (zone)
|
|
50
|
+
createOpts.zone = zone;
|
|
51
|
+
const scoped = await base.create(createOpts);
|
|
52
|
+
const scopedDescriptor = { ...descriptor };
|
|
53
|
+
if (environment)
|
|
54
|
+
scopedDescriptor.environment = environment;
|
|
55
|
+
if (zone)
|
|
56
|
+
scopedDescriptor.zone = zone;
|
|
57
|
+
return {
|
|
58
|
+
impl: scoped,
|
|
59
|
+
descriptor: scopedDescriptor
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
//# sourceMappingURL=resolve-dns-provider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolve-dns-provider.js","sourceRoot":"","sources":["../../../src/cli/dns/resolve-dns-provider.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,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,37 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
readonly id: "infra-edge-tls.delete";
|
|
3
|
+
readonly kind: "cli/command";
|
|
4
|
+
readonly name: "delete";
|
|
5
|
+
readonly description: "Remove one hostname from its edge-to-origin TLS policy";
|
|
6
|
+
readonly group: "infra-edge-tls";
|
|
7
|
+
readonly options: [{
|
|
8
|
+
readonly flags: "--hostname <name>";
|
|
9
|
+
readonly description: "Hostname to drop. A policy covering other hostnames is narrowed, not deleted. The hostname falls back to the zone default";
|
|
10
|
+
}, {
|
|
11
|
+
readonly flags: "--zone <zone>";
|
|
12
|
+
readonly description: "Apex zone override; inferred from --hostname when omitted";
|
|
13
|
+
}, {
|
|
14
|
+
readonly flags: "--provider <id>";
|
|
15
|
+
readonly description: "Provider impl id (default: cloudflare-edge-tls)";
|
|
16
|
+
}, {
|
|
17
|
+
readonly flags: "--environment <name>";
|
|
18
|
+
readonly description: "Vibes environment for secret resolution (local|dev|staging|production)";
|
|
19
|
+
}, {
|
|
20
|
+
readonly flags: "--dry-run";
|
|
21
|
+
readonly description: "Show what would be removed; do not write";
|
|
22
|
+
readonly default: false;
|
|
23
|
+
}, {
|
|
24
|
+
readonly flags: "-y, --yes";
|
|
25
|
+
readonly description: "Skip the confirmation prompt";
|
|
26
|
+
readonly default: false;
|
|
27
|
+
}, {
|
|
28
|
+
readonly flags: "-o, --output <format>";
|
|
29
|
+
readonly description: "Output format (text|json)";
|
|
30
|
+
readonly default: "text";
|
|
31
|
+
}];
|
|
32
|
+
readonly surfaces: ["cli"];
|
|
33
|
+
readonly hardware: ["consumer", "cloud"];
|
|
34
|
+
readonly enabled: true;
|
|
35
|
+
};
|
|
36
|
+
export default _default;
|
|
37
|
+
//# sourceMappingURL=infra-edge-tls-delete.cli-command.descriptor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"infra-edge-tls-delete.cli-command.descriptor.d.ts","sourceRoot":"","sources":["../../../src/cli/edge-tls/infra-edge-tls-delete.cli-command.descriptor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBA2CG"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { createRuntimeAsset } from '@vibesdotdev/kernel';
|
|
2
|
+
export default createRuntimeAsset({
|
|
3
|
+
id: 'infra-edge-tls.delete',
|
|
4
|
+
kind: 'cli/command',
|
|
5
|
+
name: 'delete',
|
|
6
|
+
description: 'Remove one hostname from its edge-to-origin TLS policy',
|
|
7
|
+
group: 'infra-edge-tls',
|
|
8
|
+
options: [
|
|
9
|
+
{
|
|
10
|
+
flags: '--hostname <name>',
|
|
11
|
+
description: 'Hostname to drop. A policy covering other hostnames is narrowed, not deleted. The hostname falls back to the zone default',
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
flags: '--zone <zone>',
|
|
15
|
+
description: 'Apex zone override; inferred from --hostname when omitted'
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
flags: '--provider <id>',
|
|
19
|
+
description: 'Provider impl id (default: cloudflare-edge-tls)'
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
flags: '--environment <name>',
|
|
23
|
+
description: 'Vibes environment for secret resolution (local|dev|staging|production)'
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
flags: '--dry-run',
|
|
27
|
+
description: 'Show what would be removed; do not write',
|
|
28
|
+
default: false
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
flags: '-y, --yes',
|
|
32
|
+
description: 'Skip the confirmation prompt',
|
|
33
|
+
default: false
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
flags: '-o, --output <format>',
|
|
37
|
+
description: 'Output format (text|json)',
|
|
38
|
+
default: 'text'
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
surfaces: ['cli'],
|
|
42
|
+
hardware: ['consumer', 'cloud'],
|
|
43
|
+
enabled: true
|
|
44
|
+
});
|
|
45
|
+
//# sourceMappingURL=infra-edge-tls-delete.cli-command.descriptor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"infra-edge-tls-delete.cli-command.descriptor.js","sourceRoot":"","sources":["../../../src/cli/edge-tls/infra-edge-tls-delete.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,QAAQ;IACd,WAAW,EAAE,wDAAwD;IACrE,KAAK,EAAE,gBAAgB;IACvB,OAAO,EAAE;QACR;YACC,KAAK,EAAE,mBAAmB;YAC1B,WAAW,EACV,2HAA2H;SAC5H;QACD;YACC,KAAK,EAAE,eAAe;YACtB,WAAW,EAAE,2DAA2D;SACxE;QACD;YACC,KAAK,EAAE,iBAAiB;YACxB,WAAW,EAAE,iDAAiD;SAC9D;QACD;YACC,KAAK,EAAE,sBAAsB;YAC7B,WAAW,EAAE,wEAAwE;SACrF;QACD;YACC,KAAK,EAAE,WAAW;YAClB,WAAW,EAAE,0CAA0C;YACvD,OAAO,EAAE,KAAK;SACd;QACD;YACC,KAAK,EAAE,WAAW;YAClB,WAAW,EAAE,8BAA8B;YAC3C,OAAO,EAAE,KAAK;SACd;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"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `vibes infra edge-tls delete --hostname H [--dry-run] [--yes]`
|
|
3
|
+
*
|
|
4
|
+
* Resolves the live policies covering the hostname before writing, so an
|
|
5
|
+
* operator never passes a raw provider id. Absence is reported, not raised.
|
|
6
|
+
* The hostname falls back to the zone default afterwards, which is the part
|
|
7
|
+
* worth stating out loud: dropping a `verified` policy can leave the hostname
|
|
8
|
+
* on a weaker default.
|
|
9
|
+
*/
|
|
10
|
+
import type { CommandContext, CommandOptions } from '@vibesdotdev/cli';
|
|
11
|
+
declare const _default: {
|
|
12
|
+
execute(_args: CommandOptions, opts: CommandOptions, context: CommandContext): Promise<void>;
|
|
13
|
+
};
|
|
14
|
+
export default _default;
|
|
15
|
+
//# sourceMappingURL=infra-edge-tls-delete.cli-command.impl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"infra-edge-tls-delete.cli-command.impl.d.ts","sourceRoot":"","sources":["../../../src/cli/edge-tls/infra-edge-tls-delete.cli-command.impl.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;;mBAO9D,cAAc,QACf,cAAc,WACX,cAAc,GACrB,OAAO,CAAC,IAAI,CAAC;;AALjB,wBAwFE"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `vibes infra edge-tls delete --hostname H [--dry-run] [--yes]`
|
|
3
|
+
*
|
|
4
|
+
* Resolves the live policies covering the hostname before writing, so an
|
|
5
|
+
* operator never passes a raw provider id. Absence is reported, not raised.
|
|
6
|
+
* The hostname falls back to the zone default afterwards, which is the part
|
|
7
|
+
* worth stating out loud: dropping a `verified` policy can leave the hostname
|
|
8
|
+
* on a weaker default.
|
|
9
|
+
*/
|
|
10
|
+
import { CapabilityError } from '@vibesdotdev/kernel';
|
|
11
|
+
import {} from '@vibesdotdev/cli/providers';
|
|
12
|
+
import { readString, resolveEdgeTlsImplementation } from "./resolve-edge-tls-provider.js";
|
|
13
|
+
export default {
|
|
14
|
+
async execute(_args, opts, context) {
|
|
15
|
+
const { runtime } = context;
|
|
16
|
+
const ui = await runtime.context('cli/ui');
|
|
17
|
+
const output = readString(opts.output) ?? 'text';
|
|
18
|
+
const dryRun = opts['dry-run'] === true || opts.dryRun === true;
|
|
19
|
+
const assumeYes = opts.yes === true;
|
|
20
|
+
const hostname = readString(opts.hostname);
|
|
21
|
+
if (!hostname)
|
|
22
|
+
throw new CapabilityError('--hostname is required.', 'INVALID_INPUT');
|
|
23
|
+
const { impl, descriptor } = await resolveEdgeTlsImplementation(runtime, opts);
|
|
24
|
+
const snapshot = await impl.read({ hostname });
|
|
25
|
+
const matches = snapshot.policies.filter((policy) => policy.managed);
|
|
26
|
+
if (matches.length === 0) {
|
|
27
|
+
if (output === 'json') {
|
|
28
|
+
ui.json({ provider: descriptor.id, hostname, removed: [], narrowed: [] });
|
|
29
|
+
}
|
|
30
|
+
else {
|
|
31
|
+
ui.info(`No edge TLS policy shaped by this kind covers ${hostname}; nothing to remove.`);
|
|
32
|
+
if (snapshot.policies.length > 0) {
|
|
33
|
+
ui.info(`${snapshot.policies.length} policy/policies match ${hostname} but are not shaped by this kind; resolve those at the provider.`);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
if (dryRun) {
|
|
39
|
+
if (output === 'json') {
|
|
40
|
+
ui.json({ dryRun: true, provider: descriptor.id, remove: matches });
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
for (const match of matches) {
|
|
44
|
+
const remaining = match.hostnames.filter((host) => host !== hostname.toLowerCase());
|
|
45
|
+
ui.info(remaining.length === 0
|
|
46
|
+
? `delete ${match.hostnames.join(', ')} (${match.policy ?? match.providerValue}, id=${match.providerId})`
|
|
47
|
+
: `narrow ${match.hostnames.join(', ')} -> ${remaining.join(', ')} (id=${match.providerId})`);
|
|
48
|
+
}
|
|
49
|
+
ui.info(`${hostname} then follows the zone default: ${snapshot.default.policy ?? snapshot.default.providerValue}.`);
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
52
|
+
if (!assumeYes) {
|
|
53
|
+
const confirmed = await ui.confirm(`Remove ${hostname} from ${matches.length} edge TLS policy/policies? ` +
|
|
54
|
+
`It then follows the zone default (${snapshot.default.policy ?? snapshot.default.providerValue}).`, false);
|
|
55
|
+
if (!confirmed) {
|
|
56
|
+
ui.info('Aborted.');
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
let result;
|
|
61
|
+
try {
|
|
62
|
+
result = await impl.deletePolicy({ hostname });
|
|
63
|
+
}
|
|
64
|
+
catch (err) {
|
|
65
|
+
if (err instanceof CapabilityError)
|
|
66
|
+
throw err;
|
|
67
|
+
throw new CapabilityError(`Failed to remove edge TLS policy for ${hostname}.`, 'INTERNAL', { cause: err });
|
|
68
|
+
}
|
|
69
|
+
if (output === 'json') {
|
|
70
|
+
ui.json({ provider: descriptor.id, hostname, ...result });
|
|
71
|
+
return;
|
|
72
|
+
}
|
|
73
|
+
ui.info(`Removed ${result.removed.length} policy/policies and narrowed ${result.narrowed.length}; ` +
|
|
74
|
+
`preserved ${result.preservedRules} co-tenant rule(s).`);
|
|
75
|
+
ui.info(`${hostname} now follows the zone default: ${snapshot.default.policy ?? snapshot.default.providerValue}.`);
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
//# sourceMappingURL=infra-edge-tls-delete.cli-command.impl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"infra-edge-tls-delete.cli-command.impl.js","sourceRoot":"","sources":["../../../src/cli/edge-tls/infra-edge-tls-delete.cli-command.impl.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD,OAAO,EAAkB,MAAM,4BAA4B,CAAC;AAE5D,OAAO,EAAE,UAAU,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAE1F,eAAe;IACd,KAAK,CAAC,OAAO,CACZ,KAAqB,EACrB,IAAoB,EACpB,OAAuB;QAEvB,MAAM,EA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ly description: "List per-hostname edge-to-origin TLS policies and the zone default";
|
|
6
|
+
readonly group: "infra-edge-tls";
|
|
7
|
+
readonly options: [{
|
|
8
|
+
readonly flags: "--zone <zone>";
|
|
9
|
+
readonly description: "Apex zone to read (e.g. example.com); inferred from --hostname or repo config when omitted";
|
|
10
|
+
}, {
|
|
11
|
+
readonly flags: "--hostname <name>";
|
|
12
|
+
readonly description: "Narrow to policies covering one hostname";
|
|
13
|
+
}, {
|
|
14
|
+
readonly flags: "--provider <id>";
|
|
15
|
+
readonly description: "Provider impl id (default: cloudflare-edge-tls)";
|
|
16
|
+
}, {
|
|
17
|
+
readonly flags: "--environment <name>";
|
|
18
|
+
readonly description: "Vibes environment for secret resolution (local|dev|staging|production)";
|
|
19
|
+
}, {
|
|
20
|
+
readonly flags: "-o, --output <format>";
|
|
21
|
+
readonly description: "Output format (text|json)";
|
|
22
|
+
readonly default: "text";
|
|
23
|
+
}];
|
|
24
|
+
readonly surfaces: ["cli"];
|
|
25
|
+
readonly hardware: ["consumer", "cloud"];
|
|
26
|
+
readonly enabled: true;
|
|
27
|
+
};
|
|
28
|
+
export default _default;
|
|
29
|
+
//# sourceMappingURL=infra-edge-tls-list.cli-command.descriptor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"infra-edge-tls-list.cli-command.descriptor.d.ts","sourceRoot":"","sources":["../../../src/cli/edge-tls/infra-edge-tls-list.cli-command.descriptor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAiCG"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { createRuntimeAsset } from '@vibesdotdev/kernel';
|
|
2
|
+
export default createRuntimeAsset({
|
|
3
|
+
id: 'infra-edge-tls.list',
|
|
4
|
+
kind: 'cli/command',
|
|
5
|
+
name: 'list',
|
|
6
|
+
description: 'List per-hostname edge-to-origin TLS policies and the zone default',
|
|
7
|
+
group: 'infra-edge-tls',
|
|
8
|
+
options: [
|
|
9
|
+
{
|
|
10
|
+
flags: '--zone <zone>',
|
|
11
|
+
description: 'Apex zone to read (e.g. example.com); inferred from --hostname or repo config when omitted'
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
flags: '--hostname <name>',
|
|
15
|
+
description: 'Narrow to policies covering one hostname'
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
flags: '--provider <id>',
|
|
19
|
+
description: 'Provider impl id (default: cloudflare-edge-tls)'
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
flags: '--environment <name>',
|
|
23
|
+
description: 'Vibes environment for secret resolution (local|dev|staging|production)'
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
flags: '-o, --output <format>',
|
|
27
|
+
description: 'Output format (text|json)',
|
|
28
|
+
default: 'text'
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
surfaces: ['cli'],
|
|
32
|
+
hardware: ['consumer', 'cloud'],
|
|
33
|
+
enabled: true
|
|
34
|
+
});
|
|
35
|
+
//# sourceMappingURL=infra-edge-tls-list.cli-command.descriptor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"infra-edge-tls-list.cli-command.descriptor.js","sourceRoot":"","sources":["../../../src/cli/edge-tls/infra-edge-tls-list.cli-command.descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD,eAAe,kBAAkB,CAAC;IACjC,EAAE,EAAE,qBAAqB;IACzB,IAAI,EAAE,aAAa;IACnB,IAAI,EAAE,MAAM;IACZ,WAAW,EAAE,oEAAoE;IACjF,KAAK,EAAE,gBAAgB;IACvB,OAAO,EAAE;QACR;YACC,KAAK,EAAE,eAAe;YACtB,WAAW,EACV,4FAA4F;SAC7F;QACD;YACC,KAAK,EAAE,mBAAmB;YAC1B,WAAW,EAAE,0CAA0C;SACvD;QACD;YACC,KAAK,EAAE,iBAAiB;YACxB,WAAW,EAAE,iDAAiD;SAC9D;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"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `vibes infra edge-tls list [--zone Z] [--hostname H]`
|
|
3
|
+
*
|
|
4
|
+
* Reads how the edge connects to origins in a zone:
|
|
5
|
+
*
|
|
6
|
+
* zone default opportunistic (flexible)
|
|
7
|
+
*
|
|
8
|
+
* hostnames policy managed
|
|
9
|
+
* ------------------------------------------------- -------- -------
|
|
10
|
+
* git-ssh.vibes.dev, git.vibes.dev, gitd.vibes.dev verified true
|
|
11
|
+
*
|
|
12
|
+
* `--output json` emits the raw EdgeTlsSnapshot for piping.
|
|
13
|
+
*/
|
|
14
|
+
import type { CommandContext, CommandOptions } from '@vibesdotdev/cli';
|
|
15
|
+
declare const _default: {
|
|
16
|
+
execute(_args: CommandOptions, opts: CommandOptions, context: CommandContext): Promise<void>;
|
|
17
|
+
};
|
|
18
|
+
export default _default;
|
|
19
|
+
//# sourceMappingURL=infra-edge-tls-list.cli-command.impl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"infra-edge-tls-list.cli-command.impl.d.ts","sourceRoot":"","sources":["../../../src/cli/edge-tls/infra-edge-tls-list.cli-command.impl.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAGH,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;;mBAO9D,cAAc,QACf,cAAc,WACX,cAAc,GACrB,OAAO,CAAC,IAAI,CAAC;;AALjB,wBA8EE"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `vibes infra edge-tls list [--zone Z] [--hostname H]`
|
|
3
|
+
*
|
|
4
|
+
* Reads how the edge connects to origins in a zone:
|
|
5
|
+
*
|
|
6
|
+
* zone default opportunistic (flexible)
|
|
7
|
+
*
|
|
8
|
+
* hostnames policy managed
|
|
9
|
+
* ------------------------------------------------- -------- -------
|
|
10
|
+
* git-ssh.vibes.dev, git.vibes.dev, gitd.vibes.dev verified true
|
|
11
|
+
*
|
|
12
|
+
* `--output json` emits the raw EdgeTlsSnapshot for piping.
|
|
13
|
+
*/
|
|
14
|
+
import { CapabilityError } from '@vibesdotdev/kernel';
|
|
15
|
+
import {} from '@vibesdotdev/cli/providers';
|
|
16
|
+
import { readString, resolveEdgeTlsImplementation } from "./resolve-edge-tls-provider.js";
|
|
17
|
+
export default {
|
|
18
|
+
async execute(_args, opts, context) {
|
|
19
|
+
const { runtime } = context;
|
|
20
|
+
const ui = await runtime.context('cli/ui');
|
|
21
|
+
const output = readString(opts.output) ?? 'text';
|
|
22
|
+
const { impl } = await resolveEdgeTlsImplementation(runtime, opts);
|
|
23
|
+
const hostname = readString(opts.hostname);
|
|
24
|
+
let snapshot;
|
|
25
|
+
try {
|
|
26
|
+
snapshot = await impl.read(hostname ? { hostname } : undefined);
|
|
27
|
+
}
|
|
28
|
+
catch (err) {
|
|
29
|
+
if (err instanceof CapabilityError)
|
|
30
|
+
throw err;
|
|
31
|
+
throw new CapabilityError('Failed to read edge TLS policy.', 'INTERNAL', { cause: err });
|
|
32
|
+
}
|
|
33
|
+
if (output === 'json') {
|
|
34
|
+
ui.json(snapshot);
|
|
35
|
+
return;
|
|
36
|
+
}
|
|
37
|
+
const fallback = snapshot.default;
|
|
38
|
+
ui.info(` zone ${snapshot.zone} default: ${fallback.policy ?? 'unmapped'} (${fallback.providerValue})` +
|
|
39
|
+
`${fallback.editable ? '' : ' [not editable on this plan]'}`);
|
|
40
|
+
if (fallback.policy === 'opportunistic' || fallback.policy === 'off') {
|
|
41
|
+
ui.info(' Hostnames without their own policy reach their origin unencrypted; an origin that redirects to HTTPS will loop.');
|
|
42
|
+
}
|
|
43
|
+
ui.info('');
|
|
44
|
+
if (snapshot.policies.length === 0) {
|
|
45
|
+
ui.info(' No per-hostname edge TLS policies.');
|
|
46
|
+
}
|
|
47
|
+
else {
|
|
48
|
+
const rows = snapshot.policies.map((policy) => ({
|
|
49
|
+
hostnames: policy.hostnames.join(', ') || policy.expression,
|
|
50
|
+
policy: `${policy.policy ?? 'unmapped'} (${policy.providerValue})`,
|
|
51
|
+
managed: policy.managed
|
|
52
|
+
}));
|
|
53
|
+
const hostWidth = Math.max(9, ...rows.map((row) => row.hostnames.length));
|
|
54
|
+
const policyWidth = Math.max(6, ...rows.map((row) => row.policy.length));
|
|
55
|
+
ui.info(` ${'hostnames'.padEnd(hostWidth)} ${'policy'.padEnd(policyWidth)} managed enabled`);
|
|
56
|
+
ui.info(` ${'-'.repeat(hostWidth)} ${'-'.repeat(policyWidth)} ------- -------`);
|
|
57
|
+
for (const [index, row] of rows.entries()) {
|
|
58
|
+
const live = snapshot.policies[index];
|
|
59
|
+
ui.info(` ${row.hostnames.padEnd(hostWidth)} ${row.policy.padEnd(policyWidth)} ${String(row.managed).padEnd(7)} ${live?.enabled ?? true}`);
|
|
60
|
+
}
|
|
61
|
+
const unmanaged = snapshot.policies.filter((policy) => !policy.managed);
|
|
62
|
+
if (unmanaged.length > 0) {
|
|
63
|
+
ui.info('');
|
|
64
|
+
ui.info(` ${unmanaged.length} policy/policies are not shaped by this kind and are never rewritten here.`);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
if (snapshot.coTenantRules > 0) {
|
|
68
|
+
ui.info('');
|
|
69
|
+
ui.info(` ${snapshot.coTenantRules} other configuration rule(s) share this provider container and are preserved on write.`);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
//# sourceMappingURL=infra-edge-tls-list.cli-command.impl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"infra-edge-tls-list.cli-command.impl.js","sourceRoot":"","sources":["../../../src/cli/edge-tls/infra-edge-tls-list.cli-command.impl.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD,OAAO,EAAkB,MAAM,4BAA4B,CAAC;AAE5D,OAAO,EAAE,UAAU,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAE1F,eAAe;IACd,KAAK,CAAC,OAAO,CACZ,KAAqB,EACrB,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,MAAM,GAAG,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,MAAM,CAAC;QAEjD,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,4BAA4B,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,QAAQ,GAAG,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAE3C,IAAI,QAAyB,CAAC;QAC9B,IAAI,CAAC;YACJ,QAAQ,GAAG,MAAM,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;QACjE,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACd,IAAI,GAAG,YAAY,eAAe;gBAAE,MAAM,GAAG,CAAC;YAC9C,MAAM,IAAI,eAAe,CACxB,iCAAiC,EACjC,UAAU,EACV,EAAE,KAAK,EAAE,GAAG,EAAE,CACd,CAAC;QACH,CAAC;QAED,IAAI,MAAM,KAAK,MAAM,EAAE,CAAC;YACvB,EAAE,CAAC,IAAI,CAAC,QAAQ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AC;YACZ,EAAE,CAAC,IAAI,CACN,KAAK,QAAQ,CAAC,aAAa,wFAAwF,CACnH,CAAC;QACH,CAAC;IACF,CAAC;CACD,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
readonly id: "infra-edge-tls.set-zone-default";
|
|
3
|
+
readonly kind: "cli/command";
|
|
4
|
+
readonly name: "set-zone-default";
|
|
5
|
+
readonly description: "DANGEROUS: change the zone-wide edge-to-origin TLS default for every hostname without its own policy";
|
|
6
|
+
readonly group: "infra-edge-tls";
|
|
7
|
+
readonly options: [{
|
|
8
|
+
readonly flags: "--policy <policy>";
|
|
9
|
+
readonly description: "verified | encrypted | opportunistic | off";
|
|
10
|
+
}, {
|
|
11
|
+
readonly flags: "--confirm-origin-breakage";
|
|
12
|
+
readonly description: "Required. The default applies to every hostname with no policy of its own, including ones you did not audit. `verified` returns 526 for any origin whose certificate is self-signed, expired, or issued for a different name; `opportunistic` makes the edge speak plaintext, which loops against an origin that redirects to HTTPS. Run `vibes infra edge-tls list` and check each unprotected origin first";
|
|
13
|
+
readonly default: false;
|
|
14
|
+
}, {
|
|
15
|
+
readonly flags: "--zone <zone>";
|
|
16
|
+
readonly description: "Apex zone to change (e.g. example.com; inferred from repo config when omitted)";
|
|
17
|
+
}, {
|
|
18
|
+
readonly flags: "--provider <id>";
|
|
19
|
+
readonly description: "Provider impl id (default: cloudflare-edge-tls)";
|
|
20
|
+
}, {
|
|
21
|
+
readonly flags: "--environment <name>";
|
|
22
|
+
readonly description: "Vibes environment for secret resolution (local|dev|staging|production)";
|
|
23
|
+
}, {
|
|
24
|
+
readonly flags: "--dry-run";
|
|
25
|
+
readonly description: "Show the current default and the requested change; do not write";
|
|
26
|
+
readonly default: false;
|
|
27
|
+
}, {
|
|
28
|
+
readonly flags: "-y, --yes";
|
|
29
|
+
readonly description: "Skip the confirmation prompt";
|
|
30
|
+
readonly default: false;
|
|
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-edge-tls-set-zone-default.cli-command.descriptor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"infra-edge-tls-set-zone-default.cli-command.descriptor.d.ts","sourceRoot":"","sources":["../../../src/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.descriptor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAiDG"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { createRuntimeAsset } from '@vibesdotdev/kernel';
|
|
2
|
+
export default createRuntimeAsset({
|
|
3
|
+
id: 'infra-edge-tls.set-zone-default',
|
|
4
|
+
kind: 'cli/command',
|
|
5
|
+
name: 'set-zone-default',
|
|
6
|
+
description: 'DANGEROUS: change the zone-wide edge-to-origin TLS default for every hostname without its own policy',
|
|
7
|
+
group: 'infra-edge-tls',
|
|
8
|
+
options: [
|
|
9
|
+
{
|
|
10
|
+
flags: '--policy <policy>',
|
|
11
|
+
description: 'verified | encrypted | opportunistic | off'
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
flags: '--confirm-origin-breakage',
|
|
15
|
+
description: 'Required. The default applies to every hostname with no policy of its own, including ones you did not audit. `verified` returns 526 for any origin whose certificate is self-signed, expired, or issued for a different name; `opportunistic` makes the edge speak plaintext, which loops against an origin that redirects to HTTPS. Run `vibes infra edge-tls list` and check each unprotected origin first',
|
|
16
|
+
default: false
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
flags: '--zone <zone>',
|
|
20
|
+
description: 'Apex zone to change (e.g. example.com; inferred from repo config when omitted)'
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
flags: '--provider <id>',
|
|
24
|
+
description: 'Provider impl id (default: cloudflare-edge-tls)'
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
flags: '--environment <name>',
|
|
28
|
+
description: 'Vibes environment for secret resolution (local|dev|staging|production)'
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
flags: '--dry-run',
|
|
32
|
+
description: 'Show the current default and the requested change; do not write',
|
|
33
|
+
default: false
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
flags: '-y, --yes',
|
|
37
|
+
description: 'Skip the confirmation prompt',
|
|
38
|
+
default: false
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
flags: '-o, --output <format>',
|
|
42
|
+
description: 'Output format (text|json)',
|
|
43
|
+
default: 'text'
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
surfaces: ['cli'],
|
|
47
|
+
hardware: ['consumer', 'cloud'],
|
|
48
|
+
enabled: true
|
|
49
|
+
});
|
|
50
|
+
//# sourceMappingURL=infra-edge-tls-set-zone-default.cli-command.descriptor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"infra-edge-tls-set-zone-default.cli-command.descriptor.js","sourceRoot":"","sources":["../../../src/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD,eAAe,kBAAkB,CAAC;IACjC,EAAE,EAAE,iCAAiC;IACrC,IAAI,EAAE,aAAa;IACnB,IAAI,EAAE,kBAAkB;IACxB,WAAW,EACV,sGAAsG;IACvG,KAAK,EAAE,gBAAgB;IACvB,OAAO,EAAE;QACR;YACC,KAAK,EAAE,mBAAmB;YAC1B,WAAW,EAAE,4CAA4C;SACzD;QACD;YACC,KAAK,EAAE,2BAA2B;YAClC,WAAW,EACV,8YAA8Y;YAC/Y,OAAO,EAAE,KAAK;SACd;QACD;YACC,KAAK,EAAE,eAAe;YACtB,WAAW,EAAE,gFAAgF;SAC7F;QACD;YACC,KAAK,EAAE,iBAAiB;YACxB,WAAW,EAAE,iDAAiD;SAC9D;QACD;YACC,KAAK,EAAE,sBAAsB;YAC7B,WAAW,EAAE,wEAAwE;SACrF;QACD;YACC,KAAK,EAAE,WAAW;YAClB,WAAW,EAAE,iEAAiE;YAC9E,OAAO,EAAE,KAAK;SACd;QACD;YACC,KAAK,EAAE,WAAW;YAClB,WAAW,EAAE,8BAA8B;YAC3C,OAAO,EAAE,KAAK;SACd;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"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `vibes infra edge-tls set-zone-default --policy P --confirm-origin-breakage`
|
|
3
|
+
*
|
|
4
|
+
* Separate from `set` because the blast radius is different in kind: a
|
|
5
|
+
* per-hostname policy affects the hostnames the operator named, while the zone
|
|
6
|
+
* default affects every hostname that has no policy of its own — including
|
|
7
|
+
* hostnames the operator has never looked at. Both the flag and the
|
|
8
|
+
* implementation guard must be satisfied, so neither a script nor a provider
|
|
9
|
+
* client can flip it silently.
|
|
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-edge-tls-set-zone-default.cli-command.impl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"infra-edge-tls-set-zone-default.cli-command.impl.d.ts","sourceRoot":"","sources":["../../../src/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.impl.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAGH,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;;mBAgB9D,cAAc,QACf,cAAc,WACX,cAAc,GACrB,OAAO,CAAC,IAAI,CAAC;;AALjB,wBAsFE"}
|