@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.cjs +6 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1008,7 +1008,7 @@ var ShimmerComponent = ({
|
|
|
1008
1008
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
1009
1009
|
Component,
|
|
1010
1010
|
{
|
|
1011
|
-
className: cn("shimmer text-
|
|
1011
|
+
className: cn("shimmer text-foreground/70", className),
|
|
1012
1012
|
style: {
|
|
1013
1013
|
"--shimmer-duration": duration * 1e3,
|
|
1014
1014
|
"--shimmer-spread": `${dynamicSpread}px`
|
|
@@ -1110,12 +1110,12 @@ var ReasoningTrigger = react.memo(
|
|
|
1110
1110
|
CollapsibleTrigger,
|
|
1111
1111
|
{
|
|
1112
1112
|
className: cn(
|
|
1113
|
-
"flex w-full items-center gap-2 text-
|
|
1113
|
+
"flex w-full items-center gap-2 text-foreground/70 text-sm transition-colors hover:text-foreground",
|
|
1114
1114
|
className
|
|
1115
1115
|
),
|
|
1116
1116
|
...props,
|
|
1117
1117
|
children: children ?? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
1118
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-
|
|
1118
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-foregound/70 text-sm", children: getThinkingMessage(isStreaming, duration) }),
|
|
1119
1119
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1120
1120
|
lucideReact.ChevronDownIcon,
|
|
1121
1121
|
{
|
|
@@ -1137,7 +1137,7 @@ var ReasoningContent = react.memo(
|
|
|
1137
1137
|
{
|
|
1138
1138
|
className: cn(
|
|
1139
1139
|
"mt-4 text-sm",
|
|
1140
|
-
"data-[state=closed]:fade-out-0 data-[state=closed]:slide-out-to-top-2 data-[state=open]:slide-in-from-top-2 text-foreground/
|
|
1140
|
+
"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",
|
|
1141
1141
|
className
|
|
1142
1142
|
),
|
|
1143
1143
|
...props,
|
|
@@ -8008,7 +8008,7 @@ function WorkspaceFilePreviewDialog({
|
|
|
8008
8008
|
cancelled = true;
|
|
8009
8009
|
};
|
|
8010
8010
|
}, [adapter, sessionId, path, open]);
|
|
8011
|
-
return /* @__PURE__ */ jsxRuntime.jsx(Dialog, { open, onOpenChange, children: /* @__PURE__ */ jsxRuntime.jsxs(DialogContent, { className: "flex h-[80vh] w-full max-w-
|
|
8011
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Dialog, { open, onOpenChange, children: /* @__PURE__ */ jsxRuntime.jsxs(DialogContent, { className: "flex h-[80vh] w-full max-w-5xl flex-col gap-0 overflow-hidden p-0", children: [
|
|
8012
8012
|
/* @__PURE__ */ jsxRuntime.jsx(DialogHeader, { className: "border-b border-line px-4 py-3", children: /* @__PURE__ */ jsxRuntime.jsx(DialogTitle, { className: "truncate text-sm", children: _basename(path) }) }),
|
|
8013
8013
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex min-h-0 flex-1 flex-col", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
8014
8014
|
FileViewer,
|
|
@@ -13639,7 +13639,6 @@ function TreeNodeRow({
|
|
|
13639
13639
|
const title = entry.title ?? fallbackSessionTitle(entry);
|
|
13640
13640
|
const subtitle = [
|
|
13641
13641
|
formatRunKind(entry.runKind),
|
|
13642
|
-
entry.model,
|
|
13643
13642
|
formatSessionTime(entry.updatedAt)
|
|
13644
13643
|
].filter(Boolean).join(" \xB7 ");
|
|
13645
13644
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
@@ -13655,7 +13654,7 @@ function TreeNodeRow({
|
|
|
13655
13654
|
className: cn(
|
|
13656
13655
|
"group flex items-center gap-2 w-full py-2 pr-2 text-left cursor-pointer transition-colors border-l-2",
|
|
13657
13656
|
"min-h-11 md:min-h-0",
|
|
13658
|
-
isActive ? "bg-line text-foreground border-l-primary" : "bg-transparent text-
|
|
13657
|
+
isActive ? "bg-line text-foreground border-l-primary" : "bg-transparent text-foreground/80 hover:bg-input hover:text-foreground border-l-transparent"
|
|
13659
13658
|
),
|
|
13660
13659
|
style: { paddingLeft: `${depth * 12 + 12}px` },
|
|
13661
13660
|
children: [
|