mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-15 21:05:51 +00:00
11 lines
281 B
TypeScript
11 lines
281 B
TypeScript
/**
|
|
* 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}`
|
|
}
|