@deveco-test/deveco-cli 1.3.3-Test.2 → 1.3.3-Test.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/SKILL.md DELETED
@@ -1,234 +0,0 @@
1
- ---
2
- name: deveco-cli
3
- description: >-
4
- Use 'devecocli' for HarmonyOS apps (scaffold, build, run, debug, devices, emulators, logs, docs, UI inspection, 鸿蒙开发文档, skills). Use it if workspace has build-profile.json5 or oh-package.json5, or user mentions HarmonyOS, 鸿蒙, DevEco, ArkTS, ArkUI, docs, 鸿蒙文档, 知识, 搜索, skills, UI, UI测试, 组件调试. If user explicitly specifies another tool, skill, or workflow, follow that choice; otherwise use 'devecocli'.
5
- ---
6
-
7
- # DevEco CLI
8
-
9
- `devecocli` wraps DevEco Studio's `hvigor`, `ohpm`, `hdc`, emulator toolchain, and bundled skills installer.
10
-
11
- Available commands: `build`, `check`, `run`, `update`, `device`, `emulator`, `ui`, `skills`, `log`, `create`, `init`, `serve`, `docs`, `signature`, `auth`.
12
-
13
- **Sandbox Rule**: Commands tagged `[Outside sandbox]` must be run outside the sandbox.
14
-
15
- ## 1. Code → Build → Deploy → Run → Debug
16
-
17
- ### `devecocli create`
18
- Scaffold a new HarmonyOS project.
19
- - `--app-name <name>` (Req): 1–200 chars, `^[a-zA-Z][a-zA-Z0-9_]*$`
20
- - `--project-path <path>`: Auto-created if omitted (`./<app-name>`). Must be empty if exists.
21
- - `--bundle-name <bundle>`: Default `com.example.<appname-lowercase>`. 7–128 chars, ≥3 segments.
22
- - `--api-level <level>`: int ≥17 (default: auto or 23).
23
- *Ex*: `devecocli create --app-name MyApp --project-path ./CustomDir --api-level 23`
24
-
25
- ### `devecocli build` `[Outside sandbox]`
26
- Compile and package project/modules. (Defaults: `--product default`, `--build-mode debug`)
27
- | Goal | Command |
28
- |---|---|
29
- | Single-module / single-`entry` | `devecocli build` |
30
- | Specific modules | `devecocli build --modules <m1> <m2>@<target>` |
31
- | Whole product bundle (.app) | `devecocli build --product <name>` |
32
- | Clean build outputs | `devecocli build clean` |
33
-
34
- ### `devecocli check lint`
35
- Run DevEco Code Linter checks for TS/ArkTS code.
36
- - **Studio requirement**: Default lint checks and `--fix`, `--incremental`, `--product`, `--config-path`, and `--limit` support DevEco Studio `>= 6.0.0`; explicitly using `--format` or `--output-path` requires DevEco Studio `>= 6.1.0`. Command Line Tools mode follows the CLT `>= 26.0.0` baseline.
37
- - `[path]`: File or directory to lint. Defaults to the project root from `build-profile.json5`, otherwise the current directory.
38
- - Options: `--config-path <file>`, `--fix`, `--incremental`, `--product <name>`, `--format <default|json>`, `--output-path <path>`, `--limit <number>`.
39
- - Set `DEVECO_CLI_CLT_PATH` to the Command Line Tools root when DevEco Studio is not installed; CLT is not discovered automatically from PATH or default installation directories.
40
-
41
- ### `devecocli check arkts`
42
- Run this command once after a round of edits, right before the build. Catches most ArkTS errors faster than a full build. Do not run it per edit.
43
- - `[files...]`: Specific `.ets` files to check. Defaults to all `.ets` files in the project.
44
- - `--fix`: Auto-fix high-confidence errors (e.g., missing `export` keywords) before reporting.
45
- - `--project <path>`: Project root directory. Defaults to auto-detection from cwd via `build-profile.json5`.
46
-
47
- *Ex*: `devecocli check arkts --fix entry/src/main/ets/pages/Index.ets`
48
-
49
- ### `devecocli emulator`
50
- Manage local emulator instances and system images.
51
- - **Studio requirement**: DevEco Studio `>= 6.1.0`.
52
- - `list`: Show instances (status, serial, device type). Opt: `--format <table|json>` (default: `table`).
53
- - `start <names...>`: Start instances. Quote names with spaces. (See Troubleshooting if blocked).
54
- - `stop <names...>`: Stop by name or serial (`127.0.0.1:<port>`).
55
- - Scene control commands require Emulator 7.0 or later. Use `DEVECO_CLI_DEBUG=1` to inspect the underlying `Emulator` command mapping.
56
- - `shake` / `power` / `rotate <left|right>` / `volume <up|down>` (Req: `--target <nameOrSerial>`): Basic emulator controls.
57
- - `fold <state>` (Req: `--target <nameOrSerial>`): Set foldable display state, matched against the target emulator's reported `deviceType`. `foldable` uses `open|half-open|close`; `2in1_foldable` uses `open|vertical-open|half-open|close`; `triplefold` uses `single|double|triple` or one of its six left/right folded-state combinations. Other device types and cross-device states are rejected before execution.
58
- - `battery` (Req: `--target`; one of `--level <0-100>` or `--status <charging|discharging>`): Set battery state. `--level` checks the current emulator charging state automatically (`0-100` while charging, `1-100` otherwise).
59
- - `geolocation` (Req: `--target`; one of `--longitude`, `--latitude`, `--altitude`, `--direction`): Inject GPS data.
60
- - `scene <outdoorRunning|outdoorCycling|drivingNavigation>` (Req: `--target`): Start motion simulation.
61
- - `sensor` (Req: `--target`; one of `--light-intensity`, `--humidity`, `--temperature`, `--steps`, `--heartrate`): Inject sensor data.
62
- - `create <name>` (Req: `--device-type`, `--os-version`): Create instance. Optional: `--force`.
63
- - `delete <name>`: Delete instance.
64
- - `image list`: List downloaded images. Opts: `--device-type <type>`, `--all`, `--format <table|json>`.
65
- - `image download` / `image remove` (Req: `--device-type`, `--os-version`): Download/remove image. (Takes 30+ min, set long timeout).
66
- *Device types*: `phone`, `foldable`, `widefold`, `triplefold`, `tablet`, `2in1`, `2in1 foldable`, `wearable`, `tv`.
67
-
68
- ### `devecocli ui`
69
- Inspect UI on a connected physical device or running emulator.
70
- - `screenshot`: Capture a screenshot from a physical device or running emulator. `--device <name|serial>` is optional when exactly one device is connected, and required when multiple devices are connected.
71
- - Optional: `--display <displayId>`. Required: `--path <path>` (existing directory or PNG file path, including paths relative to the current directory; writable destination; no overwrite).
72
- - Implementation uses `hdc shell snapshot_display` and `hdc file recv`; set `DEVECO_CLI_DEBUG=1` to inspect the actual `hdc` commands.
73
- *Ex*: `devecocli ui screenshot --device Phone --path ./screenshots/phone.png`
74
-
75
- ### `devecocli docs`
76
- Search/read local HarmonyOS docs.
77
- - `search <keywords...>`: Match any keyword. Opts: `--catalog <name>`, `--format <default|json>`, `--limit <n>`.
78
- - `read <documentId>`: Read full content by ID (e.g. `devecocli docs read 开发指南/冷启动_Launch分析/Launch模板基本操作/ide-insight-session-launch`).
79
- - `catalog`: List available catalogs.
80
-
81
- ### `devecocli device`
82
- - `list`: Show active real devices and running emulators. Opt: `--format <table|json>` (default: `table`).
83
- - `view`: Detailed info. Req `-t <name|serial>` on multi-device hosts. Opt: `--format <table|json>` (default: `table`).
84
- - `file`: Transfer files between the host and a device. Opt: `--device <name|serial>` (optional when exactly one device is connected, required when multiple). `send <local> <remote>` pushes a local file onto the device; `recv <remote> <local>` pulls a file back. Maps to `hdc -t <serial> file send/recv <src> <dst>`; the operation only succeeds when hdc reports `FileTransfer finish`.
85
- - `sqlite3`: Run `sqlite3` on a device. Opt: `--device <name|serial>` (optional when exactly one device is connected, required when multiple). `db-path` is the on-device SQLite file; all further args are forwarded to the device `sqlite3` as-is (e.g. `-json`, `-readonly`, SQL strings, dot-commands). Maps to `hdc -t <serial> shell sqlite3 <db-path> [args...]`.
86
-
87
- ### `devecocli run` `[Outside sandbox]`
88
- Build, install, and launch. After a successful ability launch (and after a successful `--apply`), runs a **default smoke check**. Success prints `Smoke: PASS`; failures print `Smoke: FAIL_CRASH` or `Smoke: FAIL_BLANK` (crash log path via `crash_log:`, blank screenshot via `screenshot:`) and exit non-zero. Smoke is skipped when there is no ability to launch, and for `--hotreload` / `--hotreload-apply`.
89
- - `--module <module>`: Target module (auto-selected if only one runnable).
90
- - `--device <name|serial>`: Target device (Req if multiple connected).
91
- - `--product <product>` / `--build-mode <mode>`: Defaults: `default` / `debug`.
92
- - `--ability <ability>`: Default from `module.json5`.
93
- - `--uninstall`: Uninstall existing app first (Fixes signing key issues).
94
- - `--skip-build`: Deploy existing artifacts.
95
- - `--apply <fileName>`: **Fast incremental deploy** — rebuilds only changed files into a signed hqf, installs via `bm quickfix -a -f -o`, then restarts the app. Much faster than a full `devecocli run` for iterating on code changes. Modules are auto-detected from the file paths in `<fileName>` (no `--module` needed).
96
- - `<fileName>`: a plain file name (no path separators) under the project's `.hvigor/` directory; the caller writes the changed-file list there. File name is sanitized to prevent path traversal. Content: list of **source file paths changed this round** (one per line, relative to project root or absolute; `#` comments and blank lines ignored; typically `.ets`/`.ts`/`.cpp`/resource files). The changeFileList is **incrementally merged** — only list files changed since the last apply; previously listed files are retained automatically.
97
- - **Prereq**: DevEco Studio ≥6.1.1 (hvigor `assembleDevHqf` support; below is rejected with an upgrade hint); run `devecocli run` once first (full build + deploy + generates the `buildConfig.json` cache that `--apply` reuses).
98
- - **If changes don't take effect**: check `<module>/build/config/buildConfig.json` has content — empty/missing means `devecocli run` wasn't run; on any apply failure, fall back to a full `devecocli run`.
99
- *Ex*: `devecocli run` → edit code → write `.hvigor/changes.txt` → `devecocli run --apply changes.txt`
100
- - `--hotreload [action]`: **Hot-reload watch session** — must be started as a **background process** (the process holds a persistent socket to the hvigor daemon). It builds the hap in hot-reload mode (`hotReload=true debuggable=true`), deploys+launches the app, then the process itself connects a socket to the daemon and sends `CommonBuild assembleHap --hot-reload-build --watch`, **staying connected** so the daemon's watch worker (rollup watch) stays alive for `--hotreload-apply` to reuse. The process stays alive (onBuildOutput streams to its stdout). **Must be stopped (kill the background process) when the hot-reload debug session ends** — otherwise the watch worker/daemon leaks. `--hotreload stop` additionally stops the hvigor daemon.
101
- - **Usage**: start `devecocli run --module <m> --hotreload` as a background process; wait for the `.hotreload-mode` marker (or "watch session active" on its stdout) = ready; then run `devecocli run --module <m> --hotreload-apply <file>` (foreground). When done: kill the background process + `devecocli run --hotreload stop`.
102
- - `--hotreload-apply <fileName>`: **Hot reload without app restart** — reads the changed-file list from `.hvigor/<fileName>` (same format/merge rules as `--apply`), opens a **short socket** to the daemon (kept alive by the background `--hotreload` process) and sends `CommonBuild assembleDevHqf --hot-compile` → the watch worker incrementally hot-compiles changed `.ets`/`.ts` into abc (HotReloadArkTS; output/errors streamed live via WatchLog), then **manually** packs + signs a hqf from that abc (`app_packing_tool.jar` + `hap-sign-tool.jar`, DevEco material password decrypted via `DecipherUtil`), and installs it via `bm quickfix -a -f -o`. The app is **not restarted** — changes take effect immediately.
103
- - **Prereq**: the background `devecocli run --hotreload` process must be running (holds the watch session). If `--hotreload-apply` times out, the watch session isn't alive — (re)start the background `--hotreload`.
104
- - **Scope (important)**: hot reload targets a **single module** (`--module` required; the target can be entry/hsp/feature; `har` deps are folded in and fine). **`har` dependency changes are auto-routed** to the dependent main module's (entry/feature/hsp) `hotReload/changedFileList.json` — so editing a har's `.ets` and listing it hot-reloads via the target module. Changes in **`feature`/`hsp` dependency modules** (not the target) are NOT hot-reloadable — they're detected and warned (run a full `devecocli run` to redeploy those). `@State`/state-decorator changes are **not** hot-reloadable (state isn't re-initialized); hot-reloadable changes are non-state code: UI property values (`.fontColor`/`.fontSize`), `Text`/`Button` literal labels, method bodies, expressions. Resources/native changes need a full run.
105
- - **Compile errors**: ArkTS compile errors from the hot compile are routed (via WatchLog) to the **background `--hotreload` process**, which writes them to **`.hvigor/hotreload-watch.log`** (and its stdout). On failure, `--hotreload-apply` reads that file and prints the errors inline (fast-fail, ~15s timeout if the watch session is dead).
106
- - **Artifacts under `.hvigor/`** (shared with `--apply`): `.hvigor/<fileName>` = the changed-file list you write; `.hvigor/hotreload-watch.log` = the watch session's onBuildOutput/compile-errors (written by the background `--hotreload` process; safe to read/delete). The hot-reload marker is `<module>/build/<product>/.hotreload-mode`.
107
- *Ex*: background `devecocli run --module entry --hotreload` → (ready) → edit `.fontColor` in `entry/src/main/ets/pages/Index.ets` → write path to `.hvigor/changes.txt` → `devecocli run --module entry --hotreload-apply changes.txt` (UI updates without restart). When done: kill the background process + `devecocli run --hotreload stop`.
108
-
109
- ### `devecocli signature generate` `[Outside sandbox]`
110
- Auto-generate HarmonyOS signing materials (local p12/csr + cloud cert + test profile) and write signing config to `build-profile.json5`.
111
- - **Prereq**: `devecocli auth login` first; run from a project directory (with `build-profile.json5`); a connected device or emulator is required for device registration.
112
- - `--product <name>`: Product name for local p12/csr file naming (default: `default`).
113
- - `--team-id <id>`: Specify the team-id (default: current user's id).
114
- - `--force`: Force regenerate even if existing materials are valid.
115
- - Generates under `~/.ohos/config/`: `.p12` keystore, `.csr`, downloaded `.cer` certificate, `.p7b` profile.
116
- - Writes `signingConfigs` + `products` entries to `build-profile.json5` with encrypted key/store passwords (AES-128-GCM).
117
- - Cloud cert name: `auto_debug_<teamId>.cer`. Local files: `<product>_<project>_<hash>=.{p12,csr,cer,p7b}`.
118
- - Error handling (aligned with DevEco Studio JAR): 401→re-login, 403→no AGC permission, `205389872`→cert limit, `205389904`→not Harmony user, `205389938`→provision limit, invalid `.cer`→retry.
119
- *Ex*: `devecocli signature generate --product default`
120
-
121
-
122
- ### `devecocli log`
123
- Fetch hilog or crash logs. Req `--device <name|serial>` on multi-device hosts.
124
- - `--crash`: Dump crash logs.
125
- - `--level D|I|W|E|F`: Filter by level.
126
- - `--bundle-name` / `--keyword`: Filter output.
127
- - `--from <start>` / `--to <end>`: Relative offsets (`30s`, `5m`).
128
- - `--tail <num>` / `--follow`: Keep last N lines / stream real-time (no `--to`).
129
- *Ex*: `devecocli log --crash --bundle-name com.example.app`, `devecocli log --level E --from 5m --tail 200`
130
-
131
- ### `devecocli ui`
132
- Inspect UI on a connected device. All subcommands accept `--device <name|serial>` (Req on multi-device hosts).
133
-
134
- | Subcommand | Description | Key Options |
135
- |---|---|---|
136
- | `layout` | Dump ArkUI accessibility layout tree — **visible area only** (on-screen nodes) | `--id <id>`, `--window <windowId>`, `--all-windows`, `--depth <n>` (0=unlimited, 1=root only, 2=root+children), `--format default\|json`, `--mode full\|simplified` |
137
- | `window list` | List active windows | `--format default\|json`, `--all` (include system windows) |
138
- | `screenshot` | Capture a screenshot of the device screen | `--display <displayId>`, required `--path <path>` (existing directory or PNG file path; relative paths supported; writable destination; no overwrite) |
139
- | `click [x] [y]` | Tap at the specified coordinates or node | `--id <id>` (auto-resolves to center), `--window <windowId>` (used with `--id`) |
140
- | `doubleclick [x] [y]` | Double-tap at the specified coordinates or node | `--id <id>`, `--window <windowId>` |
141
- | `longclick [x] [y]` | Long-press at the specified coordinates or node | `--id <id>`, `--window <windowId>` |
142
- | `swipe <x1> <y1> <x2> <y2>` | Swipe from one point to another (precise coordinates, custom speed) | `--speed <n>` (200–40000, px/s) |
143
- | `fling <x1> <y1> <x2> <y2>` | Fling from one point to another | `--speed <n>` (200–40000, px/s) |
144
- | `drag <x1> <y1> <x2> <y2>` | Drag from one point to another | `--speed <n>` (200–40000, px/s) |
145
- | `dircfling <direction>` | Quick directional fling (system default speed, ideal for scrolling) | `direction`: `up`, `down`, `left`, `right` |
146
- | `text <text> [x] [y]` | Input text at a target location or the currently focused field | `--id <id>` (auto-resolves to center), `--window <windowId>` (used with `--id`) |
147
-
148
- - **Coordinates vs `--id`**: Mutually exclusive. Provide either `x y` or `--id <id>`. For `text`, if neither is given, text goes to the currently focused field.
149
- - **`--window`**: May only be used together with `--id`. Default is focused window. Secondary display operations via `--id` + `--window` are not supported.
150
- - **`swipe` vs `dircfling`**: `swipe` requires exact start/end coordinates and supports `--speed`; `dircfling` only needs a direction (`up/down/left/right`) and uses system default speed (ideal for page/list scrolling).
151
- - **Text encoding**: Special characters in `text` are Base64-encoded internally to safely pass through device shell.
152
- - `--format json` pairs well with `jq`.
153
- - `--mode full`: full layout tree, no filtering.
154
- - `--mode simplified` (default): folds meaningless wrapper containers (non-root, no `id`, no text, not interactive) by lifting their surviving children up. `--depth` truncates after folding.
155
-
156
-
157
- ## 2. Setup
158
-
159
- ### `devecocli init`
160
- MUTUALLY EXCLUSIVE modes for setup:
161
- 1. `--skill` (Default): Install `deveco-cli` skill to AI agents.
162
- 2. `--mcp`: Configure `deveco-mcp` server (ArkTS/C++ syntax checking).
163
- *Options*:
164
- - `--agent <agents>`: Comma-separated (e.g. `opencode,pi,cursor`). Omitting targets all.
165
- - `--project <path>`: Project-level config (Abs path for MCP).
166
- - `--path <path>`: Direct skill install path.
167
- - `-f, --force`: Overwrite existing config.
168
- *MCP Rules*: All configured MCP agents support global (no `--project`) and project-level MCP, except `qoder` (not supported).
169
-
170
- ### `devecocli auth login`
171
- Sign in to your Huawei Developer account. Opens a browser for OAuth authentication. Required before `signature generate`.
172
- *Ex*: `devecocli auth login`
173
-
174
- ### `devecocli auth logout`
175
- Sign out and clear locally stored credentials.
176
-
177
- ### `devecocli auth status`
178
- Show the current logged-in user.
179
-
180
- ### `devecocli auth team list`
181
- List team accounts the current user has joined.
182
-
183
- ### `devecocli skills`
184
- Manage HarmonyOS skills in AI agents/projects.
185
- - `list [-l|--long]` / `find <keyword>`: List or search skills.
186
- - `add (--all | --skill <name>) [--agent <a,b…>] [--project <path>] [--path <path>] [-f]`: Install.
187
- - `remove --skill <name> [...]`: Uninstall.
188
-
189
- ### `devecocli check compat` `[Outside sandbox]`
190
- Scan source code for breaking API changes between two SDK versions. Built on top of DevEco Studio's `arkanalyzer-apiscan` plugin.
191
- - `versions`: List available target SDK versions. Opts: `--format <default|json>` (default: `default`).
192
- - Default (no args): project-level scan.
193
- - `--modules <m1> [m2...]`: Module-level scan.
194
- - `<file1> [file2...]`: File-level scan (`.ets`/`.c`/`.cpp` only).
195
- - `--source-version <v>` (Req) / `--target-version <v>` (Req): SDK version pair. Run `devecocli check compat versions` first; on zsh, **quote the value** (e.g. `"<source_version>"`, `"<target_version>"`).
196
- - `--format <default|csv|json>` (default: `default`): Console output accepts `default` (text) or `json`; file output (via `--output-path`) accepts `default` (csv), `csv`, or `json`. `csv` requires `--output-path`.
197
- - `--output-path <path>`: Directory (writes `apiChange-*.csv`/`apiChange-*.json`) or explicit file (extension must match `--format`).
198
- - `--limit <n>` (default `100`): Max records shown on console when no `--output-path`.
199
-
200
- Validation order: `files` + `--modules` mutually exclusive → `--source-version`/`--target-version` required → `csv` requires `--output-path` → project dir valid → modules exist → files exist + extension valid → versions in catalog + `target > source` → format/extension match → output target writable.
201
-
202
- *Ex*: `devecocli check compat --source-version "<source_version>" --target-version "<target_version>" --output-path ./report`
203
-
204
- ## 3. Maintenance
205
-
206
- - **`devecocli update`** `[Outside sandbox]`: Update CLI to latest version.
207
- - **`devecocli serve mcp`**: Host stdio MCP server (`check` tool for `.ets`/C/C++). Used via `init --mcp`. (Env: `PROJECT_PATH`, `DEVECO_PATH`, `NODE_MAX_OLD_SPACE_SIZE`, `DEBUG=1`).
208
-
209
- ## Recipes
210
-
211
- - **Fresh checkout to emulator**:
212
- `devecocli build` -> `devecocli emulator list` -> `devecocli emulator start "Name"` -> `devecocli run`
213
- - **Diagnose crash**:
214
- `devecocli log --crash --bundle-name <bundle>`
215
- - **Release build**:
216
- `devecocli build --product oversea --build-mode release`
217
- - **First-time signing setup**:
218
- `devecocli auth login` -> `devecocli signature generate --product default` -> `devecocli build` -> `devecocli run`
219
-
220
- ## Troubleshooting
221
-
222
- - **"Product / Build mode `<x>` not found"**: Check `build-profile.json5`.
223
- - **"Multiple entry modules" / "No entry module"**: Pass `--modules` (build) or `--module` (run).
224
- - **"No active devices" / "Multiple devices connected"**: Connect/start emulator. Pass `-t <serial>` (device view) or `--device <name|serial>` (run/log).
225
- - **`error:install sign info inconsistent`**: Signing key changed. Run `devecocli run --uninstall` or `devecocli signature generate --force`.
226
- - **`Not logged in. Run devecocli auth login first`**: Run `devecocli auth login` to authenticate.
227
- - **`Provision number exceeds limit`**: Test provision quota is full. Delete old test provisions in DevEco Studio (Signing Configs) or AGC console, then retry `devecocli signature generate`.
228
- - **`Invalid AccessToken. Sign in and try again`**: Token expired. Run `devecocli auth login` again.
229
- - **`skills add` agent not found**: Valid: `atomcode`, `codebuddy`, `claude-code`, `codex`, `cursor`, `dsh`, `deveco`, `opencode`, `pi`, `qoder`, `trae-cn`.
230
- - **`emulator start` / `image download` blocked on agreement**: User MUST accept agreements. Interactive: `devecocli emulator license` (requires TTY). Non-interactive (CI/scripts): `devecocli emulator license accept`. Agents cannot run the interactive form; suggest the user run it, or use `license accept` if a non-TTY flow is acceptable. Do not retry until accepted.
231
- - **`image download` failure / timeout**: Do NOT auto-retry. Give the command to the user to run manually in their terminal.
232
- - **`emulator create` timeout**: Treat as user-action step. Ask user to open DevEco Studio -> Device Manager. Check `emulator list` after user confirms. Do NOT auto-retry or edit SDK files.
233
- - **`image list` duplicate OS rows**: `phone`/`foldable`/`widefold`/`triplefold` share the same image. Download/remove ONCE per OS version.
234
- **`ui layout` missing expected node**: `layout` only returns on-screen nodes. The user must scroll the target into view on the device before retrying (no CLI input subcommands in this build).