@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
|
@@ -11,146 +11,584 @@
|
|
|
11
11
|
* Read-only. Never modifies provider state. `--output json` emits a
|
|
12
12
|
* structured payload for piping into ops dashboards.
|
|
13
13
|
*/
|
|
14
|
-
|
|
14
|
+
var __rewriteRelativeImportExtension = (this && this.__rewriteRelativeImportExtension) || function (path, preserveJsx) {
|
|
15
|
+
if (typeof path === "string" && /^\.\.?\//.test(path)) {
|
|
16
|
+
return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {
|
|
17
|
+
return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : (d + ext + "." + cm.toLowerCase() + "js");
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return path;
|
|
21
|
+
};
|
|
22
|
+
import { getRuntimePath } from '@vibesdotdev/paths';
|
|
23
|
+
import { CapabilityError, CaughtFailureSchema, settle, settleNow, valueFreeFailure } from '@vibesdotdev/kernel';
|
|
24
|
+
import { generateId } from '@vibesdotdev/shared/utils';
|
|
25
|
+
import { z } from 'zod/v4';
|
|
26
|
+
import { pathExists, requirePathFileURL } from "../npm/publish/fs-paths.js";
|
|
15
27
|
import {} from '@vibesdotdev/cli/providers';
|
|
28
|
+
import { createSanitizedInfraProviderError, formatInfraAuthorityFingerprint, mergeInfraAuthorityFingerprints, sanitizeInfraProviderFailure } from '@vibesdotdev/infra-core';
|
|
29
|
+
import { InfraAlertsDescriptorSchema } from '@vibesdotdev/infra-core/kinds';
|
|
30
|
+
import { discoverInventoryWorkspace } from "../shared/discover-deployments.js";
|
|
31
|
+
import { OBSERVABILITY_BLIND_SPOT_REMEDY, observabilityBlindSpots } from "../observability/blind-spots.js";
|
|
16
32
|
function readString(v) {
|
|
17
|
-
|
|
33
|
+
const parsed = z.string().min(1).safeParse(v);
|
|
34
|
+
return parsed.success ? parsed.data : undefined;
|
|
18
35
|
}
|
|
19
|
-
|
|
20
|
-
|
|
36
|
+
const AUDIT_ENVIRONMENTS = {
|
|
37
|
+
local: true,
|
|
38
|
+
dev: true,
|
|
39
|
+
staging: true,
|
|
40
|
+
production: true
|
|
41
|
+
};
|
|
42
|
+
export function assertAuditEnvironment(environment) {
|
|
43
|
+
if (!(environment in AUDIT_ENVIRONMENTS)) {
|
|
44
|
+
throw new Error(`Unsupported infra audit environment "${environment}". Use one of: local, dev, staging, production.`);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Critical alert categories every account should keep covered. Absence of any
|
|
49
|
+
* of these — even when *other* policies exist — is a real gap (the prior
|
|
50
|
+
* cron-dead incident hid behind incidental DDoS/tunnel policies while there was
|
|
51
|
+
* zero error-rate alerting).
|
|
52
|
+
*/
|
|
53
|
+
const CRITICAL_ALERT_CATEGORIES = ['budget', 'usage', 'error-rate'];
|
|
54
|
+
/**
|
|
55
|
+
* Each infra/alerts descriptor declares which categories its live policy listing
|
|
56
|
+
* cannot represent; audit uses that owner metadata when computing policy drift.
|
|
57
|
+
*/
|
|
58
|
+
const MARKER_ALERT_TYPES = ['scheduled-event-missing', 'log-marker'];
|
|
59
|
+
function alertCategoryImpact(category) {
|
|
60
|
+
switch (category) {
|
|
61
|
+
case 'budget':
|
|
62
|
+
return 'a runaway cost would not page anyone';
|
|
63
|
+
case 'usage':
|
|
64
|
+
return 'usage ceilings are off — a request/storage spike goes unflagged';
|
|
65
|
+
case 'error-rate':
|
|
66
|
+
return 'a 5xx spike or a failing/never-firing cron would go undetected';
|
|
67
|
+
default:
|
|
68
|
+
return 'this category is unmonitored';
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
export function evaluateAlertCoverage(input) {
|
|
72
|
+
const { adapter, declared, live, categoryDiagnostics = {}, unrepresentedCategories = [] } = input;
|
|
73
|
+
const gaps = [];
|
|
74
|
+
const driftNotes = [];
|
|
75
|
+
const liveTypes = new Set((live ?? []).map((p) => p.type));
|
|
76
|
+
const declaredTypes = new Set(declared.map((p) => p.type));
|
|
77
|
+
const liveCount = live?.length ?? 0;
|
|
78
|
+
// True "zero" only when nothing is declared, nothing is live, and live was
|
|
79
|
+
// readable. Otherwise declared policies steer the verdict away from "zero".
|
|
80
|
+
if (declared.length === 0 && live !== null && liveCount === 0) {
|
|
81
|
+
gaps.push(`${adapter}: zero policies configured. Budget/usage/error-rate alerts are not in place.`);
|
|
82
|
+
return { gaps, driftNotes };
|
|
83
|
+
}
|
|
84
|
+
// Per-category coverage is only assertable when we could actually read the
|
|
85
|
+
// live set. With live unreadable (no creds), we don't know what's applied —
|
|
86
|
+
// emit no per-category gap and let the section note say coverage was computed
|
|
87
|
+
// from declarations only (rather than falsely claim "not applied").
|
|
88
|
+
if (live !== null) {
|
|
89
|
+
for (const category of CRITICAL_ALERT_CATEGORIES) {
|
|
90
|
+
if (liveTypes.has(category))
|
|
91
|
+
continue; // covered on the account
|
|
92
|
+
if (declaredTypes.has(category)) {
|
|
93
|
+
const diagnostic = categoryDiagnostics[category];
|
|
94
|
+
if (diagnostic) {
|
|
95
|
+
gaps.push(`${adapter}: ${diagnostic}`);
|
|
96
|
+
}
|
|
97
|
+
else {
|
|
98
|
+
gaps.push(`${adapter}: ${category} alerts are declared in infra/account.config.ts but not applied to this provider — run \`vibes infra alerts create ${category}\`.`);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
else {
|
|
102
|
+
gaps.push(`${adapter}: no ${category} alerts configured — ${alertCategoryImpact(category)}.`);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
if (live !== null) {
|
|
107
|
+
const liveNames = new Set(live.map((p) => p.name));
|
|
108
|
+
const declaredNames = new Set(declared.map((p) => p.name));
|
|
109
|
+
// Declaration-only types have no live policy representation, so they are
|
|
110
|
+
// never expected to appear in the provider's policy list. Their owning
|
|
111
|
+
// observability surfaces are reported as explicit coverage gaps above.
|
|
112
|
+
const declaredOnly = declared.filter((p) => !unrepresentedCategories.includes(p.type) && !liveNames.has(p.name));
|
|
113
|
+
const liveOnly = live.filter((p) => !declaredNames.has(p.name));
|
|
114
|
+
if (declaredOnly.length > 0) {
|
|
115
|
+
driftNotes.push(`${declaredOnly.length} declared policy(ies) not yet applied to ${adapter}: ${declaredOnly
|
|
116
|
+
.map((p) => p.name)
|
|
117
|
+
.join(', ')}`);
|
|
118
|
+
}
|
|
119
|
+
if (liveOnly.length > 0) {
|
|
120
|
+
driftNotes.push(`${liveOnly.length} live policy(ies) not declared in infra/account.config.ts: ${liveOnly
|
|
121
|
+
.map((p) => p.name)
|
|
122
|
+
.join(', ')}`);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
return { gaps, driftNotes };
|
|
126
|
+
}
|
|
127
|
+
const LoadedAccountModuleSchema = z.looseObject({
|
|
128
|
+
default: z.unknown().optional()
|
|
129
|
+
});
|
|
130
|
+
/**
|
|
131
|
+
* Load the declared account-wide alert policies from the bound workspace's
|
|
132
|
+
* `infra/account.config.ts` (read-only). Nothing walks up for it. An unbound
|
|
133
|
+
* host or a workspace without the file declares none; a file that exists but
|
|
134
|
+
* cannot be evaluated or parsed fails the audit rather than silently
|
|
135
|
+
* dropping declared coverage.
|
|
136
|
+
*/
|
|
137
|
+
async function loadDeclaredAccountAlerts(runtime) {
|
|
138
|
+
let workspaceRoot;
|
|
139
|
+
try {
|
|
140
|
+
workspaceRoot = await runtime.context('runtime/workspace-path');
|
|
141
|
+
}
|
|
142
|
+
catch (error) {
|
|
143
|
+
if (error instanceof Error && CapabilityError.isAbsenceOf(error, 'context', 'runtime/workspace-path'))
|
|
144
|
+
return null;
|
|
145
|
+
throw error;
|
|
146
|
+
}
|
|
147
|
+
const paths = await getRuntimePath(runtime);
|
|
148
|
+
const path = paths.join(workspaceRoot, 'infra', 'account.config.ts');
|
|
149
|
+
if (!(await pathExists(runtime, path)))
|
|
150
|
+
return null;
|
|
151
|
+
const url = requirePathFileURL(paths, path);
|
|
152
|
+
url.searchParams.set('vibesAuditLoad', generateId());
|
|
153
|
+
let raw;
|
|
154
|
+
try {
|
|
155
|
+
const mod = LoadedAccountModuleSchema.parse(await import(__rewriteRelativeImportExtension(url.href)));
|
|
156
|
+
raw = mod.default ?? mod;
|
|
157
|
+
}
|
|
158
|
+
catch (error) {
|
|
159
|
+
throw new CapabilityError(`${path} could not be evaluated.`, 'INTERNAL', {
|
|
160
|
+
reason: 'load-failed',
|
|
161
|
+
details: { path },
|
|
162
|
+
cause: valueFreeFailure(CaughtFailureSchema.parse(error))
|
|
163
|
+
});
|
|
164
|
+
}
|
|
165
|
+
const parsed = InfraAlertsDescriptorSchema.safeParse(raw);
|
|
166
|
+
if (!parsed.success) {
|
|
167
|
+
throw new CapabilityError(`${path} is not a valid infra/alerts descriptor.`, 'INVALID_INPUT', {
|
|
168
|
+
reason: 'descriptor-invalid',
|
|
169
|
+
details: { path },
|
|
170
|
+
cause: valueFreeFailure(parsed.error)
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
return parsed.data;
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* Provider filters accept either one exact implementation id or a provider
|
|
177
|
+
* family prefix. Thus `cloudflare` selects every Cloudflare audit adapter,
|
|
178
|
+
* while `cloudflare-alerts` selects only that implementation.
|
|
179
|
+
*/
|
|
180
|
+
export function auditProviderMatches(requestedProvider, candidates) {
|
|
181
|
+
const requested = requestedProvider?.trim().toLowerCase();
|
|
182
|
+
if (!requested)
|
|
183
|
+
return true;
|
|
184
|
+
return candidates.some((candidate) => {
|
|
185
|
+
const normalized = candidate.trim().toLowerCase();
|
|
186
|
+
return (normalized === requested ||
|
|
187
|
+
normalized.startsWith(`${requested}-`) ||
|
|
188
|
+
normalized.startsWith(`${requested}:`) ||
|
|
189
|
+
normalized.startsWith(`${requested}/`) ||
|
|
190
|
+
normalized.startsWith(`${requested}.`));
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
async function resolveAuditImplementation(runtime, kind, id, environment, extraOpts) {
|
|
194
|
+
const resolved = await runtime
|
|
195
|
+
.query(kind)
|
|
196
|
+
.withId(id)
|
|
197
|
+
.resolve();
|
|
198
|
+
if ('create' in resolved) {
|
|
199
|
+
const opts = {
|
|
200
|
+
environment
|
|
201
|
+
};
|
|
202
|
+
if (extraOpts?.declaredWorkerNames) {
|
|
203
|
+
opts.declaredWorkerNames = extraOpts.declaredWorkerNames;
|
|
204
|
+
}
|
|
205
|
+
return await resolved.create(opts);
|
|
206
|
+
}
|
|
207
|
+
return resolved;
|
|
208
|
+
}
|
|
209
|
+
async function gatherAlerts(runtime, options = {}) {
|
|
210
|
+
const section = { providers: [], gaps: [], notes: [] };
|
|
21
211
|
if (!runtime.hasKind('infra/alerts')) {
|
|
22
212
|
section.gaps.push('infra/alerts kind not registered — no provider plugin loaded for alerting.');
|
|
23
213
|
return section;
|
|
24
214
|
}
|
|
25
|
-
const descriptors = runtime.assets('infra/alerts').descriptors();
|
|
215
|
+
const descriptors = runtime.assets('infra/alerts').descriptors().filter((descriptor) => auditProviderMatches(options.provider, [descriptor.id, descriptor.adapter]));
|
|
26
216
|
if (descriptors.length === 0) {
|
|
27
|
-
|
|
217
|
+
if (!options.provider)
|
|
218
|
+
section.gaps.push('No infra/alerts descriptors registered.');
|
|
28
219
|
return section;
|
|
29
220
|
}
|
|
221
|
+
// Declared policies live in infra/account.config.ts (the account-wide home).
|
|
222
|
+
// FS-discovery does not register repo-root config into the CLI runtime, so
|
|
223
|
+
// load it explicitly (read-only) and attribute its policies to the matching
|
|
224
|
+
// adapter. This is what makes declaring policies change the audit verdict.
|
|
225
|
+
const declaredAccount = await loadDeclaredAccountAlerts(runtime);
|
|
30
226
|
for (const d of descriptors) {
|
|
31
|
-
|
|
32
|
-
const impl =
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
const
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
227
|
+
const outcome = await settle(async () => {
|
|
228
|
+
const impl = await resolveAuditImplementation(runtime, 'infra/alerts', d.id, options.environment ?? 'local');
|
|
229
|
+
const liveOutcome = await settle(() => impl.listPolicies());
|
|
230
|
+
const live = liveOutcome.ok ? liveOutcome.value : null;
|
|
231
|
+
const liveError = liveOutcome.ok ? undefined : renderAuditProviderFailureText(liveOutcome.cause);
|
|
232
|
+
const authority = live === null ? undefined : await impl.getAuthority?.();
|
|
233
|
+
const declared = [
|
|
234
|
+
...(d.policies ?? []),
|
|
235
|
+
...(declaredAccount && declaredAccount.adapter === d.adapter ? declaredAccount.policies : [])
|
|
236
|
+
];
|
|
237
|
+
const coverage = evaluateAlertCoverage({
|
|
238
|
+
adapter: d.adapter,
|
|
239
|
+
declared,
|
|
240
|
+
live,
|
|
241
|
+
categoryDiagnostics: d.auditDiagnostics?.category,
|
|
242
|
+
unrepresentedCategories: d.auditDiagnostics?.unrepresentedCategories
|
|
243
|
+
});
|
|
244
|
+
return { live, liveError, authority, declared, coverage };
|
|
245
|
+
});
|
|
246
|
+
if (outcome.ok) {
|
|
247
|
+
const { live, liveError, authority, declared, coverage } = outcome.value;
|
|
248
|
+
section.providers.push({
|
|
249
|
+
descriptorId: d.id,
|
|
250
|
+
adapter: d.adapter,
|
|
251
|
+
policies: live ?? [],
|
|
252
|
+
declaredCount: declared.length,
|
|
253
|
+
liveError,
|
|
254
|
+
driftNotes: coverage.driftNotes,
|
|
255
|
+
authority
|
|
256
|
+
});
|
|
257
|
+
section.gaps.push(...coverage.gaps);
|
|
258
|
+
if (liveError) {
|
|
259
|
+
section.notes.push(`${d.adapter}: live policy listing unavailable (${liveError.split('\n')[0]}); coverage computed from declared policies only.`);
|
|
260
|
+
}
|
|
261
|
+
const markerWatchers = declared
|
|
262
|
+
.filter((p) => MARKER_ALERT_TYPES.includes(p.type))
|
|
263
|
+
.map((p) => p.filters.marker ?? p.filters.worker ?? p.name)
|
|
264
|
+
.filter((m) => Boolean(m));
|
|
265
|
+
if (markerWatchers.length > 0) {
|
|
266
|
+
section.notes.push(`${d.adapter}: ${markerWatchers.length} structured-marker alert(s) declared (${d.auditDiagnostics?.markerDelivery ?? 'delivery depends on the provider adapter'}): ${markerWatchers.join(', ')}.`);
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
else {
|
|
43
270
|
section.providers.push({
|
|
44
271
|
descriptorId: d.id,
|
|
45
272
|
adapter: d.adapter,
|
|
46
273
|
policies: [],
|
|
47
|
-
|
|
274
|
+
declaredCount: 0,
|
|
275
|
+
driftNotes: [],
|
|
276
|
+
error: renderAuditProviderFailureText(outcome.cause)
|
|
48
277
|
});
|
|
49
278
|
}
|
|
50
279
|
}
|
|
51
280
|
return section;
|
|
52
281
|
}
|
|
53
|
-
async function gatherObservability(runtime) {
|
|
282
|
+
async function gatherObservability(runtime, options = {}) {
|
|
54
283
|
const section = { providers: [], gaps: [] };
|
|
55
284
|
if (!runtime.hasKind('infra/observability')) {
|
|
56
285
|
section.gaps.push('infra/observability kind not registered — no provider plugin loaded.');
|
|
57
286
|
return section;
|
|
58
287
|
}
|
|
59
|
-
const descriptors = runtime
|
|
60
|
-
.assets('infra/observability')
|
|
61
|
-
.descriptors();
|
|
288
|
+
const descriptors = runtime.assets('infra/observability').descriptors().filter((descriptor) => auditProviderMatches(options.provider, [descriptor.id, descriptor.adapter]));
|
|
62
289
|
for (const d of descriptors) {
|
|
63
|
-
|
|
64
|
-
const impl =
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
290
|
+
const outcome = await settle(async () => {
|
|
291
|
+
const impl = await resolveAuditImplementation(runtime, 'infra/observability', d.id, options.environment ?? 'local');
|
|
292
|
+
const snapshots = await impl.getStatus({ kind: 'account-wide' });
|
|
293
|
+
const readable = snapshots.filter((snapshot) => !snapshot.failure);
|
|
294
|
+
const failedWorkers = snapshots.flatMap((snapshot) => snapshot.failure
|
|
295
|
+
? [{ workerName: snapshot.workerName, ...snapshot.failure }]
|
|
296
|
+
: []);
|
|
297
|
+
const authority = failedWorkers.length > 0 && readable.length === 0
|
|
298
|
+
? undefined
|
|
299
|
+
: await impl.getAuthority?.();
|
|
300
|
+
const samples = readable
|
|
70
301
|
.map((s) => s.settings.logs?.headSamplingRate)
|
|
71
302
|
.filter((r) => typeof r === 'number');
|
|
72
|
-
const
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
303
|
+
const blindSpots = observabilityBlindSpots(readable);
|
|
304
|
+
return { readable, samples, blindSpots, failedWorkers, authority };
|
|
305
|
+
});
|
|
306
|
+
if (outcome.ok) {
|
|
307
|
+
const { readable, samples, blindSpots, failedWorkers, authority } = outcome.value;
|
|
308
|
+
const providerEntry = {
|
|
76
309
|
descriptorId: d.id,
|
|
77
310
|
adapter: d.adapter,
|
|
78
|
-
workerCount:
|
|
311
|
+
workerCount: readable.length,
|
|
79
312
|
minSampling: samples.length ? Math.min(...samples) : undefined,
|
|
80
313
|
maxSampling: samples.length ? Math.max(...samples) : undefined,
|
|
81
|
-
avgSampling: samples.length
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
314
|
+
avgSampling: samples.length
|
|
315
|
+
? samples.reduce((a, b) => a + b, 0) / samples.length
|
|
316
|
+
: undefined,
|
|
317
|
+
blindSpotWorkers: blindSpots,
|
|
318
|
+
failedWorkers,
|
|
319
|
+
authority
|
|
320
|
+
};
|
|
321
|
+
if (failedWorkers.length > 0) {
|
|
322
|
+
providerEntry.error = `${failedWorkers.length} worker observability setting(s) were unreadable.`;
|
|
323
|
+
}
|
|
324
|
+
section.providers.push(providerEntry);
|
|
325
|
+
if (failedWorkers.length > 0) {
|
|
326
|
+
section.gaps.push(`${d.adapter}: ${failedWorkers.length} worker observability setting(s) unreadable; fleet sampling coverage is incomplete.`);
|
|
327
|
+
}
|
|
328
|
+
if (blindSpots.length > 0) {
|
|
329
|
+
section.gaps.push(`${d.adapter}: ${blindSpots.length} worker(s) miss invocations (logs off or sampled below 100%): ${blindSpots.join(', ')}.`);
|
|
86
330
|
}
|
|
87
331
|
}
|
|
88
|
-
|
|
332
|
+
else {
|
|
89
333
|
section.providers.push({
|
|
90
334
|
descriptorId: d.id,
|
|
91
335
|
adapter: d.adapter,
|
|
92
336
|
workerCount: 0,
|
|
93
|
-
|
|
94
|
-
|
|
337
|
+
blindSpotWorkers: [],
|
|
338
|
+
failedWorkers: [],
|
|
339
|
+
error: renderAuditProviderFailureText(outcome.cause)
|
|
95
340
|
});
|
|
96
341
|
}
|
|
97
342
|
}
|
|
98
343
|
return section;
|
|
99
344
|
}
|
|
100
|
-
async function gatherLogs(runtime) {
|
|
345
|
+
async function gatherLogs(runtime, options = {}) {
|
|
101
346
|
const section = { providers: [] };
|
|
102
347
|
if (!runtime.hasKind('infra/logs'))
|
|
103
348
|
return section;
|
|
104
|
-
const descriptors = runtime.assets('infra/logs').descriptors();
|
|
349
|
+
const descriptors = runtime.assets('infra/logs').descriptors().filter((descriptor) => auditProviderMatches(options.provider, [descriptor.id, descriptor.adapter]));
|
|
105
350
|
for (const d of descriptors) {
|
|
106
|
-
|
|
107
|
-
|
|
351
|
+
const resolved = await settle(() => runtime.query('infra/logs').withId(d.id).resolve());
|
|
352
|
+
if (resolved.ok) {
|
|
108
353
|
section.providers.push({
|
|
109
354
|
descriptorId: d.id,
|
|
110
355
|
adapter: d.adapter,
|
|
111
356
|
sources: d.sources ?? [],
|
|
112
|
-
|
|
357
|
+
logRetention: d.logRetention,
|
|
113
358
|
alertsConfigured: (d.alerts ?? []).length
|
|
114
359
|
});
|
|
115
360
|
}
|
|
116
|
-
|
|
361
|
+
else {
|
|
117
362
|
section.providers.push({
|
|
118
363
|
descriptorId: d.id,
|
|
119
364
|
adapter: d.adapter,
|
|
120
365
|
sources: [],
|
|
121
366
|
alertsConfigured: 0,
|
|
122
|
-
error:
|
|
367
|
+
error: renderAuditProviderFailureText(resolved.cause)
|
|
368
|
+
});
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
return section;
|
|
372
|
+
}
|
|
373
|
+
export function renderAuditProviderFailureText(error) {
|
|
374
|
+
return sanitizeInfraProviderFailure(error).message;
|
|
375
|
+
}
|
|
376
|
+
/**
|
|
377
|
+
* Live workers that expose a `scheduled` (cron) handler. A worker that runs a
|
|
378
|
+
* cron but has no error-rate / scheduled-event-missing alert is exactly how a
|
|
379
|
+
* dead cron stays invisible — gatherWorkers cross-checks coverage for these.
|
|
380
|
+
*/
|
|
381
|
+
export function detectScheduledWorkers(liveWorkers) {
|
|
382
|
+
return liveWorkers
|
|
383
|
+
.filter((worker) => (worker.handlers ?? []).includes('scheduled'))
|
|
384
|
+
.map((worker) => worker.workerName)
|
|
385
|
+
.sort();
|
|
386
|
+
}
|
|
387
|
+
export function buildWorkersProviderAudit(input) {
|
|
388
|
+
const declared = new Set(input.declaredWorkers);
|
|
389
|
+
const liveNames = new Set(input.liveWorkers.map((worker) => worker.workerName));
|
|
390
|
+
const liveWorkers = input.liveWorkers
|
|
391
|
+
.slice()
|
|
392
|
+
.sort((a, b) => a.workerName.localeCompare(b.workerName))
|
|
393
|
+
.map((worker) => ({
|
|
394
|
+
workerName: worker.workerName,
|
|
395
|
+
lastDeployed: worker.lastDeployed,
|
|
396
|
+
usageModel: worker.usageModel,
|
|
397
|
+
handlers: worker.handlers,
|
|
398
|
+
declared: declared.has(worker.workerName)
|
|
399
|
+
}));
|
|
400
|
+
return {
|
|
401
|
+
descriptorId: input.descriptorId,
|
|
402
|
+
adapter: input.adapter,
|
|
403
|
+
accountId: input.account,
|
|
404
|
+
liveWorkerCount: liveWorkers.length,
|
|
405
|
+
declaredWorkerCount: input.declaredWorkers.length,
|
|
406
|
+
liveWorkers,
|
|
407
|
+
declaredWorkers: input.declaredWorkers,
|
|
408
|
+
missingLiveWorkers: input.declaredWorkers.filter((name) => !liveNames.has(name)),
|
|
409
|
+
unmanagedLiveWorkers: liveWorkers
|
|
410
|
+
.filter((worker) => !worker.declared)
|
|
411
|
+
.map((worker) => worker.workerName),
|
|
412
|
+
scheduledWorkers: detectScheduledWorkers(liveWorkers)
|
|
413
|
+
};
|
|
414
|
+
}
|
|
415
|
+
const WorkerRawInventorySchema = z.looseObject({
|
|
416
|
+
modifiedOn: z.string().optional(),
|
|
417
|
+
usageModel: z.string().optional(),
|
|
418
|
+
handlers: z.array(z.string()).optional()
|
|
419
|
+
});
|
|
420
|
+
function workerFromInventory(resource) {
|
|
421
|
+
const parsed = WorkerRawInventorySchema.safeParse(resource.raw);
|
|
422
|
+
const raw = parsed.success ? parsed.data : undefined;
|
|
423
|
+
return {
|
|
424
|
+
workerName: resource.name ?? resource.id,
|
|
425
|
+
lastDeployed: raw?.modifiedOn,
|
|
426
|
+
usageModel: raw?.usageModel,
|
|
427
|
+
handlers: raw?.handlers ?? []
|
|
428
|
+
};
|
|
429
|
+
}
|
|
430
|
+
async function gatherWorkers(runtime, options = {}) {
|
|
431
|
+
const section = { providers: [], gaps: [] };
|
|
432
|
+
if (!runtime.hasKind('infra/inventory')) {
|
|
433
|
+
section.gaps.push('infra/inventory kind is not registered — no provider plugin loaded.');
|
|
434
|
+
return section;
|
|
435
|
+
}
|
|
436
|
+
const descriptors = runtime.assets('infra/inventory')
|
|
437
|
+
.descriptors()
|
|
438
|
+
.filter((descriptor) => descriptor.resourceKinds?.includes('infra/worker') === true &&
|
|
439
|
+
auditProviderMatches(options.provider, [
|
|
440
|
+
descriptor.id,
|
|
441
|
+
descriptor.provider ?? '',
|
|
442
|
+
...(descriptor.providerAliases ?? [])
|
|
443
|
+
]));
|
|
444
|
+
if (descriptors.length === 0) {
|
|
445
|
+
if (!options.provider)
|
|
446
|
+
section.gaps.push('No inventory descriptors declare infra/worker.');
|
|
447
|
+
return section;
|
|
448
|
+
}
|
|
449
|
+
for (const descriptor of descriptors) {
|
|
450
|
+
let implementation;
|
|
451
|
+
let credentialPath = 'unavailable';
|
|
452
|
+
let declaredWorkers = [];
|
|
453
|
+
const outcome = await settle(async () => {
|
|
454
|
+
const workspace = await discoverInventoryWorkspace(runtime, descriptor);
|
|
455
|
+
implementation = await resolveAuditImplementation(runtime, 'infra/inventory', descriptor.id, options.environment ?? 'local');
|
|
456
|
+
const snapshot = await implementation.collect({ kinds: ['infra/worker'], workspace });
|
|
457
|
+
credentialPath = snapshot.credentialPath ?? credentialPath;
|
|
458
|
+
declaredWorkers = (snapshot.declarations ?? [])
|
|
459
|
+
.filter((resource) => resource.kind === 'infra/worker')
|
|
460
|
+
.map((resource) => resource.name ?? resource.id);
|
|
461
|
+
const providerFailure = snapshot.resources.find((resource) => resource.kind === 'infra/inventory-error');
|
|
462
|
+
if (providerFailure) {
|
|
463
|
+
throw createSanitizedInfraProviderError({
|
|
464
|
+
code: 'PROVIDER_UNAVAILABLE',
|
|
465
|
+
message: 'Provider inventory returned degraded evidence.'
|
|
466
|
+
});
|
|
467
|
+
}
|
|
468
|
+
if (!snapshot.authority) {
|
|
469
|
+
throw new Error('Provider inventory omitted authority evidence.');
|
|
470
|
+
}
|
|
471
|
+
const liveWorkers = snapshot.resources
|
|
472
|
+
.filter((resource) => resource.kind === 'infra/worker')
|
|
473
|
+
.map(workerFromInventory);
|
|
474
|
+
const provider = buildWorkersProviderAudit({
|
|
475
|
+
descriptorId: descriptor.id,
|
|
476
|
+
adapter: snapshot.provider,
|
|
477
|
+
account: snapshot.authority.account,
|
|
478
|
+
declaredWorkers,
|
|
479
|
+
liveWorkers
|
|
480
|
+
});
|
|
481
|
+
provider.credentialPath = credentialPath;
|
|
482
|
+
return { authority: snapshot.authority, provider };
|
|
483
|
+
});
|
|
484
|
+
if (outcome.ok) {
|
|
485
|
+
const { authority, provider } = outcome.value;
|
|
486
|
+
section.authority = mergeInfraAuthorityFingerprints([...(section.authority ? [section.authority] : []), authority]);
|
|
487
|
+
section.providers.push(provider);
|
|
488
|
+
if (provider.missingLiveWorkers.length > 0) {
|
|
489
|
+
section.gaps.push(`${provider.adapter}: ${provider.missingLiveWorkers.length} declared worker(s) were not found live in this provider.`);
|
|
490
|
+
}
|
|
491
|
+
if (provider.unmanagedLiveWorkers.length > 0) {
|
|
492
|
+
section.gaps.push(`${provider.adapter}: ${provider.unmanagedLiveWorkers.length} live worker(s) are not declared in deployment configs or infra/worker descriptors.`);
|
|
493
|
+
}
|
|
494
|
+
if (provider.liveWorkerCount === 0) {
|
|
495
|
+
section.gaps.push(`${provider.adapter}: returned zero workers for this account.`);
|
|
496
|
+
}
|
|
497
|
+
if (provider.scheduledWorkers.length > 0) {
|
|
498
|
+
section.gaps.push(`${provider.adapter}: ${provider.scheduledWorkers.length} live worker(s) run scheduled handlers. Confirm their alert coverage with ` +
|
|
499
|
+
`the provider's alert capability and that each scheduled worker emits fresh heartbeat evidence.`);
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
else {
|
|
503
|
+
const error = renderAuditProviderFailureText(outcome.cause);
|
|
504
|
+
const diagnosticOutcome = settleNow(() => implementation?.auditDiagnostic?.(error));
|
|
505
|
+
if (!diagnosticOutcome.ok)
|
|
506
|
+
throw diagnosticOutcome.cause;
|
|
507
|
+
const diagnostic = diagnosticOutcome.value;
|
|
508
|
+
section.providers.push({
|
|
509
|
+
descriptorId: descriptor.id,
|
|
510
|
+
adapter: descriptor.provider ?? descriptor.id,
|
|
511
|
+
accountId: 'unverified',
|
|
512
|
+
liveWorkerCount: 0,
|
|
513
|
+
declaredWorkerCount: declaredWorkers.length,
|
|
514
|
+
liveWorkers: [],
|
|
515
|
+
declaredWorkers,
|
|
516
|
+
missingLiveWorkers: [],
|
|
517
|
+
unmanagedLiveWorkers: [],
|
|
518
|
+
scheduledWorkers: [],
|
|
519
|
+
credentialPath,
|
|
520
|
+
error,
|
|
521
|
+
diagnostic: diagnostic
|
|
522
|
+
? `credential-path=${credentialPath}; ${diagnostic}`
|
|
523
|
+
: undefined
|
|
123
524
|
});
|
|
525
|
+
section.gaps.push(`${descriptor.provider ?? descriptor.id}: live worker inventory unavailable.`);
|
|
124
526
|
}
|
|
125
527
|
}
|
|
126
528
|
return section;
|
|
127
529
|
}
|
|
530
|
+
export async function collectInfraAuditReport(runtime, include, now = new Date(), options = {}) {
|
|
531
|
+
const environment = options.environment ?? 'local';
|
|
532
|
+
assertAuditEnvironment(environment);
|
|
533
|
+
const report = {
|
|
534
|
+
timestamp: now.toISOString(),
|
|
535
|
+
requestedProvider: options.provider,
|
|
536
|
+
environment,
|
|
537
|
+
notes: []
|
|
538
|
+
};
|
|
539
|
+
if (include.includes('alerts'))
|
|
540
|
+
report.alerts = await gatherAlerts(runtime, options);
|
|
541
|
+
if (include.includes('logs'))
|
|
542
|
+
report.logs = await gatherLogs(runtime, options);
|
|
543
|
+
if (include.includes('observability'))
|
|
544
|
+
report.observability = await gatherObservability(runtime, options);
|
|
545
|
+
if (include.includes('workers'))
|
|
546
|
+
report.workers = await gatherWorkers(runtime, options);
|
|
547
|
+
const authorities = [
|
|
548
|
+
...(report.alerts?.providers.flatMap((provider) => provider.authority ? [provider.authority] : []) ?? []),
|
|
549
|
+
...(report.observability?.providers.flatMap((provider) => provider.authority ? [provider.authority] : []) ?? []),
|
|
550
|
+
...(report.workers?.authority ? [report.workers.authority] : [])
|
|
551
|
+
];
|
|
552
|
+
report.authority = mergeInfraAuthorityFingerprints(authorities);
|
|
553
|
+
const matchedProviders = (report.alerts?.providers.length ?? 0) +
|
|
554
|
+
(report.logs?.providers.length ?? 0) +
|
|
555
|
+
(report.observability?.providers.length ?? 0) +
|
|
556
|
+
(report.workers?.providers.length ?? 0);
|
|
557
|
+
if (options.provider && matchedProviders === 0) {
|
|
558
|
+
report.notes.push(`No audit implementations matched provider "${options.provider}".`);
|
|
559
|
+
}
|
|
560
|
+
return report;
|
|
561
|
+
}
|
|
562
|
+
export function renderAuditAuthorityText(report) {
|
|
563
|
+
return report.authority
|
|
564
|
+
? `Authority: ${formatInfraAuthorityFingerprint(report.authority)}`
|
|
565
|
+
: undefined;
|
|
566
|
+
}
|
|
128
567
|
export default {
|
|
129
|
-
async execute(_args, opts) {
|
|
130
|
-
const runtime =
|
|
131
|
-
const ui =
|
|
568
|
+
async execute(_args, opts, context) {
|
|
569
|
+
const { runtime } = context;
|
|
570
|
+
const ui = await runtime.context('cli/ui');
|
|
132
571
|
const include = (readString(opts.include) ?? 'alerts,logs,observability')
|
|
133
572
|
.split(',')
|
|
134
573
|
.map((s) => s.trim());
|
|
135
574
|
const output = readString(opts.output) ?? 'text';
|
|
136
|
-
const
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
report.observability = await gatherObservability(runtime);
|
|
143
|
-
if (include.includes('rum')) {
|
|
144
|
-
report.notes.push('infra/rum kind is not implemented yet (Phase 3 of design doc).');
|
|
145
|
-
}
|
|
146
|
-
if (include.includes('workers')) {
|
|
147
|
-
report.notes.push('Workers fleet audit not implemented yet — use `vibes infra deploy list` for the deployed-app inventory and CF dashboard for live request counts.');
|
|
148
|
-
}
|
|
575
|
+
const provider = readString(opts.provider);
|
|
576
|
+
const environment = readString(opts.environment) ?? 'local';
|
|
577
|
+
const report = await collectInfraAuditReport(runtime, include, new Date(), {
|
|
578
|
+
provider,
|
|
579
|
+
environment
|
|
580
|
+
});
|
|
149
581
|
if (output === 'json') {
|
|
150
582
|
ui.json(report);
|
|
151
583
|
return;
|
|
152
584
|
}
|
|
153
|
-
ui.info(`=== Infra audit (${report.timestamp})
|
|
585
|
+
ui.info(`=== Infra audit (${report.timestamp}) ===`);
|
|
586
|
+
ui.info(`Provider: ${report.requestedProvider ?? 'all'}`);
|
|
587
|
+
ui.info(`Environment: ${report.environment}`);
|
|
588
|
+
const authorityText = renderAuditAuthorityText(report);
|
|
589
|
+
if (authorityText)
|
|
590
|
+
ui.info(authorityText);
|
|
591
|
+
ui.info('');
|
|
154
592
|
if (report.alerts) {
|
|
155
593
|
ui.info('## Alerts');
|
|
156
594
|
for (const p of report.alerts.providers) {
|
|
@@ -159,20 +597,29 @@ export default {
|
|
|
159
597
|
ui.error(` ${p.error}`);
|
|
160
598
|
continue;
|
|
161
599
|
}
|
|
162
|
-
if (p.
|
|
163
|
-
ui.warn(
|
|
164
|
-
|
|
600
|
+
if (p.liveError) {
|
|
601
|
+
ui.warn(` live policy listing unavailable: ${p.liveError}`);
|
|
602
|
+
}
|
|
603
|
+
if (p.policies.length === 0 && !p.liveError) {
|
|
604
|
+
ui.warn(` no live policies (declared=${p.declaredCount})`);
|
|
165
605
|
}
|
|
166
606
|
for (const policy of p.policies) {
|
|
167
607
|
const mech = policy.mechanisms.map((m) => `${m.kind}:${m.target}`).join(', ');
|
|
168
608
|
ui.info(` ${policy.enabled ? '✓' : '✗'} ${policy.type.padEnd(12)} ${policy.name.padEnd(40)} threshold=${policy.threshold} → ${mech}`);
|
|
169
609
|
}
|
|
610
|
+
for (const drift of p.driftNotes)
|
|
611
|
+
ui.warn(` drift: ${drift}`);
|
|
170
612
|
}
|
|
171
613
|
if (report.alerts.gaps.length > 0) {
|
|
172
614
|
ui.info('\nGaps:');
|
|
173
615
|
for (const gap of report.alerts.gaps)
|
|
174
616
|
ui.warn(` • ${gap}`);
|
|
175
617
|
}
|
|
618
|
+
if (report.alerts.notes.length > 0) {
|
|
619
|
+
ui.info('Notes:');
|
|
620
|
+
for (const note of report.alerts.notes)
|
|
621
|
+
ui.info(` ${note}`);
|
|
622
|
+
}
|
|
176
623
|
}
|
|
177
624
|
if (report.logs) {
|
|
178
625
|
ui.info('\n## Logs');
|
|
@@ -183,8 +630,8 @@ export default {
|
|
|
183
630
|
continue;
|
|
184
631
|
}
|
|
185
632
|
ui.info(` sources=${p.sources.length} alerts=${p.alertsConfigured}`);
|
|
186
|
-
if (p.
|
|
187
|
-
ui.info(` retention: hot=${p.
|
|
633
|
+
if (p.logRetention) {
|
|
634
|
+
ui.info(` retention: hot=${p.logRetention.hotDays}d cold=${p.logRetention.coldDays}d`);
|
|
188
635
|
}
|
|
189
636
|
}
|
|
190
637
|
}
|
|
@@ -195,12 +642,16 @@ export default {
|
|
|
195
642
|
ui.info(`\n[${p.adapter}] (${p.descriptorId})`);
|
|
196
643
|
if (p.error) {
|
|
197
644
|
ui.error(` ${p.error}`);
|
|
198
|
-
|
|
645
|
+
for (const failure of p.failedWorkers) {
|
|
646
|
+
ui.warn(` ${failure.workerName}: ${failure.code} — ${failure.message}`);
|
|
647
|
+
}
|
|
648
|
+
if (p.workerCount === 0)
|
|
649
|
+
continue;
|
|
199
650
|
}
|
|
200
651
|
ui.info(` workers=${p.workerCount} sampling min=${fmt(p.minSampling)} avg=${fmt(p.avgSampling)} max=${fmt(p.maxSampling)}`);
|
|
201
|
-
if (p.
|
|
202
|
-
ui.warn(` ${p.
|
|
203
|
-
|
|
652
|
+
if (p.blindSpotWorkers.length > 0) {
|
|
653
|
+
ui.warn(` ${p.blindSpotWorkers.length} worker(s) miss invocations; to capture fully, ` +
|
|
654
|
+
OBSERVABILITY_BLIND_SPOT_REMEDY);
|
|
204
655
|
}
|
|
205
656
|
}
|
|
206
657
|
if (report.observability.gaps.length > 0) {
|
|
@@ -209,6 +660,36 @@ export default {
|
|
|
209
660
|
ui.warn(` • ${gap}`);
|
|
210
661
|
}
|
|
211
662
|
}
|
|
663
|
+
if (report.workers) {
|
|
664
|
+
ui.info('\n## Workers');
|
|
665
|
+
for (const p of report.workers.providers) {
|
|
666
|
+
ui.info(`\n[${p.adapter}] (${p.descriptorId})`);
|
|
667
|
+
if (p.error) {
|
|
668
|
+
ui.error(` ${p.error}`);
|
|
669
|
+
if (p.diagnostic)
|
|
670
|
+
ui.warn(` ${p.diagnostic}`);
|
|
671
|
+
continue;
|
|
672
|
+
}
|
|
673
|
+
ui.info(` account=${p.accountId} credentials=${p.credentialPath ?? 'unavailable'} live=${p.liveWorkerCount} declared=${p.declaredWorkerCount} unmanaged=${p.unmanagedLiveWorkers.length} missing=${p.missingLiveWorkers.length}`);
|
|
674
|
+
for (const worker of p.liveWorkers) {
|
|
675
|
+
const marker = worker.declared ? '✓' : '!';
|
|
676
|
+
const modified = worker.lastDeployed ? ` modified=${worker.lastDeployed}` : '';
|
|
677
|
+
const usage = worker.usageModel ? ` usage=${worker.usageModel}` : '';
|
|
678
|
+
ui.info(` ${marker} ${worker.workerName}${usage}${modified}`);
|
|
679
|
+
}
|
|
680
|
+
if (p.missingLiveWorkers.length > 0) {
|
|
681
|
+
ui.warn(` missing live: ${p.missingLiveWorkers.join(', ')}`);
|
|
682
|
+
}
|
|
683
|
+
if (p.unmanagedLiveWorkers.length > 0) {
|
|
684
|
+
ui.warn(` unmanaged live: ${p.unmanagedLiveWorkers.join(', ')}`);
|
|
685
|
+
}
|
|
686
|
+
}
|
|
687
|
+
if (report.workers.gaps.length > 0) {
|
|
688
|
+
ui.info('\nGaps:');
|
|
689
|
+
for (const gap of report.workers.gaps)
|
|
690
|
+
ui.warn(` • ${gap}`);
|
|
691
|
+
}
|
|
692
|
+
}
|
|
212
693
|
if (report.notes.length > 0) {
|
|
213
694
|
ui.info('\n## Notes');
|
|
214
695
|
for (const note of report.notes)
|