()
| 54 | // operators match in robots.txt); the claude-code suffix lets them distinguish |
| 55 | // local CLI traffic from claude.ai server-side fetches. |
| 56 | export function getWebFetchUserAgent(): string { |
| 57 | return `Claude-User (${getClaudeCodeUserAgent()}; +https://support.anthropic.com/)` |
| 58 | } |
| 59 | |
| 60 | export type AuthHeaders = { |
| 61 | headers: Record<string, string> |
no test coverage detected