@vscode/chat-lib 0.4.1-9 → 0.5.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 (147) hide show
  1. package/dist/src/_internal/extension/byok/node/openAIEndpoint.d.ts +2 -1
  2. package/dist/src/_internal/extension/byok/node/openAIEndpoint.d.ts.map +1 -1
  3. package/dist/src/_internal/extension/byok/node/openAIEndpoint.js +6 -7
  4. package/dist/src/_internal/extension/byok/node/openAIEndpoint.js.map +1 -1
  5. package/dist/src/_internal/extension/common/constants.d.ts +0 -1
  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/node/nextEditProvider.d.ts +9 -0
  9. package/dist/src/_internal/extension/inlineEdits/node/nextEditProvider.d.ts.map +1 -1
  10. package/dist/src/_internal/extension/inlineEdits/node/nextEditProvider.js +71 -11
  11. package/dist/src/_internal/extension/inlineEdits/node/nextEditProvider.js.map +1 -1
  12. package/dist/src/_internal/extension/prompt/node/chatMLFetcher.d.ts +17 -1
  13. package/dist/src/_internal/extension/prompt/node/chatMLFetcher.d.ts.map +1 -1
  14. package/dist/src/_internal/extension/prompt/node/chatMLFetcher.js +345 -57
  15. package/dist/src/_internal/extension/prompt/node/chatMLFetcher.js.map +1 -1
  16. package/dist/src/_internal/extension/prompt/node/chatMLFetcherTelemetry.d.ts +6 -3
  17. package/dist/src/_internal/extension/prompt/node/chatMLFetcherTelemetry.d.ts.map +1 -1
  18. package/dist/src/_internal/extension/prompt/node/chatMLFetcherTelemetry.js +9 -3
  19. package/dist/src/_internal/extension/prompt/node/chatMLFetcherTelemetry.js.map +1 -1
  20. package/dist/src/_internal/extension/xtab/node/xtabEndpoint.d.ts +2 -1
  21. package/dist/src/_internal/extension/xtab/node/xtabEndpoint.d.ts.map +1 -1
  22. package/dist/src/_internal/extension/xtab/node/xtabEndpoint.js +6 -3
  23. package/dist/src/_internal/extension/xtab/node/xtabEndpoint.js.map +1 -1
  24. package/dist/src/_internal/extension/xtab/node/xtabNextCursorPredictor.d.ts.map +1 -1
  25. package/dist/src/_internal/extension/xtab/node/xtabNextCursorPredictor.js +1 -0
  26. package/dist/src/_internal/extension/xtab/node/xtabNextCursorPredictor.js.map +1 -1
  27. package/dist/src/_internal/extension/xtab/node/xtabProvider.d.ts +2 -0
  28. package/dist/src/_internal/extension/xtab/node/xtabProvider.d.ts.map +1 -1
  29. package/dist/src/_internal/extension/xtab/node/xtabProvider.js +14 -0
  30. package/dist/src/_internal/extension/xtab/node/xtabProvider.js.map +1 -1
  31. package/dist/src/_internal/platform/chat/common/commonTypes.d.ts +2 -1
  32. package/dist/src/_internal/platform/chat/common/commonTypes.d.ts.map +1 -1
  33. package/dist/src/_internal/platform/chat/common/commonTypes.js +61 -17
  34. package/dist/src/_internal/platform/chat/common/commonTypes.js.map +1 -1
  35. package/dist/src/_internal/platform/configuration/common/configurationService.d.ts +14 -2
  36. package/dist/src/_internal/platform/configuration/common/configurationService.d.ts.map +1 -1
  37. package/dist/src/_internal/platform/configuration/common/configurationService.js +29 -3
  38. package/dist/src/_internal/platform/configuration/common/configurationService.js.map +1 -1
  39. package/dist/src/_internal/platform/endpoint/common/capiClient.d.ts.map +1 -1
  40. package/dist/src/_internal/platform/endpoint/common/capiClient.js +1 -0
  41. package/dist/src/_internal/platform/endpoint/common/capiClient.js.map +1 -1
  42. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.d.ts +1 -0
  43. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.d.ts.map +1 -1
  44. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.js +20 -4
  45. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.js.map +1 -1
  46. package/dist/src/_internal/platform/endpoint/common/endpointProvider.d.ts +3 -1
  47. package/dist/src/_internal/platform/endpoint/common/endpointProvider.d.ts.map +1 -1
  48. package/dist/src/_internal/platform/endpoint/common/endpointProvider.js +1 -0
  49. package/dist/src/_internal/platform/endpoint/common/endpointProvider.js.map +1 -1
  50. package/dist/src/_internal/platform/endpoint/node/autoChatEndpoint.d.ts +2 -1
  51. package/dist/src/_internal/platform/endpoint/node/autoChatEndpoint.d.ts.map +1 -1
  52. package/dist/src/_internal/platform/endpoint/node/autoChatEndpoint.js +6 -3
  53. package/dist/src/_internal/platform/endpoint/node/autoChatEndpoint.js.map +1 -1
  54. package/dist/src/_internal/platform/endpoint/node/chatEndpoint.d.ts +6 -2
  55. package/dist/src/_internal/platform/endpoint/node/chatEndpoint.d.ts.map +1 -1
  56. package/dist/src/_internal/platform/endpoint/node/chatEndpoint.js +34 -12
  57. package/dist/src/_internal/platform/endpoint/node/chatEndpoint.js.map +1 -1
  58. package/dist/src/_internal/platform/endpoint/node/copilotChatEndpoint.d.ts +2 -1
  59. package/dist/src/_internal/platform/endpoint/node/copilotChatEndpoint.d.ts.map +1 -1
  60. package/dist/src/_internal/platform/endpoint/node/copilotChatEndpoint.js +5 -3
  61. package/dist/src/_internal/platform/endpoint/node/copilotChatEndpoint.js.map +1 -1
  62. package/dist/src/_internal/platform/endpoint/node/messagesApi.d.ts.map +1 -1
  63. package/dist/src/_internal/platform/endpoint/node/messagesApi.js +55 -5
  64. package/dist/src/_internal/platform/endpoint/node/messagesApi.js.map +1 -1
  65. package/dist/src/_internal/platform/endpoint/node/proxyXtabEndpoint.d.ts.map +1 -1
  66. package/dist/src/_internal/platform/endpoint/node/proxyXtabEndpoint.js +1 -0
  67. package/dist/src/_internal/platform/endpoint/node/proxyXtabEndpoint.js.map +1 -1
  68. package/dist/src/_internal/platform/endpoint/node/responsesApi.d.ts +1 -0
  69. package/dist/src/_internal/platform/endpoint/node/responsesApi.d.ts.map +1 -1
  70. package/dist/src/_internal/platform/endpoint/node/responsesApi.js +14 -10
  71. package/dist/src/_internal/platform/endpoint/node/responsesApi.js.map +1 -1
  72. package/dist/src/_internal/platform/git/common/gitService.d.ts +4 -0
  73. package/dist/src/_internal/platform/git/common/gitService.d.ts.map +1 -1
  74. package/dist/src/_internal/platform/git/common/gitService.js.map +1 -1
  75. package/dist/src/_internal/platform/github/common/githubAPI.d.ts +1 -0
  76. package/dist/src/_internal/platform/github/common/githubAPI.d.ts.map +1 -1
  77. package/dist/src/_internal/platform/github/common/githubAPI.js +2 -0
  78. package/dist/src/_internal/platform/github/common/githubAPI.js.map +1 -1
  79. package/dist/src/_internal/platform/github/common/githubService.d.ts +10 -0
  80. package/dist/src/_internal/platform/github/common/githubService.d.ts.map +1 -1
  81. package/dist/src/_internal/platform/github/common/githubService.js +38 -0
  82. package/dist/src/_internal/platform/github/common/githubService.js.map +1 -1
  83. package/dist/src/_internal/platform/github/common/nullOctokitServiceImpl.d.ts +2 -1
  84. package/dist/src/_internal/platform/github/common/nullOctokitServiceImpl.d.ts.map +1 -1
  85. package/dist/src/_internal/platform/github/common/nullOctokitServiceImpl.js +3 -0
  86. package/dist/src/_internal/platform/github/common/nullOctokitServiceImpl.js.map +1 -1
  87. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/xtabPromptOptions.d.ts +1 -1
  88. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/xtabPromptOptions.d.ts.map +1 -1
  89. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/xtabPromptOptions.js +1 -1
  90. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/xtabPromptOptions.js.map +1 -1
  91. package/dist/src/_internal/platform/networking/common/anthropic.d.ts +8 -1
  92. package/dist/src/_internal/platform/networking/common/anthropic.d.ts.map +1 -1
  93. package/dist/src/_internal/platform/networking/common/anthropic.js +20 -4
  94. package/dist/src/_internal/platform/networking/common/anthropic.js.map +1 -1
  95. package/dist/src/_internal/platform/networking/common/fetcherService.d.ts +17 -0
  96. package/dist/src/_internal/platform/networking/common/fetcherService.d.ts.map +1 -1
  97. package/dist/src/_internal/platform/networking/common/fetcherService.js +27 -1
  98. package/dist/src/_internal/platform/networking/common/fetcherService.js.map +1 -1
  99. package/dist/src/_internal/platform/networking/common/networking.d.ts +7 -0
  100. package/dist/src/_internal/platform/networking/common/networking.d.ts.map +1 -1
  101. package/dist/src/_internal/platform/networking/common/networking.js +4 -5
  102. package/dist/src/_internal/platform/networking/common/networking.js.map +1 -1
  103. package/dist/src/_internal/platform/networking/node/chatWebSocketManager.d.ts +76 -0
  104. package/dist/src/_internal/platform/networking/node/chatWebSocketManager.d.ts.map +1 -0
  105. package/dist/src/_internal/platform/networking/node/chatWebSocketManager.js +480 -0
  106. package/dist/src/_internal/platform/networking/node/chatWebSocketManager.js.map +1 -0
  107. package/dist/src/_internal/platform/networking/node/chatWebSocketTelemetry.d.ts +87 -0
  108. package/dist/src/_internal/platform/networking/node/chatWebSocketTelemetry.d.ts.map +1 -0
  109. package/dist/src/_internal/platform/networking/node/chatWebSocketTelemetry.js +265 -0
  110. package/dist/src/_internal/platform/networking/node/chatWebSocketTelemetry.js.map +1 -0
  111. package/dist/src/_internal/platform/otel/common/genAiAttributes.d.ts +85 -0
  112. package/dist/src/_internal/platform/otel/common/genAiAttributes.d.ts.map +1 -0
  113. package/dist/src/_internal/platform/otel/common/genAiAttributes.js +105 -0
  114. package/dist/src/_internal/platform/otel/common/genAiAttributes.js.map +1 -0
  115. package/dist/src/_internal/platform/otel/common/genAiEvents.d.ts +28 -0
  116. package/dist/src/_internal/platform/otel/common/genAiEvents.d.ts.map +1 -0
  117. package/dist/src/_internal/platform/otel/common/genAiEvents.js +91 -0
  118. package/dist/src/_internal/platform/otel/common/genAiEvents.js.map +1 -0
  119. package/dist/src/_internal/platform/otel/common/genAiMetrics.d.ts +30 -0
  120. package/dist/src/_internal/platform/otel/common/genAiMetrics.d.ts.map +1 -0
  121. package/dist/src/_internal/platform/otel/common/genAiMetrics.js +68 -0
  122. package/dist/src/_internal/platform/otel/common/genAiMetrics.js.map +1 -0
  123. package/dist/src/_internal/platform/otel/common/index.d.ts +8 -0
  124. package/dist/src/_internal/platform/otel/common/index.d.ts.map +1 -0
  125. package/dist/src/_internal/platform/otel/common/index.js +35 -0
  126. package/dist/src/_internal/platform/otel/common/index.js.map +1 -0
  127. package/dist/src/_internal/platform/otel/common/messageFormatters.d.ts +85 -0
  128. package/dist/src/_internal/platform/otel/common/messageFormatters.d.ts.map +1 -0
  129. package/dist/src/_internal/platform/otel/common/messageFormatters.js +122 -0
  130. package/dist/src/_internal/platform/otel/common/messageFormatters.js.map +1 -0
  131. package/dist/src/_internal/platform/otel/common/noopOtelService.d.ts +23 -0
  132. package/dist/src/_internal/platform/otel/common/noopOtelService.d.ts.map +1 -0
  133. package/dist/src/_internal/platform/otel/common/noopOtelService.js +46 -0
  134. package/dist/src/_internal/platform/otel/common/noopOtelService.js.map +1 -0
  135. package/dist/src/_internal/platform/otel/common/otelConfig.d.ts +35 -0
  136. package/dist/src/_internal/platform/otel/common/otelConfig.d.ts.map +1 -0
  137. package/dist/src/_internal/platform/otel/common/otelConfig.js +140 -0
  138. package/dist/src/_internal/platform/otel/common/otelConfig.js.map +1 -0
  139. package/dist/src/_internal/platform/otel/common/otelService.d.ts +100 -0
  140. package/dist/src/_internal/platform/otel/common/otelService.d.ts.map +1 -0
  141. package/dist/src/_internal/platform/otel/common/otelService.js +10 -0
  142. package/dist/src/_internal/platform/otel/common/otelService.js.map +1 -0
  143. package/dist/src/main.d.ts.map +1 -1
  144. package/dist/src/main.js +9 -0
  145. package/dist/src/main.js.map +1 -1
  146. package/dist/src/package.json +226 -80
  147. package/package.json +3 -2
@@ -2,7 +2,7 @@
2
2
  "name": "copilot-chat",
3
3
  "displayName": "GitHub Copilot Chat",
4
4
  "description": "AI chat features powered by Copilot",
5
- "version": "0.38.0",
5
+ "version": "0.39.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.110.0-20260223",
26
+ "vscode": "^1.111.0",
27
27
  "npm": ">=9.0.0",
28
28
  "node": ">=22.14.0"
29
29
  },
@@ -83,8 +83,7 @@
83
83
  "onLanguageModelChat:copilot",
84
84
  "onUri",
85
85
  "onFileSystem:ccreq",
86
- "onFileSystem:ccsettings",
87
- "onCustomAgentProvider"
86
+ "onFileSystem:ccsettings"
88
87
  ],
89
88
  "main": "./dist/extension",
90
89
  "l10n": "./l10n",
@@ -121,7 +120,7 @@
121
120
  "authLearnMore",
122
121
  "testObserver",
123
122
  "aiTextSearchProvider@2",
124
- "chatParticipantPrivate@14",
123
+ "chatParticipantPrivate@15",
125
124
  "chatProvider@4",
126
125
  "contribDebugCreateConfiguration",
127
126
  "chatReferenceDiagnostic",
@@ -180,7 +179,7 @@
180
179
  "displayName": "%copilot.tools.searchSubagent.name%",
181
180
  "icon": "$(search)",
182
181
  "userDescription": "%copilot.tools.searchSubagent.description%",
183
- "modelDescription": "Launch an iterative search-focused subagent that orchestrates semantic_search, grep_search, file_search and read_file tool calls to explore and gather relevant workspace code for a natural language query.\n CALL THIS FOR ANY TASK THAT REQUIRES CODEBASE EXPLORATION!\n\nRemember:\n1. Perform tool calls in parallel whenever possible\n2. Avoid redundant calls -- don't repeat identical searches.\n3. Stop once you have high-confidence, non-duplicative snippets covering the query scope.\n\nReturns: A list of relevant files/snippet locations in the workspace.\n\nInput fields:\n- query: Natural language description of what to search for.\n- description: Short user-visible invocation message. \n- details: 2-3 sentences detailing the objective of the search agent.",
182
+ "modelDescription": "Launch a fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. \"src/components/**/*.tsx\"), search code for keywords (eg. \"API endpoints\"), or answer questions about the codebase (eg. \"how do API endpoints work?\").\nReturns: A list of relevant files/snippet locations in the workspace.\n\nInput fields:\n- query: Natural language description of what to search for.\n- description: Short user-visible invocation message. \n- details: 2-3 sentences detailing the objective of the search agent.",
184
183
  "when": "config.github.copilot.chat.searchSubagent.enabled",
185
184
  "tags": [
186
185
  "vscode_codesearch"
@@ -1074,7 +1073,6 @@
1074
1073
  "name": "copilot_memory",
1075
1074
  "displayName": "Memory",
1076
1075
  "toolReferenceName": "memory",
1077
- "canBeReferencedInPrompt": true,
1078
1076
  "userDescription": "Manage persistent memory across conversations",
1079
1077
  "when": "config.github.copilot.chat.tools.memory.enabled",
1080
1078
  "modelDescription": "Manage a persistent memory system with three scopes for storing notes and information across conversations.\n\nMemory is organized under /memories/ with three tiers:\n- `/memories/` — User memory: persistent notes that survive across all workspaces and conversations. Store preferences, patterns, and general insights here.\n- `/memories/session/` — Session memory: notes scoped to the current conversation. Store task-specific context and in-progress notes here. Cleared after the conversation ends.\n- `/memories/repo/` — Repository memory: repository-scoped facts stored via Copilot. Only the `create` command is supported for this path.\n\nIMPORTANT: Before creating new memory files, first view the /memories/ directory to understand what already exists. This helps avoid duplicates and maintain organized notes.\n\nCommands:\n- `view`: View contents of a file or list directory contents. Can be used on files or directories (e.g., \"/memories/\" to see all top-level items).\n- `create`: Create a new file at the specified path with the given content. Fails if the file already exists.\n- `str_replace`: Replace an exact string in a file with a new string. The old_str must appear exactly once in the file.\n- `insert`: Insert text at a specific line number in a file. Line 0 inserts at the beginning.\n- `delete`: Delete a file or directory (and all its contents).\n- `rename`: Rename or move a file or directory from path to new_path. Cannot rename across scopes.",
@@ -1352,8 +1350,7 @@
1352
1350
  ],
1353
1351
  "modes": [
1354
1352
  "edit"
1355
- ],
1356
- "when": "!config.chat.edits2.enabled"
1353
+ ]
1357
1354
  },
1358
1355
  {
1359
1356
  "id": "github.copilot.editingSessionEditor",
@@ -1437,20 +1434,6 @@
1437
1434
  }
1438
1435
  ]
1439
1436
  },
1440
- {
1441
- "id": "github.copilot.editingSession2",
1442
- "name": "GitHubCopilot",
1443
- "fullName": "GitHub Copilot",
1444
- "description": "%copilot.edits.description%",
1445
- "isDefault": true,
1446
- "locations": [
1447
- "panel"
1448
- ],
1449
- "modes": [
1450
- "edit"
1451
- ],
1452
- "when": "config.chat.edits2.enabled"
1453
- },
1454
1437
  {
1455
1438
  "id": "github.copilot.editsAgent",
1456
1439
  "name": "agent",
@@ -2162,12 +2145,24 @@
2162
2145
  "icon": "$(terminal)",
2163
2146
  "category": "Copilot CLI"
2164
2147
  },
2148
+ {
2149
+ "command": "github.copilot.cli.sessions.copyWorktreeBranchName",
2150
+ "title": "%github.copilot.command.cli.sessions.copyWorktreeBranchName%",
2151
+ "icon": "$(copy)",
2152
+ "category": "Copilot CLI"
2153
+ },
2165
2154
  {
2166
2155
  "command": "github.copilot.cli.sessions.commitToWorktree",
2167
2156
  "title": "%github.copilot.command.cli.sessions.commitToWorktree%",
2168
2157
  "icon": "$(git-commit)",
2169
2158
  "category": "Copilot CLI"
2170
2159
  },
2160
+ {
2161
+ "command": "github.copilot.cli.sessions.commitToRepository",
2162
+ "title": "%github.copilot.command.cli.sessions.commitToRepository%",
2163
+ "icon": "$(git-commit)",
2164
+ "category": "Copilot CLI"
2165
+ },
2171
2166
  {
2172
2167
  "command": "github.copilot.cli.newSession",
2173
2168
  "title": "%github.copilot.command.cli.newSession%",
@@ -2293,6 +2288,12 @@
2293
2288
  "enablement": "github.copilot.chat.reviewDiff.enabled && !github.copilot.interactiveSession.disabled",
2294
2289
  "category": "Chat"
2295
2290
  },
2291
+ {
2292
+ "command": "github.copilot.chat.codeReview.run",
2293
+ "title": "%github.copilot.command.codeReviewRun%",
2294
+ "enablement": "github.copilot.chat.reviewDiff.enabled && !github.copilot.interactiveSession.disabled",
2295
+ "category": "Chat"
2296
+ },
2296
2297
  {
2297
2298
  "command": "github.copilot.chat.review.previous",
2298
2299
  "title": "%github.copilot.command.gotoPreviousReviewSuggestion%",
@@ -2734,6 +2735,34 @@
2734
2735
  "icon": "$(git-stash-pop)",
2735
2736
  "category": "GitHub Copilot"
2736
2737
  },
2738
+ {
2739
+ "command": "github.copilot.chat.mergeCopilotCLIAgentSessionChanges.merge",
2740
+ "title": "%github.copilot.chat.mergeCopilotCLIAgentSessionChanges.merge%",
2741
+ "enablement": "!chatSessionRequestInProgress",
2742
+ "icon": "$(git-merge)",
2743
+ "category": "GitHub Copilot"
2744
+ },
2745
+ {
2746
+ "command": "github.copilot.chat.updateCopilotCLIAgentSessionChanges.update",
2747
+ "title": "%github.copilot.chat.updateCopilotCLIAgentSessionChanges.update%",
2748
+ "enablement": "!chatSessionRequestInProgress",
2749
+ "icon": "$(download)",
2750
+ "category": "GitHub Copilot"
2751
+ },
2752
+ {
2753
+ "command": "github.copilot.chat.createPullRequestCopilotCLIAgentSession.createPR",
2754
+ "title": "%github.copilot.chat.createPullRequestCopilotCLIAgentSession.createPR%",
2755
+ "enablement": "!chatSessionRequestInProgress",
2756
+ "icon": "$(git-pull-request-create)",
2757
+ "category": "GitHub Copilot"
2758
+ },
2759
+ {
2760
+ "command": "github.copilot.chat.openPullRequestCopilotCLIAgentSession.openPR",
2761
+ "title": "%github.copilot.chat.openPullRequestCopilotCLIAgentSession.openPR%",
2762
+ "enablement": "!chatSessionRequestInProgress",
2763
+ "icon": "$(link-external)",
2764
+ "category": "GitHub Copilot"
2765
+ },
2737
2766
  {
2738
2767
  "command": "github.copilot.chat.copilotCLI.addFileReference",
2739
2768
  "title": "%github.copilot.command.chat.copilotCLI.addFileReference%",
@@ -2967,6 +2996,16 @@
2967
2996
  "default": "",
2968
2997
  "markdownDescription": "The currently selected completion model ID. To select from a list of available models, use the __\"Change Completions Model\"__ command or open the model picker (from the Copilot menu in the VS Code title bar, select __\"Configure Code Completions\"__ then __\"Change Completions Model\"__. The value must be a valid model ID. An empty value indicates that the default model will be used."
2969
2998
  },
2999
+ "github.copilot.chat.claudeAgent.enabled": {
3000
+ "type": "boolean",
3001
+ "default": true,
3002
+ "markdownDescription": "%github.copilot.config.claudeAgent.enabled%"
3003
+ },
3004
+ "github.copilot.chat.claudeAgent.allowDangerouslySkipPermissions": {
3005
+ "type": "boolean",
3006
+ "default": false,
3007
+ "markdownDescription": "%github.copilot.config.claudeAgent.allowDangerouslySkipPermissions%"
3008
+ },
2970
3009
  "github.copilot.chat.reviewAgent.enabled": {
2971
3010
  "type": "boolean",
2972
3011
  "default": true,
@@ -3044,6 +3083,14 @@
3044
3083
  }
3045
3084
  ]
3046
3085
  ]
3086
+ },
3087
+ "github.copilot.chat.anthropic.useMessagesApi": {
3088
+ "type": "boolean",
3089
+ "default": true,
3090
+ "markdownDescription": "%github.copilot.config.useMessagesApi%",
3091
+ "tags": [
3092
+ "onExp"
3093
+ ]
3047
3094
  }
3048
3095
  }
3049
3096
  },
@@ -3066,22 +3113,6 @@
3066
3113
  ],
3067
3114
  "markdownDescription": "%github.copilot.config.codesearch.enabled%"
3068
3115
  },
3069
- "github.copilot.chat.claudeAgent.enabled": {
3070
- "type": "boolean",
3071
- "default": true,
3072
- "markdownDescription": "%github.copilot.config.claudeAgent.enabled%",
3073
- "tags": [
3074
- "preview"
3075
- ]
3076
- },
3077
- "github.copilot.chat.claudeAgent.allowDangerouslySkipPermissions": {
3078
- "type": "boolean",
3079
- "default": false,
3080
- "markdownDescription": "%github.copilot.config.claudeAgent.allowDangerouslySkipPermissions%",
3081
- "tags": [
3082
- "preview"
3083
- ]
3084
- },
3085
3116
  "github.copilot.chat.copilotMemory.enabled": {
3086
3117
  "type": "boolean",
3087
3118
  "default": false,
@@ -3098,15 +3129,6 @@
3098
3129
  "preview"
3099
3130
  ]
3100
3131
  },
3101
- "github.copilot.chat.anthropic.useMessagesApi": {
3102
- "type": "boolean",
3103
- "default": true,
3104
- "markdownDescription": "%github.copilot.config.useMessagesApi%",
3105
- "tags": [
3106
- "preview",
3107
- "onExp"
3108
- ]
3109
- },
3110
3132
  "github.copilot.chat.anthropic.thinking.budgetTokens": {
3111
3133
  "type": "number",
3112
3134
  "markdownDescription": "%github.copilot.config.anthropic.thinking.budgetTokens%",
@@ -3147,6 +3169,19 @@
3147
3169
  "tags": [
3148
3170
  "preview"
3149
3171
  ]
3172
+ },
3173
+ "github.copilot.chat.anthropic.toolSearchTool.mode": {
3174
+ "type": "string",
3175
+ "enum": [
3176
+ "server",
3177
+ "client"
3178
+ ],
3179
+ "default": "server",
3180
+ "markdownDescription": "%github.copilot.config.anthropic.toolSearchTool.mode%",
3181
+ "tags": [
3182
+ "preview",
3183
+ "onExp"
3184
+ ]
3150
3185
  }
3151
3186
  }
3152
3187
  },
@@ -3862,17 +3897,6 @@
3862
3897
  ],
3863
3898
  "description": "%github.copilot.config.projectSetupInfoSkill.enabled%"
3864
3899
  },
3865
- "github.copilot.chat.debug.overrideChatEngine": {
3866
- "type": [
3867
- "string",
3868
- "null"
3869
- ],
3870
- "markdownDescription": "%github.copilot.config.debug.overrideChatEngine%",
3871
- "tags": [
3872
- "advanced",
3873
- "experimental"
3874
- ]
3875
- },
3876
3900
  "github.copilot.chat.edits.gemini3MultiReplaceString": {
3877
3901
  "type": "boolean",
3878
3902
  "default": false,
@@ -4321,22 +4345,28 @@
4321
4345
  "onExp"
4322
4346
  ]
4323
4347
  },
4324
- "github.copilot.nextEditSuggestions.aggressiveness": {
4348
+ "github.copilot.nextEditSuggestions.eagerness": {
4325
4349
  "type": "string",
4326
- "default": "default",
4350
+ "default": "auto",
4327
4351
  "enum": [
4328
- "default",
4352
+ "auto",
4329
4353
  "low",
4330
4354
  "medium",
4331
4355
  "high"
4332
4356
  ],
4357
+ "enumItemLabels": [
4358
+ "%github.copilot.config.nextEditSuggestions.eagerness.auto.label%",
4359
+ "%github.copilot.config.nextEditSuggestions.eagerness.low.label%",
4360
+ "%github.copilot.config.nextEditSuggestions.eagerness.medium.label%",
4361
+ "%github.copilot.config.nextEditSuggestions.eagerness.high.label%"
4362
+ ],
4333
4363
  "enumDescriptions": [
4334
- "%github.copilot.config.nextEditSuggestions.aggressiveness.default%",
4335
- "%github.copilot.config.nextEditSuggestions.aggressiveness.low%",
4336
- "%github.copilot.config.nextEditSuggestions.aggressiveness.medium%",
4337
- "%github.copilot.config.nextEditSuggestions.aggressiveness.high%"
4364
+ "%github.copilot.config.nextEditSuggestions.eagerness.auto%",
4365
+ "%github.copilot.config.nextEditSuggestions.eagerness.low%",
4366
+ "%github.copilot.config.nextEditSuggestions.eagerness.medium%",
4367
+ "%github.copilot.config.nextEditSuggestions.eagerness.high%"
4338
4368
  ],
4339
- "markdownDescription": "%github.copilot.config.nextEditSuggestions.aggressiveness%",
4369
+ "markdownDescription": "%github.copilot.config.nextEditSuggestions.eagerness%",
4340
4370
  "tags": [
4341
4371
  "advanced",
4342
4372
  "experimental"
@@ -4379,7 +4409,7 @@
4379
4409
  },
4380
4410
  "github.copilot.chat.cli.isolationOption.enabled": {
4381
4411
  "type": "boolean",
4382
- "default": false,
4412
+ "default": true,
4383
4413
  "markdownDescription": "%github.copilot.config.cli.isolationOption.enabled%",
4384
4414
  "tags": [
4385
4415
  "advanced"
@@ -4430,6 +4460,52 @@
4430
4460
  "experimental",
4431
4461
  "onExp"
4432
4462
  ]
4463
+ },
4464
+ "github.copilot.chat.otel.enabled": {
4465
+ "type": "boolean",
4466
+ "default": false,
4467
+ "markdownDescription": "Enable OpenTelemetry trace/metric/log emission for Copilot Chat operations. Env var `COPILOT_OTEL_ENABLED` takes precedence.",
4468
+ "tags": [
4469
+ "advanced"
4470
+ ]
4471
+ },
4472
+ "github.copilot.chat.otel.exporterType": {
4473
+ "type": "string",
4474
+ "enum": [
4475
+ "otlp-grpc",
4476
+ "otlp-http",
4477
+ "console",
4478
+ "file"
4479
+ ],
4480
+ "default": "otlp-http",
4481
+ "markdownDescription": "OTel exporter type for Copilot Chat telemetry.",
4482
+ "tags": [
4483
+ "advanced"
4484
+ ]
4485
+ },
4486
+ "github.copilot.chat.otel.otlpEndpoint": {
4487
+ "type": "string",
4488
+ "default": "http://localhost:4318",
4489
+ "markdownDescription": "OTLP collector endpoint URL for Copilot Chat OTel data. Env var `OTEL_EXPORTER_OTLP_ENDPOINT` takes precedence.",
4490
+ "tags": [
4491
+ "advanced"
4492
+ ]
4493
+ },
4494
+ "github.copilot.chat.otel.captureContent": {
4495
+ "type": "boolean",
4496
+ "default": false,
4497
+ "markdownDescription": "Capture input/output messages, system instructions, and tool definitions in OTel telemetry. **Contains potentially sensitive data.** Env var `COPILOT_OTEL_CAPTURE_CONTENT` takes precedence.",
4498
+ "tags": [
4499
+ "advanced"
4500
+ ]
4501
+ },
4502
+ "github.copilot.chat.otel.outfile": {
4503
+ "type": "string",
4504
+ "default": "",
4505
+ "markdownDescription": "File path for file-based OTel exporter output (JSON-lines). When set, overrides exporter type to `file`.",
4506
+ "tags": [
4507
+ "advanced"
4508
+ ]
4433
4509
  }
4434
4510
  }
4435
4511
  }
@@ -4565,6 +4641,28 @@
4565
4641
  "group": "navigation@0"
4566
4642
  }
4567
4643
  ],
4644
+ "chat/input/editing/sessionApplyActions": [
4645
+ {
4646
+ "command": "github.copilot.chat.createPullRequestCopilotCLIAgentSession.createPR",
4647
+ "when": "chatSessionType == copilotcli && isSessionsWindow && !sessions.hasOpenPullRequest",
4648
+ "group": "navigation@0"
4649
+ },
4650
+ {
4651
+ "command": "github.copilot.chat.openPullRequestCopilotCLIAgentSession.openPR",
4652
+ "when": "chatSessionType == copilotcli && isSessionsWindow && sessions.hasOpenPullRequest",
4653
+ "group": "navigation@0"
4654
+ },
4655
+ {
4656
+ "command": "github.copilot.chat.mergeCopilotCLIAgentSessionChanges.merge",
4657
+ "when": "chatSessionType == copilotcli && isSessionsWindow",
4658
+ "group": "base@1"
4659
+ },
4660
+ {
4661
+ "command": "github.copilot.chat.updateCopilotCLIAgentSessionChanges.update",
4662
+ "when": "chatSessionType == copilotcli && isSessionsWindow",
4663
+ "group": "base@2"
4664
+ }
4665
+ ],
4568
4666
  "chat/contextUsage/actions": [
4569
4667
  {
4570
4668
  "command": "github.copilot.chat.compact"
@@ -4603,6 +4701,10 @@
4603
4701
  "command": "github.copilot.cli.sessions.commitToWorktree",
4604
4702
  "when": "false"
4605
4703
  },
4704
+ {
4705
+ "command": "github.copilot.cli.sessions.commitToRepository",
4706
+ "when": "false"
4707
+ },
4606
4708
  {
4607
4709
  "command": "github.copilot.chat.debug.exportSingleTrajectory",
4608
4710
  "when": "false"
@@ -4827,6 +4929,10 @@
4827
4929
  "command": "github.copilot.cli.sessions.openWorktreeInTerminal",
4828
4930
  "when": "false"
4829
4931
  },
4932
+ {
4933
+ "command": "github.copilot.cli.sessions.copyWorktreeBranchName",
4934
+ "when": "false"
4935
+ },
4830
4936
  {
4831
4937
  "command": "github.copilot.cloud.sessions.openInBrowser",
4832
4938
  "when": "false"
@@ -4847,6 +4953,22 @@
4847
4953
  "command": "github.copilot.chat.applyCopilotCLIAgentSessionChanges.apply",
4848
4954
  "when": "false"
4849
4955
  },
4956
+ {
4957
+ "command": "github.copilot.chat.mergeCopilotCLIAgentSessionChanges.merge",
4958
+ "when": "false"
4959
+ },
4960
+ {
4961
+ "command": "github.copilot.chat.updateCopilotCLIAgentSessionChanges.update",
4962
+ "when": "false"
4963
+ },
4964
+ {
4965
+ "command": "github.copilot.chat.createPullRequestCopilotCLIAgentSession.createPR",
4966
+ "when": "false"
4967
+ },
4968
+ {
4969
+ "command": "github.copilot.chat.openPullRequestCopilotCLIAgentSession.openPR",
4970
+ "when": "false"
4971
+ },
4850
4972
  {
4851
4973
  "command": "github.copilot.chat.showAsChatSession",
4852
4974
  "when": "false"
@@ -5216,10 +5338,15 @@
5216
5338
  "group": "2_open@2"
5217
5339
  },
5218
5340
  {
5219
- "command": "github.copilot.cli.sessions.resumeInTerminal",
5341
+ "command": "github.copilot.cli.sessions.copyWorktreeBranchName",
5220
5342
  "when": "chatSessionType == copilotcli",
5221
5343
  "group": "2_open@3"
5222
5344
  },
5345
+ {
5346
+ "command": "github.copilot.cli.sessions.resumeInTerminal",
5347
+ "when": "chatSessionType == copilotcli",
5348
+ "group": "2_open@4"
5349
+ },
5223
5350
  {
5224
5351
  "command": "github.copilot.chat.applyCopilotCLIAgentSessionChanges",
5225
5352
  "when": "chatSessionType == copilotcli && workbenchState != empty && !isSessionsWindow",
@@ -5599,7 +5726,7 @@
5599
5726
  "inputPlaceholder": "Run local tasks with Claude, type `#` for adding context",
5600
5727
  "order": 3,
5601
5728
  "description": "%github.copilot.session.providerDescription.claude%",
5602
- "when": "config.github.copilot.chat.claudeAgent.enabled && !github.copilot.previewFeaturesDisabled",
5729
+ "when": "config.github.copilot.chat.claudeAgent.enabled",
5603
5730
  "canDelegate": true,
5604
5731
  "requiresCustomModels": true,
5605
5732
  "capabilities": {
@@ -5644,11 +5771,11 @@
5644
5771
  {
5645
5772
  "type": "copilotcli",
5646
5773
  "name": "cli",
5647
- "displayName": "Background",
5774
+ "displayName": "Copilot CLI",
5648
5775
  "icon": "$(worktree)",
5649
- "welcomeTitle": "Background Agent",
5650
- "welcomeMessage": "Run tasks in the background",
5651
- "inputPlaceholder": "Run tasks in the background, type `#` for adding context",
5776
+ "welcomeTitle": "Copilot CLI",
5777
+ "welcomeMessage": "Run tasks in the background with the Copilot CLI",
5778
+ "inputPlaceholder": "Run tasks in the background with the Copilot CLI, type `#` for adding context",
5652
5779
  "order": 1,
5653
5780
  "canDelegate": true,
5654
5781
  "description": "%github.copilot.session.providerDescription.background%",
@@ -5661,7 +5788,8 @@
5661
5788
  "supportsSymbolAttachments": true,
5662
5789
  "supportsSearchResultAttachments": true,
5663
5790
  "supportsSourceControlAttachments": true,
5664
- "supportsPromptAttachments": true
5791
+ "supportsPromptAttachments": true,
5792
+ "supportsHandOffs": true
5665
5793
  },
5666
5794
  "commands": [
5667
5795
  {
@@ -5672,6 +5800,10 @@
5672
5800
  {
5673
5801
  "name": "compact",
5674
5802
  "description": "%github.copilot.command.cli.compact.description%"
5803
+ },
5804
+ {
5805
+ "name": "mcp",
5806
+ "description": "%github.copilot.command.cli.mcp.description%"
5675
5807
  }
5676
5808
  ],
5677
5809
  "customAgentTarget": "github-copilot",
@@ -5871,6 +6003,7 @@
5871
6003
  "@vscode/test-electron": "^2.5.2",
5872
6004
  "@vscode/test-web": "^0.0.71",
5873
6005
  "@vscode/vsce": "3.6.0",
6006
+ "agent-browser": "^0.16.3",
5874
6007
  "copyfiles": "^2.4.1",
5875
6008
  "csv-parse": "^6.0.0",
5876
6009
  "dotenv": "^17.2.0",
@@ -5926,17 +6059,30 @@
5926
6059
  "zod": "3.25.76"
5927
6060
  },
5928
6061
  "dependencies": {
5929
- "@anthropic-ai/claude-agent-sdk": "^0.2.52",
6062
+ "@anthropic-ai/claude-agent-sdk": "^0.2.63",
5930
6063
  "@anthropic-ai/sdk": "^0.78.0",
5931
6064
  "@github/blackbird-external-ingest-utils": "^0.3.0",
5932
- "@github/copilot": "^0.0.415",
6065
+ "@github/copilot": "^0.0.421",
5933
6066
  "@google/genai": "^1.22.0",
5934
6067
  "@humanwhocodes/gitignore-to-minimatch": "1.0.2",
5935
6068
  "@microsoft/tiktokenizer": "^1.0.10",
5936
6069
  "@modelcontextprotocol/sdk": "^1.25.2",
6070
+ "@opentelemetry/api": "^1.9.0",
6071
+ "@opentelemetry/api-logs": "^0.212.0",
6072
+ "@opentelemetry/exporter-logs-otlp-grpc": "^0.212.0",
6073
+ "@opentelemetry/exporter-logs-otlp-http": "^0.212.0",
6074
+ "@opentelemetry/exporter-metrics-otlp-grpc": "^0.212.0",
6075
+ "@opentelemetry/exporter-metrics-otlp-http": "^0.212.0",
6076
+ "@opentelemetry/exporter-trace-otlp-grpc": "^0.212.0",
6077
+ "@opentelemetry/exporter-trace-otlp-http": "^0.212.0",
6078
+ "@opentelemetry/resources": "^2.5.1",
6079
+ "@opentelemetry/sdk-logs": "^0.212.0",
6080
+ "@opentelemetry/sdk-metrics": "^2.5.1",
6081
+ "@opentelemetry/sdk-trace-node": "^2.5.1",
6082
+ "@opentelemetry/semantic-conventions": "^1.39.0",
5937
6083
  "@sinclair/typebox": "^0.34.41",
5938
- "@vscode/copilot-api": "^0.2.12",
5939
- "@vscode/extension-telemetry": "^1.5.0",
6084
+ "@vscode/copilot-api": "^0.2.15",
6085
+ "@vscode/extension-telemetry": "^1.5.1",
5940
6086
  "@vscode/l10n": "^0.0.18",
5941
6087
  "@vscode/prompt-tsx": "^0.4.0-alpha.6",
5942
6088
  "@vscode/tree-sitter-wasm": "0.0.5-php.2",
@@ -5964,5 +6110,5 @@
5964
6110
  "node-gyp": "npm:node-gyp@10.3.1",
5965
6111
  "zod": "3.25.76"
5966
6112
  },
5967
- "vscodeCommit": "37d89378138178bd2847f275082f1875f17c1f4a"
6113
+ "vscodeCommit": "9495e313c0eaec600ce20cd800648c99fabb52fd"
5968
6114
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vscode/chat-lib",
3
- "version": "0.4.1-9",
3
+ "version": "0.5.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",
@@ -16,7 +16,7 @@
16
16
  "dependencies": {
17
17
  "@microsoft/tiktokenizer": "^1.0.10",
18
18
  "@sinclair/typebox": "^0.34.41",
19
- "@vscode/copilot-api": "^0.2.12",
19
+ "@vscode/copilot-api": "^0.2.15",
20
20
  "@vscode/l10n": "^0.0.18",
21
21
  "@vscode/prompt-tsx": "^0.4.0-alpha.6",
22
22
  "@vscode/tree-sitter-wasm": "0.0.5-php.2",
@@ -24,6 +24,7 @@
24
24
  "jsonc-parser": "^3.3.1",
25
25
  "monaco-editor": "0.44.0",
26
26
  "openai": "^6.7.0",
27
+ "undici": "^7.18.2",
27
28
  "vscode-languageserver-protocol": "^3.17.5",
28
29
  "vscode-languageserver-textdocument": "^1.0.12",
29
30
  "web-tree-sitter": "^0.23.0",