co-mono/packages/ai/src
Mario Zechner a055fd4481 WIP: Refactor agent package - not compiling
- Renamed AppMessage to AgentMessage throughout
- New agent-loop.ts with AgentLoopContext, AgentLoopConfig
- Removed transport abstraction, Agent now takes streamFn directly
- Extracted streamProxy to proxy.ts utility
- Removed agent-loop from pi-ai (now in agent package)
- Updated consumers (coding-agent, mom) for AgentMessage rename
- Tests updated but some consumers still need migration

Known issues:
- AgentTool, AgentToolResult not exported from pi-ai
- Attachment not exported from pi-agent-core
- ProviderTransport removed but still referenced
- messageTransformer -> convertToLlm migration incomplete
- CustomMessages declaration merging not working properly
2025-12-30 22:42:20 +01:00
..
providers Migrate zai provider from Anthropic to OpenAI-compatible API 2025-12-29 11:54:10 -08:00
utils WIP: Remove global state from pi-ai OAuth/API key handling 2025-12-25 01:01:03 +01:00
cli.ts WIP: Add CLI for OAuth login, update README 2025-12-25 01:09:27 +01:00
index.ts WIP: Refactor agent package - not compiling 2025-12-30 22:42:20 +01:00
models.generated.ts Fix: transform userMessage in _runAgentLoop before passing to transport 2025-12-30 22:42:20 +01:00
models.ts fix: use consistent model comparison including provider 2025-12-25 22:10:08 +01:00
stream.ts Fix API key priority and compaction bugs 2025-12-30 22:42:17 +01:00
types.ts Add Google Gemini CLI and Antigravity OAuth providers 2025-12-20 21:34:18 +01:00