feat: 落地编码基本工具与 plan_* - #22
Merged
Merged
Conversation
把 read/write/edit/ls/grep/find/bash/powershell 和 plan_* 接到 Ports,Inspect 拦目录外路径;工作区写入 Current working directory。 Co-authored-by: Cursor <cursoragent@cursor.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
改了什么 / What changed
read/write/edit/ls/grep/find/bash/powershell与plan_*;工具定义留在internal/agent/tools,初始化只注入 Execute 用的 Ports。workspace_id优先,目录外 Inspect 失败;工作区内.cursor/*.md的 write 可跳过审批。pkg/git,不进 Agent Tool。怎么验证 / How to verify
cd server && go test ./...pnpm test:clientread/ls能读到会话工作目录;write在ask_for_approval下开审批,auto_approve/yolo直接写plan_write只落在.cursor/*.md,时间线出现计划预览相关 Issue / Related issue:#19