Skip to content

feat: attribute CLI traffic as client=cli#74

Merged
a-essawy merged 1 commit into
mainfrom
feat/attribute-cli-client
Jun 28, 2026
Merged

feat: attribute CLI traffic as client=cli#74
a-essawy merged 1 commit into
mainfrom
feat/attribute-cli-client

Conversation

@a-essawy

Copy link
Copy Markdown
Contributor

SDK 3.3.0 added a client option that sets the X-Rendobar-Client header for usage attribution (default "sdk"). The SDK doc comment calls out that wrappers should override it so their traffic is attributed distinctly.

This wires it into the CLI:

  • New src/lib/client.tscreateCliClient(config) injects client: "cli".
  • All four createClient call sites (ffmpeg, whoami, login ×2) now go through it, so every CLI-originated job/upload/request is tagged cli in usage analytics instead of sdk.
  • Bumps @rendobar/sdk ^3.1.0^3.3.0 (the client option landed in 3.3.0; also pulls in 3.2.0 multi-region dispatch reliability into the shipped binary).

Typecheck clean, 134/134 tests pass.

@a-essawy a-essawy force-pushed the feat/attribute-cli-client branch from 397287d to 946dbbc Compare June 28, 2026 04:41
@a-essawy a-essawy merged commit f9058c3 into main Jun 28, 2026
2 checks passed
@a-essawy a-essawy deleted the feat/attribute-cli-client branch June 28, 2026 04:42
@a-essawy a-essawy mentioned this pull request Jun 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant