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

Function requestSessionList

app/src/modules/sessions.js:52–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50}
51
52function requestSessionList() {
53 if (S.ws && S.ws.readyState === WebSocket.OPEN) {
54 $('session-list').innerHTML = '<div class="drawer-loading">Loading...</div>';
55 S.ws.send(JSON.stringify({ type: 'list_sessions' }));
56 }
57}
58
59export function renderSessionList(sessions) {
60 sessionListCache = sessions;

Callers 1

openSessionDrawerFunction · 0.70

Calls 1

$Function · 0.90

Tested by

no test coverage detected