MCPcopy
hub / github.com/nowork-studio/NotFair / newThread

Function newThread

notfair-cmo/src/components/thread-selector.tsx:117–122  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

115 }
116
117 function newThread() {
118 const id = crypto.randomUUID();
119 start(() =>
120 router.push(projectHref(projectSlug, `/agents/${agentSlug}/chat/${id}`)),
121 );
122 }
123
124 return (
125 <DropdownMenu>

Callers 1

ThreadSelectorFunction · 0.70

Calls 2

projectHrefFunction · 0.90
startFunction · 0.70

Tested by

no test coverage detected