diff --git a/src-tauri/src/wsl_bridge.rs b/src-tauri/src/wsl_bridge.rs index dac8689..ebac570 100644 --- a/src-tauri/src/wsl_bridge.rs +++ b/src-tauri/src/wsl_bridge.rs @@ -974,8 +974,8 @@ fn process_json_line( let _ = app.emit( "claude:output", OutputEvent { - line_type: "system".to_string(), - content: format!("[Thinking] {}", thinking), + line_type: "thinking".to_string(), + content: thinking.clone(), tool_name: None, conversation_id: conversation_id.clone(), cost: None, diff --git a/src/lib/components/ConfigSidebar.svelte b/src/lib/components/ConfigSidebar.svelte index 2f3c94b..7274373 100644 --- a/src/lib/components/ConfigSidebar.svelte +++ b/src/lib/components/ConfigSidebar.svelte @@ -51,6 +51,7 @@ budget_action: "warn", budget_warning_threshold: 0.8, discord_rpc_enabled: true, + show_thinking_blocks: true, }); let showCustomThemeEditor = $state(false); @@ -703,6 +704,22 @@ Use Ctrl++ / Ctrl+- to quickly adjust, Ctrl+0 to reset
+ + ++ Display Claude's extended thinking process in the conversation. Thinking blocks can be + expanded/collapsed to see reasoning details. +
+