fix(client): address tool tree review

This commit is contained in:
imccyu
2026-08-08 17:12:54 +08:00
parent 3b31b2eba1
commit 871c59c3bc
4 changed files with 20 additions and 15 deletions
@@ -45,6 +45,7 @@ export function GenericCommandCard({ node, t, runningSummary }: GenericCommandCa
const open = expanded && body !== null
return (
<div className={css.root} data-variant="others" data-state={state}>
{state === 'running' && <span className={a11yCss.visuallyHidden}>{t('row.running')}</span>}
{state === 'error' && <span className={a11yCss.visuallyHidden}>{t('row.failed')}</span>}
<DisclosureRow
rowClassName={css.row}