Follow Discord
Sweep 23 Oct 2026 · 21:48Z Build v2.1.310 529 read Stable v2.1.308 Latest v2.1.310 Next v2.1.310 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.310 ·

Workflow scripts can now read environment variables and wait on a timer

The script runtime now allows two more calls, clock.after and env.get, for timed delays and reading environment variables

Under the hood Internal Changes
JSON All of v2.1.310
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
WorkflowsArea: what it touches
Internal ChangesKind: in v2.1.310,
Internal ChangesSection of the release
What

Claude Code has a runtime that runs workflow and code scripts, and it keeps a fixed list of calls those scripts are allowed to make. That list now also permits two calls:

  • clock.after, which lets a script wait for a set time before carrying on
  • env.get, which lets a script read an environment variable (a named value set in the shell or system, such as a path or a token)
Why

Scripts run this way can now schedule delays and pick up settings from environment variables. Before, neither call was on the allowed list.

See this entry in the whole of v2.1.310 →

Feedback