mirror of
http://10.0.2.1:3031/sauer/claude-code.git
synced 2026-06-30 11:26:58 +10: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}`
|
||
|
|
}
|