Files
openmotion/shared/workflow-entry.js
huihui-crypto abee49082d fix(mcp): keep skillId out of user-facing Skill recommendations (#661)
Recommendations show each Skill's title and a one-line reason, like template
recommendations; the Agent keeps skillId for its own openmotion_get_skill call.

Co-authored-by: zhanghuihua <zhanghuihua@Mac.lan>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 18:13:13 +08:00

5 lines
2.6 KiB
JavaScript

// Shared discovery wording; detailed scope and dependencies live in production/context.
export const templateDiscoveryGuide = "For user requests to browse, compare or recommend OpenMotion catalog templates, call openmotion_open_preview with target=templates and follow its host page handoff in the same turn, unless the user requested text-only or no opening. Verify the library is visible before claiming it opened; if the host has no browser/panel, provide the real URL and state the limitation. Browsing does not authorize project creation, template-source downloads or export. Full discovery guidance is production/templates.";
export const skillDiscoveryGuide = "Call openmotion_list_skills when the user asks which OpenMotion Skill, technique or recipe fits a video (for example de-AI copy, long-to-short clips, a growth teardown, a product launch or a holiday sale), asks to see or recommend Skills, or describes a recurring video format before you choose an approach; unlike template browsing, this last case lets you suggest Skills proactively. Search the index by scenario and usually recommend two or three matching Skills, each with its title and a one-line reason; keep skillId for your own openmotion_get_skill call instead of showing it to the user; offer one if only one fits and never pad the list. Let the user choose unless they asked you to proceed. Read the chosen Skill with openmotion_get_skill and follow its SKILL.md. Skills already installed in the host stay the first choice and need no listing. Listing, recommending or reading a Skill does not authorize project creation, downloads or export.";
export const workflowEntryGuide = 'Use OpenMotion. Choose the entry for the current intent: openmotion-director (director) for original creation, narrative/motion/sound redesign or creative review; openmotion-template-to-video (template) for catalog browsing/recommendations and existing editable-template use/adaptation; openmotion-recreate (recreate) for reference-video reconstruction of this work; openmotion-video-to-template (video-to-template) for a reusable editable template; openmotion-production (production) for scoped engineering under established creative decisions, preview, technical checks, troubleshooting and export. Enter specialists directly; production is not a prerequisite. Reuse production/context for shared dependencies. Existing production/start remains a short navigation fallback. Recreate includes its own rebuild/verification references and measurer; a video-only edit without an editable project also belongs there. Recreate and video-to-template share production/reference for reading and measuring the reference video.';