@vscode/chat-lib 0.0.5-1 → 0.0.5-11

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 (192) hide show
  1. package/dist/src/_internal/extension/byok/node/openAIEndpoint.d.ts +7 -2
  2. package/dist/src/_internal/extension/byok/node/openAIEndpoint.d.ts.map +1 -1
  3. package/dist/src/_internal/extension/byok/node/openAIEndpoint.js +16 -5
  4. package/dist/src/_internal/extension/byok/node/openAIEndpoint.js.map +1 -1
  5. package/dist/src/_internal/extension/common/constants.d.ts +1 -0
  6. package/dist/src/_internal/extension/common/constants.d.ts.map +1 -1
  7. package/dist/src/_internal/extension/common/constants.js.map +1 -1
  8. package/dist/src/_internal/extension/inlineEdits/common/jumpToCursorPosition.d.ts +2 -0
  9. package/dist/src/_internal/extension/inlineEdits/common/jumpToCursorPosition.d.ts.map +1 -0
  10. package/dist/src/_internal/extension/inlineEdits/common/jumpToCursorPosition.js +9 -0
  11. package/dist/src/_internal/extension/inlineEdits/common/jumpToCursorPosition.js.map +1 -0
  12. package/dist/src/_internal/extension/inlineEdits/node/nextEditCache.d.ts +1 -0
  13. package/dist/src/_internal/extension/inlineEdits/node/nextEditCache.d.ts.map +1 -1
  14. package/dist/src/_internal/extension/inlineEdits/node/nextEditProvider.d.ts.map +1 -1
  15. package/dist/src/_internal/extension/inlineEdits/node/nextEditProvider.js +70 -9
  16. package/dist/src/_internal/extension/inlineEdits/node/nextEditProvider.js.map +1 -1
  17. package/dist/src/_internal/extension/inlineEdits/node/nextEditProviderTelemetry.d.ts.map +1 -1
  18. package/dist/src/_internal/extension/inlineEdits/node/nextEditProviderTelemetry.js +2 -0
  19. package/dist/src/_internal/extension/inlineEdits/node/nextEditProviderTelemetry.js.map +1 -1
  20. package/dist/src/_internal/extension/inlineEdits/node/nextEditResult.d.ts +4 -0
  21. package/dist/src/_internal/extension/inlineEdits/node/nextEditResult.d.ts.map +1 -1
  22. package/dist/src/_internal/extension/inlineEdits/node/nextEditResult.js.map +1 -1
  23. package/dist/src/_internal/extension/prompt/node/chatMLFetcher.d.ts.map +1 -1
  24. package/dist/src/_internal/extension/prompt/node/chatMLFetcher.js +18 -8
  25. package/dist/src/_internal/extension/prompt/node/chatMLFetcher.js.map +1 -1
  26. package/dist/src/_internal/extension/xtab/node/xtabEndpoint.d.ts.map +1 -1
  27. package/dist/src/_internal/extension/xtab/node/xtabEndpoint.js.map +1 -1
  28. package/dist/src/_internal/extension/xtab/node/xtabProvider.d.ts +2 -1
  29. package/dist/src/_internal/extension/xtab/node/xtabProvider.d.ts.map +1 -1
  30. package/dist/src/_internal/extension/xtab/node/xtabProvider.js +77 -33
  31. package/dist/src/_internal/extension/xtab/node/xtabProvider.js.map +1 -1
  32. package/dist/src/_internal/platform/authentication/common/copilotToken.d.ts +3 -1
  33. package/dist/src/_internal/platform/authentication/common/copilotToken.d.ts.map +1 -1
  34. package/dist/src/_internal/platform/authentication/common/copilotToken.js +3 -0
  35. package/dist/src/_internal/platform/authentication/common/copilotToken.js.map +1 -1
  36. package/dist/src/_internal/platform/authentication/common/staticGitHubAuthenticationService.d.ts +1 -3
  37. package/dist/src/_internal/platform/authentication/common/staticGitHubAuthenticationService.d.ts.map +1 -1
  38. package/dist/src/_internal/platform/authentication/common/staticGitHubAuthenticationService.js +8 -14
  39. package/dist/src/_internal/platform/authentication/common/staticGitHubAuthenticationService.js.map +1 -1
  40. package/dist/src/_internal/platform/authentication/node/copilotTokenManager.d.ts +25 -11
  41. package/dist/src/_internal/platform/authentication/node/copilotTokenManager.d.ts.map +1 -1
  42. package/dist/src/_internal/platform/authentication/node/copilotTokenManager.js +71 -24
  43. package/dist/src/_internal/platform/authentication/node/copilotTokenManager.js.map +1 -1
  44. package/dist/src/_internal/platform/chat/common/commonTypes.d.ts +6 -1
  45. package/dist/src/_internal/platform/chat/common/commonTypes.d.ts.map +1 -1
  46. package/dist/src/_internal/platform/chat/common/commonTypes.js +4 -0
  47. package/dist/src/_internal/platform/chat/common/commonTypes.js.map +1 -1
  48. package/dist/src/_internal/platform/configuration/common/configurationService.d.ts +14 -8
  49. package/dist/src/_internal/platform/configuration/common/configurationService.d.ts.map +1 -1
  50. package/dist/src/_internal/platform/configuration/common/configurationService.js +21 -15
  51. package/dist/src/_internal/platform/configuration/common/configurationService.js.map +1 -1
  52. package/dist/src/_internal/platform/editing/common/notebookDocumentSnapshot.d.ts +3 -3
  53. package/dist/src/_internal/platform/editing/common/notebookDocumentSnapshot.d.ts.map +1 -1
  54. package/dist/src/_internal/platform/editing/common/notebookDocumentSnapshot.js +11 -6
  55. package/dist/src/_internal/platform/editing/common/notebookDocumentSnapshot.js.map +1 -1
  56. package/dist/src/_internal/platform/editing/common/textDocumentSnapshot.d.ts +1 -1
  57. package/dist/src/_internal/platform/editing/common/textDocumentSnapshot.d.ts.map +1 -1
  58. package/dist/src/_internal/platform/editing/common/textDocumentSnapshot.js +1 -1
  59. package/dist/src/_internal/platform/editing/common/textDocumentSnapshot.js.map +1 -1
  60. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.d.ts +6 -1
  61. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.d.ts.map +1 -1
  62. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.js +28 -20
  63. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.js.map +1 -1
  64. package/dist/src/_internal/platform/endpoint/common/endpointProvider.d.ts +9 -2
  65. package/dist/src/_internal/platform/endpoint/common/endpointProvider.d.ts.map +1 -1
  66. package/dist/src/_internal/platform/endpoint/common/endpointProvider.js.map +1 -1
  67. package/dist/src/_internal/platform/endpoint/node/autoChatEndpoint.d.ts +30 -0
  68. package/dist/src/_internal/platform/endpoint/node/autoChatEndpoint.d.ts.map +1 -0
  69. package/dist/src/_internal/platform/endpoint/node/autoChatEndpoint.js +118 -0
  70. package/dist/src/_internal/platform/endpoint/node/autoChatEndpoint.js.map +1 -0
  71. package/dist/src/_internal/platform/endpoint/node/chatEndpoint.d.ts +3 -4
  72. package/dist/src/_internal/platform/endpoint/node/chatEndpoint.d.ts.map +1 -1
  73. package/dist/src/_internal/platform/endpoint/node/chatEndpoint.js +41 -70
  74. package/dist/src/_internal/platform/endpoint/node/chatEndpoint.js.map +1 -1
  75. package/dist/src/_internal/platform/endpoint/node/responsesApi.d.ts +9 -0
  76. package/dist/src/_internal/platform/endpoint/node/responsesApi.d.ts.map +1 -1
  77. package/dist/src/_internal/platform/endpoint/node/responsesApi.js +35 -30
  78. package/dist/src/_internal/platform/endpoint/node/responsesApi.js.map +1 -1
  79. package/dist/src/_internal/platform/github/common/githubAPI.d.ts +3 -1
  80. package/dist/src/_internal/platform/github/common/githubAPI.d.ts.map +1 -1
  81. package/dist/src/_internal/platform/github/common/githubAPI.js +15 -0
  82. package/dist/src/_internal/platform/github/common/githubAPI.js.map +1 -1
  83. package/dist/src/_internal/platform/github/common/githubService.d.ts +19 -0
  84. package/dist/src/_internal/platform/github/common/githubService.d.ts.map +1 -1
  85. package/dist/src/_internal/platform/github/common/githubService.js +13 -0
  86. package/dist/src/_internal/platform/github/common/githubService.js.map +1 -1
  87. package/dist/src/_internal/platform/inlineCompletions/common/api.d.ts +5 -0
  88. package/dist/src/_internal/platform/inlineCompletions/common/api.d.ts.map +1 -1
  89. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/nextCursorLinePrediction.d.ts +6 -0
  90. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/nextCursorLinePrediction.d.ts.map +1 -0
  91. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/nextCursorLinePrediction.js +14 -0
  92. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/nextCursorLinePrediction.js.map +1 -0
  93. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/xtabPromptOptions.d.ts +8 -0
  94. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/xtabPromptOptions.d.ts.map +1 -1
  95. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/xtabPromptOptions.js +26 -1
  96. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/xtabPromptOptions.js.map +1 -1
  97. package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.d.ts +7 -1
  98. package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.d.ts.map +1 -1
  99. package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.js +7 -1
  100. package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.js.map +1 -1
  101. package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProviders.d.ts +5 -1
  102. package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProviders.d.ts.map +1 -1
  103. package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProviders.js +45 -0
  104. package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProviders.js.map +1 -1
  105. package/dist/src/_internal/platform/languageServer/common/languageContextService.d.ts +12 -0
  106. package/dist/src/_internal/platform/languageServer/common/languageContextService.d.ts.map +1 -1
  107. package/dist/src/_internal/platform/languageServer/common/languageContextService.js.map +1 -1
  108. package/dist/src/_internal/platform/networking/common/fetcherService.d.ts +1 -0
  109. package/dist/src/_internal/platform/networking/common/fetcherService.d.ts.map +1 -1
  110. package/dist/src/_internal/platform/networking/common/fetcherService.js.map +1 -1
  111. package/dist/src/_internal/platform/networking/common/networking.d.ts +6 -1
  112. package/dist/src/_internal/platform/networking/common/networking.d.ts.map +1 -1
  113. package/dist/src/_internal/platform/networking/common/networking.js +2 -0
  114. package/dist/src/_internal/platform/networking/common/networking.js.map +1 -1
  115. package/dist/src/_internal/platform/networking/common/openai.d.ts +1 -0
  116. package/dist/src/_internal/platform/networking/common/openai.d.ts.map +1 -1
  117. package/dist/src/_internal/platform/networking/node/chatStream.d.ts.map +1 -1
  118. package/dist/src/_internal/platform/networking/node/chatStream.js +1 -0
  119. package/dist/src/_internal/platform/networking/node/chatStream.js.map +1 -1
  120. package/dist/src/_internal/platform/networking/node/stream.d.ts +2 -0
  121. package/dist/src/_internal/platform/networking/node/stream.d.ts.map +1 -1
  122. package/dist/src/_internal/platform/networking/node/stream.js +5 -4
  123. package/dist/src/_internal/platform/networking/node/stream.js.map +1 -1
  124. package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.d.ts +5 -0
  125. package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.d.ts.map +1 -1
  126. package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.js.map +1 -1
  127. package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.json.d.ts +1 -0
  128. package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.json.d.ts.map +1 -1
  129. package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.json.js +3 -0
  130. package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.json.js.map +1 -1
  131. package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.text.d.ts +1 -0
  132. package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.text.d.ts.map +1 -1
  133. package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.text.js +32 -1
  134. package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.text.js.map +1 -1
  135. package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.xml.d.ts +1 -0
  136. package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.xml.d.ts.map +1 -1
  137. package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.xml.js +24 -1
  138. package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.xml.js.map +1 -1
  139. package/dist/src/_internal/platform/openai/node/fetch.js +2 -0
  140. package/dist/src/_internal/platform/openai/node/fetch.js.map +1 -1
  141. package/dist/src/_internal/platform/requestLogger/node/requestLogger.d.ts +6 -44
  142. package/dist/src/_internal/platform/requestLogger/node/requestLogger.d.ts.map +1 -1
  143. package/dist/src/_internal/platform/requestLogger/node/requestLogger.js +1 -40
  144. package/dist/src/_internal/platform/requestLogger/node/requestLogger.js.map +1 -1
  145. package/dist/src/_internal/util/common/crypto.d.ts +1 -0
  146. package/dist/src/_internal/util/common/crypto.d.ts.map +1 -1
  147. package/dist/src/_internal/util/common/crypto.js +10 -0
  148. package/dist/src/_internal/util/common/crypto.js.map +1 -1
  149. package/dist/src/_internal/util/common/test/shims/chatTypes.d.ts +12 -0
  150. package/dist/src/_internal/util/common/test/shims/chatTypes.d.ts.map +1 -1
  151. package/dist/src/_internal/util/common/test/shims/chatTypes.js +18 -2
  152. package/dist/src/_internal/util/common/test/shims/chatTypes.js.map +1 -1
  153. package/dist/src/_internal/util/common/test/shims/enums.d.ts +5 -0
  154. package/dist/src/_internal/util/common/test/shims/enums.d.ts.map +1 -1
  155. package/dist/src/_internal/util/common/test/shims/enums.js +7 -1
  156. package/dist/src/_internal/util/common/test/shims/enums.js.map +1 -1
  157. package/dist/src/_internal/util/common/test/shims/vscodeTypesShim.d.ts.map +1 -1
  158. package/dist/src/_internal/util/common/test/shims/vscodeTypesShim.js +3 -1
  159. package/dist/src/_internal/util/common/test/shims/vscodeTypesShim.js.map +1 -1
  160. package/dist/src/_internal/vscodeTypes.d.ts +2 -0
  161. package/dist/src/_internal/vscodeTypes.d.ts.map +1 -1
  162. package/dist/src/_internal/vscodeTypes.js +4 -2
  163. package/dist/src/_internal/vscodeTypes.js.map +1 -1
  164. package/dist/src/main.d.ts.map +1 -1
  165. package/dist/src/main.js +2 -2
  166. package/dist/src/main.js.map +1 -1
  167. package/dist/src/package.json +246 -87
  168. package/package.json +3 -3
  169. package/dist/src/_internal/extension/inlineEdits/common/ghNearbyNesProvider.d.ts +0 -16
  170. package/dist/src/_internal/extension/inlineEdits/common/ghNearbyNesProvider.d.ts.map +0 -1
  171. package/dist/src/_internal/extension/inlineEdits/common/ghNearbyNesProvider.js +0 -147
  172. package/dist/src/_internal/extension/inlineEdits/common/ghNearbyNesProvider.js.map +0 -1
  173. package/dist/src/_internal/platform/nesFetch/common/completionsAPI.d.ts +0 -69
  174. package/dist/src/_internal/platform/nesFetch/common/completionsAPI.d.ts.map +0 -1
  175. package/dist/src/_internal/platform/nesFetch/common/completionsAPI.js +0 -23
  176. package/dist/src/_internal/platform/nesFetch/common/completionsAPI.js.map +0 -1
  177. package/dist/src/_internal/platform/nesFetch/common/completionsFetchService.d.ts +0 -80
  178. package/dist/src/_internal/platform/nesFetch/common/completionsFetchService.d.ts.map +0 -1
  179. package/dist/src/_internal/platform/nesFetch/common/completionsFetchService.js +0 -77
  180. package/dist/src/_internal/platform/nesFetch/common/completionsFetchService.js.map +0 -1
  181. package/dist/src/_internal/platform/nesFetch/common/responseStream.d.ts +0 -26
  182. package/dist/src/_internal/platform/nesFetch/common/responseStream.d.ts.map +0 -1
  183. package/dist/src/_internal/platform/nesFetch/common/responseStream.js +0 -125
  184. package/dist/src/_internal/platform/nesFetch/common/responseStream.js.map +0 -1
  185. package/dist/src/_internal/platform/nesFetch/node/completionsFetchServiceImpl.d.ts +0 -27
  186. package/dist/src/_internal/platform/nesFetch/node/completionsFetchServiceImpl.d.ts.map +0 -1
  187. package/dist/src/_internal/platform/nesFetch/node/completionsFetchServiceImpl.js +0 -222
  188. package/dist/src/_internal/platform/nesFetch/node/completionsFetchServiceImpl.js.map +0 -1
  189. package/dist/src/_internal/platform/nesFetch/node/streamTransformer.d.ts +0 -10
  190. package/dist/src/_internal/platform/nesFetch/node/streamTransformer.d.ts.map +0 -1
  191. package/dist/src/_internal/platform/nesFetch/node/streamTransformer.js +0 -86
  192. package/dist/src/_internal/platform/nesFetch/node/streamTransformer.js.map +0 -1
@@ -5,8 +5,7 @@
5
5
  "version": "0.33.0",
6
6
  "build": "1",
7
7
  "internalAIKey": "1058ec22-3c95-4951-8443-f26c1f325911",
8
- "completionsCore": "5d3a8d1e6a1a301b322ec7992f6322a6a63b046d",
9
- "completionsCoreVersion": "1.378.1798",
8
+ "completionsCoreVersion": "1.378.1799",
10
9
  "internalLargeStorageAriaKey": "ec712b3202c5462fb6877acae7f1f9d7-c19ad55e-3e3c-4f99-984b-827f6d95bd9e-6917",
11
10
  "ariaKey": "0c6ae279ed8443289764825290e4f9e2-1a736e7c-1324-4338-be46-fc2a58ae4d14-7255",
12
11
  "buildType": "dev",
@@ -24,7 +23,7 @@
24
23
  "icon": "assets/copilot.png",
25
24
  "pricing": "Trial",
26
25
  "engines": {
27
- "vscode": "^1.106.0",
26
+ "vscode": "^1.106.0-20251103",
28
27
  "npm": ">=9.0.0",
29
28
  "node": ">=22.14.0"
30
29
  },
@@ -134,7 +133,7 @@
134
133
  "taskExecutionTerminal",
135
134
  "dataChannels",
136
135
  "languageModelThinkingPart",
137
- "chatSessionsProvider@2",
136
+ "chatSessionsProvider@3",
138
137
  "devDeviceId",
139
138
  "contribEditorContentMenu"
140
139
  ],
@@ -172,6 +171,7 @@
172
171
  "userDescription": "%copilot.tools.runSubagent.description%",
173
172
  "modelDescription": "Launch a new agent to handle complex, multi-step tasks autonomously. This tool is good at researching complex questions, searching for code, and executing multi-step tasks. When you are searching for a keyword or file and are not confident that you will find the right match in the first few tries, use this agent to perform the search for you.\n\n- Agents do not run async or in the background, you will wait for the agent's result.\n- When the agent is done, it will return a single message back to you. The result returned by the agent is not visible to the user. To show the user the result, you should send a text message back to the user with a concise summary of the result.\n - Each agent invocation is stateless. You will not be able to send additional messages to the agent, nor will the agent be able to communicate with you outside of its final report. Therefore, your prompt should contain a highly detailed task description for the agent to perform autonomously and you should specify exactly what information the agent should return back to you in its final and only message to you.\n - The agent's outputs should generally be trusted\n - Clearly tell the agent whether you expect it to write code or just to do research (search, file reads, web fetches, etc.), since it is not aware of the user's intent",
174
173
  "tags": [],
174
+ "when": "!config.chat.experimental.runSubagent2",
175
175
  "inputSchema": {
176
176
  "type": "object",
177
177
  "properties": {
@@ -1076,6 +1076,76 @@
1076
1076
  }
1077
1077
  }
1078
1078
  },
1079
+ {
1080
+ "name": "copilot_memory",
1081
+ "toolReferenceName": "memory",
1082
+ "displayName": "%copilot.tools.memory.name%",
1083
+ "userDescription": "%copilot.tools.memory.description%",
1084
+ "modelDescription": "Manage persistent memory across conversations. This tool allows you to create, view, update, and delete memory files that persist between chat sessions. Use this to remember important information about the user, their preferences, project context, or anything that should be recalled in future conversations. Available commands: view (list/read memories), create (new memory file), str_replace (edit content), insert (add content), delete (remove memory), rename (change filename).",
1085
+ "icon": "$(database)",
1086
+ "when": "config.github.copilot.chat.tools.memory.enabled",
1087
+ "canBeReferencedInPrompt": true,
1088
+ "tags": [],
1089
+ "inputSchema": {
1090
+ "type": "object",
1091
+ "properties": {
1092
+ "command": {
1093
+ "type": "string",
1094
+ "enum": [
1095
+ "view",
1096
+ "create",
1097
+ "str_replace",
1098
+ "insert",
1099
+ "delete",
1100
+ "rename"
1101
+ ],
1102
+ "description": "The memory operation to perform: view (list/read), create (new file), str_replace (edit), insert (add content), delete (remove), rename (change filename)"
1103
+ },
1104
+ "path": {
1105
+ "type": "string",
1106
+ "description": "The path to the memory file (must start with /memories, e.g., /memories/notes.md or /memories/project/info.txt)"
1107
+ },
1108
+ "view_range": {
1109
+ "type": "array",
1110
+ "items": {
1111
+ "type": "number"
1112
+ },
1113
+ "description": "Optional: view specific line range [start, end] for view command"
1114
+ },
1115
+ "file_text": {
1116
+ "type": "string",
1117
+ "description": "Content for create operation"
1118
+ },
1119
+ "old_str": {
1120
+ "type": "string",
1121
+ "description": "String to replace in str_replace operation"
1122
+ },
1123
+ "new_str": {
1124
+ "type": "string",
1125
+ "description": "Replacement string in str_replace operation"
1126
+ },
1127
+ "insert_line": {
1128
+ "type": "number",
1129
+ "description": "Line number for insert operation"
1130
+ },
1131
+ "insert_text": {
1132
+ "type": "string",
1133
+ "description": "Text to insert at specified line for insert operation"
1134
+ },
1135
+ "old_path": {
1136
+ "type": "string",
1137
+ "description": "Source path for rename operation"
1138
+ },
1139
+ "new_path": {
1140
+ "type": "string",
1141
+ "description": "Destination path for rename operation"
1142
+ }
1143
+ },
1144
+ "required": [
1145
+ "command"
1146
+ ]
1147
+ }
1148
+ },
1079
1149
  {
1080
1150
  "name": "copilot_editFiles",
1081
1151
  "modelDescription": "This is a placeholder tool, do not use",
@@ -1190,53 +1260,9 @@
1190
1260
  "fullName": "GitHub Copilot",
1191
1261
  "description": "%copilot.edits.description%",
1192
1262
  "isDefault": true,
1193
- "when": "config.inlineChat.enableV2 || config.github.copilot.chat.advanced.inlineChat2",
1263
+ "when": "config.inlineChat.enableV2",
1194
1264
  "locations": [
1195
1265
  "editor"
1196
- ],
1197
- "commands": [
1198
- {
1199
- "name": "fix",
1200
- "description": "%copilot.workspace.fix.description%",
1201
- "when": "config.inlineChat.enableV2 || config.github.copilot.chat.advanced.inlineChat2",
1202
- "disambiguation": [
1203
- {
1204
- "category": "fix",
1205
- "description": "Propose a fix for the problems in the selected code",
1206
- "examples": [
1207
- "There is a problem in this code. Rewrite the code to show it with the bug fixed."
1208
- ]
1209
- }
1210
- ]
1211
- },
1212
- {
1213
- "name": "tests",
1214
- "description": "%copilot.workspace.tests.description%",
1215
- "when": "config.inlineChat.enableV2 || config.github.copilot.chat.advanced.inlineChat2",
1216
- "disambiguation": [
1217
- {
1218
- "category": "tests",
1219
- "description": "Help writing tests for the selected code",
1220
- "examples": [
1221
- "Help me write tests for the selected code."
1222
- ]
1223
- }
1224
- ]
1225
- },
1226
- {
1227
- "name": "doc",
1228
- "description": "%copilot.workspace.doc.description%",
1229
- "when": "config.inlineChat.enableV2 || config.github.copilot.chat.advanced.inlineChat2",
1230
- "disambiguation": [
1231
- {
1232
- "category": "doc",
1233
- "description": "Add documentation comment for this symbol",
1234
- "examples": [
1235
- "Add jsdoc to this method"
1236
- ]
1237
- }
1238
- ]
1239
- }
1240
1266
  ]
1241
1267
  },
1242
1268
  {
@@ -1288,7 +1314,7 @@
1288
1314
  "locations": [
1289
1315
  "editor"
1290
1316
  ],
1291
- "when": "!config.inlineChat.enableV2 && !config.github.copilot.chat.advanced.inlineChat2",
1317
+ "when": "!config.inlineChat.enableV2",
1292
1318
  "disambiguation": [
1293
1319
  {
1294
1320
  "category": "unknown",
@@ -1680,6 +1706,7 @@
1680
1706
  },
1681
1707
  {
1682
1708
  "vendor": "customoai",
1709
+ "when": "productQualityType != 'stable'",
1683
1710
  "displayName": "OpenAI Compatible",
1684
1711
  "managementCommand": "github.copilot.chat.manageBYOK"
1685
1712
  }
@@ -1697,6 +1724,45 @@
1697
1724
  "view": "debug",
1698
1725
  "when": "github.copilot-chat.activated",
1699
1726
  "contents": "%github.copilot.viewsWelcome.debug%"
1727
+ },
1728
+ {
1729
+ "view": "codex-placeholder",
1730
+ "when": "true",
1731
+ "contents": "%github.copilot.viewsWelcome.codexPlaceholder%"
1732
+ },
1733
+ {
1734
+ "view": "workbench.view.chat.sessions.openai-codex",
1735
+ "contents": "%github.copilot.viewsWelcome.codexWelcomeView%"
1736
+ },
1737
+ {
1738
+ "view": "copilot-agents-placeholder",
1739
+ "when": "true",
1740
+ "contents": "%github.copilot.viewsWelcome.agentsPlaceholder%"
1741
+ },
1742
+ {
1743
+ "view": "workbench.view.chat.sessions.copilot-cloud-agent",
1744
+ "when": "workspaceFolderCount == 0",
1745
+ "contents": "%github.copilot.viewsWelcome.noFolder.contents%"
1746
+ },
1747
+ {
1748
+ "view": "workbench.view.chat.sessions.copilot-cloud-agent",
1749
+ "when": "git.state == initialized && gitOpenRepositoryCount == 0 && workspaceFolderCount > 0 && git.parentRepositoryCount == 0",
1750
+ "contents": "%github.copilot.viewsWelcome.noRepo.contents%"
1751
+ },
1752
+ {
1753
+ "view": "workbench.view.chat.sessions.copilot-cloud-agent",
1754
+ "when": "git.state == initialized && workspaceFolderCount > 0 && (git.parentRepositoryCount > 0 || gitOpenRepositoryCount > 0) && !github:hasGitHubRemotes",
1755
+ "contents": "%github.copilot.viewsWelcome.noGitHub.contents%"
1756
+ },
1757
+ {
1758
+ "view": "workbench.view.chat.sessions.copilot-cloud-agent",
1759
+ "when": "github.copilot.chat.cloudSessionsEmpty",
1760
+ "contents": "%github.copilot.viewsWelcome.cloudSessionsEmpty.contents%"
1761
+ },
1762
+ {
1763
+ "view": "workbench.view.chat.sessions.copilotcli",
1764
+ "when": "github.copilot.chat.cliSessionsEmpty",
1765
+ "contents": "%github.copilot.viewsWelcome.cliSessionsEmpty.contents%"
1700
1766
  }
1701
1767
  ],
1702
1768
  "chatViewsWelcome": [
@@ -1752,25 +1818,25 @@
1752
1818
  },
1753
1819
  {
1754
1820
  "command": "github.copilot.cli.sessions.refresh",
1755
- "title": "Refresh Copilot CLI Agent Sessions",
1821
+ "title": "%github.copilot.command.refreshAgentSessions%",
1756
1822
  "icon": "$(refresh)",
1757
1823
  "category": "Copilot CLI"
1758
1824
  },
1759
1825
  {
1760
1826
  "command": "github.copilot.cli.sessions.delete",
1761
- "title": "Delete Copilot CLI Agent Session",
1827
+ "title": "%github.copilot.command.deleteAgentSession%",
1762
1828
  "icon": "$(close)",
1763
1829
  "category": "Copilot CLI"
1764
1830
  },
1765
1831
  {
1766
1832
  "command": "github.copilot.cli.sessions.resumeInTerminal",
1767
- "title": "Resume Agent Session in Terminal",
1833
+ "title": "%github.copilot.command.cli.sessions.resumeInTerminal%",
1768
1834
  "icon": "$(terminal)",
1769
1835
  "category": "Copilot CLI"
1770
1836
  },
1771
1837
  {
1772
1838
  "command": "github.copilot.cli.sessions.newTerminalSession",
1773
- "title": "New Agent Session in Terminal",
1839
+ "title": "%github.copilot.cli.sessions.newTerminalSession%",
1774
1840
  "icon": "$(terminal)",
1775
1841
  "category": "Copilot CLI"
1776
1842
  },
@@ -2201,13 +2267,47 @@
2201
2267
  },
2202
2268
  {
2203
2269
  "command": "github.copilot.cloud.sessions.refresh",
2204
- "title": "%github.copilot.command.refreshCopilotAgentSessions%",
2270
+ "title": "%github.copilot.command.refreshAgentSessions%",
2205
2271
  "icon": "$(refresh)"
2206
2272
  },
2207
2273
  {
2208
2274
  "command": "github.copilot.cloud.sessions.openInBrowser",
2209
2275
  "title": "%github.copilot.command.openCopilotAgentSessionsInBrowser%",
2210
2276
  "icon": "$(link-external)"
2277
+ },
2278
+ {
2279
+ "command": "github.copilot.cloud.sessions.proxy.closeChatSessionPullRequest",
2280
+ "title": "%github.copilot.command.closeChatSessionPullRequest.title%"
2281
+ },
2282
+ {
2283
+ "command": "github.copilot.chat.openSuggestionsPanel",
2284
+ "title": "Open Completions Panel",
2285
+ "enablement": "github.copilot.extensionUnification.activated && !isWeb",
2286
+ "category": "GitHub Copilot"
2287
+ },
2288
+ {
2289
+ "command": "github.copilot.chat.toggleStatusMenu",
2290
+ "title": "Open Status Menu",
2291
+ "enablement": "github.copilot.extensionUnification.activated",
2292
+ "category": "GitHub Copilot"
2293
+ },
2294
+ {
2295
+ "command": "github.copilot.chat.completions.disable",
2296
+ "title": "Disable Completions",
2297
+ "enablement": "github.copilot.extensionUnification.activated && github.copilot.activated && config.editor.inlineSuggest.enabled && github.copilot.completions.enabled",
2298
+ "category": "GitHub Copilot"
2299
+ },
2300
+ {
2301
+ "command": "github.copilot.chat.completions.enable",
2302
+ "title": "Enable Completions",
2303
+ "enablement": "github.copilot.extensionUnification.activated && github.copilot.activated && !(config.editor.inlineSuggest.enabled && github.copilot.completions.enabled)",
2304
+ "category": "GitHub Copilot"
2305
+ },
2306
+ {
2307
+ "command": "github.copilot.chat.completions.toggle",
2308
+ "title": "Toggle (Enable/Disable) Completions",
2309
+ "enablement": "github.copilot.extensionUnification.activated && github.copilot.activated",
2310
+ "category": "GitHub Copilot"
2211
2311
  }
2212
2312
  ],
2213
2313
  "configuration": [
@@ -2341,6 +2441,20 @@
2341
2441
  "type": "boolean",
2342
2442
  "default": true,
2343
2443
  "description": "%github.copilot.config.agent.currentEditorContext.enabled%"
2444
+ },
2445
+ "github.copilot.enable": {
2446
+ "type": "object",
2447
+ "scope": "window",
2448
+ "default": {
2449
+ "*": true,
2450
+ "plaintext": false,
2451
+ "markdown": false,
2452
+ "scminput": false
2453
+ },
2454
+ "additionalProperties": {
2455
+ "type": "boolean"
2456
+ },
2457
+ "markdownDescription": "Enable or disable auto triggering of Copilot completions for specified [languages](https://code.visualstudio.com/docs/languages/identifiers). You can still trigger suggestions manually using `Alt + \\`"
2344
2458
  }
2345
2459
  }
2346
2460
  },
@@ -3055,22 +3169,6 @@
3055
3169
  ],
3056
3170
  "description": "%github.copilot.config.gpt5AlternatePrompt%"
3057
3171
  },
3058
- "github.copilot.chat.grokCodeAlternatePrompt": {
3059
- "type": "string",
3060
- "default": "default",
3061
- "tags": [
3062
- "experimental"
3063
- ],
3064
- "description": "%github.copilot.config.grokCodeAlternatePrompt%"
3065
- },
3066
- "github.copilot.chat.claudeSonnet45AlternatePrompt": {
3067
- "type": "string",
3068
- "default": "default",
3069
- "tags": [
3070
- "experimental"
3071
- ],
3072
- "description": "%github.copilot.config.claudeSonnet45AlternatePrompt%"
3073
- },
3074
3172
  "github.copilot.chat.useResponsesApi": {
3075
3173
  "type": "boolean",
3076
3174
  "default": true,
@@ -3131,6 +3229,24 @@
3131
3229
  "onExp"
3132
3230
  ]
3133
3231
  },
3232
+ "github.copilot.chat.anthropic.tools.websearch.enabled": {
3233
+ "type": "boolean",
3234
+ "default": false,
3235
+ "markdownDescription": "%github.copilot.config.anthropic.tools.websearch.enabled%",
3236
+ "tags": [
3237
+ "experimental",
3238
+ "onExp"
3239
+ ]
3240
+ },
3241
+ "github.copilot.chat.tools.memory.enabled": {
3242
+ "type": "boolean",
3243
+ "default": false,
3244
+ "markdownDescription": "%github.copilot.config.tools.memory.enabled%",
3245
+ "tags": [
3246
+ "experimental",
3247
+ "onExp"
3248
+ ]
3249
+ },
3134
3250
  "github.copilot.chat.completionsFetcher": {
3135
3251
  "type": [
3136
3252
  "string",
@@ -3457,6 +3573,10 @@
3457
3573
  {
3458
3574
  "command": "github.copilot.cloud.sessions.openInBrowser",
3459
3575
  "when": "false"
3576
+ },
3577
+ {
3578
+ "command": "github.copilot.cloud.sessions.proxy.closeChatSessionPullRequest",
3579
+ "when": "false"
3460
3580
  }
3461
3581
  ],
3462
3582
  "view/title": [
@@ -3779,6 +3899,11 @@
3779
3899
  "command": "github.copilot.cloud.sessions.openInBrowser",
3780
3900
  "when": "chatSessionType == copilot-cloud-agent",
3781
3901
  "group": "context"
3902
+ },
3903
+ {
3904
+ "command": "github.copilot.cloud.sessions.proxy.closeChatSessionPullRequest",
3905
+ "when": "chatSessionType == copilot-cloud-agent",
3906
+ "group": "context"
3782
3907
  }
3783
3908
  ]
3784
3909
  },
@@ -3908,6 +4033,20 @@
3908
4033
  "icon": "$(inspect)",
3909
4034
  "when": "github.copilot.chat.showContextInspectorView"
3910
4035
  }
4036
+ ],
4037
+ "agentSessions": [
4038
+ {
4039
+ "id": "codex-placeholder",
4040
+ "name": "OpenAI Codex",
4041
+ "when": "github.copilot.chat.codex.showPlaceholder && config.chat.experimental.codex.enabled",
4042
+ "icon": "$(file)"
4043
+ },
4044
+ {
4045
+ "id": "copilot-agents-placeholder",
4046
+ "name": "GitHub Copilot Agents",
4047
+ "when": "chatEntitlementSignedOut || !chatIsEnabled",
4048
+ "icon": "$(copilot)"
4049
+ }
3911
4050
  ]
3912
4051
  },
3913
4052
  "viewsContainers": {
@@ -4149,31 +4288,44 @@
4149
4288
  },
4150
4289
  {
4151
4290
  "type": "copilotcli",
4152
- "name": "copilotcli",
4291
+ "name": "cli",
4153
4292
  "displayName": "GitHub Copilot CLI Agent",
4154
4293
  "icon": "$(copilot)",
4155
4294
  "welcomeTitle": "GitHub Copilot CLI Agent",
4156
4295
  "welcomeMessage": "Run local background tasks",
4157
4296
  "inputPlaceholder": "Describe your task, type `#` for adding context",
4158
- "order": 1,
4159
- "description": "The Copilot CLI Agent works on your local machine",
4160
- "when": "config.github.copilot.chat.advanced.copilotCLI.enabled",
4297
+ "order": 2,
4298
+ "description": "The GitHub Copilot CLI Agent works on your local machine",
4299
+ "when": "!chatEntitlementSignedOut && chatIsEnabled",
4161
4300
  "capabilities": {
4162
4301
  "supportsFileAttachments": true,
4163
- "supportsProblemAttachments": true
4164
- }
4302
+ "supportsProblemAttachments": true,
4303
+ "supportsToolAttachments": false
4304
+ },
4305
+ "commands": [
4306
+ {
4307
+ "name": "delegate",
4308
+ "description": "Delegate chat session to cloud agent and create associated PR"
4309
+ }
4310
+ ]
4165
4311
  },
4166
4312
  {
4167
4313
  "type": "copilot-cloud-agent",
4168
- "name": "copilot-cloud-agent",
4314
+ "alternativeIds": [
4315
+ "copilot-swe-agent"
4316
+ ],
4317
+ "name": "cloud",
4169
4318
  "displayName": "GitHub Copilot Cloud Agent",
4170
- "icon": "$(cloud)",
4319
+ "icon": {
4320
+ "light": "assets/copilot-cloud.svg",
4321
+ "dark": "assets/copilot-cloud-dark.svg"
4322
+ },
4171
4323
  "welcomeTitle": "GitHub Copilot Cloud Agent",
4172
4324
  "welcomeMessage": "Delegate tasks to the cloud",
4173
4325
  "inputPlaceholder": "Describe your task, type `#` for adding context",
4174
- "order": 2,
4326
+ "order": 1,
4175
4327
  "description": "Delegate tasks to the GitHub Copilot Cloud Agent. The agent works asynchronously in the cloud to implement changes, iterates via chat, and can create or update pull requests as needed.",
4176
- "when": "config.github.copilot.chat.advanced.copilotCodingAgent.enabled",
4328
+ "when": "!chatEntitlementSignedOut && chatIsEnabled",
4177
4329
  "capabilities": {
4178
4330
  "supportsFileAttachments": true
4179
4331
  }
@@ -4213,6 +4365,13 @@
4213
4365
  "path": "./assets/agents/Plan.agent.md",
4214
4366
  "description": "Researches a task to create multi-step plans"
4215
4367
  }
4368
+ ],
4369
+ "chatPromptFiles": [
4370
+ {
4371
+ "name": "savePrompt",
4372
+ "path": "./assets/prompts/savePrompt.prompt.md",
4373
+ "description": "Generalize the current discussion into a reusable prompt and save it as a file"
4374
+ }
4216
4375
  ]
4217
4376
  },
4218
4377
  "extensionPack": [
@@ -4262,8 +4421,8 @@
4262
4421
  "create_venv": "tsx script/setup/createVenv.mts",
4263
4422
  "package": "vsce package",
4264
4423
  "web": "vscode-test-web --headless --extensionDevelopmentPath=. .",
4265
- "test:prompt": "mocha \"src/extension/completions-core/prompt/**/test/**/*.test.{ts,tsx}\"",
4266
- "test:completions-core": "tsx src/extension/completions-core/extension/test/runTest.ts"
4424
+ "test:prompt": "mocha \"src/extension/completions-core/vscode-node/prompt/**/test/**/*.test.{ts,tsx}\"",
4425
+ "test:completions-core": "tsx src/extension/completions-core/vscode-node/extension/test/runTest.ts"
4267
4426
  },
4268
4427
  "devDependencies": {
4269
4428
  "@azure/identity": "4.9.1",
@@ -4334,10 +4493,10 @@
4334
4493
  "monaco-editor": "0.44.0",
4335
4494
  "npm-run-all": "^4.1.5",
4336
4495
  "open": "^10.1.2",
4337
- "openai": "^5.11.0",
4496
+ "openai": "^6.7.0",
4338
4497
  "outdent": "^0.8.0",
4339
4498
  "picomatch": "^4.0.2",
4340
- "playwright": "^1.54.0",
4499
+ "playwright": "^1.56.1",
4341
4500
  "prettier": "^3.6.2",
4342
4501
  "react": "^17.0.2",
4343
4502
  "react-dom": "17.0.2",
@@ -4363,12 +4522,12 @@
4363
4522
  },
4364
4523
  "dependencies": {
4365
4524
  "@anthropic-ai/claude-code": "^1.0.120",
4366
- "@anthropic-ai/sdk": "^0.63.0",
4525
+ "@anthropic-ai/sdk": "^0.68.0",
4367
4526
  "@github/copilot": "^0.0.343",
4368
4527
  "@google/genai": "^1.22.0",
4369
4528
  "@humanwhocodes/gitignore-to-minimatch": "1.0.2",
4370
4529
  "@microsoft/tiktokenizer": "^1.0.10",
4371
- "@vscode/copilot-api": "^0.1.12",
4530
+ "@vscode/copilot-api": "^0.1.13",
4372
4531
  "@vscode/extension-telemetry": "^1.0.0",
4373
4532
  "@vscode/l10n": "^0.0.18",
4374
4533
  "@vscode/prompt-tsx": "^0.4.0-alpha.5",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vscode/chat-lib",
3
- "version": "0.0.5-1",
3
+ "version": "0.0.5-11",
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",
@@ -15,11 +15,11 @@
15
15
  },
16
16
  "dependencies": {
17
17
  "@microsoft/tiktokenizer": "^1.0.10",
18
- "@vscode/copilot-api": "^0.1.12",
18
+ "@vscode/copilot-api": "^0.1.13",
19
19
  "@vscode/l10n": "^0.0.18",
20
20
  "@vscode/prompt-tsx": "^0.4.0-alpha.5",
21
21
  "jsonc-parser": "^3.3.1",
22
- "openai": "^5.11.0",
22
+ "openai": "^6.7.0",
23
23
  "web-tree-sitter": "^0.23.0",
24
24
  "yaml": "^2.8.0"
25
25
  },
@@ -1,16 +0,0 @@
1
- import { StatelessNextEditDocument } from '../../../platform/inlineEdits/common/statelessNextEditProvider';
2
- import { LineEdit } from '../../../util/vs/editor/common/core/edits/lineEdit';
3
- import { StringEdit } from '../../../util/vs/editor/common/core/edits/stringEdit';
4
- export declare function editWouldDeleteWhatWasJustInserted(activeDocument: StatelessNextEditDocument, lineEdit: LineEdit): boolean;
5
- /**
6
- * Represents information loss/gain (4-grams) via an edit.
7
- */
8
- export declare class InformationDelta {
9
- readonly inserted: Set<string>;
10
- readonly deleted: Set<string>;
11
- constructor(inserted?: Set<string>, deleted?: Set<string>);
12
- combine(other: InformationDelta): InformationDelta;
13
- isUndoneBy(other: InformationDelta): boolean;
14
- }
15
- export declare function getInformationDelta(source: string, edit: StringEdit): InformationDelta;
16
- //# sourceMappingURL=ghNearbyNesProvider.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ghNearbyNesProvider.d.ts","sourceRoot":"","sources":["../../../../../../src/_internal/extension/inlineEdits/common/ghNearbyNesProvider.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,yBAAyB,EAAE,MAAM,gEAAgE,CAAC;AAC3G,OAAO,EAAE,QAAQ,EAAE,MAAM,oDAAoD,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,MAAM,sDAAsD,CAAC;AAKlF,wBAAgB,kCAAkC,CAAC,cAAc,EAAE,yBAAyB,EAAE,QAAQ,EAAE,QAAQ,WAkB/G;AAQD;;GAEG;AACH,qBAAa,gBAAgB;aAGX,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC;aACrB,OAAO,EAAE,GAAG,CAAC,MAAM,CAAC;gBADpB,QAAQ,GAAE,GAAG,CAAC,MAAM,CAAqB,EACzC,OAAO,GAAE,GAAG,CAAC,MAAM,CAAqB;IAGzD,OAAO,CAAC,KAAK,EAAE,gBAAgB;IAI/B,UAAU,CAAC,KAAK,EAAE,gBAAgB;CAiBlC;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,GAAG,gBAAgB,CAuCtF"}