opencode
opencode copied to clipboard
The open source coding agent.
Add --cors-origins flag to serve command allowing specification of allowed CORS origins for cross-origin requests. When no origins are specified, defaults to same-origin only for security. Usage: ```bash opencode serve...
These changes make mouse text selection in the TUI chat work as expected - like other terminal applications. Users can now select text beyond the viewport with automatic scrolling, and...
Users can then directly reference that they should *probably* store secrets in a separate .gitignored file rather than the .json itself. Opened this PR because I myself ran to the...
Enables backspace on file attachments to convert to editable text instead of deleting it entirely. When user presses backspace on @stainless.yml, it becomes @stainless.ym with completion dialog open for continued...
This PR adds support for loading MCP configuration from `mcp.json` files, enabling more flexible and backward-compatible configuration management. ### Changes - Load MCP configuration from both global (`~/.config/opencode/mcp.json`) and local...
### Diff Component - **Baseline**: 27.6ms per diff render - **Optimized**: 3.3µs - 2.4ms (depending on cache hit rate) - **CPU Usage Reduction**: 97.82% →
Adds `disable_ai_attribution` config option that allows users to remove the "🤖 Generated with opencode" and "Co-Authored-By: opencode" lines from git commits and pull request descriptions when set to true. Addresses...
Quality of life feature meant for restoring message text and attachments when there is an error sending a chat. Motivation came from losing messages after submitting because of Claude overloaded...
Basically, whenever you exit the editor after making a change it would add an extra newline because of some weird read file interaction. Fixed that by truncating one `"\n"` in...
- Also use small model in /compact summarize feature I think it makes sense to use the small model in summarize as there is no need for the big models...