@vscode/chat-lib 0.4.1-2 → 0.4.1-4

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 (22) hide show
  1. package/dist/src/_internal/extension/xtab/node/xtabProvider.d.ts.map +1 -1
  2. package/dist/src/_internal/extension/xtab/node/xtabProvider.js +16 -0
  3. package/dist/src/_internal/extension/xtab/node/xtabProvider.js.map +1 -1
  4. package/dist/src/_internal/platform/configuration/common/configurationService.d.ts +4 -8
  5. package/dist/src/_internal/platform/configuration/common/configurationService.d.ts.map +1 -1
  6. package/dist/src/_internal/platform/configuration/common/configurationService.js +5 -9
  7. package/dist/src/_internal/platform/configuration/common/configurationService.js.map +1 -1
  8. package/dist/src/_internal/platform/endpoint/node/chatEndpoint.js +2 -2
  9. package/dist/src/_internal/platform/endpoint/node/chatEndpoint.js.map +1 -1
  10. package/dist/src/_internal/platform/endpoint/node/messagesApi.d.ts.map +1 -1
  11. package/dist/src/_internal/platform/endpoint/node/messagesApi.js +1 -6
  12. package/dist/src/_internal/platform/endpoint/node/messagesApi.js.map +1 -1
  13. package/dist/src/_internal/platform/networking/common/anthropic.d.ts +5 -2
  14. package/dist/src/_internal/platform/networking/common/anthropic.d.ts.map +1 -1
  15. package/dist/src/_internal/platform/networking/common/anthropic.js +13 -3
  16. package/dist/src/_internal/platform/networking/common/anthropic.js.map +1 -1
  17. package/dist/src/_internal/util/common/test/shims/chatTypes.d.ts +3 -2
  18. package/dist/src/_internal/util/common/test/shims/chatTypes.d.ts.map +1 -1
  19. package/dist/src/_internal/util/common/test/shims/chatTypes.js +2 -1
  20. package/dist/src/_internal/util/common/test/shims/chatTypes.js.map +1 -1
  21. package/dist/src/package.json +13 -51
  22. package/package.json +2 -2
@@ -1002,31 +1002,6 @@
1002
1002
  ]
1003
1003
  }
1004
1004
  },
1005
- {
1006
- "name": "copilot_getDocInfo",
1007
- "displayName": "%copilot.tools.getDocInfo.name%",
1008
- "icon": "$(beaker)",
1009
- "canBeReferencedInPrompt": false,
1010
- "toolReferenceName": "docInfo",
1011
- "userDescription": "%copilot.tools.getDocInfo.description%",
1012
- "modelDescription": "Find information about how to document it a symbol like a class or function. This tool is useful for generating documentation comments for code symbols. You should use this tool when you think the user is looking for information about how to document a specific code symbol.",
1013
- "tags": [],
1014
- "inputSchema": {
1015
- "type": "object",
1016
- "properties": {
1017
- "filePaths": {
1018
- "type": "array",
1019
- "items": {
1020
- "type": "string"
1021
- },
1022
- "description": "The file paths for which documentation information is needed."
1023
- }
1024
- },
1025
- "required": [
1026
- "filePaths"
1027
- ]
1028
- }
1029
- },
1030
1005
  {
1031
1006
  "name": "copilot_getSearchResults",
1032
1007
  "toolReferenceName": "searchResults",
@@ -3678,24 +3653,16 @@
3678
3653
  ],
3679
3654
  "description": "%github.copilot.config.alternateGeminiModelFPrompt.enabled%"
3680
3655
  },
3681
- "github.copilot.chat.anthropic.contextEditing.enabled": {
3682
- "type": "boolean",
3683
- "default": false,
3684
- "markdownDescription": "%github.copilot.config.anthropic.contextEditing.enabled%",
3685
- "tags": [
3686
- "experimental",
3687
- "onExp"
3688
- ]
3689
- },
3690
3656
  "github.copilot.chat.anthropic.contextEditing.mode": {
3691
3657
  "type": "string",
3692
- "default": "clear-thinking",
3658
+ "default": "off",
3693
3659
  "markdownDescription": "%github.copilot.config.anthropic.contextEditing.mode%",
3694
3660
  "tags": [
3695
3661
  "experimental",
3696
3662
  "onExp"
3697
3663
  ],
3698
3664
  "enum": [
3665
+ "off",
3699
3666
  "clear-thinking",
3700
3667
  "clear-tooluse",
3701
3668
  "clear-both"
@@ -4432,14 +4399,6 @@
4432
4399
  "advanced"
4433
4400
  ]
4434
4401
  },
4435
- "github.copilot.chat.searchSubagent.agenticProxySearchModelName": {
4436
- "type": "string",
4437
- "default": "agentic-search-v1",
4438
- "markdownDescription": "%github.copilot.config.searchSubagent.agenticProxySearchModelName%",
4439
- "tags": [
4440
- "advanced"
4441
- ]
4442
- },
4443
4402
  "github.copilot.chat.searchSubagent.model": {
4444
4403
  "type": "string",
4445
4404
  "default": "",
@@ -5785,8 +5744,10 @@
5785
5744
  "scripts": {
5786
5745
  "postinstall": "tsx ./script/postinstall.ts",
5787
5746
  "prepare": "husky",
5788
- "vscode-dts:dev": "node node_modules/@vscode/dts/index.js dev && mv vscode.proposed.*.ts src/extension",
5789
- "vscode-dts:main": "node node_modules/@vscode/dts/index.js main && mv vscode.d.ts src/extension",
5747
+ "vscode-dts:update": "node script/build/vscodeDtsUpdate.js",
5748
+ "vscode-dts:check": "node script/build/vscodeDtsCheck.js",
5749
+ "vscode-dts:dev": "node node_modules/@vscode/dts/index.js dev && node script/build/moveProposedDts.js",
5750
+ "vscode-dts:main": "node node_modules/@vscode/dts/index.js main && node script/build/moveProposedDts.js",
5790
5751
  "build": "node .esbuild.ts --sourcemaps",
5791
5752
  "compile": "node .esbuild.ts --dev",
5792
5753
  "watch": "npm-run-all -p watch:*",
@@ -5922,8 +5883,8 @@
5922
5883
  "zod": "3.25.76"
5923
5884
  },
5924
5885
  "dependencies": {
5925
- "@anthropic-ai/claude-agent-sdk": "^0.2.44",
5926
- "@anthropic-ai/sdk": "^0.74.0",
5886
+ "@anthropic-ai/claude-agent-sdk": "^0.2.49",
5887
+ "@anthropic-ai/sdk": "^0.78.0",
5927
5888
  "@github/blackbird-external-ingest-utils": "^0.3.0",
5928
5889
  "@github/copilot": "^0.0.411",
5929
5890
  "@google/genai": "^1.22.0",
@@ -5938,7 +5899,7 @@
5938
5899
  "@vscode/tree-sitter-wasm": "0.0.5-php.2",
5939
5900
  "@vscode/webview-ui-toolkit": "^1.3.1",
5940
5901
  "@xterm/headless": "^5.5.0",
5941
- "ajv": "^8.17.1",
5902
+ "ajv": "^8.18.0",
5942
5903
  "applicationinsights": "^2.9.7",
5943
5904
  "best-effort-json-parser": "^1.2.1",
5944
5905
  "diff": "^8.0.3",
@@ -5948,8 +5909,8 @@
5948
5909
  "isbinaryfile": "^5.0.4",
5949
5910
  "jsonc-parser": "^3.3.1",
5950
5911
  "lru-cache": "^11.1.0",
5951
- "markdown-it": "^14.1.0",
5952
- "minimatch": "^10.0.3",
5912
+ "markdown-it": "^14.1.1",
5913
+ "minimatch": "^10.2.1",
5953
5914
  "undici": "^7.18.2",
5954
5915
  "vscode-tas-client": "^0.1.84",
5955
5916
  "web-tree-sitter": "^0.23.0"
@@ -5959,5 +5920,6 @@
5959
5920
  "string_decoder": "npm:string_decoder@1.2.0",
5960
5921
  "node-gyp": "npm:node-gyp@10.3.1",
5961
5922
  "zod": "3.25.76"
5962
- }
5923
+ },
5924
+ "vscodeCommit": "7a0b83f270038305afab4f7e2a23493152c834df"
5963
5925
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vscode/chat-lib",
3
- "version": "0.4.1-2",
3
+ "version": "0.4.1-4",
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",
@@ -30,7 +30,7 @@
30
30
  "yaml": "^2.8.0"
31
31
  },
32
32
  "devDependencies": {
33
- "@anthropic-ai/sdk": "^0.74.0",
33
+ "@anthropic-ai/sdk": "^0.78.0",
34
34
  "@octokit/types": "^14.1.0",
35
35
  "@types/node": "^22.16.3",
36
36
  "@types/vscode": "^1.108.1",