opencode
opencode copied to clipboard
The open source coding agent.
Sharing does not work - "Cannot find any route matching [GET] https://dev.opencode.ai/s/<share id>"
### Description When opening the share link from OpenCode in my browser, I get a 404 response with the following content: ```json { "status": 404, "message": "Cannot find any route...
### Description PATCH /config endpoint saves the configuration to the wrong file: `$PWD/config.json`. AFAIK that file is not used to load the configuration. I can fix this, I just need...
### Description Even mousing over will cause the input to fill ### OpenCode version 1.0.34 ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating...
## Summary - Adds a `chat.messages.transform` hook that allows plugins to modify the message array before it's sent to the AI provider - Enables plugins to prune, filter, or transform...
Support access LLM APIs with/without HTTP_PROXY & HTTPS_PROXY in these OSs: # in macos export HTTP_PROXY=http://127.0.0.1:7897 export HTTPS_PROXY=http://127.0.0.1:7897 # in linux export HTTP_PROXY=http://127.0.0.1:7890 export HTTPS_PROXY=http://127.0.0.1:7890 # in windows # for...
Aligns install script with runtime XDG compliance. **Changes:** - Install to `$XDG_DATA_HOME/opencode/bin` (defaults to `~/.local/share/opencode/bin`) - Auto-migrate from `~/.opencode/bin` on upgrade - Compatible with existing upgrade detection Fixes #5176
### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request Sometimes...
Prefix compaction/summarize/title system instruction with PROMPT_ANTHROPIC_SPOOF to support proxied Anthropic provider.
## Summary Install script uses `~/.opencode/bin` but runtime uses XDG-compliant paths (`~/.local/share/opencode/`). Should align both to use `$XDG_DATA_HOME/opencode/bin`. ## Changes - Update `install` script to use `XDG_DATA_HOME` (fallback: `~/.local/share`) -...
This PR: - [x] Adds Cloudflare's AI Gateway (https://developers.cloudflare.com/ai-gateway/) as a provider to opencode - [x] Updates the Providers (https://opencode.ai/docs/providers/) docs - [x] Links to the corresponding models.dev `cloudflare-ai-gateway` provider...