@vscode/chat-lib 0.0.5-8 → 0.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/byok/node/openAIEndpoint.js +1 -1
- package/dist/src/_internal/extension/byok/node/openAIEndpoint.js.map +1 -1
- package/dist/src/_internal/extension/prompt/node/chatMLFetcher.d.ts +4 -1
- package/dist/src/_internal/extension/prompt/node/chatMLFetcher.d.ts.map +1 -1
- package/dist/src/_internal/extension/prompt/node/chatMLFetcher.js +24 -9
- package/dist/src/_internal/extension/prompt/node/chatMLFetcher.js.map +1 -1
- 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/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 +15 -37
- 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 -11
- package/dist/src/_internal/platform/configuration/common/configurationService.d.ts.map +1 -1
- package/dist/src/_internal/platform/configuration/common/configurationService.js +18 -15
- package/dist/src/_internal/platform/configuration/common/configurationService.js.map +1 -1
- package/dist/src/_internal/platform/editing/common/notebookDocumentSnapshot.d.ts +3 -3
- package/dist/src/_internal/platform/editing/common/notebookDocumentSnapshot.d.ts.map +1 -1
- package/dist/src/_internal/platform/editing/common/notebookDocumentSnapshot.js +11 -6
- package/dist/src/_internal/platform/editing/common/notebookDocumentSnapshot.js.map +1 -1
- package/dist/src/_internal/platform/editing/common/textDocumentSnapshot.d.ts +1 -1
- package/dist/src/_internal/platform/editing/common/textDocumentSnapshot.d.ts.map +1 -1
- package/dist/src/_internal/platform/editing/common/textDocumentSnapshot.js +1 -1
- package/dist/src/_internal/platform/editing/common/textDocumentSnapshot.js.map +1 -1
- package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.d.ts +9 -3
- package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.d.ts.map +1 -1
- package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.js +51 -9
- package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.js.map +1 -1
- package/dist/src/_internal/platform/endpoint/node/autoChatEndpoint.d.ts.map +1 -1
- package/dist/src/_internal/platform/endpoint/node/autoChatEndpoint.js +1 -0
- package/dist/src/_internal/platform/endpoint/node/autoChatEndpoint.js.map +1 -1
- package/dist/src/_internal/platform/endpoint/node/chatEndpoint.d.ts.map +1 -1
- package/dist/src/_internal/platform/endpoint/node/chatEndpoint.js +9 -2
- 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 +1 -1
- package/dist/src/_internal/platform/github/common/githubAPI.d.ts.map +1 -1
- package/dist/src/_internal/platform/github/common/githubAPI.js +5 -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/statelessNextEditProvider.d.ts +2 -2
- package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.d.ts.map +1 -1
- 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/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/notebook/common/alternativeContentProvider.d.ts +5 -0
- package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.d.ts.map +1 -1
- package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.js.map +1 -1
- package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.json.d.ts +1 -0
- package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.json.d.ts.map +1 -1
- package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.json.js +3 -0
- package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.json.js.map +1 -1
- package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.text.d.ts +1 -0
- package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.text.d.ts.map +1 -1
- package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.text.js +32 -1
- package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.text.js.map +1 -1
- package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.xml.d.ts +1 -0
- package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.xml.d.ts.map +1 -1
- package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.xml.js +24 -1
- package/dist/src/_internal/platform/notebook/common/alternativeContentProvider.xml.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 +155 -57
- package/package.json +2 -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.106.0-
|
|
26
|
+
"vscode": "^1.106.0-20251103",
|
|
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%",
|
|
@@ -2279,10 +2270,40 @@
|
|
|
2279
2270
|
"title": "%github.copilot.command.closeChatSessionPullRequest.title%"
|
|
2280
2271
|
},
|
|
2281
2272
|
{
|
|
2282
|
-
"command": "github.copilot.
|
|
2273
|
+
"command": "github.copilot.chat.openSuggestionsPanel",
|
|
2283
2274
|
"title": "Open Completions Panel",
|
|
2284
|
-
"enablement": "!isWeb",
|
|
2275
|
+
"enablement": "github.copilot.extensionUnification.activated && !isWeb",
|
|
2276
|
+
"category": "GitHub Copilot"
|
|
2277
|
+
},
|
|
2278
|
+
{
|
|
2279
|
+
"command": "github.copilot.chat.toggleStatusMenu",
|
|
2280
|
+
"title": "Open Status Menu",
|
|
2281
|
+
"enablement": "github.copilot.extensionUnification.activated",
|
|
2282
|
+
"category": "GitHub Copilot"
|
|
2283
|
+
},
|
|
2284
|
+
{
|
|
2285
|
+
"command": "github.copilot.chat.completions.disable",
|
|
2286
|
+
"title": "Disable Inline Suggestions",
|
|
2287
|
+
"enablement": "github.copilot.extensionUnification.activated && github.copilot.activated && config.editor.inlineSuggest.enabled && github.copilot.completions.enabled",
|
|
2288
|
+
"category": "GitHub Copilot"
|
|
2289
|
+
},
|
|
2290
|
+
{
|
|
2291
|
+
"command": "github.copilot.chat.completions.enable",
|
|
2292
|
+
"title": "Enable Inline Suggestions",
|
|
2293
|
+
"enablement": "github.copilot.extensionUnification.activated && github.copilot.activated && !(config.editor.inlineSuggest.enabled && github.copilot.completions.enabled)",
|
|
2294
|
+
"category": "GitHub Copilot"
|
|
2295
|
+
},
|
|
2296
|
+
{
|
|
2297
|
+
"command": "github.copilot.chat.completions.toggle",
|
|
2298
|
+
"title": "Toggle (Enable/Disable) Inline Suggestions",
|
|
2299
|
+
"enablement": "github.copilot.extensionUnification.activated && github.copilot.activated",
|
|
2285
2300
|
"category": "GitHub Copilot"
|
|
2301
|
+
},
|
|
2302
|
+
{
|
|
2303
|
+
"command": "github.copilot.chat.openModelPicker",
|
|
2304
|
+
"title": "Change Completions Model",
|
|
2305
|
+
"category": "GitHub Copilot",
|
|
2306
|
+
"enablement": "github.copilot.extensionUnification.activated && !isWeb"
|
|
2286
2307
|
}
|
|
2287
2308
|
],
|
|
2288
2309
|
"configuration": [
|
|
@@ -2416,6 +2437,25 @@
|
|
|
2416
2437
|
"type": "boolean",
|
|
2417
2438
|
"default": true,
|
|
2418
2439
|
"description": "%github.copilot.config.agent.currentEditorContext.enabled%"
|
|
2440
|
+
},
|
|
2441
|
+
"github.copilot.enable": {
|
|
2442
|
+
"type": "object",
|
|
2443
|
+
"scope": "window",
|
|
2444
|
+
"default": {
|
|
2445
|
+
"*": true,
|
|
2446
|
+
"plaintext": false,
|
|
2447
|
+
"markdown": false,
|
|
2448
|
+
"scminput": false
|
|
2449
|
+
},
|
|
2450
|
+
"additionalProperties": {
|
|
2451
|
+
"type": "boolean"
|
|
2452
|
+
},
|
|
2453
|
+
"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 + \\`"
|
|
2454
|
+
},
|
|
2455
|
+
"github.copilot.selectedCompletionModel": {
|
|
2456
|
+
"type": "string",
|
|
2457
|
+
"default": "",
|
|
2458
|
+
"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."
|
|
2419
2459
|
}
|
|
2420
2460
|
}
|
|
2421
2461
|
},
|
|
@@ -3122,14 +3162,6 @@
|
|
|
3122
3162
|
],
|
|
3123
3163
|
"description": "%github.copilot.config.alternateGptPrompt.enabled%"
|
|
3124
3164
|
},
|
|
3125
|
-
"github.copilot.chat.gpt5AlternatePrompt": {
|
|
3126
|
-
"type": "string",
|
|
3127
|
-
"default": "default",
|
|
3128
|
-
"tags": [
|
|
3129
|
-
"experimental"
|
|
3130
|
-
],
|
|
3131
|
-
"description": "%github.copilot.config.gpt5AlternatePrompt%"
|
|
3132
|
-
},
|
|
3133
3165
|
"github.copilot.chat.useResponsesApi": {
|
|
3134
3166
|
"type": "boolean",
|
|
3135
3167
|
"default": true,
|
|
@@ -3199,6 +3231,67 @@
|
|
|
3199
3231
|
"onExp"
|
|
3200
3232
|
]
|
|
3201
3233
|
},
|
|
3234
|
+
"github.copilot.chat.anthropic.tools.websearch.maxUses": {
|
|
3235
|
+
"type": "number",
|
|
3236
|
+
"default": 5,
|
|
3237
|
+
"markdownDescription": "%github.copilot.config.anthropic.tools.websearch.maxUses%",
|
|
3238
|
+
"minimum": 1,
|
|
3239
|
+
"maximum": 20,
|
|
3240
|
+
"tags": [
|
|
3241
|
+
"experimental"
|
|
3242
|
+
]
|
|
3243
|
+
},
|
|
3244
|
+
"github.copilot.chat.anthropic.tools.websearch.allowedDomains": {
|
|
3245
|
+
"type": "array",
|
|
3246
|
+
"default": [],
|
|
3247
|
+
"markdownDescription": "%github.copilot.config.anthropic.tools.websearch.allowedDomains%",
|
|
3248
|
+
"items": {
|
|
3249
|
+
"type": "string"
|
|
3250
|
+
},
|
|
3251
|
+
"tags": [
|
|
3252
|
+
"experimental"
|
|
3253
|
+
]
|
|
3254
|
+
},
|
|
3255
|
+
"github.copilot.chat.anthropic.tools.websearch.blockedDomains": {
|
|
3256
|
+
"type": "array",
|
|
3257
|
+
"default": [],
|
|
3258
|
+
"markdownDescription": "%github.copilot.config.anthropic.tools.websearch.blockedDomains%",
|
|
3259
|
+
"items": {
|
|
3260
|
+
"type": "string"
|
|
3261
|
+
},
|
|
3262
|
+
"tags": [
|
|
3263
|
+
"experimental"
|
|
3264
|
+
]
|
|
3265
|
+
},
|
|
3266
|
+
"github.copilot.chat.anthropic.tools.websearch.userLocation": {
|
|
3267
|
+
"type": [
|
|
3268
|
+
"object",
|
|
3269
|
+
"null"
|
|
3270
|
+
],
|
|
3271
|
+
"default": null,
|
|
3272
|
+
"markdownDescription": "%github.copilot.config.anthropic.tools.websearch.userLocation%",
|
|
3273
|
+
"properties": {
|
|
3274
|
+
"city": {
|
|
3275
|
+
"type": "string",
|
|
3276
|
+
"description": "City name (e.g., 'San Francisco')"
|
|
3277
|
+
},
|
|
3278
|
+
"region": {
|
|
3279
|
+
"type": "string",
|
|
3280
|
+
"description": "State or region (e.g., 'California')"
|
|
3281
|
+
},
|
|
3282
|
+
"country": {
|
|
3283
|
+
"type": "string",
|
|
3284
|
+
"description": "ISO country code (e.g., 'US')"
|
|
3285
|
+
},
|
|
3286
|
+
"timezone": {
|
|
3287
|
+
"type": "string",
|
|
3288
|
+
"description": "IANA timezone identifier (e.g., 'America/Los_Angeles')"
|
|
3289
|
+
}
|
|
3290
|
+
},
|
|
3291
|
+
"tags": [
|
|
3292
|
+
"experimental"
|
|
3293
|
+
]
|
|
3294
|
+
},
|
|
3202
3295
|
"github.copilot.chat.tools.memory.enabled": {
|
|
3203
3296
|
"type": "boolean",
|
|
3204
3297
|
"default": false,
|
|
@@ -3331,6 +3424,10 @@
|
|
|
3331
3424
|
}
|
|
3332
3425
|
],
|
|
3333
3426
|
"commandPalette": [
|
|
3427
|
+
{
|
|
3428
|
+
"command": "github.copilot.chat.triggerPermissiveSignIn",
|
|
3429
|
+
"when": "false"
|
|
3430
|
+
},
|
|
3334
3431
|
{
|
|
3335
3432
|
"command": "github.copilot.interactiveSession.feedback",
|
|
3336
3433
|
"when": "github.copilot-chat.activated && !github.copilot.interactiveSession.disabled"
|
|
@@ -3859,7 +3956,7 @@
|
|
|
3859
3956
|
{
|
|
3860
3957
|
"command": "github.copilot.cloud.sessions.openInBrowser",
|
|
3861
3958
|
"when": "chatSessionType == copilot-cloud-agent",
|
|
3862
|
-
"group": "
|
|
3959
|
+
"group": "navigation@10"
|
|
3863
3960
|
},
|
|
3864
3961
|
{
|
|
3865
3962
|
"command": "github.copilot.cloud.sessions.proxy.closeChatSessionPullRequest",
|
|
@@ -3999,7 +4096,7 @@
|
|
|
3999
4096
|
{
|
|
4000
4097
|
"id": "codex-placeholder",
|
|
4001
4098
|
"name": "OpenAI Codex",
|
|
4002
|
-
"when": "github.copilot.chat.codex.showPlaceholder
|
|
4099
|
+
"when": "github.copilot.chat.codex.showPlaceholder",
|
|
4003
4100
|
"icon": "$(file)"
|
|
4004
4101
|
},
|
|
4005
4102
|
{
|
|
@@ -4257,7 +4354,6 @@
|
|
|
4257
4354
|
"inputPlaceholder": "Describe your task, type `#` for adding context",
|
|
4258
4355
|
"order": 2,
|
|
4259
4356
|
"description": "The GitHub Copilot CLI Agent works on your local machine",
|
|
4260
|
-
"when": "!chatEntitlementSignedOut && chatIsEnabled",
|
|
4261
4357
|
"capabilities": {
|
|
4262
4358
|
"supportsFileAttachments": true,
|
|
4263
4359
|
"supportsProblemAttachments": true,
|
|
@@ -4286,7 +4382,6 @@
|
|
|
4286
4382
|
"inputPlaceholder": "Describe your task, type `#` for adding context",
|
|
4287
4383
|
"order": 1,
|
|
4288
4384
|
"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.",
|
|
4289
|
-
"when": "!chatEntitlementSignedOut && chatIsEnabled",
|
|
4290
4385
|
"capabilities": {
|
|
4291
4386
|
"supportsFileAttachments": true
|
|
4292
4387
|
}
|
|
@@ -4327,10 +4422,10 @@
|
|
|
4327
4422
|
"description": "Researches a task to create multi-step plans"
|
|
4328
4423
|
}
|
|
4329
4424
|
],
|
|
4330
|
-
"
|
|
4425
|
+
"chatPromptFiles": [
|
|
4331
4426
|
{
|
|
4332
|
-
"name": "
|
|
4333
|
-
"path": "./assets/prompts/
|
|
4427
|
+
"name": "savePrompt",
|
|
4428
|
+
"path": "./assets/prompts/savePrompt.prompt.md",
|
|
4334
4429
|
"description": "Generalize the current discussion into a reusable prompt and save it as a file"
|
|
4335
4430
|
}
|
|
4336
4431
|
]
|
|
@@ -4355,7 +4450,7 @@
|
|
|
4355
4450
|
"watch:tsc-extension": "tsc --noEmit --watch --project tsconfig.json",
|
|
4356
4451
|
"watch:tsc-extension-web": "tsc --noEmit --watch --project tsconfig.worker.json",
|
|
4357
4452
|
"watch:tsc-simulation-workbench": "tsc --noEmit --watch --project test/simulation/workbench/tsconfig.json",
|
|
4358
|
-
"typecheck": "tsc --noEmit --project tsconfig.json && tsc --noEmit --project test/simulation/workbench/tsconfig.json && tsc --noEmit --project tsconfig.worker.json",
|
|
4453
|
+
"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",
|
|
4359
4454
|
"lint": "eslint . --max-warnings=0",
|
|
4360
4455
|
"lint-staged": "eslint --max-warnings=0",
|
|
4361
4456
|
"tsfmt": "npx tsfmt -r --verify",
|
|
@@ -4414,6 +4509,7 @@
|
|
|
4414
4509
|
"@types/vinyl": "^2.0.12",
|
|
4415
4510
|
"@types/vscode": "^1.102.0",
|
|
4416
4511
|
"@types/yargs": "^17.0.24",
|
|
4512
|
+
"@types/vscode-webview": "^1.57.4",
|
|
4417
4513
|
"@typescript-eslint/eslint-plugin": "^8.35.0",
|
|
4418
4514
|
"@typescript-eslint/parser": "^8.32.0",
|
|
4419
4515
|
"@typescript-eslint/typescript-estree": "^8.26.1",
|
|
@@ -4454,7 +4550,7 @@
|
|
|
4454
4550
|
"monaco-editor": "0.44.0",
|
|
4455
4551
|
"npm-run-all": "^4.1.5",
|
|
4456
4552
|
"open": "^10.1.2",
|
|
4457
|
-
"openai": "^
|
|
4553
|
+
"openai": "^6.7.0",
|
|
4458
4554
|
"outdent": "^0.8.0",
|
|
4459
4555
|
"picomatch": "^4.0.2",
|
|
4460
4556
|
"playwright": "^1.56.1",
|
|
@@ -4493,6 +4589,7 @@
|
|
|
4493
4589
|
"@vscode/l10n": "^0.0.18",
|
|
4494
4590
|
"@vscode/prompt-tsx": "^0.4.0-alpha.5",
|
|
4495
4591
|
"@vscode/tree-sitter-wasm": "0.0.5-php.2",
|
|
4592
|
+
"@vscode/webview-ui-toolkit": "^1.3.1",
|
|
4496
4593
|
"@xterm/headless": "^5.5.0",
|
|
4497
4594
|
"ajv": "^8.17.1",
|
|
4498
4595
|
"applicationinsights": "^2.9.7",
|
|
@@ -4505,7 +4602,8 @@
|
|
|
4505
4602
|
"minimatch": "^10.0.3",
|
|
4506
4603
|
"undici": "^7.11.0",
|
|
4507
4604
|
"vscode-tas-client": "^0.1.84",
|
|
4508
|
-
"web-tree-sitter": "^0.23.0"
|
|
4605
|
+
"web-tree-sitter": "^0.23.0",
|
|
4606
|
+
"dompurify": "^3.3.0"
|
|
4509
4607
|
},
|
|
4510
4608
|
"overrides": {
|
|
4511
4609
|
"@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.0
|
|
3
|
+
"version": "0.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
|
},
|