Skip to content

Commit 6a92f55

Browse files
committed
Fix: TypeScript error by adding type assertion for 'stdout' level in McpErrorRow
2 parents 4ec16e6 + 7fc5c31 commit 6a92f55

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.changeset/stale-wasps-share.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
"roo-cline": minor
3+
---
4+
5+
1. Renamed "Errors" Tab to "Console"
6+
2. Fixed Console Message Coloring
7+
3. Added MCP Logs to AI Context
8+
4. Fixed Code Escaping for MCP Tools
9+
Updated useMcpToolTool.ts to properly handle code snippets with special characters
10+
Ensured consistent escaping behavior between approval and execution phases

src/services/mcp/McpHub.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ export class McpHub {
622622
connection.server.errorHistory.push({
623623
message: truncatedError,
624624
timestamp: Date.now(),
625-
level,
625+
level: level as "error" | "warn" | "info" | "stdout",
626626
})
627627

628628
// Keep only the last 100 errors

0 commit comments

Comments
 (0)