feat(ai): add @oh-my-pi/pi-ai package with tool name prefixing
- Port pi-ai from upstream with Bun-first approach (source files, no dist) - Add cli_ prefix to tool names in OAuth mode to avoid collisions - Improve beta header handling with proper deduplication - Convert codex-instructions.md to Bun text embed - Strip .js extensions from all imports
This commit is contained in:
@@ -29,7 +29,7 @@ The coding-agent is structured into distinct layers:
|
||||
┌─────────────────────────────────────────────────────────────┐
|
||||
│ External Dependencies │
|
||||
│ @oh-my-pi/pi-agent-core (Agent core) │
|
||||
│ @mariozechner/pi-ai (models, providers) │
|
||||
│ @oh-my-pi/pi-ai (models, providers) │
|
||||
│ @oh-my-pi/pi-tui (TUI components) │
|
||||
│ @oh-my-pi/pi-git-tool (Git tool) │
|
||||
└─────────────────────────────────────────────────────────────┘
|
||||
@@ -469,7 +469,7 @@ This is part of a monorepo with the following packages:
|
||||
- `@oh-my-pi/pi-agent-core` - Core agent implementation
|
||||
- `@oh-my-pi/pi-tui` - TUI components
|
||||
- `@oh-my-pi/pi-git-tool` - Git tool integration
|
||||
- `@mariozechner/pi-ai` - External AI provider library
|
||||
- `@oh-my-pi/pi-ai` - External AI provider library
|
||||
|
||||
## Documentation
|
||||
|
||||
|
||||
Reference in New Issue
Block a user