@sliday/tamp 0.4.2 → 0.4.3

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 (3) hide show
  1. package/README.md +10 -0
  2. package/index.js +1 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -326,6 +326,16 @@ Max plans have fixed token budgets. With 32% fewer input tokens per request, you
326
326
 
327
327
  Based on 5 sessions/day, 200 requests/session, 60% compressible traffic.
328
328
 
329
+ ## Star History
330
+
331
+ <a href="https://www.star-history.com/?repos=sliday%2Ftamp&type=date&legend=top-left">
332
+ <picture>
333
+ <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/image?repos=sliday/tamp&type=date&theme=dark&legend=top-left" />
334
+ <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/image?repos=sliday/tamp&type=date&legend=top-left" />
335
+ <img alt="Star History Chart" src="https://api.star-history.com/image?repos=sliday/tamp&type=date&legend=top-left" />
336
+ </picture>
337
+ </a>
338
+
329
339
  ## License
330
340
 
331
341
  MIT
package/index.js CHANGED
@@ -58,7 +58,7 @@ function openUpstream(method, upstreamUrl, headers, res) {
58
58
  if (!res.headersSent) {
59
59
  res.writeHead(502, { 'Content-Type': 'application/json' })
60
60
  }
61
- res.end(JSON.stringify({ error: 'upstream_error', message: err.message }))
61
+ res.end(JSON.stringify({ error: 'upstream_error', message: 'failed to connect to upstream' }))
62
62
  })
63
63
 
64
64
  res.on('error', (err) => {
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "providers.js",
11
11
  "stats.js"
12
12
  ],
13
- "version": "0.4.2",
13
+ "version": "0.4.3",
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",