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
+1 -1
View File
@@ -5,8 +5,8 @@
import { existsSync, mkdirSync, rmSync } from "node:fs";
import { tmpdir } from "node:os";
import { join } from "node:path";
import { getModel } from "@mariozechner/pi-ai";
import { Agent } from "@oh-my-pi/pi-agent-core";
import { getModel } from "@oh-my-pi/pi-ai";
import { AgentSession } from "../src/core/agent-session";
import { AuthStorage } from "../src/core/auth-storage";
import { ModelRegistry } from "../src/core/model-registry";