@agentvault/agentvault 0.19.30 → 0.19.31

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
@@ -48452,6 +48452,7 @@ var init_channel = __esm({
48452
48452
  (ch) => ch.hubAddress === hubAddress
48453
48453
  );
48454
48454
  let channelEntry = allMatches.find((ch) => ch.conversationId) ?? allMatches[0];
48455
+ console.log(`[sendToAgent] lookup hub=${hubAddress} matches=${allMatches.length} entry=${channelEntry ? `ch=${channelEntry.channelId?.slice(0, 8)} session=${!!channelEntry.session} ratchet=${!!channelEntry.session?.ratchetState} role=${channelEntry.role}` : "null"} allChannels=${JSON.stringify(Object.entries(a2a).map(([id, e]) => ({ id: id.slice(0, 8), hub: e.hubAddress, session: !!e.session })))}`);
48455
48456
  if (!channelEntry) {
48456
48457
  try {
48457
48458
  console.log(`[sendToAgent] Channel not found for ${hubAddress}, re-syncing from server...`);