mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-18 05:01:55 +00:00
11 lines
295 B
TypeScript
11 lines
295 B
TypeScript
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");
|
|
});
|
|
}
|