feat(tenancy): implement workspace isolation

This commit is contained in:
Junyan Qin
2026-07-19 09:58:59 +08:00
parent 37099ddf7e
commit 8b7ce77cec
271 changed files with 31166 additions and 6513 deletions
+2 -2
View File
@@ -99,8 +99,8 @@ async def build_heartbeat_payload(ap: core_app.Application) -> dict:
# Skill count (from Box runtime via skill manager)
try:
skill_mgr = getattr(ap, 'skill_mgr', None)
if skill_mgr is not None and getattr(skill_mgr, 'skills', None) is not None:
features['skill_count'] = len(skill_mgr.skills)
if skill_mgr is not None:
features['skill_count'] = skill_mgr.total_cached_skill_count()
except Exception:
pass