@agentvault/agentvault 0.23.36 → 0.23.38
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 +14 -9
- package/dist/cli.js.map +2 -2
- package/dist/index.js +12 -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,12 @@ 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
|
|
50862
|
+
const pathRequiredByRfc = allProposals.length === 0 || allProposals.some(({ proposal }) => {
|
|
50863
|
+
const t2 = proposal.proposalType;
|
|
50864
|
+
return t2 !== "add" && t2 !== "psk" && t2 !== "reinit";
|
|
50865
|
+
});
|
|
50866
|
+
const pathRequiredLegacy = allProposals.length === 0 || Object.values(grouped.update).length > 1 || Object.values(grouped.remove).length > 1;
|
|
50867
|
+
const needsUpdatePath = sentByClient ? pathRequiredByRfc : pathRequiredLegacy;
|
|
50863
50868
|
return {
|
|
50864
50869
|
tree: mutatedTree,
|
|
50865
50870
|
pskSecret: updatedPskSecret,
|
|
@@ -63261,11 +63266,11 @@ var init_mls_kp_pool = __esm({
|
|
|
63261
63266
|
|
|
63262
63267
|
// src/client-version.ts
|
|
63263
63268
|
function ownIdentity() {
|
|
63264
|
-
const v2 = true ? "0.23.
|
|
63269
|
+
const v2 = true ? "0.23.38" : FALLBACK;
|
|
63265
63270
|
return `${PACKAGE}@${v2}`;
|
|
63266
63271
|
}
|
|
63267
63272
|
function buildSha() {
|
|
63268
|
-
const raw = true ? "
|
|
63273
|
+
const raw = true ? "a6ce360-dirty" : "";
|
|
63269
63274
|
const cleaned = (raw ?? "").trim();
|
|
63270
63275
|
return !cleaned || cleaned === "unknown" ? null : cleaned;
|
|
63271
63276
|
}
|
|
@@ -65476,7 +65481,7 @@ var init_channel = __esm({
|
|
|
65476
65481
|
*/
|
|
65477
65482
|
sendActivitySpan(spanData) {
|
|
65478
65483
|
if (!this._ws || this._ws.readyState !== WebSocket.OPEN) return;
|
|
65479
|
-
const pluginVersion = true ? "0.23.
|
|
65484
|
+
const pluginVersion = true ? "0.23.38" : "0.0.0-dev";
|
|
65480
65485
|
const agentName = this.config.agentName ?? "Agent";
|
|
65481
65486
|
const resource = {
|
|
65482
65487
|
"service.name": "agentvault-agent",
|
|
@@ -67414,7 +67419,7 @@ var init_channel = __esm({
|
|
|
67414
67419
|
agentVersion: this.config.agentVersion ?? "0.0.0",
|
|
67415
67420
|
// __AV_VERSION__ is injected by esbuild from package.json at build time.
|
|
67416
67421
|
// Falls back to "0.0.0-dev" in non-bundled contexts (tests).
|
|
67417
|
-
pluginVersion: true ? "0.23.
|
|
67422
|
+
pluginVersion: true ? "0.23.38" : "0.0.0-dev"
|
|
67418
67423
|
});
|
|
67419
67424
|
this._telemetryReporter.startAutoFlush(3e4);
|
|
67420
67425
|
}
|
|
@@ -67738,7 +67743,7 @@ var init_channel = __esm({
|
|
|
67738
67743
|
agentVersion: this.config.agentVersion ?? "0.0.0",
|
|
67739
67744
|
// __AV_VERSION__ is injected by esbuild from package.json at build time.
|
|
67740
67745
|
// Falls back to "0.0.0-dev" in non-bundled contexts (tests).
|
|
67741
|
-
pluginVersion: true ? "0.23.
|
|
67746
|
+
pluginVersion: true ? "0.23.38" : "0.0.0-dev"
|
|
67742
67747
|
});
|
|
67743
67748
|
this._telemetryReporter.startAutoFlush(3e4);
|
|
67744
67749
|
}
|
|
@@ -98638,7 +98643,7 @@ var init_index = __esm({
|
|
|
98638
98643
|
await init_skill_telemetry();
|
|
98639
98644
|
await init_policy_enforcer();
|
|
98640
98645
|
init_room_protocol();
|
|
98641
|
-
VERSION = true ? "0.23.
|
|
98646
|
+
VERSION = true ? "0.23.38" : "0.0.0-dev";
|
|
98642
98647
|
}
|
|
98643
98648
|
});
|
|
98644
98649
|
await init_index();
|