Open source CapCut alternative.
TypeScript
test(eval): expect media.caption for the korean clip
David Lede500c0f9775
diff --git a/apps/Donkey/Tests/DonkeyRuntimeTests/Fixtures/HarnessEval/korean-clip-overlay/scenario.json b/apps/Donkey/Tests/DonkeyRuntimeTests/Fixtures/HarnessEval/korean-clip-overlay/scenario.jsonindex 023732df..3db1516a 100644--- a/apps/Donkey/Tests/DonkeyRuntimeTests/Fixtures/HarnessEval/korean-clip-overlay/scenario.json+++ b/apps/Donkey/Tests/DonkeyRuntimeTests/Fixtures/HarnessEval/korean-clip-overlay/scenario.json@@ -2,17 +2,17 @@"frontmostApp": "Safari","maxSteps": 16,"responses": [- { "tool": "shell_exec", "contains": ["yt-dlp"], "summary": "[download] 100% of 12.50MiB\n~/Downloads/clip.webm", "produces": ["~/Downloads/clip.webm"] },- { "tool": "shell_exec", "contains": ["ffprobe"], "summary": "duration=60.000000\nformat_name=matroska,webm" },- { "tool": "llm.generate", "summary": "Transcribed and translated to Korean → ~/Downloads/subs.srt", "produces": ["~/Downloads/subs.srt"] },- { "tool": "files.write", "summary": "Wrote ~/Downloads/subs.srt", "produces": ["~/Downloads/subs.srt"] },- { "tool": "shell_exec", "contains": ["ffmpeg", "subtitles"], "summary": "Burned Korean subtitles → ~/Downloads/out.mp4", "produces": ["~/Downloads/out.mp4"] }+ { "tool": "shell_exec", "contains": ["yt-dlp"], "summary": "[download] 100% of 12.50MiB\n~/Downloads/clip.mp4", "produces": ["~/Downloads/clip.mp4"] },+ { "tool": "media.caption", "summary": "Captioned (translated to Korean) → ~/Downloads/clip-captioned.mp4", "produces": ["~/Downloads/clip-captioned.mp4"] }],"expect": {"turnKind": "act","skills": ["media"],- "shellAll": [["yt-dlp"], ["ffmpeg", "subtitles"]],- "used": ["llm.generate"],+ "used": ["media.caption"],+ "notUsed": ["llm.generate"],+ "toolInput": [+ { "tool": "media.caption", "contains": ["Korean"] }+ ],"completed": true}}