mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-14 06:07:23 +08:00
96 lines
2.7 KiB
JSON
96 lines
2.7 KiB
JSON
{
|
|
"name": "@cherrystudio/ai-core",
|
|
"version": "1.0.9",
|
|
"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",
|
|
"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"
|
|
},
|
|
"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": "^2.0.36",
|
|
"@ai-sdk/openai": "^2.0.64",
|
|
"@cherrystudio/ai-sdk-provider": "^0.1.3",
|
|
"ai": "^5.0.26"
|
|
},
|
|
"dependencies": {
|
|
"@ai-sdk/anthropic": "^3.0.0",
|
|
"@ai-sdk/azure": "^3.0.0",
|
|
"@ai-sdk/deepseek": "^2.0.0",
|
|
"@ai-sdk/openai-compatible": "patch:@ai-sdk/openai-compatible@npm%3A2.0.0#~/.yarn/patches/@ai-sdk-openai-compatible-npm-2.0.0-d8d5f27c45.patch",
|
|
"@ai-sdk/provider": "^3.0.0",
|
|
"@ai-sdk/provider-utils": "^4.0.0",
|
|
"@ai-sdk/xai": "^3.0.0",
|
|
"lru-cache": "^11.2.4",
|
|
"zod": "^4.1.5"
|
|
},
|
|
"devDependencies": {
|
|
"@cherrystudio/ai-sdk-provider": "workspace:*",
|
|
"biome": "^0.3.3",
|
|
"oxlint": "^1.36.0",
|
|
"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"
|
|
}
|
|
}
|
|
}
|