gemini-2.5-flash-preview-05-20| input-price: 0.15 output-price: 3.5 max-context-length: 128_000 (cost: $0.02) Β· Anfrage: 2025-06-26T06:55:07.152745
Generated by rs-summarizer Version unbekannt
Abstract:
This document set provides comprehensive documentation for the Google Gemini Command Line Interface (CLI), an AI workflow tool designed to interact with Gemini models and integrate with various system capabilities. It details the CLI's architecture, including its user-facing frontend (packages/cli), backend logic and API interaction (packages/core), and an extensible suite of built-in and custom tools (e.g., file system operations, web search, shell execution). The documentation outlines installation methods, advanced features like sandboxing and checkpointing for security, configuration options, authentication procedures with varying privacy implications, and guidelines for contributing to the project.
Summarizing the Gemini CLI Project Documentation:
packages/cli): The user-facing frontend, managing input, output rendering, UI customization, and history.packages/core): The backend, handling communication with the Gemini API, prompt construction, tool registration and execution, and session state.npm install -g @google/gemini-cli or npx @google/gemini-cli.npm run start or npm link./restore command. Disabled by default.GEMINI.md): Markdown files (e.g., GEMINI.md) can provide project-specific instructions, coding styles, or background information, loaded hierarchically from global, project, and sub-directory locations to guide the AI./): Control the CLI (e.g., /help, /clear, /theme, /stats, /mcp for Model Context Protocol server info). /bug for filing issues and /auth for changing authentication.@): Inject file or directory content into prompts for context, with Git-aware filtering.!): Execute system shell commands or toggle an interactive shell mode.list_directory, read_file, write_file, glob (FindFiles), search_file_content (SearchText), replace (Edit) for interacting with files and directories. File modification tools typically require user confirmation.run_shell_command executes arbitrary shell commands (requires sandboxing and user confirmation).web_fetch retrieves content from URLs and google_web_search performs web searches.save_memory stores "facts" in a user's ~/.gemini/GEMINI.md for recall in future sessions.npm run preflight), updating documentation, and adhering to specific coding conventions (e.g., preferring plain objects over classes, ES module syntax for encapsulation, avoiding any types).