To send an intent to make the current CAPTCHA succeed, do:
adb shell am start -n com.urbandroid.sleep/.alarmclock.AlarmAlertFullScreen --ez captcha_result_success true
This is a companion discussion topic for the original entry at https://docs.sleep.urbandroid.org/devs/captcha_api.html