@vscode/chat-lib 0.46.2026042305 → 0.46.2026042702

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 (66) hide show
  1. package/dist/src/_internal/extension/inlineEdits/node/nextEditProviderTelemetry.d.ts.map +1 -1
  2. package/dist/src/_internal/extension/inlineEdits/node/nextEditProviderTelemetry.js +6 -0
  3. package/dist/src/_internal/extension/inlineEdits/node/nextEditProviderTelemetry.js.map +1 -1
  4. package/dist/src/_internal/extension/xtab/common/lineRange.d.ts +15 -0
  5. package/dist/src/_internal/extension/xtab/common/lineRange.d.ts.map +1 -0
  6. package/dist/src/_internal/extension/xtab/common/lineRange.js +22 -0
  7. package/dist/src/_internal/extension/xtab/common/lineRange.js.map +1 -0
  8. package/dist/src/_internal/extension/xtab/common/promptCrafting.d.ts +5 -1
  9. package/dist/src/_internal/extension/xtab/common/promptCrafting.d.ts.map +1 -1
  10. package/dist/src/_internal/extension/xtab/common/promptCrafting.js +5 -4
  11. package/dist/src/_internal/extension/xtab/common/promptCrafting.js.map +1 -1
  12. package/dist/src/_internal/extension/xtab/common/recentFilesForPrompt.d.ts +33 -1
  13. package/dist/src/_internal/extension/xtab/common/recentFilesForPrompt.d.ts.map +1 -1
  14. package/dist/src/_internal/extension/xtab/common/recentFilesForPrompt.js +48 -1
  15. package/dist/src/_internal/extension/xtab/common/recentFilesForPrompt.js.map +1 -1
  16. package/dist/src/_internal/extension/xtab/common/similarFilesContextService.d.ts +22 -0
  17. package/dist/src/_internal/extension/xtab/common/similarFilesContextService.d.ts.map +1 -1
  18. package/dist/src/_internal/extension/xtab/common/similarFilesContextService.js +10 -1
  19. package/dist/src/_internal/extension/xtab/common/similarFilesContextService.js.map +1 -1
  20. package/dist/src/_internal/extension/xtab/node/xtabProvider.d.ts.map +1 -1
  21. package/dist/src/_internal/extension/xtab/node/xtabProvider.js +17 -2
  22. package/dist/src/_internal/extension/xtab/node/xtabProvider.js.map +1 -1
  23. package/dist/src/_internal/platform/configuration/common/configurationService.d.ts +8 -3
  24. package/dist/src/_internal/platform/configuration/common/configurationService.d.ts.map +1 -1
  25. package/dist/src/_internal/platform/configuration/common/configurationService.js +11 -6
  26. package/dist/src/_internal/platform/configuration/common/configurationService.js.map +1 -1
  27. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.d.ts +8 -6
  28. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.d.ts.map +1 -1
  29. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.js +22 -17
  30. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.js.map +1 -1
  31. package/dist/src/_internal/platform/endpoint/node/messagesApi.d.ts +18 -1
  32. package/dist/src/_internal/platform/endpoint/node/messagesApi.d.ts.map +1 -1
  33. package/dist/src/_internal/platform/endpoint/node/messagesApi.js +89 -15
  34. package/dist/src/_internal/platform/endpoint/node/messagesApi.js.map +1 -1
  35. package/dist/src/_internal/platform/endpoint/node/responsesApi.d.ts +2 -0
  36. package/dist/src/_internal/platform/endpoint/node/responsesApi.d.ts.map +1 -1
  37. package/dist/src/_internal/platform/endpoint/node/responsesApi.js +14 -2
  38. package/dist/src/_internal/platform/endpoint/node/responsesApi.js.map +1 -1
  39. package/dist/src/_internal/platform/endpoint/node/responsesApiDebugDump.d.ts +12 -0
  40. package/dist/src/_internal/platform/endpoint/node/responsesApiDebugDump.d.ts.map +1 -0
  41. package/dist/src/_internal/platform/endpoint/node/responsesApiDebugDump.js +95 -0
  42. package/dist/src/_internal/platform/endpoint/node/responsesApiDebugDump.js.map +1 -0
  43. package/dist/src/_internal/platform/github/common/githubAPI.d.ts +5 -0
  44. package/dist/src/_internal/platform/github/common/githubAPI.d.ts.map +1 -1
  45. package/dist/src/_internal/platform/github/common/githubAPI.js +52 -2
  46. package/dist/src/_internal/platform/github/common/githubAPI.js.map +1 -1
  47. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/xtabPromptOptions.d.ts +12 -0
  48. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/xtabPromptOptions.d.ts.map +1 -1
  49. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/xtabPromptOptions.js +12 -1
  50. package/dist/src/_internal/platform/inlineEdits/common/dataTypes/xtabPromptOptions.js.map +1 -1
  51. package/dist/src/_internal/platform/inlineEdits/common/inlineEditLogContext.d.ts.map +1 -1
  52. package/dist/src/_internal/platform/inlineEdits/common/inlineEditLogContext.js +4 -1
  53. package/dist/src/_internal/platform/inlineEdits/common/inlineEditLogContext.js.map +1 -1
  54. package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.d.ts +10 -0
  55. package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.d.ts.map +1 -1
  56. package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.js +15 -0
  57. package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.js.map +1 -1
  58. package/dist/src/_internal/platform/workspace/common/workspaceService.d.ts +3 -0
  59. package/dist/src/_internal/platform/workspace/common/workspaceService.d.ts.map +1 -1
  60. package/dist/src/_internal/platform/workspace/common/workspaceService.js +3 -0
  61. package/dist/src/_internal/platform/workspace/common/workspaceService.js.map +1 -1
  62. package/dist/src/main.d.ts.map +1 -1
  63. package/dist/src/main.js +2 -7
  64. package/dist/src/main.js.map +1 -1
  65. package/dist/src/package.json +89 -30
  66. 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.46.2026042305",
5
+ "version": "0.46.2026042702",
6
6
  "build": "1",
7
7
  "internalAIKey": "1058ec22-3c95-4951-8443-f26c1f325911",
8
8
  "completionsCoreVersion": "1.378.1799",
@@ -235,6 +235,27 @@
235
235
  ]
236
236
  }
237
237
  },
238
+ {
239
+ "name": "skill",
240
+ "toolReferenceName": "skill",
241
+ "displayName": "%copilot.tools.skill.name%",
242
+ "icon": "$(book)",
243
+ "userDescription": "%copilot.tools.skill.description%",
244
+ "modelDescription": "Invoke a skill to handle a user's request with specialized instructions and workflows.\n\nSkills are domain-specific capabilities discovered from SKILL.md files. When a user's task matches an available skill, call this tool to load and apply it. If the user types a slash command (e.g. \"/deploy\", \"/test\"), treat it as a skill invocation.\n\nUsage:\n- Pass the skill name only (no arguments).\n- Examples: skill: \"docx\", skill: \"deploy\", skill: \"fix-ci-failures\"\n\nRules:\n- Available skills appear in system-reminder messages earlier in the conversation.\n- BLOCKING: When a matching skill exists, you MUST call this tool before producing any other output about the task.\n- Never reference a skill without calling this tool.\n- Do not call this tool for a skill that is already active in the current turn (indicated by a <command-name> tag).\n- Do not use this tool for built-in commands such as /help or /clear.",
245
+ "when": "config.github.copilot.chat.skillTool.enabled",
246
+ "inputSchema": {
247
+ "type": "object",
248
+ "properties": {
249
+ "skill": {
250
+ "type": "string",
251
+ "description": "The skill name. E.g., \"commit\", \"review-pr\", or \"pdf\""
252
+ }
253
+ },
254
+ "required": [
255
+ "skill"
256
+ ]
257
+ }
258
+ },
238
259
  {
239
260
  "name": "copilot_searchWorkspaceSymbols",
240
261
  "toolReferenceName": "symbols",
@@ -1051,6 +1072,38 @@
1051
1072
  ]
1052
1073
  }
1053
1074
  },
1075
+ {
1076
+ "name": "copilot_githubTextSearch",
1077
+ "legacyToolReferenceFullNames": [
1078
+ "githubTextSearch"
1079
+ ],
1080
+ "toolReferenceName": "githubTextSearch",
1081
+ "displayName": "%github.copilot.tools.githubTextSearch.name%",
1082
+ "modelDescription": "Lexically searches a GitHub repository or organization for files containing specific keywords or code patterns. Use this when looking for exact strings, function names, or identifiers in a GitHub repo or org. Unlike the semantic search tool, this uses keyword matching rather than meaning-based search.",
1083
+ "userDescription": "%github.copilot.tools.githubTextSearch.userDescription%",
1084
+ "icon": "$(search)",
1085
+ "inputSchema": {
1086
+ "type": "object",
1087
+ "properties": {
1088
+ "scope": {
1089
+ "type": "string",
1090
+ "description": "The GitHub scope to search. Use 'owner/repo' to search a single repository, or an org name (no slash) to search across an entire organization."
1091
+ },
1092
+ "query": {
1093
+ "type": "string",
1094
+ "description": "The keyword search query. Supports GitHub code search syntax such as 'language:typescript', 'extension:ts', 'path:src/', etc."
1095
+ },
1096
+ "maxResults": {
1097
+ "type": "number",
1098
+ "description": "Optional. The maximum number of search results to return. Defaults to 100."
1099
+ }
1100
+ },
1101
+ "required": [
1102
+ "scope",
1103
+ "query"
1104
+ ]
1105
+ }
1106
+ },
1054
1107
  {
1055
1108
  "name": "copilot_switchAgent",
1056
1109
  "toolReferenceName": "switchAgent",
@@ -1233,7 +1286,8 @@
1233
1286
  "problems",
1234
1287
  "readFile",
1235
1288
  "viewImage",
1236
- "readNotebookCellOutput"
1289
+ "readNotebookCellOutput",
1290
+ "skill"
1237
1291
  ]
1238
1292
  },
1239
1293
  {
@@ -1262,6 +1316,7 @@
1262
1316
  "resolveMemoryFileUri",
1263
1317
  "runCommand",
1264
1318
  "switchAgent",
1319
+ "toolSearch",
1265
1320
  "vscodeAPI"
1266
1321
  ]
1267
1322
  },
@@ -1271,7 +1326,8 @@
1271
1326
  "icon": "$(globe)",
1272
1327
  "tools": [
1273
1328
  "fetch",
1274
- "githubRepo"
1329
+ "githubRepo",
1330
+ "githubTextSearch"
1275
1331
  ]
1276
1332
  }
1277
1333
  ],
@@ -1444,20 +1500,6 @@
1444
1500
  }
1445
1501
  ]
1446
1502
  },
1447
- {
1448
- "name": "doc",
1449
- "when": "!config.inlineChat.enableV2",
1450
- "description": "%copilot.workspace.doc.description%",
1451
- "disambiguation": [
1452
- {
1453
- "category": "doc",
1454
- "description": "Add documentation comment for this symbol",
1455
- "examples": [
1456
- "Add jsdoc to this method"
1457
- ]
1458
- }
1459
- ]
1460
- },
1461
1503
  {
1462
1504
  "name": "fix",
1463
1505
  "when": "!config.inlineChat.enableV2",
@@ -3773,6 +3815,15 @@
3773
3815
  "clear-both"
3774
3816
  ]
3775
3817
  },
3818
+ "github.copilot.chat.anthropic.cacheBreakpoints.lastTwoMessages": {
3819
+ "type": "boolean",
3820
+ "default": false,
3821
+ "markdownDescription": "%github.copilot.config.anthropic.cacheBreakpoints.lastTwoMessages%",
3822
+ "tags": [
3823
+ "experimental",
3824
+ "onExp"
3825
+ ]
3826
+ },
3776
3827
  "github.copilot.chat.responsesApiReasoningSummary": {
3777
3828
  "type": "string",
3778
3829
  "default": "detailed",
@@ -3999,6 +4050,15 @@
3999
4050
  "tags": [
4000
4051
  "experimental"
4001
4052
  ]
4053
+ },
4054
+ "github.copilot.chat.localIndex.enabled": {
4055
+ "type": "boolean",
4056
+ "default": false,
4057
+ "markdownDescription": "%github.copilot.config.localIndex.enabled%",
4058
+ "tags": [
4059
+ "experimental",
4060
+ "onExp"
4061
+ ]
4002
4062
  }
4003
4063
  }
4004
4064
  },
@@ -4249,16 +4309,6 @@
4249
4309
  "experimental"
4250
4310
  ]
4251
4311
  },
4252
- "github.copilot.chat.inlineChat.selectionRatioThreshold": {
4253
- "type": "number",
4254
- "default": 0,
4255
- "markdownDescription": "%github.copilot.config.inlineChat.selectionRatioThreshold%",
4256
- "tags": [
4257
- "advanced",
4258
- "experimental",
4259
- "onExp"
4260
- ]
4261
- },
4262
4312
  "github.copilot.chat.inlineChat.reasoningEffort": {
4263
4313
  "type": "string",
4264
4314
  "default": "low",
@@ -4393,6 +4443,15 @@
4393
4443
  "experimental"
4394
4444
  ]
4395
4445
  },
4446
+ "github.copilot.chat.skillTool.enabled": {
4447
+ "type": "boolean",
4448
+ "default": false,
4449
+ "markdownDescription": "%github.copilot.config.skill.enabled%",
4450
+ "tags": [
4451
+ "advanced",
4452
+ "experimental"
4453
+ ]
4454
+ },
4396
4455
  "github.copilot.chat.executionSubagent.enabled": {
4397
4456
  "type": "boolean",
4398
4457
  "default": false,
@@ -4457,7 +4516,7 @@
4457
4516
  },
4458
4517
  "github.copilot.chat.agentHistorySummarizationInline": {
4459
4518
  "type": "boolean",
4460
- "default": false,
4519
+ "default": true,
4461
4520
  "markdownDescription": "%github.copilot.config.agentHistorySummarizationInline%",
4462
4521
  "tags": [
4463
4522
  "advanced",
@@ -4644,7 +4703,7 @@
4644
4703
  },
4645
4704
  "github.copilot.chat.cli.lazyLoadSessionItem.enabled": {
4646
4705
  "type": "boolean",
4647
- "default": false,
4706
+ "default": true,
4648
4707
  "markdownDescription": "%github.copilot.config.cli.lazyLoadSessionItem.enabled%",
4649
4708
  "tags": [
4650
4709
  "advanced"
@@ -4685,7 +4744,7 @@
4685
4744
  },
4686
4745
  "github.copilot.chat.cli.sessionController.enabled": {
4687
4746
  "type": "boolean",
4688
- "default": false,
4747
+ "default": true,
4689
4748
  "markdownDescription": "%github.copilot.config.cli.sessionController.enabled%",
4690
4749
  "tags": [
4691
4750
  "advanced"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vscode/chat-lib",
3
- "version": "0.46.2026042305",
3
+ "version": "0.46.2026042702",
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",