MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / updateSessionName

Function updateSessionName

source code/utils/concurrentSessions.ts:133–138  ·  view source on GitHub ↗
(
  name: string | undefined,
)

Source from the content-addressed store, hash-verified

131}
132
133export async function updateSessionName(
134 name: string | undefined,
135): Promise<void> {
136 if (!name) return
137 await updatePidFile({ name })
138}
139
140/**
141 * Record this session's Remote Control session ID so peer enumeration can

Callers 5

runFunction · 0.85
saveAgentNameFunction · 0.85
onSelectFunction · 0.85
REPLFunction · 0.85

Calls 1

updatePidFileFunction · 0.85

Tested by

no test coverage detected