import CoreModel /// 个人资料仓库协议(定义在 domain 层,实现放 CoreRepository)。 public protocol ProfileRepository: Sendable { /// Kotlin: Flow → Swift: AsyncThrowingStream func observeProfile() -> AsyncThrowingStream }