diff options
Diffstat (limited to 'docs/architecture.md')
| -rw-r--r-- | docs/architecture.md | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/docs/architecture.md b/docs/architecture.md index 55da5cd9..2b354eb0 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -57,14 +57,26 @@ A typical interaction with the Gemini CLI follows this general flow: graph TD User[User via Terminal] -- Input --> CLI[packages/cli] CLI -- Request --> Core[packages/core] - Core -- Prompt/Tool Info --> GeminiAPI[Gemini API] - GeminiAPI -- Response/Tool Call --> Core - Core -- Tool Details --> CLI - CLI -- User Confirms --> Core - Core -- Execute Tool --> Tools[Tools e.g., read_file, shell] - Tools -- Tool Result --> Core - Core -- Final Response --> CLI + Core -- Prompt/ToolInfo --> GeminiAPI[Gemini API] + GeminiAPI -- Response/ToolCall --> Core + Core -- ToolDetails --> CLI + CLI -- UserConfirms --> Core + Core -- ExecuteTool --> Tools[Tools e.g., read_file, shell] + Tools -- ToolResult --> Core + Core -- FinalResponse --> CLI CLI -- Output --> User + + classDef userStyle fill:#FFFFFF,stroke:#333333,stroke-width:2px + classDef cliStyle fill:#FBBC05,stroke:#000000,stroke-width:2px + classDef coreStyle fill:#34A853,stroke:#000000,stroke-width:2px + classDef apiStyle fill:#4285F4,stroke:#3F51B5,stroke-width:2px + classDef toolsStyle fill:#EA4335,stroke:#000000,stroke-width:2px + + class User userStyle + class CLI cliStyle + class Core coreStyle + class GeminiAPI apiStyle + class Tools toolsStyle ``` ## Key Design Principles |
