-
Notifications
You must be signed in to change notification settings - Fork 359
[Bug] 关于 SkillHub 发布与安装流程的几个疑问 #327
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingeffort/m中等改动,存在一定协同成本 / Medium change with noticeable coordination cost.中等改动,存在一定协同成本 / Medium change with noticeable coordination cost.priority/p0最高优先级 / Highest priority triage bucket.最高优先级 / Highest priority triage bucket.risk/high涉及安全、鉴权、迁移或公共契约 / Touches security, auth, migrations, or public contracts.涉及安全、鉴权、迁移或公共契约 / Touches security, auth, migrations, or public contracts.triage/core交由 core maintainer 结合 AI 协同处理 / Issue should be handled by a core maintainer with AI support.交由 core maintainer 结合 AI 协同处理 / Issue should be handled by a core maintainer with AI support.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingeffort/m中等改动,存在一定协同成本 / Medium change with noticeable coordination cost.中等改动,存在一定协同成本 / Medium change with noticeable coordination cost.priority/p0最高优先级 / Highest priority triage bucket.最高优先级 / Highest priority triage bucket.risk/high涉及安全、鉴权、迁移或公共契约 / Touches security, auth, migrations, or public contracts.涉及安全、鉴权、迁移或公共契约 / Touches security, auth, migrations, or public contracts.triage/core交由 core maintainer 结合 AI 协同处理 / Issue should be handled by a core maintainer with AI support.交由 core maintainer 结合 AI 协同处理 / Issue should be handled by a core maintainer with AI support.
Summary
你好,我们团队最近在使用 SkillHub 过程中遇到了一些问题,想确认一下是否属于已知行为,还是 bug。
CLI 安装时会调用 /resolve?version=latest,但官方发布流程(POST /api/v1/skills/{ns}/publish)并不会自动给版本打 latest tag,导致所有非 global namespace 的 skill 安装必然报 "Skill not found"。请问打 latest tag 是否有标准流程?
通过 CLI(npx clawhub publish)发布时,无论 package.json 的 version 字段还是 --version 参数,服务端都会忽略,强制赋 yyyyMMdd.HHmmss 格式的时间戳版本。版本号只有写在 SKILL.md frontmatter 里才生效。这是预期行为吗?建议在文档中说明。
发布包含 Python 代码时,Scanner 会把 token=variable_name 这类普通关键字参数误判为密钥泄露并拦截发布。绕过方式是在请求中加 ?confirmWarnings=true,但此参数未在任何文档中提及,我们是通过反编译 jar 才找到的。能否在文档中说明?
PUT /api/v1/skills/{ns}/{slug}/versions/{version}/tags/{tag} 端点存在,但无论使用什么 token 均返回 403。请问这个接口是否需要特殊角色?如果普通用户无法操作,是否有替代方案?
调用 /api/v1/whoami 时,响应体是 schema 占位符(如 displayName: string),而非实际用户信息。怀疑是 mock 未关闭或 API gateway 配置问题。
CLI 内部有独立的 listTextFiles 过滤逻辑,服务端也有自己的扩展名白名单,两者不一致。常见运维文件(如 Dockerfile、deploy.env)无法通过 CLI 发布,必须手写 curl 请求。
以上问题我们已通过自写脚本绕过,但希望确认是否属于已知问题或规划中的改进项。感谢!
Steps To Reproduce
同上
Expected Behavior
同上
Environment
No response
API Contract Impact
No response
Logs Or Screenshots
No response