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

Function announce

graph-ui/src/agents/agent-source.ts:190–198  ·  view source on GitHub ↗
(patch: Partial<AgentSourceStatus>)

Source from the content-addressed store, hash-verified

188 let timer: ReturnType<typeof setTimeout> | undefined;
189
190 const announce = (patch: Partial<AgentSourceStatus>): void => {
191 setSource((current) => ({ project, value: {
192 ...(current.project === project ? current.value : { state: 'connecting', hello: undefined, error: '' }),
193 origin,
194 requests: requests.current,
195 drops: drops.current,
196 ...patch,
197 } }));
198 };
199
200 const connect = async (): Promise<void> => {
201 if (stopped) {

Callers 1

connectFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected