"""静态策略：直接使用 configs/countries/<country>.yaml 里写死的种子词，不做任何动态生成。"""
from typing import Any, Dict, List

from .base import SeedStrategy


class StaticStrategy(SeedStrategy):
    name = "static"

    def resolve(
        self,
        country: str,
        cc: Dict[str, Any],
        context: Dict[str, Any],
        llm_backend: Any = None,
    ) -> Dict[str, Any]:
        style = list((cc.get("style", {}) or {}).get("seeds", []) or [])
        related = list((cc.get("related", {}) or {}).get("seed_keywords", []) or [])
        return {
            "style_seeds": style,
            "related_seeds": related,
            "dynamic": False,
        }
