@tangle-network/agent-app 0.50.24 → 0.50.25

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.
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  ChatEmptyState,
3
3
  ChatMessages
4
- } from "../chunk-ES7OOOJV.js";
4
+ } from "../chunk-BPEIQWLK.js";
5
5
  import "../chunk-BPSRJTJG.js";
6
6
  import "../chunk-3HUFJ5LO.js";
7
7
  import "../chunk-FBVLEGEG.js";
@@ -6616,6 +6616,7 @@ function ChatMessages({
6616
6616
  workProductCards
6617
6617
  }) {
6618
6618
  const messageClassName = messageSize === "large" ? "agent-app-message-copy text-[17px] leading-[1.6]" : "agent-app-message-copy text-base leading-[1.6]";
6619
+ const assistantMessageClassName = `${messageClassName} bg-transparent text-[hsl(var(--foreground))]`;
6619
6620
  const renderBody = useMemo7(
6620
6621
  () => renderMarkdown ?? ((content) => /* @__PURE__ */ jsx16("p", { className: "whitespace-pre-wrap", children: content })),
6621
6622
  [renderMarkdown]
@@ -6638,7 +6639,7 @@ function ChatMessages({
6638
6639
  /* @__PURE__ */ jsx16(
6639
6640
  "div",
6640
6641
  {
6641
- className: quiet ? `rounded-2xl bg-[color-mix(in_srgb,hsl(var(--secondary))_65%,hsl(var(--background)))] px-4 py-2.5 ${messageClassName}` : `rounded-2xl rounded-tr-md bg-primary/10 px-4 py-2.5 ${messageClassName}`,
6642
+ className: `rounded-2xl bg-[hsl(var(--foreground))] px-4 py-2.5 text-[hsl(var(--background))] ${quiet ? "" : "rounded-tr-md "}${messageClassName}`,
6642
6643
  children: /* @__PURE__ */ jsx16("p", { className: "whitespace-pre-wrap", children: msg.content })
6643
6644
  }
6644
6645
  ),
@@ -6667,7 +6668,7 @@ function ChatMessages({
6667
6668
  durableCards,
6668
6669
  resolveAttachmentUrl,
6669
6670
  workProductCards,
6670
- messageClassName,
6671
+ messageClassName: assistantMessageClassName,
6671
6672
  chrome
6672
6673
  },
6673
6674
  msg.id
@@ -6810,4 +6811,4 @@ export {
6810
6811
  useThinkingSeconds,
6811
6812
  ChatMessages
6812
6813
  };
6813
- //# sourceMappingURL=chunk-ES7OOOJV.js.map
6814
+ //# sourceMappingURL=chunk-BPEIQWLK.js.map