Feature hasn't been suggested before.
Describe the enhancement you want to request
Data related to sessions is currently being saved to the ~/.opencode folder, even if working under another folder.
The suggestion is to save conversations to the folder of the project where opencode is ran.
This would help with #14291 yes.
But the main advantage would be that the conversations are the actual source code (using GPL definition of source code), and the code generated is actually target code. So saving the conversations allows users to more safely archive and save the source code of the applications they create, optionally adding them to source control if they wish to.
Feature hasn't been suggested before.
Describe the enhancement you want to request
Data related to sessions is currently being saved to the ~/.opencode folder, even if working under another folder.
The suggestion is to save conversations to the folder of the project where opencode is ran.
This would help with #14291 yes.
But the main advantage would be that the conversations are the actual source code (using GPL definition of source code), and the code generated is actually target code. So saving the conversations allows users to more safely archive and save the source code of the applications they create, optionally adding them to source control if they wish to.