@floomhq/floom 1.0.47 → 1.0.48

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 (2) hide show
  1. package/dist/sync.js +2 -1
  2. package/package.json +1 -1
package/dist/sync.js CHANGED
@@ -14,6 +14,7 @@ const SLUG_RE = /^[A-Za-z0-9_-]{1,128}$/;
14
14
  const PATH_SEGMENT_RE = /^[a-z0-9._-]{1,128}$/;
15
15
  const MANIFEST_SEGMENT_RE = /^[A-Za-z0-9._-]{1,128}$/;
16
16
  const FD_PATH_ROOT = "/proc/self/fd";
17
+ const PACKAGE_SYNC_PAGE_LIMIT = "25";
17
18
  function sha256(input) {
18
19
  return createHash("sha256").update(input).digest("hex");
19
20
  }
@@ -449,7 +450,7 @@ async function loadSyncPayload(apiUrl, token) {
449
450
  const seenCursors = new Set();
450
451
  for (let page = 0; page < 1000; page += 1) {
451
452
  const url = new URL(`${apiUrl}/api/v1/me/skills`);
452
- url.searchParams.set("limit", "100");
453
+ url.searchParams.set("limit", PACKAGE_SYNC_PAGE_LIMIT);
453
454
  url.searchParams.set("packages", "1");
454
455
  if (cursor)
455
456
  url.searchParams.set("cursor", cursor);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@floomhq/floom",
3
- "version": "1.0.47",
3
+ "version": "1.0.48",
4
4
  "description": "Sync AI skills across agents and machines.",
5
5
  "license": "MIT",
6
6
  "type": "module",