<feed xmlns='http://www.w3.org/2005/Atom'>
<title>claude-plugins-official.git/plugins/security-guidance/tests/test_custom_headers.py, branch bump/cloud-sql-sqlserver</title>
<subtitle>Official Claude Code plugin directory
</subtitle>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/'/>
<entry>
<title>security-guidance: report gateway routing and inner CLI stderr in review telemetry</title>
<updated>2026-10-14T12:12:30+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-10-14T12:12:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=c45209fd0c089108e0468ed282bd4dc0dae361a4'/>
<id>c45209fd0c089108e0468ed282bd4dc0dae361a4</id>
<content type='text'>
Review rows gain two diagnostic keys, appended last so they never displace
an existing key:

- gateway_cfg: 1 when ANTHROPIC_BASE_URL names a host other than
  api.anthropic.com, 2 when ANTHROPIC_CUSTOM_HEADERS lines are sent, 3 for
  both. A number only: no host, header name or value.
- child_stderr: lines the inner CLI wrote to stderr during a commit or
  push review.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Review rows gain two diagnostic keys, appended last so they never displace
an existing key:

- gateway_cfg: 1 when ANTHROPIC_BASE_URL names a host other than
  api.anthropic.com, 2 when ANTHROPIC_CUSTOM_HEADERS lines are sent, 3 for
  both. A number only: no host, header name or value.
- child_stderr: lines the inner CLI wrote to stderr during a commit or
  push review.
</pre>
</div>
</content>
</entry>
<entry>
<title>security-guidance: send ANTHROPIC_CUSTOM_HEADERS on the plugin's own API calls</title>
<updated>2026-10-09T16:04:08+00:00</updated>
<author>
<name>Mohamed Hegazy</name>
<email>mhegazy@anthropic.com</email>
</author>
<published>2026-10-08T01:00:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.1991861.xyz/claude-plugins-official.git/commit/?id=860b93cb3898d30683ef9b1b70755d4fb0c2ff57'/>
<id>860b93cb3898d30683ef9b1b70755d4fb0c2ff57</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
</feed>
