mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-16 14:01:06 +00:00
- Add adaptive thinking mode (type: 'adaptive') for Opus 4.6+
- Add effort parameter ('low', 'medium', 'high', 'max') for adaptive thinking
- thinkingEnabled now auto-detects: adaptive for 4.6+, budget-based for older
- streamSimple/completeSimple map ThinkingLevel to effort levels for Opus 4.6
- Add tests for Opus 4.6 adaptive thinking and GPT-5.3 Codex
- Update @anthropic-ai/sdk to 0.73.0
- Update @aws-sdk/client-bedrock-runtime to 3.983.0
- Update @google/genai to 1.40.0
- Remove fast-xml-parser override (no longer needed)
64 lines
1.5 KiB
JSON
64 lines
1.5 KiB
JSON
{
|
|
"name": "@mariozechner/pi-ai",
|
|
"version": "0.52.0",
|
|
"description": "Unified LLM API with automatic model discovery and provider configuration",
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"bin": {
|
|
"pi-ai": "./dist/cli.js"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"README.md"
|
|
],
|
|
"scripts": {
|
|
"clean": "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.73.0",
|
|
"@aws-sdk/client-bedrock-runtime": "^3.983.0",
|
|
"@google/genai": "^1.40.0",
|
|
"@mistralai/mistralai": "1.10.0",
|
|
"@sinclair/typebox": "^0.34.41",
|
|
"ajv": "^8.17.1",
|
|
"ajv-formats": "^3.0.1",
|
|
"chalk": "^5.6.2",
|
|
"openai": "6.10.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"
|
|
}
|
|
}
|