UNPKG

@cherrystudio/ai-core

Version:

Cherry Studio AI Core - Unified AI Provider Interface Based on Vercel AI SDK

96 lines 2.7 kB
{ "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.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "react-native": "dist/index.js", "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.55", "@ai-sdk/openai": "^3.0.49", "ai": "^6.0.116" }, "dependencies": { "@ai-sdk/anthropic": "^3.0.58", "@ai-sdk/azure": "^3.0.50", "@ai-sdk/deepseek": "^2.0.24", "@ai-sdk/openai-compatible": "^2.0.37", "@openrouter/ai-sdk-provider": "^2.3.3", "@ai-sdk/provider": "^3.0.8", "@ai-sdk/provider-utils": "^4.0.19", "@ai-sdk/xai": "^3.0.75", "lru-cache": "^11.2.4", "zod": "^4.1.5", "@cherrystudio/ai-sdk-provider": "0.1.6" }, "devDependencies": { "biome": "^0.3.3", "oxlint": "^1.36.0", "tsdown": "^0.20.3", "typescript": "^5.0.0", "vitest": "^3.2.4", "@cherrystudio/ai-sdk-provider": "0.1.6" }, "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" } }, "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" } }