@ash-ai/ui 0.0.3 → 0.0.5

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
@@ -1269,13 +1269,13 @@ function Terminal2({ logs, connected, onClear, className }) {
1269
1269
  ref: containerRef,
1270
1270
  onScroll: handleScroll,
1271
1271
  className: "flex-1 overflow-auto p-3 font-mono text-xs leading-5 scrollbar-thin min-h-[120px]",
1272
- children: filteredLogs.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "flex h-full items-center justify-center text-white/20 text-xs", children: logs.length === 0 ? "Waiting for sandbox output..." : "No matching lines" }) : filteredLogs.map((entry) => /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "flex hover:bg-white/5 rounded px-1 -mx-1", children: [
1272
+ children: filteredLogs.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "flex h-full items-center justify-center text-white/20 text-xs", children: logs.length === 0 ? "Waiting for sandbox output..." : "No matching lines" }) : filteredLogs.map((entry, i) => /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "flex hover:bg-white/5 rounded px-1 -mx-1", children: [
1273
1273
  showTimestamps && /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "mr-3 shrink-0 select-none text-white/20", children: formatTimestamp(entry.ts) }),
1274
1274
  /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: cn(
1275
1275
  "whitespace-pre-wrap break-all",
1276
1276
  levelColors[entry.level] || "text-white/60"
1277
1277
  ), children: entry.text })
1278
- ] }, entry.index))
1278
+ ] }, `${entry.index}-${i}`))
1279
1279
  }
1280
1280
  )
1281
1281
  ] });