From 2e0cabf9c7370f760bdf94288cc84fd111b22a7e Mon Sep 17 00:00:00 2001 From: Solomon Date: Mon, 6 Oct 2025 15:26:46 +0100 Subject: [PATCH] Handle stderr output form Cursor cli (#948) --- crates/executors/src/executors/cursor.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/executors/src/executors/cursor.rs b/crates/executors/src/executors/cursor.rs index b76fc6af..9be4faf3 100644 --- a/crates/executors/src/executors/cursor.rs +++ b/crates/executors/src/executors/cursor.rs @@ -24,6 +24,7 @@ use crate::{ logs::{ ActionType, FileChange, NormalizedEntry, NormalizedEntryType, TodoItem, ToolStatus, plain_text_processor::PlainTextLogProcessor, + stderr_processor::normalize_stderr_logs, utils::{ConversationPatch, EntryIndexProvider}, }, }; @@ -123,6 +124,8 @@ impl StandardCodingAgentExecutor for Cursor { fn normalize_logs(&self, msg_store: Arc, worktree_path: &Path) { let entry_index_provider = EntryIndexProvider::start_from(&msg_store); + normalize_stderr_logs(msg_store.clone(), entry_index_provider.clone()); + // Process Cursor stdout JSONL with typed serde models let current_dir = worktree_path.to_path_buf(); tokio::spawn(async move {