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
@@ -100,7 +100,7 @@ const kind = (code: string): Kind => {
export class Service extends Context.Service<Service, Interface>()("@opencode/Git") {}
export const layer = Layer.effect(
const layer = Layer.effect(
Service,
Effect.gen(function* () {
const appProcess = yield* AppProcess.Service
@@ -343,8 +343,6 @@ export const layer = Layer.effect(
}),
)
export const defaultLayer = layer.pipe(Layer.provide(AppProcess.defaultLayer))
export const node = LayerNode.make({ service: Service, layer: layer, deps: [AppProcess.node] })
export * as Git from "."