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