MCPcopy Create free account
hub / github.com/anomalyco/opencode / createAcpClient

Function createAcpClient

packages/opencode/test/cli/acp/helpers.ts:14–18  ·  view source on GitHub ↗
(input: Pick<CliFixture, "opencode">, env?: Record<string, string>)

Source from the content-addressed store, hash-verified

12} from "./acp-test-client"
13
14export function createAcpClient(input: Pick<CliFixture, "opencode">, env?: Record<string, string>) {
15 return Effect.gen(function* () {
16 return createJsonRpcAcpClient(yield* input.opencode.acp(env ? { env } : undefined))
17 })
18}
19
20export function initialize(acp: AcpClient) {
21 return Effect.gen(function* () {

Callers 5

skills.test.tsFile · 0.90
lifecycle.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected