userAgent.ts
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 8 export function getClaudeCodeUserAgent(): string { 9 return `claude-code/${MACRO.VERSION}` 10 }