Skip to content

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 10 Jun 15:41
· 13 commits to main since this release
3744552

Changed

  • ocp run on unix now launches opencode as a child process instead of replacing the current process via syscall.Exec. Signals (SIGINT, SIGTERM, SIGQUIT, SIGHUP) are forwarded to the child, and stdio is inherited as before. This enables post-exit housekeeping that was impossible when ocp ceased to exist after launch.

Added

  • Post-exit credential sync: after opencode exits, any providers written to the XDG default data directory (~/.local/share/opencode/auth.json, mcp-auth.json) are merged back into the profile's auth files. This fixes the long-standing issue where opencode auth login and /connect would write credentials to the system-wide location instead of the profile, since opencode resolves its auth path from XDG_DATA_HOME rather than OPENCODE_CONFIG_DIR. Symlinked (linked-mode) profiles sync through to the shared base automatically.