@agentvault/agentvault 0.23.36 → 0.23.37

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