@agentvault/agentvault 0.23.36 → 0.23.38

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.js CHANGED
@@ -50860,7 +50860,12 @@ async function applyProposals(state, proposals, committerLeafIndex, pskSearch, s
50860
50860
  const [mutatedTree, addedLeafNodes] = await applyTreeMutations(state.ratchetTree, grouped, state.groupContext, sentByClient, state.clientConfig.authService, state.clientConfig.lifetimeConfig, cs.signature);
50861
50861
  const [updatedPskSecret, pskIds] = await accumulatePskSecret(grouped.psk.map((p2) => p2.proposal.psk.preSharedKeyId), pskSearch, cs, zeroes);
50862
50862
  const selfRemoved = mutatedTree[leafToNodeIndex(toLeafIndex(state.privatePath.leafIndex))] === void 0;
50863
- const needsUpdatePath = allProposals.length === 0 || Object.values(grouped.update).length > 1 || Object.values(grouped.remove).length > 1;
50863
+ const pathRequiredByRfc = allProposals.length === 0 || allProposals.some(({ proposal }) => {
50864
+ const t2 = proposal.proposalType;
50865
+ return t2 !== "add" && t2 !== "psk" && t2 !== "reinit";
50866
+ });
50867
+ const pathRequiredLegacy = allProposals.length === 0 || Object.values(grouped.update).length > 1 || Object.values(grouped.remove).length > 1;
50868
+ const needsUpdatePath = sentByClient ? pathRequiredByRfc : pathRequiredLegacy;
50864
50869
  return {
50865
50870
  tree: mutatedTree,
50866
50871
  pskSecret: updatedPskSecret,
@@ -63262,11 +63267,11 @@ var init_mls_kp_pool = __esm({
63262
63267
 
63263
63268
  // src/client-version.ts
63264
63269
  function ownIdentity() {
63265
- const v2 = true ? "0.23.36" : FALLBACK;
63270
+ const v2 = true ? "0.23.38" : FALLBACK;
63266
63271
  return `${PACKAGE}@${v2}`;
63267
63272
  }
63268
63273
  function buildSha() {
63269
- const raw = true ? "56c615c-dirty" : "";
63274
+ const raw = true ? "a6ce360-dirty" : "";
63270
63275
  const cleaned = (raw ?? "").trim();
63271
63276
  return !cleaned || cleaned === "unknown" ? null : cleaned;
63272
63277
  }
@@ -65477,7 +65482,7 @@ var init_channel = __esm({
65477
65482
  */
65478
65483
  sendActivitySpan(spanData) {
65479
65484
  if (!this._ws || this._ws.readyState !== WebSocket.OPEN) return;
65480
- const pluginVersion = true ? "0.23.36" : "0.0.0-dev";
65485
+ const pluginVersion = true ? "0.23.38" : "0.0.0-dev";
65481
65486
  const agentName = this.config.agentName ?? "Agent";
65482
65487
  const resource = {
65483
65488
  "service.name": "agentvault-agent",
@@ -67415,7 +67420,7 @@ var init_channel = __esm({
67415
67420
  agentVersion: this.config.agentVersion ?? "0.0.0",
67416
67421
  // __AV_VERSION__ is injected by esbuild from package.json at build time.
67417
67422
  // Falls back to "0.0.0-dev" in non-bundled contexts (tests).
67418
- pluginVersion: true ? "0.23.36" : "0.0.0-dev"
67423
+ pluginVersion: true ? "0.23.38" : "0.0.0-dev"
67419
67424
  });
67420
67425
  this._telemetryReporter.startAutoFlush(3e4);
67421
67426
  }
@@ -67739,7 +67744,7 @@ var init_channel = __esm({
67739
67744
  agentVersion: this.config.agentVersion ?? "0.0.0",
67740
67745
  // __AV_VERSION__ is injected by esbuild from package.json at build time.
67741
67746
  // Falls back to "0.0.0-dev" in non-bundled contexts (tests).
67742
- pluginVersion: true ? "0.23.36" : "0.0.0-dev"
67747
+ pluginVersion: true ? "0.23.38" : "0.0.0-dev"
67743
67748
  });
67744
67749
  this._telemetryReporter.startAutoFlush(3e4);
67745
67750
  }
@@ -92563,7 +92568,7 @@ var init_index = __esm({
92563
92568
  await init_skill_telemetry();
92564
92569
  await init_policy_enforcer();
92565
92570
  init_room_protocol();
92566
- VERSION = true ? "0.23.36" : "0.0.0-dev";
92571
+ VERSION = true ? "0.23.38" : "0.0.0-dev";
92567
92572
  }
92568
92573
  });
92569
92574
 
@@ -92660,9 +92665,9 @@ function describeSdkCapabilities(results) {
92660
92665
  function describeBuildIdentity() {
92661
92666
  const name2 = "Build identity";
92662
92667
  try {
92663
- const raw = true ? "56c615c-dirty" : "";
92668
+ const raw = true ? "a6ce360-dirty" : "";
92664
92669
  const sha = (raw ?? "").trim();
92665
- const at = true ? "2026-09-05T13:15:08.972Z".trim() : "";
92670
+ const at = true ? "2026-09-05T14:17:46.098Z".trim() : "";
92666
92671
  const built = at ? ` built ${at}` : "";
92667
92672
  if (!sha || sha === "unknown") {
92668
92673
  return {