Skip to content

opencode Source

  • SQLite database
  1. explicit --opencode-db
  2. deterministic OS-specific default candidates
Terminal window
llm-usage daily --source opencode --opencode-db /path/to/opencode.db
  • database is opened in read-only mode
  • assistant message rows are parsed into normalized events
  • malformed rows are skipped and surfaced in diagnostics
  • busy/locked DB errors use bounded retry before failing with actionable guidance