deskctl upgrade

This commit is contained in:
Harivansh Rathi 2026-03-26 11:36:58 -04:00
parent 2b02513d6e
commit 7f0c462385
6 changed files with 323 additions and 4 deletions

View file

@ -13,6 +13,7 @@ reads, grouped waits, selector-driven actions, and a few input primitives.
```sh
deskctl doctor
deskctl upgrade
deskctl snapshot
deskctl snapshot --annotate
deskctl list-windows
@ -26,10 +27,11 @@ deskctl get-screen-size
deskctl get-mouse-position
```
`doctor` checks the runtime before daemon startup. `snapshot` produces a
screenshot plus window refs. `list-windows` is the same window tree without the
side effect of writing a screenshot. The grouped `get` commands are the
preferred read surface for focused state queries.
`doctor` checks the runtime before daemon startup. `upgrade` refreshes an npm
install and returns channel-specific guidance for other install methods.
`snapshot` produces a screenshot plus window refs. `list-windows` is the same
window tree without the side effect of writing a screenshot. The grouped `get`
commands are the preferred read surface for focused state queries.
## Wait for state transitions