@vscode/chat-lib 0.5.0 → 0.5.1-1

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 (112) 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 +1 -0
  3. package/dist/src/_internal/extension/byok/node/openAIEndpoint.js.map +1 -1
  4. package/dist/src/_internal/extension/completions-core/vscode-node/lib/src/networking.d.ts.map +1 -1
  5. package/dist/src/_internal/extension/completions-core/vscode-node/lib/src/networking.js +6 -1
  6. package/dist/src/_internal/extension/completions-core/vscode-node/lib/src/networking.js.map +1 -1
  7. package/dist/src/_internal/extension/completions-core/vscode-node/lib/src/openai/model.d.ts +4 -0
  8. package/dist/src/_internal/extension/completions-core/vscode-node/lib/src/openai/model.d.ts.map +1 -1
  9. package/dist/src/_internal/extension/completions-core/vscode-node/lib/src/openai/model.js +4 -0
  10. package/dist/src/_internal/extension/completions-core/vscode-node/lib/src/openai/model.js.map +1 -1
  11. package/dist/src/_internal/extension/completions-core/vscode-node/lib/src/snippy/connectionState.d.ts.map +1 -1
  12. package/dist/src/_internal/extension/completions-core/vscode-node/lib/src/snippy/connectionState.js +1 -0
  13. package/dist/src/_internal/extension/completions-core/vscode-node/lib/src/snippy/connectionState.js.map +1 -1
  14. package/dist/src/_internal/extension/completions-core/vscode-node/lib/src/snippy/network.d.ts.map +1 -1
  15. package/dist/src/_internal/extension/completions-core/vscode-node/lib/src/snippy/network.js +1 -0
  16. package/dist/src/_internal/extension/completions-core/vscode-node/lib/src/snippy/network.js.map +1 -1
  17. package/dist/src/_internal/extension/inlineEdits/node/nextEditProviderTelemetry.d.ts.map +1 -1
  18. package/dist/src/_internal/extension/inlineEdits/node/nextEditProviderTelemetry.js +6 -3
  19. package/dist/src/_internal/extension/inlineEdits/node/nextEditProviderTelemetry.js.map +1 -1
  20. package/dist/src/_internal/extension/prompt/node/chatMLFetcher.d.ts.map +1 -1
  21. package/dist/src/_internal/extension/prompt/node/chatMLFetcher.js +43 -15
  22. package/dist/src/_internal/extension/prompt/node/chatMLFetcher.js.map +1 -1
  23. package/dist/src/_internal/extension/xtab/node/xtabProvider.d.ts.map +1 -1
  24. package/dist/src/_internal/extension/xtab/node/xtabProvider.js +10 -3
  25. package/dist/src/_internal/extension/xtab/node/xtabProvider.js.map +1 -1
  26. package/dist/src/_internal/platform/authentication/node/copilotTokenManager.d.ts.map +1 -1
  27. package/dist/src/_internal/platform/authentication/node/copilotTokenManager.js +3 -0
  28. package/dist/src/_internal/platform/authentication/node/copilotTokenManager.js.map +1 -1
  29. package/dist/src/_internal/platform/chat/common/commonTypes.d.ts +1 -0
  30. package/dist/src/_internal/platform/chat/common/commonTypes.d.ts.map +1 -1
  31. package/dist/src/_internal/platform/chat/common/commonTypes.js +20 -33
  32. package/dist/src/_internal/platform/chat/common/commonTypes.js.map +1 -1
  33. package/dist/src/_internal/platform/configuration/common/configurationService.d.ts +5 -34
  34. package/dist/src/_internal/platform/configuration/common/configurationService.d.ts.map +1 -1
  35. package/dist/src/_internal/platform/configuration/common/configurationService.js +11 -50
  36. package/dist/src/_internal/platform/configuration/common/configurationService.js.map +1 -1
  37. package/dist/src/_internal/platform/endpoint/common/capiClient.d.ts +2 -2
  38. package/dist/src/_internal/platform/endpoint/common/capiClient.d.ts.map +1 -1
  39. package/dist/src/_internal/platform/endpoint/common/capiClient.js +8 -0
  40. package/dist/src/_internal/platform/endpoint/common/capiClient.js.map +1 -1
  41. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.d.ts +1 -1
  42. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.d.ts.map +1 -1
  43. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.js +8 -5
  44. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.js.map +1 -1
  45. package/dist/src/_internal/platform/endpoint/node/messagesApi.d.ts +14 -2
  46. package/dist/src/_internal/platform/endpoint/node/messagesApi.d.ts.map +1 -1
  47. package/dist/src/_internal/platform/endpoint/node/messagesApi.js +111 -21
  48. package/dist/src/_internal/platform/endpoint/node/messagesApi.js.map +1 -1
  49. package/dist/src/_internal/platform/git/common/gitService.d.ts +7 -2
  50. package/dist/src/_internal/platform/git/common/gitService.d.ts.map +1 -1
  51. package/dist/src/_internal/platform/git/common/gitService.js +17 -5
  52. package/dist/src/_internal/platform/git/common/gitService.js.map +1 -1
  53. package/dist/src/_internal/platform/github/common/githubAPI.d.ts +11 -2
  54. package/dist/src/_internal/platform/github/common/githubAPI.d.ts.map +1 -1
  55. package/dist/src/_internal/platform/github/common/githubAPI.js +21 -12
  56. package/dist/src/_internal/platform/github/common/githubAPI.js.map +1 -1
  57. package/dist/src/_internal/platform/github/common/githubService.d.ts +1 -1
  58. package/dist/src/_internal/platform/github/common/githubService.d.ts.map +1 -1
  59. package/dist/src/_internal/platform/github/common/githubService.js +15 -15
  60. package/dist/src/_internal/platform/github/common/githubService.js.map +1 -1
  61. package/dist/src/_internal/platform/github/common/nullOctokitServiceImpl.d.ts +3 -1
  62. package/dist/src/_internal/platform/github/common/nullOctokitServiceImpl.d.ts.map +1 -1
  63. package/dist/src/_internal/platform/github/common/nullOctokitServiceImpl.js +1 -1
  64. package/dist/src/_internal/platform/github/common/nullOctokitServiceImpl.js.map +1 -1
  65. package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.d.ts +3 -0
  66. package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.d.ts.map +1 -1
  67. package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.js +5 -0
  68. package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.js.map +1 -1
  69. package/dist/src/_internal/platform/nesFetch/node/completionsFetchServiceImpl.d.ts.map +1 -1
  70. package/dist/src/_internal/platform/nesFetch/node/completionsFetchServiceImpl.js +1 -0
  71. package/dist/src/_internal/platform/nesFetch/node/completionsFetchServiceImpl.js.map +1 -1
  72. package/dist/src/_internal/platform/networking/common/anthropic.d.ts +5 -10
  73. package/dist/src/_internal/platform/networking/common/anthropic.d.ts.map +1 -1
  74. package/dist/src/_internal/platform/networking/common/anthropic.js +9 -20
  75. package/dist/src/_internal/platform/networking/common/anthropic.js.map +1 -1
  76. package/dist/src/_internal/platform/networking/common/fetcherService.d.ts +12 -0
  77. package/dist/src/_internal/platform/networking/common/fetcherService.d.ts.map +1 -1
  78. package/dist/src/_internal/platform/networking/common/fetcherService.js +3 -1
  79. package/dist/src/_internal/platform/networking/common/fetcherService.js.map +1 -1
  80. package/dist/src/_internal/platform/networking/common/networking.d.ts.map +1 -1
  81. package/dist/src/_internal/platform/networking/common/networking.js +1 -0
  82. package/dist/src/_internal/platform/networking/common/networking.js.map +1 -1
  83. package/dist/src/_internal/platform/networking/node/chatWebSocketManager.d.ts +8 -1
  84. package/dist/src/_internal/platform/networking/node/chatWebSocketManager.d.ts.map +1 -1
  85. package/dist/src/_internal/platform/networking/node/chatWebSocketManager.js +19 -3
  86. package/dist/src/_internal/platform/networking/node/chatWebSocketManager.js.map +1 -1
  87. package/dist/src/_internal/platform/networking/node/chatWebSocketTelemetry.d.ts +2 -0
  88. package/dist/src/_internal/platform/networking/node/chatWebSocketTelemetry.d.ts.map +1 -1
  89. package/dist/src/_internal/platform/networking/node/chatWebSocketTelemetry.js +4 -0
  90. package/dist/src/_internal/platform/networking/node/chatWebSocketTelemetry.js.map +1 -1
  91. package/dist/src/_internal/platform/otel/common/genAiAttributes.d.ts +19 -0
  92. package/dist/src/_internal/platform/otel/common/genAiAttributes.d.ts.map +1 -1
  93. package/dist/src/_internal/platform/otel/common/genAiAttributes.js +19 -0
  94. package/dist/src/_internal/platform/otel/common/genAiAttributes.js.map +1 -1
  95. package/dist/src/_internal/platform/otel/common/index.d.ts +1 -1
  96. package/dist/src/_internal/platform/otel/common/index.d.ts.map +1 -1
  97. package/dist/src/_internal/platform/otel/common/index.js.map +1 -1
  98. package/dist/src/_internal/platform/otel/common/noopOtelService.d.ts +4 -1
  99. package/dist/src/_internal/platform/otel/common/noopOtelService.d.ts.map +1 -1
  100. package/dist/src/_internal/platform/otel/common/noopOtelService.js +5 -0
  101. package/dist/src/_internal/platform/otel/common/noopOtelService.js.map +1 -1
  102. package/dist/src/_internal/platform/otel/common/otelService.d.ts +60 -0
  103. package/dist/src/_internal/platform/otel/common/otelService.d.ts.map +1 -1
  104. package/dist/src/_internal/platform/otel/common/otelService.js.map +1 -1
  105. package/dist/src/_internal/platform/proxyModels/node/proxyModelsService.d.ts.map +1 -1
  106. package/dist/src/_internal/platform/proxyModels/node/proxyModelsService.js +1 -0
  107. package/dist/src/_internal/platform/proxyModels/node/proxyModelsService.js.map +1 -1
  108. package/dist/src/main.d.ts.map +1 -1
  109. package/dist/src/main.js +1 -0
  110. package/dist/src/main.js.map +1 -1
  111. package/dist/src/package.json +73 -27
  112. package/package.json +3 -3
@@ -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.39.0",
5
+ "version": "0.40.0",
6
6
  "build": "1",
7
7
  "internalAIKey": "1058ec22-3c95-4951-8443-f26c1f325911",
8
8
  "completionsCoreVersion": "1.378.1799",
@@ -89,7 +89,7 @@
89
89
  "l10n": "./l10n",
90
90
  "enabledApiProposals": [
91
91
  "agentSessionsWorkspace",
92
- "chatDebug@2",
92
+ "chatDebug@3",
93
93
  "chatHooks@6",
94
94
  "extensionsAny",
95
95
  "newSymbolNamesProvider",
@@ -256,7 +256,7 @@
256
256
  "toolReferenceName": "fileSearch",
257
257
  "displayName": "%copilot.tools.findFiles.name%",
258
258
  "userDescription": "%copilot.tools.findFiles.userDescription%",
259
- "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.",
259
+ "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.\n\nIn a multi-root workspace, you can scope the search to a specific workspace folder by using the absolute path to the folder as the query, e.g. /path/to/folder/**/*.ts.",
260
260
  "tags": [
261
261
  "vscode_codesearch"
262
262
  ],
@@ -265,7 +265,7 @@
265
265
  "properties": {
266
266
  "query": {
267
267
  "type": "string",
268
- "description": "Search for files with names or paths matching this glob pattern."
268
+ "description": "Search for files with names or paths matching this glob pattern. Can also be an absolute path to a workspace folder to scope the search in a multi-root workspace."
269
269
  },
270
270
  "maxResults": {
271
271
  "type": "number",
@@ -282,7 +282,7 @@
282
282
  "toolReferenceName": "textSearch",
283
283
  "displayName": "%copilot.tools.findTextInFiles.name%",
284
284
  "userDescription": "%copilot.tools.findTextInFiles.userDescription%",
285
- "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.",
285
+ "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.\n\nIn a multi-root workspace, you can scope the search to a specific workspace folder by using the absolute path to the folder as the includePattern, e.g. /path/to/folder.",
286
286
  "tags": [
287
287
  "vscode_codesearch"
288
288
  ],
@@ -299,7 +299,7 @@
299
299
  },
300
300
  "includePattern": {
301
301
  "type": "string",
302
- "description": "Search files matching this glob pattern. Will be applied to the relative path of files within the workspace. To search recursively inside a folder, use a proper glob pattern like \"src/folder/**\". Do not use | in includePattern."
302
+ "description": "Search files matching this glob pattern. Will be applied to the relative path of files within the workspace. To search recursively inside a folder, use a proper glob pattern like \"src/folder/**\". Do not use | in includePattern. Can also be an absolute path to a workspace folder to scope the search in a multi-root workspace."
303
303
  },
304
304
  "maxResults": {
305
305
  "type": "number",
@@ -348,7 +348,7 @@
348
348
  ],
349
349
  "displayName": "%copilot.tools.readFile.name%",
350
350
  "userDescription": "%copilot.tools.readFile.userDescription%",
351
- "modelDescription": "Read the contents of a file.\n\nYou must specify the line range you're interested in. Line numbers are 1-indexed. If the file contents returned are insufficient for your task, you may call this tool again to retrieve more content. Prefer reading larger ranges over doing many small reads.",
351
+ "modelDescription": "Read the contents of a file.\n\nYou must specify the line range you're interested in. Line numbers are 1-indexed. If the file contents returned are insufficient for your task, you may call this tool again to retrieve more content. Prefer reading larger ranges over doing many small reads. Binary files use startLine/endLine as byte offsets.",
352
352
  "tags": [
353
353
  "vscode_codesearch"
354
354
  ],
@@ -2720,7 +2720,7 @@
2720
2720
  "command": "github.copilot.chat.openModelPicker",
2721
2721
  "title": "Change Completions Model",
2722
2722
  "category": "GitHub Copilot",
2723
- "enablement": "github.copilot.extensionUnification.activated && !isWeb"
2723
+ "enablement": "github.copilot.extensionUnification.activated && !isWeb && github.copilot.completions.hasMultipleModels"
2724
2724
  },
2725
2725
  {
2726
2726
  "command": "github.copilot.chat.applyCopilotCLIAgentSessionChanges",
@@ -2742,6 +2742,13 @@
2742
2742
  "icon": "$(git-merge)",
2743
2743
  "category": "GitHub Copilot"
2744
2744
  },
2745
+ {
2746
+ "command": "github.copilot.chat.mergeCopilotCLIAgentSessionChanges.mergeAndSync",
2747
+ "title": "%github.copilot.chat.mergeCopilotCLIAgentSessionChanges.mergeAndSync%",
2748
+ "enablement": "!chatSessionRequestInProgress",
2749
+ "icon": "$(sync)",
2750
+ "category": "GitHub Copilot"
2751
+ },
2745
2752
  {
2746
2753
  "command": "github.copilot.chat.updateCopilotCLIAgentSessionChanges.update",
2747
2754
  "title": "%github.copilot.chat.updateCopilotCLIAgentSessionChanges.update%",
@@ -2756,11 +2763,18 @@
2756
2763
  "icon": "$(git-pull-request-create)",
2757
2764
  "category": "GitHub Copilot"
2758
2765
  },
2766
+ {
2767
+ "command": "github.copilot.chat.createDraftPullRequestCopilotCLIAgentSession.createDraftPR",
2768
+ "title": "%github.copilot.chat.createDraftPullRequestCopilotCLIAgentSession.createDraftPR%",
2769
+ "enablement": "!chatSessionRequestInProgress",
2770
+ "icon": "$(git-pull-request-draft)",
2771
+ "category": "GitHub Copilot"
2772
+ },
2759
2773
  {
2760
2774
  "command": "github.copilot.chat.openPullRequestCopilotCLIAgentSession.openPR",
2761
2775
  "title": "%github.copilot.chat.openPullRequestCopilotCLIAgentSession.openPR%",
2762
2776
  "enablement": "!chatSessionRequestInProgress",
2763
- "icon": "$(link-external)",
2777
+ "icon": "$(git-pull-request)",
2764
2778
  "category": "GitHub Copilot"
2765
2779
  },
2766
2780
  {
@@ -3674,6 +3688,20 @@
3674
3688
  "clear-both"
3675
3689
  ]
3676
3690
  },
3691
+ "github.copilot.chat.anthropic.promptOptimization": {
3692
+ "type": "string",
3693
+ "default": "control",
3694
+ "markdownDescription": "%github.copilot.config.anthropic.promptOptimization%",
3695
+ "tags": [
3696
+ "experimental",
3697
+ "onExp"
3698
+ ],
3699
+ "enum": [
3700
+ "control",
3701
+ "combined",
3702
+ "split"
3703
+ ]
3704
+ },
3677
3705
  "github.copilot.chat.responsesApiReasoningEffort": {
3678
3706
  "type": "string",
3679
3707
  "default": "default",
@@ -4392,7 +4420,7 @@
4392
4420
  },
4393
4421
  "github.copilot.chat.cli.mcp.enabled": {
4394
4422
  "type": "boolean",
4395
- "default": false,
4423
+ "default": true,
4396
4424
  "markdownDescription": "%github.copilot.config.cli.mcp.enabled%",
4397
4425
  "tags": [
4398
4426
  "advanced",
@@ -4639,28 +4667,38 @@
4639
4667
  "command": "github.copilot.chat.checkoutPullRequestReroute",
4640
4668
  "when": "chatSessionType == copilot-cloud-agent && !github.vscode-pull-request-github.activated && gitOpenRepositoryCount != 0",
4641
4669
  "group": "navigation@0"
4670
+ },
4671
+ {
4672
+ "command": "github.copilot.chat.openPullRequestCopilotCLIAgentSession.openPR",
4673
+ "when": "chatSessionType == copilotcli && isSessionsWindow && sessions.hasOpenPullRequest",
4674
+ "group": "navigation@1"
4642
4675
  }
4643
4676
  ],
4644
4677
  "chat/input/editing/sessionApplyActions": [
4645
4678
  {
4646
- "command": "github.copilot.chat.createPullRequestCopilotCLIAgentSession.createPR",
4647
- "when": "chatSessionType == copilotcli && isSessionsWindow && !sessions.hasOpenPullRequest",
4648
- "group": "navigation@0"
4679
+ "command": "github.copilot.chat.mergeCopilotCLIAgentSessionChanges.merge",
4680
+ "when": "chatSessionType == copilotcli && isSessionsWindow && !sessions.isMergeBaseBranchProtected",
4681
+ "group": "merge@1"
4649
4682
  },
4650
4683
  {
4651
- "command": "github.copilot.chat.openPullRequestCopilotCLIAgentSession.openPR",
4652
- "when": "chatSessionType == copilotcli && isSessionsWindow && sessions.hasOpenPullRequest",
4653
- "group": "navigation@0"
4684
+ "command": "github.copilot.chat.mergeCopilotCLIAgentSessionChanges.mergeAndSync",
4685
+ "when": "chatSessionType == copilotcli && isSessionsWindow && !sessions.isMergeBaseBranchProtected",
4686
+ "group": "merge@2"
4654
4687
  },
4655
4688
  {
4656
- "command": "github.copilot.chat.mergeCopilotCLIAgentSessionChanges.merge",
4657
- "when": "chatSessionType == copilotcli && isSessionsWindow",
4658
- "group": "base@1"
4689
+ "command": "github.copilot.chat.createPullRequestCopilotCLIAgentSession.createPR",
4690
+ "when": "chatSessionType == copilotcli && isSessionsWindow && sessions.isMergeBaseBranchProtected && !sessions.hasOpenPullRequest",
4691
+ "group": "pull_request@1"
4692
+ },
4693
+ {
4694
+ "command": "github.copilot.chat.createDraftPullRequestCopilotCLIAgentSession.createDraftPR",
4695
+ "when": "chatSessionType == copilotcli && isSessionsWindow && sessions.isMergeBaseBranchProtected && !sessions.hasOpenPullRequest",
4696
+ "group": "pull_request@2"
4659
4697
  },
4660
4698
  {
4661
4699
  "command": "github.copilot.chat.updateCopilotCLIAgentSessionChanges.update",
4662
4700
  "when": "chatSessionType == copilotcli && isSessionsWindow",
4663
- "group": "base@2"
4701
+ "group": "update@1"
4664
4702
  }
4665
4703
  ],
4666
4704
  "chat/contextUsage/actions": [
@@ -4957,6 +4995,10 @@
4957
4995
  "command": "github.copilot.chat.mergeCopilotCLIAgentSessionChanges.merge",
4958
4996
  "when": "false"
4959
4997
  },
4998
+ {
4999
+ "command": "github.copilot.chat.mergeCopilotCLIAgentSessionChanges.mergeAndSync",
5000
+ "when": "false"
5001
+ },
4960
5002
  {
4961
5003
  "command": "github.copilot.chat.updateCopilotCLIAgentSessionChanges.update",
4962
5004
  "when": "false"
@@ -4965,6 +5007,10 @@
4965
5007
  "command": "github.copilot.chat.createPullRequestCopilotCLIAgentSession.createPR",
4966
5008
  "when": "false"
4967
5009
  },
5010
+ {
5011
+ "command": "github.copilot.chat.createDraftPullRequestCopilotCLIAgentSession.createDraftPR",
5012
+ "when": "false"
5013
+ },
4968
5014
  {
4969
5015
  "command": "github.copilot.chat.openPullRequestCopilotCLIAgentSession.openPR",
4970
5016
  "when": "false"
@@ -5987,7 +6033,7 @@
5987
6033
  "@types/source-map-support": "^0.5.10",
5988
6034
  "@types/tar": "^6.1.13",
5989
6035
  "@types/vinyl": "^2.0.12",
5990
- "@types/vscode": "^1.108.1",
6036
+ "@types/vscode": "^1.109.0",
5991
6037
  "@types/vscode-webview": "^1.57.4",
5992
6038
  "@types/yargs": "^17.0.24",
5993
6039
  "@typescript-eslint/eslint-plugin": "^8.35.0",
@@ -6033,7 +6079,7 @@
6033
6079
  "openai": "^6.7.0",
6034
6080
  "outdent": "^0.8.0",
6035
6081
  "picomatch": "^4.0.2",
6036
- "playwright": "^1.56.1",
6082
+ "playwright": "^1.58.2",
6037
6083
  "prettier": "^3.6.2",
6038
6084
  "react": "^17.0.2",
6039
6085
  "react-dom": "17.0.2",
@@ -6042,7 +6088,7 @@
6042
6088
  "shiki": "~1.15.0",
6043
6089
  "sinon": "^21.0.0",
6044
6090
  "source-map-support": "^0.5.21",
6045
- "tar": "^7.5.8",
6091
+ "tar": "^7.5.11",
6046
6092
  "ts-dedent": "^2.2.0",
6047
6093
  "tsx": "^4.20.3",
6048
6094
  "typescript": "^5.8.3",
@@ -6062,7 +6108,7 @@
6062
6108
  "@anthropic-ai/claude-agent-sdk": "^0.2.63",
6063
6109
  "@anthropic-ai/sdk": "^0.78.0",
6064
6110
  "@github/blackbird-external-ingest-utils": "^0.3.0",
6065
- "@github/copilot": "^0.0.421",
6111
+ "@github/copilot": "^1.0.2",
6066
6112
  "@google/genai": "^1.22.0",
6067
6113
  "@humanwhocodes/gitignore-to-minimatch": "1.0.2",
6068
6114
  "@microsoft/tiktokenizer": "^1.0.10",
@@ -6081,7 +6127,7 @@
6081
6127
  "@opentelemetry/sdk-trace-node": "^2.5.1",
6082
6128
  "@opentelemetry/semantic-conventions": "^1.39.0",
6083
6129
  "@sinclair/typebox": "^0.34.41",
6084
- "@vscode/copilot-api": "^0.2.15",
6130
+ "@vscode/copilot-api": "^0.2.18",
6085
6131
  "@vscode/extension-telemetry": "^1.5.1",
6086
6132
  "@vscode/l10n": "^0.0.18",
6087
6133
  "@vscode/prompt-tsx": "^0.4.0-alpha.6",
@@ -6092,7 +6138,7 @@
6092
6138
  "applicationinsights": "^2.9.7",
6093
6139
  "best-effort-json-parser": "^1.2.1",
6094
6140
  "diff": "^8.0.3",
6095
- "dompurify": "^3.3.0",
6141
+ "dompurify": "^3.3.2",
6096
6142
  "express": "^5.2.1",
6097
6143
  "ignore": "^7.0.5",
6098
6144
  "isbinaryfile": "^5.0.4",
@@ -6110,5 +6156,5 @@
6110
6156
  "node-gyp": "npm:node-gyp@10.3.1",
6111
6157
  "zod": "3.25.76"
6112
6158
  },
6113
- "vscodeCommit": "9495e313c0eaec600ce20cd800648c99fabb52fd"
6159
+ "vscodeCommit": "112d8737326df90900e0ac1d3a26f5702e0b7930"
6114
6160
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vscode/chat-lib",
3
- "version": "0.5.0",
3
+ "version": "0.5.1-1",
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.15",
19
+ "@vscode/copilot-api": "^0.2.18",
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",
@@ -34,7 +34,7 @@
34
34
  "@anthropic-ai/sdk": "^0.78.0",
35
35
  "@octokit/types": "^14.1.0",
36
36
  "@types/node": "^22.16.3",
37
- "@types/vscode": "^1.108.1",
37
+ "@types/vscode": "^1.109.0",
38
38
  "copyfiles": "^2.4.1",
39
39
  "dotenv": "^17.2.0",
40
40
  "npm-run-all": "^4.1.5",