oira666_pi-subagent 0.2.18 → 0.2.19
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 +6 -0
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -540,6 +540,12 @@ export default function (pi: ExtensionAPI) {
|
|
|
540
540
|
stream.push({ type: "toolcall_end", contentIndex: 0, toolCall, partial: message });
|
|
541
541
|
stream.push({ type: "done", reason: "toolUse", message });
|
|
542
542
|
stream.end(message);
|
|
543
|
+
|
|
544
|
+
// The synthetic provider's only job is to inject the resumed subagent
|
|
545
|
+
// tool call. Restore the real model immediately after that handoff so
|
|
546
|
+
// the TUI does not appear stuck on `pi-subagent-resume` while the
|
|
547
|
+
// subagent tool execution is still running.
|
|
548
|
+
void restoreVisibleModelForResume();
|
|
543
549
|
});
|
|
544
550
|
return stream;
|
|
545
551
|
}
|