@vscode/chat-lib 0.41.2026032403 → 0.42.0

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 (148) hide show
  1. package/dist/src/_internal/extension/inlineEdits/common/editRebase.d.ts +4 -5
  2. package/dist/src/_internal/extension/inlineEdits/common/editRebase.d.ts.map +1 -1
  3. package/dist/src/_internal/extension/inlineEdits/common/editRebase.js +8 -3
  4. package/dist/src/_internal/extension/inlineEdits/common/editRebase.js.map +1 -1
  5. package/dist/src/_internal/extension/inlineEdits/node/nextEditProvider.js +1 -1
  6. package/dist/src/_internal/extension/inlineEdits/node/nextEditProvider.js.map +1 -1
  7. package/dist/src/_internal/extension/prompt/node/chatMLFetcher.d.ts +2 -0
  8. package/dist/src/_internal/extension/prompt/node/chatMLFetcher.d.ts.map +1 -1
  9. package/dist/src/_internal/extension/prompt/node/chatMLFetcher.js +153 -11
  10. package/dist/src/_internal/extension/prompt/node/chatMLFetcher.js.map +1 -1
  11. package/dist/src/_internal/extension/xtab/common/lintErrors.d.ts +13 -1
  12. package/dist/src/_internal/extension/xtab/common/lintErrors.d.ts.map +1 -1
  13. package/dist/src/_internal/extension/xtab/common/lintErrors.js +67 -4
  14. package/dist/src/_internal/extension/xtab/common/lintErrors.js.map +1 -1
  15. package/dist/src/_internal/extension/xtab/common/promptCrafting.d.ts +3 -4
  16. package/dist/src/_internal/extension/xtab/common/promptCrafting.d.ts.map +1 -1
  17. package/dist/src/_internal/extension/xtab/common/promptCrafting.js +3 -2
  18. package/dist/src/_internal/extension/xtab/common/promptCrafting.js.map +1 -1
  19. package/dist/src/_internal/extension/xtab/node/xtabCustomDiffPatchResponseHandler.d.ts.map +1 -1
  20. package/dist/src/_internal/extension/xtab/node/xtabCustomDiffPatchResponseHandler.js +2 -3
  21. package/dist/src/_internal/extension/xtab/node/xtabCustomDiffPatchResponseHandler.js.map +1 -1
  22. package/dist/src/_internal/extension/xtab/node/xtabNextCursorPredictor.js +3 -3
  23. package/dist/src/_internal/extension/xtab/node/xtabNextCursorPredictor.js.map +1 -1
  24. package/dist/src/_internal/extension/xtab/node/xtabProvider.d.ts +2 -0
  25. package/dist/src/_internal/extension/xtab/node/xtabProvider.d.ts.map +1 -1
  26. package/dist/src/_internal/extension/xtab/node/xtabProvider.js +36 -8
  27. package/dist/src/_internal/extension/xtab/node/xtabProvider.js.map +1 -1
  28. package/dist/src/_internal/platform/authentication/common/authentication.d.ts +14 -6
  29. package/dist/src/_internal/platform/authentication/common/authentication.d.ts.map +1 -1
  30. package/dist/src/_internal/platform/authentication/common/authentication.js.map +1 -1
  31. package/dist/src/_internal/platform/authentication/common/copilotToken.d.ts +6 -0
  32. package/dist/src/_internal/platform/authentication/common/copilotToken.d.ts.map +1 -1
  33. package/dist/src/_internal/platform/authentication/common/copilotToken.js +1 -0
  34. package/dist/src/_internal/platform/authentication/common/copilotToken.js.map +1 -1
  35. package/dist/src/_internal/platform/authentication/common/staticGitHubAuthenticationService.d.ts +4 -4
  36. package/dist/src/_internal/platform/authentication/common/staticGitHubAuthenticationService.d.ts.map +1 -1
  37. package/dist/src/_internal/platform/authentication/common/staticGitHubAuthenticationService.js.map +1 -1
  38. package/dist/src/_internal/platform/authentication/node/copilotTokenManager.d.ts.map +1 -1
  39. package/dist/src/_internal/platform/authentication/node/copilotTokenManager.js +1 -7
  40. package/dist/src/_internal/platform/authentication/node/copilotTokenManager.js.map +1 -1
  41. package/dist/src/_internal/platform/chat/common/chatQuotaService.d.ts +14 -0
  42. package/dist/src/_internal/platform/chat/common/chatQuotaService.d.ts.map +1 -1
  43. package/dist/src/_internal/platform/chat/common/chatQuotaService.js.map +1 -1
  44. package/dist/src/_internal/platform/chat/common/chatQuotaServiceImpl.d.ts +2 -1
  45. package/dist/src/_internal/platform/chat/common/chatQuotaServiceImpl.d.ts.map +1 -1
  46. package/dist/src/_internal/platform/chat/common/chatQuotaServiceImpl.js +24 -0
  47. package/dist/src/_internal/platform/chat/common/chatQuotaServiceImpl.js.map +1 -1
  48. package/dist/src/_internal/platform/chat/common/commonTypes.d.ts +2 -2
  49. package/dist/src/_internal/platform/chat/common/commonTypes.d.ts.map +1 -1
  50. package/dist/src/_internal/platform/chat/common/commonTypes.js +29 -17
  51. package/dist/src/_internal/platform/chat/common/commonTypes.js.map +1 -1
  52. package/dist/src/_internal/platform/configuration/common/configurationService.d.ts +14 -8
  53. package/dist/src/_internal/platform/configuration/common/configurationService.d.ts.map +1 -1
  54. package/dist/src/_internal/platform/configuration/common/configurationService.js +13 -7
  55. package/dist/src/_internal/platform/configuration/common/configurationService.js.map +1 -1
  56. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.d.ts +4 -0
  57. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.d.ts.map +1 -1
  58. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.js +25 -3
  59. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.js.map +1 -1
  60. package/dist/src/_internal/platform/endpoint/node/chatEndpoint.d.ts.map +1 -1
  61. package/dist/src/_internal/platform/endpoint/node/chatEndpoint.js +0 -13
  62. package/dist/src/_internal/platform/endpoint/node/chatEndpoint.js.map +1 -1
  63. package/dist/src/_internal/platform/endpoint/node/messagesApi.d.ts +11 -2
  64. package/dist/src/_internal/platform/endpoint/node/messagesApi.d.ts.map +1 -1
  65. package/dist/src/_internal/platform/endpoint/node/messagesApi.js +35 -26
  66. package/dist/src/_internal/platform/endpoint/node/messagesApi.js.map +1 -1
  67. package/dist/src/_internal/platform/endpoint/node/responsesApi.d.ts.map +1 -1
  68. package/dist/src/_internal/platform/endpoint/node/responsesApi.js +5 -1
  69. package/dist/src/_internal/platform/endpoint/node/responsesApi.js.map +1 -1
  70. package/dist/src/_internal/platform/git/common/gitService.d.ts +5 -0
  71. package/dist/src/_internal/platform/git/common/gitService.d.ts.map +1 -1
  72. package/dist/src/_internal/platform/git/common/gitService.js.map +1 -1
  73. package/dist/src/_internal/platform/github/common/githubAPI.d.ts +8 -0
  74. package/dist/src/_internal/platform/github/common/githubAPI.d.ts.map +1 -1
  75. package/dist/src/_internal/platform/github/common/githubAPI.js +21 -0
  76. package/dist/src/_internal/platform/github/common/githubAPI.js.map +1 -1
  77. package/dist/src/_internal/platform/github/common/githubService.d.ts +6 -5
  78. package/dist/src/_internal/platform/github/common/githubService.d.ts.map +1 -1
  79. package/dist/src/_internal/platform/github/common/githubService.js +0 -3
  80. package/dist/src/_internal/platform/github/common/githubService.js.map +1 -1
  81. package/dist/src/_internal/platform/github/common/nullOctokitServiceImpl.d.ts +0 -1
  82. package/dist/src/_internal/platform/github/common/nullOctokitServiceImpl.d.ts.map +1 -1
  83. package/dist/src/_internal/platform/github/common/nullOctokitServiceImpl.js +0 -3
  84. package/dist/src/_internal/platform/github/common/nullOctokitServiceImpl.js.map +1 -1
  85. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/nextCursorLinePrediction.d.ts +7 -0
  86. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/nextCursorLinePrediction.d.ts.map +1 -1
  87. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/nextCursorLinePrediction.js +10 -1
  88. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/nextCursorLinePrediction.js.map +1 -1
  89. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/xtabPromptOptions.d.ts +5 -3
  90. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/xtabPromptOptions.d.ts.map +1 -1
  91. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/xtabPromptOptions.js +10 -8
  92. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/xtabPromptOptions.js.map +1 -1
  93. package/dist/src/_internal/platform/inlineEdits/common/inlineEditLogContext.d.ts +8 -0
  94. package/dist/src/_internal/platform/inlineEdits/common/inlineEditLogContext.d.ts.map +1 -1
  95. package/dist/src/_internal/platform/inlineEdits/common/inlineEditLogContext.js +35 -0
  96. package/dist/src/_internal/platform/inlineEdits/common/inlineEditLogContext.js.map +1 -1
  97. package/dist/src/_internal/platform/networking/common/anthropic.d.ts +0 -7
  98. package/dist/src/_internal/platform/networking/common/anthropic.d.ts.map +1 -1
  99. package/dist/src/_internal/platform/networking/common/anthropic.js +1 -49
  100. package/dist/src/_internal/platform/networking/common/anthropic.js.map +1 -1
  101. package/dist/src/_internal/platform/networking/common/networking.d.ts +1 -0
  102. package/dist/src/_internal/platform/networking/common/networking.d.ts.map +1 -1
  103. package/dist/src/_internal/platform/networking/common/networking.js.map +1 -1
  104. package/dist/src/_internal/platform/networking/common/toolDeferralService.d.ts +11 -0
  105. package/dist/src/_internal/platform/networking/common/toolDeferralService.d.ts.map +1 -0
  106. package/dist/src/_internal/platform/networking/common/toolDeferralService.js +10 -0
  107. package/dist/src/_internal/platform/networking/common/toolDeferralService.js.map +1 -0
  108. package/dist/src/_internal/platform/networking/node/chatWebSocketManager.d.ts +43 -8
  109. package/dist/src/_internal/platform/networking/node/chatWebSocketManager.d.ts.map +1 -1
  110. package/dist/src/_internal/platform/networking/node/chatWebSocketManager.js +101 -51
  111. package/dist/src/_internal/platform/networking/node/chatWebSocketManager.js.map +1 -1
  112. package/dist/src/_internal/platform/networking/node/chatWebSocketTelemetry.d.ts +1 -1
  113. package/dist/src/_internal/platform/networking/node/chatWebSocketTelemetry.d.ts.map +1 -1
  114. package/dist/src/_internal/platform/networking/node/chatWebSocketTelemetry.js +2 -2
  115. package/dist/src/_internal/platform/otel/common/genAiAttributes.d.ts +12 -0
  116. package/dist/src/_internal/platform/otel/common/genAiAttributes.d.ts.map +1 -1
  117. package/dist/src/_internal/platform/otel/common/genAiAttributes.js +10 -0
  118. package/dist/src/_internal/platform/otel/common/genAiAttributes.js.map +1 -1
  119. package/dist/src/_internal/platform/otel/common/genAiEvents.d.ts +6 -0
  120. package/dist/src/_internal/platform/otel/common/genAiEvents.d.ts.map +1 -1
  121. package/dist/src/_internal/platform/otel/common/genAiEvents.js +69 -0
  122. package/dist/src/_internal/platform/otel/common/genAiEvents.js.map +1 -1
  123. package/dist/src/_internal/platform/otel/common/genAiMetrics.d.ts +18 -0
  124. package/dist/src/_internal/platform/otel/common/genAiMetrics.d.ts.map +1 -1
  125. package/dist/src/_internal/platform/otel/common/genAiMetrics.js +73 -0
  126. package/dist/src/_internal/platform/otel/common/genAiMetrics.js.map +1 -1
  127. package/dist/src/_internal/platform/otel/common/otelConfig.d.ts +4 -0
  128. package/dist/src/_internal/platform/otel/common/otelConfig.d.ts.map +1 -1
  129. package/dist/src/_internal/platform/otel/common/otelConfig.js +15 -3
  130. package/dist/src/_internal/platform/otel/common/otelConfig.js.map +1 -1
  131. package/dist/src/_internal/platform/requestLogger/common/capturingToken.d.ts +0 -20
  132. package/dist/src/_internal/platform/requestLogger/common/capturingToken.d.ts.map +1 -1
  133. package/dist/src/_internal/platform/requestLogger/common/capturingToken.js +0 -12
  134. package/dist/src/_internal/platform/requestLogger/common/capturingToken.js.map +1 -1
  135. package/dist/src/_internal/platform/requestLogger/node/requestLogger.d.ts +15 -3
  136. package/dist/src/_internal/platform/requestLogger/node/requestLogger.d.ts.map +1 -1
  137. package/dist/src/_internal/platform/requestLogger/node/requestLogger.js +8 -0
  138. package/dist/src/_internal/platform/requestLogger/node/requestLogger.js.map +1 -1
  139. package/dist/src/_internal/util/common/test/shims/chatTypes.d.ts +2 -1
  140. package/dist/src/_internal/util/common/test/shims/chatTypes.d.ts.map +1 -1
  141. package/dist/src/_internal/util/common/test/shims/chatTypes.js +2 -1
  142. package/dist/src/_internal/util/common/test/shims/chatTypes.js.map +1 -1
  143. package/dist/src/main.d.ts +3 -1
  144. package/dist/src/main.d.ts.map +1 -1
  145. package/dist/src/main.js +60 -3
  146. package/dist/src/main.js.map +1 -1
  147. package/dist/src/package.json +142 -92
  148. package/package.json +1 -1
@@ -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.41.0",
5
+ "version": "0.42.0",
6
6
  "build": "1",
7
7
  "internalAIKey": "1058ec22-3c95-4951-8443-f26c1f325911",
8
8
  "completionsCoreVersion": "1.378.1799",
@@ -145,7 +145,8 @@
145
145
  "tabInputMultiDiff",
146
146
  "workspaceTrust",
147
147
  "environmentPower",
148
- "terminalTitle"
148
+ "terminalTitle",
149
+ "toolInvocationApproveCombination"
149
150
  ],
150
151
  "contributes": {
151
152
  "languageModelTools": [
@@ -178,10 +179,9 @@
178
179
  "toolReferenceName": "executionSubagent",
179
180
  "displayName": "%copilot.tools.executionSubagent.name%",
180
181
  "icon": "$(play)",
181
- "canBeReferencedInPrompt": true,
182
182
  "userDescription": "%copilot.tools.executionSubagent.description%",
183
183
  "modelDescription": "Launch an iterative execution-focused subagent that performs an execution-based task.\nUSE THIS INSTEAD OF RUNNING INDIVIDUAL COMMANDS WITH run_in_terminal EXCEPT IN THE RARE CASES THAT YOU NEED THE FULL OUTPUT OF A COMMAND.\nHere are some examples of how it can be used:\n- Run tests and filter the output to summarize which tests failed and why.\n- Install all dependencies of a project.\nReturns: A list of commands that were run, along with relevant excerpts of each command's output.\nInput fields:\n- query: What to execute, and what to look for in the output. Can include exact commands to run, or a description of an execution task.\n- description: Short user-visible invocation message.\nNOTE: In the subagent query, make sure to specify any restrictions or guidelines on running commands provided by the user earlier in the conversation.\nFor example, if the user instructs the agent to not edit files in a particular directory, make sure to include that instruction in the subagent query when relevant.",
184
- "when": "config.github.copilot.chat.enableExecutionSubagent",
184
+ "when": "config.github.copilot.chat.executionSubagent.enabled",
185
185
  "inputSchema": {
186
186
  "type": "object",
187
187
  "properties": {
@@ -1236,7 +1236,8 @@
1236
1236
  "description": "",
1237
1237
  "tools": [
1238
1238
  "runNotebookCell",
1239
- "testFailure"
1239
+ "testFailure",
1240
+ "executionSubagent"
1240
1241
  ]
1241
1242
  },
1242
1243
  {
@@ -2190,6 +2191,11 @@
2190
2191
  "icon": "$(edit)",
2191
2192
  "category": "Copilot CLI"
2192
2193
  },
2194
+ {
2195
+ "command": "github.copilot.cli.sessions.setTitle",
2196
+ "title": "%github.copilot.command.cli.sessions.setTitle%",
2197
+ "category": "Copilot CLI"
2198
+ },
2193
2199
  {
2194
2200
  "command": "github.copilot.claude.sessions.rename",
2195
2201
  "title": "%github.copilot.command.claude.sessions.rename%",
@@ -2563,12 +2569,6 @@
2563
2569
  "category": "Chat",
2564
2570
  "enablement": "resourceScheme == 'ccreq'"
2565
2571
  },
2566
- {
2567
- "command": "github.copilot.buildLocalWorkspaceIndex",
2568
- "title": "%github.copilot.command.buildLocalWorkspaceIndex%",
2569
- "category": "Chat",
2570
- "enablement": "github.copilot-chat.activated"
2571
- },
2572
2572
  {
2573
2573
  "command": "github.copilot.buildRemoteWorkspaceIndex",
2574
2574
  "title": "%github.copilot.command.buildRemoteWorkspaceIndex%",
@@ -2675,14 +2675,10 @@
2675
2675
  "icon": "$(export)"
2676
2676
  },
2677
2677
  {
2678
- "command": "github.copilot.chat.debug.exportTrajectories",
2679
- "title": "Export Agent Trajectories",
2680
- "category": "Chat"
2681
- },
2682
- {
2683
- "command": "github.copilot.chat.debug.exportSingleTrajectory",
2684
- "title": "Export Trajectory...",
2685
- "category": "Chat"
2678
+ "command": "github.copilot.chat.otel.exportAgentTracesDB",
2679
+ "title": "Export Agent Traces DB",
2680
+ "category": "Chat",
2681
+ "enablement": "config.github.copilot.chat.otel.dbSpanExporter.enabled"
2686
2682
  },
2687
2683
  {
2688
2684
  "command": "github.copilot.nes.captureExpected.start",
@@ -2830,6 +2826,20 @@
2830
2826
  "icon": "$(download)",
2831
2827
  "category": "GitHub Copilot"
2832
2828
  },
2829
+ {
2830
+ "command": "github.copilot.sessions.commitChanges",
2831
+ "title": "%github.copilot.command.sessions.commitChanges%",
2832
+ "enablement": "!chatSessionRequestInProgress",
2833
+ "icon": "$(git-commit)",
2834
+ "category": "GitHub Copilot"
2835
+ },
2836
+ {
2837
+ "command": "github.copilot.sessions.discardChanges",
2838
+ "title": "%github.copilot.command.sessions.discardChanges%",
2839
+ "enablement": "!chatSessionRequestInProgress",
2840
+ "icon": "$(discard)",
2841
+ "category": "GitHub Copilot"
2842
+ },
2833
2843
  {
2834
2844
  "command": "github.copilot.chat.createPullRequestCopilotCLIAgentSession.createPR",
2835
2845
  "title": "%github.copilot.chat.createPullRequestCopilotCLIAgentSession.createPR%",
@@ -2841,7 +2851,7 @@
2841
2851
  "command": "github.copilot.chat.createPullRequestCopilotCLIAgentSession.updatePR",
2842
2852
  "title": "%github.copilot.chat.createPullRequestCopilotCLIAgentSession.updatePR%",
2843
2853
  "enablement": "!chatSessionRequestInProgress",
2844
- "icon": "$(git-pull-request)",
2854
+ "icon": "$(sync)",
2845
2855
  "category": "GitHub Copilot"
2846
2856
  },
2847
2857
  {
@@ -2900,6 +2910,12 @@
2900
2910
  "command": "github.copilot.chat.cloudSessions.clearCaches",
2901
2911
  "title": "%github.copilot.command.cloudSessions.clearCaches.title%",
2902
2912
  "category": "GitHub Copilot"
2913
+ },
2914
+ {
2915
+ "command": "github.copilot.sessions.refreshChanges",
2916
+ "title": "%github.copilot.command.sessions.refreshChanges%",
2917
+ "icon": "$(refresh)",
2918
+ "category": "GitHub Copilot"
2903
2919
  }
2904
2920
  ],
2905
2921
  "configuration": [
@@ -3194,6 +3210,13 @@
3194
3210
  "tags": [
3195
3211
  "onExp"
3196
3212
  ]
3213
+ },
3214
+ "github.copilot.chat.anthropic.thinking.budgetTokens": {
3215
+ "type": "number",
3216
+ "markdownDescription": "%github.copilot.config.anthropic.thinking.budgetTokens%",
3217
+ "minimum": 0,
3218
+ "maximum": 32000,
3219
+ "default": 16000
3197
3220
  }
3198
3221
  }
3199
3222
  },
@@ -3241,17 +3264,6 @@
3241
3264
  "onExp"
3242
3265
  ]
3243
3266
  },
3244
- "github.copilot.chat.anthropic.thinking.budgetTokens": {
3245
- "type": "number",
3246
- "markdownDescription": "%github.copilot.config.anthropic.thinking.budgetTokens%",
3247
- "minimum": 0,
3248
- "maximum": 32000,
3249
- "default": 16000,
3250
- "tags": [
3251
- "preview",
3252
- "onExp"
3253
- ]
3254
- },
3255
3267
  "github.copilot.chat.anthropic.thinking.forceExtendedThinking": {
3256
3268
  "type": "boolean",
3257
3269
  "markdownDescription": "%github.copilot.config.anthropic.thinking.forceExtendedThinking%",
@@ -3827,6 +3839,15 @@
3827
3839
  "onExp"
3828
3840
  ]
3829
3841
  },
3842
+ "github.copilot.chat.responsesApi.promptCacheKey.enabled": {
3843
+ "type": "boolean",
3844
+ "default": false,
3845
+ "markdownDescription": "%github.copilot.config.responsesApi.promptCacheKey.enabled%",
3846
+ "tags": [
3847
+ "experimental",
3848
+ "onExp"
3849
+ ]
3850
+ },
3830
3851
  "github.copilot.chat.updated53CodexPrompt.enabled": {
3831
3852
  "type": "boolean",
3832
3853
  "default": true,
@@ -3836,6 +3857,24 @@
3836
3857
  "onExp"
3837
3858
  ]
3838
3859
  },
3860
+ "github.copilot.chat.gpt54ConcisePrompt.enabled": {
3861
+ "type": "boolean",
3862
+ "default": false,
3863
+ "markdownDescription": "%github.copilot.config.gpt54ConcisePrompt.enabled%",
3864
+ "tags": [
3865
+ "experimental",
3866
+ "onExp"
3867
+ ]
3868
+ },
3869
+ "github.copilot.chat.gpt54LargePrompt.enabled": {
3870
+ "type": "boolean",
3871
+ "default": false,
3872
+ "markdownDescription": "%github.copilot.config.gpt54LargePrompt.enabled%",
3873
+ "tags": [
3874
+ "experimental",
3875
+ "onExp"
3876
+ ]
3877
+ },
3839
3878
  "github.copilot.chat.anthropic.tools.websearch.enabled": {
3840
3879
  "type": "boolean",
3841
3880
  "default": false,
@@ -3992,16 +4031,6 @@
3992
4031
  {
3993
4032
  "id": "advanced",
3994
4033
  "properties": {
3995
- "github.copilot.chat.anthropic.promptCaching.extendedTtl": {
3996
- "type": "boolean",
3997
- "markdownDescription": "%github.copilot.config.anthropic.promptCaching.extendedTtl%",
3998
- "default": false,
3999
- "tags": [
4000
- "advanced",
4001
- "experimental",
4002
- "onExp"
4003
- ]
4004
- },
4005
4034
  "github.copilot.chat.installExtensionSkill.enabled": {
4006
4035
  "type": "boolean",
4007
4036
  "default": false,
@@ -4084,16 +4113,6 @@
4084
4113
  "onExp"
4085
4114
  ]
4086
4115
  },
4087
- "github.copilot.chat.workspace.enableFullWorkspace": {
4088
- "type": "boolean",
4089
- "default": true,
4090
- "markdownDescription": "%github.copilot.config.workspace.enableFullWorkspace%",
4091
- "tags": [
4092
- "advanced",
4093
- "experimental",
4094
- "onExp"
4095
- ]
4096
- },
4097
4116
  "github.copilot.chat.workspace.enableCodeSearch": {
4098
4117
  "type": "boolean",
4099
4118
  "default": true,
@@ -4104,10 +4123,10 @@
4104
4123
  "onExp"
4105
4124
  ]
4106
4125
  },
4107
- "github.copilot.chat.workspace.enableEmbeddingsSearch": {
4108
- "type": "boolean",
4109
- "default": true,
4110
- "markdownDescription": "%github.copilot.config.workspace.enableEmbeddingsSearch%",
4126
+ "github.copilot.chat.workspace.maxDiffSizeBeforeUsingExternalIngest": {
4127
+ "type": "number",
4128
+ "default": 100,
4129
+ "markdownDescription": "%github.copilot.config.workspace.maxDiffSizeBeforeUsingExternalIngest%",
4111
4130
  "tags": [
4112
4131
  "advanced",
4113
4132
  "experimental",
@@ -4399,16 +4418,6 @@
4399
4418
  "onExp"
4400
4419
  ]
4401
4420
  },
4402
- "github.copilot.chat.agentHistorySummarizationForceGpt41": {
4403
- "type": "boolean",
4404
- "default": false,
4405
- "markdownDescription": "%github.copilot.config.agentHistorySummarizationForceGpt41%",
4406
- "tags": [
4407
- "advanced",
4408
- "experimental",
4409
- "onExp"
4410
- ]
4411
- },
4412
4421
  "github.copilot.chat.useResponsesApiTruncation": {
4413
4422
  "type": "boolean",
4414
4423
  "default": false,
@@ -4481,7 +4490,7 @@
4481
4490
  },
4482
4491
  "github.copilot.chat.inlineEdits.nextCursorPrediction.currentFileMaxTokens": {
4483
4492
  "type": "number",
4484
- "default": 2000,
4493
+ "default": 3000,
4485
4494
  "markdownDescription": "%github.copilot.config.inlineEdits.nextCursorPrediction.currentFileMaxTokens%",
4486
4495
  "tags": [
4487
4496
  "advanced",
@@ -4672,7 +4681,7 @@
4672
4681
  "github.copilot.chat.otel.enabled": {
4673
4682
  "type": "boolean",
4674
4683
  "default": false,
4675
- "markdownDescription": "Enable OpenTelemetry trace/metric/log emission for Copilot Chat operations. Env var `COPILOT_OTEL_ENABLED` takes precedence.",
4684
+ "markdownDescription": "Enable OpenTelemetry trace/metric/log emission for Copilot Chat operations. Env var `COPILOT_OTEL_ENABLED` takes precedence. Requires window reload.",
4676
4685
  "tags": [
4677
4686
  "advanced"
4678
4687
  ]
@@ -4686,7 +4695,7 @@
4686
4695
  "file"
4687
4696
  ],
4688
4697
  "default": "otlp-http",
4689
- "markdownDescription": "OTel exporter type for Copilot Chat telemetry.",
4698
+ "markdownDescription": "OTel exporter type for Copilot Chat telemetry. Requires window reload.",
4690
4699
  "tags": [
4691
4700
  "advanced"
4692
4701
  ]
@@ -4694,7 +4703,7 @@
4694
4703
  "github.copilot.chat.otel.otlpEndpoint": {
4695
4704
  "type": "string",
4696
4705
  "default": "http://localhost:4318",
4697
- "markdownDescription": "OTLP collector endpoint URL for Copilot Chat OTel data. Env var `OTEL_EXPORTER_OTLP_ENDPOINT` takes precedence.",
4706
+ "markdownDescription": "OTLP collector endpoint URL for Copilot Chat OTel data. Env var `OTEL_EXPORTER_OTLP_ENDPOINT` takes precedence. Requires window reload.",
4698
4707
  "tags": [
4699
4708
  "advanced"
4700
4709
  ]
@@ -4702,7 +4711,7 @@
4702
4711
  "github.copilot.chat.otel.captureContent": {
4703
4712
  "type": "boolean",
4704
4713
  "default": false,
4705
- "markdownDescription": "Capture input/output messages, system instructions, and tool definitions in OTel telemetry. **Contains potentially sensitive data.** Env var `COPILOT_OTEL_CAPTURE_CONTENT` takes precedence.",
4714
+ "markdownDescription": "Capture input/output messages, system instructions, and tool definitions in OTel telemetry. **Contains potentially sensitive data.** Env var `COPILOT_OTEL_CAPTURE_CONTENT` takes precedence. Requires window reload.",
4706
4715
  "tags": [
4707
4716
  "advanced"
4708
4717
  ]
@@ -4710,7 +4719,15 @@
4710
4719
  "github.copilot.chat.otel.outfile": {
4711
4720
  "type": "string",
4712
4721
  "default": "",
4713
- "markdownDescription": "File path for file-based OTel exporter output (JSON-lines). When set, overrides exporter type to `file`.",
4722
+ "markdownDescription": "File path for file-based OTel exporter output (JSON-lines). When set, overrides exporter type to `file`. Requires window reload.",
4723
+ "tags": [
4724
+ "advanced"
4725
+ ]
4726
+ },
4727
+ "github.copilot.chat.otel.dbSpanExporter.enabled": {
4728
+ "type": "boolean",
4729
+ "default": false,
4730
+ "markdownDescription": "Enable SQLite DB span exporter. Persists OTel spans to a local SQLite database. Automatically enables OTel when set to true. Requires window reload.",
4714
4731
  "tags": [
4715
4732
  "advanced"
4716
4733
  ]
@@ -4850,34 +4867,39 @@
4850
4867
  },
4851
4868
  {
4852
4869
  "command": "github.copilot.chat.openPullRequestCopilotCLIAgentSession.openPR",
4853
- "when": "chatSessionType == copilotcli && isSessionsWindow && sessions.hasOpenPullRequest",
4854
- "group": "navigation@1"
4870
+ "when": "chatSessionType == copilotcli && isSessionsWindow && sessions.hasPullRequest",
4871
+ "group": "navigation@9"
4855
4872
  }
4856
4873
  ],
4857
4874
  "chat/input/editing/sessionApplyActions": [
4875
+ {
4876
+ "command": "github.copilot.sessions.commitChanges",
4877
+ "when": "chatSessionType == copilotcli && isSessionsWindow && sessions.isolationMode == workspace",
4878
+ "group": "commit@1"
4879
+ },
4858
4880
  {
4859
4881
  "command": "github.copilot.chat.mergeCopilotCLIAgentSessionChanges.merge",
4860
- "when": "chatSessionType == copilotcli && isSessionsWindow && !sessions.isMergeBaseBranchProtected && !sessions.hasOpenPullRequest",
4882
+ "when": "chatSessionType == copilotcli && isSessionsWindow && sessions.isolationMode == worktree && !sessions.isMergeBaseBranchProtected && !sessions.hasPullRequest",
4861
4883
  "group": "merge@1"
4862
4884
  },
4863
4885
  {
4864
4886
  "command": "github.copilot.chat.mergeCopilotCLIAgentSessionChanges.mergeAndSync",
4865
- "when": "chatSessionType == copilotcli && isSessionsWindow && !sessions.isMergeBaseBranchProtected && !sessions.hasOpenPullRequest",
4887
+ "when": "chatSessionType == copilotcli && isSessionsWindow && sessions.isolationMode == worktree && !sessions.isMergeBaseBranchProtected && !sessions.hasPullRequest",
4866
4888
  "group": "merge@2"
4867
4889
  },
4868
4890
  {
4869
4891
  "command": "github.copilot.chat.createPullRequestCopilotCLIAgentSession.createPR",
4870
- "when": "chatSessionType == copilotcli && isSessionsWindow && !sessions.hasOpenPullRequest",
4892
+ "when": "chatSessionType == copilotcli && isSessionsWindow && sessions.isolationMode == worktree && !sessions.hasPullRequest",
4871
4893
  "group": "pull_request@1"
4872
4894
  },
4873
4895
  {
4874
4896
  "command": "github.copilot.chat.createDraftPullRequestCopilotCLIAgentSession.createDraftPR",
4875
- "when": "chatSessionType == copilotcli && isSessionsWindow && !sessions.hasOpenPullRequest",
4897
+ "when": "chatSessionType == copilotcli && isSessionsWindow && sessions.isolationMode == worktree && !sessions.hasPullRequest",
4876
4898
  "group": "pull_request@2"
4877
4899
  },
4878
4900
  {
4879
4901
  "command": "github.copilot.chat.createPullRequestCopilotCLIAgentSession.updatePR",
4880
- "when": "chatSessionType == copilotcli && isSessionsWindow && sessions.hasOpenPullRequest",
4902
+ "when": "chatSessionType == copilotcli && isSessionsWindow && sessions.isolationMode == worktree && sessions.hasPullRequest && sessions.hasOpenPullRequest",
4881
4903
  "group": "pull_request@1"
4882
4904
  }
4883
4905
  ],
@@ -4923,10 +4945,6 @@
4923
4945
  "command": "github.copilot.cli.sessions.commitToRepository",
4924
4946
  "when": "false"
4925
4947
  },
4926
- {
4927
- "command": "github.copilot.chat.debug.exportSingleTrajectory",
4928
- "when": "false"
4929
- },
4930
4948
  {
4931
4949
  "command": "github.copilot.chat.triggerPermissiveSignIn",
4932
4950
  "when": "false"
@@ -5135,6 +5153,10 @@
5135
5153
  "command": "github.copilot.claude.sessions.rename",
5136
5154
  "when": "false"
5137
5155
  },
5156
+ {
5157
+ "command": "github.copilot.cli.sessions.setTitle",
5158
+ "when": "false"
5159
+ },
5138
5160
  {
5139
5161
  "command": "github.copilot.cli.sessions.openRepository",
5140
5162
  "when": "false"
@@ -5226,6 +5248,18 @@
5226
5248
  {
5227
5249
  "command": "github.copilot.chat.tools.memory.clearMemories",
5228
5250
  "when": "config.github.copilot.chat.tools.memory.enabled"
5251
+ },
5252
+ {
5253
+ "command": "github.copilot.sessions.commitChanges",
5254
+ "when": "false"
5255
+ },
5256
+ {
5257
+ "command": "github.copilot.sessions.discardChanges",
5258
+ "when": "false"
5259
+ },
5260
+ {
5261
+ "command": "github.copilot.sessions.refreshChanges",
5262
+ "when": "false"
5229
5263
  }
5230
5264
  ],
5231
5265
  "view/title": [
@@ -5275,11 +5309,6 @@
5275
5309
  "command": "github.copilot.chat.debug.exportPromptLogsAsJson",
5276
5310
  "when": "view == copilot-chat && viewItem == chatprompt",
5277
5311
  "group": "export@3"
5278
- },
5279
- {
5280
- "command": "github.copilot.chat.debug.exportSingleTrajectory",
5281
- "when": "view == copilot-chat && viewItem == chatprompt",
5282
- "group": "export@4"
5283
5312
  }
5284
5313
  ],
5285
5314
  "searchPanel/aiResults/commands": [
@@ -5559,7 +5588,7 @@
5559
5588
  },
5560
5589
  {
5561
5590
  "command": "github.copilot.cli.sessions.openWorktreeInNewWindow",
5562
- "when": "chatSessionType == copilotcli",
5591
+ "when": "chatSessionType == copilotcli && !isSessionsWindow",
5563
5592
  "group": "2_open@1"
5564
5593
  },
5565
5594
  {
@@ -5599,6 +5628,20 @@
5599
5628
  "when": "chatSessionType == copilot-cloud-agent && !github.copilot.prExtensionInstalled",
5600
5629
  "group": "inline@1"
5601
5630
  }
5631
+ ],
5632
+ "chat/input/editing/sessionTitleToolbar": [
5633
+ {
5634
+ "command": "github.copilot.sessions.refreshChanges",
5635
+ "when": "chatSessionType == copilotcli && isSessionsWindow",
5636
+ "group": "9_refresh@1"
5637
+ }
5638
+ ],
5639
+ "chat/input/editing/sessionChangeToolbar": [
5640
+ {
5641
+ "command": "github.copilot.sessions.discardChanges",
5642
+ "when": "chatSessionType == copilotcli && isSessionsWindow",
5643
+ "group": "navigation@1"
5644
+ }
5602
5645
  ]
5603
5646
  },
5604
5647
  "icons": {
@@ -6042,7 +6085,8 @@
6042
6085
  ],
6043
6086
  "customAgentTarget": "github-copilot",
6044
6087
  "requiresCustomModels": true,
6045
- "autoAttachReferences": true
6088
+ "autoAttachReferences": true,
6089
+ "useRequestToPopulateBuiltInPickers": true
6046
6090
  },
6047
6091
  {
6048
6092
  "type": "copilot-cloud-agent",
@@ -6134,6 +6178,12 @@
6134
6178
  {
6135
6179
  "path": "./assets/prompts/skills/get-search-view-results/SKILL.md",
6136
6180
  "when": "config.github.copilot.chat.getSearchViewResultsSkill.enabled"
6181
+ },
6182
+ {
6183
+ "path": "./assets/prompts/skills/troubleshoot/SKILL.md"
6184
+ },
6185
+ {
6186
+ "path": "./assets/prompts/skills/agent-customization/SKILL.md"
6137
6187
  }
6138
6188
  ],
6139
6189
  "terminal": {
@@ -6268,7 +6318,7 @@
6268
6318
  "open": "^10.1.2",
6269
6319
  "openai": "^6.7.0",
6270
6320
  "outdent": "^0.8.0",
6271
- "picomatch": "^4.0.2",
6321
+ "picomatch": "^4.0.4",
6272
6322
  "playwright": "^1.58.2",
6273
6323
  "prettier": "^3.6.2",
6274
6324
  "react": "^17.0.2",
@@ -6298,7 +6348,7 @@
6298
6348
  "@anthropic-ai/claude-agent-sdk": "^0.2.81",
6299
6349
  "@anthropic-ai/sdk": "^0.80.0",
6300
6350
  "@github/blackbird-external-ingest-utils": "^0.3.0",
6301
- "@github/copilot": "^1.0.10",
6351
+ "@github/copilot": "^1.0.11",
6302
6352
  "@google/genai": "^1.22.0",
6303
6353
  "@humanwhocodes/gitignore-to-minimatch": "1.0.2",
6304
6354
  "@microsoft/tiktokenizer": "^1.0.10",
@@ -6346,5 +6396,5 @@
6346
6396
  "node-gyp": "npm:node-gyp@10.3.1",
6347
6397
  "zod": "3.25.76"
6348
6398
  },
6349
- "vscodeCommit": "55969564bb5637a0fe1bdf5a665c5c5f21723407"
6399
+ "vscodeCommit": "e1ab55e1215fa458d1aeabcf8afd1a9478d2c47f"
6350
6400
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vscode/chat-lib",
3
- "version": "0.41.2026032403",
3
+ "version": "0.42.0",
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",