feat(opencode): add typed application layer graph (#31531)
This commit is contained in:
parent
7a54a2c49c
commit
07e5ea9367
68 changed files with 759 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ import type { FileSystem, Scope } from "effect"
|
|||
import type { PlatformError } from "effect/PlatformError"
|
||||
import { FSUtil } from "../fs-util"
|
||||
import { Global } from "../global"
|
||||
import { LayerNode } from "../effect/layer-node"
|
||||
import { Hash } from "./hash"
|
||||
|
||||
export namespace EffectFlock {
|
||||
|
|
@ -280,4 +281,5 @@ export namespace EffectFlock {
|
|||
)
|
||||
|
||||
export const defaultLayer = layer.pipe(Layer.provide(FSUtil.defaultLayer), Layer.provide(Global.layer))
|
||||
export const node = LayerNode.make(layer, [Global.node, FSUtil.node])
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue