Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.186 Home All releases olderv2.1.185 v2.1.187newer
Claude Code v2.1.186

Shell Variable Tracking: More zsh Variables Covered

The shell variable static tracker now recognizes additional zsh-specific variables and handles several edge cases correctly.

Details
  • Added to the safe-to-track list: FIGNORE/fignore, PSVAR/psvar, WATCH/watch, HISTCHARS/histchars, PS1/PROMPT/prompt, PS2/PROMPT2, PS3/PROMPT3, PS4.
  • PROMPT4 is now correctly recognized as equivalent to PS4 and treated the same way.
  • The -T flag (zsh tied variable pairs) is now correctly flagged as too complex to track statically.
  • Shell negation (!cmd) parsing now properly emits a negated_command AST node instead of silently returning null, preventing misclassification of negated commands.
Evidence

Extended variable list and parser fix (search for "FIGNORE" in the structural changes and "' with -i/-E/-F flag")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.186 →