@vscode/chat-lib 0.0.5-10 → 0.0.5-12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/dist/src/_internal/extension/prompt/node/chatMLFetcher.d.ts.map +1 -1
  2. package/dist/src/_internal/extension/prompt/node/chatMLFetcher.js +0 -2
  3. package/dist/src/_internal/extension/prompt/node/chatMLFetcher.js.map +1 -1
  4. package/dist/src/_internal/extension/xtab/common/promptCrafting.d.ts +4 -6
  5. package/dist/src/_internal/extension/xtab/common/promptCrafting.d.ts.map +1 -1
  6. package/dist/src/_internal/extension/xtab/common/promptCrafting.js +6 -4
  7. package/dist/src/_internal/extension/xtab/common/promptCrafting.js.map +1 -1
  8. package/dist/src/_internal/extension/xtab/node/xtabProvider.d.ts.map +1 -1
  9. package/dist/src/_internal/extension/xtab/node/xtabProvider.js +11 -7
  10. package/dist/src/_internal/extension/xtab/node/xtabProvider.js.map +1 -1
  11. package/dist/src/_internal/platform/configuration/common/configurationService.d.ts +17 -5
  12. package/dist/src/_internal/platform/configuration/common/configurationService.d.ts.map +1 -1
  13. package/dist/src/_internal/platform/configuration/common/configurationService.js +15 -8
  14. package/dist/src/_internal/platform/configuration/common/configurationService.js.map +1 -1
  15. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.d.ts +2 -1
  16. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.d.ts.map +1 -1
  17. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.js +8 -3
  18. package/dist/src/_internal/platform/endpoint/common/chatModelCapabilities.js.map +1 -1
  19. package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.d.ts +2 -2
  20. package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.d.ts.map +1 -1
  21. package/dist/src/_internal/platform/inlineEdits/common/statelessNextEditProvider.js.map +1 -1
  22. package/dist/src/_internal/platform/requestLogger/node/requestLogger.d.ts +1 -2
  23. package/dist/src/_internal/platform/requestLogger/node/requestLogger.d.ts.map +1 -1
  24. package/dist/src/_internal/platform/requestLogger/node/requestLogger.js.map +1 -1
  25. package/dist/src/package.json +83 -12
  26. package/package.json +1 -1
@@ -23,7 +23,7 @@
23
23
  "icon": "assets/copilot.png",
24
24
  "pricing": "Trial",
25
25
  "engines": {
26
- "vscode": "^1.106.0-20251030",
26
+ "vscode": "^1.106.0-20251103",
27
27
  "npm": ">=9.0.0",
28
28
  "node": ">=22.14.0"
29
29
  },
@@ -171,6 +171,7 @@
171
171
  "userDescription": "%copilot.tools.runSubagent.description%",
172
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
173
  "tags": [],
174
+ "when": "!config.chat.experimental.runSubagent2",
174
175
  "inputSchema": {
175
176
  "type": "object",
176
177
  "properties": {
@@ -2440,6 +2441,20 @@
2440
2441
  "type": "boolean",
2441
2442
  "default": true,
2442
2443
  "description": "%github.copilot.config.agent.currentEditorContext.enabled%"
2444
+ },
2445
+ "github.copilot.enable": {
2446
+ "type": "object",
2447
+ "scope": "window",
2448
+ "default": {
2449
+ "*": true,
2450
+ "plaintext": false,
2451
+ "markdown": false,
2452
+ "scminput": false
2453
+ },
2454
+ "additionalProperties": {
2455
+ "type": "boolean"
2456
+ },
2457
+ "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 + \\`"
2443
2458
  }
2444
2459
  }
2445
2460
  },
@@ -3146,14 +3161,6 @@
3146
3161
  ],
3147
3162
  "description": "%github.copilot.config.alternateGptPrompt.enabled%"
3148
3163
  },
3149
- "github.copilot.chat.gpt5AlternatePrompt": {
3150
- "type": "string",
3151
- "default": "default",
3152
- "tags": [
3153
- "experimental"
3154
- ],
3155
- "description": "%github.copilot.config.gpt5AlternatePrompt%"
3156
- },
3157
3164
  "github.copilot.chat.useResponsesApi": {
3158
3165
  "type": "boolean",
3159
3166
  "default": true,
@@ -3223,6 +3230,67 @@
3223
3230
  "onExp"
3224
3231
  ]
3225
3232
  },
3233
+ "github.copilot.chat.anthropic.tools.websearch.maxUses": {
3234
+ "type": "number",
3235
+ "default": 5,
3236
+ "markdownDescription": "%github.copilot.config.anthropic.tools.websearch.maxUses%",
3237
+ "minimum": 1,
3238
+ "maximum": 20,
3239
+ "tags": [
3240
+ "experimental"
3241
+ ]
3242
+ },
3243
+ "github.copilot.chat.anthropic.tools.websearch.allowedDomains": {
3244
+ "type": "array",
3245
+ "default": [],
3246
+ "markdownDescription": "%github.copilot.config.anthropic.tools.websearch.allowedDomains%",
3247
+ "items": {
3248
+ "type": "string"
3249
+ },
3250
+ "tags": [
3251
+ "experimental"
3252
+ ]
3253
+ },
3254
+ "github.copilot.chat.anthropic.tools.websearch.blockedDomains": {
3255
+ "type": "array",
3256
+ "default": [],
3257
+ "markdownDescription": "%github.copilot.config.anthropic.tools.websearch.blockedDomains%",
3258
+ "items": {
3259
+ "type": "string"
3260
+ },
3261
+ "tags": [
3262
+ "experimental"
3263
+ ]
3264
+ },
3265
+ "github.copilot.chat.anthropic.tools.websearch.userLocation": {
3266
+ "type": [
3267
+ "object",
3268
+ "null"
3269
+ ],
3270
+ "default": null,
3271
+ "markdownDescription": "%github.copilot.config.anthropic.tools.websearch.userLocation%",
3272
+ "properties": {
3273
+ "city": {
3274
+ "type": "string",
3275
+ "description": "City name (e.g., 'San Francisco')"
3276
+ },
3277
+ "region": {
3278
+ "type": "string",
3279
+ "description": "State or region (e.g., 'California')"
3280
+ },
3281
+ "country": {
3282
+ "type": "string",
3283
+ "description": "ISO country code (e.g., 'US')"
3284
+ },
3285
+ "timezone": {
3286
+ "type": "string",
3287
+ "description": "IANA timezone identifier (e.g., 'America/Los_Angeles')"
3288
+ }
3289
+ },
3290
+ "tags": [
3291
+ "experimental"
3292
+ ]
3293
+ },
3226
3294
  "github.copilot.chat.tools.memory.enabled": {
3227
3295
  "type": "boolean",
3228
3296
  "default": false,
@@ -4379,7 +4447,7 @@
4379
4447
  "watch:tsc-extension": "tsc --noEmit --watch --project tsconfig.json",
4380
4448
  "watch:tsc-extension-web": "tsc --noEmit --watch --project tsconfig.worker.json",
4381
4449
  "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",
4450
+ "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
4451
  "lint": "eslint . --max-warnings=0",
4384
4452
  "lint-staged": "eslint --max-warnings=0",
4385
4453
  "tsfmt": "npx tsfmt -r --verify",
@@ -4438,6 +4506,7 @@
4438
4506
  "@types/vinyl": "^2.0.12",
4439
4507
  "@types/vscode": "^1.102.0",
4440
4508
  "@types/yargs": "^17.0.24",
4509
+ "@types/vscode-webview": "^1.57.4",
4441
4510
  "@typescript-eslint/eslint-plugin": "^8.35.0",
4442
4511
  "@typescript-eslint/parser": "^8.32.0",
4443
4512
  "@typescript-eslint/typescript-estree": "^8.26.1",
@@ -4517,6 +4586,7 @@
4517
4586
  "@vscode/l10n": "^0.0.18",
4518
4587
  "@vscode/prompt-tsx": "^0.4.0-alpha.5",
4519
4588
  "@vscode/tree-sitter-wasm": "0.0.5-php.2",
4589
+ "@vscode/webview-ui-toolkit": "^1.3.1",
4520
4590
  "@xterm/headless": "^5.5.0",
4521
4591
  "ajv": "^8.17.1",
4522
4592
  "applicationinsights": "^2.9.7",
@@ -4529,11 +4599,12 @@
4529
4599
  "minimatch": "^10.0.3",
4530
4600
  "undici": "^7.11.0",
4531
4601
  "vscode-tas-client": "^0.1.84",
4532
- "web-tree-sitter": "^0.23.0"
4602
+ "web-tree-sitter": "^0.23.0",
4603
+ "dompurify": "^3.3.0"
4533
4604
  },
4534
4605
  "overrides": {
4535
4606
  "@aminya/node-gyp-build": "npm:node-gyp-build@4.8.1",
4536
4607
  "string_decoder": "npm:string_decoder@1.2.0",
4537
4608
  "node-gyp": "npm:node-gyp@10.3.1"
4538
4609
  }
4539
- }
4610
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vscode/chat-lib",
3
- "version": "0.0.5-10",
3
+ "version": "0.0.5-12",
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",