Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/UsefulSoftwareCo/executor
/ userAgentFor
Function
userAgentFor
packages/plugins/mcp/src/sdk/user-agent.ts:15–16 ·
view source on GitHub ↗
(headers: Readonly<Record<string, string>>)
Source
from the content-addressed store, hash-verified
13
: headers;
14
15
export
const
userAgentFor = (headers: Readonly<Record<string, string>>): string =>
16
configuredUserAgent(headers) ?? DEFAULT_USER_AGENT;
Callers
1
probeMcpEndpointShape
Function · 0.90
Calls
1
configuredUserAgent
Function · 0.85
Tested by
no test coverage detected