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 { ChildProcess } from "effect/unstable/process"
|
|||
import { AbsolutePath } from "./schema"
|
||||
import { FSUtil } from "./fs-util"
|
||||
import { AppProcess } from "./process"
|
||||
import { LayerNode } from "./effect/layer-node"
|
||||
|
||||
export interface Repo {
|
||||
/**
|
||||
|
|
@ -400,6 +401,7 @@ export const layer = Layer.effect(
|
|||
)
|
||||
|
||||
export const defaultLayer = layer.pipe(Layer.provide(FSUtil.defaultLayer), Layer.provide(AppProcess.defaultLayer))
|
||||
export const node = LayerNode.make(layer, [FSUtil.node, AppProcess.node])
|
||||
|
||||
export interface Result {
|
||||
readonly exitCode: number
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue