Skip to content

Conversation

@spoons-and-mirrors
Copy link
Contributor

Summary

Currently, prompt history is globally scoped and shared amongts all user projects.
This PR changes this and makes prompt history project scoped.

Before:

  • ~/.local/state/opencode/tui (global)

After:

  • ~/.local/share/opencode/project/{repo-name}/prompt-history (project scoped)

If not in a git repo, falls back to:

  • ~/.local/share/opencode/project/global/prompt-history

Resolves #2067

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

2 participants