MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / activeActors

Function activeActors

graph-ui/src/agents/agent-store.ts:220–224  ·  view source on GitHub ↗
(state: AgentsState, now: number)

Source from the content-addressed store, hash-verified

218
219/** Die Akteure, die gerade im Bild stehen, neueste Bewegung zuerst. */
220export function activeActors(state: AgentsState, now: number): ActorState[] {
221 return state.actors
222 .filter((actor) => isActive(actor, now))
223 .sort((a, b) => b.lastTs - a.lastTs || (a.id < b.id ? -1 : 1));
224}
225
226/**
227 * Der Aktivitaetsstreifen: je Sekunde die Zahl der Ereignisse.

Callers 2

buildAgentsViewFunction · 0.90

Calls 1

isActiveFunction · 0.85

Tested by

no test coverage detected