(toolName: string)
| 33 | const CODE_EDITING_TOOLS = ['Edit', 'Write', 'NotebookEdit'] |
| 34 | |
| 35 | function isCodeEditingTool(toolName: string): boolean { |
| 36 | return CODE_EDITING_TOOLS.includes(toolName) |
| 37 | } |
| 38 | |
| 39 | // Builds OTel counter attributes for code editing tools, enriching with |
| 40 | // language when the tool's target file path can be extracted from input |
no outgoing calls
no test coverage detected