chore: remove dead code for todoread tool (#19128)

This commit is contained in:
Aiden Cline
2026-03-25 11:21:42 -05:00
committed by GitHub
parent cafc2b204b
commit 77fc88c8ad
87 changed files with 5 additions and 528 deletions

View File

@@ -355,7 +355,6 @@ export default function Share(props: {
if (x.type === "patch") return false
if (x.type === "step-finish") return false
if (x.type === "text" && x.synthetic === true) return false
if (x.type === "tool" && x.tool === "todoread") return false
if (x.type === "text" && !x.text) return false
if (x.type === "tool" && (x.state.status === "pending" || x.state.status === "running"))
return false

View File

@@ -90,9 +90,6 @@ export function Part(props: PartProps) {
<Match when={props.part.type === "tool" && props.part.tool === "todowrite"}>
<IconQueueList width={18} height={18} />
</Match>
<Match when={props.part.type === "tool" && props.part.tool === "todoread"}>
<IconQueueList width={18} height={18} />
</Match>
<Match when={props.part.type === "tool" && props.part.tool === "bash"}>
<IconCommandLine width={18} height={18} />
</Match>