Skip to content
Source
Sign inSign up
fuko/rive-preview-player

Add highlighted region screenshots to the preview player #6

Mergedfukomerged 4 commits intomain fromfeat/region-screenshotsmerged by fuko View on GitHub

Showing 9 changed files with 47 additions and 13 deletions (loading 6).

x
0 of 9 viewed, 9 left
8 additions and 6 deletionsbin/rive-video-preview.mjsModified
View file
@@ -35,16 +35,18 @@
player keys:
space play/pause · ←/→ frame · shift+←/→ 1s · home/end · i/o in/out · x clear range
c copy timecode · shift+c copy range · g go to time · l loop · m mute · f fullscreen · ? help
- s screenshot this frame · n screenshots & notes panel
+ s screenshot this frame · shift+s drag (or type) a box to highlight a region (esc cancels)
+ n screenshots & notes panel
click a sound effect to set its volume · drag or ↑/↓ moves it between tracks (up to 3) · a hides tracks
​
feedback for agents:
Screenshots and notes are kept in <project>/.rive-preview/. "Send to agent" writes a
- bundle to .rive-preview/feedback/<time>/ (feedback.md + PNGs). To be woken by it, an
- agent runs \`rive-video-preview wait-feedback .\` as a background command: it exits
- with the feedback as soon as the user sends it (see wait-feedback --help). The
- player shows the user whether an agent is listening. The MCP server serves the
- same bundles through get_feedback / wait_for_feedback. Register it with, e.g.:
+ bundle to .rive-preview/feedback/<time>/ (feedback.md + PNGs; a region shot also records
+ its box in artboard units). To be woken by it, an agent runs
+ \`rive-video-preview wait-feedback .\` as a background command: it exits with the
+ feedback as soon as the user sends it (see wait-feedback --help). The player shows
+ the user whether an agent is listening. The MCP server serves the same bundles
+ through get_feedback / wait_for_feedback. Register it with, e.g.:
claude mcp add rive-preview -- rive-video-preview mcp
`;
​