squeezr-ai 1.16.6 → 1.16.7
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 +2 -0
- package/bin/squeezr.js +10 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -23,6 +23,8 @@ squeezr setup # configures env vars, auto-start, and CA trust
|
|
|
23
23
|
squeezr start
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
+
> **WSL users:** After `squeezr setup` or `squeezr update`, close the terminal and open a new one so the environment variables take effect.
|
|
27
|
+
|
|
26
28
|
`squeezr setup` handles everything automatically:
|
|
27
29
|
- Sets `ANTHROPIC_BASE_URL`, `GEMINI_API_BASE_URL`, `HTTPS_PROXY`, `NODE_EXTRA_CA_CERTS`
|
|
28
30
|
- Registers auto-start (launchd on macOS, systemd on Linux, Task Scheduler/NSSM on Windows)
|
package/bin/squeezr.js
CHANGED
|
@@ -991,7 +991,10 @@ Done!
|
|
|
991
991
|
WSL env vars added to ${profile}.
|
|
992
992
|
|
|
993
993
|
To activate in THIS terminal: source ${profile}
|
|
994
|
-
|
|
994
|
+
|
|
995
|
+
⚠️ IMPORTANT: Close this terminal and open a new one so the
|
|
996
|
+
environment variables take effect. Otherwise tools like
|
|
997
|
+
Claude Code may fail with 502 errors.
|
|
995
998
|
|
|
996
999
|
squeezr status — check it's running
|
|
997
1000
|
squeezr gain — see token savings
|
|
@@ -1050,6 +1053,12 @@ switch (command) {
|
|
|
1050
1053
|
try {
|
|
1051
1054
|
execSync(`node "${squeezrBin}" start`, { stdio: 'inherit' })
|
|
1052
1055
|
} catch {}
|
|
1056
|
+
|
|
1057
|
+
if (isWSL()) {
|
|
1058
|
+
console.log('\n ⚠️ IMPORTANT: Close this terminal and open a new one so the')
|
|
1059
|
+
console.log(' environment variables take effect. Otherwise tools like')
|
|
1060
|
+
console.log(' Claude Code may fail with 502 errors.\n')
|
|
1061
|
+
}
|
|
1053
1062
|
})()
|
|
1054
1063
|
break
|
|
1055
1064
|
case 'stop':
|
package/package.json
CHANGED