polydev-ai 1.10.6 → 1.10.8
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/lib/tunnelClient.js +2 -1
- package/package.json +1 -1
package/lib/tunnelClient.js
CHANGED
|
@@ -34,7 +34,7 @@ class TunnelClient {
|
|
|
34
34
|
// Configurable intervals
|
|
35
35
|
this.HEARTBEAT_INTERVAL_MS = 30_000; // 30s
|
|
36
36
|
this.POLL_INTERVAL_MS = 3_000; // 3s
|
|
37
|
-
this.CLI_TIMEOUT_MS =
|
|
37
|
+
this.CLI_TIMEOUT_MS = 300_000; // 5 min per request (generous for slow CLIs like Codex)
|
|
38
38
|
|
|
39
39
|
// Try to load freshest token from file on construction
|
|
40
40
|
// (env var may be stale if process was started long ago)
|
|
@@ -215,6 +215,7 @@ class TunnelClient {
|
|
|
215
215
|
},
|
|
216
216
|
body: JSON.stringify({
|
|
217
217
|
instance_id: this.instanceId,
|
|
218
|
+
client_version: this._cachedVersion,
|
|
218
219
|
limit: 5,
|
|
219
220
|
}),
|
|
220
221
|
});
|