mirror of
https://github.com/bitbaum/ai-kit.git
synced 2026-12-04 11:49:15 +01:00
classBudget + BACKGROUND_POLICY (max 25% of the day, never below a 50% floor) + estimateTokens. 1.13.0. Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
125 lines
3.1 KiB
JSON
125 lines
3.1 KiB
JSON
{
|
|
"name": "@bitbaum/ai-kit",
|
|
"version": "1.13.0",
|
|
"license": "MIT",
|
|
"author": "Mao Nakamoto",
|
|
"homepage": "https://github.com/bitbaum/ai-kit#readme",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/bitbaum/ai-kit.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/bitbaum/ai-kit/issues"
|
|
},
|
|
"keywords": [
|
|
"ai",
|
|
"llm",
|
|
"form-fill",
|
|
"fallback",
|
|
"failover",
|
|
"health-check",
|
|
"free-tier",
|
|
"rate-limit",
|
|
"quota",
|
|
"fair-share",
|
|
"groq",
|
|
"openrouter"
|
|
],
|
|
"type": "module",
|
|
"sideEffects": false,
|
|
"packageManager": "pnpm@11.25.0",
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"provenance": true
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"dist-cjs",
|
|
"src"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./sse": {
|
|
"types": "./dist/sse.d.ts",
|
|
"default": "./dist/sse.js"
|
|
},
|
|
"./forms": {
|
|
"types": "./dist/forms.d.ts",
|
|
"default": "./dist/forms.js"
|
|
},
|
|
"./react": {
|
|
"types": "./dist/react.d.ts",
|
|
"default": "./dist/react.js"
|
|
},
|
|
"./server": {
|
|
"types": "./dist/server.d.ts",
|
|
"default": "./dist/server.js"
|
|
},
|
|
"./registry": {
|
|
"types": "./dist/registry.d.ts",
|
|
"require": "./dist-cjs/registry.js",
|
|
"default": "./dist/registry.js"
|
|
},
|
|
"./web": {
|
|
"types": "./dist/web/index.d.ts",
|
|
"default": "./dist/web/index.js"
|
|
},
|
|
"./capability": {
|
|
"types": "./dist/capability/index.d.ts",
|
|
"default": "./dist/capability/index.js"
|
|
},
|
|
"./grounding": {
|
|
"types": "./dist/grounding/index.d.ts",
|
|
"require": "./dist-cjs/grounding/index.js",
|
|
"default": "./dist/grounding/index.js"
|
|
},
|
|
"./byok": {
|
|
"types": "./dist/byok.d.ts",
|
|
"default": "./dist/byok.js"
|
|
},
|
|
"./seal": {
|
|
"types": "./dist/seal.d.ts",
|
|
"default": "./dist/seal.js"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build": "tsc -p tsconfig.json && tsc -p tsconfig.cjs.json && node -e \"require('fs').writeFileSync('dist-cjs/package.json', JSON.stringify({type:'commonjs'})+'\\n')\"",
|
|
"lint": "eslint .",
|
|
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
"test": "node --test test/*.test.js",
|
|
"check:catalog": "pnpm run build && node scripts/check-catalog.mjs",
|
|
"check:vision": "pnpm run build && node scripts/probe-vision.mjs",
|
|
"smoke": "pnpm run build && node scripts/smoke.mjs",
|
|
"verify": "pnpm run format:check && pnpm run lint && pnpm run typecheck && pnpm run build && pnpm test",
|
|
"prepare": "pnpm run build",
|
|
"format": "prettier --write .",
|
|
"format:check": "prettier --check ."
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^10.0.1",
|
|
"@types/node": "^26.6.1",
|
|
"eslint": "^10.10.0",
|
|
"globals": "^17.12.0",
|
|
"prettier": "3.9.7",
|
|
"typescript": "^6.0.3",
|
|
"typescript-eslint": "^8.70.0"
|
|
},
|
|
"dependencies": {
|
|
"ai-forms": "^0.1.2"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=18"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"react": {
|
|
"optional": true
|
|
}
|
|
}
|
|
}
|