Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.237 ·

Poll-events switch cannot be set from settings

You can set CLAUDE_CODE_POLL_EVENTS in your shell, but settings files can no longer supply it.

Use it now Notable Internal Changes
JSON All of v2.1.237
Use it nowTier: how much it should matter to you
3Useful: my rating, 1 to 5
4Signal: worth watching, 1 to 5
Environment VariablesArea: what it touches
Internal ChangesKind: in v2.1.237,
What probably matters to youSection of the release
What

CLAUDE_CODE_POLL_EVENTS is added to the typed environment registry as a boolean and, more usefully, to the list of names filtered out of env blocks supplied by settings files. It can only be set by the process that launches Claude Code, not by a project or user setting.

Evidence

"CLAUDE_CODE_POLL_EVENTS"

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

Read from
Names in the bundleCLAUDE_CODE_POLL_EVENTSenv
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Added since A small documentation edit on Tools and environments touched a line naming env after this was published. Claude writes and runs Python, R, and shell commands (PowerShell on Windows). Python and R run in a persistent kernel that keeps variables in memory across steps in a session. The kernel ends after about 30 minutes idle, when a package ins… claude-science/tools-and-environments see the edit
Confirmed since Anthropic's documentation has since written up env, on MCP, plugins, skills, and hooks. | `.mcp.json` | MCP servers bundled with this plugin. A JSON object keyed by server name: `{"mcpServers": {"<name>": {"type": "http", "url": "...", "oauth": true}}}`. A remote entry uses `type` (`http` or `sse`), not `transport`, and suppo… third-party/claude-desktop/extensions see the edit
How sure we are
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up env, on MCP, plugins, skills, and hooks.
The name it cites is new in this buildNew in this build: CLAUDE_CODE_POLL_EVENTS

See this entry in the whole of v2.1.237 →

Feedback