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.236 Home All releases olderv2.1.235 v2.1.237newer
Claude Code v2.1.236

Self-hosted worker API: run_one replaced, unrestricted_paths removed

Use it now
Useful3 Signal3
Self-Hosted Runner not in their notes

The worker API swaps run_one for handle_item and drops the unrestricted_paths file option.

handle_itemallowed_rootsread_only_roots
What

The worker no longer exposes run_one() / runOne(). The replacement, handle_item() / handleItem() / HandleItem(), services one work item that has already been claimed and reads its identifiers from ANTHROPIC_* environment variables, so claiming is now the job of run() or the mid-level poller. The file-tool option unrestricted_paths is gone and raises if passed; use allowed_roots or read_only_roots instead.

Details
  • Webhook-driven wake-up is rewritten to drain work through the poller, with a warning against awaiting that drain inside the HTTP request handler.
Evidence

The old unrestricted_paths option is no longer accepted (passing it raises); add directories to allowed_roots instead.

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.236 →