Skip to content

Fix patching errors in 2.1.32#468

Merged
bl-ue merged 1 commit intomainfrom
fix-patching-errors-2-1-32
Feb 5, 2026
Merged

Fix patching errors in 2.1.32#468
bl-ue merged 1 commit intomainfrom
fix-patching-errors-2-1-32

Conversation

@bl-ue
Copy link
Copy Markdown
Member

@bl-ue bl-ue commented Feb 5, 2026

Summary by CodeRabbit

Release Notes

  • New Features

    • Added Claude Opus 4.6 as a newly available model option.
    • Expanded support for experimental agent teams functionality.
  • Documentation

    • Updated documentation to reflect latest version compatibility.
    • Enhanced guidance for plan mode settings and agent configuration.

@bl-ue bl-ue enabled auto-merge (squash) February 5, 2026 18:09
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Feb 5, 2026

Caution

Review failed

The pull request is closed.

📝 Walkthrough

Walkthrough

Documentation updated with version 2.1.32 references, new Claude Opus 4.6 model added to custom models array, and pattern matching logic broadened in patch files to support alternative agent configuration variants (CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS).

Changes

Cohort / File(s) Summary
Documentation & Version Updates
README.md
Bumped embedded Claude Code version references from 2.1.31 to 2.1.32; expanded AGENTS.md and Auto-accept plan mode sections with version compatibility and UI/config guidance.
Model Selector Enhancement
src/patches/modelSelector.ts
Added Claude Opus 4.6 model entry to CUSTOM_MODELS array; refined push-pattern regex to allow optional leading space and broadened function declaration pattern for more flexible insertion point detection.
Agent Mode Pattern Expansion
src/patches/swarmMode.ts
Extended gate-function pattern matching to recognize both CLAUDE_CODE_AGENT_SWARMS and CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS variants; added corresponding sample diff header for experimental-teams.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • Fix patching for 2.1.9 #388: Both PRs modify src/patches patching logic by updating regexes and pattern detection to improve patch insertion for different Claude/Code variants.
  • Simplify swarm patch #430: Both PRs modify src/patches/swarmMode.ts gate-detection and patching logic; this PR broadens the pattern to include experimental-teams while the other simplifies insertion.

Poem

🐰 A new Opus hops into view,
With patterns refined and gates expanded too,
Two swarm modes now dance in the code,
Version 2.1.32 lights the road,
Tweaks complete, let the versioning chew! 🥕

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix-patching-errors-2-1-32

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 f5fdc8b into main Feb 5, 2026
1 of 2 checks passed
@bl-ue bl-ue deleted the fix-patching-errors-2-1-32 branch February 5, 2026 18:10
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