Files
cfw-autumn/packages/ai-sdk/package.json
Charlie Lamb 8822664df9 feat: AI credit system with model-based token pricing
Adds a new FeatureType.AiCreditSystem that enables model-based token
pricing with per-model markup configuration. Includes the @useautumn/ai-sdk
package for Vercel AI SDK integration with automatic token tracking.

Co-authored-by: TheUntraceable <73362400+TheUntraceable@users.noreply.github.com>
2026-05-19 19:05:37 +01:00

36 lines
702 B
JSON

{
"name": "@useautumn/ai-sdk",
"version": "0.0.1",
"type": "module",
"description": "AI SDK for Autumn",
"main": "./dist/sdk/index.cjs",
"module": "./dist/sdk/index.js",
"types": "./dist/sdk/index.d.ts",
"files": [
"dist",
"README.md",
"LICENSE.md"
],
"exports": {
".": {
"types": "./dist/sdk/index.d.ts",
"require": "./dist/sdk/index.cjs",
"import": "./dist/sdk/index.js"
}
},
"scripts": {
"ts": "tsgo --noEmit --skipLibCheck",
"build": "rm -rf dist && tsup",
"prepublishOnly": "bun run build"
},
"peerDependencies": {
"ai": "^6.0.116",
"autumn-js": "*"
},
"devDependencies": {
"@types/node": "^24.9.1",
"tsup": "^8.4.0",
"typescript": "^5.8.3"
}
}