Skip to content

v0.1.0-remote.5: Remote Directory Browser

Pre-release
Pre-release

Choose a tag to compare

@t-rhex t-rhex released this 04 Feb 01:34
· 6 commits to dev since this 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 $HOME on the remote and sets it as the initial working directory
  • No more broken paths from local cwd leaking into remote sessions

Directory Persistence

  • Last-used directory is remembered per host:port in 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/connect response now includes remoteDir field
  • GET /remote/status response now includes remoteDir field

New Server Endpoints

  • GET /remote/browse?path=... — list directories at a remote path (supports ~ expansion)
  • POST /remote/set-directory — change working directory, with optional create: true for mkdir -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 | bash

Or download the binary for your platform from the assets below.