mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-21 18:44:30 -07:00
chore(core): explicitly state plan storage path in prompt (#18222)
This commit is contained in:
@@ -53,6 +53,7 @@ export class ExitPlanModeTool extends BaseDeclarativeTool<
|
||||
private config: Config,
|
||||
messageBus: MessageBus,
|
||||
) {
|
||||
const plansDir = config.storage.getProjectTempPlansDir();
|
||||
super(
|
||||
EXIT_PLAN_MODE_TOOL_NAME,
|
||||
'Exit Plan Mode',
|
||||
@@ -64,8 +65,7 @@ export class ExitPlanModeTool extends BaseDeclarativeTool<
|
||||
properties: {
|
||||
plan_path: {
|
||||
type: 'string',
|
||||
description:
|
||||
'The file path to the finalized plan (e.g., "plans/feature-x.md").',
|
||||
description: `The file path to the finalized plan (e.g., "${plansDir}/feature-x.md"). This path MUST be within the designated plans directory: ${plansDir}/`,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user