Skip to content

fix(compat): fix canonical query slug resolution for clawhub install#227

Merged
wowo-zZ merged 1 commit intomainfrom
fix/issue-218-clawhub-canonical-query
Apr 3, 2026
Merged

fix(compat): fix canonical query slug resolution for clawhub install#227
wowo-zZ merged 1 commit intomainfrom
fix/issue-218-clawhub-canonical-query

Conversation

@dongmucat
Copy link
Copy Markdown
Collaborator

概述

修复 #218clawhub install my-namespace--my-skill 在 query 版 resolve/download 路径返回 404。

变更内容

  • 修复 /api/v1/resolve?slug=.../api/v1/download?slug=... 的 canonical slug 解析
  • 保留 legacy slug 查询兼容行为(先 legacy 查找,未命中再 canonical/global 回退)
  • 新增兼容层回归测试:canonical + legacy 的 resolve/download query 场景

测试覆盖

  • ClawHubCompatControllerTest:9/9 通过
  • make test-backend-app:371 tests, 0 failures

API Drift

  • 无 OpenAPI schema 变更

Related to #218

@wowo-zZ wowo-zZ merged commit 0b84e4e into main Apr 3, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants