MCPcopy Create free account
hub / github.com/Noumena-Network/code / clearSessionMetadata

Function clearSessionMetadata

src/utils/sessionStorage.ts:2972–2985  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2970 * from the previous session does not leak into the new one.
2971 */
2972export function clearSessionMetadata(): void {
2973 const project = getProject()
2974 project.currentSessionTitle = undefined
2975 project.currentSessionTag = undefined
2976 project.currentSessionAgentName = undefined
2977 project.currentSessionAgentColor = undefined
2978 project.currentSessionLastPrompt = undefined
2979 project.currentSessionAgentSetting = undefined
2980 project.currentSessionMode = undefined
2981 project.currentSessionWorktree = undefined
2982 project.currentSessionPrNumber = undefined
2983 project.currentSessionPrUrl = undefined
2984 project.currentSessionPrRepository = undefined
2985}
2986
2987/**
2988 * Re-append cached session metadata (custom title, tag) to the end of the

Callers 2

clearConversationFunction · 0.85

Calls 1

getProjectFunction · 0.85

Tested by

no test coverage detected