tk-pr-media
GitHub PR Media Upload
Handle explicit local image/video evidence requests for an existing GitHub PR or an exact
tk-pr-open generic manifest handoff with evidence_required: true. Only the parent handoff is an
automatic trigger.
Optional motion supplements
For a selected MP4, read native video attachments; it owns the distinct upload/byte/player checks instead of the image-only extension steps. A valid optional supplement carries media type, run-owned path, criteria/head, duration/viewport, inspected frames and sampling warnings; never require it to impersonate the required image manifest. Upload it only when publication_selected: true or the user explicitly selected that exact artifact/target.
For selected GIF frame assembly, use the reviewed extension with --gif, an explicit .gif name and delay matching the frame sequence. Capture stderr separately without --json at v0.7.0. Preserve all frame-cap/reduction/oversize warnings, verify actual image/gif bytes and multiple decoded frames, and inspect animation when claiming playback. The 5MiB target is not a hard limit; disclose oversize and altered timing. Existing required screenshot pairs remain unchanged.
Scope
Handle one bounded upload: validate and stage local images, upload repository-scoped GitHub attachments, minimally update the PR body or selected comment, and verify the source Markdown and uploaded image objects. The default target is the PR body.