@deveco/deveco-code-darwin-arm64 0.1.10 → 0.1.11-rc.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/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.1.11 (2026-09-02)
4
+
5
+ ### DevEco Code 核心
6
+
7
+ #### 缺陷修复
8
+
9
+ - 实名认证复核改为复用浏览器登录流程,简化重新验证操作(`849623b9ce`)
10
+
11
+ #### 文档
12
+
13
+ - Provider 配置示例改用通用占位符,消除误导性内置 provider 示例(`0e75e01467`)
14
+
15
+ ### TUI 终端界面
16
+
17
+ #### 新特性
18
+
19
+ - 新增 `/usage` 和 `/stats` 命令,打开标签式面板展示用量与配额统计,含热力图、模型卡片及配额进度(`a063068cf2`)
20
+
3
21
  ## v0.1.10 (2026-08-29)
4
22
 
5
23
  ### DevEco Code 核心
package/README.md CHANGED
@@ -151,16 +151,21 @@ deveco auth logout
151
151
 
152
152
  在 DevEco Code 中输入 `/models` 可进入模型配置界面。当前免费提供 `GLM-5.1` 模型,单账号默认每分钟 50 次请求。也可以通过 `/connect` 进入 Provider 选择界面,配置支持的第三方模型。
153
153
 
154
- 也可以通过 `deveco.jsonc` 配置模型:
154
+ 内置免费模型通道在登录后自动可用,无需在配置文件中手动配置。如需接入其他模型服务,可以通过 `deveco.jsonc` 配置第三方 Provider(以下字段均为占位符,请替换为你的服务商信息):
155
155
 
156
156
  ```jsonc
157
157
  {
158
158
  "$schema": "https://opencode.ai/config.json",
159
159
  "provider": {
160
- "deveco": {
161
- "name": "DevEco Code",
160
+ // Provider ID,自定义命名即可,其他配置中通过 "<provider-id>/<model-id>" 引用模型
161
+ "myprovider": {
162
+ // 可选,缺省即为 openai-compatible;非 OpenAI 兼容的服务商才需要指定
163
+ "npm": "@ai-sdk/openai-compatible",
164
+ // 显示名称,可自定义
165
+ "name": "My Provider",
162
166
  "models": {
163
- "glm-5": {
167
+ // 替换为服务商提供的模型 ID
168
+ "<your-model-id>": {
164
169
  "tool_call": true,
165
170
  "limit": {
166
171
  "context": 200000,
@@ -169,8 +174,10 @@ deveco auth logout
169
174
  }
170
175
  },
171
176
  "options": {
172
- "baseURL": "https://api.openbitfun.com/v1",
173
- "apiKey": "{env:DEVECO_API_KEY}"
177
+ // 替换为服务商的 API 地址
178
+ "baseURL": "https://<your-endpoint>/v1",
179
+ // 替换为你的 API Key
180
+ "apiKey": "<your-api-key>"
174
181
  }
175
182
  }
176
183
  }
@@ -183,7 +190,7 @@ UI 检查是功能验证阶段的可选能力,用于验证界面是否符合
183
190
 
184
191
  该功能需调用多模态模型(仅用于 UI 检查,不作为主对话模型):已登录账号时默认使用内置 Qwen3-VL 模型,未登录时则跳过 UI 检查。
185
192
 
186
- 如需配置第三方多模态模型(仅支持 Qwen 系列),可在 `deveco.jsonc` 的 `agent` 中指定,以qwen3-vl-plus为例:
193
+ 如需配置第三方多模态模型(仅支持 Qwen 系列),可在 `deveco.jsonc` 的 `agent` 中指定,以 qwen3-vl-plus 为例:
187
194
 
188
195
  ```jsonc
189
196
  {
@@ -194,7 +201,7 @@ UI 检查是功能验证阶段的可选能力,用于验证界面是否符合
194
201
  "name": "alibaba",
195
202
  "options": {
196
203
  "baseURL": "https://dashscope.aliyuncs.com/compatible-mode/v1",
197
- "apiKey": "your-api-key",
204
+ "apiKey": "<your-api-key>",
198
205
  },
199
206
  "models": {
200
207
  "qwen3-vl-plus": {
@@ -209,7 +216,7 @@ UI 检查是功能验证阶段的可选能力,用于验证界面是否符合
209
216
  "agent": {
210
217
  "ui_verification": {
211
218
  "mode": "subagent",
212
- "model": "myprovider/qwen3-vl-plus", // 格式为<provider-name>/<model-name>
219
+ "model": "myprovider/qwen3-vl-plus", // 格式为 <provider-id>/<model-id>
213
220
  "hidden": true,
214
221
  },
215
222
  },
package/bin/deveco CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deveco/deveco-code-darwin-arm64",
3
- "version": "0.1.10",
3
+ "version": "0.1.11-rc.1",
4
4
  "preferUnplugged": true,
5
5
  "os": [
6
6
  "darwin"