feat(strictPlan): add allowedTools configuration to restrict available tools

This commit is contained in:
xixingde 2026-04-10 12:24:43 +08:00
parent 082345b8aa
commit 47b2db23df

View File

@ -8,6 +8,14 @@ export function registerStrictPlanSkill(): void {
whenToUse:
'根据用户的需求创建具体可实施的计划。Use this when you need to create structured, actionable implementation plans based on user requirements. This agent follows a strict workflow: understand requirements → QuickExplore project → clarify requirements → create proposal → implement proposal.',
userInvocable: true,
allowedTools:[
"AskUserQuestion",
"Agent",
"Read",
"Write",
"Edit",
"TodoWrite",
],
// 关键:在子 Agent 中运行
context: 'fork',
// 关键:使用 StrictPlan Agent