mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 05:02:07 +00:00
7 lines
215 B
TypeScript
7 lines
215 B
TypeScript
import type { AgentEvent, AgentEventReceiver } from "../agent.js";
|
|
|
|
export class JsonRenderer implements AgentEventReceiver {
|
|
async on(event: AgentEvent): Promise<void> {
|
|
console.log(JSON.stringify(event));
|
|
}
|
|
}
|