Follow Discord
Sweep 24 Nov 2026 · 22:58Z Build v2.1.332 549 read Stable v2.1.325 Latest v2.1.331 Next v2.1.332 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One capture · claude-docs

One read of Claude Documentationclaude-docs-20261124T213709Z

14 pages moved out of 299 read.

Pages moved 14 significant first
Pages read 299 in this capture
Captured 21:37 UTC
Corpus hash 76a569de38a3 corpus-hash

What this read moved

1-14 of 14

third-party/claude-desktop/bedrock Changed · +16 / -10 lines

from line 131
131131 
132132If your AWS configuration files are not at the default location, set `inferenceBedrockAwsDir` to the directory that contains them.
133133 
134In [SSH remote sessions](https://claude.com/docs/third-party/claude-desktop/ssh-remote-sessions.md#amazon-bedrock-with-a-named-profile), Claude Code signs in on the host, not on the device. Each host needs a profile of the same name, and users sign in to it there if it needs a sign-in.
134In [SSH remote sessions](https://claude.com/docs/third-party/claude-desktop/ssh-remote-sessions.md#amazon-bedrock-with-a-named-profile), Claude Code signs in on the host, not on the device. Each host needs a profile of the same name. If that profile needs a sign-in, users sign in to the profile on the host.
135135 
136136### Sign in with your identity provider
137137 
from line 168
168168 
169169| Field | Bearer token | In-app AWS sign-in | Named profile |
170170| - | - | - | - |
171| AWS region | e.g. `us-west-2` | e.g. `us-west-2` | e.g. `us-west-2` |
172| AWS bearer token | your Amazon Bedrock API key | *leave empty* | *leave empty* |
171| Credential kind | **Static API key** | **Interactive sign-in** | **Cloud vendor profile** |
172| AWS region | for example, `us-west-2` | for example, `us-west-2` | for example, `us-west-2` |
173| AWS bearer token | your Amazon Bedrock API key | *field hidden* | *field hidden* |
173174| Bedrock base URL | *optional* | *optional* | *optional* |
174| AWS profile name | *leave empty* | *leave empty* | `claude-cowork` |
175| AWS config directory | *leave empty* | *leave empty* | *only if not `~/.aws`* |
176| AWS CLI path | *leave empty* | *leave empty* | *optional* |
177| AWS SSO start URL | *leave empty* | `https://d-xxxxxxxxxx.awsapps.com/start` | *leave empty* |
178| AWS SSO region | *leave empty* | e.g. `us-east-1` | *leave empty* |
179| AWS SSO account ID | *leave empty* | `123456789012` | *leave empty* |
180| AWS SSO role name | *leave empty* | `BedrockInference` | *leave empty* |
175| AWS profile name | *field hidden* | *field hidden* | `claude-cowork` |
176| AWS config directory | *field hidden* | *field hidden* | *only if not `~/.aws`* |
177| AWS CLI path | *field hidden* | *field hidden* | *optional* |
178| AWS SSO start URL | *field hidden* | `https://d-xxxxxxxxxx.awsapps.com/start` | *field hidden* |
179| AWS SSO region | *field hidden* | for example, `us-east-1` | *field hidden* |
180| AWS SSO account ID | *field hidden* | `123456789012` | *field hidden* |
181| AWS SSO role name | *field hidden* | `BedrockInference` | *field hidden* |
181182| Bedrock service tier | *optional* | *optional* | *optional* |
183 
184For the other authentication approaches, select a different **Credential kind**:
185 
186* **[Identity provider sign-in](#sign-in-with-your-identity-provider)**: select **Identity provider sign-in (OIDC)**
187* **[Credential helper](https://claude.com/docs/third-party/claude-desktop/configuration.md#inferencecredentialhelper)**: select **Helper script**
182188 
183189Under **Models**, add a **Model list** entry using the Amazon Bedrock inference-profile ID (optional for bearer-token or credential-helper auth, which auto-discover models; required otherwise), for example `us.anthropic.claude-sonnet-5`.
184190 

third-party/claude-desktop/foundry Changed · +7 / -4 lines

from line 93
9393 
9494| Field | API key | In-app Entra ID sign-in |
9595| - | - | - |
96| Credential kind | **Static API key** | **Interactive sign-in** |
9697| Azure AI Foundry resource name | `your-foundry-resource` | `your-foundry-resource` |
97| Azure AI Foundry API key | your resource key | *leave empty* |
98| Entra ID tenant ID | *leave empty* | `00000000-0000-0000-0000-000000000000` |
99| Entra ID client ID | *leave empty* | `11111111-1111-1111-1111-111111111111` |
100| Entra ID sign-in flow | *leave empty* | `browser` or `broker`, or leave empty for the default device-code flow |
98| Azure AI Foundry API key | your resource key | *field hidden* |
99| Entra ID tenant ID | *field hidden* | `00000000-0000-0000-0000-000000000000` |
100| Entra ID client ID | *field hidden* | `11111111-1111-1111-1111-111111111111` |
101| Entra ID sign-in flow | *field hidden* | `browser` or `broker`, or leave empty for the default device-code flow |
101102| Azure AI Foundry base URL | *optional*, see [Route requests through a gateway](#route-requests-through-a-gateway) | *optional* |
103 
104For a [credential helper](https://claude.com/docs/third-party/claude-desktop/configuration.md#inferencecredentialhelper), set **Credential kind** to **Helper script**.
102105 
103106Under **Models**, add at least one **Model list** entry using the Microsoft Foundry deployment name.
104107 

third-party/claude-desktop/gateway Changed · +10 / -8 lines

from line 91
9191 
9292**3. Configure in the app**
9393 
94Open the [in-app configuration window](https://claude.com/docs/third-party/claude-desktop/in-app-configuration.md#open-the-configuration-window) (**Developer → Configure Third-Party Inference…**). In the **Connection** section, set **Inference provider** to **Gateway** and **Credential kind** to **Interactive sign-in**. This hides the API-key field and reveals **Gateway SSO IdP (OIDC)**:
94Open the [in-app configuration window](https://claude.com/docs/third-party/claude-desktop/in-app-configuration.md#open-the-configuration-window) (**Developer → Configure Third-Party Inference…**). In the **Connection** section, set **Inference provider** to **Gateway** and **Credential kind** to **Interactive sign-in**. This reveals **Gateway SSO IdP (OIDC)**:
9595 
9696| Field | Value |
9797| - | - |
98| Gateway base URL | `https://llm-gateway.example.corp` |
9998| Credential kind | **Interactive sign-in** |
99| Gateway base URL | `https://llm-gateway.example.corp`, without `/v1` at the end, because the app adds `/v1/messages` |
100100| Gateway SSO IdP (OIDC) → Client ID | `YOUR_CLIENT_ID` |
101101| Gateway SSO IdP (OIDC) → Issuer URL | `https://login.microsoftonline.com/YOUR_TENANT_ID/v2.0` |
102102| Gateway SSO IdP (OIDC) → Scopes | *leave empty for the default* |
from line 172
172172 
173173| Field | Value |
174174| - | - |
175| Gateway base URL | `https://llm-gateway.example.corp` |
176| Gateway API key | your gateway key (or a placeholder if your gateway has none) |
177| Credential kind | **Static API key** (default), or **Interactive sign-in** for [single sign-on](#single-sign-on-with-your-identity-provider) |
178| Gateway auth scheme | **Bearer** (default) or **x-api-key** |
175| Credential kind | **Static API key**, **Interactive sign-in** for [single sign-on](#single-sign-on-with-your-identity-provider), or **Helper script** for a [credential helper](https://claude.com/docs/third-party/claude-desktop/configuration.md#inferencecredentialhelper) |
176| Gateway base URL | `https://llm-gateway.example.corp`, without `/v1` at the end, because the app adds `/v1/messages` |
177| Gateway API key | when **Credential kind** is **Static API key**, enter your gateway key (or a placeholder if your gateway has none) |
178| Gateway auth scheme | when **Credential kind** is **Static API key** or **Helper script**, select **Bearer** (default) or **x-api-key** |
179179 
180For the **Identity provider sign-in (OIDC)** credential kind (`external-idp`), see [Single sign-on configuration keys](#single-sign-on-configuration-keys).
181 
180182Then click **Export** to produce a `.mobileconfig` (macOS) or `.reg` (Windows) file for your MDM. See [Deploy with MDM](https://claude.com/docs/third-party/claude-desktop/mdm.md) for the export and deployment workflow.
181183 
182184### Configuration keys
from line 627
625627* **A card or notice, and the built-in safety check takes over**: no result comes back, or the provider answers that it doesn't run the review or has turned the review off. The same happens when the request gets one of these errors and then succeeds when the session sends it again without asking for the review: `400`, `403`, `422`, or a `500` or `502` whose response has no `request-id` header. Code shows a card titled **Auto mode switched to its built-in safety check for this session**, and Cowork shows the same words as a notice. In Code, the turn continues once the user selects **Continue**. If nobody answers the card within five minutes, the turn ends, and the action that waited reads `Stopped` and doesn't run.
626628* **Nothing, and work continues**: the `tool_use` IDs are rewritten, or the provider answers that it couldn't run the review this time. The built-in safety check reviews actions.
627629* **Actions don't run**: the `safeguard_results` field arrives in a form the session can't read. Actions that need a review show as `Blocked`. The turn can stop with a card titled `Auto mode’s safety check was unavailable` in Code, and with a notice that begins `Auto mode is unavailable` in Cowork. As a temporary measure, [turn off **Server-side Auto mode checks**](#turn-off-server-side-auto-mode-checks).
628* **Every Auto mode turn fails**: each request that asks for the review gets an error, and the session doesn't send it again without asking for the review. This happens after every other error, such as `401`, `404`, or `413`. This includes a `500` or `502` whose response has a `request-id` header, which the session treats as the provider's own error. See [Troubleshoot](#troubleshoot).
630* **Every Auto mode turn fails**: each request that asks for the review gets an error, and the session doesn't send it again without asking for the review. This happens after any error other than `400`, `403`, `422`, or a `500` or `502` whose response has no `request-id` header. Examples are `401`, `404`, `413`, and a `500` or `502` whose response has a `request-id` header, which the session treats as the provider's own error. See [Troubleshoot](#troubleshoot).
629631 
630632To find out which of these a user saw, have the user go to **Help > Troubleshooting > Generate Diagnostic Report** and select **Export to file** right after it happens. If Code shows the card, the user selects **Continue** first. Read the report as described in [Test Auto mode checks on one device](#test-auto-mode-checks-on-one-device). A Code session on an SSH host doesn't write its Auto mode lines to this report.
631633 
from line 662
660662| `no_verdict`, `server_unsupported` | The provider doesn't run the review for this model or key. | Use a provider and model that run the review, or, as a temporary measure, [turn off **Server-side Auto mode checks**](#turn-off-server-side-auto-mode-checks). |
661663| `no_verdict`, `other_tool_use_ids` | Verdicts came back under IDs that none of the response's actions has. | Return the provider's `tool_use` IDs unchanged. |
662664| `no_verdict`, `server_unrecognized_result` | The session can't read the `safeguard_results` field. | As a temporary measure, [turn off **Server-side Auto mode checks**](#turn-off-server-side-auto-mode-checks), because actions that need a review don't run. Then compare what your gateway returned to the client with [the requirements](#gateway-requirements-for-auto-mode-checks). |
663| `not_requested`, `beta_rejected` | Your gateway, or the provider behind it, returned a `400`, `403`, `422`, `500`, or `502` to an earlier request that asked for the review, so the session stopped asking. | Check your gateway's logs for which of the two refused the request. If your gateway refused the request, have your gateway accept [the `dangerous-tool-use-2026-09-03` value and the `safeguards` field](#gateway-requirements-for-auto-mode-checks). For the provider, follow the `server_unsupported` row. |
665| `not_requested`, `beta_rejected` | Your gateway, or the provider behind it, returned a `400`, `403`, `422`, `500`, or `502` to an earlier request that asked for the review, so the session stopped asking. | Check your gateway's logs for which of the two refused the request. If your gateway refused the request, have your gateway accept [the `dangerous-tool-use-2026-09-03` value and the `safeguards` field](#gateway-requirements-for-auto-mode-checks). If the provider refused the request, follow the `server_unsupported` row. |
664666| `not_requested`, `betas_disabled`, `switch` is `off` | **Server-side Auto mode checks** is off for this device, because you turned it off, because Claude Desktop can't read the key's value, or because the key isn't set and the device has an earlier version of Claude Desktop, where the setting is off by default. | [Turn the setting on for the device](#test-auto-mode-checks-on-one-device). On an earlier version, you can update Claude Desktop instead. |
665667| `not_requested`, `betas_disabled`, `switch` is `on` | The device's own Claude Code managed settings or a compliance policy turn experimental betas off, which takes priority. | If a `requested` line follows, ignore this line. If none follows, check whether the device's [Claude Code managed settings](https://code.claude.com/docs/en/managed-settings) set `CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS`. |
666668| Only `requested`, and Claude's actions show as `Blocked` | The session couldn't read the verdicts, or the response ended before they arrived. | If the log also holds `cli_stream_failed` lines, see the streaming requirement in [Context window and compaction](#context-window-and-compaction). Otherwise, follow the `server_unrecognized_result` row. |

third-party/claude-desktop/mantle Changed · +3 / -2 lines

from line 31
3131 
3232| Field | Value |
3333| - | - |
34| AWS region | e.g. `us-east-1` |
35| AWS bearer token | your Mantle bearer token |
34| Credential kind | **Static API key**, or **Helper script** for a [credential helper](https://claude.com/docs/third-party/claude-desktop/configuration.md#inferencecredentialhelper) |
35| AWS region | for example, `us-east-1` |
36| AWS bearer token | when **Credential kind** is **Static API key**, enter your Mantle bearer token |
3637| Bedrock base URL | *optional* |
3738 
3839If you set **Bedrock base URL**, provide the full SDK base URL including the `/anthropic` path (for example `https://bedrock-mantle.us-east-1.api.aws/anthropic`); it replaces the default `bedrock-mantle.<region>.api.aws/anthropic` endpoint.

third-party/claude-desktop/ssh-remote-sessions Changed · +16 / -16 lines

from line 114
114114* **The last managed server**: if you remove your last server from `managedMcpServers`, Code sessions again load the MCP servers that users define in Claude Code's own configuration.
115115* **Tool policy**: `toolPolicy` doesn't move with the server. To keep it, see [Plugin structure](https://claude.com/docs/third-party/claude-desktop/extensions.md#plugin-structure).
116116* **Users**: with `installationPreference` set to `"required"`, users can't turn off the plugin in the app, but they can in their own Claude Code settings.
117* **Secrets**: a secret in the plugin's `.mcp.json` file reaches every device that installs the plugin and every host where a user starts a remote session. So can one in its `hooks` directory (see [Plugin hooks on the remote host](#plugin-hooks-on-the-remote-host)).
117* **Secrets**: a secret in the plugin's `.mcp.json` file reaches every device that installs the plugin and every host where a user starts a remote session. A secret in the plugin's `hooks` directory can reach the same devices and hosts (see [Plugin hooks on the remote host](#plugin-hooks-on-the-remote-host)).
118118* **The host's policy**: a [`managed-mcp.json`](https://code.claude.com/docs/en/managed-mcp) file on the host, or `disableSideloadFlags`, `allowedMcpServers`, or `deniedMcpServers` in its Claude Code managed settings, or a setup in which your organization starts Claude Code on the host itself, can keep the server out.
119119 
120120A copy of the server in Claude Code's own configuration on the host is no substitute. The engine never loads a server there that has a managed server's name, and the session shows no message about it.
from line 140
140140 
141141* **The device sends requests straight to Amazon Bedrock.** [`inferenceProvider`](https://claude.com/docs/third-party/claude-desktop/configuration#inferenceprovider) is `bedrock` or `mantle`, and [`inferenceBedrockBaseUrl`](https://claude.com/docs/third-party/claude-desktop/configuration#inferencebedrockbaseurl) is unset or names Amazon's own Bedrock endpoint. A VPC endpoint for `bedrock-runtime`, `bedrock-runtime-fips`, or `bedrock-mantle` counts. Before Claude Desktop 7.37095.0, a VPC endpoint counts only if it is for `bedrock-runtime`. Identity provider sign-in needs a proxy address in that key, so it doesn't qualify. With an address that doesn't count, such as a proxy or gateway, `/resume` is missing from the slash menu, and no message says why. The other conditions don't hide the command.
142142* **The engine has a credential on the host.** The credential kind [works on a remote host](#inference-credentials-on-the-remote-host), or the host starts Claude Code through a launcher. The launcher then supplies the credential, and must be one that the host's managed settings name (see [Resume through a corporate launcher](#resume-through-a-corporate-launcher)).
143* **The host's Claude Code managed settings hold the session to Amazon Bedrock.** A host without managed settings needs nothing. Where a host has them, they must hold an [`allowedProviders`](https://code.claude.com/docs/en/settings-reference#allowedproviders) list with only `bedrock` and `mantle`, or hold no such list and set `"parentSettingsBehavior": "merge"`. Otherwise the user sees `Sessions on this host can't be listed.`
143* **The host's Claude Code managed settings hold the session to Amazon Bedrock.** A host without managed settings needs nothing. If a host has managed settings, they must contain an [`allowedProviders`](https://code.claude.com/docs/en/settings-reference#allowedproviders) list with only `bedrock` and `mantle`, or contain no such list and set `"parentSettingsBehavior": "merge"`. Otherwise the user sees `Sessions on this host can't be listed.`
144144* **All of the session ran on Amazon Bedrock.** Claude Desktop leaves out a session that holds a reply from another provider, and one that was ever opened under a Claude sign-in.
145145 
146146These keys refuse both the list and the selection:
from line 162
162162 
163163Resuming a session brings its conversation from the host to the user's device:
164164 
165* **At the list**: Claude Desktop first runs `claude auth status` on the host, which opens no session. It then skips the sessions that it already has for this host, and checks up to 60 of the folder's other session files, from the newest, or fewer on a slow host. Of each one that passes its Amazon Bedrock check, it fetches the first and the last 64 KiB. Of the folder's other session files, up to its 200 newest (more where the folder's path on the host is over 200 characters long) and up to 20 for each of its worktrees, only the name, the project folder's name, the size, and the time reach the device. Before Claude Desktop 7.37095.0, it checks the folder's 30 newest, and the sessions that it already has count among them.
165* **At the list**: Claude Desktop first runs `claude auth status` on the host, which opens no session. It then skips the sessions that it already has for this host, and checks up to 60 of the folder's other session files, from the newest, or fewer on a slow host. From each session file that passes its Amazon Bedrock check, Claude Desktop fetches the first and the last 64 KiB. For the folder's other session files, only the name, the project folder's name, the size, and the time reach the device. Those details reach the device for up to the folder's 200 newest session files (more where the folder's path on the host is over 200 characters long) and up to 20 for each of the folder's worktrees. Before Claude Desktop 7.37095.0, Claude Desktop checks the folder's 30 newest, and the sessions that it already has count among them.
166166* **At the selection**: it copies the whole conversation to the user's device, before the user sends anything, with the conversation's subagent files and every `agent-*.jsonl` file in the same project folder, which it doesn't check. The copy goes to Claude Code's store on the device, as for every SSH session (see [Removing data](https://claude.com/docs/third-party/claude-desktop/data-storage.md#removing-data)).
167167* **Afterward**: the copy follows the host's file. What someone later adds to that conversation in a terminal reaches the device too, unchecked.
168168* **On the device**: other Claude Code sessions there can read the copy, in Claude Desktop or in a terminal, under whatever provider or sign-in they use. The conversation can leave Amazon Bedrock that way.
from line 232
232232>
233233> The allowlist has one kind of entry, so users can also start a session on any host that you list, and that session receives your [inference credential](#inference-credentials-on-the-remote-host), where Claude Desktop passes one. List only jump hosts that you'd also let users run sessions on.
234234 
235Claude Desktop checks jump hosts in the `ProxyJump` that the device's `~/.ssh/config` sets for the session's host, or in a `ProxyCommand` written as `ssh -W %h:%p <host>`. If one that it checks isn't on the allowlist when the app connects or reconnects a session, the connection fails. When the user starts a session or sends a message, they see [Your organization doesn't allow this SSH connection](#your-organization-doesn%E2%80%99t-allow-this-ssh-connection), and the card's details give that jump host's `HostName`.
235Claude Desktop checks jump hosts in the `ProxyJump` that the device's `~/.ssh/config` sets for the session's host, or in a `ProxyCommand` written as `ssh -W %h:%p <host>`. If a jump host that Claude Desktop checks isn't on the allowlist when the app connects or reconnects a session, the connection fails. When the user starts a session or sends a message, they see [Your organization doesn't allow this SSH connection](#your-organization-doesn%E2%80%99t-allow-this-ssh-connection), and the card's details give that jump host's `HostName`.
236236 
237237Find the names to add in a terminal on a user's device. Skip `proxyjump` lines only on devices where the built-in client makes every connection, for example with `sshTransport` set to `builtin`. The built-in client [refuses every `ProxyJump`](#ssh-configuration-on-the-device), listed or not.
238238 
2392391. Run `ssh -G` with a host that users connect to, for example `ssh -G build01`. Look for a `proxyjump` line, or a `proxycommand` line written as `ssh -W %h:%p <host>`. The command still counts with any of `-l`, `-p`, `-J`, `-q`, `-v`, `-N`, `-T`, `-x`, or `-a`, and the hosts after `-J` are jump hosts too. If a `proxycommand` line runs a program other than `ssh`, add nothing for it.
2402. Run `ssh -G` with each jump host on that line, without any `:port`, and note the `hostname` that it prints. If the output for the first jump host on that line has a line of either kind, repeat this step with it. Ignore such a line in a later jump host's output.
2402. Run `ssh -G` with each jump host on that line, without any `:port`, and note the `hostname` that it prints. If the output for the first jump host on that line has a line of either kind, repeat this step with the jump hosts on the new line. Ignore a line of either kind in the output for a later jump host.
2412413. Add each hostname, or a wildcard that covers it, to the `sshHostAllowlist` that applies on the device. To tell which one applies, see [Interaction with Claude Code managed settings on the device](#interaction-with-claude-code-managed-settings-on-the-device). Then have users quit and reopen Claude Desktop, because when a [bootstrap server](https://claude.com/docs/third-party/claude-desktop/bootstrap.md#availability) or the [admin console](https://claude.com/docs/third-party/claude-desktop/admin-console.md#configuration-updates) delivers the list, an open app allows the hosts that you added only after the app restarts.
242242 
243243### Interaction with Claude Code managed settings on the device
from line 387
387387 
388388> [!WARNING]
389389>
390> List only hosts you trust in `sshHostAllowlist`. Where Claude Desktop passes a credential, a remote session runs Claude Code on the SSH host with your organization's inference credential, for as long as that process runs, including while Claude Desktop is closed. The same user account on the host, or a root user, can get the credential, so prefer one that expires (single sign-on, or a credential helper that issues short-lived tokens) over a long-lived key. With [Amazon Bedrock and a named profile](#amazon-bedrock-with-a-named-profile), the engine uses AWS credentials that are kept on the host, also while Claude Desktop is closed, and the same accounts can get those.
390> In `sshHostAllowlist`, list only hosts that you trust. Where Claude Desktop passes a credential, a remote session runs Claude Code on the SSH host with your organization's inference credential, for as long as that process runs, including while Claude Desktop is closed. The same user account on the host, or a root user, can get the credential, so prefer one that expires (single sign-on, or a credential helper that issues short-lived tokens) over a long-lived key. With [Amazon Bedrock and a named profile](#amazon-bedrock-with-a-named-profile), the engine uses AWS credentials that are kept on the host, also while Claude Desktop is closed, and the same accounts can get those.
391391 
392392Unless the host's [launcher](https://claude.com/docs/third-party/claude-desktop/code.md#start-code-sessions-through-a-corporate-launcher) starts Claude Code or the deployment uses [Amazon Bedrock with a named profile](#amazon-bedrock-with-a-named-profile), Claude Desktop passes the session's credential to the remote engine. For model requests, the engine then doesn't use these on the host: an AWS profile, SSO cache, or instance or container role; an Azure CLI sign-in or managed identity; or Google application default credentials. Commands, hooks, and local MCP servers that run on the host run as the SSH user, and may be able to use them. Claude Desktop copies no AWS, Azure, or Google credential files to the host. Which credential kinds work on a remote host depends on the provider:
393393 
from line 414
414414 
415415With a [named profile](https://claude.com/docs/third-party/claude-desktop/bedrock.md#named-profile), the device's AWS credentials stay on the device. Claude Desktop sends the host the profile's name and the folder that holds the AWS files, and nothing else from the profile. The engine signs in to AWS with the profile of that name on the host, in the AWS Region that your Claude Desktop configuration sets. Your `inferenceCustomHeaders` and your collector's endpoint and headers still go to the host. Session titles, Cowork, and the connection test still use the profile on the device.
416416 
417This has no configuration key of its own. It applies to every Linux or macOS host that `sshHostAllowlist` allows, and sessions start where the host has the files as the steps here describe. A profile of that name that is already on a host is used as it is, so check existing hosts before you update Claude Desktop. Windows hosts aren't supported. You can keep new sessions from using the host's profile in three ways:
417This behavior has no configuration key of its own. It applies to every Linux or macOS host that `sshHostAllowlist` allows, and sessions start if the host has the files set up as the steps in this section describe. A profile of that name that is already on a host is used as it is, so check existing hosts before you update Claude Desktop. Windows hosts aren't supported. You can keep new sessions from using the host's profile in three ways:
418418 
419419* **On one host**: keep the host's name off `sshHostAllowlist` and outside its wildcards, which refuses new SSH sessions and connections under that name (see [Enable SSH remote sessions](#enable-ssh-remote-sessions)).
420420* **On a host that names a launcher**: turn `claudeCodeProcessWrapperEnabled` on, and the launcher starts Claude Code there, as the last paragraph of this section describes.
from line 491
491491A plugin's hooks aren't guaranteed to run on a host: some sessions start without them, and by default a hook that can't start lets the action go ahead. Check these limits before you rely on hooks, or on your policy, in remote sessions:
492492 
493493* **Policy that only devices have**: Claude Code on the host doesn't read the device's Claude Code managed settings. A [policy mod](https://code.claude.com/docs/en/plugins/mods/admin#enforce-a-policy-with-a-mod-of-your-own) that those settings install isn't copied, so copied hooks run without it. Install it through each host's managed settings too.
494* **Policy on files and network**: `allowedWorkspaceFolders`, `blockReadsOutsideWorkingDirectories`, `coworkEgressAllowedHosts`, and permission rules don't bind a command that a hook runs.
494* **Policy on files and network**: `allowedWorkspaceFolders`, `blockReadsOutsideWorkingDirectories`, `coworkEgressAllowedHosts`, and permission rules don't apply to a command that a hook runs.
495495* **Marketplace lists on a host**: `strictKnownMarketplaces` and `blockedMarketplaces` in the host's managed settings don't stop a copied plugin's hooks. To stop them, set `disableSideloadFlags` there.
496496* **A [launcher](https://claude.com/docs/third-party/claude-desktop/code.md#start-code-sessions-through-a-corporate-launcher) that the host's managed settings name**: hooks are copied to such a host too
497497* **The host's environment**: hooks run with the host's environment, not the device's. A variable that only the device sets, and that Claude Desktop doesn't send, is empty on the host, so a hook that deletes or writes under it can hit other files.
from line 514
514514* **Claude's file tools**: they refuse to create or change a file under the path, even in bypass permissions mode. A writable entry listed inside a read-only one is read-only for them too.
515515* **Shell commands that Claude runs with its Bash tool**: Claude Code's sandbox keeps them from writing under the path on a host where it runs, which on Linux needs Claude Code's [sandbox dependencies](https://code.claude.com/docs/en/sandboxing). The sandbox doesn't cover commands listed in Claude Code's `sandbox.excludedCommands`, or a path that contains one of `* ? [ ] ( ) { } | +` or a double quote. It may not stop commands in a folder that is listed through a symbolic link, so list each read-only folder by its real path, and keep it outside writable entries. On a host where the sandbox doesn't run, shell commands can still change the folder. For how the app reports that, see [Sandbox status on the remote host](#sandbox-status-on-the-remote-host).
516516 
517The rules don't bind the SSH user, or other programs that run under that account. MCP servers on the host, hooks from Claude Code's configuration on the host, [mods](https://code.claude.com/docs/en/plugins/mods/overview) in plugins installed on the host, the [hooks of copied plugins](#plugin-hooks-on-the-remote-host), and the session's terminal (including commands that Claude runs there) can change the folder, and Claude Desktop and Claude Code can create git worktrees inside it.
517The rules don't apply to the SSH user, or to other programs that run under that account. MCP servers on the host, hooks from Claude Code's configuration on the host, [mods](https://code.claude.com/docs/en/plugins/mods/overview) in plugins installed on the host, the [hooks of copied plugins](#plugin-hooks-on-the-remote-host), and the session's terminal (including commands that Claude runs there) can change the folder, and Claude Desktop and Claude Code can create git worktrees inside it.
518518 
519519### Sandbox status on the remote host
520520 
from line 588
588588* **Your configuration asks for no sandbox**: it asks for none where `coworkEgressAllowedHosts` contains `*` and `allowedWorkspaceFolders` is unset. On a device whose only configuration is the local configuration file, [an unset `coworkEgressAllowedHosts` doesn't turn on the sandbox by itself](https://claude.com/docs/third-party/claude-desktop/web-tools#unset-allowlist-in-code-sessions) either. Both keys reach well beyond SSH, so read the entries for [`coworkEgressAllowedHosts`](https://claude.com/docs/third-party/claude-desktop/configuration#coworkegressallowedhosts) and [`allowedWorkspaceFolders`](https://claude.com/docs/third-party/claude-desktop/configuration#allowedworkspacefolders) before you change them.
589589* **Claude Code managed settings on the host replace your policy**: they do so unless `parentSettingsBehavior` there is `"merge"`, and settings from a policy helper do so either way. `refuse` then applies only if settings on the host turn a sandbox on. Where none do, a Windows host starts sessions too.
590590* **Server-managed or gateway settings replace your policy**: with the [Claude API](https://claude.com/docs/third-party/claude-desktop/claude-api.md) as the inference provider, Claude Code on the host fetches the [server-managed settings](https://claude.com/docs/third-party/claude-desktop/code.md#interaction-with-claude-code%E2%80%99s-own-managed-settings) of the organization that owns the credential. If that organization has any, they replace your policy on every host, even one with no managed settings of its own, unless `parentSettingsBehavior` in them is `"merge"`. While they apply, Claude Code by default ignores most keys in a file or profile on the host, `"merge"` among them. A [Claude apps gateway's `code` settings](https://claude.com/docs/third-party/claude-desktop/code#interaction-with-claude-code%E2%80%99s-own-managed-settings) rank the same way, but merge unless they set `"first-wins"`.
591* **Managed settings loosen the sandbox**: even under `"merge"`, the values in the host's managed settings, the server-managed settings, or a gateway's `code` settings win over yours, for example `sandbox.enabled` or `sandbox.failIfUnavailable` set to `false`.
591* **Managed settings loosen the sandbox**: even under `"merge"`, the values in the host's managed settings, the server-managed settings, or a gateway's `code` settings take priority over the values in your policy, for example `sandbox.enabled` or `sandbox.failIfUnavailable` set to `false`.
592592* **A launcher on the host locates Claude Code itself**: with [`claudeCodeProcessWrapperEnabled`](https://claude.com/docs/third-party/claude-desktop/configuration#claudecodeprocesswrapperenabled) on, a session through such a launcher gets no sandbox settings from your policy, whatever `parentSettingsBehavior` says. A launcher that the host's managed settings name in `processWrapper` is different. `refuse` applies through it where those settings set `"merge"`, no server-managed or gateway settings apply, and the launcher passes its arguments on.
593593* **The sandbox passes the check and fails later**: the session starts with no card, and each shell command that would run in the sandbox fails or is refused. Have the host's administrator repair the sandbox.
594594 
595Where Claude Code's managed settings replace your policy, set `parentSettingsBehavior` to `"merge"` in them, as [Interaction with Claude Code's own managed settings](https://claude.com/docs/third-party/claude-desktop/code.md#interaction-with-claude-code%E2%80%99s-own-managed-settings) describes. `"merge"` counts for every application that starts Claude Code under those settings, Claude Desktop's local Code sessions included, and lets that application's allow rules and sandbox allowlists apply: see [Let an embedding host add policy](https://code.claude.com/docs/en/managed-settings#let-an-embedding-host-add-policy), which also says which source Claude Code reads the key from. If the same settings set `sandbox.failIfUnavailable` to `true`, the sessions for which your policy asks for a sandbox then [don't start on Windows](https://code.claude.com/docs/en/sandboxing#enforce-sandboxing-with-managed-settings), or on any machine where the sandbox can't start.
595Where Claude Code's managed settings replace your policy, set `parentSettingsBehavior` to `"merge"` in them, as [Interaction with Claude Code's own managed settings](https://claude.com/docs/third-party/claude-desktop/code.md#interaction-with-claude-code%E2%80%99s-own-managed-settings) describes. `"merge"` applies to every application that starts Claude Code under those settings, Claude Desktop's local Code sessions included, and lets that application's allow rules and sandbox allowlists apply: see [Let an embedding host add policy](https://code.claude.com/docs/en/managed-settings#let-an-embedding-host-add-policy), which also says which source Claude Code reads the key from. If the same settings set `sandbox.failIfUnavailable` to `true`, the sessions for which your policy asks for a sandbox then [don't start on Windows](https://code.claude.com/docs/en/sandboxing#enforce-sandboxing-with-managed-settings), or on any machine where the sandbox can't start.
596596 
597The rest is Claude Code's own policy, which binds every Claude Code that reads it, in a terminal too. To require a sandbox there, which is the only way behind a launcher that locates Claude Code, follow [Enforce sandboxing with managed settings](https://code.claude.com/docs/en/sandboxing#enforce-sandboxing-with-managed-settings) and [How Claude Code combines managed sources](https://code.claude.com/docs/en/managed-settings#how-claude-code-combines-managed-sources) in the Claude Code documentation. Settings that you create for this replace your policy too, unless they set `"merge"`.
597The rest is Claude Code's own policy, which applies to every Claude Code that reads it, including Claude Code in a terminal. To require a sandbox in that policy, which is the only way for a session through a launcher that locates Claude Code, follow [Enforce sandboxing with managed settings](https://code.claude.com/docs/en/sandboxing#enforce-sandboxing-with-managed-settings) and [How Claude Code combines managed sources](https://code.claude.com/docs/en/managed-settings#how-claude-code-combines-managed-sources) in the Claude Code documentation. Settings that you create for this replace your policy too, unless they set `"merge"`.
598598 
599599Where a sandbox starts that didn't run before, a `true` for [`sandbox.autoAllowBashIfSandboxed`](https://code.claude.com/docs/en/settings-reference#sandbox-autoallowbashifsandboxed) in a user's, a project's, or a local settings file on the host takes effect: sandboxed Bash commands then run without a prompt, even past an ask rule for all of Bash.
600600 
from line 960
960960 
961961### This session needs your organization's launcher
962962 
963A launcher started this session, or the session that it was made from, and now the host names no launcher or `claudeCodeProcessWrapperEnabled` is off. The card shows only where a new session can use [the host's own AWS profile](#amazon-bedrock-with-a-named-profile). The user can select **New session**, and the new session signs in with the host's own AWS profile, if the host has one. To continue the old session, name the launcher on the host again and turn `claudeCodeProcessWrapperEnabled` on.
963A launcher started this session, or the session that it was made from, and now the host names no launcher or `claudeCodeProcessWrapperEnabled` is off. Claude Desktop shows this card only if a new session can use [the host's own AWS profile](#amazon-bedrock-with-a-named-profile). The user can select **New session**, and the new session signs in with the host's own AWS profile, if the host has one. To continue the old session, name the launcher on the host again and turn `claudeCodeProcessWrapperEnabled` on.
964964 
965965This card requires Claude Desktop 7.37095.0 or later.
966966 
from line 1093
10931093| `Your organization's settings don't allow resuming sessions from this host or folder.` | `sshHostAllowlist` refuses the host, `allowedWorkspaceFolders` refuses the folder, or the credential kind doesn't [work on a remote host](#inference-credentials-on-the-remote-host) | Change the key or the credential kind, or have the user pick a folder inside the list |
10941094| `Sessions on this host can't be listed.` | The host doesn't qualify. Check first whether its managed settings lack both `"merge"` and an `allowedProviders` list. Other causes include a Windows host, a launcher that locates Claude Code itself or sets another provider, and a wider `allowedProviders` list on the host | See [Where resuming a saved session is available](#where-resuming-a-saved-session-is-available). To tell the causes apart, see [Find why resume refuses a host](#find-why-resume-refuses-a-host) |
10951095| `Couldn't load sessions from the host.` | The connection to the host isn't up, or the host gave no usable answer. For example, a launcher was too slow to answer | Have the user select **Try again**. If the message returns and you have a launcher, see [Resume through a corporate launcher](#resume-through-a-corporate-launcher). To tell the causes apart, see [Find why resume refuses a host](#find-why-resume-refuses-a-host) |
1096| `Some sessions aren't listed.`, under the list or alone | The folder holds more session files than Claude Desktop goes through for one list, or some of them are too large (over 64 MiB) or too slow to check, or hold another provider's reply. The message stands alone where nothing is left to list | Have the user resume the session in a terminal on the host |
1096| `Some sessions aren't listed.`, under the list or alone | The folder holds more session files than Claude Desktop goes through for one list, or some of them are too large (over 64 MiB) or too slow to check, or hold another provider's reply. The message appears alone if nothing is left to list | Have the user resume the session in a terminal on the host |
10971097| `Couldn't resume that session.` | No reason is shown. For example, a key refuses the selection, the file is gone, or the host or the session no longer passes the checks | See [Where resuming a saved session is available](#where-resuming-a-saved-session-is-available) |
10981098| `The host says that another user owns or can change that session's file` | For example, `sudo claude` wrote the file as root, or its mode is `0664` | Check the owner and mode of the session's file, under `~/.claude/projects` on the host |
10991099| `Claude Code on <host> has no working credentials` | At the first message, Claude Code on the host got no working credential for Amazon Bedrock. For example, a company sign-in behind the launcher's credential has lapsed | Have the user sign in again on the host, then select **Try again** |
from line 1108
11081108 
11091109* **This Claude Desktop already has the session for this host**, in the sidebar or archived
11101110* **The folder has many newer session files**: Claude Desktop takes the folder's 200 newest session files, skips the sessions that it already has for this host, and goes through the rest from the newest. It stops once it has 30 sessions that began in a terminal, or at 60 files, or sooner on a slow host. The user then sees `Some sessions aren't listed.`, under the list or alone. Have the user resume such a session in a terminal on the host. Before Claude Desktop 7.37095.0, it goes through the 30 newest files, and the sessions that it already has count among them.
1111* **The session was saved for another folder**, a subfolder included: the list goes by the real path of the folder that the user picked, and takes in that folder's Claude Code worktrees
1111* **The session was saved for another folder**, a subfolder included: the list uses the real path of the folder that the user picked, and includes that folder's Claude Code worktrees
11121112* **A program started the session**: for example, `claude -p`
11131113 
11141114#### Find why resume refuses a host

third-party/claude-desktop/vertex Changed · +22 / -5 lines

### Check the connection to Google Cloud

from line 132
132132 
133133| Field | Service-account key | In-app Google sign-in |
134134| - | - | - |
135| Credential kind | **Cloud vendor profile** | **Interactive sign-in** |
135136| GCP project ID | `your-gcp-project` | `your-gcp-project` |
136| GCP region | e.g. `us-east5` | e.g. `us-east5` |
137| GCP credentials file path | `/path/to/sa-key.json` | *leave empty* |
138| Vertex OAuth client ID | *leave empty* | `1234567890-abc123.apps.googleusercontent.com` |
139| Vertex OAuth client secret | *leave empty* | `GOCSPX-xxxxxxxxxxxxxxxxxxxx` |
140| Vertex OAuth scopes | *leave empty* | *leave empty for the default* |
137| GCP region | for example, `us-east5` | for example, `us-east5` |
138| GCP credentials file path | `/path/to/sa-key.json` | *field hidden* |
139| Vertex OAuth client ID | *field hidden* | `1234567890-abc123.apps.googleusercontent.com` |
140| Vertex OAuth client secret | *field hidden* | `GOCSPX-xxxxxxxxxxxxxxxxxxxx` |
141| Vertex OAuth scopes | *field hidden* | *leave empty for the default* |
141142| Vertex AI base URL | *optional* | *optional* |
142143 
144For the other authentication approaches, select a different **Credential kind**:
145 
146* **[In-app Workforce Identity sign-in](#in-app-workforce-identity-sign-in)**: select **Workforce Identity**
147* **[Credential helper](https://claude.com/docs/third-party/claude-desktop/configuration.md#inferencecredentialhelper)**: select **Helper script**
148 
143149Under **Models**, add at least one **Model list** entry using the publisher model ID, for example `claude-sonnet-5`.
144150 
145151Then click **Export** to produce a `.mobileconfig` (macOS) or `.reg` (Windows) file for your MDM. See [Deploy with MDM](https://claude.com/docs/third-party/claude-desktop/mdm.md) for the export and deployment workflow.
152 
153### Check the connection to Google Cloud
154 
155With the **Vertex AI** provider selected in the [in-app configuration window](https://claude.com/docs/third-party/claude-desktop/in-app-configuration.md#open-the-configuration-window), the **Test connection** button doesn't send a test request to Google Cloud. If your credential helper fails, the result names the error. Otherwise, the result reads `Vertex auth cannot be probed from the main process.`
156 
157To check the connection, send a message through it:
158 
1591. In the in-app configuration window, click **Apply Changes**.
1602. Click **Save & Restart**. If your changes are already saved, click **Relaunch now** instead.
1613. If **Credential kind** is **Interactive sign-in** or **Workforce Identity**, click **Sign in with Google Cloud** after the app relaunches, and complete the sign-in.
1624. Send a message. A reply from Claude confirms the connection.
146163 
147164### Configuration keys
148165 

third-party/claude-desktop/admin-console Changed · +2 / -2 lines

from line 405
405405 
406406**2. Finish the configuration before users sign in**
407407 
408Set every setting you rely on in the console, because the console's configuration replaces the profile's. Add your [plugin marketplaces](#plugin-marketplaces) on the **Plugins** page. To migrate users' work, check that the **Automatically import earlier third-party sessions** switch under **Claude.ai data import** on the **Capabilities** page is on (the default). To skip the migration, turn it off. Devices that already migrated keep their items.
408Set every setting you rely on in the console, because the console's configuration replaces the profile's configuration. Add your [plugin marketplaces](#plugin-marketplaces) on the **Plugins** page. To migrate users' work, check that the **Automatically import earlier third-party sessions** switch under **Claude.ai data import** on the **Capabilities** page is on (the default). To skip the migration, turn it off. Devices that already migrated keep their items.
409409 
410410If users have designs or slide decks, also turn on [Design and Slides](https://claude.com/docs/third-party/claude-desktop/design-and-slides.md#turn-on-design-and-slides). Only [Claude Desktop 7.37095.0 or later](#what-is-migrated) migrates designs and decks. Users see them only where Design and Slides is turned on.
411411 
from line 463
463463* **Project links**: add them again on each project's page
464464* **Design systems that users added on the computer**: [add them again](https://claude.com/docs/third-party/claude-desktop/design-and-slides.md#add-a-design-system-on-one-computer)
465465* **Project folders in Chat**: Claude can't read a migrated project's folder in Chat until the user [adds the folder to the project again](https://claude.com/docs/third-party/claude-desktop/import.md#make-an-imported-project-folder-readable-in-chat)
466* **Model of scheduled tasks, and the approval mode of some**: each task arrives with **Default model**. A task that ran on **Automatically approve** or in bypass permissions mode arrives on **Automatically approve** if its tab offers that mode when the device migrates. Cowork offers it only where [`autoModeEnabled`](https://claude.com/docs/third-party/claude-desktop/configuration#automodeenabled) is `true`. Code offers it unless `autoModeEnabled` is `false` or a managed Claude Code setting turns Auto mode off. Any other task arrives without its approval mode. Until the user sets the mode again, a run that needs an approval waits for them.
466* **Model of scheduled tasks, and the approval mode of some**: each task arrives with **Default model**. A task that ran on **Automatically approve** or in bypass permissions mode arrives on **Automatically approve** if its tab offers that mode when the device migrates. Cowork offers it only if [`autoModeEnabled`](https://claude.com/docs/third-party/claude-desktop/configuration#automodeenabled) is `true`. Code offers it unless `autoModeEnabled` is `false` or a managed Claude Code setting turns Auto mode off. Any other task arrives without its approval mode. Until the user sets the mode again, a run that needs an approval waits for them.
467467* **Sidebar pins of sessions and scheduled tasks**: pin them again
468468* **Optional organization plugins that the migration skipped**: install them again from **Customize → Plugins → Discover → Organization**
469469* **Plugins from marketplaces the user added**: add the marketplace and install the plugins again

third-party/claude-desktop/admin-console-claude-code Changed · +2 / -2 lines

from line 131
131131* **`apiKeyHelper`**: use the **Helper script** on the **Connection** page. It takes the path to a program, not a shell command. You still need to [install that program on each computer](https://claude.com/docs/third-party/claude-desktop/credential-helper.md#install-the-helper-for-claude-code-in-the-terminal).
132132* **OpenTelemetry export (`CLAUDE_CODE_ENABLE_TELEMETRY` and the `OTEL_` variables)**: use **OTLP endpoint** and the other OTLP fields on the **Telemetry & updates** page. If you [keep managed settings beside the console](#keep-managed-settings-beside-the-console), leave these variables in them until each computer has Claude Code 2.1.331. Earlier versions export only where these variables say.
133133 
134The fields on the **Desktop 3P** pages also apply to Claude Desktop, so check that each value works there too.
134The fields on the **Desktop 3P** pages also apply to Claude Desktop, so check that each value also works in Claude Desktop.
135135 
136136If an entry under `sandbox` or in `disabledMcpjsonServers` starts with `//`, remove one slash, because Claude Code ignores such an entry. Leave `//` in deny and ask rules.
137137 
from line 305
305305 
306306If you set a retention period under `HKCU` on Windows, add it to this file as `cleanupPeriodDays`. Claude Code ignores `HKCU` once the computer has managed settings.
307307 
308To test it, ask a developer who isn't signed in to run `claude`. Claude Code prints a message, `This computer's managed settings require a sign-in to Anthropic`, and exits. If Claude Code starts instead, check that its version is 2.1.331 or later, and that developers' accounts can read the file.
308To test the requirement, ask a developer who isn't signed in to run `claude`. Claude Code prints a message, `This computer's managed settings require a sign-in to Anthropic`, and exits. If Claude Code starts instead, check that its version is 2.1.331 or later, and that developers' accounts can read the file.
309309 
310310For other ways around your settings, see [Security considerations](https://claude.com/docs/third-party/claude-desktop/admin-console-claude-code-reference.md#security-considerations).
311311 

third-party/claude-desktop/admin-console-claude-code-reference Changed · +1 / -1 lines

from line 143
143143 
144144A developer doesn't need administrator access to bypass your settings. These are some of the ways a developer can work without them, and what limits each one:
145145 
146* **Signs in to another organization that's set up this way, on a computer with no managed settings**: the other organization's settings apply instead of yours, including its OpenTelemetry collector. `forceLoginOrgUUID` in the computer's managed settings limits this.
146* **Signs in to another organization that's set up this way, on a computer with no managed settings**: the other organization's settings, including its OpenTelemetry collector, apply instead of your organization's settings. `forceLoginOrgUUID` in the computer's managed settings limits this.
147147* **Signs in to your organization while still signed in to a Claude apps gateway, on a computer with no managed settings**: sessions stay on that gateway, and your settings don't apply. The sign-in then prints `Claude Code still uses the gateway at`. To fix it, the developer runs `claude auth logout` in their terminal and signs in to your organization again. If their own settings set `forceLoginMethod` to `gateway`, they first remove it and `forceLoginGatewayUrl`. `forceLoginOrgUUID` limits this. `/status` in Claude Code shows a session that follows a gateway's own settings as `Cloud gateway`, and the **Allow sign-in from Claude Code in terminals and IDEs** switch doesn't stop it.
148148* **Signs in with their own Claude account**: Claude Code ends the organization sign-in and removes the stored copy of your settings. `forceLoginOrgUUID` limits this. On a computer that requires the sign-in, a claude.ai login still starts sessions on the Anthropic API, without your settings.
149149* **Changes how Claude Code starts on their own computer**: the sign-in keys are checked on the developer's computer. Sessions can run on the Anthropic API under another login, without your settings. `allowedProviders` without `"anthropic"` in the computer's managed settings limits this, if developers don't need direct access to the Anthropic API. Otherwise, only controls outside Claude Code limit this.

third-party/claude-desktop/configuration-format Changed · +1 / -1 lines

from line 88
8888```json theme={null}
8989{
9090 "inferenceProvider": "gateway",
91 "inferenceGatewayBaseUrl": "https://gateway.example.com/v1",
91 "inferenceGatewayBaseUrl": "https://gateway.example.com",
9292 "inferenceGatewayApiKey": "sk-example",
9393 "inferenceCustomHeaders": { "X-Tenant-Id": "acme" }
9494}

third-party/claude-desktop/credential-helper Changed · +1 / -1 lines

from line 82
8282 
8383## Install the helper for Claude Code in the terminal
8484 
85If you [manage Claude Code in the terminal from the Enterprise Admin Console](https://claude.com/docs/third-party/claude-desktop/admin-console-claude-code.md), Claude Code can also run the **Helper script** on your **Connection** page and the **OTLP headers helper script** on your **Telemetry & updates** page. Claude Code checks each script before it runs it:
85If you [manage Claude Code in the terminal from the Enterprise Admin Console](https://claude.com/docs/third-party/claude-desktop/admin-console-claude-code.md), Claude Code can also run the **Helper script** on your **Connection** page and the **OTLP headers helper script** on your **Telemetry & updates** page. Claude Code checks each script before running it:
8686 
8787* **On macOS and Linux**: the script runs only if the developer's account can't change any of these: the script, the interpreter on its `#!` line, any file that an argument names, and every folder above those files. For example, make them all owned by root with mode `755`. Start the script with the full path of its interpreter, such as `#!/bin/bash`, not `#!/usr/bin/env`. The script doesn't run when Claude Code runs as root.
8888* **On Windows**: install the script, and any file that an argument names, under `C:\Program Files`, not `C:\Program Files (x86)`. Give the full path of each file. Claude Code checks only where the files are, so keep that folder's default permissions.

third-party/claude-desktop/data-storage Changed · +1 / -1 lines

from line 54
5454 
5555The logs directory contains `main.log` (application and configuration-validation events), `ssh.log` (SSH connection events), `cowork_vm_node.log` (sandbox VM activity), `claude.ai-web.log` (renderer events), and `mcp.log` / `mcp-server-<name>.log` (MCP connection events).
5656 
57Separately from the application-data directory, Claude Desktop writes live artifacts (interactive pages) and scheduled-task results to `~/Claude/` in your home directory, or `~/Documents/Claude/` on legacy installs. This folder is intended for you to browse directly and is not removed when you delete the application-data directory. To back up a user's data, copy every location listed under [Copy the data to the new device](#copy-the-data-to-the-new-device).
57Separately from the application-data directory, Claude Desktop writes live artifacts (interactive pages) and scheduled-task results to `~/Claude/` in the user's home directory, or `~/Documents/Claude/` on legacy installs. This folder is intended for the user to browse directly and is not removed when you delete the application-data directory. To back up a user's data, copy every location listed under [Copy the data to the new device](#copy-the-data-to-the-new-device).
5858 
5959### Virtual desktops
6060 

third-party/claude-desktop/extensions Changed · +1 / -1 lines

from line 539
539539* **In a plugin**: add the plugin's marketplace to [`allowedPluginMarketplaces`](#configure-the-marketplace) with `installationPreference` set to [`"required"`](#marketplace-installation-preferences). Once Claude Desktop has fetched the marketplace, the plugin's hooks run from the first message of each Cowork session, Chat conversation, and local Code session. In a local Code session, a user can turn them off with [`disableAllHooks`](https://code.claude.com/docs/en/settings-reference#disableallhooks) in their own or a project's Claude Code settings.
540540* **In Claude Code managed settings**: write the hooks under the [`hooks`](https://code.claude.com/docs/en/settings-reference#hooks) key of the Claude Code [managed settings](https://claude.com/docs/third-party/claude-desktop/code.md#interaction-with-claude-code%E2%80%99s-own-managed-settings) on each device, and put any script that they call on the device too, where users can't change it. These hooks run in Cowork sessions, Chat conversations, and local Code sessions with no plugin to install, and a user's `disableAllHooks` doesn't stop them. If these are the device's first Claude Code managed settings, also set `parentSettingsBehavior` to `"merge"` in them, or Claude Code ignores the [managed policy](https://claude.com/docs/third-party/claude-desktop/code.md#applied-as-managed-policy) values that Claude Desktop supplies.
541541 
542In an SSH remote session, a plugin's hooks run where Claude Desktop copies them to the host (see [Plugin hooks on the remote host](https://claude.com/docs/third-party/claude-desktop/ssh-remote-sessions.md#plugin-hooks-on-the-remote-host)), and Claude Code on the host doesn't read the device's managed settings. For a hook that has to run in every remote session, deploy Claude Code managed settings [on the host](https://code.claude.com/docs/en/managed-settings#where-each-mechanism-stores-the-policy) in the same way. To turn off users' own hooks there too, deploy the example under [Turn off user hooks](#turn-off-user-hooks).
542In an SSH remote session, a plugin's hooks can run if Claude Desktop copies them to the host (see [Plugin hooks on the remote host](https://claude.com/docs/third-party/claude-desktop/ssh-remote-sessions.md#plugin-hooks-on-the-remote-host)). Claude Code on the host doesn't read the device's managed settings. For a hook that has to run in every remote session, deploy Claude Code managed settings [on the host](https://code.claude.com/docs/en/managed-settings#where-each-mechanism-stores-the-policy) in the same way. To turn off users' own hooks there too, deploy the example under [Turn off user hooks](#turn-off-user-hooks).
543543 
544544### Turn off user hooks
545545 

third-party/claude-desktop/in-app-configuration Changed · +1 / -1 lines

from line 2
22 
33> Build, test, and export a Claude Desktop on 3P configuration from inside the app, with validation and per-provider guidance
44 
5The in-app configuration window is the recommended way to configure Claude Desktop for third-party inference. It validates values as you enter them, shows exactly which fields your inference provider requires, tests the connection against your endpoint, and computes the network egress allowlist for your settings.
5The in-app configuration window is the recommended way to configure Claude Desktop for third-party inference. It validates values as you enter them, shows exactly which fields your inference provider requires, and computes the network egress allowlist for your settings. The **Test connection** button sends a test request to your endpoint, except with the **Vertex AI** provider, where you [check the connection by sending a message](https://claude.com/docs/third-party/claude-desktop/vertex.md#check-the-connection-to-google-cloud).
66 
77## Open the configuration window
88 
Feedback