Skip to content

Bug/Feat request? - Prompt History gets overwritten when working on multiple projects at once. #2067

Closed

Description

@justindonnaruma
  • OS: WSL - Ubuntu 24.04
  • Shell: ZSH
  • OpenCode Version: v0.5.6/v0.5.7

Context

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.

Activity

  1. changed the title [-]Bug/Feat request? -[/-] [+]Bug/Feat request? - Prompt History gets overwritten when working on multiple projects at once.[/+] on Aug 19, 2025
  2. github-actions commented on Aug 19, 2025

    @github-actions
    Contributor

    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.

  3. rekram1-node commented on Aug 19, 2025

    @rekram1-node
    Contributor

    Edit: thought you were talking about session history, my b

  4. justindonnaruma commented on Aug 19, 2025

    @justindonnaruma
    Author

    @rekram1-node No problem! Thank you guys for fixing this so quickly.

  5. rekram1-node commented on Sep 29, 2025

    @rekram1-node
    Contributor

    closing since op said this was fixed

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