chromedevtools--chrome-devtools-mcp
257b9943e9
This PR adds a tool based on the node test runner that runs a loop to see what tools a model chooses given a prompt. The expectations are encoding for each prompt. Run `npm run eval` to get results. Currently, only Gemini and needs and API key.
702 B
702 B
Instructions
- Use only scripts from
package.jsonto run commands. - Use
npm run buildto run tsc and test build. - Use
npm run testto build and run tests, run all tests to verify correctness. - Use
npm run test path-to-test.tsto build and run a single test file, for example,npm run test tests/McpContext.test.ts. - Use
npm run formatto fix formatting and get linting errors.
Rules for TypeScript
- Do not use
anytype. - Do not use
askeyword for type casting. - Do not use
!operator for type assertion. - Do not use
// @ts-ignorecomments. - Do not use
// @ts-nocheckcomments. - Do not use
// @ts-expect-errorcomments. - Prefer
for..ofinstead offorEach.