You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove the unused shadcn generator CLI from the desktop toolchain. Its removal drops 101 locked package/version entries, including braces, fast-glob, micromatch and ts-morph; no packages are added.
What Changed
Remove the direct shadcn dependency and its unused desktop braces patch registration, then regenerate the lockfile with pnpm.
Move brace-depth regressions to mobile, where Expo/Metro still uses the patched package. Keep testing the actual installed dependencies without temporary installs or registry access.
Update the security-patch documentation to describe the remaining workspace coverage. Checked-in UI components and the separate shadcn lint package keep their existing roles.
Why
The generator's only code reference was a security regression test. Testing the dependency where it is still used lets desktop stop installing the generator and its dependency tree. Follow-up to #31681.
Visual Proof
N/A — dependency metadata and test placement only; no visual or interaction changes.
Testing
Fresh frozen, script-free root and mobile installs on macOS arm64; pnpm regenerated the lockfile with 101 entries removed and none added.
64 focused desktop dependency/security/build-contract and queued-editor tests, plus 11 mobile security regressions pass.
Full root pnpm tc, formatting, lint and the changed-code quality gate pass.
Mobile generated bundles rebuilt and the mobile test typecheck ratchet passes.
Review
Self-reviewed the removed dependency graph and remaining patch references. No runtime/client protocol, OS-specific code, folder-workspace behavior or UI changes.
No upstream skill-installer source, tests, fixtures, or registry data copied or translated.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 3 remain after this review.
📝 Walkthrough
The workspace removes the shadcn development dependency and the braces patch mapping. Desktop tests no longer check braces nesting limits. Mobile tests add nesting-limit checks for braces patterns and AST inputs, plus a simple expansion check. The dependency security documentation updates the listed patch coverage and regression tests.
Priority: ⬇️ Low
Merge Risk:⚪ Minimal · up to 2e18c
The cleanup removes the unused desktop braces dependency while retaining patch coverage in workspaces that still use it. No actionable merge risk is indicated.
Pre-merge checks: 5
Check name
Status
Explanation
Title check
The title clearly and concisely identifies the main change: removing the unused shadcn generator dependency.
Docstring Coverage
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 1…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Description check
The description is complete and relevant. It explains the user impact, changes, rationale, testing, visual proof, review scope, and agent-skill boundary. The linked issue is referenced as #31681 but i…
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 1 files. (1 skipped: 1 unsupported.)
Full details: Description check
Explanation
The description is complete and relevant. It explains the user impact, changes, rationale, testing, visual proof, review scope, and agent-skill boundary. The linked issue is referenced as #31681 but is not provided as an explicit issue link, and the template Notes and Checklist sections are omitted.
✨ Finishing Touches
📝 Generate docstrings
Commit to this branch
Create a new PR
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.
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
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.
ELI5
Remove the unused shadcn generator CLI from the desktop toolchain. Its removal drops 101 locked package/version entries, including braces, fast-glob, micromatch and ts-morph; no packages are added.
What Changed
Why
The generator's only code reference was a security regression test. Testing the dependency where it is still used lets desktop stop installing the generator and its dependency tree. Follow-up to #31681.
Visual Proof
N/A — dependency metadata and test placement only; no visual or interaction changes.
Testing
pnpm tc, formatting, lint and the changed-code quality gate pass.Review