feat: 9-agent migration matrix (dsh/workbuddy/zcode/mimo), 81 combinations tested, 210 tests
031fd6d verified Download src/parsers/index.ts from hongcoding/agentlens: direct link, hf CLI and curl.
- Browser
- Download file 1.12 kB
-
https://huggingface.co/datasets/hongcoding/agentlens/resolve/main/src/parsers/index.ts
- Command line
-
hf download hf://datasets/hongcoding/agentlens/src/parsers/index.ts
-
curl -L -o index.ts https://huggingface.co/datasets/hongcoding/agentlens/resolve/main/src/parsers/index.ts
1.12 kB
| import type { ConfigParser } from "./base.js"; | |
| import { claudeParser } from "./claude.js"; | |
| import { cursorParser } from "./cursor.js"; | |
| import { codexParser } from "./codex.js"; | |
| import { windsurfParser } from "./windsurf.js"; | |
| import { copilotParser } from "./copilot.js"; | |
| import { dshParser, workbuddyParser, zcodeParser, mimoParser } from "./agents-md.js"; | |
| /** | |
| * Registration order matters for scanning: AGENTS.md is shared by codex, dsh, | |
| * workbuddy, zcode and mimo, so codex is registered first and scan dedupes by | |
| * file path (the file is attributed once, to the first matching agent). | |
| */ | |
| export const parsers: Record<string, ConfigParser> = { | |
| claude: claudeParser, | |
| cursor: cursorParser, | |
| codex: codexParser, | |
| windsurf: windsurfParser, | |
| copilot: copilotParser, | |
| dsh: dshParser, | |
| workbuddy: workbuddyParser, | |
| zcode: zcodeParser, | |
| mimo: mimoParser, | |
| }; | |
| export function getParser(agent: string): ConfigParser | undefined { | |
| return parsers[agent]; | |
| } | |
| export { | |
| claudeParser, | |
| cursorParser, | |
| codexParser, | |
| windsurfParser, | |
| copilotParser, | |
| dshParser, | |
| workbuddyParser, | |
| zcodeParser, | |
| mimoParser, | |
| }; | |