Sandy Tao
5194cef9c1
feat: add Forever Mode for autonomous long-running agent sessions
...
Add --forever CLI flag that enables autonomous agent operation with
auto-resume, context management, and session optimization.
Core features:
- schedule_work tool: agent declares pause duration, system auto-resumes
with countdown timer
- PreCompress hook enhancement: hooks can return newHistory to replace
built-in LLM compression
- Idle hook: fires after configurable inactivity, can auto-submit prompts
- Forever mode disables MemoryTool, EnterPlanModeTool, interactive shell
Session optimization for long-running sessions:
- Record lastCompressionIndex on ConversationRecord; on resume, only load
post-compression messages (O(N) → O(recent))
- Skip file I/O in updateMessagesFromHistory when no tool results to sync
- Prune UI history to last 50 items after each context compression to
prevent unbounded memory growth
2026-03-17 14:33:58 -07:00
Adib234
61fd71dc29
fix(plan): allowlist get_internal_docs in Plan Mode ( #22668 )
2026-03-17 00:34:30 +00:00
Abhi
8432bcee75
fix(core): resolve MCP tool FQN validation, schema export, and wildcards in subagents ( #22069 )
2026-03-12 14:17:36 +00:00
Spencer
a220874281
feat(policy): support auto-add to policy by default and scoped persistence ( #20361 )
2026-03-10 17:01:41 +00:00
anj-s
c1317aafb3
fix: logic for task tracker strategy and remove tracker tools ( #21355 )
2026-03-06 15:17:49 +00:00
anj-s
a8f507352b
feat (core): Implement tracker related SI changes ( #19964 )
2026-03-06 00:18:05 +00:00
anj-s
a63c76522a
feat(core): Add tracker CRUD tools & visualization ( #19489 )
...
Co-authored-by: Jerop Kipruto <jerop@google.com >
2026-03-04 00:42:48 +00:00
Abhi
28e79831ac
fix(core): sanitize and length-check MCP tool qualified names ( #20987 )
2026-03-03 21:38:52 +00:00
Sandy Tao
a153ff587b
refactor(core): Extract tool parameter names as constants ( #20460 )
2026-02-28 21:27:54 +00:00
Jerop Kipruto
182c858e67
feat(policy): centralize plan mode tool visibility in policy engine ( #20178 )
...
Co-authored-by: Mahima Shanware <mshanware@google.com >
2026-02-24 17:17:43 +00:00
Aishanee Shah
5559d40f31
refactor(core): complete centralization of core tool definitions ( #18991 )
2026-02-14 04:55:02 +00:00
Jerop Kipruto
9df604b01b
feat(plan): hide plan write and edit operations on plans in Plan Mode ( #19012 )
2026-02-13 23:15:21 +00:00
Aishanee Shah
b62c6566be
refactor(core): centralize tool definitions (Group 1: replace, search, grep) ( #18944 )
2026-02-13 02:05:33 +00:00
Adib234
84ce53aafa
feat(plan): allow skills to be enabled in plan mode ( #18817 )
...
Co-authored-by: Jerop Kipruto <jerop@google.com >
2026-02-11 17:59:03 +00:00
Aishanee Shah
5d0570b113
refactor(core): centralize core tool definitions and support model-specific schemas ( #18662 )
2026-02-10 01:29:52 +00:00
Jerop Kipruto
650980af37
feat(core): add enter_plan_mode tool ( #18324 )
2026-02-04 18:57:41 +00:00
Sandy Tao
5b254c379c
feat(core): rename search_file_content tool to grep_search and add legacy alias ( #18003 )
2026-02-03 04:18:24 +00:00
Jerop Kipruto
ed26ea49e9
feat(plan): add core logic and exit_plan_mode tool definition ( #18110 )
2026-02-03 03:30:03 +00:00
Sandy Tao
5e96373e6b
feat(core): implement tool name aliasing for backward compatibility ( #17974 )
2026-02-03 00:34:14 +00:00
Jerop Kipruto
0774f60e08
feat(plan): enable AskUser tool in Plan mode for clarifying questions ( #17694 )
2026-01-27 20:23:49 +00:00
Jack Wotherspoon
36d618f72a
feat: wire up AskUserTool with dialog ( #17411 )
2026-01-27 18:30:44 +00:00
Jerop Kipruto
3c832ddbeb
feat(plan): implement simple workflow for planning in main agent ( #17326 )
2026-01-23 06:53:47 +00:00
Christian Gunderman
2c6781d134
Refactor subagent delegation to be one tool per agent ( #17346 )
2026-01-23 02:18:31 +00:00
Jack Wotherspoon
e65208b244
feat: add AskUser tool schema ( #16988 )
2026-01-22 17:12:13 +00:00
N. Taylor Mullen
958284dc24
Agent Skills: Implement Autonomous Activation Tool & Context Injection ( #15725 )
2026-01-02 19:15:06 +00:00
Tommaso Sciortino
10ba348a3a
Introspection agent demo ( #15232 )
2025-12-19 22:11:32 +00:00
Abhi
2b426c1d91
feat: add agent toml parser ( #15112 )
2025-12-18 03:46:55 +00:00
Abhi
91b15fc9dc
refactor: implement DelegateToAgentTool with discriminated union ( #14769 )
2025-12-10 21:14:13 +00:00
Coco Sheng
1f813f6a06
feat(a2a): Introduce restore command for a2a server ( #13015 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Shreya Keshive <shreyakeshive@google.com >
2025-12-09 15:08:23 +00:00
Abhi
c8518d6a63
refactor(tools): Move all tool names into tool-names.ts ( #11493 )
2025-10-20 00:53:53 +00:00
Abhi
23e52f0ff3
refactor(core): Centralize tool names to avoid circular dependencies - Edit, Grep, Read ( #11434 )
2025-10-19 23:21:47 +00:00
Abhi
2ef38065c7
refactor(tools): Migrate shell tool name to a centralized constant ( #11418 )
2025-10-18 01:07:26 +00:00
Abhi
3a1d3769ae
Refactor EditTool.Name to use centralized EDIT_TOOL_NAME ( #11343 )
2025-10-17 05:35:35 +00:00
Abhi
c9c633be62
refactor: move web_fetch tool name to tool-names.ts ( #11174 )
2025-10-16 02:48:12 +00:00
Abhi
ab3804d823
refactor(core): migrate web search tool to tool-names ( #10782 )
2025-10-10 19:51:24 +00:00
Abhi
3d24575239
refactor(core): Centralize 'write_file' tool name ( #10694 )
2025-10-09 04:33:31 +00:00
Abhi
8aa730082e
refactor(core): Centralize 'write_todos_list' tool name ( #10690 )
2025-10-08 16:34:56 +00:00
Abhi
331ae7dbdf
feat: Add enableSubagents configuration and wire up subagent registration ( #9988 )
2025-10-01 20:54:00 +00:00