Repository navigation
feat(assistant): several commands in one call - #3574
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Code reviewReviewed the six changed files against Bugs
Security
Performance
Quality
AGENTS.md
Prior reviews: none on this PR, so I left no concerns alone. Change sizeCompared with the base branch: the whole PR against main (merge base 2e238c0 to PR head 7b52124).
|
📖 Docs preview
GitHub Pages takes a minute or two to publish a new commit. Newer commits from the fork aren't published until a maintainer adds the |
Summary
Agents connected over MCP can run several commands in one call, as one undo step. The built-in assistant couldn't, so each command cost it a request and a step.
It is now offered the same
runtool. Every line goes through the approval and refusal rules ofrun_command, checked before any line runs, and a script that needs approval waits whole. MCP's tool list is unchanged apart from its order.A subagent given only some tools is now refused another one before its approval is asked for. It was refused before too, but only after the user had pressed Allow.
Reach: the built-in assistant on desktop, browser, phone and command line. No command or parameter changes.
Testing
runand found none.UI evidence
No visible UI change.
Related issue
Part of #3568.
Summary by CodeRabbit
runtool;snapshotremains available as its additional tool.