refactor(core): remove shell description input (#32823)

This commit is contained in:
Aiden Cline 2026-06-22 21:18:06 -05:00 committed by GitHub
commit d29f5eba92
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 124 additions and 161 deletions

View file

@ -6,7 +6,6 @@ import { codeToHtml } from "shiki"
interface Props {
command: string
output: string
description?: string
expand?: boolean
}
@ -45,7 +44,7 @@ export function ContentBash(props: Props) {
<div class={style.root} data-expanded={expanded() || props.expand === true ? true : undefined}>
<div data-slot="body">
<div data-slot="header">
<span>{props.description}</span>
<span>Shell</span>
</div>
<div data-slot="content">
<div innerHTML={commandHtml()} />

View file

@ -616,7 +616,6 @@ export function BashTool(props: ToolProps) {
<ContentBash
command={props.state.input.command}
output={props.state.metadata.output ?? props.state.metadata?.stdout}
description={props.state.metadata.description}
/>
)
}