revert: "read-to-open"

This reverts commit c48d2e6080.
This commit is contained in:
can1357
2026-04-24 22:36:44 +02:00
parent 99a21b95ba
commit d82377cda8
44 changed files with 442 additions and 300 deletions
+1 -1
View File
@@ -567,7 +567,7 @@ export class TaskTool implements AgentTool<TSchema, TaskToolDetails, Theme> {
}
const planModeState = this.session.getPlanModeState?.();
const planModeTools = ["open", "grep", "find", "ls", "lsp", "web_search"];
const planModeTools = ["read", "grep", "find", "ls", "lsp", "web_search"];
const effectiveAgent: typeof agent = planModeState?.enabled
? {
...agent,