summaryrefslogtreecommitdiffhomepage
path: root/packages/web/src/components
diff options
context:
space:
mode:
authorAiden Cline <[email protected]>2026-03-25 11:21:42 -0500
committerGitHub <[email protected]>2026-03-25 16:21:42 +0000
commit77fc88c8ade8e5a620ebbe1197f3a572d29ae91a (patch)
tree153ba48632283a0bc0f9d9f92232b89c88762bfd /packages/web/src/components
parentcafc2b204b8061b66b4fe010aaa2848d8f9e1bc8 (diff)
downloadopencode-77fc88c8ade8e5a620ebbe1197f3a572d29ae91a.tar.gz
opencode-77fc88c8ade8e5a620ebbe1197f3a572d29ae91a.zip
chore: remove dead code for todoread tool (#19128)
Diffstat (limited to 'packages/web/src/components')
-rw-r--r--packages/web/src/components/Share.tsx1
-rw-r--r--packages/web/src/components/share/part.tsx3
2 files changed, 0 insertions, 4 deletions
diff --git a/packages/web/src/components/Share.tsx b/packages/web/src/components/Share.tsx
index de27ccd53..de12baede 100644
--- a/packages/web/src/components/Share.tsx
+++ b/packages/web/src/components/Share.tsx
@@ -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
diff --git a/packages/web/src/components/share/part.tsx b/packages/web/src/components/share/part.tsx
index 45bd97fe3..c7d177df7 100644
--- a/packages/web/src/components/share/part.tsx
+++ b/packages/web/src/components/share/part.tsx
@@ -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>