Add media metadata support to event bus#379
Merged
Merged
Conversation
Event bus events can now carry media attachments (image/audio/video) in metadata.media[]. Media flows through publish, result, and SSE endpoints and renders inline in the EventBus expanded view log. - Result endpoint accepts metadata with media array, passes through to eventBusLog entries and SSE events - Publish endpoint carries media from metadata into log entries - EventBus UI renders image/audio/video inline in expanded log entries with type-specific icons as badges on collapsed rows - FlowNode.eventBusLog type extended with optional media field - API-key document metadata endpoint for external agent references Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
metadata.media[]Media Metadata Convention
{ "metadata": { "media": [ { "type": "image|audio|video", "url": "https://...", "mimeType": "image/png", "label": "Screenshot", "duration": 45, "source": "provocations" } ] } }Shorthand fields also supported by BSOffice:
imageUrl,audioUrl,videoUrl.Changes
metadataparam, passes media through to eventBusLog and SSE events. Publish endpoint carries media to log entries. New API-key document metadata endpoint.eventBusLogtype extended with optionalmediafield.Test plan
metadata.mediacontaining an image URL — verify it shows in listen node's logmetadata.mediacontaining an audio URL — verify audio controls render in expanded view🤖 Generated with Claude Code