@vscode/chat-lib 0.2.1-26 → 0.2.1-27

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 (35) hide show
  1. package/dist/src/_internal/platform/chat/common/chatMLFetcher.js +1 -1
  2. package/dist/src/_internal/platform/chat/common/chatMLFetcher.js.map +1 -1
  3. package/dist/src/_internal/platform/configuration/common/configurationService.d.ts +1 -0
  4. package/dist/src/_internal/platform/configuration/common/configurationService.d.ts.map +1 -1
  5. package/dist/src/_internal/platform/configuration/common/configurationService.js +4 -3
  6. package/dist/src/_internal/platform/configuration/common/configurationService.js.map +1 -1
  7. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.d.ts.map +1 -1
  8. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.js +4 -8
  9. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.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 +11 -2
  12. package/dist/src/_internal/platform/endpoint/node/messagesApi.js.map +1 -1
  13. package/dist/src/_internal/platform/endpoint/node/responsesApi.d.ts +2 -0
  14. package/dist/src/_internal/platform/endpoint/node/responsesApi.d.ts.map +1 -1
  15. package/dist/src/_internal/platform/endpoint/node/responsesApi.js +20 -1
  16. package/dist/src/_internal/platform/endpoint/node/responsesApi.js.map +1 -1
  17. package/dist/src/_internal/platform/networking/common/fetch.d.ts +7 -0
  18. package/dist/src/_internal/platform/networking/common/fetch.d.ts.map +1 -1
  19. package/dist/src/_internal/platform/networking/common/fetch.js.map +1 -1
  20. package/dist/src/_internal/platform/networking/node/stream.d.ts.map +1 -1
  21. package/dist/src/_internal/platform/networking/node/stream.js +36 -8
  22. package/dist/src/_internal/platform/networking/node/stream.js.map +1 -1
  23. package/dist/src/_internal/util/common/test/shims/chatTypes.d.ts +0 -7
  24. package/dist/src/_internal/util/common/test/shims/chatTypes.d.ts.map +1 -1
  25. package/dist/src/_internal/util/common/test/shims/chatTypes.js +2 -11
  26. package/dist/src/_internal/util/common/test/shims/chatTypes.js.map +1 -1
  27. package/dist/src/_internal/util/common/test/shims/vscodeTypesShim.d.ts.map +1 -1
  28. package/dist/src/_internal/util/common/test/shims/vscodeTypesShim.js +0 -1
  29. package/dist/src/_internal/util/common/test/shims/vscodeTypesShim.js.map +1 -1
  30. package/dist/src/_internal/vscodeTypes.d.ts +0 -1
  31. package/dist/src/_internal/vscodeTypes.d.ts.map +1 -1
  32. package/dist/src/_internal/vscodeTypes.js +2 -3
  33. package/dist/src/_internal/vscodeTypes.js.map +1 -1
  34. package/dist/src/package.json +50 -4
  35. package/package.json +1 -1
@@ -33,8 +33,8 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.LanguageModelToolResult = exports.ChatRequestNotebookData = exports.ChatRequestEditorData = exports.ChatLocation = exports.NewSymbolNameTriggerKind = exports.NewSymbolNameTag = exports.NewSymbolName = exports.ChatResponseTurn = exports.ChatRequestTurn = exports.ChatPrepareToolInvocationPart = exports.ChatResponseConfirmationPart = exports.ChatResponseNotebookEditPart = exports.ChatResponseTextEditPart = exports.ChatResponseCodeblockUriPart = exports.ChatResponseMarkdownWithVulnerabilitiesPart = exports.ChatResponsePullRequestPart = exports.ChatResponseExternalEditPart = exports.ChatResponseExtensionsPart = exports.ChatResponseMovePart = exports.ChatResponseWarningPart = exports.ChatResponseCommandButtonPart = exports.ChatResponseCodeCitationPart = exports.ChatResponseReferencePart2 = exports.ChatResponseReferencePart = exports.ChatResponseProgressPart2 = exports.ChatResponseProgressPart = exports.ChatResponseAnchorPart = exports.ChatResponseFileTreePart = exports.ChatResponseThinkingProgressPart = exports.ChatResponseMarkdownPart = exports.ChatResponseClearToPreviousToolInvocationReason = exports.ChatVariableLevel = exports.DiagnosticRelatedInformation = exports.Location = exports.ExtensionMode = exports.DiagnosticSeverity = exports.EndOfLine = exports.TextEditorRevealType = exports.TextEditorLineNumbersStyle = exports.TextEditorCursorStyle = exports.MarkdownString = exports.Uri = exports.WorkspaceEdit = exports.TextEdit = exports.Diagnostic = exports.CancellationTokenSource = exports.EventEmitter = exports.Selection = exports.Range = exports.Position = void 0;
37
- exports.authentication = exports.l10n = exports.ChatSessionStatus = exports.FileType = exports.SnippetTextEdit = exports.SnippetString = exports.SymbolKind = exports.LanguageModelError = exports.ChatRequestTurn2 = exports.ChatResponseTurn2 = exports.ChatToolInvocationPart = exports.TextDocumentChangeReason = exports.TextEditorSelectionChangeKind = exports.LanguageModelChatToolMode = exports.LanguageModelChatMessage = exports.LanguageModelChatMessageRole = exports.LanguageModelToolResultPart2 = exports.LanguageModelToolResultPart = exports.LanguageModelToolCallPart = exports.ChatRequestEditedFileEventKind = exports.TerminalShellExecutionCommandLineConfidence = exports.ChatErrorLevel = exports.NotebookData = exports.NotebookCellData = exports.NotebookEdit = exports.NotebookRange = exports.NotebookCellKind = exports.ExcludeSettingOptions = exports.AISearchKeyword = exports.TextSearchMatch2 = exports.ChatReferenceDiagnostic = exports.ChatReferenceBinaryData = exports.LanguageModelToolExtensionSource = exports.LanguageModelToolMCPSource = exports.LanguageModelPartAudience = exports.LanguageModelDataPart2 = exports.LanguageModelDataPart = exports.LanguageModelThinkingPart = exports.LanguageModelTextPart2 = exports.LanguageModelTextPart = exports.LanguageModelPromptTsxPart = exports.SymbolInformation = exports.LanguageModelToolResult2 = exports.ExtendedLanguageModelToolResult = void 0;
36
+ exports.ExtendedLanguageModelToolResult = exports.LanguageModelToolResult = exports.ChatRequestNotebookData = exports.ChatRequestEditorData = exports.ChatLocation = exports.NewSymbolNameTriggerKind = exports.NewSymbolNameTag = exports.NewSymbolName = exports.ChatResponseTurn = exports.ChatRequestTurn = exports.ChatResponseConfirmationPart = exports.ChatResponseNotebookEditPart = exports.ChatResponseTextEditPart = exports.ChatResponseCodeblockUriPart = exports.ChatResponseMarkdownWithVulnerabilitiesPart = exports.ChatResponsePullRequestPart = exports.ChatResponseExternalEditPart = exports.ChatResponseExtensionsPart = exports.ChatResponseMovePart = exports.ChatResponseWarningPart = exports.ChatResponseCommandButtonPart = exports.ChatResponseCodeCitationPart = exports.ChatResponseReferencePart2 = exports.ChatResponseReferencePart = exports.ChatResponseProgressPart2 = exports.ChatResponseProgressPart = exports.ChatResponseAnchorPart = exports.ChatResponseFileTreePart = exports.ChatResponseThinkingProgressPart = exports.ChatResponseMarkdownPart = exports.ChatResponseClearToPreviousToolInvocationReason = exports.ChatVariableLevel = exports.DiagnosticRelatedInformation = exports.Location = exports.ExtensionMode = exports.DiagnosticSeverity = exports.EndOfLine = exports.TextEditorRevealType = exports.TextEditorLineNumbersStyle = exports.TextEditorCursorStyle = exports.MarkdownString = exports.Uri = exports.WorkspaceEdit = exports.TextEdit = exports.Diagnostic = exports.CancellationTokenSource = exports.EventEmitter = exports.Selection = exports.Range = exports.Position = void 0;
37
+ exports.authentication = exports.l10n = exports.ChatSessionStatus = exports.FileType = exports.SnippetTextEdit = exports.SnippetString = exports.SymbolKind = exports.LanguageModelError = exports.ChatRequestTurn2 = exports.ChatResponseTurn2 = exports.ChatToolInvocationPart = exports.TextDocumentChangeReason = exports.TextEditorSelectionChangeKind = exports.LanguageModelChatToolMode = exports.LanguageModelChatMessage = exports.LanguageModelChatMessageRole = exports.LanguageModelToolResultPart2 = exports.LanguageModelToolResultPart = exports.LanguageModelToolCallPart = exports.ChatRequestEditedFileEventKind = exports.TerminalShellExecutionCommandLineConfidence = exports.ChatErrorLevel = exports.NotebookData = exports.NotebookCellData = exports.NotebookEdit = exports.NotebookRange = exports.NotebookCellKind = exports.ExcludeSettingOptions = exports.AISearchKeyword = exports.TextSearchMatch2 = exports.ChatReferenceDiagnostic = exports.ChatReferenceBinaryData = exports.LanguageModelToolExtensionSource = exports.LanguageModelToolMCPSource = exports.LanguageModelPartAudience = exports.LanguageModelDataPart2 = exports.LanguageModelDataPart = exports.LanguageModelThinkingPart = exports.LanguageModelTextPart2 = exports.LanguageModelTextPart = exports.LanguageModelPromptTsxPart = exports.SymbolInformation = exports.LanguageModelToolResult2 = void 0;
38
38
  /*---------------------------------------------------------------------------------------------
39
39
  * Copyright (c) Microsoft Corporation. All rights reserved.
40
40
  * Licensed under the MIT License. See License.txt in the project root for license information.
@@ -80,7 +80,6 @@ exports.ChatResponseCodeblockUriPart = vscode.ChatResponseCodeblockUriPart;
80
80
  exports.ChatResponseTextEditPart = vscode.ChatResponseTextEditPart;
81
81
  exports.ChatResponseNotebookEditPart = vscode.ChatResponseNotebookEditPart;
82
82
  exports.ChatResponseConfirmationPart = vscode.ChatResponseConfirmationPart;
83
- exports.ChatPrepareToolInvocationPart = vscode.ChatPrepareToolInvocationPart;
84
83
  exports.ChatRequestTurn = vscode.ChatRequestTurn;
85
84
  exports.ChatResponseTurn = vscode.ChatResponseTurn;
86
85
  exports.NewSymbolName = vscode.NewSymbolName;
@@ -1 +1 @@
1
- {"version":3,"file":"vscodeTypes.js","sourceRoot":"","sources":["../../../src/_internal/vscodeTypes.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;gGAGgG;AAChG,+CAAiC;AAEnB,QAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;AAC3B,QAAA,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;AACrB,QAAA,SAAS,GAAG,MAAM,CAAC,SAAS,CAAC;AAC7B,QAAA,YAAY,GAAG,MAAM,CAAC,YAAY,CAAC;AACnC,QAAA,uBAAuB,GAAG,MAAM,CAAC,uBAAuB,CAAC;AACzD,QAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;AAC/B,QAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;AAC3B,QAAA,aAAa,GAAG,MAAM,CAAC,aAAa,CAAC;AACrC,QAAA,GAAG,GAAG,MAAM,CAAC,GAAG,CAAC;AACjB,QAAA,cAAc,GAAG,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,2BAA2B,GAAG,MAAM,CAAC,2BAA2B,CAAC;AACjE,QAAA,4BAA4B,GAAG,MAAM,CAAC,4BAA4B,CAAC;AACnE,QAAA,4BAA4B,GAAG,MAAM,CAAC,4BAA4B,CAAC;AACnE,QAAA,wBAAwB,GAAG,MAAM,CAAC,wBAAwB,CAAC;AAC3D,QAAA,yBAAyB,GAAG,MAAM,CAAC,yBAAyB,CAAC;AAC7D,QAAA,6BAA6B,GAAG,MAAM,CAAC,6BAA6B,CAAC;AACrE,QAAA,wBAAwB,GAAG,MAAM,CAAC,wBAAwB,CAAC;AAC3D,QAAA,sBAAsB,GAAG,MAAM,CAAC,sBAAsB,CAAC;AACvD,QAAA,iBAAiB,GAAG,MAAM,CAAC,iBAAiB,CAAC;AAC7C,QAAA,gBAAgB,GAAG,MAAM,CAAC,gBAAgB,CAAC;AAC3C,QAAA,kBAAkB,GAAG,MAAM,CAAC,kBAAkB,CAAC;AAC/C,QAAA,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;AAC/B,QAAA,aAAa,GAAG,MAAM,CAAC,aAAa,CAAC;AACrC,QAAA,eAAe,GAAG,MAAM,CAAC,eAAe,CAAC;AACzC,QAAA,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;AAC3B,QAAA,iBAAiB,GAAG,MAAM,CAAC,iBAAiB,CAAC;AAE9C,QAAA,IAAI,GAAG;IACnB;;;OAGG;IACH,CAAC,EAAE,MAAM,CAAC,IAAI,CAAC,CAAC;CAChB,CAAC;AAEW,QAAA,cAAc,GAAG;IAC7B,UAAU,EAAE,MAAM,CAAC,cAAc,CAAC,UAAU;CAC5C,CAAC"}
@@ -23,7 +23,7 @@
23
23
  "icon": "assets/copilot.png",
24
24
  "pricing": "Trial",
25
25
  "engines": {
26
- "vscode": "^1.109.0",
26
+ "vscode": "^1.109.0-20260115",
27
27
  "npm": ">=9.0.0",
28
28
  "node": ">=22.14.0"
29
29
  },
@@ -164,6 +164,40 @@
164
164
  ]
165
165
  }
166
166
  },
167
+ {
168
+ "name": "search_subagent",
169
+ "toolReferenceName": "searchSubagent",
170
+ "displayName": "%copilot.tools.searchSubagent.name%",
171
+ "icon": "$(search)",
172
+ "canBeReferencedInPrompt": true,
173
+ "userDescription": "%copilot.tools.searchSubagent.description%",
174
+ "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.",
175
+ "tags": [
176
+ "vscode_codesearch"
177
+ ],
178
+ "inputSchema": {
179
+ "type": "object",
180
+ "properties": {
181
+ "query": {
182
+ "type": "string",
183
+ "description": "Natural language description of what to search for."
184
+ },
185
+ "description": {
186
+ "type": "string",
187
+ "description": "A short (3-5 word) description of the task."
188
+ },
189
+ "details": {
190
+ "type": "string",
191
+ "description": "A more detailed description of the objective for the search subagent. This helps the sub-agent remain on task and understand its purpose."
192
+ }
193
+ },
194
+ "required": [
195
+ "query",
196
+ "description",
197
+ "details"
198
+ ]
199
+ }
200
+ },
167
201
  {
168
202
  "name": "copilot_searchWorkspaceSymbols",
169
203
  "toolReferenceName": "symbols",
@@ -1234,7 +1268,8 @@
1234
1268
  "listDirectory",
1235
1269
  "searchResults",
1236
1270
  "textSearch",
1237
- "usages"
1271
+ "usages",
1272
+ "searchSubagent"
1238
1273
  ]
1239
1274
  },
1240
1275
  {
@@ -3268,7 +3303,7 @@
3268
3303
  },
3269
3304
  "github.copilot.chat.anthropic.contextEditing.enabled": {
3270
3305
  "type": "boolean",
3271
- "default": false,
3306
+ "default": true,
3272
3307
  "markdownDescription": "%github.copilot.config.anthropic.contextEditing.enabled%",
3273
3308
  "tags": [
3274
3309
  "experimental",
@@ -3921,6 +3956,16 @@
3921
3956
  "advanced",
3922
3957
  "experimental"
3923
3958
  ]
3959
+ },
3960
+ "github.copilot.chat.searchSubagent.enabled": {
3961
+ "type": "boolean",
3962
+ "default": false,
3963
+ "markdownDescription": "%github.copilot.config.searchSubagent.enabled%",
3964
+ "tags": [
3965
+ "advanced",
3966
+ "experimental",
3967
+ "onExp"
3968
+ ]
3924
3969
  }
3925
3970
  }
3926
3971
  }
@@ -5191,7 +5236,7 @@
5191
5236
  "@anthropic-ai/claude-agent-sdk": "0.2.5",
5192
5237
  "@anthropic-ai/sdk": "^0.71.2",
5193
5238
  "@github/blackbird-external-ingest-utils": "^0.1.0",
5194
- "@github/copilot": "^0.0.366",
5239
+ "@github/copilot": "^0.0.381",
5195
5240
  "@google/genai": "^1.22.0",
5196
5241
  "@humanwhocodes/gitignore-to-minimatch": "1.0.2",
5197
5242
  "@microsoft/tiktokenizer": "^1.0.10",
@@ -5205,6 +5250,7 @@
5205
5250
  "@xterm/headless": "^5.5.0",
5206
5251
  "ajv": "^8.17.1",
5207
5252
  "applicationinsights": "^2.9.7",
5253
+ "best-effort-json-parser": "^1.2.1",
5208
5254
  "diff": "^8.0.2",
5209
5255
  "dompurify": "^3.3.0",
5210
5256
  "ignore": "^7.0.5",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vscode/chat-lib",
3
- "version": "0.2.1-26",
3
+ "version": "0.2.1-27",
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",