mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-07-03 20:59:22 +08:00
88 lines
2.7 KiB
JSON
88 lines
2.7 KiB
JSON
{
|
|
"name": "@cherrystudio/ai-core",
|
|
"version": "2.0.1",
|
|
"description": "Cherry Studio AI Core - Unified AI Provider Interface Based on Vercel AI SDK",
|
|
"main": "dist/index.cjs",
|
|
"module": "dist/index.mjs",
|
|
"types": "dist/index.d.mts",
|
|
"react-native": "dist/index.mjs",
|
|
"scripts": {
|
|
"build": "tsdown",
|
|
"dev": "tsc -w",
|
|
"typecheck": "tsc --noEmit",
|
|
"lint": "oxlint --fix && eslint . --fix --cache",
|
|
"lint:check": "oxlint && eslint . --cache",
|
|
"format": "biome format --write && biome lint --write",
|
|
"format:check": "biome format && biome lint",
|
|
"clean": "rm -rf dist",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"prepublishOnly": "pnpm build"
|
|
},
|
|
"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-sdk/google": "^3.0.64",
|
|
"@ai-sdk/openai": "^3.0.53",
|
|
"ai": "^6.0.116"
|
|
},
|
|
"dependencies": {
|
|
"@ai-sdk/anthropic": "^3.0.71",
|
|
"@ai-sdk/azure": "^3.0.54",
|
|
"@ai-sdk/deepseek": "^2.0.30",
|
|
"@ai-sdk/openai-compatible": "^2.0.37",
|
|
"@ai-sdk/provider": "^3.0.8",
|
|
"@ai-sdk/provider-utils": "^4.0.23",
|
|
"@ai-sdk/xai": "^3.0.83",
|
|
"@cherrystudio/ai-sdk-provider": "workspace:*",
|
|
"@openrouter/ai-sdk-provider": "^2.10.0",
|
|
"quick-lru": "^5.1.1",
|
|
"zod": "^4.1.5"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "^2.2.4",
|
|
"@cherrystudio/ai-sdk-provider": "workspace:*",
|
|
"oxlint": "^1.36.0",
|
|
"tsdown": "^0.20.3",
|
|
"typescript": "^5.0.0",
|
|
"vitest": "^3.2.4"
|
|
},
|
|
"sideEffects": false,
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"files": ["dist"],
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.mts",
|
|
"react-native": "./dist/index.mjs",
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.cjs",
|
|
"default": "./dist/index.mjs"
|
|
},
|
|
"./built-in/plugins": {
|
|
"types": "./dist/built-in/plugins/index.d.mts",
|
|
"react-native": "./dist/built-in/plugins/index.mjs",
|
|
"import": "./dist/built-in/plugins/index.mjs",
|
|
"require": "./dist/built-in/plugins/index.cjs",
|
|
"default": "./dist/built-in/plugins/index.mjs"
|
|
},
|
|
"./provider": {
|
|
"types": "./dist/provider/index.d.mts",
|
|
"react-native": "./dist/provider/index.mjs",
|
|
"import": "./dist/provider/index.mjs",
|
|
"require": "./dist/provider/index.cjs",
|
|
"default": "./dist/provider/index.mjs"
|
|
}
|
|
}
|
|
}
|