MCPcopy Create free account
hub / github.com/anomalyco/opencode / serverUrl

Function serverUrl

packages/opencode/test/control-plane/workspace.test.ts:261–265  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

259}
260
261function serverUrl() {
262 return Effect.gen(function* () {
263 return HttpServer.formatAddress((yield* HttpServer.HttpServer).address)
264 })
265}
266
267function workspaceInfo(projectID: ProjectV2.ID, type: string, input?: Partial<Workspace.Info>): Workspace.Info {
268 return {

Callers 1

workspace.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected