feat(opencode): add typed application layer graph (#31531)
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { LayerNode } from "@opencode-ai/core/effect/layer-node"
|
||||
import path from "path"
|
||||
import { Global } from "@opencode-ai/core/global"
|
||||
import { FSUtil } from "@opencode-ai/core/fs-util"
|
||||
@@ -323,4 +324,6 @@ export const layer = Layer.effect(
|
||||
|
||||
export const defaultLayer = layer.pipe(Layer.provide(FSUtil.defaultLayer), Layer.provide(Git.defaultLayer))
|
||||
|
||||
export const node = LayerNode.make(layer, [FSUtil.node, Git.node])
|
||||
|
||||
export * as Storage from "./storage"
|
||||
|
||||
Reference in New Issue
Block a user