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

Method send

src/proxy/extensions/dmHandler.js:9–23  ·  view source on GitHub ↗
({ recipientNodeId, content, metadata } = {})

Source from the content-addressed store, hash-verified

7 }
8
9 send({ recipientNodeId, content, metadata } = {}) {
10 if (!recipientNodeId) throw new Error('recipientNodeId is required');
11 if (!content) throw new Error('content is required');
12
13 return this.store.send({
14 type: 'dm',
15 payload: {
16 recipient_node_id: recipientNodeId,
17 content,
18 metadata: metadata || {},
19 sent_at: new Date().toISOString(),
20 },
21 priority: 'normal',
22 });
23 }
24
25 poll({ limit } = {}) {
26 return this.store.poll({

Callers 6

createSessionMethod · 0.45
joinSessionMethod · 0.45
leaveSessionMethod · 0.45
sendMessageMethod · 0.45
delegateSubtaskMethod · 0.45
submitResultMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected