Follow Discord
Sweep 09 Oct 2026 · 17:27Z Build v2.1.296 517 read Stable v2.1.287 Latest v2.1.296 Next v2.1.296 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

migration changedmanaged-agents/migration

Nearest release: v2.1.286, published 2 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Recorded here
Lines+21added
Lines−8removed
From line 717 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits16to this page, all time

The whole hunk

from line 717, old and new numbered
/
lines
from line 717
717717 )
718718 environment = client.beta.environments.create(
719719 name="weather-env",
720 config={"type": "cloud", "networking": {"type": "unrestricted"}},
720 config={
721 "type": "cloud",
722 "networking": {"type": "limited", "allow_package_managers": True},
723 },
721724 )
722725 
723726 session = client.beta.sessions.create(
from line 792
789792 });
790793 const environment = await client.beta.environments.create({
791794 name: "weather-env",
792 config: { type: "cloud", networking: { type: "unrestricted" } }
795 config: {
796 type: "cloud",
797 networking: { type: "limited", allow_package_managers: true }
798 }
793799 });
794800 
795801 const session = await client.beta.sessions.create({
from line 887
881887 Name = "weather-env",
882888 Config = new BetaCloudConfigParams
883889 {
884 Networking = new BetaUnrestrictedNetwork(),
890 Networking = new BetaLimitedNetworkParams { AllowPackageManagers = true },
885891 },
886892 });
887893 
from line 989
983989 Config: anthropic.BetaEnvironmentNewParamsConfigUnion{
984990 OfCloud: &anthropic.BetaCloudConfigParams{
985991 Networking: anthropic.BetaCloudConfigParamsNetworkingUnion{
986 OfUnrestricted: &anthropic.BetaUnrestrictedNetworkParam{},
992 OfLimited: &anthropic.BetaLimitedNetworkParams{
993 AllowPackageManagers: anthropic.Bool(true),
994 },
987995 },
988996 },
989997 },
from line 1088
10801088 import com.anthropic.models.beta.agents.BetaManagedAgentsCustomToolParams;
10811089 import com.anthropic.models.beta.agents.BetaManagedAgentsModel;
10821090 import com.anthropic.models.beta.environments.BetaCloudConfigParams;
1083 import com.anthropic.models.beta.environments.BetaUnrestrictedNetwork;
1091 import com.anthropic.models.beta.environments.BetaLimitedNetworkParams;
10841092 import com.anthropic.models.beta.environments.EnvironmentCreateParams;
10851093 import com.anthropic.models.beta.sessions.BetaManagedAgentsAgentParams;
10861094 import com.anthropic.models.beta.sessions.SessionCreateParams;
from line 1118
11101118 var environment = client.beta().environments().create(EnvironmentCreateParams.builder()
11111119 .name("weather-env")
11121120 .config(BetaCloudConfigParams.builder()
1113 .networking(BetaUnrestrictedNetwork.builder().build())
1121 .networking(BetaLimitedNetworkParams.builder()
1122 .allowPackageManagers(true)
1123 .build())
11141124 .build())
11151125 .build());
11161126 
from line 1208
11981208 );
11991209 $environment = $client->beta->environments->create(
12001210 name: 'weather-env',
1201 config: ['type' => 'cloud', 'networking' => ['type' => 'unrestricted']],
1211 config: [
1212 'type' => 'cloud',
1213 'networking' => ['type' => 'limited', 'allow_package_managers' => true],
1214 ],
12021215 );
12031216 
12041217 $session = $client->beta->sessions->create(
from line 1296
12831296 )
12841297 environment = client.beta.environments.create(
12851298 name: "weather-env",
1286 config: {type: "cloud", networking: {type: "unrestricted"}}
1299 config: {type: "cloud", networking: {type: "limited", allow_package_managers: true}}
12871300 )
12881301 
12891302 session = client.beta.sessions.create(
Feedback