(repoId: string, options: { workingTaskIds?: string[] } = {})
| 177 | } |
| 178 | |
| 179 | async function readTaskList(repoId: string, options: { workingTaskIds?: string[] } = {}): Promise<OpenADETaskPreview[]> { |
| 180 | const repos = await readProjects(options) |
| 181 | return repos.find((repo) => repo.id === repoId)?.tasks ?? [] |
| 182 | } |
| 183 | |
| 184 | async function readTask(repoId: string, taskId: string): Promise<OpenADETask> { |
| 185 | const documentId = `code:task:${taskId}` |
no test coverage detected