@vscode/chat-lib 0.2.0 → 0.2.1-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 (84) 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/snippy/errorCreator.js +1 -1
  15. package/dist/src/_internal/extension/completions-core/vscode-node/lib/src/telemetry/userConfig.d.ts +1 -1
  16. package/dist/src/_internal/extension/completions-core/vscode-node/prompt/src/components/reconciler.js +1 -1
  17. package/dist/src/_internal/extension/completions-core/vscode-node/prompt/src/languageMarker.js +7 -7
  18. package/dist/src/_internal/extension/completions-core/vscode-node/prompt/src/parseBlock.js +4 -4
  19. package/dist/src/_internal/extension/prompt/node/chatMLFetcher.d.ts.map +1 -1
  20. package/dist/src/_internal/extension/prompt/node/chatMLFetcher.js +2 -1
  21. package/dist/src/_internal/extension/prompt/node/chatMLFetcher.js.map +1 -1
  22. package/dist/src/_internal/extension/xtab/common/promptCrafting.d.ts +21 -4
  23. package/dist/src/_internal/extension/xtab/common/promptCrafting.d.ts.map +1 -1
  24. package/dist/src/_internal/extension/xtab/common/promptCrafting.js +36 -21
  25. package/dist/src/_internal/extension/xtab/common/promptCrafting.js.map +1 -1
  26. package/dist/src/_internal/extension/xtab/common/tags.js +7 -7
  27. package/dist/src/_internal/extension/xtab/node/xtabNextCursorPredictor.d.ts.map +1 -1
  28. package/dist/src/_internal/extension/xtab/node/xtabNextCursorPredictor.js +5 -2
  29. package/dist/src/_internal/extension/xtab/node/xtabNextCursorPredictor.js.map +1 -1
  30. package/dist/src/_internal/extension/xtab/node/xtabProvider.d.ts.map +1 -1
  31. package/dist/src/_internal/extension/xtab/node/xtabProvider.js +9 -5
  32. package/dist/src/_internal/extension/xtab/node/xtabProvider.js.map +1 -1
  33. package/dist/src/_internal/platform/authentication/common/authentication.d.ts +47 -27
  34. package/dist/src/_internal/platform/authentication/common/authentication.d.ts.map +1 -1
  35. package/dist/src/_internal/platform/authentication/common/authentication.js +2 -2
  36. package/dist/src/_internal/platform/authentication/common/authentication.js.map +1 -1
  37. package/dist/src/_internal/platform/authentication/common/staticGitHubAuthenticationService.d.ts +8 -3
  38. package/dist/src/_internal/platform/authentication/common/staticGitHubAuthenticationService.d.ts.map +1 -1
  39. package/dist/src/_internal/platform/authentication/common/staticGitHubAuthenticationService.js +11 -9
  40. package/dist/src/_internal/platform/authentication/common/staticGitHubAuthenticationService.js.map +1 -1
  41. package/dist/src/_internal/platform/chat/common/commonTypes.js +7 -7
  42. package/dist/src/_internal/platform/configuration/common/configurationService.d.ts +36 -9
  43. package/dist/src/_internal/platform/configuration/common/configurationService.d.ts.map +1 -1
  44. package/dist/src/_internal/platform/configuration/common/configurationService.js +44 -41
  45. package/dist/src/_internal/platform/configuration/common/configurationService.js.map +1 -1
  46. package/dist/src/_internal/platform/configuration/common/jsonSchema.d.ts +1 -1
  47. package/dist/src/_internal/platform/configuration/common/jsonSchema.js +22 -22
  48. package/dist/src/_internal/platform/configuration/common/validator.js +14 -14
  49. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.d.ts +1 -0
  50. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.d.ts.map +1 -1
  51. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.js +15 -6
  52. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.js.map +1 -1
  53. package/dist/src/_internal/platform/github/common/githubService.d.ts +52 -19
  54. package/dist/src/_internal/platform/github/common/githubService.d.ts.map +1 -1
  55. package/dist/src/_internal/platform/github/common/githubService.js +8 -1
  56. package/dist/src/_internal/platform/github/common/githubService.js.map +1 -1
  57. package/dist/src/_internal/platform/inlineEdits/common/inlineEditLogContext.d.ts +1 -1
  58. package/dist/src/_internal/platform/inlineEdits/common/inlineEditLogContext.d.ts.map +1 -1
  59. package/dist/src/_internal/platform/inlineEdits/common/inlineEditLogContext.js +46 -41
  60. package/dist/src/_internal/platform/inlineEdits/common/inlineEditLogContext.js.map +1 -1
  61. package/dist/src/_internal/platform/networking/common/networking.d.ts +2 -0
  62. package/dist/src/_internal/platform/networking/common/networking.d.ts.map +1 -1
  63. package/dist/src/_internal/platform/networking/common/networking.js.map +1 -1
  64. package/dist/src/_internal/platform/requestLogger/node/requestLogger.d.ts +3 -0
  65. package/dist/src/_internal/platform/requestLogger/node/requestLogger.d.ts.map +1 -1
  66. package/dist/src/_internal/platform/requestLogger/node/requestLogger.js +4 -1
  67. package/dist/src/_internal/platform/requestLogger/node/requestLogger.js.map +1 -1
  68. package/dist/src/_internal/platform/telemetry/common/telemetry.d.ts +1 -1
  69. package/dist/src/_internal/platform/workspaceRecorder/common/workspaceLog.d.ts +6 -6
  70. package/dist/src/_internal/util/common/crypto.js +2 -2
  71. package/dist/src/_internal/util/common/imageUtils.js +9 -9
  72. package/dist/src/_internal/util/common/languages.js +4 -4
  73. package/dist/src/_internal/util/vs/base/common/types.d.ts +27 -0
  74. package/dist/src/_internal/util/vs/base/common/types.d.ts.map +1 -1
  75. package/dist/src/_internal/util/vs/base/common/types.js +28 -0
  76. package/dist/src/_internal/util/vs/base/common/types.js.map +1 -1
  77. package/dist/src/_internal/util/vs/editor/common/core/text/positionToOffsetImpl.d.ts +2 -5
  78. package/dist/src/_internal/util/vs/editor/common/core/text/positionToOffsetImpl.d.ts.map +1 -1
  79. package/dist/src/_internal/util/vs/editor/common/core/text/positionToOffsetImpl.js +10 -24
  80. package/dist/src/_internal/util/vs/editor/common/core/text/positionToOffsetImpl.js.map +1 -1
  81. package/dist/src/main.js +2 -1
  82. package/dist/src/main.js.map +1 -1
  83. package/dist/src/package.json +88 -141
  84. 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.35.1",
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"
@@ -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",
@@ -2381,6 +2327,16 @@
2381
2327
  "title": "GitHub Copilot Chat",
2382
2328
  "id": "stable",
2383
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
+ },
2384
2340
  "github.copilot.chat.codeGeneration.useInstructionFiles": {
2385
2341
  "type": "boolean",
2386
2342
  "default": true,
@@ -3277,6 +3233,15 @@
3277
3233
  ],
3278
3234
  "description": "%github.copilot.config.alternateGptPrompt.enabled%"
3279
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
+ },
3280
3245
  "github.copilot.chat.useResponsesApi": {
3281
3246
  "type": "boolean",
3282
3247
  "default": true,
@@ -3870,7 +3835,7 @@
3870
3835
  },
3871
3836
  "github.copilot.chat.inlineEdits.renameSymbolSuggestions": {
3872
3837
  "type": "boolean",
3873
- "default": false,
3838
+ "default": true,
3874
3839
  "markdownDescription": "%github.copilot.config.inlineEdits.renameSymbolSuggestions%",
3875
3840
  "tags": [
3876
3841
  "advanced",
@@ -4180,6 +4145,14 @@
4180
4145
  "command": "github.copilot.chat.debug.hideNesRequests",
4181
4146
  "when": "false"
4182
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
+ },
4183
4156
  {
4184
4157
  "command": "github.copilot.chat.debug.exportLogItem",
4185
4158
  "when": "false"
@@ -4220,28 +4193,20 @@
4220
4193
  "command": "github.copilot.cli.sessions.delete",
4221
4194
  "when": "false"
4222
4195
  },
4223
- {
4224
- "command": "github.copilot.cli.sessions.refresh",
4225
- "when": "false"
4226
- },
4227
4196
  {
4228
4197
  "command": "github.copilot.cli.sessions.resumeInTerminal",
4229
4198
  "when": "false"
4230
4199
  },
4231
4200
  {
4232
- "command": "github.copilot.cli.sessions.newTerminalSession",
4233
- "when": "false"
4234
- },
4235
- {
4236
- "command": "github.copilot.cloud.sessions.refresh",
4201
+ "command": "github.copilot.cloud.sessions.openInBrowser",
4237
4202
  "when": "false"
4238
4203
  },
4239
4204
  {
4240
- "command": "github.copilot.cloud.sessions.openInBrowser",
4205
+ "command": "github.copilot.cloud.sessions.proxy.closeChatSessionPullRequest",
4241
4206
  "when": "false"
4242
4207
  },
4243
4208
  {
4244
- "command": "github.copilot.cloud.sessions.proxy.closeChatSessionPullRequest",
4209
+ "command": "github.copilot.cloud.sessions.installPRExtension",
4245
4210
  "when": "false"
4246
4211
  },
4247
4212
  {
@@ -4258,16 +4223,6 @@
4258
4223
  }
4259
4224
  ],
4260
4225
  "view/title": [
4261
- {
4262
- "command": "github.copilot.claude.sessions.refresh",
4263
- "when": "view == workbench.view.chat.sessions.claude-code",
4264
- "group": "navigation@1"
4265
- },
4266
- {
4267
- "command": "github.copilot.cli.sessions.refresh",
4268
- "when": "view == workbench.view.chat.sessions.copilotcli",
4269
- "group": "navigation@1"
4270
- },
4271
4226
  {
4272
4227
  "submenu": "github.copilot.chat.debug.filter",
4273
4228
  "when": "view == copilot-chat",
@@ -4287,11 +4242,6 @@
4287
4242
  "command": "github.copilot.debug.showChatLogView",
4288
4243
  "when": "view == workbench.panel.chat.view.copilot",
4289
4244
  "group": "3_show"
4290
- },
4291
- {
4292
- "command": "github.copilot.cloud.sessions.refresh",
4293
- "when": "view == workbench.view.chat.sessions.copilot-cloud-agent",
4294
- "group": "navigation@1"
4295
4245
  }
4296
4246
  ],
4297
4247
  "view/item/context": [
@@ -4531,6 +4481,16 @@
4531
4481
  "command": "github.copilot.chat.debug.hideNesRequests",
4532
4482
  "when": "!github.copilot.chat.debug.nesRequestsHidden",
4533
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"
4534
4494
  }
4535
4495
  ],
4536
4496
  "notebook/toolbar": [
@@ -4574,16 +4534,6 @@
4574
4534
  "when": "chatSessionType == copilotcli",
4575
4535
  "group": "inline@2"
4576
4536
  },
4577
- {
4578
- "command": "github.copilot.cli.sessions.newTerminalSession",
4579
- "when": "view == workbench.view.chat.sessions.copilotcli",
4580
- "group": "submenu"
4581
- },
4582
- {
4583
- "command": "github.copilot.cli.sessions.refresh",
4584
- "when": "view == workbench.view.chat.sessions.copilotcli",
4585
- "group": "navigation@1"
4586
- },
4587
4537
  {
4588
4538
  "command": "github.copilot.cloud.sessions.openInBrowser",
4589
4539
  "when": "chatSessionType == copilot-cloud-agent",
@@ -4594,6 +4544,13 @@
4594
4544
  "when": "chatSessionType == copilot-cloud-agent",
4595
4545
  "group": "context"
4596
4546
  }
4547
+ ],
4548
+ "chat/multiDiff/context": [
4549
+ {
4550
+ "command": "github.copilot.cloud.sessions.installPRExtension",
4551
+ "when": "chatSessionType == copilot-cloud-agent && !github.copilot.prExtensionInstalled",
4552
+ "group": "inline@1"
4553
+ }
4597
4554
  ]
4598
4555
  },
4599
4556
  "icons": {
@@ -4711,20 +4668,6 @@
4711
4668
  "icon": "$(inspect)",
4712
4669
  "when": "github.copilot.chat.showContextInspectorView"
4713
4670
  }
4714
- ],
4715
- "agentSessions": [
4716
- {
4717
- "id": "codex-placeholder",
4718
- "name": "OpenAI Codex",
4719
- "when": "github.copilot.chat.codex.showPlaceholder",
4720
- "icon": "$(file)"
4721
- },
4722
- {
4723
- "id": "copilot-agents-placeholder",
4724
- "name": "GitHub Copilot Agents",
4725
- "when": "chatEntitlementSignedOut || !chatIsEnabled",
4726
- "icon": "$(copilot)"
4727
- }
4728
4671
  ]
4729
4672
  },
4730
4673
  "viewsContainers": {
@@ -4934,11 +4877,11 @@
4934
4877
  "icon": "$(sparkle)",
4935
4878
  "welcomeTitle": "Claude Code Agent",
4936
4879
  "welcomeMessage": "Run local background tasks",
4937
- "inputPlaceholder": "Describe your task, type `#` for adding context",
4880
+ "inputPlaceholder": "Run local tasks with Claude Code, type `#` for adding context",
4938
4881
  "order": 3,
4939
4882
  "description": "The Claude Code Agent works on your local machine",
4940
4883
  "when": "config.github.copilot.chat.claudeCode.enabled",
4941
- "canDelegate": false,
4884
+ "canDelegate": true,
4942
4885
  "capabilities": {
4943
4886
  "supportsFileAttachments": true
4944
4887
  },
@@ -4976,6 +4919,7 @@
4976
4919
  "order": 2,
4977
4920
  "canDelegate": true,
4978
4921
  "description": "Delegate tasks to a background agent.",
4922
+ "when": "config.github.copilot.chat.backgroundAgent.enabled",
4979
4923
  "capabilities": {
4980
4924
  "supportsFileAttachments": true,
4981
4925
  "supportsProblemAttachments": true,
@@ -4987,7 +4931,8 @@
4987
4931
  "commands": [
4988
4932
  {
4989
4933
  "name": "delegate",
4990
- "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"
4991
4936
  }
4992
4937
  ]
4993
4938
  },
@@ -5005,6 +4950,7 @@
5005
4950
  "order": 1,
5006
4951
  "canDelegate": true,
5007
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",
5008
4954
  "capabilities": {
5009
4955
  "supportsFileAttachments": true
5010
4956
  }
@@ -5067,10 +5013,10 @@
5067
5013
  "prepare": "husky",
5068
5014
  "vscode-dts:dev": "node node_modules/@vscode/dts/index.js dev && mv vscode.proposed.*.ts src/extension",
5069
5015
  "vscode-dts:main": "node node_modules/@vscode/dts/index.js main && mv vscode.d.ts src/extension",
5070
- "build": "tsx .esbuild.ts",
5071
- "compile": "tsx .esbuild.ts --dev",
5016
+ "build": "node .esbuild.ts",
5017
+ "compile": "node .esbuild.ts --dev",
5072
5018
  "watch": "npm-run-all -p watch:*",
5073
- "watch:esbuild": "tsx .esbuild.ts --watch --dev",
5019
+ "watch:esbuild": "node .esbuild.ts --watch --dev",
5074
5020
  "watch:tsc-extension": "tsc --noEmit --watch --project tsconfig.json",
5075
5021
  "watch:tsc-extension-web": "tsc --noEmit --watch --project tsconfig.worker.json",
5076
5022
  "watch:tsc-simulation-workbench": "tsc --noEmit --watch --project test/simulation/workbench/tsconfig.json",
@@ -5202,6 +5148,7 @@
5202
5148
  "dependencies": {
5203
5149
  "@anthropic-ai/claude-agent-sdk": "0.1.55",
5204
5150
  "@anthropic-ai/sdk": "^0.68.0",
5151
+ "@github/blackbird-external-ingest-utils": "^0.1.0",
5205
5152
  "@github/copilot": "^0.0.366",
5206
5153
  "@google/genai": "^1.22.0",
5207
5154
  "@humanwhocodes/gitignore-to-minimatch": "1.0.2",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vscode/chat-lib",
3
- "version": "0.2.0",
3
+ "version": "0.2.1-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",