文件历史

13 次代码提交

作者 SHA1 备注 提交日期
Alex Rudenko fb6e857d4e chore(deps): bump lighthouse to 13.1.0 (#1825)
Changelog
https://github.com/GoogleChrome/lighthouse/blob/main/changelog.md
2026-04-08 06:24:16 +00:00
Matt Van Horn 2e1eabac02 chore: add eslint rule to validate tool schema patterns (#1191)
## Summary

- Add `@local/no-zod-nullable-object` ESLint rule that disallows
`.nullable()` and `.object()` usage in tool schema files
(`src/tools/**/*.ts`)
- Fix the existing `zod.object()` violation in `fill_form` by converting
the elements array from objects to `"uid=value"` formatted strings
- Remove the TODO from CONTRIBUTING.md and link the rule name to the
documented restriction

## Context

Per the [PR #1073
review](https://github.com/ChromeDevTools/chrome-devtools-mcp/pull/1073#discussion_r2872188785)
and the CONTRIBUTING.md guidelines, tool schemas should not use
`.nullable()` or `.object()` types. Complex objects should be
represented as short formatted strings instead.

The rule catches:
- `zod.object({...})` / `z.object({...})` - flags direct zod object
schema usage
- `.nullable()` - flags nullable schema usage on any expression

Closes #1076

## Test plan

- [ ] `npx eslint src/tools/` passes with no violations
- [ ] Creating a test file with `zod.object()` or `.nullable()` in
`src/tools/` triggers the rule
- [ ] TypeScript compilation passes (`npx tsc --noEmit`)
- [ ] Existing `fill_form` test updated to use new string format

---------

Co-authored-by: Matt Van Horn <455140+mvanhorn@users.noreply.github.com>
Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
Co-authored-by: Nikolay Vitkov <34244704+Lightning00Blade@users.noreply.github.com>
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
2026-04-01 07:40:32 +00:00
Alex Rudenko d7d26a103b docs: revise contribution process and add release process (#1134)
Updated contribution guidelines to reflect the development and release
processes.

---------

Co-authored-by: Mathias Bynens <mathias@qiwi.be>
2026-03-06 12:05:31 +00:00
Nicholas Roscino a65a4fe068 chore: updating doc to reflect new index position (#1136)
Updating the CONTRIBUTING.md with
`/build/src/bin/chrome-devtools-mcp.js`

Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
2026-03-06 11:07:14 +00:00
Alex Rudenko 013110b0ee chore: generate cli automatically (#1117) 2026-03-05 13:35:15 +00:00
Alex Rudenko 03784577ff docs: add feature release checklist to CONTRIBUTING.md (#1118)
Added a feature release checklist to the contributing guidelines.
2026-03-05 13:05:28 +00:00
Alex Rudenko e51ba47203 fix: simplify emulation and script tools (#1073)
- reduces the token usage.
- makes emulation and script compatible with CLI.
- documents .nullable() and .object() restrictions for the future.
- the emulation tools do not have nullable anymore and undefined would
clear the emulation instead. The model is thus required to provide all
emulation settings at once.

Closes https://github.com/ChromeDevTools/chrome-devtools-mcp/issues/918
2026-03-02 13:31:55 +00:00
Alex Rudenko 9a31ac7aba docs: add a mention of evals into contributing.md (#773) 2026-01-16 09:22:42 +00:00
zyzyzyryxy 9111e2c795 docs: Add note on node version when building (#333)
I heard several people had issues installing the project locally due to
not noticing the difference between node version required to run vs to
build the project. This improvement aims at helping in those cases and
hopefully preventing small waste of time.

Co-authored-by: Piotr Paulski <piotrpaulski@chromium.org>
2025-10-10 12:46:35 +00:00
Nikolay Vitkov c509c64576 fix: increase timeouts in case of Emulation (#71) 2025-09-22 18:13:49 +02:00
Sebastian Benz 0c7daa0b86 chore: refactor docs generating (#55)
* add script `npm run docs` that builds, generate docs and runs
formatter to auto fix formatting after doc generation
* rename generate-docs to docs:generate
* update presubmit workflow
* add docs process to contributing.md
2025-09-19 15:57:10 +02:00
Alex Rudenko 2bb8800f72 docs: conventional commits (#6) 2025-09-11 13:37:57 +02:00
Alex Rudenko 31a0bdce26 feat: initial version 2025-09-11 12:46:05 +02:00