Commit graph

6 commits

Author SHA1 Message Date
vrubelroman
6c13b19ad1 feat(imgview): image actor with kitty/ueberzugpp, SyncTTY and off-UI decoding (5C.1)
Adds golang.org/x/image v0.39.0 (draw, webp; vendored; x/sys and x/text
unchanged). SyncTTY serialises renderer frames and image blocks under one
mutex. The actor keeps only the latest Desired state (100 Apply → ≤ 2
decodes), refuses images above 50 Mpx from the header alone, scales with
ApproxBiLinear and writes kitty graphics as one ESC7/CUP/APC/ESC8 block
(raw RGBA, chunked or via a temp file, tmux passthrough). ueberzugpp gets
JSON lines through a pipe with a 200 ms write deadline; a helper that stops
reading is killed with its process group and the backend falls back to
none with an event. Stop removes the placement, temp files and processes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 09:01:26 +03:00
vrubelroman
8584a638f1 feat(ssh): add sshconfig resolver and host store (2B.1)
Resolve host aliases through ~/.ssh/config with kevinburke/ssh_config:
HostName defaults to the alias, key=value syntax, Host * defaults,
Include, quotes, several IdentityFile, '#' inside values (N-P1-5).
Endpoint.Key includes the user (N-P2-3). Port the hosts.dat store with
atomic writes and a base64 password field.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 23:27:58 +03:00
vrubelroman
c15ade247a fix: verify SSH host keys, support ssh-agent, fix remote dir walk bugs
- Replace ssh.InsecureIgnoreHostKey() with TOFU verification against
  ~/.ssh/known_hosts (accept-new for unknown hosts, hard reject on a
  changed key) to close a MITM hole on every SFTP connection.
- Actually connect to a running ssh-agent (SSH_AUTH_SOCK) for auth
  instead of only scanning default key files on disk; give a clear
  error when an explicit IdentityFile is passphrase-protected.
- Fix SSHClient.walk()/DirectorySize: the internal filepathSkipDir
  sentinel leaked out as a real error on stat/ReadDir failures instead
  of being swallowed, aborting size calculation on the first
  unreadable subdirectory instead of skipping it.
- Skip symlink-to-directory entries in remote directory copies instead
  of failing the whole transfer trying to Open() them as regular files.
- Consolidate 5 duplicated sudo-aware home-dir lookups into
  internal/homedir, adding a missing os.Geteuid()==0 check before
  trusting SUDO_USER.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-03 15:31:32 +00:00
vrubelroman
1ed2d3defb SSH connection status indicators
- Add Connected bool field to vfs.Entry and RemoteMount
- Track connection status in sshState.connectedHosts
- Show status icon (connected/disconnected) in pane header when browsing remote host
- Async SSH connection test with cancel support for Add Host dialog
- Colored labels and styled help text in SSH dialogs
- Confirmation dialog when deleting manually-added SSH hosts
2026-04-29 03:11:53 +03:00
vrubelroman
bd67696fb0 Add syntax highlighting to text previews 2026-04-22 23:35:42 +03:00
vrubelroman
059f925e00 Initial vcom TUI prototype 2026-04-22 22:10:50 +03:00