@lvce-editor/chat-tool-worker 8.6.0 → 8.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1844,9 +1844,7 @@ const executeFileGrepSearch = async (workspaceUri, grepSearchArgs) => {
|
|
|
1844
1844
|
searchDir: getSearchDir(workspaceUri, grepSearchArgs.includePattern)
|
|
1845
1845
|
});
|
|
1846
1846
|
return {
|
|
1847
|
-
arguments: grepSearchArgs,
|
|
1848
1847
|
result: formatSearchProcessResults(result.results, grepSearchArgs.outputFormat),
|
|
1849
|
-
workspaceUri,
|
|
1850
1848
|
...(result.limitHit ? {
|
|
1851
1849
|
warning: 'Search result limit reached.'
|
|
1852
1850
|
} : {})
|
|
@@ -1892,9 +1890,7 @@ const executeMemoryGrepSearch = async (workspaceUri, grepSearchArgs, options) =>
|
|
|
1892
1890
|
try {
|
|
1893
1891
|
const result = await invoke$1('ExtensionHostTextSearch.textSearchMemory2', searchOptions.scheme, workspaceUri, grepSearchArgs.query, searchOptions, options.assetDir);
|
|
1894
1892
|
return {
|
|
1895
|
-
arguments: grepSearchArgs,
|
|
1896
1893
|
result: formatLegacyMemorySearchResults(result.results || [], grepSearchArgs.outputFormat),
|
|
1897
|
-
workspaceUri,
|
|
1898
1894
|
...(result.limitHit ? {
|
|
1899
1895
|
warning: 'Search result limit reached.'
|
|
1900
1896
|
} : {})
|
|
@@ -1902,9 +1898,7 @@ const executeMemoryGrepSearch = async (workspaceUri, grepSearchArgs, options) =>
|
|
|
1902
1898
|
} catch {
|
|
1903
1899
|
const legacyResults = await invoke$1('ExtensionHostTextSearch.textSearchMemory', searchOptions.scheme, workspaceUri, grepSearchArgs.query, searchOptions, options.assetDir);
|
|
1904
1900
|
return {
|
|
1905
|
-
|
|
1906
|
-
result: isLegacyMemorySearchResult(legacyResults) ? formatLegacyMemorySearchResults(legacyResults, grepSearchArgs.outputFormat) : 'No matches found.',
|
|
1907
|
-
workspaceUri
|
|
1901
|
+
result: isLegacyMemorySearchResult(legacyResults) ? formatLegacyMemorySearchResults(legacyResults, grepSearchArgs.outputFormat) : 'No matches found.'
|
|
1908
1902
|
};
|
|
1909
1903
|
}
|
|
1910
1904
|
};
|