summaryrefslogtreecommitdiff
path: root/docs/cli
AgeCommit message (Collapse)Author
2025-06-16Decouple telemetry project ID configuration (#1077)Jerop Kipruto
#750 Renames project ID for telemetry from `GOOGLE_CLOUD_PROJECT` to `OTLP_GOOGLE_CLOUD_PROJECT`. This change allows for a separate Google Cloud Project to be used for telemetry data, distinct from the project used for other services like Vertex AI or Code Assist. This enhances clarity and flexibility in project configuration.
2025-06-15Add support for /mcp schema to show full parameter schema as JSON (#1050)Billy Biggs
Outputs a raw JSON version of the parameter names and descriptions as provided to the model, plus minor formatting adjustments to /mcp desc.
2025-06-15Add support for showing descriptions of CLI tools (#1052)Billy Biggs
Adds support for /tools desc to show the full description of tools as provided to the model.
2025-06-14docs: document environment variables for cloud services (#1048)Scott Densmore
2025-06-14feat: Add custom URL support for the /bug command (#1017)Allen Hutchison
2025-06-14Add `/compress` command to force a compression of the context (#986)Jacob MacDonald
Related to https://b.corp.google.com/issues/423605555 - I figured this might be a simpler solution to start with, while still also being useful on its own even if we do implement that.
2025-06-13Edit pass of docs/cli/index.md (#999)starsandskies
Make a pass through the docs/deployment.md file to hopefully improve readability and conciseness Notably, I've proposed axing both the "Core Features" section - which feels too promotional this far down the folder hierarchy and which is somewhat repetitive to later in the page - and the "Basic Interaction" section - which is covered better, and makes more sense, in other parts of the documentation
2025-06-13Update contextFileName to support an optional list of strings (#1001)Billy Biggs
2025-06-13cleanup unused `allowBuildArtifacts` (#1010)Anas H. Sulaiman
2025-06-13cleanup unused `customIgnorePatterns` (#1009)Anas H. Sulaiman
2025-06-12Code Assist cleanup and docs (#993)Tommaso Sciortino
2025-06-12GitHub MCP warning (#979)Eddie Santos
2025-06-11feat: External editor settings (#882)Leo
2025-06-11add excludeTools flag to settings.json config (#957)JingboWang1997-1
2025-06-10restricted networking for all sandboxing methods, new seatbelt profiles, ↵Olcan
updated docs, fixes to sandbox build, debugging through sandbox (#891)
2025-06-09rename shell tool more intuitively as run_shell_command (from historical ↵Olcan
name of execute_bash_command inherited from terminal tool) (#869)
2025-06-08Revert "Add batch editing capabilities to Edit Tool (#648)" (#857)N. Taylor Mullen
2025-06-07Bryanmorgan/add mcp description support (#825)Bryan Morgan
2025-06-07docs: update and reorganize documentation (#806)cperry-goog
2025-06-06Add batch editing capabilities to Edit Tool (#648)Keith Ballinger
Co-authored-by: N. Taylor Mullen <[email protected]>
2025-06-06docs: Initialize tutorials section with MCP server examplejerop
This commit adds a new `tutorials.md` file to the CLI documentation. This section is intended to house various tutorials for using Gemini CLI. The initial content includes a tutorial on setting up Model Context Protocol (MCP) servers, using the GitHub MCP server as an example. The `docs/cli/index.md` has been updated to include a link to this new tutorials section.
2025-06-06feat: Enable environment variable substitution in settingsjerop
This commit introduces the ability to use system environment variables within the settings files (e.g., `settings.json`). Users can now reference environment variables using the `${VAR_NAME}` syntax. This enhancement improves security and flexibility, particularly for configurations like MCP server settings, which often require sensitive tokens. Previously, to configure an MCP server, a token might be directly embedded: ```json "mcpServers": { "github": { "env": { "GITHUB_PERSONAL_ACCESS_TOKEN": "pat_abc123" } // ... } } ``` With this change, the same configuration can securely reference an environment variable: ```json "mcpServers": { "github": { "env": { "GITHUB_PERSONAL_ACCESS_TOKEN": "${GITHUB_PERSONAL_ACCESS_TOKEN}" } // ... } } ``` This allows users to avoid storing secrets directly in configuration files.
2025-06-05fix: Disable automatic image building if BUILD_SANDBOX is not provided (#764)Tolik Malibroda
2025-06-05feat: Add multi-stage docker build support for custom sandbox.Dockerfile (#746)Tolik Malibroda
2025-06-05Add Theme docs (#753)Miguel Solorio
2025-06-04Ignore folders files (#651)Keith Ballinger
# Add .gitignore-Aware File Filtering to gemini-cli This pull request introduces .gitignore-based file filtering to the gemini-cli, ensuring that git-ignored files are automatically excluded from file-related operations and suggestions throughout the CLI. The update enhances usability, reduces noise from build artifacts and dependencies, and provides new configuration options for fine-tuning file discovery. Key Improvements .gitignore File Filtering All @ (at) commands, file completions, and core discovery tools now honor .gitignore patterns by default. Git-ignored files (such as node_modules/, dist/, .env, and .git) are excluded from results unless explicitly overridden. The behavior can be customized via a new fileFiltering section in settings.json, including options for: Turning .gitignore respect on/off. Adding custom ignore patterns. Allowing or excluding build artifacts. Configuration & Documentation Updates settings.json schema extended with fileFiltering options. Documentation updated to explain new filtering controls and usage patterns. Testing New and updated integration/unit tests for file filtering logic, configuration merging, and edge cases. Test coverage ensures .gitignore filtering works as intended across different workflows. Internal Refactoring Core file discovery logic refactored for maintainability and extensibility. Underlying tools (ls, glob, read-many-files) now support git-aware filtering out of the box. Co-authored-by: N. Taylor Mullen <[email protected]>
2025-06-03Update configuration.md (#722)Cindy Xing
2025-06-03document mcp server trust option (#719)Olcan
2025-06-02allow toolDiscoveryCommand to return function declarations with or without a ↵Olcan
tool wrapper; fully document both toolDiscoveryCommand and toolCallCommand with examples and pointers to API docs (#696)
2025-05-31feat: allow custom filename for context files (#654)Allen Hutchison
Co-authored-by: N. Taylor Mullen <[email protected]>
2025-05-30docs: Update README, CONTRIBUTING, and CLI configuration docs (#591)cperry-goog
cleaning up for now, will take another pass
2025-05-20coreTools doc tweak (#452)Olcan
2025-05-20Docs: Update CLI and Server documentation for recent features (#430)cperry-goog
2025-05-17rename env vars GEMINI_CODE_{MODEL,SANDBOX,SANDBOX_IMAGE} (#411)Olcan
2025-05-16Docs: Update MCP server configuration (#396)N. Taylor Mullen
2025-05-16fixes and tweaks to docs, mostly related to sandboxing (#385)Olcan
2025-05-15Docs: Fix broken links and update documentation (#377)cperry-goog
2025-05-15Docs: Add initial project documentation structure and content (#368)cperry-goog
Co-authored-by: Taylor Mullen <[email protected]>