contribution/compass
anomalyco/opencode

OpenCode

602 signals · 626 observation events

Open repository ↗

The open source coding agent.

197.0K stars25.3K forksTypeScriptMITkeyword: OpenCode
PROJECT NEWS

Release, roadmap, and discussion

All news →
anomalyco/opencode

OpenCode

Coding-Agent Infrastructure
Latest stable

v1.18.18

v1.18.18
  • Core
  • Bugfixes
  • Select the Kimi system prompt correctly for official Moonshot and Kimi providers
  • Fix xhigh reasoning effort for xai models
Original release notes ↗

Publicly indicated next

  • No public prerelease or open milestone found.

Prereleases and milestones indicate public plans; they are not delivery commitments.

Observation trail

  1. discoveredinitial snapshot
  2. changedupdatedAt, metrics, assignees
  3. changedupdatedAt, metrics
  4. discoveredinitial snapshot
  5. discoveredinitial snapshot
  6. discoveredinitial snapshot
  7. discoveredinitial snapshot
  8. changedtext, updatedAt
  9. discoveredinitial snapshot
  10. discoveredinitial snapshot
  11. changedupdatedAt, metrics, state
  12. discoveredinitial snapshot
  13. changedupdatedAt
  14. discoveredinitial snapshot
  15. discoveredinitial snapshot
  16. changedtitle, text, updatedAt
  17. changedmetrics
  18. changedmetrics
  19. changedmetrics
  20. changedmetrics
  21. changedmetrics
  22. changedmetrics
  23. changedmetrics
  24. changedmetrics
  25. changedmetrics
  26. changedmetrics
  27. changedmetrics
  28. changedmetrics
  29. changedmetrics
  30. changedtext, updatedAt, state
50 shown
issue

opencode not responding

you know the bdddd sound, every time i message big pickle or any other model the sound appears and the ai doesnt respond to me. please fix this

importance 5@kingjoeishereclosedOriginal evidence ↗
issue

ci(close-prs): bun script failures are silent in the run log

## Problem When the `close-prs` workflow runs `bun script/github/close-prs.ts` and the script fails (GraphQL pagination error, token-scope error, unhandled exception), the workflow step fails silently — the error is buried in the full log with no visible annotation in the run summary. This makes diagnosing close-prs failures harder than necessary. The run sh

importance 5@niSteeclosedneeds:complianceOriginal evidence ↗
issue

Estoy pagando la versión de OpenCode Go y me sale deepseek v4 Flash con limites

I ran out of Deepseek v4 Flash credits and paid for OpenCode Go, but it keeps telling me I need to pay for the Go subscription. I can no longer use the Deepseek v4 Flash version, even after paying! <img width="1009" height="261" alt="Image" src="https://github.com/user-attachments/assets/fa81aa15-90b6-4ada-965d-60bcd6a397f0" />

importance 5@jefmausclosedneeds:complianceOriginal evidence ↗
issue

Models like Nemotron 3 Ultra are very slow

### Description Whenever I go on OpenCode to do my daily developing, I am happy with the idea and view, but the model speed makes me upset. ## Main Issue I select `nvidianemotron-3-ultra-550b-a55b` via the NVIDIA endpoint and begin my work. Usually, my first message does not go far. Maybe it does 5 tool calls and then quits, which is a big issue because I ma

importance 5@elijahshepherdopenOriginal evidence ↗
issue

Desktop fails to load sessions: no such column: project_id

### Description Desktop 1.18.17 dies on launch while loading sessions. The sidecar returns 500 from `Project.migrateProjectId`: ``` Error: no such column: project_id ``` Some builds replaced the `workspace` table with a provider/binding schema and dropped `project_id`. Current `dev` still remaps project IDs with `UPDATE workspace SET project_id = ...`, which

importance 5@DatScreameropenOriginal evidence ↗
issue

MCP Proxmox MVP - Proxmox Server Monitoring & Basic Commands

## Problem Statement We need to build an MCP (Model Context Protocol) server for Proxmox VE that enables AI agents to monitor server status, access logs, and execute basic commands. This is an MVP focused on core monitoring and lifecycle management capabilities. ## Solution Build a TypeScript/Node.js MCP server that connects to Proxmox VE via API token authe

importance 5@drmfarclosedOriginal evidence ↗
issue

[Desktop] Tab switch resets scroll position — returns to bottom instead of where you left off

### Description In the desktop app, scrolling to a position in a session, switching to another tab, then switching back resets the view to the bottom of the conversation instead of restoring where I left off. Makes it impossible to continue reading long output or compare content across tabs. ### Steps to reproduce 1. Open a session with a long conversation h

importance 5@shiroe120closedOriginal evidence ↗
issue

[BUG] Cyclic symlinks in global skills cause blank TUI and unbounded memory growth

## Description A cyclic directory symlink inside a global skill causes OpenCode to remain on a completely blank TUI while skill discovery recursively follows the loop. On macOS, the process stayed alive, logs stopped at `message=init`, and memory grew to approximately 7.3 GB. Sampling showed a Bun worker repeatedly performing `openat` calls. Moving the cycli

importance 5@YoungSensopenOriginal evidence ↗
issue

deepseek-v4-pro and deepseek-v4-flash slugs serve non-DeepSeek models (identity probe evidence)

## Summary Identity probes against OpenCode Go's DeepSeek slugs show the endpoint is serving a **rotating pool of non-DeepSeek models**, not DeepSeek V4. ## Evidence (2026-08-12, endpoint https://opencode.ai/zen/go/v1/chat/completions, browser UA required — Cloudflare 1010 blocks urllib default UA) **deepseek-v4-pro** (max_tokens=300, identity question): - R

importance 5@dmdyne99closedOriginal evidence ↗
issue

opencode run --format json emits auto-compaction internals as ordinary text events

## Summary When automatic compaction occurs, `opencode run --format json --thinking --auto` emits internal compaction output as normal `type: "text"` JSONL events. This includes the compaction assistant summary and, in some cases, the synthetic user continuation prompt. JSONL consumers cannot distinguish these from user-visible assistant output. ## Reproduct

importance 5@AmAzing129openOriginal evidence ↗
issue

35;125;28M in console after existing

### Description If I exit opencode (Ubuntu) it writes 35;125;28M into the console which prevents me from running directly the next command, I need first to delete these. ### Plugins _No response_ Version 1.18.18 _No response_ ### Steps to reproduce Start opencode via the command line ### Screenshot and/or share link <img width="131" height="55" alt="Image" s

importance 5@vogellaopenOriginal evidence ↗
issue

event table keeps every message.updated.1 snapshot: 378 MB of it is superseded copies

### Description `~/.local/share/opencode/opencode.db` on this machine is 1.4 GB. 434 MB of that is the `event` table, and 378 MB of the `event` table is `message.updated.1` rows. Those 17,940 rows cover only **4,639 distinct messages**. Each `message.updated.1` event carries a full snapshot of the message aggregate, so a long streaming response gets written

importance 5@thedavidwengclosedOriginal evidence ↗
issue

Tool files that fail to load crash the whole session/registry instead of being skipped

**Title:** Tool files that fail to load crash the whole session/registry instead of being skipped ## Problem When a project has a `.opencode/tool/*.{js,ts}` file that fails to load (for example, it imports a package that couldn't be installed), the failure **dies the entire tool registry** — and with it, every session run in that project. A single bad tool f

importance 5@agent-harnesses[bot]openOriginal evidence ↗
issue

Tool files that fail to load crash the whole session/registry instead of being skipped

### Description When a project has a `.opencode/tool/*.{js,ts}` file that fails to load (for example, it imports a package that couldn't be installed), the failure **dies the entire tool registry** — and with it, every session run in that project. A single bad tool file makes the project unusable. The tool registry in `packages/opencode/src/tool/registry.ts`

importance 5@DatScreameropenOriginal evidence ↗
issue

Session run defects are silently dropped — UI shows no error, session just goes idle

### Description When a session run fails with an unexpected defect (e.g. a tool-load failure, a resolver error, a provider bug), **no error is surfaced in the UI at all**. The session transitions to idle as if it succeeded — the user gets no error message, nothing to indicate the run failed. ### Steps to reproduce 1. Set up a project whose tool load fails (a

importance 5@DatScreameropenOriginal evidence ↗
issue

Todos not updating properly

### Description I have been using opencode for more than 2 months now and there is a very weird problem with it and that is the todos of the agent: - it creates the todos and does the work but the todos states are not updated. - and if it starts a new work, the todos of the previous work are there and no new todos are created ### Plugins _No response_ ### Op

importance 5@CodeHalcyonopenOriginal evidence ↗
issue

`opencode run` (headless) never exits after a fatal non-retryable provider error — hung 3 days on "Monthly usage limit reached"

## Summary When the provider returns a **fatal, non-retryable** API error on the very first stream, `opencode run` (headless) logs the error and then **never exits**. The process stays alive indefinitely, produces no further stdout/stderr, and returns no exit code. In my case three independent `opencode run` invocations hit `AI_APICallError: Monthly usage li

importance 5@DaisukeYodaclosedOriginal evidence ↗
issue

Comment Box UX Bug: Comment Popup appears upon hitting a line meanwhile should appear if the user Hits plus '+' icon button for adding Comment

https://github.com/user-attachments/assets/0b1eda3c-2b5e-4fe7-939c-81be212c5fbe UX is for adding a comment on a line(s), which is good but was better before the recent update because with this update, once I hit a line—even just once—it makes a comment pop up. Meanwhile, if the user needs to make a comment, they should hit the '+' icon on the left side. This

importance 5@Significant-HacksclosedOriginal evidence ↗
issue

On Enhancing AI Programming Assistants: Three Practical Suggestions for Tooling Optimization

Reflections and Suggestions on AI Programming Tools Over the past year and a half, I have extensively used various AI‑powered programming assistants and gained considerable hands‑on experience. Based on this, I would like to offer the following three suggestions for your consideration: Integrate open‑source high‑performance search tools as a priority I recom

importance 5@xiyuan27-rgbclosedOriginal evidence ↗
issue

[FEATURE]:

### 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 i have made a top up of 10$...but open code go still giving message...free usage expired...what to do now

importance 5@gelfondnetworkofficial-maxclosedOriginal evidence ↗
issue

[Bug] v1 path drops variant body fields (e.g. \reasoning_split`) for @ai-sdk/openai-compatible provider`

### Description ## Summary When using a custom `@ai-sdk/openai-compatible` provider with a model that has body-level options in its variant (e.g. `reasoning_split`), opencode's v1 path silently drops those fields from the actual HTTP request. The body schema constructed by `streamText` is missing fields that the user's variant config clearly defines. Verifie

importance 5@josedeng-aaxisclosedOriginal evidence ↗
issue

[Windows] Task list hangs and becomes unresponsive when interacting with todos

1. Description 在 Windows 上使用 OpenCode 时,待办任务(Todo/Task)列表经常卡住,无法进行任何变更操作,也不会推进到下一步。 2. Expected Behavior - 任务应能正常推进,从"待办"变为"进行中"再到"已完成" - 不应因任务数量或任务状态而卡住 如下图所示,此时开发计划已接近尾声,但还停留在错误的阶段。 <img width="1404" height="548" alt="Image" src="https://github.com/user-attachments/assets/27bb9adc-a3e7-4f9a-881a-24e526b887a2" />

importance 5@AlanNiewclosedOriginal evidence ↗
issue

.git/index.lock stuck with "Resource busy" (EBUSY) — opencode holds `.git` dir open on encrypted APFS volume

### Description ## What happened While working in a repository on an encrypted APFS volume, opencode performed git operations (status/diff/log, then later a commit attempt). A `.git/index.lock` file appeared and became permanently stuck: - `rm`, `mv`, and `python os.unlink()` on `.git/index.lock` all fail with `Resource busy` (errno 16 / EBUSY). - `lsof .git

importance 5@swayllopenOriginal evidence ↗
issue

Refund Request – OpenCode Go Subscription

### Description Dear OpenCode Support Team, I’m writing to request a refund for my recent OpenCode Go subscription payment. I’m a student with a very limited budget, and after reviewing my finances, I realized that this subscription is more than I can reasonably afford at the moment. The payment has put some pressure on my available spending budget, so I wou

importance 5@jayden264closedOriginal evidence ↗
issue

Tool call JSON payload truncated — all tools fail with 'Unterminated string in JSON'

### Description Используется Windows PowerShell 5.1 Команда запуска: opencode в папке C:\Users\MarinaAI\Documents\Default Project\budget-app Любой вызов инструмента (bash, read, glob и т.д.) обрывается на середине JSON Пример ошибки: Invalid input for tool bash: JSON parsing failed: Text: {"command": " (position 13) Пробовали обновить opencode до последней в

importance 5@marinamartynovaclosedOriginal evidence ↗
issue

Opencode hangs after model selection with opencode-go/minimax-m3

### Description I subscribed to Opencode, but in my environment the app hangs when sending a request to the model. The local installation appears to start normally, and the provider credentials are available, but once the model is selected the request never returns a response. Environment: OS: Linux Shell: bash opencode version: 1.18.18 Provider: opencode-go

importance 5@zlzhangnopenOriginal evidence ↗
issue

Refund Request – OpenCode Go Subscription

### 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 Dear OpenCode Support Team, I’m writing to request a refund for my recent OpenCode Go subscription payment. I’m a student with a very limited budget, and after reviewing my finances,

importance 5@jayden264closedOriginal evidence ↗
issue

Fetch Failed

Description After working with openCode, I receive a "Failed to fetch" error when trying to send a prompt. After restart I can send 0-1 new prompt and got the same error. Before last update i don't experienced problems Steps to Reproduce Launch openCode Type a prompt. Observe the "Failed to fetch" error toast Try sending again or performing any other action

importance 5@devfortsystemsopenOriginal evidence ↗
issue

Feature Request: Enable plugins per-agent at the config layer (not only globally)

## 中文描述 ### 背景 / Background 目前 `plugin` 数组在 `opencode.json` 中是**全局生效**的——所有插件一旦配置,就会对所有 agent 加载(包括 build、plan、general、explore 以及用户自定义 agent)。配置层没有任何按 agent 启用插件的手段。 当前行为 / Current behavior: ```json { "plugin": [ "opencode-gemini-auth", "opencode-foo@1.2.3" ] } ``` ### 需求 / Feature Request 希望插件能够**按 agent(代理)设置启用**,而不是只能全局启用。例如: ```json { "plugin": { "openco

importance 5@LazyGrepclosedOriginal evidence ↗
issue

Feedback: Plugin tool missing in GUI desktop session but present in CLI

### Description > 🐛 Found a subtle one while testing an opencode plugin: the tool worked in the CLI but > was **missing from the GUI desktop session** — config said registered, runtime said no. > Root cause turned out to be 3 layers deep (extension-less imports → unbundled workspace > dep → **session tool-list is a create-time snapshot**; only a new session

importance 5@zysamclosedOriginal evidence ↗
pull request

feat(acp): emit plan session updates from todowrite tool calls

### Issue for this PR (I reopened this because I somehow got #30658 closed) When working on [hydra-acp](https://github.com/smagnuso/hydra-acp) I noticed that I was not getting plans rendered in opencode as I had in claude. Closes #30659 ### Type of change - [x] Bug fix - [ ] New feature - [ ] Refactor / code improvement - [ ] Documentation ### What does this

importance 5@smagnusoopencontributorOriginal evidence ↗
pull request

fix(opencode): reject empty compaction summaries

### Issue for this PR Closes #41571 ### Type of change - [x] Bug fix - [ ] New feature - [ ] Refactor / code improvement - [ ] Documentation ### What does this PR do? A compaction model can finish with reasoning but no text summary. V1 currently treats that as success, which can hide the previous history behind an empty summary boundary. This marks the summa

importance 5@vladislav-miroshnikovopenOriginal evidence ↗
issue

[FEATURE]: TUI plugin API: session projection | session list adapters

### 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 ## Summary I'd like to propose a small extension to the TUI plugin API so plugins can influence: 1. the projection of the native `session` view 2. the projection of the native session

importance 4@juanma91mclosedOriginal evidence ↗
issue

TUI startup initializes the same instance twice

### Description When starting the TUI, OpenCode appears to initialize the same project instance twice for the same directory during startup. The visible symptoms are: - duplicate `creating instance` log entries for the same directory and same `run` id - duplicate `fromDirectory` calls - duplicate `enabled LSP servers` entries - duplicate config discovery/loa

importance 4@dhaernclosedOriginal evidence ↗
issue

Desktop-launched WSL server hangs on POST: stdout pipe deadlocks under `--print-logs`

### Description **Setup** - WSL2 (mirrored networking), opencode desktop 1.17.x on Windows - WSL Ubuntu, same opencode version **Symptom** - Desktop auto-discovers/launches the WSL server, reading sessions works, but sending a message (even 2 chars) hangs ~60s and times out - TUI in the same WSL is fine - Workaround: manually run `opencode serve --port 4098

importance 4@hanfengcanclosedOriginal evidence ↗
issue

Stats header actions are misaligned causing Geo Breakdown to not be clickable

### Description The stats data page header actions can drift from the right side of the header when the section navigation is visible at wide breakpoints causing the Geo Breakdown to not be clickable ### Steps to reproduce 1. Open the stats data page. 2. View the header at desktop width with section navigation visible. 3. Observe the Geo Breakdown link not b

importance 4@adamahoclosedOriginal evidence ↗
issue

~ not expanded in file tool path arguments (Read, Write, Edit, Glob, Grep)

### Description When an agent passes a path starting with `~` (e.g. `~/.bashrc`) to any file tool, the tilde is treated as a literal directory name rather than expanded to the home directory. **Affected tools:** `read` (`filePath`), `write` (`filePath`), `edit` (`filePath`), `glob` (`pattern`, `path`), `grep` (`path`). `bash` works incidentally (shell expand

importance 4@pdt256closedOriginal evidence ↗
issue

[BUG] Linux: main binary shipped as ai.opencode.desktop makes KDE Dolphin hang on the install directory

### Description Opening the Linux desktop install directory in KDE Dolphin is unusually slow or temporarily freezes the file manager. The main cause appears to be that the shipped executable is named `ai.opencode.desktop`, but it is actually a large ELF binary rather than a Freedesktop `.desktop` text entry file. Because Dolphin/KDE treats `*.desktop` specia

importance 4@presireclosedOriginal evidence ↗
issue

Bug: PR comment context omits PR number, allowing agent to edit wrong PR

### Description In `opencode github run`, the dynamically inserted `<pull_request>` context for a PR comment does not include the PR number or PR URL. This caused the agent to invent a PR number during a title-fix request and run a write operation against the wrong PR. ## What happened The user commented on PR https://github.com/xlionjuan/searxng-mcp-go/pull

importance 4@xlionjuanclosedOriginal evidence ↗
issue

/file/content reads can retain filesystem search state

### Description This might be related to #20695. Repeated `/file/content` reads appear to use more memory than expected. In a local reproducible run, plain file reads caused `opencode-serve` RSS (resident set size) to grow by about `523 MB`. The surprising part is that reading file contents seems to go through the cached location services, which can also set

importance 4@hereswilsonclosedOriginal evidence ↗
issue

opencode pr #<number> parses PR number as NaN

### Description So, i basically ran `opencode pr #992` it resulted in parsing the pr number as NaN and the checkout failed. While `opencode pr 992` works normally, The command should accept a leading #. also its good to note that gh pr checkout #992 and 992 - both works meaning gh cli already supports this. ### Plugins None ### OpenCode version 1.17.4 ### St

importance 4@bupdclosedOriginal evidence ↗
issue

prompt_async returns 204 after startup failure, leaving empty child sessions that appear frozen

## Summary Delegated/subagent sessions can be created successfully, then remain permanently empty while the caller/UI keeps polling them. The immediate trigger I observed was the known `session_message.seq` insertion bug, but the user-visible failure is broader: `POST /session/{id}/prompt_async` can fail during startup, publish/log `session.error`, still ret

importance 4@DanRioDevopenOriginal evidence ↗
issue

No way to hide questions or read text

### Description When the agent asks questions, the modal pops up at the bottom. With the font large enough (I can't see anything) the modal blocks all or most of the text, making it impossible to read what the agent said before asking the questions. This makes it impossible to answer the questions because I have not been able to read what it said/did for con

importance 4@thezachdrakeopenOriginal evidence ↗
issue

Codex OAuth Fast models run at standard throughput

### Description On vanilla OpenCode, ChatGPT-authenticated Fast model entries send `service_tier: "priority"`, but do not show the speed increase that the same account gets in the official Codex CLI. Tested with clean upstream checkouts, no plugins, and `--pure`: - `v1.18.10`: HTTP and Responses WebSocket - current `dev` (`14f0bf64a19493110b51f5fdeb9c1c1bba5

importance 4@AidenGeunGeunopenOriginal evidence ↗
issue

Opencode Desktop fails to upgrade

### Description Installer fails with error message ("OpenCode cannot be closed. Please close it manually and click Retry to continue" -> "Failed to uninstall old application files. Please try running the installer again"). Even though OpenCode is not running and I have manually uninstalled OpenCode Desktop I still get the same message. ### Plugins None ### O

importance 4@janmoreforskopenOriginal evidence ↗
issue

在使用较宽字符作为技能名时,技能描述不对齐

### Description <img width="1049" height="267" alt="Image" src="https://github.com/user-attachments/assets/24c18f8a-696d-4f69-84db-849ec8e45149" /> ### Plugins _No response_ ### OpenCode version 1.18.13 ### Steps to reproduce 安装带有较宽字符(例如中文字符)标题的技能 打开opencodetui 输入/skills ### Screenshot and/or share link <img width="1049" height="267" alt="Image" src="https:/

importance 4@liujianbo2013openOriginal evidence ↗
issue

TUI crashes at startup (Bun SIGILL in drainMicrotasks, libopentui) when the terminal answers the capability handshake only partially

## Summary The TUI crashes deterministically at startup (Bun panic, `SIGILL`, inside `JSC::VM::drainMicrotasks`) when the terminal on the other end answers opencode's startup capability handshake **only partially**. Reproduces 100% over the [Moshi](https://getmoshi.app/) phone client. The same binary on the same machine starts fine in a local terminal, and —

importance 4@IamKaleb21openOriginal evidence ↗
issue

opencode -c resumes a session from a different working directory (across root-level git worktrees of the same repo)

### Description Running `opencode -c` from one directory resumed a session that was created in a different working directory of the same repository. In my case the directories are root-level git worktrees of the same repo: ``` ~/code/biggerpockets [branch A] ~/code/boggerpockets [branch B] ~/code/buggerpockets [branch C] ``` Starting `opencode -c` inside `bi

importance 4@bocketsopenOriginal evidence ↗