OpenCode v1.2.4: DB Command & File Tree Fix

OpenCode 1.2.4 adds database querying via CLI, fixes a stack overflow in the desktop file tree, and improves JSON migration with file path-based IDs.

OpenCode v1.2.4: DB Command & File Tree Fix

TL;DR

  • New db command for database inspection and querying
  • JSON migration now derives IDs from file paths
  • Fixed stack overflow in desktop file tree component

New

  • db command — Inspect and query your database directly from the CLI.
  • File path-based ID derivation — JSON migration now generates IDs from file paths for better consistency.

Fixed

  • Stack overflow in file tree component — Desktop UI no longer crashes on deep directory structures.
  • Notification clearing — Added action to clear notifications in the desktop app.

Update with: npm install opencode@1.2.4 or check the release page for your platform.

Source: OpenCode