"""Stub file helpers"""from__future__importannotationsfrompathlibimportPathdefensure_directory(path:str|Path)->Path:"""No-op helper that matches the production API."""returnPath(path)defget_r2x_cache_path()->Path:"""Return a stub cache path (overridden at runtime by the Rust bridge)."""returnPath.home()/".config"/"r2x"/"cache"