Register Anthropic access-review connector

Add the ANTHROPIC connector_provider enum value, its migration, and the
GraphQL enum binding, then register the provider as an API-key connector
that authenticates via x-api-key.

The probe URL is left empty because the shared connection probe cannot
send the required anthropic-version header and would misreport a valid
key; a dead key surfaces on the first member fetch instead.

Signed-off-by: Aurélien Sibiril <81782+aureliensibiril@users.noreply.github.com>
This commit is contained in:
Aurélien Sibiril
2026-05-28 22:04:01 +02:00
parent 50093c9d19
commit 83b48333d8
5 changed files with 73 additions and 1 deletions

View File

@@ -50,6 +50,7 @@ const (
ConnectorProviderVercel ConnectorProvider = "VERCEL"
ConnectorProviderMonday ConnectorProvider = "MONDAY"
ConnectorProviderTailscale ConnectorProvider = "TAILSCALE"
ConnectorProviderAnthropic ConnectorProvider = "ANTHROPIC"
)
var (
@@ -87,6 +88,7 @@ func ConnectorProviders() []ConnectorProvider {
ConnectorProviderVercel,
ConnectorProviderMonday,
ConnectorProviderTailscale,
ConnectorProviderAnthropic,
}
}
@@ -119,7 +121,8 @@ func (v ConnectorProvider) IsValid() bool {
ConnectorProviderClickUp,
ConnectorProviderVercel,
ConnectorProviderMonday,
ConnectorProviderTailscale:
ConnectorProviderTailscale,
ConnectorProviderAnthropic:
return true
}