MCPcopy Create free account
hub / github.com/Work-Fisher/code-claw / currentSession

Function currentSession

ai-code-studio/src/app/helpers.ts:58–61  ·  view source on GitHub ↗
(snapshot: Snapshot)

Source from the content-addressed store, hash-verified

56}
57
58export function currentSession(snapshot: Snapshot) {
59 const selected = snapshot.sessions.selectedSessionId || snapshot.run.sessionId;
60 return snapshot.sessions.items.find(item => item.sessionId === selected) || null;
61}
62
63export function buildFeedEntries(snapshot: Snapshot) {
64 type OrderedFeedEntry = FeedEntry & { __order: number; __source: string };

Callers 1

AppFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected