MCPcopy
hub / github.com/ResearAI/DeepScientist / push

Function push

src/ui/e2e/terminal-workspace.spec.ts:28–34  ·  view source on GitHub ↗
(type: string, detail: string)

Source from the content-addressed store, hash-verified

26 const timeline: Array<{ t: number; type: string; detail: string }> = []
27
28 const push = (type: string, detail: string) => {
29 timeline.push({
30 t: Date.now() - startedAt,
31 type,
32 detail,
33 })
34 }
35
36 page.on('console', (msg) => {
37 push('console', `${msg.type()}: ${msg.text()}`)

Callers 1

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected