mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-20 19:02:10 +00:00
Initial monorepo setup with npm workspaces and dual TypeScript configuration
- Set up npm workspaces for three packages: pi-tui, pi-agent, and pi (pods) - Implemented dual TypeScript configuration: - Root tsconfig.json with path mappings for development and type checking - Package-specific tsconfig.build.json for clean production builds - Configured lockstep versioning with sync script for inter-package dependencies - Added comprehensive documentation for development and publishing workflows - All packages at version 0.5.0 ready for npm publishing
This commit is contained in:
commit
a74c5da112
63 changed files with 14558 additions and 0 deletions
7
packages/agent/src/renderers/json-renderer.ts
Normal file
7
packages/agent/src/renderers/json-renderer.ts
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import type { AgentEvent, AgentEventReceiver } from "../agent.js";
|
||||
|
||||
export class JsonRenderer implements AgentEventReceiver {
|
||||
async on(event: AgentEvent): Promise<void> {
|
||||
console.log(JSON.stringify(event));
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue