@agentvault/agentvault 0.23.37 → 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,10 +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 || allProposals.some(({ proposal }) => {
50863
+ const pathRequiredByRfc = allProposals.length === 0 || allProposals.some(({ proposal }) => {
50864
50864
  const t2 = proposal.proposalType;
50865
50865
  return t2 !== "add" && t2 !== "psk" && t2 !== "reinit";
50866
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;
50867
50869
  return {
50868
50870
  tree: mutatedTree,
50869
50871
  pskSecret: updatedPskSecret,
@@ -63265,11 +63267,11 @@ var init_mls_kp_pool = __esm({
63265
63267
 
63266
63268
  // src/client-version.ts
63267
63269
  function ownIdentity() {
63268
- const v2 = true ? "0.23.37" : FALLBACK;
63270
+ const v2 = true ? "0.23.38" : FALLBACK;
63269
63271
  return `${PACKAGE}@${v2}`;
63270
63272
  }
63271
63273
  function buildSha() {
63272
- const raw = true ? "58c552f-dirty" : "";
63274
+ const raw = true ? "a6ce360-dirty" : "";
63273
63275
  const cleaned = (raw ?? "").trim();
63274
63276
  return !cleaned || cleaned === "unknown" ? null : cleaned;
63275
63277
  }
@@ -65480,7 +65482,7 @@ var init_channel = __esm({
65480
65482
  */
65481
65483
  sendActivitySpan(spanData) {
65482
65484
  if (!this._ws || this._ws.readyState !== WebSocket.OPEN) return;
65483
- const pluginVersion = true ? "0.23.37" : "0.0.0-dev";
65485
+ const pluginVersion = true ? "0.23.38" : "0.0.0-dev";
65484
65486
  const agentName = this.config.agentName ?? "Agent";
65485
65487
  const resource = {
65486
65488
  "service.name": "agentvault-agent",
@@ -67418,7 +67420,7 @@ var init_channel = __esm({
67418
67420
  agentVersion: this.config.agentVersion ?? "0.0.0",
67419
67421
  // __AV_VERSION__ is injected by esbuild from package.json at build time.
67420
67422
  // Falls back to "0.0.0-dev" in non-bundled contexts (tests).
67421
- pluginVersion: true ? "0.23.37" : "0.0.0-dev"
67423
+ pluginVersion: true ? "0.23.38" : "0.0.0-dev"
67422
67424
  });
67423
67425
  this._telemetryReporter.startAutoFlush(3e4);
67424
67426
  }
@@ -67742,7 +67744,7 @@ var init_channel = __esm({
67742
67744
  agentVersion: this.config.agentVersion ?? "0.0.0",
67743
67745
  // __AV_VERSION__ is injected by esbuild from package.json at build time.
67744
67746
  // Falls back to "0.0.0-dev" in non-bundled contexts (tests).
67745
- pluginVersion: true ? "0.23.37" : "0.0.0-dev"
67747
+ pluginVersion: true ? "0.23.38" : "0.0.0-dev"
67746
67748
  });
67747
67749
  this._telemetryReporter.startAutoFlush(3e4);
67748
67750
  }
@@ -92566,7 +92568,7 @@ var init_index = __esm({
92566
92568
  await init_skill_telemetry();
92567
92569
  await init_policy_enforcer();
92568
92570
  init_room_protocol();
92569
- VERSION = true ? "0.23.37" : "0.0.0-dev";
92571
+ VERSION = true ? "0.23.38" : "0.0.0-dev";
92570
92572
  }
92571
92573
  });
92572
92574
 
@@ -92663,9 +92665,9 @@ function describeSdkCapabilities(results) {
92663
92665
  function describeBuildIdentity() {
92664
92666
  const name2 = "Build identity";
92665
92667
  try {
92666
- const raw = true ? "58c552f-dirty" : "";
92668
+ const raw = true ? "a6ce360-dirty" : "";
92667
92669
  const sha = (raw ?? "").trim();
92668
- const at = true ? "2026-09-05T13:51:58.607Z".trim() : "";
92670
+ const at = true ? "2026-09-05T14:17:46.098Z".trim() : "";
92669
92671
  const built = at ? ` built ${at}` : "";
92670
92672
  if (!sha || sha === "unknown") {
92671
92673
  return {