MCPcopy Index your code
hub / github.com/anomalyco/opencode / createClient

Function createClient

packages/app/src/components/prompt-input/submit.test.ts:160–162  ·  view source on GitHub ↗
(opts: any)

Source from the content-addressed store, hash-verified

158 client: rootClient,
159 url: "http://localhost:4096",
160 createClient(opts: any) {
161 return clientFor(opts.directory)
162 },
163 }
164 return () => sdk
165 },

Callers

nothing calls this directly

Calls 1

clientForFunction · 0.85

Tested by

no test coverage detected