* fix: add WebSocket reconnection with exponential backoff in DirectTerminal A single network hiccup permanently killed the terminal with no retry. Now transient disconnects trigger automatic reconnection (1s→2s→4s…15s max) while permanent errors (4001 auth, 4004 not-found) still fail immediately. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: reset reconnection state when sessionId changes Reset permanentErrorRef and reconnectAttemptRef at the start of the useEffect so switching sessions doesn't inherit stale error/retry state. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| e2e | ||
| screenshots | ||
| server | ||
| src | ||
| .env.local.example | ||
| .gitignore | ||
| next-env.d.ts | ||
| next.config.js | ||
| package.json | ||
| postcss.config.mjs | ||
| tsconfig.json | ||
| vitest.config.ts | ||