#pragma once // Spec: FR-CLI-01, VER-02. Smoke scripts: one command per line, '#' comments. // wait S | tap X Y | tap-text TEXT | tap-contains TEXT | type TEXT | key NAME | scroll X Y DY | resize WxH // shot PATH | expect-text TEXT | expect-no-text TEXT | back | dump #include #include "ui/Host.hpp" namespace dp { class ScriptRunner { public: // Returns 0 when every expectation held, 1 otherwise. Failures print the line number and reason. static int run(ui::Host& host, ui::App& app, const std::string& path); }; } // namespace dp