{ "name": "@earendil-works/pi-ai", "version": "0.75.3", "description": "Unified LLM API with automatic model discovery and provider configuration", "type": "module", "main": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" }, "./anthropic": { "types": "./dist/providers/anthropic.d.ts", "import": "./dist/providers/anthropic.js" }, "./azure-openai-responses": { "types": "./dist/providers/azure-openai-responses.d.ts", "import": "./dist/providers/azure-openai-responses.js" }, "./google": { "types": "./dist/providers/google.d.ts", "import": "./dist/providers/google.js" }, "./google-vertex": { "types": "./dist/providers/google-vertex.d.ts", "import": "./dist/providers/google-vertex.js" }, "./mistral": { "types": "./dist/providers/mistral.d.ts", "import": "./dist/providers/mistral.js" }, "./openai-codex-responses": { "types": "./dist/providers/openai-codex-responses.d.ts", "import": "./dist/providers/openai-codex-responses.js" }, "./openai-completions": { "types": "./dist/providers/openai-completions.d.ts", "import": "./dist/providers/openai-completions.js" }, "./openai-responses": { "types": "./dist/providers/openai-responses.d.ts", "import": "./dist/providers/openai-responses.js" }, "./oauth": { "types": "./dist/oauth.d.ts", "import": "./dist/oauth.js" }, "./bedrock-provider": { "types": "./dist/bedrock-provider.d.ts", "import": "./dist/bedrock-provider.js" } }, "bin": { "pi-ai": "./dist/cli.js" }, "files": [ "dist", "README.md" ], "scripts": { "clean": "shx rm -rf dist", "generate-models": "npx tsx scripts/generate-models.ts", "generate-image-models": "npx tsx scripts/generate-image-models.ts", "build": "npm run generate-models && npm run generate-image-models && tsgo -p tsconfig.build.json", "test": "vitest --run", "prepublishOnly": "npm run clean && npm run build" }, "dependencies": { "@anthropic-ai/sdk": "^0.91.1", "@aws-sdk/client-bedrock-runtime": "^3.1030.0", "@google/genai": "^1.40.0", "@mistralai/mistralai": "^2.2.0", "http-proxy-agent": "^7.0.2", "https-proxy-agent": "^7.0.6", "openai": "6.26.0", "partial-json": "^0.1.7", "typebox": "^1.1.24" }, "keywords": [ "ai", "llm", "openai", "anthropic", "gemini", "bedrock", "unified", "api" ], "author": "Mario Zechner", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/earendil-works/pi-mono.git", "directory": "packages/ai" }, "engines": { "node": ">=22.19.0" }, "devDependencies": { "@types/node": "^24.3.0", "canvas": "^3.2.0", "vitest": "^3.2.4" } }