What would you like to be added?
I'd like Gemini to automatically record and save conversation histories like Claude Code and other tools.
Why is this needed?
Having a record of all my activity is a must for me; I have 300+ Claude Code chats in one folder over the course of just a month, and I refer back to them frequently, even old ones. The fact that Gemini CLI doesn't automatically record chat histories is unintuitive coming from Cursor and Claude Code.
Additionally, we're developing a desktop/web interface for Gemini CLI called Gemini CLI Desktop, but the app can't show users past chats because they're not automatically saved.
Additional context
Gemini CLI currently contains a feature that's similar to recording chats. You can run /chat save <id> to save a temporary copy of the current conversation history to ~/.gemini/tmp, and then in a new session you can load that checkpoint back up, simulating forking/branching functionality. That's actually a convenient feature that either Claude Code doesn't have or it does have it and I don't know about it.
That "forking" feature is intended for temporary work; hence the name .tmp. It's not intended for anything like keeping your chats around indefinitely. It would be great if a feature could be added to Gemini CLI where it would automatically record all conversation histories, with user/AI messages, tool calls (+ input/output), token usage, and model information. Then you could list previous chats and continue any given one, and have an accurate history of all your sessions with Gemini.
Note that there's also a checkpointing feature which is similar to the "forking" feature, but it's not really what I'm describing.
I've implemented this feature in #4401.
What would you like to be added?
I'd like Gemini to automatically record and save conversation histories like Claude Code and other tools.
Why is this needed?
Having a record of all my activity is a must for me; I have 300+ Claude Code chats in one folder over the course of just a month, and I refer back to them frequently, even old ones. The fact that Gemini CLI doesn't automatically record chat histories is unintuitive coming from Cursor and Claude Code.
Additionally, we're developing a desktop/web interface for Gemini CLI called Gemini CLI Desktop, but the app can't show users past chats because they're not automatically saved.
Additional context
Gemini CLI currently contains a feature that's similar to recording chats. You can run
/chat save <id>to save a temporary copy of the current conversation history to~/.gemini/tmp, and then in a new session you can load that checkpoint back up, simulating forking/branching functionality. That's actually a convenient feature that either Claude Code doesn't have or it does have it and I don't know about it.That "forking" feature is intended for temporary work; hence the name
.tmp. It's not intended for anything like keeping your chats around indefinitely. It would be great if a feature could be added to Gemini CLI where it would automatically record all conversation histories, with user/AI messages, tool calls (+ input/output), token usage, and model information. Then you could list previous chats and continue any given one, and have an accurate history of all your sessions with Gemini.Note that there's also a checkpointing feature which is similar to the "forking" feature, but it's not really what I'm describing.
I've implemented this feature in #4401.