container-skill-manifest.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536
  1. {
  2. "$comment": "容器技能下发清单(2026-12-03)。provision.sh 开通时按此清单把技能装进容器 /opt/data/skills/<scope>/<name>/;scripts/refresh-container-skills.mjs 按同一清单刷新存量容器。新增或替换技能只改这里,不改脚本。",
  3. "version": 1,
  4. "skills": [
  5. {
  6. "name": "container-wecom-setup",
  7. "scope": "custom",
  8. "source": "cloud/skills/container-wecom-setup",
  9. "files": ["SKILL.md", "wecom_setup.py"],
  10. "executable": ["wecom_setup.py"],
  11. "owner": "hermes:hermes",
  12. "required": true,
  13. "reason": "用户后续要接企微时,容器必须能自己读写 config.yaml/.env 并重启网关;缺这个技能时容器会误走企微云端微服务路径、向用户索取 Fmode 登录态(2026-12-03 实测)。"
  14. },
  15. {
  16. "name": "container-stop-remove",
  17. "scope": "custom",
  18. "source": "cloud/skills/container-stop-remove",
  19. "files": ["SKILL.md"],
  20. "owner": "hermes:hermes",
  21. "required": false,
  22. "disabled": true,
  23. "reason": "⚠️ 暂不下发(disabled)。它操作的是 R730 上所有容器(含别人的),装进用户容器等于给用户一个能停别人服务的工具。宿主侧手动使用即可。"
  24. }
  25. ],
  26. "excluded": [
  27. {
  28. "name": "container-provision-job",
  29. "reason": "开通执行器,在宿主机侧以 root 运行,绝不能进容器(容器内不应具备创建其他容器的权限)。"
  30. },
  31. {
  32. "name": "container-stop-remove",
  33. "reason": "停止/删除容器(影响 R730 全局),属宿主侧运维技能,只在宿主机用。"
  34. }
  35. ]
  36. }