fix(core): disable fff broad scanning

This commit is contained in:
Dax Raad 2026-06-24 18:40:28 -04:00
parent 68260ea6c9
commit e9ee2129ea

View file

@ -1,6 +1,5 @@
export * as FileSystemSearch from "./search"
import os from "os"
import path from "path"
import { Context, Effect, Layer, Scope } from "effect"
import { Fff } from "#fff"
@ -128,8 +127,6 @@ export const fffLayer = Layer.effect(
Fff.create({
basePath: location.directory,
aiMode: true,
enableFsRootScanning: location.directory === path.parse(location.directory).root,
enableHomeDirScanning: location.directory === os.homedir(),
}),
catch: (cause) => cause,
}).pipe(Effect.orDie)