cli/pkg/cmd/factory
William Martin 268453803e fix(api): propagate InvokingAgent in gh api HTTP client
The gh api command builds its own HTTP client inline without
forwarding InvokingAgent, so the User-Agent header was missing
the Agent/<name> suffix when invoked by AI coding agents.

Thread InvokingAgent through Factory → ApiOptions → HTTPClientOptions,
mirroring the existing AppVersion pattern.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-26 16:55:16 +01:00
..
default.go fix(api): propagate InvokingAgent in gh api HTTP client 2026-03-26 16:55:16 +01:00
default_test.go Record agentic invocations in User-Agent header 2026-03-24 19:58:37 +01:00
remote_resolver.go Fix remoteResolver caching issue 2025-02-20 13:15:23 +01:00
remote_resolver_test.go Refactor remote resolver caching tests 2025-02-20 13:15:56 +01:00