Summary
Outbound requests routed through OpenCodex appear upstream with only the runtime User-Agent Bun/1.3.14. This makes OpenCodex traffic difficult to distinguish from direct Bun clients.
Evidence
The provider usage panel reports:
USER-AGENT: Bun/1.3.14
Observed on a Windows OpenCodex setup using an OpenAI Responses-compatible /v1/responses route. No credentials, prompts, or personal data are included.
Expected behavior
OpenCodex should send a stable product-specific User-Agent, for example:
OpenCodex/<version> (Bun/1.3.14)
or provide a configurable OpenCodex client identifier while retaining the Bun runtime version as secondary metadata.
Actual behavior
Only Bun/1.3.14 is visible upstream.
Why this matters
- Distinguishes OpenCodex traffic from direct Bun clients.
- Improves provider-side debugging and request attribution.
- Helps correlate usage and transport issues without inspecting request bodies.
Acceptance criteria
- Outbound requests include an OpenCodex-specific User-Agent token.
- The bundled runtime version may remain in the header.
- Existing custom User-Agent behavior, if configured, is preserved or documented.
- No secrets or request content are logged or exposed.
Checks
Summary
Outbound requests routed through OpenCodex appear upstream with only the runtime User-Agent
Bun/1.3.14. This makes OpenCodex traffic difficult to distinguish from direct Bun clients.Evidence
The provider usage panel reports:
USER-AGENT: Bun/1.3.14Observed on a Windows OpenCodex setup using an OpenAI Responses-compatible
/v1/responsesroute. No credentials, prompts, or personal data are included.Expected behavior
OpenCodex should send a stable product-specific User-Agent, for example:
OpenCodex/<version> (Bun/1.3.14)or provide a configurable OpenCodex client identifier while retaining the Bun runtime version as secondary metadata.
Actual behavior
Only
Bun/1.3.14is visible upstream.Why this matters
Acceptance criteria
Checks