@agentvault/claude-bridge 0.8.9 → 0.8.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.
- package/dist/index.js +12 -9
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -52059,7 +52059,10 @@ async function applyProposals(state, proposals, committerLeafIndex, pskSearch, s
|
|
|
52059
52059
|
const [mutatedTree, addedLeafNodes] = await applyTreeMutations(state.ratchetTree, grouped, state.groupContext, sentByClient, state.clientConfig.authService, state.clientConfig.lifetimeConfig, cs.signature);
|
|
52060
52060
|
const [updatedPskSecret, pskIds] = await accumulatePskSecret(grouped.psk.map((p2) => p2.proposal.psk.preSharedKeyId), pskSearch, cs, zeroes);
|
|
52061
52061
|
const selfRemoved = mutatedTree[leafToNodeIndex(toLeafIndex(state.privatePath.leafIndex))] === void 0;
|
|
52062
|
-
const needsUpdatePath = allProposals.length === 0 ||
|
|
52062
|
+
const needsUpdatePath = allProposals.length === 0 || allProposals.some(({ proposal }) => {
|
|
52063
|
+
const t22 = proposal.proposalType;
|
|
52064
|
+
return t22 !== "add" && t22 !== "psk" && t22 !== "reinit";
|
|
52065
|
+
});
|
|
52063
52066
|
return {
|
|
52064
52067
|
tree: mutatedTree,
|
|
52065
52068
|
pskSecret: updatedPskSecret,
|
|
@@ -64607,11 +64610,11 @@ var init_mls_kp_pool = __esm2({
|
|
|
64607
64610
|
}
|
|
64608
64611
|
});
|
|
64609
64612
|
function ownIdentity() {
|
|
64610
|
-
const v22 = true ? "0.23.
|
|
64613
|
+
const v22 = true ? "0.23.37" : FALLBACK;
|
|
64611
64614
|
return `${PACKAGE}@${v22}`;
|
|
64612
64615
|
}
|
|
64613
64616
|
function buildSha() {
|
|
64614
|
-
const raw = true ? "
|
|
64617
|
+
const raw = true ? "58c552f-dirty" : "";
|
|
64615
64618
|
const cleaned = (raw ?? "").trim();
|
|
64616
64619
|
return !cleaned || cleaned === "unknown" ? null : cleaned;
|
|
64617
64620
|
}
|
|
@@ -66809,7 +66812,7 @@ var init_channel = __esm2({
|
|
|
66809
66812
|
*/
|
|
66810
66813
|
sendActivitySpan(spanData) {
|
|
66811
66814
|
if (!this._ws || this._ws.readyState !== WebSocket2.OPEN) return;
|
|
66812
|
-
const pluginVersion = true ? "0.23.
|
|
66815
|
+
const pluginVersion = true ? "0.23.37" : "0.0.0-dev";
|
|
66813
66816
|
const agentName = this.config.agentName ?? "Agent";
|
|
66814
66817
|
const resource = {
|
|
66815
66818
|
"service.name": "agentvault-agent",
|
|
@@ -68747,7 +68750,7 @@ var init_channel = __esm2({
|
|
|
68747
68750
|
agentVersion: this.config.agentVersion ?? "0.0.0",
|
|
68748
68751
|
// __AV_VERSION__ is injected by esbuild from package.json at build time.
|
|
68749
68752
|
// Falls back to "0.0.0-dev" in non-bundled contexts (tests).
|
|
68750
|
-
pluginVersion: true ? "0.23.
|
|
68753
|
+
pluginVersion: true ? "0.23.37" : "0.0.0-dev"
|
|
68751
68754
|
});
|
|
68752
68755
|
this._telemetryReporter.startAutoFlush(3e4);
|
|
68753
68756
|
}
|
|
@@ -69071,7 +69074,7 @@ var init_channel = __esm2({
|
|
|
69071
69074
|
agentVersion: this.config.agentVersion ?? "0.0.0",
|
|
69072
69075
|
// __AV_VERSION__ is injected by esbuild from package.json at build time.
|
|
69073
69076
|
// Falls back to "0.0.0-dev" in non-bundled contexts (tests).
|
|
69074
|
-
pluginVersion: true ? "0.23.
|
|
69077
|
+
pluginVersion: true ? "0.23.37" : "0.0.0-dev"
|
|
69075
69078
|
});
|
|
69076
69079
|
this._telemetryReporter.startAutoFlush(3e4);
|
|
69077
69080
|
}
|
|
@@ -99521,7 +99524,7 @@ var init_index = __esm2({
|
|
|
99521
99524
|
await init_skill_telemetry();
|
|
99522
99525
|
await init_policy_enforcer();
|
|
99523
99526
|
init_room_protocol();
|
|
99524
|
-
VERSION = true ? "0.23.
|
|
99527
|
+
VERSION = true ? "0.23.37" : "0.0.0-dev";
|
|
99525
99528
|
}
|
|
99526
99529
|
});
|
|
99527
99530
|
await init_index();
|
|
@@ -135925,7 +135928,7 @@ async function main() {
|
|
|
135925
135928
|
"[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"
|
|
135926
135929
|
);
|
|
135927
135930
|
}
|
|
135928
|
-
logLine(`[bridge] version: ${true ? "0.8.
|
|
135931
|
+
logLine(`[bridge] version: ${true ? "0.8.10" : "dev"}`);
|
|
135929
135932
|
logLine(`[bridge] data dir: ${cfg.dataDir} (${cfg.dataDirSource})`);
|
|
135930
135933
|
logLine(`[bridge] workspace: ${cfg.workspaceDir} \xB7 permissions: ${cfg.permissionMode} \xB7 enclave dir fenced`);
|
|
135931
135934
|
if (cfg.armRoom) {
|
|
@@ -135957,7 +135960,7 @@ async function main() {
|
|
|
135957
135960
|
// its default would render "@agentvault/agentvault@0.7.x" — the wrong
|
|
135958
135961
|
// package name attached to the bridge's version number, which is worse
|
|
135959
135962
|
// than either alone.
|
|
135960
|
-
clientVersion: `@agentvault/claude-bridge@${true ? "0.8.
|
|
135963
|
+
clientVersion: `@agentvault/claude-bridge@${true ? "0.8.10" : "dev"}`
|
|
135961
135964
|
});
|
|
135962
135965
|
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.`;
|
|
135963
135966
|
const deviceJwt = () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentvault/claude-bridge",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.10",
|
|
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",
|