Open History to see the last commit
1{
2 "name": "@tanstack/ai-compaction",
3 "version": "0.3.1",
4 "description": "Context-window compaction middleware for TanStack AI chat()",
5 "author": "",
6 "license": "MIT",
7 "repository": {
8 "type": "git",
9 "url": "git+https://github.com/TanStack/ai.git",
10 "directory": "packages/ai-compaction"
11 },
12 "type": "module",
13 "module": "./dist/esm/index.js",
14 "types": "./dist/esm/index.d.ts",
15 "exports": {
16 ".": {
17 "types": "./dist/esm/index.d.ts",
18 "import": "./dist/esm/index.js"
19 }
20 },
21 "sideEffects": false,
22 "files": [
23 "dist",
24 "src"
25 ],
26 "scripts": {
27 "build": "vite build",
28 "clean": "premove ./build ./dist",
29 "lint:fix": "oxlint src --type-aware --fix",
30 "test:build": "publint --strict",
31 "test:oxlint": "oxlint src --type-aware",
32 "test:coverage": "vitest run --passWithNoTests --coverage --coverage.include='src/**' --coverage.reporter=text-summary --coverage.reporter=json-summary",
33 "test:lib": "vitest --passWithNoTests",
34 "test:lib:dev": "pnpm test:lib --watch",
35 "test:types": "tsc"
36 },
37 "keywords": [
38 "ai",
39 "tanstack",
40 "compaction",
41 "context",
42 "middleware"
43 ],
44 "peerDependencies": {
45 "@tanstack/ai": "workspace:^"
46 },
47 "devDependencies": {
48 "@tanstack/ai": "workspace:*",
49 "@vitest/coverage-v8": "4.1.10"
50 }
51}