@agentvault/agentvault 0.19.8 → 0.19.9
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 +4 -2
- package/dist/cli.js.map +2 -2
- package/dist/index.js +4 -2
- package/dist/index.js.map +2 -2
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -47881,9 +47881,11 @@ var init_channel = __esm({
|
|
|
47881
47881
|
}
|
|
47882
47882
|
resolved = { kind: "room", id: target.roomId };
|
|
47883
47883
|
} else if (target.kind === "a2a") {
|
|
47884
|
-
const
|
|
47884
|
+
const a2aEntries = this._persisted?.a2aChannels ? Object.values(this._persisted.a2aChannels) : [];
|
|
47885
|
+
const channelEntry = a2aEntries.find((ch) => ch.hubAddress === target.hubAddress);
|
|
47885
47886
|
if (!channelEntry) {
|
|
47886
|
-
const
|
|
47887
|
+
const storedAddresses = a2aEntries.map((ch) => ch.hubAddress).join(", ") || "(none)";
|
|
47888
|
+
const err = `No A2A channel found for hub address: ${target.hubAddress} (stored: ${storedAddresses})`;
|
|
47887
47889
|
console.log(`[deliver] target=a2a:${target.hubAddress} content=${content.type} result=FAIL: ${err}`);
|
|
47888
47890
|
return { ok: false, destination: { kind: "a2a", id: target.hubAddress }, error: err, timestamp: ts };
|
|
47889
47891
|
}
|