microsoft / microsoft/AI-Engineering-Coach
OpenCode sessions are not loaded from SQLite storage
Open
@san360 is already working on this.
Since Aug 21, 2026.
bug
- Dominant language
- TypeScript
- Stars
- 4.2k
- Forks
- 585
- Avg merge
- 22h 5m
- Merged PRs (30d)
- 16
Description
Description
Current OpenCode versions store session data in ~/.local/share/opencode/opencode.db. AI Engineering Coach searches the legacy JSON storage directories. As a result, it can report zero OpenCode sessions without an error.
Reported in PR #170. Related to #84.
Steps to Reproduce
- Use an OpenCode version that stores sessions in
opencode.db. - Create one or more OpenCode sessions.
- Open AI Engineering Coach.
- Load the session data.
- Observe that no OpenCode sessions appear.
Expected Behavior
The extension reads opencode.db in read-only mode and shows the OpenCode sessions, requests, token counts, and model information.
Legacy JSON storage must continue to work.
Extension Version
Not provided in PR #170.
VS Code Version
Not provided in PR #170.
Operating System
Not provided in PR #170.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.