mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-17 22:05:50 +00:00
feat: build
This commit is contained in:
10
src/utils/userAgent.ts
Normal file
10
src/utils/userAgent.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
/**
|
||||
* User-Agent string helpers.
|
||||
*
|
||||
* Kept dependency-free so SDK-bundled code (bridge, cli/transports) can
|
||||
* import without pulling in auth.ts and its transitive dependency tree.
|
||||
*/
|
||||
|
||||
export function getClaudeCodeUserAgent(): string {
|
||||
return `claude-code/${MACRO.VERSION}`
|
||||
}
|
||||
Reference in New Issue
Block a user