Repository navigation
TGK 0.3.0
Added
- Agents (MCP): Claude Code and other MCP clients can work on your saved hosts through TGK: run commands, read,
search and edit files, copy files up and down. Turn it on in Settings → Agents (off by default) and register TGK
with Claude Code once (the tab gives the command); TGK must be running. Hosts stay closed to agents until you open
them, per host, per group or for all hosts, in the new Agents tab: Read only, Ask (you approve every change in TGK,
with the exact command or a diff of the file) or Full, plus commands that may run without asking and paths that
always need approval (keys and other secrets are protected out of the box). Commands as root (sudo) are always
approved by you, and TGK supplies the password. Agents never see passwords or keys; the status bar shows when they
are connected, and every call is listed in the activity view, mirrored in an "Agent log" tab and kept in an audit
log. See docs/AGENTS.md. - Files (SFTP): a Files tab per host (right-click a host → Browse files, or Browse files in a terminal's
menu). Browse folders (back, forward, up, a path to type, a name filter, hidden files with Ctrl+H, sortable columns),
upload files and folders (pick them or drop them on the window), download them to the Downloads folder or anywhere,
with a transfer panel (progress, speed, time left, cancel) and Replace / Skip for names that already exist. Open or
edit a file in a local program: each save is uploaded back. New folder or file, rename, move, delete, permissions,
copy paths, open a terminal in a folder. Connects through the host's jump hosts with its credentials (a one-time
code is asked once); symbolic links are shown with their target, and deleting or renaming one never touches what it
points to. Files tabs are reopened at their folder with "Reopen my tabs" (older versions open them as terminals). - Files: split view: open a pane beside a Files tab (toolbar → panes, or More): another folder of the same host
(same connection, no second sign-in), this computer's files, or another saved host. Copy or move between panes by
dragging (onto the pane or one of its folders; Shift moves, Ctrl copies), withF5/F6, or from the context
menu, after a confirmation. Within one host a move is a rename. Between two hosts you choose the route: Through
this computer (each file goes through a private local buffer, the hosts never connect to each other) or Directly
between the hosts (host A copies to host B over SSH with B's vault credentials, checked against B's trusted host
key, nothing left on A; B's key works in any format the vault takes — PuTTY, PEM, PKCS#8, with a passphrase — as it
is converted for ssh on host A). Panes refresh when a transfer into them finishes; local panes are reopened too. - Files: built-in text editor: text files open in TGK itself, beside the file pane (double-click or Enter, Edit
/ F4, or View / F3 for read only), without downloading them: line numbers, undo and redo, find and replace
(Ctrl+F, Ctrl+H), go to line (Ctrl+G), Tab indents (with the file's own tabs or spaces), the file's encoding and line
endings kept. Ctrl+S saves straight to the host: written beside the file and put in its place, keeping its
permissions and owner, after checking that nobody changed it meanwhile. Files you can't read or write are opened and
saved as root with sudo when you ask (the password is asked for, never stored). Logs (*.log,/var/log) open read
only at their end and follow what is added; files over 8 MB show their last 2 MB. Closing a tab, signing out or
quitting with unsaved changes asks first. Other files (images, archives, documents…) still open in a program here.
Fixed
- Windows, macOS: resizing the window by dragging its edge now repaints the content live, instead of only once the
mouse button is released.
Full Changelog: v0.2.4...v0.3.0