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
|
|
@ -8,6 +8,8 @@ import { Hash } from "./util/hash"
|
|||
import { FSUtil } from "./fs-util"
|
||||
import { InstallationChannel, InstallationVersion } from "./installation/version"
|
||||
import { EventV2 } from "./event"
|
||||
import { LayerNode } from "./effect/layer-node"
|
||||
import { httpClient } from "./effect/layer-node-platform"
|
||||
|
||||
export const CatalogModelStatus = Schema.Literals(["alpha", "beta", "deprecated"])
|
||||
export type CatalogModelStatus = typeof CatalogModelStatus.Type
|
||||
|
|
@ -246,5 +248,6 @@ export const defaultLayer = layer.pipe(
|
|||
Layer.provide(FSUtil.defaultLayer),
|
||||
Layer.provide(EventV2.defaultLayer),
|
||||
)
|
||||
export const node = LayerNode.make(layer, [FSUtil.node, EventV2.node, httpClient])
|
||||
|
||||
export * as ModelsDev from "./models-dev"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue