MCPcopy Create free account
hub / github.com/anus-dev/ANUS / handleUpdateInfo

Function handleUpdateInfo

packages/cli/src/utils/handleAutoUpdate.ts:125–133  ·  view source on GitHub ↗
(data: { message: string })

Source from the content-addressed store, hash-verified

123 };
124
125 const handleUpdateInfo = (data: { message: string }) => {
126 addItem(
127 {
128 type: MessageType.INFO,
129 text: data.message,
130 },
131 Date.now(),
132 );
133 };
134
135 updateEventEmitter.on('update-received', handleUpdateRecieved);
136 updateEventEmitter.on('update-failed', handleUpdateFailed);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected