@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,81 @@
|
|
|
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 { CapabilityError } from '@vibesdotdev/kernel';
|
|
12
|
+
import {} from '@vibesdotdev/cli/providers';
|
|
13
|
+
import { readString, resolveEdgeTlsImplementation } from "./resolve-edge-tls-provider.js";
|
|
14
|
+
const POLICIES = ['verified', 'encrypted', 'opportunistic', 'off'];
|
|
15
|
+
function parseOriginTlsPolicy(raw) {
|
|
16
|
+
if (raw === 'verified' || raw === 'encrypted' || raw === 'opportunistic' || raw === 'off') {
|
|
17
|
+
return raw;
|
|
18
|
+
}
|
|
19
|
+
return undefined;
|
|
20
|
+
}
|
|
21
|
+
export default {
|
|
22
|
+
async execute(_args, opts, context) {
|
|
23
|
+
const { runtime } = context;
|
|
24
|
+
const ui = await runtime.context('cli/ui');
|
|
25
|
+
const output = readString(opts.output) ?? 'text';
|
|
26
|
+
const dryRun = opts['dry-run'] === true || opts.dryRun === true;
|
|
27
|
+
const assumeYes = opts.yes === true;
|
|
28
|
+
const acknowledged = opts['confirm-origin-breakage'] === true || opts.confirmOriginBreakage === true;
|
|
29
|
+
const requested = parseOriginTlsPolicy(readString(opts.policy));
|
|
30
|
+
if (!requested) {
|
|
31
|
+
throw new CapabilityError(`--policy must be one of ${POLICIES.join('|')}.`, 'INVALID_INPUT');
|
|
32
|
+
}
|
|
33
|
+
const { impl, descriptor } = await resolveEdgeTlsImplementation(runtime, opts);
|
|
34
|
+
const snapshot = await impl.read();
|
|
35
|
+
const covered = new Set(snapshot.policies.flatMap((policy) => policy.hostnames));
|
|
36
|
+
if (dryRun || !acknowledged) {
|
|
37
|
+
const detail = {
|
|
38
|
+
zone: snapshot.zone,
|
|
39
|
+
from: snapshot.default.policy,
|
|
40
|
+
fromProviderValue: snapshot.default.providerValue,
|
|
41
|
+
to: requested,
|
|
42
|
+
hostnamesWithOwnPolicy: [...covered].sort(),
|
|
43
|
+
acknowledged
|
|
44
|
+
};
|
|
45
|
+
if (output === 'json') {
|
|
46
|
+
ui.json({ dryRun: true, provider: descriptor.id, ...detail });
|
|
47
|
+
}
|
|
48
|
+
else {
|
|
49
|
+
ui.info(`zone ${snapshot.zone} default: ${snapshot.default.policy ?? snapshot.default.providerValue} -> ${requested}`);
|
|
50
|
+
ui.info(`${covered.size} hostname(s) carry their own policy and are unaffected: ${[...covered].sort().join(', ') || 'none'}`);
|
|
51
|
+
ui.info('Every other hostname in the zone inherits this default. Under `verified`, any origin whose certificate is self-signed, expired, or issued for a different name starts failing immediately.');
|
|
52
|
+
}
|
|
53
|
+
if (!acknowledged && !dryRun) {
|
|
54
|
+
throw new CapabilityError('--confirm-origin-breakage is required to change the zone default.', 'INVALID_INPUT');
|
|
55
|
+
}
|
|
56
|
+
if (dryRun)
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
if (!assumeYes) {
|
|
60
|
+
const confirmed = await ui.confirm(`Change the ${snapshot.zone} zone default to ${requested} for every hostname without its own policy?`, false);
|
|
61
|
+
if (!confirmed) {
|
|
62
|
+
ui.info('Aborted.');
|
|
63
|
+
return;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
try {
|
|
67
|
+
const change = await impl.setZoneDefault(requested, { acknowledgeOriginBreakage: true });
|
|
68
|
+
if (output === 'json') {
|
|
69
|
+
ui.json({ provider: descriptor.id, ...change });
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
ui.info(`zone ${change.zone} default is now ${change.to} (was ${change.from ?? snapshot.default.providerValue}).`);
|
|
73
|
+
}
|
|
74
|
+
catch (err) {
|
|
75
|
+
if (err instanceof CapabilityError)
|
|
76
|
+
throw err;
|
|
77
|
+
throw new CapabilityError('Failed to change the zone edge TLS default.', 'INTERNAL', { cause: err });
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
//# sourceMappingURL=infra-edge-tls-set-zone-default.cli-command.impl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"infra-edge-tls-set-zone-default.cli-command.impl.js","sourceRoot":"","sources":["../../../src/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.impl.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;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,MAAM,QAAQ,GAA+B,CAAC,UAAU,EAAE,WAAW,EAAE,eAAe,EAAE,KAAK,CAAC,CAAC;AAE/F,SAAS,oBAAoB,CAAC,GAAuB;IACpD,IAAI,GAAG,KAAK,UAAU,IAAI,GAAG,KAAK,WAAW,IAAI,GAAG,KAAK,eAAe,IAAI,GAAG,KAAK,KAAK,EAAE,CAAC;QAC3F,OAAO,GAAG,CAAC;IACZ,CAAC;IACD,OAAO,SAAS,CAAC;AAClB,CAAC;AAED,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;QACjD,MAAM,MAAM,GAAG,IAAI,CA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I,CACN,QAAQ,MAAM,CAAC,IAAI,mBAAmB,MAAM,CAAC,EAAE,SAAS,MAAM,CAAC,IAAI,IAAI,QAAQ,CAAC,OAAO,CAAC,aAAa,IAAI,CACzG,CAAC;QACH,CAAC;QAAC,OAAO,GAAG,EAAE,CAAC;YACd,IAAI,GAAG,YAAY,eAAe;gBAAE,MAAM,GAAG,CAAC;YAC9C,MAAM,IAAI,eAAe,CACxB,6CAA6C,EAC7C,UAAU,EACV,EAAE,KAAK,EAAE,GAAG,EAAE,CACd,CAAC;QACH,CAAC;IACF,CAAC;CACD,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
readonly id: "infra-edge-tls.set";
|
|
3
|
+
readonly kind: "cli/command";
|
|
4
|
+
readonly name: "set";
|
|
5
|
+
readonly description: "Declare the edge-to-origin TLS policy for one or more hostnames";
|
|
6
|
+
readonly group: "infra-edge-tls";
|
|
7
|
+
readonly options: [{
|
|
8
|
+
readonly flags: "--hostname <names>";
|
|
9
|
+
readonly description: "Comma-separated hostnames this policy covers (e.g. app.example.com,api.example.com)";
|
|
10
|
+
}, {
|
|
11
|
+
readonly flags: "--policy <policy>";
|
|
12
|
+
readonly description: "verified (valid origin certificate required) | encrypted (no validation) | opportunistic (plaintext allowed; loops when the origin redirects to HTTPS) | off";
|
|
13
|
+
readonly default: "verified";
|
|
14
|
+
}, {
|
|
15
|
+
readonly flags: "--description <text>";
|
|
16
|
+
readonly description: "Operator note stored alongside the policy";
|
|
17
|
+
}, {
|
|
18
|
+
readonly flags: "--zone <zone>";
|
|
19
|
+
readonly description: "Apex zone override; inferred from --hostname or repo config when omitted";
|
|
20
|
+
}, {
|
|
21
|
+
readonly flags: "--provider <id>";
|
|
22
|
+
readonly description: "Provider impl id (default: cloudflare-edge-tls)";
|
|
23
|
+
}, {
|
|
24
|
+
readonly flags: "--environment <name>";
|
|
25
|
+
readonly description: "Vibes environment for secret resolution (local|dev|staging|production)";
|
|
26
|
+
}, {
|
|
27
|
+
readonly flags: "--dry-run";
|
|
28
|
+
readonly description: "Show what would change; do not write";
|
|
29
|
+
readonly default: false;
|
|
30
|
+
}, {
|
|
31
|
+
readonly flags: "-o, --output <format>";
|
|
32
|
+
readonly description: "Output format (text|json)";
|
|
33
|
+
readonly default: "text";
|
|
34
|
+
}];
|
|
35
|
+
readonly surfaces: ["cli"];
|
|
36
|
+
readonly hardware: ["consumer", "cloud"];
|
|
37
|
+
readonly enabled: true;
|
|
38
|
+
};
|
|
39
|
+
export default _default;
|
|
40
|
+
//# sourceMappingURL=infra-edge-tls-set.cli-command.descriptor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"infra-edge-tls-set.cli-command.descriptor.d.ts","sourceRoot":"","sources":["../../../src/cli/edge-tls/infra-edge-tls-set.cli-command.descriptor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAgDG"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { createRuntimeAsset } from '@vibesdotdev/kernel';
|
|
2
|
+
export default createRuntimeAsset({
|
|
3
|
+
id: 'infra-edge-tls.set',
|
|
4
|
+
kind: 'cli/command',
|
|
5
|
+
name: 'set',
|
|
6
|
+
description: 'Declare the edge-to-origin TLS policy for one or more hostnames',
|
|
7
|
+
group: 'infra-edge-tls',
|
|
8
|
+
options: [
|
|
9
|
+
{
|
|
10
|
+
flags: '--hostname <names>',
|
|
11
|
+
description: 'Comma-separated hostnames this policy covers (e.g. app.example.com,api.example.com)'
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
flags: '--policy <policy>',
|
|
15
|
+
description: 'verified (valid origin certificate required) | encrypted (no validation) | opportunistic (plaintext allowed; loops when the origin redirects to HTTPS) | off',
|
|
16
|
+
default: 'verified'
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
flags: '--description <text>',
|
|
20
|
+
description: 'Operator note stored alongside the policy'
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
flags: '--zone <zone>',
|
|
24
|
+
description: 'Apex zone override; inferred from --hostname or repo config when omitted'
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
flags: '--provider <id>',
|
|
28
|
+
description: 'Provider impl id (default: cloudflare-edge-tls)'
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
flags: '--environment <name>',
|
|
32
|
+
description: 'Vibes environment for secret resolution (local|dev|staging|production)'
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
flags: '--dry-run',
|
|
36
|
+
description: 'Show what would change; do not write',
|
|
37
|
+
default: false
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
flags: '-o, --output <format>',
|
|
41
|
+
description: 'Output format (text|json)',
|
|
42
|
+
default: 'text'
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
surfaces: ['cli'],
|
|
46
|
+
hardware: ['consumer', 'cloud'],
|
|
47
|
+
enabled: true
|
|
48
|
+
});
|
|
49
|
+
//# sourceMappingURL=infra-edge-tls-set.cli-command.descriptor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"infra-edge-tls-set.cli-command.descriptor.js","sourceRoot":"","sources":["../../../src/cli/edge-tls/infra-edge-tls-set.cli-command.descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD,eAAe,kBAAkB,CAAC;IACjC,EAAE,EAAE,oBAAoB;IACxB,IAAI,EAAE,aAAa;IACnB,IAAI,EAAE,KAAK;IACX,WAAW,EAAE,iEAAiE;IAC9E,KAAK,EAAE,gBAAgB;IACvB,OAAO,EAAE;QACR;YACC,KAAK,EAAE,oBAAoB;YAC3B,WAAW,EACV,qFAAqF;SACtF;QACD;YACC,KAAK,EAAE,mBAAmB;YAC1B,WAAW,EACV,8JAA8J;YAC/J,OAAO,EAAE,UAAU;SACnB;QACD;YACC,KAAK,EAAE,sBAAsB;YAC7B,WAAW,EAAE,2CAA2C;SACxD;QACD;YACC,KAAK,EAAE,eAAe;YACtB,WAAW,EAAE,0EAA0E;SACvF;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,sCAAsC;YACnD,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,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `vibes infra edge-tls set --hostname H[,H2] --policy P [--dry-run]`
|
|
3
|
+
*
|
|
4
|
+
* Idempotent on the hostname set: updates the live policy for exactly those
|
|
5
|
+
* hostnames instead of adding a second policy that would race it by rule
|
|
6
|
+
* order. `--dry-run` prints the diff the write would produce and exits without
|
|
7
|
+
* touching the provider.
|
|
8
|
+
*/
|
|
9
|
+
import type { CommandContext, CommandOptions } from '@vibesdotdev/cli';
|
|
10
|
+
declare const _default: {
|
|
11
|
+
execute(_args: CommandOptions, opts: CommandOptions, context: CommandContext): Promise<void>;
|
|
12
|
+
};
|
|
13
|
+
export default _default;
|
|
14
|
+
//# sourceMappingURL=infra-edge-tls-set.cli-command.impl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"infra-edge-tls-set.cli-command.impl.d.ts","sourceRoot":"","sources":["../../../src/cli/edge-tls/infra-edge-tls-set.cli-command.impl.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;;mBAoB9D,cAAc,QACf,cAAc,WACX,cAAc,GACrB,OAAO,CAAC,IAAI,CAAC;;AALjB,wBAiFE"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `vibes infra edge-tls set --hostname H[,H2] --policy P [--dry-run]`
|
|
3
|
+
*
|
|
4
|
+
* Idempotent on the hostname set: updates the live policy for exactly those
|
|
5
|
+
* hostnames instead of adding a second policy that would race it by rule
|
|
6
|
+
* order. `--dry-run` prints the diff the write would produce and exits without
|
|
7
|
+
* touching the provider.
|
|
8
|
+
*/
|
|
9
|
+
import { CapabilityError } from '@vibesdotdev/kernel';
|
|
10
|
+
import {} from '@vibesdotdev/cli/providers';
|
|
11
|
+
import { readHostnames, readString, resolveEdgeTlsImplementation } from "./resolve-edge-tls-provider.js";
|
|
12
|
+
const POLICIES = ['verified', 'encrypted', 'opportunistic', 'off'];
|
|
13
|
+
function parseOriginTlsPolicy(raw) {
|
|
14
|
+
if (raw === 'verified' || raw === 'encrypted' || raw === 'opportunistic' || raw === 'off') {
|
|
15
|
+
return raw;
|
|
16
|
+
}
|
|
17
|
+
return undefined;
|
|
18
|
+
}
|
|
19
|
+
export default {
|
|
20
|
+
async execute(_args, opts, context) {
|
|
21
|
+
const { runtime } = context;
|
|
22
|
+
const ui = await runtime.context('cli/ui');
|
|
23
|
+
const output = readString(opts.output) ?? 'text';
|
|
24
|
+
const dryRun = opts['dry-run'] === true || opts.dryRun === true;
|
|
25
|
+
const hostnames = readHostnames(opts.hostname);
|
|
26
|
+
if (hostnames.length === 0) {
|
|
27
|
+
throw new CapabilityError('--hostname is required.', 'INVALID_INPUT');
|
|
28
|
+
}
|
|
29
|
+
const rawPolicy = readString(opts.policy);
|
|
30
|
+
const requested = rawPolicy ? parseOriginTlsPolicy(rawPolicy) : 'verified';
|
|
31
|
+
if (!requested) {
|
|
32
|
+
throw new CapabilityError(`--policy must be one of ${POLICIES.join('|')}; received "${rawPolicy}".`, 'INVALID_INPUT');
|
|
33
|
+
}
|
|
34
|
+
const description = readString(opts.description);
|
|
35
|
+
const policy = description
|
|
36
|
+
? { hostnames, policy: requested, description }
|
|
37
|
+
: { hostnames, policy: requested };
|
|
38
|
+
const { impl, descriptor } = await resolveEdgeTlsImplementation(runtime, opts);
|
|
39
|
+
if (dryRun) {
|
|
40
|
+
const diff = await impl.diff([policy]);
|
|
41
|
+
if (output === 'json') {
|
|
42
|
+
ui.json({ dryRun: true, provider: descriptor.id, ...diff });
|
|
43
|
+
return;
|
|
44
|
+
}
|
|
45
|
+
for (const created of diff.create) {
|
|
46
|
+
ui.info(`create ${created.hostnames.join(', ')} -> ${created.policy}`);
|
|
47
|
+
}
|
|
48
|
+
for (const changed of diff.update) {
|
|
49
|
+
ui.info(`update ${changed.to.hostnames.join(', ')}: ` +
|
|
50
|
+
`${changed.from.policy ?? changed.from.providerValue} -> ${changed.to.policy}`);
|
|
51
|
+
}
|
|
52
|
+
for (const same of diff.unchanged) {
|
|
53
|
+
ui.info(`ok ${same.hostnames.join(', ')} already ${same.policy ?? same.providerValue}`);
|
|
54
|
+
}
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
let result;
|
|
58
|
+
try {
|
|
59
|
+
result = await impl.setPolicy(policy);
|
|
60
|
+
}
|
|
61
|
+
catch (err) {
|
|
62
|
+
if (err instanceof CapabilityError)
|
|
63
|
+
throw err;
|
|
64
|
+
throw new CapabilityError('Failed to write edge TLS policy.', 'INTERNAL', { cause: err });
|
|
65
|
+
}
|
|
66
|
+
if (output === 'json') {
|
|
67
|
+
ui.json({ provider: descriptor.id, policy, ...result });
|
|
68
|
+
return;
|
|
69
|
+
}
|
|
70
|
+
ui.info(`${result.created ? 'created' : 'updated'} ${hostnames.join(', ')} -> ${requested} ` +
|
|
71
|
+
`(id=${result.providerId || 'unknown'})`);
|
|
72
|
+
ui.info(`preserved ${result.preservedRules} co-tenant rule(s); ${result.totalRules} rule(s) now in the container.`);
|
|
73
|
+
if (requested === 'opportunistic' || requested === 'off') {
|
|
74
|
+
ui.info('This policy lets the edge reach the origin unencrypted. An origin that redirects HTTP to HTTPS will loop until the edge gives up.');
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
//# sourceMappingURL=infra-edge-tls-set.cli-command.impl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"infra-edge-tls-set.cli-command.impl.js","sourceRoot":"","sources":["../../../src/cli/edge-tls/infra-edge-tls-set.cli-command.impl.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD,OAAO,EAAkB,MAAM,4BAA4B,CAAC;AAE5D,OAAO,EACN,aAAa,EACb,UAAU,EACV,4BAA4B,EAC5B,MAAM,gCAAgC,CAAC;AAExC,MAAM,QAAQ,GAA+B,CAAC,UAAU,EAAE,WAAW,EAAE,eAAe,EAAE,KAAK,CAAC,CAAC;AAE/F,SAAS,oBAAoB,CAAC,GAAuB;IACpD,IAAI,GAAG,KAAK,UAAU,IAAI,GAAG,KAAK,WAAW,IAAI,GAAG,KAAK,eAAe,IAAI,GAAG,KAAK,KAAK,EAAE,CAAC;QAC3F,OAAO,GAAG,CAAC;IACZ,CAAC;IACD,OAAO,SAAS,CAAC;AAClB,CAAC;AAED,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;QACjD,MAAM,MAAM,GAAG,IAAI,CAAC,SAAS,CAAC,KAAK,IAAI,IAAI,IAAI,CAAC,MAAM,KAAK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,CACN,GAAG,MAAM,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,IAAI,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,SAAS,GAAG;YACnF,OAAO,MAAM,CAAC,UAAU,IAAI,SAAS,GAAG,CACzC,CAAC;QACF,EAAE,CAAC,IAAI,CACN,aAAa,MAAM,CAAC,cAAc,uBAAuB,MAAM,CAAC,UAAU,gCAAgC,CAC1G,CAAC;QACF,IAAI,SAAS,KAAK,eAAe,IAAI,SAAS,KAAK,KAAK,EAAE,CAAC;YAC1D,EAAE,CAAC,IAAI,CACN,mIAAmI,CACnI,CAAC;QACH,CAAC;IACF,CAAC;CACD,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
readonly id: "infra-edge-tls";
|
|
3
|
+
readonly kind: "cli/group";
|
|
4
|
+
readonly name: "edge-tls";
|
|
5
|
+
readonly description: "Provider-agnostic edge-to-origin TLS policy — list, set, delete";
|
|
6
|
+
readonly parent: "infra";
|
|
7
|
+
readonly surfaces: ["cli"];
|
|
8
|
+
readonly hardware: ["consumer", "cloud"];
|
|
9
|
+
readonly enabled: true;
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
12
|
+
//# sourceMappingURL=infra-edge-tls.cli-group.descriptor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"infra-edge-tls.cli-group.descriptor.d.ts","sourceRoot":"","sources":["../../../src/cli/edge-tls/infra-edge-tls.cli-group.descriptor.ts"],"names":[],"mappings":";;;;;;;;;;AAEA,wBASG"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { createRuntimeAsset } from '@vibesdotdev/kernel';
|
|
2
|
+
export default createRuntimeAsset({
|
|
3
|
+
id: 'infra-edge-tls',
|
|
4
|
+
kind: 'cli/group',
|
|
5
|
+
name: 'edge-tls',
|
|
6
|
+
description: 'Provider-agnostic edge-to-origin TLS policy — list, set, delete',
|
|
7
|
+
parent: 'infra',
|
|
8
|
+
surfaces: ['cli'],
|
|
9
|
+
hardware: ['consumer', 'cloud'],
|
|
10
|
+
enabled: true
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=infra-edge-tls.cli-group.descriptor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"infra-edge-tls.cli-group.descriptor.js","sourceRoot":"","sources":["../../../src/cli/edge-tls/infra-edge-tls.cli-group.descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD,eAAe,kBAAkB,CAAC;IACjC,EAAE,EAAE,gBAAgB;IACpB,IAAI,EAAE,WAAW;IACjB,IAAI,EAAE,UAAU;IAChB,WAAW,EAAE,iEAAiE;IAC9E,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,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared provider resolution for `vibes infra edge-tls *`.
|
|
3
|
+
*
|
|
4
|
+
* Picks the `infra/edge-tls` implementation, optionally scoped to a named
|
|
5
|
+
* provider and a credential environment.
|
|
6
|
+
*/
|
|
7
|
+
import { type VibesRuntime } from '@vibesdotdev/kernel';
|
|
8
|
+
import type { EdgeTlsImplementation, InfraEdgeTlsDescriptor } from '@vibesdotdev/infra-core';
|
|
9
|
+
import type { CommandOptions, CommandOptionValue } from '@vibesdotdev/cli';
|
|
10
|
+
import { readString } from '../shared/option-strings.ts';
|
|
11
|
+
export { readString };
|
|
12
|
+
export interface EdgeTlsCreateOptions {
|
|
13
|
+
environment?: string;
|
|
14
|
+
zone?: string;
|
|
15
|
+
}
|
|
16
|
+
export interface EdgeTlsScopedFactory extends EdgeTlsImplementation {
|
|
17
|
+
create?: (opts: EdgeTlsCreateOptions) => Promise<EdgeTlsImplementation>;
|
|
18
|
+
}
|
|
19
|
+
/** Split a comma-separated hostname option into a normalized list. */
|
|
20
|
+
export declare function readHostnames(value: CommandOptionValue | undefined): string[];
|
|
21
|
+
export declare function resolveEdgeTlsImplementation(runtime: VibesRuntime, opts: CommandOptions): Promise<{
|
|
22
|
+
impl: EdgeTlsImplementation;
|
|
23
|
+
descriptor: InfraEdgeTlsDescriptor;
|
|
24
|
+
}>;
|
|
25
|
+
//# sourceMappingURL=resolve-edge-tls-provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolve-edge-tls-provider.d.ts","sourceRoot":"","sources":["../../../src/cli/edge-tls/resolve-edge-tls-provider.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAmB,KAAK,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACzE,OAAO,KAAK,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AAC7F,OAAO,KAAK,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAG3E,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAEzD,OAAO,EAAE,UAAU,EAAE,CAAC;AAEtB,MAAM,WAAW,oBAAoB;IACpC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,oBAAqB,SAAQ,qBAAqB;IAClE,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,oBAAoB,KAAK,OAAO,CAAC,qBAAqB,CAAC,CAAC;CACxE;AAED,sEAAsE;AACtE,wBAAgB,aAAa,CAAC,KAAK,EAAE,kBAAkB,GAAG,SAAS,GAAG,MAAM,EAAE,CAO7E;AAED,wBAAsB,4BAA4B,CACjD,OAAO,EAAE,YAAY,EACrB,IAAI,EAAE,cAAc,GAClB,OAAO,CAAC;IACV,IAAI,EAAE,qBAAqB,CAAC;IAC5B,UAAU,EAAE,sBAAsB,CAAC;CACnC,CAAC,CAwDD"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared provider resolution for `vibes infra edge-tls *`.
|
|
3
|
+
*
|
|
4
|
+
* Picks the `infra/edge-tls` 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
|
+
/** Split a comma-separated hostname option into a normalized list. */
|
|
12
|
+
export function readHostnames(value) {
|
|
13
|
+
const raw = readString(value);
|
|
14
|
+
if (!raw)
|
|
15
|
+
return [];
|
|
16
|
+
return raw
|
|
17
|
+
.split(',')
|
|
18
|
+
.map((host) => host.trim())
|
|
19
|
+
.filter((host) => host.length > 0);
|
|
20
|
+
}
|
|
21
|
+
export async function resolveEdgeTlsImplementation(runtime, opts) {
|
|
22
|
+
if (!runtime.hasKind('infra/edge-tls')) {
|
|
23
|
+
throw new CapabilityError('No infra/edge-tls kind registered. Load infra-cloudflare or a sibling provider plugin.', 'NOT_FOUND');
|
|
24
|
+
}
|
|
25
|
+
const providerFilter = readString(opts.provider);
|
|
26
|
+
const descriptors = runtime
|
|
27
|
+
.assets('infra/edge-tls')
|
|
28
|
+
.descriptors();
|
|
29
|
+
const descriptor = providerFilter
|
|
30
|
+
? descriptors.find((d) => d.adapter === providerFilter || d.id === providerFilter)
|
|
31
|
+
: descriptors[0];
|
|
32
|
+
if (!descriptor) {
|
|
33
|
+
throw new CapabilityError(`No matching edge TLS provider${providerFilter ? ` for --provider "${providerFilter}"` : ''}.`, 'NOT_FOUND');
|
|
34
|
+
}
|
|
35
|
+
const base = await runtime
|
|
36
|
+
.query('infra/edge-tls')
|
|
37
|
+
.withId(descriptor.id)
|
|
38
|
+
.resolve();
|
|
39
|
+
const environment = readString(opts.environment);
|
|
40
|
+
let zone = readString(opts.zone);
|
|
41
|
+
if (!zone) {
|
|
42
|
+
const hostnames = readHostnames(opts.hostname);
|
|
43
|
+
if (hostnames.length > 0 && hostnames[0]) {
|
|
44
|
+
const parts = hostnames[0].split('.');
|
|
45
|
+
if (parts.length >= 2)
|
|
46
|
+
zone = parts.slice(-2).join('.');
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
if (!zone) {
|
|
50
|
+
zone = await inferApexZoneFromWorkspace(runtime);
|
|
51
|
+
}
|
|
52
|
+
if (!environment && !zone)
|
|
53
|
+
return { impl: base, descriptor };
|
|
54
|
+
// Re-create the impl so the descriptor carries the caller's environment
|
|
55
|
+
// and zone; the memoized zone lookup belongs to the new instance.
|
|
56
|
+
if (!base.create)
|
|
57
|
+
return { impl: base, descriptor };
|
|
58
|
+
const createOpts = {};
|
|
59
|
+
if (environment)
|
|
60
|
+
createOpts.environment = environment;
|
|
61
|
+
if (zone)
|
|
62
|
+
createOpts.zone = zone;
|
|
63
|
+
const scoped = await base.create(createOpts);
|
|
64
|
+
const scopedDescriptor = { ...descriptor };
|
|
65
|
+
if (environment)
|
|
66
|
+
scopedDescriptor.environment = environment;
|
|
67
|
+
if (zone)
|
|
68
|
+
scopedDescriptor.zone = zone;
|
|
69
|
+
return {
|
|
70
|
+
impl: scoped,
|
|
71
|
+
descriptor: scopedDescriptor
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
//# sourceMappingURL=resolve-edge-tls-provider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolve-edge-tls-provider.js","sourceRoot":"","sources":["../../../src/cli/edge-tls/resolve-edge-tls-provider.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,eAAe,EAAqB,MAAM,qBAAqB,CAAC;AAIzE,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA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,MAAM,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;IAE7C,MAAM,gBAAgB,GAA2B,EAAE,GAAG,UAAU,EAAE,CAAC;IACnE,IAAI,WAAW;QAAE,gBAAgB,CAAC,WAAW,GAAG,WAAW,CAAC;IAC5D,IAAI,IAAI;QAAE,gBAAgB,CAAC,IAAI,GAAG,IAAI,CAAC;IAEvC,OAAO;QACN,IAAI,EAAE,MAAM;QACZ,UAAU,EAAE,gBAAgB;KAC5B,CAAC;AACH,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-deploy";
|
|
3
|
+
readonly kind: "cli/group";
|
|
4
|
+
readonly name: "deploy";
|
|
5
|
+
readonly description: "Build and deploy apps declared in deployment.config.ts";
|
|
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-deploy.cli-group.descriptor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"infra-deploy.cli-group.descriptor.js","sourceRoot":"","sources":["../../src/cli/infra-deploy.cli-group.descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"infra-deploy.cli-group.descriptor.js","sourceRoot":"","sources":["../../src/cli/infra-deploy.cli-group.descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD,eAAe,kBAAkB,CAAC;IACjC,EAAE,EAAE,cAAc;IAClB,IAAI,EAAE,WAAW;IACjB,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,wDAAwD;IACrE,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"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
id:
|
|
3
|
-
kind: "cli/group";
|
|
4
|
-
name:
|
|
5
|
-
description:
|
|
6
|
-
surfaces:
|
|
7
|
-
hardware:
|
|
8
|
-
enabled: true;
|
|
2
|
+
readonly id: "infra";
|
|
3
|
+
readonly kind: "cli/group";
|
|
4
|
+
readonly name: "infra";
|
|
5
|
+
readonly description: "Infrastructure commands";
|
|
6
|
+
readonly surfaces: ["cli"];
|
|
7
|
+
readonly hardware: ["consumer", "cloud"];
|
|
8
|
+
readonly enabled: true;
|
|
9
9
|
};
|
|
10
10
|
export default _default;
|
|
11
11
|
//# sourceMappingURL=infra.cli-group.descriptor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"infra.cli-group.descriptor.js","sourceRoot":"","sources":["../../src/cli/infra.cli-group.descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"infra.cli-group.descriptor.js","sourceRoot":"","sources":["../../src/cli/infra.cli-group.descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD,eAAe,kBAAkB,CAAC;IACjC,EAAE,EAAE,OAAO;IACX,IAAI,EAAE,WAAW;IACjB,IAAI,EAAE,OAAO;IACb,WAAW,EAAE,yBAAyB;IACtC,QAAQ,EAAE,CAAC,KAAK,CAAC;IACjB,QAAQ,EAAE,CAAC,UAAU,EAAE,OAAO,CAAC;IAC/B,OAAO,EAAE,IAAI;CACb,CAAC,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
readonly id: "infra-inventory";
|
|
3
|
+
readonly kind: "cli/command";
|
|
4
|
+
readonly name: "inventory";
|
|
5
|
+
readonly description: "Read-only inventory from runtime-registered infrastructure providers";
|
|
6
|
+
readonly group: "infra";
|
|
7
|
+
readonly options: [{
|
|
8
|
+
readonly flags: "--provider <id>";
|
|
9
|
+
readonly description: "Restrict to one infra/inventory descriptor id";
|
|
10
|
+
}, {
|
|
11
|
+
readonly flags: "--include <kinds>";
|
|
12
|
+
readonly description: "Comma-separated infra resource kinds";
|
|
13
|
+
}, {
|
|
14
|
+
readonly flags: "--environment <name>";
|
|
15
|
+
readonly description: "Secrets environment used by provider adapters";
|
|
16
|
+
}, {
|
|
17
|
+
readonly flags: "-o, --output <format>";
|
|
18
|
+
readonly description: "Output format (text|json)";
|
|
19
|
+
readonly default: "text";
|
|
20
|
+
}];
|
|
21
|
+
readonly surfaces: ["cli"];
|
|
22
|
+
readonly hardware: ["consumer", "cloud"];
|
|
23
|
+
readonly enabled: true;
|
|
24
|
+
};
|
|
25
|
+
export default _default;
|
|
26
|
+
//# sourceMappingURL=infra-inventory.cli-command.descriptor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"infra-inventory.cli-command.descriptor.d.ts","sourceRoot":"","sources":["../../../src/cli/inventory/infra-inventory.cli-command.descriptor.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAEA,wBAeG"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { createRuntimeAsset } from '@vibesdotdev/kernel';
|
|
2
|
+
export default createRuntimeAsset({
|
|
3
|
+
id: 'infra-inventory',
|
|
4
|
+
kind: 'cli/command',
|
|
5
|
+
name: 'inventory',
|
|
6
|
+
description: 'Read-only inventory from runtime-registered infrastructure providers',
|
|
7
|
+
group: 'infra',
|
|
8
|
+
options: [
|
|
9
|
+
{ flags: '--provider <id>', description: 'Restrict to one infra/inventory descriptor id' },
|
|
10
|
+
{ flags: '--include <kinds>', description: 'Comma-separated infra resource kinds' },
|
|
11
|
+
{ flags: '--environment <name>', description: 'Secrets environment used by provider adapters' },
|
|
12
|
+
{ flags: '-o, --output <format>', description: 'Output format (text|json)', default: 'text' }
|
|
13
|
+
],
|
|
14
|
+
surfaces: ['cli'],
|
|
15
|
+
hardware: ['consumer', 'cloud'],
|
|
16
|
+
enabled: true
|
|
17
|
+
});
|
|
18
|
+
//# sourceMappingURL=infra-inventory.cli-command.descriptor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"infra-inventory.cli-command.descriptor.js","sourceRoot":"","sources":["../../../src/cli/inventory/infra-inventory.cli-command.descriptor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD,eAAe,kBAAkB,CAAC;IACjC,EAAE,EAAE,iBAAiB;IACrB,IAAI,EAAE,aAAa;IACnB,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,sEAAsE;IACnF,KAAK,EAAE,OAAO;IACd,OAAO,EAAE;QACR,EAAE,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,+CAA+C,EAAE;QAC1F,EAAE,KAAK,EAAE,mBAAmB,EAAE,WAAW,EAAE,sCAAsC,EAAE;QACnF,EAAE,KAAK,EAAE,sBAAsB,EAAE,WAAW,EAAE,+CAA+C,EAAE;QAC/F,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,18 @@
|
|
|
1
|
+
import type { CommandContext, CommandOptions } from '@vibesdotdev/cli';
|
|
2
|
+
import { type VibesRuntime } from '@vibesdotdev/kernel';
|
|
3
|
+
import type { InventorySnapshot } from '@vibesdotdev/infra-core/kinds';
|
|
4
|
+
export interface InventoryReport {
|
|
5
|
+
collectedAt: string;
|
|
6
|
+
providers: Array<{
|
|
7
|
+
descriptorId: string;
|
|
8
|
+
snapshot?: InventorySnapshot;
|
|
9
|
+
error?: string;
|
|
10
|
+
}>;
|
|
11
|
+
}
|
|
12
|
+
export declare function collectInventoryReport(runtime: VibesRuntime, opts: CommandOptions): Promise<InventoryReport>;
|
|
13
|
+
export declare function renderInventoryText(report: InventoryReport): string;
|
|
14
|
+
declare const _default: {
|
|
15
|
+
execute(_args: CommandOptions, opts: CommandOptions, context: CommandContext): Promise<void>;
|
|
16
|
+
};
|
|
17
|
+
export default _default;
|
|
18
|
+
//# sourceMappingURL=infra-inventory.cli-command.impl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"infra-inventory.cli-command.impl.d.ts","sourceRoot":"","sources":["../../../src/cli/inventory/infra-inventory.cli-command.impl.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvE,OAAO,EAA6C,KAAK,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAEnG,OAAO,KAAK,EAGX,iBAAiB,EACjB,MAAM,+BAA+B,CAAC;AAkBvC,MAAM,WAAW,eAAe;IAC/B,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,KAAK,CAAC;QAAE,YAAY,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,iBAAiB,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACzF;AAkBD,wBAAsB,sBAAsB,CAC3C,OAAO,EAAE,YAAY,EACrB,IAAI,EAAE,cAAc,GAClB,OAAO,CAAC,eAAe,CAAC,CA8C1B;AAwCD,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,eAAe,GAAG,MAAM,CAkFnE;;mBAGqB,cAAc,QAAQ,cAAc,WAAW,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;;AADnG,wBAkBE"}
|