@agentvault/claude-bridge 0.8.7 → 0.8.8

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 +9 -14
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -51706,11 +51706,6 @@ var init_clientConfig = __esm2({
51706
51706
  };
51707
51707
  }
51708
51708
  });
51709
- function arraysEqual(a2, b22) {
51710
- if (a2.length !== b22.length)
51711
- return false;
51712
- return a2.every((val, index) => val === b22[index]);
51713
- }
51714
51709
  var init_array = __esm2({
51715
51710
  "../crypto/node_modules/ts-mls/dist/src/util/array.js"() {
51716
51711
  }
@@ -51898,7 +51893,7 @@ async function validateRatchetTree(tree, groupContext, config22, authService, tr
51898
51893
  if (dpNode !== void 0) {
51899
51894
  if (dpNode.nodeType !== "parent")
51900
51895
  return new InternalError("Expected parent node");
51901
- if (!arraysEqual(dpNode.parent.unmergedLeaves, n22.parent.unmergedLeaves))
51896
+ if (!dpNode.parent.unmergedLeaves.includes(unmergedLeaf))
51902
51897
  return new ValidationError("non-blank intermediate node must list leaf node in its unmerged_leaves");
51903
51898
  }
51904
51899
  }
@@ -64612,11 +64607,11 @@ var init_mls_kp_pool = __esm2({
64612
64607
  }
64613
64608
  });
64614
64609
  function ownIdentity() {
64615
- const v22 = true ? "0.23.34" : FALLBACK;
64610
+ const v22 = true ? "0.23.35" : FALLBACK;
64616
64611
  return `${PACKAGE}@${v22}`;
64617
64612
  }
64618
64613
  function buildSha() {
64619
- const raw = true ? "6b305ca-dirty" : "";
64614
+ const raw = true ? "bcb9297-dirty" : "";
64620
64615
  const cleaned = (raw ?? "").trim();
64621
64616
  return !cleaned || cleaned === "unknown" ? null : cleaned;
64622
64617
  }
@@ -66814,7 +66809,7 @@ var init_channel = __esm2({
66814
66809
  */
66815
66810
  sendActivitySpan(spanData) {
66816
66811
  if (!this._ws || this._ws.readyState !== WebSocket2.OPEN) return;
66817
- const pluginVersion = true ? "0.23.34" : "0.0.0-dev";
66812
+ const pluginVersion = true ? "0.23.35" : "0.0.0-dev";
66818
66813
  const agentName = this.config.agentName ?? "Agent";
66819
66814
  const resource = {
66820
66815
  "service.name": "agentvault-agent",
@@ -68752,7 +68747,7 @@ var init_channel = __esm2({
68752
68747
  agentVersion: this.config.agentVersion ?? "0.0.0",
68753
68748
  // __AV_VERSION__ is injected by esbuild from package.json at build time.
68754
68749
  // Falls back to "0.0.0-dev" in non-bundled contexts (tests).
68755
- pluginVersion: true ? "0.23.34" : "0.0.0-dev"
68750
+ pluginVersion: true ? "0.23.35" : "0.0.0-dev"
68756
68751
  });
68757
68752
  this._telemetryReporter.startAutoFlush(3e4);
68758
68753
  }
@@ -69076,7 +69071,7 @@ var init_channel = __esm2({
69076
69071
  agentVersion: this.config.agentVersion ?? "0.0.0",
69077
69072
  // __AV_VERSION__ is injected by esbuild from package.json at build time.
69078
69073
  // Falls back to "0.0.0-dev" in non-bundled contexts (tests).
69079
- pluginVersion: true ? "0.23.34" : "0.0.0-dev"
69074
+ pluginVersion: true ? "0.23.35" : "0.0.0-dev"
69080
69075
  });
69081
69076
  this._telemetryReporter.startAutoFlush(3e4);
69082
69077
  }
@@ -99488,7 +99483,7 @@ var init_index = __esm2({
99488
99483
  await init_skill_telemetry();
99489
99484
  await init_policy_enforcer();
99490
99485
  init_room_protocol();
99491
- VERSION = true ? "0.23.34" : "0.0.0-dev";
99486
+ VERSION = true ? "0.23.35" : "0.0.0-dev";
99492
99487
  }
99493
99488
  });
99494
99489
  await init_index();
@@ -135892,7 +135887,7 @@ async function main() {
135892
135887
  "[bridge] warning: passing the invite token on the command line is visible to other local users via 'ps'. Prefer: AV_INVITE_TOKEN=\u2026 npx @agentvault/claude-bridge"
135893
135888
  );
135894
135889
  }
135895
- logLine(`[bridge] version: ${true ? "0.8.7" : "dev"}`);
135890
+ logLine(`[bridge] version: ${true ? "0.8.8" : "dev"}`);
135896
135891
  logLine(`[bridge] data dir: ${cfg.dataDir} (${cfg.dataDirSource})`);
135897
135892
  logLine(`[bridge] workspace: ${cfg.workspaceDir} \xB7 permissions: ${cfg.permissionMode} \xB7 enclave dir fenced`);
135898
135893
  if (cfg.armRoom) {
@@ -135924,7 +135919,7 @@ async function main() {
135924
135919
  // its default would render "@agentvault/agentvault@0.7.x" — the wrong
135925
135920
  // package name attached to the bridge's version number, which is worse
135926
135921
  // than either alone.
135927
- clientVersion: `@agentvault/claude-bridge@${true ? "0.8.7" : "dev"}`
135922
+ clientVersion: `@agentvault/claude-bridge@${true ? "0.8.8" : "dev"}`
135928
135923
  });
135929
135924
  const agentSystemPrompt = cfg.systemPrompt ?? `You are ${cfg.agentName}, an AI agent on AgentVault. You talk with your owner in 1:1 direct messages and collaborate with other agents in shared rooms. That is your identity \u2014 introduce yourself by that name and do not claim to be any other agent. To speak, call the say tool. In a 1:1 with your owner, reply to what they say. In a room you see every message \u2014 call say only when you have something worth adding, and otherwise stay silent. Keep messages concise.`;
135930
135925
  const deviceJwt = () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentvault/claude-bridge",
3
- "version": "0.8.7",
3
+ "version": "0.8.8",
4
4
  "type": "module",
5
5
  "description": "AgentVault Claude Bridge — daemon for bridging a Claude agent into secure E2E-encrypted AgentVault 1:1 direct messages and rooms.",
6
6
  "main": "dist/index.js",