Skip to content

Conversation

@aminvakil
Copy link
Contributor

@aminvakil aminvakil commented Oct 12, 2025

https://github.com/google-gemini/gemini-cli

This is still a WIP.

It does not limit access to current directory.

@aminvakil aminvakil changed the title new profile: gemini WIP: new profile: gemini Oct 12, 2025
@kmk3 kmk3 marked this pull request as draft October 12, 2025 13:42
@kmk3 kmk3 changed the title WIP: new profile: gemini new profile: gemini Oct 12, 2025
@aminvakil aminvakil marked this pull request as ready for review October 12, 2025 17:41
@aminvakil
Copy link
Contributor Author

Accessing current directory is not easy as it seems.

#4090 (comment) and private-cwd will break access it needs to /home/user/.gemini , shell and other stuff.

So I guess the best way is to add directories one needs to gemini.local.

It works fine for me now.

@kmk3 kmk3 moved this to Todo in Release 0.9.78 Oct 13, 2025
Copy link
Collaborator

@kmk3 kmk3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the project URL for this program?

Comment on lines +28 to +31
whitelist ${HOME}/.gemini

include whitelist-common.inc

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
whitelist ${HOME}/.gemini
include whitelist-common.inc

Is this intended to be used as a general development tool?

If so, it might need access to (user-specific) project directories, in which
case whitelisting in ${HOME} would lead to breakage by default.

See other dev tool profiles, such as webstorm.profile.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the project URL for this program?

https://github.com/google-gemini/gemini-cli

Is this intended to be used as a general development tool?

It might be used as a general development tool.

If so, it might need access to (user-specific) project directories, in which case whitelisting in ${HOME} would lead to breakage by default.

See other dev tool profiles, such as webstorm.profile.

This is a cli for google AI platform known as Gemini. It can work with this profile, you can login, ask questions, run shell commands on directories you have access to (by default none), browse urls, and so on, so basic functionality is achieved with it as it is.

You might want it to make it read your files which I suppose it's best to be added to gemini.local for each user. I for one do not want an AI who might think it's necessary to answer better to read all files in home directory, view images in my ~/Pictures, read ~/Music or whatever else it may see fit for itself to access to have a better answer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants