@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 +12 -9
- package/dist/cli.js.map +2 -2
- package/dist/index.js +10 -7
- package/dist/index.js.map +2 -2
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -50859,7 +50859,10 @@ async function applyProposals(state, proposals, committerLeafIndex, pskSearch, s
|
|
|
50859
50859
|
const [mutatedTree, addedLeafNodes] = await applyTreeMutations(state.ratchetTree, grouped, state.groupContext, sentByClient, state.clientConfig.authService, state.clientConfig.lifetimeConfig, cs.signature);
|
|
50860
50860
|
const [updatedPskSecret, pskIds] = await accumulatePskSecret(grouped.psk.map((p2) => p2.proposal.psk.preSharedKeyId), pskSearch, cs, zeroes);
|
|
50861
50861
|
const selfRemoved = mutatedTree[leafToNodeIndex(toLeafIndex(state.privatePath.leafIndex))] === void 0;
|
|
50862
|
-
const needsUpdatePath = allProposals.length === 0 ||
|
|
50862
|
+
const needsUpdatePath = allProposals.length === 0 || allProposals.some(({ proposal }) => {
|
|
50863
|
+
const t2 = proposal.proposalType;
|
|
50864
|
+
return t2 !== "add" && t2 !== "psk" && t2 !== "reinit";
|
|
50865
|
+
});
|
|
50863
50866
|
return {
|
|
50864
50867
|
tree: mutatedTree,
|
|
50865
50868
|
pskSecret: updatedPskSecret,
|
|
@@ -63261,11 +63264,11 @@ var init_mls_kp_pool = __esm({
|
|
|
63261
63264
|
|
|
63262
63265
|
// src/client-version.ts
|
|
63263
63266
|
function ownIdentity() {
|
|
63264
|
-
const v2 = true ? "0.23.
|
|
63267
|
+
const v2 = true ? "0.23.37" : FALLBACK;
|
|
63265
63268
|
return `${PACKAGE}@${v2}`;
|
|
63266
63269
|
}
|
|
63267
63270
|
function buildSha() {
|
|
63268
|
-
const raw = true ? "
|
|
63271
|
+
const raw = true ? "58c552f-dirty" : "";
|
|
63269
63272
|
const cleaned = (raw ?? "").trim();
|
|
63270
63273
|
return !cleaned || cleaned === "unknown" ? null : cleaned;
|
|
63271
63274
|
}
|
|
@@ -65476,7 +65479,7 @@ var init_channel = __esm({
|
|
|
65476
65479
|
*/
|
|
65477
65480
|
sendActivitySpan(spanData) {
|
|
65478
65481
|
if (!this._ws || this._ws.readyState !== WebSocket.OPEN) return;
|
|
65479
|
-
const pluginVersion = true ? "0.23.
|
|
65482
|
+
const pluginVersion = true ? "0.23.37" : "0.0.0-dev";
|
|
65480
65483
|
const agentName = this.config.agentName ?? "Agent";
|
|
65481
65484
|
const resource = {
|
|
65482
65485
|
"service.name": "agentvault-agent",
|
|
@@ -67414,7 +67417,7 @@ var init_channel = __esm({
|
|
|
67414
67417
|
agentVersion: this.config.agentVersion ?? "0.0.0",
|
|
67415
67418
|
// __AV_VERSION__ is injected by esbuild from package.json at build time.
|
|
67416
67419
|
// Falls back to "0.0.0-dev" in non-bundled contexts (tests).
|
|
67417
|
-
pluginVersion: true ? "0.23.
|
|
67420
|
+
pluginVersion: true ? "0.23.37" : "0.0.0-dev"
|
|
67418
67421
|
});
|
|
67419
67422
|
this._telemetryReporter.startAutoFlush(3e4);
|
|
67420
67423
|
}
|
|
@@ -67738,7 +67741,7 @@ var init_channel = __esm({
|
|
|
67738
67741
|
agentVersion: this.config.agentVersion ?? "0.0.0",
|
|
67739
67742
|
// __AV_VERSION__ is injected by esbuild from package.json at build time.
|
|
67740
67743
|
// Falls back to "0.0.0-dev" in non-bundled contexts (tests).
|
|
67741
|
-
pluginVersion: true ? "0.23.
|
|
67744
|
+
pluginVersion: true ? "0.23.37" : "0.0.0-dev"
|
|
67742
67745
|
});
|
|
67743
67746
|
this._telemetryReporter.startAutoFlush(3e4);
|
|
67744
67747
|
}
|
|
@@ -98638,7 +98641,7 @@ var init_index = __esm({
|
|
|
98638
98641
|
await init_skill_telemetry();
|
|
98639
98642
|
await init_policy_enforcer();
|
|
98640
98643
|
init_room_protocol();
|
|
98641
|
-
VERSION = true ? "0.23.
|
|
98644
|
+
VERSION = true ? "0.23.37" : "0.0.0-dev";
|
|
98642
98645
|
}
|
|
98643
98646
|
});
|
|
98644
98647
|
await init_index();
|