/** * Builtin provider profile for Anthropic Claude. * * This is the canonical registry entry for the `anthropic` transport. * It is registered automatically at boot by the provider registry and can * be overridden by a user plugin at `${CLEO_HOME}/plugins/model-providers/`. * * @task T9262 * @task T9302 * @task T9344 * @epic T9261 (T-LLM-CRED-CENTRALIZATION Phase 3) */ import type { ProviderProfile } from '@cleocode/contracts'; /** * Canonical public Anthropic OAuth PKCE client ID. * * This is the same client_id used by Claude Code, Claude Desktop, pi-ai, * OpenCode, and Hermes Agent. Anthropic publishes it for first-party CLI * OAuth flows — no per-application registration is required. * * Source: `/mnt/projects/hermes-agent/agent/anthropic_adapter.py:1041` * (constant `_OAUTH_CLIENT_ID`). * * Override at runtime via `CLEO_ANTHROPIC_OAUTH_CLIENT_ID` env var if you * need to test with your own registered OAuth application. */ export declare const ANTHROPIC_OAUTH_CLIENT_ID = "9d1c250a-e61b-44d9-88ed-5944d1962f5e"; /** * Anthropic Claude provider profile. * * - `authTypes` includes both `api_key` (long-lived `sk-ant-*` keys) and * `oauth` (short-lived `sk-ant-oat-*` bearer tokens from Claude Code). * - `defaultHeaders` pins the stable `anthropic-version: 2023-06-01` API * version header required by all Anthropic Messages API requests. * - `fetchModels` is omitted — the Anthropic API does not expose a public * `/models` endpoint for arbitrary callers. Callers fall back to the * static model list maintained in `@cleocode/core/llm`. * - `oauth` configures the RFC 7636 PKCE flow used by `cleo llm login anthropic`. */ export declare const anthropicProfile: ProviderProfile; //# sourceMappingURL=anthropic.d.ts.map