@optilogic/chat 1.0.0-beta.12 → 1.0.0-beta.14

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 CHANGED
@@ -255,7 +255,7 @@ var ThinkingSection = React11__namespace.forwardRef(
255
255
  ref,
256
256
  className: core.cn("px-3 pb-3 border-t border-border", className),
257
257
  ...props,
258
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-2 max-h-[200px] overflow-y-auto scrollbar-thin", children: isStructured ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-0", children: content.map((step) => /* @__PURE__ */ jsxRuntime.jsx(
258
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-2 max-h-[200px] overflow-y-auto", children: isStructured ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-0", children: content.map((step) => /* @__PURE__ */ jsxRuntime.jsx(
259
259
  ThinkingStepItem,
260
260
  {
261
261
  step,
@@ -1245,10 +1245,10 @@ function AgentTimeline({ entries, renderMarkdown, uiState, maxHeight = "300px" }
1245
1245
  "div",
1246
1246
  {
1247
1247
  ref: containerRef,
1248
- className: `-mt-1 ${maxHeight !== "none" ? "overflow-y-auto scrollbar-thin" : ""}`,
1248
+ className: maxHeight !== "none" ? "overflow-y-auto" : "",
1249
1249
  style: scrollStyle,
1250
1250
  children: [
1251
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sticky top-0 z-10 bg-background flex items-center gap-1 py-1.5 mb-1 border-b border-border/50 flex-wrap", children: [
1251
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "sticky top-0 z-10 bg-background flex items-center gap-1 py-1.5 mb-1 border-b border-border/50 flex-wrap pl-2", children: [
1252
1252
  TYPE_CONFIG.filter((tc) => availableTypes.has(tc.type)).map((tc) => {
1253
1253
  const isActive = activeFilters.has(tc.type);
1254
1254
  const count = entries.filter((e) => e.type === tc.type).length;
@@ -1344,6 +1344,7 @@ var AgentResponse = React11__namespace.forwardRef(
1344
1344
  statusContent,
1345
1345
  renderMarkdown,
1346
1346
  renderThinkingMarkdown,
1347
+ timelineMaxHeight,
1347
1348
  className,
1348
1349
  ...props
1349
1350
  }, ref) => {
@@ -1405,12 +1406,13 @@ var AgentResponse = React11__namespace.forwardRef(
1405
1406
  elapsedTime
1406
1407
  }
1407
1408
  ),
1408
- hasTimelineEntries ? thinkingExpanded && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-3 pb-3 border-t border-border mt-2", children: /* @__PURE__ */ jsxRuntime.jsx(
1409
+ hasTimelineEntries ? thinkingExpanded && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "pb-3 border-t border-border", children: /* @__PURE__ */ jsxRuntime.jsx(
1409
1410
  AgentTimeline,
1410
1411
  {
1411
1412
  entries: state.timelineEntries,
1412
1413
  renderMarkdown: renderThinkingMarkdown,
1413
- uiState: timelineUIStateRef.current
1414
+ uiState: timelineUIStateRef.current,
1415
+ maxHeight: timelineMaxHeight
1414
1416
  }
1415
1417
  ) }) : /* @__PURE__ */ jsxRuntime.jsx(
1416
1418
  ThinkingSection,