@codingame/monaco-vscode-chat-service-override 36.2.3 → 36.2.5
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-chat-service-override",
|
|
3
|
-
"version": "36.2.
|
|
3
|
+
"version": "36.2.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - chat service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-api": "36.2.
|
|
19
|
-
"@codingame/monaco-vscode-katex-common": "36.2.
|
|
20
|
-
"@codingame/monaco-vscode-xterm-addons-common": "36.2.
|
|
21
|
-
"@codingame/monaco-vscode-xterm-common": "36.2.
|
|
18
|
+
"@codingame/monaco-vscode-api": "36.2.5",
|
|
19
|
+
"@codingame/monaco-vscode-katex-common": "36.2.5",
|
|
20
|
+
"@codingame/monaco-vscode-xterm-addons-common": "36.2.5",
|
|
21
|
+
"@codingame/monaco-vscode-xterm-common": "36.2.5"
|
|
22
22
|
},
|
|
23
23
|
"main": "index.js",
|
|
24
24
|
"module": "index.js",
|
package/vscode/src/vs/workbench/contrib/chat/browser/actions/exportAgentHostDebugLogsAction.js
CHANGED
|
@@ -61,7 +61,7 @@ async function collectAgentHostDebugLogs(accessor, activeSession) {
|
|
|
61
61
|
const userHome = pathService.userHome({
|
|
62
62
|
preferLocal: true
|
|
63
63
|
});
|
|
64
|
-
resolveEventsUri(
|
|
64
|
+
const eventsResult = resolveEventsUri(
|
|
65
65
|
activeSession?.resource,
|
|
66
66
|
userHome,
|
|
67
67
|
authority => remoteAgentHostService.connections.find(c => agentHostAuthority(c.address) === authority)
|
|
@@ -89,6 +89,15 @@ async function collectAgentHostDebugLogs(accessor, activeSession) {
|
|
|
89
89
|
channelIds.add(WINDOW_LOG_CHANNEL_ID);
|
|
90
90
|
channelIds.add(SHARED_PROCESS_LOG_CHANNEL_ID);
|
|
91
91
|
const files = [];
|
|
92
|
+
if (eventsResult.kind === "ok") {
|
|
93
|
+
try {
|
|
94
|
+
const content = await fileService.readFile(eventsResult.resource);
|
|
95
|
+
files.push({
|
|
96
|
+
path: "events.jsonl",
|
|
97
|
+
contents: ( content.value.toString())
|
|
98
|
+
});
|
|
99
|
+
} catch {}
|
|
100
|
+
}
|
|
92
101
|
for (const channelId of channelIds) {
|
|
93
102
|
const channel = outputService.getChannel(channelId);
|
|
94
103
|
const descriptor = outputService.getChannelDescriptor(channelId);
|