@asgard-js/core 0.1.22 → 0.1.23

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.mjs CHANGED
@@ -1645,7 +1645,8 @@ class I {
1645
1645
  messageId: e.messageId,
1646
1646
  message: e,
1647
1647
  time: /* @__PURE__ */ new Date(),
1648
- traceId: t.traceId
1648
+ traceId: t.traceId,
1649
+ raw: ""
1649
1650
  }), new I({ messages: n });
1650
1651
  }
1651
1652
  onMessageDelta(t) {
@@ -1660,7 +1661,8 @@ class I {
1660
1661
  messageId: e.messageId,
1661
1662
  message: e,
1662
1663
  time: /* @__PURE__ */ new Date(),
1663
- traceId: t.traceId ?? i.traceId
1664
+ traceId: t.traceId ?? i.traceId,
1665
+ raw: i.raw
1664
1666
  }), new I({ messages: n });
1665
1667
  }
1666
1668
  onMessageComplete(t) {
@@ -1673,7 +1675,8 @@ class I {
1673
1675
  messageId: e.messageId,
1674
1676
  message: e,
1675
1677
  time: /* @__PURE__ */ new Date(),
1676
- traceId: t.traceId ?? ((i == null ? void 0 : i.type) === "bot" ? i.traceId : void 0)
1678
+ traceId: t.traceId ?? ((i == null ? void 0 : i.type) === "bot" ? i.traceId : void 0),
1679
+ raw: JSON.stringify(t)
1677
1680
  }), new I({ messages: n });
1678
1681
  }
1679
1682
  onMessageError(t) {