@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.js CHANGED
@@ -9,7 +9,7 @@ import {
9
9
  resetAgentPanel,
10
10
  resolveAgentRuntimeConfig,
11
11
  submitAgentPanel
12
- } from "./chunk-UR5QZZ2F.js";
12
+ } from "./chunk-U5IPERNA.js";
13
13
 
14
14
  // src/embed/mount.tsx
15
15
  import { createRoot } from "react-dom/client";
package/dist/react.cjs CHANGED
@@ -1522,7 +1522,7 @@ function formatBookingOfferFence(offer) {
1522
1522
  }
1523
1523
  function bookingCardFromActionOutput(output) {
1524
1524
  const record = asRecord2(output);
1525
- const data = asRecord2(record?.data) ?? record;
1525
+ const data = asRecord2(record?.output) ?? asRecord2(record?.data) ?? record;
1526
1526
  return parseToolCard(data);
1527
1527
  }
1528
1528
  function ensureBookingOfferText(text, offer) {