Commit 36ab285
committed
feat(plan-mode): 实现 Plan 模式功能及退出工具
新增 Plan 模式支持,包括:
1. 添加 ExitPlanMode 工具用于提交和确认方案
2. 实现权限模式循环切换 (DEFAULT → AUTO_EDIT → PLAN → DEFAULT)
3. 在执行管道中拦截非只读工具调用
4. 更新系统提示词和确认对话框支持方案审查
5. 添加相关文档说明使用流程
重构工具系统以支持 isReadOnly 标记,优化确认处理器传递逻辑1 parent 8fe1a77 commit 36ab285
49 files changed
Lines changed: 2840 additions & 682 deletions
File tree
- .claude
- docs
- development/planning
- public/guides
- src
- agent
- cli
- config
- context
- prompts
- slash-commands
- tools
- builtin
- plan
- search
- task
- core
- execution
- types
- ui
- components
- contexts
- hooks
- tests
- e2e/cli
- unit
- agent
- error
- llm
- services
- tools
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
0 commit comments