superbee 0.4.3-pre.16 → 0.4.3-pre.17

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/superbee.mjs CHANGED
@@ -44,7 +44,7 @@ var __toESM = (mod, isNodeMode, target3) => (target3 = mod != null ? __create(__
44
44
  var define_SUPERBEE_BUILD_IDENTITY_default;
45
45
  var init_define_SUPERBEE_BUILD_IDENTITY = __esm({
46
46
  "<define:__SUPERBEE_BUILD_IDENTITY__>"() {
47
- define_SUPERBEE_BUILD_IDENTITY_default = { schema: "superbee.build-identity.v1", package: { name: "superbee", version: "0.4.3-pre.16" }, source: { commit: "67f0444c4d35441a06059328700c2b7ad71c6841", dirty: false }, artifact: { channel: "npm-package" }, compatibility_contracts: { skill: 1, hook: 1, mcp: 1 } };
47
+ define_SUPERBEE_BUILD_IDENTITY_default = { schema: "superbee.build-identity.v1", package: { name: "superbee", version: "0.4.3-pre.17" }, source: { commit: "b482ebcb7535d85db1a8a550074f85e55febcd01", dirty: false }, artifact: { channel: "npm-package" }, compatibility_contracts: { skill: 1, hook: 1, mcp: 1 } };
48
48
  }
49
49
  });
50
50
 
@@ -29005,7 +29005,7 @@ var init_source_profiles = __esm({
29005
29005
  };
29006
29006
  }
29007
29007
  });
29008
- SOURCE_PLUGIN_CORE_VERSION = "0.2.0-pre.26";
29008
+ SOURCE_PLUGIN_CORE_VERSION = "0.2.0-pre.27";
29009
29009
  SOURCE_PROFILES = Object.freeze([restJsonProfile].map((profile) => Object.freeze({ id: profile.id, version: profile.version, kind: profile.kind })));
29010
29010
  }
29011
29011
  });
@@ -32117,7 +32117,7 @@ function decodeBlobWriteResult(raw, expected) {
32117
32117
  if (error51.scope !== "principal" && error51.scope !== "bundle" || error51.resetAt !== void 0 && (typeof error51.resetAt !== "string" || !Number.isFinite(Date.parse(error51.resetAt)))) throw refuse();
32118
32118
  } else if (error51.scope !== void 0 || error51.resetAt !== void 0) throw refuse();
32119
32119
  if (error51.code === "deletions_held") {
32120
- if (operationId !== "blobs.delete.v1" || !count2(error51.deletions) || !count2(error51.baseline)) throw refuse();
32120
+ if (operationId !== "blobs.delete.v1" || !count2(error51.deletions) || !Number.isSafeInteger(error51.baseline) || error51.baseline < 0) throw refuse();
32121
32121
  } else if (error51.deletions !== void 0 || error51.baseline !== void 0) throw refuse();
32122
32122
  return { ok: false, operationId, error: { ...error51 } };
32123
32123
  }
@@ -34284,7 +34284,7 @@ var init_write2 = __esm({
34284
34284
  // ../core/src/blob-journal.ts
34285
34285
  function captureBlobDeletionHold(value) {
34286
34286
  const hold = captureJournalValue(value);
34287
- if (!object4(hold) || !only3(hold, ["deletions", "baseline"]) || ![hold.deletions, hold.baseline].every((n) => Number.isSafeInteger(n) && n >= 1)) throw new TypeError("invalid blob deletion hold");
34287
+ if (!object4(hold) || !only3(hold, ["deletions", "baseline"]) || !Number.isSafeInteger(hold.deletions) || hold.deletions < 1 || !Number.isSafeInteger(hold.baseline) || hold.baseline < 0) throw new TypeError("invalid blob deletion hold");
34288
34288
  return hold;
34289
34289
  }
34290
34290
  function captureBlobNotDispatched(value) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "superbee",
3
- "version": "0.4.3-pre.16",
3
+ "version": "0.4.3-pre.17",
4
4
  "type": "module",
5
5
  "description": "Agent-facing Superbee CLI for reading and writing local OKF knowledge bundles: context notes, docs, cross-links, and live bundle Views.",
6
6
  "keywords": [