(input: Pick<CliFixture, "opencode">, env?: Record<string, string>)
| 12 | } from "./acp-test-client" |
| 13 | |
| 14 | export 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 | |
| 20 | export function initialize(acp: AcpClient) { |
| 21 | return Effect.gen(function* () { |
no outgoing calls
no test coverage detected