86 lines
2.2 KiB
JSON
86 lines
2.2 KiB
JSON
{
|
|
"name": "@cherrystudio/ai-core",
|
|
"version": "1.0.0-alpha.12",
|
|
"description": "Cherry Studio AI Core - Unified AI Provider Interface Based on Vercel AI SDK",
|
|
"main": "dist/index.js",
|
|
"module": "dist/index.mjs",
|
|
"types": "dist/index.d.ts",
|
|
"react-native": "dist/index.js",
|
|
"scripts": {
|
|
"build": "tsdown",
|
|
"dev": "tsc -w",
|
|
"clean": "rm -rf dist",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest"
|
|
},
|
|
"keywords": [
|
|
"ai",
|
|
"sdk",
|
|
"openai",
|
|
"anthropic",
|
|
"google",
|
|
"cherry-studio",
|
|
"vercel-ai-sdk"
|
|
],
|
|
"author": "Cherry Studio",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/CherryHQ/cherry-studio.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/CherryHQ/cherry-studio/issues"
|
|
},
|
|
"homepage": "https://github.com/CherryHQ/cherry-studio#readme",
|
|
"peerDependencies": {
|
|
"ai": "^5.0.26"
|
|
},
|
|
"dependencies": {
|
|
"@ai-sdk/anthropic": "^2.0.5",
|
|
"@ai-sdk/azure": "^2.0.16",
|
|
"@ai-sdk/deepseek": "^1.0.9",
|
|
"@ai-sdk/google": "^2.0.7",
|
|
"@ai-sdk/openai": "^2.0.19",
|
|
"@ai-sdk/openai-compatible": "^1.0.9",
|
|
"@ai-sdk/provider": "^2.0.0",
|
|
"@ai-sdk/provider-utils": "^3.0.4",
|
|
"@ai-sdk/xai": "^2.0.9",
|
|
"zod": "^4.1.5"
|
|
},
|
|
"devDependencies": {
|
|
"tsdown": "^0.12.9",
|
|
"typescript": "^5.0.0",
|
|
"vitest": "^3.2.4"
|
|
},
|
|
"sideEffects": false,
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"react-native": "./dist/index.js",
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.js",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./built-in/plugins": {
|
|
"types": "./dist/built-in/plugins/index.d.ts",
|
|
"react-native": "./dist/built-in/plugins/index.js",
|
|
"import": "./dist/built-in/plugins/index.mjs",
|
|
"require": "./dist/built-in/plugins/index.js",
|
|
"default": "./dist/built-in/plugins/index.js"
|
|
},
|
|
"./provider": {
|
|
"types": "./dist/provider/index.d.ts",
|
|
"react-native": "./dist/provider/index.js",
|
|
"import": "./dist/provider/index.mjs",
|
|
"require": "./dist/provider/index.js",
|
|
"default": "./dist/provider/index.js"
|
|
}
|
|
}
|
|
}
|