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

Function saveMode

src/utils/sessionStorage.ts:2963–2965  ·  view source on GitHub ↗
(mode: 'coordinator' | 'normal')

Source from the content-addressed store, hash-verified

2961 * Cache-only here to avoid creating metadata-only session files at startup.
2962 */
2963export function saveMode(mode: 'coordinator' | 'normal'): void {
2964 getProject().currentSessionMode = mode
2965}
2966
2967/**
2968 * Record the session's worktree state for --resume. Written to disk by

Callers 6

runFunction · 0.85
clearConversationFunction · 0.85
onSelectFunction · 0.85
REPLFunction · 0.85
loadInitialMessagesFunction · 0.85

Calls 1

getProjectFunction · 0.85

Tested by

no test coverage detected