Skip to content

Session diffs always empty ([]) — sessions never persist after app restart #29460

Closed as not planned

Description

@Islam34-cpu

Description

Bug Report

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

Logged errors

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. github-actions commented on May 26, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Please 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.

  2. github-actions commented on Jul 26, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions