@signalridge/pi-subagents 1.13.0 → 1.15.0
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 +29 -0
- package/README.md +14 -0
- package/package.json +2 -1
- package/src/agent-manager.ts +102 -51
- package/src/agent-runner.ts +280 -146
- package/src/index.ts +195 -39
- package/src/internal-run.ts +5 -1
- package/src/invocation-config.ts +6 -1
- package/src/nested-tools.ts +7 -2
- package/src/operation-approvals.ts +49 -0
- package/src/run-budget-policy.ts +22 -0
- package/src/ui/fleet-list.ts +4 -2
package/src/ui/fleet-list.ts
CHANGED
|
@@ -556,7 +556,9 @@ export class FleetList {
|
|
|
556
556
|
const color = status === "error" ? "error" : status === "stopped" ? "warning" : selected ? "accent" : "dim";
|
|
557
557
|
const name = sanitizeDisplayText(run.name);
|
|
558
558
|
const phase = run.currentPhase ? ` · ${sanitizeDisplayText(run.currentPhase)}` : "";
|
|
559
|
-
|
|
559
|
+
// A workflow is an expandable group, not another agent. Keep its
|
|
560
|
+
// type mark distinct at every outcome; color/text still report status.
|
|
561
|
+
const left = ` ${theme.fg(color, "▸")} ${theme.fg(selected ? "accent" : "muted", name)} · ${theme.fg(color, run.status)}${phase} · ${run.runningCalls}/${run.callCount} running · ${run.completedCalls} done · ${run.failedCalls} failed${run.restored ? " · restored" : ""}`;
|
|
560
562
|
const right = `${formatFleetElapsed(run.elapsedMs)}${run.tokenCount === undefined ? "" : ` · ${formatFleetTokens(run.tokenCount)}`}`;
|
|
561
563
|
lines.push(rightAlign(left, theme.fg("dim", right), width));
|
|
562
564
|
} else {
|
|
@@ -567,7 +569,7 @@ export class FleetList {
|
|
|
567
569
|
}
|
|
568
570
|
if (hiddenBelow > 0) lines.push(rightAlign("", theme.fg("dim", `${hiddenBelow} more below`), width));
|
|
569
571
|
|
|
570
|
-
|
|
572
|
+
// One separator belongs to Fleet; do not stack two empty rows before the footer.
|
|
571
573
|
return [...lines.slice(0, height - 1), ""].map(line => truncateToWidth(line, Math.max(0, width)));
|
|
572
574
|
}
|
|
573
575
|
|