@theholocron/cli 5.0.0-alpha.123 → 5.0.0-alpha.124

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/cli.mjs CHANGED
@@ -1726,6 +1726,16 @@ async function smokeCheck(key, provider, impl) {
1726
1726
  return mk(key, provider, "ok", runs.length === 0 ? "no recent runs" : `most recent: ${runs[0].workflowName} (${runs[0].status})`);
1727
1727
  }
1728
1728
  case "vault": return mk(key, provider, "ok", `${(await impl.list()).length} keys available`);
1729
+ case "deployment": return mk(key, provider, "ok", `${(await impl.listProjects()).length} project(s) visible`);
1730
+ case "environments": return mk(key, provider, "ok", `${(await impl.listEnvironments()).length} environment(s) configured`);
1731
+ case "dns": {
1732
+ const dns = impl;
1733
+ if (dns.whoami) {
1734
+ const who = await dns.whoami();
1735
+ return mk(key, provider, who.ok ? "ok" : "fail", `${who.zones} zone(s) visible`);
1736
+ }
1737
+ return mk(key, provider, "skip", "loaded (no smoke check defined for this capability)");
1738
+ }
1729
1739
  case "auth": {
1730
1740
  const desc = await impl.describe();
1731
1741
  return mk(key, provider, "ok", `provider: ${desc.provider}; env keys: ${desc.envKeys.join(", ")}`);