mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-21 19:43:31 +00:00
feat(core): enable fff by default
This commit is contained in:
parent
1dad38d1b5
commit
538cfaff0d
2 changed files with 2 additions and 2 deletions
|
|
@ -232,4 +232,4 @@ export const fffLayer = Layer.effect(
|
|||
}),
|
||||
)
|
||||
|
||||
export const defaultLayer = Layer.unwrap(Effect.sync(() => (Flag.OPENCODE_ENABLE_FFF ? fffLayer : ripgrepLayer)))
|
||||
export const defaultLayer = Layer.unwrap(Effect.sync(() => (Flag.OPENCODE_DISABLE_FFF ? ripgrepLayer : fffLayer)))
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ export const Flag = {
|
|||
OPENCODE_FAKE_VCS: process.env["OPENCODE_FAKE_VCS"],
|
||||
OPENCODE_SERVER_PASSWORD: process.env["OPENCODE_SERVER_PASSWORD"],
|
||||
OPENCODE_SERVER_USERNAME: process.env["OPENCODE_SERVER_USERNAME"],
|
||||
OPENCODE_ENABLE_FFF: process.env["OPENCODE_ENABLE_FFF"],
|
||||
OPENCODE_DISABLE_FFF: truthy("OPENCODE_DISABLE_FFF"),
|
||||
|
||||
// Experimental
|
||||
OPENCODE_EXPERIMENTAL_FILEWATCHER: Config.boolean("OPENCODE_EXPERIMENTAL_FILEWATCHER").pipe(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue