@github/copilot-sdk-win32-x64 1.0.17-preview.0 → 1.0.17-preview.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@github/copilot-sdk-win32-x64",
3
- "version": "1.0.17-preview.0",
3
+ "version": "1.0.17-preview.1",
4
4
  "description": "Platform runtime for @github/copilot-sdk (win32-x64)",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/prebuilds/win32-x64/runtime.node
3
- size: 104363296 bytes
4
- sha256: 6abed5dc44c7982d5886f291f5b1ddd410d61e7cf22422f3144a683a88e0ba6c
3
+ size: 105172256 bytes
4
+ sha256: 0aca157a568da61163a7af4239de80bdf24b8beff01596efbecdd49056bb68e0
Binary file
@@ -6380,6 +6380,11 @@
6380
6380
  "$ref": "#/definitions/McpOauthLoginGrantType",
6381
6381
  "description": "Optional OAuth grant type override for this login. Defaults to the server configuration, or authorization_code when no grant type is specified."
6382
6382
  },
6383
+ "redirectUri": {
6384
+ "type": "string",
6385
+ "format": "uri",
6386
+ "description": "Optional externally visible HTTPS redirect URI for a host-managed callback endpoint. When supplied, the runtime still owns discovery, PKCE, token exchange, persistence, and reconnect, but does not bind a loopback listener or terminate HTTPS. The URI must not contain query parameters or a fragment and must be registered for the selected CIMD, DCR, or static OAuth client."
6387
+ },
6383
6388
  "loginId": {
6384
6389
  "type": "string",
6385
6390
  "description": "Required for owned login. Consumes the exact prepareLogin handle once.\nSet forceReauth and display options during preparation, not consumption."
@@ -6394,7 +6399,7 @@
6394
6399
  "serverName"
6395
6400
  ],
6396
6401
  "additionalProperties": false,
6397
- "description": "Remote MCP server name and optional overrides controlling reauthentication, OAuth client display name, callback success-page copy, and static OAuth client selection.",
6402
+ "description": "Remote MCP server name and optional overrides controlling reauthentication, OAuth client display name, callback handling, and static OAuth client selection.",
6398
6403
  "title": "McpOauthLoginRequest",
6399
6404
  "stability": "experimental",
6400
6405
  "x-legacy-parameters": [
@@ -6414,6 +6419,42 @@
6414
6419
  },
6415
6420
  "stability": "experimental"
6416
6421
  },
6422
+ "complete": {
6423
+ "rpcMethod": "session.mcp.oauth.complete",
6424
+ "description": "Completes a runtime-managed MCP OAuth login after the authorization server redirects to a host-managed callback URL.",
6425
+ "params": {
6426
+ "type": "object",
6427
+ "properties": {
6428
+ "sessionId": {
6429
+ "type": "string",
6430
+ "description": "Target session identifier"
6431
+ },
6432
+ "authorizationId": {
6433
+ "type": "string",
6434
+ "minLength": 1,
6435
+ "description": "Opaque identifier returned by session.mcp.oauth.login for the pending external callback."
6436
+ },
6437
+ "callbackUrl": {
6438
+ "type": "string",
6439
+ "format": "uri",
6440
+ "description": "Full externally visible HTTPS callback URL received by the host, including the authorization response query parameters. Applications behind a reverse proxy must reconstruct the public URL rather than passing an internal proxy URL."
6441
+ }
6442
+ },
6443
+ "required": [
6444
+ "sessionId",
6445
+ "authorizationId",
6446
+ "callbackUrl"
6447
+ ],
6448
+ "additionalProperties": false,
6449
+ "description": "Host-delivered callback for a runtime-managed MCP OAuth login.",
6450
+ "title": "McpOauthCompleteRequest",
6451
+ "stability": "experimental"
6452
+ },
6453
+ "result": {
6454
+ "type": "null"
6455
+ },
6456
+ "stability": "experimental"
6457
+ },
6417
6458
  "probe": {
6418
6459
  "rpcMethod": "session.mcp.oauth.probe",
6419
6460
  "description": "Passively probes a configured remote MCP server to classify whether OAuth is required or a cached/override token is accepted. Does not start OAuth, emit pending OAuth requests, or mutate MCP connection state.",
@@ -6881,6 +6922,89 @@
6881
6922
  },
6882
6923
  "stability": "experimental"
6883
6924
  }
6925
+ },
6926
+ "prompts": {
6927
+ "list": {
6928
+ "rpcMethod": "session.mcp.prompts.list",
6929
+ "description": "Enumerate one page of prompts a connected MCP server exposes (proxies MCP `prompts/list`). Pass `cursor` to continue from a prior result's `nextCursor`.",
6930
+ "params": {
6931
+ "type": "object",
6932
+ "properties": {
6933
+ "sessionId": {
6934
+ "type": "string",
6935
+ "description": "Target session identifier"
6936
+ },
6937
+ "serverName": {
6938
+ "type": "string",
6939
+ "minLength": 1,
6940
+ "pattern": "^[^\\x00-\\x1f/\\x7f-\\x9f}]+(?:\\/[^\\x00-\\x1f/\\x7f-\\x9f}]+)*$",
6941
+ "description": "Name of the MCP server whose prompts to enumerate"
6942
+ },
6943
+ "cursor": {
6944
+ "type": "string",
6945
+ "description": "Opaque MCP pagination cursor from a prior `nextCursor` value"
6946
+ }
6947
+ },
6948
+ "required": [
6949
+ "sessionId",
6950
+ "serverName"
6951
+ ],
6952
+ "additionalProperties": false,
6953
+ "description": "MCP server whose prompts to enumerate.",
6954
+ "title": "McpPromptsListRequest",
6955
+ "stability": "experimental"
6956
+ },
6957
+ "result": {
6958
+ "$ref": "#/definitions/McpPromptsListResult",
6959
+ "description": "One page of prompts advertised by the named MCP server."
6960
+ },
6961
+ "stability": "experimental"
6962
+ },
6963
+ "get": {
6964
+ "rpcMethod": "session.mcp.prompts.get",
6965
+ "description": "Get a prompt's messages from a connected MCP server (proxies MCP `prompts/get`). Content is preserved as opaque JSON. Does not send messages to the model, execute tools, or fetch referenced resources.",
6966
+ "params": {
6967
+ "type": "object",
6968
+ "properties": {
6969
+ "sessionId": {
6970
+ "type": "string",
6971
+ "description": "Target session identifier"
6972
+ },
6973
+ "serverName": {
6974
+ "type": "string",
6975
+ "minLength": 1,
6976
+ "pattern": "^[^\\x00-\\x1f/\\x7f-\\x9f}]+(?:\\/[^\\x00-\\x1f/\\x7f-\\x9f}]+)*$",
6977
+ "description": "Name of the MCP server hosting the prompt"
6978
+ },
6979
+ "promptName": {
6980
+ "type": "string",
6981
+ "minLength": 1,
6982
+ "description": "The programmatic name of the prompt"
6983
+ },
6984
+ "arguments": {
6985
+ "type": "object",
6986
+ "additionalProperties": {
6987
+ "type": "string"
6988
+ },
6989
+ "description": "String-valued arguments to pass to the prompt"
6990
+ }
6991
+ },
6992
+ "required": [
6993
+ "sessionId",
6994
+ "serverName",
6995
+ "promptName"
6996
+ ],
6997
+ "additionalProperties": false,
6998
+ "description": "MCP server, prompt name, and optional string-valued arguments.",
6999
+ "title": "McpPromptsGetRequest",
7000
+ "stability": "experimental"
7001
+ },
7002
+ "result": {
7003
+ "$ref": "#/definitions/McpPromptsGetResult",
7004
+ "description": "Prompt messages returned by the MCP server without sending them to the model."
7005
+ },
7006
+ "stability": "experimental"
7007
+ }
6884
7008
  }
6885
7009
  },
6886
7010
  "diagnostics": {
@@ -10549,7 +10673,7 @@
10549
10673
  "shell": {
10550
10674
  "exec": {
10551
10675
  "rpcMethod": "session.shell.exec",
10552
- "description": "Starts a shell command and streams output through session notifications. The command runs as the leader of its own process group (POSIX) or in a dedicated job object (Windows), so a forced termination — via \"shell.kill\", the request timeout, or session disposal — signals that whole group/job rather than only the direct child. Two gaps are worth planning for: a command that exits on its own does not trigger that teardown, and on POSIX a descendant that moves itself into a new session or process group (for example via \"setsid\") leaves the signalled group, so either can leave a background process running.",
10676
+ "description": "Starts a shell command, returning an RPC error if it cannot be spawned. The command runs as the leader of its own process group (POSIX) or in a dedicated job object (Windows), so a forced termination — via \"shell.kill\", the request timeout, or session disposal — signals that whole group/job rather than only the direct child. Two gaps are worth planning for: a command that exits on its own does not trigger that teardown, and on POSIX a descendant that moves itself into a new session or process group (for example via \"setsid\") leaves the signalled group, so either can leave a background process running.",
10553
10677
  "params": {
10554
10678
  "type": "object",
10555
10679
  "properties": {
@@ -10577,13 +10701,13 @@
10577
10701
  "command"
10578
10702
  ],
10579
10703
  "additionalProperties": false,
10580
- "description": "Shell command to run, with optional working directory and timeout in milliseconds.",
10704
+ "description": "Shell command to run, with optional working directory and timeout in milliseconds. Spawn failures return an RPC error.",
10581
10705
  "title": "ShellExecRequest",
10582
10706
  "stability": "experimental"
10583
10707
  },
10584
10708
  "result": {
10585
10709
  "$ref": "#/definitions/ShellExecResult",
10586
- "description": "Identifier of the spawned process, used to correlate streamed output and exit notifications."
10710
+ "description": "Identifier of the spawned shell process, usable with shell.kill while the process is running."
10587
10711
  },
10588
10712
  "stability": "experimental"
10589
10713
  },
@@ -28754,6 +28878,29 @@
28754
28878
  "additionalProperties": false,
28755
28879
  "description": "Honest terminal cancellation result; persistence or recovery failures remain RPC errors."
28756
28880
  },
28881
+ "McpOauthCompleteRequest": {
28882
+ "type": "object",
28883
+ "properties": {
28884
+ "authorizationId": {
28885
+ "type": "string",
28886
+ "minLength": 1,
28887
+ "description": "Opaque identifier returned by session.mcp.oauth.login for the pending external callback."
28888
+ },
28889
+ "callbackUrl": {
28890
+ "type": "string",
28891
+ "format": "uri",
28892
+ "description": "Full externally visible HTTPS callback URL received by the host, including the authorization response query parameters. Applications behind a reverse proxy must reconstruct the public URL rather than passing an internal proxy URL."
28893
+ }
28894
+ },
28895
+ "required": [
28896
+ "authorizationId",
28897
+ "callbackUrl"
28898
+ ],
28899
+ "additionalProperties": false,
28900
+ "description": "Host-delivered callback for a runtime-managed MCP OAuth login.",
28901
+ "title": "McpOauthCompleteRequest",
28902
+ "stability": "experimental"
28903
+ },
28757
28904
  "McpOauthHandlePendingRequest": {
28758
28905
  "type": "object",
28759
28906
  "properties": {
@@ -28840,6 +28987,11 @@
28840
28987
  "$ref": "#/definitions/McpOauthLoginGrantType",
28841
28988
  "description": "Optional OAuth grant type override for this login. Defaults to the server configuration, or authorization_code when no grant type is specified."
28842
28989
  },
28990
+ "redirectUri": {
28991
+ "type": "string",
28992
+ "format": "uri",
28993
+ "description": "Optional externally visible HTTPS redirect URI for a host-managed callback endpoint. When supplied, the runtime still owns discovery, PKCE, token exchange, persistence, and reconnect, but does not bind a loopback listener or terminate HTTPS. The URI must not contain query parameters or a fragment and must be registered for the selected CIMD, DCR, or static OAuth client."
28994
+ },
28843
28995
  "loginId": {
28844
28996
  "type": "string",
28845
28997
  "description": "Required for owned login. Consumes the exact prepareLogin handle once.\nSet forceReauth and display options during preparation, not consumption."
@@ -28853,7 +29005,7 @@
28853
29005
  "serverName"
28854
29006
  ],
28855
29007
  "additionalProperties": false,
28856
- "description": "Remote MCP server name and optional overrides controlling reauthentication, OAuth client display name, callback success-page copy, and static OAuth client selection.",
29008
+ "description": "Remote MCP server name and optional overrides controlling reauthentication, OAuth client display name, callback handling, and static OAuth client selection.",
28857
29009
  "title": "McpOauthLoginRequest",
28858
29010
  "stability": "experimental",
28859
29011
  "x-legacy-parameters": [
@@ -28881,7 +29033,11 @@
28881
29033
  "authorizationUrl": {
28882
29034
  "type": "string",
28883
29035
  "format": "uri",
28884
- "description": "URL the caller should open in a browser to complete OAuth. Omitted when cached tokens were still valid and no browser interaction was needed — the server is already reconnected in that case. When present, the runtime starts the callback listener before returning and continues the flow in the background; completion is signaled via session.mcp_server_status_changed."
29036
+ "description": "URL the caller should open in a browser to complete OAuth. Omitted when cached tokens were still valid and no browser interaction was needed — the server is already reconnected in that case. For the default loopback flow, the runtime starts its listener before returning. With redirectUri, the host receives the callback and completes it through session.mcp.oauth.complete. The runtime continues the flow in the background and signals completion via session.mcp_server_status_changed."
29037
+ },
29038
+ "authorizationId": {
29039
+ "type": "string",
29040
+ "description": "Opaque authorization identifier returned only for a host-managed redirect URI. The runtime also sends it as the OAuth state value, so the callback endpoint can read state and pass it with the full callback URL to session.mcp.oauth.complete."
28885
29041
  }
28886
29042
  },
28887
29043
  "additionalProperties": false,
@@ -30095,6 +30251,307 @@
30095
30251
  "description": "Side-effect-free preparation of one original bound remote MCP choice.",
30096
30252
  "title": "McpPrepareInstallRequest"
30097
30253
  },
30254
+ "McpPrompt": {
30255
+ "type": "object",
30256
+ "properties": {
30257
+ "name": {
30258
+ "type": "string",
30259
+ "description": "The programmatic name of the prompt"
30260
+ },
30261
+ "title": {
30262
+ "type": "string",
30263
+ "description": "Human-readable display title"
30264
+ },
30265
+ "description": {
30266
+ "type": "string",
30267
+ "description": "Description of what this prompt provides"
30268
+ },
30269
+ "arguments": {
30270
+ "type": "array",
30271
+ "items": {
30272
+ "$ref": "#/definitions/McpPromptArgument",
30273
+ "description": "An argument accepted by an MCP prompt."
30274
+ },
30275
+ "description": "Arguments accepted by the prompt"
30276
+ },
30277
+ "icons": {
30278
+ "type": "array",
30279
+ "items": {
30280
+ "$ref": "#/definitions/McpPromptIcon",
30281
+ "description": "An MCP prompt icon with standard size hints and preserved non-standard fields."
30282
+ },
30283
+ "description": "Icons associated with this prompt"
30284
+ },
30285
+ "_meta": {
30286
+ "type": "object",
30287
+ "additionalProperties": {
30288
+ "x-opaque-json": true
30289
+ },
30290
+ "description": "Prompt-level metadata"
30291
+ },
30292
+ "additionalProperties": {
30293
+ "type": "object",
30294
+ "additionalProperties": {
30295
+ "x-opaque-json": true
30296
+ },
30297
+ "description": "Server-provided non-standard descriptor fields"
30298
+ }
30299
+ },
30300
+ "required": [
30301
+ "name"
30302
+ ],
30303
+ "additionalProperties": false,
30304
+ "description": "An MCP prompt descriptor. Server-provided non-standard fields are exposed under `additionalProperties`.",
30305
+ "title": "McpPrompt"
30306
+ },
30307
+ "McpPromptArgument": {
30308
+ "type": "object",
30309
+ "properties": {
30310
+ "name": {
30311
+ "type": "string",
30312
+ "description": "Name of the argument"
30313
+ },
30314
+ "description": {
30315
+ "type": "string",
30316
+ "description": "Description of the argument"
30317
+ },
30318
+ "required": {
30319
+ "type": "boolean",
30320
+ "description": "Whether the argument is required; omission is distinct from false"
30321
+ },
30322
+ "_meta": {
30323
+ "type": "object",
30324
+ "additionalProperties": {
30325
+ "x-opaque-json": true
30326
+ },
30327
+ "description": "Argument-level metadata"
30328
+ },
30329
+ "additionalProperties": {
30330
+ "type": "object",
30331
+ "additionalProperties": {
30332
+ "x-opaque-json": true
30333
+ },
30334
+ "description": "Server-provided non-standard argument fields"
30335
+ }
30336
+ },
30337
+ "required": [
30338
+ "name"
30339
+ ],
30340
+ "additionalProperties": false,
30341
+ "description": "An argument accepted by an MCP prompt.",
30342
+ "title": "McpPromptArgument"
30343
+ },
30344
+ "McpPromptIcon": {
30345
+ "type": "object",
30346
+ "properties": {
30347
+ "src": {
30348
+ "type": "string",
30349
+ "description": "Icon URI"
30350
+ },
30351
+ "mimeType": {
30352
+ "type": "string",
30353
+ "description": "Icon MIME type, when known"
30354
+ },
30355
+ "sizes": {
30356
+ "type": "array",
30357
+ "items": {
30358
+ "type": "string"
30359
+ },
30360
+ "description": "Icon sizes, such as `48x48` or `any`"
30361
+ },
30362
+ "theme": {
30363
+ "type": "string",
30364
+ "description": "Theme hint for this icon"
30365
+ },
30366
+ "additionalProperties": {
30367
+ "type": "object",
30368
+ "additionalProperties": {
30369
+ "x-opaque-json": true
30370
+ },
30371
+ "description": "Server-provided non-standard icon fields"
30372
+ }
30373
+ },
30374
+ "required": [
30375
+ "src"
30376
+ ],
30377
+ "additionalProperties": false,
30378
+ "description": "An MCP prompt icon with standard size hints and preserved non-standard fields.",
30379
+ "title": "McpPromptIcon"
30380
+ },
30381
+ "McpPromptMessage": {
30382
+ "type": "object",
30383
+ "properties": {
30384
+ "role": {
30385
+ "$ref": "#/definitions/McpPromptRole",
30386
+ "description": "The role of the message sender"
30387
+ },
30388
+ "content": {
30389
+ "description": "The original MCP content block, including nested metadata and unfamiliar content types",
30390
+ "x-opaque-json": true
30391
+ },
30392
+ "_meta": {
30393
+ "type": "object",
30394
+ "additionalProperties": {
30395
+ "x-opaque-json": true
30396
+ },
30397
+ "description": "Message-level metadata"
30398
+ },
30399
+ "additionalProperties": {
30400
+ "type": "object",
30401
+ "additionalProperties": {
30402
+ "x-opaque-json": true
30403
+ },
30404
+ "description": "Server-provided non-standard message fields"
30405
+ }
30406
+ },
30407
+ "required": [
30408
+ "role",
30409
+ "content"
30410
+ ],
30411
+ "additionalProperties": false,
30412
+ "description": "An MCP prompt message with opaque JSON content preserved without flattening or content-type filtering.",
30413
+ "title": "McpPromptMessage"
30414
+ },
30415
+ "McpPromptRole": {
30416
+ "type": "string",
30417
+ "enum": [
30418
+ "user",
30419
+ "assistant"
30420
+ ],
30421
+ "description": "The sender role of an MCP prompt message.",
30422
+ "title": "McpPromptRole",
30423
+ "x-enumDescriptions": {
30424
+ "user": "A message from the user.",
30425
+ "assistant": "A message from the assistant."
30426
+ }
30427
+ },
30428
+ "McpPromptsGetRequest": {
30429
+ "type": "object",
30430
+ "properties": {
30431
+ "serverName": {
30432
+ "type": "string",
30433
+ "minLength": 1,
30434
+ "pattern": "^[^\\x00-\\x1f/\\x7f-\\x9f}]+(?:\\/[^\\x00-\\x1f/\\x7f-\\x9f}]+)*$",
30435
+ "description": "Name of the MCP server hosting the prompt"
30436
+ },
30437
+ "promptName": {
30438
+ "type": "string",
30439
+ "minLength": 1,
30440
+ "description": "The programmatic name of the prompt"
30441
+ },
30442
+ "arguments": {
30443
+ "type": "object",
30444
+ "additionalProperties": {
30445
+ "type": "string"
30446
+ },
30447
+ "description": "String-valued arguments to pass to the prompt"
30448
+ }
30449
+ },
30450
+ "required": [
30451
+ "serverName",
30452
+ "promptName"
30453
+ ],
30454
+ "additionalProperties": false,
30455
+ "description": "MCP server, prompt name, and optional string-valued arguments.",
30456
+ "title": "McpPromptsGetRequest",
30457
+ "stability": "experimental"
30458
+ },
30459
+ "McpPromptsGetResult": {
30460
+ "type": "object",
30461
+ "properties": {
30462
+ "description": {
30463
+ "type": "string",
30464
+ "description": "Description of the prompt"
30465
+ },
30466
+ "messages": {
30467
+ "type": "array",
30468
+ "items": {
30469
+ "$ref": "#/definitions/McpPromptMessage",
30470
+ "description": "An MCP prompt message with opaque JSON content preserved without flattening or content-type filtering."
30471
+ },
30472
+ "description": "Ordered prompt messages"
30473
+ },
30474
+ "_meta": {
30475
+ "type": "object",
30476
+ "additionalProperties": {
30477
+ "x-opaque-json": true
30478
+ },
30479
+ "description": "MCP result metadata"
30480
+ },
30481
+ "additionalProperties": {
30482
+ "type": "object",
30483
+ "additionalProperties": {
30484
+ "x-opaque-json": true
30485
+ },
30486
+ "description": "Server-provided non-standard result fields"
30487
+ }
30488
+ },
30489
+ "required": [
30490
+ "messages"
30491
+ ],
30492
+ "additionalProperties": false,
30493
+ "description": "Prompt messages returned by the MCP server without sending them to the model.",
30494
+ "title": "McpPromptsGetResult"
30495
+ },
30496
+ "McpPromptsListRequest": {
30497
+ "type": "object",
30498
+ "properties": {
30499
+ "serverName": {
30500
+ "type": "string",
30501
+ "minLength": 1,
30502
+ "pattern": "^[^\\x00-\\x1f/\\x7f-\\x9f}]+(?:\\/[^\\x00-\\x1f/\\x7f-\\x9f}]+)*$",
30503
+ "description": "Name of the MCP server whose prompts to enumerate"
30504
+ },
30505
+ "cursor": {
30506
+ "type": "string",
30507
+ "description": "Opaque MCP pagination cursor from a prior `nextCursor` value"
30508
+ }
30509
+ },
30510
+ "required": [
30511
+ "serverName"
30512
+ ],
30513
+ "additionalProperties": false,
30514
+ "description": "MCP server whose prompts to enumerate.",
30515
+ "title": "McpPromptsListRequest",
30516
+ "stability": "experimental"
30517
+ },
30518
+ "McpPromptsListResult": {
30519
+ "type": "object",
30520
+ "properties": {
30521
+ "prompts": {
30522
+ "type": "array",
30523
+ "items": {
30524
+ "$ref": "#/definitions/McpPrompt",
30525
+ "description": "An MCP prompt descriptor. Server-provided non-standard fields are exposed under `additionalProperties`."
30526
+ },
30527
+ "description": "Prompts advertised by the server"
30528
+ },
30529
+ "nextCursor": {
30530
+ "type": "string",
30531
+ "description": "Opaque cursor for the next page, if the server has more prompts"
30532
+ },
30533
+ "_meta": {
30534
+ "type": "object",
30535
+ "additionalProperties": {
30536
+ "x-opaque-json": true
30537
+ },
30538
+ "description": "MCP result metadata"
30539
+ },
30540
+ "additionalProperties": {
30541
+ "type": "object",
30542
+ "additionalProperties": {
30543
+ "x-opaque-json": true
30544
+ },
30545
+ "description": "Server-provided non-standard result fields"
30546
+ }
30547
+ },
30548
+ "required": [
30549
+ "prompts"
30550
+ ],
30551
+ "additionalProperties": false,
30552
+ "description": "One page of prompts advertised by the named MCP server.",
30553
+ "title": "McpPromptsListResult"
30554
+ },
30098
30555
  "McpRegisterExternalClientRequest": {
30099
30556
  "type": "object",
30100
30557
  "properties": {
@@ -45603,7 +46060,7 @@
45603
46060
  "command"
45604
46061
  ],
45605
46062
  "additionalProperties": false,
45606
- "description": "Shell command to run, with optional working directory and timeout in milliseconds.",
46063
+ "description": "Shell command to run, with optional working directory and timeout in milliseconds. Spawn failures return an RPC error.",
45607
46064
  "title": "ShellExecRequest",
45608
46065
  "stability": "experimental"
45609
46066
  },
@@ -45612,14 +46069,14 @@
45612
46069
  "properties": {
45613
46070
  "processId": {
45614
46071
  "type": "string",
45615
- "description": "Unique identifier for tracking streamed output"
46072
+ "description": "Identifier usable with shell.kill while the process is running"
45616
46073
  }
45617
46074
  },
45618
46075
  "required": [
45619
46076
  "processId"
45620
46077
  ],
45621
46078
  "additionalProperties": false,
45622
- "description": "Identifier of the spawned process, used to correlate streamed output and exit notifications.",
46079
+ "description": "Identifier of the spawned shell process, usable with shell.kill while the process is running.",
45623
46080
  "title": "ShellExecResult"
45624
46081
  },
45625
46082
  "ShellExecuteUserRequestedRequest": {
@@ -3070,6 +3070,10 @@
3070
3070
  "type": "string",
3071
3071
  "description": "Server-provided reason for falling back, when available"
3072
3072
  },
3073
+ "selectionReason": {
3074
+ "type": "string",
3075
+ "description": "Short human-readable sentence from the routing service explaining why this model was chosen, for display alongside the model. Present only when the service supplied one: it is omitted for on-device selections, when the service did not provide an explanation, and when a replayed decision made no routing call. The text is display-only and drawn from a fixed catalogue; several distinct routing categories share identical wording, so it cannot be used to recover the category or keyed on programmatically."
3076
+ },
3073
3077
  "stickyOverride": {
3074
3078
  "type": "boolean",
3075
3079
  "description": "Whether a sticky model choice overrode the router result"
@@ -15725,6 +15729,15 @@
15725
15729
  "description": "Raw names of tools redefined since the prior call, restricted because a tool name can be user-authored",
15726
15730
  "visibility": "internal"
15727
15731
  },
15732
+ "toolsRedefinedParts": {
15733
+ "type": "array",
15734
+ "items": {
15735
+ "type": "string"
15736
+ },
15737
+ "default": [],
15738
+ "description": "Changed definition parts of redefined tools, as `tool:part` entries; property-level parts only for telemetry-safe tools, whose other names are hashed",
15739
+ "visibility": "internal"
15740
+ },
15728
15741
  "toolsReordered": {
15729
15742
  "type": "boolean",
15730
15743
  "default": false,
@@ -22097,6 +22110,11 @@
22097
22110
  "progressMessage": {
22098
22111
  "type": "string",
22099
22112
  "description": "Human-readable progress status message (e.g., from an MCP server)"
22113
+ },
22114
+ "structuredContent": {
22115
+ "description": "Client-only structured progress metadata. Not model-facing tool output.",
22116
+ "x-opaque-json": true,
22117
+ "stability": "experimental"
22100
22118
  }
22101
22119
  },
22102
22120
  "required": [
Binary file