(filePath: string)
| 181 | |
| 182 | // Convert absolute paths to relative paths from workspace root |
| 183 | const formatPath = (filePath: string) => { |
| 184 | if (path.isAbsolute(filePath)) { |
| 185 | const workspaceRoot = process.cwd(); |
| 186 | const relativePath = path.relative(workspaceRoot, filePath); |
| 187 | return relativePath || filePath; |
| 188 | } |
| 189 | return filePath; |
| 190 | }; |
| 191 | |
| 192 | // Handle specific tool output formatting |
| 193 | switch (toolName) { |