diff --git a/.pi/hooks/status-demo.ts b/.pi/hooks/status-demo.ts new file mode 100644 index 00000000..a9720f80 --- /dev/null +++ b/.pi/hooks/status-demo.ts @@ -0,0 +1,11 @@ +import type { HookAPI } from "@mariozechner/pi-coding-agent"; + +export default function (pi: HookAPI) { + pi.on("turn_start", async (_event, ctx) => { + ctx.ui.setStatus("demo", "๐ Thinking..."); + }); + + pi.on("turn_end", async (_event, ctx) => { + ctx.ui.setStatus("demo", "โ Ready"); + }); +} diff --git a/out.html b/out.html new file mode 100644 index 00000000..7642e6cd --- /dev/null +++ b/out.html @@ -0,0 +1,3272 @@ + + +
+ + +