diff --git a/src/main/tool-handlers-system.ts b/src/main/tool-handlers-system.ts index 51f6090..814f5ba 100644 --- a/src/main/tool-handlers-system.ts +++ b/src/main/tool-handlers-system.ts @@ -599,7 +599,7 @@ export async function handleWebSearch(params: { query: string; max_results?: num if (fetchResult.success && fetchResult.content) { const text = String(fetchResult.content).replace(/\s+/g, ' ').trim(); r.snippet = text.length > 200 ? text.slice(0, 200) + '…' : text; - r._enhanced = true; + (r as any)._enhanced = true; } } catch { /* enhancement is optional */ } })); diff --git a/src/main/tool-handlers.ts b/src/main/tool-handlers.ts index 58ff5af..e261abb 100644 --- a/src/main/tool-handlers.ts +++ b/src/main/tool-handlers.ts @@ -16,7 +16,6 @@ export { handleDeleteFile, handleMoveFile, handleCopyFile, - handleAppendFile, handleEditFile, handleGetFileInfo, handleTree,