init: add source code from src.zip

This commit is contained in:
sigridjineth
2026-03-31 01:55:58 -07:00
commit f5a40b86de
1902 changed files with 513237 additions and 0 deletions

10
src/utils/userAgent.ts Normal file
View File

@@ -0,0 +1,10 @@
/**
* 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}`
}