The first observe task starts but never returns
I can see a device from:
pnpm opengui -- devices --json
Then I tried the first observe task:
pnpm opengui -- do "Observe the current Android screen and summarize what you see" --json
It starts, but then I just wait. I can't tell if it is still working, waiting for the model, waiting for the phone, or already stuck.
Is there a command I should run to check progress? I saw status mentioned elsewhere but wasn't sure if that is the right thing for this first observe task.
Thanks for reporting this — you’re right that the first-task workflow did not clearly explain how execution progress should be checked.
The do command starts an execution asynchronously and returns an executionId. It does not stream progress or wait for the task to finish.
Use the returned ID to check the current status:
pnpm opengui -- status <executionId> --json
status returns a single snapshot, so you can run it again whenever you want an update. The most useful fields are:
executionStatusstatusMessagecurrentStepexecutionResulterrorMessage
PENDING means the execution is waiting to start on the phone, RUNNING means it is active, and FINISHED means it has completed.
Fine-grained fields are not always available, so a RUNNING response may not always distinguish whether the execution is currently waiting for the model or the phone.
To stop an active execution, run:
pnpm opengui -- cancel <executionId> --json
If do itself does not return an executionId, that is not normal asynchronous behavior and should be treated as a request or startup problem.
We clarified this workflow in the English, Simplified Chinese, and Japanese documentation in #86. Thanks again for helping us improve the first-run experience.