MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / saveAgentSetting

Function saveAgentSetting

source code/utils/sessionStorage.ts:2863–2865  ·  view source on GitHub ↗
(agentSetting: string)

Source from the content-addressed store, hash-verified

2861 * Cache-only here to avoid creating metadata-only session files at startup.
2862 */
2863export function saveAgentSetting(agentSetting: string): void {
2864 getProject().currentSessionAgentSetting = agentSetting
2865}
2866
2867/**
2868 * Cache a session title set at startup (--name). Written to disk by

Callers 2

runFunction · 0.85
runHeadlessFunction · 0.85

Calls 1

getProjectFunction · 0.85

Tested by

no test coverage detected