@theholocron/cli 5.0.0-alpha.183 → 5.0.0-alpha.184

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
@@ -2528,19 +2528,19 @@ async function runSmokeCheck(key, provider, impl) {
2528
2528
  const report = await impl.doctor();
2529
2529
  return mk(key, provider, "ok", `${report.authedAs} / ${report.projectLabel} (${countResolvedLifecycle(report)})`);
2530
2530
  }
2531
- case "secrets": return mk(key, provider, "ok", `repo secrets: ${(await impl.listSecrets({ kind: "repo" })).length} configured`);
2531
+ case "secrets": return mk(key, provider, "ok", `secrets: ${(await impl.listSecrets({ kind: "repo" })).length} configured`);
2532
2532
  case "ci": {
2533
2533
  const runs = await impl.listRuns({ limit: 1 });
2534
2534
  return mk(key, provider, "ok", runs.length === 0 ? "no recent runs" : `most recent: ${runs[0].workflowName} (${runs[0].status})`);
2535
2535
  }
2536
- case "vault": return mk(key, provider, "ok", `${(await impl.list()).length} keys available`);
2537
- case "deployment": return mk(key, provider, "ok", `${(await impl.listProjects()).length} project(s) visible`);
2538
- case "environments": return mk(key, provider, "ok", `${(await impl.listEnvironments()).length} environment(s) configured`);
2536
+ case "vault": return mk(key, provider, "ok", `keys: ${(await impl.list()).length} visible`);
2537
+ case "deployment": return mk(key, provider, "ok", `projects: ${(await impl.listProjects()).length} visible`);
2538
+ case "environments": return mk(key, provider, "ok", `environments: ${(await impl.listEnvironments()).length} configured`);
2539
2539
  case "dns": {
2540
2540
  const dns = impl;
2541
2541
  if (dns.whoami) {
2542
2542
  const who = await dns.whoami();
2543
- return mk(key, provider, who.ok ? "ok" : "fail", `${who.zones} zone(s) visible`);
2543
+ return mk(key, provider, who.ok ? "ok" : "fail", `zones: ${who.zones} visible`);
2544
2544
  }
2545
2545
  return mk(key, provider, "skip", "loaded (no smoke check defined for this capability)");
2546
2546
  }
@@ -2548,7 +2548,7 @@ async function runSmokeCheck(key, provider, impl) {
2548
2548
  const workers = impl;
2549
2549
  if (workers.whoami) {
2550
2550
  const who = await workers.whoami();
2551
- return mk(key, provider, who.ok ? "ok" : "fail", `${who.scripts} script(s) visible`);
2551
+ return mk(key, provider, who.ok ? "ok" : "fail", `scripts: ${who.scripts} visible`);
2552
2552
  }
2553
2553
  return mk(key, provider, "skip", "loaded (no smoke check defined for this capability)");
2554
2554
  }