v0.1.0-remote.5: Remote Directory Browser
Pre-release
Pre-release
What's New
Remote Directory Browser (/dir command)
/dir(aliases:/cd,/directory) — opens a directory browser dialog to navigate and select the remote working directory- Browse subdirectories, navigate to parent, view git repo indicators
- Create directory — create new directories directly from the browser via
mkdir -p - Type a path — enter an absolute path manually
- Recent directories — shows up to 5 previously used directories per host
Auto Home Directory Detection
- Quick-connecting without a profile (
/remote dev@host:2223) now auto-detects$HOMEon the remote and sets it as the initial working directory - No more broken paths from local
cwdleaking into remote sessions
Directory Persistence
- Last-used directory is remembered per
host:portin KV store - On reconnect, the saved directory is automatically restored
- Toast hint:
"Type /dir to change working directory"shown on first connect
Connect Response Improvements
POST /remote/connectresponse now includesremoteDirfieldGET /remote/statusresponse now includesremoteDirfield
New Server Endpoints
GET /remote/browse?path=...— list directories at a remote path (supports~expansion)POST /remote/set-directory— change working directory, with optionalcreate: trueformkdir -p
Bug Fixes
- Fixed Docker test container SSH permissions (COPY keys at build time instead of read-only bind mount)
- Added default SSH key fallback (
~/.ssh/id_ed25519,id_rsa,id_ecdsa) for quick-connect when no SSH config or agent is available
Install
curl -fsSL https://raw.githubusercontent.com/t-rhex/opencode/dev/install.sh | bashOr download the binary for your platform from the assets below.