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 { Effect, Layer, Context, Schema } from "effect"
|
||||
import { SessionV1 } from "@opencode-ai/core/v1/session"
|
||||
import { EventV2Bridge } from "@/event-v2-bridge"
|
||||
@@ -159,4 +160,6 @@ export const DiffInput = Schema.Struct({
|
||||
})
|
||||
export type DiffInput = Schema.Schema.Type<typeof DiffInput>
|
||||
|
||||
export const node = LayerNode.make(layer, [Session.node, Snapshot.node, EventV2Bridge.node, Config.node])
|
||||
|
||||
export * as SessionSummary from "./summary"
|
||||
|
||||
Reference in New Issue
Block a user