Skip to content

Fix patching for 2.1.9#388

Merged
bl-ue merged 5 commits intomainfrom
fix-patching-for-2.1.9
Jan 19, 2026
Merged

Fix patching for 2.1.9#388
bl-ue merged 5 commits intomainfrom
fix-patching-for-2.1.9

Conversation

@basekevin
Copy link
Copy Markdown
Member

@basekevin basekevin commented Jan 19, 2026

Summary by CodeRabbit

  • Bug Fixes

    • Fixed patching for Creative Cloud 2.1.9
  • Documentation

    • Enhanced documentation for configuring input pattern highlighters with updated examples and clearer setup instructions.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Jan 19, 2026

Caution

Review failed

The pull request is closed.

📝 Walkthrough

Walkthrough

This PR updates documentation with new changelog entries and README clarifications for input pattern highlighters, enhances the Box component detection mechanism in patches with a two-tier fallback approach, and makes dependency array detection in toolsets more flexible to accept optional additional dependencies.

Changes

Cohort / File(s) Summary
Documentation Updates
CHANGELOG.md, README.md
CHANGELOG.md: Added entry for CC 2.1.9 patching fix. README.md: Added explanatory paragraph and JSON schema example for configuring inputPatternHighlighters, plus minor table formatting adjustments.
Patch Detection Enhancement
src/patches/index.ts
Enhanced findBoxComponent to implement two-tier Box detection: prioritizes legacy displayName-based approach, then falls back to locating internal Box function by signature. Includes expanded error handling and logging for the new internal function path.
Toolset Dependency Flexibility
src/patches/toolsets.ts
Updated regex in getToolFetchingUseMemoLocation to support optional additional dependencies in array, accepting both [contextVar] and [contextVar, extraDep] patterns.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Suggested reviewers

  • bl-ue

Poem

🐰 A Box component's path now splits in two,
With fallback detection when old tricks won't do,
Dependencies flex with optional might,
And docs light the way—everything's bright!
Patching evolved, CC 2.1.9 fixed,
A changelog entry to complete the mix. 📝

✨ Finishing touches
  • 📝 Generate docstrings

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 markdownlint-cli2 (0.18.1)
CHANGELOG.md

markdownlint-cli2 v0.18.1 (markdownlint v0.38.0)
Finding: CHANGELOG.md
Linting: 1 file(s)
Summary: 1 error(s)
Error: EACCES: permission denied, open '/markdownlint-cli2-results.json'
at async open (node:internal/fs/promises:640:25)
at async Object.writeFile (node:internal/fs/promises:1214:14)
at async Promise.all (index 0)
at async outputSummary (file:///usr/local/lib/node_modules/markdownlint-cli2/markdownlint-cli2.mjs:877:5)
at async main (file:///usr/local/lib/node_modules/markdownlint-cli2/markdownlint-cli2.mjs:1053:25)
at async file:///usr/local/lib/node_modules/markdownlint-cli2/markdownlint-cli2-bin.mjs:12:22 {
errno: -13,
code: 'EACCES',
syscall: 'open',
path: '/markdownlint-cli2-results.json'
}

README.md

markdownlint-cli2 v0.18.1 (markdownlint v0.38.0)
Finding: README.md
Linting: 1 file(s)
Summary: 7 error(s)
Error: EACCES: permission denied, open '/markdownlint-cli2-results.json'
at async open (node:internal/fs/promises:640:25)
at async Object.writeFile (node:internal/fs/promises:1214:14)
at async Promise.all (index 0)
at async outputSummary (file:///usr/local/lib/node_modules/markdownlint-cli2/markdownlint-cli2.mjs:877:5)
at async main (file:///usr/local/lib/node_modules/markdownlint-cli2/markdownlint-cli2.mjs:1053:25)
at async file:///usr/local/lib/node_modules/markdownlint-cli2/markdownlint-cli2-bin.mjs:12:22 {
errno: -13,
code: 'EACCES',
syscall: 'open',
path: '/markdownlint-cli2-results.json'
}


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

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

@bl-ue bl-ue merged commit d341839 into main Jan 19, 2026
1 of 2 checks passed
@bl-ue bl-ue deleted the fix-patching-for-2.1.9 branch January 19, 2026 02:21
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.

2 participants