MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / getUserAgentsAsLocalInfo

Function getUserAgentsAsLocalInfo

cli/src/utils/local-agent-registry.ts:154–160  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

152 * Get user agents from the cache as LocalAgentInfo[]
153 */
154const getUserAgentsAsLocalInfo = (): LocalAgentInfo[] => {
155 return Object.values(userAgentsCache).map((def) => ({
156 id: def.id,
157 displayName: def.displayName || def.id,
158 filePath: userAgentFilePaths.get(def.id) || '',
159 }))
160}
161
162/**
163 * Get user agents from the cache as AgentDefinition[]

Callers 1

loadLocalAgentsFunction · 0.85

Calls 1

getMethod · 0.65

Tested by

no test coverage detected