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

Method submitResult

src/proxy/extensions/sessionHandler.js:98–115  ·  view source on GitHub ↗
({ sessionId, taskId, resultAssetId, summary } = {})

Source from the content-addressed store, hash-verified

96 }
97
98 submitResult({ sessionId, taskId, resultAssetId, summary } = {}) {
99 if (!sessionId) throw new Error('sessionId is required');
100 if (!taskId) throw new Error('taskId is required');
101
102 const safeSummary = typeof summary === 'string' ? summary.slice(0, 200) : '';
103
104 return this.store.send({
105 type: 'session_submit',
106 payload: {
107 session_id: sessionId,
108 task_id: taskId,
109 result_asset_id: resultAssetId || null,
110 summary: safeSummary,
111 submitted_at: new Date().toISOString(),
112 },
113 priority: 'high',
114 });
115 }
116
117 pollInvites({ limit } = {}) {
118 return this.store.poll({

Callers 2

extensions.test.jsFile · 0.80
buildRoutesFunction · 0.80

Calls 1

sendMethod · 0.45

Tested by

no test coverage detected