Repository navigation
Video attachments, hosted file_download, and inline video - #135
Merged
Merged
Conversation
Add video_list, video_upload, video_download and video_delete (MP4, WebM and Ogg), and tap video for the same operations from the CLI. The hosted server now registers file_download, which returns the file's bytes as an embedded resource instead of writing to a path the agent cannot reach.
Relays advertise the video capability for a model OpenRouter lists as taking video input, or that its config marks with video: true, so the hub can route video to it.
 now renders a <video controls> player with a link to the file inside; a plain [label](./videos/NAME) stays a link.
The orient guide, linking guide and tool inventory cover the video tools and tell agents to embed a video with .
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.
What changes
video_list,video_upload,video_downloadandvideo_deletetools, plustap videofor the same operations from the CLI. Uploads accept MP4, WebM and Ogg (checked by their bytes);video_listand the upload return atapper://resource link per video.file_download. The hosted server now registersfile_downloadand returns the file's bytes as an embedded resource, asimage_downloadreturns an image. Localtap mcpkeeps itsdest_pathform.relaycontract.CapabilityVideo: a relay advertises it for a model OpenRouter lists as taking video input, or one its config marks withvideo: true, so the hub can route video to it.renders a<video controls preload="metadata">player with a link to the file inside. A plain[label](./videos/NAME)stays a link.video_uploaddescription tell agents to embed a video with.Testing
go test ./...,go test -race ./pkg/keg ./pkg/tapper ./pkg/parity,go vet ./...,task lint:fs,task lint:docs.file_download, relay video discovery, and the renderer's player.The hub change that builds on this is in foldwise/tapper-hub (branch
fix/chat-reads-keg-attachments).