Repository navigation
Conversation
Require explicit DELETE bodies for archive and delete actions so callers can supply the real space ID. Correct MCP, knowledge, collection, admin, credential and upload examples, including nonempty batch requests. Keep CLI help, usage guidance and integration inputs consistent. Add semantic example checks and HTTP-boundary DELETE regression coverage.
|
|
已按两点处理:
为什么有时是 bk-cli aidev get_skill --skill_id 1 --space_id demo-space
bk-cli aidev archive_skill --skill_id 1 --body '{"space_id":"demo-space"}'CLI 还有一个独立的设计选择:YAML action 只为 path/query 字段生成命名 flag,JSON body 字段统一由 让 body 中的 |
|
@robot-wklken docs/user-guide.md 中也不应该加上aidev 的示例, 子系统的只加入各自的skills |
Remove AIDev action examples and dedicated upload and DELETE guidance from the general user guide. Point readers to the existing system skills, which already cover these workflows.
|
已核实这条意见并修正文档:移除了 本次提交只修改用户指南。文档范围、skill 覆盖、相对链接、代码块及 |
Merge current master to include AIDev TencentBlueKing#21 and its DELETE-body fixes from TencentBlueKing#47. Refresh the v0.2.9 draft and restore the missing v0.2.8 repository changelog from the existing release notes while preserving earlier history.
Fixes #46
修复 PR #21 review 报告中的 8 条高、4 条中级问题。五个归档/删除 action 现在要求显式提供包含真实
space_id的 DELETE body,缺少 body 时在读取凭据前返回本地输入错误,并提供 body schema 和完整示例。共享请求层已有 DELETE body 支持,继续复用该路径。同步修正 CLI help、AIDev usage skill 和集成用例中的 MCP 服务地址及凭证 ID、知识文档相对路径与制品 URL、ZIP 目标目录、非空 system 消息、文档更新选择器、管理员清单、上传模块、自定义凭证字段,以及批量/跨空间请求的非空资源列表。补充知识列表空间限制、标签范围和
url/upload_url的说明。验证:
make fmt、make lint(0 issues)、make test(26 suites)和make build通过。本环境没有 Docker,集成验证使用相同 mock 和 runner 在本地执行。私有 AIDev 服务及真实网关未调用;HTTP 边界和 mock 验证证明 CLI 发送了 DELETE JSON body,实际部署的网关转发行为仍依赖其资源配置。