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

Function toInfraSessionId

src/bridge/sessionIdCompat.ts:54–57  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

52 * not found" back. Same UUID, wrong tag. No-op for IDs that aren't `session_*`.
53 */
54export function toInfraSessionId(id: string): string {
55 if (!id.startsWith('session_')) return id
56 return 'cse_' + id.slice('session_'.length)
57}
58
59

Callers 2

tryReconnectInPlaceFunction · 0.85
bridgeMainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected