Documentation
¶
Overview ¶
Package remote mirrors agent session directories from SSH-reachable machines into a local cache, so the regular sources can parse them as if they were local. Transport is plain `ssh <host> tar` — nothing has to be installed on the remote side.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var AgentDirs = []string{
".claude/projects",
".codex/sessions",
".cursor/chats",
".opencode",
".local/share/opencode",
".gemini",
".qwen",
".iflow",
".qoder",
".aider.chat.history.md",
".local/share/mimocode",
".kimi-code",
}
AgentDirs are the session directories mirrored from the remote $HOME. Keep in sync with the source packages — each entry is a path relative to the remote user's home, and the local mirror preserves the exact layout so each source's New(<mirrorDir>) still finds the files where it expects them. Aider's whole history is a single flat file rather than a tree, so it's listed verbatim instead of as a directory; tar treats the two cases identically.
NOTE: missing directories on the remote are silently skipped (see remoteScript), so listing an agent the user hasn't installed costs nothing — keep this list permissive.