fix(costrict): enable file edit and write tools for built-in agents
This commit is contained in:
parent
884e0208b8
commit
47b535af47
|
|
@ -104,8 +104,6 @@ export const REVIEW_AND_FIX_AGENT: BuiltInAgentDefinition = {
|
|||
disallowedTools: [
|
||||
AGENT_TOOL_NAME,
|
||||
EXIT_PLAN_MODE_TOOL_NAME,
|
||||
FILE_EDIT_TOOL_NAME,
|
||||
FILE_WRITE_TOOL_NAME,
|
||||
NOTEBOOK_EDIT_TOOL_NAME,
|
||||
],
|
||||
source: 'built-in',
|
||||
|
|
|
|||
|
|
@ -192,8 +192,13 @@ export const STRICT_PLAN_AGENT: BuiltInAgentDefinition = {
|
|||
'根据用户的需求创建具体可实施的计划。Use this when you need to create structured, actionable implementation plans based on user requirements. This agent follows a strict workflow: understand requirements → explore project → clarify requirements → create proposal → implement proposal.',
|
||||
disallowedTools: [
|
||||
EXIT_PLAN_MODE_TOOL_NAME,
|
||||
FILE_EDIT_TOOL_NAME,
|
||||
FILE_WRITE_TOOL_NAME,
|
||||
],
|
||||
tools:[
|
||||
"AskUserQuestion",
|
||||
"Agent",
|
||||
"Read",
|
||||
"Write",
|
||||
"Edit",
|
||||
],
|
||||
source: 'built-in',
|
||||
baseDir: 'built-in',
|
||||
|
|
|
|||
|
|
@ -101,8 +101,6 @@ export const SUB_CODING_AGENT: BuiltInAgentDefinition = {
|
|||
disallowedTools: [
|
||||
AGENT_TOOL_NAME,
|
||||
EXIT_PLAN_MODE_TOOL_NAME,
|
||||
FILE_EDIT_TOOL_NAME,
|
||||
FILE_WRITE_TOOL_NAME,
|
||||
NOTEBOOK_EDIT_TOOL_NAME,
|
||||
],
|
||||
source: 'built-in',
|
||||
|
|
|
|||
|
|
@ -123,8 +123,6 @@ export const TASK_CHECK_AGENT: BuiltInAgentDefinition = {
|
|||
disallowedTools: [
|
||||
AGENT_TOOL_NAME,
|
||||
EXIT_PLAN_MODE_TOOL_NAME,
|
||||
FILE_EDIT_TOOL_NAME,
|
||||
FILE_WRITE_TOOL_NAME,
|
||||
NOTEBOOK_EDIT_TOOL_NAME,
|
||||
],
|
||||
source: 'built-in',
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user