MCPcopy Create free account
hub / github.com/EvoMap/evolver / getLastSignals

Function getLastSignals

index.js:529–536  ·  view source on GitHub ↗
(statePath)

Source from the content-addressed store, hash-verified

527}
528
529function getLastSignals(statePath) {
530 try {
531 const st = readJsonSafe(statePath);
532 return (st && st.last_run && Array.isArray(st.last_run.signals)) ? st.last_run.signals : [];
533 } catch (e) {
534 return [];
535 }
536}
537
538// Singleton Guard - prevent multiple evolver daemon instances.
539//

Callers 1

mainFunction · 0.85

Calls 1

readJsonSafeFunction · 0.70

Tested by

no test coverage detected