@anthropic-ai/claude-agent-sdk 0.3.258 → 0.3.259
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/bridge.mjs +85 -85
- package/browser-sdk.js +45 -45
- package/manifest.json +19 -20
- package/manifest.zst.json +23 -24
- package/package.json +10 -10
- package/sdk-tools.d.ts +8 -6
- package/sdk.d.ts +36 -2
- package/sdk.mjs +80 -80
package/manifest.json
CHANGED
|
@@ -1,53 +1,52 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.1.
|
|
2
|
+
"version": "2.1.259",
|
|
3
3
|
"manifestSignatureEnforcement": "flag",
|
|
4
|
-
"commit": "
|
|
5
|
-
"buildDate": "2026-09-
|
|
4
|
+
"commit": "9b549c8d1c72e407ea9d3af3b9d5e50da794ec4d",
|
|
5
|
+
"buildDate": "2026-09-02T20:40:41Z",
|
|
6
6
|
"platforms": {
|
|
7
7
|
"darwin-arm64": {
|
|
8
8
|
"binary": "claude",
|
|
9
|
-
"checksum": "
|
|
10
|
-
"size":
|
|
9
|
+
"checksum": "884baa38fe1a624be25c4a91568bf5a08b5cf4e7d7acf29b7760e3525d964898",
|
|
10
|
+
"size": 200225968
|
|
11
11
|
},
|
|
12
12
|
"darwin-x64": {
|
|
13
13
|
"binary": "claude",
|
|
14
|
-
"checksum": "
|
|
15
|
-
"size":
|
|
14
|
+
"checksum": "af8741cff0d3fb5c4b893c7cb3613bd21b28fa61cca45469d60b8e5e161eb9d8",
|
|
15
|
+
"size": 209000528
|
|
16
16
|
},
|
|
17
17
|
"linux-arm64": {
|
|
18
18
|
"binary": "claude",
|
|
19
|
-
"checksum": "
|
|
20
|
-
"size":
|
|
19
|
+
"checksum": "c6ff03c389ccdeae0f19e9dc32488eeba61fbef4796f531dbfba6c00f45040d0",
|
|
20
|
+
"size": 216194384
|
|
21
21
|
},
|
|
22
22
|
"linux-x64": {
|
|
23
23
|
"binary": "claude",
|
|
24
|
-
"checksum": "
|
|
25
|
-
"size":
|
|
24
|
+
"checksum": "f7dd62ae415378018cd21dd950eb3bac174ab085830304d3b8b098146bfd47b6",
|
|
25
|
+
"size": 216677784
|
|
26
26
|
},
|
|
27
27
|
"linux-arm64-musl": {
|
|
28
28
|
"binary": "claude",
|
|
29
|
-
"checksum": "
|
|
30
|
-
"size":
|
|
29
|
+
"checksum": "2203a17d0dddf7c5afece2d948d60d20fdef4f227ffc0c1c1ed17ce6221fa65b",
|
|
30
|
+
"size": 209073816
|
|
31
31
|
},
|
|
32
32
|
"linux-x64-musl": {
|
|
33
33
|
"binary": "claude",
|
|
34
|
-
"checksum": "
|
|
35
|
-
"size":
|
|
34
|
+
"checksum": "1a595699211501087e8fb31952254d03a13ebb62a3e45f95990f15138eec6d70",
|
|
35
|
+
"size": 210702280
|
|
36
36
|
},
|
|
37
37
|
"win32-x64": {
|
|
38
38
|
"binary": "claude.exe",
|
|
39
|
-
"checksum": "
|
|
40
|
-
"size":
|
|
39
|
+
"checksum": "85429000ec9b80082613e9ecd2e0d3b2276c9d5b22a681936575d2c4c2f342ed",
|
|
40
|
+
"size": 219715232
|
|
41
41
|
},
|
|
42
42
|
"win32-arm64": {
|
|
43
43
|
"binary": "claude.exe",
|
|
44
|
-
"checksum": "
|
|
45
|
-
"size":
|
|
44
|
+
"checksum": "5d964b5bc68c1a4cd618a6f992ae56266cb34e68ae2c4aed9aa0ed68247dd218",
|
|
45
|
+
"size": 210756256
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
"sdkCompat": {
|
|
49
49
|
"testedWrapperVersions": [
|
|
50
|
-
"0.3.217",
|
|
51
50
|
"0.3.218",
|
|
52
51
|
"0.3.219",
|
|
53
52
|
"0.3.220",
|
package/manifest.zst.json
CHANGED
|
@@ -1,61 +1,60 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.1.
|
|
2
|
+
"version": "2.1.259",
|
|
3
3
|
"manifestSignatureEnforcement": "flag",
|
|
4
|
-
"commit": "
|
|
5
|
-
"buildDate": "2026-09-
|
|
4
|
+
"commit": "9b549c8d1c72e407ea9d3af3b9d5e50da794ec4d",
|
|
5
|
+
"buildDate": "2026-09-02T20:41:43Z",
|
|
6
6
|
"platforms": {
|
|
7
7
|
"darwin-arm64": {
|
|
8
8
|
"binary": "claude.zst",
|
|
9
|
-
"checksum": "
|
|
10
|
-
"size":
|
|
9
|
+
"checksum": "e2afc0237a4ee7213730b3cf579a51f1c1a2b627b0f2d615ac3478433c4f9b9d",
|
|
10
|
+
"size": 66314944,
|
|
11
11
|
"bundle": {
|
|
12
|
-
"checksum": "
|
|
13
|
-
"size":
|
|
12
|
+
"checksum": "9a73fbc4c23cc04ba3ac0280cd6b7bf3941cd039099fad713be75b0010c7fc8b",
|
|
13
|
+
"size": 66313806
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
"darwin-x64": {
|
|
17
17
|
"binary": "claude.zst",
|
|
18
|
-
"checksum": "
|
|
19
|
-
"size":
|
|
18
|
+
"checksum": "bec7b01d0fccc8902b850cd9cf655024d0a484306e4da2104fb1bee6fb5334da",
|
|
19
|
+
"size": 70374909,
|
|
20
20
|
"bundle": {
|
|
21
|
-
"checksum": "
|
|
22
|
-
"size":
|
|
21
|
+
"checksum": "ad45869201a4e81c882d7251c676a74a539d7378beeaaf13be044f4fa7d5397c",
|
|
22
|
+
"size": 70378257
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"linux-arm64": {
|
|
26
26
|
"binary": "claude.zst",
|
|
27
|
-
"checksum": "
|
|
28
|
-
"size":
|
|
27
|
+
"checksum": "75b8227d2735398754aacc875866fee533e673d54199a16a7e5424f09feb21ad",
|
|
28
|
+
"size": 75526532
|
|
29
29
|
},
|
|
30
30
|
"linux-x64": {
|
|
31
31
|
"binary": "claude.zst",
|
|
32
|
-
"checksum": "
|
|
33
|
-
"size":
|
|
32
|
+
"checksum": "3623df24e9be0ae1a92eb1103d11cdf44d04f6b589200952ce8e6853de8aa845",
|
|
33
|
+
"size": 76150824
|
|
34
34
|
},
|
|
35
35
|
"linux-arm64-musl": {
|
|
36
36
|
"binary": "claude.zst",
|
|
37
|
-
"checksum": "
|
|
38
|
-
"size":
|
|
37
|
+
"checksum": "fcd70a9db4aaea51ff721fd0638faf9dc0b45f6e4d4489280801c4870b4bc642",
|
|
38
|
+
"size": 73995724
|
|
39
39
|
},
|
|
40
40
|
"linux-x64-musl": {
|
|
41
41
|
"binary": "claude.zst",
|
|
42
|
-
"checksum": "
|
|
43
|
-
"size":
|
|
42
|
+
"checksum": "7afb1ee29124e2884226215c85cfcde486da6fd31dc999810dffe8e9d8cda37d",
|
|
43
|
+
"size": 74670388
|
|
44
44
|
},
|
|
45
45
|
"win32-x64": {
|
|
46
46
|
"binary": "claude.exe.zst",
|
|
47
|
-
"checksum": "
|
|
48
|
-
"size":
|
|
47
|
+
"checksum": "ae95350b7235bd1fc1fba12ca6b296205b505c4990af607ac18424746ad4ce37",
|
|
48
|
+
"size": 78555005
|
|
49
49
|
},
|
|
50
50
|
"win32-arm64": {
|
|
51
51
|
"binary": "claude.exe.zst",
|
|
52
|
-
"checksum": "
|
|
53
|
-
"size":
|
|
52
|
+
"checksum": "479df3648b599f4918d3305f909487103a4819cad574d14ef30441a8e48aec4f",
|
|
53
|
+
"size": 75294093
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
"sdkCompat": {
|
|
57
57
|
"testedWrapperVersions": [
|
|
58
|
-
"0.3.217",
|
|
59
58
|
"0.3.218",
|
|
60
59
|
"0.3.219",
|
|
61
60
|
"0.3.220",
|
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.259",
|
|
4
4
|
"main": "sdk.mjs",
|
|
5
5
|
"types": "sdk.d.ts",
|
|
6
6
|
"exports": {
|
|
@@ -57,14 +57,14 @@
|
|
|
57
57
|
"zod": "^4.0.0"
|
|
58
58
|
},
|
|
59
59
|
"optionalDependencies": {
|
|
60
|
-
"@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.
|
|
61
|
-
"@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.
|
|
62
|
-
"@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.
|
|
63
|
-
"@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.
|
|
64
|
-
"@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.
|
|
65
|
-
"@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.
|
|
66
|
-
"@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.
|
|
67
|
-
"@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.
|
|
60
|
+
"@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.259",
|
|
61
|
+
"@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.259",
|
|
62
|
+
"@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.259",
|
|
63
|
+
"@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.259",
|
|
64
|
+
"@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.259",
|
|
65
|
+
"@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.259",
|
|
66
|
+
"@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.259",
|
|
67
|
+
"@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.259"
|
|
68
68
|
},
|
|
69
69
|
"files": [
|
|
70
70
|
"sdk.mjs",
|
|
@@ -80,5 +80,5 @@
|
|
|
80
80
|
"manifest.json",
|
|
81
81
|
"manifest.zst.json"
|
|
82
82
|
],
|
|
83
|
-
"claudeCodeVersion": "2.1.
|
|
83
|
+
"claudeCodeVersion": "2.1.259"
|
|
84
84
|
}
|
package/sdk-tools.d.ts
CHANGED
|
@@ -443,6 +443,8 @@ export type ArtifactOutput =
|
|
|
443
443
|
read?: string;
|
|
444
444
|
};
|
|
445
445
|
warnings?: string[];
|
|
446
|
+
publishesRemaining?: number;
|
|
447
|
+
publishesResetAt?: number;
|
|
446
448
|
contract?: string;
|
|
447
449
|
updated?: boolean;
|
|
448
450
|
audience?: string;
|
|
@@ -2904,7 +2906,7 @@ export interface ProposeSkillsInput {
|
|
|
2904
2906
|
*/
|
|
2905
2907
|
target?: string;
|
|
2906
2908
|
/**
|
|
2907
|
-
* One
|
|
2909
|
+
* One short sentence saying when to use this skill: aim for under 200 characters, never more than 1024. Shown on the review card and saved as the skill's description, which is what decides when the skill is used. For an improvement, reuse the existing skill's description unless the change alters when the skill applies.
|
|
2908
2910
|
*/
|
|
2909
2911
|
description: string;
|
|
2910
2912
|
/**
|
|
@@ -2929,7 +2931,7 @@ export interface ProposeSkillsInput {
|
|
|
2929
2931
|
*/
|
|
2930
2932
|
target?: string;
|
|
2931
2933
|
/**
|
|
2932
|
-
* One
|
|
2934
|
+
* One short sentence saying when to use this skill: aim for under 200 characters, never more than 1024. Shown on the review card and saved as the skill's description, which is what decides when the skill is used. For an improvement, reuse the existing skill's description unless the change alters when the skill applies.
|
|
2933
2935
|
*/
|
|
2934
2936
|
description: string;
|
|
2935
2937
|
/**
|
|
@@ -2952,7 +2954,7 @@ export interface ProposeSkillsInput {
|
|
|
2952
2954
|
*/
|
|
2953
2955
|
target?: string;
|
|
2954
2956
|
/**
|
|
2955
|
-
* One
|
|
2957
|
+
* One short sentence saying when to use this skill: aim for under 200 characters, never more than 1024. Shown on the review card and saved as the skill's description, which is what decides when the skill is used. For an improvement, reuse the existing skill's description unless the change alters when the skill applies.
|
|
2956
2958
|
*/
|
|
2957
2959
|
description: string;
|
|
2958
2960
|
/**
|
|
@@ -2977,7 +2979,7 @@ export interface ProposeSkillsInput {
|
|
|
2977
2979
|
*/
|
|
2978
2980
|
target?: string;
|
|
2979
2981
|
/**
|
|
2980
|
-
* One
|
|
2982
|
+
* One short sentence saying when to use this skill: aim for under 200 characters, never more than 1024. Shown on the review card and saved as the skill's description, which is what decides when the skill is used. For an improvement, reuse the existing skill's description unless the change alters when the skill applies.
|
|
2981
2983
|
*/
|
|
2982
2984
|
description: string;
|
|
2983
2985
|
/**
|
|
@@ -3000,7 +3002,7 @@ export interface ProposeSkillsInput {
|
|
|
3000
3002
|
*/
|
|
3001
3003
|
target?: string;
|
|
3002
3004
|
/**
|
|
3003
|
-
* One
|
|
3005
|
+
* One short sentence saying when to use this skill: aim for under 200 characters, never more than 1024. Shown on the review card and saved as the skill's description, which is what decides when the skill is used. For an improvement, reuse the existing skill's description unless the change alters when the skill applies.
|
|
3004
3006
|
*/
|
|
3005
3007
|
description: string;
|
|
3006
3008
|
/**
|
|
@@ -3023,7 +3025,7 @@ export interface ProposeSkillsInput {
|
|
|
3023
3025
|
*/
|
|
3024
3026
|
target?: string;
|
|
3025
3027
|
/**
|
|
3026
|
-
* One
|
|
3028
|
+
* One short sentence saying when to use this skill: aim for under 200 characters, never more than 1024. Shown on the review card and saved as the skill's description, which is what decides when the skill is used. For an improvement, reuse the existing skill's description unless the change alters when the skill applies.
|
|
3027
3029
|
*/
|
|
3028
3030
|
description: string;
|
|
3029
3031
|
/**
|
package/sdk.d.ts
CHANGED
|
@@ -1848,6 +1848,15 @@ export declare type Options = {
|
|
|
1848
1848
|
* will be routed through this MCP tool instead of the default handler.
|
|
1849
1849
|
*/
|
|
1850
1850
|
permissionPromptToolName?: string;
|
|
1851
|
+
/**
|
|
1852
|
+
* Who answers permission prompts. `'host'` (default): this process, through
|
|
1853
|
+
* `canUseTool` or `permissionPromptToolName`. `'none'`: nobody — the
|
|
1854
|
+
* permission mode (including auto mode's classifier), rules and hooks still
|
|
1855
|
+
* decide, and anything that would otherwise prompt is denied immediately
|
|
1856
|
+
* with a message telling Claude the session has no approval surface;
|
|
1857
|
+
* `canUseTool` is never called.
|
|
1858
|
+
*/
|
|
1859
|
+
permissionPrompts?: 'host' | 'none';
|
|
1851
1860
|
/**
|
|
1852
1861
|
* Load plugins for this session. Plugins provide custom commands, agents,
|
|
1853
1862
|
* skills, and hooks that extend Claude Code's capabilities.
|
|
@@ -3283,6 +3292,10 @@ export declare type SDKAssistantMessage = {
|
|
|
3283
3292
|
* Client uuid of the user message that triggered this turn (submitMessage options.uuid), stamped on the turn's FIRST reply frame only — the first assistant message in complete-message mode; with --include-partial-messages the stamp normally rides the first non-ping stream event instead (see SDKPartialAssistantMessage), and a turn that produces no stream events still stamps its first assistant message — so a consumer can bind the reply to the send it answers without waiting for the result. Wrapper-level sibling — never inside `message.content` — so it is not replayed to the model. Absent on every later frame of the turn, on subagent frames (parent_tool_use_id set), on synthetic/scheduled (meta) turns, on turns without a client uuid, and from older producers.
|
|
3284
3293
|
*/
|
|
3285
3294
|
user_message_uuid?: string;
|
|
3295
|
+
/**
|
|
3296
|
+
* Client uuids of every user message whose prompt this turn has consumed so far, in consumption order — all members of a prompt batch the host merged into this one turn (several messages sent close together run as one turn whose user_message_uuid is the LAST member's), so a consumer that sent any of them can bind this reply to its own send by finding its uuid anywhere in the list. Always contains user_message_uuid; at most 64 entries. Present exactly when user_message_uuid is, on the same first reply frame only; absent from older producers (fall back to user_message_uuid).
|
|
3297
|
+
*/
|
|
3298
|
+
user_message_uuids?: string[];
|
|
3286
3299
|
/**
|
|
3287
3300
|
* This turn continued the preceding truncated assistant turn inside its trailing signed thinking block (max-output-tokens recovery). Its thinking signatures are cumulative over that preceding thinking-only turn, so a history replayed through the bridge must carry this flag back for the normalizer to keep the run's prefix on the wire. Wrapper-level sibling — never inside `message.content` — so it is not replayed to the model.
|
|
3288
3301
|
*/
|
|
@@ -4759,6 +4772,10 @@ export declare type SDKPartialAssistantMessage = {
|
|
|
4759
4772
|
* Client uuid of the user message that triggered this turn (submitMessage options.uuid), stamped on the turn's FIRST non-ping stream event only (the frame that triggers the turn's initial ack) so a consumer can bind the reply stream to the send it answers without waiting for the result. Absent on every later stream event of the turn, on synthetic/scheduled (meta) turns, on turns without a client uuid, and from older producers.
|
|
4760
4773
|
*/
|
|
4761
4774
|
user_message_uuid?: string;
|
|
4775
|
+
/**
|
|
4776
|
+
* Client uuids of every user message whose prompt this turn has consumed so far, in consumption order — all members of a prompt batch the host merged into this one turn (several messages sent close together run as one turn whose user_message_uuid is the LAST member's), so a consumer that sent any of them can bind this reply to its own send by finding its uuid anywhere in the list. Always contains user_message_uuid; at most 64 entries. Present exactly when user_message_uuid is, on the same first non-ping stream event only; absent from older producers (fall back to user_message_uuid).
|
|
4777
|
+
*/
|
|
4778
|
+
user_message_uuids?: string[];
|
|
4762
4779
|
};
|
|
4763
4780
|
|
|
4764
4781
|
export declare type SDKPermissionDenial = {
|
|
@@ -4903,6 +4920,10 @@ export declare type SDKResultError = {
|
|
|
4903
4920
|
* Client uuid of the user message that triggered this turn (submitMessage options.uuid), echoed back so a consumer can link this error result to the send it answers — the same join key the success variant echoes, carried alone (error turns have no request_sent_wall_ms to report). A delivery-failure result from the remote-session client echoes the failed send's queue key, which is client-minted when the host sent no uuid of its own. Absent on synthetic/scheduled (meta) turns, on turns without a client uuid, on session-scoped failures with no single triggering send (a crashed worker's zeroed result), and from older producers.
|
|
4904
4921
|
*/
|
|
4905
4922
|
user_message_uuid?: string;
|
|
4923
|
+
/**
|
|
4924
|
+
* Client uuids of every user message whose prompt this turn consumed, in consumption order — all members of a prompt batch the host merged into this one turn (several messages sent close together run as one turn whose user_message_uuid is the LAST member's), then any queued user message folded into the running turn between tool rounds, once taken off the queue — so a consumer that sent any of them can bind this result to its own send by finding its uuid anywhere in the list. Always contains user_message_uuid; at most 64 entries; can be longer than the list on the turn's first reply frame. Present when a headless turn that ran echoes user_message_uuid; absent on delivery-failure and zeroed results and from older producers (fall back to user_message_uuid).
|
|
4925
|
+
*/
|
|
4926
|
+
user_message_uuids?: string[];
|
|
4906
4927
|
terminal_reason?: TerminalReason;
|
|
4907
4928
|
fast_mode_state?: FastModeState;
|
|
4908
4929
|
fast_mode_disabled_reason?: FastModeDisabledReason;
|
|
@@ -4925,6 +4946,7 @@ export declare type SDKResultSuccess = {
|
|
|
4925
4946
|
ttft_stream_ms?: number;
|
|
4926
4947
|
time_to_request_ms?: number;
|
|
4927
4948
|
user_message_uuid?: string;
|
|
4949
|
+
user_message_uuids?: string[];
|
|
4928
4950
|
request_sent_wall_ms?: number;
|
|
4929
4951
|
time_to_request_from_spawn_ms?: number;
|
|
4930
4952
|
warm_spare_claimed?: boolean;
|
|
@@ -5158,6 +5180,9 @@ export declare type SDKTaskProgressMessage = {
|
|
|
5158
5180
|
duration_ms: number;
|
|
5159
5181
|
};
|
|
5160
5182
|
last_tool_name?: string;
|
|
5183
|
+
/**
|
|
5184
|
+
* A one-line status for the task's row. For a local_agent task it is the model-generated progress summary (only when the agentProgressSummaries option is on); for a backgrounded mcp_task it is the MCP server's own bounded status message, emitted once per change without any option. Render it when present regardless of task type.
|
|
5185
|
+
*/
|
|
5161
5186
|
summary?: string;
|
|
5162
5187
|
|
|
5163
5188
|
uuid: UUID;
|
|
@@ -5888,7 +5913,15 @@ export declare interface Settings {
|
|
|
5888
5913
|
*/
|
|
5889
5914
|
disableBundledSkills?: boolean;
|
|
5890
5915
|
/**
|
|
5891
|
-
*
|
|
5916
|
+
* MCP servers the organization provides to every user, keyed by server name, each with the .mcp.json entry shape; only "http" and "sse" servers are accepted (nothing that names a program to run, no ${VAR} references). Honored from managed settings only; users cannot remove them, deniedMcpServers still applies, and they need no allowedMcpServers entry. Not read in Claude Desktop's Code tab on a third-party deployment or in Cowork sessions, where Claude Desktop supplies and locks the session's MCP servers itself.
|
|
5917
|
+
*/
|
|
5918
|
+
managedMcpServers?: {
|
|
5919
|
+
[k: string]: {
|
|
5920
|
+
[k: string]: unknown;
|
|
5921
|
+
};
|
|
5922
|
+
};
|
|
5923
|
+
/**
|
|
5924
|
+
* 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 that use no ${VAR} expansion) are allowed without being listed; a managed-mcp.json entry that uses ${VAR} expansion is still checked against 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.
|
|
5892
5925
|
*/
|
|
5893
5926
|
allowedMcpServers?: {
|
|
5894
5927
|
/**
|
|
@@ -7481,7 +7514,7 @@ export declare interface Settings {
|
|
|
7481
7514
|
*/
|
|
7482
7515
|
parentSettingsBehavior?: 'first-wins' | 'merge';
|
|
7483
7516
|
/**
|
|
7484
|
-
* Controls how the managed settings sources compose. "first-wins" (default): the highest-priority source present (server-managed > MDM (managed plist / HKLM) > managed-settings.json) is the managed tier alone. "merge": every present source deep-merges with fixed precedence server-managed > MDM > managed-settings.json — scalars take the highest source's value and arrays union, except fallbackModel, the restriction allowlists allowedMcpServers, availableModels, strictKnownMarketplaces and allowedChannelPlugins, and sandbox.credentials.awsPairs and sandbox.ripgrep (the highest source that sets one owns it whole) and the auth pins forceLoginOrgUUID, forceLoginMethod and forceLoginGatewayUrl (highest source only). Honored only from the highest-priority source present; enable it only when every lower source is admin-controlled, since lower sources then contribute entries such as permissions.allow. HKCU and --managed-settings never take part in the merge.
|
|
7517
|
+
* Controls how the managed settings sources compose. "first-wins" (default): the highest-priority source present (server-managed > MDM (managed plist / HKLM) > managed-settings.json) is the managed tier alone. "merge": every present source deep-merges with fixed precedence server-managed > MDM > managed-settings.json — scalars take the highest source's value and arrays union, except fallbackModel, the restriction allowlists allowedMcpServers, availableModels, strictKnownMarketplaces and allowedChannelPlugins, and sandbox.credentials.awsPairs and sandbox.ripgrep (the highest source that sets one owns it whole), managedMcpServers (server names union; a name set by two sources takes the higher source's whole entry) and the auth pins forceLoginOrgUUID, forceLoginMethod and forceLoginGatewayUrl (highest source only). Honored only from the highest-priority source present; enable it only when every lower source is admin-controlled, since lower sources then contribute entries such as permissions.allow. HKCU and --managed-settings never take part in the merge.
|
|
7485
7518
|
*/
|
|
7486
7519
|
managedSourcesBehavior?: 'first-wins' | 'merge';
|
|
7487
7520
|
/**
|
|
@@ -7993,6 +8026,7 @@ export declare interface Settings {
|
|
|
7993
8026
|
* Disable auto mode
|
|
7994
8027
|
*/
|
|
7995
8028
|
disableAutoMode?: 'disable';
|
|
8029
|
+
|
|
7996
8030
|
/**
|
|
7997
8031
|
* SSH connection configurations for remote environments. Typically set in managed settings by enterprise administrators to pre-configure SSH connections for team members.
|
|
7998
8032
|
*/
|