@agentvault/muse-bridge 0.1.9 → 0.1.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 +8 -13
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -5871,11 +5871,6 @@ function addToMap(map2, k2, v2) {
5871
5871
  copy.set(k2, v2);
5872
5872
  return copy;
5873
5873
  }
5874
- function arraysEqual(a2, b2) {
5875
- if (a2.length !== b2.length)
5876
- return false;
5877
- return a2.every((val, index) => val === b2[index]);
5878
- }
5879
5874
  function checkCanSendApplicationMessages(state) {
5880
5875
  if (Object.keys(state.unappliedProposals).length !== 0)
5881
5876
  throw new UsageError("Cannot send application message with unapplied proposals");
@@ -5988,7 +5983,7 @@ async function validateRatchetTree(tree, groupContext, config2, authService, tre
5988
5983
  if (dpNode !== void 0) {
5989
5984
  if (dpNode.nodeType !== "parent")
5990
5985
  return new InternalError("Expected parent node");
5991
- if (!arraysEqual(dpNode.parent.unmergedLeaves, n2.parent.unmergedLeaves))
5986
+ if (!dpNode.parent.unmergedLeaves.includes(unmergedLeaf))
5992
5987
  return new ValidationError("non-blank intermediate node must list leaf node in its unmerged_leaves");
5993
5988
  }
5994
5989
  }
@@ -11465,11 +11460,11 @@ async function joinWithFirstMatchingKp(welcomeBytes, candidates) {
11465
11460
  return null;
11466
11461
  }
11467
11462
  function ownIdentity() {
11468
- const v2 = true ? "0.23.34" : FALLBACK;
11463
+ const v2 = true ? "0.23.35" : FALLBACK;
11469
11464
  return `${PACKAGE}@${v2}`;
11470
11465
  }
11471
11466
  function buildSha() {
11472
- const raw = true ? "6b305ca-dirty" : "";
11467
+ const raw = true ? "bcb9297-dirty" : "";
11473
11468
  const cleaned = (raw ?? "").trim();
11474
11469
  return !cleaned || cleaned === "unknown" ? null : cleaned;
11475
11470
  }
@@ -70167,7 +70162,7 @@ var init_dist = __esm({
70167
70162
  */
70168
70163
  sendActivitySpan(spanData) {
70169
70164
  if (!this._ws || this._ws.readyState !== WebSocket.OPEN) return;
70170
- const pluginVersion = true ? "0.23.34" : "0.0.0-dev";
70165
+ const pluginVersion = true ? "0.23.35" : "0.0.0-dev";
70171
70166
  const agentName = this.config.agentName ?? "Agent";
70172
70167
  const resource = {
70173
70168
  "service.name": "agentvault-agent",
@@ -72105,7 +72100,7 @@ var init_dist = __esm({
72105
72100
  agentVersion: this.config.agentVersion ?? "0.0.0",
72106
72101
  // __AV_VERSION__ is injected by esbuild from package.json at build time.
72107
72102
  // Falls back to "0.0.0-dev" in non-bundled contexts (tests).
72108
- pluginVersion: true ? "0.23.34" : "0.0.0-dev"
72103
+ pluginVersion: true ? "0.23.35" : "0.0.0-dev"
72109
72104
  });
72110
72105
  this._telemetryReporter.startAutoFlush(3e4);
72111
72106
  }
@@ -72429,7 +72424,7 @@ var init_dist = __esm({
72429
72424
  agentVersion: this.config.agentVersion ?? "0.0.0",
72430
72425
  // __AV_VERSION__ is injected by esbuild from package.json at build time.
72431
72426
  // Falls back to "0.0.0-dev" in non-bundled contexts (tests).
72432
- pluginVersion: true ? "0.23.34" : "0.0.0-dev"
72427
+ pluginVersion: true ? "0.23.35" : "0.0.0-dev"
72433
72428
  });
72434
72429
  this._telemetryReporter.startAutoFlush(3e4);
72435
72430
  }
@@ -97794,7 +97789,7 @@ data:
97794
97789
  await init_skill_telemetry();
97795
97790
  await init_policy_enforcer();
97796
97791
  init_room_protocol();
97797
- VERSION = true ? "0.23.34" : "0.0.0-dev";
97792
+ VERSION = true ? "0.23.35" : "0.0.0-dev";
97798
97793
  }
97799
97794
  });
97800
97795
  await init_index();
@@ -99170,7 +99165,7 @@ function mkdir700(path2) {
99170
99165
  chmodSync5(path2, 448);
99171
99166
  }
99172
99167
  function packageVersion() {
99173
- return true ? "0.1.9" : void 0;
99168
+ return true ? "0.1.10" : void 0;
99174
99169
  }
99175
99170
  function helpText(version2) {
99176
99171
  return [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentvault/muse-bridge",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "type": "module",
5
5
  "description": "AgentVault Muse Bridge — daemon bridging a Muse agent into E2E-encrypted AgentVault direct messages and rooms.",
6
6
  "main": "dist/index.js",