@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/cli.js
CHANGED
|
@@ -67101,7 +67101,8 @@ ${messageText}`;
|
|
|
67101
67101
|
async _handleMlsWelcome(data) {
|
|
67102
67102
|
const groupId = data.group_id;
|
|
67103
67103
|
const conversationId = data.conversation_id;
|
|
67104
|
-
|
|
67104
|
+
const kpSource = this._pendingMlsKpBundle ? "pending" : this._mlsKeyPackage ? "connect" : "generated";
|
|
67105
|
+
console.log(`[SecureChannel] Received MLS welcome for group ${groupId?.slice(0, 8)}${conversationId ? ` conv=${conversationId.slice(0, 8)}` : ""} kpSource=${kpSource}`);
|
|
67105
67106
|
try {
|
|
67106
67107
|
const welcomeBytes = new Uint8Array(Buffer.from(data.payload, "hex"));
|
|
67107
67108
|
const mgr = new MLSGroupManager();
|
|
@@ -67109,6 +67110,7 @@ ${messageText}`;
|
|
|
67109
67110
|
const identity = new TextEncoder().encode(this._deviceId);
|
|
67110
67111
|
return mgr.generateKeyPackage(identity);
|
|
67111
67112
|
})();
|
|
67113
|
+
console.log(`[SecureChannel] Welcome joinFromWelcome: group=${groupId?.slice(0, 8)} kpSource=${kpSource} welcomeLen=${welcomeBytes.length}`);
|
|
67112
67114
|
await mgr.joinFromWelcome(welcomeBytes, kp);
|
|
67113
67115
|
if (conversationId) {
|
|
67114
67116
|
const key = `conv:${conversationId}`;
|
|
@@ -67175,7 +67177,8 @@ ${messageText}`;
|
|
|
67175
67177
|
}
|
|
67176
67178
|
console.warn(`[SecureChannel] MLS welcome for unmatched group ${groupId?.slice(0, 8)} (no room/A2A/conv match)`);
|
|
67177
67179
|
} catch (err) {
|
|
67178
|
-
console.error(`[SecureChannel] MLS welcome processing failed:`, err);
|
|
67180
|
+
console.error(`[SecureChannel] MLS welcome processing failed (kpSource=${kpSource}):`, err);
|
|
67181
|
+
throw err;
|
|
67179
67182
|
}
|
|
67180
67183
|
}
|
|
67181
67184
|
/**
|
|
@@ -88907,7 +88910,7 @@ var init_index = __esm({
|
|
|
88907
88910
|
init_skill_invoker();
|
|
88908
88911
|
await init_skill_telemetry();
|
|
88909
88912
|
await init_policy_enforcer();
|
|
88910
|
-
VERSION = true ? "0.20.
|
|
88913
|
+
VERSION = true ? "0.20.22" : "0.0.0-dev";
|
|
88911
88914
|
}
|
|
88912
88915
|
});
|
|
88913
88916
|
|