wraith/frontend/composables
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
..
useRdp.ts feat: RDP frontend — Guacamole client with custom JSON WebSocket tunnel 2026-03-12 17:27:19 -04:00
useSftp.ts feat: Phase 2 — SSH terminal + SFTP sidebar in browser 2026-03-12 17:21:11 -04:00
useTerminal.ts fix: terminal never appears — pending session removed before WS connects 2026-03-13 11:08:34 -04:00
useTerminalThemes.ts feat: Termius-inspired UI — right sidebar, host counts, terminal themes 2026-03-13 10:19:57 -04:00
useVault.ts feat: vault management UI — SSH key import + credential CRUD 2026-03-12 17:30:59 -04:00