@jacexh/claude-web-console 0.11.0 → 0.11.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/package.json
CHANGED
|
@@ -548,6 +548,10 @@ export class SessionManager {
|
|
|
548
548
|
let sessionId: string
|
|
549
549
|
try { sessionId = session.sessionId } catch { break }
|
|
550
550
|
if (this.closedSessionIds.has(sessionId)) break
|
|
551
|
+
// Reset to idle if stream ended without a result (e.g. init-only stream)
|
|
552
|
+
if (this.sessionStatus.get(sessionId) === 'running') {
|
|
553
|
+
this.sessionStatus.set(sessionId, 'idle')
|
|
554
|
+
}
|
|
551
555
|
// Wait briefly before re-entering stream() for next turn
|
|
552
556
|
await new Promise((r) => setTimeout(r, 50))
|
|
553
557
|
}
|