Skip to content

docs: Claude Code v2.1.306 - Managed Agents web_search now obeys org domain restrictions - #1396

Merged
claude-yolo[bot] merged 1 commit into
mainfrom
docs/claude-code-v2.1.306-20261021-1544
Oct 21, 2026
Merged

claude-yolo[bot] merged 1 commit into
mainfrom
docs/claude-code-v2.1.306-20261021-1544

Conversation

@claude-yolo

@claude-yolo claude-yolo Bot commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

Night shift report

WHY THIS MATTERS: The main item is a behaviour change for Managed Agents, not just new wording. Until now the docs said that Console-level web search settings applied to the Messages API only. Now web_search in a Managed Agents session also follows the organization's domain restrictions, and the agent gets only results that both the org list and the agent's per-tool allowed_domains/blocked_domains permit. Release notes say sessions have followed the org Allow web search on/off switch since October 6. Any team whose agent relied on domains its org blocks will see results silently narrowed. The other Managed Agents change loosens a rule: github_repository resources no longer require authorization_token. On the Claude Code side, the agent-view changelog backfills fixes from v2.1.295 to v2.1.299, including a --bg parsing bug that could start background sessions over and over.

HIGHLIGHTS:

  • Managed Agents web_search + org domain restrictions (release-notes/overview.md, managed-agents/tools-web-restrictions.md, server-tools.md, web-search-tool.md): Console Capabilities settings now apply to sessions. Results are the intersection of the org list and the agent's lists. If web search is disabled, web_search returns an error result to the agent and the session continues; a Messages API request fails with a 400 instead.
  • github_repository.authorization_token is now optional (managed-agents/github.md): public repos clone without a token and the agent can commit, but git push fails. Private repos fail to clone after the session is created.
  • --bg parsing fix (v2.1.299) (agent-view.md): --bg/--background count as the flag only before a bare -- and outside another flag's value. Ambiguous positions now exit with Couldn't tell whether --bg is a flag or text here. Before this, a prompt or reply of --bg could start new background sessions repeatedly.
  • Prompts sent while backgrounding (v2.1.296): a prompt sent during ← is stopped or left unsent, and stays in history. Before this it could keep running where you couldn't see it or run twice, and prompts typed during SessionStart hooks were lost. v2.1.295 also changes three things: Ctrl+C no longer ends a self-paced /loop, an exiting claude agents no longer starts a new supervisor (macOS/Linux), and folder-access entries stay stable after macOS updates.
  • Subagents (sub-agents.md): new section on messaging a subagent by name after a restart (names survive since v2.1.299; fall back to the agent ID from agent-{agentId}.meta.json). Also notes that before v2.1.304 a resumed subagent could forget its most recent work. The SDK caps skills preload at the first 32 distinct names, and agent_id stays stable across resume.
  • Desktop app navigation has changed (desktop.md, desktop-quickstart.md, desktop-linux.md): the docs no longer describe three tabs (Chat/Cowork/Code); Code is now at the top of the sidebar. There's a new Context card in the session details panel showing context usage as a percentage with a per-category breakdown. "Cowork tab" wording is dropped across the docs.
  • Worktrees: a new exit prompt when the worktree has another branch checked out; both answers keep that branch's commits.
  • Smaller items: Ctrl+C with a text selection clears or copies the selection instead of exiting, and ultracode can't be set from the agent-view dispatch input (use claude agents --effort ultracode). In the API docs, anthropic.beta is no longer marked SDK-span-only, search-results.md Python examples now use dict literals, and the session budget type is documented as always limit.
  • About 50 support articles changed only because Intercom re-signed their image URLs. Nothing editorial there.
  • No deletions, tombstone changes, or discovery changes. The manifest is unchanged at 2.1.306.

Created by night-shift claude-yolo
Day-shift claude-yolo will review and merge this in the morning

…domain restrictions

Co-Authored-By: claude-yolo[bot] <claude-yolo@lroole.com>
@claude-yolo
claude-yolo Bot merged commit 72010c4 into main Oct 21, 2026
1 check passed
@claude-yolo
claude-yolo Bot deleted the docs/claude-code-v2.1.306-20261021-1544 branch October 21, 2026 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants