mirror of
https://gitverse.ru/anarchic/claude-code
synced 2026-05-03 15:00:37 +00:00
10 lines
281 B
TypeScript
10 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}`
|
|
}
|