opencode icon indicating copy to clipboard operation
opencode copied to clipboard

The open source coding agent.

Results 3336 opencode issues
Sort by recently updated
recently updated
newest added

An alternative to `subagent`, that instead uses a fork of the existing session. Unlike `/fork` it should hopefully bring in the new prompt, and receive other UI benefits that subagents...

### Description ## Vulnerability Summary The OpenCode codebase has critical security vulnerabilities: 1. No CORS validation - /packages/opencode/src/server/server.ts:135 uses .use(cors()) with no origin restrictions 2. No authentication - Any request...

bug

### Question https://github.com/sst/opencode/blob/1658a3ff59b9ebacb95221fab69b4d3cecca08fd/packages/opencode/src/server/server.ts#L2629 this is both a stability and privacy concern. - i've had situations where my docker deployment of an opencode server fails to hit this proxy url sometimes....

Add model identity information to the system prompt, informing the assistant of its name, model ID, provider, and the current OpenCode version. Models often misidentify themselves when asked (see #3063...

## Problem Fixes #9217 https://github.com/anomalyco/opencode/issues/9217 When reloading an ACP session, file attachments were not being replayed correctly: - `file` type parts in stored messages were not being sent to ACP...

When ~/.local/share exists with restrictive permissions (e.g., created by PowerShell or uv), opencode crashes with an unhelpful EACCES error. This adds proper error handling that provides clear remediation steps. Fixes...

### Description System: - Windows 11 with Powershell and Git Bash - Opencode v1.0.207 - CRLF line endings per default Editing files with Opencode always messes with whitespace and line...

bug
windows

### Description I have the issue that while opencode recognises the folder that we run (eg we run opencode from folder /opt/myproject) , the web version thinks it is run...

bug
web

### 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 Add...

discussion

### Description When OpenCode is configured to use Devstral (devstral-2512) through the OpenAI-compatible provider path (LiteLLM OpenAI-compatible endpoint), the run fails as soon as the agent performs an edit operation...

bug