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