source dump of claude code
at main 10 lines 281 B view raw
1/** 2 * User-Agent string helpers. 3 * 4 * Kept dependency-free so SDK-bundled code (bridge, cli/transports) can 5 * import without pulling in auth.ts and its transitive dependency tree. 6 */ 7 8export function getClaudeCodeUserAgent(): string { 9 return `claude-code/${MACRO.VERSION}` 10}