MCPcopy Create free account
hub / github.com/RioArisk/claudecode_api_RemoteControl / getSessionTitle

Function getSessionTitle

app/src/modules/sessions.js:10–12  ·  view source on GitHub ↗
(session)

Source from the content-addressed store, hash-verified

8export let sessionListCache = [];
9
10function getSessionTitle(session) {
11 return session.customTitle || session.summary || session.firstPrompt || 'Untitled';
12}
13
14function getSessionModifiedMs(session) {
15 const value = session.lastModified ?? session.modified ?? null;

Callers 2

renderSessionListFunction · 0.70
confirmSwitchSessionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected