Repository navigation
MCP 新增命令:跨轨道移动、复制片段、保存/切换工程、导出剪映草稿 - #82
Open
devin-ai-integration[bot] wants to merge 4 commits into
Open
devin-ai-integration[bot] wants to merge 4 commits into
devin-ai-integration[bot] wants to merge 4 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Author
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
devin-ai-integration
Bot
force-pushed
the
devin/1796488522-mcp-commands
branch
from
December 5, 2026 16:43
900bd4a to
24e58d0
Compare
devin-ai-integration
Bot
force-pushed
the
devin/1796488522-mcp-commands
branch
from
December 5, 2026 16:45
24e58d0 to
1b75656
Compare
Contributor
Author
There was a problem hiding this comment.
Devin Review found 3 findings. Devin automatically fixed all 3 findings.
Fixed by Devin (3)
- Redo drops clips moved to new tracks — move_clip re-reads the inserted track from the reactive trackList before pushing, so history sees the insertion.
- Queued edits reach the outgoing project — switchingProject is now checked when the queued command's turn comes.
- Failed project saves report success — Autosave records projectState.saveError and clears the saved snapshot on failure; save() throws when the write failed, and the next save retries.
…ianYing drafts Co-Authored-By: zhangxiang chen <x007xyzabc@gmail.com>
Co-Authored-By: zhangxiang chen <x007xyzabc@gmail.com>
Co-Authored-By: zhangxiang chen <x007xyzabc@gmail.com>
Co-Authored-By: zhangxiang chen <x007xyzabc@gmail.com>
devin-ai-integration
Bot
force-pushed
the
devin/1796488006-timeline-markers
branch
from
December 5, 2026 16:50
803ef60 to
1a2914d
Compare
devin-ai-integration
Bot
force-pushed
the
devin/1796488522-mcp-commands
branch
from
December 5, 2026 16:50
d546e50 to
300e464
Compare
Open
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
补全 MCP 命令,AI 可以重排片段、管理工程、导出剪映草稿。叠在 #81 上。
move_clip({ clipId, line | newLine, start? })copy_clips({ clipIds, start? })trackState.insertCopies(新导出),和界面上的复制/粘贴一样,保持片段之间的相对时间和上下层次;默认接在最后一个源片段后面list_projects/save_project({ name? })save_project调用新增的projectState.save(),也就是自动保存用的那个 flushcreate_project/open_projectswitchTo(id, { deferReload: true })先返回结果,300ms 后再刷新;刷新前后续命令直接报错,编辑器重连后再调用export_jianying({ draftRoot? })buildCurrentJianyingDraft()(src/utils/jianyingExport.ts),zip 在浏览器里下载;draftRoot默认用上次填的草稿位置export_video和export_jianying都改用downloadBlob()下载。测试:新增 MCP e2e,覆盖复制、移到新轨道和已有轨道(重叠和类型不符时报错)、导出剪映草稿、保存/新建/切换工程,以及重连后时间轴恢复。
Link to Devin session: https://app.devin.ai/sessions/a882af08b80c444280600c6cdc988c2e
Open in Devin Desktop: https://app.devin.ai/desktop/session/a882af08b80c444280600c6cdc988c2e?variant=devin
Requested by: @x007xyz
🟢 Devin Review found nothing to fix · View findings · Follow Devin's work