( _task: DiscoveryTaskType, rootPath: string )
| 115 | } |
| 116 | |
| 117 | async function runCodebaseContext( |
| 118 | _task: DiscoveryTaskType, |
| 119 | rootPath: string |
| 120 | ): Promise<DiscoverySurfaceResultType> { |
| 121 | const project = createToolProject(rootPath); |
| 122 | return { |
| 123 | payload: await generateCodebaseIntelligence(project) |
| 124 | }; |
| 125 | } |
| 126 | |
| 127 | const DEFAULT_SURFACE_RUNNERS: Record<DiscoverySurface, DiscoverySurfaceRunner> = { |
| 128 | search_codebase: runSearchCodebase, |
nothing calls this directly
no test coverage detected