@arvorco/relentless 0.1.13 → 0.1.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/package.json
CHANGED
|
@@ -20,12 +20,6 @@ export function AgentOutput({
|
|
|
20
20
|
// Take last N lines for display
|
|
21
21
|
const displayLines = lines.slice(-maxLines);
|
|
22
22
|
|
|
23
|
-
// Pad to maintain consistent height
|
|
24
|
-
const paddedLines = [...displayLines];
|
|
25
|
-
while (paddedLines.length < maxLines) {
|
|
26
|
-
paddedLines.push("");
|
|
27
|
-
}
|
|
28
|
-
|
|
29
23
|
return (
|
|
30
24
|
<Box flexDirection="column" borderStyle="single" borderColor={colors.dim}>
|
|
31
25
|
<Box paddingX={1} borderBottom borderColor={colors.dim}>
|
|
@@ -33,12 +27,18 @@ export function AgentOutput({
|
|
|
33
27
|
Agent Output
|
|
34
28
|
</Text>
|
|
35
29
|
</Box>
|
|
36
|
-
<Box flexDirection="column" paddingX={1}
|
|
37
|
-
{
|
|
38
|
-
|
|
39
|
-
{
|
|
30
|
+
<Box flexDirection="column" paddingX={1} height={maxLines}>
|
|
31
|
+
{displayLines.length > 0 ? (
|
|
32
|
+
displayLines.map((line, i) => (
|
|
33
|
+
<Text key={i} color={colors.dim} wrap="truncate">
|
|
34
|
+
{line}
|
|
35
|
+
</Text>
|
|
36
|
+
))
|
|
37
|
+
) : (
|
|
38
|
+
<Text color={colors.dim} dimColor>
|
|
39
|
+
Waiting for agent output...
|
|
40
40
|
</Text>
|
|
41
|
-
)
|
|
41
|
+
)}
|
|
42
42
|
</Box>
|
|
43
43
|
</Box>
|
|
44
44
|
);
|