Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.335 ·

Hosted sessions can be told to trust plugins in the launch folder

A new CLAUDE_CODE_LAUNCH_FOLDER_PLUGINS_TRUSTED variable lets a hosted session trust plugins in the folder it starts in

Use it now Notable No documentation found New Features
JSON All of v2.1.335
Use it nowTier: how much it should matter to you
4Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
PluginsArea: what it touches
New FeaturesKind: in v2.1.335,
What probably matters to youSection of the release
What

Claude Code reads a new environment variable, CLAUDE_CODE_LAUNCH_FOLDER_PLUGINS_TRUSTED, once at startup and removes it straight away so later processes don't see it. When it is set, Claude Code records trust for plugins in the folder it started in, but only if all of these hold:

  • it is running as a hosted worker
  • it is not a child session started by another session
  • the folder is the top of a git checkout

If a check fails, it logs that it was not a hosted worker or not a checkout root. If they pass, it records the grant along with the git program found on a filtered search path and the branches to use: CLAUDE_CODE_BASE_REF if set, otherwise main or master. When Claude Code launches sessions in a terminal other than iTerm2, it sets the variable to empty for them.

Why

A managed host can have plugins in the launch folder trusted without a trust prompt, while ordinary local sessions are not affected.

Read from
How sure we are
One source agreesOne thing we can check says the same as this entry.
The name it cites is new in this buildNew in this build: CLAUDE_CODE_LAUNCH_FOLDER_PLUGINS_TRUSTED

See this entry in the whole of v2.1.335 →

Feedback