@anthropic-ai/claude-agent-sdk 0.3.304 → 0.3.305
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/bridge.mjs +60 -58
- package/browser-sdk.js +47 -47
- package/core-3z5ypevg.mjs +40 -0
- package/core-be3nes5v.mjs +27 -0
- package/core-cpeswmq9.mjs +52 -0
- package/core-thy7v25j.mjs +26 -0
- package/core.mjs +11 -18
- package/manifest.json +21 -21
- package/manifest.zst.json +25 -25
- package/package.json +14 -12
- package/sdk.d.ts +90 -2
- package/sdk.mjs +56 -56
- package/core-2hp8y6j3.mjs +0 -52
- package/core-kjmgdn1p.mjs +0 -35
package/manifest.json
CHANGED
|
@@ -1,53 +1,52 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.1.
|
|
2
|
+
"version": "2.1.305",
|
|
3
3
|
"manifestSignatureEnforcement": "flag",
|
|
4
|
-
"commit": "
|
|
5
|
-
"buildDate": "2026-10-
|
|
4
|
+
"commit": "6e723756d1226ddc2a4fefe5586e02bcc6a0501f",
|
|
5
|
+
"buildDate": "2026-10-20T18:24:45Z",
|
|
6
6
|
"platforms": {
|
|
7
7
|
"darwin-arm64": {
|
|
8
8
|
"binary": "claude",
|
|
9
|
-
"checksum": "
|
|
10
|
-
"size":
|
|
9
|
+
"checksum": "ea3ea3c08d2a9634a4651e687fcf900d410c489bce2b00f22bd7352b91ba704f",
|
|
10
|
+
"size": 272984176
|
|
11
11
|
},
|
|
12
12
|
"darwin-x64": {
|
|
13
13
|
"binary": "claude",
|
|
14
|
-
"checksum": "
|
|
15
|
-
"size":
|
|
14
|
+
"checksum": "af7ad8d6d8b1e49059988f6657d91bb8b9feac127bf8bec005c4c27d0093f153",
|
|
15
|
+
"size": 284167840
|
|
16
16
|
},
|
|
17
17
|
"linux-arm64": {
|
|
18
18
|
"binary": "claude",
|
|
19
|
-
"checksum": "
|
|
20
|
-
"size":
|
|
19
|
+
"checksum": "5265a60217e667b75e126e887b49ac0f168ad8bb13c605c3e3df528519876dc0",
|
|
20
|
+
"size": 290447544
|
|
21
21
|
},
|
|
22
22
|
"linux-x64": {
|
|
23
23
|
"binary": "claude",
|
|
24
|
-
"checksum": "
|
|
25
|
-
"size":
|
|
24
|
+
"checksum": "86cb722ab68348877dba7971e4d0c659919e05e6228c05e006e83da320e656ef",
|
|
25
|
+
"size": 290532720
|
|
26
26
|
},
|
|
27
27
|
"linux-arm64-musl": {
|
|
28
28
|
"binary": "claude",
|
|
29
|
-
"checksum": "
|
|
30
|
-
"size":
|
|
29
|
+
"checksum": "7fc83af6edf609219dd6412ae2c9a592a1903b912baf61779adc5b41159af333",
|
|
30
|
+
"size": 282608984
|
|
31
31
|
},
|
|
32
32
|
"linux-x64-musl": {
|
|
33
33
|
"binary": "claude",
|
|
34
|
-
"checksum": "
|
|
35
|
-
"size":
|
|
34
|
+
"checksum": "9c517d738c8bd608c0ea97f12ad20655a5f28470c99181d626cba370c1dbddba",
|
|
35
|
+
"size": 284192368
|
|
36
36
|
},
|
|
37
37
|
"win32-x64": {
|
|
38
38
|
"binary": "claude.exe",
|
|
39
|
-
"checksum": "
|
|
40
|
-
"size":
|
|
39
|
+
"checksum": "0ce7a3942cdd0c89b3e32173362b713aea9e8c24e1219976bad3984e8efadfd1",
|
|
40
|
+
"size": 295628448
|
|
41
41
|
},
|
|
42
42
|
"win32-arm64": {
|
|
43
43
|
"binary": "claude.exe",
|
|
44
|
-
"checksum": "
|
|
45
|
-
"size":
|
|
44
|
+
"checksum": "16f5e4ece22ab453298403d38f065b6eb83c465ed07ae8e6fa7a2025e0e4fbe2",
|
|
45
|
+
"size": 279823008
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
"sdkCompat": {
|
|
49
49
|
"testedWrapperVersions": [
|
|
50
|
-
"0.3.271",
|
|
51
50
|
"0.3.272",
|
|
52
51
|
"0.3.273",
|
|
53
52
|
"0.3.274",
|
|
@@ -76,7 +75,8 @@
|
|
|
76
75
|
"0.3.300",
|
|
77
76
|
"0.3.301",
|
|
78
77
|
"0.3.302",
|
|
79
|
-
"0.3.303"
|
|
78
|
+
"0.3.303",
|
|
79
|
+
"0.3.304"
|
|
80
80
|
],
|
|
81
81
|
"harnessSchema": 1
|
|
82
82
|
}
|
package/manifest.zst.json
CHANGED
|
@@ -1,61 +1,60 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.1.
|
|
2
|
+
"version": "2.1.305",
|
|
3
3
|
"manifestSignatureEnforcement": "flag",
|
|
4
|
-
"commit": "
|
|
5
|
-
"buildDate": "2026-10-
|
|
4
|
+
"commit": "6e723756d1226ddc2a4fefe5586e02bcc6a0501f",
|
|
5
|
+
"buildDate": "2026-10-20T18:26:25Z",
|
|
6
6
|
"platforms": {
|
|
7
7
|
"darwin-arm64": {
|
|
8
8
|
"binary": "claude.zst",
|
|
9
|
-
"checksum": "
|
|
10
|
-
"size":
|
|
9
|
+
"checksum": "1dddc458ce8aacc49677b37c97efbba37a1b8f12bb3cbaf26388a47fbda4a6a9",
|
|
10
|
+
"size": 92225972,
|
|
11
11
|
"bundle": {
|
|
12
|
-
"checksum": "
|
|
13
|
-
"size":
|
|
12
|
+
"checksum": "f5b6a20ff4823fc0485f3edb0ac4b5b2bd681eb8865318918b8ff403e5ab19c9",
|
|
13
|
+
"size": 92219351
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
"darwin-x64": {
|
|
17
17
|
"binary": "claude.zst",
|
|
18
|
-
"checksum": "
|
|
19
|
-
"size":
|
|
18
|
+
"checksum": "5ea2f243cbd5f7821a5502abb973ee236cea93d342137b5ce1828a10030eacdd",
|
|
19
|
+
"size": 97602705,
|
|
20
20
|
"bundle": {
|
|
21
|
-
"checksum": "
|
|
22
|
-
"size":
|
|
21
|
+
"checksum": "34ecf434b86ae2d5b2644abfae7a7a1682eaa00f711c618017a75e096b635819",
|
|
22
|
+
"size": 97597227
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"linux-arm64": {
|
|
26
26
|
"binary": "claude.zst",
|
|
27
|
-
"checksum": "
|
|
28
|
-
"size":
|
|
27
|
+
"checksum": "2823ad5678a72913e8b2f747e4a82fc6b157cb4896e13b8abafc07fbe278446b",
|
|
28
|
+
"size": 101510529
|
|
29
29
|
},
|
|
30
30
|
"linux-x64": {
|
|
31
31
|
"binary": "claude.zst",
|
|
32
|
-
"checksum": "
|
|
33
|
-
"size":
|
|
32
|
+
"checksum": "45cfa7d4f6244024a3b1f0a1e6806afa254013f8065e8ea9ba937d7d696a26a3",
|
|
33
|
+
"size": 102476450
|
|
34
34
|
},
|
|
35
35
|
"linux-arm64-musl": {
|
|
36
36
|
"binary": "claude.zst",
|
|
37
|
-
"checksum": "
|
|
38
|
-
"size":
|
|
37
|
+
"checksum": "bddf5553e8857e3322d8a64df1ea6c2d0f601e9b9b4cf5034f94fb4c1d7aa722",
|
|
38
|
+
"size": 99865148
|
|
39
39
|
},
|
|
40
40
|
"linux-x64-musl": {
|
|
41
41
|
"binary": "claude.zst",
|
|
42
|
-
"checksum": "
|
|
43
|
-
"size":
|
|
42
|
+
"checksum": "60e88b5ab52e05e8391a156c6c580dc26957fe372f9816f3d46e5378f3efd4e9",
|
|
43
|
+
"size": 100893284
|
|
44
44
|
},
|
|
45
45
|
"win32-x64": {
|
|
46
46
|
"binary": "claude.exe.zst",
|
|
47
|
-
"checksum": "
|
|
48
|
-
"size":
|
|
47
|
+
"checksum": "344d107ee9f9104263abed67c78adde0152da9031bb64128fa29cf96986ad134",
|
|
48
|
+
"size": 105764570
|
|
49
49
|
},
|
|
50
50
|
"win32-arm64": {
|
|
51
51
|
"binary": "claude.exe.zst",
|
|
52
|
-
"checksum": "
|
|
53
|
-
"size":
|
|
52
|
+
"checksum": "451ec407bf94b5470dbc98e20266d85c1fdcdb15a11fa74f1263528b0cbde719",
|
|
53
|
+
"size": 101001199
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
"sdkCompat": {
|
|
57
57
|
"testedWrapperVersions": [
|
|
58
|
-
"0.3.271",
|
|
59
58
|
"0.3.272",
|
|
60
59
|
"0.3.273",
|
|
61
60
|
"0.3.274",
|
|
@@ -84,7 +83,8 @@
|
|
|
84
83
|
"0.3.300",
|
|
85
84
|
"0.3.301",
|
|
86
85
|
"0.3.302",
|
|
87
|
-
"0.3.303"
|
|
86
|
+
"0.3.303",
|
|
87
|
+
"0.3.304"
|
|
88
88
|
],
|
|
89
89
|
"harnessSchema": 1
|
|
90
90
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anthropic-ai/claude-agent-sdk",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.305",
|
|
4
4
|
"main": "sdk.mjs",
|
|
5
5
|
"types": "sdk.d.ts",
|
|
6
6
|
"exports": {
|
|
@@ -61,14 +61,14 @@
|
|
|
61
61
|
"zod": "^4.0.0"
|
|
62
62
|
},
|
|
63
63
|
"optionalDependencies": {
|
|
64
|
-
"@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.
|
|
65
|
-
"@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.
|
|
66
|
-
"@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.
|
|
67
|
-
"@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.
|
|
68
|
-
"@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.
|
|
69
|
-
"@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.
|
|
70
|
-
"@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.
|
|
71
|
-
"@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.
|
|
64
|
+
"@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.305",
|
|
65
|
+
"@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.305",
|
|
66
|
+
"@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.305",
|
|
67
|
+
"@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.305",
|
|
68
|
+
"@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.305",
|
|
69
|
+
"@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.305",
|
|
70
|
+
"@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.305",
|
|
71
|
+
"@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.305"
|
|
72
72
|
},
|
|
73
73
|
"files": [
|
|
74
74
|
"sdk.mjs",
|
|
@@ -85,8 +85,10 @@
|
|
|
85
85
|
"extractFromBunfs.d.ts",
|
|
86
86
|
"manifest.json",
|
|
87
87
|
"manifest.zst.json",
|
|
88
|
-
"core-
|
|
89
|
-
"core-
|
|
88
|
+
"core-3z5ypevg.mjs",
|
|
89
|
+
"core-be3nes5v.mjs",
|
|
90
|
+
"core-cpeswmq9.mjs",
|
|
91
|
+
"core-thy7v25j.mjs"
|
|
90
92
|
],
|
|
91
|
-
"claudeCodeVersion": "2.1.
|
|
93
|
+
"claudeCodeVersion": "2.1.305"
|
|
92
94
|
}
|
package/sdk.d.ts
CHANGED
|
@@ -3613,6 +3613,7 @@ declare const SandboxSettingsSchema: () => z.ZodObject<{
|
|
|
3613
3613
|
}, z.core.$strip>>;
|
|
3614
3614
|
ignoreViolations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
|
|
3615
3615
|
enableWeakerNestedSandbox: z.ZodOptional<z.ZodBoolean>;
|
|
3616
|
+
allowNestedUserNamespaces: z.ZodOptional<z.ZodBoolean>;
|
|
3616
3617
|
enableWeakerNetworkIsolation: z.ZodOptional<z.ZodBoolean>;
|
|
3617
3618
|
allowAppleEvents: z.ZodOptional<z.ZodBoolean>;
|
|
3618
3619
|
excludedCommands: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -4486,6 +4487,40 @@ export declare type SDKControlGetUsageResponse = {
|
|
|
4486
4487
|
*/
|
|
4487
4488
|
count: number;
|
|
4488
4489
|
}[];
|
|
4490
|
+
/**
|
|
4491
|
+
* One recommended change per notable behavior or source, largest share first, worded for display.
|
|
4492
|
+
*/
|
|
4493
|
+
recommendations?: {
|
|
4494
|
+
/**
|
|
4495
|
+
* The behavior key, or 'agent', 'skill', 'plugin' or 'mcp_server' for a named source.
|
|
4496
|
+
*/
|
|
4497
|
+
key: string;
|
|
4498
|
+
/**
|
|
4499
|
+
* Share of the weighted local usage this touches, 0-100.
|
|
4500
|
+
*/
|
|
4501
|
+
pct: number;
|
|
4502
|
+
/**
|
|
4503
|
+
* What to do, verb first.
|
|
4504
|
+
*/
|
|
4505
|
+
title: string;
|
|
4506
|
+
/**
|
|
4507
|
+
* A few words: what the scan saw, or the command to run.
|
|
4508
|
+
*/
|
|
4509
|
+
detail?: string;
|
|
4510
|
+
}[];
|
|
4511
|
+
/**
|
|
4512
|
+
* What one "fix" action does. Absent when nothing can be fixed in the session that answered.
|
|
4513
|
+
*/
|
|
4514
|
+
fix?: {
|
|
4515
|
+
/**
|
|
4516
|
+
* The recommendations it covers.
|
|
4517
|
+
*/
|
|
4518
|
+
keys: string[];
|
|
4519
|
+
/**
|
|
4520
|
+
* User messages to send for the person, one each and in order, at priority 'later' so a running turn cannot reorder them: any /effort commands first, then one prompt for the rest, which goes with client_composed set.
|
|
4521
|
+
*/
|
|
4522
|
+
messages: string[];
|
|
4523
|
+
};
|
|
4489
4524
|
agents: {
|
|
4490
4525
|
name: string;
|
|
4491
4526
|
/**
|
|
@@ -4541,6 +4576,40 @@ export declare type SDKControlGetUsageResponse = {
|
|
|
4541
4576
|
*/
|
|
4542
4577
|
count: number;
|
|
4543
4578
|
}[];
|
|
4579
|
+
/**
|
|
4580
|
+
* One recommended change per notable behavior or source, largest share first, worded for display.
|
|
4581
|
+
*/
|
|
4582
|
+
recommendations?: {
|
|
4583
|
+
/**
|
|
4584
|
+
* The behavior key, or 'agent', 'skill', 'plugin' or 'mcp_server' for a named source.
|
|
4585
|
+
*/
|
|
4586
|
+
key: string;
|
|
4587
|
+
/**
|
|
4588
|
+
* Share of the weighted local usage this touches, 0-100.
|
|
4589
|
+
*/
|
|
4590
|
+
pct: number;
|
|
4591
|
+
/**
|
|
4592
|
+
* What to do, verb first.
|
|
4593
|
+
*/
|
|
4594
|
+
title: string;
|
|
4595
|
+
/**
|
|
4596
|
+
* A few words: what the scan saw, or the command to run.
|
|
4597
|
+
*/
|
|
4598
|
+
detail?: string;
|
|
4599
|
+
}[];
|
|
4600
|
+
/**
|
|
4601
|
+
* What one "fix" action does. Absent when nothing can be fixed in the session that answered.
|
|
4602
|
+
*/
|
|
4603
|
+
fix?: {
|
|
4604
|
+
/**
|
|
4605
|
+
* The recommendations it covers.
|
|
4606
|
+
*/
|
|
4607
|
+
keys: string[];
|
|
4608
|
+
/**
|
|
4609
|
+
* User messages to send for the person, one each and in order, at priority 'later' so a running turn cannot reorder them: any /effort commands first, then one prompt for the rest, which goes with client_composed set.
|
|
4610
|
+
*/
|
|
4611
|
+
messages: string[];
|
|
4612
|
+
};
|
|
4544
4613
|
agents: {
|
|
4545
4614
|
name: string;
|
|
4546
4615
|
/**
|
|
@@ -6502,6 +6571,7 @@ export declare type SDKUserMessage = {
|
|
|
6502
6571
|
|
|
6503
6572
|
|
|
6504
6573
|
|
|
6574
|
+
|
|
6505
6575
|
uuid?: UUID;
|
|
6506
6576
|
/**
|
|
6507
6577
|
* Content the user pasted into the prompt rather than typed: each entry a string or an array of content blocks. The CLI appends the text of each entry after the typed text, in order, and may wrap it in `<pasted_content>` tags. Blocks other than text are ignored; send images and documents in `message.content`. A list of over 1,000 entries and blocks in all is ignored.
|
|
@@ -6597,6 +6667,7 @@ export declare type SDKUserMessageReplay = {
|
|
|
6597
6667
|
|
|
6598
6668
|
|
|
6599
6669
|
|
|
6670
|
+
|
|
6600
6671
|
uuid: UUID;
|
|
6601
6672
|
session_id: string;
|
|
6602
6673
|
isReplay: true;
|
|
@@ -6996,6 +7067,19 @@ export declare interface Settings {
|
|
|
6996
7067
|
sessionUrl?: boolean;
|
|
6997
7068
|
[k: string]: unknown;
|
|
6998
7069
|
};
|
|
7070
|
+
/**
|
|
7071
|
+
* The claude.ai Project this session names for your organization's usage reports: the Project's UUID, or its ID starting with "claude_proj_". An empty string names none and stops lower-precedence files from naming one; the organization default still applies. Sent only when Claude Code uses your claude.ai login, connects directly to the Anthropic API, is not in a cloud session, and CLAUDE_CODE_ATTRIBUTION_HEADER is not 0. CLAUDE_CODE_ATTRIBUTION_PROJECT takes precedence over it. Set in managed settings, it overrides people's own settings files. A project's .claude/settings.json and settings.local.json count only once the folder is trusted; for runs in a folder nobody has trusted, such as CI, use CLAUDE_CODE_ATTRIBUTION_PROJECT.
|
|
7072
|
+
*/
|
|
7073
|
+
attributionProject?: string;
|
|
7074
|
+
/**
|
|
7075
|
+
* Your organization's default for attributionProject. Only honored from managed settings (server-managed, MDM / OS policy, or managed-settings.json); ignored in user, project, local and --settings sources.
|
|
7076
|
+
*/
|
|
7077
|
+
attributionProjectPolicy?: {
|
|
7078
|
+
/**
|
|
7079
|
+
* The Project used when neither CLAUDE_CODE_ATTRIBUTION_PROJECT nor attributionProject names one: its UUID, or its ID starting with "claude_proj_".
|
|
7080
|
+
*/
|
|
7081
|
+
default?: string;
|
|
7082
|
+
};
|
|
6999
7083
|
/**
|
|
7000
7084
|
* Deprecated: Use attribution instead. Whether to include Claude's co-authored by attribution in commits and PRs (defaults to true)
|
|
7001
7085
|
*/
|
|
@@ -7147,7 +7231,7 @@ export declare interface Settings {
|
|
|
7147
7231
|
};
|
|
7148
7232
|
};
|
|
7149
7233
|
/**
|
|
7150
|
-
* Enterprise allowlist of the MCP servers users may use. Governs servers users add (user, project and local config, --mcp-config, agent frontmatter, plugins, claude.ai connectors); servers the organization itself delivers (managedMcpServers, and managed-mcp.json entries
|
|
7234
|
+
* Enterprise allowlist of the MCP servers users may use. Governs servers users add (user, project and local config, --mcp-config, agent frontmatter, plugins, claude.ai connectors); servers the organization itself delivers (managedMcpServers, and managed-mcp.json entries with no ${VAR} in their command, args, url or header values) are allowed without being listed; a managed-mcp.json entry with ${VAR} in any of those must match this list. If undefined, all servers are allowed. If empty array, users can use no servers of their own. Denylist takes precedence - if a server is on both lists, it is denied.
|
|
7151
7235
|
*/
|
|
7152
7236
|
allowedMcpServers?: {
|
|
7153
7237
|
/**
|
|
@@ -7482,7 +7566,7 @@ export declare interface Settings {
|
|
|
7482
7566
|
*/
|
|
7483
7567
|
httpHookAllowedEnvVars?: string[];
|
|
7484
7568
|
/**
|
|
7485
|
-
* When true (and set in managed settings), permission rules from user, project, local, and --settings files and allow rules from --allowedTools are ignored; only managed settings can add allow rules through settings. The allowed-tools frontmatter of skills and custom commands from user, project, and --add-dir sources, and of plugins no managed setting vouches for, is ignored too. Plugins keep theirs only on an admin-backed channel: host-delivered --plugin-dir plugins, the official marketplace registered from its unpinned anthropics source, claude.ai-synced plugins Anthropic attests, the saved login organization's claude.ai-hosted marketplaces, marketplaces whose registered source managed extraKnownMarketplaces declares or an exact or owner-pinned (owner/*) strictKnownMarketplaces entry names at the path it pins (an npm marketplace source only when the registration and the declared entry pin the same registry, and a settings marketplace source only when every nested npm plugin entry pins one on a bare package name — unpinned, the package resolves through the member's own npm config, and a non-bare spelling packs as an exotic spec the pin does not bind, so nothing an entry names is what was fetched), and npm-direct (package\@npm) plugins whose recorded resolution a registry-pinned managed npm strictKnownMarketplaces entry names (host and path patterns and enabledPlugins ids do not vouch); managed and bundled skills keep theirs. --disallowedTools, skill disallowed-tools, and other deny and ask rules from the command line or the current session still apply.
|
|
7569
|
+
* When true (and set in managed settings), permission rules from user, project, local, and --settings files and allow rules from --allowedTools are ignored; only managed settings can add allow rules through settings. The allowed-tools frontmatter of skills and custom commands from user, project, and --add-dir sources, and of plugins no managed setting vouches for, is ignored too. Plugins keep theirs only on an admin-backed channel: host-delivered --plugin-dir plugins (in Claude Desktop, only while this is not set by the organization's own managed settings), the official marketplace registered from its unpinned anthropics source, claude.ai-synced plugins Anthropic attests, the saved login organization's claude.ai-hosted marketplaces, marketplaces whose registered source managed extraKnownMarketplaces declares or an exact or owner-pinned (owner/*) strictKnownMarketplaces entry names at the path it pins (an npm marketplace source only when the registration and the declared entry pin the same registry, and a settings marketplace source only when every nested npm plugin entry pins one on a bare package name — unpinned, the package resolves through the member's own npm config, and a non-bare spelling packs as an exotic spec the pin does not bind, so nothing an entry names is what was fetched), and npm-direct (package\@npm) plugins whose recorded resolution a registry-pinned managed npm strictKnownMarketplaces entry names (host and path patterns and enabledPlugins ids do not vouch); managed and bundled skills keep theirs. --disallowedTools, skill disallowed-tools, and other deny and ask rules from the command line or the current session still apply.
|
|
7486
7570
|
*/
|
|
7487
7571
|
allowManagedPermissionRulesOnly?: boolean;
|
|
7488
7572
|
/**
|
|
@@ -9060,6 +9144,10 @@ export declare interface Settings {
|
|
|
9060
9144
|
* Linux only: Run without the fresh /proc mount, for hosts such as unprivileged Docker containers that cannot create one. **Reduces security** — the host /proc stays readable by sandboxed commands. Default: false. When managed settings or a --settings file set allowUnsandboxedCommands: false, or managed settings set network.allowManagedDomainsOnly: true, true from project settings (.claude/settings.json and .claude/settings.local.json) is ignored (false there still applies).
|
|
9061
9145
|
*/
|
|
9062
9146
|
enableWeakerNestedSandbox?: boolean;
|
|
9147
|
+
/**
|
|
9148
|
+
* Linux/WSL only: Let sandboxed commands create user namespaces of their own, which the sandbox refuses by default. Needed by tools that sandbox themselves that way, such as Chromium's and Electron's sandbox, rootless podman or buildah, a nested bubblewrap, and `unshare`. **Removes code-execution isolation** — in any folder a hostile command may write, it can then bypass filesystem.denyWrite, filesystem.denyRead, credentials.files entries and the paths the sandbox always write-protects (such as .claude/settings.json, git hooks and git config), and so plant code that later runs outside the sandbox; while autoAllowBashIfSandboxed is on, the command that plants it needs no approval. Default: false. Only honored from user, managed/policy, or CLI (--settings) settings — true from project settings (.claude/settings.json and .claude/settings.local.json) is ignored (false there still applies).
|
|
9149
|
+
*/
|
|
9150
|
+
allowNestedUserNamespaces?: boolean;
|
|
9063
9151
|
/**
|
|
9064
9152
|
* macOS only: Allow access to com.apple.trustd.agent in the sandbox. Needed for Go-based CLI tools (gh, gcloud, terraform, etc.) to verify TLS certificates when using httpProxyPort with a MITM proxy and custom CA. **Reduces security** — opens a potential data exfiltration vector through the trustd service. Default: false. When managed settings or a --settings file set allowUnsandboxedCommands: false, or managed settings set network.allowManagedDomainsOnly: true, true from project settings (.claude/settings.json and .claude/settings.local.json) is ignored (false there still applies).
|
|
9065
9153
|
*/
|