First of all, thank you for this package, it works wonderfully with pi that is sanboxed in a vm.
I'm going to do the following for myself eventually and asking if this could be a useful addition to the package.
When we do M-x shell or any kind of lisp repl, it's easy to, e.g., C-x C-w ~/shell-and-repl-sessions-archive/2026-04-11-shell-01.log, which gets autosaved. I mean, this live shell buffer is bound to a file and we don't have to remember to save it after we are done with the shell session.
Would be great to bind the chat buffer the same way, so that we don't have to remember to export it.
I don't know yet about forking though. I'll go with autosaving only the main branch of the conversation first. Other branches can be copypasted to the archive manually if needed, this is simpler and a good start.
I'll make a pull request later if you are interested.
First of all, thank you for this package, it works wonderfully with pi that is sanboxed in a vm.
I'm going to do the following for myself eventually and asking if this could be a useful addition to the package.
When we do M-x shell or any kind of lisp repl, it's easy to, e.g., C-x C-w ~/shell-and-repl-sessions-archive/2026-04-11-shell-01.log, which gets autosaved. I mean, this live shell buffer is bound to a file and we don't have to remember to save it after we are done with the shell session.
Would be great to bind the chat buffer the same way, so that we don't have to remember to export it.
I don't know yet about forking though. I'll go with autosaving only the main branch of the conversation first. Other branches can be copypasted to the archive manually if needed, this is simpler and a good start.
I'll make a pull request later if you are interested.