Commit Graph

4192 Commits

Author SHA1 Message Date
Christian Gunderman 621e12fde5 Default enable narration. 2026-03-25 15:51:48 -07:00
Christian Gunderman 7df69e99a6 Call to action on pivot. 2026-03-24 17:50:14 -07:00
Christian Gunderman 3f454fda2b Fix tool description. 2026-03-24 14:58:09 -07:00
Christian Gunderman 7b45769886 Slim down topic prompt. 2026-03-23 18:13:14 -07:00
Abhijit Balaji 7bf08065f7 feat(core): implement Narrative Progress Protocol via update_topic tool
- Rename `create_new_topic` to `update_topic` to support continuous narrative heartbeats.
- Introduce `strategic_intent` parameter to capture tactical reasoning within tool-use turns.
- Consolidate `previous_summary` and `current_summary` into a single `summary` parameter to simplify model narrative bridging.
- Implement Smart Narrative Routing in `UpdateTopicTool` to dynamically toggle between full chapter headers and tactical intent-only heartbeats based on topic transitions.
- Update `TopicState` to track both active topic and active intent session-wide.
- Overhaul system prompt snippets to mandate the Heartbeat protocol, enforcing strictly granular, single-idea chapters and forbidding clubbed phases.
- Gate all logic and tool accessibility behind the `topicUpdateNarration` experimental flag.
- Update security policies (read-only and plan) to whitelist the heartbeat tool.
- Refactor scheduler logic to prioritize `update_topic` as the first execution in any batch.
- Synchronize all core and CLI configuration tests with the new tool schema and naming.
2026-03-23 12:12:49 -07:00
Abhijit Balaji 72e61d1c6f feat(core): enforce granular, single-focus Topic Model with detailed summaries
- Mandate granular, single-focus topics (e.g., 'Researching', 'Implementing [Idea]') to prevent broad, combined topics.
- Introduce required 'current_topic_summary' and 'previous_topic_summary' (on transition) parameters to the create_new_topic tool.
- Require 5-10 sentence detailed summaries for both parameters to improve context injection and strategic alignment.
- Mandate creating a new topic if work deviates from the current topic's stated goal.
- Relax silent-mode restrictions to allow Strategic Narration at the start of chapters for better transparency.
- Update tool declarations, system prompts, and unit tests to reflect these changes.
2026-03-20 16:24:24 -07:00
Abhijit Balaji b692310478 test(cli): update config tests for default topic tool exclusion 2026-03-20 16:24:24 -07:00
Abhijit Balaji 61a46fb933 refactor(core): transition topic management from singleton to session-scoped TopicState
- Move topic tracking from global TopicManager to a session-scoped TopicState within Config.
- Implement sanitization to strip newlines and carriage returns from topic titles.
- Reject empty or whitespace-only topic titles for improved robustness.
- Update CreateNewTopicTool and PromptProvider to use the session-scoped state.
- Disable topicUpdateNarration by default in .gemini/settings.json.
- Enhance test coverage for state independence and sanitization.
2026-03-20 16:24:23 -07:00
Abhijit Balaji 7bc55f4db4 feat(core): always allow topic tool and refine reasoning mandate
- Added explicit policy rules to always allow 'create_new_topic' in all modes.
- Updated topic tool output to use 'Current topic' phrasing for clarity.
- Replaced the 'Thinking Protocol' with a mandate for internal reasoning to prevent literal thought block output in the UI.
- Added and updated unit tests to verify policy and tool behavior.
2026-03-20 16:24:23 -07:00
Abhijit Balaji 731433499b feat(core): implement tool-based topic grouping (Chapters)
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.
2026-03-20 16:24:23 -07:00
cynthialong0-0 e8fe43bd69 feat(browser): add sensitive action controls and read-only noise reduction (#22867) 2026-03-20 22:34:04 +00:00
Tommaso Sciortino 11ec4ac2f8 test(cli): address unresolved feedback from PR #23252 (#23303) 2026-03-20 21:42:01 +00:00
Coco Sheng 8eb419a47a refactor(ide): replace dynamic undici import with static fetch import (#23268) 2026-03-20 21:14:25 +00:00
cynthialong0-0 4e80f01fda feat(core): add security prompt for browser agent (#23241) 2026-03-20 20:12:24 +00:00
Tommaso Sciortino 6c78eb7a39 test(cli): refactor tests for async render utilities (#23252) 2026-03-20 20:08:29 +00:00
kevinjwang1 86a3a913b5 Fix schema for ModelChains (#23284) 2026-03-20 19:50:15 +00:00
Sehoon Shon 05e4ea80ee feat(core): refine User-Agent for VS Code traffic (unified format) (#23256) 2026-03-20 19:31:01 +00:00
Dev Randalpura cca595971d fix(core): add sanitization to sub agent thoughts and centralize utilities (#22828) 2026-03-20 19:19:18 +00:00
Sandy Tao 26b9af1cdc refactor(core): use absolute paths in GEMINI.md context markers (#23135) 2026-03-20 19:10:01 +00:00
Jerop Kipruto b459e1a108 feat(telemetry): track if session is running in a Git worktree (#23265) 2026-03-20 19:01:12 +00:00
Ratish P 62cb14fa52 feat(extensions): add --skip-settings flag to install command (#17212) 2026-03-20 16:10:59 +00:00
kevinjwang1 7a65c1e91d Add support for linking in the extension registry (#23153) 2026-03-20 15:08:34 +00:00
Jerop Kipruto 5a3c7154df feat(worktree): add Git worktree support for isolated parallel sessions (#22973) 2026-03-20 14:10:51 +00:00
Michael Bleigh b9c87c14a2 feat(core): introduce AgentSession and rename stream events to agent events (#23159) 2026-03-20 13:40:10 +00:00
nmcnamara-eng 52250c162d feat(cli): conditionally exclude ask_user tool in ACP mode (#23045)
Co-authored-by: Sri Pasumarthi <sripas@google.com>
Co-authored-by: Sri Pasumarthi <111310667+sripasg@users.noreply.github.com>
2026-03-20 06:18:55 +00:00
Gaurav 8615315711 feat(core): add support for admin-forced MCP server installations (#23163) 2026-03-19 22:32:43 +00:00
matt korwel c9a336976b feat(core): implement native Windows sandboxing (#21807) 2026-03-19 22:25:22 +00:00
kevinjwang1 06a7873c51 Add ModelChain support to ModelConfigService and make ModelDialog dynamic (#22914) 2026-03-19 22:22:26 +00:00
kevinjwang1 0e66f545ca Ensure that copied extensions are writable in the user's local directory (#23016) 2026-03-19 22:22:08 +00:00
ruomeng 98d1bec99f fix(plan): clarify that plan mode policies are combined with normal mode (#23158) 2026-03-19 21:51:10 +00:00
Sri Pasumarthi 08063d7b0a feat: ACP: Add token usage metadata to the send method's return value (#23148) 2026-03-19 21:49:50 +00:00
Sri Pasumarthi 36dbaa8462 fix: upgrade ACP SDK from 0.12 to 0.16.1 (#23132) 2026-03-19 21:02:33 +00:00
Sandy Tao 33f630111f feat(core): add experimental memory manager agent to replace save_memory tool (#22726)
Co-authored-by: Christian Gunderman <gundermanc@gmail.com>
2026-03-19 12:57:52 -07:00
Sandy Tao 4e5dfd0cb7 feat(core): cap JIT context upward traversal at git root (#23074) 2026-03-19 17:50:58 +00:00
Jacob Richman 524b1e39a5 Fix logging and virtual list. (#23080) 2026-03-19 17:50:49 +00:00
Abhi 32a123fc54 feat(core): inject memory and JIT context into subagents (#23032) 2026-03-19 17:16:09 +00:00
Tommaso Sciortino 23264ced9a refactor(cli): integrate real config loading into async test utils (#23040) 2026-03-19 17:05:33 +00:00
cynthialong0-0 7de0616229 fix(browser-agent): enable "Allow all server tools" session policy (#22343) 2026-03-19 16:32:35 +00:00
joshualitt 39d3b0e28c feat(cli): Partial threading of AgentLoopContext. (#22978) 2026-03-19 16:02:13 +00:00
Gaurav 5acaacad96 fix(core): narrow browser agent description to prevent stealing URL tasks from web_fetch (#23086) 2026-03-19 10:45:59 +00:00
Jason Matthew Suhari a921bcd9ef fix(core): don't persist browser consent sentinel in non-interactive mode (#23073) 2026-03-19 06:47:13 +00:00
Sri Pasumarthi e9171fd792 fix: circumvent genai sdk requirement for api key when using gateway auth via ACP (#23042) 2026-03-19 04:31:02 +00:00
Adam Weidman 2009fbbd92 feat(core): add content-utils (#22984) 2026-03-19 02:30:48 +00:00
Bryan Morgan 8db2948361 fix(cli): correctly handle auto-update for standalone binaries (#23038) 2026-03-19 01:52:23 +00:00
Abhi 5fa14dbe42 feat(core): resilient subagent tool rejection with contextual feedback (#22951) 2026-03-19 01:09:37 +00:00
Valery Teplyakov c9d48026c4 fix(acp): provide more meta in tool_call_update (#22663)
Co-authored-by: Mervap <megavaprold@gmail.com>
Co-authored-by: Sri Pasumarthi <sripas@google.com>
2026-03-19 00:02:07 +00:00
Dev Randalpura 34f271504a fix(ui): fix flickering on small terminal heights (#21416)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2026-03-18 21:28:21 +00:00
ruomeng 94e6bf8591 fix(cli): resolve duplicate footer on tool cancel via ESC (#21743) (#21781) 2026-03-18 20:27:38 +00:00
Emily Hedlund f6e21f50fd feat(core): implement strict macOS sandboxing using Seatbelt allowlist (#22832) 2026-03-18 20:07:54 +00:00
ruomeng 1725ec346b feat(plan): support plan mode in non-interactive mode (#22670) 2026-03-18 20:00:26 +00:00