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

Function saveMode

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

Source from the content-addressed store, hash-verified

2877 * Cache-only here to avoid creating metadata-only session files at startup.
2878 */
2879export function saveMode(mode: 'coordinator' | 'normal'): void {
2880 getProject().currentSessionMode = mode
2881}
2882
2883/**
2884 * 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