refactor: switched to upstream @mariozechner/pi-ai and removed unused packages

- Replaced local @oh-my-pi/pi-ai with upstream @mariozechner/pi-ai@0.37.4
- Added sessionId support to agent for provider caching (OpenAI Codex)
- Deleted packages/ai (now using upstream)
- Deleted packages/mom (unused)
- Deleted packages/web-ui (unused)
This commit is contained in:
can1357
2026-01-06 22:25:24 +00:00
parent 34d534394d
commit 5919b0df94
264 changed files with 650 additions and 50516 deletions
+4 -1
View File
@@ -34,11 +34,13 @@ bun install -g @oh-my-pi/pi-coding-agent
### Via installer script
**Linux / macOS:**
```bash
curl -fsSL https://raw.githubusercontent.com/can1357/oh-my-pi/main/scripts/install.sh | sh
```
**Windows (PowerShell):**
```powershell
irm https://raw.githubusercontent.com/can1357/oh-my-pi/main/scripts/install.ps1 | iex
```
@@ -46,6 +48,7 @@ irm https://raw.githubusercontent.com/can1357/oh-my-pi/main/scripts/install.ps1
By default, the installer uses bun if available, otherwise downloads the prebuilt binary.
Options:
- `--source` / `-Source`: Install via bun (installs bun first if needed)
- `--binary` / `-Binary`: Always use prebuilt binary
- `--ref <ref>` / `-Ref <ref>`: Install a tag/commit/branch (defaults to source install)
@@ -249,7 +252,7 @@ Handles whitespace and indentation variance automatically:
| Package | Description |
| ------------------------------------------------------ | ---------------------------------------------------------------- |
| **[@oh-my-pi/pi-ai](packages/ai)** | Unified multi-provider LLM API (OpenAI, Anthropic, Google, etc.) |
| **[@mariozechner/pi-ai](packages/ai)** | Unified multi-provider LLM API (OpenAI, Anthropic, Google, etc.) |
| **[@oh-my-pi/pi-agent-core](packages/agent)** | Agent runtime with tool calling and state management |
| **[@oh-my-pi/pi-coding-agent](packages/coding-agent)** | Interactive coding agent CLI |
| **[@oh-my-pi/pi-mom](packages/mom)** | Slack bot that delegates messages to the pi coding agent |