/ mervelas / src / utils / userAgent.ts
Swadhin Biswas feat: implement mervelas cli engine, built-in tools, and reactive UI · 4/3/2026
0358986
13 lines · 341 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
/**
 * 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.
 */

import { PRODUCT_SLUG } from '../constants/product.js'

export function getClaudeCodeUserAgent(): string {
  return `${PRODUCT_SLUG}/${MACRO.VERSION}`
}