@rynx-ai/runtime 0.1.11-beta.10 → 0.1.11-beta.11
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/host.js +15 -2
- package/package.json +2 -2
package/dist/host.js
CHANGED
|
@@ -1089,9 +1089,22 @@ export class LocalAgentHost {
|
|
|
1089
1089
|
if (resumedThreadId) {
|
|
1090
1090
|
this.onLiveThreadStarted(live, localThreadId, resumedThreadId);
|
|
1091
1091
|
}
|
|
1092
|
+
else if (resumeError &&
|
|
1093
|
+
isThreadNotReadyError(resumeError) &&
|
|
1094
|
+
!record.parentSessionId &&
|
|
1095
|
+
!record.runtimeHomeOwnerSessionId) {
|
|
1096
|
+
// A native thread that still has no rollout after the bounded retry
|
|
1097
|
+
// window has never materialized a Turn. It is safe to forget this
|
|
1098
|
+
// ordinary binding and let the TUI create a fresh native thread.
|
|
1099
|
+
// Fork bindings stay strict because their Provider-native ancestry
|
|
1100
|
+
// must not be silently replaced.
|
|
1101
|
+
await this.sessionStore.delete(localThreadId);
|
|
1102
|
+
live.threadId = null;
|
|
1103
|
+
live.markTerminalReady(true);
|
|
1104
|
+
}
|
|
1092
1105
|
else {
|
|
1093
|
-
//
|
|
1094
|
-
//
|
|
1106
|
+
// A delayed/missing native index or a fork binding remains explicit:
|
|
1107
|
+
// neither is proof that replacing Provider history is safe.
|
|
1095
1108
|
throw resumeError;
|
|
1096
1109
|
}
|
|
1097
1110
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rynx-ai/runtime",
|
|
3
|
-
"version": "0.1.11-beta.
|
|
3
|
+
"version": "0.1.11-beta.11",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/rynx-ai/rynx.git",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"node-pty": "1.2.0-beta.15",
|
|
28
28
|
"ws": "^8.21.0",
|
|
29
|
-
"@rynx-ai/core": "0.1.11-beta.
|
|
29
|
+
"@rynx-ai/core": "0.1.11-beta.11"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/ws": "^8.18.1"
|