agenttop 0.10.4 → 0.10.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
@@ -770,16 +770,16 @@ var ActivityFeed = React3.memo(
770
770
  const isSelected = hasSelection && globalIndex === selectedEventIndex;
771
771
  const tag = merged ? call.slug.slice(0, 4) : null;
772
772
  const tagColor = merged ? slugColorMap.get(call.sessionId) || colors.muted : void 0;
773
- return /* @__PURE__ */ jsxs3(Box3, { paddingX: 1, children: [
773
+ return /* @__PURE__ */ jsx3(Box3, { paddingX: 1, overflow: "hidden", children: /* @__PURE__ */ jsxs3(Text3, { wrap: "truncate", children: [
774
774
  tag && /* @__PURE__ */ jsx3(Text3, { color: tagColor, children: tag.padEnd(5) }),
775
775
  /* @__PURE__ */ jsx3(Text3, { color: isSelected ? colors.bright : colors.muted, underline: isSelected, children: formatTime(call.timestamp) }),
776
- /* @__PURE__ */ jsx3(Text3, { children: " " }),
776
+ " ",
777
777
  /* @__PURE__ */ jsx3(Text3, { color: getToolColor(call.toolName), bold: true, underline: isSelected, children: call.toolName.padEnd(8) }),
778
778
  /* @__PURE__ */ jsxs3(Text3, { color: isSelected ? colors.bright : colors.text, underline: isSelected, children: [
779
779
  " ",
780
780
  summarizeInput(call)
781
781
  ] })
782
- ] }, `${call.timestamp}-${i}`);
782
+ ] }) }, `${call.timestamp}-${i}`);
783
783
  }),
784
784
  focused && canScroll && !isAtTop && visible.length > 0 && /* @__PURE__ */ jsx3(Box3, { paddingX: 1, justifyContent: "flex-end", children: /* @__PURE__ */ jsx3(Text3, { color: colors.muted, children: isAtBottom ? "" : "G:bottom " }) }),
785
785
  !merged && sessionId && isActive === false && /* @__PURE__ */ jsxs3(Box3, { paddingX: 1, flexDirection: "column", children: [
@@ -792,18 +792,11 @@ var ActivityFeed = React3.memo(
792
792
  ] })
793
793
  ] })
794
794
  ] }),
795
- merged && mergedSessions && mergedSessions.some((s) => s.pid === null) && /* @__PURE__ */ jsxs3(Box3, { paddingX: 1, flexDirection: "column", children: [
796
- /* @__PURE__ */ jsx3(Text3, { color: colors.muted, children: " " }),
797
- mergedSessions.filter((s) => s.pid === null).map((s) => /* @__PURE__ */ jsxs3(Text3, { color: colors.muted, children: [
798
- "resume ",
799
- s.slug.slice(0, 8),
800
- ": ",
801
- /* @__PURE__ */ jsxs3(Text3, { color: colors.text, children: [
802
- "claude --resume ",
803
- s.sessionId
804
- ] })
805
- ] }, s.sessionId))
806
- ] })
795
+ merged && mergedSessions && mergedSessions.some((s) => s.pid === null) && /* @__PURE__ */ jsx3(Box3, { paddingX: 1, children: /* @__PURE__ */ jsxs3(Text3, { color: colors.muted, children: [
796
+ mergedSessions.filter((s) => s.pid === null).length,
797
+ " inactive \u2014 resume with claude --resume ",
798
+ "<id>"
799
+ ] }) })
807
800
  ]
808
801
  }
809
802
  );