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

Function getSessionId

src/bootstrap/state.ts:425–427  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

423const STATE: State = getInitialState()
424
425export function getSessionId(): SessionId {
426 return STATE.sessionId
427}
428
429export function regenerateSessionId(
430 options: { setCurrentAsParent?: boolean } = {},

Callers 15

executeRemoteSkillFunction · 0.85
callFunction · 0.85
searchMethod · 0.85
handleSpawnFunction · 0.85
trackGitOperationsFunction · 0.85
runAgentFunction · 0.85
callFunction · 0.85
callFunction · 0.85
callFunction · 0.85
makeLogEntryReaderFunction · 0.85
getHistoryFunction · 0.85
addToPromptHistoryFunction · 0.85

Calls

no outgoing calls

Tested by 4

writeSessionLogFunction · 0.68
writeSessionLogFunction · 0.68
makeLogWithToolCallsFunction · 0.68
runWithLogLinesFunction · 0.68