@astralform/js 7.1.0 → 7.1.1
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/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1310,7 +1310,7 @@ function translateWireEvent(wire) {
|
|
|
1310
1310
|
|
|
1311
1311
|
// src/session.ts
|
|
1312
1312
|
var SSE_MAX_RECONNECTS = 6;
|
|
1313
|
-
var SSE_STALL_TIMEOUT_MS =
|
|
1313
|
+
var SSE_STALL_TIMEOUT_MS = 135e3;
|
|
1314
1314
|
var TOOL_RESULT_MAX_RETRIES = 3;
|
|
1315
1315
|
var CONVERSATION_PAGE_SIZE = 50;
|
|
1316
1316
|
function sseReconnectDelayMs(attempt) {
|
|
@@ -1721,7 +1721,7 @@ var ChatSession = class {
|
|
|
1721
1721
|
* whether an ended stream means "turn done" vs "dropped, reconnect".
|
|
1722
1722
|
*
|
|
1723
1723
|
* ``onStall`` aborts the per-attempt connection: if no event arrives within
|
|
1724
|
-
* SSE_STALL_TIMEOUT_MS (backend keepalives land every
|
|
1724
|
+
* SSE_STALL_TIMEOUT_MS (backend keepalives land every 15-45s), the stream is a
|
|
1725
1725
|
* zombie — ``reader.read()`` will never settle — so we kill the fetch and
|
|
1726
1726
|
* throw a ConnectionError, feeding the caller's reconnect-from-lastSeq loop.
|
|
1727
1727
|
*/
|