feat(context): add the Rstack context engine - #344
Draft
ScriptedAlchemy wants to merge 126 commits into
Draft
Conversation
# Conflicts: # packages/rstack/src/config.ts # packages/rstack/src/rsbuildConfig.ts # packages/rstack/src/rslibConfig.ts # website/docs/en/guide/configuration.mdx # website/docs/zh/guide/configuration.mdx
# Conflicts: # packages/rstack/src/rslibConfig.ts # packages/rstack/src/rspressConfig.ts
# Conflicts: # packages/rstack/src/rslibConfig.ts # packages/rstack/src/rspressConfig.ts # pnpm-lock.yaml
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Track the new path-containment wording in the published packageRoot and configPath tool input descriptions. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Pass lintCaptureAdapter and testCaptureDependencies to createContextMcpServer instead of wrapping captureLintSnapshot and captureTestSnapshot wholesale, so upstream capture signature growth no longer needs matching wrapper updates here. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Upstream restored the semver @rsdoctor/agent-cli dependency and kept the canary as a root-only override per the preview dependency policy, so the preview installs cleanly under blockExoticSubdeps again. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This was referenced Aug 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds a checkout-local context engine so one MCP process can understand multiple Rsbuild and Rslib products, lint and test snapshots, Rsdoctor artifacts, and composed code evidence across a monorepo. Rstack CLI remains the thin
rs mcpcommand/configuration host and consumes the runtime from the standalone@rstackjs/contextrepository. It integrates capture intors buildandrs libwithout adding a coordinator daemon. Artifact reachability remains conservative and reports verification candidates rather than deletion claims.Related Links
This draft consumes the exact Context
711b987and stacked Rsdoctor Agent CLI8926633cpkg.pr.new previews for cross-repository validation. Stable release dependencies replace those preview URLs before release.