@agentvault/agentvault 0.19.28 → 0.19.29

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/index.js CHANGED
@@ -48820,7 +48820,9 @@ var init_channel = __esm({
48820
48820
  console.log(`[SecureChannel] A2A sync complete: ${a2aCount} channels`);
48821
48821
  this.emit("a2a_channels_synced", { count: a2aCount });
48822
48822
  if (this._persisted?.a2aChannels) {
48823
- const channelsNeedingKx = Object.entries(this._persisted.a2aChannels).filter(
48823
+ const allEntries = Object.entries(this._persisted.a2aChannels);
48824
+ console.log(`[SecureChannel] A2A key exchange check: ${allEntries.length} channels, details=${JSON.stringify(allEntries.map(([id, e]) => ({ id: id.slice(0, 8), session: !!e.session, pending: !!e.pendingEphemeralPrivateKey, convId: !!e.conversationId })))}`);
48825
+ const channelsNeedingKx = allEntries.filter(
48824
48826
  ([_2, entry]) => !entry.session && !entry.pendingEphemeralPrivateKey && entry.conversationId
48825
48827
  );
48826
48828
  if (channelsNeedingKx.length > 0) {