@anthropic-ai/claude-agent-sdk 0.3.221 → 0.3.223

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/manifest.json CHANGED
@@ -1,52 +1,51 @@
1
1
  {
2
- "version": "2.1.221",
3
- "commit": "6efaf12e8b43dc7dbe50e0955c76dc4174a15876",
4
- "buildDate": "2026-08-03T21:08:11Z",
2
+ "version": "2.1.223",
3
+ "commit": "4535f69721056abf01650c73ee8a91c69ba00838",
4
+ "buildDate": "2026-08-05T21:55:19Z",
5
5
  "platforms": {
6
6
  "darwin-arm64": {
7
7
  "binary": "claude",
8
- "checksum": "7a181f36ed0fc4fbac6cee4ecf2b615eff93d8b434221fff5d7c878dc5ebf380",
9
- "size": 270518240
8
+ "checksum": "fcbe0b8d47570c501302dd1ad31cc26ac2810f022c45fa253936a6961dee32bf",
9
+ "size": 272553824
10
10
  },
11
11
  "darwin-x64": {
12
12
  "binary": "claude",
13
- "checksum": "f408b9f7e46439f6e34a3687ff67433fc6bc189f40220ce4f0a1e829e58f0a52",
14
- "size": 280087584
13
+ "checksum": "350e657428a6d34f7cf71f6738c5ebb6a1952ccb12fc1747f64297e065b1846f",
14
+ "size": 282118560
15
15
  },
16
16
  "linux-arm64": {
17
17
  "binary": "claude",
18
- "checksum": "d3c59d6bcc4adcf4cd85abca3bc13fa1131a34cb32f982bdf030d83a3b11e700",
19
- "size": 285457336
18
+ "checksum": "60e83d8db0e894d0e54413e5e7daa256d180db660f51e139a51b614fc30cf3ac",
19
+ "size": 287423416
20
20
  },
21
21
  "linux-x64": {
22
22
  "binary": "claude",
23
- "checksum": "60db8e88d42c24b5199c92cfd56ec88370c510c3789c6f364af748354f087ada",
24
- "size": 288705544
23
+ "checksum": "98226474f802e3094d6a86c5ade8883c16206d0fcb5c400b7401c800063e99d7",
24
+ "size": 290728968
25
25
  },
26
26
  "linux-arm64-musl": {
27
27
  "binary": "claude",
28
- "checksum": "85985afd58d33578efd217788dd9e5cbbc0177ad00e638d9316c6fd89640f3ff",
29
- "size": 278771048
28
+ "checksum": "f41692eab23ebcd836d342fbc494d8783b1f19efb13d04fbf8461d2806ccb586",
29
+ "size": 280737128
30
30
  },
31
31
  "linux-x64-musl": {
32
32
  "binary": "claude",
33
- "checksum": "15b068e06eafff9b64583b46cdc065ac18b0d0d13950c2a83c6ee854f301a32f",
34
- "size": 283312720
33
+ "checksum": "8a4e561e8af19746d2defcf1a5661f5c0384c9c26dadd87d45e11b67802ad147",
34
+ "size": 285336144
35
35
  },
36
36
  "win32-x64": {
37
37
  "binary": "claude.exe",
38
- "checksum": "0f73196359a07f9ad435a8c83ca7c741b9f2adbc0ad9b05f71a0c2f4aabe906a",
39
- "size": 278279328
38
+ "checksum": "a708ba811c4cc46907df358e22f2aa6da3dbc28192747e4d3c4a0869752fe722",
39
+ "size": 280233632
40
40
  },
41
41
  "win32-arm64": {
42
42
  "binary": "claude.exe",
43
- "checksum": "1407585e0c33a70061d6ea7cb873b8582dcedbe928d2118982676f1951576a58",
44
- "size": 272952480
43
+ "checksum": "8efb44f04fda50fac3c7602276903e44ff82d48f1a29a41f1a5d98891a01864b",
44
+ "size": 274906784
45
45
  }
46
46
  },
47
47
  "sdkCompat": {
48
48
  "testedWrapperVersions": [
49
- "0.3.181",
50
49
  "0.3.182",
51
50
  "0.3.183",
52
51
  "0.3.185",
@@ -75,7 +74,8 @@
75
74
  "0.3.215",
76
75
  "0.3.217",
77
76
  "0.3.218",
78
- "0.3.220"
77
+ "0.3.220",
78
+ "0.3.221"
79
79
  ],
80
80
  "harnessSchema": 1
81
81
  }
package/manifest.zst.json CHANGED
@@ -1,60 +1,59 @@
1
1
  {
2
- "version": "2.1.221",
3
- "commit": "6efaf12e8b43dc7dbe50e0955c76dc4174a15876",
4
- "buildDate": "2026-08-03T21:10:16Z",
2
+ "version": "2.1.223",
3
+ "commit": "4535f69721056abf01650c73ee8a91c69ba00838",
4
+ "buildDate": "2026-08-05T21:57:22Z",
5
5
  "platforms": {
6
6
  "darwin-arm64": {
7
7
  "binary": "claude.zst",
8
- "checksum": "3cc00a82f60d6be3d57a13360ac4cb544c44420c744238df7ff03956e3323184",
9
- "size": 54310824,
8
+ "checksum": "66736b64309852d44c184d5e3b431dd291581a6be9850715a8d3c3ce2aba4a61",
9
+ "size": 54612115,
10
10
  "bundle": {
11
- "checksum": "e3627fb90b70c823fd6b1afea5b3747ba8a66925dcc7f20f89b1eaa14c1e5af0",
12
- "size": 54313524
11
+ "checksum": "1aa06b34b3da404d607488aa9a4b946a4f3b0383d549615928a5355f83af89a5",
12
+ "size": 54613585
13
13
  }
14
14
  },
15
15
  "darwin-x64": {
16
16
  "binary": "claude.zst",
17
- "checksum": "b000bac7919e0e5314369a888286eef1f51e7ae7c299725d1ad669b89186aa82",
18
- "size": 58952796,
17
+ "checksum": "17278d93f4cd9bf7b6243f2d69ae60f7e14bd41672c461857fcb959cce787866",
18
+ "size": 59287050,
19
19
  "bundle": {
20
- "checksum": "5c9b3639bce10bec691a944c105890d1f96c5e69ddadc2d7759bd5ab64ec83b8",
21
- "size": 58953965
20
+ "checksum": "1e115e67b3b9230b0f5877e038b40ed0df9cf6a2cd390e4a3da207d028c9c998",
21
+ "size": 59285846
22
22
  }
23
23
  },
24
24
  "linux-arm64": {
25
25
  "binary": "claude.zst",
26
- "checksum": "4ddd9f096f81f25deecf63cc4c74bfa1c54ed31510b808f44fc5d8182d326bec",
27
- "size": 63194178
26
+ "checksum": "50cefaeb32af65d8da9036f152110357101c24e8705ac0fb311daf37b6b0a574",
27
+ "size": 63439231
28
28
  },
29
29
  "linux-x64": {
30
30
  "binary": "claude.zst",
31
- "checksum": "d8a43ae3cea71283d1d228937735c47f5b533829ce7a725ee081a5a72510ab41",
32
- "size": 64369245
31
+ "checksum": "5f3ccf27ecbf3eca26611380ec5c4bd922fb20fd12a1749744922ff595661aad",
32
+ "size": 64854874
33
33
  },
34
34
  "linux-arm64-musl": {
35
35
  "binary": "claude.zst",
36
- "checksum": "7a7a529aaf23aaf6e2a05430342a43db2c7ab4b881731e1b91adbe95916673db",
37
- "size": 61825337
36
+ "checksum": "de4dcb573dfc16096bc19cdae9eb64e4f66306d018ac69feb3aa4b1bdf9eab2a",
37
+ "size": 62226768
38
38
  },
39
39
  "linux-x64-musl": {
40
40
  "binary": "claude.zst",
41
- "checksum": "ec32162ba30a8dff3f90f147a2c73db5cc46c5b47daf30337433928d26549738",
42
- "size": 63188804
41
+ "checksum": "acc2132f74191d17baa52ebbedae63bab7dd9f0b841444a24f3437f771b4edee",
42
+ "size": 63735968
43
43
  },
44
44
  "win32-x64": {
45
45
  "binary": "claude.exe.zst",
46
- "checksum": "4a68cb0cbe8e4e726c49d48df1465f38d026492367151be64d48dc6d7ea3bd6f",
47
- "size": 64602024
46
+ "checksum": "a3b7fa65d3b4cc5624314c0a3af20aa1a4876bf2bdc0e3d68f2b75516ad4887a",
47
+ "size": 65087938
48
48
  },
49
49
  "win32-arm64": {
50
50
  "binary": "claude.exe.zst",
51
- "checksum": "abd504266dbf91d10ba61da699ea22ca00b99d7e91e62f9e520d99eb90c9eedf",
52
- "size": 62745683
51
+ "checksum": "28c57b3dbb7d6f01b152f0947a5cbe382f77cdac026ef3a22cb8430fc06ac1d4",
52
+ "size": 63251656
53
53
  }
54
54
  },
55
55
  "sdkCompat": {
56
56
  "testedWrapperVersions": [
57
- "0.3.181",
58
57
  "0.3.182",
59
58
  "0.3.183",
60
59
  "0.3.185",
@@ -83,7 +82,8 @@
83
82
  "0.3.215",
84
83
  "0.3.217",
85
84
  "0.3.218",
86
- "0.3.220"
85
+ "0.3.220",
86
+ "0.3.221"
87
87
  ],
88
88
  "harnessSchema": 1
89
89
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anthropic-ai/claude-agent-sdk",
3
- "version": "0.3.221",
3
+ "version": "0.3.223",
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.221",
61
- "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.221",
62
- "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.221",
63
- "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.221",
64
- "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.221",
65
- "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.221",
66
- "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.221",
67
- "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.221"
60
+ "@anthropic-ai/claude-agent-sdk-linux-x64": "0.3.223",
61
+ "@anthropic-ai/claude-agent-sdk-linux-arm64": "0.3.223",
62
+ "@anthropic-ai/claude-agent-sdk-linux-x64-musl": "0.3.223",
63
+ "@anthropic-ai/claude-agent-sdk-linux-arm64-musl": "0.3.223",
64
+ "@anthropic-ai/claude-agent-sdk-darwin-x64": "0.3.223",
65
+ "@anthropic-ai/claude-agent-sdk-darwin-arm64": "0.3.223",
66
+ "@anthropic-ai/claude-agent-sdk-win32-x64": "0.3.223",
67
+ "@anthropic-ai/claude-agent-sdk-win32-arm64": "0.3.223"
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.221"
83
+ "claudeCodeVersion": "2.1.223"
84
84
  }
package/sdk-tools.d.ts CHANGED
@@ -2432,13 +2432,37 @@ export interface SendFeedbackInput {
2432
2432
  */
2433
2433
  title: string;
2434
2434
  /**
2435
- * Factual, reproducible report: what was attempted, what happened, exact error text if short, repro steps. No speculation, no secrets.
2435
+ * Labeled bullets, in order: **What happened:** (observed vs. expected, exact error text if short); **What the user said:** (quoted, or "User didn't comment; observed by the model."); **Repro:** (minimal steps); **Evidence:** (request IDs, timestamps, paths, versions — omit if none); optionally a final **Cause:** only if verified in-session. One to three lines per bullet. No narrative paragraphs, no speculation, no secrets.
2436
2436
  */
2437
2437
  details: string;
2438
2438
  /**
2439
2439
  * Optional short tag naming the part of Claude Code this is about (e.g. "hooks config", "/help", "file editing"). Leave blank if unclear.
2440
2440
  */
2441
2441
  area?: string;
2442
+ /**
2443
+ * When the report is about MODEL BEHAVIOR (not a product bug), the closest failure mode — or `other` when it is a model-behavior issue that fits no listed value. Omit only when the report is a product/tool bug with no model-behavior component.
2444
+ */
2445
+ failure_mode?:
2446
+ | "instruction_following"
2447
+ | "destructive_actions"
2448
+ | "code_quality"
2449
+ | "repetition_and_looping"
2450
+ | "model_regression"
2451
+ | "overconfidence_and_hallucination"
2452
+ | "context_and_memory"
2453
+ | "overeager"
2454
+ | "over_correction"
2455
+ | "stopping_short"
2456
+ | "dispute_or_decline"
2457
+ | "subagent_overspawn"
2458
+ | "tone_or_preachiness"
2459
+ | "excessive_questions"
2460
+ | "unwanted_scope"
2461
+ | "other";
2462
+ /**
2463
+ * What kind of task the session was doing when the issue occurred — or `other` when it is a clear task that fits no listed value. Omit only if genuinely unclear.
2464
+ */
2465
+ task_category?: "code_edit" | "debug" | "explain" | "plan" | "shell" | "search" | "review" | "other";
2442
2466
  }
2443
2467
  export interface ClaudeDesignInput {
2444
2468
  /**
package/sdk.d.ts CHANGED
@@ -1810,9 +1810,62 @@ export declare type Options = {
1810
1810
  /**
1811
1811
  * When resuming, only resume messages up to and including the message with this UUID.
1812
1812
  * Use with `resume`. This allows you to resume from a specific point in the conversation.
1813
- * The message ID should be from `SDKAssistantMessage.uuid`.
1813
+ * Accepts any chain-entry UUID typically `SDKAssistantMessage.uuid`, but
1814
+ * end-turn tool sessions and transcript-only appends need a later entry's
1815
+ * UUID (see `resumeDropsTurn` for the fork-point guidance).
1814
1816
  */
1815
1817
  resumeSessionAt?: string;
1818
+ /**
1819
+ * With `resumeSessionAt`: declares the prompt UUID of the turn this
1820
+ * truncating resume intends to discard. The CLI validates at fork time
1821
+ * that every entry past the `resumeSessionAt` point is attributable to
1822
+ * that turn, and refuses the resume (an `error_during_execution` result
1823
+ * whose message starts with `Resume rejected by --resume-drops-turn:`)
1824
+ * when the discarded range contains anything else — e.g. a queued user
1825
+ * message or task notification the session absorbed mid-turn that the
1826
+ * caller's view of the conversation had not yet observed. Omit to keep
1827
+ * the unvalidated truncation behavior.
1828
+ *
1829
+ * Consumers MUST map a refusal (match on the message prefix above) to
1830
+ * their rewind-recovery path — clear the pending fork target and resume
1831
+ * plainly, keeping the evidence — not retry: the refusal is
1832
+ * deterministic, so re-sending the same fork request fails forever.
1833
+ *
1834
+ * End-turn tool sessions (`outputFormat: {type: 'json_schema'}`, or any
1835
+ * MCP tool using `_meta['claude/endTurn']`): a completed turn there ends
1836
+ * on a successful tool_result carrier — with no trailing assistant
1837
+ * message — followed by a `structured_output` attachment holding the
1838
+ * turn's actual output (the carrier's data is a placeholder). Fork at
1839
+ * the LAST entry of the turn being kept — the `structured_output`
1840
+ * attachment when present, else the carrier — not the last assistant
1841
+ * UUID; `resumeSessionAt` accepts any chain UUID. Forking earlier
1842
+ * leaves the carrier or attachment in the discarded range, and the
1843
+ * validator deliberately refuses: both are the kept turn's own payload,
1844
+ * and dropping either would discard kept-turn output (the attachment is
1845
+ * its sole persisted copy) or leave its tool_use dangling.
1846
+ *
1847
+ * The same fork-past-your-appends rule applies to plain (non-synthetic)
1848
+ * `shouldQuery: false` transcript appends (e.g. CCD bash mode): they
1849
+ * persist as bare user entries, so a fork point that leaves one in the
1850
+ * discarded range refuses. Fork at or after your own last append.
1851
+ *
1852
+ * PRINT/HEADLESS LANE ONLY: the pair is consumed exclusively by the
1853
+ * headless boot path (print-mode CLI, Agent SDK, ProcessTransport). An
1854
+ * interactive `claude --resume` boot and background-job worker boots
1855
+ * ignore both options — the resume loads the full chain with no
1856
+ * truncation, no guard, and no error — so callers must not pass the
1857
+ * pair outside print mode and expect an armed guard (rejecting it on
1858
+ * those lanes is tracked follow-up work).
1859
+ *
1860
+ * General rule subsuming all of the above: fork at the KEPT turn's last
1861
+ * chain entry, whatever it is — `resumeSessionAt` accepts any chain
1862
+ * UUID. This also covers interrupted turns that completed one or more
1863
+ * tools before Esc: the completed (non-error) tool_result in the tail
1864
+ * is kept-turn payload and deliberately refuses at an assistant-UUID
1865
+ * fork point, while the marker / cancel-batch entries after it are
1866
+ * skippable — so fork at the last entry and the refusal never fires.
1867
+ */
1868
+ resumeDropsTurn?: string;
1816
1869
  /**
1817
1870
  * Sandbox settings for command execution isolation.
1818
1871
  *
@@ -4080,6 +4133,8 @@ export declare type SDKMessageOrigin = {
4080
4133
  subkind?: 'scheduled-trigger';
4081
4134
  } | {
4082
4135
  kind: 'coordinator';
4136
+ } | {
4137
+ kind: 'unclassified';
4083
4138
  } | {
4084
4139
  kind: 'observer';
4085
4140
  from: string;
@@ -4107,13 +4162,17 @@ export declare type SDKMirrorErrorMessage = {
4107
4162
  };
4108
4163
 
4109
4164
  /**
4110
- * Emitted when the primary model ends the stream with stop_reason "refusal" and the turn is retried once on a fallback model with the swap made persistent for the session (direction: "retry"). "revert" and "sticky" are retained in the enum for SDK-consumer compat and are no longer emitted.
4165
+ * Emitted when the primary model ends the stream with stop_reason "refusal" and the turn is retried once on a fallback model (direction: "retry"). When `scope` is "session" (or absent — older CLIs), the swap is made persistent for the session; when `scope` is "local", only that subagent/side-question response came from the fallback model and the session model is unchanged. "revert" and "sticky" are retained in the enum for SDK-consumer compat and are no longer emitted.
4111
4166
  */
4112
4167
  export declare type SDKModelRefusalFallbackMessage = {
4113
4168
  type: 'system';
4114
4169
  subtype: 'model_refusal_fallback';
4115
4170
  trigger: 'refusal';
4116
4171
  direction: 'retry' | 'revert' | 'sticky';
4172
+ /**
4173
+ * 'session': the main thread fell back and the session model is swapped. 'local': a subagent / side-question (/btw) / background fork fell back — only that response came from the fallback model and the session model is unchanged. Absent from older CLIs (treat as 'session').
4174
+ */
4175
+ scope?: 'session' | 'local';
4117
4176
  original_model: string;
4118
4177
  fallback_model: string;
4119
4178
  request_id: string | null;
@@ -4185,7 +4244,7 @@ export declare type SDKPermissionDenial = {
4185
4244
  };
4186
4245
 
4187
4246
  /**
4188
- * Emitted when a tool call is auto-denied without an interactive permission prompt (e.g. auto-mode classifier, dontAsk mode, headless-agent auto-deny, or a deny rule). The 'ask' path surfaces via a can_use_tool control_request; this event covers the 'deny' short-circuit in canUseTool so SDK hosts can render the denial instead of only seeing an is_error tool_result. PreToolUse hook denies bypass canUseTool and are not covered here.
4247
+ * Emitted when a tool call is auto-denied without an interactive permission prompt (e.g. auto-mode classifier, dontAsk mode, headless-agent auto-deny, or a deny rule). With a permission prompt surface (stdio/SDK canUseTool), the 'ask' path surfaces via a can_use_tool control_request and this event covers the 'deny' short-circuit. Without one (bare -p / SDK query() with no canUseTool), 'ask' decisions are terminal, so this event also covers those implicit denials. Best-effort advisory: in rare races a denial can book without a frame or a frame can lack a booking twin — result.permission_denials is the authoritative record. Denials that resolve before canUseTool runs — PreToolUse hook denies, and deny-rule overrides of hook allow/ask decisions — are not covered here, and neither is the MCP --permission-prompt-tool surface (the prompt tool is the host there).
4189
4248
  */
4190
4249
  export declare type SDKPermissionDeniedMessage = {
4191
4250
  type: 'system';
@@ -4296,8 +4355,17 @@ export declare type SDKResultError = {
4296
4355
  is_error: boolean;
4297
4356
  num_turns: number;
4298
4357
  stop_reason: string | null;
4358
+ /**
4359
+ * Cumulative estimated cost in USD for this query() call, covering the same query-pipeline calls as modelUsage and sharing its lifecycle: 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. Crash/startup-error results may carry zeroed values, resumed sessions start fresh, and a mid-session /clear resets the running total. An estimate, not a billing statement.
4360
+ */
4299
4361
  total_cost_usd: number;
4362
+ /**
4363
+ * MAIN AGENT LOOP ONLY — excludes Task subagent, sidechain, and auxiliary model calls, and is per-turn in streaming-input sessions. Prefer modelUsage for token/cost accounting.
4364
+ */
4300
4365
  usage: NonNullableUsage;
4366
+ /**
4367
+ * 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.
4368
+ */
4301
4369
  modelUsage: Record<string, ModelUsage>;
4302
4370
  permission_denials: SDKPermissionDenial[];
4303
4371
  errors: string[];
@@ -4329,8 +4397,17 @@ export declare type SDKResultSuccess = {
4329
4397
  num_turns: number;
4330
4398
  result: string;
4331
4399
  stop_reason: string | null;
4400
+ /**
4401
+ * Cumulative estimated cost in USD for this query() call, covering the same query-pipeline calls as modelUsage and sharing its lifecycle: 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. Crash/startup-error results may carry zeroed values, resumed sessions start fresh, and a mid-session /clear resets the running total. An estimate, not a billing statement.
4402
+ */
4332
4403
  total_cost_usd: number;
4404
+ /**
4405
+ * MAIN AGENT LOOP ONLY — excludes Task subagent, sidechain, and auxiliary model calls, and is per-turn in streaming-input sessions. Prefer modelUsage for token/cost accounting.
4406
+ */
4333
4407
  usage: NonNullableUsage;
4408
+ /**
4409
+ * 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.
4410
+ */
4334
4411
  modelUsage: Record<string, ModelUsage>;
4335
4412
  permission_denials: SDKPermissionDenial[];
4336
4413
  structured_output?: unknown;
@@ -5548,7 +5625,7 @@ export declare interface Settings {
5548
5625
  } | {
5549
5626
  source: 'github';
5550
5627
  /**
5551
- * GitHub repository in owner/repo format
5628
+ * GitHub repository in owner/repo format. ONLY in the managed-settings policy lists (strictKnownMarketplaces / blockedMarketplaces) the owner-wildcard form "owner/*" matches every repository under exactly that owner. Everywhere else (marketplace add, extraKnownMarketplaces, known_marketplaces.json) the value must name a single repository — a wildcard is taken literally and fails to clone.
5552
5629
  */
5553
5630
  repo: string;
5554
5631
  /**
@@ -5731,7 +5808,7 @@ export declare interface Settings {
5731
5808
  };
5732
5809
  };
5733
5810
  /**
5734
- * Enterprise strict list of allowed marketplace sources. When set in managed settings, ONLY these exact sources can be added as marketplaces. The check happens BEFORE downloading, so blocked sources never touch the filesystem. Note: this is a policy gate only — it does NOT register marketplaces. To pre-register allowed marketplaces for users, also set extraKnownMarketplaces.
5811
+ * Enterprise strict list of allowed marketplace sources. When set in managed settings, ONLY these sources can be added as marketplaces. Entries match exactly, except that a github entry may use the owner-wildcard form {"source":"github","repo":"owner/*"} to allow every repository under that owner. The check happens BEFORE downloading, so blocked sources never touch the filesystem. Note: this is a policy gate only — it does NOT register marketplaces. To pre-register allowed marketplaces for users, also set extraKnownMarketplaces.
5735
5812
  */
5736
5813
  strictKnownMarketplaces?: ({
5737
5814
  source: 'url';
@@ -5748,7 +5825,7 @@ export declare interface Settings {
5748
5825
  } | {
5749
5826
  source: 'github';
5750
5827
  /**
5751
- * GitHub repository in owner/repo format
5828
+ * GitHub repository in owner/repo format. ONLY in the managed-settings policy lists (strictKnownMarketplaces / blockedMarketplaces) the owner-wildcard form "owner/*" matches every repository under exactly that owner. Everywhere else (marketplace add, extraKnownMarketplaces, known_marketplaces.json) the value must name a single repository — a wildcard is taken literally and fails to clone.
5752
5829
  */
5753
5830
  repo: string;
5754
5831
  /**
@@ -5921,7 +5998,7 @@ export declare interface Settings {
5921
5998
  };
5922
5999
  })[];
5923
6000
  /**
5924
- * Enterprise blocklist of marketplace sources. When set in managed settings, these exact sources are blocked from being added as marketplaces. The check happens BEFORE downloading, so blocked sources never touch the filesystem.
6001
+ * Enterprise blocklist of marketplace sources. When set in managed settings, these sources are blocked from being added as marketplaces. Entries match exactly, except that a github entry may use the owner-wildcard form {"source":"github","repo":"owner/*"} to block every repository under that owner. The check happens BEFORE downloading, so blocked sources never touch the filesystem.
5925
6002
  */
5926
6003
  blockedMarketplaces?: ({
5927
6004
  source: 'url';
@@ -5938,7 +6015,7 @@ export declare interface Settings {
5938
6015
  } | {
5939
6016
  source: 'github';
5940
6017
  /**
5941
- * GitHub repository in owner/repo format
6018
+ * GitHub repository in owner/repo format. ONLY in the managed-settings policy lists (strictKnownMarketplaces / blockedMarketplaces) the owner-wildcard form "owner/*" matches every repository under exactly that owner. Everywhere else (marketplace add, extraKnownMarketplaces, known_marketplaces.json) the value must name a single repository — a wildcard is taken literally and fails to clone.
5942
6019
  */
5943
6020
  repo: string;
5944
6021
  /**