MCPcopy
hub / github.com/codeaashu/claude-code / asAgentId

Function asAgentId

src/types/ids.ts:31–33  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

29 * Use sparingly - prefer createAgentId() when possible.
30 */
31export function asAgentId(id: string): AgentId {
32 return id as AgentId
33}
34
35const AGENT_ID_PATTERN = /^a(?:.+-)?[0-9a-f]{16}$/
36

Callers 13

resumeAgentBackgroundFunction · 0.85
runAsyncAgentLifecycleFunction · 0.85
cleanupWorktreeIfNeededFunction · 0.85
callFunction · 0.85
appendEntryMethod · 0.85
loadSubagentTranscriptsFunction · 0.85
execAgentHookFunction · 0.85
clearConversationFunction · 0.85
REPLFunction · 0.85
registerMainSessionTaskFunction · 0.85
registerAsyncAgentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected