@anthropic-ai/claude-agent-sdk 0.3.236 → 0.3.238
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.d.ts +25 -1
- package/bridge.mjs +88 -88
- package/browser-sdk.js +62 -62
- package/manifest.json +20 -22
- package/manifest.zst.json +24 -26
- package/package.json +10 -10
- package/sdk.d.ts +105 -0
- package/sdk.mjs +72 -72
package/manifest.json
CHANGED
|
@@ -1,54 +1,51 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.1.
|
|
3
|
-
"commit": "
|
|
4
|
-
"buildDate": "2026-08-
|
|
2
|
+
"version": "2.1.238",
|
|
3
|
+
"commit": "46283063a4c23f7afadb8440f549264ad93b7c06",
|
|
4
|
+
"buildDate": "2026-08-20T15:26:31Z",
|
|
5
5
|
"platforms": {
|
|
6
6
|
"darwin-arm64": {
|
|
7
7
|
"binary": "claude",
|
|
8
|
-
"checksum": "
|
|
9
|
-
"size":
|
|
8
|
+
"checksum": "1c196c456373b57818ae87df84aecee96cb659448c0d6a6bbb401ac5758431b2",
|
|
9
|
+
"size": 321263536
|
|
10
10
|
},
|
|
11
11
|
"darwin-x64": {
|
|
12
12
|
"binary": "claude",
|
|
13
|
-
"checksum": "
|
|
14
|
-
"size":
|
|
13
|
+
"checksum": "d10bc7bb1720435f8830aa3ee74085f09348d2b1a2a152bdee251b770d76cc73",
|
|
14
|
+
"size": 329970544
|
|
15
15
|
},
|
|
16
16
|
"linux-arm64": {
|
|
17
17
|
"binary": "claude",
|
|
18
|
-
"checksum": "
|
|
19
|
-
"size":
|
|
18
|
+
"checksum": "28d736120a6b14c5eae1ad1470e73371818c9c2fa41e0b3c7040207aa2d4edee",
|
|
19
|
+
"size": 335993064
|
|
20
20
|
},
|
|
21
21
|
"linux-x64": {
|
|
22
22
|
"binary": "claude",
|
|
23
|
-
"checksum": "
|
|
24
|
-
"size":
|
|
23
|
+
"checksum": "0933b286cf94e1b2504b35ac165ab76b8f822735d53371c56393988c23040d58",
|
|
24
|
+
"size": 338860336
|
|
25
25
|
},
|
|
26
26
|
"linux-arm64-musl": {
|
|
27
27
|
"binary": "claude",
|
|
28
|
-
"checksum": "
|
|
29
|
-
"size":
|
|
28
|
+
"checksum": "a47d45149ea7c74e4474bce3c7628c4643b0541801b42053d6e26fd5e3203fdd",
|
|
29
|
+
"size": 329137944
|
|
30
30
|
},
|
|
31
31
|
"linux-x64-musl": {
|
|
32
32
|
"binary": "claude",
|
|
33
|
-
"checksum": "
|
|
34
|
-
"size":
|
|
33
|
+
"checksum": "33546c2f7947bbfdb46a969123c5329e607c414045cd3645a29aa3cfe023c6ab",
|
|
34
|
+
"size": 332988384
|
|
35
35
|
},
|
|
36
36
|
"win32-x64": {
|
|
37
37
|
"binary": "claude.exe",
|
|
38
|
-
"checksum": "
|
|
39
|
-
"size":
|
|
38
|
+
"checksum": "223bc058b5aef48138876e28de5d00387e4fd7362a18e733143bf00819c01aab",
|
|
39
|
+
"size": 334150816
|
|
40
40
|
},
|
|
41
41
|
"win32-arm64": {
|
|
42
42
|
"binary": "claude.exe",
|
|
43
|
-
"checksum": "
|
|
44
|
-
"size":
|
|
43
|
+
"checksum": "645800d24201c93e5fd6f4308e0292bba9a75900693667401cdffb4361f8e616",
|
|
44
|
+
"size": 322051744
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
"sdkCompat": {
|
|
48
48
|
"testedWrapperVersions": [
|
|
49
|
-
"0.3.198",
|
|
50
|
-
"0.3.199",
|
|
51
|
-
"0.3.200",
|
|
52
49
|
"0.3.201",
|
|
53
50
|
"0.3.202",
|
|
54
51
|
"0.3.204",
|
|
@@ -69,6 +66,7 @@
|
|
|
69
66
|
"0.3.220",
|
|
70
67
|
"0.3.221",
|
|
71
68
|
"0.3.222",
|
|
69
|
+
"0.3.223",
|
|
72
70
|
"0.3.226",
|
|
73
71
|
"0.3.227"
|
|
74
72
|
],
|
package/manifest.zst.json
CHANGED
|
@@ -1,62 +1,59 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "2.1.
|
|
3
|
-
"commit": "
|
|
4
|
-
"buildDate": "2026-08-
|
|
2
|
+
"version": "2.1.238",
|
|
3
|
+
"commit": "46283063a4c23f7afadb8440f549264ad93b7c06",
|
|
4
|
+
"buildDate": "2026-08-20T15:28:38Z",
|
|
5
5
|
"platforms": {
|
|
6
6
|
"darwin-arm64": {
|
|
7
7
|
"binary": "claude.zst",
|
|
8
|
-
"checksum": "
|
|
9
|
-
"size":
|
|
8
|
+
"checksum": "d9b3b89dd4a0ce4deb9b35eff326e8aceef957b59ea8170afbbe29e0801d6a22",
|
|
9
|
+
"size": 63807531,
|
|
10
10
|
"bundle": {
|
|
11
|
-
"checksum": "
|
|
12
|
-
"size":
|
|
11
|
+
"checksum": "f01e093504e89c6fb3724417f2ebf9a615f1f46770cc6a8fced0daccff55aa47",
|
|
12
|
+
"size": 63810771
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"darwin-x64": {
|
|
16
16
|
"binary": "claude.zst",
|
|
17
|
-
"checksum": "
|
|
18
|
-
"size":
|
|
17
|
+
"checksum": "c9f5de6fefd0394b21c0e7e037a5471482c440a7780e21fffae512d5fdbcdc30",
|
|
18
|
+
"size": 68484623,
|
|
19
19
|
"bundle": {
|
|
20
|
-
"checksum": "
|
|
21
|
-
"size":
|
|
20
|
+
"checksum": "ef80b7b9e5ef8c9b2a7735782a0ecd67655cb3c847af55215d9cf6bb366b8325",
|
|
21
|
+
"size": 68483882
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"linux-arm64": {
|
|
25
25
|
"binary": "claude.zst",
|
|
26
|
-
"checksum": "
|
|
27
|
-
"size":
|
|
26
|
+
"checksum": "9b4d5e5598b71420a2e31bab26325dacd3b2b2ad7c5c388c6430855ced6a81fe",
|
|
27
|
+
"size": 72698452
|
|
28
28
|
},
|
|
29
29
|
"linux-x64": {
|
|
30
30
|
"binary": "claude.zst",
|
|
31
|
-
"checksum": "
|
|
32
|
-
"size":
|
|
31
|
+
"checksum": "0af6c2cf837dd6c8805f465581718d89b943921f427a2c13fb2577ec8c69e249",
|
|
32
|
+
"size": 73796765
|
|
33
33
|
},
|
|
34
34
|
"linux-arm64-musl": {
|
|
35
35
|
"binary": "claude.zst",
|
|
36
|
-
"checksum": "
|
|
37
|
-
"size":
|
|
36
|
+
"checksum": "db85271f2cc0e6040318b6e8bbd8c3e812829c1c8c50c964f80a76ac83c75a8a",
|
|
37
|
+
"size": 71209714
|
|
38
38
|
},
|
|
39
39
|
"linux-x64-musl": {
|
|
40
40
|
"binary": "claude.zst",
|
|
41
|
-
"checksum": "
|
|
42
|
-
"size":
|
|
41
|
+
"checksum": "e43e05792a1c034dd54ac7c4f43ae2df01c00181c67d362879bdf119a8098e96",
|
|
42
|
+
"size": 72251647
|
|
43
43
|
},
|
|
44
44
|
"win32-x64": {
|
|
45
45
|
"binary": "claude.exe.zst",
|
|
46
|
-
"checksum": "
|
|
47
|
-
"size":
|
|
46
|
+
"checksum": "b558a80984d13bd3bc8fc2eb011f44051b61078367a91f2458b10beaeee55c96",
|
|
47
|
+
"size": 76157543
|
|
48
48
|
},
|
|
49
49
|
"win32-arm64": {
|
|
50
50
|
"binary": "claude.exe.zst",
|
|
51
|
-
"checksum": "
|
|
52
|
-
"size":
|
|
51
|
+
"checksum": "912b8524477193d0340cc438cd66cea379441dc815efdcfe262e3c39bcf41ed7",
|
|
52
|
+
"size": 72467187
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
"sdkCompat": {
|
|
56
56
|
"testedWrapperVersions": [
|
|
57
|
-
"0.3.198",
|
|
58
|
-
"0.3.199",
|
|
59
|
-
"0.3.200",
|
|
60
57
|
"0.3.201",
|
|
61
58
|
"0.3.202",
|
|
62
59
|
"0.3.204",
|
|
@@ -77,6 +74,7 @@
|
|
|
77
74
|
"0.3.220",
|
|
78
75
|
"0.3.221",
|
|
79
76
|
"0.3.222",
|
|
77
|
+
"0.3.223",
|
|
80
78
|
"0.3.226",
|
|
81
79
|
"0.3.227"
|
|
82
80
|
],
|
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.238",
|
|
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.238",
|
|
61
|
+
"@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.238",
|
|
62
|
+
"@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.238",
|
|
63
|
+
"@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.238",
|
|
64
|
+
"@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.238",
|
|
65
|
+
"@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.238",
|
|
66
|
+
"@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.238",
|
|
67
|
+
"@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.238"
|
|
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.238"
|
|
84
84
|
}
|
package/sdk.d.ts
CHANGED
|
@@ -1831,6 +1831,9 @@ export declare type Options = {
|
|
|
1831
1831
|
* `CLAUDE_CODE_ENABLE_PROMPT_SUGGESTION=false` env var, and when the user
|
|
1832
1832
|
* has `promptSuggestionEnabled: false` in settings.json (the env var wins
|
|
1833
1833
|
* over the setting).
|
|
1834
|
+
* - Also suppressed while the account is near or at its plan usage limit.
|
|
1835
|
+
* `CLAUDE_CODE_ENABLE_PROMPT_SUGGESTION=true` keeps them on in the
|
|
1836
|
+
* near-limit case; at the limit they stay off.
|
|
1834
1837
|
* - Suggestions piggyback on the parent's prompt cache, making them nearly free.
|
|
1835
1838
|
*/
|
|
1836
1839
|
promptSuggestions?: boolean;
|
|
@@ -2496,6 +2499,15 @@ export declare interface Query extends AsyncGenerator<SDKMessage, void> {
|
|
|
2496
2499
|
* SDK-side, but callbacks should be idempotent per request_id since a
|
|
2497
2500
|
* request whose response was lost in the gap will be dispatched again.
|
|
2498
2501
|
*
|
|
2502
|
+
* Over stdio the CLI also re-registers this query's hooks from the
|
|
2503
|
+
* re-sent request (the response reports `hooks_applied: true`; CLIs that
|
|
2504
|
+
* predate that field ignore hooks here) and resolves any hook callback it
|
|
2505
|
+
* was still waiting on itself — cancelling it at this host, denying a
|
|
2506
|
+
* pending PreToolUse with a retry notice and blocking a pending prompt —
|
|
2507
|
+
* since it cannot tell whether the re-sent callback ids still name the
|
|
2508
|
+
* same hooks. Expect one denied-then-retried tool call or one prompt to
|
|
2509
|
+
* re-send if the call races an unanswered hook.
|
|
2510
|
+
*
|
|
2499
2511
|
* Unlike {@link Query.initializationResult}, this always sends a fresh request
|
|
2500
2512
|
* rather than returning the cached first-connect result.
|
|
2501
2513
|
*
|
|
@@ -3734,6 +3746,11 @@ export declare type SDKControlInitializeResponse = {
|
|
|
3734
3746
|
|
|
3735
3747
|
|
|
3736
3748
|
|
|
3749
|
+
/**
|
|
3750
|
+
* Whether the `hooks` this initialize carried were registered: true on a session's first initialize, and on a repeated initialize from the process that owns the CLI's stdin (its set replaces the one registered earlier); false when a repeated initialize's hooks were ignored (a client joining a remote session another client configured). Absent when the request carried no hooks, and on CLIs that predate the field — those ignored `hooks` on every repeated initialize.
|
|
3751
|
+
*/
|
|
3752
|
+
hooks_applied?: boolean;
|
|
3753
|
+
|
|
3737
3754
|
|
|
3738
3755
|
|
|
3739
3756
|
fast_mode_state?: coreTypes.FastModeState;
|
|
@@ -4601,6 +4618,7 @@ export declare type SDKResultError = {
|
|
|
4601
4618
|
* Per-model totals for every model call made through the query pipeline during this query() call — main loop, Task subagents, sidechains, and internal calls such as compaction and Workflow agents. Cumulative across turns in streaming-input sessions: each result carries the running total so far, so read the latest result rather than summing across results. Internal helper calls outside the query pipeline (e.g. the permission classifier, token-count probes) are excluded; crash/startup-error results may carry zeroed usage, resumed sessions start fresh, and a mid-session /clear resets the running total. The correct field for token/cost accounting; treat it as an estimate, not a billing statement.
|
|
4602
4619
|
*/
|
|
4603
4620
|
modelUsage: Record<string, ModelUsage>;
|
|
4621
|
+
|
|
4604
4622
|
permission_denials: SDKPermissionDenial[];
|
|
4605
4623
|
errors: string[];
|
|
4606
4624
|
terminal_reason?: TerminalReason;
|
|
@@ -4646,6 +4664,7 @@ export declare type SDKResultSuccess = {
|
|
|
4646
4664
|
* Per-model totals for every model call made through the query pipeline during this query() call — main loop, Task subagents, sidechains, and internal calls such as compaction and Workflow agents. Cumulative across turns in streaming-input sessions: each result carries the running total so far, so read the latest result rather than summing across results. Internal helper calls outside the query pipeline (e.g. the permission classifier, token-count probes) are excluded; crash/startup-error results may carry zeroed usage, resumed sessions start fresh, and a mid-session /clear resets the running total. The correct field for token/cost accounting; treat it as an estimate, not a billing statement.
|
|
4647
4665
|
*/
|
|
4648
4666
|
modelUsage: Record<string, ModelUsage>;
|
|
4667
|
+
|
|
4649
4668
|
permission_denials: SDKPermissionDenial[];
|
|
4650
4669
|
structured_output?: unknown;
|
|
4651
4670
|
deferred_tool_use?: SDKDeferredToolUse;
|
|
@@ -4858,6 +4877,14 @@ export declare type SDKTaskStartedMessage = {
|
|
|
4858
4877
|
* Subagent type for Task tool subagents.
|
|
4859
4878
|
*/
|
|
4860
4879
|
subagent_type?: string;
|
|
4880
|
+
/**
|
|
4881
|
+
* Whether the task was registered in the background (true) or in the foreground with the spawning tool call blocking on it (false). A resumed subagent is always registered in the background. A later move to the background arrives as task_updated patch.is_backgrounded. Set for local_agent and local_bash tasks.
|
|
4882
|
+
*/
|
|
4883
|
+
is_backgrounded?: boolean;
|
|
4884
|
+
/**
|
|
4885
|
+
* Nesting depth of a spawned subagent (local_agent) task: 1 for a top-level spawn, N+1 when spawned from inside a depth-N agent. Not set on other tasks.
|
|
4886
|
+
*/
|
|
4887
|
+
spawn_depth?: number;
|
|
4861
4888
|
task_type?: string;
|
|
4862
4889
|
/**
|
|
4863
4890
|
* meta.name from the workflow script (e.g. 'spec'). Only set when task_type is 'local_workflow'.
|
|
@@ -5893,6 +5920,10 @@ export declare interface Settings {
|
|
|
5893
5920
|
headers?: {
|
|
5894
5921
|
[k: string]: string;
|
|
5895
5922
|
};
|
|
5923
|
+
/**
|
|
5924
|
+
* Command that prints a JSON object of HTTP headers (e.g. a short-lived auth token). Its output overrides `headers` and, like `headers`, is inherited by same-origin archive downloads from this marketplace. Runs from a fixed directory (the Claude config home, never the session's), so give a bare command found via PATH or an absolute path; it is re-run on later refreshes of this marketplace.
|
|
5925
|
+
*/
|
|
5926
|
+
headersHelper?: string;
|
|
5896
5927
|
} | {
|
|
5897
5928
|
source: 'github';
|
|
5898
5929
|
/**
|
|
@@ -6077,6 +6108,16 @@ export declare interface Settings {
|
|
|
6077
6108
|
description?: string;
|
|
6078
6109
|
version?: string;
|
|
6079
6110
|
strict?: boolean;
|
|
6111
|
+
/**
|
|
6112
|
+
* HTTP headers sent when downloading this entry's `archive` source.
|
|
6113
|
+
*/
|
|
6114
|
+
headers?: {
|
|
6115
|
+
[k: string]: string;
|
|
6116
|
+
};
|
|
6117
|
+
/**
|
|
6118
|
+
* Command that prints a JSON object of HTTP headers for downloading this entry's `archive` source. Runs only when a user explicitly installs or updates this plugin. Unlike a catalog entry, an entry written here does not need `strict: false`: it is declared in a settings file, which has no manifest fields to inline. A declaration in project settings is not operator-authored, so request-routing and client-identity header names are still filtered there. Use an absolute path.
|
|
6119
|
+
*/
|
|
6120
|
+
headersHelper?: string;
|
|
6080
6121
|
}[];
|
|
6081
6122
|
owner?: {
|
|
6082
6123
|
/**
|
|
@@ -6123,6 +6164,10 @@ export declare interface Settings {
|
|
|
6123
6164
|
headers?: {
|
|
6124
6165
|
[k: string]: string;
|
|
6125
6166
|
};
|
|
6167
|
+
/**
|
|
6168
|
+
* Command that prints a JSON object of HTTP headers (e.g. a short-lived auth token). Its output overrides `headers` and, like `headers`, is inherited by same-origin archive downloads from this marketplace. Runs from a fixed directory (the Claude config home, never the session's), so give a bare command found via PATH or an absolute path; it is re-run on later refreshes of this marketplace.
|
|
6169
|
+
*/
|
|
6170
|
+
headersHelper?: string;
|
|
6126
6171
|
} | {
|
|
6127
6172
|
source: 'github';
|
|
6128
6173
|
/**
|
|
@@ -6307,6 +6352,16 @@ export declare interface Settings {
|
|
|
6307
6352
|
description?: string;
|
|
6308
6353
|
version?: string;
|
|
6309
6354
|
strict?: boolean;
|
|
6355
|
+
/**
|
|
6356
|
+
* HTTP headers sent when downloading this entry's `archive` source.
|
|
6357
|
+
*/
|
|
6358
|
+
headers?: {
|
|
6359
|
+
[k: string]: string;
|
|
6360
|
+
};
|
|
6361
|
+
/**
|
|
6362
|
+
* Command that prints a JSON object of HTTP headers for downloading this entry's `archive` source. Runs only when a user explicitly installs or updates this plugin. Unlike a catalog entry, an entry written here does not need `strict: false`: it is declared in a settings file, which has no manifest fields to inline. A declaration in project settings is not operator-authored, so request-routing and client-identity header names are still filtered there. Use an absolute path.
|
|
6363
|
+
*/
|
|
6364
|
+
headersHelper?: string;
|
|
6310
6365
|
}[];
|
|
6311
6366
|
owner?: {
|
|
6312
6367
|
/**
|
|
@@ -6348,6 +6403,10 @@ export declare interface Settings {
|
|
|
6348
6403
|
headers?: {
|
|
6349
6404
|
[k: string]: string;
|
|
6350
6405
|
};
|
|
6406
|
+
/**
|
|
6407
|
+
* Command that prints a JSON object of HTTP headers (e.g. a short-lived auth token). Its output overrides `headers` and, like `headers`, is inherited by same-origin archive downloads from this marketplace. Runs from a fixed directory (the Claude config home, never the session's), so give a bare command found via PATH or an absolute path; it is re-run on later refreshes of this marketplace.
|
|
6408
|
+
*/
|
|
6409
|
+
headersHelper?: string;
|
|
6351
6410
|
} | {
|
|
6352
6411
|
source: 'github';
|
|
6353
6412
|
/**
|
|
@@ -6532,6 +6591,16 @@ export declare interface Settings {
|
|
|
6532
6591
|
description?: string;
|
|
6533
6592
|
version?: string;
|
|
6534
6593
|
strict?: boolean;
|
|
6594
|
+
/**
|
|
6595
|
+
* HTTP headers sent when downloading this entry's `archive` source.
|
|
6596
|
+
*/
|
|
6597
|
+
headers?: {
|
|
6598
|
+
[k: string]: string;
|
|
6599
|
+
};
|
|
6600
|
+
/**
|
|
6601
|
+
* Command that prints a JSON object of HTTP headers for downloading this entry's `archive` source. Runs only when a user explicitly installs or updates this plugin. Unlike a catalog entry, an entry written here does not need `strict: false`: it is declared in a settings file, which has no manifest fields to inline. A declaration in project settings is not operator-authored, so request-routing and client-identity header names are still filtered there. Use an absolute path.
|
|
6602
|
+
*/
|
|
6603
|
+
headersHelper?: string;
|
|
6535
6604
|
}[];
|
|
6536
6605
|
owner?: {
|
|
6537
6606
|
/**
|
|
@@ -6563,6 +6632,10 @@ export declare interface Settings {
|
|
|
6563
6632
|
headers?: {
|
|
6564
6633
|
[k: string]: string;
|
|
6565
6634
|
};
|
|
6635
|
+
/**
|
|
6636
|
+
* Command that prints a JSON object of HTTP headers (e.g. a short-lived auth token). Its output overrides `headers` and, like `headers`, is inherited by same-origin archive downloads from this marketplace. Runs from a fixed directory (the Claude config home, never the session's), so give a bare command found via PATH or an absolute path; it is re-run on later refreshes of this marketplace.
|
|
6637
|
+
*/
|
|
6638
|
+
headersHelper?: string;
|
|
6566
6639
|
} | {
|
|
6567
6640
|
source: 'github';
|
|
6568
6641
|
/**
|
|
@@ -6747,6 +6820,16 @@ export declare interface Settings {
|
|
|
6747
6820
|
description?: string;
|
|
6748
6821
|
version?: string;
|
|
6749
6822
|
strict?: boolean;
|
|
6823
|
+
/**
|
|
6824
|
+
* HTTP headers sent when downloading this entry's `archive` source.
|
|
6825
|
+
*/
|
|
6826
|
+
headers?: {
|
|
6827
|
+
[k: string]: string;
|
|
6828
|
+
};
|
|
6829
|
+
/**
|
|
6830
|
+
* Command that prints a JSON object of HTTP headers for downloading this entry's `archive` source. Runs only when a user explicitly installs or updates this plugin. Unlike a catalog entry, an entry written here does not need `strict: false`: it is declared in a settings file, which has no manifest fields to inline. A declaration in project settings is not operator-authored, so request-routing and client-identity header names are still filtered there. Use an absolute path.
|
|
6831
|
+
*/
|
|
6832
|
+
headersHelper?: string;
|
|
6750
6833
|
}[];
|
|
6751
6834
|
owner?: {
|
|
6752
6835
|
/**
|
|
@@ -6778,6 +6861,10 @@ export declare interface Settings {
|
|
|
6778
6861
|
headers?: {
|
|
6779
6862
|
[k: string]: string;
|
|
6780
6863
|
};
|
|
6864
|
+
/**
|
|
6865
|
+
* Command that prints a JSON object of HTTP headers (e.g. a short-lived auth token). Its output overrides `headers` and, like `headers`, is inherited by same-origin archive downloads from this marketplace. Runs from a fixed directory (the Claude config home, never the session's), so give a bare command found via PATH or an absolute path; it is re-run on later refreshes of this marketplace.
|
|
6866
|
+
*/
|
|
6867
|
+
headersHelper?: string;
|
|
6781
6868
|
} | {
|
|
6782
6869
|
source: 'github';
|
|
6783
6870
|
/**
|
|
@@ -6962,6 +7049,16 @@ export declare interface Settings {
|
|
|
6962
7049
|
description?: string;
|
|
6963
7050
|
version?: string;
|
|
6964
7051
|
strict?: boolean;
|
|
7052
|
+
/**
|
|
7053
|
+
* HTTP headers sent when downloading this entry's `archive` source.
|
|
7054
|
+
*/
|
|
7055
|
+
headers?: {
|
|
7056
|
+
[k: string]: string;
|
|
7057
|
+
};
|
|
7058
|
+
/**
|
|
7059
|
+
* Command that prints a JSON object of HTTP headers for downloading this entry's `archive` source. Runs only when a user explicitly installs or updates this plugin. Unlike a catalog entry, an entry written here does not need `strict: false`: it is declared in a settings file, which has no manifest fields to inline. A declaration in project settings is not operator-authored, so request-routing and client-identity header names are still filtered there. Use an absolute path.
|
|
7060
|
+
*/
|
|
7061
|
+
headersHelper?: string;
|
|
6965
7062
|
}[];
|
|
6966
7063
|
owner?: {
|
|
6967
7064
|
/**
|
|
@@ -7521,6 +7618,10 @@ export declare interface Settings {
|
|
|
7521
7618
|
* Key binding mode for the prompt input
|
|
7522
7619
|
*/
|
|
7523
7620
|
editorMode?: 'normal' | 'vim';
|
|
7621
|
+
/**
|
|
7622
|
+
* Which conventions the prompt's editing keys follow: "readline" matches Bash and other readline programs (Ctrl+W deletes back to the previous whitespace); "classic" (default) keeps Claude Code's long-standing behavior (Ctrl+W deletes the previous word)
|
|
7623
|
+
*/
|
|
7624
|
+
keybindingFlavor?: 'classic' | 'readline';
|
|
7524
7625
|
/**
|
|
7525
7626
|
* Vim INSERT-mode key-sequence remaps, e.g. {"jj": "<Esc>"}. Each key is exactly two printable characters typed in sequence; "<Esc>" (return to NORMAL mode) is the only supported target. Applies when editorMode is "vim".
|
|
7526
7627
|
*/
|
|
@@ -8096,6 +8197,10 @@ export declare type UserPromptExpansionHookInput = BaseHookInput & {
|
|
|
8096
8197
|
export declare type UserPromptExpansionHookSpecificOutput = {
|
|
8097
8198
|
hookEventName: 'UserPromptExpansion';
|
|
8098
8199
|
additionalContext?: string;
|
|
8200
|
+
/**
|
|
8201
|
+
* When decision is "block", omit the original prompt from the block message
|
|
8202
|
+
*/
|
|
8203
|
+
suppressOriginalPrompt?: boolean;
|
|
8099
8204
|
};
|
|
8100
8205
|
|
|
8101
8206
|
export declare type UserPromptSubmitHookInput = BaseHookInput & {
|