Skip to content

Themes, userMessageDisplay, tableFormat patches fail on CC 2.1.76+ and 2.1.81 #626

@ernaneluis

Description

@ernaneluis

Environment

  • tweakcc version: 4.0.11
  • Claude Code versions tested: 2.1.76 (npm), 2.1.81 (native binary)
  • OS: macOS (Darwin 24.6.0)
  • Node: v23.10.0 (nvm)

Failing patches

Patch Error
themes failed to find objArrMatch
userMessageDisplay failed to find user message display pattern / failed to find Text component
tableFormat fails silently (not listed in output)
patchesAppliedIndication failed to find Claude Code version pattern (patch 2 failed)
agentsMd failed to find early return null for injection / failed to find fs expression in function
sessionMemory failed to find past sessions gate

Steps to reproduce

  1. Install Claude Code 2.1.76 via npm or 2.1.81 native binary
  2. Configure themes, userMessageDisplay, and tableFormat in ~/.tweakcc/config.json
  3. Run npx tweakcc --apply

Expected behavior

Patches should apply successfully, enabling custom themes, user message styling, and table format changes.

Actual behavior

The patches fail with pattern-matching errors. The underlying CC code structure seems to have changed in 2.1.76+ so the regex patterns no longer match.

Verbose output for themes patch shows:

Applying patch: Themes
patch: themes: failed to find objArrMatch

Working patches

These patches still apply correctly on both versions:

  • Verbose property, Opusplan[1m], Fix LSP support
  • Model customizations, Show more items in select menus
  • Thinking verbs, Thinker format, Thinking block visibility
  • MCP non-blocking
  • Input pattern highlighters (on 2.1.76 npm only)

Note: Input pattern highlighters also fail on the 2.1.81 native binary (failed to find input variable pattern).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions