pi-agent-flow 0.2.3 → 0.2.4
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/render.ts +2 -2
package/package.json
CHANGED
package/render.ts
CHANGED
|
@@ -241,7 +241,7 @@ function renderFlowCollapsed(
|
|
|
241
241
|
const lastTool = getLastToolCall(r.messages);
|
|
242
242
|
if (lastTool) {
|
|
243
243
|
const exeStr = formatFlowToolCall(lastTool.name, lastTool.args, theme.fg.bind(theme));
|
|
244
|
-
text += `\n${theme.fg("dim", "├─ EXE:")} ${exeStr}`;
|
|
244
|
+
text += `\n${theme.fg("dim", "├─ EXE:")} ${truncateChars(exeStr, 50)}`;
|
|
245
245
|
}
|
|
246
246
|
|
|
247
247
|
// LOG: line (last assistant text or streaming)
|
|
@@ -376,7 +376,7 @@ function renderActivityPanel(
|
|
|
376
376
|
const lastTool = getLastToolCall(r.messages);
|
|
377
377
|
if (lastTool) {
|
|
378
378
|
const exeStr = formatFlowToolCall(lastTool.name, lastTool.args, theme.fg.bind(theme));
|
|
379
|
-
container.addChild(new Text(`${theme.fg("dim", indent + "├─ EXE:")} ${exeStr}`, 0, 0));
|
|
379
|
+
container.addChild(new Text(`${theme.fg("dim", indent + "├─ EXE:")} ${truncateChars(exeStr, 50)}`, 0, 0));
|
|
380
380
|
}
|
|
381
381
|
|
|
382
382
|
// LOG: line (last assistant text)
|