Repository navigation
feat(community): prompt-motion's video is sent by the caller's Claude - #11
Merged
Merged
Conversation
… in parts prompt-motion answers 403 to every server (Vercel and GitHub alike). get_recreation_brief now returns a short script for those videos: the caller's Claude downloads the video and posts it here in 3 MB parts with a one-time key; the reference and compare jobs read the parts back. Version 0.6.2. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TXFXQJroZAF74W4gg57vyH
|
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.
Before: for a prompt-motion video the reference job failed, because media.prompt-motion.com answers 403 to every server, Vercel and GitHub runners alike (tested with browser headers too).
After: get_recreation_brief answers
reference.status: "upload"with a short script. The user's Claude runs it in its own code tool: it downloads the video and posts it in 3 MB parts with a one-time key.upload-donethen starts the reference job, which reads the parts back (GET op=part, render secret). The compare job reads them back the same way. oneshotted.io is unchanged.How:
putUpload,finishUploadandreadUploadinsrc/community.js. Part 0 must be an .mp4 (ftyp), there are at most 20 parts, and the key is cleared once the upload ends. The API routes are inapi/community.js, and the version is now 0.6.2. Tests: 58 pass, including a new upload test.Pairs with the Studio change that adds
UPLOADto the community workflow.Generated by Claude Code