Skip to content

v0.1.0-remote.7: Fix config loading in remote mode

Pre-release
Pre-release

Choose a tag to compare

@t-rhex t-rhex released this 04 Feb 16:58
· 4 commits to dev since this release

What's Changed

Bug Fix

  • Fix "config file not valid" error after remote connect — Config files (~/.config/opencode-remote/, ~/.opencode-remote/) are local to the machine. After remote connect, CurrentFilesystem becomes RemoteFilesystem, which tried to read local Mac paths (e.g. /Users/username/.opencode-remote/opencode-remote.jsonc) via SFTP on the remote Linux server. Now config files are always read from the local filesystem.
  • Skip project .opencode-remote/ directory scan in remote mode — Filesystem.up() uses local fs operations and would fail when Instance.directory is a remote path.

Install

curl -fsSL https://raw.githubusercontent.com/t-rhex/opencode/dev/install.sh | bash