@arhen/pi-core-subagent 1.0.6 → 1.0.7
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.0.
|
|
3
|
+
"version": "1.0.7",
|
|
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
|
@@ -402,13 +402,14 @@ class SubagentManager {
|
|
|
402
402
|
return false;
|
|
403
403
|
}
|
|
404
404
|
|
|
405
|
-
/** Hide the widget. */
|
|
405
|
+
/** Hide the widget + clear the footer status entry. */
|
|
406
406
|
clearWidget(ctx: ExtensionContext): void {
|
|
407
407
|
this.widgetRuns = [];
|
|
408
408
|
this.widgetTui = null;
|
|
409
409
|
if (ctx.hasUI) {
|
|
410
410
|
try {
|
|
411
411
|
ctx.ui.setWidget("subagents", undefined);
|
|
412
|
+
ctx.ui.setStatus("subagents", undefined);
|
|
412
413
|
} catch {
|
|
413
414
|
/* ignore */
|
|
414
415
|
}
|