(relativePath: string)
| 25 | } |
| 26 | |
| 27 | async function pluginDescription(relativePath: string): Promise<string> { |
| 28 | const raw = await fs.readFile(path.join(import.meta.dir, "..", relativePath), "utf8") |
| 29 | const { data } = parseFrontmatter(raw, relativePath) |
| 30 | if (typeof data.description !== "string") { |
| 31 | throw new Error(`Missing description in ${relativePath}`) |
| 32 | } |
| 33 | return data.description |
| 34 | } |
| 35 | |
| 36 | const HISTORICAL_AGENT_DESCRIPTIONS: Record<string, string> = { |
| 37 | "ce-adversarial-reviewer": |
no test coverage detected