@webless/agent 0.6.6 → 0.6.7

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/embed.cjs CHANGED
@@ -1546,7 +1546,7 @@ function formatBookingOfferFence(offer) {
1546
1546
  }
1547
1547
  function bookingCardFromActionOutput(output) {
1548
1548
  const record = asRecord2(output);
1549
- const data = asRecord2(record?.data) ?? record;
1549
+ const data = asRecord2(record?.output) ?? asRecord2(record?.data) ?? record;
1550
1550
  return parseToolCard(data);
1551
1551
  }
1552
1552
  function ensureBookingOfferText(text, offer) {