You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
npm InstallsArea: what it touches
ImprovementsKind: in v2.1.328,
ImprovementsSection of the release
Unclear It is not clear when the condition holds, so which npm installs get the extra options is unknown.
What
Claude Code sometimes runs npm, the JavaScript package installer, for you. It already passed --git= pointing at a path named git-is-disabled every time. It can now add two more options:
--allow-git=none, which stops npm from installing packages straight from git repositories.
--script-shell= pointing at a path named scripts-are-disabled, which stops the setup scripts that some packages run when they install.
These two options are added only when the feature flag tengu_fluttering_starlight is on. A feature flag is a switch Anthropic can turn on or off remotely. The flag is read in a safe mode. Its default value was not found, and nothing has been read about its state.
Why
Package setup scripts and git sources are common ways for a bad package to run code on your computer. Where these options apply, npm installs started by Claude Code no longer run those scripts or fetch from git. A package that needs either one may then fail to install.
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 when the condition holds, so which npm installs get the extra options is unknown.