Compose Todo and Subagent widgets
This commit is contained in:
@@ -51,6 +51,7 @@ export default function piTodoHerdr(pi: ExtensionAPI): void {
|
||||
pi.on("session_tree", async (_event, ctx) => restore(ctx));
|
||||
pi.on("session_shutdown", async (event) => {
|
||||
autoClear.cancel();
|
||||
if (activeContext !== undefined) clearTaskWidget(activeContext);
|
||||
activeContext = undefined;
|
||||
if (event.reason === "quit") await clearCurrentTask();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user