v1.18.1
Patch Changes
-
a18c7bf: Fix scoped registry resolution to respect skills.json registries
Bug Fix:
resolveRegistryUrlnow reads@scope-prefixed entries fromskills.jsonregistriesand passes them togetRegistryUrlascustomRegistries- Previously, only the hardcoded
REGISTRY_SCOPE_MAPwas used for scope→registry resolution, ignoring user-configured scope mappings inskills.json - Custom scope registries in
skills.jsontake priority over hardcoded defaults, with fallback to the hardcoded map for backward compatibility
修复 scoped registry 解析逻辑,使其读取 skills.json 中的 registries 配置
Bug 修复:
resolveRegistryUrl现在会从skills.json的registries中提取@scope开头的条目,作为customRegistries传递给getRegistryUrl- 之前仅使用硬编码的
REGISTRY_SCOPE_MAP进行 scope→registry 解析,忽略了用户在skills.json中配置的 scope 映射 skills.json中的自定义 scope 配置优先于硬编码默认值,未配置时仍回退到硬编码映射,保持向后兼容