@wayai/cli 0.3.145 → 0.3.146

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/dist/index.js CHANGED
@@ -27977,10 +27977,17 @@ function buildBasesCommand() {
27977
27977
  const warnings = data?.source_credential_warnings ?? [];
27978
27978
  if (warnings.length > 0) {
27979
27979
  console.warn(
27980
- "\nExternal source credentials are NOT carried over by promotion \u2014 set these on production before the source will work:"
27980
+ "\nINLINE external-source secrets are NOT carried over by promotion \u2014 set these on production before the source will work:"
27981
27981
  );
27982
27982
  for (const w of warnings) console.warn(` - ${sanitizeTerminalText(w.message)}`);
27983
27983
  }
27984
+ const unresolved = data?.unresolved_credentials ?? [];
27985
+ if (unresolved.length > 0) {
27986
+ console.warn(
27987
+ "\nReferenced credentials production will still lack after this promotion:"
27988
+ );
27989
+ for (const w of unresolved) console.warn(` - ${sanitizeTerminalText(w.message)}`);
27990
+ }
27984
27991
  });
27985
27992
  bases.command("rollback <production-id>").description("Roll back a promotion (human-only)").requiredOption("--promotion <promotion-id>", "Promotion id to roll back").action(async function(productionId, opts) {
27986
27993
  const client = await createDataClient();