sync update from LAN repo (source master @ ca48c4ec)

This commit is contained in:
gozeros committed 2026-11-05 10:53:54 +08:00
1 parent 8bc8b0e082
commit ea9dcff9c0
873 files changed
+107866 -14011

No files matched your search

@@ -95,6 +95,15 @@ class SkillStore(ABC):
"""
raise NotImplementedError
async def list_name_zh(self, names: list[str]) -> dict[str, str]:
"""Map skill names to their configured Chinese display names.
Only names that have a non-empty ``name_zh`` are returned. The default
is empty so stores that have not implemented the lookup stay safe.
"""
del names
return {}
@abstractmethod
async def list_favorite_skill_names(self, user_id: str) -> set[str]:
"""Return the skill names in ``user_id``'s "我的技能" collection.