mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-17 12:56:41 +02:00
refactor(core): make Config.Info canonical Effect Schema (#23716)
This commit is contained in:
@@ -168,7 +168,7 @@ function layer(result: "continue" | "compact") {
|
||||
}
|
||||
|
||||
function cfg(compaction?: Config.Info["compaction"]) {
|
||||
const base = Config.Info.parse({})
|
||||
const base = Config.Info.zod.parse({})
|
||||
return Layer.mock(Config.Service)({
|
||||
get: () => Effect.succeed({ ...base, compaction }),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user