@invergent/agent-chat-react 2.1.3 → 2.1.4

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.js CHANGED
@@ -803,7 +803,7 @@ var ShimmerComponent = ({
803
803
  return /* @__PURE__ */ jsx(
804
804
  Component,
805
805
  {
806
- className: cn("shimmer text-muted-foreground", className),
806
+ className: cn("shimmer text-foreground/70", className),
807
807
  style: {
808
808
  "--shimmer-duration": duration * 1e3,
809
809
  "--shimmer-spread": `${dynamicSpread}px`
@@ -905,12 +905,12 @@ var ReasoningTrigger = memo(
905
905
  CollapsibleTrigger,
906
906
  {
907
907
  className: cn(
908
- "flex w-full items-center gap-2 text-muted-foreground text-sm transition-colors hover:text-foreground",
908
+ "flex w-full items-center gap-2 text-foreground/70 text-sm transition-colors hover:text-foreground",
909
909
  className
910
910
  ),
911
911
  ...props,
912
912
  children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
913
- /* @__PURE__ */ jsx("span", { className: "text-muted-foregound text-sm", children: getThinkingMessage(isStreaming, duration) }),
913
+ /* @__PURE__ */ jsx("span", { className: "text-foregound/70 text-sm", children: getThinkingMessage(isStreaming, duration) }),
914
914
  /* @__PURE__ */ jsx(
915
915
  ChevronDownIcon,
916
916
  {
@@ -932,7 +932,7 @@ var ReasoningContent = memo(
932
932
  {
933
933
  className: cn(
934
934
  "mt-4 text-sm",
935
- "data-[state=closed]:fade-out-0 data-[state=closed]:slide-out-to-top-2 data-[state=open]:slide-in-from-top-2 text-foreground/60 italic outline-none data-[state=closed]:animate-out data-[state=open]:animate-in",
935
+ "data-[state=closed]:fade-out-0 data-[state=closed]:slide-out-to-top-2 data-[state=open]:slide-in-from-top-2 text-foreground/70 italic outline-none data-[state=closed]:animate-out data-[state=open]:animate-in",
936
936
  className
937
937
  ),
938
938
  ...props,
@@ -7713,7 +7713,7 @@ function WorkspaceFilePreviewDialog({
7713
7713
  cancelled = true;
7714
7714
  };
7715
7715
  }, [adapter, sessionId, path, open]);
7716
- return /* @__PURE__ */ jsx(Dialog, { open, onOpenChange, children: /* @__PURE__ */ jsxs(DialogContent, { className: "flex h-[80vh] w-full max-w-3xl flex-col gap-0 overflow-hidden p-0", children: [
7716
+ return /* @__PURE__ */ jsx(Dialog, { open, onOpenChange, children: /* @__PURE__ */ jsxs(DialogContent, { className: "flex h-[80vh] w-full max-w-5xl flex-col gap-0 overflow-hidden p-0", children: [
7717
7717
  /* @__PURE__ */ jsx(DialogHeader, { className: "border-b border-line px-4 py-3", children: /* @__PURE__ */ jsx(DialogTitle, { className: "truncate text-sm", children: _basename(path) }) }),
7718
7718
  /* @__PURE__ */ jsx("div", { className: "flex min-h-0 flex-1 flex-col", children: /* @__PURE__ */ jsx(
7719
7719
  FileViewer,
@@ -13325,7 +13325,6 @@ function TreeNodeRow({
13325
13325
  const title = entry.title ?? fallbackSessionTitle(entry);
13326
13326
  const subtitle = [
13327
13327
  formatRunKind(entry.runKind),
13328
- entry.model,
13329
13328
  formatSessionTime(entry.updatedAt)
13330
13329
  ].filter(Boolean).join(" \xB7 ");
13331
13330
  return /* @__PURE__ */ jsxs(Fragment, { children: [
@@ -13341,7 +13340,7 @@ function TreeNodeRow({
13341
13340
  className: cn(
13342
13341
  "group flex items-center gap-2 w-full py-2 pr-2 text-left cursor-pointer transition-colors border-l-2",
13343
13342
  "min-h-11 md:min-h-0",
13344
- isActive ? "bg-line text-foreground border-l-primary" : "bg-transparent text-muted-foreground hover:bg-input hover:text-foreground border-l-transparent"
13343
+ isActive ? "bg-line text-foreground border-l-primary" : "bg-transparent text-foreground/80 hover:bg-input hover:text-foreground border-l-transparent"
13345
13344
  ),
13346
13345
  style: { paddingLeft: `${depth * 12 + 12}px` },
13347
13346
  children: [