@vscode/chat-lib 0.1.1-5 → 0.1.1-6
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/xtab/node/xtabProvider.d.ts.map +1 -1
- package/dist/src/_internal/extension/xtab/node/xtabProvider.js +11 -8
- package/dist/src/_internal/extension/xtab/node/xtabProvider.js.map +1 -1
- package/dist/src/_internal/platform/configuration/common/configurationService.d.ts +3 -0
- package/dist/src/_internal/platform/configuration/common/configurationService.d.ts.map +1 -1
- package/dist/src/_internal/platform/configuration/common/configurationService.js +4 -1
- package/dist/src/_internal/platform/configuration/common/configurationService.js.map +1 -1
- package/dist/src/_internal/platform/endpoint/common/endpointProvider.d.ts +2 -1
- package/dist/src/_internal/platform/endpoint/common/endpointProvider.d.ts.map +1 -1
- package/dist/src/_internal/platform/endpoint/common/endpointProvider.js +1 -0
- package/dist/src/_internal/platform/endpoint/common/endpointProvider.js.map +1 -1
- package/dist/src/_internal/platform/endpoint/node/chatEndpoint.d.ts +2 -0
- package/dist/src/_internal/platform/endpoint/node/chatEndpoint.d.ts.map +1 -1
- package/dist/src/_internal/platform/endpoint/node/chatEndpoint.js +19 -2
- package/dist/src/_internal/platform/endpoint/node/chatEndpoint.js.map +1 -1
- package/dist/src/_internal/platform/endpoint/node/messagesApi.d.ts +65 -0
- package/dist/src/_internal/platform/endpoint/node/messagesApi.d.ts.map +1 -0
- package/dist/src/_internal/platform/endpoint/node/messagesApi.js +397 -0
- package/dist/src/_internal/platform/endpoint/node/messagesApi.js.map +1 -0
- package/dist/src/_internal/platform/github/common/githubAPI.d.ts.map +1 -1
- package/dist/src/_internal/platform/github/common/githubAPI.js +4 -1
- package/dist/src/_internal/platform/github/common/githubAPI.js.map +1 -1
- package/dist/src/_internal/platform/github/common/githubService.d.ts +6 -18
- package/dist/src/_internal/platform/github/common/githubService.d.ts.map +1 -1
- package/dist/src/_internal/platform/github/common/githubService.js +0 -25
- package/dist/src/_internal/platform/github/common/githubService.js.map +1 -1
- package/dist/src/_internal/platform/networking/common/fetch.d.ts +10 -1
- package/dist/src/_internal/platform/networking/common/fetch.d.ts.map +1 -1
- package/dist/src/_internal/platform/networking/common/fetch.js.map +1 -1
- package/dist/src/_internal/platform/networking/common/networking.d.ts +7 -2
- package/dist/src/_internal/platform/networking/common/networking.d.ts.map +1 -1
- package/dist/src/_internal/platform/networking/common/networking.js.map +1 -1
- package/dist/src/package.json +207 -42
- package/package.json +3 -2
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.107.
|
|
26
|
+
"vscode": "^1.107.20251119",
|
|
27
27
|
"npm": ">=9.0.0",
|
|
28
28
|
"node": ">=22.14.0"
|
|
29
29
|
},
|
|
@@ -189,9 +189,11 @@
|
|
|
189
189
|
{
|
|
190
190
|
"name": "copilot_listCodeUsages",
|
|
191
191
|
"toolReferenceName": "usages",
|
|
192
|
+
"legacyToolReferenceFullNames": [
|
|
193
|
+
"usages"
|
|
194
|
+
],
|
|
192
195
|
"displayName": "%copilot.tools.listCodeUsages.name%",
|
|
193
196
|
"icon": "$(references)",
|
|
194
|
-
"canBeReferencedInPrompt": true,
|
|
195
197
|
"userDescription": "%copilot.listCodeUsages.tool.description%",
|
|
196
198
|
"modelDescription": "Request to list all usages (references, definitions, implementations etc) of a function, class, method, variable etc. Use this tool when \n1. Looking for a sample implementation of an interface or class\n2. Checking how a function is used throughout the codebase.\n3. Including and updating all usages when changing a function, method, or constructor",
|
|
197
199
|
"tags": [
|
|
@@ -236,8 +238,7 @@
|
|
|
236
238
|
"query"
|
|
237
239
|
]
|
|
238
240
|
},
|
|
239
|
-
"tags": []
|
|
240
|
-
"canBeReferencedInPrompt": true
|
|
241
|
+
"tags": []
|
|
241
242
|
},
|
|
242
243
|
{
|
|
243
244
|
"name": "copilot_findFiles",
|
|
@@ -268,7 +269,7 @@
|
|
|
268
269
|
"name": "copilot_findTextInFiles",
|
|
269
270
|
"toolReferenceName": "textSearch",
|
|
270
271
|
"displayName": "%copilot.tools.findTextInFiles.name%",
|
|
271
|
-
"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 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.",
|
|
272
|
+
"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.",
|
|
272
273
|
"tags": [
|
|
273
274
|
"vscode_codesearch"
|
|
274
275
|
],
|
|
@@ -290,6 +291,10 @@
|
|
|
290
291
|
"maxResults": {
|
|
291
292
|
"type": "number",
|
|
292
293
|
"description": "The maximum number of results to return. Do not use this unless necessary, it can slow things down. By default, only some matches are returned. If you use this and don't see what you're looking for, you can try again with a more specific query or a larger maxResults."
|
|
294
|
+
},
|
|
295
|
+
"includeIgnoredFiles": {
|
|
296
|
+
"type": "boolean",
|
|
297
|
+
"description": "Whether to include files that would normally be ignored according to .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."
|
|
293
298
|
}
|
|
294
299
|
},
|
|
295
300
|
"required": [
|
|
@@ -325,7 +330,11 @@
|
|
|
325
330
|
{
|
|
326
331
|
"name": "copilot_readFile",
|
|
327
332
|
"toolReferenceName": "readFile",
|
|
333
|
+
"legacyToolReferenceFullNames": [
|
|
334
|
+
"search/readFile"
|
|
335
|
+
],
|
|
328
336
|
"displayName": "%copilot.tools.readFile.name%",
|
|
337
|
+
"userDescription": "Read the contents of a file. You 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.",
|
|
329
338
|
"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.",
|
|
330
339
|
"tags": [
|
|
331
340
|
"vscode_codesearch"
|
|
@@ -378,7 +387,9 @@
|
|
|
378
387
|
"name": "copilot_getErrors",
|
|
379
388
|
"displayName": "%copilot.tools.getErrors.name%",
|
|
380
389
|
"toolReferenceName": "problems",
|
|
381
|
-
"
|
|
390
|
+
"legacyToolReferenceFullNames": [
|
|
391
|
+
"problems"
|
|
392
|
+
],
|
|
382
393
|
"icon": "$(error)",
|
|
383
394
|
"userDescription": "%copilot.tools.errors.description%",
|
|
384
395
|
"modelDescription": "Get any compile or lint errors in a specific file or across all files. If the user mentions errors or problems in a file, they may be referring to these. Use the tool to see the same errors that the user is seeing. If the user asks you to analyze all errors, or does not specify a file, use this tool to gather errors for all files. Also use this tool after editing a file to validate the change.",
|
|
@@ -406,8 +417,10 @@
|
|
|
406
417
|
"name": "copilot_getChangedFiles",
|
|
407
418
|
"displayName": "%copilot.tools.getChangedFiles.name%",
|
|
408
419
|
"toolReferenceName": "changes",
|
|
420
|
+
"legacyToolReferenceFullNames": [
|
|
421
|
+
"changes"
|
|
422
|
+
],
|
|
409
423
|
"icon": "$(diff)",
|
|
410
|
-
"canBeReferencedInPrompt": true,
|
|
411
424
|
"userDescription": "%copilot.tools.changes.description%",
|
|
412
425
|
"modelDescription": "Get git diffs of current file changes in a git repository. Don't forget that you can use run_in_terminal to run git commands in a terminal as well.",
|
|
413
426
|
"tags": [
|
|
@@ -438,6 +451,9 @@
|
|
|
438
451
|
{
|
|
439
452
|
"name": "copilot_testFailure",
|
|
440
453
|
"toolReferenceName": "testFailure",
|
|
454
|
+
"legacyToolReferenceFullNames": [
|
|
455
|
+
"testFailure"
|
|
456
|
+
],
|
|
441
457
|
"displayName": "%copilot.tools.testFailure.name%",
|
|
442
458
|
"icon": "$(beaker)",
|
|
443
459
|
"userDescription": "%copilot.testFailure.tool.description%",
|
|
@@ -449,8 +465,7 @@
|
|
|
449
465
|
"enable_other_tool_copilot_listDirectory",
|
|
450
466
|
"enable_other_tool_copilot_findFiles",
|
|
451
467
|
"enable_other_tool_copilot_runTests"
|
|
452
|
-
]
|
|
453
|
-
"canBeReferencedInPrompt": true
|
|
468
|
+
]
|
|
454
469
|
},
|
|
455
470
|
{
|
|
456
471
|
"name": "copilot_updateUserPreferences",
|
|
@@ -480,6 +495,9 @@
|
|
|
480
495
|
"name": "copilot_createNewWorkspace",
|
|
481
496
|
"displayName": "%github.copilot.tools.createNewWorkspace.name%",
|
|
482
497
|
"toolReferenceName": "newWorkspace",
|
|
498
|
+
"legacyToolReferenceFullNames": [
|
|
499
|
+
"new/newWorkspace"
|
|
500
|
+
],
|
|
483
501
|
"icon": "$(new-folder)",
|
|
484
502
|
"userDescription": "%github.copilot.tools.createNewWorkspace.userDescription%",
|
|
485
503
|
"when": "config.github.copilot.chat.newWorkspaceCreation.enabled",
|
|
@@ -506,6 +524,9 @@
|
|
|
506
524
|
"displayName": "%github.copilot.tools.getProjectSetupInfo.name%",
|
|
507
525
|
"when": "config.github.copilot.chat.newWorkspaceCreation.enabled",
|
|
508
526
|
"toolReferenceName": "getProjectSetupInfo",
|
|
527
|
+
"legacyToolReferenceFullNames": [
|
|
528
|
+
"new/getProjectSetupInfo"
|
|
529
|
+
],
|
|
509
530
|
"modelDescription": "Do not call this tool without first calling the tool to create a workspace. This tool provides a project setup information for a Visual Studio Code workspace based on a project type and programming language.",
|
|
510
531
|
"inputSchema": {
|
|
511
532
|
"type": "object",
|
|
@@ -526,6 +547,9 @@
|
|
|
526
547
|
"displayName": "Install Extension in VS Code",
|
|
527
548
|
"when": "config.github.copilot.chat.newWorkspaceCreation.enabled",
|
|
528
549
|
"toolReferenceName": "installExtension",
|
|
550
|
+
"legacyToolReferenceFullNames": [
|
|
551
|
+
"new/installExtension"
|
|
552
|
+
],
|
|
529
553
|
"modelDescription": "Install an extension in VS Code. Use this tool to install an extension in Visual Studio Code as part of a new workspace creation process only.",
|
|
530
554
|
"inputSchema": {
|
|
531
555
|
"type": "object",
|
|
@@ -550,7 +574,10 @@
|
|
|
550
574
|
"name": "copilot_runVscodeCommand",
|
|
551
575
|
"displayName": "Run VS Code Command",
|
|
552
576
|
"when": "config.github.copilot.chat.newWorkspaceCreation.enabled",
|
|
553
|
-
"toolReferenceName": "
|
|
577
|
+
"toolReferenceName": "runCommand",
|
|
578
|
+
"legacyToolReferenceFullNames": [
|
|
579
|
+
"new/runVscodeCommand"
|
|
580
|
+
],
|
|
554
581
|
"modelDescription": "Run a command in VS Code. Use this tool to run a command in Visual Studio Code as part of a new workspace creation process only.",
|
|
555
582
|
"inputSchema": {
|
|
556
583
|
"type": "object",
|
|
@@ -582,7 +609,10 @@
|
|
|
582
609
|
"name": "copilot_createNewJupyterNotebook",
|
|
583
610
|
"displayName": "Create New Jupyter Notebook",
|
|
584
611
|
"icon": "$(notebook)",
|
|
585
|
-
"toolReferenceName": "
|
|
612
|
+
"toolReferenceName": "createJupyterNotebook",
|
|
613
|
+
"legacyToolReferenceFullNames": [
|
|
614
|
+
"newJupyterNotebook"
|
|
615
|
+
],
|
|
586
616
|
"modelDescription": "Generates a new Jupyter Notebook (.ipynb) in VS Code. Jupyter Notebooks are interactive documents commonly used for data exploration, analysis, visualization, and combining code with narrative text. Prefer creating plain Python files or similar unless a user explicitly requests creating a new Jupyter Notebook or already has a Jupyter Notebook opened or exists in the workspace.",
|
|
587
617
|
"userDescription": "%copilot.tools.newJupyterNotebook.description%",
|
|
588
618
|
"inputSchema": {
|
|
@@ -631,6 +661,9 @@
|
|
|
631
661
|
{
|
|
632
662
|
"name": "copilot_createFile",
|
|
633
663
|
"toolReferenceName": "createFile",
|
|
664
|
+
"legacyToolReferenceFullNames": [
|
|
665
|
+
"createFile"
|
|
666
|
+
],
|
|
634
667
|
"displayName": "%copilot.tools.createFile.name%",
|
|
635
668
|
"userDescription": "%copilot.tools.createFile.description%",
|
|
636
669
|
"modelDescription": "This is a tool for creating a new file in the workspace. The file will be created with the specified content. The directory will be created if it does not already exist. Never use this tool to edit a file that already exists.",
|
|
@@ -656,6 +689,9 @@
|
|
|
656
689
|
{
|
|
657
690
|
"name": "copilot_createDirectory",
|
|
658
691
|
"toolReferenceName": "createDirectory",
|
|
692
|
+
"legacyToolReferenceFullNames": [
|
|
693
|
+
"createDirectory"
|
|
694
|
+
],
|
|
659
695
|
"displayName": "%copilot.tools.createDirectory.name%",
|
|
660
696
|
"userDescription": "%copilot.tools.createDirectory.description%",
|
|
661
697
|
"modelDescription": "Create a new directory structure in the workspace. Will recursively create all directories in the path, like mkdir -p. You do not need to use this tool before using create_file, that tool will automatically create the needed directories.",
|
|
@@ -679,7 +715,9 @@
|
|
|
679
715
|
"modelDescription": "Preview a website or open a URL in the editor's Simple Browser. Useful for quickly viewing locally hosted websites, demos, or resources without leaving the coding environment.",
|
|
680
716
|
"userDescription": "%copilot.tools.openSimpleBrowser.description%",
|
|
681
717
|
"toolReferenceName": "openSimpleBrowser",
|
|
682
|
-
"
|
|
718
|
+
"legacyToolReferenceFullNames": [
|
|
719
|
+
"openSimpleBrowser"
|
|
720
|
+
],
|
|
683
721
|
"tags": [],
|
|
684
722
|
"inputSchema": {
|
|
685
723
|
"type": "object",
|
|
@@ -778,7 +816,9 @@
|
|
|
778
816
|
{
|
|
779
817
|
"name": "copilot_editNotebook",
|
|
780
818
|
"toolReferenceName": "editNotebook",
|
|
781
|
-
"
|
|
819
|
+
"icon": "$(pencil)",
|
|
820
|
+
"displayName": "%copilot.tools.editNotebook.description%",
|
|
821
|
+
"userDescription": "Edit a notebook file in the workspace",
|
|
782
822
|
"modelDescription": "This is a tool for editing an existing Notebook file in the workspace. Generate the \"explanation\" property first.\nThe system is very smart and can understand how to apply your edits to the notebooks.\nWhen updating the content of an existing cell, ensure newCode preserves whitespace and indentation exactly and does NOT include any code markers such as (...existing code...).",
|
|
783
823
|
"tags": [
|
|
784
824
|
"enable_other_tool_copilot_getNotebookSummary"
|
|
@@ -833,7 +873,10 @@
|
|
|
833
873
|
{
|
|
834
874
|
"name": "copilot_runNotebookCell",
|
|
835
875
|
"displayName": "%copilot.tools.runNotebookCell.name%",
|
|
836
|
-
"toolReferenceName": "
|
|
876
|
+
"toolReferenceName": "runNotebookCell",
|
|
877
|
+
"legacyToolReferenceFullNames": [
|
|
878
|
+
"runNotebooks/runCell"
|
|
879
|
+
],
|
|
837
880
|
"icon": "$(play)",
|
|
838
881
|
"modelDescription": "This is a tool for running a code cell in a notebook file directly in the notebook editor. The output from the execution will be returned. Code cells should be run as they are added or edited when working through a problem to bring the kernel state up to date and ensure the code executes successfully. Code cells are ready to run and don't require any pre-processing. If asked to run the first cell in a notebook, you should run the first code cell since markdown cells cannot be executed. NOTE: Avoid executing Markdown cells or providing Markdown cell IDs, as Markdown cells cannot be executed.",
|
|
839
882
|
"userDescription": "%copilot.tools.runNotebookCell.description%",
|
|
@@ -869,6 +912,9 @@
|
|
|
869
912
|
{
|
|
870
913
|
"name": "copilot_getNotebookSummary",
|
|
871
914
|
"toolReferenceName": "getNotebookSummary",
|
|
915
|
+
"legacyToolReferenceFullNames": [
|
|
916
|
+
"runNotebooks/getNotebookSummary"
|
|
917
|
+
],
|
|
872
918
|
"displayName": "Get the structure of a notebook",
|
|
873
919
|
"modelDescription": "This is a tool returns the list of the Notebook cells along with the id, cell types, line ranges, language, execution information and output mime types for each cell. This is useful to get Cell Ids when executing a notebook or determine what cells have been executed and what order, or what cells have outputs. If required to read contents of a cell use this to determine the line range of a cells, and then use read_file tool to read a specific line range. Requery this tool if the contents of the notebook change.",
|
|
874
920
|
"tags": [],
|
|
@@ -889,6 +935,9 @@
|
|
|
889
935
|
"name": "copilot_readNotebookCellOutput",
|
|
890
936
|
"displayName": "%copilot.tools.getNotebookCellOutput.name%",
|
|
891
937
|
"toolReferenceName": "readNotebookCellOutput",
|
|
938
|
+
"legacyToolReferenceFullNames": [
|
|
939
|
+
"runNotebooks/readNotebookCellOutput"
|
|
940
|
+
],
|
|
892
941
|
"icon": "$(notebook-render-output)",
|
|
893
942
|
"modelDescription": "This tool will retrieve the output for a notebook cell from its most recent execution or restored from disk. The cell may have output even when it has not been run in the current kernel session. This tool has a higher token limit for output length than the runNotebookCell tool.",
|
|
894
943
|
"userDescription": "%copilot.tools.getNotebookCellOutput.description%",
|
|
@@ -916,8 +965,10 @@
|
|
|
916
965
|
"name": "copilot_fetchWebPage",
|
|
917
966
|
"displayName": "%copilot.tools.fetchWebPage.name%",
|
|
918
967
|
"toolReferenceName": "fetch",
|
|
968
|
+
"legacyToolReferenceFullNames": [
|
|
969
|
+
"fetch"
|
|
970
|
+
],
|
|
919
971
|
"when": "!isWeb",
|
|
920
|
-
"canBeReferencedInPrompt": true,
|
|
921
972
|
"icon": "$(globe)",
|
|
922
973
|
"userDescription": "%copilot.tools.fetchWebPage.description%",
|
|
923
974
|
"modelDescription": "Fetches the main content from a web page. This tool is useful for summarizing or analyzing the content of a webpage. You should use this tool when you think the user is looking for information from a specific webpage.",
|
|
@@ -1003,11 +1054,13 @@
|
|
|
1003
1054
|
{
|
|
1004
1055
|
"name": "copilot_githubRepo",
|
|
1005
1056
|
"toolReferenceName": "githubRepo",
|
|
1057
|
+
"legacyToolReferenceFullNames": [
|
|
1058
|
+
"githubRepo"
|
|
1059
|
+
],
|
|
1006
1060
|
"displayName": "%github.copilot.tools.githubRepo.name%",
|
|
1007
1061
|
"modelDescription": "Searches a GitHub repository for relevant source code snippets. Only use this tool if the user is very clearly asking for code snippets from a specific GitHub repository. Do not use this tool for Github repos that the user has open in their workspace.",
|
|
1008
1062
|
"userDescription": "%github.copilot.tools.githubRepo.userDescription%",
|
|
1009
1063
|
"icon": "$(repo)",
|
|
1010
|
-
"canBeReferencedInPrompt": true,
|
|
1011
1064
|
"inputSchema": {
|
|
1012
1065
|
"type": "object",
|
|
1013
1066
|
"properties": {
|
|
@@ -1127,7 +1180,10 @@
|
|
|
1127
1180
|
"userDescription": "Edit files",
|
|
1128
1181
|
"icon": "$(pencil)",
|
|
1129
1182
|
"displayName": "Edit Files",
|
|
1130
|
-
"toolReferenceName": "editFiles"
|
|
1183
|
+
"toolReferenceName": "editFiles",
|
|
1184
|
+
"legacyToolReferenceFullNames": [
|
|
1185
|
+
"editFiles"
|
|
1186
|
+
]
|
|
1131
1187
|
}
|
|
1132
1188
|
],
|
|
1133
1189
|
"languageModelToolSets": [
|
|
@@ -1136,20 +1192,20 @@
|
|
|
1136
1192
|
"description": "%copilot.toolSet.editing.description%",
|
|
1137
1193
|
"icon": "$(pencil)",
|
|
1138
1194
|
"tools": [
|
|
1139
|
-
"createFile",
|
|
1140
1195
|
"createDirectory",
|
|
1141
|
-
"
|
|
1142
|
-
"
|
|
1143
|
-
"editFiles"
|
|
1196
|
+
"createFile",
|
|
1197
|
+
"createJupyterNotebook",
|
|
1198
|
+
"editFiles",
|
|
1199
|
+
"editNotebook"
|
|
1144
1200
|
]
|
|
1145
1201
|
},
|
|
1146
1202
|
{
|
|
1147
|
-
"name": "
|
|
1148
|
-
"description": "%copilot.toolSet.
|
|
1149
|
-
"icon": "$(
|
|
1203
|
+
"name": "read",
|
|
1204
|
+
"description": "%copilot.toolSet.read.description%",
|
|
1205
|
+
"icon": "$(eye)",
|
|
1150
1206
|
"tools": [
|
|
1151
|
-
"runCell",
|
|
1152
1207
|
"getNotebookSummary",
|
|
1208
|
+
"readFile",
|
|
1153
1209
|
"readNotebookCellOutput"
|
|
1154
1210
|
]
|
|
1155
1211
|
},
|
|
@@ -1158,23 +1214,43 @@
|
|
|
1158
1214
|
"description": "%copilot.toolSet.search.description%",
|
|
1159
1215
|
"icon": "$(search)",
|
|
1160
1216
|
"tools": [
|
|
1217
|
+
"changes",
|
|
1218
|
+
"codebase",
|
|
1161
1219
|
"fileSearch",
|
|
1162
|
-
"textSearch",
|
|
1163
1220
|
"listDirectory",
|
|
1164
|
-
"
|
|
1165
|
-
"
|
|
1166
|
-
"
|
|
1221
|
+
"problems",
|
|
1222
|
+
"searchResults",
|
|
1223
|
+
"textSearch",
|
|
1224
|
+
"usages"
|
|
1167
1225
|
]
|
|
1168
1226
|
},
|
|
1169
1227
|
{
|
|
1170
|
-
"name": "
|
|
1171
|
-
"description": "
|
|
1172
|
-
"
|
|
1228
|
+
"name": "launch",
|
|
1229
|
+
"description": "",
|
|
1230
|
+
"tools": [
|
|
1231
|
+
"runNotebookCell",
|
|
1232
|
+
"testFailure"
|
|
1233
|
+
]
|
|
1234
|
+
},
|
|
1235
|
+
{
|
|
1236
|
+
"name": "vscode",
|
|
1237
|
+
"description": "",
|
|
1173
1238
|
"tools": [
|
|
1174
|
-
"newWorkspace",
|
|
1175
|
-
"runVscodeCommand",
|
|
1176
1239
|
"getProjectSetupInfo",
|
|
1177
|
-
"installExtension"
|
|
1240
|
+
"installExtension",
|
|
1241
|
+
"newWorkspace",
|
|
1242
|
+
"openSimpleBrowser",
|
|
1243
|
+
"runCommand",
|
|
1244
|
+
"vscodeAPI"
|
|
1245
|
+
]
|
|
1246
|
+
},
|
|
1247
|
+
{
|
|
1248
|
+
"name": "web",
|
|
1249
|
+
"description": "%copilot.toolSet.web.description%",
|
|
1250
|
+
"icon": "$(globe)",
|
|
1251
|
+
"tools": [
|
|
1252
|
+
"fetch",
|
|
1253
|
+
"githubRepo"
|
|
1178
1254
|
]
|
|
1179
1255
|
}
|
|
1180
1256
|
],
|
|
@@ -1235,9 +1311,80 @@
|
|
|
1235
1311
|
"fullName": "GitHub Copilot",
|
|
1236
1312
|
"description": "%copilot.edits.description%",
|
|
1237
1313
|
"isDefault": true,
|
|
1238
|
-
"when": "config.inlineChat.enableV2",
|
|
1239
1314
|
"locations": [
|
|
1240
1315
|
"editor"
|
|
1316
|
+
],
|
|
1317
|
+
"commands": [
|
|
1318
|
+
{
|
|
1319
|
+
"name": "generate",
|
|
1320
|
+
"when": "!config.chat.edits2.enabled",
|
|
1321
|
+
"description": "%copilot.workspace.generate.description%",
|
|
1322
|
+
"disambiguation": [
|
|
1323
|
+
{
|
|
1324
|
+
"category": "generate",
|
|
1325
|
+
"description": "Generate new code",
|
|
1326
|
+
"examples": [
|
|
1327
|
+
"Add a function that returns the sum of two numbers"
|
|
1328
|
+
]
|
|
1329
|
+
}
|
|
1330
|
+
]
|
|
1331
|
+
},
|
|
1332
|
+
{
|
|
1333
|
+
"name": "edit",
|
|
1334
|
+
"when": "!config.chat.edits2.enabled",
|
|
1335
|
+
"description": "%copilot.workspace.edit.inline.description%",
|
|
1336
|
+
"disambiguation": [
|
|
1337
|
+
{
|
|
1338
|
+
"category": "edit",
|
|
1339
|
+
"description": "Make changes to existing code",
|
|
1340
|
+
"examples": [
|
|
1341
|
+
"Change this method to use async/await"
|
|
1342
|
+
]
|
|
1343
|
+
}
|
|
1344
|
+
]
|
|
1345
|
+
},
|
|
1346
|
+
{
|
|
1347
|
+
"name": "doc",
|
|
1348
|
+
"when": "!config.chat.edits2.enabled",
|
|
1349
|
+
"description": "%copilot.workspace.doc.description%",
|
|
1350
|
+
"disambiguation": [
|
|
1351
|
+
{
|
|
1352
|
+
"category": "doc",
|
|
1353
|
+
"description": "Add documentation comment for this symbol",
|
|
1354
|
+
"examples": [
|
|
1355
|
+
"Add jsdoc to this method"
|
|
1356
|
+
]
|
|
1357
|
+
}
|
|
1358
|
+
]
|
|
1359
|
+
},
|
|
1360
|
+
{
|
|
1361
|
+
"name": "fix",
|
|
1362
|
+
"when": "!config.chat.edits2.enabled",
|
|
1363
|
+
"description": "%copilot.workspace.fix.description%",
|
|
1364
|
+
"disambiguation": [
|
|
1365
|
+
{
|
|
1366
|
+
"category": "fix",
|
|
1367
|
+
"description": "Propose a fix for the problems in the selected code",
|
|
1368
|
+
"examples": [
|
|
1369
|
+
"There is a problem in this code. Rewrite the code to show it with the bug fixed."
|
|
1370
|
+
]
|
|
1371
|
+
}
|
|
1372
|
+
]
|
|
1373
|
+
},
|
|
1374
|
+
{
|
|
1375
|
+
"name": "tests",
|
|
1376
|
+
"when": "!config.chat.edits2.enabled",
|
|
1377
|
+
"description": "%copilot.workspace.tests.description%",
|
|
1378
|
+
"disambiguation": [
|
|
1379
|
+
{
|
|
1380
|
+
"category": "tests",
|
|
1381
|
+
"description": "Generate unit tests for the selected code. The user does not want to fix their existing tests.",
|
|
1382
|
+
"examples": [
|
|
1383
|
+
"Write a set of detailed unit test functions for the code above."
|
|
1384
|
+
]
|
|
1385
|
+
}
|
|
1386
|
+
]
|
|
1387
|
+
}
|
|
1241
1388
|
]
|
|
1242
1389
|
},
|
|
1243
1390
|
{
|
|
@@ -1289,7 +1436,7 @@
|
|
|
1289
1436
|
"locations": [
|
|
1290
1437
|
"editor"
|
|
1291
1438
|
],
|
|
1292
|
-
"when": "!config.inlineChat.enableV2",
|
|
1439
|
+
"when": "never && !config.inlineChat.enableV2",
|
|
1293
1440
|
"disambiguation": [
|
|
1294
1441
|
{
|
|
1295
1442
|
"category": "unknown",
|
|
@@ -2265,6 +2412,10 @@
|
|
|
2265
2412
|
"title": "%github.copilot.command.refreshAgentSessions%",
|
|
2266
2413
|
"icon": "$(refresh)"
|
|
2267
2414
|
},
|
|
2415
|
+
{
|
|
2416
|
+
"command": "github.copilot.cloud.resetWorkspaceConfirmations",
|
|
2417
|
+
"title": "%github.copilot.command.resetCloudAgentWorkspaceConfirmations%"
|
|
2418
|
+
},
|
|
2268
2419
|
{
|
|
2269
2420
|
"command": "github.copilot.cloud.sessions.openInBrowser",
|
|
2270
2421
|
"title": "%github.copilot.command.openCopilotAgentSessionsInBrowser%",
|
|
@@ -2449,6 +2600,11 @@
|
|
|
2449
2600
|
"default": true,
|
|
2450
2601
|
"description": "%github.copilot.config.agent.currentEditorContext.enabled%"
|
|
2451
2602
|
},
|
|
2603
|
+
"github.copilot.chat.agent.delegate.autoCommitAndPush": {
|
|
2604
|
+
"type": "boolean",
|
|
2605
|
+
"default": false,
|
|
2606
|
+
"markdownDescription": "%github.copilot.config.agent.delegate.autoCommitAndPush%"
|
|
2607
|
+
},
|
|
2452
2608
|
"github.copilot.enable": {
|
|
2453
2609
|
"type": "object",
|
|
2454
2610
|
"scope": "window",
|
|
@@ -2913,7 +3069,7 @@
|
|
|
2913
3069
|
"fillHalf",
|
|
2914
3070
|
"fill"
|
|
2915
3071
|
],
|
|
2916
|
-
"default": "
|
|
3072
|
+
"default": "double",
|
|
2917
3073
|
"scope": "resource",
|
|
2918
3074
|
"tags": [
|
|
2919
3075
|
"experimental",
|
|
@@ -3164,6 +3320,15 @@
|
|
|
3164
3320
|
"onExp"
|
|
3165
3321
|
]
|
|
3166
3322
|
},
|
|
3323
|
+
"github.copilot.chat.useMessagesApi": {
|
|
3324
|
+
"type": "boolean",
|
|
3325
|
+
"default": false,
|
|
3326
|
+
"markdownDescription": "%github.copilot.config.useMessagesApi%",
|
|
3327
|
+
"tags": [
|
|
3328
|
+
"experimental",
|
|
3329
|
+
"onExp"
|
|
3330
|
+
]
|
|
3331
|
+
},
|
|
3167
3332
|
"github.copilot.chat.responsesApiReasoningEffort": {
|
|
3168
3333
|
"type": "string",
|
|
3169
3334
|
"default": "default",
|
|
@@ -5010,9 +5175,9 @@
|
|
|
5010
5175
|
"eslint-plugin-jsdoc": "^51.3.4",
|
|
5011
5176
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
5012
5177
|
"fastq": "^1.19.1",
|
|
5013
|
-
"glob": "^11.0
|
|
5178
|
+
"glob": "^11.1.0",
|
|
5014
5179
|
"husky": "^9.1.7",
|
|
5015
|
-
"js-yaml": "^4.1.
|
|
5180
|
+
"js-yaml": "^4.1.1",
|
|
5016
5181
|
"keyv": "^5.3.2",
|
|
5017
5182
|
"lint-staged": "15.2.9",
|
|
5018
5183
|
"minimist": "^1.2.8",
|
|
@@ -5054,11 +5219,11 @@
|
|
|
5054
5219
|
"dependencies": {
|
|
5055
5220
|
"@anthropic-ai/claude-code": "^1.0.120",
|
|
5056
5221
|
"@anthropic-ai/sdk": "^0.68.0",
|
|
5057
|
-
"@github/copilot": "^0.0.
|
|
5222
|
+
"@github/copilot": "^0.0.358",
|
|
5058
5223
|
"@google/genai": "^1.22.0",
|
|
5059
5224
|
"@humanwhocodes/gitignore-to-minimatch": "1.0.2",
|
|
5060
5225
|
"@microsoft/tiktokenizer": "^1.0.10",
|
|
5061
|
-
"@vscode/copilot-api": "^0.2.
|
|
5226
|
+
"@vscode/copilot-api": "^0.2.2",
|
|
5062
5227
|
"@vscode/extension-telemetry": "^1.2.0",
|
|
5063
5228
|
"@vscode/l10n": "^0.0.18",
|
|
5064
5229
|
"@vscode/prompt-tsx": "^0.4.0-alpha.5",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vscode/chat-lib",
|
|
3
|
-
"version": "0.1.1-
|
|
3
|
+
"version": "0.1.1-6",
|
|
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",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@microsoft/tiktokenizer": "^1.0.10",
|
|
18
|
-
"@vscode/copilot-api": "^0.2.
|
|
18
|
+
"@vscode/copilot-api": "^0.2.2",
|
|
19
19
|
"@vscode/l10n": "^0.0.18",
|
|
20
20
|
"@vscode/prompt-tsx": "^0.4.0-alpha.5",
|
|
21
21
|
"jsonc-parser": "^3.3.1",
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"yaml": "^2.8.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
+
"@anthropic-ai/sdk": "^0.68.0",
|
|
27
28
|
"@octokit/types": "^14.1.0",
|
|
28
29
|
"@types/node": "^22.16.3",
|
|
29
30
|
"@types/vscode": "^1.102.0",
|