@vscode/chat-lib 0.0.5-6 → 0.0.5-8
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.
- package/dist/src/_internal/extension/byok/node/openAIEndpoint.d.ts +7 -2
- package/dist/src/_internal/extension/byok/node/openAIEndpoint.d.ts.map +1 -1
- package/dist/src/_internal/extension/byok/node/openAIEndpoint.js +15 -4
- package/dist/src/_internal/extension/byok/node/openAIEndpoint.js.map +1 -1
- package/dist/src/_internal/extension/common/constants.d.ts +1 -0
- package/dist/src/_internal/extension/common/constants.d.ts.map +1 -1
- package/dist/src/_internal/extension/common/constants.js.map +1 -1
- package/dist/src/_internal/extension/prompt/node/chatMLFetcher.d.ts.map +1 -1
- package/dist/src/_internal/extension/prompt/node/chatMLFetcher.js +17 -6
- package/dist/src/_internal/extension/prompt/node/chatMLFetcher.js.map +1 -1
- package/dist/src/_internal/extension/xtab/node/xtabEndpoint.d.ts.map +1 -1
- package/dist/src/_internal/extension/xtab/node/xtabEndpoint.js.map +1 -1
- package/dist/src/_internal/extension/xtab/node/xtabProvider.d.ts +1 -1
- package/dist/src/_internal/extension/xtab/node/xtabProvider.d.ts.map +1 -1
- package/dist/src/_internal/extension/xtab/node/xtabProvider.js +32 -17
- package/dist/src/_internal/extension/xtab/node/xtabProvider.js.map +1 -1
- package/dist/src/_internal/platform/configuration/common/configurationService.d.ts +6 -3
- package/dist/src/_internal/platform/configuration/common/configurationService.d.ts.map +1 -1
- package/dist/src/_internal/platform/configuration/common/configurationService.js +7 -4
- package/dist/src/_internal/platform/configuration/common/configurationService.js.map +1 -1
- package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.d.ts +0 -1
- package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.d.ts.map +1 -1
- package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.js +2 -11
- package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.js.map +1 -1
- package/dist/src/_internal/platform/endpoint/node/autoChatEndpoint.d.ts +30 -0
- package/dist/src/_internal/platform/endpoint/node/autoChatEndpoint.d.ts.map +1 -0
- package/dist/src/_internal/platform/endpoint/node/autoChatEndpoint.js +117 -0
- package/dist/src/_internal/platform/endpoint/node/autoChatEndpoint.js.map +1 -0
- package/dist/src/_internal/platform/endpoint/node/chatEndpoint.d.ts +3 -4
- package/dist/src/_internal/platform/endpoint/node/chatEndpoint.d.ts.map +1 -1
- package/dist/src/_internal/platform/endpoint/node/chatEndpoint.js +32 -69
- package/dist/src/_internal/platform/endpoint/node/chatEndpoint.js.map +1 -1
- package/dist/src/_internal/platform/github/common/githubAPI.d.ts +2 -1
- package/dist/src/_internal/platform/github/common/githubAPI.d.ts.map +1 -1
- package/dist/src/_internal/platform/github/common/githubAPI.js +2 -0
- package/dist/src/_internal/platform/github/common/githubAPI.js.map +1 -1
- package/dist/src/_internal/platform/github/common/githubService.d.ts +10 -0
- package/dist/src/_internal/platform/github/common/githubService.d.ts.map +1 -1
- package/dist/src/_internal/platform/github/common/githubService.js +10 -0
- package/dist/src/_internal/platform/github/common/githubService.js.map +1 -1
- package/dist/src/_internal/platform/inlineCompletions/common/api.d.ts +5 -0
- package/dist/src/_internal/platform/inlineCompletions/common/api.d.ts.map +1 -1
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/xtabPromptOptions.d.ts +8 -0
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/xtabPromptOptions.d.ts.map +1 -1
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/xtabPromptOptions.js +26 -1
- package/dist/src/_internal/platform/inlineEdits/common/dataTypes/xtabPromptOptions.js.map +1 -1
- package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProviders.d.ts +1 -0
- package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProviders.d.ts.map +1 -1
- package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProviders.js +19 -0
- package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProviders.js.map +1 -1
- package/dist/src/_internal/platform/languageServer/common/languageContextService.d.ts +12 -0
- package/dist/src/_internal/platform/languageServer/common/languageContextService.d.ts.map +1 -1
- package/dist/src/_internal/platform/languageServer/common/languageContextService.js.map +1 -1
- package/dist/src/_internal/util/common/test/shims/chatTypes.d.ts +12 -0
- package/dist/src/_internal/util/common/test/shims/chatTypes.d.ts.map +1 -1
- package/dist/src/_internal/util/common/test/shims/chatTypes.js +18 -2
- package/dist/src/_internal/util/common/test/shims/chatTypes.js.map +1 -1
- package/dist/src/_internal/util/common/test/shims/enums.d.ts +5 -0
- package/dist/src/_internal/util/common/test/shims/enums.d.ts.map +1 -1
- package/dist/src/_internal/util/common/test/shims/enums.js +7 -1
- package/dist/src/_internal/util/common/test/shims/enums.js.map +1 -1
- package/dist/src/_internal/util/common/test/shims/vscodeTypesShim.d.ts.map +1 -1
- package/dist/src/_internal/util/common/test/shims/vscodeTypesShim.js +3 -1
- package/dist/src/_internal/util/common/test/shims/vscodeTypesShim.js.map +1 -1
- package/dist/src/_internal/vscodeTypes.d.ts +2 -0
- package/dist/src/_internal/vscodeTypes.d.ts.map +1 -1
- package/dist/src/_internal/vscodeTypes.js +4 -2
- package/dist/src/_internal/vscodeTypes.js.map +1 -1
- package/dist/src/package.json +106 -57
- package/package.json +1 -1
package/dist/src/package.json
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"icon": "assets/copilot.png",
|
|
24
24
|
"pricing": "Trial",
|
|
25
25
|
"engines": {
|
|
26
|
-
"vscode": "^1.106.0-
|
|
26
|
+
"vscode": "^1.106.0-20251030",
|
|
27
27
|
"npm": ">=9.0.0",
|
|
28
28
|
"node": ">=22.14.0"
|
|
29
29
|
},
|
|
@@ -1075,6 +1075,76 @@
|
|
|
1075
1075
|
}
|
|
1076
1076
|
}
|
|
1077
1077
|
},
|
|
1078
|
+
{
|
|
1079
|
+
"name": "copilot_memory",
|
|
1080
|
+
"toolReferenceName": "memory",
|
|
1081
|
+
"displayName": "%copilot.tools.memory.name%",
|
|
1082
|
+
"userDescription": "%copilot.tools.memory.description%",
|
|
1083
|
+
"modelDescription": "Manage persistent memory across conversations. This tool allows you to create, view, update, and delete memory files that persist between chat sessions. Use this to remember important information about the user, their preferences, project context, or anything that should be recalled in future conversations. Available commands: view (list/read memories), create (new memory file), str_replace (edit content), insert (add content), delete (remove memory), rename (change filename).",
|
|
1084
|
+
"icon": "$(database)",
|
|
1085
|
+
"when": "config.github.copilot.chat.tools.memory.enabled",
|
|
1086
|
+
"canBeReferencedInPrompt": true,
|
|
1087
|
+
"tags": [],
|
|
1088
|
+
"inputSchema": {
|
|
1089
|
+
"type": "object",
|
|
1090
|
+
"properties": {
|
|
1091
|
+
"command": {
|
|
1092
|
+
"type": "string",
|
|
1093
|
+
"enum": [
|
|
1094
|
+
"view",
|
|
1095
|
+
"create",
|
|
1096
|
+
"str_replace",
|
|
1097
|
+
"insert",
|
|
1098
|
+
"delete",
|
|
1099
|
+
"rename"
|
|
1100
|
+
],
|
|
1101
|
+
"description": "The memory operation to perform: view (list/read), create (new file), str_replace (edit), insert (add content), delete (remove), rename (change filename)"
|
|
1102
|
+
},
|
|
1103
|
+
"path": {
|
|
1104
|
+
"type": "string",
|
|
1105
|
+
"description": "The path to the memory file (must start with /memories, e.g., /memories/notes.md or /memories/project/info.txt)"
|
|
1106
|
+
},
|
|
1107
|
+
"view_range": {
|
|
1108
|
+
"type": "array",
|
|
1109
|
+
"items": {
|
|
1110
|
+
"type": "number"
|
|
1111
|
+
},
|
|
1112
|
+
"description": "Optional: view specific line range [start, end] for view command"
|
|
1113
|
+
},
|
|
1114
|
+
"file_text": {
|
|
1115
|
+
"type": "string",
|
|
1116
|
+
"description": "Content for create operation"
|
|
1117
|
+
},
|
|
1118
|
+
"old_str": {
|
|
1119
|
+
"type": "string",
|
|
1120
|
+
"description": "String to replace in str_replace operation"
|
|
1121
|
+
},
|
|
1122
|
+
"new_str": {
|
|
1123
|
+
"type": "string",
|
|
1124
|
+
"description": "Replacement string in str_replace operation"
|
|
1125
|
+
},
|
|
1126
|
+
"insert_line": {
|
|
1127
|
+
"type": "number",
|
|
1128
|
+
"description": "Line number for insert operation"
|
|
1129
|
+
},
|
|
1130
|
+
"insert_text": {
|
|
1131
|
+
"type": "string",
|
|
1132
|
+
"description": "Text to insert at specified line for insert operation"
|
|
1133
|
+
},
|
|
1134
|
+
"old_path": {
|
|
1135
|
+
"type": "string",
|
|
1136
|
+
"description": "Source path for rename operation"
|
|
1137
|
+
},
|
|
1138
|
+
"new_path": {
|
|
1139
|
+
"type": "string",
|
|
1140
|
+
"description": "Destination path for rename operation"
|
|
1141
|
+
}
|
|
1142
|
+
},
|
|
1143
|
+
"required": [
|
|
1144
|
+
"command"
|
|
1145
|
+
]
|
|
1146
|
+
}
|
|
1147
|
+
},
|
|
1078
1148
|
{
|
|
1079
1149
|
"name": "copilot_editFiles",
|
|
1080
1150
|
"modelDescription": "This is a placeholder tool, do not use",
|
|
@@ -1189,53 +1259,9 @@
|
|
|
1189
1259
|
"fullName": "GitHub Copilot",
|
|
1190
1260
|
"description": "%copilot.edits.description%",
|
|
1191
1261
|
"isDefault": true,
|
|
1192
|
-
"when": "config.inlineChat.enableV2
|
|
1262
|
+
"when": "config.inlineChat.enableV2",
|
|
1193
1263
|
"locations": [
|
|
1194
1264
|
"editor"
|
|
1195
|
-
],
|
|
1196
|
-
"commands": [
|
|
1197
|
-
{
|
|
1198
|
-
"name": "fix",
|
|
1199
|
-
"description": "%copilot.workspace.fix.description%",
|
|
1200
|
-
"when": "config.inlineChat.enableV2 || config.github.copilot.chat.advanced.inlineChat2",
|
|
1201
|
-
"disambiguation": [
|
|
1202
|
-
{
|
|
1203
|
-
"category": "fix",
|
|
1204
|
-
"description": "Propose a fix for the problems in the selected code",
|
|
1205
|
-
"examples": [
|
|
1206
|
-
"There is a problem in this code. Rewrite the code to show it with the bug fixed."
|
|
1207
|
-
]
|
|
1208
|
-
}
|
|
1209
|
-
]
|
|
1210
|
-
},
|
|
1211
|
-
{
|
|
1212
|
-
"name": "tests",
|
|
1213
|
-
"description": "%copilot.workspace.tests.description%",
|
|
1214
|
-
"when": "config.inlineChat.enableV2 || config.github.copilot.chat.advanced.inlineChat2",
|
|
1215
|
-
"disambiguation": [
|
|
1216
|
-
{
|
|
1217
|
-
"category": "tests",
|
|
1218
|
-
"description": "Help writing tests for the selected code",
|
|
1219
|
-
"examples": [
|
|
1220
|
-
"Help me write tests for the selected code."
|
|
1221
|
-
]
|
|
1222
|
-
}
|
|
1223
|
-
]
|
|
1224
|
-
},
|
|
1225
|
-
{
|
|
1226
|
-
"name": "doc",
|
|
1227
|
-
"description": "%copilot.workspace.doc.description%",
|
|
1228
|
-
"when": "config.inlineChat.enableV2 || config.github.copilot.chat.advanced.inlineChat2",
|
|
1229
|
-
"disambiguation": [
|
|
1230
|
-
{
|
|
1231
|
-
"category": "doc",
|
|
1232
|
-
"description": "Add documentation comment for this symbol",
|
|
1233
|
-
"examples": [
|
|
1234
|
-
"Add jsdoc to this method"
|
|
1235
|
-
]
|
|
1236
|
-
}
|
|
1237
|
-
]
|
|
1238
|
-
}
|
|
1239
1265
|
]
|
|
1240
1266
|
},
|
|
1241
1267
|
{
|
|
@@ -1287,7 +1313,7 @@
|
|
|
1287
1313
|
"locations": [
|
|
1288
1314
|
"editor"
|
|
1289
1315
|
],
|
|
1290
|
-
"when": "!config.inlineChat.enableV2
|
|
1316
|
+
"when": "!config.inlineChat.enableV2",
|
|
1291
1317
|
"disambiguation": [
|
|
1292
1318
|
{
|
|
1293
1319
|
"category": "unknown",
|
|
@@ -2251,6 +2277,12 @@
|
|
|
2251
2277
|
{
|
|
2252
2278
|
"command": "github.copilot.cloud.sessions.proxy.closeChatSessionPullRequest",
|
|
2253
2279
|
"title": "%github.copilot.command.closeChatSessionPullRequest.title%"
|
|
2280
|
+
},
|
|
2281
|
+
{
|
|
2282
|
+
"command": "github.copilot.client.generate",
|
|
2283
|
+
"title": "Open Completions Panel",
|
|
2284
|
+
"enablement": "!isWeb",
|
|
2285
|
+
"category": "GitHub Copilot"
|
|
2254
2286
|
}
|
|
2255
2287
|
],
|
|
2256
2288
|
"configuration": [
|
|
@@ -3098,14 +3130,6 @@
|
|
|
3098
3130
|
],
|
|
3099
3131
|
"description": "%github.copilot.config.gpt5AlternatePrompt%"
|
|
3100
3132
|
},
|
|
3101
|
-
"github.copilot.chat.grokCodeAlternatePrompt": {
|
|
3102
|
-
"type": "string",
|
|
3103
|
-
"default": "default",
|
|
3104
|
-
"tags": [
|
|
3105
|
-
"experimental"
|
|
3106
|
-
],
|
|
3107
|
-
"description": "%github.copilot.config.grokCodeAlternatePrompt%"
|
|
3108
|
-
},
|
|
3109
3133
|
"github.copilot.chat.useResponsesApi": {
|
|
3110
3134
|
"type": "boolean",
|
|
3111
3135
|
"default": true,
|
|
@@ -3166,6 +3190,24 @@
|
|
|
3166
3190
|
"onExp"
|
|
3167
3191
|
]
|
|
3168
3192
|
},
|
|
3193
|
+
"github.copilot.chat.anthropic.tools.websearch.enabled": {
|
|
3194
|
+
"type": "boolean",
|
|
3195
|
+
"default": false,
|
|
3196
|
+
"markdownDescription": "%github.copilot.config.anthropic.tools.websearch.enabled%",
|
|
3197
|
+
"tags": [
|
|
3198
|
+
"experimental",
|
|
3199
|
+
"onExp"
|
|
3200
|
+
]
|
|
3201
|
+
},
|
|
3202
|
+
"github.copilot.chat.tools.memory.enabled": {
|
|
3203
|
+
"type": "boolean",
|
|
3204
|
+
"default": false,
|
|
3205
|
+
"markdownDescription": "%github.copilot.config.tools.memory.enabled%",
|
|
3206
|
+
"tags": [
|
|
3207
|
+
"experimental",
|
|
3208
|
+
"onExp"
|
|
3209
|
+
]
|
|
3210
|
+
},
|
|
3169
3211
|
"github.copilot.chat.completionsFetcher": {
|
|
3170
3212
|
"type": [
|
|
3171
3213
|
"string",
|
|
@@ -4284,6 +4326,13 @@
|
|
|
4284
4326
|
"path": "./assets/agents/Plan.agent.md",
|
|
4285
4327
|
"description": "Researches a task to create multi-step plans"
|
|
4286
4328
|
}
|
|
4329
|
+
],
|
|
4330
|
+
"prompts": [
|
|
4331
|
+
{
|
|
4332
|
+
"name": "savePromptFile",
|
|
4333
|
+
"path": "./assets/prompts/savePromptFile.prompt.md",
|
|
4334
|
+
"description": "Generalize the current discussion into a reusable prompt and save it as a file"
|
|
4335
|
+
}
|
|
4287
4336
|
]
|
|
4288
4337
|
},
|
|
4289
4338
|
"extensionPack": [
|
|
@@ -4434,7 +4483,7 @@
|
|
|
4434
4483
|
},
|
|
4435
4484
|
"dependencies": {
|
|
4436
4485
|
"@anthropic-ai/claude-code": "^1.0.120",
|
|
4437
|
-
"@anthropic-ai/sdk": "^0.
|
|
4486
|
+
"@anthropic-ai/sdk": "^0.68.0",
|
|
4438
4487
|
"@github/copilot": "^0.0.343",
|
|
4439
4488
|
"@google/genai": "^1.22.0",
|
|
4440
4489
|
"@humanwhocodes/gitignore-to-minimatch": "1.0.2",
|
|
@@ -4463,4 +4512,4 @@
|
|
|
4463
4512
|
"string_decoder": "npm:string_decoder@1.2.0",
|
|
4464
4513
|
"node-gyp": "npm:node-gyp@10.3.1"
|
|
4465
4514
|
}
|
|
4466
|
-
}
|
|
4515
|
+
}
|