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

Function saveAgentSetting

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

Source from the content-addressed store, hash-verified

2859 * Cache-only here to avoid creating metadata-only session files at startup.
2860 */
2861export function saveAgentSetting(agentSetting: string): void {
2862 getProject().currentSessionAgentSetting = agentSetting
2863}
2864
2865/**
2866 * 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