()
| 66 | // operators match in robots.txt); the claude-code suffix lets them distinguish |
| 67 | // local CLI traffic from claude.ai server-side fetches. |
| 68 | export function getWebFetchUserAgent(): string { |
| 69 | return `Claude-User (${getClaudeCodeUserAgent()}; +https://support.anthropic.com/)` |
| 70 | } |
| 71 | |
| 72 | export type AuthHeaders = { |
| 73 | headers: Record<string, string> |
no test coverage detected