(query: string)
| 50 | } |
| 51 | |
| 52 | async function explore(query: string): Promise<string> { |
| 53 | const res = await new ToolHandler(cg).execute('codegraph_explore', { query }); |
| 54 | return res.content?.[0]?.text ?? ''; |
| 55 | } |
| 56 | |
| 57 | function defLineOf(name: string): number { |
| 58 | const node = cg.getNodesByName(name).find((n) => n.filePath === TARGET && n.startLine > 0); |
no test coverage detected