MCPcopy Index your code
hub / github.com/codeaashu/claude-code / toAgentId

Function toAgentId

src/types/ids.ts:42–44  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

40 * Returns null if the string doesn't match (e.g. teammate names, team-addressing).
41 */
42export function toAgentId(s: string): AgentId | null {
43 return AGENT_ID_PATTERN.test(s) ? (s as AgentId) : null
44}
45

Callers 1

callFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected