diff options
| author | Mohamed Hegazy <mhegazy@anthropic.com> | 2026-10-08 01:00:45 +0000 |
|---|---|---|
| committer | Claude <noreply@anthropic.com> | 2026-10-09 16:04:08 +0000 |
| commit | 860b93cb3898d30683ef9b1b70755d4fb0c2ff57 (patch) | |
| tree | 73b675981e0f318bbfd9b8a408ad253cda1f514b /plugins/code-modernization/scripts | |
| parent | ac996c0dde7fb2a9f805cd5277ffc95ecd44a321 (diff) | |
security-guidance: send ANTHROPIC_CUSTOM_HEADERS on the plugin's own API callsmhegazy/sg-gateway-headers
The plugin's own API calls (the /v1/models lookup and the review itself)
never sent ANTHROPIC_CUSTOM_HEADERS, so a gateway that takes its key in a
custom header answered 401 and reviews never ran
(anthropics/claude-code#99857).
The headers are now parsed the way Claude Code parses them (one
`Name: Value` per line, split at the first colon) and sent on every call.
A custom line replaces a header of the same name. anthropic-beta lines are
not forwarded: the review needs none of the user's betas.
Diffstat (limited to 'plugins/code-modernization/scripts')
0 files changed, 0 insertions, 0 deletions
