(params: ReadFileToolParams, task: Task, callbacks: ToolCallbacks)
| 72 | readonly name = "read_file" as const |
| 73 | |
| 74 | async execute(params: ReadFileToolParams, task: Task, callbacks: ToolCallbacks): Promise<void> { |
| 75 | // Dispatch to legacy or new execution path based on format |
| 76 | if (isLegacyReadFileParams(params)) { |
| 77 | return this.executeLegacy(params.files, task, callbacks) |
| 78 | } |
| 79 | |
| 80 | return this.executeNew(params, task, callbacks) |
| 81 | } |
| 82 | |
| 83 | /** |
| 84 | * Execute new single-file format with slice/indentation mode support. |
nothing calls this directly
no test coverage detected