wraith/frontend/stores
Vantz Stockwell d74bb28960 fix: terminal never appears — pending session removed before WS connects
Root cause: TerminalInstance.onMounted() called sessions.removeSession()
on the pending session, dropping sessions.length to 0. SessionContainer's
v-if="hasSessions" went false, unmounting the entire terminal UI before
the WebSocket could establish and add the real session.

Fix: Added replaceSession() to session store. TerminalInstance no longer
removes the pending session — instead passes its ID to connectToHost(),
which swaps it in-place when the backend responds with the real session ID.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 11:08:34 -04:00
..
auth.store.ts feat: nav bar (Home link), profile management, TOTP 2FA 2026-03-13 08:36:03 -04:00
connection.store.ts feat: frontend — auth flow, connection manager UI, host tree 2026-03-12 17:11:02 -04:00
session.store.ts fix: terminal never appears — pending session removed before WS connects 2026-03-13 11:08:34 -04:00