( _task: DiscoveryTaskType, rootPath: string )
| 75 | } |
| 76 | |
| 77 | async function runCodebaseMetadata( |
| 78 | _task: DiscoveryTaskType, |
| 79 | rootPath: string |
| 80 | ): Promise<DiscoverySurfaceResultType> { |
| 81 | const project = createToolProject(rootPath); |
| 82 | const response = await getCodebaseMetadataHandle( |
| 83 | {}, |
| 84 | { |
| 85 | indexState: project.indexState, |
| 86 | paths: project.paths, |
| 87 | rootPath: project.rootPath, |
| 88 | performIndexing: () => undefined |
| 89 | } |
| 90 | ); |
| 91 | return { payload: response.content?.[0]?.text ?? '{}' }; |
| 92 | } |
| 93 | |
| 94 | async function runTeamPatterns( |
| 95 | task: DiscoveryTaskType, |
nothing calls this directly
no test coverage detected