@tanstack/ai-compaction 0.1.0 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +20 -0
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -1,3 +1,23 @@
1
+ <div align="center">
2
+ <picture>
3
+ <source
4
+ media="(prefers-color-scheme: dark)"
5
+ srcset="https://tanstack.com/api/readme/ai.png?theme=dark"
6
+ />
7
+ <source
8
+ media="(prefers-color-scheme: light)"
9
+ srcset="https://tanstack.com/api/readme/ai.png"
10
+ />
11
+ <img
12
+ src="https://tanstack.com/api/readme/ai.png"
13
+ alt="TanStack AI"
14
+ width="900"
15
+ />
16
+ </picture>
17
+ </div>
18
+
19
+ <br />
20
+
1
21
  # @tanstack/ai-compaction
2
22
 
3
23
  Context-window compaction as a `chat()` middleware. When the working message set
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/ai-compaction",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Context-window compaction middleware for TanStack AI chat()",
5
5
  "author": "",
6
6
  "license": "MIT",
@@ -31,11 +31,11 @@
31
31
  "middleware"
32
32
  ],
33
33
  "peerDependencies": {
34
- "@tanstack/ai": "^0.52.0"
34
+ "@tanstack/ai": "^0.54.0"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@vitest/coverage-v8": "4.1.10",
38
- "@tanstack/ai": "0.52.0"
38
+ "@tanstack/ai": "0.54.0"
39
39
  },
40
40
  "scripts": {
41
41
  "build": "vite build",