squeezr-ai 1.16.16 → 1.16.18

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/bin/squeezr.js CHANGED
@@ -177,9 +177,7 @@ function installShellWrapper() {
177
177
  const psMarker = '# squeezr wrapper'
178
178
  const psFunction = `${psMarker}
179
179
  function squeezr {
180
- $bin = (Get-Command squeezr.cmd -ErrorAction SilentlyContinue).Source
181
- if (-not $bin) { $bin = (Get-Command squeezr -ErrorAction SilentlyContinue).Source }
182
- & node $bin @args
180
+ & squeezr.cmd @args
183
181
  if ($args[0] -match '^(start|setup|update)$') {
184
182
  @('ANTHROPIC_BASE_URL','GEMINI_API_BASE_URL','HTTPS_PROXY','NODE_EXTRA_CA_CERTS') | ForEach-Object {
185
183
  $v = [Environment]::GetEnvironmentVariable($_, 'User')
package/dist/server.js CHANGED
@@ -15,7 +15,7 @@ import { VERSION } from './version.js';
15
15
  const ANTHROPIC_API = 'https://api.anthropic.com';
16
16
  const OPENAI_API = 'https://api.openai.com';
17
17
  const GOOGLE_API = 'https://generativelanguage.googleapis.com';
18
- const SKIP_REQ_HEADERS = new Set(['host', 'content-length', 'transfer-encoding', 'connection', 'upgrade']);
18
+ const SKIP_REQ_HEADERS = new Set(['host', 'content-length', 'transfer-encoding', 'connection', 'upgrade', 'expect']);
19
19
  function readCodexToken() {
20
20
  try {
21
21
  const d = JSON.parse(readFileSync(join(homedir(), '.codex', 'auth.json'), 'utf-8'));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squeezr-ai",
3
- "version": "1.16.16",
3
+ "version": "1.16.18",
4
4
  "description": "AI proxy that compresses Claude Code, Codex, Aider, Gemini CLI and Ollama context windows to save thousands of tokens per session",
5
5
  "keywords": [
6
6
  "claude",