Changes on
38 changes detected
--- a/admin-setup.md
+++ b/admin-setup.md
@@ -106,7 +106,7 @@
* **Cloud environments page** : Owners create [organization-shared environments](</docs/en/cloud-environments#organization-shared-environments>) that set the [network access level](</docs/en/cloud-environments#network-access>), environment variables, and setup script for members’ cloud sessions.
* **Default environment** : Owners choose the organization’s default environment separately, at [claude.ai/admin-settings/claude-code](<https://claude.ai/admin-settings/claude-code>).
- * **GitHub page** : see Connected GitHub accounts for the GitHub accounts linked to your organization.
+ * **Git providers page** : see Connected GitHub accounts for the GitHub accounts linked to your organization.
Permission rules and sandboxing cover different layers. Denying WebFetch blocks Claude’s fetch tool, but if Bash is allowed, `curl` and `wget` can still reach any URL. Sandboxing closes that gap with a network domain allowlist enforced at the OS level. For the threat model these controls defend against, see [Security](</docs/en/security>).
@@ -116,9 +116,9 @@
Connected GitHub accounts
-On Team and Enterprise plans, [**Admin settings > GitHub**](<https://claude.ai/admin-settings/github>) lists the GitHub organizations and personal accounts linked to your Claude organization through the [Claude GitHub App](<https://github.com/apps/claude>). Claude Code, [Claude Tag](<https://claude.com/docs/claude-tag/admins/configure-github>), and Claude Security share the list. Opening it requires an admin role in your Claude organization. An admin or a member can link an account:
+On Team and Enterprise plans, the GitHub section of [**Organization settings > Git providers**](<https://claude.ai/admin-settings/source-control>) lists the GitHub organizations and personal accounts linked to your Claude organization through the [Claude GitHub App](<https://github.com/apps/claude>). Claude Code, [Claude Tag](<https://claude.com/docs/claude-tag/admins/configure-github>), and Claude Security share the list. Opening the page requires an admin role in your Claude organization. An admin or a member can link an account:
- * **Admin connection** : an admin clicks **Connect** on that page and installs the Claude GitHub App on a GitHub organization. Linking an organization this way requires someone who is both an owner of the GitHub organization and an admin of your Claude organization.
+ * **Admin connection** : an admin clicks **Connect** in that section, or **Add organization** once an account is connected, and installs the Claude GitHub App on a GitHub organization. Linking an organization this way requires someone who is both an owner of the GitHub organization and an admin of your Claude organization.
* **Member connection** : when a member connects their GitHub account to Claude, for example while [setting up cloud sessions](</docs/en/web-quickstart#connect-github>), Claude links the GitHub accounts that member owns where the Claude GitHub App is already installed. That can include their personal account and GitHub organizations they own.
A row marked **Not linked** comes from your own GitHub sign-in. It’s an account you can see on GitHub where the Claude GitHub App is installed. To unlink an account from your Claude organization, open its row’s menu and select **Unlink from this workspace**. Unlinking leaves the Claude GitHub App installed on GitHub, and the account is linked again the next time one of its owners connects GitHub to Claude. To keep it from being linked again, uninstall the Claude GitHub App from that account on GitHub. On Enterprise plans, the [Compliance API](<https://platform.claude.com/docs/en/api/compliance/activities/list>) activity types for linking and unlinking are `github_app_installation_linked` and `github_app_installation_unlinked`.
@@ -136,7 +136,7 @@
Usage monitoring| OpenTelemetry export of sessions, tools, and tokens| All providers| [Monitoring usage](</docs/en/monitoring-usage>)
Analytics dashboard| Adoption and contribution metrics with a leaderboard on Teams / Enterprise; per-user usage and spend metrics on Console| Teams / Enterprise at [claude.ai/analytics](<https://claude.ai/analytics/claude-code>), Console at [platform.claude.com/claude-code](<https://platform.claude.com/claude-code>)| [Analytics](</docs/en/analytics>)
Programmatic reporting| Per-user usage and cost data over an API| [Enterprise Analytics API](<https://platform.claude.com/docs/en/api/admin/analytics>) for Enterprise, [Claude Code Analytics API](<https://platform.claude.com/docs/en/build-with-claude/claude-code-analytics-api>) for Console| [Costs](</docs/en/costs#manage-costs-for-your-organization>)
-Spend controls| Spend limits and rate limits| Admin settings for Teams / Enterprise, workspace limits for Console; on third-party clouds, cloud budget controls or a [Claude apps gateway](</docs/en/claude-apps-gateway>) with per-user [spend limits](</docs/en/claude-apps-gateway-spend-limits>)| [Costs](</docs/en/costs#manage-costs-for-your-organization>)
+Spend controls| Spend limits and rate limits| Organization settings for Teams / Enterprise, workspace limits for Console; on third-party clouds, cloud budget controls or a [Claude apps gateway](</docs/en/claude-apps-gateway>) with per-user [spend limits](</docs/en/claude-apps-gateway-spend-limits>)| [Costs](</docs/en/costs#manage-costs-for-your-organization>)
On Teams and Enterprise, per-user usage and spend numbers come from the [spend report](<https://support.claude.com/en/articles/12883420-view-usage-analytics-for-team-and-enterprise-plans>) in your organization’s analytics settings, not the analytics dashboard. Cloud providers expose spend through AWS Cost Explorer, GCP Billing, or Azure Cost Management. For planning enterprise budgets across Claude chat, Claude Code, and Cowork, see the [Claude Enterprise consumption guide](<https://support.claude.com/en/articles/14782391-claude-enterprise-consumption-guide>).
@@ -152,9 +152,10 @@
---|---|---
Data usage policy| What Anthropic collects, how long it’s retained, what’s never used for training| [Data usage](</docs/en/data-usage>)
Zero Data Retention (ZDR)| Nothing stored after the request completes. Available to qualified accounts on Claude for Enterprise| [Zero data retention](</docs/en/zero-data-retention>)
+HIPAA configuration| For Claude for Enterprise organizations that have HIPAA enabled. Some Claude Code (local mode) features are turned off and others are off by default| [Set up Claude Code (local mode) for a HIPAA-ready organization](</docs/en/hipaa-setup>)
Security architecture| Network model, encryption, authentication, audit trail| [Security](</docs/en/security>)
-If you need request-level audit logging or to route traffic by data sensitivity, place a gateway between developers and your provider: a self-hosted [Claude apps gateway](</docs/en/claude-apps-gateway>) records a per-request audit log with IdP identity, or use another [LLM gateway](</docs/en/llm-gateway>). For regulatory requirements and certifications, see [Legal and compliance](</docs/en/legal-and-compliance>).
+If you need request-level audit logging or to route traffic by data sensitivity, we recommend you place a gateway between developers and your provider: a self-hosted [Claude apps gateway](</docs/en/claude-apps-gateway>) records a per-request audit log with IdP identity, or you can use another [LLM gateway](</docs/en/llm-gateway>). Sessions that go through a gateway aren’t eligible for the HIPAA configuration. [Check how developers sign in and connect](</docs/en/hipaa-setup#check-how-developers-sign-in-and-connect>) lists the connections that are. For regulatory requirements and certifications, see [Legal and compliance](</docs/en/legal-and-compliance>).
##
--- a/channels.md
+++ b/channels.md
@@ -292,7 +292,7 @@
Enable channels for your organization
-Enable channels for your organization from [**claude.ai → Admin settings → Claude Code → Channels**](<https://claude.ai/admin-settings/claude-code>), which requires the Owner role, or by setting `channelsEnabled` to `true` in managed settings. Once enabled, users in your organization can use `--channels` to opt channel servers into individual sessions. If the setting is disabled or unset, the MCP server still connects and its tools work, but channel messages won’t arrive. A startup warning tells the user to have an admin enable the setting.
+Enable channels for your organization from [**Organization settings > Claude Code > Channels**](<https://claude.ai/admin-settings/claude-code>), which requires the Owner role, or by setting `channelsEnabled` to `true` in managed settings. Once enabled, users in your organization can use `--channels` to opt channel servers into individual sessions. If the setting is disabled or unset, the MCP server still connects and its tools work, but channel messages won’t arrive. A startup warning tells the user to have an admin enable the setting.
###
--- a/chrome.md
+++ b/chrome.md
@@ -35,7 +35,7 @@
* [Claude Code](</docs/en/quickstart#step-1-install-claude-code>)
* A direct Anthropic plan (Pro, Max, Team, or Enterprise)
-Chrome integration also requires signing in with `/login`. If you authenticate with an API key or a long-lived token from [`claude setup-token`](</docs/en/authentication#generate-a-long-lived-token>), Claude Code keeps Chrome integration off, even when you pass `--chrome`, because the browser extension can’t authenticate with those credentials. Before v2.1.216, these sessions could enable Chrome integration, but every attempt to connect to the browser extension failed with a 403 error.
+In Enterprise organizations that have HIPAA enabled, Claude in Chrome is off by default, and an [Owner](</docs/en/server-managed-settings#access-control>) can turn it on in [**Organization settings > Claude in Chrome**](<https://claude.ai/admin-settings/browser-extension>). Your Business Associate Agreement (BAA) with Anthropic doesn’t cover data sent to third-party sites through Claude in Chrome. See the [Implementation Guide](<https://trust.anthropic.com/resources?s=rgirr4qe8u7ek8c2igx3&name=claude-for-enterprise-hipaa-ready-offering-implementation-guide>) for a list of Eligible Services. Chrome integration also requires signing in with `/login`. If you authenticate with an API key or a long-lived token from [`claude setup-token`](</docs/en/authentication#generate-a-long-lived-token>), Claude Code keeps Chrome integration off, even when you pass `--chrome`, because the browser extension can’t authenticate with those credentials. Before v2.1.216, these sessions could enable Chrome integration, but every attempt to connect to the browser extension failed with a 403 error.
Chrome integration is not available through third-party providers like Amazon Bedrock, Google Cloud’s Agent Platform, or Microsoft Foundry. If you access Claude exclusively through a third-party provider, you need a separate claude.ai account to use this feature.
--- a/claude-apps-gateway-config.md
+++ b/claude-apps-gateway-config.md
@@ -232,7 +232,7 @@
`upstreams`
-`upstreams` is an ordered list. The gateway forwards inference to the first upstream that resolves the requested model. On `5xx`, `429`, `401`, `403`, `404`, or timeout the gateway fails over to the next upstream; other `4xx` doesn’t, because those errors are attributable to the request rather than the upstream. A `401` or `403` means the credential the gateway used against that upstream failed. A `404` means that upstream doesn’t serve the requested model, so a later upstream in the list still can. If you set `forward_user_identity: true` on an upstream, a `429` it returns to a request that carried the developer’s email doesn’t fail over. See how a per-user limit denial reaches the developer. Failover on `404` requires gateway v2.1.198 or later. Earlier releases returned the first `404` to the client even when a later upstream in the list served the model. Multiple upstreams of the same provider must set a distinct `name:`. Amazon Bedrock, Claude Platform on AWS, Google Cloud’s Agent Platform, and Microsoft Foundry clients are built once at startup, and their SDKs refresh credentials internally, so rotating cloud credentials doesn’t require a restart. Static Anthropic API keys and bearers are read at startup; see Anthropic API.
+`upstreams` is an ordered list. The gateway forwards inference to the first upstream that resolves the requested model. On `5xx`, `429`, `401`, `403`, `404`, or timeout the gateway fails over to the next upstream; other `4xx` doesn’t, because those errors are attributable to the request rather than the upstream. A `401` or `403` means the upstream rejected the credential the gateway used, or denied it access, for example to the requested model. A `404` means that upstream doesn’t serve the requested model, so a later upstream in the list still can. If you set `forward_user_identity: true` on an upstream, a `429` it returns to a request that carried the developer’s email doesn’t fail over. See how a per-user limit denial reaches the developer. Failover on `404` requires gateway v2.1.198 or later. Earlier releases returned the first `404` to the client even when a later upstream in the list served the model. Multiple upstreams of the same provider must set a distinct `name:`. Amazon Bedrock, Claude Platform on AWS, Google Cloud’s Agent Platform, and Microsoft Foundry clients are built once at startup, and their SDKs refresh credentials internally, so rotating cloud credentials doesn’t require a restart. Static Anthropic API keys and bearers are read at startup; see Anthropic API.
####
--- a/claude-code-on-the-web.md
+++ b/claude-code-on-the-web.md
@@ -49,21 +49,21 @@
In Anthropic-hosted environments, your GitHub credentials stay encrypted on Anthropic’s servers and never enter a session’s VM. GitHub operations from the VM go through the [GitHub proxy](</docs/en/cloud-environments#github-proxy>), which attaches the credential on the server side. See [Connect from your terminal](</docs/en/web-quickstart#connect-from-your-terminal>) for the `/web-setup` walkthrough, including what `/web-setup` stores and how to remove it.
-Organizations with [Zero Data Retention](</docs/en/zero-data-retention>) enabled can’t use `/web-setup` or other cloud session features.
-
-###
-
-
-
-Quick web setup for Team and Enterprise
-
-Quick web setup is an organization setting that removes steps from members’ GitHub and environment setup. On Team and Enterprise plans it’s off by default. Here’s what changes for members when it’s on:
+Organizations with [Zero Data Retention](</docs/en/zero-data-retention>) enabled, or with the [HIPAA configuration](</docs/en/hipaa-setup>) applied, can’t use `/web-setup` or other cloud session features.
+
+###
+
+
+
+Quick setup for Team and Enterprise
+
+Quick setup is an organization setting that removes steps from members’ GitHub and environment setup. On Team and Enterprise plans it’s off by default. Here’s what changes for members when it’s on:
* **`/web-setup`** : members can connect GitHub with `/web-setup`. While the setting is off, the command is hidden
* **GitHub App prompt** : browser onboarding skips the Claude GitHub App install prompt
* **First environment** : browser onboarding creates the [**Default** environment](</docs/en/cloud-environments#the-default-environment>) for members instead of showing the environment form
-An [Owner](</docs/en/server-managed-settings#access-control>) turns it on with the **Quick web setup** toggle at [**Admin settings > Claude Code**](<https://claude.ai/admin-settings/claude-code>).
+An [Owner](</docs/en/server-managed-settings#access-control>) turns it on with the **Quick setup** toggle at [**Organization settings > Claude Code**](<https://claude.ai/admin-settings/claude-code>).
##
--- a/claude-directory.md
+++ b/claude-directory.md
@@ -153,7 +153,9 @@
* **`sessions/`** : holds one small file per running session, used to detect concurrent sessions and crashes. It isn’t part of the age-based sweep: Claude Code removes each file when its session exits and clears crash leftovers on the next launch.
* **Auto memory** : the sweep doesn’t delete the memory files in a project’s [auto memory](</docs/en/memory#auto-memory>) directory, `projects/<project>/memory/`. Claude Code removes that directory only if it has been empty for the whole retention period. Before v2.1.228, the sweep treated folders inside the memory directory as session data and could delete old files beneath it.
- * **Claude Desktop and Cowork transcripts** : Claude Code keeps the transcript of a session you started or most recently continued in Claude Desktop or Cowork at any age. To give these transcripts an age limit, set [`desktopSessionCleanupPeriodDays`](</docs/en/settings-reference#desktopsessioncleanupperioddays>). When [managed settings](</docs/en/managed-settings>) set `cleanupPeriodDays`, Claude Code deletes these transcripts after that period instead. Requires Claude Code v2.1.248 or later; earlier versions delete them after `cleanupPeriodDays`.
+ * **Claude Desktop and Cowork transcripts** : Claude Code keeps the transcript of a session you started or most recently continued in Claude Desktop or Cowork at any age. To give these transcripts an age limit, set [`desktopSessionCleanupPeriodDays`](</docs/en/settings-reference#desktopsessioncleanupperioddays>). Requires Claude Code v2.1.248 or later; earlier versions delete them after `cleanupPeriodDays`. Claude Code deletes these transcripts after `cleanupPeriodDays` instead in either of these cases:
+ * [Managed settings](</docs/en/managed-settings>) set `cleanupPeriodDays`
+ * Your organization has the HIPAA configuration applied and Claude Code connects directly to the Claude API
Claude Code skips the age-based sweep in these cases:
@@ -184,11 +186,11 @@
Kept until you delete them
-The retention cleanup sweep doesn’t remove the paths below. Claude Code keeps them until you delete them, apart from the two caches it deletes when you log out.
+Apart from the rows that say otherwise, the retention cleanup sweep doesn’t remove the paths below, and Claude Code keeps them until you delete them.
Path under `~/.claude/`| Contents
---|---
-`history.jsonl`| Every prompt you’ve typed, with timestamp and project path. Used for up-arrow recall, `Ctrl+R` history search, and `!` shell-command completion.
+`history.jsonl`| Every prompt you’ve typed, with timestamp and project path. Used for up-arrow recall, `Ctrl+R` history search, and `!` shell-command completion. In an organization with the HIPAA configuration applied, each sweep removes the entries older than `cleanupPeriodDays` when Claude Code connects directly to the Claude API.
`stats-cache.json`| Aggregated token and cost counts shown by `/usage`
`remote-settings.json`| Cached copy of [server-managed settings](</docs/en/server-managed-settings>) for your organization, or `{}` when your organization has configured none. Only present when the session [fetches them](</docs/en/server-managed-settings#platform-availability>). Claude Code checks for updates at startup and hourly during a session. Claude Code deletes it when you log out.
`cache/changelog.md`| Cached copy of the Claude Code changelog, shown by `/release-notes`. Refreshed in the background.
--- a/cloud-environments.md
+++ b/cloud-environments.md
@@ -14,7 +14,7 @@
* **CLI flows such as`/web-setup`**: create **Default** for you
* **Web onboarding on Pro and Max** : creates **Default** for you
- * **Web onboarding on Team and Enterprise** : shows a **Create your first cloud environment** form unless an Owner has turned on [Quick web setup](</docs/en/claude-code-on-the-web#quick-web-setup-for-team-and-enterprise>); keep the form’s defaults and click **Create & finish** to get the same **Default** environment
+ * **Web onboarding on Team and Enterprise** : shows a **Create your first cloud environment** form unless an Owner has turned on [Quick setup](</docs/en/claude-code-on-the-web#quick-setup-for-team-and-enterprise>); keep the form’s defaults and click **Create & finish** to get the same **Default** environment
**Default** carries no configuration of its own:
--- a/code-review.md
+++ b/code-review.md
@@ -1,4 +1,4 @@
-Code Review is in research preview, available for [Team and Enterprise](<https://claude.ai/admin-settings/claude-code>) subscriptions. It is not available for organizations with [Zero Data Retention](</docs/en/zero-data-retention>) enabled. On other plans, you can still review a diff locally with the `/code-review` command.
+Code Review is in research preview, available for [Team and Enterprise](<https://claude.ai/admin-settings/claude-code>) subscriptions. It is not available for organizations with [Zero Data Retention](</docs/en/zero-data-retention>) enabled or with the [HIPAA configuration](</docs/en/hipaa-setup>) applied, and is not covered under Anthropic’s BAA. On other plans, you can still review a diff locally with the `/code-review` command.
Code Review analyzes your GitHub pull requests and posts findings as inline comments on the lines of code where it found issues. A fleet of specialized agents examine the code changes in the context of your full codebase, looking for logic errors, security vulnerabilities, broken edge cases, and subtle regressions. Findings are tagged by severity and don’t approve or block your PR, so existing review workflows stay intact. You can tune what Claude flags by adding a `CLAUDE.md` or `REVIEW.md` file to your repository. To run Claude in your own CI infrastructure instead of this managed service, see [GitHub Actions](</docs/en/github-actions>) or [GitLab CI/CD](</docs/en/gitlab-ci-cd>). For repositories on a self-hosted GitHub instance, see [GitHub Enterprise Server](</docs/en/github-enterprise-server>). This page covers:
@@ -403,7 +403,7 @@
`/code-review ultra --fix` runs the deeper [ultrareview](</docs/en/ultrareview>) in the cloud, then applies its findings to your working tree when they arrive back in your session. Ultrareview uses its own scope: your current branch against the repository’s default branch, plus uncommitted and staged changes in the working tree. For uncommitted changes to files named like credentials or keys, such as `.env` and `*.tfvars` files, Claude Code follows the rules for [uploading a local repository to a cloud session](</docs/en/claude-code-on-the-web#send-local-repositories-without-github>). Pass a branch name, such as `/code-review ultra develop`, to compare against a different base. When the target is a `github.com` pull request, you can have Claude [post the finished findings to the PR](</docs/en/ultrareview#post-findings-to-the-pull-request>) as a comment from your GitHub account. Requires Claude Code v2.1.227 or later.
-Ultrareview requires authentication with a claude.ai account and is not available on Amazon Bedrock, Google Cloud’s Agent Platform, or Microsoft Foundry, or to organizations with Zero Data Retention enabled. When ultrareview is not available, `/code-review ultra` runs a local review in your session instead.
+Ultrareview requires authentication with a claude.ai account and is not available on Amazon Bedrock, Google Cloud’s Agent Platform, or Microsoft Foundry, or to organizations with Zero Data Retention enabled or with the [HIPAA configuration](</docs/en/hipaa-setup>) applied. When ultrareview is not available, `/code-review ultra` runs a local review in your session instead.
To run a cloud review from a script or CI job, use the [`claude ultrareview` subcommand](</docs/en/ultrareview#run-ultrareview-non-interactively>), which waits for the findings and prints them to stdout. The command was named `/simplify` before v2.1.147, when it applied fixes by default. `/simplify` runs a separate cleanup-only review that applies fixes without hunting for bugs. If you scripted `/simplify` for bug-finding, switch to `/code-review --fix`.
--- a/costs.md
+++ b/costs.md
@@ -97,7 +97,7 @@
Your role| What `/usage-credits` does
---|---
Pro or Max subscriber| Opens [**Settings > Usage**](<https://claude.ai/settings/usage>) on claude.ai in the browser. In its **Usage credits** section you can turn usage credits on or off and check your credit balance, this month’s spend, and your monthly spend limit
-Team or Enterprise member with billing access| Opens your organization’s usage settings, [**Admin settings > Usage**](<https://claude.ai/admin-settings/usage>), in the browser
+Team or Enterprise member with billing access| Opens your organization’s usage settings, [**Organization settings > Usage**](<https://claude.ai/admin-settings/usage>), in the browser
Team or Enterprise member without billing access| Asks you to confirm, then sends a request to your organization’s admins. Before v2.1.211, Claude Code sent the request without a confirmation step
For Team and Enterprise members without billing access, the confirmation appears only in interactive sessions: in non-interactive mode with the `-p` flag and from [Remote Control](</docs/en/remote-control>), the command sends no request and tells you to run it in an interactive session instead. If you run `/usage-credits` again while your earlier request is waiting on an admin, Claude Code tells you a request has already been sent rather than sending a duplicate. After an admin dismisses your request, running the command again sends a new one. Before v2.1.222, a dismissed request also blocked new requests. On Pro and Max plans, when you reach your spend limit with usage credits still available, Claude Code prompts you to raise or remove the limit without leaving the CLI. If the server rejects the change, see [Could not update your spend limit](</docs/en/errors#could-not-update-your-spend-limit>).
@@ -217,7 +217,7 @@
* **“You’ve hit your session limit” or “You’ve hit your weekly limit”** : a seat-based usage window on a subscription plan, shared across all models, so the developer can’t restore access by switching models with `/model`. The message shows when the window resets. After the model-specific “You’ve hit your Opus limit” or “You’ve hit your Sonnet limit” message, switching to a model outside that family with `/model` does keep the developer working. See [usage limit errors](</docs/en/errors#youve-hit-your-session-limit>). What the developer can do in the meantime:
* Run `/usage-credits` to request usage beyond the allowance, if you have [usage credits](<https://support.claude.com/en/articles/12429409-extra-usage-for-paid-claude-plans>) turned on.
* On Claude Code v2.1.234 or later, [wait and continue the interrupted task automatically after the reset](</docs/en/interactive-mode#wait-for-a-usage-limit-to-reset>); that section lists when Claude Code starts the wait on its own and when the developer picks it from `/rate-limit-options`. To control for your fleet whether Claude Code starts that wait on its own, set [`autoContinueAtUsageLimit`](</docs/en/settings-reference#autocontinueatusagelimit>) in [managed settings](</docs/en/settings#settings-precedence>).
- * **“You’ve hit your individual spend limit”, “org’s monthly spend limit”, or “team’s shared budget”** : the developer’s request would be billed to usage credits, and those credits have reached a spend limit you set. To let the developer continue, go to [**Admin settings > Usage**](<https://claude.ai/admin-settings/usage>) and increase the limit the message names. When the message also names a plan reset time, the developer can instead wait until then. See [the error reference](</docs/en/errors#youve-hit-your-monthly-spend-limit>) for each variant.
+ * **“You’ve hit your individual spend limit”, “org’s monthly spend limit”, or “team’s shared budget”** : the developer’s request would be billed to usage credits, and those credits have reached a spend limit you set. To let the developer continue, go to [**Organization settings > Usage**](<https://claude.ai/admin-settings/usage>) and increase the limit the message names. When the message also names a plan reset time, the developer can instead wait until then. See [the error reference](</docs/en/errors#youve-hit-your-monthly-spend-limit>) for each variant.
* **A spend limit message from a[Claude apps gateway](</docs/en/claude-apps-gateway>)**: the developer passed a spend cap you set on your self-hosted gateway, and the gateway blocks their requests until the period resets or you raise the cap. See [gateway spend limits](</docs/en/claude-apps-gateway-spend-limits>) for caps, reset schedules, and the message the developer sees.
* **A context or auto-compact warning** : not a usage limit. The conversation has grown close to the session’s [auto-compact window](</docs/en/model-config#set-the-auto-compact-window>), the threshold where Claude Code summarizes older history to free space. Point the developer at reduce token usage.
* **Unexpectedly high spend on an API or cloud-provider plan** : usually traces back to long sessions that were never cleared or to Opus left as the default model. The highest-impact habits to share are clearing between unrelated tasks and matching the model to the job, both covered in reduce token usage.
--- a/desktop.md
+++ b/desktop.md
@@ -230,7 +230,7 @@
Switch view modes
-View modes control how much detail appears in the chat transcript. Switch modes from the **Transcript view** dropdown next to the send button, or press **Ctrl+O** on macOS or Windows to cycle through them. The Thinking mode appears in the dropdown only after Claude has produced thinking in the session you’re viewing.
+View modes control how much detail appears in the chat transcript. To switch view modes, open the session menu from the caret beside the session title and select **Transcript view** , or press **Ctrl+O** on macOS or Windows to cycle through them. The Thinking mode appears in the menu only after Claude has produced thinking in the session you’re viewing.
Mode| What it shows
---|---
@@ -759,10 +759,12 @@
These settings are configured through the [admin settings console](<https://claude.ai/admin-settings/claude-code>):
- * **Code in the desktop** : control whether users in your organization can access Claude Code in the desktop app
- * **Code in the web** : enable or disable [cloud sessions](</docs/en/claude-code-on-the-web>) for your organization
+ * **Desktop** : control whether users in your organization can access Claude Code in the desktop app
+ * **Cloud sessions** : enable or disable [cloud sessions](</docs/en/claude-code-on-the-web>) for your organization
* **Remote Control** : enable or disable [Remote Control](</docs/en/remote-control>) for your organization
* **Disable Bypass permissions mode** : prevent users in your organization from enabling bypass permissions mode
+
+In Enterprise organizations that have HIPAA enabled, the **Desktop** toggle is off by default and an [Owner](</docs/en/server-managed-settings#access-control>) can turn it on. Applying the [HIPAA configuration](</docs/en/hipaa-setup>) turns it off, even if it was on, so an Owner has to turn it on afterward. **Cloud sessions** and **Remote Control** are also off by default, and an Owner can’t turn them on once the organization has the HIPAA configuration applied.
The OpenTelemetry form for Cowork under **Monitoring** in the admin console’s [Data and privacy settings](<https://claude.ai/admin-settings/data-privacy-controls>) applies to Cowork sessions only. In a Cowork session on this machine, the desktop app passes that collector to Claude Code as `OTEL_*` environment variables, so the form takes effect even though Claude Code in that session never fetches admin-console settings.To export telemetry from Code tab sessions, set `CLAUDE_CODE_ENABLE_TELEMETRY` and the `OTEL_*` variables in the `env` block of your Claude Code managed settings, as shown in [administrator configuration for monitoring](</docs/en/monitoring-usage#administrator-configuration>). Local, cloud, and SSH sessions each read managed settings from different sources. For the hosts a cloud session can reach, see [network access](</docs/en/cloud-environments#network-access>). For the `service.name` that Code tab sessions report, see [service information](</docs/en/monitoring-usage#service-information>).
@@ -913,7 +915,7 @@
`--dangerously-skip-permissions`| Bypass permissions mode. On Pro and Max plans, enable it in Settings → Claude Code → “Allow bypass permissions mode”; on Team and Enterprise plans, organization policy controls it
`--add-dir`| Add multiple repos with the **+** button in cloud sessions
`--allowedTools`, `--disallowedTools`| No per-session equivalent. Permission rules in [settings files](</docs/en/settings>) still apply.
-`--verbose`| Verbose view mode in the Transcript view dropdown
+`--verbose`| Verbose view mode
`--print`, `--output-format`| Not available. Desktop is interactive only.
`ANTHROPIC_MODEL` env var| Model dropdown next to the send button
`MAX_THINKING_TOKENS` env var| Set in the local environment editor. See environment configuration.
--- a/desktop-ios-simulator.md
+++ b/desktop-ios-simulator.md
@@ -76,7 +76,7 @@
* Save a screenshot with **Cmd+S** or a screen recording with **Cmd+R** , using the pane’s capture buttons or the shortcuts; the files are saved to your Desktop
* Stop streaming a device without shutting it down by clicking **Detach simulator** , which returns the pane to its **Attach simulator** state
-The row under the device name tunes the video stream from the simulator. Lower **Frame rate** or **Resolution** if the pane strains your Mac, switch **Encoding** between H.264 and JPEG, or check **FPS** to display the frame rate the pane is receiving. These settings change how the pane displays the device, not how the app runs. You and Claude drive the same device, so your taps change the app state Claude sees. To have Claude check a specific screen, tap through to it, then ask. While Claude is driving the device, the pane shows a **Claude is using this device** badge above the screen; hold off tapping until the badge clears, so the result reflects the app rather than your input.
+To tune the video stream from the simulator, open the pane’s **Display** menu. Lower **Frame rate** or **Resolution** if the pane strains your Mac. Both settings change how the pane displays the device, not how the app runs. You and Claude drive the same device, so your taps change the app state Claude sees. To have Claude check a specific screen, tap through to it, then ask. While Claude is driving the device, the pane shows a **Claude is using this device** badge above the screen; hold off tapping until the badge clears, so the result reflects the app rather than your input.
##
--- a/env-vars.md
+++ b/env-vars.md
@@ -327,7 +327,7 @@
`CLAUDE_CODE_PLUGIN_PREFER_HTTPS`| Set to `1` to clone GitHub `owner/repo` shorthand sources over HTTPS instead of SSH. Applies to plugin install and update, and to `/plugin marketplace add` and `update`. Useful in CI runners, containers, or any environment without a configured SSH key for `github.com`
`CLAUDE_CODE_PLUGIN_SEED_DIR`| Path to one or more read-only plugin seed directories, separated by `:` on Unix or `;` on Windows. Use this to bundle a pre-populated plugins directory into a container image. Claude Code registers marketplaces from these directories at startup and uses pre-cached plugins without re-cloning. See [Pre-populate plugins for containers](</docs/en/plugins/org#seed-containers-and-ci>)
`CLAUDE_CODE_POWERSHELL_RESPECT_EXECUTION_POLICY`| Set to `1` to stop Claude Code from passing `-ExecutionPolicy Bypass` when spawning PowerShell for tool calls, hooks, and status line commands, and respect the machine’s effective execution policy instead. By default Claude Code bypasses execution policy at process scope so `.ps1` scripts and module imports work on default-Restricted Windows installs. Process-scope bypass never overrides Group Policy `MachinePolicy` or `UserPolicy` regardless of this setting
-`CLAUDE_CODE_PRINT_BG_WAIT_CEILING_MS`| Ceiling in milliseconds on idle waiting for background subagents and workflows after the final turn in [non-interactive mode](</docs/en/headless#background-tasks-at-exit>) with the `-p` flag. Idle waiting starts over each time Claude takes a turn to handle a background result. Default: `600000`, or 10 minutes. When idle waiting reaches the ceiling, Claude Code stops waiting for the remaining background tasks and exits. Set to `0` to wait indefinitely. This cap is separate from the five-second grace period that applies to plain background shells. Requires Claude Code v2.1.182 or later
+`CLAUDE_CODE_PRINT_BG_WAIT_CEILING_MS`| Ceiling in milliseconds on idle waiting for background work, such as subagents and workflows, after the final turn in [non-interactive mode](</docs/en/headless#background-tasks-at-exit>) with the `-p` flag. Idle waiting starts over each time Claude takes a turn to handle a background result. Default: `600000`, or 10 minutes. When idle waiting reaches the ceiling, Claude Code stops waiting for the remaining background tasks and exits. Set to `0` to wait indefinitely. This cap is separate from the five-second grace period that applies to plain background shells. Requires Claude Code v2.1.182 or later
`CLAUDE_CODE_PROCESS_WRAPPER`| Launch the processes Claude Code starts from its own binary, such as the background service that hosts [agent view](</docs/en/agent-view>) sessions, through a corporate launcher given as an argv prefix like `/opt/corp/launcher`. Set it in the `env` block of user or [managed settings](</docs/en/managed-settings>), not as a shell export, so the detached background service inherits it; project and local settings can’t set it. Equivalent to the [`processWrapper` setting](</docs/en/settings-reference#processwrapper>), which requires Claude Code v2.1.210 or later; this variable takes precedence when both are set. The VS Code extension configures its own launcher separately through its `claudeProcessWrapper` setting. Ignored on Windows. See [Run Claude Code behind a corporate launcher](</docs/en/corporate-launcher>) for the value format, what the launcher covers, and the contract the launcher must satisfy. Requires Claude Code v2.1.208 or later
`CLAUDE_CODE_PROJECT_DIR_NAME`| Set together with `CLAUDE_CONFIG_DIR` to choose the `projects/` directory name Claude Code stores that session’s transcripts and auto memory under, in place of one derived from the working directory path. For example, starting Claude Code with `CLAUDE_CONFIG_DIR=/srv/tenant-a CLAUDE_CODE_PROJECT_DIR_NAME=work claude` stores them under `/srv/tenant-a/projects/work/`. Claude Code ignores this variable when `CLAUDE_CONFIG_DIR` is unset, and reads it only from the environment you start `claude` from, never from a settings file `env` block. See [Name the project directory yourself](</docs/en/sessions#name-the-project-directory-yourself>). Requires Claude Code v2.1.234 or later
`CLAUDE_CODE_PROMPT_CACHE_TTL`| Set `5m` or `1h`, the only values Claude Code accepts, to choose the [prompt cache TTL](</docs/en/prompt-caching#cache-lifetime>) for the main conversation: your interactive, `-p`, and SDK turns, plus the helpers that run inline with them. Takes precedence over the `promptCacheTtl` setting and over `ENABLE_PROMPT_CACHING_1H`, and `FORCE_PROMPT_CACHING_5M` overrides it. The API bills 1-hour cache writes at a higher rate. Requires Claude Code v2.1.242 or later
@@ -442,7 +442,7 @@
`HTTP_PROXY`| Specify HTTP proxy server for network connections
`HTTPS_PROXY`| Specify HTTPS proxy server for network connections
`IS_DEMO`| Set to any non-empty value, such as `1`, to enable demo mode: hides your email and organization name from the header and `/status` output, and skips onboarding. **Setting it to`0` or `false` still enables demo mode**, unlike most on/off variables; unset the variable to turn it off. Useful when streaming or recording a session
-`MAX_MCP_OUTPUT_TOKENS`| Maximum number of tokens allowed in MCP tool responses. Claude Code displays a warning when output exceeds 10,000 tokens. Tools that declare [`anthropic/maxResultSizeChars`](</docs/en/mcp#raise-the-limit-for-a-specific-tool>) use that character limit for text content instead, but image content from those tools is still subject to this variable (default: 25000)
+`MAX_MCP_OUTPUT_TOKENS`| Maximum number of tokens allowed in MCP tool responses (default: 25000). Claude Code displays a warning when output exceeds 10,000 tokens. Tools that declare [`anthropic/maxResultSizeChars`](</docs/en/mcp#raise-the-limit-for-a-specific-tool>) use that character limit for text content instead, but image content from those tools is still subject to this variable. A successful text result longer than 50,000 characters from a tool without that annotation is [saved to a file](</docs/en/mcp#mcp-output-limits-and-warnings>) regardless of this variable
`MAX_STRUCTURED_OUTPUT_RETRIES`| Number of attempts Claude Code allows when the model’s response fails validation against the [`--json-schema`](</docs/en/cli-reference#cli-flags>) in non-interactive mode with the `-p` flag; after that many failed attempts with no valid output, the run fails. The same cap applies when a [workflow](</docs/en/workflows>) subagent’s structured output fails validation. Defaults to 5, a first attempt plus four retries
`MAX_THINKING_TOKENS`| Fixed token budget for [extended thinking](<https://platform.claude.com/docs/en/build-with-claude/extended-thinking>). Claude Code caps it at one token below the request’s max output tokens and never below 1,024. See `CLAUDE_CODE_MAX_OUTPUT_TOKENS` for how that limit is set. When unset and thinking is enabled, models with [adaptive reasoning](</docs/en/model-config#adjust-effort-level>) choose their own thinking depth, and other models use the cap. Set to `0` to disable thinking on the Anthropic API, except on Opus 5.5, Sonnet 5.5, and the Fable models, which can’t have thinking turned off. On [third-party providers](</docs/en/third-party-integrations>), `0` omits the `thinking` parameter instead. With thinking turned off on the Anthropic API, Claude Code sends effort `high` instead of a higher level to models it knows [don’t accept that combination](</docs/en/errors#effort-isnt-available-with-thinking-turned-off>), such as Opus 5. For a positive value, Claude Code ignores the number itself on adaptive reasoning models, except when `CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING` turns adaptive reasoning off
`MCP_CLIENT_SECRET`| OAuth client secret for MCP servers that require [pre-configured credentials](</docs/en/mcp#use-pre-configured-oauth-credentials>). Avoids the interactive prompt when adding a server with `--client-secret`
--- a/errors.md
+++ b/errors.md
@@ -177,6 +177,7 @@
`<model>'s safeguards flagged this message`| Request errors
`<model>'s safeguards flagged this session`| Request errors
`<model> has safety measures that flagged this message for a cybersecurity topic`| Request errors
+`Details: `[reasoning_extraction]``| Request errors
`API Error: Output blocked by content filtering policy`| Request errors
`Installation was killed before it could finish (exit code 137)`| Installation errors
`The connection dropped while downloading the update`| Installation errors
@@ -767,7 +768,7 @@
`team's shared budget` is a pooled budget an admin assigned to a group you belong to; the message doesn’t name the group. `channel's monthly spend limit` is the budget of the one Slack channel the session runs in, so your organization may still have budget outside it. When one of your plan’s windows is what ran out, the message also says when that window resets, for example `· your session limit resets 3:45pm`, and access returns then without anyone raising the limit. On organizations with usage-based billing, the message says `usage limit` in place of `spend limit`, as in `You've hit your individual usage limit`. Before v2.1.239, the message didn’t name the plan window’s reset time. Before v2.1.268, a group’s pooled budget produced the `individual spend limit` message instead of `team's shared budget`. If you connect through a Claude apps gateway and see lowercase `spend limit reached`, that is your gateway operator’s cap instead; see Spend limit reached. **What to do:**
* On Pro and Max, increase your monthly spend limit in [**Settings > Usage**](<https://claude.ai/settings/usage>) on claude.ai, or run `/usage-credits`
- * On Team and Enterprise, increase the limit in [**Admin settings > Usage**](<https://claude.ai/admin-settings/usage>) if you manage billing, or ask an admin to. `/usage-credits` sends that request to your admin for you
+ * On Team and Enterprise, increase the limit in [**Organization settings > Usage**](<https://claude.ai/admin-settings/usage>) if you manage billing, or ask an admin to. `/usage-credits` sends that request to your admin for you
* For a channel’s limit, ask an org owner or the channel’s manager to raise it on claude.ai. See [Per-channel limits](<https://claude.com/docs/claude-tag/admins/set-spend-limit#per-channel-limits>) in the Claude Tag documentation
* If the message names a reset time for your plan’s window, you can wait for it instead
* Run `/usage` to see your plan’s windows and when each resets
@@ -2448,7 +2449,7 @@
Usage Policy refusal
-The API declined to respond because content in the conversation triggered a [Usage Policy](<https://www.anthropic.com/legal/aup>) check. The message includes a Request ID and a Message ID you can quote to support if you believe the refusal is incorrect.
+The API declined to respond because content in the conversation triggered a [Usage Policy](<https://www.anthropic.com/legal/aup>) check. If the message includes the line `Details: `[reasoning_extraction]``, see Safeguards flagged a request for Claude’s reasoning. The message includes a Request ID and a Message ID you can quote to support if you believe the refusal is incorrect.
API Error: Opus 4.6 can't help with this. Start a new session to continue.
@@ -2470,11 +2471,30 @@
API Error: Opus 4.8's safeguards flagged this message. Our intentionally broad safeguards allow us to deliver more capabilities faster, but can sometimes flag legitimate cybersecurity work. Apply to the Cyber Verification Program to reduce these interruptions. Send feedback with /feedback or learn more: https://support.claude.com/en/articles/14604842-real-time-cyber-safeguards-on-claude
-The message links to the [Cyber Verification Program](<https://support.claude.com/en/articles/14604842-real-time-cyber-safeguards-on-claude>), which grants access for legitimate cybersecurity work. On Opus 5.5 and Sonnet 5.5, the message opens with `<model>'s safeguards flagged this session` instead. When the flagged category has a fallback model available, Claude Code [switches models](</docs/en/model-config#automatic-model-fallback>) rather than showing this error. On [Amazon Bedrock](</docs/en/amazon-bedrock>), [Google Cloud’s Agent Platform](</docs/en/google-vertex-ai>), and [Microsoft Foundry](</docs/en/microsoft-foundry>), a cybersecurity flag produces the Usage Policy refusal message instead. The safeguard itself is server-side and predates v2.1.203; client releases since then have changed only the message’s wording. From v2.1.203 through v2.1.218, the message read `<model> has safety measures that flagged this message for a cybersecurity topic. To learn about the Cyber Verification Program and apply for access, visit our help center:` followed by the same help-center link, and interactive sessions appended `If you were not engaging in a cybersecurity topic, please send feedback via /feedback.` Before v2.1.203, it read `<model>'s safeguards flagged this message for a cybersecurity topic. If your work requires this access, you can apply for an exemption:` followed by an exemption form link. **What to do:**
+If the message includes the line `Details: `[reasoning_extraction]``, see Safeguards flagged a request for Claude’s reasoning. The message links to the [Cyber Verification Program](<https://support.claude.com/en/articles/14604842-real-time-cyber-safeguards-on-claude>), which grants access for legitimate cybersecurity work. On Opus 5.5 and Sonnet 5.5, the message opens with `<model>'s safeguards flagged this session` instead. When the flagged category has a fallback model available, Claude Code [switches models](</docs/en/model-config#automatic-model-fallback>) rather than showing this error. On [Amazon Bedrock](</docs/en/amazon-bedrock>), [Google Cloud’s Agent Platform](</docs/en/google-vertex-ai>), and [Microsoft Foundry](</docs/en/microsoft-foundry>), a cybersecurity flag produces the Usage Policy refusal message instead. The safeguard itself is server-side and predates v2.1.203; client releases since then have changed only the message’s wording. From v2.1.203 through v2.1.218, the message read `<model> has safety measures that flagged this message for a cybersecurity topic. To learn about the Cyber Verification Program and apply for access, visit our help center:` followed by the same help-center link, and interactive sessions appended `If you were not engaging in a cybersecurity topic, please send feedback via /feedback.` Before v2.1.203, it read `<model>'s safeguards flagged this message for a cybersecurity topic. If your work requires this access, you can apply for an exemption:` followed by an exemption form link. **What to do:**
* If your work requires this content, apply for access through the [Cyber Verification Program](<https://support.claude.com/en/articles/14604842-real-time-cyber-safeguards-on-claude>)
* If your request wasn’t about a cybersecurity topic, run `/feedback` to report the false positive
* To keep working in the same session, press Esc twice or run `/rewind` to step back to a checkpoint before the turn that triggered the flag, then take a different approach. See [Checkpointing](</docs/en/checkpointing>).
+
+###
+
+
+
+Safeguards flagged a request for Claude’s reasoning
+
+The API declined the request because safeguards flagged it as asking the model to reproduce its internal reasoning in the response. The API names this [refusal category](<https://platform.claude.com/docs/en/build-with-claude/refusals-and-fallback#refusal-response>) `reasoning_extraction`, and the refusal message includes this line:
+
+ Details: `[reasoning_extraction]`
+
+Before v2.1.234, refusal messages didn’t include the `Details` line. **What to do:**
+
+ * Remove or reword any instruction that asks Claude to write out its thinking or reasoning verbatim or in a fixed format, such as a `<thinking>` section, a scratchpad section, or a `reasoning` field in JSON output. The instruction can be in your prompt or in a customization that Claude Code loads with it, such as CLAUDE.md, a skill, a subagent prompt, an output style, or an MCP tool description.
+ * To check whether a customization is the trigger, run [`claude --safe-mode`](</docs/en/cli-reference#cli-flags>) in your terminal to start a session with customizations disabled, then send the same prompt
+ * After you change a customization, start a new session
+ * To reword a prompt you already sent, see [Rewind and summarize](</docs/en/checkpointing#rewind-and-summarize>)
+ * You can still ask Claude to explain its answer. Ask for a short explanation, the evidence behind a result, or a summary of the actions it took. To read summaries of Claude’s thinking, see [`showThinkingSummaries`](</docs/en/settings-reference#showthinkingsummaries>).
+ * For more examples, and what to do if a reworded request is still declined, see [Keep reasoning in thinking blocks](<https://platform.claude.com/docs/en/build-with-claude/refusals-and-fallback#keep-reasoning-in-thinking-blocks>)
###
--- a/fast-mode.md
+++ b/fast-mode.md
@@ -120,7 +120,7 @@
* **Anthropic API or subscription only** : fast mode is available through the Anthropic Console API and for Claude subscription plans using usage credits. It is not available on Amazon Bedrock, Google Cloud’s Agent Platform, Microsoft Foundry, or Claude Platform on AWS. Console organizations must also have fast mode access provisioned.
* **Usage credits turned on for subscription plans** : on a Pro, Max, Team, or Enterprise plan, your account must have [usage credits](</docs/en/costs#add-usage-credits-to-your-subscription>) turned on, which allows billing beyond your plan’s included usage. Until they’re on, `/fast` reports “Fast mode requires usage credits”. How you turn them on depends on your plan:
* On Pro and Max, turn them on in the **Usage credits** section of [**Settings > Usage**](<https://claude.ai/settings/usage>) on claude.ai, or run `/usage-credits` to open that page.
- * On Team and Enterprise, a member with billing access turns them on for the organization at [**Admin settings > Usage**](<https://claude.ai/admin-settings/usage>), and a member without it runs `/usage-credits` to send the organization’s admins a request.
+ * On Team and Enterprise, a member with billing access turns them on for the organization at [**Organization settings > Usage**](<https://claude.ai/admin-settings/usage>), and a member without it runs `/usage-credits` to send the organization’s admins a request.
Fast mode usage draws directly from usage credits, even if you have remaining usage on your plan.
@@ -143,7 +143,7 @@
Where you enable fast mode depends on which product your organization uses:
* **Console** (API customers): an admin enables it in [Claude Code preferences](<https://platform.claude.com/claude-code/preferences>). Fast mode is in research preview, so your organization must also have fast mode access provisioned before fast mode requests succeed. To get access, contact your account manager or join the waitlist, as described in [fast mode on the Claude API](<https://platform.claude.com/docs/en/build-with-claude/fast-mode>). Without provisioned access, the API rejects each fast mode request with a 429, and Claude Code treats each rejection as a fast mode rate limit. Unlike a rate limit’s cooldown, the rejections continue until access is provisioned.
- * **Claude AI** (Team and Enterprise): an Owner enables it at [Admin Settings > Claude Code](<https://claude.ai/admin-settings/claude-code>)
+ * **Claude AI** (Team and Enterprise): an Owner enables it at [**Organization settings > Claude Code**](<https://claude.ai/admin-settings/claude-code>)
Another option to disable fast mode entirely is to set `CLAUDE_CODE_DISABLE_FAST_MODE=1`. See [Environment variables](</docs/en/env-vars>).
--- a/feature-availability.md
+++ b/feature-availability.md
@@ -157,7 +157,7 @@
Availability by subscription plan
-If you authenticate through Amazon Bedrock, Google Cloud’s Agent Platform, Microsoft Foundry, or an Anthropic Console API key, this section does not apply to you. When you sign in with a claude.ai account, your plan determines which of the features below are available.
+If you authenticate through Amazon Bedrock, Google Cloud’s Agent Platform, Microsoft Foundry, or an Anthropic Console API key, this section does not apply to you. When you sign in with a claude.ai account, your plan determines which of the features below are available. In Enterprise organizations with the [HIPAA configuration](</docs/en/hipaa-setup>) applied, some features in this table are turned off.
Feature| Pro| Max| Team| Enterprise
---|---|---|---|---
--- a/github-enterprise-server.md
+++ b/github-enterprise-server.md
@@ -31,15 +31,15 @@
1
-Open Claude Code admin settings
-
-Go to [claude.ai/admin-settings/claude-code](<https://claude.ai/admin-settings/claude-code>) and find the GitHub Enterprise Server section.
+Open Git providers settings
+
+Go to [**Organization settings > Git providers**](<https://claude.ai/admin-settings/source-control#github-enterprise>) and find the GitHub Enterprise section.
2
Start the guided setup
-Click **Connect**. Enter a display name of up to 20 characters for the connection and your GHES hostname, for example `github.example.com`. If your GHES instance uses a self-signed or private certificate authority, paste the CA certificate in the optional field.
+Click **Connect** , or **Add instance** if an instance is already connected, then select **Set up automatically**. Enter a display name of up to 20 characters for the connection and your GHES hostname, for example `github.example.com`. If your GHES instance uses a self-signed or private certificate authority, paste the CA certificate in the optional field.
3
@@ -57,7 +57,7 @@
Enable features
-Return to [claude.ai/admin-settings/claude-code](<https://claude.ai/admin-settings/claude-code>) and enable [Code Review](</docs/en/code-review#set-up-code-review>), Claude Security, and [contribution metrics](</docs/en/analytics#enable-contribution-metrics>) for your GHES repositories using the same configuration as github.com.
+Go to [claude.ai/admin-settings/claude-code](<https://claude.ai/admin-settings/claude-code>) and enable [Code Review](</docs/en/code-review#set-up-code-review>) and [contribution metrics](</docs/en/analytics#enable-contribution-metrics>) for your GHES repositories using the same configuration as github.com.
###
@@ -87,7 +87,7 @@
Manual setup
-If the guided redirect flow is blocked by your network configuration, click **Add manually** instead of Connect. Create a GitHub App on your GHES instance with the permissions and events above, then enter the connection details in the form: a display name, your GHES hostname and optional port, and the app’s ID, client ID, client secret, webhook secret, and private key. The form also accepts an optional custom CA certificate and read replica hostnames. Claude generates the app’s webhook URL when you save the connection. After you click **Add configuration** , open the connection’s **More options** menu, select **Copy webhook URL** , and paste the URL into the app’s webhook settings on your GHES instance. Use the same webhook secret you entered in the form.
+If the guided redirect flow is blocked by your network configuration, click **Connect** or **Add instance** , then select **Add manually** instead of **Set up automatically**. Create a GitHub App on your GHES instance with the permissions and events above, then enter the connection details in the form: a display name, your GHES hostname and optional port, and the app’s ID, client ID, client secret, webhook secret, and private key. The form also accepts an optional custom CA certificate and read replica hostnames. Claude generates the app’s webhook URL when you save the connection. After you click **Add configuration** , open the connection’s **More options** menu, select **Copy webhook URL** , and paste the URL into the app’s webhook settings on your GHES instance. Use the same webhook secret you entered in the form.
###
@@ -240,7 +240,12 @@
Marketplace add on claude.ai fails with a GitHub access error
-If adding a GHES marketplace from your user settings fails with a generic error like “Marketplace couldn’t be added”, check your GitHub Enterprise connection first. This is what appears when your own GitHub Enterprise account is not connected to Claude, even if your organization’s GHES instance is configured and other users are connected. The dialog does not point to the GitHub Enterprise connect flow, and the “Connect to GitHub” option on the Browse tab signs in to github.com, which does not grant access to GHES repositories. To connect your GitHub Enterprise account: the repository picker on [claude.ai/code](<https://claude.ai/code>) offers a connect option for each configured GHES instance, and Owners can also connect from the GitHub Enterprise section of the [Claude Code admin settings](<https://claude.ai/admin-settings/claude-code>). Then add the marketplace again. Alternatively, ask an Owner to add the marketplace in the organization plugin settings, which removes the per-user connection requirement. On other claude.ai surfaces, a “Repository not found. If it’s private, GitHub access is required” error on a GHES marketplace usually indicates the same missing connection. Connect your GitHub Enterprise account through one of the paths above, then try again.
+If adding a GHES marketplace from your user settings fails with a generic error like “Marketplace couldn’t be added”, check your GitHub Enterprise connection first. This is what appears when your own GitHub Enterprise account is not connected to Claude, even if your organization’s GHES instance is configured and other users are connected. The dialog does not point to the GitHub Enterprise connect flow, and the “Connect to GitHub” option on the Browse tab signs in to github.com, which does not grant access to GHES repositories. Connect your GitHub Enterprise account in one of these places, then add the marketplace again:
+
+ * **Repository picker** : on [claude.ai/code](<https://claude.ai/code>), the repository picker offers a connect option for each configured GHES instance.
+ * **Git providers page** : if you’re an Owner, go to the GitHub section of [**Organization settings > Git providers**](<https://claude.ai/admin-settings/source-control>) and click **Connect** , or **Add organization** once an account is connected. Select the GHES hostname under **GitHub instance** , then click **Connect**.
+
+Alternatively, ask an Owner to add the marketplace in the organization plugin settings, which removes the per-user connection requirement. On other claude.ai surfaces, a “Repository not found. If it’s private, GitHub access is required” error on a GHES marketplace usually indicates the same missing connection. Connect your GitHub Enterprise account through one of the paths above, then try again.
###
--- a/hooks-guide.md
+++ b/hooks-guide.md
@@ -943,7 +943,7 @@
Stop hook hits the block cap
-Claude keeps working instead of stopping, then ends the turn with a warning that the Stop hook blocked too many consecutive times. Claude Code overrides a Stop hook after it blocks eight times in a row without progress. Your hook script needs to check whether it already triggered a continuation. Parse the `stop_hook_active` field from the JSON input and exit early if it’s `true`:
+Claude keeps working instead of stopping, then ends the turn with a warning that the Stop hook blocked too many consecutive times. Claude Code overrides a Stop hook after it blocks eight times in a row with no tool call from Claude in between. Your hook script needs to check whether it already triggered a continuation. Parse the `stop_hook_active` field from the JSON input and exit early if it’s `true`:
#!/bin/bash
INPUT=$(cat)
--- a/host-marketplace.md
+++ b/host-marketplace.md
@@ -283,7 +283,7 @@
Migrate users with a renames map
-When you must change a `name`, add a top-level `renames` map to `marketplace.json` so Claude Code migrates existing users instead of reporting [`Plugin "<name>" not found in marketplace`](</docs/en/plugins/troubleshooting#plugin-not-found-in-marketplace>). Do the same when you remove an entry from `plugins`. Automatic migration requires Claude Code v2.1.193 or later. Map each former name to its current name, or to `null` when the plugin is gone. This marketplace renames `formatter` to `code-formatter` and records that `legacy-linter` was removed:
+When you must change a `name`, add a top-level `renames` map to `marketplace.json` so Claude Code migrates existing users instead of reporting [`Plugin "<name>" not found in marketplace`](</docs/en/plugins/troubleshooting#plugin-not-found-in-marketplace>). Do the same when you remove an entry from `plugins`. Map each former name to its current name, or to `null` when the plugin is gone. This marketplace renames `formatter` to `code-formatter` and records that `legacy-linter` was removed:
{
"name": "your-marketplace",
--- a/interactive-mode.md
+++ b/interactive-mode.md
@@ -15,7 +15,7 @@
Shortcut| Description| Context
---|---|---
`Ctrl+C`| Interrupt, or clear input| Interrupts a running operation. If nothing is running, the first press clears the prompt input and a second press exits Claude Code
-`Ctrl+X Ctrl+K`| Stop all running [background subagents](</docs/en/sub-agents#run-subagents-in-foreground-or-background>) in this session, and turn off [artifact auto-replies](</docs/en/artifacts#let-claude-reply-to-comments-on-its-own>) for the rest of it. Press twice within 3 seconds to confirm| Subagent control
+`Ctrl+X Ctrl+K`| Stop all running [background subagents](</docs/en/sub-agents#run-subagents-in-foreground-or-background>) in this session, and turn off [artifact auto-replies](</docs/en/artifacts#let-claude-reply-to-comments-on-its-own>) for the rest of it. Press twice within 3 seconds to confirm. You can press it while a background subagent’s permission prompt is open| Subagent control
`Ctrl+D`| Exit Claude Code session| The first press shows a confirmation hint and a second press within 800ms exits. When the prompt has text, `Ctrl+D` deletes the character after the cursor instead
`Ctrl+G` or `Ctrl+X Ctrl+E`| Open in default text editor| Edit your prompt or custom response in your default text editor. `Ctrl+X Ctrl+E` is the readline-native binding. Turn on **Show last response in external editor** in `/config` to prepend Claude’s previous reply as `#`-commented context above your prompt; Claude Code strips the comment block when you save
`Ctrl+L`| Redraw the screen| Forces a full terminal redraw, keeping input and conversation history. Use this to recover if the display becomes garbled or partially blank. See [Clear the conversation](</docs/en/fullscreen#clear-the-conversation>) for fullscreen rendering
--- a/keybindings.md
+++ b/keybindings.md
@@ -120,7 +120,7 @@
`chat:cancel`| Escape| Cancel current input
`chat:clearInput`| Ctrl+L| Force a full screen redraw, preserving input and conversation
`chat:clearScreen`| Cmd+K| Same as `chat:clearInput`. See [Clear the conversation](</docs/en/fullscreen#clear-the-conversation>) for how Cmd+K behaves on iTerm2 and Terminal.app
-`chat:killAgents`| Ctrl+X Ctrl+K| Stop all running [background subagents](</docs/en/sub-agents#run-subagents-in-foreground-or-background>) in this session and turn off [artifact auto-replies](</docs/en/artifacts#let-claude-reply-to-comments-on-its-own>) for the rest of it
+`chat:killAgents`| Ctrl+X Ctrl+K| Stop all running [background subagents](</docs/en/sub-agents#run-subagents-in-foreground-or-background>) in this session and turn off [artifact auto-replies](</docs/en/artifacts#let-claude-reply-to-comments-on-its-own>) for the rest of it. Press the shortcut twice within 3 seconds to confirm. You can press it while a background subagent’s permission prompt is open
`chat:cycleMode`| Shift+Tab*| Cycle permission modes
`chat:modelPicker`| Meta+P| Open model picker
`chat:fastMode`| Meta+O| Toggle fast mode
--- a/legal-and-compliance.md
+++ b/legal-and-compliance.md
@@ -48,7 +48,12 @@
Healthcare compliance (BAA)
-If a customer has executed a Business Associate Agreement (BAA) with Anthropic and has [Zero Data Retention (ZDR)](</docs/en/zero-data-retention>) enabled for the relevant organization, that BAA extends to the customer’s API traffic through Claude Code.
+If a customer has executed a Business Associate Agreement (BAA) with Anthropic, that BAA extends to Claude Code in two configurations, depending on what is available for your organization:
+
+ * **HIPAA configuration** : the Claude Code CLI or the Code tab in Claude Desktop, used with a Claude for Enterprise account. The organization must have HIPAA enabled and the HIPAA configuration applied to Claude Code (local mode) and Cowork (local mode). See [Set up Claude Code (local mode) for a HIPAA-ready organization](</docs/en/hipaa-setup>).
+ * **Zero Data Retention** : Claude Code with [Zero Data Retention (ZDR)](</docs/en/zero-data-retention>) enabled for the relevant organization. ZDR isn’t available for all organizations.
+
+Under the HIPAA configuration, cloud sessions, Remote Control, Claude Code in the Claude mobile app, and Claude Code routed through a third-party cloud provider or a gateway aren’t covered. Review the [Implementation Guide](<https://trust.anthropic.com/resources?s=rgirr4qe8u7ek8c2igx3&name=claude-for-enterprise-hipaa-ready-offering-implementation-guide>) for a full list of Eligible Services.
##
--- a/llm-gateway-protocol.md
+++ b/llm-gateway-protocol.md
@@ -61,7 +61,13 @@
Streaming
-Stream inference responses. Claude Code reads the stream as it arrives, so if your gateway buffers complete responses before relaying them, Claude Code stalls. Deliver each response’s full event sequence without dropping, duplicating, or reordering events. When an Amazon Bedrock guardrail blocks a reply, forward the events it sends unchanged, even when they reference a content block whose `content_block_stop` already arrived. [AWS Guardrails](</docs/en/amazon-bedrock#aws-guardrails>) describes how that reply ends. When any other event references a content block whose `content_block_start` never arrived, or a block whose `content_block_stop` already arrived, Claude Code stops reading the stream at that event instead of applying it, so a duplicated `content_block_stop` can’t run the same tool call twice. [The response above may be incomplete](</docs/en/errors#the-response-above-may-be-incomplete>) describes what the user sees, under the `Part of the response never arrived` and `The response stream was malformed` variants. Relay each response through its final `message_delta` and `message_stop` events before ending the body. A body that ends after a `message_delta` carrying a `stop_reason`, with no content block still open and no content block event after that frame, counts as complete even when `message_stop` is missing. A body that your gateway ends cleanly any earlier, once a content block has started, is treated the same as a dropped connection: [Automatic retries](</docs/en/errors#automatic-retries>) says when Claude Code re-issues the request, and [The response above may be incomplete](</docs/en/errors#the-response-above-may-be-incomplete>) covers what it keeps once visible content has arrived. Claude Code keeps the `stop_reason` a `message_delta` delivers, so a later usage-only `message_delta` whose `delta` has `stop_reason: null` or no `stop_reason` key doesn’t clear it. When the client speaks the Amazon Bedrock format, relay the `InvokeModelWithResponseStream` response body and its `Content-Type: application/vnd.amazon.eventstream` header unmodified, and don’t convert the stream to server-sent events. See [Streaming errors behind a gateway or proxy](</docs/en/amazon-bedrock#streaming-errors-behind-a-gateway-or-proxy>). Forward keep-alive pings as well, because Claude Code aborts a streaming response once no bytes reach it for [five minutes by default](</docs/en/network-config#streaming-idle-watchdogs>). During a long thinking pause, the upstream’s SSE `ping` events can be the only bytes on the stream. If your gateway strips or buffers them, Claude Code aborts the response partway through the pause. When you translate from an upstream that sends no pings at all, such as Amazon Bedrock’s binary event-stream, emit your own `ping` events during silent gaps.
+Claude Code reads each streaming inference response event by event as it arrives, so the way your gateway relays the stream affects what the user sees:
+
+ * If your gateway buffers a response until it is complete, Claude Code stalls.
+ * Claude Code expects each response’s full event sequence, in order, through the final `message_delta` and `message_stop` events. If the body ends cleanly after a content block has started but before that final `message_delta`, Claude Code treats the response as a dropped connection. [The response above may be incomplete](</docs/en/errors#the-response-above-may-be-incomplete>) describes what the user sees then, and [Automatic retries](</docs/en/errors#automatic-retries>) says when Claude Code re-issues the request instead.
+ * When an Amazon Bedrock guardrail blocks a reply, the events Bedrock sends can reference a content block whose `content_block_stop` already arrived, and Claude Code relies on receiving them as sent. [AWS Guardrails](</docs/en/amazon-bedrock#aws-guardrails>) describes how that reply ends.
+ * Claude Code aborts a streaming response once no bytes reach it for longer than its [streaming idle timeout](</docs/en/network-config#streaming-idle-watchdogs>). During a long thinking pause, the upstream’s SSE `ping` events can be the only bytes on the stream, so a gateway that strips or buffers them can trip that timeout partway through a response. A gateway that translates from an upstream without pings, such as Amazon Bedrock’s binary event stream, has the same gap unless it emits its own `ping` events.
+ * On the Amazon Bedrock InvokeModel format, Claude Code reads the `/model/{model}/invoke-with-response-stream` response as the binary `application/vnd.amazon.eventstream` body Bedrock returns, and can’t parse it once a gateway converts it to server-sent events or rewrites that `Content-Type` header. [Streaming errors behind a gateway or proxy](</docs/en/amazon-bedrock#streaming-errors-behind-a-gateway-or-proxy>) describes what the user sees then.
###
--- a/managed-mcp.md
+++ b/managed-mcp.md
@@ -161,7 +161,7 @@
Allow Claude in Chrome alongside the managed set
-By default, when you deploy `managed-mcp.json`, Claude Code blocks the built-in [Claude in Chrome](</docs/en/chrome>) server in terminal sessions. Users don’t get the [extension install prompt](</docs/en/chrome#install-the-extension-when-claude-asks>), and a session where the user [enabled Chrome by default](</docs/en/chrome#enable-chrome-by-default>) starts without Chrome and prints no warning. When a user who could otherwise run Claude in Chrome starts it with `claude --chrome` or `CLAUDE_CODE_ENABLE_CFC=1`, Claude Code exits at startup with an error that names the `allowClaudeInChromeWithManagedMcp` setting. To let users run Claude in Chrome alongside the servers in `managed-mcp.json`, set `"allowClaudeInChromeWithManagedMcp": true` in the device’s own managed settings. Put it in an MDM-deployed plist or HKLM registry key, or a system `managed-settings.json` file, whichever of those Claude Code [selects](</docs/en/managed-settings#precedence-within-the-managed-tier>) on that device. Requires Claude Code v2.1.282 or later. Before v2.1.282, Claude Code ignores the setting, and the startup error reads `You cannot dynamically configure MCP servers when an enterprise MCP config is present` instead. Claude Code reads the setting from those device sources even when [server-managed settings](</docs/en/server-managed-settings>) deliver the rest of your policy. It ignores the setting in server-managed settings themselves, in the user-writable HKCU registry, and in user or project settings. A `deniedMcpServers` entry for `claude-in-chrome` still blocks the server with the setting on.
+By default, when you deploy `managed-mcp.json`, Claude Code blocks the built-in [Claude in Chrome](</docs/en/chrome>) server in terminal sessions. Users don’t get the [extension install prompt](</docs/en/chrome#install-the-extension-when-claude-asks>), and a session where the user [turned on Chrome by default](</docs/en/chrome#enable-chrome-by-default>) starts without it and prints no warning. If a user who could otherwise run Claude in Chrome starts `claude --chrome`, Claude Code exits at startup with an error that names the `allowClaudeInChromeWithManagedMcp` setting. To let users run Claude in Chrome alongside the managed set, set `"allowClaudeInChromeWithManagedMcp": true` in the device’s own managed settings. Put it in an MDM-deployed plist, an HKLM registry key, or a system `managed-settings.json` file, whichever of those Claude Code [selects](</docs/en/managed-settings#precedence-within-the-managed-tier>) on that device. Requires Claude Code v2.1.282 or later. Claude Code reads the setting only from those device sources, even when [server-managed settings](</docs/en/server-managed-settings>) deliver the rest of your policy. A `deniedMcpServers` entry for `claude-in-chrome` still blocks the server with the setting on.
##
--- a/marketplace-reference.md
+++ b/marketplace-reference.md
@@ -59,7 +59,7 @@
`metadata.pluginRoot`| string| Directory that bare plugin source names resolve under. See Relative path plugin source. Requires Claude Code v2.1.239 or later
`forceRemoveDeletedPlugins`| boolean| When `true`, a plugin you remove from `plugins` is uninstalled on users’ machines. See [Host and maintain a marketplace](</docs/en/plugins/host-marketplace>)
`allowCrossMarketplaceDependenciesOn`| array of strings| Marketplace names whose plugins may be installed as dependencies of this marketplace’s plugins. When you install a plugin, only the list in that plugin’s own marketplace applies, for its whole dependency chain. See [Plugin dependencies](</docs/en/plugins/dependencies>)
-`renames`| object| Map from a former plugin `name` to its current name, or to `null` for a plugin you removed. Requires Claude Code v2.1.193 or later. See [Host and maintain a marketplace](</docs/en/plugins/host-marketplace>)
+`renames`| object| Map from a former plugin `name` to its current name, or to `null` for a plugin you removed. See [Host and maintain a marketplace](</docs/en/plugins/host-marketplace>)
##
--- a/mcp.md
+++ b/mcp.md
@@ -905,7 +905,7 @@
Tool output exceeds maximum allowed tokens
-The SDK applies the same MCP output limit as Claude Code. When a tool result with no image content is larger than 25,000 tokens, Claude Code saves the output to a file and replaces the tool result with an error message that names the file path, so the agent can read the output back in portions. Raise the limit with the [`MAX_MCP_OUTPUT_TOKENS`](</docs/en/env-vars>) environment variable. See [MCP output limits and warnings](</docs/en/mcp#mcp-output-limits-and-warnings>) for the full behavior, including how a server can declare a higher per-tool limit with the `anthropic/maxResultSizeChars` annotation.
+The SDK applies the same MCP output limits as Claude Code. When a successful tool result with no image content is larger than 25,000 tokens, Claude Code saves the output to a file and replaces the tool result with an error message that names the file path, so the agent can read the output back in portions. To change the token limit, set the [`MAX_MCP_OUTPUT_TOKENS`](</docs/en/env-vars>) environment variable. Unless the tool declares `anthropic/maxResultSizeChars`, a successful text result longer than 50,000 characters is saved to a file regardless of the token limit. See [MCP output limits and warnings](</docs/en/mcp#mcp-output-limits-and-warnings>) for the full behavior, including how a server declares that annotation.
##
--- a/permission-modes.md
+++ b/permission-modes.md
@@ -589,6 +589,7 @@
A target that is only the output of a command substitution, when the `rm` is recursive| `rm -rf "$(pwd)"`| Claude Code can’t check the target before the command runs
A trailing command substitution after a critical path| `rm -rf ~/$(cmd)`| Claude Code checks the path that would remain if the substitution expanded empty, here your home directory
A target that is only backslashes| `rm -rf "\\"`| Git Bash on Windows reads a lone backslash as the current drive’s root, so the check applies on every platform
+Some targets that end in `/*` or `/*/`| `rm -rf logs/*/*`, `rm -rf logs/*/`, `cd logs && rm -rf a/*`| Claude Code can’t tell before the command runs which directories they reach
To turn off the check on a target that is only command substitution output, set [`CLAUDE_CODE_DISABLE_SUBSTITUTION_RM_PROMPT=1`](</docs/en/env-vars#variables>) in the environment that launches Claude Code.
--- a/python.md
+++ b/python.md
@@ -2741,6 +2741,7 @@
"speed": str | None,
"iterations": Any | None,
"output_tokens_details": {"thinking_tokens": int | None} | None,
+ "fallback_credit": Any | None,
},
"toolStats": { # Aggregate tool activity for the run
"readCount": int,
@@ -2782,7 +2783,7 @@
"outputFile": str, # File path where the agent's output is written
}
-Returns the result from the subagent. The output is discriminated on the `status` field: `"completed"` for finished tasks, `"async_launched"` for background tasks, and `"remote_launched"` for tasks Claude Code dispatched to a cloud session, where `sessionUrl` links to that session and `taskId` identifies it. If Claude Code [kept the subagent’s isolated worktree](</docs/en/worktrees#isolate-subagents-with-worktrees>), `worktreePath` on the `completed` variant is where to find it, and `worktreeBranch` is its branch when Claude Code created the worktree with git. On the `completed` variant, `resolvedModel` names the model the subagent started on, which can differ from the requested `model` input when [`availableModels`](</docs/en/model-config#restrict-model-selection>) or another override applies. This field requires Claude Code v2.1.174 or later. On the `async_launched` variant, `resolvedModel` names the model in use when the agent moved to the background, so a swap that happened before backgrounding is reflected there. The `modelsUsed` field on both variants lists the models used in order, with consecutive repeats collapsed; it’s set only when the model was swapped mid-run. `modelsUsed` and the backgrounding-time `resolvedModel` behavior require Claude Code v2.1.212 or later. Claude Code fills `usage` and `totalTokens` from the subagent’s final API request, not from the whole run. When present, `thinking_tokens` under `output_tokens_details` in `usage` is the number of that request’s output tokens that were thinking tokens. The `output_tokens_details` key requires Python SDK v0.2.136 or later, which bundles Claude Code v2.1.228.
+Returns the result from the subagent. The output is discriminated on the `status` field: `"completed"` for finished tasks, `"async_launched"` for background tasks, and `"remote_launched"` for tasks Claude Code dispatched to a cloud session, where `sessionUrl` links to that session and `taskId` identifies it. If Claude Code [kept the subagent’s isolated worktree](</docs/en/worktrees#isolate-subagents-with-worktrees>), `worktreePath` on the `completed` variant is where to find it, and `worktreeBranch` is its branch when Claude Code created the worktree with git. On the `completed` variant, `resolvedModel` names the model the subagent started on, which can differ from the requested `model` input when [`availableModels`](</docs/en/model-config#restrict-model-selection>) or another override applies. This field requires Claude Code v2.1.174 or later. On the `async_launched` variant, `resolvedModel` names the model in use when the agent moved to the background, so a swap that happened before backgrounding is reflected there. The `modelsUsed` field on both variants lists the models used in order, with consecutive repeats collapsed; it’s set only when the model was swapped mid-run. `modelsUsed` and the backgrounding-time `resolvedModel` behavior require Claude Code v2.1.212 or later. Claude Code fills `usage` and `totalTokens` from the subagent’s final API request, not from the whole run. When present, `thinking_tokens` under `output_tokens_details` in `usage` is the number of that request’s output tokens that were thinking tokens. The `output_tokens_details` key requires Python SDK v0.2.136 or later, which bundles Claude Code v2.1.228. The `fallback_credit` key requires Python SDK v0.2.162 or later, which bundles Claude Code v2.1.285.
###
--- a/remote-control.md
+++ b/remote-control.md
@@ -192,7 +192,7 @@
Connection and security
-Your local Claude Code session makes outbound HTTPS requests only and never opens inbound ports on your machine. When you start Remote Control, it registers with the Anthropic API and polls for work. When you connect from another device, the server routes messages between the web or mobile client and your local session over a streaming connection. All traffic travels through the Anthropic API over TLS, the same transport security as any Claude Code session. The connection uses multiple short-lived credentials, each scoped to a single purpose and expiring independently. While Remote Control is connected, the session transcript, including your messages, Claude’s responses, and tool activity, is stored on Anthropic servers. The stored transcript keeps the conversation in sync across your devices and lets the session reconnect after a network drop. Execution and filesystem access stay on your machine, and stored transcripts are retained under the [Data usage](</docs/en/data-usage>) policy. To turn Remote Control off entirely, use the [`disableRemoteControl`](</docs/en/settings-reference#disableremotecontrol>) setting. Organizations with compliance requirements such as Zero Data Retention can’t enable Remote Control.
+Your local Claude Code session makes outbound HTTPS requests only and never opens inbound ports on your machine. When you start Remote Control, it registers with the Anthropic API and polls for work. When you connect from another device, the server routes messages between the web or mobile client and your local session over a streaming connection. All traffic travels through the Anthropic API over TLS, the same transport security as any Claude Code session. The connection uses multiple short-lived credentials, each scoped to a single purpose and expiring independently. While Remote Control is connected, the session transcript, including your messages, Claude’s responses, and tool activity, is stored on Anthropic servers. The stored transcript keeps the conversation in sync across your devices and lets the session reconnect after a network drop. Execution and filesystem access stay on your machine, and stored transcripts are retained under the [Data usage](</docs/en/data-usage>) policy. To turn Remote Control off entirely, use the [`disableRemoteControl`](</docs/en/settings-reference#disableremotecontrol>) setting. Organizations with [Zero Data Retention](</docs/en/zero-data-retention>) enabled, or with the [HIPAA configuration](</docs/en/hipaa-setup>) applied, can’t enable Remote Control.
##
@@ -423,7 +423,7 @@
* **The error mentions`disableRemoteControl`**: your IT administrator has disabled Remote Control on this device through [managed settings](</docs/en/managed-settings>), independent of the organization-wide toggle and of how you’re signed in.
* **Your claude.ai plan is Pro or Max** : Claude Code is still signed in under a Team or Enterprise organization from an earlier login, so it checks that organization’s Remote Control policy. Run `/status` to see which plan and organization your sign-in uses. Run `claude auth logout` then `claude auth login` to sign in again under your current plan.
- * **The message doesn’t say to contact your organization admin** : your organization has a HIPAA configuration that is incompatible with Remote Control, and `/status` lists `HIPAA` in its `Compliance` row. In this state the admin panel’s Remote Control toggle is grayed out, so an Owner can’t change it there. Contact Anthropic support to discuss options. Before v2.1.267, this case showed “Remote Control isn’t available for your organization due to its compliance policy” instead.
+ * **The message doesn’t say to contact your organization admin** : your organization has a HIPAA configuration that is incompatible with Remote Control, and `/status` lists `HIPAA` in its `Organization configuration` row. In this state the admin panel’s Remote Control toggle is grayed out, so an Owner can’t change it there. Contact Anthropic support to discuss options. Before v2.1.267, this case showed “Remote Control isn’t available for your organization due to its compliance policy” instead.
* **Otherwise, an Owner hasn’t enabled it for your organization** : Remote Control is off by default on Team and Enterprise plans. An Owner can enable it at [claude.ai/admin-settings/claude-code](<https://claude.ai/admin-settings/claude-code>) by turning on the **Remote Control** toggle. This toggle is a server-side organization setting.
Before v2.1.281, this message also appeared when Claude Code hadn’t loaded your organization’s policy on this machine, for example after starting offline. Later versions report that state as `Couldn't verify your organization's policy for remote control` instead.
--- a/self-hosted-environments.md
+++ b/self-hosted-environments.md
@@ -27,7 +27,7 @@
Check these before planning a rollout:
* **Plans** : public beta for Team and Enterprise organizations. Self-hosted environments are off by default; an [Owner](</docs/en/cloud-environments#organization-shared-environments>) turns on **Allow self-hosted environments** on the [**Cloud environments** admin page](<https://claude.ai/admin-settings/cloud-environments>), which requires [cloud sessions](</docs/en/claude-code-on-the-web>) to be enabled for the organization.
- * **Zero Data Retention** : unavailable for organizations with [Zero Data Retention](</docs/en/zero-data-retention>) enabled.
+ * **Zero Data Retention and HIPAA** : unavailable for organizations with [Zero Data Retention](</docs/en/zero-data-retention>) enabled or with the [HIPAA configuration](</docs/en/hipaa-setup>) applied.
* **Model inference** : sessions use the Anthropic API unless you configure a runner to [send model requests to Amazon Bedrock or Google Cloud’s Agent Platform](</docs/en/self-hosted-environments-configuration#send-model-requests-to-bedrock-or-agent-platform>). Session content goes to Anthropic in both cases. On a runner configured this way, [server-managed settings](</docs/en/server-managed-settings>) and organization policies from claude.ai don’t reach sessions.
* **Surfaces** : sessions started from [claude.ai/code](<https://claude.ai/code>), the mobile and desktop apps, [scheduled routines](</docs/en/routines>), and the terminal, with [`claude --cloud`](</docs/en/claude-code-on-the-web#from-terminal-to-cloud>) or an [`--environment` dispatch](</docs/en/self-hosted-environments-testing#run-the-test-loop>), can run in self-hosted environments. [Claude Tag](<https://claude.com/docs/claude-tag/overview>) sessions can run in them too, but Claude can’t use [Access bundles](<https://claude.com/docs/claude-tag/concepts/glossary#access-bundle>) in those sessions yet. [Claude Security](</docs/en/claude-security>) and [Code Review](</docs/en/code-review>) sessions don’t route to them yet. Support for those two surfaces follows separately.
* **Repositories** : sessions check out repositories from GitHub; see [GitHub authentication options](</docs/en/claude-code-on-the-web#github-authentication-options>). For a GitHub Enterprise Server host, see its [network requirements](</docs/en/github-enterprise-server#network-requirements>).
--- a/self-hosted-environments-deploy.md
+++ b/self-hosted-environments-deploy.md
@@ -227,7 +227,7 @@
Rewrite git URLs for private networks
-Repository URLs arrive from the control plane as HTTPS, with the hostname of your git host; for GitHub Enterprise, that’s the hostname you configured for the [GitHub Enterprise integration](</docs/en/github-enterprise-server>) in Claude Code admin settings on claude.ai. Two repeatable flags rewrite those URLs before clone:
+Repository URLs arrive from the control plane as HTTPS, with the hostname of your git host; for GitHub Enterprise, that’s the hostname you configured for the [GitHub Enterprise integration](</docs/en/github-enterprise-server>) on claude.ai. Two repeatable flags rewrite those URLs before clone:
* `--git-host-rewrite <from>=<to>`: for split-horizon DNS, where Anthropic reaches your git host via an external hostname but runners must use an internal one
* `--git-ssh-rewrite <host>`: for git hosts that only accept SSH, rewriting `https://<host>/owner/repo` to `git@<host>:owner/repo`
--- a/server-managed-settings.md
+++ b/server-managed-settings.md
@@ -1,4 +1,4 @@
-Server-managed settings let organization Owners centrally configure Claude Code from [**Admin Settings > Claude Code > Managed settings**](<https://claude.ai/admin-settings/claude-code>) in the claude.ai console. Claude Code clients fetch these settings automatically when users authenticate with an eligible credential on a platform where server-managed delivery is supported. See Platform availability for the credentials and platforms that qualify.
+Server-managed settings let organization Owners centrally configure Claude Code from [**Organization settings > Claude Code > Managed settings**](<https://claude.ai/admin-settings/claude-code>) in the claude.ai console. Claude Code clients fetch these settings automatically when users authenticate with an eligible credential on a platform where server-managed delivery is supported. See Platform availability for the credentials and platforms that qualify.
Server-managed settings are available for [Claude for Teams](<https://claude.com/pricing?utm_source=claude_code&utm_medium=docs&utm_content=server_settings_teams#team-&-enterprise>) and [Claude for Enterprise](<https://anthropic.com/contact-sales?utm_source=claude_code&utm_medium=docs&utm_content=server_settings_enterprise>) customers.
@@ -39,7 +39,7 @@
Open the admin console
-In the claude.ai console, go to [**Admin Settings > Claude Code > Managed settings**](<https://claude.ai/admin-settings/claude-code>).If the link redirects you to a different Admin Settings page instead of the Claude Code page, your account doesn’t have the required role. Admin and other non-Owner roles can’t view or edit managed settings, so ask an Owner or Primary Owner in your organization to make the change. See Access control.
+In the claude.ai console, go to [**Organization settings > Claude Code > Managed settings**](<https://claude.ai/admin-settings/claude-code>).If the link redirects you to a different Organization settings page instead of the Claude Code page, your account doesn’t have the required role. Admin and other non-Owner roles can’t view or edit managed settings, so ask an Owner or Primary Owner in your organization to make the change. See Access control.
2
--- a/settings-reference.md
+++ b/settings-reference.md
@@ -942,7 +942,7 @@
}
}
-See [Route all shell commands through the classifier](</docs/en/auto-mode-config#route-all-shell-commands-through-the-classifier>). Requires Claude Code v2.1.193 or later.
+See [Route all shell commands through the classifier](</docs/en/auto-mode-config#route-all-shell-commands-through-the-classifier>).
###
@@ -6035,7 +6035,7 @@
`desktopSessionCleanupPeriodDays`
-Set an age limit in days for the transcripts of sessions you started or most recently continued in Claude Desktop or Cowork. Without this key, Claude Code [keeps those transcripts at any age](</docs/en/claude-directory#cleaned-up-automatically>). Claude Code deletes each one once it’s older than both this limit and `cleanupPeriodDays`, so with `cleanupPeriodDays` at its default of 30, a value of `7` still keeps them 30 days. When managed settings set `cleanupPeriodDays`, that period applies instead and this key is ignored. Requires Claude Code v2.1.248 or later.
+Set an age limit in days for the transcripts of sessions you started or most recently continued in Claude Desktop or Cowork. Without this key, Claude Code [keeps those transcripts at any age](</docs/en/claude-directory#cleaned-up-automatically>). Claude Code deletes each one once it’s older than both this limit and `cleanupPeriodDays`, so with `cleanupPeriodDays` at its default of 30, a value of `7` still keeps them 30 days. [Cleaned up automatically](</docs/en/claude-directory#cleaned-up-automatically>) lists the cases where `cleanupPeriodDays` applies instead and Claude Code ignores this key. Requires Claude Code v2.1.248 or later.
* **Scope** : `User or managed`. Claude Code also reads the key from a file you pass with `--settings`, and ignores it in project and local settings.
* **Type** : number of days, a whole number, minimum `0`
--- a/tools-reference.md
+++ b/tools-reference.md
@@ -535,7 +535,7 @@
* The IDs of recent API requests
* The conversation transcript, when you left **Send transcript** at `yes` in the review screen. Sending from the card never includes the transcript
-Claude Code keeps your working directory in the local draft so it can find the transcript, and doesn’t send the directory. In [organizations with zero data retention](</docs/en/zero-data-retention#features-disabled-under-zdr>), Claude Code leaves the tool out, as it does for `/feedback`. If a session in such an organization still offers the tool, drafts stay on your machine, and sending fails with `Feedback collection is not available for organizations with custom data retention policies.`
+Claude Code keeps your working directory in the local draft so it can find the transcript, and doesn’t send the directory. In [organizations with Zero Data Retention](</docs/en/zero-data-retention#features-disabled-under-zdr>), and in organizations with the [HIPAA configuration](</docs/en/hipaa-setup>) applied, Claude Code leaves the tool out, as it does for `/feedback`. If a session in an organization with Zero Data Retention still offers the tool, drafts stay on your machine, and sending fails with `Feedback collection is not available for organizations with custom data retention policies.`
###
@@ -565,7 +565,7 @@
* [Cloud sessions](</docs/en/claude-code-on-the-web>), which can’t write to the queue on your machine
* Sessions on [Amazon Bedrock](</docs/en/amazon-bedrock>), [Claude Platform on AWS](</docs/en/claude-platform-on-aws>), [Google Cloud’s Agent Platform](</docs/en/google-vertex-ai>), or [Microsoft Foundry](</docs/en/microsoft-foundry>)
* Sessions where you set [`CLAUDE_CODE_SEND_FEEDBACK=0`](</docs/en/env-vars>) or [`DISABLE_FEEDBACK_COMMAND=1`](</docs/en/env-vars>), set `CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC` to any non-empty value, or turned off [feature-flag fetching](</docs/en/env-vars#features-that-need-feature-flag-fetching>)
- * Organizations that have turned off product feedback, and [organizations with zero data retention](</docs/en/zero-data-retention#features-disabled-under-zdr>)
+ * Organizations that have turned off product feedback, [organizations with Zero Data Retention](</docs/en/zero-data-retention#features-disabled-under-zdr>), and organizations with the [HIPAA configuration](</docs/en/hipaa-setup>) applied
##
--- a/troubleshoot-install.md
+++ b/troubleshoot-install.md
@@ -320,7 +320,7 @@
Windows CMD| `'claude' is not recognized as an internal or external command`
PowerShell| `claude : The term 'claude' is not recognized as the name of a cmdlet`
-This means the install directory isn’t in your shell’s search path. See Verify your PATH for the fix on each platform.
+On Windows, if the error started right after Claude Code updated, see restore `claude.exe` from its backup. Otherwise, see Verify your PATH for the fix on each platform.
###
@@ -485,7 +485,7 @@
`claude.exe` missing after an update on Windows
-If your terminal reports `'claude' is not recognized` right after Claude Code updated on Windows, check whether `%USERPROFILE%\.local\bin` still contains `claude.exe`. If that directory isn’t on your PATH at all, see Fix your PATH instead. To update on Windows, Claude Code renames the existing `claude.exe` aside to a backup and moves the new version into its place. If moving the new version into place fails and Claude Code can’t rename the backup back either, the directory keeps the backup but has no `claude.exe`. The backup is a file in the same directory whose name begins with `claude.exe.old.` followed by a numeric timestamp. Run the following in PowerShell to rename the newest backup back to `claude.exe`:
+If your terminal reports `'claude' is not recognized` right after Claude Code updated on Windows, check whether `%USERPROFILE%\.local\bin` still contains `claude.exe`. If that directory isn’t on your PATH at all, see Verify your PATH instead. To update on Windows, Claude Code renames the existing `claude.exe` aside to a backup and moves the new version into its place. If moving the new version into place fails and Claude Code can’t rename the backup back either, the directory keeps the backup but has no `claude.exe`. The backup is a file in the same directory whose name begins with `claude.exe.old.` followed by a numeric timestamp. Run the following in PowerShell to rename the newest backup back to `claude.exe`:
Get-ChildItem "$env:USERPROFILE\.local\bin\claude.exe.old.*" | Sort-Object Name | Select-Object -Last 1 | Rename-Item -NewName claude.exe
--- a/typescript.md
+++ b/typescript.md
@@ -3934,6 +3934,7 @@
output_tokens_details?: {
thinking_tokens?: number | null;
} | null;
+ fallback_credit?: unknown;
};
toolStats?: {
readCount: number;
@@ -3969,7 +3970,7 @@
outputFile: string;
};
-Returns the result from the subagent. Discriminated on the `status` field: `"completed"` for finished tasks, `"async_launched"` for background tasks, and `"remote_launched"` for tasks Claude Code dispatched to a cloud session, where `sessionUrl` links to that session and `taskId` identifies it. On the `completed` variant, `resolvedModel` names the model the subagent started on, which can differ from the requested `model` input when [`availableModels`](</docs/en/model-config#restrict-model-selection>) or another override applies. This field requires Claude Code v2.1.174 or later. On `async_launched`, it names the model in use when the task moved to the background. `modelsUsed` lists the models the subagent used, in order. The field is present only when a mid-run swap happened, and a model appears again when the run swapped back to it. On `async_launched`, the list covers the models used before backgrounding. Both `modelsUsed` and the backgrounding behavior of `resolvedModel` require Claude Code v2.1.212 or later. If Claude Code [kept the subagent’s isolated worktree](</docs/en/worktrees#isolate-subagents-with-worktrees>), `worktreePath` on the `completed` result is where to find it. `worktreeBranch` is its branch, present when Claude Code created the worktree with git. Claude Code fills `usage` and `totalTokens` from the subagent’s final API request, not from the whole run, so `usage.service_tier` is the service tier string the API reported on that request. When present, `usage.output_tokens_details.thinking_tokens` is the number of that request’s output tokens that were thinking tokens. The `output_tokens_details` field requires TypeScript SDK v0.3.228 or later, which bundles Claude Code v2.1.228. `usage.output_tokens_details` matches `Usage.output_tokens_details` in meaning, scoped to that final request, but every level of it is optional here. Guard both the object and the field, for example `usage.output_tokens_details?.thinking_tokens ?? 0`, rather than reading it directly. Before v2.1.207, the published type was narrower. It omitted `worktreePath`, `worktreeBranch`, `citations`, `toolStats.frameCount`, and the `inference_geo`, `speed`, and `iterations` usage fields, and it typed `service_tier` as `"standard" | "priority" | "batch"`. Fields the type marks optional can be absent on results recorded by earlier versions.
+Returns the result from the subagent. Discriminated on the `status` field: `"completed"` for finished tasks, `"async_launched"` for background tasks, and `"remote_launched"` for tasks Claude Code dispatched to a cloud session, where `sessionUrl` links to that session and `taskId` identifies it. On the `completed` variant, `resolvedModel` names the model the subagent started on, which can differ from the requested `model` input when [`availableModels`](</docs/en/model-config#restrict-model-selection>) or another override applies. This field requires Claude Code v2.1.174 or later. On `async_launched`, it names the model in use when the task moved to the background. `modelsUsed` lists the models the subagent used, in order. The field is present only when a mid-run swap happened, and a model appears again when the run swapped back to it. On `async_launched`, the list covers the models used before backgrounding. Both `modelsUsed` and the backgrounding behavior of `resolvedModel` require Claude Code v2.1.212 or later. If Claude Code [kept the subagent’s isolated worktree](</docs/en/worktrees#isolate-subagents-with-worktrees>), `worktreePath` on the `completed` result is where to find it. `worktreeBranch` is its branch, present when Claude Code created the worktree with git. Claude Code fills `usage` and `totalTokens` from the subagent’s final API request, not from the whole run, so `usage.service_tier` is the service tier string the API reported on that request. When present, `usage.output_tokens_details.thinking_tokens` is the number of that request’s output tokens that were thinking tokens. The `output_tokens_details` field requires TypeScript SDK v0.3.228 or later, which bundles Claude Code v2.1.228. The `fallback_credit` field requires TypeScript SDK v0.3.285 or later, which bundles Claude Code v2.1.285. `usage.output_tokens_details` matches `Usage.output_tokens_details` in meaning, scoped to that final request, but every level of it is optional here. Guard both the object and the field, for example `usage.output_tokens_details?.thinking_tokens ?? 0`, rather than reading it directly. Before v2.1.207, the published type was narrower. It omitted `worktreePath`, `worktreeBranch`, `citations`, `toolStats.frameCount`, and the `inference_geo`, `speed`, and `iterations` usage fields, and it typed `service_tier` as `"standard" | "priority" | "batch"`. Fields the type marks optional can be absent on results recorded by earlier versions.
###
@@ -5231,10 +5232,12 @@
`NonNullableUsage`
-A version of `Usage` with all nullable fields made non-nullable.
+A version of `Usage` with every nullable field made non-nullable except `fallback_credit`, which can still be `null`.
type NonNullableUsage = {
- [K in keyof Usage]: NonNullable<Usage[K]>;
+ [K in keyof Usage]: K extends "fallback_credit"
+ ? Usage[K]
+ : NonNullable<Usage[K]>;
};
###
@@ -5260,14 +5263,17 @@
inference_geo: string | null;
iterations: BetaIterationsUsage | null;
output_tokens_details: BetaOutputTokensDetails | null;
- };
-
-`BetaServerToolUsage`, `BetaIterationsUsage`, and `BetaOutputTokensDetails` are defined in `@anthropic-ai/sdk`. `output_tokens_details` breaks the billed output down by category. It currently carries one field, `thinking_tokens: number`, counting the output tokens the model generated as internal reasoning, including the thinking-block delimiters. The `output_tokens_details` field requires TypeScript SDK v0.3.228 or later, which bundles Claude Code v2.1.228.
+ fallback_credit: BetaFallbackCreditUsage | null;
+ };
+
+`BetaServerToolUsage`, `BetaIterationsUsage`, `BetaOutputTokensDetails`, and `BetaFallbackCreditUsage` are defined in `@anthropic-ai/sdk`. `output_tokens_details` breaks the billed output down by category. It currently carries one field, `thinking_tokens: number`, counting the output tokens the model generated as internal reasoning, including the thinking-block delimiters. The `output_tokens_details` field requires TypeScript SDK v0.3.228 or later, which bundles Claude Code v2.1.228.
* **Billing** : read the breakdown for observability, not for billing. `output_tokens` stays the authoritative total, and `output_tokens - thinking_tokens` approximates the non-reasoning output.
* **What the count covers** : the raw reasoning the model produced, which can be longer than the thinking text returned in the response body. The API computes it by re-tokenizing that raw text, so it can differ from the model’s exact generation count by a few tokens.
* **Streaming** : on streamed assistant messages this breakdown, like `output_tokens`, is a `message_start` placeholder and carries no real count, so read it from the result message’s `usage` as [Read output tokens from the result message](</docs/en/agent-sdk/cost-tracking#read-output-tokens-from-the-result-message>) describes. On the result message, `thinking_tokens` reads `0` when the model or provider reports no breakdown.
* **`null` cases**: `output_tokens_details` itself is `null` on assistant messages Claude Code synthesizes, such as API-error messages.
+
+Whether `Usage` carries `fallback_credit` depends on your installed `@anthropic-ai/sdk`, which added it in 0.115.0.
###
--- a/ultrareview.md
+++ b/ultrareview.md
@@ -6,7 +6,7 @@
* **Broader coverage** : a larger fleet of reviewer agents explores the change in parallel, which surfaces issues that a local review can miss
* **No local resource use** : the review runs entirely in a cloud sandbox, so your terminal stays free for other work while it runs
-Ultrareview requires authentication with a claude.ai account because it runs as a cloud session on Anthropic’s infrastructure. If you are signed in with an API key only, run `/login` and authenticate with claude.ai first. Ultrareview is not available when using Claude Code with Amazon Bedrock, Google Cloud’s Agent Platform, or Microsoft Foundry, and it is not available to organizations that have enabled Zero Data Retention. When ultrareview is not available, `/code-review ultra` runs a local review in your session instead.
+Ultrareview requires authentication with a claude.ai account because it runs as a cloud session on Anthropic’s infrastructure. If you are signed in with an API key only, run `/login` and authenticate with claude.ai first. Ultrareview is not available when using Claude Code with Amazon Bedrock, Google Cloud’s Agent Platform, or Microsoft Foundry, and it is not available to organizations that have enabled Zero Data Retention or have the [HIPAA configuration](</docs/en/hipaa-setup>) applied. When ultrareview is not available, `/code-review ultra` runs a local review in your session instead.
##
--- a/web-quickstart.md
+++ b/web-quickstart.md
@@ -53,7 +53,7 @@
Connecting GitHub is a one-time step. If you already use the GitHub CLI, you can do this from your terminal instead of the browser.
-On Team and Enterprise plans, the **Sign in with GitHub** step works only after an [Owner](</docs/en/server-managed-settings#access-control>) of your Claude organization turns on the GitHub connector at [**Admin settings > Connectors**](<https://claude.ai/admin-settings/connectors>). Until then, that step shows “GitHub access is required for Claude Code on the web” instead of a sign-in button. After the connector is on, reload [claude.ai/code](<https://claude.ai/code>) and start again from the first step. A second toggle, [Quick web setup](</docs/en/claude-code-on-the-web#quick-web-setup-for-team-and-enterprise>) at [**Admin settings > Claude Code**](<https://claude.ai/admin-settings/claude-code>), is optional: with it on, `/web-setup` works and onboarding creates the environment for members.
+On Team and Enterprise plans, the **Sign in with GitHub** step works only after an [Owner](</docs/en/server-managed-settings#access-control>) of your Claude organization turns on the GitHub connector at [**Organization settings > Connectors**](<https://claude.ai/admin-settings/connectors>). Until then, that step shows “GitHub access is required for Claude Code cloud sessions” instead of a sign-in button. After the connector is on, reload [claude.ai/code](<https://claude.ai/code>) and start again from the first step. A second toggle, [Quick setup](</docs/en/claude-code-on-the-web#quick-setup-for-team-and-enterprise>) at [**Organization settings > Claude Code**](<https://claude.ai/admin-settings/claude-code>), is optional: with it on, `/web-setup` works and onboarding creates the environment for members.
1
@@ -74,7 +74,7 @@
A [cloud environment](</docs/en/cloud-environments>) is the saved configuration that controls what network access Claude has during sessions and what runs when a session starts. What happens after you connect GitHub depends on your plan:
* **Pro and Max** : onboarding creates an environment named **Default** for you.
- * **Team and Enterprise** : onboarding shows a **Create your first cloud environment** form. Leave the prefilled name and network access unchanged and click **Create & finish** to create the **Default** environment. If an Owner has turned on [Quick web setup](</docs/en/claude-code-on-the-web#quick-web-setup-for-team-and-enterprise>), onboarding creates **Default** for you instead.
+ * **Team and Enterprise** : onboarding shows a **Create your first cloud environment** form. Leave the prefilled name and network access unchanged and click **Create & finish** to create the **Default** environment. If an Owner has turned on [Quick setup](</docs/en/claude-code-on-the-web#quick-setup-for-team-and-enterprise>), onboarding creates **Default** for you instead.
**Default** uses [`Trusted` network access](</docs/en/cloud-environments#access-levels>): sessions reach [common package registries](</docs/en/cloud-environments#default-allowed-domains>) and other allowlisted domains, and nothing else through the session’s network. See [Installed tools](</docs/en/cloud-environments#installed-tools>) for what’s available without any configuration.For a first project, the **Default** environment works as is. To change its network access, add environment variables, or run a [setup script](</docs/en/cloud-environments#setup-scripts>) before sessions start, [edit it or create additional environments](</docs/en/cloud-environments#configure-your-environment>).
@@ -84,9 +84,9 @@
Connect from your terminal
-If you already use the GitHub CLI (`gh`), you can connect GitHub for cloud sessions from your terminal. This requires the [Claude Code CLI](</docs/en/quickstart>). On Team and Enterprise plans, `/web-setup` is available only after an Owner turns on [Quick web setup](</docs/en/claude-code-on-the-web#quick-web-setup-for-team-and-enterprise>). When you run `/web-setup`, Claude Code reads the token that `gh auth token` prints, asks you to confirm, and sends the token to Anthropic. Anthropic stores it encrypted with your claude.ai account, and your cloud sessions use it for GitHub access until you remove it. A cloud session you start yourself can then access any repository that token can access, with no Claude GitHub App installation. Threads in a [project](</docs/en/claude-projects#set-up-github-access>) still need the Claude GitHub App. If you already connected GitHub in the browser, `/web-setup` warns you that continuing replaces that connection for your cloud sessions.
-
-Organizations with [Zero Data Retention](</docs/en/zero-data-retention>) enabled cannot use `/web-setup` or other cloud session features. If the GitHub CLI isn’t installed or isn’t authenticated, Claude Code opens the browser onboarding flow instead.
+If you already use the GitHub CLI (`gh`), you can connect GitHub for cloud sessions from your terminal. This requires the [Claude Code CLI](</docs/en/quickstart>). On Team and Enterprise plans, `/web-setup` is available only after an Owner turns on [Quick setup](</docs/en/claude-code-on-the-web#quick-setup-for-team-and-enterprise>). When you run `/web-setup`, Claude Code reads the token that `gh auth token` prints, asks you to confirm, and sends the token to Anthropic. Anthropic stores it encrypted with your claude.ai account, and your cloud sessions use it for GitHub access until you remove it. A cloud session you start yourself can then access any repository that token can access, with no Claude GitHub App installation. Threads in a [project](</docs/en/claude-projects#set-up-github-access>) still need the Claude GitHub App. If you already connected GitHub in the browser, `/web-setup` warns you that continuing replaces that connection for your cloud sessions.
+
+Organizations with [Zero Data Retention](</docs/en/zero-data-retention>) enabled, or with the [HIPAA configuration](</docs/en/hipaa-setup>) applied, cannot use `/web-setup` or other cloud session features. If the GitHub CLI isn’t installed or isn’t authenticated, Claude Code opens the browser onboarding flow instead.
1
@@ -261,10 +261,10 @@
`/web-setup` shows “No commands match” or “Unknown command”
-`/web-setup` runs inside the Claude Code CLI, not your shell. Launch `claude` first, then type `/web-setup` at the prompt. If you typed it inside Claude Code and the command menu shows `No commands match "/web-setup"`, or submitting it returns `Unknown command: /web-setup`, the command is hidden because a requirement isn’t met. The cause is usually that you’re authenticated with an API key or third-party provider instead of a claude.ai subscription. Run `/login` to sign in with your claude.ai account. On Team and Enterprise plans, the command is hidden by default: the [Quick web setup toggle](</docs/en/claude-code-on-the-web#quick-web-setup-for-team-and-enterprise>) is off until an Owner turns it on. While it’s off, connect GitHub from the browser instead. The command is also hidden in two other cases:
+`/web-setup` runs inside the Claude Code CLI, not your shell. Launch `claude` first, then type `/web-setup` at the prompt. If you typed it inside Claude Code and the command menu shows `No commands match "/web-setup"`, or submitting it returns `Unknown command: /web-setup`, the command is hidden because a requirement isn’t met. The cause is usually that you’re authenticated with an API key or third-party provider instead of a claude.ai subscription. Run `/login` to sign in with your claude.ai account. On Team and Enterprise plans, the command is hidden by default: the [Quick setup toggle](</docs/en/claude-code-on-the-web#quick-setup-for-team-and-enterprise>) is off until an Owner turns it on. While it’s off, connect GitHub from the browser instead. The command is also hidden in two other cases:
* An administrator has disabled cloud sessions for your organization. In this case, submitting `/web-setup` returns [`Cloud sessions are disabled by your organization's policy`](</docs/en/errors#cloud-sessions-are-disabled-by-your-organizations-policy>). Before v2.1.268, this case also returned `Unknown command: /web-setup`.
- * Your Enterprise organization has [Zero Data Retention](</docs/en/zero-data-retention>) enabled, which makes cloud sessions unavailable.
+ * Your Enterprise organization has [Zero Data Retention](</docs/en/zero-data-retention>) enabled, or has the [HIPAA configuration](</docs/en/hipaa-setup>) applied. Either one makes cloud sessions unavailable.
###
--- a/zero-data-retention.md
+++ b/zero-data-retention.md
@@ -2,7 +2,7 @@
ZDR is not included in the standard Claude for Enterprise plan and cannot be enabled from your admin settings. It is available to qualified accounts and requires separate enablement by Anthropic. If your organization requires ZDR, [contact sales](<https://www.anthropic.com/contact-sales?utm_source=claude_code&utm_medium=docs&utm_content=zero_data_retention_request>) or your Anthropic account team to confirm eligibility.
-ZDR on Claude for Enterprise gives enterprise customers the ability to use Claude Code with zero data retention and access administrative capabilities:
+Claude for Enterprise organizations that have enabled HIPAA can bring the Claude Code CLI and the Code tab in Claude Desktop under their Business Associate Agreement (BAA) without ZDR once the HIPAA configuration is applied to Claude Code (local mode) and Cowork (local mode). See [Set up Claude Code (local mode) for a HIPAA-ready organization](</docs/en/hipaa-setup>). Organizations without the HIPAA configuration still need ZDR for BAA coverage of Claude Code. See the [Implementation Guide](<https://trust.anthropic.com/resources?s=rgirr4qe8u7ek8c2igx3&name=claude-for-enterprise-hipaa-ready-offering-implementation-guide>) for a list of Eligible Services. ZDR on Claude for Enterprise gives enterprise customers the ability to use Claude Code with zero data retention and access administrative capabilities:
* Cost controls per user
* [Analytics](</docs/en/analytics>) dashboard