Skip to content

feat(output): compact YouTube and Instagram defaults#23

Merged
DeanThompson merged 1 commit into
mainfrom
chewbacca/2952-youtube-instagram-compact-output
Jun 28, 2026
Merged

feat(output): compact YouTube and Instagram defaults#23
DeanThompson merged 1 commit into
mainfrom
chewbacca/2952-youtube-instagram-compact-output

Conversation

@DeanThompson

Copy link
Copy Markdown
Member

Summary

  • add compact projection rules for all YouTube and Instagram capabilities
  • make search/list defaults table-shaped for agent use instead of raw provider payloads
  • drop media/CDN URL fields from default search/list outputs while keeping stable IDs (video_id, media_id, shortcode, channel_id)
  • keep full payload available through --output data / --debug

Output policy

  • Instagram media lists (search_reels, get_user_posts, get_user_reels) omit media_url, thumbnail, and permalink in compact output
  • YouTube video lists (search_videos, get_channel_videos) omit url, thumbnail, and description in compact output
  • detail endpoints keep canonical identity and summary fields; transcripts remain pass-through because content is the requested payload

Verification

  • go test ./...
  • git diff --check

@DeanThompson DeanThompson merged commit 353800b into main Jun 28, 2026
1 check passed
@DeanThompson DeanThompson deleted the chewbacca/2952-youtube-instagram-compact-output branch June 28, 2026 17:19
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.

1 participant