@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jacexh/claude-web-console",
3
- "version": "0.11.0",
3
+ "version": "0.11.1",
4
4
  "description": "Web-based console for Claude Code — manage sessions, switch models, preview artifacts",
5
5
  "type": "module",
6
6
  "bin": {
@@ -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
  }