(options?: ServerOptions)
| 8 | export * as data from "./data.js" |
| 9 | |
| 10 | export async function createOpencode(options?: ServerOptions) { |
| 11 | const server = await createOpencodeServer({ |
| 12 | ...options, |
| 13 | }) |
| 14 | |
| 15 | const client = createOpencodeClient({ |
| 16 | baseUrl: server.url, |
| 17 | }) |
| 18 | |
| 19 | return { |
| 20 | client, |
| 21 | server, |
| 22 | } |
| 23 | } |
nothing calls this directly
no test coverage detected