mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-06-01 14:42:51 -07:00
731433499b
Organize agent work into logical phases (Chapters) using a dedicated tool instead of prompt-only narration. This improves UI organization and provides the model with explicit state tracking. Key changes: - Introduced 'create_new_topic' tool for semantic phase transitions. - Added TopicManager singleton to maintain session chapter state. - Gated the feature behind 'experimental.topicUpdateNarration' flag. - Limited tool registration to Gemini-3 model set. - Modified Scheduler to prioritize topic markers at start of batches. - Injected active topic context into system prompt footers. - Replaced SI narration in snippets with tool-based mandates.