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

Function shaped

graph-ui/tools/agent-bridge.mjs:227–236  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

225
226 /** Ein Ereignis so, wie es hinausgeht: im Wiedergabemodus auf jetzt geschoben. */
227 const shaped = (event) => {
228 if (mode !== 'replay') {
229 return event;
230 }
231 const ts = Number(event.ts);
232 if (!Number.isFinite(ts)) {
233 return { ...event, replay: true };
234 }
235 return { ...event, ts: ts + state.shift, ts_recorded: ts, replay: true };
236 };
237
238 const send = (client, name, payload) => {
239 try {

Callers 2

broadcastFunction · 0.85
startBridgeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected