The open-source full-stack studio for Opus 5.5 motion video. Reverse engineering for any video. Code video with HTML: recreate, edit and render. BYOA + BYOK · Motion.md · Images, Video, Music & Voice.
TypeScript agent-skillsagentic-aiai-agentsai-videobyokclaude-codecodexdeepseek-harnessdsh-plugingenerative-ailocal-firstmcpmotionmotion-graphicsmultimodalopenmotionreverse-engineeringvideo-editingvideo-generationworkbuddy
export const TIMELINE_COMPOSITION_MIME = "application/x-hyperframes-composition";
export interface TimelineCompositionPayload {
sourcePath: string;
}
export function parseTimelineCompositionPayload(raw: string): TimelineCompositionPayload | null {
try {
const value: unknown = JSON.parse(raw);
if (typeof value !== "object" || value === null || !("sourcePath" in value)) return null;
const sourcePath = value.sourcePath;
return typeof sourcePath === "string" && sourcePath.trim() ? { sourcePath } : null;
} catch {
return null;
}
}