refactor(core): remove infrastructure layer exports (#34624)

This commit is contained in:
James Long
2026-06-30 12:17:12 -04:00
committed by GitHub
parent c8fde60ad4
commit 472d0f376e
34 changed files with 46 additions and 104 deletions
+1 -3
View File
@@ -54,7 +54,7 @@ export interface Interface {}
export class Service extends Context.Service<Service, Interface>()("@opencode/v2/FileWatcher") {}
export const layer = Layer.effect(
const layer = Layer.effect(
Service,
Effect.gen(function* () {
if (yield* Flag.OPENCODE_EXPERIMENTAL_DISABLE_FILEWATCHER) return Service.of({})
@@ -133,8 +133,6 @@ export const layer = Layer.effect(
),
)
export const locationLayer = layer.pipe(Layer.provide(Config.locationLayer), Layer.provide(Git.defaultLayer))
export const node = makeLocationNode({
service: Service,
layer,