MCPcopy
hub / github.com/nowork-studio/NotFair / LiveCounts

Interface LiveCounts

notfair-cmo/src/components/live-counts-context.tsx:23–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21 * read the new value actually update.
22 */
23export interface LiveCounts {
24 /** Project slug the counts belong to. null when no active project. */
25 project: string | null;
26 /** Map of agent_id → in-flight task count. */
27 agents: Record<string, number>;
28 /** Project-level actionable approvals count. */
29 approvals: number;
30}
31
32const LiveCountsContext = createContext<LiveCounts>({
33 project: null,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected