@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/cli.js CHANGED
@@ -48391,6 +48391,7 @@ var init_channel = __esm({
48391
48391
  (ch) => ch.hubAddress === hubAddress
48392
48392
  );
48393
48393
  let channelEntry = allMatches.find((ch) => ch.conversationId) ?? allMatches[0];
48394
+ 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 })))}`);
48394
48395
  if (!channelEntry) {
48395
48396
  try {
48396
48397
  console.log(`[sendToAgent] Channel not found for ${hubAddress}, re-syncing from server...`);