mirror of
https://github.com/nexu-io/openmotion.git
synced 2026-12-02 00:49:29 +08:00
* feat(mcp): split library Skills into openmotion_list_skills / openmotion_get_skill Skills no longer ride on the template tools. list_templates returns templates only (no kind=skill rows, no skillTotal) and get_template rejects Skill IDs with a pointer to openmotion_get_skill. The new tools reuse the same repository/hosted readers and content-addressed object store. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(studio): point Skill copy prompts and MCP examples to openmotion_get_skill Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix: register Skill tools in the MCP handbook and update tool-count tests - Templates capability lists openmotion_list_skills / openmotion_get_skill; technique studio scenarios compose openmotion_get_skill. - Tool counts +2; the WebMCP tracking integration test flushes between calls so 23 tools x 3 events stay within the bounded browser queue (64). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(mcp): ship Skill tools in CMS/package mode, add handbook capability and refresh counts - CMS mode reads the library/skills shipped with the application and never waits on the template publication, so list_skills/get_skill work offline and in the packaged phase-one ZIP. - Phase-one package E2E calls openmotion_list_skills and openmotion_get_skill. - Handbook gets a Skill-discovery capability (zh-CN copy included). - Growth teardown Skill reads its scripts via openmotion_get_skill. - Public counts: 18 MCP names (17 capabilities) and 23 WebMCP page tools. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: zhanghuihua <zhanghuihua@huihuideMacBook-Pro.local> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: zhanghuihua <zhanghuihua@Mac.lan>
2.7 KiB
2.7 KiB
Motion 效果扩展的职责边界
参考视频转模板(openmotion-video-to-template)交付可复用模板。Agent 自行决定并记录常规创作取舍,不询问创作偏好。需要付费生成且计划批次尚未获授权时,在提交请求前集中确认一次。已有模板的修改由 openmotion-template-to-video 处理,缺少用户才能提供的事实或素材时可以提问。
普通参考视频复刻由 openmotion-recreate 交付成片和可编辑工程。两种参考视频流程沿用共用的参考片分析和测量方法。模板沿用 HyperFrames,随包携带源码、素材、预览和编辑说明。技术检查与视觉验收分别记录。
当前分发与接口
- 五个正式入口均随一期插件和四宿主适配器分发。
openmotion-template-to-video使用openmotion://workflow/template/start,openmotion-video-to-template使用openmotion://workflow/video-to-template/start;短 workflow ID 保持兼容,读取不会启动服务或创建工程。 - Phase one exposes eighteen registered public Tool names, including one asset compatibility alias. Use
openmotion_get_projectfor project/file/job reads,openmotion_edit_projectfor managed source changes,openmotion_import_assetsfor batch imports andopenmotion_export_requestfor export and technical verification. - The two public catalog Tools provide the local template index and individual template details/instructions. Older standalone comparison, workflow-reading and template-management handlers remain internal compatibility only; Skills must not require those hidden calls. Existing private template files are preserved.
- 下载/分析参考、CLI 检查、原片对照视频与 ZIP 打包由宿主可用能力完成;工具不足须记录缺口。技术检查不代表人类视觉验收。
不改底座
插件名、MCP 服务名、安装脚本、用户数据目录和 Studio 端口沿用研发主干,本扩展不修改。安装路径、端口和数据目录变化必须独立验证,不能由内容 Skill 隐式修改。
验证边界
- 默认入口保持薄路由,模板专业入口指向真实 Skill;增加用户模板文件不得改变默认目录结果。
- 两条模板 Skill 均可发现并读取全部参考;历史模板文件保持可读取。比较 handler 的存在不代表一期公开可调用。
- 模板入口接入与视频转模板职责分开验证,不以既有视频外观结果代替新版本的运行验证;普通视频复刻由 openmotion-recreate 实现,各版本的实际验证范围单列,不自动认证融合版本。
- 不修改实验成品、生成素材或用户工程;扩展的合入沿用仓库 PR 与 CI 流程。