Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,19 @@ export function ToolCallView({
Wrench;

const filePath = kind === "read" && locations?.[0]?.path;
const displayText = filePath
? `Read ${getFilename(filePath)}`
: title
? compactHomePath(title)
const skillName =
agentToolName === "Skill"
? (rawInput as { skill?: string } | undefined)?.skill
: undefined;
const displayText = skillName
? "Reading"
: filePath
? `Read ${getFilename(filePath)}`
: title
? compactHomePath(title)
: undefined;

const inputPreview = compactInput(rawInput);
const inputPreview = skillName ?? compactInput(rawInput);
const fullInput = formatInput(rawInput);

const output = stripCodeFences(getContentText(content) ?? "");
Expand Down Expand Up @@ -115,6 +121,7 @@ export function ToolCallView({
<span className="font-mono text-accent-11">{inputPreview}</span>
</ToolTitle>
)}
{skillName && <ToolTitle>skill</ToolTitle>}
<StatusIndicators isFailed={isFailed} wasCancelled={wasCancelled} />
</Flex>
</Flex>
Expand Down
Loading