@deveco-test/deveco-cli 1.3.3-Test.1 → 1.3.3-Test.3
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/README.md +99 -19
- package/SKILL.md +18 -9
- package/THIRD-PARTY-LICENSES +6 -6
- package/dist/cli.js +143 -132
- package/dist/internal/telemetry-upload-background.js +2 -2
- package/docs.zip +2 -2
- package/index.zip +0 -0
- package/package.json +2 -2
- package/src/resources/arkts-check.cjs +3642 -0
- package/templates/application/gitignore.txt +2 -1
package/README.md
CHANGED
|
@@ -137,6 +137,7 @@ devecocli init --path D:\work\ARKTS\NewData
|
|
|
137
137
|
| `devecocli create` | 创建新的 HarmonyOS 项目 |
|
|
138
138
|
| `devecocli build` | 构建项目并产出 `.hap` / `.hsp` / `.har` / `.app` |
|
|
139
139
|
| `devecocli check lint` | 检查代码规范并输出实践建议与报告 |
|
|
140
|
+
| `devecocli check arkts` | 对 `.ets` 源文件执行 ArkTS 静态检查 |
|
|
140
141
|
| `devecocli run` | 安装并运行应用 |
|
|
141
142
|
| `devecocli device list` | 查看当前连接设备 |
|
|
142
143
|
| `devecocli emulator list` | 查看本地模拟器实例 |
|
|
@@ -172,7 +173,7 @@ Usage: devecocli [options] [command]
|
|
|
172
173
|
HarmonyOS application development command line tool
|
|
173
174
|
|
|
174
175
|
Options:
|
|
175
|
-
-V, --version
|
|
176
|
+
-V, -v, --version output the version number
|
|
176
177
|
-h, --help display help for command
|
|
177
178
|
|
|
178
179
|
Commands:
|
|
@@ -208,7 +209,7 @@ devecocli init --agent <agents> --project <path> --path <path> --skill --mcp --f
|
|
|
208
209
|
|
|
209
210
|
| 参数名 | 说明 |
|
|
210
211
|
| ----------- | ----------------------------------------------------------------------------------------- |
|
|
211
|
-
| --agent |
|
|
212
|
+
| --agent | 可选,智能体名称,多个智能体名称以英文逗号分隔。缺省时配置到所有已检测到的智能体中 |
|
|
212
213
|
| --project | 可选,指定工程路径,将`deveco-cli` `Skill` 或 `MCP` 服务安装到该工程项目中 |
|
|
213
214
|
| --path | 可选,指定 `deveco-cli` `Skill` 的配置路径。不可与 `--project` 、`--agent` 、 `--mcp` 同时使用 |
|
|
214
215
|
| --skill | 可选,安装 `deveco-cli` `Skill`。不可与 `--mcp` 同时使用。`--mcp` 与 `--skill` 都缺省时,执行 `--skill` |
|
|
@@ -521,6 +522,37 @@ devecocli check lint [path]
|
|
|
521
522
|
|
|
522
523
|
`emulator` 版本要求: DevEco Studio ≥ 6.1.0
|
|
523
524
|
|
|
525
|
+
### `check arkts`
|
|
526
|
+
|
|
527
|
+
对 `.ets` 源文件执行 ArkTS 静态检查,基于 DevEco Studio 的 `etsStandaloneChecker`。
|
|
528
|
+
|
|
529
|
+
**命令格式:**
|
|
530
|
+
|
|
531
|
+
```bash
|
|
532
|
+
devecocli check arkts [files...] [--fix] [--project <path>]
|
|
533
|
+
```
|
|
534
|
+
|
|
535
|
+
**参数:**
|
|
536
|
+
|
|
537
|
+
| 参数名 | 说明 |
|
|
538
|
+
| --- | --- |
|
|
539
|
+
| `[files...]` | 可选,待检查的 `.ets` 文件列表;默认检查项目内所有 `.ets` 文件 |
|
|
540
|
+
| `--fix` | 自动修复高置信度错误(如缺失的 `export` 关键字) |
|
|
541
|
+
| `--project <path>` | 项目根目录;默认从当前目录自动检测 `build-profile.json5` |
|
|
542
|
+
|
|
543
|
+
**示例:**
|
|
544
|
+
|
|
545
|
+
```bash
|
|
546
|
+
# 检查整个项目
|
|
547
|
+
devecocli check arkts
|
|
548
|
+
|
|
549
|
+
# 检查指定文件并自动修复
|
|
550
|
+
devecocli check arkts --fix entry/src/main/ets/pages/Index.ets
|
|
551
|
+
|
|
552
|
+
# 指定项目路径
|
|
553
|
+
devecocli check arkts --project /path/to/project
|
|
554
|
+
```
|
|
555
|
+
|
|
524
556
|
### `emulator list`
|
|
525
557
|
|
|
526
558
|
查看模拟器实例
|
|
@@ -529,19 +561,22 @@ devecocli check lint [path]
|
|
|
529
561
|
|
|
530
562
|
```bash
|
|
531
563
|
devecocli emulator list [--format <table|json>]
|
|
564
|
+
devecocli emulator list --details
|
|
532
565
|
```
|
|
533
566
|
|
|
534
567
|
**参数:**
|
|
535
568
|
|
|
536
569
|
| 参数名 | 说明 |
|
|
537
570
|
| --- | --- |
|
|
538
|
-
| `--format` | 可选,控制终端输出格式,取值为 `table` 或 `json`,默认为 `table` |
|
|
571
|
+
| `--format` | 可选,控制终端输出格式,取值为 `table` 或 `json`,默认为 `table`;`json` 返回固定的五字段精简结构 |
|
|
572
|
+
| `--details` | 可选,直接输出底层 `Emulator -list -details` 的完整 JSON,不做任何字段裁剪、重命名或补充;与 `--format` 互斥 |
|
|
539
573
|
|
|
540
574
|
**示例:**
|
|
541
575
|
|
|
542
576
|
```bash
|
|
543
577
|
devecocli emulator list
|
|
544
578
|
devecocli emulator list --format json
|
|
579
|
+
devecocli emulator list --details
|
|
545
580
|
```
|
|
546
581
|
|
|
547
582
|
### `emulator start`
|
|
@@ -608,7 +643,8 @@ devecocli emulator volume up --target Phone
|
|
|
608
643
|
devecocli emulator fold half-open --target Phone
|
|
609
644
|
devecocli emulator battery --target Phone --level 90
|
|
610
645
|
devecocli emulator battery --target Phone --status charging
|
|
611
|
-
devecocli emulator
|
|
646
|
+
devecocli emulator battery --target Phone --level 80 --status charging
|
|
647
|
+
devecocli emulator geolocation --target Phone --longitude 116.40024 --latitude 39.908
|
|
612
648
|
devecocli emulator scene outdoorRunning --target Phone
|
|
613
649
|
devecocli emulator sensor --target Phone --heartrate 80
|
|
614
650
|
```
|
|
@@ -616,11 +652,14 @@ devecocli emulator sensor --target Phone --heartrate 80
|
|
|
616
652
|
**说明:**
|
|
617
653
|
|
|
618
654
|
- `--target` 支持模拟器名称或 `127.0.0.1:<port>` 序列号。
|
|
655
|
+
- `battery --level` 与 `battery --status` 可同时传入(一次调用同时设置电量与充电状态)。
|
|
619
656
|
- `battery --level` 会自动查询模拟器当前充电状态:充电时取值范围为整数 `[0, 100]`,未充电时为 `[1, 100]`。
|
|
620
657
|
- `battery --status` 取值为 `charging` 或 `discharging`。
|
|
658
|
+
- `--level 0` 与 `--status discharging` 组合非法(电量 0 仅在充电时允许),会被拒绝。
|
|
621
659
|
- `geolocation` 支持 `--longitude`、`--latitude`、`--altitude`、`--direction`。
|
|
622
660
|
- `scene` 取值为 `outdoorRunning`、`outdoorCycling`、`drivingNavigation`。
|
|
623
|
-
- `sensor` 支持 `--light-intensity`、`--humidity`、`--temperature`、`--steps`、`--heartrate
|
|
661
|
+
- `sensor` 支持 `--light-intensity`、`--humidity`、`--temperature`、`--steps`、`--heartrate`,可同时传入多个。
|
|
662
|
+
- `geolocation`/`battery`/`sensor` 多参数为逐项串行下发、非原子:第 N 项失败时前 N−1 项已生效且不回滚,建议失败后整体重跑。
|
|
624
663
|
- `fold <state>` 会根据目标模拟器的设备类型校验状态,设备与参数必须匹配:
|
|
625
664
|
|
|
626
665
|
| 设备类型 | 支持的 `state` |
|
|
@@ -639,44 +678,78 @@ devecocli emulator sensor --target Phone --heartrate 80
|
|
|
639
678
|
**命令格式:**
|
|
640
679
|
|
|
641
680
|
```bash
|
|
642
|
-
devecocli emulator create <name>
|
|
681
|
+
devecocli emulator create <name> \
|
|
682
|
+
--device-type <type> \
|
|
683
|
+
--os-version <version> \
|
|
684
|
+
[--instance-path <path>] \
|
|
685
|
+
[--image-root <path>] \
|
|
686
|
+
[--screen-profile <model>] \
|
|
687
|
+
[--screen <config...>] \
|
|
688
|
+
[--storage <size>] \
|
|
689
|
+
[--memory <size>] \
|
|
690
|
+
[--hot-boot <true|false>] \
|
|
691
|
+
[--force]
|
|
643
692
|
```
|
|
644
693
|
|
|
645
694
|
**参数:**
|
|
646
695
|
|
|
647
|
-
| 参数名
|
|
648
|
-
|
|
|
649
|
-
| name
|
|
650
|
-
|
|
|
651
|
-
|
|
|
652
|
-
|
|
|
696
|
+
| 参数名 | 说明 |
|
|
697
|
+
| --- | --- |
|
|
698
|
+
| `name` | 必选,模拟器名称 |
|
|
699
|
+
| `--device-type` | 必选,指定模拟器产品类型,支持的产品类型以官方设备支持类型为准,不区分大小写 |
|
|
700
|
+
| `--os-version` | 必选,模拟器镜像版本 |
|
|
701
|
+
| `--instance-path` / `--path` | 可选,模拟器实例路径 |
|
|
702
|
+
| `--image-root` | 可选,模拟器镜像路径 |
|
|
703
|
+
| `--screen-profile` | 可选,模拟器设备型号,例如 `Mate 70 Pro` |
|
|
704
|
+
| `--screen` | 可选,屏幕配置,格式为 `宽度(px) 高度(px) DPI 屏幕对角线长度(inch)`;宽度和高度范围为 720~3500 px,DPI 范围为 240~640,屏幕对角线长度范围为 3.5~9 inch;折叠屏模拟器传入两组配置 |
|
|
705
|
+
| `--storage` | 可选,存储空间,范围 `2–1023`,单位 G |
|
|
706
|
+
| `--memory` | 可选,运行内存,范围 `2–32`,单位 G |
|
|
707
|
+
| `--hot-boot` | 可选,取值为 `true` 或 `false`,从 26.0.0 Beta1 开始支持;API 26 及以上未指定时默认为 `true` |
|
|
708
|
+
| `--force` | 可选,覆盖已有同名的模拟器 |
|
|
709
|
+
|
|
710
|
+
`--screen-profile` 和 `--screen` 可同时指定,此时使用 `--screen`。
|
|
653
711
|
|
|
654
712
|
**示例:**
|
|
655
713
|
|
|
656
714
|
```bash
|
|
657
715
|
devecocli emulator create MyPhone --device-type phone --os-version "HarmonyOS 6.0.1(21)"
|
|
716
|
+
|
|
717
|
+
devecocli emulator create MyPhone \
|
|
718
|
+
--device-type phone \
|
|
719
|
+
--os-version "HarmonyOS 6.0.1(21)" \
|
|
720
|
+
--screen-profile "Mate 70 Pro" \
|
|
721
|
+
--storage 8 \
|
|
722
|
+
--memory 8
|
|
723
|
+
|
|
724
|
+
devecocli emulator create Foldable \
|
|
725
|
+
--device-type foldable \
|
|
726
|
+
--os-version "HarmonyOS 6.0.1(21)" \
|
|
727
|
+
--screen "2200 2480 480 7.8" "1080 2480 480 6.4"
|
|
658
728
|
```
|
|
659
729
|
|
|
660
730
|
### `emulator delete`
|
|
661
731
|
|
|
662
|
-
|
|
732
|
+
删除模拟器
|
|
663
733
|
|
|
664
734
|
**命令格式:**
|
|
665
735
|
|
|
666
736
|
```bash
|
|
667
|
-
devecocli emulator delete <name>
|
|
737
|
+
devecocli emulator delete <name> [--instance-path <path>]
|
|
668
738
|
```
|
|
669
739
|
|
|
670
740
|
**参数:**
|
|
671
741
|
|
|
672
|
-
| 参数名
|
|
673
|
-
|
|
|
674
|
-
| name | 必选,模拟器实例名称或序列号 |
|
|
742
|
+
| 参数名 | 说明 |
|
|
743
|
+
| --- | --- |
|
|
744
|
+
| `name` | 必选,模拟器实例名称或序列号 |
|
|
745
|
+
| `--instance-path` / `--path` | 可选,模拟器实例路径;删除通过自定义路径创建的模拟器时,需传入创建时使用的同一路径 |
|
|
675
746
|
|
|
676
747
|
**示例:**
|
|
677
748
|
|
|
678
749
|
```bash
|
|
679
750
|
devecocli emulator delete MyPhone
|
|
751
|
+
|
|
752
|
+
devecocli emulator delete MyPhone --instance-path /custom/instance/path
|
|
680
753
|
```
|
|
681
754
|
|
|
682
755
|
### `emulator image list`
|
|
@@ -1216,14 +1289,14 @@ devecocli ui window list --all
|
|
|
1216
1289
|
**命令格式:**
|
|
1217
1290
|
|
|
1218
1291
|
```bash
|
|
1219
|
-
devecocli run --module <
|
|
1292
|
+
devecocli run --module <m1> [m2...] --device <device> --product <product> --build-mode <mode> --ability <ability> --uninstall --skip-build --apply <fileName> --hotreload [action] --hotreload-apply <fileName>
|
|
1220
1293
|
```
|
|
1221
1294
|
|
|
1222
1295
|
**参数:**
|
|
1223
1296
|
|
|
1224
1297
|
| 参数名 | 说明 |
|
|
1225
1298
|
| ------------ |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
1226
|
-
| --module |
|
|
1299
|
+
| --module | 可选,模块名称,支持多个以空格分隔。如需指定模块的 `target` 信息,使用 `module@target` 形式。当工程中只有一个可运行模块( `entry` / `feature` / `shared` )时,可缺省 |
|
|
1227
1300
|
| --device | 设备名称或设备序列号,单设备时可选,多设备时必选 |
|
|
1228
1301
|
| --product | 可选,产品的名称,默认为 `default` |
|
|
1229
1302
|
| --build-mode | 可选,构建模式名称,默认为 `debug` |
|
|
@@ -1240,6 +1313,7 @@ devecocli run --module <module> --device <device> --product <product> --build-mo
|
|
|
1240
1313
|
devecocli run
|
|
1241
1314
|
devecocli run --module entry --device 127.0.0.1:5555
|
|
1242
1315
|
devecocli run --module library@phone --device 127.0.0.1:5555
|
|
1316
|
+
devecocli run --module entry service uiextension --device 127.0.0.1:5555
|
|
1243
1317
|
devecocli run --product oversea --module entry --ability EntryAbility
|
|
1244
1318
|
devecocli run --build-mode release
|
|
1245
1319
|
devecocli run --uninstall
|
|
@@ -1249,6 +1323,12 @@ devecocli run --hotreload stop
|
|
|
1249
1323
|
devecocli run --hotreload-apply changes.txt
|
|
1250
1324
|
```
|
|
1251
1325
|
|
|
1326
|
+
**说明:**
|
|
1327
|
+
|
|
1328
|
+
- 应用启动成功后(含 `--apply` 增量部署重启后),默认自动执行**冒烟检查**:确认应用进程仍存活,并对屏幕截图做纯色空白检测(pHash)。通过时输出 `Smoke: PASS`;进程已退出时输出 `Smoke: FAIL_CRASH`(附带 `crash_log:` 崩溃日志路径),检测到空白屏时输出 `Smoke: FAIL_BLANK`(附带 `screenshot:` 截图路径),检查失败时命令以非零码退出。证据仅在失败时落盘于工程 `.hvigor/smoke/` 下的本次运行独立目录:失败的截图与崩溃日志自检查结束起**保留 24 小时**(期间任何后续 run 都不会删除),之后由下一次 run 自动清理;`PASS` 的截图在判定后连同目录一并删除。进行中的并发检查互不影响,`.hvigor/` 不会随 run 次数堆积。
|
|
1329
|
+
- 无可启动的 `Ability`,或使用 `--hotreload` / `--hotreload-apply` 时,跳过冒烟检查。
|
|
1330
|
+
- 冒烟检查取证前默认等待 `1000` 毫秒(供应用完成冷启动),可通过环境变量 `DEVECO_CLI_SMOKE_WAIT_MS`(毫秒)调整:设为 `0` 立即取证;冷启动较慢的设备可适当调大以避免误报。
|
|
1331
|
+
|
|
1252
1332
|
### `log`
|
|
1253
1333
|
|
|
1254
1334
|
查看`hilog`普通日志或崩溃日志
|
package/SKILL.md
CHANGED
|
@@ -38,21 +38,30 @@ Run DevEco Code Linter checks for TS/ArkTS code.
|
|
|
38
38
|
- Options: `--config-path <file>`, `--fix`, `--incremental`, `--product <name>`, `--format <default|json>`, `--output-path <path>`, `--limit <number>`.
|
|
39
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
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
|
+
|
|
41
49
|
### `devecocli emulator`
|
|
42
50
|
Manage local emulator instances and system images.
|
|
43
51
|
- **Studio requirement**: DevEco Studio `>= 6.1.0`.
|
|
44
|
-
- `list`: Show instances (status, serial, device type). Opt: `--format <table|json>` (default: `table`).
|
|
52
|
+
- `list`: Show instances (status, serial, device type). Opt: `--format <table|json>` (default: `table`); `--details` (mutually exclusive with `--format`) dumps the raw JSON of `Emulator -list -details` verbatim — no field trimming/renaming.
|
|
45
53
|
- `start <names...>`: Start instances. Quote names with spaces. (See Troubleshooting if blocked).
|
|
46
54
|
- `stop <names...>`: Stop by name or serial (`127.0.0.1:<port>`).
|
|
47
55
|
- Scene control commands require Emulator 7.0 or later. Use `DEVECO_CLI_DEBUG=1` to inspect the underlying `Emulator` command mapping.
|
|
48
56
|
- `shake` / `power` / `rotate <left|right>` / `volume <up|down>` (Req: `--target <nameOrSerial>`): Basic emulator controls.
|
|
49
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.
|
|
50
|
-
- `battery` (Req: `--target`;
|
|
51
|
-
- `geolocation` (Req: `--target`; one
|
|
58
|
+
- `battery` (Req: `--target`; `--level <0-100>` and/or `--status <charging|discharging>`): Set battery state. `--level` and `--status` may be set together in one call. `--level` checks the current emulator charging state automatically (`0-100` while charging, `1-100` otherwise); `--level 0` combined with `--status discharging` is rejected as invalid.
|
|
59
|
+
- `geolocation` (Req: `--target`; `--longitude`+`--latitude` recommended together, missing one warns only; Opt: `--altitude`, `--direction`): Inject GPS data (multiple options in one call).
|
|
52
60
|
- `scene <outdoorRunning|outdoorCycling|drivingNavigation>` (Req: `--target`): Start motion simulation.
|
|
53
|
-
- `sensor` (Req: `--target`;
|
|
54
|
-
- `
|
|
55
|
-
- `
|
|
61
|
+
- `sensor` (Req: `--target`; `--light-intensity`/`--humidity`/`--temperature`/`--steps`/`--heartrate`, multiple may be set in one call): Inject sensor data.
|
|
62
|
+
- Multi-option `geolocation`/`battery`/`sensor` commands dispatch actions sequentially and are non-atomic: on action N failure, actions 1..N-1 are already applied with no rollback; re-run the whole command to converge.
|
|
63
|
+
- `create <name>` (Req: `--device-type`, `--os-version`): Create instance. Opts: `--instance-path <path>` (alias `--path`), `--image-root <path>`, `--screen-profile <model>`, `--screen <config...>`, `--storage <2-1023>`, `--memory <2-32>`, `--hot-boot <true|false>`, `--force`. Device type is case-insensitive. `--screen` accepts one quoted configuration or two for a foldable device in the format `width(px) height(px) DPI screen-diagonal-length(inch)`; width/height: 720-3500 px, DPI: 240-640, screen diagonal length: 3.5-9 inch. When combined with `--screen-profile`, `--screen` takes precedence. API 26+ uses hot boot by default unless explicitly disabled.
|
|
64
|
+
- `delete <name>`: Delete instance. Opt: `--instance-path <path>` (alias `--path`) — required to delete an instance created with a custom path.
|
|
56
65
|
- `image list`: List downloaded images. Opts: `--device-type <type>`, `--all`, `--format <table|json>`.
|
|
57
66
|
- `image download` / `image remove` (Req: `--device-type`, `--os-version`): Download/remove image. (Takes 30+ min, set long timeout).
|
|
58
67
|
*Device types*: `phone`, `foldable`, `widefold`, `triplefold`, `tablet`, `2in1`, `2in1 foldable`, `wearable`, `tv`.
|
|
@@ -77,8 +86,8 @@ Search/read local HarmonyOS docs.
|
|
|
77
86
|
- `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...]`.
|
|
78
87
|
|
|
79
88
|
### `devecocli run` `[Outside sandbox]`
|
|
80
|
-
Build, install, and launch.
|
|
81
|
-
- `--module <
|
|
89
|
+
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`.
|
|
90
|
+
- `--module <m1> [m2...]`: Target module(s) (auto-selected if only one runnable).
|
|
82
91
|
- `--device <name|serial>`: Target device (Req if multiple connected).
|
|
83
92
|
- `--product <product>` / `--build-mode <mode>`: Defaults: `default` / `debug`.
|
|
84
93
|
- `--ability <ability>`: Default from `module.json5`.
|
|
@@ -218,7 +227,7 @@ Validation order: `files` + `--modules` mutually exclusive → `--source-version
|
|
|
218
227
|
- **`Not logged in. Run devecocli auth login first`**: Run `devecocli auth login` to authenticate.
|
|
219
228
|
- **`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`.
|
|
220
229
|
- **`Invalid AccessToken. Sign in and try again`**: Token expired. Run `devecocli auth login` again.
|
|
221
|
-
- **`skills add` agent not found**: Valid: `atomcode`, `codebuddy`, `claude-code`, `codex`, `cursor`, `deveco`, `opencode`, `pi`, `qoder`, `trae-cn`.
|
|
230
|
+
- **`skills add` agent not found**: Valid: `atomcode`, `codebuddy`, `claude-code`, `codex`, `cursor`, `dsh`, `deveco`, `opencode`, `pi`, `qoder`, `trae-cn`.
|
|
222
231
|
- **`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.
|
|
223
232
|
- **`image download` failure / timeout**: Do NOT auto-retry. Give the command to the user to run manually in their terminal.
|
|
224
233
|
- **`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.
|
package/THIRD-PARTY-LICENSES
CHANGED
|
@@ -1908,7 +1908,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
1908
1908
|
|
|
1909
1909
|
The following npm package may be included in this product:
|
|
1910
1910
|
|
|
1911
|
-
- qs@6.
|
|
1911
|
+
- qs@6.16.0
|
|
1912
1912
|
|
|
1913
1913
|
This package contains the following license:
|
|
1914
1914
|
|
|
@@ -2089,7 +2089,7 @@ THE SOFTWARE.
|
|
|
2089
2089
|
|
|
2090
2090
|
The following npm package may be included in this product:
|
|
2091
2091
|
|
|
2092
|
-
- fast-uri@3.1.
|
|
2092
|
+
- fast-uri@3.1.8
|
|
2093
2093
|
|
|
2094
2094
|
This package contains the following license:
|
|
2095
2095
|
|
|
@@ -2331,7 +2331,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
2331
2331
|
|
|
2332
2332
|
The following npm package may be included in this product:
|
|
2333
2333
|
|
|
2334
|
-
- smol-toml@1.
|
|
2334
|
+
- smol-toml@1.8.0
|
|
2335
2335
|
|
|
2336
2336
|
This package contains the following license:
|
|
2337
2337
|
|
|
@@ -2586,7 +2586,7 @@ MIT
|
|
|
2586
2586
|
|
|
2587
2587
|
The following npm package may be included in this product:
|
|
2588
2588
|
|
|
2589
|
-
- adm-zip@0.6.
|
|
2589
|
+
- adm-zip@0.6.1
|
|
2590
2590
|
|
|
2591
2591
|
This package contains the following license:
|
|
2592
2592
|
|
|
@@ -2830,7 +2830,7 @@ SOFTWARE.
|
|
|
2830
2830
|
The following npm packages may be included in this product:
|
|
2831
2831
|
|
|
2832
2832
|
- side-channel-weakmap@1.0.2
|
|
2833
|
-
- side-channel@1.1.
|
|
2833
|
+
- side-channel@1.1.1
|
|
2834
2834
|
|
|
2835
2835
|
These packages each contain the following license:
|
|
2836
2836
|
|
|
@@ -2920,7 +2920,7 @@ SOFTWARE.
|
|
|
2920
2920
|
|
|
2921
2921
|
The following npm package may be included in this product:
|
|
2922
2922
|
|
|
2923
|
-
- hono@4.13.
|
|
2923
|
+
- hono@4.13.8
|
|
2924
2924
|
|
|
2925
2925
|
This package contains the following license:
|
|
2926
2926
|
|