MCPcopy
hub / github.com/TanStack/ai / generateAgentName

Function generateAgentName

packages/ai-code-mode/src/agent-store.ts:38–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36}
37
38export function generateAgentName(): string {
39 const hex = Array.from({ length: 8 }, () =>
40 Math.floor(Math.random() * 16).toString(16),
41 ).join('')
42 return `agent_${hex}`
43}

Callers

nothing calls this directly

Calls 2

fromMethod · 0.80
toStringMethod · 0.80

Tested by

no test coverage detected