@theholocron/cli 5.0.0-alpha.124 → 5.0.0-alpha.125
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 +8 -0
- package/dist/cli.mjs.map +1 -1
- package/dist/plugin/capabilities.d.mts +9 -0
- package/package.json +5 -5
package/dist/cli.mjs
CHANGED
|
@@ -1736,6 +1736,14 @@ async function smokeCheck(key, provider, impl) {
|
|
|
1736
1736
|
}
|
|
1737
1737
|
return mk(key, provider, "skip", "loaded (no smoke check defined for this capability)");
|
|
1738
1738
|
}
|
|
1739
|
+
case "workers": {
|
|
1740
|
+
const workers = impl;
|
|
1741
|
+
if (workers.whoami) {
|
|
1742
|
+
const who = await workers.whoami();
|
|
1743
|
+
return mk(key, provider, who.ok ? "ok" : "fail", `${who.scripts} script(s) visible`);
|
|
1744
|
+
}
|
|
1745
|
+
return mk(key, provider, "skip", "loaded (no smoke check defined for this capability)");
|
|
1746
|
+
}
|
|
1739
1747
|
case "auth": {
|
|
1740
1748
|
const desc = await impl.describe();
|
|
1741
1749
|
return mk(key, provider, "ok", `provider: ${desc.provider}; env keys: ${desc.envKeys.join(", ")}`);
|