@vscode/chat-lib 0.47.2026042904 → 0.47.2026050409

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 (77) hide show
  1. package/dist/src/_internal/extension/byok/node/openAIEndpoint.d.ts.map +1 -1
  2. package/dist/src/_internal/extension/byok/node/openAIEndpoint.js +4 -0
  3. package/dist/src/_internal/extension/byok/node/openAIEndpoint.js.map +1 -1
  4. package/dist/src/_internal/extension/inlineEdits/node/nextEditProviderTelemetry.d.ts.map +1 -1
  5. package/dist/src/_internal/extension/inlineEdits/node/nextEditProviderTelemetry.js +2 -0
  6. package/dist/src/_internal/extension/inlineEdits/node/nextEditProviderTelemetry.js.map +1 -1
  7. package/dist/src/_internal/extension/prompt/node/chatMLFetcher.d.ts.map +1 -1
  8. package/dist/src/_internal/extension/prompt/node/chatMLFetcher.js +61 -16
  9. package/dist/src/_internal/extension/prompt/node/chatMLFetcher.js.map +1 -1
  10. package/dist/src/_internal/extension/prompt/node/chatMLFetcherTelemetry.d.ts +2 -1
  11. package/dist/src/_internal/extension/prompt/node/chatMLFetcherTelemetry.d.ts.map +1 -1
  12. package/dist/src/_internal/extension/prompt/node/chatMLFetcherTelemetry.js +12 -2
  13. package/dist/src/_internal/extension/prompt/node/chatMLFetcherTelemetry.js.map +1 -1
  14. package/dist/src/_internal/extension/xtab/node/xtabProvider.d.ts +1 -2
  15. package/dist/src/_internal/extension/xtab/node/xtabProvider.d.ts.map +1 -1
  16. package/dist/src/_internal/extension/xtab/node/xtabProvider.js +3 -15
  17. package/dist/src/_internal/extension/xtab/node/xtabProvider.js.map +1 -1
  18. package/dist/src/_internal/platform/chat/common/commonTypes.d.ts +1 -0
  19. package/dist/src/_internal/platform/chat/common/commonTypes.d.ts.map +1 -1
  20. package/dist/src/_internal/platform/configuration/common/configurationService.d.ts +6 -10
  21. package/dist/src/_internal/platform/configuration/common/configurationService.d.ts.map +1 -1
  22. package/dist/src/_internal/platform/configuration/common/configurationService.js +15 -14
  23. package/dist/src/_internal/platform/configuration/common/configurationService.js.map +1 -1
  24. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.js +1 -1
  25. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.js.map +1 -1
  26. package/dist/src/_internal/platform/endpoint/node/chatEndpoint.d.ts +1 -0
  27. package/dist/src/_internal/platform/endpoint/node/chatEndpoint.d.ts.map +1 -1
  28. package/dist/src/_internal/platform/endpoint/node/chatEndpoint.js +17 -13
  29. package/dist/src/_internal/platform/endpoint/node/chatEndpoint.js.map +1 -1
  30. package/dist/src/_internal/platform/endpoint/node/responsesApi.d.ts.map +1 -1
  31. package/dist/src/_internal/platform/endpoint/node/responsesApi.js +26 -4
  32. package/dist/src/_internal/platform/endpoint/node/responsesApi.js.map +1 -1
  33. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/nextCursorLinePrediction.d.ts +0 -7
  34. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/nextCursorLinePrediction.d.ts.map +1 -1
  35. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/nextCursorLinePrediction.js +1 -10
  36. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/nextCursorLinePrediction.js.map +1 -1
  37. package/dist/src/_internal/platform/inlineEdits/common/observableGit.js +1 -1
  38. package/dist/src/_internal/platform/inlineEdits/common/observableGit.js.map +1 -1
  39. package/dist/src/_internal/platform/inlineEdits/node/inlineEditsModelService.d.ts.map +1 -1
  40. package/dist/src/_internal/platform/inlineEdits/node/inlineEditsModelService.js +1 -1
  41. package/dist/src/_internal/platform/inlineEdits/node/inlineEditsModelService.js.map +1 -1
  42. package/dist/src/_internal/platform/networking/common/networking.d.ts +4 -0
  43. package/dist/src/_internal/platform/networking/common/networking.d.ts.map +1 -1
  44. package/dist/src/_internal/platform/networking/common/networking.js +1 -1
  45. package/dist/src/_internal/platform/networking/common/networking.js.map +1 -1
  46. package/dist/src/_internal/platform/networking/node/chatStream.d.ts.map +1 -1
  47. package/dist/src/_internal/platform/networking/node/chatStream.js +3 -0
  48. package/dist/src/_internal/platform/networking/node/chatStream.js.map +1 -1
  49. package/dist/src/_internal/platform/networking/node/chatWebSocketManager.d.ts +1 -0
  50. package/dist/src/_internal/platform/networking/node/chatWebSocketManager.d.ts.map +1 -1
  51. package/dist/src/_internal/platform/networking/node/chatWebSocketManager.js +2 -0
  52. package/dist/src/_internal/platform/networking/node/chatWebSocketManager.js.map +1 -1
  53. package/dist/src/_internal/platform/networking/node/chatWebSocketTelemetry.d.ts +2 -0
  54. package/dist/src/_internal/platform/networking/node/chatWebSocketTelemetry.d.ts.map +1 -1
  55. package/dist/src/_internal/platform/networking/node/chatWebSocketTelemetry.js +4 -0
  56. package/dist/src/_internal/platform/networking/node/chatWebSocketTelemetry.js.map +1 -1
  57. package/dist/src/_internal/platform/otel/common/genAiAttributes.d.ts +24 -0
  58. package/dist/src/_internal/platform/otel/common/genAiAttributes.d.ts.map +1 -1
  59. package/dist/src/_internal/platform/otel/common/genAiAttributes.js +25 -1
  60. package/dist/src/_internal/platform/otel/common/genAiAttributes.js.map +1 -1
  61. package/dist/src/_internal/platform/otel/common/genAiEvents.d.ts.map +1 -1
  62. package/dist/src/_internal/platform/otel/common/genAiEvents.js +6 -5
  63. package/dist/src/_internal/platform/otel/common/genAiEvents.js.map +1 -1
  64. package/dist/src/_internal/platform/otel/common/index.d.ts +2 -2
  65. package/dist/src/_internal/platform/otel/common/index.d.ts.map +1 -1
  66. package/dist/src/_internal/platform/otel/common/index.js +8 -1
  67. package/dist/src/_internal/platform/otel/common/index.js.map +1 -1
  68. package/dist/src/_internal/platform/otel/common/messageFormatters.d.ts +13 -0
  69. package/dist/src/_internal/platform/otel/common/messageFormatters.d.ts.map +1 -1
  70. package/dist/src/_internal/platform/otel/common/messageFormatters.js +15 -8
  71. package/dist/src/_internal/platform/otel/common/messageFormatters.js.map +1 -1
  72. package/dist/src/_internal/platform/otel/common/otelConfig.d.ts +10 -0
  73. package/dist/src/_internal/platform/otel/common/otelConfig.d.ts.map +1 -1
  74. package/dist/src/_internal/platform/otel/common/otelConfig.js +22 -0
  75. package/dist/src/_internal/platform/otel/common/otelConfig.js.map +1 -1
  76. package/dist/src/package.json +126 -61
  77. 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.47.2026042904",
5
+ "version": "0.47.2026050409",
6
6
  "build": "1",
7
7
  "internalAIKey": "1058ec22-3c95-4951-8443-f26c1f325911",
8
8
  "completionsCoreVersion": "1.378.1799",
@@ -210,7 +210,41 @@
210
210
  "icon": "$(search)",
211
211
  "userDescription": "%copilot.tools.searchSubagent.description%",
212
212
  "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.",
213
- "when": "config.github.copilot.chat.searchSubagent.enabled",
213
+ "when": "config.github.copilot.chat.searchSubagent.enabled && config.github.copilot.chat.exploreAgent.enabled",
214
+ "tags": [
215
+ "vscode_codesearch"
216
+ ],
217
+ "inputSchema": {
218
+ "type": "object",
219
+ "properties": {
220
+ "query": {
221
+ "type": "string",
222
+ "description": "Natural language description of what to search for."
223
+ },
224
+ "description": {
225
+ "type": "string",
226
+ "description": "A short (3-5 word) description of the task."
227
+ },
228
+ "details": {
229
+ "type": "string",
230
+ "description": "A more detailed description of the objective for the search subagent. This helps the sub-agent remain on task and understand its purpose."
231
+ }
232
+ },
233
+ "required": [
234
+ "query",
235
+ "description",
236
+ "details"
237
+ ]
238
+ }
239
+ },
240
+ {
241
+ "name": "explore_subagent",
242
+ "toolReferenceName": "exploreSubagent",
243
+ "displayName": "%copilot.tools.searchSubagent.name%",
244
+ "icon": "$(search)",
245
+ "userDescription": "%copilot.tools.searchSubagent.description%",
246
+ "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.",
247
+ "when": "config.github.copilot.chat.searchSubagent.enabled && !config.github.copilot.chat.exploreAgent.enabled",
214
248
  "tags": [
215
249
  "vscode_codesearch"
216
250
  ],
@@ -2644,6 +2678,18 @@
2644
2678
  "category": "Chat",
2645
2679
  "enablement": "config.github.copilot.chat.otel.dbSpanExporter.enabled"
2646
2680
  },
2681
+ {
2682
+ "command": "github.copilot.sessionSync.deleteSessions",
2683
+ "title": "%github.copilot.command.sessionSync.deleteSessions%",
2684
+ "category": "Chat",
2685
+ "enablement": "github.copilot.sessionSearch.enabled && config.chat.sessionSync.enabled"
2686
+ },
2687
+ {
2688
+ "command": "github.copilot.chronicle.reindex",
2689
+ "title": "%github.copilot.command.chronicle.reindex%",
2690
+ "category": "Chat",
2691
+ "enablement": "github.copilot.sessionSearch.enabled"
2692
+ },
2647
2693
  {
2648
2694
  "command": "github.copilot.nes.captureExpected.start",
2649
2695
  "title": "Record Expected Edit (NES)",
@@ -3816,6 +3862,15 @@
3816
3862
  "onExp"
3817
3863
  ]
3818
3864
  },
3865
+ "github.copilot.chat.claude47OpusPrompt.enabled": {
3866
+ "type": "boolean",
3867
+ "default": false,
3868
+ "markdownDescription": "%github.copilot.config.claude47OpusPrompt.enabled%",
3869
+ "tags": [
3870
+ "experimental",
3871
+ "onExp"
3872
+ ]
3873
+ },
3819
3874
  "github.copilot.chat.gpt54ConcisePrompt.enabled": {
3820
3875
  "type": "boolean",
3821
3876
  "default": false,
@@ -4008,6 +4063,18 @@
4008
4063
  {
4009
4064
  "id": "advanced",
4010
4065
  "properties": {
4066
+ "github.copilot.chat.inlineEdits.xtabProvider.modelConfiguration": {
4067
+ "type": [
4068
+ "object",
4069
+ "null"
4070
+ ],
4071
+ "default": null,
4072
+ "markdownDescription": "Advanced model configuration for the next edit suggestions xtab provider.\n\n**Note**: This is an advanced setting.",
4073
+ "tags": [
4074
+ "advanced",
4075
+ "experimental"
4076
+ ]
4077
+ },
4011
4078
  "github.copilot.chat.reasoningEffortOverride": {
4012
4079
  "type": [
4013
4080
  "string",
@@ -4133,16 +4200,6 @@
4133
4200
  "onExp"
4134
4201
  ]
4135
4202
  },
4136
- "github.copilot.chat.workspace.maxDiffSizeBeforeUsingExternalIngest": {
4137
- "type": "number",
4138
- "default": 100,
4139
- "markdownDescription": "%github.copilot.config.workspace.maxDiffSizeBeforeUsingExternalIngest%",
4140
- "tags": [
4141
- "advanced",
4142
- "experimental",
4143
- "onExp"
4144
- ]
4145
- },
4146
4203
  "github.copilot.chat.workspace.preferredEmbeddingsModel": {
4147
4204
  "type": "string",
4148
4205
  "default": "",
@@ -4457,16 +4514,6 @@
4457
4514
  "experimental"
4458
4515
  ]
4459
4516
  },
4460
- "github.copilot.chat.agentHistorySummarizationInline": {
4461
- "type": "boolean",
4462
- "default": true,
4463
- "markdownDescription": "%github.copilot.config.agentHistorySummarizationInline%",
4464
- "tags": [
4465
- "advanced",
4466
- "experimental",
4467
- "onExp"
4468
- ]
4469
- },
4470
4517
  "github.copilot.chat.useResponsesApiTruncation": {
4471
4518
  "type": "boolean",
4472
4519
  "default": false,
@@ -4630,12 +4677,20 @@
4630
4677
  },
4631
4678
  "github.copilot.chat.cli.autoModel.enabled": {
4632
4679
  "type": "boolean",
4633
- "default": true,
4680
+ "default": false,
4634
4681
  "markdownDescription": "%github.copilot.config.cli.autoModel.enabled%",
4635
4682
  "tags": [
4636
4683
  "advanced"
4637
4684
  ]
4638
4685
  },
4686
+ "github.copilot.chat.agent.modelDetails.enabled": {
4687
+ "type": "boolean",
4688
+ "default": true,
4689
+ "markdownDescription": "%github.copilot.config.chat.agent.modelDetails.enabled%",
4690
+ "tags": [
4691
+ "advanced"
4692
+ ]
4693
+ },
4639
4694
  "github.copilot.chat.cli.planCommand.enabled": {
4640
4695
  "type": "boolean",
4641
4696
  "default": true,
@@ -4662,7 +4717,7 @@
4662
4717
  },
4663
4718
  "github.copilot.chat.cli.forkSessions.enabled": {
4664
4719
  "type": "boolean",
4665
- "default": true,
4720
+ "default": false,
4666
4721
  "markdownDescription": "%github.copilot.config.cli.forkSessions.enabled%",
4667
4722
  "tags": [
4668
4723
  "advanced"
@@ -4687,7 +4742,7 @@
4687
4742
  },
4688
4743
  "github.copilot.chat.cli.sessionController.enabled": {
4689
4744
  "type": "boolean",
4690
- "default": true,
4745
+ "default": false,
4691
4746
  "markdownDescription": "%github.copilot.config.cli.sessionController.enabled%",
4692
4747
  "tags": [
4693
4748
  "advanced"
@@ -4719,11 +4774,10 @@
4719
4774
  },
4720
4775
  "github.copilot.chat.cli.remote.enabled": {
4721
4776
  "type": "boolean",
4722
- "default": false,
4777
+ "default": true,
4723
4778
  "markdownDescription": "%github.copilot.config.cli.remote.enabled%",
4724
4779
  "tags": [
4725
- "advanced",
4726
- "experimental"
4780
+ "advanced"
4727
4781
  ]
4728
4782
  },
4729
4783
  "github.copilot.chat.searchSubagent.enabled": {
@@ -4864,6 +4918,15 @@
4864
4918
  "advanced"
4865
4919
  ]
4866
4920
  },
4921
+ "github.copilot.chat.otel.maxAttributeSizeChars": {
4922
+ "type": "integer",
4923
+ "default": 0,
4924
+ "minimum": 0,
4925
+ "markdownDescription": "Maximum size **in characters** for free-form OTel content attributes (prompts, responses, tool arguments/results, hook input/output). `0` (the default) disables truncation so backends without per-attribute size limits receive full JSON payloads. Set to a positive value when your OTel backend caps attribute size — consult your backend's documentation for its per-attribute limit. Truncated values are suffixed with `...[truncated, original N chars]`. Env var `COPILOT_OTEL_MAX_ATTRIBUTE_SIZE_CHARS` takes precedence. Requires window reload.",
4926
+ "tags": [
4927
+ "advanced"
4928
+ ]
4929
+ },
4867
4930
  "github.copilot.chat.otel.outfile": {
4868
4931
  "type": "string",
4869
4932
  "default": "",
@@ -4879,6 +4942,15 @@
4879
4942
  "tags": [
4880
4943
  "advanced"
4881
4944
  ]
4945
+ },
4946
+ "github.copilot.chat.workspace.codeSearchExternalIngest.enabled": {
4947
+ "type": "boolean",
4948
+ "default": false,
4949
+ "markdownDescription": "%github.copilot.config.workspace.codeSearchExternalIngest.enabled%",
4950
+ "tags": [
4951
+ "advanced",
4952
+ "onExp"
4953
+ ]
4882
4954
  }
4883
4955
  }
4884
4956
  }
@@ -5002,47 +5074,47 @@
5002
5074
  "chat/input/editing/sessionApplyActions": [
5003
5075
  {
5004
5076
  "command": "github.copilot.sessions.initializeRepository",
5005
- "when": "chatSessionType == copilotcli && isSessionsWindow && sessions.isolationMode == workspace && !sessions.hasGitRepository",
5077
+ "when": "chatSessionType == copilotcli && isSessionsWindow && sessions.isolationMode == workspace && !sessions.hasGitRepository && !sessions.isAgentHostSession",
5006
5078
  "group": "init@1"
5007
5079
  },
5008
5080
  {
5009
5081
  "command": "github.copilot.sessions.commit",
5010
- "when": "chatSessionType == copilotcli && isSessionsWindow && sessions.isolationMode == workspace && sessions.hasGitRepository && sessions.hasUncommittedChanges",
5082
+ "when": "chatSessionType == copilotcli && isSessionsWindow && sessions.isolationMode == workspace && sessions.hasGitRepository && sessions.hasUncommittedChanges && !sessions.isAgentHostSession",
5011
5083
  "group": "commit@1"
5012
5084
  },
5013
5085
  {
5014
5086
  "command": "github.copilot.sessions.commitAndSync",
5015
- "when": "chatSessionType == copilotcli && isSessionsWindow && sessions.isolationMode == workspace && sessions.hasGitRepository && sessions.hasUncommittedChanges && sessions.hasUpstream",
5087
+ "when": "chatSessionType == copilotcli && isSessionsWindow && sessions.isolationMode == workspace && sessions.hasGitRepository && sessions.hasUncommittedChanges && sessions.hasUpstream && !sessions.isAgentHostSession",
5016
5088
  "group": "commit@2"
5017
5089
  },
5018
5090
  {
5019
5091
  "command": "github.copilot.sessions.sync",
5020
- "when": "chatSessionType == copilotcli && isSessionsWindow && sessions.isolationMode == workspace && sessions.hasGitRepository && !sessions.hasUncommittedChanges && sessions.hasUpstream",
5092
+ "when": "chatSessionType == copilotcli && isSessionsWindow && sessions.isolationMode == workspace && sessions.hasGitRepository && !sessions.hasUncommittedChanges && sessions.hasUpstream && !sessions.isAgentHostSession",
5021
5093
  "group": "sync@1"
5022
5094
  },
5023
5095
  {
5024
5096
  "command": "github.copilot.chat.mergeCopilotCLIAgentSessionChanges.merge",
5025
- "when": "chatSessionType == copilotcli && isSessionsWindow && sessions.isolationMode == worktree && sessions.hasGitRepository && !sessions.isMergeBaseBranchProtected && !sessions.hasPullRequest && (sessions.hasUncommittedChanges || sessions.hasOutgoingChanges)",
5097
+ "when": "chatSessionType == copilotcli && isSessionsWindow && sessions.isolationMode == worktree && sessions.hasGitRepository && !sessions.isMergeBaseBranchProtected && !sessions.hasPullRequest && (sessions.hasUncommittedChanges || sessions.hasOutgoingChanges) && !sessions.isAgentHostSession",
5026
5098
  "group": "merge@1"
5027
5099
  },
5028
5100
  {
5029
5101
  "command": "github.copilot.chat.mergeCopilotCLIAgentSessionChanges.mergeAndSync",
5030
- "when": "chatSessionType == copilotcli && isSessionsWindow && sessions.isolationMode == worktree && sessions.hasGitRepository && !sessions.isMergeBaseBranchProtected && !sessions.hasPullRequest && (sessions.hasUncommittedChanges || sessions.hasOutgoingChanges)",
5102
+ "when": "chatSessionType == copilotcli && isSessionsWindow && sessions.isolationMode == worktree && sessions.hasGitRepository && !sessions.isMergeBaseBranchProtected && !sessions.hasPullRequest && (sessions.hasUncommittedChanges || sessions.hasOutgoingChanges) && !sessions.isAgentHostSession",
5031
5103
  "group": "merge@2"
5032
5104
  },
5033
5105
  {
5034
5106
  "command": "github.copilot.chat.createPullRequestCopilotCLIAgentSession.createPR",
5035
- "when": "chatSessionType == copilotcli && isSessionsWindow && sessions.isolationMode == worktree && sessions.hasGitRepository && sessions.hasGitHubRemote && !sessions.hasPullRequest && (sessions.hasUncommittedChanges || sessions.hasOutgoingChanges)",
5107
+ "when": "chatSessionType == copilotcli && isSessionsWindow && sessions.isolationMode == worktree && sessions.hasGitRepository && sessions.hasGitHubRemote && !sessions.hasPullRequest && (sessions.hasUncommittedChanges || sessions.hasOutgoingChanges) && !sessions.isAgentHostSession",
5036
5108
  "group": "pull_request@1"
5037
5109
  },
5038
5110
  {
5039
5111
  "command": "github.copilot.chat.createDraftPullRequestCopilotCLIAgentSession.createDraftPR",
5040
- "when": "chatSessionType == copilotcli && isSessionsWindow && sessions.isolationMode == worktree && sessions.hasGitRepository && sessions.hasGitHubRemote && !sessions.hasPullRequest && (sessions.hasUncommittedChanges || sessions.hasOutgoingChanges)",
5112
+ "when": "chatSessionType == copilotcli && isSessionsWindow && sessions.isolationMode == worktree && sessions.hasGitRepository && sessions.hasGitHubRemote && !sessions.hasPullRequest && (sessions.hasUncommittedChanges || sessions.hasOutgoingChanges) && !sessions.isAgentHostSession",
5041
5113
  "group": "pull_request@2"
5042
5114
  },
5043
5115
  {
5044
5116
  "command": "github.copilot.chat.createPullRequestCopilotCLIAgentSession.updatePR",
5045
- "when": "chatSessionType == copilotcli && isSessionsWindow && sessions.isolationMode == worktree && sessions.hasGitRepository && sessions.hasGitHubRemote && sessions.hasPullRequest && sessions.hasOpenPullRequest && (sessions.hasIncomingChanges || sessions.hasOutgoingChanges || sessions.hasUncommittedChanges)",
5117
+ "when": "chatSessionType == copilotcli && isSessionsWindow && sessions.isolationMode == worktree && sessions.hasGitRepository && sessions.hasGitHubRemote && sessions.hasPullRequest && sessions.hasOpenPullRequest && !sessions.isAgentHostSession && (sessions.hasIncomingChanges || sessions.hasOutgoingChanges || sessions.hasUncommittedChanges)",
5046
5118
  "group": "pull_request@1"
5047
5119
  },
5048
5120
  {
@@ -5811,14 +5883,14 @@
5811
5883
  "chat/input/editing/sessionTitleToolbar": [
5812
5884
  {
5813
5885
  "command": "github.copilot.sessions.refreshChanges",
5814
- "when": "chatSessionType == copilotcli && isSessionsWindow",
5886
+ "when": "chatSessionType == copilotcli && isSessionsWindow && !sessions.isAgentHostSession",
5815
5887
  "group": "9_refresh@1"
5816
5888
  }
5817
5889
  ],
5818
5890
  "chat/input/editing/sessionChangeToolbar": [
5819
5891
  {
5820
5892
  "command": "github.copilot.sessions.discardChanges",
5821
- "when": "chatSessionType == copilotcli && isSessionsWindow && sessions.hasGitRepository && sessions.changesVersionMode == branchChanges",
5893
+ "when": "chatSessionType == copilotcli && isSessionsWindow && sessions.hasGitRepository && !sessions.isAgentHostSession && (sessions.changesVersionMode == branchChanges || sessions.changesVersionMode == uncommittedChanges)",
5822
5894
  "group": "navigation@2"
5823
5895
  }
5824
5896
  ],
@@ -6416,17 +6488,18 @@
6416
6488
  },
6417
6489
  "scripts": {
6418
6490
  "postinstall": "tsx ./script/postinstall.ts",
6419
- "build": "node .esbuild.ts --sourcemaps",
6420
- "compile": "node .esbuild.ts --dev",
6421
- "watch": "npm-run-all -lp watch:esbuild watch:tsc",
6422
- "watch:esbuild": "node .esbuild.ts --watch --dev",
6423
- "watch:tsc": "tsc --noEmit --watch --preserveWatchOutput --project tsconfig.json",
6424
- "watch:tsc-extension": "tsc --noEmit --watch --project tsconfig.json",
6425
- "watch:tsc-extension-web": "tsc --noEmit --watch --project tsconfig.worker.json",
6426
- "watch:tsc-simulation-workbench": "tsc --noEmit --watch --project test/simulation/workbench/tsconfig.json",
6427
- "typecheck": "tsc --noEmit --project tsconfig.json && tsc --noEmit --project test/simulation/workbench/tsconfig.json && tsc --noEmit --project tsconfig.worker.json && tsc --noEmit --project src/extension/completions-core/vscode-node/extension/src/copilotPanel/webView/tsconfig.json",
6428
- "lint": "eslint . --max-warnings=0",
6429
- "lint-staged": "eslint --max-warnings=0",
6491
+ "build": "node .esbuild.mts --sourcemaps",
6492
+ "compile": "node .esbuild.mts --dev",
6493
+ "watch": "npm-run-all -lp watch:esbuild watch:typecheck",
6494
+ "watch:esbuild": "node .esbuild.mts --watch --dev",
6495
+ "watch:typecheck": "npx tsgo --noEmit --watch --preserveWatchOutput --project tsconfig.json",
6496
+ "watch:typecheck-extension": "npx tsgo --noEmit --watch --project tsconfig.json",
6497
+ "watch:typecheck-extension-web": "npx tsgo --noEmit --watch --project tsconfig.worker.json",
6498
+ "watch:typecheck-simulation-workbench": "npx tsgo --noEmit --watch --project test/simulation/workbench/tsconfig.json",
6499
+ "typecheck": "npx tsgo --noEmit --project tsconfig.json && npx tsgo --noEmit --project test/simulation/workbench/tsconfig.json && npx tsgo --noEmit --project tsconfig.worker.json && npx tsgo --noEmit --project src/extension/completions-core/vscode-node/extension/src/copilotPanel/webView/tsconfig.json",
6500
+ "lint": "npx eslint . --max-warnings=0",
6501
+ "lint-staged": "npx eslint --max-warnings=0",
6502
+ "tsfmt": "npx tsfmt -r --verify",
6430
6503
  "test": "npm-run-all test:*",
6431
6504
  "test:extension": "vscode-test",
6432
6505
  "test:sanity": "vscode-test --sanity",
@@ -6479,7 +6552,8 @@
6479
6552
  "@types/source-map-support": "^0.5.10",
6480
6553
  "@types/tar": "^6.1.13",
6481
6554
  "@types/vinyl": "^2.0.12",
6482
- "@types/vscode-webview": "^1.57.4",
6555
+ "@types/vscode-webview": "^1.57.5",
6556
+ "@types/ws": "^8.5.3",
6483
6557
  "@types/yargs": "^17.0.24",
6484
6558
  "@typescript-eslint/eslint-plugin": "^8.35.0",
6485
6559
  "@typescript-eslint/parser": "^8.32.0",
@@ -6494,23 +6568,15 @@
6494
6568
  "@vscode/test-electron": "^2.5.2",
6495
6569
  "@vscode/test-web": "^0.0.80",
6496
6570
  "@vscode/vsce": "3.6.0",
6497
- "agent-browser": "^0.16.3",
6498
6571
  "copyfiles": "^2.4.1",
6499
6572
  "csv-parse": "^6.0.0",
6500
6573
  "dotenv": "^17.2.0",
6501
6574
  "electron": "^39.8.5",
6502
6575
  "esbuild": "0.27.2",
6503
- "eslint": "^9.30.0",
6504
- "eslint-import-resolver-typescript": "^4.4.4",
6505
- "eslint-plugin-header": "^3.1.1",
6506
- "eslint-plugin-import": "^2.32.0",
6507
- "eslint-plugin-jsdoc": "^51.3.4",
6508
- "eslint-plugin-no-only-tests": "^3.3.0",
6509
6576
  "fastq": "^1.19.1",
6510
6577
  "glob": "^11.1.0",
6511
6578
  "js-yaml": "^4.1.1",
6512
6579
  "keyv": "^5.3.2",
6513
- "lint-staged": "15.2.9",
6514
6580
  "minimist": "^1.2.8",
6515
6581
  "mobx": "^6.13.7",
6516
6582
  "mobx-react-lite": "^4.1.0",
@@ -6536,7 +6602,6 @@
6536
6602
  "ts-dedent": "^2.2.0",
6537
6603
  "tsx": "^4.20.3",
6538
6604
  "typescript": "^5.8.3",
6539
- "typescript-eslint": "^8.36.0",
6540
6605
  "vite-plugin-top-level-await": "^1.5.0",
6541
6606
  "vite-plugin-wasm": "^3.5.0",
6542
6607
  "vitest": "^3.0.5",
@@ -6551,7 +6616,7 @@
6551
6616
  "@anthropic-ai/claude-agent-sdk": "0.2.112",
6552
6617
  "@anthropic-ai/sdk": "^0.82.0",
6553
6618
  "@github/blackbird-external-ingest-utils": "^0.3.0",
6554
- "@github/copilot": "1.0.34",
6619
+ "@github/copilot": "^1.0.39",
6555
6620
  "@google/genai": "^1.22.0",
6556
6621
  "@humanwhocodes/gitignore-to-minimatch": "1.0.2",
6557
6622
  "@microsoft/tiktokenizer": "^1.0.10",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vscode/chat-lib",
3
- "version": "0.47.2026042904",
3
+ "version": "0.47.2026050409",
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",