@sliday/tamp 0.2.2 → 0.2.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 (2) hide show
  1. package/bin/tamp.js +3 -3
  2. package/package.json +1 -1
package/bin/tamp.js CHANGED
@@ -59,13 +59,13 @@ function printBanner(config) {
59
59
  }
60
60
 
61
61
  // --- Auto-start LLMLingua-2 sidecar if needed ---
62
- const needsSidecar = config.stages.includes('llmlingua') && !config.llmLinguaUrl
62
+ let { config: finalConfig, server: finalServer } = createProxy()
63
+
64
+ const needsSidecar = finalConfig.stages.includes('llmlingua') && !finalConfig.llmLinguaUrl
63
65
  const venvPython = join(root, 'sidecar', '.venv', 'bin', 'python')
64
66
  const serverPy = join(root, 'sidecar', 'server.py')
65
67
  const hasSidecar = existsSync(venvPython) && existsSync(serverPy)
66
68
 
67
- let { config: finalConfig, server: finalServer } = createProxy()
68
-
69
69
  if (needsSidecar && hasSidecar) {
70
70
  const sidecarPort = 8788
71
71
  process.env.TAMP_LLMLINGUA_URL = `http://localhost:${sidecarPort}`
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "providers.js",
10
10
  "stats.js"
11
11
  ],
12
- "version": "0.2.2",
12
+ "version": "0.2.3",
13
13
  "description": "Token compression proxy for coding agents. Works with Claude Code, Aider, Cursor, Cline, Windsurf. 33.9% fewer input tokens.",
14
14
  "type": "module",
15
15
  "main": "index.js",