mirror of
https://github.com/harivansh-afk/clanker-agent.git
synced 2026-04-19 18:04:45 +00:00
- Copy all pi-mono source into apps/companion-os/ - Update Dockerfile to COPY pre-built binary instead of downloading from GitHub Releases - Update deploy-staging.yml to build pi from source (bun compile) before Docker build - Add apps/companion-os/** to path triggers - No more cross-repo dispatch needed Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
8 lines
276 B
TypeScript
8 lines
276 B
TypeScript
import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
|
|
|
|
const CHANNEL = "channels";
|
|
|
|
export function createLogger(pi: ExtensionAPI) {
|
|
return (event: string, data: unknown, level = "INFO") =>
|
|
pi.events.emit("log", { channel: CHANNEL, event, level, data });
|
|
}
|