@agentvault/agentvault 0.20.19 → 0.20.20
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/channel.d.ts.map +1 -1
- package/dist/cli.js +19 -2
- package/dist/cli.js.map +2 -2
- package/dist/index.js +19 -2
- package/dist/index.js.map +2 -2
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -67561,7 +67561,24 @@ ${messageText}`;
|
|
|
67561
67561
|
console.warn(`[SecureChannel] No A2A channel for MLS group ${groupId?.slice(0, 8)}`);
|
|
67562
67562
|
return;
|
|
67563
67563
|
}
|
|
67564
|
-
|
|
67564
|
+
let mlsGroup = this._mlsGroups.get(`a2a:${a2aChannelId}`);
|
|
67565
|
+
if (!mlsGroup?.isInitialized) {
|
|
67566
|
+
const entry = this._persisted?.a2aChannels?.[a2aChannelId];
|
|
67567
|
+
const mlsGroupId = entry?.mlsGroupId || groupId;
|
|
67568
|
+
if (mlsGroupId) {
|
|
67569
|
+
try {
|
|
67570
|
+
const savedState = await loadMlsState(this.config.dataDir, mlsGroupId);
|
|
67571
|
+
if (savedState) {
|
|
67572
|
+
const mgr = new MLSGroupManager();
|
|
67573
|
+
mgr.importState(JSON.parse(savedState));
|
|
67574
|
+
this._mlsGroups.set(`a2a:${a2aChannelId}`, mgr);
|
|
67575
|
+
mlsGroup = mgr;
|
|
67576
|
+
console.log(`[SecureChannel] Restored A2A MLS state for ${a2aChannelId.slice(0, 8)} on message receive (epoch=${mgr.epoch})`);
|
|
67577
|
+
}
|
|
67578
|
+
} catch {
|
|
67579
|
+
}
|
|
67580
|
+
}
|
|
67581
|
+
}
|
|
67565
67582
|
if (!mlsGroup?.isInitialized) {
|
|
67566
67583
|
console.warn(`[SecureChannel] MLS group not loaded for A2A ${a2aChannelId.slice(0, 8)}`);
|
|
67567
67584
|
return;
|
|
@@ -94759,7 +94776,7 @@ var init_index = __esm({
|
|
|
94759
94776
|
init_skill_invoker();
|
|
94760
94777
|
await init_skill_telemetry();
|
|
94761
94778
|
await init_policy_enforcer();
|
|
94762
|
-
VERSION = true ? "0.20.
|
|
94779
|
+
VERSION = true ? "0.20.20" : "0.0.0-dev";
|
|
94763
94780
|
}
|
|
94764
94781
|
});
|
|
94765
94782
|
await init_index();
|