MCPcopy
hub / github.com/ValueCell-ai/ClawX / isCurrentSession

Function isCurrentSession

src/stores/chat.ts:3003–3003  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3001
3002 const loadPromise = (async () => {
3003 const isCurrentSession = () => get().currentSessionKey === currentSessionKey;
3004 const getPreviewMergeKey = (message: RawMessage): string => (
3005 `${message.id ?? ''}|${message.role}|${message.timestamp ?? ''}|${getMessageText(message.content)}`
3006 );

Callers 5

applyLoadFailureFunction · 0.70
applyLoadedMessagesFunction · 0.70
loadGatewayHistoryFunction · 0.70

Calls 1

getFunction · 0.50

Tested by

no test coverage detected