How the dashboard reads OpenCode data
mainThe dashboard is a read-only tool that consumes data from two primary sources:
1. OhMyOpenCode Plan Tracking (Optional)
It looks for files in the .sisyphus/ directory of your project:
.sisyphus/boulder.json: Used for plan progress.boulder.active_plan: The active plan markdown file.
2. OpenCode Session Storage
The dashboard auto-detects storage in the following order:
- SQLite (Preferred): Located at
${XDG_DATA_HOME ?? ~/.local/share}/opencode/opencode.db. It also monitors WAL side files (opencode.db-wal,opencode.db-shm). - Legacy File-based (Fallback): If SQLite is unavailable, it falls back to files in
${XDG_DATA_HOME ?? ~/.local/share}/opencode/storage/{session,message,part}.
Note on Session Selection:
- If
.sisyphus/boulder.jsonexists, the dashboard prefers the most recentsession_ids[]entry found on disk. - Otherwise, it selects the most recently updated OpenCode session where the
meta.directorymatches your--projectpath (after realpath normalization).