File tree Expand file tree Collapse file tree 3 files changed +2
-10
lines changed
webview-ui/src/components/chat Expand file tree Collapse file tree 3 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -134,7 +134,6 @@ export function isInteractiveAsk(ask: ClineAsk): ask is InteractiveAsk {
134134 * - `checkpoint_saved`: Indicates a checkpoint has been saved
135135 * - `rooignore_error`: Error related to .rooignore file processing
136136 * - `diff_error`: Error occurred while applying a diff/patch
137- * - `file_not_found_error`: Error when attempting to read a file that doesn't exist
138137 * - `condense_context`: Context condensation/summarization has started
139138 * - `condense_context_error`: Error occurred during context condensation
140139 * - `codebase_search_result`: Results from searching the codebase
@@ -161,7 +160,6 @@ export const clineSays = [
161160 "checkpoint_saved" ,
162161 "rooignore_error" ,
163162 "diff_error" ,
164- "file_not_found_error" ,
165163 "condense_context" ,
166164 "condense_context_error" ,
167165 "codebase_search_result" ,
Original file line number Diff line number Diff line change @@ -648,7 +648,7 @@ export async function readFileTool(
648648 // Emit a unified file not found error message if any files were not found
649649 if ( notFoundFiles . length > 0 ) {
650650 await cline . say (
651- "file_not_found_error " ,
651+ "error " ,
652652 JSON . stringify ( {
653653 filePaths : notFoundFiles ,
654654 error : "The requested files do not exist in the current workspace." ,
@@ -769,7 +769,7 @@ export async function readFileTool(
769769 // Emit a unified file not found error message if any files were not found
770770 if ( notFoundFiles . length > 0 ) {
771771 await cline . say (
772- "file_not_found_error " ,
772+ "error " ,
773773 JSON . stringify ( {
774774 filePaths : notFoundFiles ,
775775 error : "The requested files do not exist in the current workspace." ,
Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ import { CommandExecutionError } from "./CommandExecutionError"
4646import { AutoApprovedRequestLimitWarning } from "./AutoApprovedRequestLimitWarning"
4747import { CondenseContextErrorRow , CondensingContextRow , ContextCondenseRow } from "./ContextCondenseRow"
4848import CodebaseSearchResultsDisplay from "./CodebaseSearchResultsDisplay"
49- import { FileNotFoundError } from "./FileNotFoundError"
5049
5150interface ChatRowProps {
5251 message : ClineMessage
@@ -1059,11 +1058,6 @@ export const ChatRowContent = ({
10591058 < Markdown markdown = { message . text } partial = { message . partial } />
10601059 </ div >
10611060 )
1062- case "file_not_found_error" :
1063- const errorData = safeJsonParse < { filePath ?: string ; filePaths ?: string [ ] ; error : string } > (
1064- message . text || "{}" ,
1065- )
1066- return < FileNotFoundError filePaths = { errorData ?. filePaths || errorData ?. filePath || "" } />
10671061 case "user_feedback" :
10681062 return (
10691063 < div className = "bg-vscode-editor-background border rounded-xs p-1 overflow-hidden whitespace-pre-wrap" >
You can’t perform that action at this time.
0 commit comments