chore: remove deprecation comment from getToolsDir, add changelog entry for #470
This commit is contained in:
@@ -142,7 +142,7 @@ export function getSettingsPath(): string {
|
||||
return join(getAgentDir(), "settings.json");
|
||||
}
|
||||
|
||||
/** Get path to tools directory (deprecated, use extensions/ for JS/TS tools) */
|
||||
/** Get path to tools directory */
|
||||
export function getToolsDir(): string {
|
||||
return join(getAgentDir(), "tools");
|
||||
}
|
||||
|
||||
@@ -216,11 +216,7 @@ function checkDeprecatedExtensionDirs(baseDir: string, label: string): string[]
|
||||
const customTools = entries.filter((e) => {
|
||||
const lower = e.toLowerCase();
|
||||
return (
|
||||
lower !== "fd" &&
|
||||
lower !== "rg" &&
|
||||
lower !== "fd.exe" &&
|
||||
lower !== "rg.exe" &&
|
||||
!e.startsWith(".") // Ignore .DS_Store and other hidden files
|
||||
lower !== "fd" && lower !== "rg" && lower !== "fd.exe" && lower !== "rg.exe" && !e.startsWith(".") // Ignore .DS_Store and other hidden files
|
||||
);
|
||||
});
|
||||
if (customTools.length > 0) {
|
||||
|
||||
Reference in New Issue
Block a user