MCPcopy
hub / github.com/claude-code-best/claude-code / updateSessionName

Function updateSessionName

src/utils/concurrentSessions.ts:131–136  ·  view source on GitHub ↗
(
  name: string | undefined,
)

Source from the content-addressed store, hash-verified

129}
130
131export async function updateSessionName(
132 name: string | undefined,
133): Promise<void> {
134 if (!name) return
135 await updatePidFile({ name })
136}
137
138/**
139 * 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