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

Function json

packages/opencode/test/server/httpapi-experimental.test.ts:30–32  ·  view source on GitHub ↗
(response: HttpClientResponse.HttpClientResponse)

Source from the content-addressed store, hash-verified

28}
29
30function json<T>(response: HttpClientResponse.HttpClientResponse) {
31 return response.json.pipe(Effect.map((value) => value as T))
32}
33
34function waitReady(input: { directory?: string; name?: string }) {
35 return Effect.gen(function* () {

Callers 2

withCreatedWorktreeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected