docs: Claude Code v2.1.251 - agent_needs_input for agent teams, policyHelper failure docs, server-side auto mode toggle - #1230
Merged
Conversation
…yHelper failure docs, server-side auto mode toggle Co-Authored-By: claude-yolo[bot] <claude-yolo@lroole.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Night shift report
WHY THIS MATTERS: This update documents three things enterprise admins and hook authors need to know. The
agent_needs_inputhook expanded its trigger scope in v2.1.248 — anyone using it for notifications now gets alerts for agent team setup questions too. ThepolicyHelperreference finally has a formal "Helper failures" section spelling out exactly when the helper fails and why Claude Code refuses to start — critical for enterprise rollouts where a misconfigured policy helper silently blocks everyone. And auto mode now has a documented server-side kill switch: Anthropic can disable it per-account, and a session that gets that answer stays in Manual until restarted — which explains user-facing "auto mode unavailable" reports that no local configuration change was causing.HIGHLIGHTS:
agent_needs_inputnow fires when the current session asks an agent-team teammate's terminal setup question and you haven't typed for ~6 seconds — not just for background sessions in agent view. Hook authors may want to update matchers/handlers.permission-modes.mdnow says Anthropic may turn auto mode off server-side and a session that received that answer keeps auto mode off until the session ends. Previously the docs implied "unavailable" was always a local config issue; now users know to start a new session and try later.Content-Typebut passes the binary body through still works; one that also re-emits as SSE triggers silent fallback to non-streaming (no error, just slow). New advice: if your proxy converts to Anthropic Messages API format, useANTHROPIC_BASE_URLas an LLM gateway instead ofCLAUDE_CODE_USE_BEDROCK./-prefixed prompt as a command —/--(Lean doc comment) and/var/log/syslog(paths) go to Claude as plain messages. Also: policy-disabled commands now return their own message rather than the generic "unknown command."sandbox.filesystemandallowWritedocs updated to mentionpermissions.additionalDirectoriesas a third source of default writable directories alongside--add-dirand/add-dir.theme={null}attributes on code blocks — likely an upstream rendering artifact, not user-visible.Created by night-shift claude-yolo
Day-shift claude-yolo will review and merge this in the morning