@vscode/chat-lib 0.46.2026042704 → 0.47.2026042904
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/common/constants.d.ts.map +1 -1
- package/dist/src/_internal/extension/common/constants.js +1 -0
- package/dist/src/_internal/extension/common/constants.js.map +1 -1
- package/dist/src/_internal/extension/inlineEdits/common/editRebase.d.ts +11 -2
- package/dist/src/_internal/extension/inlineEdits/common/editRebase.d.ts.map +1 -1
- package/dist/src/_internal/extension/inlineEdits/common/editRebase.js +7 -7
- package/dist/src/_internal/extension/inlineEdits/common/editRebase.js.map +1 -1
- package/dist/src/_internal/extension/inlineEdits/node/nextEditCache.d.ts +13 -0
- package/dist/src/_internal/extension/inlineEdits/node/nextEditCache.d.ts.map +1 -1
- package/dist/src/_internal/extension/inlineEdits/node/nextEditCache.js +3 -1
- package/dist/src/_internal/extension/inlineEdits/node/nextEditCache.js.map +1 -1
- package/dist/src/_internal/extension/inlineEdits/node/nextEditProvider.d.ts.map +1 -1
- package/dist/src/_internal/extension/inlineEdits/node/nextEditProvider.js +4 -1
- package/dist/src/_internal/extension/inlineEdits/node/nextEditProvider.js.map +1 -1
- package/dist/src/_internal/extension/inlineEdits/node/nextEditResult.d.ts +15 -0
- package/dist/src/_internal/extension/inlineEdits/node/nextEditResult.d.ts.map +1 -1
- package/dist/src/_internal/extension/inlineEdits/node/nextEditResult.js.map +1 -1
- package/dist/src/_internal/extension/inlineEdits/node/rebaseResult.d.ts.map +1 -1
- package/dist/src/_internal/extension/inlineEdits/node/rebaseResult.js +9 -10
- package/dist/src/_internal/extension/inlineEdits/node/rebaseResult.js.map +1 -1
- package/dist/src/_internal/extension/prompt/node/chatMLFetcher.d.ts.map +1 -1
- package/dist/src/_internal/extension/prompt/node/chatMLFetcher.js +10 -0
- package/dist/src/_internal/extension/prompt/node/chatMLFetcher.js.map +1 -1
- package/dist/src/_internal/platform/chat/common/chatQuotaService.d.ts +12 -11
- package/dist/src/_internal/platform/chat/common/chatQuotaService.d.ts.map +1 -1
- package/dist/src/_internal/platform/chat/common/chatQuotaService.js.map +1 -1
- package/dist/src/_internal/platform/chat/common/chatQuotaServiceImpl.d.ts +11 -12
- package/dist/src/_internal/platform/chat/common/chatQuotaServiceImpl.d.ts.map +1 -1
- package/dist/src/_internal/platform/chat/common/chatQuotaServiceImpl.js +50 -89
- package/dist/src/_internal/platform/chat/common/chatQuotaServiceImpl.js.map +1 -1
- package/dist/src/_internal/platform/configuration/common/configurationService.d.ts +9 -2
- package/dist/src/_internal/platform/configuration/common/configurationService.d.ts.map +1 -1
- package/dist/src/_internal/platform/configuration/common/configurationService.js +10 -3
- package/dist/src/_internal/platform/configuration/common/configurationService.js.map +1 -1
- package/dist/src/_internal/platform/endpoint/common/endpointProvider.d.ts +14 -9
- package/dist/src/_internal/platform/endpoint/common/endpointProvider.d.ts.map +1 -1
- package/dist/src/_internal/platform/endpoint/common/endpointProvider.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 +4 -2
- package/dist/src/_internal/platform/endpoint/node/autoChatEndpoint.js.map +1 -1
- package/dist/src/_internal/platform/endpoint/node/chatEndpoint.d.ts +2 -1
- package/dist/src/_internal/platform/endpoint/node/chatEndpoint.d.ts.map +1 -1
- package/dist/src/_internal/platform/endpoint/node/chatEndpoint.js +21 -0
- package/dist/src/_internal/platform/endpoint/node/chatEndpoint.js.map +1 -1
- package/dist/src/_internal/platform/endpoint/node/messagesApi.d.ts.map +1 -1
- package/dist/src/_internal/platform/endpoint/node/messagesApi.js +13 -11
- package/dist/src/_internal/platform/endpoint/node/messagesApi.js.map +1 -1
- package/dist/src/_internal/platform/endpoint/node/responsesApi.d.ts.map +1 -1
- package/dist/src/_internal/platform/endpoint/node/responsesApi.js +22 -5
- package/dist/src/_internal/platform/endpoint/node/responsesApi.js.map +1 -1
- package/dist/src/_internal/platform/github/common/githubAPI.d.ts +10 -0
- package/dist/src/_internal/platform/github/common/githubAPI.d.ts.map +1 -1
- package/dist/src/_internal/platform/github/common/githubAPI.js +12 -5
- package/dist/src/_internal/platform/github/common/githubAPI.js.map +1 -1
- package/dist/src/_internal/platform/networking/common/networking.d.ts +22 -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/networking/common/openai.d.ts +1 -0
- package/dist/src/_internal/platform/networking/common/openai.d.ts.map +1 -1
- package/dist/src/_internal/platform/networking/common/openai.js.map +1 -1
- package/dist/src/_internal/platform/networking/node/chatStream.d.ts.map +1 -1
- package/dist/src/_internal/platform/networking/node/chatStream.js +9 -1
- package/dist/src/_internal/platform/networking/node/chatStream.js.map +1 -1
- package/dist/src/_internal/platform/otel/common/messageFormatters.d.ts +18 -2
- package/dist/src/_internal/platform/otel/common/messageFormatters.d.ts.map +1 -1
- package/dist/src/_internal/platform/otel/common/messageFormatters.js +28 -9
- package/dist/src/_internal/platform/otel/common/messageFormatters.js.map +1 -1
- package/dist/src/_internal/platform/otel/common/otelService.d.ts +8 -0
- package/dist/src/_internal/platform/otel/common/otelService.d.ts.map +1 -1
- package/dist/src/_internal/util/common/test/shims/chatTypes.d.ts +5 -0
- package/dist/src/_internal/util/common/test/shims/chatTypes.d.ts.map +1 -1
- package/dist/src/_internal/util/common/test/shims/chatTypes.js +8 -2
- package/dist/src/_internal/util/common/test/shims/chatTypes.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 +1 -0
- package/dist/src/_internal/util/common/test/shims/vscodeTypesShim.js.map +1 -1
- package/dist/src/_internal/vscodeTypes.d.ts +1 -0
- package/dist/src/_internal/vscodeTypes.d.ts.map +1 -1
- package/dist/src/_internal/vscodeTypes.js +3 -2
- package/dist/src/_internal/vscodeTypes.js.map +1 -1
- package/dist/src/package.json +13 -72
- 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.47.2026042904",
|
|
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.119.0",
|
|
27
27
|
"npm": ">=9.0.0",
|
|
28
28
|
"node": ">=22.14.0"
|
|
29
29
|
},
|
|
@@ -128,8 +128,10 @@
|
|
|
128
128
|
"chatReferenceBinaryData",
|
|
129
129
|
"languageModelSystem",
|
|
130
130
|
"languageModelCapabilities",
|
|
131
|
+
"languageModelPricing",
|
|
131
132
|
"inlineCompletionsAdditions",
|
|
132
133
|
"chatStatusItem",
|
|
134
|
+
"chatInputNotification",
|
|
133
135
|
"taskProblemMatcherStatus",
|
|
134
136
|
"contribLanguageModelToolSets",
|
|
135
137
|
"textDocumentChangeReason",
|
|
@@ -1471,64 +1473,7 @@
|
|
|
1471
1473
|
"locations": [
|
|
1472
1474
|
"editor"
|
|
1473
1475
|
],
|
|
1474
|
-
"commands": [
|
|
1475
|
-
{
|
|
1476
|
-
"name": "generate",
|
|
1477
|
-
"when": "!config.inlineChat.enableV2",
|
|
1478
|
-
"description": "%copilot.workspace.generate.description%",
|
|
1479
|
-
"disambiguation": [
|
|
1480
|
-
{
|
|
1481
|
-
"category": "generate",
|
|
1482
|
-
"description": "Generate new code",
|
|
1483
|
-
"examples": [
|
|
1484
|
-
"Add a function that returns the sum of two numbers"
|
|
1485
|
-
]
|
|
1486
|
-
}
|
|
1487
|
-
]
|
|
1488
|
-
},
|
|
1489
|
-
{
|
|
1490
|
-
"name": "edit",
|
|
1491
|
-
"when": "!config.inlineChat.enableV2",
|
|
1492
|
-
"description": "%copilot.workspace.edit.inline.description%",
|
|
1493
|
-
"disambiguation": [
|
|
1494
|
-
{
|
|
1495
|
-
"category": "edit",
|
|
1496
|
-
"description": "Make changes to existing code",
|
|
1497
|
-
"examples": [
|
|
1498
|
-
"Change this method to use async/await"
|
|
1499
|
-
]
|
|
1500
|
-
}
|
|
1501
|
-
]
|
|
1502
|
-
},
|
|
1503
|
-
{
|
|
1504
|
-
"name": "fix",
|
|
1505
|
-
"when": "!config.inlineChat.enableV2",
|
|
1506
|
-
"description": "%copilot.workspace.fix.description%",
|
|
1507
|
-
"disambiguation": [
|
|
1508
|
-
{
|
|
1509
|
-
"category": "fix",
|
|
1510
|
-
"description": "Propose a fix for the problems in the selected code",
|
|
1511
|
-
"examples": [
|
|
1512
|
-
"There is a problem in this code. Rewrite the code to show it with the bug fixed."
|
|
1513
|
-
]
|
|
1514
|
-
}
|
|
1515
|
-
]
|
|
1516
|
-
},
|
|
1517
|
-
{
|
|
1518
|
-
"name": "tests",
|
|
1519
|
-
"when": "!config.inlineChat.enableV2",
|
|
1520
|
-
"description": "%copilot.workspace.tests.description%",
|
|
1521
|
-
"disambiguation": [
|
|
1522
|
-
{
|
|
1523
|
-
"category": "tests",
|
|
1524
|
-
"description": "Generate unit tests for the selected code. The user does not want to fix their existing tests.",
|
|
1525
|
-
"examples": [
|
|
1526
|
-
"Write a set of detailed unit test functions for the code above."
|
|
1527
|
-
]
|
|
1528
|
-
}
|
|
1529
|
-
]
|
|
1530
|
-
}
|
|
1531
|
-
]
|
|
1476
|
+
"commands": []
|
|
1532
1477
|
},
|
|
1533
1478
|
{
|
|
1534
1479
|
"id": "github.copilot.editsAgent",
|
|
@@ -1570,6 +1515,11 @@
|
|
|
1570
1515
|
"description": "%copilot.chronicle.tips.description%",
|
|
1571
1516
|
"when": "github.copilot.sessionSearch.enabled"
|
|
1572
1517
|
},
|
|
1518
|
+
{
|
|
1519
|
+
"name": "chronicle:reindex",
|
|
1520
|
+
"description": "%copilot.chronicle.reindex.description%",
|
|
1521
|
+
"when": "github.copilot.sessionSearch.enabled"
|
|
1522
|
+
},
|
|
1573
1523
|
{
|
|
1574
1524
|
"name": "explain",
|
|
1575
1525
|
"description": "%copilot.workspace.explain.description%"
|
|
@@ -3254,13 +3204,6 @@
|
|
|
3254
3204
|
"tags": [
|
|
3255
3205
|
"onExp"
|
|
3256
3206
|
]
|
|
3257
|
-
},
|
|
3258
|
-
"github.copilot.chat.anthropic.thinking.budgetTokens": {
|
|
3259
|
-
"type": "number",
|
|
3260
|
-
"markdownDescription": "%github.copilot.config.anthropic.thinking.budgetTokens%",
|
|
3261
|
-
"minimum": 0,
|
|
3262
|
-
"maximum": 32000,
|
|
3263
|
-
"default": 16000
|
|
3264
3207
|
}
|
|
3265
3208
|
}
|
|
3266
3209
|
},
|
|
@@ -6484,7 +6427,6 @@
|
|
|
6484
6427
|
"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",
|
|
6485
6428
|
"lint": "eslint . --max-warnings=0",
|
|
6486
6429
|
"lint-staged": "eslint --max-warnings=0",
|
|
6487
|
-
"tsfmt": "npx tsfmt -r --verify",
|
|
6488
6430
|
"test": "npm-run-all test:*",
|
|
6489
6431
|
"test:extension": "vscode-test",
|
|
6490
6432
|
"test:sanity": "vscode-test --sanity",
|
|
@@ -6595,7 +6537,6 @@
|
|
|
6595
6537
|
"tsx": "^4.20.3",
|
|
6596
6538
|
"typescript": "^5.8.3",
|
|
6597
6539
|
"typescript-eslint": "^8.36.0",
|
|
6598
|
-
"typescript-formatter": "github:jrieken/typescript-formatter#497efb26bc40b5fa59a350e6eab17bce650a7e4b",
|
|
6599
6540
|
"vite-plugin-top-level-await": "^1.5.0",
|
|
6600
6541
|
"vite-plugin-wasm": "^3.5.0",
|
|
6601
6542
|
"vitest": "^3.0.5",
|
|
@@ -6610,7 +6551,7 @@
|
|
|
6610
6551
|
"@anthropic-ai/claude-agent-sdk": "0.2.112",
|
|
6611
6552
|
"@anthropic-ai/sdk": "^0.82.0",
|
|
6612
6553
|
"@github/blackbird-external-ingest-utils": "^0.3.0",
|
|
6613
|
-
"@github/copilot": "
|
|
6554
|
+
"@github/copilot": "1.0.34",
|
|
6614
6555
|
"@google/genai": "^1.22.0",
|
|
6615
6556
|
"@humanwhocodes/gitignore-to-minimatch": "1.0.2",
|
|
6616
6557
|
"@microsoft/tiktokenizer": "^1.0.10",
|
|
@@ -6629,7 +6570,7 @@
|
|
|
6629
6570
|
"@opentelemetry/sdk-trace-node": "^2.5.1",
|
|
6630
6571
|
"@opentelemetry/semantic-conventions": "^1.39.0",
|
|
6631
6572
|
"@sinclair/typebox": "^0.34.41",
|
|
6632
|
-
"@vscode/copilot-api": "^0.
|
|
6573
|
+
"@vscode/copilot-api": "^0.3.0",
|
|
6633
6574
|
"@vscode/extension-telemetry": "^1.5.1",
|
|
6634
6575
|
"@vscode/l10n": "^0.0.18",
|
|
6635
6576
|
"@vscode/prompt-tsx": "^0.4.0-alpha.8",
|
|
@@ -6640,7 +6581,7 @@
|
|
|
6640
6581
|
"applicationinsights": "^2.9.7",
|
|
6641
6582
|
"best-effort-json-parser": "^1.2.1",
|
|
6642
6583
|
"diff": "^8.0.3",
|
|
6643
|
-
"dompurify": "^3.4.
|
|
6584
|
+
"dompurify": "^3.4.1",
|
|
6644
6585
|
"express": "^5.2.1",
|
|
6645
6586
|
"ignore": "^7.0.5",
|
|
6646
6587
|
"isbinaryfile": "^5.0.4",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vscode/chat-lib",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.47.2026042904",
|
|
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",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@microsoft/tiktokenizer": "^1.0.10",
|
|
18
18
|
"@sinclair/typebox": "^0.34.41",
|
|
19
|
-
"@vscode/copilot-api": "^0.
|
|
19
|
+
"@vscode/copilot-api": "^0.3.0",
|
|
20
20
|
"@vscode/l10n": "^0.0.18",
|
|
21
21
|
"@vscode/prompt-tsx": "^0.4.0-alpha.8",
|
|
22
22
|
"@vscode/tree-sitter-wasm": "0.0.5-php.2",
|