Repository navigation
feat: video layers and user files referenced by id (0.7.0) - #12
Merged
Merged
Conversation
- Format: "video" layer (props.asset = id of the user's video, props.from = second of the file where the clip starts; the clip lasts end - start), accepted by create_hcmotion's Studio check and listed by get_capabilities. - get_capabilities explains how to reference the files the user keeps in Studio («Tus materiales»): by id only, never in assets or as URLs. Studio fills them in when the project opens; nothing is uploaded here. - validate_json / create_hcmotion: a video layer needs an id (not a URL), from must be 0 or more; warns when the user's video is put in assets. - Skill: composition contract and truthfulness rule cover user files and video clips. Contract snapshot synced with Studio (schema + presets). - Version 0.7.0. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JVFrDoRJqaLyTwScsFCYtX
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Requested by Jasp402 · project thread
Before: create_hcmotion rejected any video layer, and Claude had no documented way to use the user's own photos, logo or video clips (they have no URL).
After: a
videolayer (props.asset= id of the user's video,props.from= second where the clip starts; it lastsend - start) passes create_hcmotion and appears in get_capabilities, which also explains how to reference the files the user keeps in Studio by id. Studio fills them in when the project opens; nothing is uploaded here.How:
LAYER_TYPES+ contract snapshot synced with Studio's schema/presets; validator errors for a video without id, a URL as id, or a negativefrom, and a warning if the video is put inassets; skill contract updated; version 0.7.0. Tests:npm test(59 ok).Merge after the Studio PR (jasp402/HyperCodeMotion, same branch name): Studio must open
type: "video"before the MCP in production starts producing it. Tool descriptions only change get_capabilities' wording.Generated by Claude Code