MCPcopy Create free account
hub / github.com/apache/maka / desktopSessionKey

Function desktopSessionKey

apps/desktop/src/shared/runtime-host-identity.ts:15–17  ·  view source on GitHub ↗
(ref: DesktopSessionRef)

Source from the content-addressed store, hash-verified

13export interface DesktopTargetSessionRef extends DesktopSessionRef, DesktopTargetScope {}
14
15export function desktopSessionKey(ref: DesktopSessionRef): string {
16 return JSON.stringify([ref.hostId, ref.sessionId]);
17}
18
19export function parseDesktopSessionKey(value: string): DesktopSessionRef {
20 const parsed: unknown = JSON.parse(value);

Callers 14

sessionIdFunction · 0.85
subscribeChangesFunction · 0.85
attachFunction · 0.85
subscribePtyDataFunction · 0.85
subscribeResyncFunction · 0.85
threadFunction · 0.85
getStateFunction · 0.85
onStateFunction · 0.85
onLiveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected