@vibesdotdev/infra-deploy 0.0.2 → 1.0.0-rc.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +18 -0
- package/README.md +76 -12
- package/dist/cli/alerts/infra-alerts-create.cli-command.descriptor.d.ts +48 -35
- package/dist/cli/alerts/infra-alerts-create.cli-command.descriptor.d.ts.map +1 -1
- package/dist/cli/alerts/infra-alerts-create.cli-command.descriptor.js +1 -1
- package/dist/cli/alerts/infra-alerts-create.cli-command.descriptor.js.map +1 -1
- package/dist/cli/alerts/infra-alerts-create.cli-command.impl.d.ts +2 -1
- package/dist/cli/alerts/infra-alerts-create.cli-command.impl.d.ts.map +1 -1
- package/dist/cli/alerts/infra-alerts-create.cli-command.impl.js +31 -21
- package/dist/cli/alerts/infra-alerts-create.cli-command.impl.js.map +1 -1
- package/dist/cli/alerts/infra-alerts-delete.cli-command.descriptor.d.ts +26 -27
- package/dist/cli/alerts/infra-alerts-delete.cli-command.descriptor.d.ts.map +1 -1
- package/dist/cli/alerts/infra-alerts-delete.cli-command.descriptor.js +1 -1
- package/dist/cli/alerts/infra-alerts-delete.cli-command.descriptor.js.map +1 -1
- package/dist/cli/alerts/infra-alerts-delete.cli-command.impl.d.ts +2 -1
- package/dist/cli/alerts/infra-alerts-delete.cli-command.impl.d.ts.map +1 -1
- package/dist/cli/alerts/infra-alerts-delete.cli-command.impl.js +11 -11
- package/dist/cli/alerts/infra-alerts-delete.cli-command.impl.js.map +1 -1
- package/dist/cli/alerts/infra-alerts-list.cli-command.descriptor.d.ts +19 -17
- package/dist/cli/alerts/infra-alerts-list.cli-command.descriptor.d.ts.map +1 -1
- package/dist/cli/alerts/infra-alerts-list.cli-command.descriptor.js +1 -1
- package/dist/cli/alerts/infra-alerts-list.cli-command.descriptor.js.map +1 -1
- package/dist/cli/alerts/infra-alerts-list.cli-command.impl.d.ts +2 -1
- package/dist/cli/alerts/infra-alerts-list.cli-command.impl.d.ts.map +1 -1
- package/dist/cli/alerts/infra-alerts-list.cli-command.impl.js +15 -14
- package/dist/cli/alerts/infra-alerts-list.cli-command.impl.js.map +1 -1
- package/dist/cli/alerts/infra-alerts.cli-group.descriptor.d.ts +8 -8
- package/dist/cli/alerts/infra-alerts.cli-group.descriptor.js +1 -1
- package/dist/cli/alerts/infra-alerts.cli-group.descriptor.js.map +1 -1
- package/dist/cli/audit/infra-audit.cli-command.descriptor.d.ts +24 -17
- package/dist/cli/audit/infra-audit.cli-command.descriptor.d.ts.map +1 -1
- package/dist/cli/audit/infra-audit.cli-command.descriptor.js +8 -3
- package/dist/cli/audit/infra-audit.cli-command.descriptor.js.map +1 -1
- package/dist/cli/audit/infra-audit.cli-command.impl.d.ts +164 -1
- package/dist/cli/audit/infra-audit.cli-command.impl.d.ts.map +1 -1
- package/dist/cli/audit/infra-audit.cli-command.impl.js +557 -76
- package/dist/cli/audit/infra-audit.cli-command.impl.js.map +1 -1
- package/dist/cli/db/infra-db.cli-command.descriptor.d.ts +49 -0
- package/dist/cli/db/infra-db.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/db/infra-db.cli-command.descriptor.js +60 -0
- package/dist/cli/db/infra-db.cli-command.descriptor.js.map +1 -0
- package/dist/cli/db/infra-db.cli-command.impl.d.ts +30 -0
- package/dist/cli/db/infra-db.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/db/infra-db.cli-command.impl.js +167 -0
- package/dist/cli/db/infra-db.cli-command.impl.js.map +1 -0
- package/dist/cli/dns/infra-dns-activate.cli-command.impl.d.ts +6 -0
- package/dist/cli/dns/infra-dns-activate.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/dns/infra-dns-activate.cli-command.impl.js +53 -0
- package/dist/cli/dns/infra-dns-activate.cli-command.impl.js.map +1 -0
- package/dist/cli/dns/infra-dns-delete.cli-command.descriptor.d.ts +41 -0
- package/dist/cli/dns/infra-dns-delete.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/dns/infra-dns-delete.cli-command.descriptor.js +50 -0
- package/dist/cli/dns/infra-dns-delete.cli-command.descriptor.js.map +1 -0
- package/dist/cli/dns/infra-dns-delete.cli-command.impl.d.ts +12 -0
- package/dist/cli/dns/infra-dns-delete.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/dns/infra-dns-delete.cli-command.impl.js +70 -0
- package/dist/cli/dns/infra-dns-delete.cli-command.impl.js.map +1 -0
- package/dist/cli/dns/infra-dns-list.cli-command.descriptor.d.ts +32 -0
- package/dist/cli/dns/infra-dns-list.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/dns/infra-dns-list.cli-command.descriptor.js +39 -0
- package/dist/cli/dns/infra-dns-list.cli-command.descriptor.js.map +1 -0
- package/dist/cli/dns/infra-dns-list.cli-command.impl.d.ts +17 -0
- package/dist/cli/dns/infra-dns-list.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/dns/infra-dns-list.cli-command.impl.js +66 -0
- package/dist/cli/dns/infra-dns-list.cli-command.impl.js.map +1 -0
- package/dist/cli/dns/infra-dns-set.cli-command.descriptor.d.ts +58 -0
- package/dist/cli/dns/infra-dns-set.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/dns/infra-dns-set.cli-command.descriptor.js +72 -0
- package/dist/cli/dns/infra-dns-set.cli-command.descriptor.js.map +1 -0
- package/dist/cli/dns/infra-dns-set.cli-command.impl.d.ts +14 -0
- package/dist/cli/dns/infra-dns-set.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/dns/infra-dns-set.cli-command.impl.js +110 -0
- package/dist/cli/dns/infra-dns-set.cli-command.impl.js.map +1 -0
- package/dist/cli/dns/infra-dns.cli-group.descriptor.d.ts +41 -0
- package/dist/cli/dns/infra-dns.cli-group.descriptor.d.ts.map +1 -0
- package/dist/cli/dns/infra-dns.cli-group.descriptor.js +47 -0
- package/dist/cli/dns/infra-dns.cli-group.descriptor.js.map +1 -0
- package/dist/cli/dns/resolve-dns-provider.d.ts +24 -0
- package/dist/cli/dns/resolve-dns-provider.d.ts.map +1 -0
- package/dist/cli/dns/resolve-dns-provider.js +62 -0
- package/dist/cli/dns/resolve-dns-provider.js.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-delete.cli-command.descriptor.d.ts +37 -0
- package/dist/cli/edge-tls/infra-edge-tls-delete.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-delete.cli-command.descriptor.js +45 -0
- package/dist/cli/edge-tls/infra-edge-tls-delete.cli-command.descriptor.js.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-delete.cli-command.impl.d.ts +15 -0
- package/dist/cli/edge-tls/infra-edge-tls-delete.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-delete.cli-command.impl.js +78 -0
- package/dist/cli/edge-tls/infra-edge-tls-delete.cli-command.impl.js.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-list.cli-command.descriptor.d.ts +29 -0
- package/dist/cli/edge-tls/infra-edge-tls-list.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-list.cli-command.descriptor.js +35 -0
- package/dist/cli/edge-tls/infra-edge-tls-list.cli-command.descriptor.js.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-list.cli-command.impl.d.ts +19 -0
- package/dist/cli/edge-tls/infra-edge-tls-list.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-list.cli-command.impl.js +73 -0
- package/dist/cli/edge-tls/infra-edge-tls-list.cli-command.impl.js.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.descriptor.d.ts +41 -0
- package/dist/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.descriptor.js +50 -0
- package/dist/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.descriptor.js.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.impl.d.ts +16 -0
- package/dist/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.impl.js +81 -0
- package/dist/cli/edge-tls/infra-edge-tls-set-zone-default.cli-command.impl.js.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-set.cli-command.descriptor.d.ts +40 -0
- package/dist/cli/edge-tls/infra-edge-tls-set.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-set.cli-command.descriptor.js +49 -0
- package/dist/cli/edge-tls/infra-edge-tls-set.cli-command.descriptor.js.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-set.cli-command.impl.d.ts +14 -0
- package/dist/cli/edge-tls/infra-edge-tls-set.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls-set.cli-command.impl.js +78 -0
- package/dist/cli/edge-tls/infra-edge-tls-set.cli-command.impl.js.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls.cli-group.descriptor.d.ts +12 -0
- package/dist/cli/edge-tls/infra-edge-tls.cli-group.descriptor.d.ts.map +1 -0
- package/dist/cli/edge-tls/infra-edge-tls.cli-group.descriptor.js +12 -0
- package/dist/cli/edge-tls/infra-edge-tls.cli-group.descriptor.js.map +1 -0
- package/dist/cli/edge-tls/resolve-edge-tls-provider.d.ts +25 -0
- package/dist/cli/edge-tls/resolve-edge-tls-provider.d.ts.map +1 -0
- package/dist/cli/edge-tls/resolve-edge-tls-provider.js +74 -0
- package/dist/cli/edge-tls/resolve-edge-tls-provider.js.map +1 -0
- package/dist/cli/infra-deploy.cli-group.descriptor.d.ts +8 -8
- package/dist/cli/infra-deploy.cli-group.descriptor.js +1 -1
- package/dist/cli/infra-deploy.cli-group.descriptor.js.map +1 -1
- package/dist/cli/infra.cli-group.descriptor.d.ts +7 -7
- package/dist/cli/infra.cli-group.descriptor.js +1 -1
- package/dist/cli/infra.cli-group.descriptor.js.map +1 -1
- package/dist/cli/inventory/infra-inventory.cli-command.descriptor.d.ts +26 -0
- package/dist/cli/inventory/infra-inventory.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/inventory/infra-inventory.cli-command.descriptor.js +18 -0
- package/dist/cli/inventory/infra-inventory.cli-command.descriptor.js.map +1 -0
- package/dist/cli/inventory/infra-inventory.cli-command.impl.d.ts +18 -0
- package/dist/cli/inventory/infra-inventory.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/inventory/infra-inventory.cli-command.impl.js +204 -0
- package/dist/cli/inventory/infra-inventory.cli-command.impl.js.map +1 -0
- package/dist/cli/list/infra-deploy.list.cli-command.descriptor.d.ts +40 -30
- package/dist/cli/list/infra-deploy.list.cli-command.descriptor.d.ts.map +1 -1
- package/dist/cli/list/infra-deploy.list.cli-command.descriptor.js +7 -3
- package/dist/cli/list/infra-deploy.list.cli-command.descriptor.js.map +1 -1
- package/dist/cli/list/infra-deploy.list.cli-command.impl.d.ts +35 -1
- package/dist/cli/list/infra-deploy.list.cli-command.impl.d.ts.map +1 -1
- package/dist/cli/list/infra-deploy.list.cli-command.impl.js +202 -20
- package/dist/cli/list/infra-deploy.list.cli-command.impl.js.map +1 -1
- package/dist/cli/logs/infra-logs.cli-command.descriptor.d.ts +113 -35
- package/dist/cli/logs/infra-logs.cli-command.descriptor.d.ts.map +1 -1
- package/dist/cli/logs/infra-logs.cli-command.descriptor.js +87 -3
- package/dist/cli/logs/infra-logs.cli-command.descriptor.js.map +1 -1
- package/dist/cli/logs/infra-logs.cli-command.impl.d.ts +61 -1
- package/dist/cli/logs/infra-logs.cli-command.impl.d.ts.map +1 -1
- package/dist/cli/logs/infra-logs.cli-command.impl.js +1160 -111
- package/dist/cli/logs/infra-logs.cli-command.impl.js.map +1 -1
- package/dist/cli/logs/stream-worker-tail.d.ts +7 -2
- package/dist/cli/logs/stream-worker-tail.d.ts.map +1 -1
- package/dist/cli/logs/stream-worker-tail.js +280 -113
- package/dist/cli/logs/stream-worker-tail.js.map +1 -1
- package/dist/cli/migrate/infra-deploy.migrate.cli-command.descriptor.d.ts +62 -0
- package/dist/cli/migrate/infra-deploy.migrate.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/migrate/infra-deploy.migrate.cli-command.descriptor.js +79 -0
- package/dist/cli/migrate/infra-deploy.migrate.cli-command.descriptor.js.map +1 -0
- package/dist/cli/migrate/infra-deploy.migrate.cli-command.impl.d.ts +8 -0
- package/dist/cli/migrate/infra-deploy.migrate.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/migrate/infra-deploy.migrate.cli-command.impl.js +105 -0
- package/dist/cli/migrate/infra-deploy.migrate.cli-command.impl.js.map +1 -0
- package/dist/cli/npm/infra-npm-mirror.cli-command.descriptor.d.ts +34 -0
- package/dist/cli/npm/infra-npm-mirror.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/npm/infra-npm-mirror.cli-command.descriptor.js +42 -0
- package/dist/cli/npm/infra-npm-mirror.cli-command.descriptor.js.map +1 -0
- package/dist/cli/npm/infra-npm-mirror.cli-command.impl.d.ts +13 -0
- package/dist/cli/npm/infra-npm-mirror.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/npm/infra-npm-mirror.cli-command.impl.js +82 -0
- package/dist/cli/npm/infra-npm-mirror.cli-command.impl.js.map +1 -0
- package/dist/cli/npm/infra-npm-publish.cli-command.descriptor.d.ts +80 -23
- package/dist/cli/npm/infra-npm-publish.cli-command.descriptor.d.ts.map +1 -1
- package/dist/cli/npm/infra-npm-publish.cli-command.descriptor.js +48 -16
- package/dist/cli/npm/infra-npm-publish.cli-command.descriptor.js.map +1 -1
- package/dist/cli/npm/infra-npm-publish.cli-command.impl.d.ts +47 -1
- package/dist/cli/npm/infra-npm-publish.cli-command.impl.d.ts.map +1 -1
- package/dist/cli/npm/infra-npm-publish.cli-command.impl.js +532 -351
- package/dist/cli/npm/infra-npm-publish.cli-command.impl.js.map +1 -1
- package/dist/cli/npm/infra-npm-reconcile-latest.cli-command.descriptor.d.ts +28 -0
- package/dist/cli/npm/infra-npm-reconcile-latest.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/npm/infra-npm-reconcile-latest.cli-command.descriptor.js +34 -0
- package/dist/cli/npm/infra-npm-reconcile-latest.cli-command.descriptor.js.map +1 -0
- package/dist/cli/npm/infra-npm-reconcile-latest.cli-command.impl.d.ts +12 -0
- package/dist/cli/npm/infra-npm-reconcile-latest.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/npm/infra-npm-reconcile-latest.cli-command.impl.js +134 -0
- package/dist/cli/npm/infra-npm-reconcile-latest.cli-command.impl.js.map +1 -0
- package/dist/cli/npm/infra-npm.cli-group.descriptor.d.ts +8 -8
- package/dist/cli/npm/infra-npm.cli-group.descriptor.js +1 -1
- package/dist/cli/npm/infra-npm.cli-group.descriptor.js.map +1 -1
- package/dist/cli/npm/mirror-registry-artifacts.d.ts +64 -0
- package/dist/cli/npm/mirror-registry-artifacts.d.ts.map +1 -0
- package/dist/cli/npm/mirror-registry-artifacts.js +114 -0
- package/dist/cli/npm/mirror-registry-artifacts.js.map +1 -0
- package/dist/cli/npm/publish/command-options.d.ts +24 -0
- package/dist/cli/npm/publish/command-options.d.ts.map +1 -0
- package/dist/cli/npm/publish/command-options.js +85 -0
- package/dist/cli/npm/publish/command-options.js.map +1 -0
- package/dist/cli/npm/publish/concurrency.d.ts +19 -0
- package/dist/cli/npm/publish/concurrency.d.ts.map +1 -0
- package/dist/cli/npm/publish/concurrency.js +60 -0
- package/dist/cli/npm/publish/concurrency.js.map +1 -0
- package/dist/cli/npm/publish/consumer-smoke.d.ts +83 -0
- package/dist/cli/npm/publish/consumer-smoke.d.ts.map +1 -0
- package/dist/cli/npm/publish/consumer-smoke.js +371 -0
- package/dist/cli/npm/publish/consumer-smoke.js.map +1 -0
- package/dist/cli/npm/publish/consumer-surfaces.d.ts +81 -0
- package/dist/cli/npm/publish/consumer-surfaces.d.ts.map +1 -0
- package/dist/cli/npm/publish/consumer-surfaces.js +199 -0
- package/dist/cli/npm/publish/consumer-surfaces.js.map +1 -0
- package/dist/cli/npm/publish/external-requirements.d.ts +171 -0
- package/dist/cli/npm/publish/external-requirements.d.ts.map +1 -0
- package/dist/cli/npm/publish/external-requirements.js +365 -0
- package/dist/cli/npm/publish/external-requirements.js.map +1 -0
- package/dist/cli/npm/publish/forge-source-identity.d.ts +64 -0
- package/dist/cli/npm/publish/forge-source-identity.d.ts.map +1 -0
- package/dist/cli/npm/publish/forge-source-identity.js +201 -0
- package/dist/cli/npm/publish/forge-source-identity.js.map +1 -0
- package/dist/cli/npm/publish/fs-paths.d.ts +25 -0
- package/dist/cli/npm/publish/fs-paths.d.ts.map +1 -0
- package/dist/cli/npm/publish/fs-paths.js +87 -0
- package/dist/cli/npm/publish/fs-paths.js.map +1 -0
- package/dist/cli/npm/publish/lease-preflight-answer.d.ts +17 -0
- package/dist/cli/npm/publish/lease-preflight-answer.d.ts.map +1 -0
- package/dist/cli/npm/publish/lease-preflight-answer.js +35 -0
- package/dist/cli/npm/publish/lease-preflight-answer.js.map +1 -0
- package/dist/cli/npm/publish/lease-preflight.d.ts +92 -0
- package/dist/cli/npm/publish/lease-preflight.d.ts.map +1 -0
- package/dist/cli/npm/publish/lease-preflight.js +205 -0
- package/dist/cli/npm/publish/lease-preflight.js.map +1 -0
- package/dist/cli/npm/publish/managed-lease.d.ts +110 -0
- package/dist/cli/npm/publish/managed-lease.d.ts.map +1 -0
- package/dist/cli/npm/publish/managed-lease.js +191 -0
- package/dist/cli/npm/publish/managed-lease.js.map +1 -0
- package/dist/cli/npm/publish/npm-exec.d.ts +148 -0
- package/dist/cli/npm/publish/npm-exec.d.ts.map +1 -0
- package/dist/cli/npm/publish/npm-exec.js +311 -0
- package/dist/cli/npm/publish/npm-exec.js.map +1 -0
- package/dist/cli/npm/publish/package-artifact.d.ts +107 -0
- package/dist/cli/npm/publish/package-artifact.d.ts.map +1 -0
- package/dist/cli/npm/publish/package-artifact.js +418 -0
- package/dist/cli/npm/publish/package-artifact.js.map +1 -0
- package/dist/cli/npm/publish/platform-registry.d.ts +76 -0
- package/dist/cli/npm/publish/platform-registry.d.ts.map +1 -0
- package/dist/cli/npm/publish/platform-registry.js +324 -0
- package/dist/cli/npm/publish/platform-registry.js.map +1 -0
- package/dist/cli/npm/publish/proof-external-closure.d.ts +139 -0
- package/dist/cli/npm/publish/proof-external-closure.d.ts.map +1 -0
- package/dist/cli/npm/publish/proof-external-closure.js +339 -0
- package/dist/cli/npm/publish/proof-external-closure.js.map +1 -0
- package/dist/cli/npm/publish/proof-installed-graph.d.ts +26 -0
- package/dist/cli/npm/publish/proof-installed-graph.d.ts.map +1 -0
- package/dist/cli/npm/publish/proof-installed-graph.js +229 -0
- package/dist/cli/npm/publish/proof-installed-graph.js.map +1 -0
- package/dist/cli/npm/publish/proof-registry.d.ts +74 -0
- package/dist/cli/npm/publish/proof-registry.d.ts.map +1 -0
- package/dist/cli/npm/publish/proof-registry.js +335 -0
- package/dist/cli/npm/publish/proof-registry.js.map +1 -0
- package/dist/cli/npm/publish/proof-source-credentials.d.ts +42 -0
- package/dist/cli/npm/publish/proof-source-credentials.d.ts.map +1 -0
- package/dist/cli/npm/publish/proof-source-credentials.js +129 -0
- package/dist/cli/npm/publish/proof-source-credentials.js.map +1 -0
- package/dist/cli/npm/publish/publish-package.d.ts +66 -0
- package/dist/cli/npm/publish/publish-package.d.ts.map +1 -0
- package/dist/cli/npm/publish/publish-package.js +544 -0
- package/dist/cli/npm/publish/publish-package.js.map +1 -0
- package/dist/cli/npm/publish/publisher-manifest.d.ts +173 -0
- package/dist/cli/npm/publish/publisher-manifest.d.ts.map +1 -0
- package/dist/cli/npm/publish/publisher-manifest.js +79 -0
- package/dist/cli/npm/publish/publisher-manifest.js.map +1 -0
- package/dist/cli/npm/publish/rc-major-exception.d.ts +20 -0
- package/dist/cli/npm/publish/rc-major-exception.d.ts.map +1 -0
- package/dist/cli/npm/publish/rc-major-exception.js +46 -0
- package/dist/cli/npm/publish/rc-major-exception.js.map +1 -0
- package/dist/cli/npm/publish/registry-availability.d.ts +150 -0
- package/dist/cli/npm/publish/registry-availability.d.ts.map +1 -0
- package/dist/cli/npm/publish/registry-availability.js +570 -0
- package/dist/cli/npm/publish/registry-availability.js.map +1 -0
- package/dist/cli/npm/publish/registry-credentials.d.ts +108 -0
- package/dist/cli/npm/publish/registry-credentials.d.ts.map +1 -0
- package/dist/cli/npm/publish/registry-credentials.js +290 -0
- package/dist/cli/npm/publish/registry-credentials.js.map +1 -0
- package/dist/cli/npm/publish/registry-reads.d.ts +42 -0
- package/dist/cli/npm/publish/registry-reads.d.ts.map +1 -0
- package/dist/cli/npm/publish/registry-reads.js +164 -0
- package/dist/cli/npm/publish/registry-reads.js.map +1 -0
- package/dist/cli/npm/publish/release-build.d.ts +46 -0
- package/dist/cli/npm/publish/release-build.d.ts.map +1 -0
- package/dist/cli/npm/publish/release-build.js +140 -0
- package/dist/cli/npm/publish/release-build.js.map +1 -0
- package/dist/cli/npm/publish/release-consumer-proof.d.ts +70 -0
- package/dist/cli/npm/publish/release-consumer-proof.d.ts.map +1 -0
- package/dist/cli/npm/publish/release-consumer-proof.js +397 -0
- package/dist/cli/npm/publish/release-consumer-proof.js.map +1 -0
- package/dist/cli/npm/publish/release-executor.d.ts +46 -0
- package/dist/cli/npm/publish/release-executor.d.ts.map +1 -0
- package/dist/cli/npm/publish/release-executor.js +181 -0
- package/dist/cli/npm/publish/release-executor.js.map +1 -0
- package/dist/cli/npm/publish/release-grants.client.impl.d.ts +10 -0
- package/dist/cli/npm/publish/release-grants.client.impl.d.ts.map +1 -0
- package/dist/cli/npm/publish/release-grants.client.impl.js +63 -0
- package/dist/cli/npm/publish/release-grants.client.impl.js.map +1 -0
- package/dist/cli/npm/publish/release-jobs.client.d.ts +39 -0
- package/dist/cli/npm/publish/release-jobs.client.d.ts.map +1 -0
- package/dist/cli/npm/publish/release-jobs.client.js +124 -0
- package/dist/cli/npm/publish/release-jobs.client.js.map +1 -0
- package/dist/cli/npm/publish/release-jobs.consumer.plugin.d.ts +20 -0
- package/dist/cli/npm/publish/release-jobs.consumer.plugin.d.ts.map +1 -0
- package/dist/cli/npm/publish/release-jobs.consumer.plugin.js +82 -0
- package/dist/cli/npm/publish/release-jobs.consumer.plugin.js.map +1 -0
- package/dist/cli/npm/publish/release-jobs.impl.d.ts +15 -0
- package/dist/cli/npm/publish/release-jobs.impl.d.ts.map +1 -0
- package/dist/cli/npm/publish/release-jobs.impl.js +42 -0
- package/dist/cli/npm/publish/release-jobs.impl.js.map +1 -0
- package/dist/cli/npm/publish/release-lock.d.ts +143 -0
- package/dist/cli/npm/publish/release-lock.d.ts.map +1 -0
- package/dist/cli/npm/publish/release-lock.js +371 -0
- package/dist/cli/npm/publish/release-lock.js.map +1 -0
- package/dist/cli/npm/publish/release-phases.d.ts +93 -0
- package/dist/cli/npm/publish/release-phases.d.ts.map +1 -0
- package/dist/cli/npm/publish/release-phases.js +175 -0
- package/dist/cli/npm/publish/release-phases.js.map +1 -0
- package/dist/cli/npm/publish/release-plan.d.ts +65 -0
- package/dist/cli/npm/publish/release-plan.d.ts.map +1 -0
- package/dist/cli/npm/publish/release-plan.js +178 -0
- package/dist/cli/npm/publish/release-plan.js.map +1 -0
- package/dist/cli/npm/publish/release-preflight.job.impl.d.ts +16 -0
- package/dist/cli/npm/publish/release-preflight.job.impl.d.ts.map +1 -0
- package/dist/cli/npm/publish/release-preflight.job.impl.js +71 -0
- package/dist/cli/npm/publish/release-preflight.job.impl.js.map +1 -0
- package/dist/cli/npm/publish/release-publish.job.impl.d.ts +18 -0
- package/dist/cli/npm/publish/release-publish.job.impl.d.ts.map +1 -0
- package/dist/cli/npm/publish/release-publish.job.impl.js +295 -0
- package/dist/cli/npm/publish/release-publish.job.impl.js.map +1 -0
- package/dist/cli/npm/publish/release-workspace.d.ts +95 -0
- package/dist/cli/npm/publish/release-workspace.d.ts.map +1 -0
- package/dist/cli/npm/publish/release-workspace.js +243 -0
- package/dist/cli/npm/publish/release-workspace.js.map +1 -0
- package/dist/cli/npm/publish/sensitive-temp.d.ts +90 -0
- package/dist/cli/npm/publish/sensitive-temp.d.ts.map +1 -0
- package/dist/cli/npm/publish/sensitive-temp.js +351 -0
- package/dist/cli/npm/publish/sensitive-temp.js.map +1 -0
- package/dist/cli/npm/publish/source-snapshot.d.ts +91 -0
- package/dist/cli/npm/publish/source-snapshot.d.ts.map +1 -0
- package/dist/cli/npm/publish/source-snapshot.js +245 -0
- package/dist/cli/npm/publish/source-snapshot.js.map +1 -0
- package/dist/cli/npm/publish/types.d.ts +69 -0
- package/dist/cli/npm/publish/types.d.ts.map +1 -0
- package/dist/cli/npm/publish/types.js +2 -0
- package/dist/cli/npm/publish/types.js.map +1 -0
- package/dist/cli/npm/publish/workspace-discovery.d.ts +48 -0
- package/dist/cli/npm/publish/workspace-discovery.d.ts.map +1 -0
- package/dist/cli/npm/publish/workspace-discovery.js +313 -0
- package/dist/cli/npm/publish/workspace-discovery.js.map +1 -0
- package/dist/cli/npm/put-attested-packument.d.ts +96 -0
- package/dist/cli/npm/put-attested-packument.d.ts.map +1 -0
- package/dist/cli/npm/put-attested-packument.js +240 -0
- package/dist/cli/npm/put-attested-packument.js.map +1 -0
- package/dist/cli/npm/reconcile-latest.d.ts +55 -0
- package/dist/cli/npm/reconcile-latest.d.ts.map +1 -0
- package/dist/cli/npm/reconcile-latest.js +59 -0
- package/dist/cli/npm/reconcile-latest.js.map +1 -0
- package/dist/cli/observability/blind-spots.d.ts +10 -0
- package/dist/cli/observability/blind-spots.d.ts.map +1 -0
- package/dist/cli/observability/blind-spots.js +19 -0
- package/dist/cli/observability/blind-spots.js.map +1 -0
- package/dist/cli/observability/infra-observability-exports-list.cli-command.impl.d.ts +6 -0
- package/dist/cli/observability/infra-observability-exports-list.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/observability/infra-observability-exports-list.cli-command.impl.js +75 -0
- package/dist/cli/observability/infra-observability-exports-list.cli-command.impl.js.map +1 -0
- package/dist/cli/observability/infra-observability-set.cli-command.descriptor.d.ts +42 -21
- package/dist/cli/observability/infra-observability-set.cli-command.descriptor.d.ts.map +1 -1
- package/dist/cli/observability/infra-observability-set.cli-command.descriptor.js +3 -3
- package/dist/cli/observability/infra-observability-set.cli-command.descriptor.js.map +1 -1
- package/dist/cli/observability/infra-observability-set.cli-command.impl.d.ts +3 -2
- package/dist/cli/observability/infra-observability-set.cli-command.impl.d.ts.map +1 -1
- package/dist/cli/observability/infra-observability-set.cli-command.impl.js +14 -14
- package/dist/cli/observability/infra-observability-set.cli-command.impl.js.map +1 -1
- package/dist/cli/observability/infra-observability-status.cli-command.descriptor.d.ts +25 -17
- package/dist/cli/observability/infra-observability-status.cli-command.descriptor.d.ts.map +1 -1
- package/dist/cli/observability/infra-observability-status.cli-command.descriptor.js +1 -1
- package/dist/cli/observability/infra-observability-status.cli-command.descriptor.js.map +1 -1
- package/dist/cli/observability/infra-observability-status.cli-command.impl.d.ts +2 -1
- package/dist/cli/observability/infra-observability-status.cli-command.impl.d.ts.map +1 -1
- package/dist/cli/observability/infra-observability-status.cli-command.impl.js +30 -23
- package/dist/cli/observability/infra-observability-status.cli-command.impl.js.map +1 -1
- package/dist/cli/observability/infra-observability.cli-group.descriptor.d.ts +8 -8
- package/dist/cli/observability/infra-observability.cli-group.descriptor.js +1 -1
- package/dist/cli/observability/infra-observability.cli-group.descriptor.js.map +1 -1
- package/dist/cli/plugin.d.ts +3 -0
- package/dist/cli/plugin.d.ts.map +1 -0
- package/dist/cli/plugin.js +45 -0
- package/dist/cli/plugin.js.map +1 -0
- package/dist/cli/readiness/infra-deploy.readiness.cli-command.descriptor.d.ts +38 -0
- package/dist/cli/readiness/infra-deploy.readiness.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/readiness/infra-deploy.readiness.cli-command.descriptor.js +43 -0
- package/dist/cli/readiness/infra-deploy.readiness.cli-command.descriptor.js.map +1 -0
- package/dist/cli/readiness/infra-deploy.readiness.cli-command.impl.d.ts +117 -0
- package/dist/cli/readiness/infra-deploy.readiness.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/readiness/infra-deploy.readiness.cli-command.impl.js +678 -0
- package/dist/cli/readiness/infra-deploy.readiness.cli-command.impl.js.map +1 -0
- package/dist/cli/regenerate/infra-deploy.regenerate.cli-command.descriptor.d.ts +37 -23
- package/dist/cli/regenerate/infra-deploy.regenerate.cli-command.descriptor.d.ts.map +1 -1
- package/dist/cli/regenerate/infra-deploy.regenerate.cli-command.descriptor.js +7 -1
- package/dist/cli/regenerate/infra-deploy.regenerate.cli-command.descriptor.js.map +1 -1
- package/dist/cli/regenerate/infra-deploy.regenerate.cli-command.impl.d.ts +2 -1
- package/dist/cli/regenerate/infra-deploy.regenerate.cli-command.impl.d.ts.map +1 -1
- package/dist/cli/regenerate/infra-deploy.regenerate.cli-command.impl.js +100 -25
- package/dist/cli/regenerate/infra-deploy.regenerate.cli-command.impl.js.map +1 -1
- package/dist/cli/release/cli/latest-manifest.d.ts +148 -0
- package/dist/cli/release/cli/latest-manifest.d.ts.map +1 -0
- package/dist/cli/release/cli/latest-manifest.js +152 -0
- package/dist/cli/release/cli/latest-manifest.js.map +1 -0
- package/dist/cli/rollback/infra-deploy.rollback.cli-command.descriptor.d.ts +41 -0
- package/dist/cli/rollback/infra-deploy.rollback.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/rollback/infra-deploy.rollback.cli-command.descriptor.js +49 -0
- package/dist/cli/rollback/infra-deploy.rollback.cli-command.descriptor.js.map +1 -0
- package/dist/cli/rollback/infra-deploy.rollback.cli-command.impl.d.ts +16 -0
- package/dist/cli/rollback/infra-deploy.rollback.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/rollback/infra-deploy.rollback.cli-command.impl.js +52 -0
- package/dist/cli/rollback/infra-deploy.rollback.cli-command.impl.js.map +1 -0
- package/dist/cli/rum/infra-rum-status.cli-command.descriptor.d.ts +19 -17
- package/dist/cli/rum/infra-rum-status.cli-command.descriptor.d.ts.map +1 -1
- package/dist/cli/rum/infra-rum-status.cli-command.descriptor.js +1 -1
- package/dist/cli/rum/infra-rum-status.cli-command.descriptor.js.map +1 -1
- package/dist/cli/rum/infra-rum-status.cli-command.impl.d.ts +2 -1
- package/dist/cli/rum/infra-rum-status.cli-command.impl.d.ts.map +1 -1
- package/dist/cli/rum/infra-rum-status.cli-command.impl.js +21 -15
- package/dist/cli/rum/infra-rum-status.cli-command.impl.js.map +1 -1
- package/dist/cli/rum/infra-rum.cli-group.descriptor.d.ts +8 -8
- package/dist/cli/rum/infra-rum.cli-group.descriptor.js +1 -1
- package/dist/cli/rum/infra-rum.cli-group.descriptor.js.map +1 -1
- package/dist/cli/run/deploy-smoke.d.ts +57 -0
- package/dist/cli/run/deploy-smoke.d.ts.map +1 -0
- package/dist/cli/run/deploy-smoke.js +251 -0
- package/dist/cli/run/deploy-smoke.js.map +1 -0
- package/dist/cli/run/deployment-marker.d.ts +74 -0
- package/dist/cli/run/deployment-marker.d.ts.map +1 -0
- package/dist/cli/run/deployment-marker.js +237 -0
- package/dist/cli/run/deployment-marker.js.map +1 -0
- package/dist/cli/run/deployment-provider.d.ts +56 -0
- package/dist/cli/run/deployment-provider.d.ts.map +1 -0
- package/dist/cli/run/deployment-provider.js +295 -0
- package/dist/cli/run/deployment-provider.js.map +1 -0
- package/dist/cli/run/deployment-run-ledger.d.ts +72 -0
- package/dist/cli/run/deployment-run-ledger.d.ts.map +1 -0
- package/dist/cli/run/deployment-run-ledger.js +164 -0
- package/dist/cli/run/deployment-run-ledger.js.map +1 -0
- package/dist/cli/run/git-source-identity.d.ts +21 -0
- package/dist/cli/run/git-source-identity.d.ts.map +1 -0
- package/dist/cli/run/git-source-identity.js +73 -0
- package/dist/cli/run/git-source-identity.js.map +1 -0
- package/dist/cli/run/immutable-deployment-release.program.d.ts +403 -0
- package/dist/cli/run/immutable-deployment-release.program.d.ts.map +1 -0
- package/dist/cli/run/immutable-deployment-release.program.js +589 -0
- package/dist/cli/run/immutable-deployment-release.program.js.map +1 -0
- package/dist/cli/run/immutable-deployment-workspace.d.ts +39 -0
- package/dist/cli/run/immutable-deployment-workspace.d.ts.map +1 -0
- package/dist/cli/run/immutable-deployment-workspace.js +525 -0
- package/dist/cli/run/immutable-deployment-workspace.js.map +1 -0
- package/dist/cli/run/infra-deploy.run.cli-command.descriptor.d.ts +80 -23
- package/dist/cli/run/infra-deploy.run.cli-command.descriptor.d.ts.map +1 -1
- package/dist/cli/run/infra-deploy.run.cli-command.descriptor.js +50 -8
- package/dist/cli/run/infra-deploy.run.cli-command.descriptor.js.map +1 -1
- package/dist/cli/run/infra-deploy.run.cli-command.impl.d.ts +46 -1
- package/dist/cli/run/infra-deploy.run.cli-command.impl.d.ts.map +1 -1
- package/dist/cli/run/infra-deploy.run.cli-command.impl.js +464 -226
- package/dist/cli/run/infra-deploy.run.cli-command.impl.js.map +1 -1
- package/dist/cli/shared/build-workspace-artifacts.d.ts +147 -0
- package/dist/cli/shared/build-workspace-artifacts.d.ts.map +1 -0
- package/dist/cli/shared/build-workspace-artifacts.js +2013 -0
- package/dist/cli/shared/build-workspace-artifacts.js.map +1 -0
- package/dist/cli/shared/credential-source.d.ts +3 -0
- package/dist/cli/shared/credential-source.d.ts.map +1 -0
- package/dist/cli/shared/credential-source.js +19 -0
- package/dist/cli/shared/credential-source.js.map +1 -0
- package/dist/cli/shared/discover-deployments.d.ts +46 -5
- package/dist/cli/shared/discover-deployments.d.ts.map +1 -1
- package/dist/cli/shared/discover-deployments.js +167 -41
- package/dist/cli/shared/discover-deployments.js.map +1 -1
- package/dist/cli/shared/infer-apex-zone.d.ts +18 -0
- package/dist/cli/shared/infer-apex-zone.d.ts.map +1 -0
- package/dist/cli/shared/infer-apex-zone.js +75 -0
- package/dist/cli/shared/infer-apex-zone.js.map +1 -0
- package/dist/cli/shared/option-strings.d.ts +2 -0
- package/dist/cli/shared/option-strings.d.ts.map +1 -0
- package/dist/cli/shared/option-strings.js +13 -0
- package/dist/cli/shared/option-strings.js.map +1 -0
- package/dist/cli/shared/repository-collection.d.ts +42 -0
- package/dist/cli/shared/repository-collection.d.ts.map +1 -0
- package/dist/cli/shared/repository-collection.js +111 -0
- package/dist/cli/shared/repository-collection.js.map +1 -0
- package/dist/cli/shared/runtime-execution.d.ts +78 -0
- package/dist/cli/shared/runtime-execution.d.ts.map +1 -0
- package/dist/cli/shared/runtime-execution.js +182 -0
- package/dist/cli/shared/runtime-execution.js.map +1 -0
- package/dist/cli/shared/workspace-artifact-lock.d.ts +17 -0
- package/dist/cli/shared/workspace-artifact-lock.d.ts.map +1 -0
- package/dist/cli/shared/workspace-artifact-lock.js +37 -0
- package/dist/cli/shared/workspace-artifact-lock.js.map +1 -0
- package/dist/cli/workers/doks-worker-runtime.d.ts +238 -0
- package/dist/cli/workers/doks-worker-runtime.d.ts.map +1 -0
- package/dist/cli/workers/doks-worker-runtime.js +410 -0
- package/dist/cli/workers/doks-worker-runtime.js.map +1 -0
- package/dist/cli/workers/infra-workers-apply.cli-command.descriptor.d.ts +28 -0
- package/dist/cli/workers/infra-workers-apply.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/workers/infra-workers-apply.cli-command.descriptor.js +28 -0
- package/dist/cli/workers/infra-workers-apply.cli-command.descriptor.js.map +1 -0
- package/dist/cli/workers/infra-workers-apply.cli-command.impl.d.ts +6 -0
- package/dist/cli/workers/infra-workers-apply.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/workers/infra-workers-apply.cli-command.impl.js +75 -0
- package/dist/cli/workers/infra-workers-apply.cli-command.impl.js.map +1 -0
- package/dist/cli/workers/infra-workers-build.cli-command.descriptor.d.ts +31 -0
- package/dist/cli/workers/infra-workers-build.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/workers/infra-workers-build.cli-command.descriptor.js +32 -0
- package/dist/cli/workers/infra-workers-build.cli-command.descriptor.js.map +1 -0
- package/dist/cli/workers/infra-workers-build.cli-command.impl.d.ts +6 -0
- package/dist/cli/workers/infra-workers-build.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/workers/infra-workers-build.cli-command.impl.js +67 -0
- package/dist/cli/workers/infra-workers-build.cli-command.impl.js.map +1 -0
- package/dist/cli/workers/infra-workers-logs.cli-command.descriptor.d.ts +48 -0
- package/dist/cli/workers/infra-workers-logs.cli-command.descriptor.d.ts.map +1 -0
- package/dist/cli/workers/infra-workers-logs.cli-command.descriptor.js +60 -0
- package/dist/cli/workers/infra-workers-logs.cli-command.descriptor.js.map +1 -0
- package/dist/cli/workers/infra-workers-logs.cli-command.impl.d.ts +6 -0
- package/dist/cli/workers/infra-workers-logs.cli-command.impl.d.ts.map +1 -0
- package/dist/cli/workers/infra-workers-logs.cli-command.impl.js +74 -0
- package/dist/cli/workers/infra-workers-logs.cli-command.impl.js.map +1 -0
- package/dist/cli/workers/infra-workers.cli-group.descriptor.d.ts +12 -0
- package/dist/cli/workers/infra-workers.cli-group.descriptor.d.ts.map +1 -0
- package/dist/cli/workers/infra-workers.cli-group.descriptor.js +12 -0
- package/dist/cli/workers/infra-workers.cli-group.descriptor.js.map +1 -0
- package/dist/config-loader.d.ts +60 -13
- package/dist/config-loader.d.ts.map +1 -1
- package/dist/config-loader.js +371 -104
- package/dist/config-loader.js.map +1 -1
- package/dist/declared-provider.d.ts +27 -0
- package/dist/declared-provider.d.ts.map +1 -0
- package/dist/declared-provider.js +46 -0
- package/dist/declared-provider.js.map +1 -0
- package/dist/deployment-collisions.d.ts +55 -0
- package/dist/deployment-collisions.d.ts.map +1 -0
- package/dist/deployment-collisions.js +70 -0
- package/dist/deployment-collisions.js.map +1 -0
- package/dist/deployment-environment.d.ts +57 -0
- package/dist/deployment-environment.d.ts.map +1 -0
- package/dist/deployment-environment.js +198 -0
- package/dist/deployment-environment.js.map +1 -0
- package/dist/deployment-settings.d.ts +27 -0
- package/dist/deployment-settings.d.ts.map +1 -0
- package/dist/deployment-settings.js +52 -0
- package/dist/deployment-settings.js.map +1 -0
- package/dist/deployment.config.descriptor.d.ts +59 -0
- package/dist/deployment.config.descriptor.d.ts.map +1 -0
- package/dist/deployment.config.descriptor.js +54 -0
- package/dist/deployment.config.descriptor.js.map +1 -0
- package/dist/descriptors/observability/infra-observability-exports-list.cli-command.descriptor.d.ts +29 -0
- package/dist/descriptors/observability/infra-observability-exports-list.cli-command.descriptor.d.ts.map +1 -0
- package/dist/descriptors/observability/infra-observability-exports-list.cli-command.descriptor.js +35 -0
- package/dist/descriptors/observability/infra-observability-exports-list.cli-command.descriptor.js.map +1 -0
- package/dist/descriptors/observability/infra-observability-exports.cli-group.descriptor.d.ts +12 -0
- package/dist/descriptors/observability/infra-observability-exports.cli-group.descriptor.d.ts.map +1 -0
- package/dist/descriptors/observability/infra-observability-exports.cli-group.descriptor.js +12 -0
- package/dist/descriptors/observability/infra-observability-exports.cli-group.descriptor.js.map +1 -0
- package/dist/index.d.ts +11 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +11 -3
- package/dist/index.js.map +1 -1
- package/dist/infra-deploy.plugin.d.ts +2 -2
- package/dist/infra-deploy.plugin.d.ts.map +1 -1
- package/dist/infra-deploy.plugin.js +63 -20
- package/dist/infra-deploy.plugin.js.map +1 -1
- package/dist/logger.d.ts +10 -0
- package/dist/logger.d.ts.map +1 -0
- package/dist/logger.js +11 -0
- package/dist/logger.js.map +1 -0
- package/dist/migrations/migrate-workspace.d.ts +21 -0
- package/dist/migrations/migrate-workspace.d.ts.map +1 -0
- package/dist/migrations/migrate-workspace.js +83 -0
- package/dist/migrations/migrate-workspace.js.map +1 -0
- package/dist/migrations/run-migrate.d.ts +15 -0
- package/dist/migrations/run-migrate.d.ts.map +1 -0
- package/dist/migrations/run-migrate.js +314 -0
- package/dist/migrations/run-migrate.js.map +1 -0
- package/dist/regenerate.d.ts +52 -30
- package/dist/regenerate.d.ts.map +1 -1
- package/dist/regenerate.js +176 -148
- package/dist/regenerate.js.map +1 -1
- package/dist/runtime-execution.d.ts +5 -0
- package/dist/runtime-execution.d.ts.map +1 -0
- package/dist/runtime-execution.js +12 -0
- package/dist/runtime-execution.js.map +1 -0
- package/dist/schemas/migrate.d.ts +110 -0
- package/dist/schemas/migrate.d.ts.map +1 -0
- package/dist/schemas/migrate.js +55 -0
- package/dist/schemas/migrate.js.map +1 -0
- package/dist/schemas/proof-registry.d.ts +25 -0
- package/dist/schemas/proof-registry.d.ts.map +1 -0
- package/dist/schemas/proof-registry.js +24 -0
- package/dist/schemas/proof-registry.js.map +1 -0
- package/dist/schemas/release-grants.d.ts +7 -0
- package/dist/schemas/release-grants.d.ts.map +1 -0
- package/dist/schemas/release-grants.js +6 -0
- package/dist/schemas/release-grants.js.map +1 -0
- package/dist/schemas/release-jobs.d.ts +444 -0
- package/dist/schemas/release-jobs.d.ts.map +1 -0
- package/dist/schemas/release-jobs.js +204 -0
- package/dist/schemas/release-jobs.js.map +1 -0
- package/dist/schemas/service-release.d.ts +15 -0
- package/dist/schemas/service-release.d.ts.map +1 -0
- package/dist/schemas/service-release.js +13 -0
- package/dist/schemas/service-release.js.map +1 -0
- package/dist/schemas/worker-logs.d.ts +42 -0
- package/dist/schemas/worker-logs.d.ts.map +1 -0
- package/dist/schemas/worker-logs.js +29 -0
- package/dist/schemas/worker-logs.js.map +1 -0
- package/dist/storage/deployment-runs.schema.d.ts +199 -0
- package/dist/storage/deployment-runs.schema.d.ts.map +1 -0
- package/dist/storage/deployment-runs.schema.js +61 -0
- package/dist/storage/deployment-runs.schema.js.map +1 -0
- package/dist/storage/deployment-runs.storage.descriptor.d.ts +4 -0
- package/dist/storage/deployment-runs.storage.descriptor.d.ts.map +1 -0
- package/dist/storage/deployment-runs.storage.descriptor.js +36 -0
- package/dist/storage/deployment-runs.storage.descriptor.js.map +1 -0
- package/package.json +107 -38
- package/src/cli/alerts/infra-alerts-create.cli-command.descriptor.ts +0 -61
- package/src/cli/alerts/infra-alerts-create.cli-command.impl.ts +0 -131
- package/src/cli/alerts/infra-alerts-delete.cli-command.descriptor.ts +0 -36
- package/src/cli/alerts/infra-alerts-delete.cli-command.impl.ts +0 -75
- package/src/cli/alerts/infra-alerts-list.cli-command.descriptor.ts +0 -27
- package/src/cli/alerts/infra-alerts-list.cli-command.impl.ts +0 -88
- package/src/cli/alerts/infra-alerts.cli-group.descriptor.ts +0 -12
- package/src/cli/audit/infra-audit.cli-command.descriptor.ts +0 -28
- package/src/cli/audit/infra-audit.cli-command.impl.ts +0 -293
- package/src/cli/infra-deploy.cli-group.descriptor.ts +0 -12
- package/src/cli/infra.cli-group.descriptor.ts +0 -11
- package/src/cli/list/infra-deploy.list.cli-command.descriptor.ts +0 -29
- package/src/cli/list/infra-deploy.list.cli-command.impl.ts +0 -125
- package/src/cli/logs/infra-logs.cli-command.descriptor.ts +0 -65
- package/src/cli/logs/infra-logs.cli-command.impl.ts +0 -354
- package/src/cli/logs/stream-worker-tail.ts +0 -202
- package/src/cli/npm/infra-npm-publish.cli-command.descriptor.ts +0 -75
- package/src/cli/npm/infra-npm-publish.cli-command.impl.ts +0 -474
- package/src/cli/npm/infra-npm.cli-group.descriptor.ts +0 -12
- package/src/cli/observability/infra-observability-set.cli-command.descriptor.ts +0 -57
- package/src/cli/observability/infra-observability-set.cli-command.impl.ts +0 -173
- package/src/cli/observability/infra-observability-status.cli-command.descriptor.ts +0 -35
- package/src/cli/observability/infra-observability-status.cli-command.impl.ts +0 -124
- package/src/cli/observability/infra-observability.cli-group.descriptor.ts +0 -12
- package/src/cli/regenerate/infra-deploy.regenerate.cli-command.descriptor.ts +0 -36
- package/src/cli/regenerate/infra-deploy.regenerate.cli-command.impl.ts +0 -103
- package/src/cli/rum/infra-rum-status.cli-command.descriptor.ts +0 -27
- package/src/cli/rum/infra-rum-status.cli-command.impl.ts +0 -112
- package/src/cli/rum/infra-rum.cli-group.descriptor.ts +0 -12
- package/src/cli/run/infra-deploy.run.cli-command.descriptor.ts +0 -49
- package/src/cli/run/infra-deploy.run.cli-command.impl.ts +0 -330
- package/src/cli/shared/discover-deployments.ts +0 -127
- package/src/config-loader.ts +0 -179
- package/src/index.ts +0 -11
- package/src/infra-deploy.plugin.ts +0 -83
- package/src/regenerate.ts +0 -230
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { DeploymentRunsSchema } from "./deployment-runs.schema.js";
|
|
2
|
+
export const deploymentRunsStorageDescriptor = {
|
|
3
|
+
kind: 'storage/manifest',
|
|
4
|
+
id: 'infra-deploy.deployment-runs',
|
|
5
|
+
name: 'Infra Deploy Run Ledger',
|
|
6
|
+
description: 'Append-only run ledger for canonical vibes infra deploy executions, with sanitized status and provider metadata.',
|
|
7
|
+
namespace: 'infra-deploy.deployment-runs',
|
|
8
|
+
schema: DeploymentRunsSchema,
|
|
9
|
+
dataType: 'records',
|
|
10
|
+
idField: 'runId',
|
|
11
|
+
allowedAdapters: ['storage.localdb', 'storage.json', 'storage.cloud-api'],
|
|
12
|
+
defaultAdapter: 'storage.localdb',
|
|
13
|
+
adapterConfig: {
|
|
14
|
+
'storage.localdb': {
|
|
15
|
+
dbName: 'infra-deploy',
|
|
16
|
+
tableName: 'deployment_runs'
|
|
17
|
+
},
|
|
18
|
+
'storage.json': {
|
|
19
|
+
filename: 'infra-deploy-runs.json'
|
|
20
|
+
},
|
|
21
|
+
'storage.cloud-api': {
|
|
22
|
+
ownerApp: 'system',
|
|
23
|
+
endpoint: '/api/internal/deploy/runs',
|
|
24
|
+
idField: 'runId'
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
scope: 'project',
|
|
28
|
+
sensitiveFields: [],
|
|
29
|
+
version: 1,
|
|
30
|
+
customTables: false,
|
|
31
|
+
internal: true,
|
|
32
|
+
enabled: true,
|
|
33
|
+
tags: ['infra', 'deploy', 'audit', 'operations']
|
|
34
|
+
};
|
|
35
|
+
export default deploymentRunsStorageDescriptor;
|
|
36
|
+
//# sourceMappingURL=deployment-runs.storage.descriptor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deployment-runs.storage.descriptor.js","sourceRoot":"","sources":["../../src/storage/deployment-runs.storage.descriptor.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAEnE,MAAM,CAAC,MAAM,+BAA+B,GAA8B;IACzE,IAAI,EAAE,kBAAkB;IACxB,EAAE,EAAE,8BAA8B;IAClC,IAAI,EAAE,yBAAyB;IAC/B,WAAW,EACV,kHAAkH;IACnH,SAAS,EAAE,8BAA8B;IACzC,MAAM,EAAE,oBAAoB;IAC5B,QAAQ,EAAE,SAAS;IACnB,OAAO,EAAE,OAAO;IAChB,eAAe,EAAE,CAAC,iBAAiB,EAAE,cAAc,EAAE,mBAAmB,CAAC;IACzE,cAAc,EAAE,iBAAiB;IACjC,aAAa,EAAE;QACd,iBAAiB,EAAE;YAClB,MAAM,EAAE,cAAc;YACtB,SAAS,EAAE,iBAAiB;SAC5B;QACD,cAAc,EAAE;YACf,QAAQ,EAAE,wBAAwB;SAClC;QACD,mBAAmB,EAAE;YACpB,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,2BAA2B;YACrC,OAAO,EAAE,OAAO;SAChB;KACD;IACD,KAAK,EAAE,SAAS;IAChB,eAAe,EAAE,EAAE;IACnB,OAAO,EAAE,CAAC;IACV,YAAY,EAAE,KAAK;IACnB,QAAQ,EAAE,IAAI;IACd,OAAO,EAAE,IAAI;IACb,IAAI,EAAE,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,CAAC;CAChD,CAAC;AAEF,eAAe,+BAA+B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,67 +1,95 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vibesdotdev/infra-deploy",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"
|
|
3
|
+
"version": "1.0.0-rc.4",
|
|
4
|
+
"dependencies": {
|
|
5
|
+
"@vibesdotdev/auth": "^1.0.0-rc.3",
|
|
6
|
+
"@vibesdotdev/config": "^1.0.0-rc.3",
|
|
7
|
+
"@vibesdotdev/crypto": "^1.0.0-rc.3",
|
|
8
|
+
"@vibesdotdev/filesystem": "^1.0.0-rc.2",
|
|
9
|
+
"@vibesdotdev/git-operations": "^1.0.0-rc.2",
|
|
10
|
+
"@vibesdotdev/infra-core": "^1.0.0-rc.4",
|
|
11
|
+
"@vibesdotdev/kernel": "^1.0.0-rc.6",
|
|
12
|
+
"@vibesdotdev/kernel-rpc": "^1.0.0-rc.2",
|
|
13
|
+
"@vibesdotdev/logging": "^1.0.0-rc.4",
|
|
14
|
+
"@vibesdotdev/paths": "^1.0.0-rc.3",
|
|
15
|
+
"@vibesdotdev/secrets": "^1.0.0-rc.3",
|
|
16
|
+
"@vibesdotdev/shared": "^1.0.0-rc.4",
|
|
17
|
+
"@vibesdotdev/storage": "^1.0.0-rc.3",
|
|
18
|
+
"@vibesdotdev/workers": "^1.0.0-rc.2",
|
|
19
|
+
"@vibesdotdev/workspace-schemas": "^1.0.0-rc.2",
|
|
20
|
+
"semver": "^7.8.5",
|
|
21
|
+
"zod": "^4.6.7"
|
|
22
|
+
},
|
|
23
|
+
"peerDependencies": {
|
|
24
|
+
"@vibesdotdev/registry": "^1.0.0-rc.3",
|
|
25
|
+
"@vibesdotdev/kernel": "^1.0.0-rc.6",
|
|
26
|
+
"@vibesdotdev/cli": "^1.0.0-rc.2",
|
|
27
|
+
"@vibesdotdev/execution-local": "^1.0.0-rc.3",
|
|
28
|
+
"@vibesdotdev/integrations": "^1.0.0-rc.2",
|
|
29
|
+
"@vibesdotdev/surface-sveltekit": "^1.0.0-rc.3"
|
|
30
|
+
},
|
|
5
31
|
"main": "./dist/index.js",
|
|
6
|
-
"types": "./dist/index.d.ts",
|
|
7
32
|
"exports": {
|
|
8
33
|
".": {
|
|
34
|
+
"bun": "./dist/index.js",
|
|
9
35
|
"types": "./dist/index.d.ts",
|
|
10
|
-
"bun": "./src/index.ts",
|
|
11
36
|
"import": "./dist/index.js",
|
|
12
37
|
"default": "./dist/index.js"
|
|
13
38
|
},
|
|
14
39
|
"./plugin": {
|
|
40
|
+
"bun": "./dist/infra-deploy.plugin.js",
|
|
15
41
|
"types": "./dist/infra-deploy.plugin.d.ts",
|
|
16
|
-
"bun": "./src/infra-deploy.plugin.ts",
|
|
17
42
|
"import": "./dist/infra-deploy.plugin.js",
|
|
18
43
|
"default": "./dist/infra-deploy.plugin.js"
|
|
19
44
|
},
|
|
45
|
+
"./cli/plugin": {
|
|
46
|
+
"bun": "./dist/cli/plugin.js",
|
|
47
|
+
"types": "./dist/cli/plugin.d.ts",
|
|
48
|
+
"import": "./dist/cli/plugin.js",
|
|
49
|
+
"default": "./dist/cli/plugin.js"
|
|
50
|
+
},
|
|
20
51
|
"./config-loader": {
|
|
52
|
+
"bun": "./dist/config-loader.js",
|
|
21
53
|
"types": "./dist/config-loader.d.ts",
|
|
22
|
-
"bun": "./src/config-loader.ts",
|
|
23
54
|
"import": "./dist/config-loader.js",
|
|
24
55
|
"default": "./dist/config-loader.js"
|
|
25
56
|
},
|
|
26
57
|
"./regenerate": {
|
|
58
|
+
"bun": "./dist/regenerate.js",
|
|
27
59
|
"types": "./dist/regenerate.d.ts",
|
|
28
|
-
"bun": "./src/regenerate.ts",
|
|
29
60
|
"import": "./dist/regenerate.js",
|
|
30
61
|
"default": "./dist/regenerate.js"
|
|
62
|
+
},
|
|
63
|
+
"./release/latest-manifest": {
|
|
64
|
+
"bun": "./dist/cli/release/cli/latest-manifest.js",
|
|
65
|
+
"types": "./dist/cli/release/cli/latest-manifest.d.ts",
|
|
66
|
+
"import": "./dist/cli/release/cli/latest-manifest.js",
|
|
67
|
+
"default": "./dist/cli/release/cli/latest-manifest.js"
|
|
68
|
+
},
|
|
69
|
+
"./cli/node/repository-collection": {
|
|
70
|
+
"bun": "./dist/cli/shared/repository-collection.js",
|
|
71
|
+
"types": "./dist/cli/shared/repository-collection.d.ts",
|
|
72
|
+
"import": "./dist/cli/shared/repository-collection.js",
|
|
73
|
+
"default": "./dist/cli/shared/repository-collection.js"
|
|
74
|
+
},
|
|
75
|
+
"./cli/node/runtime-execution": {
|
|
76
|
+
"bun": "./dist/cli/shared/runtime-execution.js",
|
|
77
|
+
"types": "./dist/cli/shared/runtime-execution.d.ts",
|
|
78
|
+
"import": "./dist/cli/shared/runtime-execution.js",
|
|
79
|
+
"default": "./dist/cli/shared/runtime-execution.js"
|
|
80
|
+
},
|
|
81
|
+
"./cli/run/immutable-deployment-release.program": {
|
|
82
|
+
"bun": "./dist/cli/run/immutable-deployment-release.program.js",
|
|
83
|
+
"types": "./dist/cli/run/immutable-deployment-release.program.d.ts",
|
|
84
|
+
"import": "./dist/cli/run/immutable-deployment-release.program.js",
|
|
85
|
+
"default": "./dist/cli/run/immutable-deployment-release.program.js"
|
|
31
86
|
}
|
|
32
87
|
},
|
|
33
|
-
"publishConfig": {
|
|
34
|
-
"registry": "https://registry.npmjs.org",
|
|
35
|
-
"access": "public"
|
|
36
|
-
},
|
|
37
|
-
"peerDependencies": {
|
|
38
|
-
"@vibesdotdev/runtime": "0.0.2",
|
|
39
|
-
"@vibesdotdev/cli": "0.0.2"
|
|
40
|
-
},
|
|
41
|
-
"dependencies": {
|
|
42
|
-
"@vibesdotdev/infra-core": "0.0.2",
|
|
43
|
-
"@vibesdotdev/connector-cloudflare": "0.0.2",
|
|
44
|
-
"@vibesdotdev/infra-doks": "0.0.2",
|
|
45
|
-
"@vibesdotdev/config": "0.0.2",
|
|
46
|
-
"@vibesdotdev/infra-cloudflare": "0.0.2"
|
|
47
|
-
},
|
|
48
|
-
"scripts": {
|
|
49
|
-
"check": "bun --bun tsc -p tsconfig.json --noEmit",
|
|
50
|
-
"build": "tsc -p tsconfig.json"
|
|
51
|
-
},
|
|
52
|
-
"license": "MIT",
|
|
53
88
|
"files": [
|
|
54
89
|
"dist",
|
|
55
|
-
"src",
|
|
56
|
-
"bin",
|
|
57
90
|
"README.md",
|
|
58
91
|
"LICENSE",
|
|
59
|
-
"
|
|
60
|
-
"!src/**/__stubs__/**",
|
|
61
|
-
"!src/**/*.test.ts",
|
|
62
|
-
"!src/**/*.test.tsx",
|
|
63
|
-
"!src/**/*.spec.ts",
|
|
64
|
-
"!src/**/*.spec.tsx",
|
|
92
|
+
"bin",
|
|
65
93
|
"!dist/**/__tests__/**",
|
|
66
94
|
"!dist/**/__stubs__/**",
|
|
67
95
|
"!dist/**/*.test.js",
|
|
@@ -73,12 +101,53 @@
|
|
|
73
101
|
"!dist/**/*.spec.d.ts",
|
|
74
102
|
"!dist/**/*.spec.d.ts.map"
|
|
75
103
|
],
|
|
104
|
+
"scripts": {
|
|
105
|
+
"lint": "node ../node_modules/@vibesdotdev/internal-oxlint-toolchain/ratchet.mjs .",
|
|
106
|
+
"prebuild": "rm -rf dist",
|
|
107
|
+
"test": "${BUN:-bun} test src",
|
|
108
|
+
"check": "${BUN:-bun} --bun tsc -p tsconfig.json --noEmit",
|
|
109
|
+
"build": "tsc -p tsconfig.build.json"
|
|
110
|
+
},
|
|
111
|
+
"repository": {
|
|
112
|
+
"type": "git",
|
|
113
|
+
"url": "ssh://git@git.vibes.dev/vibesdotdev/framework.git",
|
|
114
|
+
"directory": "infra-deploy"
|
|
115
|
+
},
|
|
116
|
+
"publishConfig": {
|
|
117
|
+
"registry": "https://packages.vibes.dev",
|
|
118
|
+
"access": "public"
|
|
119
|
+
},
|
|
76
120
|
"vibes": {
|
|
77
|
-
"visibility": "public
|
|
121
|
+
"visibility": "public",
|
|
122
|
+
"registry": {
|
|
123
|
+
"repositoryId": "4b1374d4-6830-4bfd-98e3-de66416368a8",
|
|
124
|
+
"directory": "infra-deploy"
|
|
125
|
+
},
|
|
126
|
+
"handedRuntimeLogging": true
|
|
78
127
|
},
|
|
128
|
+
"type": "module",
|
|
129
|
+
"types": "./dist/index.d.ts",
|
|
130
|
+
"license": "MIT",
|
|
79
131
|
"description": "Deployment orchestration and CLI commands for Vibes infrastructure packages.",
|
|
80
|
-
"homepage": "https://docs.vibes.dev/
|
|
132
|
+
"homepage": "https://docs.vibes.dev/infra-deploy",
|
|
81
133
|
"bugs": {
|
|
82
|
-
"url": "https://docs.vibes.dev/
|
|
134
|
+
"url": "https://docs.vibes.dev/infra-deploy#support"
|
|
135
|
+
},
|
|
136
|
+
"peerDependenciesMeta": {
|
|
137
|
+
"@vibesdotdev/execution-local": {
|
|
138
|
+
"optional": true
|
|
139
|
+
},
|
|
140
|
+
"@vibesdotdev/integrations": {
|
|
141
|
+
"optional": true
|
|
142
|
+
},
|
|
143
|
+
"@vibesdotdev/surface-sveltekit": {
|
|
144
|
+
"optional": true
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"gitHead": "6c90364649d9a94d238d81180ebb03adf5017263",
|
|
148
|
+
"_vibes_source": {
|
|
149
|
+
"repo": "ssh://git@git.vibes.dev/vibesdotdev/framework.git",
|
|
150
|
+
"sha": "6c90364649d9a94d238d81180ebb03adf5017263",
|
|
151
|
+
"workspaceDigest": "sha256:bf7d81191ab34adf86649e8a54051d2d896a2ff346cda7cc4ae6c5c0a23152fa"
|
|
83
152
|
}
|
|
84
153
|
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { createRuntimeAsset } from '@vibesdotdev/runtime';
|
|
2
|
-
|
|
3
|
-
export default createRuntimeAsset({
|
|
4
|
-
id: 'infra-alerts.create',
|
|
5
|
-
kind: 'cli/command',
|
|
6
|
-
name: 'create',
|
|
7
|
-
description: 'Create a new alert policy on the active provider',
|
|
8
|
-
group: 'infra-alerts',
|
|
9
|
-
arguments: [
|
|
10
|
-
{
|
|
11
|
-
name: 'type',
|
|
12
|
-
description: 'Alert type: budget | usage | error-rate | latency | custom',
|
|
13
|
-
required: true,
|
|
14
|
-
variadic: false
|
|
15
|
-
}
|
|
16
|
-
],
|
|
17
|
-
options: [
|
|
18
|
-
{ flags: '--name <name>', description: 'Policy name (defaults to "<type> alert: <threshold>")' },
|
|
19
|
-
{
|
|
20
|
-
flags: '--threshold <n>',
|
|
21
|
-
description: 'Threshold value (USD for budget; events/req/% per usage/error-rate)',
|
|
22
|
-
default: '50'
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
flags: '--window <window>',
|
|
26
|
-
description: 'Rolling window for usage/error-rate/latency (5m, 15m, 1h, 6h, 24h, 7d, 30d)'
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
flags: '--filter <k=v>',
|
|
30
|
-
description: 'Adapter-specific filter (repeatable, e.g. --filter product=workers_observability_paid_events)',
|
|
31
|
-
variadic: true
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
flags: '--email <addr>',
|
|
35
|
-
description: 'Email destination (repeatable)',
|
|
36
|
-
variadic: true
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
flags: '--webhook <url>',
|
|
40
|
-
description: 'Webhook destination (repeatable)',
|
|
41
|
-
variadic: true
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
flags: '--provider <id>',
|
|
45
|
-
description: 'Provider impl id (default: cloudflare-alerts when available)'
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
flags: '--disabled',
|
|
49
|
-
description: 'Create the policy in disabled state',
|
|
50
|
-
default: false
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
flags: '-o, --output <format>',
|
|
54
|
-
description: 'Output format (text|json)',
|
|
55
|
-
default: 'text'
|
|
56
|
-
}
|
|
57
|
-
],
|
|
58
|
-
surfaces: ['cli'],
|
|
59
|
-
hardware: ['consumer', 'cloud'],
|
|
60
|
-
enabled: true
|
|
61
|
-
});
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* `vibes infra alerts create <type> --threshold ... --email ...`
|
|
3
|
-
*
|
|
4
|
-
* Creates one policy on the chosen provider. Resolves the impl via the
|
|
5
|
-
* runtime, builds an `AlertPolicy` from CLI flags, and calls
|
|
6
|
-
* `impl.createPolicy(policy)`. Reports the provider-assigned id on
|
|
7
|
-
* success.
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
import { getVibesRuntime } from '@vibesdotdev/runtime';
|
|
11
|
-
import { requestCLIExit, type UIContext } from '@vibesdotdev/cli/providers';
|
|
12
|
-
import type {
|
|
13
|
-
AlertsImplementation,
|
|
14
|
-
AlertPolicy,
|
|
15
|
-
AlertMechanism,
|
|
16
|
-
AlertType,
|
|
17
|
-
InfraAlertsDescriptor
|
|
18
|
-
} from '@vibesdotdev/infra-core/kinds';
|
|
19
|
-
|
|
20
|
-
function readString(v: unknown): string | undefined {
|
|
21
|
-
return typeof v === 'string' && v.length > 0 ? v : undefined;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
function readStringArray(v: unknown): string[] {
|
|
25
|
-
if (Array.isArray(v)) return v.filter((x): x is string => typeof x === 'string');
|
|
26
|
-
if (typeof v === 'string') return [v];
|
|
27
|
-
return [];
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
const VALID_TYPES = new Set<AlertType>(['budget', 'usage', 'error-rate', 'latency', 'custom']);
|
|
31
|
-
|
|
32
|
-
function parseFilters(raw: string[]): Record<string, string> {
|
|
33
|
-
const out: Record<string, string> = {};
|
|
34
|
-
for (const entry of raw) {
|
|
35
|
-
const idx = entry.indexOf('=');
|
|
36
|
-
if (idx <= 0) continue;
|
|
37
|
-
out[entry.slice(0, idx)] = entry.slice(idx + 1);
|
|
38
|
-
}
|
|
39
|
-
return out;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export default {
|
|
43
|
-
async execute(args: Record<string, unknown>, opts: Record<string, unknown>): Promise<void> {
|
|
44
|
-
const runtime = await getVibesRuntime();
|
|
45
|
-
const ui = (await runtime.context('cli/ui')) as UIContext;
|
|
46
|
-
|
|
47
|
-
const typeArg = readString(args.type);
|
|
48
|
-
if (!typeArg || !VALID_TYPES.has(typeArg as AlertType)) {
|
|
49
|
-
ui.error(
|
|
50
|
-
`Invalid alert type. Got "${typeArg ?? '(missing)'}". Expected one of: ${Array.from(VALID_TYPES).join(', ')}`
|
|
51
|
-
);
|
|
52
|
-
requestCLIExit(1);
|
|
53
|
-
return;
|
|
54
|
-
}
|
|
55
|
-
const type = typeArg as AlertType;
|
|
56
|
-
|
|
57
|
-
const thresholdRaw = readString(opts.threshold) ?? '50';
|
|
58
|
-
const threshold = Number(thresholdRaw);
|
|
59
|
-
if (!Number.isFinite(threshold) || threshold < 0) {
|
|
60
|
-
ui.error(`Invalid --threshold "${thresholdRaw}"; must be a non-negative number.`);
|
|
61
|
-
requestCLIExit(1);
|
|
62
|
-
return;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
const emails = readStringArray(opts.email);
|
|
66
|
-
const webhooks = readStringArray(opts.webhook);
|
|
67
|
-
const mechanisms: AlertMechanism[] = [
|
|
68
|
-
...emails.map((target): AlertMechanism => ({ kind: 'email', target })),
|
|
69
|
-
...webhooks.map((target): AlertMechanism => ({ kind: 'webhook', target }))
|
|
70
|
-
];
|
|
71
|
-
if (mechanisms.length === 0) {
|
|
72
|
-
ui.error('At least one --email or --webhook destination is required.');
|
|
73
|
-
requestCLIExit(1);
|
|
74
|
-
return;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
const filters = parseFilters(readStringArray(opts.filter));
|
|
78
|
-
const name = readString(opts.name) ?? `${type} alert: ${threshold}`;
|
|
79
|
-
const window = readString(opts.window) as AlertPolicy['window'] | undefined;
|
|
80
|
-
const enabled = !(opts.disabled === true || opts.disabled === 'true');
|
|
81
|
-
const output = readString(opts.output) ?? 'text';
|
|
82
|
-
const providerFilter = readString(opts.provider);
|
|
83
|
-
|
|
84
|
-
const policy: AlertPolicy = {
|
|
85
|
-
name,
|
|
86
|
-
type,
|
|
87
|
-
threshold,
|
|
88
|
-
window,
|
|
89
|
-
filters,
|
|
90
|
-
mechanisms,
|
|
91
|
-
enabled
|
|
92
|
-
};
|
|
93
|
-
|
|
94
|
-
if (!runtime.hasKind('infra/alerts')) {
|
|
95
|
-
ui.error('infra/alerts kind not registered. Load a provider plugin (e.g. infra-cloudflare).');
|
|
96
|
-
requestCLIExit(1);
|
|
97
|
-
return;
|
|
98
|
-
}
|
|
99
|
-
const descriptors = runtime.assets('infra/alerts').descriptors() as InfraAlertsDescriptor[];
|
|
100
|
-
const target = providerFilter
|
|
101
|
-
? descriptors.find((d) => d.adapter === providerFilter || d.id === providerFilter)
|
|
102
|
-
: descriptors[0];
|
|
103
|
-
|
|
104
|
-
if (!target) {
|
|
105
|
-
ui.error(
|
|
106
|
-
`No matching alerts provider${providerFilter ? ` for --provider "${providerFilter}"` : ''}.`
|
|
107
|
-
);
|
|
108
|
-
requestCLIExit(1);
|
|
109
|
-
return;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
try {
|
|
113
|
-
const impl = (await runtime
|
|
114
|
-
.query('infra/alerts')
|
|
115
|
-
.withId(target.id)
|
|
116
|
-
.resolve()) as AlertsImplementation;
|
|
117
|
-
const { providerId } = await impl.createPolicy(policy);
|
|
118
|
-
|
|
119
|
-
if (output === 'json') {
|
|
120
|
-
ui.json({ provider: target.adapter, providerId, policy });
|
|
121
|
-
} else {
|
|
122
|
-
ui.success(
|
|
123
|
-
`Created ${type} policy "${name}" on ${target.adapter} → providerId=${providerId}`
|
|
124
|
-
);
|
|
125
|
-
}
|
|
126
|
-
} catch (err) {
|
|
127
|
-
ui.error(`Failed to create policy: ${err instanceof Error ? err.message : String(err)}`);
|
|
128
|
-
requestCLIExit(1);
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { createRuntimeAsset } from '@vibesdotdev/runtime';
|
|
2
|
-
|
|
3
|
-
export default createRuntimeAsset({
|
|
4
|
-
id: 'infra-alerts.delete',
|
|
5
|
-
kind: 'cli/command',
|
|
6
|
-
name: 'delete',
|
|
7
|
-
description: 'Delete an alert policy by provider id',
|
|
8
|
-
group: 'infra-alerts',
|
|
9
|
-
arguments: [
|
|
10
|
-
{
|
|
11
|
-
name: 'providerId',
|
|
12
|
-
description: 'Policy id on the provider (from `vibes infra alerts list`)',
|
|
13
|
-
required: true,
|
|
14
|
-
variadic: false
|
|
15
|
-
}
|
|
16
|
-
],
|
|
17
|
-
options: [
|
|
18
|
-
{
|
|
19
|
-
flags: '--provider <id>',
|
|
20
|
-
description: 'Provider impl id (default: cloudflare-alerts when available)'
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
flags: '-y, --yes',
|
|
24
|
-
description: 'Skip confirmation prompt',
|
|
25
|
-
default: false
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
flags: '-o, --output <format>',
|
|
29
|
-
description: 'Output format (text|json)',
|
|
30
|
-
default: 'text'
|
|
31
|
-
}
|
|
32
|
-
],
|
|
33
|
-
surfaces: ['cli'],
|
|
34
|
-
hardware: ['consumer', 'cloud'],
|
|
35
|
-
enabled: true
|
|
36
|
-
});
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* `vibes infra alerts delete <providerId>`
|
|
3
|
-
*
|
|
4
|
-
* Deletes a policy on the chosen provider. Requires explicit
|
|
5
|
-
* confirmation unless `--yes` is passed.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import { getVibesRuntime } from '@vibesdotdev/runtime';
|
|
9
|
-
import { requestCLIExit, type UIContext } from '@vibesdotdev/cli/providers';
|
|
10
|
-
import type { AlertsImplementation, InfraAlertsDescriptor } from '@vibesdotdev/infra-core/kinds';
|
|
11
|
-
|
|
12
|
-
function readString(v: unknown): string | undefined {
|
|
13
|
-
return typeof v === 'string' && v.length > 0 ? v : undefined;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
function readBoolean(v: unknown): boolean {
|
|
17
|
-
return v === true || v === 'true';
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export default {
|
|
21
|
-
async execute(args: Record<string, unknown>, opts: Record<string, unknown>): Promise<void> {
|
|
22
|
-
const runtime = await getVibesRuntime();
|
|
23
|
-
const ui = (await runtime.context('cli/ui')) as UIContext;
|
|
24
|
-
|
|
25
|
-
const providerId = readString(args.providerId);
|
|
26
|
-
if (!providerId) {
|
|
27
|
-
ui.error('A providerId is required. List policies with `vibes infra alerts list` first.');
|
|
28
|
-
requestCLIExit(1);
|
|
29
|
-
return;
|
|
30
|
-
}
|
|
31
|
-
const providerFilter = readString(opts.provider);
|
|
32
|
-
const yes = readBoolean(opts.yes);
|
|
33
|
-
const output = readString(opts.output) ?? 'text';
|
|
34
|
-
|
|
35
|
-
if (!runtime.hasKind('infra/alerts')) {
|
|
36
|
-
ui.error('infra/alerts kind not registered.');
|
|
37
|
-
requestCLIExit(1);
|
|
38
|
-
return;
|
|
39
|
-
}
|
|
40
|
-
const descriptors = runtime.assets('infra/alerts').descriptors() as InfraAlertsDescriptor[];
|
|
41
|
-
const target = providerFilter
|
|
42
|
-
? descriptors.find((d) => d.adapter === providerFilter || d.id === providerFilter)
|
|
43
|
-
: descriptors[0];
|
|
44
|
-
if (!target) {
|
|
45
|
-
ui.error('No matching alerts provider.');
|
|
46
|
-
requestCLIExit(1);
|
|
47
|
-
return;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
if (!yes) {
|
|
51
|
-
ui.warn(
|
|
52
|
-
`About to delete alert policy "${providerId}" on ${target.adapter}. ` +
|
|
53
|
-
'Re-run with --yes to confirm.'
|
|
54
|
-
);
|
|
55
|
-
requestCLIExit(0);
|
|
56
|
-
return;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
try {
|
|
60
|
-
const impl = (await runtime
|
|
61
|
-
.query('infra/alerts')
|
|
62
|
-
.withId(target.id)
|
|
63
|
-
.resolve()) as AlertsImplementation;
|
|
64
|
-
await impl.deletePolicy(providerId);
|
|
65
|
-
if (output === 'json') {
|
|
66
|
-
ui.json({ deleted: providerId, provider: target.adapter });
|
|
67
|
-
} else {
|
|
68
|
-
ui.success(`Deleted policy ${providerId} on ${target.adapter}`);
|
|
69
|
-
}
|
|
70
|
-
} catch (err) {
|
|
71
|
-
ui.error(`Delete failed: ${err instanceof Error ? err.message : String(err)}`);
|
|
72
|
-
requestCLIExit(1);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { createRuntimeAsset } from '@vibesdotdev/runtime';
|
|
2
|
-
|
|
3
|
-
export default createRuntimeAsset({
|
|
4
|
-
id: 'infra-alerts.list',
|
|
5
|
-
kind: 'cli/command',
|
|
6
|
-
name: 'list',
|
|
7
|
-
description: 'List configured alert policies across providers',
|
|
8
|
-
group: 'infra-alerts',
|
|
9
|
-
options: [
|
|
10
|
-
{
|
|
11
|
-
flags: '--provider <id>',
|
|
12
|
-
description: 'Restrict to a single provider impl id (e.g. cloudflare-alerts)'
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
flags: '--environment <name>',
|
|
16
|
-
description: 'Vibes environment for secret resolution (local|dev|staging|production)'
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
flags: '-o, --output <format>',
|
|
20
|
-
description: 'Output format (text|json)',
|
|
21
|
-
default: 'text'
|
|
22
|
-
}
|
|
23
|
-
],
|
|
24
|
-
surfaces: ['cli'],
|
|
25
|
-
hardware: ['consumer', 'cloud'],
|
|
26
|
-
enabled: true
|
|
27
|
-
});
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* `vibes infra alerts list`
|
|
3
|
-
*
|
|
4
|
-
* Walks all registered `infra/alerts` implementations and prints the
|
|
5
|
-
* combined set of live policies on each provider. `--output json`
|
|
6
|
-
* returns a structured payload for piping; default is a table.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import { getVibesRuntime } from '@vibesdotdev/runtime';
|
|
10
|
-
import { requestCLIExit, type UIContext } from '@vibesdotdev/cli/providers';
|
|
11
|
-
import type { AlertsImplementation, AlertPolicy, InfraAlertsDescriptor } from '@vibesdotdev/infra-core/kinds';
|
|
12
|
-
|
|
13
|
-
function readString(v: unknown): string | undefined {
|
|
14
|
-
return typeof v === 'string' && v.length > 0 ? v : undefined;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
interface ProviderResult {
|
|
18
|
-
providerId: string;
|
|
19
|
-
descriptorId: string;
|
|
20
|
-
policies: Array<AlertPolicy & { providerId: string }>;
|
|
21
|
-
error?: string;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export default {
|
|
25
|
-
async execute(_args: Record<string, unknown>, opts: Record<string, unknown>): Promise<void> {
|
|
26
|
-
const runtime = await getVibesRuntime();
|
|
27
|
-
const ui = (await runtime.context('cli/ui')) as UIContext;
|
|
28
|
-
|
|
29
|
-
const providerFilter = readString(opts.provider);
|
|
30
|
-
const output = readString(opts.output) ?? 'text';
|
|
31
|
-
|
|
32
|
-
if (!runtime.hasKind('infra/alerts')) {
|
|
33
|
-
ui.warn('No infra/alerts kind registered. Ensure infra-cloudflare or sibling provider plugin is loaded.');
|
|
34
|
-
requestCLIExit(0);
|
|
35
|
-
return;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
const descriptors = runtime.assets('infra/alerts').descriptors() as InfraAlertsDescriptor[];
|
|
39
|
-
if (descriptors.length === 0) {
|
|
40
|
-
if (output === 'json') ui.json([]);
|
|
41
|
-
else ui.info('No infra/alerts descriptors registered. Add a provider plugin (e.g. infra-cloudflare).');
|
|
42
|
-
return;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
const results: ProviderResult[] = [];
|
|
46
|
-
for (const d of descriptors) {
|
|
47
|
-
if (providerFilter && d.adapter !== providerFilter && d.id !== providerFilter) continue;
|
|
48
|
-
try {
|
|
49
|
-
const impl = (await runtime
|
|
50
|
-
.query('infra/alerts')
|
|
51
|
-
.withId(d.id)
|
|
52
|
-
.resolve()) as AlertsImplementation;
|
|
53
|
-
const policies = await impl.listPolicies();
|
|
54
|
-
results.push({ providerId: d.adapter, descriptorId: d.id, policies });
|
|
55
|
-
} catch (err) {
|
|
56
|
-
results.push({
|
|
57
|
-
providerId: d.adapter,
|
|
58
|
-
descriptorId: d.id,
|
|
59
|
-
policies: [],
|
|
60
|
-
error: err instanceof Error ? err.message : String(err)
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
if (output === 'json') {
|
|
66
|
-
ui.json(results);
|
|
67
|
-
return;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
for (const r of results) {
|
|
71
|
-
ui.info(`\n[${r.providerId}] (${r.descriptorId})`);
|
|
72
|
-
if (r.error) {
|
|
73
|
-
ui.error(` ${r.error}`);
|
|
74
|
-
continue;
|
|
75
|
-
}
|
|
76
|
-
if (r.policies.length === 0) {
|
|
77
|
-
ui.info(' (no policies configured)');
|
|
78
|
-
continue;
|
|
79
|
-
}
|
|
80
|
-
for (const p of r.policies) {
|
|
81
|
-
const mech = p.mechanisms.map((m) => `${m.kind}:${m.target}`).join(', ');
|
|
82
|
-
ui.info(
|
|
83
|
-
` ${(p.enabled ? '✓' : '✗')} ${p.type.padEnd(12)} ${p.name.padEnd(40)} threshold=${p.threshold} → ${mech}`
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { createRuntimeAsset } from '@vibesdotdev/runtime';
|
|
2
|
-
|
|
3
|
-
export default createRuntimeAsset({
|
|
4
|
-
id: 'infra-alerts',
|
|
5
|
-
kind: 'cli/group',
|
|
6
|
-
name: 'alerts',
|
|
7
|
-
description: 'Provider-agnostic alerting / notification policies (CF Notifications, DO Monitoring, …)',
|
|
8
|
-
parent: 'infra',
|
|
9
|
-
surfaces: ['cli'],
|
|
10
|
-
hardware: ['consumer', 'cloud'],
|
|
11
|
-
enabled: true
|
|
12
|
-
});
|