Skip to content

feat: video layers and user files referenced by id (0.7.0) - #12

Merged
jasp402 merged 1 commit into
mainfrom
claude/project-thread-rfa04e
Oct 20, 2026
Merged

jasp402 merged 1 commit into
mainfrom
claude/project-thread-rfa04e

Conversation

@jasp402

@jasp402 jasp402 commented Oct 20, 2026

Copy link
Copy Markdown
Owner

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 video layer (props.asset = id of the user's video, props.from = second where the clip starts; it lasts end - 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 negative from, and a warning if the video is put in assets; 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

- 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
@vercel

vercel Bot commented Oct 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
hypercodemotion-mcp-service Ready Ready Preview Oct 20, 2026 4:15am UTC

@jasp402
jasp402 merged commit ad6761d into main Oct 20, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
Preview — a6d0ac7f Deployed Oct 20, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants