@agentvault/grok-bridge 0.4.9 → 0.4.10

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/index.js +12 -9
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -52052,7 +52052,10 @@ async function applyProposals(state, proposals, committerLeafIndex, pskSearch, s
52052
52052
  const [mutatedTree, addedLeafNodes] = await applyTreeMutations(state.ratchetTree, grouped, state.groupContext, sentByClient, state.clientConfig.authService, state.clientConfig.lifetimeConfig, cs.signature);
52053
52053
  const [updatedPskSecret, pskIds] = await accumulatePskSecret(grouped.psk.map((p2) => p2.proposal.psk.preSharedKeyId), pskSearch, cs, zeroes);
52054
52054
  const selfRemoved = mutatedTree[leafToNodeIndex(toLeafIndex(state.privatePath.leafIndex))] === void 0;
52055
- const needsUpdatePath = allProposals.length === 0 || Object.values(grouped.update).length > 1 || Object.values(grouped.remove).length > 1;
52055
+ const needsUpdatePath = allProposals.length === 0 || allProposals.some(({ proposal }) => {
52056
+ const t2 = proposal.proposalType;
52057
+ return t2 !== "add" && t2 !== "psk" && t2 !== "reinit";
52058
+ });
52056
52059
  return {
52057
52060
  tree: mutatedTree,
52058
52061
  pskSecret: updatedPskSecret,
@@ -64600,11 +64603,11 @@ var init_mls_kp_pool = __esm2({
64600
64603
  }
64601
64604
  });
64602
64605
  function ownIdentity() {
64603
- const v2 = true ? "0.23.36" : FALLBACK;
64606
+ const v2 = true ? "0.23.37" : FALLBACK;
64604
64607
  return `${PACKAGE}@${v2}`;
64605
64608
  }
64606
64609
  function buildSha() {
64607
- const raw = true ? "56c615c-dirty" : "";
64610
+ const raw = true ? "58c552f-dirty" : "";
64608
64611
  const cleaned = (raw ?? "").trim();
64609
64612
  return !cleaned || cleaned === "unknown" ? null : cleaned;
64610
64613
  }
@@ -66802,7 +66805,7 @@ var init_channel = __esm2({
66802
66805
  */
66803
66806
  sendActivitySpan(spanData) {
66804
66807
  if (!this._ws || this._ws.readyState !== WebSocket.OPEN) return;
66805
- const pluginVersion = true ? "0.23.36" : "0.0.0-dev";
66808
+ const pluginVersion = true ? "0.23.37" : "0.0.0-dev";
66806
66809
  const agentName = this.config.agentName ?? "Agent";
66807
66810
  const resource = {
66808
66811
  "service.name": "agentvault-agent",
@@ -68740,7 +68743,7 @@ var init_channel = __esm2({
68740
68743
  agentVersion: this.config.agentVersion ?? "0.0.0",
68741
68744
  // __AV_VERSION__ is injected by esbuild from package.json at build time.
68742
68745
  // Falls back to "0.0.0-dev" in non-bundled contexts (tests).
68743
- pluginVersion: true ? "0.23.36" : "0.0.0-dev"
68746
+ pluginVersion: true ? "0.23.37" : "0.0.0-dev"
68744
68747
  });
68745
68748
  this._telemetryReporter.startAutoFlush(3e4);
68746
68749
  }
@@ -69064,7 +69067,7 @@ var init_channel = __esm2({
69064
69067
  agentVersion: this.config.agentVersion ?? "0.0.0",
69065
69068
  // __AV_VERSION__ is injected by esbuild from package.json at build time.
69066
69069
  // Falls back to "0.0.0-dev" in non-bundled contexts (tests).
69067
- pluginVersion: true ? "0.23.36" : "0.0.0-dev"
69070
+ pluginVersion: true ? "0.23.37" : "0.0.0-dev"
69068
69071
  });
69069
69072
  this._telemetryReporter.startAutoFlush(3e4);
69070
69073
  }
@@ -99514,7 +99517,7 @@ var init_index = __esm2({
99514
99517
  await init_skill_telemetry();
99515
99518
  await init_policy_enforcer();
99516
99519
  init_room_protocol();
99517
- VERSION = true ? "0.23.36" : "0.0.0-dev";
99520
+ VERSION = true ? "0.23.37" : "0.0.0-dev";
99518
99521
  }
99519
99522
  });
99520
99523
  await init_index();
@@ -100440,7 +100443,7 @@ async function main() {
100440
100443
  const info = parseInfoFlags(process.argv.slice(2));
100441
100444
  if (info.showVersion || info.showHelp) {
100442
100445
  const version2 = buildClientVersion2(
100443
- true ? "0.4.9" : void 0
100446
+ true ? "0.4.10" : void 0
100444
100447
  );
100445
100448
  if (info.showVersion) printLine(version2);
100446
100449
  if (info.showHelp) {
@@ -100493,7 +100496,7 @@ async function main() {
100493
100496
  agentName: cfg.agentName,
100494
100497
  platform: "node",
100495
100498
  clientVersion: buildClientVersion2(
100496
- true ? "0.4.9" : void 0
100499
+ true ? "0.4.10" : void 0
100497
100500
  )
100498
100501
  });
100499
100502
  channelRef = channel;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentvault/grok-bridge",
3
- "version": "0.4.9",
3
+ "version": "0.4.10",
4
4
  "type": "module",
5
5
  "description": "AgentVault Grok Bridge — daemon bridging a Grok agent into E2E-encrypted AgentVault direct messages and rooms.",
6
6
  "main": "dist/index.js",