@vscode/chat-lib 0.50.2026052804 → 0.51.2026060204

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.
Files changed (76) hide show
  1. package/dist/src/_internal/extension/byok/node/openAIEndpoint.d.ts.map +1 -1
  2. package/dist/src/_internal/extension/byok/node/openAIEndpoint.js +13 -2
  3. package/dist/src/_internal/extension/byok/node/openAIEndpoint.js.map +1 -1
  4. package/dist/src/_internal/extension/completions-core/vscode-node/lib/src/ghostText/ghostText.d.ts.map +1 -1
  5. package/dist/src/_internal/extension/completions-core/vscode-node/lib/src/ghostText/ghostText.js +5 -0
  6. package/dist/src/_internal/extension/completions-core/vscode-node/lib/src/ghostText/ghostText.js.map +1 -1
  7. package/dist/src/_internal/extension/conversation/common/languageModelAccess.d.ts +75 -0
  8. package/dist/src/_internal/extension/conversation/common/languageModelAccess.d.ts.map +1 -0
  9. package/dist/src/_internal/extension/conversation/common/languageModelAccess.js +217 -0
  10. package/dist/src/_internal/extension/conversation/common/languageModelAccess.js.map +1 -0
  11. package/dist/src/_internal/extension/prompt/node/chatMLFetcher.d.ts.map +1 -1
  12. package/dist/src/_internal/extension/prompt/node/chatMLFetcher.js +9 -9
  13. package/dist/src/_internal/extension/prompt/node/chatMLFetcher.js.map +1 -1
  14. package/dist/src/_internal/extension/prompt/node/chatMLFetcherTelemetry.d.ts.map +1 -1
  15. package/dist/src/_internal/extension/prompt/node/chatMLFetcherTelemetry.js +16 -0
  16. package/dist/src/_internal/extension/prompt/node/chatMLFetcherTelemetry.js.map +1 -1
  17. package/dist/src/_internal/extension/xtab/common/promptCrafting.d.ts.map +1 -1
  18. package/dist/src/_internal/extension/xtab/common/promptCrafting.js +8 -2
  19. package/dist/src/_internal/extension/xtab/common/promptCrafting.js.map +1 -1
  20. package/dist/src/_internal/extension/xtab/node/xtabProvider.d.ts.map +1 -1
  21. package/dist/src/_internal/extension/xtab/node/xtabProvider.js +3 -4
  22. package/dist/src/_internal/extension/xtab/node/xtabProvider.js.map +1 -1
  23. package/dist/src/_internal/platform/chat/common/commonTypes.d.ts.map +1 -1
  24. package/dist/src/_internal/platform/chat/common/commonTypes.js +5 -1
  25. package/dist/src/_internal/platform/chat/common/commonTypes.js.map +1 -1
  26. package/dist/src/_internal/platform/configuration/common/configurationService.d.ts +12 -1
  27. package/dist/src/_internal/platform/configuration/common/configurationService.d.ts.map +1 -1
  28. package/dist/src/_internal/platform/configuration/common/configurationService.js +13 -2
  29. package/dist/src/_internal/platform/configuration/common/configurationService.js.map +1 -1
  30. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.js +1 -1
  31. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.js.map +1 -1
  32. package/dist/src/_internal/platform/endpoint/node/chatEndpoint.d.ts.map +1 -1
  33. package/dist/src/_internal/platform/endpoint/node/chatEndpoint.js +6 -49
  34. package/dist/src/_internal/platform/endpoint/node/chatEndpoint.js.map +1 -1
  35. package/dist/src/_internal/platform/endpoint/node/messagesApi.d.ts +17 -0
  36. package/dist/src/_internal/platform/endpoint/node/messagesApi.d.ts.map +1 -1
  37. package/dist/src/_internal/platform/endpoint/node/messagesApi.js +21 -1
  38. package/dist/src/_internal/platform/endpoint/node/messagesApi.js.map +1 -1
  39. package/dist/src/_internal/platform/endpoint/node/responsesApi.d.ts.map +1 -1
  40. package/dist/src/_internal/platform/endpoint/node/responsesApi.js +19 -0
  41. package/dist/src/_internal/platform/endpoint/node/responsesApi.js.map +1 -1
  42. package/dist/src/_internal/platform/image/common/imageTelemetry.d.ts +4 -0
  43. package/dist/src/_internal/platform/image/common/imageTelemetry.d.ts.map +1 -1
  44. package/dist/src/_internal/platform/image/common/imageTelemetry.js +76 -1
  45. package/dist/src/_internal/platform/image/common/imageTelemetry.js.map +1 -1
  46. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/xtabPromptOptions.d.ts +6 -0
  47. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/xtabPromptOptions.d.ts.map +1 -1
  48. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/xtabPromptOptions.js +49 -0
  49. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/xtabPromptOptions.js.map +1 -1
  50. package/dist/src/_internal/platform/networking/common/openai.d.ts +13 -0
  51. package/dist/src/_internal/platform/networking/common/openai.d.ts.map +1 -1
  52. package/dist/src/_internal/platform/networking/common/openai.js.map +1 -1
  53. package/dist/src/_internal/platform/otel/common/index.d.ts +1 -0
  54. package/dist/src/_internal/platform/otel/common/index.d.ts.map +1 -1
  55. package/dist/src/_internal/platform/otel/common/index.js +3 -1
  56. package/dist/src/_internal/platform/otel/common/index.js.map +1 -1
  57. package/dist/src/_internal/platform/otel/common/responseModel.d.ts +17 -0
  58. package/dist/src/_internal/platform/otel/common/responseModel.d.ts.map +1 -0
  59. package/dist/src/_internal/platform/otel/common/responseModel.js +44 -0
  60. package/dist/src/_internal/platform/otel/common/responseModel.js.map +1 -0
  61. package/dist/src/_internal/platform/thinking/common/thinking.d.ts +4 -0
  62. package/dist/src/_internal/platform/thinking/common/thinking.d.ts.map +1 -1
  63. package/dist/src/_internal/platform/thinking/common/thinking.js.map +1 -1
  64. package/dist/src/_internal/platform/thinking/common/thinkingUtils.d.ts.map +1 -1
  65. package/dist/src/_internal/platform/thinking/common/thinkingUtils.js +6 -0
  66. package/dist/src/_internal/platform/thinking/common/thinkingUtils.js.map +1 -1
  67. package/dist/src/_internal/util/common/imageUtils.d.ts +4 -0
  68. package/dist/src/_internal/util/common/imageUtils.d.ts.map +1 -1
  69. package/dist/src/_internal/util/common/imageUtils.js +76 -24
  70. package/dist/src/_internal/util/common/imageUtils.js.map +1 -1
  71. package/dist/src/main.d.ts +7 -0
  72. package/dist/src/main.d.ts.map +1 -1
  73. package/dist/src/main.js +1 -0
  74. package/dist/src/main.js.map +1 -1
  75. package/dist/src/package.json +75 -4
  76. package/package.json +2 -2
@@ -2,7 +2,7 @@
2
2
  "name": "copilot-chat",
3
3
  "displayName": "GitHub Copilot Chat",
4
4
  "description": "AI chat features powered by Copilot",
5
- "version": "0.50.2026052804",
5
+ "version": "0.51.2026060204",
6
6
  "build": "1",
7
7
  "completionsCoreVersion": "1.378.1799",
8
8
  "internalLargeStorageAriaKey": "ec712b3202c5462fb6877acae7f1f9d7-c19ad55e-3e3c-4f99-984b-827f6d95bd9e-6917",
@@ -22,7 +22,7 @@
22
22
  "icon": "assets/copilot.png",
23
23
  "pricing": "Trial",
24
24
  "engines": {
25
- "vscode": "^1.122.0",
25
+ "vscode": "^1.123.0",
26
26
  "npm": ">=9.0.0",
27
27
  "node": ">=22.14.0"
28
28
  },
@@ -1262,6 +1262,18 @@
1262
1262
  "description": {
1263
1263
  "type": "string",
1264
1264
  "description": "A 2-5 word summary of what this call does (e.g. 'Recent sessions overview', 'Generate standup', 'Reindex sessions')."
1265
+ },
1266
+ "subcommand": {
1267
+ "type": "string",
1268
+ "enum": [
1269
+ "standup",
1270
+ "tips",
1271
+ "cost-tips",
1272
+ "search",
1273
+ "improve",
1274
+ "reindex"
1275
+ ],
1276
+ "description": "The chronicle subcommand that triggered this call (e.g. 'tips' for /chronicle tips). Used for telemetry attribution only — pass this whenever the call originates from a /chronicle slash command."
1265
1277
  }
1266
1278
  },
1267
1279
  "required": [
@@ -3429,6 +3441,24 @@
3429
3441
  ],
3430
3442
  "markdownDescription": "%github.copilot.config.claudeAgent.allowAutoPermissions%"
3431
3443
  },
3444
+ "github.copilot.chat.claudeAgent.useSdkExtension": {
3445
+ "type": "boolean",
3446
+ "default": false,
3447
+ "tags": [
3448
+ "preview",
3449
+ "onExp"
3450
+ ],
3451
+ "markdownDescription": "%github.copilot.config.claudeAgent.useSdkExtension%"
3452
+ },
3453
+ "github.copilot.chat.claudeAgent.sdkExtensionInstallTimeout": {
3454
+ "type": "number",
3455
+ "default": 120000,
3456
+ "minimum": 1000,
3457
+ "tags": [
3458
+ "preview"
3459
+ ],
3460
+ "markdownDescription": "%github.copilot.config.claudeAgent.sdkExtensionInstallTimeout%"
3461
+ },
3432
3462
  "github.copilot.chat.copilotDebugCommand.enabled": {
3433
3463
  "type": "boolean",
3434
3464
  "default": true,
@@ -4032,6 +4062,15 @@
4032
4062
  "onExp"
4033
4063
  ]
4034
4064
  },
4065
+ "github.copilot.chat.gemini3GetChangedFilesTool.enabled": {
4066
+ "type": "boolean",
4067
+ "default": true,
4068
+ "markdownDescription": "%github.copilot.config.gemini3GetChangedFilesTool.enabled%",
4069
+ "tags": [
4070
+ "experimental",
4071
+ "onExp"
4072
+ ]
4073
+ },
4035
4074
  "github.copilot.chat.gpt55ReadFileTool.enabled": {
4036
4075
  "type": "boolean",
4037
4076
  "default": true,
@@ -4602,6 +4641,26 @@
4602
4641
  "onExp"
4603
4642
  ]
4604
4643
  },
4644
+ "github.copilot.chat.agent.longToolCallCachePreservation.enabled": {
4645
+ "type": "boolean",
4646
+ "default": false,
4647
+ "markdownDescription": "%github.copilot.config.agent.longToolCallCachePreservation.enabled%",
4648
+ "tags": [
4649
+ "advanced",
4650
+ "experimental",
4651
+ "onExp"
4652
+ ]
4653
+ },
4654
+ "github.copilot.chat.agent.longToolCallCachePreservation.maxProbes": {
4655
+ "type": "number",
4656
+ "default": 1,
4657
+ "markdownDescription": "%github.copilot.config.agent.longToolCallCachePreservation.maxProbes%",
4658
+ "tags": [
4659
+ "advanced",
4660
+ "experimental",
4661
+ "onExp"
4662
+ ]
4663
+ },
4605
4664
  "github.copilot.chat.agent.largeToolResultsToDisk.enabled": {
4606
4665
  "type": "boolean",
4607
4666
  "default": true,
@@ -4682,7 +4741,7 @@
4682
4741
  },
4683
4742
  "github.copilot.chat.executionSubagent.model": {
4684
4743
  "type": "string",
4685
- "default": "",
4744
+ "default": "gemini-3-flash",
4686
4745
  "markdownDescription": "%github.copilot.config.executionSubagent.model%",
4687
4746
  "tags": [
4688
4747
  "advanced",
@@ -6106,6 +6165,18 @@
6106
6165
  "group": "1_edit@10"
6107
6166
  }
6108
6167
  ],
6168
+ "chatSessions/item/context": [
6169
+ {
6170
+ "command": "github.copilot.claude.sessions.rename",
6171
+ "when": "chatSessionType == claude-code",
6172
+ "group": "1_edit@4"
6173
+ },
6174
+ {
6175
+ "command": "github.copilot.cli.sessions.rename",
6176
+ "when": "chatSessionType == copilotcli",
6177
+ "group": "1_edit@4"
6178
+ }
6179
+ ],
6109
6180
  "chat/multiDiff/context": [
6110
6181
  {
6111
6182
  "command": "github.copilot.cloud.sessions.installPRExtension",
@@ -6909,7 +6980,7 @@
6909
6980
  "@opentelemetry/sdk-trace-node": "^2.5.1",
6910
6981
  "@opentelemetry/semantic-conventions": "^1.39.0",
6911
6982
  "@sinclair/typebox": "^0.34.41",
6912
- "@vscode/copilot-api": "^0.4.1",
6983
+ "@vscode/copilot-api": "^0.4.3",
6913
6984
  "@vscode/extension-telemetry": "^1.5.1",
6914
6985
  "@vscode/l10n": "^0.0.18",
6915
6986
  "@vscode/prompt-tsx": "^0.4.0-alpha.8",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vscode/chat-lib",
3
- "version": "0.50.2026052804",
3
+ "version": "0.51.2026060204",
4
4
  "description": "Chat and inline editing SDK extracted from VS Code Copilot Chat",
5
5
  "main": "dist/src/main.js",
6
6
  "types": "dist/src/main.d.ts",
@@ -16,7 +16,7 @@
16
16
  "dependencies": {
17
17
  "@microsoft/tiktokenizer": "^1.0.10",
18
18
  "@sinclair/typebox": "^0.34.41",
19
- "@vscode/copilot-api": "^0.4.1",
19
+ "@vscode/copilot-api": "^0.4.3",
20
20
  "@vscode/l10n": "^0.0.18",
21
21
  "@vscode/prompt-tsx": "^0.4.0-alpha.8",
22
22
  "@vscode/tree-sitter-wasm": "0.0.5-php.2",