Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.325 ·

Command parser now keeps track of which quote each piece of an argument used

A fix in how Claude Code splits command text into quoted and unquoted pieces, so double-quoted parts may now be recognised correctly

Group of 2 You'll notice Bug Fixes
JSON All of v2.1.325
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
Bug FixesKind: in v2.1.325,
Bug FixesSection of the release

Unclear It is not clear which feature relies on this parser, such as permission checks or file path detection, so the visible effect for a user is unknown.

What

Claude Code has a small internal helper that reads a command string the way a shell (the program that runs typed commands) would. It breaks the text into pieces and notes, for each piece, whether it was inside double quotes, single quotes or no quotes at all.

  • Each recorded piece now takes its quote type from the variable the helper actually uses to follow quotes as it reads (q). Before, it used a different variable (K).
  • In the lines visible in the change, K never seemed to be set to a quote character. That means pieces were probably recorded with no quote type at all.
  • Later code checks for double-quoted pieces with Ne.q === '"'. That check should now be able to match, so quoted and unquoted parts of an argument can be told apart, double-quoted ones in particular.

The findings come from the changed lines only. Neither traced which command or permission check calls this helper, so where the effect shows up is not known.

Why

If quoted text was being treated as unquoted, anything that depends on that distinction may have read some quoted arguments wrongly. After this release, commands containing quoted text, especially double-quoted text, may be read differently than before. That is worth keeping in mind if a quoted command now behaves differently than it used to.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear which feature relies on this parser, such as permission checks or file path detection, so the visible effect for a user is…

See this entry in the whole of v2.1.325 →

Feedback