feat(util): configure package publishing (#38129)
This commit is contained in:
parent
cf651bc41b
commit
69d7c2add7
35 changed files with 161 additions and 71 deletions
13
packages/core/src/effect/app-node-platform.ts
Normal file
13
packages/core/src/effect/app-node-platform.ts
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
import { LLMClient, RequestExecutor } from "@opencode-ai/ai/route"
|
||||
import { makeGlobalNode } from "@opencode-ai/util/effect/app-node"
|
||||
import { httpClient } from "@opencode-ai/util/effect/app-node-platform"
|
||||
|
||||
export const requestExecutor = makeGlobalNode({
|
||||
service: RequestExecutor.Service,
|
||||
layer: RequestExecutor.layer,
|
||||
deps: [httpClient],
|
||||
})
|
||||
|
||||
export const llmClient = makeGlobalNode({ service: LLMClient.Service, layer: LLMClient.layer, deps: [requestExecutor] })
|
||||
|
||||
export * as LayerNodePlatform from "./app-node-platform"
|
||||
Loading…
Add table
Add a link
Reference in a new issue