@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.d.cts
CHANGED
|
@@ -1329,7 +1329,7 @@ declare class ChatSession {
|
|
|
1329
1329
|
* whether an ended stream means "turn done" vs "dropped, reconnect".
|
|
1330
1330
|
*
|
|
1331
1331
|
* ``onStall`` aborts the per-attempt connection: if no event arrives within
|
|
1332
|
-
* SSE_STALL_TIMEOUT_MS (backend keepalives land every
|
|
1332
|
+
* SSE_STALL_TIMEOUT_MS (backend keepalives land every 15-45s), the stream is a
|
|
1333
1333
|
* zombie — ``reader.read()`` will never settle — so we kill the fetch and
|
|
1334
1334
|
* throw a ConnectionError, feeding the caller's reconnect-from-lastSeq loop.
|
|
1335
1335
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -1329,7 +1329,7 @@ declare class ChatSession {
|
|
|
1329
1329
|
* whether an ended stream means "turn done" vs "dropped, reconnect".
|
|
1330
1330
|
*
|
|
1331
1331
|
* ``onStall`` aborts the per-attempt connection: if no event arrives within
|
|
1332
|
-
* SSE_STALL_TIMEOUT_MS (backend keepalives land every
|
|
1332
|
+
* SSE_STALL_TIMEOUT_MS (backend keepalives land every 15-45s), the stream is a
|
|
1333
1333
|
* zombie — ``reader.read()`` will never settle — so we kill the fetch and
|
|
1334
1334
|
* throw a ConnectionError, feeding the caller's reconnect-from-lastSeq loop.
|
|
1335
1335
|
*/
|
package/dist/index.js
CHANGED
|
@@ -1263,7 +1263,7 @@ function translateWireEvent(wire) {
|
|
|
1263
1263
|
|
|
1264
1264
|
// src/session.ts
|
|
1265
1265
|
var SSE_MAX_RECONNECTS = 6;
|
|
1266
|
-
var SSE_STALL_TIMEOUT_MS =
|
|
1266
|
+
var SSE_STALL_TIMEOUT_MS = 135e3;
|
|
1267
1267
|
var TOOL_RESULT_MAX_RETRIES = 3;
|
|
1268
1268
|
var CONVERSATION_PAGE_SIZE = 50;
|
|
1269
1269
|
function sseReconnectDelayMs(attempt) {
|
|
@@ -1674,7 +1674,7 @@ var ChatSession = class {
|
|
|
1674
1674
|
* whether an ended stream means "turn done" vs "dropped, reconnect".
|
|
1675
1675
|
*
|
|
1676
1676
|
* ``onStall`` aborts the per-attempt connection: if no event arrives within
|
|
1677
|
-
* SSE_STALL_TIMEOUT_MS (backend keepalives land every
|
|
1677
|
+
* SSE_STALL_TIMEOUT_MS (backend keepalives land every 15-45s), the stream is a
|
|
1678
1678
|
* zombie — ``reader.read()`` will never settle — so we kill the fetch and
|
|
1679
1679
|
* throw a ConnectionError, feeding the caller's reconnect-from-lastSeq loop.
|
|
1680
1680
|
*/
|