You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Opencode usage does not show the project name on the dashboard #6
Opencode events never shows a project on the dashboard. The Projects breakdown and Session lists show "(unknown)" for all
opencode usage because events are stored with project = NULL.
Root cause
The adapter reads the project from the message payload, but opencode stores the workspace directory on the linked session row instead so the adapter never gets workspace directory.
Status
I've fixed this on my end and read the project from the session with a version bump to force re-sync and verified it against a live opencode.db where all events now show a project on the dashboard. If you'd like, I can open a PR with this fix.
The root cause was that sessions were attributed to whatever project the working directory happened to resolve to, instead of the session's own project directory. #7 derives attribution from the session directory itself, which is the stable source of truth you described.
Ephraim's already added CI on the branch (all green); it'll merge once he signs off. If you get a chance to pull the branch and sanity-check against your repro, that confirmation would speed it up. Otherwise it should land and be in main shortly.
Activity
ephraimduncan commentedon Aug 28, 2026
Hi @Gideon-Nobbs7 — I picked this up and opened a fix: #7.
The root cause was that sessions were attributed to whatever project the working directory happened to resolve to, instead of the session's own project directory. #7 derives attribution from the session directory itself, which is the stable source of truth you described.
Ephraim's already added CI on the branch (all green); it'll merge once he signs off. If you get a chance to pull the branch and sanity-check against your repro, that confirmation would speed it up. Otherwise it should land and be in main shortly.
Gideon-Nobbs7 commentedon Sep 1, 2026
Hi @ephraimduncan thank you very much for the fix. I look forward to seeing the changes soon.