@theholocron/cli 5.0.0-alpha.181 → 5.0.0-alpha.182

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
@@ -2409,6 +2409,7 @@ async function runDeployFromFiles(input) {
2409
2409
  * auth → `whoami()` (required on every provider)
2410
2410
  * errors → `whoami()` (org reachability) or `describe()`
2411
2411
  * logs → `whoami()` (dataset reachability) or `describe()`
2412
+ * wiki → `whoami()` (token presence only — not a live check, see holocron#1079)
2412
2413
  * others → just "loaded" (no smoke endpoint defined yet)
2413
2414
  *
2414
2415
  * Output is plain text via a passed-in `print` function so tests can
@@ -2581,6 +2582,14 @@ async function runSmokeCheck(key, provider, impl) {
2581
2582
  }
2582
2583
  return mk(key, provider, "skip", "loaded (no smoke check defined for this capability)");
2583
2584
  }
2585
+ case "wiki": {
2586
+ const wiki = impl;
2587
+ if (wiki.whoami) {
2588
+ const who = await wiki.whoami();
2589
+ return mk(key, provider, who.ok ? "ok" : "fail", who.ok ? "token configured" : "token not configured");
2590
+ }
2591
+ return mk(key, provider, "skip", "loaded (no smoke check defined for this capability)");
2592
+ }
2584
2593
  default: return mk(key, provider, "skip", "loaded (no smoke check defined for this capability)");
2585
2594
  }
2586
2595
  }