mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-18 06:09:20 +01:00
096e5abe9d
* Fix broken sessions list From #311751 Co-authored-by: Copilot <copilot@github.com> * fix tests * agentHost: settings followups - Unrelated: fix local agent host being broken on main following some overnight cleanups - Register a JSON schema for agent session settings (only when they're open since it has a perf cost) - When there are multiple custom approval buttons, show them in a dropdown similar to other tool calls. * Add tests for agent session settings schema registration * Bump @github/copilot from ^1.0.28 to ^1.0.34 Matches the version used in extensions/copilot. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * agentHost: tolerate synthetic Copilot models with empty capabilities After bumping @github/copilot to 1.0.34, listModels() returns a synthetic 'auto' router entry shaped like { id: 'auto', name: 'Auto', capabilities: {} }. The SDK's ModelInfo type still declares capabilities.limits.max_context_window_tokens as required, so reading it crashed _listModels and zeroed out the model list. Wrap the SDK type in a local ICopilotModelInfo with the actually-optional fields marked optional, and skip entries lacking max_context_window_tokens with a warn log instead of throwing. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * agentHost: surface synthetic 'auto' model with optional maxContextWindow Instead of dropping the synthetic 'auto' router model, make IAgentModelInfo.maxContextWindow optional and pass it through as undefined when the SDK doesn't report a fixed context window. The agentHostLanguageModelProvider already handles undefined via '?? 0', and the protocol state type already had the field optional. Update the real-SDK listModels test to allow undefined maxContextWindow and to assert the 'auto' entry is present. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <copilot@github.com> Co-authored-by: Connor Peet <connor@peet.io> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
60 lines
1.8 KiB
JSON
60 lines
1.8 KiB
JSON
{
|
|
"name": "vscode-reh",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"dependencies": {
|
|
"@anthropic-ai/sandbox-runtime": "0.0.42",
|
|
"@github/copilot": "^1.0.34",
|
|
"@github/copilot-sdk": "^0.2.2",
|
|
"@microsoft/1ds-core-js": "^3.2.13",
|
|
"@microsoft/1ds-post-js": "^3.2.13",
|
|
"@parcel/watcher": "^2.5.6",
|
|
"@vscode/deviceid": "^0.1.1",
|
|
"@vscode/iconv-lite-umd": "0.7.1",
|
|
"@vscode/native-watchdog": "^1.4.6",
|
|
"@vscode/proxy-agent": "^0.41.0",
|
|
"@vscode/ripgrep": "^1.17.1",
|
|
"@vscode/spdlog": "^0.15.8",
|
|
"@vscode/sqlite3": "5.1.12-vscode",
|
|
"@vscode/tree-sitter-wasm": "^0.3.1",
|
|
"@vscode/vscode-languagedetection": "1.0.23",
|
|
"@vscode/windows-process-tree": "^0.7.0",
|
|
"@vscode/windows-registry": "^1.2.0",
|
|
"@xterm/addon-clipboard": "^0.3.0-beta.197",
|
|
"@xterm/addon-image": "^0.10.0-beta.197",
|
|
"@xterm/addon-ligatures": "^0.11.0-beta.197",
|
|
"@xterm/addon-progress": "^0.3.0-beta.197",
|
|
"@xterm/addon-search": "^0.17.0-beta.197",
|
|
"@xterm/addon-serialize": "^0.15.0-beta.197",
|
|
"@xterm/addon-unicode11": "^0.10.0-beta.197",
|
|
"@xterm/addon-webgl": "^0.20.0-beta.196",
|
|
"@xterm/headless": "^6.1.0-beta.197",
|
|
"@xterm/xterm": "^6.1.0-beta.197",
|
|
"cookie": "^0.7.0",
|
|
"http-proxy-agent": "^7.0.0",
|
|
"https-proxy-agent": "^7.0.2",
|
|
"jschardet": "3.1.4",
|
|
"katex": "^0.16.22",
|
|
"kerberos": "2.1.1",
|
|
"minimist": "^1.2.8",
|
|
"node-pty": "^1.2.0-beta.12",
|
|
"ssh2": "^1.16.0",
|
|
"tas-client": "0.3.1",
|
|
"vscode-oniguruma": "1.7.0",
|
|
"vscode-regexpp": "^3.1.0",
|
|
"vscode-textmate": "^9.3.2",
|
|
"ws": "^8.19.0",
|
|
"yauzl": "^3.0.0",
|
|
"yazl": "^2.4.3"
|
|
},
|
|
"overrides": {
|
|
"node-gyp-build": "4.8.1",
|
|
"kerberos@2.1.1": {
|
|
"node-addon-api": "7.1.0"
|
|
},
|
|
"ssh2": {
|
|
"cpu-features": "0.0.0"
|
|
}
|
|
}
|
|
}
|