Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
476 changes: 237 additions & 239 deletions content/.metadata.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions content/en/agents-and-tools/mcp-connector.md
Original file line number Diff line number Diff line change
Expand Up @@ -1276,8 +1276,8 @@ Install both the Anthropic SDK and the MCP SDK:
<Tabs>
<Tab title="Gradle">
```kotlin
implementation("com.anthropic:anthropic-java:3.1.0")
implementation("com.anthropic:anthropic-java-mcp:3.1.0")
implementation("com.anthropic:anthropic-java:3.2.0")
implementation("com.anthropic:anthropic-java-mcp:3.2.0")
```
</Tab>

Expand All @@ -1286,12 +1286,12 @@ Install both the Anthropic SDK and the MCP SDK:
<dependency>
<groupId>com.anthropic</groupId>
<artifactId>anthropic-java</artifactId>
<version>3.1.0</version>
<version>3.2.0</version>
</dependency>
<dependency>
<groupId>com.anthropic</groupId>
<artifactId>anthropic-java-mcp</artifactId>
<version>3.1.0</version>
<version>3.2.0</version>
</dependency>
```
</Tab>
Expand Down
8 changes: 4 additions & 4 deletions content/en/build-with-claude/claude-in-amazon-bedrock.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ Anthropic's [client SDKs](https://platform.claude.com/docs/en/cli-sdks-libraries
<Tabs>
<Tab title="Gradle">
```kotlin
implementation("com.anthropic:anthropic-java:3.1.0")
implementation("com.anthropic:anthropic-java-bedrock:3.1.0")
implementation("com.anthropic:anthropic-java:3.2.0")
implementation("com.anthropic:anthropic-java-bedrock:3.2.0")
```
</Tab>

Expand All @@ -112,12 +112,12 @@ Anthropic's [client SDKs](https://platform.claude.com/docs/en/cli-sdks-libraries
<dependency>
<groupId>com.anthropic</groupId>
<artifactId>anthropic-java</artifactId>
<version>3.1.0</version>
<version>3.2.0</version>
</dependency>
<dependency>
<groupId>com.anthropic</groupId>
<artifactId>anthropic-java-bedrock</artifactId>
<version>3.1.0</version>
<version>3.2.0</version>
</dependency>
```
</Tab>
Expand Down
8 changes: 4 additions & 4 deletions content/en/build-with-claude/claude-in-microsoft-foundry.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ Anthropic's [client SDKs](https://platform.claude.com/docs/en/cli-sdks-libraries
<Tabs>
<Tab title="Gradle">
```kotlin
implementation("com.anthropic:anthropic-java:3.1.0")
implementation("com.anthropic:anthropic-java-foundry:3.1.0")
implementation("com.anthropic:anthropic-java:3.2.0")
implementation("com.anthropic:anthropic-java-foundry:3.2.0")

// For Entra ID authentication, also add the Azure Identity library
implementation("com.azure:azure-identity:1.18.3")
Expand All @@ -93,12 +93,12 @@ Anthropic's [client SDKs](https://platform.claude.com/docs/en/cli-sdks-libraries
<dependency>
<groupId>com.anthropic</groupId>
<artifactId>anthropic-java</artifactId>
<version>3.1.0</version>
<version>3.2.0</version>
</dependency>
<dependency>
<groupId>com.anthropic</groupId>
<artifactId>anthropic-java-foundry</artifactId>
<version>3.1.0</version>
<version>3.2.0</version>
</dependency>
<!-- For Entra ID authentication, also add the Azure Identity library -->
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,20 +175,20 @@ Install the package that provides the client:

<Tab title="Java">
```kotlin Gradle
implementation("com.anthropic:anthropic-java:3.1.0")
implementation("com.anthropic:anthropic-java-google-cloud:3.1.0")
implementation("com.anthropic:anthropic-java:3.2.0")
implementation("com.anthropic:anthropic-java-google-cloud:3.2.0")
```

```xml Maven
<dependency>
<groupId>com.anthropic</groupId>
<artifactId>anthropic-java</artifactId>
<version>3.1.0</version>
<version>3.2.0</version>
</dependency>
<dependency>
<groupId>com.anthropic</groupId>
<artifactId>anthropic-java-google-cloud</artifactId>
<version>3.1.0</version>
<version>3.2.0</version>
</dependency>
```
</Tab>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,20 +47,20 @@ Anthropic's [client SDKs](https://platform.claude.com/docs/en/cli-sdks-libraries
<Tab title="Java">
<CodeGroup exclude="shell, python, typescript, csharp, go, php, ruby">
```groovy Gradle
implementation("com.anthropic:anthropic-java:3.1.0")
implementation("com.anthropic:anthropic-java-vertex:3.1.0")
implementation("com.anthropic:anthropic-java:3.2.0")
implementation("com.anthropic:anthropic-java-vertex:3.2.0")
```

```xml Maven
<dependency>
<groupId>com.anthropic</groupId>
<artifactId>anthropic-java</artifactId>
<version>3.1.0</version>
<version>3.2.0</version>
</dependency>
<dependency>
<groupId>com.anthropic</groupId>
<artifactId>anthropic-java-vertex</artifactId>
<version>3.1.0</version>
<version>3.2.0</version>
</dependency>
```
</CodeGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,20 +58,20 @@ Anthropic's [client SDKs](https://platform.claude.com/docs/en/cli-sdks-libraries
<Tab title="Java">
<CodeGroup exclude="shell, python, typescript, csharp, go, php, ruby">
```groovy Gradle
implementation("com.anthropic:anthropic-java:3.1.0")
implementation("com.anthropic:anthropic-java-bedrock:3.1.0")
implementation("com.anthropic:anthropic-java:3.2.0")
implementation("com.anthropic:anthropic-java-bedrock:3.2.0")
```

```xml Maven
<dependency>
<groupId>com.anthropic</groupId>
<artifactId>anthropic-java</artifactId>
<version>3.1.0</version>
<version>3.2.0</version>
</dependency>
<dependency>
<groupId>com.anthropic</groupId>
<artifactId>anthropic-java-bedrock</artifactId>
<version>3.1.0</version>
<version>3.2.0</version>
</dependency>
```

Expand Down
8 changes: 4 additions & 4 deletions content/en/build-with-claude/claude-platform-on-aws.md
Original file line number Diff line number Diff line change
Expand Up @@ -308,20 +308,20 @@ Anthropic's [client SDKs](https://platform.claude.com/docs/en/cli-sdks-libraries

<Tab title="Java">
```kotlin Gradle
implementation("com.anthropic:anthropic-java:3.1.0")
implementation("com.anthropic:anthropic-java-aws:3.1.0")
implementation("com.anthropic:anthropic-java:3.2.0")
implementation("com.anthropic:anthropic-java-aws:3.2.0")
```

```xml Maven
<dependency>
<groupId>com.anthropic</groupId>
<artifactId>anthropic-java</artifactId>
<version>3.1.0</version>
<version>3.2.0</version>
</dependency>
<dependency>
<groupId>com.anthropic</groupId>
<artifactId>anthropic-java-aws</artifactId>
<version>3.1.0</version>
<version>3.2.0</version>
</dependency>
```
</Tab>
Expand Down
2 changes: 1 addition & 1 deletion content/en/cli-sdks-libraries/cli/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Compared to `curl`, `ant` builds request bodies from typed flags or piped YAML i
For Linux environments, download the release binary directly.

```bash
VERSION=2.1.0
VERSION=2.2.0
OS=$(uname -s | tr '[:upper:]' '[:lower:]')
case $(uname -m) in
x86_64) ARCH=amd64 ;;
Expand Down
16 changes: 8 additions & 8 deletions content/en/cli-sdks-libraries/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,14 @@ Each major version of a client SDK sends one [API version](https://platform.clau

| Tool | Latest version | Package |
| ---------- | -------------- | ----------------------------------------------------------------------------------------------------------- |
| ant CLI | `2.1.0` | [`github.com/anthropics/anthropic-cli`](https://github.com/anthropics/anthropic-cli/releases) |
| Python | `2.1.0` | [`anthropic` on PyPI](https://pypi.org/project/anthropic/) |
| TypeScript | `1.1.0` | [`@anthropic-ai/sdk`](https://www.npmjs.com/package/@anthropic-ai/sdk) |
| C# | `13.1.0` | [`Anthropic`](https://www.nuget.org/packages/Anthropic) |
| Go | `2.1.0` | [`github.com/anthropics/anthropic-sdk-go/v2`](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go/v2) |
| Java | `3.1.0` | [`com.anthropic:anthropic-java`](https://central.sonatype.com/artifact/com.anthropic/anthropic-java) |
| PHP | `1.1.0` | [`anthropic-ai/sdk`](https://packagist.org/packages/anthropic-ai/sdk) |
| Ruby | `2.1.0` | [`anthropic` on RubyGems](https://rubygems.org/gems/anthropic) |
| ant CLI | `2.2.0` | [`github.com/anthropics/anthropic-cli`](https://github.com/anthropics/anthropic-cli/releases) |
| Python | `2.2.0` | [`anthropic` on PyPI](https://pypi.org/project/anthropic/) |
| TypeScript | `1.2.0` | [`@anthropic-ai/sdk`](https://www.npmjs.com/package/@anthropic-ai/sdk) |
| C# | `13.2.0` | [`Anthropic`](https://www.nuget.org/packages/Anthropic) |
| Go | `2.2.0` | [`github.com/anthropics/anthropic-sdk-go/v2`](https://pkg.go.dev/github.com/anthropics/anthropic-sdk-go/v2) |
| Java | `3.2.0` | [`com.anthropic:anthropic-java`](https://central.sonatype.com/artifact/com.anthropic/anthropic-java) |
| PHP | `1.2.0` | [`anthropic-ai/sdk`](https://packagist.org/packages/anthropic-ai/sdk) |
| Ruby | `2.2.0` | [`anthropic` on RubyGems](https://rubygems.org/gems/anthropic) |

The same versions are available as JSON at `https://platform.claude.com/docs/sdk-versions.json`.

Expand Down
4 changes: 2 additions & 2 deletions content/en/cli-sdks-libraries/sdks/java.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The Anthropic Java SDK provides convenient access to the Claude API from applica
<Tabs>
<Tab title="Gradle">
```kotlin
implementation("com.anthropic:anthropic-java:3.1.0")
implementation("com.anthropic:anthropic-java:3.2.0")
```
</Tab>

Expand All @@ -24,7 +24,7 @@ The Anthropic Java SDK provides convenient access to the Claude API from applica
<dependency>
<groupId>com.anthropic</groupId>
<artifactId>anthropic-java</artifactId>
<version>3.1.0</version>
<version>3.2.0</version>
</dependency>
```
</Tab>
Expand Down
14 changes: 8 additions & 6 deletions content/en/docs/claude-code/cloud-environments.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ On the new-session screen, select the first control in the row under the message
* **Add an environment**: select **New environment** at the bottom of the menu to open the **New environment** dialog. Fill in the form and select **Add environment**. Your new session then uses the environment you added.
* **Edit an environment**: find its row under **Cloud**. If **Cloud** is a single row, select it to open the list. If your environment isn't listed under **Cloud**, select the **More** row under that heading. Hover over the environment's row and select the settings icon that appears on its right to open its dialog.

The dialog includes the name, network access level, environment variables, and setup script. To store a key that sessions use without seeing it, see [Add network secrets](#add-network-secrets).
When you add an environment or edit one of your own, select the dialog's [**Network access**](#network-access), [**Setup script**](#add-a-setup-script), or [**Environment variables**](#set-environment-variables) row to open that setting. After your last change, save with **Add environment** for a new environment or **Save changes** for an existing one. To store a key that sessions use without seeing it, see [Add network secrets](#add-network-secrets).

### Set environment variables

Expand Down Expand Up @@ -100,7 +100,7 @@ Network secrets are available on Pro, Max, Team, and Enterprise plans. To check
These requirements decide whether you can add a secret and whether the agent proxy can use it once added:

* **Role**: on Pro, Max, and Team plans, you can add and delete secrets on your own environments whatever your role. On Team and Enterprise, Owners hold an organization admin role in your claude.ai organization and Admins don't, which changes what you see in these cases:
* **Your own environment on Enterprise**: with an organization admin role, you add and delete secrets. Without it, the **Network secrets** section lists the secrets under the note "Only an organization admin can add or delete network secrets", with no **Add secret** or delete button. Ask an Owner to add the secret to a [shared environment](#organization-shared-environments), then run your sessions there
* **Your own environment on Enterprise**: with an organization admin role, you add and delete secrets. Without it, the **Network secrets** row opens the secrets list with the note "Only an organization admin can add or delete network secrets" and no **Add secret** or delete button. Ask an Owner to add the secret to a [shared environment](#organization-shared-environments), then run your sessions there
* **A shared environment**: Owners [add and delete its secrets](#add-a-credential) from admin settings. Without an organization admin role, ask an Owner to add the secret, because the environment's dialog has no **Network secrets** section
* **Your own environment on Team**: without an organization admin role, **Add secret** opens a [shorter form](#add-a-secret-without-the-role) that takes one host
* **Environment type**: an Anthropic-hosted cloud environment that already exists. A [self-hosted environment](/docs/en/self-hosted-environments) doesn't have network secrets
Expand All @@ -111,11 +111,11 @@ These requirements decide whether you can add a secret and whether the agent pro

You add secrets one at a time, and you can't edit a secret after you add it. To change a secret's hosts or value, delete it and add it again.

To add a secret to a [shared environment](#organization-shared-environments), open it for editing from the **Cloud environments** page in [admin settings](https://claude.ai/admin-settings), then continue step 1 from the **Network secrets** section. If you're on a Team plan and don't hold an [organization admin role](#requirements), follow step 1 on your own environment, then [fill in the shorter form](#add-a-secret-without-the-role).
To add a secret to a [shared environment](#organization-shared-environments), open it for editing from the **Cloud environments** page in [admin settings](https://claude.ai/admin-settings), then continue from step 2 in its **Network secrets** section. If you're on a Team plan and don't hold an [organization admin role](#requirements), follow step 1 on your own environment, then [fill in the shorter form](#add-a-secret-without-the-role).

**1. Open the environment's network secrets**

[Open the environment for editing](#configure-your-environment) at [claude.ai/code](https://claude.ai/code). In the **Edit cloud environment** dialog, find the **Network secrets** section. You see the secrets already on the environment, each with the hosts it applies to.
[Open the environment for editing](#configure-your-environment) at [claude.ai/code](https://claude.ai/code). In the **Edit cloud environment** dialog, select the **Network secrets** row. You see the secrets already on the environment, each with the hosts it applies to.

**2. Add the secret**

Expand All @@ -135,7 +135,7 @@ To confirm the secret works, start a session in the environment and ask Claude t

#### Add a secret on a Team plan without an organization admin role

If you're on a Team plan and don't hold an [organization admin role](#requirements), the **Add secret** form takes one secret for one host. Select **Add secret** in your environment's [**Network secrets** section](#add-a-credential), fill in these fields, then select the form's **Add secret** button:
If you're on a Team plan and don't hold an [organization admin role](#requirements), the **Add secret** form takes one secret for one host. Select your environment's [**Network secrets** row](#add-a-credential) and then **Add secret**. Fill in these fields and select the form's **Add secret** button:

* **Host**: the one host that gets the secret, such as `api.example.com`. The form doesn't accept a `*.` wildcard
* **Name**: an optional label for the secret
Expand Down Expand Up @@ -430,7 +430,9 @@ A setup script is a Bash script that runs when a new cloud session starts, befor

Scripts run as root on Ubuntu 24.04, so `apt install` and most language package managers work.

To add a setup script, open the environment settings dialog and enter your script in the **Setup script** field.
### Add a setup script

To add a setup script to your own environment, you can type or paste it, or load a text file such as `setup.sh`. [Add or edit the environment](#configure-your-environment) and select the **Setup script** row. Enter the script in the box that opens, or select **Choose file** to replace the box's contents with the text of a file up to 64 KB. Then select **Add environment** or **Save changes**.

This example installs [ShellCheck](https://www.shellcheck.net/), which isn't pre-installed.

Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/claude-code/security-guidance.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ The plugin loads all locations that exist and concatenates them, with a combined

The [per-edit pattern check](#on-each-file-edit) makes no model call and adds no cost. The [end-of-turn](#at-the-end-of-each-turn) and [commit](#on-each-commit-or-push-claude-makes) reviews each spend additional model usage that counts toward your [usage](/docs/en/costs.md) like any other Claude request. The commit review is agentic and may take several model turns per commit. Expect roughly one review call per turn that changes files and one deeper review per commit, both subject to the caps above.

Both model-backed reviews use Claude Opus 4.7 by default. Set `SECURITY_REVIEW_MODEL` to choose a different model for the end-of-turn review and `SG_AGENTIC_MODEL` for the commit review.
By default, both reviews run on a Claude Opus model. Set `SECURITY_REVIEW_MODEL` to choose a different model for the end-of-turn review and `SG_AGENTIC_MODEL` for the commit review.

The plugin is available on all plans.

Expand Down
Loading
Loading