mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-04-28 06:19:43 +00:00
114 lines
2.9 KiB
JSON
114 lines
2.9 KiB
JSON
{
|
|
"name": "@mariozechner/pi-ai",
|
|
"version": "0.68.0",
|
|
"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-gemini-cli": {
|
|
"types": "./dist/providers/google-gemini-cli.d.ts",
|
|
"import": "./dist/providers/google-gemini-cli.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",
|
|
"build": "npm run generate-models && tsgo -p tsconfig.build.json",
|
|
"dev": "tsgo -p tsconfig.build.json --watch --preserveWatchOutput",
|
|
"dev:tsc": "tsgo -p tsconfig.build.json --watch --preserveWatchOutput",
|
|
"test": "vitest --run",
|
|
"prepublishOnly": "npm run clean && npm run build"
|
|
},
|
|
"dependencies": {
|
|
"@anthropic-ai/sdk": "^0.90.0",
|
|
"@aws-sdk/client-bedrock-runtime": "^3.1030.0",
|
|
"@google/genai": "^1.40.0",
|
|
"@mistralai/mistralai": "^2.2.0",
|
|
"@sinclair/typebox": "^0.34.41",
|
|
"ajv": "^8.17.1",
|
|
"ajv-formats": "^3.0.1",
|
|
"chalk": "^5.6.2",
|
|
"openai": "6.26.0",
|
|
"partial-json": "^0.1.7",
|
|
"proxy-agent": "^6.5.0",
|
|
"undici": "^7.19.1",
|
|
"zod-to-json-schema": "^3.24.6"
|
|
},
|
|
"keywords": [
|
|
"ai",
|
|
"llm",
|
|
"openai",
|
|
"anthropic",
|
|
"gemini",
|
|
"bedrock",
|
|
"unified",
|
|
"api"
|
|
],
|
|
"author": "Mario Zechner",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/badlogic/pi-mono.git",
|
|
"directory": "packages/ai"
|
|
},
|
|
"engines": {
|
|
"node": ">=20.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^24.3.0",
|
|
"canvas": "^3.2.0",
|
|
"vitest": "^3.2.4"
|
|
}
|
|
}
|