Skip to content

fix(deps): declare chokidar and open for root scripts - #9113

Merged
patmmccann merged 1 commit into
adcontextprotocol:mainfrom
patmmccann:agent/declare-script-deps
Nov 19, 2026
Merged

patmmccann merged 1 commit into
adcontextprotocol:mainfrom
patmmccann:agent/declare-script-deps

Conversation

@patmmccann

Copy link
Copy Markdown
Collaborator

🤖 This PR was written by an AI agent (Claude Code) on behalf of @patmmccann.

Follow-up to #9110, from the Codex review on that PR.

scripts/dev-docs.mjs imports chokidar and scripts/google-oauth-setup.ts imports open. Neither was declared in the root package.json. They came from the Mintlify dependency tree, and #9110 pruned that tree (mint 4.2 -> 4.3), so after a clean npm ci, npm run dev:docs and the OAuth setup script fail with ERR_MODULE_NOT_FOUND.

This adds both as root devDependencies on the majors the scripts already ran against: chokidar ^3.5.3 (resolves 3.6.0) and open ^8.4.2. The lockfile was refreshed with npm install --package-lock-only (npm 10.9.4).

I checked for anything else the pruning broke. I compared every top-level package #9110 removed with the bare imports in server/, scripts/, tests/, workers/, examples/, implementations/, .github/ and vitest.config.ts. chokidar and open were the only matches. None of the removed packages' bins appear in package.json scripts, workflows or shell scripts. The two server type gaps are already fixed in #9110.

npm audit is unchanged at 7 findings, all of them the sharp/minimatch items listed in #9110. No Dependabot alerts change. No changeset, because this is dependency maintenance with no protocol change.

🤖 Generated with Claude Code

scripts/dev-docs.mjs imports chokidar and scripts/google-oauth-setup.ts
imports open, but neither was declared. Both came from the Mintlify
dependency tree, and adcontextprotocol#9110 pruned that tree, so `npm run dev:docs` and
the OAuth setup script now fail with ERR_MODULE_NOT_FOUND after a clean
install. Declare them as root devDependencies on the majors the scripts
already ran against (chokidar 3, open 8).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@mintlify

mintlify Bot commented Nov 19, 2026

Copy link
Copy Markdown

Preview approval required

This pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit 5fe2720.

Approve preview

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-19T18:54:19.231262Z 5fe2720 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@aao-secretariat aao-secretariat Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ladon verdict: Approve

Approve — clean dependency-maintenance PR.

Checked: declares chokidar ^3.5.3 and open ^8.4.2 as root devDependencies to fix two bare imports (scripts/dev-docs.mjs:26, scripts/google-oauth-setup.ts:14) that previously resolved transitively via mint and broke after #9110 pruned that tree. Majors match existing usage (chokidar v3 default export, open v8 CJS default); devDependencies is the correct section (dev/build scripts, not server runtime); lockfile additions are all dev-only transitives. No protocol surface touched (static/schemas/source/**, docs/reference/**, dist/** untouched), so no changeset required and no spec/docs coherence, oneOf, or artifact-immutability concerns apply.

Gate check: gated_paths false, high_risk false, no no-auto-approve team match, no prior decision. review_decision is REVIEW_REQUIRED, but with gated_paths false that does not force escalate. No findings of any severity. Falls through to row 9.

@patmmccann
patmmccann merged commit b4c40fc into adcontextprotocol:main Nov 19, 2026
59 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant