pi-subagents 0.35.0 → 0.35.1

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/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.35.1] - 2026-07-17
6
+
7
+ ### Fixed
8
+ - Collapsed multiline management/status output behind a first-line preview and the configured expand-key hint. Thanks to Nikolay Panov (@niksite) for #523.
9
+
5
10
  ## [0.35.0] - 2026-07-17
6
11
 
7
12
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-subagents",
3
- "version": "0.35.0",
3
+ "version": "0.35.1",
4
4
  "description": "Pi extension for delegating tasks to subagents with chains, parallel execution, and TUI clarification",
5
5
  "author": "Nico Bailon",
6
6
  "license": "MIT",
package/src/tui/render.ts CHANGED
@@ -1471,6 +1471,14 @@ export function renderSubagentResult(
1471
1471
  const contextPrefix = d?.context === "fork" ? `${theme.fg("warning", "[fork]")} ` : "";
1472
1472
  const width = getTermWidth() - 4;
1473
1473
  if (!text.includes("\n")) return new Text(truncLine(`${contextPrefix}${text}`, width), 0, 0);
1474
+ if (d && !options.expanded && !result.isError) {
1475
+ const lines = text.split(/\r?\n/);
1476
+ const firstNonEmptyLine = lines.find((line) => line.trim())?.trim() || "(no output)";
1477
+ const c = new Container();
1478
+ c.addChild(new Text(truncLine(`${contextPrefix}${firstNonEmptyLine} · ${lines.length} lines`, width), 0, 0));
1479
+ c.addChild(new Text(truncLine(theme.fg("accent", ` Press ${liveDetailKeyText()} for full output`), width), 0, 0));
1480
+ return c;
1481
+ }
1474
1482
  const c = new Container();
1475
1483
  const wrapped = wrapPlainText(`${contextPrefix}${text}`, width);
1476
1484
  for (const line of wrapped) c.addChild(new Text(line, 0, 0));