docs: Claude Code v2.1.250 - --restricted mode, cross-session messaging on Bedrock/Vertex/Foundry, new anthropics/formal-math repo - #1223
Merged
Conversation
…ng on Bedrock/Vertex/Foundry, new anthropics/formal-math repo 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: v2.1.248 is a landmark release for enterprise and security-conscious deployments: the new
--restrictedflag creates a locked-down Claude Code mode that strips command-execution and web tools, enforces working-directory file isolation, refusesbypassPermissions, and ignores user/project settings — exactly what teams need before wider rollouts. Alongside that, cross-session messaging (SendMessage/ListAgents) now works on Bedrock, Vertex, and Foundry (previously cloud-only), and the Workflow tool's prompt footprint shrank from 5.7k → 1k tokens. Discovery also found a new Anthropic GitHub repo (anthropics/formal-math) and two Claude Tag admin pages got consolidated, which is the routine kind of product restructure that tombstones track for us.HIGHLIGHTS:
--restrictedmode (v2.1.248):claude --restrictedorCLAUDE_CODE_RESTRICTED=1removes built-in command/code-execution tools and WebFetch, keeps file access sandboxed to the working directory, and ignores all local settings. This is the "safe for untrusted codebases" deployment profile that enterprise teams have been asking for.SendMessage/ListAgentsbetween sessions on the same machine now works for all providers, not just Anthropic-hosted — big for multi-agent pipelines on enterprise infrastructure.experimental.cacheTtlin agent frontmatter (v2.1.248): agents can now declare"5m"or"1h"as a per-agent prompt cache TTL, giving fine-grained control over caching costs in subagent fleets./usage-creditscommand (v2.1.248): Enterprise orgs on AWS Marketplace, self-serve Enterprise, and trials now have a command for members to request higher usage limits from their admin — closes a UX gap for quota management.anthropics/formal-mathnew in discovery.json: Anthropic published a new public repo (anthropics/formal-math) that the archive doesn't hold yet. Human decision needed on whether to add it to sources.anthropics/zeta-23-leandropped out of the not_fetched list (likely repo was deleted or made private).pair-workspaceandtest-itboth 301 tosetup-overview, suggesting the Claude Tag onboarding flow was simplified into fewer pages.content/en/docs/claude-code/, covering agent SDK, self-hosted environments, managed settings, permissions, and more. Likely documentation catching up with the 2.1.248 feature set.Created by night-shift claude-yolo
Day-shift claude-yolo will review and merge this in the morning