refactor(costrict): rename QuickExplore to Explore, standardize imports and remove dead code

This commit is contained in:
xixingde 2026-04-09 11:26:48 +08:00
parent c15c952659
commit 80288a1c46
3 changed files with 4 additions and 14 deletions

View File

@ -59,7 +59,7 @@ function getReviewAndFixSystemPrompt(): string {
- 使\`sequential-thinking\`工具深入分析用户反馈的具体内容、意图
-
* 使\`read\`,\`grep\`,\`glob\`,\`file-outline\`工具
* 使'Agent工具'\`QuickExplore\`agent进行深度的项目探索
* 使'Agent工具'\`Explore\`agent进行深度的项目探索
2.
-
- task.md文件

View File

@ -1,14 +1,7 @@
import { BASH_TOOL_NAME } from 'src/tools/BashTool/toolName.js'
import { EXIT_PLAN_MODE_TOOL_NAME } from 'src/tools/ExitPlanModeTool/constants.js'
import { FILE_READ_TOOL_NAME } from 'src/tools/FileReadTool/prompt.js'
import { GLOB_TOOL_NAME } from 'src/tools/GlobTool/prompt.js'
import { GREP_TOOL_NAME } from 'src/tools/GrepTool/prompt.js'
import { hasEmbeddedSearchTools } from 'src/utils/embeddedTools.js'
import type { BuiltInAgentDefinition } from '../../tools/AgentTool/loadAgentsDir.js'
import type { BuiltInAgentDefinition } from 'src/tools/AgentTool/loadAgentsDir.js'
function getStrictPlanSystemPrompt(): string {
// Ant-native builds alias find/grep to embedded bfs/ugrep and remove the
// dedicated Glob/Grep tools, so point at find/grep via Bash instead.
return `你是一个专门为软件项目创建结构化需求提案的 PlanAgent。
"**理解用户需求→探索项目→需求澄清→创建提案→实施提案**"

View File

@ -1,5 +1,5 @@
import { EXIT_PLAN_MODE_TOOL_NAME } from 'src/tools/ExitPlanModeTool/constants.js'
import type { BuiltInAgentDefinition } from '../../loadAgentsDir.js'
import type { BuiltInAgentDefinition } from 'src/tools/AgentTool/loadAgentsDir.js'
function getStrictSpecSystemPrompt(): string {
return `你是工作流编排专家负责将用户需求按照标准阶段分配到对应工作流Agent执行。
@ -47,10 +47,7 @@ function getStrictSpecSystemPrompt(): string {
1. \`需求明确阶段->架构设计阶段->开发任务拆分阶段->方案执行阶段\` 执行
2. "继续""继续任务""继续执行"
\`!tool{spec-manage}(mode=specstage,path=./)\` 工作流开始执行
3. Agent执行
2. Agent执行
###