@sliday/tamp 0.4.4 → 0.4.5
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.
- package/README.md +9 -29
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -84,43 +84,23 @@ All 8 default stages are enabled by default. Two additional lossy stages are ava
|
|
|
84
84
|
|
|
85
85
|
## Quick Start
|
|
86
86
|
|
|
87
|
-
###
|
|
87
|
+
### Option A: One-line installer
|
|
88
88
|
|
|
89
89
|
```bash
|
|
90
|
-
|
|
91
|
-
```
|
|
92
|
-
|
|
93
|
-
```
|
|
94
|
-
┌─ Tamp ─────────────────────────────────┐
|
|
95
|
-
│ Proxy: http://localhost:7778 │
|
|
96
|
-
│ Status: ● Ready │
|
|
97
|
-
│ │
|
|
98
|
-
│ Claude Code: │
|
|
99
|
-
│ ANTHROPIC_BASE_URL=http://localhost:7778
|
|
100
|
-
│ │
|
|
101
|
-
│ Aider / Cursor / Cline: │
|
|
102
|
-
│ OPENAI_API_BASE=http://localhost:7778
|
|
103
|
-
└────────────────────────────────────────┘
|
|
90
|
+
curl -fsSL https://tamp.dev/setup.sh | bash
|
|
104
91
|
```
|
|
105
92
|
|
|
106
|
-
|
|
93
|
+
Installs via npm, sets `ANTHROPIC_BASE_URL` and `OPENAI_API_BASE` in your shell profile. Then just run `tamp` in one terminal and your agent in another.
|
|
107
94
|
|
|
108
|
-
|
|
109
|
-
```bash
|
|
110
|
-
export ANTHROPIC_BASE_URL=http://localhost:7778
|
|
111
|
-
claude
|
|
112
|
-
```
|
|
95
|
+
### Option B: Manual
|
|
113
96
|
|
|
114
|
-
**Aider:**
|
|
115
97
|
```bash
|
|
116
|
-
|
|
117
|
-
|
|
98
|
+
npx @sliday/tamp # start proxy
|
|
99
|
+
export ANTHROPIC_BASE_URL=http://localhost:7778 # Claude Code
|
|
100
|
+
export OPENAI_API_BASE=http://localhost:7778 # Aider, Cursor, Cline
|
|
118
101
|
```
|
|
119
102
|
|
|
120
|
-
|
|
121
|
-
Set the API base URL to `http://localhost:7778` in your editor's settings.
|
|
122
|
-
|
|
123
|
-
That's it. Use your agent as normal — Tamp compresses silently in the background.
|
|
103
|
+
Use your agent as normal — Tamp compresses silently in the background.
|
|
124
104
|
|
|
125
105
|
## Configuration
|
|
126
106
|
|
|
@@ -222,7 +202,7 @@ tamp uninstall-service # remove
|
|
|
222
202
|
curl -fsSL https://tamp.dev/setup.sh | bash
|
|
223
203
|
```
|
|
224
204
|
|
|
225
|
-
|
|
205
|
+
Installs `@sliday/tamp` globally via npm and adds `ANTHROPIC_BASE_URL` + `OPENAI_API_BASE` to your shell profile.
|
|
226
206
|
|
|
227
207
|
## What Gets Compressed
|
|
228
208
|
|
package/package.json
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"providers.js",
|
|
11
11
|
"stats.js"
|
|
12
12
|
],
|
|
13
|
-
"version": "0.4.
|
|
13
|
+
"version": "0.4.5",
|
|
14
14
|
"description": "Token compression proxy for coding agents. Works with Claude Code, Aider, Cursor, Cline, Windsurf. 52.6% fewer input tokens.",
|
|
15
15
|
"type": "module",
|
|
16
16
|
"main": "index.js",
|