MCPcopy Create free account
hub / github.com/tiann/hapi / isPrimarySessionId

Function isPrimarySessionId

cli/src/codex/codexLocalLauncher.ts:55–57  ·  view source on GitHub ↗
(sessionId: string)

Source from the content-addressed store, hash-verified

53 };
54
55 const isPrimarySessionId = (sessionId: string): boolean => {
56 return primarySessionId === null || primarySessionId === sessionId;
57 };
58
59 const bindPrimarySession = (sessionId: string, transcriptPath: string, allowSwitch = false): void => {
60 if (primarySessionId && primarySessionId !== sessionId && !allowSwitch) {

Callers 1

processTranscriptPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected