MCPcopy Index your code
hub / github.com/codeaashu/claude-code / buildCCRv2SdkUrl

Function buildCCRv2SdkUrl

src/bridge/workSecret.ts:81–87  ·  view source on GitHub ↗
(
  apiBaseUrl: string,
  sessionId: string,
)

Source from the content-addressed store, hash-verified

79 * and worker endpoints from this base.
80 */
81export function buildCCRv2SdkUrl(
82 apiBaseUrl: string,
83 sessionId: string,
84): string {
85 const base = apiBaseUrl.replace(/\/+$/, '')
86 return `${base}/v1/code/sessions/${sessionId}`
87}
88
89/**
90 * Register this bridge as the worker for a CCR v2 session.

Callers 4

initEnvLessBridgeCoreFunction · 0.85
rebuildTransportFunction · 0.85
initBridgeCoreFunction · 0.85
runBridgeLoopFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected