mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-25 09:50:51 +01:00
e2b748adf8
* Fix isCustomTeamDefaultValue type guard to check all required properties The type guard was only checking for 'defaultValue' and 'teamDefaultValue' properties, allowing objects missing 'owner' and 'expirationDate' to pass the check. This caused runtime errors when accessing expirationDate on incomplete objects. Now checks for all four required properties of CustomTeamDefaultValue<T>. * chat-lib: update package to match main package.json
73 lines
1.8 KiB
JSON
73 lines
1.8 KiB
JSON
{
|
|
"name": "@vscode/chat-lib",
|
|
"version": "0.0.0",
|
|
"description": "Chat and inline editing SDK extracted from VS Code Copilot Chat",
|
|
"main": "dist/src/main.js",
|
|
"types": "dist/src/main.d.ts",
|
|
"author": "Microsoft Corporation",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/microsoft/vscode-copilot-chat.git"
|
|
},
|
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
"engines": {
|
|
"node": ">=22.14.0"
|
|
},
|
|
"dependencies": {
|
|
"@microsoft/tiktokenizer": "^1.0.10",
|
|
"@sinclair/typebox": "^0.34.41",
|
|
"@vscode/copilot-api": "^0.2.12",
|
|
"@vscode/l10n": "^0.0.18",
|
|
"@vscode/prompt-tsx": "^0.4.0-alpha.6",
|
|
"@vscode/tree-sitter-wasm": "0.0.5-php.2",
|
|
"applicationinsights": "^2.9.7",
|
|
"jsonc-parser": "^3.3.1",
|
|
"monaco-editor": "0.44.0",
|
|
"openai": "^6.7.0",
|
|
"vscode-languageserver-protocol": "^3.17.5",
|
|
"vscode-languageserver-textdocument": "^1.0.12",
|
|
"web-tree-sitter": "^0.23.0",
|
|
"yaml": "^2.8.0"
|
|
},
|
|
"devDependencies": {
|
|
"@anthropic-ai/sdk": "^0.71.2",
|
|
"@octokit/types": "^14.1.0",
|
|
"@types/node": "^22.16.3",
|
|
"@types/vscode": "^1.108.1",
|
|
"copyfiles": "^2.4.1",
|
|
"dotenv": "^17.2.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"outdent": "^0.8.0",
|
|
"rimraf": "^6.0.1",
|
|
"tsx": "^4.20.3",
|
|
"typescript": "^5.8.3",
|
|
"vitest": "^3.0.5"
|
|
},
|
|
"keywords": [
|
|
"chat",
|
|
"ai",
|
|
"sdk",
|
|
"vscode",
|
|
"copilot"
|
|
],
|
|
"files": [
|
|
"dist/src",
|
|
"README.md",
|
|
"LICENSE.txt",
|
|
"!**/test/**",
|
|
"dist/src/_internal/util/common/test/shims",
|
|
"script"
|
|
],
|
|
"scripts": {
|
|
"clean": "rimraf dist",
|
|
"build": "npm-run-all compile copy",
|
|
"compile": "tsc",
|
|
"copy": "copyfiles src/package.json \"src/**/*.tiktoken\" dist",
|
|
"package": "npm pack",
|
|
"postinstall": "tsx script/postinstall.js",
|
|
"publish": "npm publish",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest"
|
|
}
|
|
}
|