Skip to content

fix(mcp): read the video in the reference job when the page hides it from the server - #8

Merged
jasp402 merged 2 commits into
mainfrom
claude/project-thread-1lh7zs
Oct 19, 2026
Merged

jasp402 merged 2 commits into
mainfrom
claude/project-thread-1lh7zs

Conversation

@jasp402

@jasp402 jasp402 commented Oct 19, 2026

Copy link
Copy Markdown
Owner

Before: in production, get_recreation_brief for a prompt-motion.com link answered "The video of this page could not be found". The page (behind Cloudflare) does not show its video to the server, although the same code finds it from other networks. oneshotted.io links work.

After: when the server gets no video from the page, the reference job looks for it on the page itself, and the server stores the video it reports (only from the accepted video hosts). The error now also says what the page gave back (its size, and whether it looks like a bot check), so the cause can be confirmed.

How: reference() dispatches {page} instead of {video} when needed. finishRef accepts video from the job, validated against the source hosts. Tests: 57/57.

Studio side: jasp402/HyperCodeMotion (same branch).


Generated by Claude Code

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TXFXQJroZAF74W4gg57vyH
… job

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TXFXQJroZAF74W4gg57vyH
@vercel

vercel Bot commented Oct 19, 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 19, 2026 6:14pm UTC

@jasp402
jasp402 merged commit a5bbb53 into main Oct 19, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
Preview — 619f3830 Deployed Oct 19, 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