refactor(opencode): remove core service layer exports (#34518)

This commit is contained in:
James Long
2026-06-29 23:32:16 -04:00
committed by GitHub
parent 91561bbdfb
commit 451876b0bd
22 changed files with 22 additions and 95 deletions
+1 -3
View File
@@ -16,7 +16,7 @@ export class Service extends Context.Service<Service, Interface>()("@opencode/En
export const use = serviceUse(Service)
export const layer = Layer.effect(
const layer = Layer.effect(
Service,
Effect.gen(function* () {
const state = yield* InstanceState.make<State>(Effect.fn("Env.state")(() => Effect.succeed({ ...process.env })))
@@ -36,8 +36,6 @@ export const layer = Layer.effect(
}),
)
export const defaultLayer = layer
export const node = LayerNode.make({ service: Service, layer: layer, deps: [] })
export * as Env from "."