@fibteq/myrel-runner 0.27.0 → 0.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -188,6 +188,23 @@ above). Antigravity CLI, OpenCode, Hermes Agent, Cursor CLI, Muse Code and Kimi
188
188
 
189
189
  Tasks in the same Myrel thread continue the same Claude Code session (`--resume`), so follow-ups keep context.
190
190
 
191
+ ### SSH servers
192
+
193
+ A project can list servers its agents may reach over SSH (Project settings > SSH). The key for each is made on this
194
+ computer by the runner (`ssh-keygen -t ed25519`) and kept in `~/.myrel-runner/ssh/<project>/<name>` (mode 600); its
195
+ passphrase goes in the OS keychain (macOS Keychain, Secret Service with `secret-tool` on Linux) where there is one,
196
+ and the key has none otherwise. You can pick a key of your own from `~/.ssh` instead (one without a passphrase).
197
+ Myrel only ever gets the public half. The server's own key, confirmed by you by its fingerprint, is kept in
198
+ `~/.myrel-runner/ssh/known_hosts` and checked strictly on every connection.
199
+
200
+ An agent asks for one command at a time with Myrel's `ssh_run` tool; `ssh <name> <command>` in its shell does the same,
201
+ through an `ssh` (and `scp`, `sftp`) the runner puts first on the run's PATH. Each command is put to you, the
202
+ computer's owner, on a card in the thread (Run it, Allow this server this turn, Don't run); a command that looks
203
+ destructive gets a red card and is never covered by the turn's allow. The runner then runs it with `ssh -F none`,
204
+ Myrel's key and known_hosts only, no agent forwarding or port forwarding, for at most 5 minutes and 200 KB of output.
205
+ Interactive sessions and file copies are refused. git's own SSH (`git-upload-pack` and the like) goes to the real
206
+ `ssh` as before.
207
+
191
208
  ### Your CLI as the thread's agent
192
209
 
193
210
  When a project works in one of your folders, your CLI does not just run tasks: it is the thread's agent. Each turn of