{ "type": "module", "name": "@oh-my-pi/pi-ai", "version": "14.0.1", "description": "Unified LLM API with automatic model discovery and provider configuration", "homepage": "https://github.com/can1357/oh-my-pi", "author": "Can Boluk", "contributors": [ "Mario Zechner" ], "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/can1357/oh-my-pi.git", "directory": "packages/ai" }, "bugs": { "url": "https://github.com/can1357/oh-my-pi/issues" }, "keywords": [ "ai", "llm", "openai", "anthropic", "gemini", "unified", "api" ], "main": "./src/index.ts", "types": "./src/index.ts", "bin": { "pi-ai": "./src/cli.ts" }, "scripts": { "check": "biome check . && bun run check:types", "check:types": "tsgo -p tsconfig.json --noEmit", "lint": "biome lint .", "test": "bun test", "fix": "biome check --write --unsafe .", "fmt": "biome format --write .", "generate-models": "bun scripts/generate-models.ts" }, "dependencies": { "@anthropic-ai/sdk": "^0.78", "@aws-sdk/client-bedrock-runtime": "^3", "@bufbuild/protobuf": "^2.11", "@google/genai": "^1.43", "@oh-my-pi/pi-utils": "workspace:*", "@sinclair/typebox": "^0.34", "@smithy/node-http-handler": "^4.4", "ajv": "^8.18", "ajv-formats": "^3.0", "openai": "^6.25", "partial-json": "^0.1", "zod": "^4.3" }, "devDependencies": { "@types/bun": "^1.3" }, "engines": { "bun": ">=1.3.7" }, "files": [ "src", "README.md", "CHANGELOG.md" ], "exports": { ".": { "types": "./src/index.ts", "import": "./src/index.ts" }, "./*": { "types": "./src/*.ts", "import": "./src/*.ts" }, "./models.json": { "types": "./src/models.json.d.ts", "import": "./src/models.json" }, "./provider-models": { "types": "./src/provider-models/index.ts", "import": "./src/provider-models/index.ts" }, "./provider-models/*": { "types": "./src/provider-models/*.ts", "import": "./src/provider-models/*.ts" }, "./providers/*": { "types": "./src/providers/*.ts", "import": "./src/providers/*.ts" }, "./providers/cursor/gen/*": { "types": "./src/providers/cursor/gen/*.ts", "import": "./src/providers/cursor/gen/*.ts" }, "./providers/openai-codex/*": { "types": "./src/providers/openai-codex/*.ts", "import": "./src/providers/openai-codex/*.ts" }, "./usage/*": { "types": "./src/usage/*.ts", "import": "./src/usage/*.ts" }, "./utils/*": { "types": "./src/utils/*.ts", "import": "./src/utils/*.ts" }, "./utils/discovery": { "types": "./src/utils/discovery/index.ts", "import": "./src/utils/discovery/index.ts" }, "./utils/discovery/*": { "types": "./src/utils/discovery/*.ts", "import": "./src/utils/discovery/*.ts" }, "./utils/oauth": { "types": "./src/utils/oauth/index.ts", "import": "./src/utils/oauth/index.ts" }, "./utils/oauth/*": { "types": "./src/utils/oauth/*.ts", "import": "./src/utils/oauth/*.ts" }, "./utils/schema": { "types": "./src/utils/schema/index.ts", "import": "./src/utils/schema/index.ts" }, "./utils/schema/*": { "types": "./src/utils/schema/*.ts", "import": "./src/utils/schema/*.ts" }, "./*.js": "./src/*.ts" } }