You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
stop_recording: optional preview (contact sheet) in the result #414
Add preview: "none" | "poster" | "sheet" (default none, to keep stop fast and the tools/list budget small) that, after finalizing, runs the existing contact-sheet builder with a small count/tileWidth and returns it as inline image content with its path.
Where
src/tools/stopRecording.ts:57-70
src/tools/contactSheet.ts:52-62
src/resources.ts:64-70
Problem
stop_recording takes sessionId and save and is described as "Stop a recording gracefully so the file is finalized; returns the path and duration." (stopRecording.ts:57-70). The documented look step is a separate contact_sheet call (contactSheet.ts:52-62 has poster/returnImage), and a poster resource exists (screencast://sessions/{id}/poster, resources.ts:64-70) but tools-only clients do not read resources.
Who benefits
The main journey (start, act, stop, look) always costs an extra tool round trip, and agents that skip it report a recording they never looked at. Assumption: most clients use tools rather than resources for images.
Proposal
Add preview: "none" | "poster" | "sheet" (default none, to keep stop fast and the tools/list budget small) that, after finalizing, runs the existing contact-sheet builder with a small count/tileWidth and returns it as inline image content with its path.
Activity