The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix: accept the live ClawHub version-list response shape
Teknium727c2d752572
diff --git a/tests/tools/test_clawhub_owner_http.py b/tests/tools/test_clawhub_owner_http.pyindex 0a31f13b39d..90149e686df 100644--- a/tests/tools/test_clawhub_owner_http.py+++ b/tests/tools/test_clawhub_owner_http.py@@ -35,7 +35,7 @@ def registry(*, fallback=False, mismatch=False):archive.writestr("SKILL.md", "# Alice fixture")payload = buf.getvalue()elif url.path.endswith("/versions"):- payload = [{"version": "1.0"}]+ payload = {"items": [{"version": "1.0"}]} if fallback else [{"version": "1.0"}]elif url.path.endswith("/versions/1.0"):payload = {"files": {"SKILL.md": "# Alice fixture"}}else:diff --git a/tools/skills_hub_clawhub.py b/tools/skills_hub_clawhub.pyindex c2d40b54f9a..807f3274864 100644--- a/tools/skills_hub_clawhub.py+++ b/tools/skills_hub_clawhub.py@@ -347,6 +347,8 @@ class ClawHubSource(GuardedFetchMixin, SkillSource):return versionvd = self._get_json(f"{self.BASE_URL}/skills/{slug}/versions",params={"owner": owner} if owner else None)+ if isinstance(vd, dict):+ vd = vd.get("items")return _first_str(vd[0].get("version")) if isinstance(vd, list) and vd and isinstance(vd[0], dict) else Nonedef _fetch_owner_handle(self, slug: str) -> Optional[str]: