mirror of
https://github.com/OthmanAdi/planning-with-files.git
synced 2026-04-26 00:16:01 +03:00
[GH-ISSUE #74] Opencode compatibility #47
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/planning-with-files#47
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MrCloth on GitHub (Feb 8, 2026).
Original GitHub issue: https://github.com/OthmanAdi/planning-with-files/issues/74
the session-catchup.py seems unable to run properly in Opencode due to the different way of storing session files between Claude Code and Opencode
@OthmanAdi commented on GitHub (Feb 8, 2026):
Hey @MrCloth — I've identified and fixed the root cause.
The Problem
OpenCode and Claude Code use completely different session storage formats:
.jsonlfiles at~/.claude/projects/.jsonfiles at~/.local/share/opencode/storage/session/session-catchup.pywas hardcoded for Claude Code's structure, so it silently failed on OpenCode.The Fix
The script now detects which IDE you're using and shows a clear message:
Changes
OPENCODE_DATA_DIRenv var and directory structure)Full OpenCode session parsing will require restructuring the entire message extraction logic since OpenCode stores messages separately. For now, the workaround is to manually review your planning files after
/clear.Can you test this and confirm it shows the message correctly? If it works, I'll close this issue.
@MrCloth commented on GitHub (Feb 11, 2026):
thanks