story-kit: start 147_bug_activity_indicator_still_only_shows_thinking_despite_bug_140_fix
This commit is contained in:
@@ -16,16 +16,34 @@ const NARROW_BREAKPOINT = 900;
|
||||
|
||||
function formatToolActivity(toolName: string): string {
|
||||
switch (toolName) {
|
||||
// Built-in provider tool names
|
||||
case "read_file":
|
||||
case "Read":
|
||||
return "Reading file...";
|
||||
case "write_file":
|
||||
case "Write":
|
||||
case "Edit":
|
||||
return "Writing file...";
|
||||
case "list_directory":
|
||||
return "Listing directory...";
|
||||
case "Glob":
|
||||
return "Listing files...";
|
||||
case "search_files":
|
||||
case "Grep":
|
||||
return "Searching files...";
|
||||
case "exec_shell":
|
||||
case "Bash":
|
||||
return "Executing command...";
|
||||
// Claude Code additional tool names
|
||||
case "Task":
|
||||
return "Running task...";
|
||||
case "WebFetch":
|
||||
return "Fetching web content...";
|
||||
case "WebSearch":
|
||||
return "Searching the web...";
|
||||
case "NotebookEdit":
|
||||
return "Editing notebook...";
|
||||
case "TodoWrite":
|
||||
return "Updating tasks...";
|
||||
default:
|
||||
return `Using ${toolName}...`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user