feat(opencode): add typed application layer graph (#31531)
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import { LayerNode } from "@opencode-ai/core/effect/layer-node"
|
||||
import { path } from "@opencode-ai/core/effect/layer-node-platform"
|
||||
import { Global } from "@opencode-ai/core/global"
|
||||
import { InstanceLayer } from "@/project/instance-layer"
|
||||
import { InstanceStore } from "@/project/instance-store"
|
||||
@@ -639,4 +641,14 @@ export const appLayer = layer.pipe(
|
||||
|
||||
export const defaultLayer = appLayer.pipe(Layer.provide(InstanceLayer.layer))
|
||||
|
||||
export const node = LayerNode.make(layer, [
|
||||
FSUtil.node,
|
||||
path,
|
||||
AppProcess.node,
|
||||
Git.node,
|
||||
Project.node,
|
||||
InstanceStore.node,
|
||||
Database.node,
|
||||
])
|
||||
|
||||
export * as Worktree from "."
|
||||
|
||||
Reference in New Issue
Block a user