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
Bug/Feat request? - Prompt History gets overwritten when working on multiple projects at once. #2067
Working on two separate projects, in two different instances of OpenCode on the same WSL instance.
Circunstance
System crashed, needed to go in and restart the last prompt that was running at time of system crash.
Behavior
Only one instance of OpenCode prompt history was available. Appears to be the second opened instance.
Expected Behavior
Project-based, or some level of namespaced history by folder OpenCode is executed in, to keep prompt histories separate when someone is working on multiple projects.
changed the title [-]Bug/Feat request? -[/-][+]Bug/Feat request? - Prompt History gets overwritten when working on multiple projects at once.[/+]on Aug 19, 2025
This issue might be a duplicate of existing issues. Please check:
[Feature Request] Git Branch-Aware Sessions #1924: Git Branch-Aware Sessions - discusses the same core problem of managing multiple projects simultaneously and proposes session management based on git branches, which would address the prompt history separation you're describing
Feel free to ignore if none of these address your specific case.
Activity
[-]Bug/Feat request? -[/-][+]Bug/Feat request? - Prompt History gets overwritten when working on multiple projects at once.[/+]github-actions commentedon Aug 19, 2025
This issue might be a duplicate of existing issues. Please check:
Feel free to ignore if none of these address your specific case.
rekram1-node commentedon Aug 19, 2025
Edit: thought you were talking about session history, my b
justindonnaruma commentedon Aug 19, 2025
@rekram1-node No problem! Thank you guys for fixing this so quickly.
rekram1-node commentedon Sep 29, 2025
closing since op said this was fixed