@piotr-oles/pi-subagents 1.0.1 → 1.0.2

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@piotr-oles/pi-subagents",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Pi Agent extension: spawn specialized subagents with isolated sessions",
5
5
  "repository": {
6
6
  "type": "git",
@@ -268,7 +268,7 @@ class SubagentSummaryTextComponent implements Component {
268
268
  const theme = this.theme;
269
269
  const parts: string[] = [];
270
270
  if (done.result.status === "error") {
271
- parts.push(theme.fg("error", done.result.error));
271
+ parts.push(theme.fg("error", getFirstLine(done.result.error)));
272
272
  }
273
273
  if (done.result.status === "aborted") {
274
274
  parts.push(theme.fg("dim", "cancelled"));