Compose Todo and Subagent widgets

This commit is contained in:
jb
2026-08-30 13:00:14 -04:00
parent 04a0c08c96
commit d9e1ffec51
6 changed files with 942 additions and 43 deletions
+1
View File
@@ -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();
});