@deveco-test/deveco-code-darwin-arm64 0.1.0-1.3 → 0.1.0-1.3-GREY
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 +40 -0
- package/bin/deveco +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -177,6 +177,45 @@ deveco auth logout
|
|
|
177
177
|
}
|
|
178
178
|
```
|
|
179
179
|
|
|
180
|
+
**UI 检查配置**
|
|
181
|
+
|
|
182
|
+
UI 检查是功能验证阶段的可选能力,用于验证界面是否符合需求描述。
|
|
183
|
+
|
|
184
|
+
该功能需调用多模态模型:已登录账号时默认使用内置 Qwen3-VL 模型,未登录时则跳过UI检查。
|
|
185
|
+
|
|
186
|
+
如需配置第三方多模态模型(仅支持 Qwen 系列),可在 `deveco.jsonc` 的 `agent` 中指定,以qwen3-vl-plus为例:
|
|
187
|
+
|
|
188
|
+
```jsonc
|
|
189
|
+
{
|
|
190
|
+
"$schema": "https://opencode.ai/config.json",
|
|
191
|
+
"provider": {
|
|
192
|
+
"myprovider": {
|
|
193
|
+
"npm": "@ai-sdk/openai-compatible",
|
|
194
|
+
"name": "alibaba",
|
|
195
|
+
"options": {
|
|
196
|
+
"baseURL": "https://dashscope.aliyuncs.com/compatible-mode/v1",
|
|
197
|
+
"apiKey": "your-api-key",
|
|
198
|
+
},
|
|
199
|
+
"models": {
|
|
200
|
+
"qwen3-vl-plus": {
|
|
201
|
+
"modalities": {
|
|
202
|
+
"input": ["text", "image"],
|
|
203
|
+
"output": ["text"],
|
|
204
|
+
},
|
|
205
|
+
},
|
|
206
|
+
},
|
|
207
|
+
},
|
|
208
|
+
},
|
|
209
|
+
"agent": {
|
|
210
|
+
"ui_verification": {
|
|
211
|
+
"mode": "subagent",
|
|
212
|
+
"model": "myprovider/qwen3-vl-plus", // 格式为<provider-name>/<model-name>
|
|
213
|
+
"hidden": true,
|
|
214
|
+
},
|
|
215
|
+
},
|
|
216
|
+
}
|
|
217
|
+
```
|
|
218
|
+
|
|
180
219
|
配置文件读取优先级:
|
|
181
220
|
|
|
182
221
|
1. 项目目录下 `.deveco/deveco.jsonc`
|
|
@@ -200,6 +239,7 @@ DevEco Code 集成了常用 HarmonyOS 开发工具能力:
|
|
|
200
239
|
| `build_project` | 执行编译构建并导出构建产物 |
|
|
201
240
|
| `start_app` | 在模拟器或真机上运行应用 |
|
|
202
241
|
| `hdc_log` | 收集/清理设备日志/查看连接模拟器 |
|
|
242
|
+
| `verify_ui` | 执行 UI 操作验证功能是否正确 |
|
|
203
243
|
| `check_ets_files` | ArkTS 静态语法检查 |
|
|
204
244
|
| `arkts_knowledge_search` | HarmonyOS 知识搜索 |
|
|
205
245
|
| `switch_cwd` | 切换构建项目路径 |
|
package/bin/deveco
CHANGED
|
Binary file
|