feat(strictPlan): add allowedTools configuration to restrict available tools
This commit is contained in:
parent
082345b8aa
commit
47b2db23df
|
|
@ -8,6 +8,14 @@ export function registerStrictPlanSkill(): void {
|
||||||
whenToUse:
|
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.',
|
'根据用户的需求创建具体可实施的计划。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,
|
userInvocable: true,
|
||||||
|
allowedTools:[
|
||||||
|
"AskUserQuestion",
|
||||||
|
"Agent",
|
||||||
|
"Read",
|
||||||
|
"Write",
|
||||||
|
"Edit",
|
||||||
|
"TodoWrite",
|
||||||
|
],
|
||||||
// 关键:在子 Agent 中运行
|
// 关键:在子 Agent 中运行
|
||||||
context: 'fork',
|
context: 'fork',
|
||||||
// 关键:使用 StrictPlan Agent
|
// 关键:使用 StrictPlan Agent
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user