oira666_pi-subagent 0.3.1 → 0.3.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/index.ts +1 -1
- package/package.json +1 -1
- package/tree.ts +1 -1
package/index.ts
CHANGED
|
@@ -1226,7 +1226,7 @@ export default function (pi: ExtensionAPI) {
|
|
|
1226
1226
|
if (typeof targetCtx.ui.setStatus !== "function") return;
|
|
1227
1227
|
targetCtx.ui.setStatus(
|
|
1228
1228
|
"subagent-usage",
|
|
1229
|
-
line ? formatFooterStatusText(targetCtx,
|
|
1229
|
+
line ? formatFooterStatusText(targetCtx, line) : undefined,
|
|
1230
1230
|
);
|
|
1231
1231
|
} catch (err) {
|
|
1232
1232
|
console.error("[pi-subagent] Failed to update combined subagent status line:", err);
|
package/package.json
CHANGED
package/tree.ts
CHANGED
|
@@ -92,7 +92,7 @@ export function formatCombinedUsageStatusLine(
|
|
|
92
92
|
const cache = cacheRead || cacheWrite
|
|
93
93
|
? ` R${formatTokens(cacheRead)} W${formatTokens(cacheWrite)}`
|
|
94
94
|
: "";
|
|
95
|
-
return
|
|
95
|
+
return `with subagents (${subagentCount}) Σ $${cost.toFixed(4)} • ↑${formatTokens(input)} ↓${formatTokens(output)}${cache} T${formatTokens(total)} • ${turns} turn${turns === 1 ? "" : "s"}`;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
export function formatUsage(usage: Partial<UsageStats>, model?: string): string {
|