@liriraid/agentflow-ai 1.0.23 → 1.0.24
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 +1 -1
- package/src/ink/app.mjs +2 -2
- package/src/ink/index.mjs +5 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@liriraid/agentflow-ai",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.24",
|
|
4
4
|
"description": "Multi-agent workspace orchestrator with TUI. Coordinates AI coding agents over your real frontend and backend projects.",
|
|
5
5
|
"author": "LiriRaid",
|
|
6
6
|
"homepage": "https://github.com/LiriRaid/agentflow-ai#readme",
|
package/src/ink/app.mjs
CHANGED
|
@@ -200,7 +200,7 @@ export function App({snapshot, paused = false, onAction}) {
|
|
|
200
200
|
h(
|
|
201
201
|
Panel,
|
|
202
202
|
{title: text.summary, width: isCompact ? '100%' : '28%'},
|
|
203
|
-
...overview.map(line => h(Text, {key:
|
|
203
|
+
...overview.map((line, i) => h(Text, {key: i}, truncate(line, summaryWidth)))
|
|
204
204
|
),
|
|
205
205
|
h(
|
|
206
206
|
Panel,
|
|
@@ -220,7 +220,7 @@ export function App({snapshot, paused = false, onAction}) {
|
|
|
220
220
|
{title: text.log, width: isCompact ? '100%' : '35%'},
|
|
221
221
|
...snapshot.logs
|
|
222
222
|
.slice(-6)
|
|
223
|
-
.map(entry => h(Text, {key:
|
|
223
|
+
.map((entry, i) => h(Text, {key: i, color: COLORS.muted}, truncate(entry, logWidth)))
|
|
224
224
|
)
|
|
225
225
|
),
|
|
226
226
|
h(
|
package/src/ink/index.mjs
CHANGED
|
@@ -448,18 +448,14 @@ function mount() {
|
|
|
448
448
|
|
|
449
449
|
if (process.stdout.isTTY) {
|
|
450
450
|
process.stdout.on('resize', () => {
|
|
451
|
-
|
|
452
|
-
const shrinking = nextColumns > 0 && lastColumns > 0 && nextColumns < lastColumns;
|
|
453
|
-
lastColumns = nextColumns;
|
|
451
|
+
lastColumns = process.stdout.columns ?? 0;
|
|
454
452
|
isResizing = true;
|
|
455
453
|
if (resizeTimer) clearTimeout(resizeTimer);
|
|
456
454
|
resizeTimer = setTimeout(() => {
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
inkApp = null;
|
|
462
|
-
}
|
|
455
|
+
clearTerminal();
|
|
456
|
+
if (inkApp) {
|
|
457
|
+
inkApp.unmount();
|
|
458
|
+
inkApp = null;
|
|
463
459
|
}
|
|
464
460
|
isResizing = false;
|
|
465
461
|
refresh();
|