fix(core): isolate location layer instances

This commit is contained in:
Dax Raad
2026-05-30 20:02:14 -04:00
parent aa86a20b1d
commit 0269d6f5de
4 changed files with 65 additions and 9 deletions
+5 -1
View File
@@ -317,4 +317,8 @@ export const layer = Layer.effect(
const SMALL_MODEL_RE = /\b(nano|flash|lite|mini|haiku|small|fast)\b/
export const defaultLayer = layer.pipe(Layer.provide(EventV2.defaultLayer), Layer.provide(PluginV2.defaultLayer))
export const defaultLayer = layer.pipe(
Layer.provide(EventV2.defaultLayer),
Layer.provide(PluginV2.defaultLayer),
Layer.provide(Policy.defaultLayer),
)