@vscode/chat-lib 0.0.5-9 → 0.1.1-0
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/inlineEdits/node/nextEditProvider.js +1 -1
- package/dist/src/_internal/extension/inlineEdits/node/nextEditProvider.js.map +1 -1
- package/dist/src/_internal/extension/prompt/node/chatMLFetcher.d.ts +23 -6
- package/dist/src/_internal/extension/prompt/node/chatMLFetcher.d.ts.map +1 -1
- package/dist/src/_internal/extension/prompt/node/chatMLFetcher.js +426 -177
- package/dist/src/_internal/extension/prompt/node/chatMLFetcher.js.map +1 -1
- package/dist/src/_internal/extension/prompt/node/chatMLFetcherTelemetry.d.ts +42 -0
- package/dist/src/_internal/extension/prompt/node/chatMLFetcherTelemetry.d.ts.map +1 -0
- package/dist/src/_internal/extension/prompt/node/chatMLFetcherTelemetry.js +171 -0
- package/dist/src/_internal/extension/prompt/node/chatMLFetcherTelemetry.js.map +1 -0
- package/dist/src/_internal/extension/xtab/common/promptCrafting.d.ts +4 -6
- package/dist/src/_internal/extension/xtab/common/promptCrafting.d.ts.map +1 -1
- package/dist/src/_internal/extension/xtab/common/promptCrafting.js +6 -4
- package/dist/src/_internal/extension/xtab/common/promptCrafting.js.map +1 -1
- package/dist/src/_internal/extension/xtab/common/tags.d.ts +13 -0
- package/dist/src/_internal/extension/xtab/common/tags.d.ts.map +1 -1
- package/dist/src/_internal/extension/xtab/common/tags.js +15 -1
- package/dist/src/_internal/extension/xtab/common/tags.js.map +1 -1
- package/dist/src/_internal/extension/xtab/node/xtabProvider.d.ts +0 -1
- package/dist/src/_internal/extension/xtab/node/xtabProvider.d.ts.map +1 -1
- package/dist/src/_internal/extension/xtab/node/xtabProvider.js +21 -57
- package/dist/src/_internal/extension/xtab/node/xtabProvider.js.map +1 -1
- package/dist/src/_internal/platform/chat/common/commonTypes.d.ts +16 -0
- package/dist/src/_internal/platform/chat/common/commonTypes.d.ts.map +1 -1
- package/dist/src/_internal/platform/configuration/common/configurationService.d.ts +19 -14
- package/dist/src/_internal/platform/configuration/common/configurationService.d.ts.map +1 -1
- package/dist/src/_internal/platform/configuration/common/configurationService.js +18 -18
- package/dist/src/_internal/platform/configuration/common/configurationService.js.map +1 -1
- package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.d.ts +11 -3
- package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.d.ts.map +1 -1
- package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.js +86 -9
- package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.js.map +1 -1
- package/dist/src/_internal/platform/endpoint/node/chatEndpoint.js +1 -1
- package/dist/src/_internal/platform/endpoint/node/chatEndpoint.js.map +1 -1
- package/dist/src/_internal/platform/endpoint/node/responsesApi.d.ts +2 -3
- package/dist/src/_internal/platform/endpoint/node/responsesApi.d.ts.map +1 -1
- package/dist/src/_internal/platform/endpoint/node/responsesApi.js +21 -5
- package/dist/src/_internal/platform/endpoint/node/responsesApi.js.map +1 -1
- package/dist/src/_internal/platform/github/common/githubAPI.d.ts +5 -6
- package/dist/src/_internal/platform/github/common/githubAPI.d.ts.map +1 -1
- package/dist/src/_internal/platform/github/common/githubAPI.js +11 -1
- package/dist/src/_internal/platform/github/common/githubAPI.js.map +1 -1
- package/dist/src/_internal/platform/github/common/githubService.d.ts +5 -17
- package/dist/src/_internal/platform/github/common/githubService.d.ts.map +1 -1
- package/dist/src/_internal/platform/github/common/githubService.js +1 -5
- package/dist/src/_internal/platform/github/common/githubService.js.map +1 -1
- package/dist/src/_internal/platform/inlineEdits/common/observableWorkspace.d.ts +0 -1
- package/dist/src/_internal/platform/inlineEdits/common/observableWorkspace.d.ts.map +1 -1
- package/dist/src/_internal/platform/inlineEdits/common/observableWorkspace.js +1 -1
- package/dist/src/_internal/platform/inlineEdits/common/observableWorkspace.js.map +1 -1
- package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.d.ts +23 -11
- package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.d.ts.map +1 -1
- package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.js +51 -17
- package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.js.map +1 -1
- package/dist/src/_internal/platform/log/common/logService.d.ts +1 -0
- package/dist/src/_internal/platform/log/common/logService.d.ts.map +1 -1
- package/dist/src/_internal/platform/log/common/logService.js +20 -0
- package/dist/src/_internal/platform/log/common/logService.js.map +1 -1
- package/dist/src/_internal/platform/networking/common/fetch.d.ts +0 -1
- package/dist/src/_internal/platform/networking/common/fetch.d.ts.map +1 -1
- package/dist/src/_internal/platform/networking/common/fetch.js +0 -8
- package/dist/src/_internal/platform/networking/common/fetch.js.map +1 -1
- package/dist/src/_internal/platform/networking/common/networking.d.ts +3 -0
- 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/_internal/platform/openai/node/fetch.d.ts +2 -33
- package/dist/src/_internal/platform/openai/node/fetch.d.ts.map +1 -1
- package/dist/src/_internal/platform/openai/node/fetch.js +0 -401
- package/dist/src/_internal/platform/openai/node/fetch.js.map +1 -1
- package/dist/src/_internal/platform/requestLogger/node/requestLogger.d.ts +1 -2
- package/dist/src/_internal/platform/requestLogger/node/requestLogger.d.ts.map +1 -1
- package/dist/src/_internal/platform/requestLogger/node/requestLogger.js.map +1 -1
- package/dist/src/_internal/platform/workspaceRecorder/common/workspaceLog.d.ts +4 -0
- package/dist/src/_internal/platform/workspaceRecorder/common/workspaceLog.d.ts.map +1 -1
- package/dist/src/_internal/platform/workspaceRecorder/common/workspaceLog.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 +0 -1
- package/dist/src/_internal/util/common/test/shims/vscodeTypesShim.js.map +1 -1
- package/dist/src/_internal/vscodeTypes.d.ts +0 -1
- package/dist/src/_internal/vscodeTypes.d.ts.map +1 -1
- package/dist/src/_internal/vscodeTypes.js +1 -2
- package/dist/src/_internal/vscodeTypes.js.map +1 -1
- package/dist/src/main.d.ts +21 -0
- package/dist/src/main.d.ts.map +1 -1
- package/dist/src/main.js +55 -2
- package/dist/src/main.js.map +1 -1
- package/dist/src/package.json +173 -78
- package/package.json +2 -2
package/dist/src/package.json
CHANGED
|
@@ -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.
|
|
5
|
+
"version": "0.34.0",
|
|
6
6
|
"build": "1",
|
|
7
7
|
"internalAIKey": "1058ec22-3c95-4951-8443-f26c1f325911",
|
|
8
8
|
"completionsCoreVersion": "1.378.1799",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"icon": "assets/copilot.png",
|
|
24
24
|
"pricing": "Trial",
|
|
25
25
|
"engines": {
|
|
26
|
-
"vscode": "^1.
|
|
26
|
+
"vscode": "^1.107.0",
|
|
27
27
|
"npm": ">=9.0.0",
|
|
28
28
|
"node": ">=22.14.0"
|
|
29
29
|
},
|
|
@@ -163,32 +163,6 @@
|
|
|
163
163
|
]
|
|
164
164
|
}
|
|
165
165
|
},
|
|
166
|
-
{
|
|
167
|
-
"name": "runSubagent",
|
|
168
|
-
"toolReferenceName": "runSubagent",
|
|
169
|
-
"displayName": "%copilot.tools.runSubagent.name%",
|
|
170
|
-
"canBeReferencedInPrompt": true,
|
|
171
|
-
"userDescription": "%copilot.tools.runSubagent.description%",
|
|
172
|
-
"modelDescription": "Launch a new agent to handle complex, multi-step tasks autonomously. This tool is good at researching complex questions, searching for code, and executing multi-step tasks. When you are searching for a keyword or file and are not confident that you will find the right match in the first few tries, use this agent to perform the search for you.\n\n- Agents do not run async or in the background, you will wait for the agent's result.\n- When the agent is done, it will return a single message back to you. The result returned by the agent is not visible to the user. To show the user the result, you should send a text message back to the user with a concise summary of the result.\n - Each agent invocation is stateless. You will not be able to send additional messages to the agent, nor will the agent be able to communicate with you outside of its final report. Therefore, your prompt should contain a highly detailed task description for the agent to perform autonomously and you should specify exactly what information the agent should return back to you in its final and only message to you.\n - The agent's outputs should generally be trusted\n - Clearly tell the agent whether you expect it to write code or just to do research (search, file reads, web fetches, etc.), since it is not aware of the user's intent",
|
|
173
|
-
"tags": [],
|
|
174
|
-
"inputSchema": {
|
|
175
|
-
"type": "object",
|
|
176
|
-
"properties": {
|
|
177
|
-
"prompt": {
|
|
178
|
-
"type": "string",
|
|
179
|
-
"description": "A detailed description of the task for the agent to perform"
|
|
180
|
-
},
|
|
181
|
-
"description": {
|
|
182
|
-
"type": "string",
|
|
183
|
-
"description": "A short (3-5 word) description of the task"
|
|
184
|
-
}
|
|
185
|
-
},
|
|
186
|
-
"required": [
|
|
187
|
-
"prompt",
|
|
188
|
-
"description"
|
|
189
|
-
]
|
|
190
|
-
}
|
|
191
|
-
},
|
|
192
166
|
{
|
|
193
167
|
"name": "copilot_searchWorkspaceSymbols",
|
|
194
168
|
"toolReferenceName": "symbols",
|
|
@@ -1098,46 +1072,48 @@
|
|
|
1098
1072
|
"delete",
|
|
1099
1073
|
"rename"
|
|
1100
1074
|
],
|
|
1101
|
-
"description": "The memory operation to perform
|
|
1075
|
+
"description": "The memory operation to perform:\n- view: Show directory contents or file contents (optional line ranges)\n- create: Create or overwrite a file\n- str_replace: Replace text in a file\n- insert: Insert text at a specific line\n- delete: Delete a file or directory\n- rename: Rename or move a file or directory"
|
|
1102
1076
|
},
|
|
1103
1077
|
"path": {
|
|
1104
1078
|
"type": "string",
|
|
1105
|
-
"description": "
|
|
1079
|
+
"description": "Path to the memory file or directory. Must start with /memories.\n- For view: /memories or /memories/file.md\n- For create/str_replace/insert/delete: /memories/file.md\n- Not used for rename (use old_path/new_path instead)"
|
|
1106
1080
|
},
|
|
1107
1081
|
"view_range": {
|
|
1108
1082
|
"type": "array",
|
|
1109
1083
|
"items": {
|
|
1110
1084
|
"type": "number"
|
|
1111
1085
|
},
|
|
1112
|
-
"
|
|
1086
|
+
"minItems": 2,
|
|
1087
|
+
"maxItems": 2,
|
|
1088
|
+
"description": "[view only] Optional line range [start, end] to view specific lines. Example: [1, 10]"
|
|
1113
1089
|
},
|
|
1114
1090
|
"file_text": {
|
|
1115
1091
|
"type": "string",
|
|
1116
|
-
"description": "Content for create
|
|
1092
|
+
"description": "[create only] Content to write to the file. Required for create command."
|
|
1117
1093
|
},
|
|
1118
1094
|
"old_str": {
|
|
1119
1095
|
"type": "string",
|
|
1120
|
-
"description": "
|
|
1096
|
+
"description": "[str_replace only] The exact literal text to find and replace. Must be unique in the file. Required for str_replace command."
|
|
1121
1097
|
},
|
|
1122
1098
|
"new_str": {
|
|
1123
1099
|
"type": "string",
|
|
1124
|
-
"description": "
|
|
1100
|
+
"description": "[str_replace only] The exact literal text to replace old_str with. Can be empty string. Required for str_replace command."
|
|
1125
1101
|
},
|
|
1126
1102
|
"insert_line": {
|
|
1127
1103
|
"type": "number",
|
|
1128
|
-
"description": "Line number for insert
|
|
1104
|
+
"description": "[insert only] Line number at which to insert text (0-indexed, 0 = before first line). Required for insert command."
|
|
1129
1105
|
},
|
|
1130
1106
|
"insert_text": {
|
|
1131
1107
|
"type": "string",
|
|
1132
|
-
"description": "Text to insert at specified line for insert
|
|
1108
|
+
"description": "[insert only] Text to insert at the specified line. Required for insert command."
|
|
1133
1109
|
},
|
|
1134
1110
|
"old_path": {
|
|
1135
1111
|
"type": "string",
|
|
1136
|
-
"description": "
|
|
1112
|
+
"description": "[rename only] Current path of the file or directory. Must start with /memories. Required for rename command."
|
|
1137
1113
|
},
|
|
1138
1114
|
"new_path": {
|
|
1139
1115
|
"type": "string",
|
|
1140
|
-
"description": "
|
|
1116
|
+
"description": "[rename only] New path for the file or directory. Must start with /memories. Required for rename command."
|
|
1141
1117
|
}
|
|
1142
1118
|
},
|
|
1143
1119
|
"required": [
|
|
@@ -1738,6 +1714,11 @@
|
|
|
1738
1714
|
"when": "true",
|
|
1739
1715
|
"contents": "%github.copilot.viewsWelcome.agentsPlaceholder%"
|
|
1740
1716
|
},
|
|
1717
|
+
{
|
|
1718
|
+
"view": "workbench.view.chat.sessions.copilot-cloud-agent",
|
|
1719
|
+
"when": "github.copilot.auth.missingPermissiveSession",
|
|
1720
|
+
"contents": "%github.copilot.viewsWelcome.noPermissiveToken.contents%"
|
|
1721
|
+
},
|
|
1741
1722
|
{
|
|
1742
1723
|
"view": "workbench.view.chat.sessions.copilot-cloud-agent",
|
|
1743
1724
|
"when": "workspaceFolderCount == 0",
|
|
@@ -1809,6 +1790,10 @@
|
|
|
1809
1790
|
}
|
|
1810
1791
|
],
|
|
1811
1792
|
"commands": [
|
|
1793
|
+
{
|
|
1794
|
+
"command": "github.copilot.chat.triggerPermissiveSignIn",
|
|
1795
|
+
"title": "%github.copilot.command.triggerPermissiveSignIn%"
|
|
1796
|
+
},
|
|
1812
1797
|
{
|
|
1813
1798
|
"command": "github.copilot.claude.sessions.refresh",
|
|
1814
1799
|
"title": "%github.copilot.command.refreshClaudeCodeSessions%",
|
|
@@ -1979,6 +1964,12 @@
|
|
|
1979
1964
|
"category": "Chat",
|
|
1980
1965
|
"enablement": "config.github.copilot.chat.enableUserPreferences"
|
|
1981
1966
|
},
|
|
1967
|
+
{
|
|
1968
|
+
"command": "github.copilot.chat.tools.memory.openFolder",
|
|
1969
|
+
"title": "%github.copilot.command.openMemoryFolder%",
|
|
1970
|
+
"category": "Chat",
|
|
1971
|
+
"enablement": "config.github.copilot.chat.tools.memory.enabled"
|
|
1972
|
+
},
|
|
1982
1973
|
{
|
|
1983
1974
|
"command": "github.copilot.chat.review.markUnhelpful",
|
|
1984
1975
|
"title": "%github.copilot.command.unhelpfulReviewSuggestion%",
|
|
@@ -2221,6 +2212,11 @@
|
|
|
2221
2212
|
"title": "Export All Prompt Logs as JSON...",
|
|
2222
2213
|
"icon": "$(export)"
|
|
2223
2214
|
},
|
|
2215
|
+
{
|
|
2216
|
+
"command": "github.copilot.chat.showAsChatSession",
|
|
2217
|
+
"title": "Show as chat session",
|
|
2218
|
+
"icon": "$(chat-sparkle)"
|
|
2219
|
+
},
|
|
2224
2220
|
{
|
|
2225
2221
|
"command": "github.copilot.debug.collectWorkspaceIndexDiagnostics",
|
|
2226
2222
|
"title": "%github.copilot.command.collectWorkspaceIndexDiagnostics%",
|
|
@@ -2292,21 +2288,33 @@
|
|
|
2292
2288
|
},
|
|
2293
2289
|
{
|
|
2294
2290
|
"command": "github.copilot.chat.completions.disable",
|
|
2295
|
-
"title": "Disable
|
|
2291
|
+
"title": "Disable Inline Suggestions",
|
|
2296
2292
|
"enablement": "github.copilot.extensionUnification.activated && github.copilot.activated && config.editor.inlineSuggest.enabled && github.copilot.completions.enabled",
|
|
2297
2293
|
"category": "GitHub Copilot"
|
|
2298
2294
|
},
|
|
2299
2295
|
{
|
|
2300
2296
|
"command": "github.copilot.chat.completions.enable",
|
|
2301
|
-
"title": "Enable
|
|
2297
|
+
"title": "Enable Inline Suggestions",
|
|
2302
2298
|
"enablement": "github.copilot.extensionUnification.activated && github.copilot.activated && !(config.editor.inlineSuggest.enabled && github.copilot.completions.enabled)",
|
|
2303
2299
|
"category": "GitHub Copilot"
|
|
2304
2300
|
},
|
|
2305
2301
|
{
|
|
2306
2302
|
"command": "github.copilot.chat.completions.toggle",
|
|
2307
|
-
"title": "Toggle (Enable/Disable)
|
|
2303
|
+
"title": "Toggle (Enable/Disable) Inline Suggestions",
|
|
2308
2304
|
"enablement": "github.copilot.extensionUnification.activated && github.copilot.activated",
|
|
2309
2305
|
"category": "GitHub Copilot"
|
|
2306
|
+
},
|
|
2307
|
+
{
|
|
2308
|
+
"command": "github.copilot.chat.openModelPicker",
|
|
2309
|
+
"title": "Change Completions Model",
|
|
2310
|
+
"category": "GitHub Copilot",
|
|
2311
|
+
"enablement": "github.copilot.extensionUnification.activated && !isWeb"
|
|
2312
|
+
},
|
|
2313
|
+
{
|
|
2314
|
+
"command": "github.copilot.chat.applyCopilotCLIAgentSessionChanges",
|
|
2315
|
+
"title": "%github.copilot.command.applyCopilotCLIAgentSessionChanges%",
|
|
2316
|
+
"icon": "$(git-stash-pop)",
|
|
2317
|
+
"category": "GitHub Copilot"
|
|
2310
2318
|
}
|
|
2311
2319
|
],
|
|
2312
2320
|
"configuration": [
|
|
@@ -2440,6 +2448,25 @@
|
|
|
2440
2448
|
"type": "boolean",
|
|
2441
2449
|
"default": true,
|
|
2442
2450
|
"description": "%github.copilot.config.agent.currentEditorContext.enabled%"
|
|
2451
|
+
},
|
|
2452
|
+
"github.copilot.enable": {
|
|
2453
|
+
"type": "object",
|
|
2454
|
+
"scope": "window",
|
|
2455
|
+
"default": {
|
|
2456
|
+
"*": true,
|
|
2457
|
+
"plaintext": false,
|
|
2458
|
+
"markdown": false,
|
|
2459
|
+
"scminput": false
|
|
2460
|
+
},
|
|
2461
|
+
"additionalProperties": {
|
|
2462
|
+
"type": "boolean"
|
|
2463
|
+
},
|
|
2464
|
+
"markdownDescription": "Enable or disable auto triggering of Copilot completions for specified [languages](https://code.visualstudio.com/docs/languages/identifiers). You can still trigger suggestions manually using `Alt + \\`"
|
|
2465
|
+
},
|
|
2466
|
+
"github.copilot.selectedCompletionModel": {
|
|
2467
|
+
"type": "string",
|
|
2468
|
+
"default": "",
|
|
2469
|
+
"markdownDescription": "The currently selected completion model ID. To select from a list of available models, use the __\"Change Completions Model\"__ command or open the model picker (from the Copilot menu in the VS Code title bar, select __\"Configure Code Completions\"__ then __\"Change Completions Model\"__. The value must be a valid model ID. An empty value indicates that the default model will be used."
|
|
2443
2470
|
}
|
|
2444
2471
|
}
|
|
2445
2472
|
},
|
|
@@ -2860,24 +2887,6 @@
|
|
|
2860
2887
|
"experimental"
|
|
2861
2888
|
]
|
|
2862
2889
|
},
|
|
2863
|
-
"github.copilot.chat.edits.temporalContext.enabled": {
|
|
2864
|
-
"type": "boolean",
|
|
2865
|
-
"default": false,
|
|
2866
|
-
"description": "%github.copilot.chat.edits.temporalContext.enabled%",
|
|
2867
|
-
"tags": [
|
|
2868
|
-
"experimental",
|
|
2869
|
-
"onExp"
|
|
2870
|
-
]
|
|
2871
|
-
},
|
|
2872
|
-
"github.copilot.chat.editor.temporalContext.enabled": {
|
|
2873
|
-
"type": "boolean",
|
|
2874
|
-
"default": false,
|
|
2875
|
-
"description": "%github.copilot.chat.editor.temporalContext.enabled%",
|
|
2876
|
-
"tags": [
|
|
2877
|
-
"experimental",
|
|
2878
|
-
"onExp"
|
|
2879
|
-
]
|
|
2880
|
-
},
|
|
2881
2890
|
"github.copilot.chat.setupTests.enabled": {
|
|
2882
2891
|
"type": "boolean",
|
|
2883
2892
|
"default": true,
|
|
@@ -3146,14 +3155,6 @@
|
|
|
3146
3155
|
],
|
|
3147
3156
|
"description": "%github.copilot.config.alternateGptPrompt.enabled%"
|
|
3148
3157
|
},
|
|
3149
|
-
"github.copilot.chat.gpt5AlternatePrompt": {
|
|
3150
|
-
"type": "string",
|
|
3151
|
-
"default": "default",
|
|
3152
|
-
"tags": [
|
|
3153
|
-
"experimental"
|
|
3154
|
-
],
|
|
3155
|
-
"description": "%github.copilot.config.gpt5AlternatePrompt%"
|
|
3156
|
-
},
|
|
3157
3158
|
"github.copilot.chat.useResponsesApi": {
|
|
3158
3159
|
"type": "boolean",
|
|
3159
3160
|
"default": true,
|
|
@@ -3223,6 +3224,67 @@
|
|
|
3223
3224
|
"onExp"
|
|
3224
3225
|
]
|
|
3225
3226
|
},
|
|
3227
|
+
"github.copilot.chat.anthropic.tools.websearch.maxUses": {
|
|
3228
|
+
"type": "number",
|
|
3229
|
+
"default": 5,
|
|
3230
|
+
"markdownDescription": "%github.copilot.config.anthropic.tools.websearch.maxUses%",
|
|
3231
|
+
"minimum": 1,
|
|
3232
|
+
"maximum": 20,
|
|
3233
|
+
"tags": [
|
|
3234
|
+
"experimental"
|
|
3235
|
+
]
|
|
3236
|
+
},
|
|
3237
|
+
"github.copilot.chat.anthropic.tools.websearch.allowedDomains": {
|
|
3238
|
+
"type": "array",
|
|
3239
|
+
"default": [],
|
|
3240
|
+
"markdownDescription": "%github.copilot.config.anthropic.tools.websearch.allowedDomains%",
|
|
3241
|
+
"items": {
|
|
3242
|
+
"type": "string"
|
|
3243
|
+
},
|
|
3244
|
+
"tags": [
|
|
3245
|
+
"experimental"
|
|
3246
|
+
]
|
|
3247
|
+
},
|
|
3248
|
+
"github.copilot.chat.anthropic.tools.websearch.blockedDomains": {
|
|
3249
|
+
"type": "array",
|
|
3250
|
+
"default": [],
|
|
3251
|
+
"markdownDescription": "%github.copilot.config.anthropic.tools.websearch.blockedDomains%",
|
|
3252
|
+
"items": {
|
|
3253
|
+
"type": "string"
|
|
3254
|
+
},
|
|
3255
|
+
"tags": [
|
|
3256
|
+
"experimental"
|
|
3257
|
+
]
|
|
3258
|
+
},
|
|
3259
|
+
"github.copilot.chat.anthropic.tools.websearch.userLocation": {
|
|
3260
|
+
"type": [
|
|
3261
|
+
"object",
|
|
3262
|
+
"null"
|
|
3263
|
+
],
|
|
3264
|
+
"default": null,
|
|
3265
|
+
"markdownDescription": "%github.copilot.config.anthropic.tools.websearch.userLocation%",
|
|
3266
|
+
"properties": {
|
|
3267
|
+
"city": {
|
|
3268
|
+
"type": "string",
|
|
3269
|
+
"description": "City name (e.g., 'San Francisco')"
|
|
3270
|
+
},
|
|
3271
|
+
"region": {
|
|
3272
|
+
"type": "string",
|
|
3273
|
+
"description": "State or region (e.g., 'California')"
|
|
3274
|
+
},
|
|
3275
|
+
"country": {
|
|
3276
|
+
"type": "string",
|
|
3277
|
+
"description": "ISO country code (e.g., 'US')"
|
|
3278
|
+
},
|
|
3279
|
+
"timezone": {
|
|
3280
|
+
"type": "string",
|
|
3281
|
+
"description": "IANA timezone identifier (e.g., 'America/Los_Angeles')"
|
|
3282
|
+
}
|
|
3283
|
+
},
|
|
3284
|
+
"tags": [
|
|
3285
|
+
"experimental"
|
|
3286
|
+
]
|
|
3287
|
+
},
|
|
3226
3288
|
"github.copilot.chat.tools.memory.enabled": {
|
|
3227
3289
|
"type": "boolean",
|
|
3228
3290
|
"default": false,
|
|
@@ -3309,6 +3371,23 @@
|
|
|
3309
3371
|
"command": "github.copilot.chat.replay",
|
|
3310
3372
|
"group": "navigation@9",
|
|
3311
3373
|
"when": "resourceLangId == chatReplay"
|
|
3374
|
+
},
|
|
3375
|
+
{
|
|
3376
|
+
"command": "github.copilot.chat.showAsChatSession",
|
|
3377
|
+
"group": "navigation@9",
|
|
3378
|
+
"when": "resourceLangId == chatReplay"
|
|
3379
|
+
},
|
|
3380
|
+
{
|
|
3381
|
+
"command": "github.copilot.chat.applyCopilotCLIAgentSessionChanges",
|
|
3382
|
+
"group": "navigation@1",
|
|
3383
|
+
"when": "resourceScheme == copilotcli-worktree-changes"
|
|
3384
|
+
}
|
|
3385
|
+
],
|
|
3386
|
+
"explorer/context": [
|
|
3387
|
+
{
|
|
3388
|
+
"command": "github.copilot.chat.showAsChatSession",
|
|
3389
|
+
"when": "resourceFilename === 'benchRun.chatReplay.json' || resourceFilename === 'chat-export-logs.json'",
|
|
3390
|
+
"group": "2_copilot@1"
|
|
3312
3391
|
}
|
|
3313
3392
|
],
|
|
3314
3393
|
"editor/context": [
|
|
@@ -3355,6 +3434,10 @@
|
|
|
3355
3434
|
}
|
|
3356
3435
|
],
|
|
3357
3436
|
"commandPalette": [
|
|
3437
|
+
{
|
|
3438
|
+
"command": "github.copilot.chat.triggerPermissiveSignIn",
|
|
3439
|
+
"when": "false"
|
|
3440
|
+
},
|
|
3358
3441
|
{
|
|
3359
3442
|
"command": "github.copilot.interactiveSession.feedback",
|
|
3360
3443
|
"when": "github.copilot-chat.activated && !github.copilot.interactiveSession.disabled"
|
|
@@ -3562,6 +3645,14 @@
|
|
|
3562
3645
|
{
|
|
3563
3646
|
"command": "github.copilot.cloud.sessions.proxy.closeChatSessionPullRequest",
|
|
3564
3647
|
"when": "false"
|
|
3648
|
+
},
|
|
3649
|
+
{
|
|
3650
|
+
"command": "github.copilot.chat.applyCopilotCLIAgentSessionChanges",
|
|
3651
|
+
"when": "false"
|
|
3652
|
+
},
|
|
3653
|
+
{
|
|
3654
|
+
"command": "github.copilot.chat.showAsChatSession",
|
|
3655
|
+
"when": "false"
|
|
3565
3656
|
}
|
|
3566
3657
|
],
|
|
3567
3658
|
"view/title": [
|
|
@@ -3883,12 +3974,17 @@
|
|
|
3883
3974
|
{
|
|
3884
3975
|
"command": "github.copilot.cloud.sessions.openInBrowser",
|
|
3885
3976
|
"when": "chatSessionType == copilot-cloud-agent",
|
|
3886
|
-
"group": "
|
|
3977
|
+
"group": "navigation@10"
|
|
3887
3978
|
},
|
|
3888
3979
|
{
|
|
3889
3980
|
"command": "github.copilot.cloud.sessions.proxy.closeChatSessionPullRequest",
|
|
3890
3981
|
"when": "chatSessionType == copilot-cloud-agent",
|
|
3891
3982
|
"group": "context"
|
|
3983
|
+
},
|
|
3984
|
+
{
|
|
3985
|
+
"command": "github.copilot.cli.sessions.delete",
|
|
3986
|
+
"when": "chatSessionType == copilotcli && config.chat.agentSessionsViewLocation == 'single-view'",
|
|
3987
|
+
"group": "context"
|
|
3892
3988
|
}
|
|
3893
3989
|
]
|
|
3894
3990
|
},
|
|
@@ -4023,7 +4119,7 @@
|
|
|
4023
4119
|
{
|
|
4024
4120
|
"id": "codex-placeholder",
|
|
4025
4121
|
"name": "OpenAI Codex",
|
|
4026
|
-
"when": "github.copilot.chat.codex.showPlaceholder
|
|
4122
|
+
"when": "github.copilot.chat.codex.showPlaceholder",
|
|
4027
4123
|
"icon": "$(file)"
|
|
4028
4124
|
},
|
|
4029
4125
|
{
|
|
@@ -4281,7 +4377,6 @@
|
|
|
4281
4377
|
"inputPlaceholder": "Describe your task, type `#` for adding context",
|
|
4282
4378
|
"order": 2,
|
|
4283
4379
|
"description": "The GitHub Copilot CLI Agent works on your local machine",
|
|
4284
|
-
"when": "!chatEntitlementSignedOut && chatIsEnabled",
|
|
4285
4380
|
"capabilities": {
|
|
4286
4381
|
"supportsFileAttachments": true,
|
|
4287
4382
|
"supportsProblemAttachments": true,
|
|
@@ -4310,7 +4405,6 @@
|
|
|
4310
4405
|
"inputPlaceholder": "Describe your task, type `#` for adding context",
|
|
4311
4406
|
"order": 1,
|
|
4312
4407
|
"description": "Delegate tasks to the GitHub Copilot Cloud Agent. The agent works asynchronously in the cloud to implement changes, iterates via chat, and can create or update pull requests as needed.",
|
|
4313
|
-
"when": "!chatEntitlementSignedOut && chatIsEnabled",
|
|
4314
4408
|
"capabilities": {
|
|
4315
4409
|
"supportsFileAttachments": true
|
|
4316
4410
|
}
|
|
@@ -4379,7 +4473,7 @@
|
|
|
4379
4473
|
"watch:tsc-extension": "tsc --noEmit --watch --project tsconfig.json",
|
|
4380
4474
|
"watch:tsc-extension-web": "tsc --noEmit --watch --project tsconfig.worker.json",
|
|
4381
4475
|
"watch:tsc-simulation-workbench": "tsc --noEmit --watch --project test/simulation/workbench/tsconfig.json",
|
|
4382
|
-
"typecheck": "tsc --noEmit --project tsconfig.json && tsc --noEmit --project test/simulation/workbench/tsconfig.json && tsc --noEmit --project tsconfig.worker.json",
|
|
4476
|
+
"typecheck": "tsc --noEmit --project tsconfig.json && tsc --noEmit --project test/simulation/workbench/tsconfig.json && tsc --noEmit --project tsconfig.worker.json && tsc --noEmit --project src/extension/completions-core/vscode-node/extension/src/copilotPanel/webView/tsconfig.json",
|
|
4383
4477
|
"lint": "eslint . --max-warnings=0",
|
|
4384
4478
|
"lint-staged": "eslint --max-warnings=0",
|
|
4385
4479
|
"tsfmt": "npx tsfmt -r --verify",
|
|
@@ -4418,7 +4512,6 @@
|
|
|
4418
4512
|
"@fluentui/react-icons": "^2.0.305",
|
|
4419
4513
|
"@hediet/node-reload": "^0.8.0",
|
|
4420
4514
|
"@keyv/sqlite": "^4.0.5",
|
|
4421
|
-
"@nteract/messaging": "^7.0.20",
|
|
4422
4515
|
"@octokit/types": "^14.1.0",
|
|
4423
4516
|
"@parcel/watcher": "^2.5.1",
|
|
4424
4517
|
"@stylistic/eslint-plugin": "^3.0.1",
|
|
@@ -4438,6 +4531,7 @@
|
|
|
4438
4531
|
"@types/vinyl": "^2.0.12",
|
|
4439
4532
|
"@types/vscode": "^1.102.0",
|
|
4440
4533
|
"@types/yargs": "^17.0.24",
|
|
4534
|
+
"@types/vscode-webview": "^1.57.4",
|
|
4441
4535
|
"@typescript-eslint/eslint-plugin": "^8.35.0",
|
|
4442
4536
|
"@typescript-eslint/parser": "^8.32.0",
|
|
4443
4537
|
"@typescript-eslint/typescript-estree": "^8.26.1",
|
|
@@ -4451,7 +4545,6 @@
|
|
|
4451
4545
|
"@vscode/test-electron": "^2.5.2",
|
|
4452
4546
|
"@vscode/test-web": "^0.0.71",
|
|
4453
4547
|
"@vscode/vsce": "3.6.0",
|
|
4454
|
-
"@vscode/zeromq": "0.2.7",
|
|
4455
4548
|
"copyfiles": "^2.4.1",
|
|
4456
4549
|
"csv-parse": "^6.0.0",
|
|
4457
4550
|
"dotenv": "^17.2.0",
|
|
@@ -4478,7 +4571,7 @@
|
|
|
4478
4571
|
"monaco-editor": "0.44.0",
|
|
4479
4572
|
"npm-run-all": "^4.1.5",
|
|
4480
4573
|
"open": "^10.1.2",
|
|
4481
|
-
"openai": "^
|
|
4574
|
+
"openai": "^6.7.0",
|
|
4482
4575
|
"outdent": "^0.8.0",
|
|
4483
4576
|
"picomatch": "^4.0.2",
|
|
4484
4577
|
"playwright": "^1.56.1",
|
|
@@ -4508,15 +4601,16 @@
|
|
|
4508
4601
|
"dependencies": {
|
|
4509
4602
|
"@anthropic-ai/claude-code": "^1.0.120",
|
|
4510
4603
|
"@anthropic-ai/sdk": "^0.68.0",
|
|
4511
|
-
"@github/copilot": "^0.0.
|
|
4604
|
+
"@github/copilot": "^0.0.354",
|
|
4512
4605
|
"@google/genai": "^1.22.0",
|
|
4513
4606
|
"@humanwhocodes/gitignore-to-minimatch": "1.0.2",
|
|
4514
4607
|
"@microsoft/tiktokenizer": "^1.0.10",
|
|
4515
4608
|
"@vscode/copilot-api": "^0.1.13",
|
|
4516
|
-
"@vscode/extension-telemetry": "^1.
|
|
4609
|
+
"@vscode/extension-telemetry": "^1.2.0",
|
|
4517
4610
|
"@vscode/l10n": "^0.0.18",
|
|
4518
4611
|
"@vscode/prompt-tsx": "^0.4.0-alpha.5",
|
|
4519
4612
|
"@vscode/tree-sitter-wasm": "0.0.5-php.2",
|
|
4613
|
+
"@vscode/webview-ui-toolkit": "^1.3.1",
|
|
4520
4614
|
"@xterm/headless": "^5.5.0",
|
|
4521
4615
|
"ajv": "^8.17.1",
|
|
4522
4616
|
"applicationinsights": "^2.9.7",
|
|
@@ -4529,7 +4623,8 @@
|
|
|
4529
4623
|
"minimatch": "^10.0.3",
|
|
4530
4624
|
"undici": "^7.11.0",
|
|
4531
4625
|
"vscode-tas-client": "^0.1.84",
|
|
4532
|
-
"web-tree-sitter": "^0.23.0"
|
|
4626
|
+
"web-tree-sitter": "^0.23.0",
|
|
4627
|
+
"dompurify": "^3.3.0"
|
|
4533
4628
|
},
|
|
4534
4629
|
"overrides": {
|
|
4535
4630
|
"@aminya/node-gyp-build": "npm:node-gyp-build@4.8.1",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vscode/chat-lib",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1.1-0",
|
|
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",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"@vscode/l10n": "^0.0.18",
|
|
20
20
|
"@vscode/prompt-tsx": "^0.4.0-alpha.5",
|
|
21
21
|
"jsonc-parser": "^3.3.1",
|
|
22
|
-
"openai": "^
|
|
22
|
+
"openai": "^6.7.0",
|
|
23
23
|
"web-tree-sitter": "^0.23.0",
|
|
24
24
|
"yaml": "^2.8.0"
|
|
25
25
|
},
|