Repository navigation
Optional clientName for tools built on the SDK - #15
Conversation
Tools and integrations that wrap the SDK can name themselves. The name goes ahead of the SDK's own name in the client headers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017B6pTTFVhKWwcKLit7MEdz
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Tools and integrations built on the SDK can pass
clientName(for examplemy-app/1.2.0). It goes ahead of the SDK's own name in the client headers. An invalid value throws aTypeErrorin the constructor. The README documents the option.🤖 Generated with Claude Code
https://claude.ai/code/session_017B6pTTFVhKWwcKLit7MEdz
Summary by CodeRabbit
clientNamesetting to identify a published tool or integration in request headers, ahead of the SDK identifier.TypeError; omitting the setting preserves the existing SDK identifier.