MCPcopy
hub / github.com/codeaashu/claude-code / buildBridgeConnectUrl

Function buildBridgeConnectUrl

src/bridge/bridgeStatusUtil.ts:39–45  ·  view source on GitHub ↗
(
  environmentId: string,
  ingressUrl?: string,
)

Source from the content-addressed store, hash-verified

37
38/** Build the connect URL shown when the bridge is idle. */
39export function buildBridgeConnectUrl(
40 environmentId: string,
41 ingressUrl?: string,
42): string {
43 const baseUrl = getClaudeAiBaseUrl(undefined, ingressUrl)
44 return `${baseUrl}/code?bridge=${environmentId}`
45}
46
47/**
48 * Build the session URL shown when a session is attached. Delegates to

Callers 4

printBannerFunction · 0.85
runHeadlessStreamingFunction · 0.85
handleStateChangeFunction · 0.85
useReplBridgeFunction · 0.85

Calls 1

getClaudeAiBaseUrlFunction · 0.85

Tested by

no test coverage detected