tweak wording to say Patched for ui rendered tool parts

pull/9127/head
Aiden Cline 2026-01-17 23:25:07 -06:00
parent cfd6a7ae96
commit 8a6b8e5339
2 changed files with 2 additions and 2 deletions

View File

@ -1877,7 +1877,7 @@ function ApplyPatch(props: ToolProps<typeof ApplyPatchTool>) {
if (file.type === "delete") return "# Deleted " + file.relativePath
if (file.type === "add") return "# Created " + file.relativePath
if (file.type === "move") return "# Moved " + normalizePath(file.filePath) + " → " + file.relativePath
return "← Edit " + file.relativePath
return "← Patched " + file.relativePath
}
return (

View File

@ -1090,7 +1090,7 @@ ToolRegistry.register({
</Match>
<Match when={file.type === "update"}>
<span data-slot="apply-patch-file-action" data-type="update">
Edit
Patched
</span>
</Match>
</Switch>