anomalyco / anomalyco/opencode

desktop: Reveal in Finder on project menu fails with Schema validation failed

Open
#45,895 1 comment 0 reactions 1 assignee View on GitHub

@Brendonovich is already working on this.

Since Aug 28, 2026.

2.0
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_PROGRAM unset
  • Shell: /bin/zsh
  • Install/channel: beta (packaged desktop app, ai.opencode.desktop.beta)
  • Active plugins: none found in config (~/.config/opencode/opencode.jsonc only contains $schema)

Reproduction

  1. Open OpenCode Desktop (beta).
  2. Open a local project whose folder exists on disk (here: opencode_work under Documents). The project home shows the empty-session state and is otherwise usable.
  3. In the sidebar, open the project's ... menu.
  4. 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"} at http://127.0.0.1:49374.
  • GET /api/project lists this project with a valid canonical path on disk.
  • ~/.local/share/opencode/log/opencode.log has 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 ResizeObserver noise).
  • Unrelated server log noise on this machine: watcher backend not supported for ~/.config/opencode and ~/.agents/skills.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.