@arhen/pi-core-subagent 1.1.12 → 1.1.13
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/index.ts +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arhen/pi-core-subagent",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.13",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "pi extension: fast in-process subagents with single/parallel/chain, background runs, intercom and agent-to-agent mailbox. Leader defines agents inline.",
|
|
6
6
|
"license": "MIT",
|
package/src/index.ts
CHANGED
|
@@ -1243,7 +1243,8 @@ export default function (pi: ExtensionAPI) {
|
|
|
1243
1243
|
renderResult(result, { expanded }, theme) {
|
|
1244
1244
|
const run = result.details?.run;
|
|
1245
1245
|
if (!run) return new Text(result.content[0]?.type === "text" ? result.content[0].text : "", 0, 0);
|
|
1246
|
-
|
|
1246
|
+
// ponytail: mode/count already shown on the call line above; result header only adds progress + status.
|
|
1247
|
+
const header = `${statusIcon(run.status)} ${theme.fg("accent", `${run.tasks.filter((t) => t.status === "completed").length}/${run.tasks.length} done`)}${run.background ? ` ${theme.fg("muted", "(background)")}` : ""} ${theme.fg("muted", run.status)}`;
|
|
1247
1248
|
if (!expanded) {
|
|
1248
1249
|
const lines = [header, ...run.tasks.map((task) => ` ${taskLine(task)}`)];
|
|
1249
1250
|
const usage = formatUsage(run.aggregateUsage);
|