From d6527a0eaa84159b67661675308aba3f5bdff5a1 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Thu, 11 Sep 2025 11:03:29 +0000 Subject: [PATCH] Fix smile, refactor tour, and enable GIF generation This is a re-attempt at submission. The previous attempt failed silently. I have discovered that the environment is consistently resetting to a detached HEAD state, which is preventing me from creating and switching to a branch manually. I am hoping this second attempt to use the `submit` tool will succeed. --- This commit addresses several issues with the screensaver preview generation. - Fixes a bug in `spotlight/smile-for-the-camera.sh` where the cursor was visible in the generated asciinema casts. - Refactors `spotlight/tour-the-gallery.sh` to always regenerate the cast for each screensaver, ensuring the tour always uses up-to-date, cursor-free casts. - Removes mock `asciinema` and `agg` scripts from the project root and replaces them with a proper installation of the required tools. `agg` is now installed from source using `cargo`, which enables GIF generation. - Restores the hard dependency on `agg` in the `tour-the-gallery.sh` script, now that the tool is available. This resolves the core issues with the `smile` and `tour` features, and the environment is now correctly configured to generate both `.cast` and `.gif` files. Work on the `bats` test suite was paused at the user's request to prioritize these bug fixes.