feat(util): configure package publishing (#38129)

This commit is contained in:
Dax 2026-07-21 12:32:23 -04:00 committed by GitHub
commit 69d7c2add7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
35 changed files with 161 additions and 71 deletions

View 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"