@vscode/chat-lib 0.1.3-4 → 0.1.3-6

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 (152) hide show
  1. package/dist/src/_internal/extension/byok/node/openAIEndpoint.js +2 -2
  2. package/dist/src/_internal/extension/completions-core/vscode-node/lib/src/auth/copilotTokenManager.d.ts +2 -2
  3. package/dist/src/_internal/extension/completions-core/vscode-node/lib/src/auth/copilotTokenNotifier.d.ts +1 -1
  4. package/dist/src/_internal/extension/completions-core/vscode-node/lib/src/auth/orgs.d.ts +1 -1
  5. package/dist/src/_internal/extension/completions-core/vscode-node/lib/src/config.js +1 -1
  6. package/dist/src/_internal/extension/completions-core/vscode-node/lib/src/experiments/defaultExpFilters.d.ts +1 -1
  7. package/dist/src/_internal/extension/completions-core/vscode-node/lib/src/ghostText/configBlockMode.d.ts +2 -2
  8. package/dist/src/_internal/extension/completions-core/vscode-node/lib/src/ghostText/contextualFilterConstants.js +1 -1
  9. package/dist/src/_internal/extension/completions-core/vscode-node/lib/src/ghostText/contextualFilterConstants.js.map +1 -1
  10. package/dist/src/_internal/extension/completions-core/vscode-node/lib/src/inlineCompletion.d.ts +11 -2
  11. package/dist/src/_internal/extension/completions-core/vscode-node/lib/src/inlineCompletion.d.ts.map +1 -1
  12. package/dist/src/_internal/extension/completions-core/vscode-node/lib/src/inlineCompletion.js +73 -54
  13. package/dist/src/_internal/extension/completions-core/vscode-node/lib/src/inlineCompletion.js.map +1 -1
  14. package/dist/src/_internal/extension/completions-core/vscode-node/lib/src/openai/model.js +1 -1
  15. package/dist/src/_internal/extension/completions-core/vscode-node/lib/src/snippy/errorCreator.js +1 -1
  16. package/dist/src/_internal/extension/completions-core/vscode-node/lib/src/telemetry/userConfig.d.ts +1 -1
  17. package/dist/src/_internal/extension/completions-core/vscode-node/prompt/src/components/reconciler.js +1 -1
  18. package/dist/src/_internal/extension/completions-core/vscode-node/prompt/src/languageMarker.js +7 -7
  19. package/dist/src/_internal/extension/completions-core/vscode-node/prompt/src/parseBlock.js +4 -4
  20. package/dist/src/_internal/extension/inlineEdits/common/delay.d.ts +11 -0
  21. package/dist/src/_internal/extension/inlineEdits/common/delay.d.ts.map +1 -0
  22. package/dist/src/_internal/extension/inlineEdits/common/delay.js +37 -0
  23. package/dist/src/_internal/extension/inlineEdits/common/delay.js.map +1 -0
  24. package/dist/src/_internal/extension/inlineEdits/common/{delayer.d.ts → userInteractionMonitor.d.ts} +12 -13
  25. package/dist/src/_internal/extension/inlineEdits/common/userInteractionMonitor.d.ts.map +1 -0
  26. package/dist/src/_internal/extension/inlineEdits/common/{delayer.js → userInteractionMonitor.js} +63 -42
  27. package/dist/src/_internal/extension/inlineEdits/common/userInteractionMonitor.js.map +1 -0
  28. package/dist/src/_internal/extension/inlineEdits/node/nextEditProvider.d.ts +5 -2
  29. package/dist/src/_internal/extension/inlineEdits/node/nextEditProvider.d.ts.map +1 -1
  30. package/dist/src/_internal/extension/inlineEdits/node/nextEditProvider.js +6 -2
  31. package/dist/src/_internal/extension/inlineEdits/node/nextEditProvider.js.map +1 -1
  32. package/dist/src/_internal/extension/prompt/node/chatMLFetcher.d.ts.map +1 -1
  33. package/dist/src/_internal/extension/prompt/node/chatMLFetcher.js +47 -13
  34. package/dist/src/_internal/extension/prompt/node/chatMLFetcher.js.map +1 -1
  35. package/dist/src/_internal/extension/prompt/node/chatMLFetcherTelemetry.d.ts +3 -1
  36. package/dist/src/_internal/extension/prompt/node/chatMLFetcherTelemetry.d.ts.map +1 -1
  37. package/dist/src/_internal/extension/prompt/node/chatMLFetcherTelemetry.js +13 -1
  38. package/dist/src/_internal/extension/prompt/node/chatMLFetcherTelemetry.js.map +1 -1
  39. package/dist/src/_internal/extension/xtab/common/promptCrafting.d.ts +3 -2
  40. package/dist/src/_internal/extension/xtab/common/promptCrafting.d.ts.map +1 -1
  41. package/dist/src/_internal/extension/xtab/common/promptCrafting.js +9 -5
  42. package/dist/src/_internal/extension/xtab/common/promptCrafting.js.map +1 -1
  43. package/dist/src/_internal/extension/xtab/common/tags.js +7 -7
  44. package/dist/src/_internal/extension/xtab/node/xtabNextCursorPredictor.d.ts.map +1 -1
  45. package/dist/src/_internal/extension/xtab/node/xtabNextCursorPredictor.js +9 -4
  46. package/dist/src/_internal/extension/xtab/node/xtabNextCursorPredictor.js.map +1 -1
  47. package/dist/src/_internal/extension/xtab/node/xtabProvider.d.ts +2 -2
  48. package/dist/src/_internal/extension/xtab/node/xtabProvider.d.ts.map +1 -1
  49. package/dist/src/_internal/extension/xtab/node/xtabProvider.js +14 -9
  50. package/dist/src/_internal/extension/xtab/node/xtabProvider.js.map +1 -1
  51. package/dist/src/_internal/platform/authentication/common/authentication.d.ts +47 -27
  52. package/dist/src/_internal/platform/authentication/common/authentication.d.ts.map +1 -1
  53. package/dist/src/_internal/platform/authentication/common/authentication.js +2 -2
  54. package/dist/src/_internal/platform/authentication/common/authentication.js.map +1 -1
  55. package/dist/src/_internal/platform/authentication/common/staticGitHubAuthenticationService.d.ts +8 -3
  56. package/dist/src/_internal/platform/authentication/common/staticGitHubAuthenticationService.d.ts.map +1 -1
  57. package/dist/src/_internal/platform/authentication/common/staticGitHubAuthenticationService.js +11 -9
  58. package/dist/src/_internal/platform/authentication/common/staticGitHubAuthenticationService.js.map +1 -1
  59. package/dist/src/_internal/platform/chat/common/commonTypes.js +7 -7
  60. package/dist/src/_internal/platform/configuration/common/configurationService.d.ts +42 -11
  61. package/dist/src/_internal/platform/configuration/common/configurationService.d.ts.map +1 -1
  62. package/dist/src/_internal/platform/configuration/common/configurationService.js +51 -44
  63. package/dist/src/_internal/platform/configuration/common/configurationService.js.map +1 -1
  64. package/dist/src/_internal/platform/configuration/common/jsonSchema.d.ts +1 -1
  65. package/dist/src/_internal/platform/configuration/common/jsonSchema.js +22 -22
  66. package/dist/src/_internal/platform/configuration/common/validator.js +14 -14
  67. package/dist/src/_internal/platform/endpoint/common/capiClient.d.ts +4 -1
  68. package/dist/src/_internal/platform/endpoint/common/capiClient.d.ts.map +1 -1
  69. package/dist/src/_internal/platform/endpoint/common/capiClient.js +10 -0
  70. package/dist/src/_internal/platform/endpoint/common/capiClient.js.map +1 -1
  71. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.d.ts +2 -0
  72. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.d.ts.map +1 -1
  73. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.js +29 -7
  74. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.js.map +1 -1
  75. package/dist/src/_internal/platform/endpoint/node/autoChatEndpoint.d.ts +4 -3
  76. package/dist/src/_internal/platform/endpoint/node/autoChatEndpoint.d.ts.map +1 -1
  77. package/dist/src/_internal/platform/endpoint/node/autoChatEndpoint.js +14 -11
  78. package/dist/src/_internal/platform/endpoint/node/autoChatEndpoint.js.map +1 -1
  79. package/dist/src/_internal/platform/endpoint/node/chatEndpoint.d.ts +1 -1
  80. package/dist/src/_internal/platform/endpoint/node/chatEndpoint.d.ts.map +1 -1
  81. package/dist/src/_internal/platform/endpoint/node/chatEndpoint.js +9 -6
  82. package/dist/src/_internal/platform/endpoint/node/chatEndpoint.js.map +1 -1
  83. package/dist/src/_internal/platform/endpoint/node/copilotChatEndpoint.d.ts +20 -0
  84. package/dist/src/_internal/platform/endpoint/node/copilotChatEndpoint.d.ts.map +1 -0
  85. package/dist/src/_internal/platform/endpoint/node/copilotChatEndpoint.js +58 -0
  86. package/dist/src/_internal/platform/endpoint/node/copilotChatEndpoint.js.map +1 -0
  87. package/dist/src/_internal/platform/endpoint/node/messagesApi.d.ts.map +1 -1
  88. package/dist/src/_internal/platform/endpoint/node/messagesApi.js +5 -2
  89. package/dist/src/_internal/platform/endpoint/node/messagesApi.js.map +1 -1
  90. package/dist/src/_internal/platform/extContext/common/extensionContext.d.ts +6 -0
  91. package/dist/src/_internal/platform/extContext/common/extensionContext.d.ts.map +1 -0
  92. package/dist/src/_internal/platform/extContext/common/extensionContext.js +10 -0
  93. package/dist/src/_internal/platform/extContext/common/extensionContext.js.map +1 -0
  94. package/dist/src/_internal/platform/git/common/gitService.d.ts +1 -1
  95. package/dist/src/_internal/platform/git/common/gitService.d.ts.map +1 -1
  96. package/dist/src/_internal/platform/github/common/githubService.d.ts +18 -3
  97. package/dist/src/_internal/platform/github/common/githubService.d.ts.map +1 -1
  98. package/dist/src/_internal/platform/github/common/githubService.js +14 -0
  99. package/dist/src/_internal/platform/github/common/githubService.js.map +1 -1
  100. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/jointCompletionsProviderOptions.d.ts +10 -0
  101. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/jointCompletionsProviderOptions.d.ts.map +1 -0
  102. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/jointCompletionsProviderOptions.js +19 -0
  103. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/jointCompletionsProviderOptions.js.map +1 -0
  104. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/xtabPromptOptions.d.ts +7 -1
  105. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/xtabPromptOptions.d.ts.map +1 -1
  106. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/xtabPromptOptions.js +9 -1
  107. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/xtabPromptOptions.js.map +1 -1
  108. package/dist/src/_internal/platform/inlineEdits/common/inlineEditLogContext.d.ts +1 -1
  109. package/dist/src/_internal/platform/inlineEdits/common/inlineEditLogContext.d.ts.map +1 -1
  110. package/dist/src/_internal/platform/inlineEdits/common/inlineEditLogContext.js +46 -41
  111. package/dist/src/_internal/platform/inlineEdits/common/inlineEditLogContext.js.map +1 -1
  112. package/dist/src/_internal/platform/inlineEdits/common/inlineEditsModelService.d.ts +14 -0
  113. package/dist/src/_internal/platform/inlineEdits/common/inlineEditsModelService.d.ts.map +1 -1
  114. package/dist/src/_internal/platform/inlineEdits/common/inlineEditsModelService.js +14 -1
  115. package/dist/src/_internal/platform/inlineEdits/common/inlineEditsModelService.js.map +1 -1
  116. package/dist/src/_internal/platform/inlineEdits/common/utils/utils.d.ts +1 -0
  117. package/dist/src/_internal/platform/inlineEdits/common/utils/utils.d.ts.map +1 -1
  118. package/dist/src/_internal/platform/inlineEdits/common/utils/utils.js +6 -0
  119. package/dist/src/_internal/platform/inlineEdits/common/utils/utils.js.map +1 -1
  120. package/dist/src/_internal/platform/inlineEdits/node/inlineEditsModelService.d.ts +26 -16
  121. package/dist/src/_internal/platform/inlineEdits/node/inlineEditsModelService.d.ts.map +1 -1
  122. package/dist/src/_internal/platform/inlineEdits/node/inlineEditsModelService.js +187 -73
  123. package/dist/src/_internal/platform/inlineEdits/node/inlineEditsModelService.js.map +1 -1
  124. package/dist/src/_internal/platform/log/common/logService.js +1 -1
  125. package/dist/src/_internal/platform/log/common/logService.js.map +1 -1
  126. package/dist/src/_internal/platform/networking/common/networking.d.ts +6 -0
  127. package/dist/src/_internal/platform/networking/common/networking.d.ts.map +1 -1
  128. package/dist/src/_internal/platform/networking/common/networking.js.map +1 -1
  129. package/dist/src/_internal/platform/proxyModels/node/proxyModelsService.d.ts.map +1 -1
  130. package/dist/src/_internal/platform/proxyModels/node/proxyModelsService.js +47 -4
  131. package/dist/src/_internal/platform/proxyModels/node/proxyModelsService.js.map +1 -1
  132. package/dist/src/_internal/platform/requestLogger/node/requestLogger.d.ts +3 -0
  133. package/dist/src/_internal/platform/requestLogger/node/requestLogger.d.ts.map +1 -1
  134. package/dist/src/_internal/platform/requestLogger/node/requestLogger.js +4 -1
  135. package/dist/src/_internal/platform/requestLogger/node/requestLogger.js.map +1 -1
  136. package/dist/src/_internal/platform/telemetry/common/telemetry.d.ts +1 -1
  137. package/dist/src/_internal/platform/workspaceRecorder/common/workspaceLog.d.ts +6 -6
  138. package/dist/src/_internal/util/common/crypto.js +2 -2
  139. package/dist/src/_internal/util/common/imageUtils.js +9 -9
  140. package/dist/src/_internal/util/common/languages.js +4 -4
  141. package/dist/src/_internal/util/vs/base/common/types.d.ts +27 -0
  142. package/dist/src/_internal/util/vs/base/common/types.d.ts.map +1 -1
  143. package/dist/src/_internal/util/vs/base/common/types.js +28 -0
  144. package/dist/src/_internal/util/vs/base/common/types.js.map +1 -1
  145. package/dist/src/main.d.ts +4 -1
  146. package/dist/src/main.d.ts.map +1 -1
  147. package/dist/src/main.js +17 -8
  148. package/dist/src/main.js.map +1 -1
  149. package/dist/src/package.json +131 -161
  150. package/package.json +1 -1
  151. package/dist/src/_internal/extension/inlineEdits/common/delayer.d.ts.map +0 -1
  152. package/dist/src/_internal/extension/inlineEdits/common/delayer.js.map +0 -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.34.0",
5
+ "version": "0.36.0",
6
6
  "build": "1",
7
7
  "internalAIKey": "1058ec22-3c95-4951-8443-f26c1f325911",
8
8
  "completionsCoreVersion": "1.378.1799",
@@ -23,7 +23,7 @@
23
23
  "icon": "assets/copilot.png",
24
24
  "pricing": "Trial",
25
25
  "engines": {
26
- "vscode": "^1.107.0-20251119",
26
+ "vscode": "^1.108.0",
27
27
  "npm": ">=9.0.0",
28
28
  "node": ">=22.14.0"
29
29
  },
@@ -245,6 +245,7 @@
245
245
  "name": "copilot_findFiles",
246
246
  "toolReferenceName": "fileSearch",
247
247
  "displayName": "%copilot.tools.findFiles.name%",
248
+ "userDescription": "%copilot.tools.findFiles.userDescription%",
248
249
  "modelDescription": "Search for files in the workspace by glob pattern. This only returns the paths of matching files. Use this tool when you know the exact filename pattern of the files you're searching for. Glob patterns match from the root of the workspace folder. Examples:\n- **/*.{js,ts} to match all js/ts files in the workspace.\n- src/** to match all files under the top-level src folder.\n- **/foo/**/*.js to match all js files under any foo folder in the workspace.",
249
250
  "tags": [
250
251
  "vscode_codesearch"
@@ -270,6 +271,7 @@
270
271
  "name": "copilot_findTextInFiles",
271
272
  "toolReferenceName": "textSearch",
272
273
  "displayName": "%copilot.tools.findTextInFiles.name%",
274
+ "userDescription": "%copilot.tools.findTextInFiles.userDescription%",
273
275
  "modelDescription": "Do a fast text search in the workspace. Use this tool when you want to search with an exact string or regex. If you are not sure what words will appear in the workspace, prefer using regex patterns with alternation (|) or character classes to search for multiple potential words at once instead of making separate searches. For example, use 'function|method|procedure' to look for all of those words at once. Use includePattern to search within files matching a specific pattern, or in a specific file, using a relative path. Use 'includeIgnoredFiles' to include files normally ignored by .gitignore, other ignore files, and `files.exclude` and `search.exclude` settings. Warning: using this may cause the search to be slower, only set it when you want to search in ignored folders like node_modules or build outputs. Use this tool when you want to see an overview of a particular file, instead of using read_file many times to look for code within a file.",
274
276
  "tags": [
275
277
  "vscode_codesearch"
@@ -367,6 +369,7 @@
367
369
  "name": "copilot_listDirectory",
368
370
  "toolReferenceName": "listDirectory",
369
371
  "displayName": "%copilot.tools.listDirectory.name%",
372
+ "userDescription": "%copilot.tools.listDirectory.userDescription%",
370
373
  "modelDescription": "List the contents of a directory. Result will have the name of the child. If the name ends in /, it's a folder, otherwise a file",
371
374
  "tags": [
372
375
  "vscode_codesearch"
@@ -1319,7 +1322,7 @@
1319
1322
  "commands": [
1320
1323
  {
1321
1324
  "name": "generate",
1322
- "when": "!config.chat.edits2.enabled",
1325
+ "when": "!config.inlineChat.enableV2",
1323
1326
  "description": "%copilot.workspace.generate.description%",
1324
1327
  "disambiguation": [
1325
1328
  {
@@ -1333,7 +1336,7 @@
1333
1336
  },
1334
1337
  {
1335
1338
  "name": "edit",
1336
- "when": "!config.chat.edits2.enabled",
1339
+ "when": "!config.inlineChat.enableV2",
1337
1340
  "description": "%copilot.workspace.edit.inline.description%",
1338
1341
  "disambiguation": [
1339
1342
  {
@@ -1347,7 +1350,7 @@
1347
1350
  },
1348
1351
  {
1349
1352
  "name": "doc",
1350
- "when": "!config.chat.edits2.enabled",
1353
+ "when": "!config.inlineChat.enableV2",
1351
1354
  "description": "%copilot.workspace.doc.description%",
1352
1355
  "disambiguation": [
1353
1356
  {
@@ -1361,7 +1364,7 @@
1361
1364
  },
1362
1365
  {
1363
1366
  "name": "fix",
1364
- "when": "!config.chat.edits2.enabled",
1367
+ "when": "!config.inlineChat.enableV2",
1365
1368
  "description": "%copilot.workspace.fix.description%",
1366
1369
  "disambiguation": [
1367
1370
  {
@@ -1375,7 +1378,7 @@
1375
1378
  },
1376
1379
  {
1377
1380
  "name": "tests",
1378
- "when": "!config.chat.edits2.enabled",
1381
+ "when": "!config.inlineChat.enableV2",
1379
1382
  "description": "%copilot.workspace.tests.description%",
1380
1383
  "disambiguation": [
1381
1384
  {
@@ -1419,9 +1422,6 @@
1419
1422
  "isAgent": true,
1420
1423
  "when": "config.chat.agent.enabled",
1421
1424
  "commands": [
1422
- {
1423
- "name": "list"
1424
- },
1425
1425
  {
1426
1426
  "name": "error",
1427
1427
  "description": "Make a model request which will result in an error",
@@ -1749,86 +1749,42 @@
1749
1749
  "view": "debug",
1750
1750
  "when": "github.copilot-chat.activated",
1751
1751
  "contents": "%github.copilot.viewsWelcome.debug%"
1752
- },
1753
- {
1754
- "view": "codex-placeholder",
1755
- "when": "true",
1756
- "contents": "%github.copilot.viewsWelcome.codexPlaceholder%"
1757
- },
1758
- {
1759
- "view": "workbench.view.chat.sessions.openai-codex",
1760
- "contents": "%github.copilot.viewsWelcome.codexWelcomeView%"
1761
- },
1762
- {
1763
- "view": "copilot-agents-placeholder",
1764
- "when": "true",
1765
- "contents": "%github.copilot.viewsWelcome.agentsPlaceholder%"
1766
- },
1767
- {
1768
- "view": "workbench.view.chat.sessions.copilot-cloud-agent",
1769
- "when": "github.copilot.auth.missingPermissiveSession",
1770
- "contents": "%github.copilot.viewsWelcome.noPermissiveToken.contents%"
1771
- },
1772
- {
1773
- "view": "workbench.view.chat.sessions.copilot-cloud-agent",
1774
- "when": "workspaceFolderCount == 0",
1775
- "contents": "%github.copilot.viewsWelcome.noFolder.contents%"
1776
- },
1777
- {
1778
- "view": "workbench.view.chat.sessions.copilot-cloud-agent",
1779
- "when": "git.state == initialized && gitOpenRepositoryCount == 0 && workspaceFolderCount > 0 && git.parentRepositoryCount == 0",
1780
- "contents": "%github.copilot.viewsWelcome.noRepo.contents%"
1781
- },
1782
- {
1783
- "view": "workbench.view.chat.sessions.copilot-cloud-agent",
1784
- "when": "git.state == initialized && workspaceFolderCount > 0 && (git.parentRepositoryCount > 0 || gitOpenRepositoryCount > 0) && !github:hasGitHubRemotes",
1785
- "contents": "%github.copilot.viewsWelcome.noGitHub.contents%"
1786
- },
1787
- {
1788
- "view": "workbench.view.chat.sessions.copilot-cloud-agent",
1789
- "when": "github.copilot.chat.cloudSessionsEmpty",
1790
- "contents": "%github.copilot.viewsWelcome.cloudSessionsEmpty.contents%"
1791
- },
1792
- {
1793
- "view": "workbench.view.chat.sessions.copilotcli",
1794
- "when": "github.copilot.chat.cliSessionsEmpty",
1795
- "contents": "%github.copilot.viewsWelcome.cliSessionsEmpty.contents%"
1796
1752
  }
1797
1753
  ],
1798
1754
  "chatViewsWelcome": [
1799
1755
  {
1800
- "icon": "$(copilot-large)",
1801
- "title": "Ask Copilot",
1756
+ "icon": "$(chat-sparkle)",
1757
+ "title": "%copilot.title%",
1802
1758
  "content": "%github.copilot.viewsWelcome.individual.expired%",
1803
1759
  "when": "github.copilot.interactiveSession.individual.expired"
1804
1760
  },
1805
1761
  {
1806
- "icon": "$(copilot-large)",
1807
- "title": "Ask Copilot",
1762
+ "icon": "$(chat-sparkle)",
1763
+ "title": "%copilot.title%",
1808
1764
  "content": "%github.copilot.viewsWelcome.enterprise%",
1809
1765
  "when": "github.copilot.interactiveSession.enterprise.disabled"
1810
1766
  },
1811
1767
  {
1812
- "icon": "$(copilot-large)",
1813
- "title": "Ask Copilot",
1768
+ "icon": "$(chat-sparkle)",
1769
+ "title": "%copilot.title%",
1814
1770
  "content": "%github.copilot.viewsWelcome.offline%",
1815
1771
  "when": "github.copilot.offline"
1816
1772
  },
1817
1773
  {
1818
- "icon": "$(copilot-large)",
1819
- "title": "Ask Copilot",
1774
+ "icon": "$(chat-sparkle)",
1775
+ "title": "%copilot.title%",
1820
1776
  "content": "%github.copilot.viewsWelcome.contactSupport%",
1821
1777
  "when": "github.copilot.interactiveSession.contactSupport"
1822
1778
  },
1823
1779
  {
1824
- "icon": "$(copilot-large)",
1825
- "title": "Ask Copilot",
1780
+ "icon": "$(chat-sparkle)",
1781
+ "title": "%copilot.title%",
1826
1782
  "content": "%github.copilot.viewsWelcome.chatDisabled%",
1827
1783
  "when": "github.copilot.interactiveSession.chatDisabled"
1828
1784
  },
1829
1785
  {
1830
- "icon": "$(copilot-large)",
1831
- "title": "Ask Copilot",
1786
+ "icon": "$(chat-sparkle)",
1787
+ "title": "%copilot.title%",
1832
1788
  "content": "%github.copilot.viewsWelcome.switchToReleaseChannel%",
1833
1789
  "when": "github.copilot.interactiveSession.switchToReleaseChannel"
1834
1790
  }
@@ -1838,18 +1794,6 @@
1838
1794
  "command": "github.copilot.chat.triggerPermissiveSignIn",
1839
1795
  "title": "%github.copilot.command.triggerPermissiveSignIn%"
1840
1796
  },
1841
- {
1842
- "command": "github.copilot.claude.sessions.refresh",
1843
- "title": "%github.copilot.command.refreshClaudeCodeSessions%",
1844
- "icon": "$(refresh)",
1845
- "category": "Claude Code"
1846
- },
1847
- {
1848
- "command": "github.copilot.cli.sessions.refresh",
1849
- "title": "%github.copilot.command.refreshAgentSessions%",
1850
- "icon": "$(refresh)",
1851
- "category": "Copilot CLI"
1852
- },
1853
1797
  {
1854
1798
  "command": "github.copilot.cli.sessions.delete",
1855
1799
  "title": "%github.copilot.command.deleteAgentSession%",
@@ -1862,12 +1806,6 @@
1862
1806
  "icon": "$(terminal)",
1863
1807
  "category": "Copilot CLI"
1864
1808
  },
1865
- {
1866
- "command": "github.copilot.cli.sessions.newTerminalSession",
1867
- "title": "%github.copilot.cli.sessions.newTerminalSession%",
1868
- "icon": "$(terminal)",
1869
- "category": "Copilot CLI"
1870
- },
1871
1809
  {
1872
1810
  "command": "github.copilot.chat.replay",
1873
1811
  "title": "Start Chat Replay",
@@ -2237,6 +2175,14 @@
2237
2175
  "command": "github.copilot.chat.debug.hideNesRequests",
2238
2176
  "title": "Hide NES Requests"
2239
2177
  },
2178
+ {
2179
+ "command": "github.copilot.chat.debug.showGhostRequests",
2180
+ "title": "Show Ghost Requests"
2181
+ },
2182
+ {
2183
+ "command": "github.copilot.chat.debug.hideGhostRequests",
2184
+ "title": "Hide Ghost Requests"
2185
+ },
2240
2186
  {
2241
2187
  "command": "github.copilot.chat.debug.showRawRequestBody",
2242
2188
  "title": "Show Raw Request Body"
@@ -2309,11 +2255,6 @@
2309
2255
  "title": "Manage Bring Your Own Key API Key",
2310
2256
  "enablement": "false"
2311
2257
  },
2312
- {
2313
- "command": "github.copilot.cloud.sessions.refresh",
2314
- "title": "%github.copilot.command.refreshAgentSessions%",
2315
- "icon": "$(refresh)"
2316
- },
2317
2258
  {
2318
2259
  "command": "github.copilot.cloud.resetWorkspaceConfirmations",
2319
2260
  "title": "%github.copilot.command.resetCloudAgentWorkspaceConfirmations%"
@@ -2327,6 +2268,11 @@
2327
2268
  "command": "github.copilot.cloud.sessions.proxy.closeChatSessionPullRequest",
2328
2269
  "title": "%github.copilot.command.closeChatSessionPullRequest.title%"
2329
2270
  },
2271
+ {
2272
+ "command": "github.copilot.cloud.sessions.installPRExtension",
2273
+ "title": "%github.copilot.command.installPRExtension.title%",
2274
+ "icon": "$(extensions)"
2275
+ },
2330
2276
  {
2331
2277
  "command": "github.copilot.chat.openSuggestionsPanel",
2332
2278
  "title": "Open Completions Panel",
@@ -2368,6 +2314,12 @@
2368
2314
  "title": "%github.copilot.command.applyCopilotCLIAgentSessionChanges%",
2369
2315
  "icon": "$(git-stash-pop)",
2370
2316
  "category": "GitHub Copilot"
2317
+ },
2318
+ {
2319
+ "command": "github.copilot.chat.applyCopilotCLIAgentSessionChanges.apply",
2320
+ "title": "%github.copilot.chat.applyCopilotCLIAgentSessionChanges.apply%",
2321
+ "icon": "$(git-stash-pop)",
2322
+ "category": "GitHub Copilot"
2371
2323
  }
2372
2324
  ],
2373
2325
  "configuration": [
@@ -2375,6 +2327,16 @@
2375
2327
  "title": "GitHub Copilot Chat",
2376
2328
  "id": "stable",
2377
2329
  "properties": {
2330
+ "github.copilot.chat.backgroundAgent.enabled": {
2331
+ "type": "boolean",
2332
+ "default": true,
2333
+ "markdownDescription": "%github.copilot.config.backgroundAgent.enabled%"
2334
+ },
2335
+ "github.copilot.chat.cloudAgent.enabled": {
2336
+ "type": "boolean",
2337
+ "default": true,
2338
+ "markdownDescription": "%github.copilot.config.cloudAgent.enabled%"
2339
+ },
2378
2340
  "github.copilot.chat.codeGeneration.useInstructionFiles": {
2379
2341
  "type": "boolean",
2380
2342
  "default": true,
@@ -2497,11 +2459,6 @@
2497
2459
  "default": true,
2498
2460
  "description": "%github.copilot.config.customInstructionsInSystemMessage%"
2499
2461
  },
2500
- "github.copilot.chat.customAgents.showOrganizationAndEnterpriseAgents": {
2501
- "type": "boolean",
2502
- "default": true,
2503
- "description": "%github.copilot.config.customAgents.showOrganizationAndEnterpriseAgents%"
2504
- },
2505
2462
  "github.copilot.chat.agent.currentEditorContext.enabled": {
2506
2463
  "type": "boolean",
2507
2464
  "default": true,
@@ -3276,6 +3233,15 @@
3276
3233
  ],
3277
3234
  "description": "%github.copilot.config.alternateGptPrompt.enabled%"
3278
3235
  },
3236
+ "github.copilot.chat.alternateGeminiModelFPrompt.enabled": {
3237
+ "type": "boolean",
3238
+ "default": false,
3239
+ "tags": [
3240
+ "experimental",
3241
+ "onExp"
3242
+ ],
3243
+ "description": "%github.copilot.config.alternateGeminiModelFPrompt.enabled%"
3244
+ },
3279
3245
  "github.copilot.chat.useResponsesApi": {
3280
3246
  "type": "boolean",
3281
3247
  "default": true,
@@ -3314,13 +3280,11 @@
3314
3280
  ]
3315
3281
  },
3316
3282
  "github.copilot.chat.anthropic.thinking.budgetTokens": {
3317
- "type": [
3318
- "number",
3319
- "null"
3320
- ],
3283
+ "type": "number",
3321
3284
  "markdownDescription": "%github.copilot.config.anthropic.thinking.budgetTokens%",
3322
- "minimum": 1024,
3285
+ "minimum": 0,
3323
3286
  "maximum": 32000,
3287
+ "default": 4000,
3324
3288
  "tags": [
3325
3289
  "experimental",
3326
3290
  "onExp"
@@ -3434,6 +3398,14 @@
3434
3398
  "electron-fetch",
3435
3399
  "node-fetch"
3436
3400
  ]
3401
+ },
3402
+ "github.copilot.chat.customAgents.showOrganizationAndEnterpriseAgents": {
3403
+ "type": "boolean",
3404
+ "default": false,
3405
+ "description": "%github.copilot.config.customAgents.showOrganizationAndEnterpriseAgents%",
3406
+ "tags": [
3407
+ "experimental"
3408
+ ]
3437
3409
  }
3438
3410
  }
3439
3411
  },
@@ -3863,7 +3835,7 @@
3863
3835
  },
3864
3836
  "github.copilot.chat.inlineEdits.renameSymbolSuggestions": {
3865
3837
  "type": "boolean",
3866
- "default": false,
3838
+ "default": true,
3867
3839
  "markdownDescription": "%github.copilot.config.inlineEdits.renameSymbolSuggestions%",
3868
3840
  "tags": [
3869
3841
  "advanced",
@@ -4003,6 +3975,13 @@
4003
3975
  "group": "copilotGenerate@2"
4004
3976
  }
4005
3977
  ],
3978
+ "chat/input/editing/sessionToolbar": [
3979
+ {
3980
+ "command": "github.copilot.chat.applyCopilotCLIAgentSessionChanges.apply",
3981
+ "when": "chatSessionType == copilotcli",
3982
+ "group": "navigation@0"
3983
+ }
3984
+ ],
4006
3985
  "testing/item/result": [
4007
3986
  {
4008
3987
  "command": "github.copilot.tests.fixTestFailure.fromInline",
@@ -4166,6 +4145,14 @@
4166
4145
  "command": "github.copilot.chat.debug.hideNesRequests",
4167
4146
  "when": "false"
4168
4147
  },
4148
+ {
4149
+ "command": "github.copilot.chat.debug.showGhostRequests",
4150
+ "when": "false"
4151
+ },
4152
+ {
4153
+ "command": "github.copilot.chat.debug.hideGhostRequests",
4154
+ "when": "false"
4155
+ },
4169
4156
  {
4170
4157
  "command": "github.copilot.chat.debug.exportLogItem",
4171
4158
  "when": "false"
@@ -4206,32 +4193,28 @@
4206
4193
  "command": "github.copilot.cli.sessions.delete",
4207
4194
  "when": "false"
4208
4195
  },
4209
- {
4210
- "command": "github.copilot.cli.sessions.refresh",
4211
- "when": "false"
4212
- },
4213
4196
  {
4214
4197
  "command": "github.copilot.cli.sessions.resumeInTerminal",
4215
4198
  "when": "false"
4216
4199
  },
4217
4200
  {
4218
- "command": "github.copilot.cli.sessions.newTerminalSession",
4201
+ "command": "github.copilot.cloud.sessions.openInBrowser",
4219
4202
  "when": "false"
4220
4203
  },
4221
4204
  {
4222
- "command": "github.copilot.cloud.sessions.refresh",
4205
+ "command": "github.copilot.cloud.sessions.proxy.closeChatSessionPullRequest",
4223
4206
  "when": "false"
4224
4207
  },
4225
4208
  {
4226
- "command": "github.copilot.cloud.sessions.openInBrowser",
4209
+ "command": "github.copilot.cloud.sessions.installPRExtension",
4227
4210
  "when": "false"
4228
4211
  },
4229
4212
  {
4230
- "command": "github.copilot.cloud.sessions.proxy.closeChatSessionPullRequest",
4213
+ "command": "github.copilot.chat.applyCopilotCLIAgentSessionChanges",
4231
4214
  "when": "false"
4232
4215
  },
4233
4216
  {
4234
- "command": "github.copilot.chat.applyCopilotCLIAgentSessionChanges",
4217
+ "command": "github.copilot.chat.applyCopilotCLIAgentSessionChanges.apply",
4235
4218
  "when": "false"
4236
4219
  },
4237
4220
  {
@@ -4240,16 +4223,6 @@
4240
4223
  }
4241
4224
  ],
4242
4225
  "view/title": [
4243
- {
4244
- "command": "github.copilot.claude.sessions.refresh",
4245
- "when": "view == workbench.view.chat.sessions.claude-code",
4246
- "group": "navigation@1"
4247
- },
4248
- {
4249
- "command": "github.copilot.cli.sessions.refresh",
4250
- "when": "view == workbench.view.chat.sessions.copilotcli",
4251
- "group": "navigation@1"
4252
- },
4253
4226
  {
4254
4227
  "submenu": "github.copilot.chat.debug.filter",
4255
4228
  "when": "view == copilot-chat",
@@ -4269,11 +4242,6 @@
4269
4242
  "command": "github.copilot.debug.showChatLogView",
4270
4243
  "when": "view == workbench.panel.chat.view.copilot",
4271
4244
  "group": "3_show"
4272
- },
4273
- {
4274
- "command": "github.copilot.cloud.sessions.refresh",
4275
- "when": "view == workbench.view.chat.sessions.copilot-cloud-agent",
4276
- "group": "navigation@1"
4277
4245
  }
4278
4246
  ],
4279
4247
  "view/item/context": [
@@ -4513,6 +4481,16 @@
4513
4481
  "command": "github.copilot.chat.debug.hideNesRequests",
4514
4482
  "when": "!github.copilot.chat.debug.nesRequestsHidden",
4515
4483
  "group": "commands@2"
4484
+ },
4485
+ {
4486
+ "command": "github.copilot.chat.debug.showGhostRequests",
4487
+ "when": "github.copilot.chat.debug.ghostRequestsHidden",
4488
+ "group": "commands@3"
4489
+ },
4490
+ {
4491
+ "command": "github.copilot.chat.debug.hideGhostRequests",
4492
+ "when": "!github.copilot.chat.debug.ghostRequestsHidden",
4493
+ "group": "commands@3"
4516
4494
  }
4517
4495
  ],
4518
4496
  "notebook/toolbar": [
@@ -4534,7 +4512,18 @@
4534
4512
  "when": "config.git.enabled && !git.missing && !isInDiffEditor && !isMergeEditor && resource in git.mergeChanges && git.activeResourceHasMergeConflicts"
4535
4513
  }
4536
4514
  ],
4515
+ "multiDiffEditor/content": [
4516
+ {
4517
+ "command": "github.copilot.chat.applyCopilotCLIAgentSessionChanges",
4518
+ "when": "resourceScheme == copilotcli-worktree-changes"
4519
+ }
4520
+ ],
4537
4521
  "chat/chatSessions": [
4522
+ {
4523
+ "command": "github.copilot.chat.applyCopilotCLIAgentSessionChanges",
4524
+ "when": "chatSessionType == copilotcli",
4525
+ "group": "inline@0"
4526
+ },
4538
4527
  {
4539
4528
  "command": "github.copilot.cli.sessions.resumeInTerminal",
4540
4529
  "when": "chatSessionType == copilotcli",
@@ -4545,16 +4534,6 @@
4545
4534
  "when": "chatSessionType == copilotcli",
4546
4535
  "group": "inline@2"
4547
4536
  },
4548
- {
4549
- "command": "github.copilot.cli.sessions.newTerminalSession",
4550
- "when": "view == workbench.view.chat.sessions.copilotcli",
4551
- "group": "submenu"
4552
- },
4553
- {
4554
- "command": "github.copilot.cli.sessions.refresh",
4555
- "when": "view == workbench.view.chat.sessions.copilotcli",
4556
- "group": "navigation@1"
4557
- },
4558
4537
  {
4559
4538
  "command": "github.copilot.cloud.sessions.openInBrowser",
4560
4539
  "when": "chatSessionType == copilot-cloud-agent",
@@ -4564,11 +4543,13 @@
4564
4543
  "command": "github.copilot.cloud.sessions.proxy.closeChatSessionPullRequest",
4565
4544
  "when": "chatSessionType == copilot-cloud-agent",
4566
4545
  "group": "context"
4567
- },
4546
+ }
4547
+ ],
4548
+ "chat/multiDiff/context": [
4568
4549
  {
4569
- "command": "github.copilot.cli.sessions.delete",
4570
- "when": "chatSessionType == copilotcli && config.chat.agentSessionsViewLocation == 'single-view'",
4571
- "group": "context"
4550
+ "command": "github.copilot.cloud.sessions.installPRExtension",
4551
+ "when": "chatSessionType == copilot-cloud-agent && !github.copilot.prExtensionInstalled",
4552
+ "group": "inline@1"
4572
4553
  }
4573
4554
  ]
4574
4555
  },
@@ -4687,20 +4668,6 @@
4687
4668
  "icon": "$(inspect)",
4688
4669
  "when": "github.copilot.chat.showContextInspectorView"
4689
4670
  }
4690
- ],
4691
- "agentSessions": [
4692
- {
4693
- "id": "codex-placeholder",
4694
- "name": "OpenAI Codex",
4695
- "when": "github.copilot.chat.codex.showPlaceholder",
4696
- "icon": "$(file)"
4697
- },
4698
- {
4699
- "id": "copilot-agents-placeholder",
4700
- "name": "GitHub Copilot Agents",
4701
- "when": "chatEntitlementSignedOut || !chatIsEnabled",
4702
- "icon": "$(copilot)"
4703
- }
4704
4671
  ]
4705
4672
  },
4706
4673
  "viewsContainers": {
@@ -4910,11 +4877,11 @@
4910
4877
  "icon": "$(sparkle)",
4911
4878
  "welcomeTitle": "Claude Code Agent",
4912
4879
  "welcomeMessage": "Run local background tasks",
4913
- "inputPlaceholder": "Describe your task, type `#` for adding context",
4880
+ "inputPlaceholder": "Run local tasks with Claude Code, type `#` for adding context",
4914
4881
  "order": 3,
4915
4882
  "description": "The Claude Code Agent works on your local machine",
4916
- "when": "config.github.copilot.chat.advanced.claudeCode.enabled",
4917
- "canDelegate": false,
4883
+ "when": "config.github.copilot.chat.claudeCode.enabled",
4884
+ "canDelegate": true,
4918
4885
  "capabilities": {
4919
4886
  "supportsFileAttachments": true
4920
4887
  },
@@ -4952,6 +4919,7 @@
4952
4919
  "order": 2,
4953
4920
  "canDelegate": true,
4954
4921
  "description": "Delegate tasks to a background agent.",
4922
+ "when": "config.github.copilot.chat.backgroundAgent.enabled",
4955
4923
  "capabilities": {
4956
4924
  "supportsFileAttachments": true,
4957
4925
  "supportsProblemAttachments": true,
@@ -4963,7 +4931,8 @@
4963
4931
  "commands": [
4964
4932
  {
4965
4933
  "name": "delegate",
4966
- "description": "Delegate chat session to cloud agent and create associated PR"
4934
+ "description": "Delegate chat session to cloud agent and create associated PR",
4935
+ "when": "config.github.copilot.chat.cloudAgent.enabled"
4967
4936
  }
4968
4937
  ]
4969
4938
  },
@@ -4981,6 +4950,7 @@
4981
4950
  "order": 1,
4982
4951
  "canDelegate": true,
4983
4952
  "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.",
4953
+ "when": "config.github.copilot.chat.cloudAgent.enabled",
4984
4954
  "capabilities": {
4985
4955
  "supportsFileAttachments": true
4986
4956
  }
@@ -5043,10 +5013,10 @@
5043
5013
  "prepare": "husky",
5044
5014
  "vscode-dts:dev": "node node_modules/@vscode/dts/index.js dev && mv vscode.proposed.*.ts src/extension",
5045
5015
  "vscode-dts:main": "node node_modules/@vscode/dts/index.js main && mv vscode.d.ts src/extension",
5046
- "build": "tsx .esbuild.ts",
5047
- "compile": "tsx .esbuild.ts --dev",
5016
+ "build": "node .esbuild.ts",
5017
+ "compile": "node .esbuild.ts --dev",
5048
5018
  "watch": "npm-run-all -p watch:*",
5049
- "watch:esbuild": "tsx .esbuild.ts --watch --dev",
5019
+ "watch:esbuild": "node .esbuild.ts --watch --dev",
5050
5020
  "watch:tsc-extension": "tsc --noEmit --watch --project tsconfig.json",
5051
5021
  "watch:tsc-extension-web": "tsc --noEmit --watch --project tsconfig.worker.json",
5052
5022
  "watch:tsc-simulation-workbench": "tsc --noEmit --watch --project test/simulation/workbench/tsconfig.json",
@@ -5176,9 +5146,9 @@
5176
5146
  "yargs": "^17.7.2"
5177
5147
  },
5178
5148
  "dependencies": {
5179
- "@anthropic-ai/claude-code": "^1.0.120",
5149
+ "@anthropic-ai/claude-agent-sdk": "0.1.55",
5180
5150
  "@anthropic-ai/sdk": "^0.68.0",
5181
- "@github/copilot": "^0.0.365",
5151
+ "@github/copilot": "^0.0.366",
5182
5152
  "@google/genai": "^1.22.0",
5183
5153
  "@humanwhocodes/gitignore-to-minimatch": "1.0.2",
5184
5154
  "@microsoft/tiktokenizer": "^1.0.10",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vscode/chat-lib",
3
- "version": "0.1.3-4",
3
+ "version": "0.1.3-6",
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",
@@ -1 +0,0 @@
1
- {"version":3,"file":"delayer.d.ts","sourceRoot":"","sources":["../../../../../../src/_internal/extension/inlineEdits/common/delayer.ts"],"names":[],"mappings":"AAKA,OAAO,EAAa,qBAAqB,EAAE,MAAM,6DAA6D,CAAC;AAC/G,OAAO,EAAE,uBAAuB,EAAE,MAAM,+DAA+D,CAAC;AAExG,qBAAa,YAAY;IAIvB,OAAO,CAAC,gBAAgB;IACxB,OAAO,CAAC,QAAQ,CAAC,iBAAiB;IAClC,OAAO,CAAC,QAAQ,CAAC,sBAAsB;IALxC,OAAO,CAAC,aAAa,CAAK;gBAGjB,gBAAgB,EAAE,MAAM,EACf,iBAAiB,EAAE,MAAM,GAAG,SAAS,EACrC,sBAAsB,GAAE,MAAmB;IAItD,gBAAgB,CAA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