squeezr-ai 1.14.13 → 1.14.14
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 +9 -3
- package/package.json +1 -1
package/bin/squeezr.js
CHANGED
|
@@ -65,7 +65,10 @@ async function startDaemon() {
|
|
|
65
65
|
req.setTimeout(2000, () => { req.destroy(); resolve(false) })
|
|
66
66
|
})
|
|
67
67
|
if (running) {
|
|
68
|
-
|
|
68
|
+
const mitmPort = Number(port) + 1
|
|
69
|
+
console.log(`Squeezr is already running`)
|
|
70
|
+
console.log(` HTTP proxy (Claude/Aider/Gemini): http://localhost:${port}`)
|
|
71
|
+
console.log(` MITM proxy (Codex): http://localhost:${mitmPort}`)
|
|
69
72
|
return
|
|
70
73
|
}
|
|
71
74
|
|
|
@@ -83,8 +86,11 @@ async function startDaemon() {
|
|
|
83
86
|
})
|
|
84
87
|
child.unref()
|
|
85
88
|
fs.closeSync(logFd)
|
|
86
|
-
|
|
87
|
-
console.log(`
|
|
89
|
+
const mitmPort = Number(port) + 1
|
|
90
|
+
console.log(`Squeezr started (pid ${child.pid})`)
|
|
91
|
+
console.log(` HTTP proxy (Claude/Aider/Gemini): http://localhost:${port}`)
|
|
92
|
+
console.log(` MITM proxy (Codex): http://localhost:${mitmPort}`)
|
|
93
|
+
console.log(` Logs: ${logFile}`)
|
|
88
94
|
}
|
|
89
95
|
|
|
90
96
|
function showLogs() {
|
package/package.json
CHANGED