co-mono/packages/proxy/package.json
Mario Zechner 0c5cbd0068 v0.7.12: Custom models/providers support via models.json
- Add ~/.pi/agent/models.json config for custom providers (Ollama, vLLM, etc.)
- Support all 4 API types (openai-completions, openai-responses, anthropic-messages, google-generative-ai)
- Live reload models.json on /model selector open
- Smart model defaults per provider (claude-sonnet-4-5, gpt-5.1-codex, etc.)
- Graceful session fallback when saved model missing or no API key
- Validation errors show precise file/field info in CLI and TUI
- Agent knows its own README.md path for self-documentation
- Added gpt-5.1-codex (400k context, 128k output, reasoning)

Fixes #21
2025-11-16 22:56:24 +01:00

27 lines
580 B
JSON

{
"name": "@mariozechner/pi-proxy",
"version": "0.7.12",
"type": "module",
"description": "CORS and authentication proxy for pi-ai",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"pi-proxy": "dist/cli.js"
},
"scripts": {
"clean": "rm -rf dist",
"build": "tsc",
"check": "biome check --write .",
"typecheck": "tsgo --noEmit",
"dev": "tsx src/cors-proxy.ts 3001"
},
"dependencies": {
"@hono/node-server": "^1.14.0",
"hono": "^4.6.16"
},
"devDependencies": {
"@types/node": "^22.10.5",
"tsx": "^4.19.2",
"typescript": "^5.7.3"
}
}