# SPDX-FileCopyrightText: Amolith # # SPDX-License-Identifier: Unlicense Output demo.gif Require echo Require fish Set Shell "fish" Set FontSize 40 Set Width 1100 Set Height 350 # Set up the plugin with a mock runner Hide Type@1ms "function mock_runner; echo 'Hello! 👋'; end" Enter Type@1ms "set -g __AGENTSH_RUNNER mock_runner" Enter Type@1ms "source conf.d/agentsh.fish" Enter Type@1ms "clear" Enter # Show the prefix toggle feature Type "# Press Ctrl+X to toggle the prefix" Show Sleep 3s Enter # Toggle prefix on and show it appears Type "Say hello" Sleep 750ms Ctrl+x Sleep 1s # Submit the command Enter Wait+Screen /hello/ Sleep 3s # Show normal command works Type "# Back to normal shell" Sleep 3s