mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-07 15:26:49 +01:00
d53d505759
* CAPI package update * Missindg updates * Missing lock * Render cloud task history from typed events - Extract shared session-event-to-chat-parts renderer into chatSessions/common/sessionEventRenderer.ts so both the Copilot CLI and Cloud Tasks providers produce identical tool/text formatting. - Render Task API history via the shared renderer, remapping custom_agent.* to the equivalent subagent.* names so tool cards, bash terminal output, edits, search results, MCP results and subagent groups all render the same way they do in the CLI. - Match github.com/github/github-ui presentation by suppressing intermediate assistant.message events that echo tool input/output and only rendering the final summary message per turn. * Address review: break circular dep & restore flush timing - Inject CLI tool-event handlers (processStart/processComplete/ enrichSubagent/isEditToolCall/getEditedUris) into the shared renderer via a ToolEventHandlers<T> bundle, so common/sessionEventRenderer no longer imports from copilotcli/. Layering now only flows one way. - Flush buffered assistant.message_delta chunks at the top of the CLI loop for non-message events so the session.model_change / assistant.usage guards see streamed text exactly the way the pre-extraction code did. * Missing lock changes * Revert unintended copilot package manifest edits * Revert unintended root package manifest edits * remote package revert * lock --------- Co-authored-by: Dmitriy Vasyura <dmitriv@microsoft.com>
73 lines
1.7 KiB
JSON
73 lines
1.7 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.4.2",
|
|
"@vscode/l10n": "^0.0.18",
|
|
"@vscode/prompt-tsx": "^0.4.0-alpha.8",
|
|
"@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",
|
|
"undici": "^7.24.1",
|
|
"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.91.1",
|
|
"@octokit/types": "^14.1.0",
|
|
"@types/node": "^22.16.3",
|
|
"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"
|
|
}
|
|
}
|