MCPcopy Create free account
hub / github.com/HELPMEEADICE/doge-code / getCurrentSessionTitle

Function getCurrentSessionTitle

src/utils/sessionStorage.ts:2785–2793  ·  view source on GitHub ↗
(
  sessionId: SessionId,
)

Source from the content-addressed store, hash-verified

2783}
2784
2785export function getCurrentSessionTitle(
2786 sessionId: SessionId,
2787): string | undefined {
2788 // Only returns title for current session (the only one we cache)
2789 if (sessionId === getSessionId()) {
2790 return getProject().currentSessionTitle
2791 }
2792 return undefined
2793}
2794
2795export function getCurrentSessionAgentColor(): string | undefined {
2796 return getProject().currentSessionAgentColor

Callers 8

autoNameSessionFromPlanFunction · 0.85
buildPrimarySectionFunction · 0.85
printResumeHintFunction · 0.85
initReplBridgeFunction · 0.85
generateAndPatchFunction · 0.85
onUserMessageFunction · 0.85
REPLFunction · 0.85

Calls 2

getSessionIdFunction · 0.85
getProjectFunction · 0.85

Tested by

no test coverage detected