buckyos 0.7.187 → 0.7.189

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/cli/dist/cli.mjs CHANGED
@@ -4777,8 +4777,11 @@ function extToolsManifestErrors(value) {
4777
4777
  errors.push("id must be lowercase letters, digits and -");
4778
4778
  if (typeof manifest.version !== "string" || !EXT_TOOLS_VERSION.test(manifest.version))
4779
4779
  errors.push("version must be letters, digits and ._+-");
4780
- if (!Array.isArray(manifest.provides) || manifest.provides.length === 0)
4781
- errors.push("provides must not be empty");
4780
+ if (!Array.isArray(manifest.provides))
4781
+ errors.push("provides must be a list");
4782
+ else if (manifest.provides.length === 0 && !(Array.isArray(manifest.online) && manifest.online.length > 0)) {
4783
+ errors.push("a package provides commands or declares online items");
4784
+ }
4782
4785
  const online = extToolsOnlineErrors(manifest);
4783
4786
  errors.push(...online.errors);
4784
4787
  const commands = /* @__PURE__ */ new Set();
@@ -6223,7 +6226,7 @@ async function readSkillDirectory(root, limit) {
6223
6226
  await walk(realRoot, "");
6224
6227
  return { files, ignored };
6225
6228
  }
6226
- const PACKAGE_VERSION = "0.7.187";
6229
+ const PACKAGE_VERSION = "0.7.189";
6227
6230
  const TOOL_VERSION = PACKAGE_VERSION;
6228
6231
  const SDK_VERSION = PACKAGE_VERSION;
6229
6232
  const PROTOCOL_VERSION = "1";