@deveco-test/deveco-cli 1.3.3-Test.3 → 1.3.5-Test.1
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 +2 -1
- package/SKILL.md +1 -0
- package/dist/cli.js +144 -193
- package/dist/internal/telemetry-upload-background.js +7 -7
- package/package.json +16 -56
- package/THIRD-PARTY-LICENSES +0 -4634
- package/dist/internal/doc-init-background.js +0 -1
- package/docs.zip +0 -4
- package/index.zip +0 -0
- package/scripts/postinstall.mjs +0 -29
package/README.md
CHANGED
|
@@ -149,6 +149,7 @@ devecocli init --path D:\work\ARKTS\NewData
|
|
|
149
149
|
| `devecocli ui text` | 输入文本到焦点或指定位置 |
|
|
150
150
|
| `devecocli log` | 查看 `hilog` 或崩溃日志 |
|
|
151
151
|
| `devecocli docs search` | 搜索本地 HarmonyOS 文档 |
|
|
152
|
+
| `devecocli update docs` | 更新 HarmonyOS 文档到最新兼容版本 |
|
|
152
153
|
| `devecocli init` | 安装内置技能或配置 `MCP` |
|
|
153
154
|
| `devecocli skills` | 管理 HarmonyOS 技能市场中的技能 |
|
|
154
155
|
| `devecocli signature generate` | 自动生成调试签名材料并配置到项目 |
|
|
@@ -277,7 +278,7 @@ devecocli docs read <documentId>
|
|
|
277
278
|
**示例:**
|
|
278
279
|
|
|
279
280
|
```bash
|
|
280
|
-
devecocli docs read
|
|
281
|
+
devecocli docs read 开发指南/UI_Design_Kit_UI设计套件/UI_Design_Kit简介/ui-design-introduction
|
|
281
282
|
```
|
|
282
283
|
|
|
283
284
|
### `docs catalog`
|
package/SKILL.md
CHANGED
|
@@ -205,6 +205,7 @@ Validation order: `files` + `--modules` mutually exclusive → `--source-version
|
|
|
205
205
|
## 3. Maintenance
|
|
206
206
|
|
|
207
207
|
- **`devecocli update`** `[Outside sandbox]`: Update CLI to latest version.
|
|
208
|
+
- **`devecocli update docs`**: Update HarmonyOS documentation to the latest compatible version. Downloads, verifies (sha512), and installs the docs-data package (`@deveco/deveco-cli-knowledgebase`) into the user data directory with atomic version switching. Falls back to the bundled baseline if the updated version is missing or corrupted. Opts: `--force`, `--check`.
|
|
208
209
|
- **`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`).
|
|
209
210
|
|
|
210
211
|
## Recipes
|