"""Claude Code direct anthropic subscription fetcher.

claude-code runs direct on the anthropic subscription — its model list IS
anthropic's Claude catalog. No Meridian daemon or proxy is queried; models
are pulled from the already-registered static MODELS registry."""
from __future__ import annotations

from typing import Any


def _fetch_claude_code(provider_id: str, timeout: float) -> Any:
    # claude-code runs DIRECT on the anthropic subscription — its model list
    # IS anthropic's Claude catalog (no Meridian daemon to query).
    from openprogram.providers.models_generated import MODELS
    items = []
    for m in MODELS.values():
        if m.provider == "anthropic" and m.id.startswith("claude"):
            items.append({"id": m.id})
    return items
