tui: improve task display in session view to show tool names and completion status

This commit is contained in:
Dax Raad 2025-11-28 21:19:15 -05:00
parent 204a31b6bb
commit 9ca4b464ea

View file

@ -1408,7 +1408,7 @@ ToolRegistry.register<typeof TaskTool>({
<For each={props.metadata.summary ?? []}>
{(task) => (
<text style={{ fg: theme.textMuted }}>
{task.tool} {task.state.status === "completed" ? task.state.title : ""}
{Locale.titlecase(task.tool)} {task.state.status === "completed" ? task.state.title : ""}
</text>
)}
</For>