MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / build

Function build

ui-tui/src/lib/subagentTree.ts:40–45  ·  view source on GitHub ↗
(item: SubagentProgress)

Source from the content-addressed store, hash-verified

38 }
39
40 const build = (item: SubagentProgress): SubagentNode => {
41 const kids = byParent.get(item.id) ?? []
42 const children = kids.map(build)
43
44 return { aggregate: aggregate(item, children), children, item }
45 }
46
47 return (byParent.get(ROOT_KEY) ?? []).map(build)
48}

Callers 2

build-dev.mjsFile · 0.85
build.mjsFile · 0.85

Calls 2

aggregateFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected