buckyos 0.7.188 → 0.7.190

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.
Files changed (51) hide show
  1. package/cli/dist/cli.mjs +6 -3
  2. package/cli/dist/cli.mjs.map +1 -1
  3. package/cli/modules/pikg_protocol.ts +4 -1
  4. package/cli/version.ts +1 -1
  5. package/dist/{aiws_bind-0885ff99.mjs → aiws_bind-1316a842.mjs} +2 -2
  6. package/dist/{aiws_bind-0885ff99.mjs.map → aiws_bind-1316a842.mjs.map} +1 -1
  7. package/dist/{aiws_bind-0654c24e.js → aiws_bind-7045442e.js} +2 -2
  8. package/dist/{aiws_bind-0654c24e.js.map → aiws_bind-7045442e.js.map} +1 -1
  9. package/dist/aiws_ext.cjs +1 -1
  10. package/dist/aiws_ext.mjs +2 -2
  11. package/dist/{aiws_write-7fcf5c76.mjs → aiws_write-38628168.mjs} +3 -3
  12. package/dist/{aiws_write-7fcf5c76.mjs.map → aiws_write-38628168.mjs.map} +1 -1
  13. package/dist/{aiws_write-a6e7e68a.js → aiws_write-e8fe62de.js} +2 -2
  14. package/dist/{aiws_write-a6e7e68a.js.map → aiws_write-e8fe62de.js.map} +1 -1
  15. package/dist/app-frame.cjs +1 -1
  16. package/dist/app-frame.cjs.map +1 -1
  17. package/dist/app-frame.mjs +2 -0
  18. package/dist/app-frame.mjs.map +1 -1
  19. package/dist/browser.cjs +1 -1
  20. package/dist/browser.mjs +6 -6
  21. package/dist/content.cjs +1 -1
  22. package/dist/content.cjs.map +1 -1
  23. package/dist/content.d.ts +9 -0
  24. package/dist/content.d.ts.map +1 -1
  25. package/dist/content.mjs +35 -7
  26. package/dist/content.mjs.map +1 -1
  27. package/dist/{content_objid-4eb9862a.mjs → content_objid-2977da18.mjs} +2 -2
  28. package/dist/{content_objid-4eb9862a.mjs.map → content_objid-2977da18.mjs.map} +1 -1
  29. package/dist/{content_objid-6b7b4900.js → content_objid-5cb7c7ec.js} +2 -2
  30. package/dist/{content_objid-6b7b4900.js.map → content_objid-5cb7c7ec.js.map} +1 -1
  31. package/dist/{did_object_client-6a1b108a.js → did_object_client-27835522.js} +2 -2
  32. package/dist/{did_object_client-6a1b108a.js.map → did_object_client-27835522.js.map} +1 -1
  33. package/dist/{did_object_client-cb2f9aba.mjs → did_object_client-c6dae827.mjs} +2 -2
  34. package/dist/{did_object_client-cb2f9aba.mjs.map → did_object_client-c6dae827.mjs.map} +1 -1
  35. package/dist/index.cjs +1 -1
  36. package/dist/index.mjs +6 -6
  37. package/dist/nfsp.cjs +1 -1
  38. package/dist/nfsp.cjs.map +1 -1
  39. package/dist/nfsp.d.ts +66 -0
  40. package/dist/nfsp.d.ts.map +1 -1
  41. package/dist/nfsp.mjs +39 -0
  42. package/dist/nfsp.mjs.map +1 -1
  43. package/dist/node.cjs +1 -1
  44. package/dist/node.mjs +4 -4
  45. package/dist/{object_url-376c5222.mjs → object_url-20e94b67.mjs} +3 -2
  46. package/dist/{object_url-376c5222.mjs.map → object_url-20e94b67.mjs.map} +1 -1
  47. package/dist/{object_url-8fb5a7bf.js → object_url-88047ee2.js} +2 -2
  48. package/dist/{object_url-8fb5a7bf.js.map → object_url-88047ee2.js.map} +1 -1
  49. package/dist/xllm.cjs +1 -1
  50. package/dist/xllm.mjs +2 -2
  51. package/package.json +1 -1
@@ -698,7 +698,10 @@ export function extToolsManifestErrors(value: unknown): string[] {
698
698
  if (manifest.schema !== EXT_TOOLS_MANIFEST_SCHEMA) errors.push(`schema must be ${EXT_TOOLS_MANIFEST_SCHEMA}`)
699
699
  if (typeof manifest.id !== 'string' || !EXT_TOOLS_ID.test(manifest.id)) errors.push('id must be lowercase letters, digits and -')
700
700
  if (typeof manifest.version !== 'string' || !EXT_TOOLS_VERSION.test(manifest.version)) errors.push('version must be letters, digits and ._+-')
701
- if (!Array.isArray(manifest.provides) || manifest.provides.length === 0) errors.push('provides must not be empty')
701
+ if (!Array.isArray(manifest.provides)) errors.push('provides must be a list')
702
+ else if (manifest.provides.length === 0 && !(Array.isArray(manifest.online) && manifest.online.length > 0)) {
703
+ errors.push('a package provides commands or declares online items')
704
+ }
702
705
  const online = extToolsOnlineErrors(manifest)
703
706
  errors.push(...online.errors)
704
707
  const commands = new Set<string>()
package/cli/version.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  // Generated by scripts/generate-cli-version.mjs. Do not edit.
2
- export const PACKAGE_VERSION = '0.7.188'
2
+ export const PACKAGE_VERSION = '0.7.190'
3
3
  export const TOOL_VERSION = PACKAGE_VERSION
4
4
  export const SDK_VERSION = PACKAGE_VERSION
5
5
  export const PROTOCOL_VERSION = '1'
@@ -1,4 +1,4 @@
1
- import { e as encodeObjQueryComponent, c as canonicalJson, b as objServiceUrl, n as normalizeObjectUrl, p as parseObjectUrl, d as objectSegments } from "./object_url-376c5222.mjs";
1
+ import { e as encodeObjQueryComponent, c as canonicalJson, b as objServiceUrl, n as normalizeObjectUrl, p as parseObjectUrl, d as objectSegments } from "./object_url-20e94b67.mjs";
2
2
  const AIWORKSPACE_SERVICE_NAME = "aiworkspace";
3
3
  class AiwsFailure extends Error {
4
4
  constructor(error) {
@@ -2234,4 +2234,4 @@ export {
2234
2234
  ymdOf as y,
2235
2235
  zonedParts as z
2236
2236
  };
2237
- //# sourceMappingURL=aiws_bind-0885ff99.mjs.map
2237
+ //# sourceMappingURL=aiws_bind-1316a842.mjs.map