Skip to content

chore(deps): drop the unused direct MCP SDK declaration - #372

Merged
flyingrobots merged 2 commits into
mainfrom
chore/drop-direct-mcp-sdk
Oct 20, 2026
Merged

flyingrobots merged 2 commits into
mainfrom
chore/drop-direct-mcp-sdk

Conversation

@flyingrobots

Copy link
Copy Markdown
Owner

Follow-up to #354 (merged as 2abdb15).

No Jedit code imports @modelcontextprotocol/sdk; only package.json declared it. This removes that direct declaration. It does not remove the SDK from the application: @flyingrobots/graft depends on it (^1.29.0), so it stays installed at 1.32.1, the version #354 selected. fast-uri (3.1.8) and ip-address (10.7.4) are unchanged.

Dependabot's rescan after #354 is what confirms which alerts closed; this change does not alter any resolved version.

No Jedit code imports @modelcontextprotocol/sdk. It stays installed through @flyingrobots/graft (^1.29.0), resolved at 1.32.1 as #354 selected; fast-uri 3.1.8 and ip-address 10.7.4 are unchanged. Lockfile updated with npm uninstall --package-lock-only, which removes only the root declaration. ReplaceRange proof locks refreshed for the new package.json and package-lock.json bytes (toolchain-lock file hashes; build-lock toolchain hash, closure entries, and closure digest recomputed with the algorithm in tests/assert-build-output.mjs).
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-20T05:25:34.836286Z d8705d5 Manual request
ℹ️ 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.

@coderabbitai

coderabbitai Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 6 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 22627ba0-deac-4921-812d-63d8ef9f5727
📥 Commits

Reviewing files that changed from the base of the PR and between 721c8d1 and d8705d5.

⛔ Files ignored due to path filters: 1
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing: 4
  • CHANGELOG.md
  • edict/replace-range/edict.build-lock.json
  • edict/replace-range/edict.toolchain-lock.json
  • package.json

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 1ab12c57-9850-440b-bf5f-bafea0ccf481
📥 Commits

Reviewing files that changed from the base of the PR and between 2abdb15 and 721c8d1.

⛔ Files ignored due to path filters: 1
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing: 4
  • CHANGELOG.md
  • edict/replace-range/edict.build-lock.json
  • edict/replace-range/edict.toolchain-lock.json
  • package.json
💤 Files with no reviewable changes: 1
  • package.json

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

📜 Recent review details
⏰ Context from checks skipped due to timeout: 4
  • GitHub Check: release-gate / jedit-echo
  • GitHub Check: edict / replace-range package and pure runtime chain
  • GitHub Check: quality
  • GitHub Check: static / build
🔇 Additional comments: 3
edict/replace-range/edict.toolchain-lock.json: 1

19-23: LGTM!

edict/replace-range/edict.build-lock.json: 1

5-5: LGTM!

Also applies to: 8-8, 20-20, 88-92

CHANGELOG.md: 1

5-9: LGTM!

Summary by CodeRabbit

  • Chores
    • Removed the unused direct Model Context Protocol SDK dependency.
    • The SDK remains available transitively through the existing integration package, so current functionality is unchanged.
    • Refreshed build and toolchain verification records to reflect the updated package configuration.

Walkthrough

The package manifest no longer declares @modelcontextprotocol/sdk directly. The changelog states that @flyingrobots/graft still provides the SDK transitively. ReplaceRange proof-lock hashes were refreshed.

Changes

Dependency and proof-lock update

Layer / File(s) Summary
Remove dependency and refresh proof locks
package.json, edict/replace-range/edict.toolchain-lock.json, edict/replace-range/edict.build-lock.json, CHANGELOG.md
The package manifest removes the direct SDK dependency. The toolchain and build lock files record updated hashes. The changelog documents the removal and lock refresh.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Possibly related issues

  • flyingrobots/jedit issue 296 — This change refreshes ReplaceRange proof-lock hashes, but does not add the checked-in ReplaceRange implementation requested by the issue.
Merge Risk: ⚪ Minimal · up to 721c8

The dependency removal preserves the resolved SDK and passes the proof-lock integrity checks.

Architecture Summary

Architecture risk: 🔵 Low · up to 721c8

The change affects 3 systems.

Changed systems: edict, CHANGELOG.md, package.json

Architecture concerns
No architecture-level concerns identified.

Review details

Systems and components

  • observed — edict (service) was modified; 2 changed files map to changed impact.
  • observed — CHANGELOG.md (service) was modified; 1 changed file maps to changed impact.
  • observed — package.json (service) was modified; 1 changed file maps to changed impact.

Before / after behavior

  • observed — Modified behavior in CHANGELOG.md: Added a changelog entry documenting removal of the unused direct SDK dependency, its retained Graft-provided version, and refreshed ReplaceRange proof locks.
  • observed — Modified behavior in edict/replace-range/edict.build-lock.json: Updated the toolchain lock SHA-256 and source-closure digest.
  • observed — Modified behavior in edict/replace-range/edict.build-lock.json: Updated the recorded SHA-256 for application/edict.toolchain-lock.json to match the new toolchain lock.
  • observed — Modified behavior in edict/replace-range/edict.build-lock.json: Updated the recorded SHA-256 values for project/package.json and project/package-lock.json.
Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title clearly and concisely identifies the main change: removing the unused direct MCP SDK dependency declaration.
Description check Passed The description directly explains the dependency removal, lockfile updates, transitive SDK retention, and proof-lock refreshes.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (3 skipped: 3 unsupported.)

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

One direct dependency leaves the page
Graft keeps the SDK in range
Proof-lock hashes turn anew
The changelog records what changed, too
A tidy manifest closes the review

Comment @coderabbitai help to get the list of available commands.

coderabbitai[bot]
coderabbitai Bot previously approved these changes Oct 20, 2026
@flyingrobots

Copy link
Copy Markdown
Owner Author

@codex review please, focus on whether the lockfile change removes only the root declaration (the SDK must stay at 1.32.1 via @flyingrobots/graft) and whether the ReplaceRange proof-lock refresh matches the new package bytes.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Hooray!

Reviewed commit: 721c8d1851

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@flyingrobots

Copy link
Copy Markdown
Owner Author

@codex review please, focus on d8705d5: the merge of origin/main (CHANGELOG conflict only, all entries kept). The ReplaceRange proof locks still match the combined tree; main changed none of the hashed files.

@flyingrobots

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep it up!

Reviewed commit: d8705d5042

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@flyingrobots
flyingrobots merged commit 76107f9 into main Oct 20, 2026
14 checks passed
@flyingrobots
flyingrobots deleted the chore/drop-direct-mcp-sdk branch October 20, 2026 05:25
flyingrobots added a commit that referenced this pull request Oct 20, 2026
Brings in #372 (drops the direct MCP SDK declaration). The ReplaceRange
proof locks are recomputed for the combined tree: the toolchain lock now
pins the post-#372 package.json and package-lock.json bytes and this
branch's ci.yml bytes, and the build lock's toolchain-lock hash, ci.yml
closure entry, and closure digest are recomputed with the algorithm in
tests/assert-build-output.mjs (every closure entry verified against the
tree). CHANGELOG keeps every entry.
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