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
Session diffs always empty ([]) — sessions never persist after app restart #29460
OpenCode version: 1.15.10 (desktop app) Platform: Windows
Description
After installing skills, session diffs stop persisting. All session_diff/*.json files contain only [] and never accumulate data, even during active conversations. Sessions are lost on every app restart.
What I've confirmed
Session diff files exist but are always empty [] — even during an active session
Wiping ~/.config/opencode/ and ~/.local/share/opencode/ temporarily fixes it until skills are reinstalled
The @opencode-ai/plugin@local background dependency install always fails with: No matching version found for @opencode-ai/plugin@local
Setting OPENCODE_VERSION env var has no effect (it's a compile-time constant, not process.env)
13 of 14 installed skills have pluginName (12 use example-skills, 1 uses claude-api) which triggers the broken plugin install
Activity
github-actions commentedon May 26, 2026
This issue might be a duplicate of existing issues. Please check:
@opencode-ai/plugin@localinstall failure error, and session_diff files not accumulating dataPlease review those issues and comment on whether your problem is the same. If so, adding detail or a "+1" there helps maintainers prioritize the fix.
github-actions commentedon Jul 26, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.