@agentvault/agentvault 0.20.21 → 0.20.22
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 +6 -3
- package/dist/cli.js.map +2 -2
- package/dist/index.js +6 -3
- package/dist/index.js.map +2 -2
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -67100,7 +67100,8 @@ ${messageText}`;
|
|
|
67100
67100
|
async _handleMlsWelcome(data) {
|
|
67101
67101
|
const groupId = data.group_id;
|
|
67102
67102
|
const conversationId = data.conversation_id;
|
|
67103
|
-
|
|
67103
|
+
const kpSource = this._pendingMlsKpBundle ? "pending" : this._mlsKeyPackage ? "connect" : "generated";
|
|
67104
|
+
console.log(`[SecureChannel] Received MLS welcome for group ${groupId?.slice(0, 8)}${conversationId ? ` conv=${conversationId.slice(0, 8)}` : ""} kpSource=${kpSource}`);
|
|
67104
67105
|
try {
|
|
67105
67106
|
const welcomeBytes = new Uint8Array(Buffer.from(data.payload, "hex"));
|
|
67106
67107
|
const mgr = new MLSGroupManager();
|
|
@@ -67108,6 +67109,7 @@ ${messageText}`;
|
|
|
67108
67109
|
const identity = new TextEncoder().encode(this._deviceId);
|
|
67109
67110
|
return mgr.generateKeyPackage(identity);
|
|
67110
67111
|
})();
|
|
67112
|
+
console.log(`[SecureChannel] Welcome joinFromWelcome: group=${groupId?.slice(0, 8)} kpSource=${kpSource} welcomeLen=${welcomeBytes.length}`);
|
|
67111
67113
|
await mgr.joinFromWelcome(welcomeBytes, kp);
|
|
67112
67114
|
if (conversationId) {
|
|
67113
67115
|
const key = `conv:${conversationId}`;
|
|
@@ -67174,7 +67176,8 @@ ${messageText}`;
|
|
|
67174
67176
|
}
|
|
67175
67177
|
console.warn(`[SecureChannel] MLS welcome for unmatched group ${groupId?.slice(0, 8)} (no room/A2A/conv match)`);
|
|
67176
67178
|
} catch (err) {
|
|
67177
|
-
console.error(`[SecureChannel] MLS welcome processing failed:`, err);
|
|
67179
|
+
console.error(`[SecureChannel] MLS welcome processing failed (kpSource=${kpSource}):`, err);
|
|
67180
|
+
throw err;
|
|
67178
67181
|
}
|
|
67179
67182
|
}
|
|
67180
67183
|
/**
|
|
@@ -94804,7 +94807,7 @@ var init_index = __esm({
|
|
|
94804
94807
|
init_skill_invoker();
|
|
94805
94808
|
await init_skill_telemetry();
|
|
94806
94809
|
await init_policy_enforcer();
|
|
94807
|
-
VERSION = true ? "0.20.
|
|
94810
|
+
VERSION = true ? "0.20.22" : "0.0.0-dev";
|
|
94808
94811
|
}
|
|
94809
94812
|
});
|
|
94810
94813
|
await init_index();
|