first commit

This commit is contained in:
Versun
2026-04-02 09:25:15 +08:00
commit 5513bcaa0e
1902 changed files with 513237 additions and 0 deletions

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