tui: show loaded file paths inline with Read tool to reduce visual clutter
tui: change Task tool icon to vertical ellipsis for clearer visual distinction
This commit is contained in:
parent
ce9900dca0
commit
ec56e95b9c
1 changed files with 8 additions and 8 deletions
|
|
@ -1875,14 +1875,14 @@ function Read(props: ToolProps<typeof ReadTool>) {
|
||||||
part={props.part}
|
part={props.part}
|
||||||
>
|
>
|
||||||
Read {normalizePath(props.input.filePath!)} {input(props.input, ["filePath"])}
|
Read {normalizePath(props.input.filePath!)} {input(props.input, ["filePath"])}
|
||||||
|
<For each={loaded()}>
|
||||||
|
{(filepath) => (
|
||||||
|
<>
|
||||||
|
{"\n"}↳{" "}Loaded {normalizePath(filepath)}
|
||||||
|
</>
|
||||||
|
)}
|
||||||
|
</For>
|
||||||
</InlineTool>
|
</InlineTool>
|
||||||
<For each={loaded()}>
|
|
||||||
{(filepath) => (
|
|
||||||
<box paddingLeft={3}>
|
|
||||||
<text fg={theme.textMuted}>↳ Loaded {normalizePath(filepath)}</text>
|
|
||||||
</box>
|
|
||||||
)}
|
|
||||||
</For>
|
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
@ -1975,7 +1975,7 @@ function Task(props: ToolProps<typeof TaskTool>) {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<InlineTool
|
<InlineTool
|
||||||
icon="≡"
|
icon="⋮"
|
||||||
spinner={isRunning()}
|
spinner={isRunning()}
|
||||||
complete={props.input.description}
|
complete={props.input.description}
|
||||||
pending="Delegating..."
|
pending="Delegating..."
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue