gemini-cli icon indicating copy to clipboard operation
gemini-cli copied to clipboard

Refresh custom /commands and extensions without restarting Gemini CLI

Open ddobrin opened this issue 5 months ago • 4 comments

What happened?

Developers benefit significantly from the features offered by custom slash commands and extensions.

However, when adding a custom command, built with Gemini CLI itself sometimes, the developer needs to restart the CLI for the changes to take effect. Context would be lost during a restart.

To alleviate this, there is the workaround of

  • /chat save "tag"
  • exit
  • restart
  • /chat restore "tag"

Same is valid for extensions

cc: @jacob314 @jackwotherspoon

What did you expect to happen?

Expectation would be to have a command /chat:refresh or /context:refresh which would automate the steps of saving the context, restarting and resuming from that tag.

Client information

CLI Version 0.4.0
│ Git Commit 89213699
│ Model gemini-2.5-pro
│ Sandbox no sandbox
│ OS darwin
│ Auth Method vertex-ai
│ GCP Project ...
│ IDE Client VS Code

Login information

Google Credentials

Anything else we need to know?

No response

ddobrin avatar Sep 12 '25 01:09 ddobrin

This is a feature request to improve the developer experience by allowing custom commands and extensions to be refreshed without restarting the CLI.

gemini-cli[bot] avatar Sep 12 '25 01:09 gemini-cli[bot]

@gemini-cli Is there an update about this issue? This feature would improve the development of the custom commands in our organization, too.

VirtualArcher avatar Oct 24 '25 08:10 VirtualArcher

Hello! As part of our effort to keep our backlog manageable and focus on the most active issues, we are tidying up older reports.

It looks like this issue hasn't been active for a while, so we are closing it for now. However, if you are still experiencing this bug on the latest stable build, please feel free to comment on this issue or create a new one with updated details.

Thank you for your contribution!

gemini-cli[bot] avatar Dec 14 '25 00:12 gemini-cli[bot]

This feature request is still a concern for us.

VirtualArcher avatar Dec 15 '25 08:12 VirtualArcher

Hello! As part of our effort to keep our backlog manageable and focus on the most active issues, we are tidying up older reports.

It looks like this issue hasn't been active for a while, so we are closing it for now. However, if you are still experiencing this bug on the latest stable build, please feel free to comment on this issue or create a new one with updated details.

Thank you for your contribution!

gemini-cli[bot] avatar Dec 21 '25 00:12 gemini-cli[bot]