opencode
opencode copied to clipboard
The open source coding agent.
Single-click archive in sidebar can cause accidental data loss. TUI already has confirmation for delete: Request: Add similar two-step confirmation to WebUI.
## Problem When archiving a session in WebUI sidebar, the session briefly disappears then reappears (~100ms later). ## Possible Cause The `session.archive` API may trigger a `session.updated` SSE event before...
### What does this PR do? This PR adds support for `resource` content types in MCP tool outputs. Previously, OpenCode ignored these, causing tools like `github-mcp-server`'s `get_file_contents` to return empty...
### Description OpenCode currently ignores MCP tool outputs with `type: "resource"`. This prevents agents from receiving data from tools that return embedded resources, such as the `get_file_contents` tool in the...
## Summary The WebUI homepage only displays 5 most recently accessed projects. There's no way to view or access other registered projects through the UI. ## Problem - Projects are...
When running in headless/automated mode (e.g. ralph loops), opencode hangs indefinitely when trying to read truncated tool output. The issue is in `agent.ts` - the allow rule for `Truncate.DIR` uses...
Fixes #7876 `external-directory.ts` appends `/*` when creating permission patterns, but `agent.ts` was setting the allow rule without it. The patterns never matched, so permission requests fell through to "ask" and...
## Summary Fixes a race condition where `onMount()` was called before the `prompt` ref was initialized, causing a "undefined is not an object (evaluating 'prompt.set')" error when starting a new...
### Description I randomly get errors and then they get stuck there ### Plugins Oh my opencode ### OpenCode version 1.1.13 ### Steps to reproduce _No response_ ### Screenshot and/or...
### Description ``` TypeError: undefined is not an object (evaluating 'prompt.set') at (src/cli/cmd/tui/routes/home.tsx:120:7) at untrack (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:475:12) at runComputation (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:742:22) at updateComputation (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:724:3) at runTop (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:833:7) at runUserEffects (../../node_modules/.bun/[email protected]/node_modules/solid-js/dist/dev.js:943:36) at runUpdates...