wraith/internal
Vantz Stockwell 6729eb5b80 feat: wire 4 backend services — host key verification, CWD tracking, session manager, workspace restore
U-1: Replace ssh.InsecureIgnoreHostKey() with TOFU (Trust On First Use) host
key verification via HostKeyStore. New keys auto-store, matching keys accept
silently, CHANGED keys reject with MITM warning. Added DeleteHostKey() for
legitimate re-key scenarios.

U-2: Wire CWDTracker per SSH session. readLoop() now processes OSC 7 escape
sequences, strips them from terminal output, and emits ssh:cwd:{sessionID}
Wails events on directory changes. Shell integration commands (bash/zsh
PROMPT_COMMAND) injected after connection.

U-3: Session manager now tracks all SSH and RDP sessions via CreateWithID()
which accepts the service-level UUID instead of generating a new one.
ConnectSSH, ConnectSSHWithPassword, ConnectRDP register sessions;
DisconnectSession and RDPDisconnect remove them. ConnectedAt timestamp set.

U-4: WorkspaceService instantiated in New(), clean shutdown flag managed on
startup/exit, workspace state auto-saved on every session open/close.
Frontend-facing proxy methods exposed: SaveWorkspace, LoadWorkspace,
MarkCleanShutdown, WasCleanShutdown, GetSessionCWD.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 13:41:58 -04:00
..
ai feat: "Use Claude Code Token" button — imports credentials.json as OAuth fallback 2026-03-17 12:48:30 -04:00
app feat: wire 4 backend services — host key verification, CWD tracking, session manager, workspace restore 2026-03-17 13:41:58 -04:00
connections feat: add file logging to %APPDATA%\Wraith\wraith.log for headless debugging 2026-03-17 12:09:56 -04:00
credentials feat: wire all remaining stubs — settings, SFTP, RDP, credentials, FreeRDP callbacks 2026-03-17 11:25:03 -04:00
db chore: remove unused deps, add connection_history migration, wire plugin registry 2026-03-17 13:39:44 -04:00
importer Wraith v0.1.0 — Desktop SSH + RDP + SFTP Client 2026-03-17 08:19:29 -04:00
plugin Wraith v0.1.0 — Desktop SSH + RDP + SFTP Client 2026-03-17 08:19:29 -04:00
rdp feat: wire all remaining stubs — settings, SFTP, RDP, credentials, FreeRDP callbacks 2026-03-17 11:25:03 -04:00
session feat: wire 4 backend services — host key verification, CWD tracking, session manager, workspace restore 2026-03-17 13:41:58 -04:00
settings Wraith v0.1.0 — Desktop SSH + RDP + SFTP Client 2026-03-17 08:19:29 -04:00
sftp Wraith v0.1.0 — Desktop SSH + RDP + SFTP Client 2026-03-17 08:19:29 -04:00
ssh feat: wire 4 backend services — host key verification, CWD tracking, session manager, workspace restore 2026-03-17 13:41:58 -04:00
theme Wraith v0.1.0 — Desktop SSH + RDP + SFTP Client 2026-03-17 08:19:29 -04:00
updater fix: create Gitea Release in CI + updater uses releases/latest API 2026-03-17 12:30:45 -04:00
vault Wraith v0.1.0 — Desktop SSH + RDP + SFTP Client 2026-03-17 08:19:29 -04:00