@wrongstack/tui 0.5.5 → 0.5.6

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
@@ -497,21 +497,13 @@ function History({ entries, streamingText, toolStream }) {
497
497
  const toolTail = toolStream?.text ? tailForDisplay(toolStream.text, MAX_STREAM_DISPLAY_CHARS) : "";
498
498
  return /* @__PURE__ */ jsxs(Fragment, { children: [
499
499
  /* @__PURE__ */ jsx(Static, { items: entries, children: (entry) => /* @__PURE__ */ jsx(Box, { marginBottom: entry.kind === "turn-summary" ? 1 : 0, children: /* @__PURE__ */ jsx(Entry, { entry, termWidth }) }, entry.id) }),
500
- tail ? /* @__PURE__ */ jsxs(
501
- Box,
502
- {
503
- flexDirection: "column",
504
- borderStyle: "round",
505
- borderColor: "blue",
506
- paddingX: 2,
507
- paddingY: 0,
508
- marginY: 1,
509
- children: [
510
- /* @__PURE__ */ jsx(Box, { flexDirection: "row", marginBottom: 1, children: /* @__PURE__ */ jsx(Text, { bold: true, color: "blue", children: " ASISTANT (streaming...) " }) }),
511
- /* @__PURE__ */ jsx(Text, { children: tail })
512
- ]
513
- }
514
- ) : null,
500
+ tail ? /* @__PURE__ */ jsxs(Box, { flexDirection: "column", marginY: 1, children: [
501
+ /* @__PURE__ */ jsxs(Box, { flexDirection: "row", children: [
502
+ /* @__PURE__ */ jsx(Text, { bold: true, color: "cyan", children: "ASSISTANT: " }),
503
+ /* @__PURE__ */ jsx(Text, { dimColor: true, children: "(streaming...)" })
504
+ ] }),
505
+ /* @__PURE__ */ jsx(Text, { color: "white", children: tail })
506
+ ] }) : null,
515
507
  toolTail ? /* @__PURE__ */ jsx(
516
508
  ToolStreamBox,
517
509
  {
@@ -614,21 +606,10 @@ function Entry({
614
606
  entry.queued ? /* @__PURE__ */ jsx(Text, { dimColor: true, children: " (queued)" }) : null
615
607
  ] });
616
608
  case "assistant":
617
- return /* @__PURE__ */ jsxs(
618
- Box,
619
- {
620
- flexDirection: "column",
621
- borderStyle: "round",
622
- borderColor: "blue",
623
- paddingX: 2,
624
- paddingY: 0,
625
- marginY: 1,
626
- children: [
627
- /* @__PURE__ */ jsx(Box, { flexDirection: "row", marginBottom: 1, children: /* @__PURE__ */ jsx(Text, { bold: true, color: "blue", children: " ASISTANT " }) }),
628
- /* @__PURE__ */ jsx(Text, { children: renderMarkdownTables(entry.text, termWidth) })
629
- ]
630
- }
631
- );
609
+ return /* @__PURE__ */ jsxs(Box, { flexDirection: "column", marginY: 1, children: [
610
+ /* @__PURE__ */ jsx(Box, { flexDirection: "row", children: /* @__PURE__ */ jsx(Text, { bold: true, color: "cyan", children: "ASSISTANT: " }) }),
611
+ /* @__PURE__ */ jsx(Text, { color: "white", children: renderMarkdownTables(entry.text, termWidth) })
612
+ ] });
632
613
  case "tool": {
633
614
  const argSummary = formatToolArgs(entry.name, entry.input);
634
615
  const outLines = formatToolOutput(