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

Function directoryHeader

packages/opencode/test/server/httpapi-v2-pty.test.ts:56–56  ·  view source on GitHub ↗
(dir: string)

Source from the content-addressed store, hash-verified

54)
55
56const directoryHeader = (dir: string) => HttpClientRequest.setHeader("x-opencode-directory", dir)
57
58const serverUrl = () => HttpServer.HttpServer.use((server) => Effect.succeed(HttpServer.formatAddress(server.address)))
59

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected