Echo result so agents can use them and keep working with them

This commit is contained in:
David Heinemeier Hansson
2026-05-09 11:40:31 +02:00
parent cd9d6bb54b
commit 10c42afcf2
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -233,6 +233,7 @@ stop_screenrecording() {
else
finalize_recording
local filename=$(cat "$RECORDING_FILE" 2>/dev/null)
echo "$filename"
local preview="${filename%.mp4}-preview.png"
# Generate a preview thumbnail from the first frame
+1
View File
@@ -128,6 +128,7 @@ FILEPATH="$OUTPUT_DIR/$FILENAME"
if [[ $PROCESSING == "slurp" ]]; then
grim -g "$SELECTION" "$FILEPATH" || exit 1
echo "$FILEPATH"
wl-copy <"$FILEPATH"
(