Admins can now push hooks and gateway sign-in settings centrally, and teammate agent permission prompts can be answered remotely. Both affect how teams deploy and supervise Claude Code.
Key takeaways · AI-distilled
Claude Code 2.1.336 lets Enterprise Admin Console organizations push hooks and a status line through managed settings, set base URLs for Bedrock, Mantle, Google Cloud's Agent Platform and Microsoft Foundry, and sign in to a Bedrock proxy through an identity provider.
Two settings target unattended runs: `BASH_DEFAULT_BACKGROUND_TIMEOUT_MS` lengthens the default limit for background Terminal and shellA text interface for navigating files and running programs.Full definition → commands in Agent SDK and cloud sessions, and a retry-watchdog variable lets a multi-agentUsing several AI agents on one problem — splitting work in parallel, checking each other, or filling different roles like planner and reviewer.Full definition → stop waiting at some usage limits instead of sleeping until reset.
The status line's `used_percentage` and `remaining_percentage` now count against the auto-compact window, matching `/Context and context windowContext is the information available for a generation; the context window is the capacity available to hold it.Full definition →`. Scripts that want the full window should compute `total_input_tokens / context_window_size` instead.
Glob now searches only the named FolderA named container that holds files and other folders; also called a directory.Full definition → when a pattern names one, such as `src/**/*.ts`, and WebFetch gives up after 30 seconds without data from a site, adjustable through `CLAUDE_CODE_WEBFETCH_SILENCE_MS` (0 turns the limit off).
Terms in this piece · Glossary
Terminal and shell — A text interface for navigating files and running programs.
multi-agent — Using several AI agents on one problem — splitting work in parallel, checking each other, or filling different roles like planner and reviewer.
Context and context window — Context is the information available for a generation; the context window is the capacity available to hold it.
Folder — A named container that holds files and other folders; also called a directory.