/** CLI output helpers + ANSI colours, shared by run.ts and publish.ts. */ export const GREEN = '\x1b[32m' export const DIM = '\x1b[2m' export const BOLD = '\x1b[1m' export const YELLOW = '\x1b[33m' export const RED = '\x1b[31m' export const RESET = '\x1b[0m' export function info(msg: string): void { process.stdout.write(`${DIM}›${RESET} ${msg}\n`) } export function warn(msg: string): void { process.stderr.write(`${YELLOW}!${RESET} ${msg}\n`) } export function error(msg: string): void { process.stderr.write(`${RED}✗${RESET} ${msg}\n`) }