TUIのEditツール周りの表示とカラー

This commit is contained in:
2026-04-22 01:17:58 +09:00
parent ef294eeb68
commit 270d7923ab
4 changed files with 420 additions and 127 deletions
+5
View File
@@ -48,6 +48,11 @@ pub struct ToolCallBlock {
/// Final arguments text once `ToolCallDone` lands.
pub arguments: Option<String>,
pub state: ToolCallState,
/// For Edit tool calls: snapshot of the file content *before* the
/// edit was applied to the cache. Captured at result time so the
/// diff renderer can reproduce the old-content context even after
/// subsequent mutations have rolled the cache forward.
pub edit_snapshot: Option<String>,
}
pub enum ToolCallState {