mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-30 06:54:15 -07:00
feat(core): add enter_plan_mode tool (#18324)
This commit is contained in:
@@ -35,6 +35,7 @@ import { MemoryTool, setGeminiMdFilename } from '../tools/memoryTool.js';
|
||||
import { WebSearchTool } from '../tools/web-search.js';
|
||||
import { AskUserTool } from '../tools/ask-user.js';
|
||||
import { ExitPlanModeTool } from '../tools/exit-plan-mode.js';
|
||||
import { EnterPlanModeTool } from '../tools/enter-plan-mode.js';
|
||||
import { GeminiClient } from '../core/client.js';
|
||||
import { BaseLlmClient } from '../core/baseLlmClient.js';
|
||||
import type { HookDefinition, HookEventName } from '../hooks/types.js';
|
||||
@@ -2155,6 +2156,7 @@ export class Config {
|
||||
}
|
||||
if (this.isPlanEnabled()) {
|
||||
registerCoreTool(ExitPlanModeTool, this);
|
||||
registerCoreTool(EnterPlanModeTool, this);
|
||||
}
|
||||
|
||||
// Register Subagents as Tools
|
||||
|
||||
Reference in New Issue
Block a user