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}`
|
|
}
|