Skip to content

Disabling of extensions doesn't work #21548

@vsukhoml

Description

@vsukhoml

What happened?

I tried to disable extensions for both workspace and user, but extensions are still active and present in the system prompt.
None of the commands work:

  • extensions disable google-workspace --scope workspace
  • extensions disable google-workspace --scope user
  • extensions disable google-workspace

Extension is still active after command and after restart of gemini-cli.

What did you expect to happen?

I'd expect extension to be disabled, at least after restart of gemini-cli

Client information

Client Information

Run gemini to enter the interactive CLI, then run the /about command.

> /about
CLI Version                                  0.34.0-nightly.20260307.6c3a90645                                                   │
│ Git Commit                                   bab35a1f1                                                                           │
│ Model                                        gemini-3.1-pro-preview                                                              │
│ Sandbox                                      no sandbox         ```

</details>

### Login information

_No response_

### Anything else we need to know?

_No response_

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions