anomalyco / anomalyco/opencode
desktop: Reveal in Finder on project menu fails with Schema validation failed
@Brendonovich is already working on this.
Since Aug 28, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Summary
In OpenCode Desktop (macOS), choosing Reveal in Finder from a project's overflow menu shows a toast (Request failed / Schema validation failed) and does not open Finder. The same project/workspace otherwise remains usable (sessions can still be created and used).
Environment
- opencode version: 0.0.0-beta-18414
- OS: Darwin 25.5.0 (darwin arm64)
- Terminal: Desktop app (
OpenCode Beta.app);TERM=xterm-256color,TERM_PROGRAMunset - Shell: /bin/zsh
- Install/channel: beta (packaged desktop app,
ai.opencode.desktop.beta) - Active plugins: none found in config (
~/.config/opencode/opencode.jsonconly contains$schema)
Reproduction
- Open OpenCode Desktop (beta).
- Open a local project whose folder exists on disk (here:
opencode_workunder Documents). The project home shows the empty-session state and is otherwise usable. - In the sidebar, open the project's
...menu. - Click Reveal in Finder (
在访达中显示).
Expected Behavior
Finder should open and reveal the project directory. No error toast.
Actual Behavior
A toast appears:
- Title:
请求失败(Request failed) - Description:
Schema validation failed
Finder does not open. The workspace continues to work (new sessions can still be created).
Reproduced at least once on this project. The project directory exists; the project is not a git repository.
Additional Context
- Server health:
{"healthy":true,"version":"0.0.0-beta-18414"}athttp://127.0.0.1:49374. GET /api/projectlists this project with a validcanonicalpath on disk.~/.local/share/opencode/log/opencode.loghas no HTTP request corresponding to the Reveal in Finder click. That suggests client-side schema validation failed before (or without) a successful server round-trip.- Location-service boot for this directory logs
workspaceID=undefined. - Desktop renderer/main logs around the action do not record the schema error (mostly
ResizeObservernoise). - Unrelated server log noise on this machine:
watcher backend not supportedfor~/.config/opencodeand~/.agents/skills.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.