@ponydev/dsh-model-usage 1.0.2 → 1.0.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/CHANGELOG.md +10 -0
- package/README.md +2 -0
- package/cordis.patch.yml +1 -1
- package/docs/screenshots/01-sidebar.png +0 -0
- package/docs/screenshots/02-modal.png +0 -0
- package/docs/screenshots/03-settings.png +0 -0
- package/docs/screenshots/04-request-log.png +0 -0
- package/lib/client.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.3 — 2026-10-19
|
|
4
|
+
|
|
5
|
+
### 修复
|
|
6
|
+
- 前端模块注册名与安装包名不一致导致 DSH Web 启动失败(`__ModuleLoader__` id 改为 `@ponydev/dsh-model-usage`)
|
|
7
|
+
- 账本实时记录的输入/输出/缓存字段修复后重算历史(此前实时记录 token 明细为 0,聚合少算)
|
|
8
|
+
|
|
9
|
+
### 变更
|
|
10
|
+
- 更新 README 截图(总览 / 弹窗 / 请求日志),与当前 UI 一致
|
|
11
|
+
- 新增请求日志截图 `docs/screenshots/04-request-log.png`
|
|
12
|
+
|
|
3
13
|
## 1.0.2 — 2026-10-19
|
|
4
14
|
|
|
5
15
|
### 新增
|
package/README.md
CHANGED
|
@@ -16,6 +16,8 @@
|
|
|
16
16
|
|
|
17
17
|

|
|
18
18
|
|
|
19
|
+

|
|
20
|
+
|
|
19
21
|
## 安装
|
|
20
22
|
|
|
21
23
|
要求 DSH `>= 0.2.0-rc.2 < 0.3.0`。
|
package/cordis.patch.yml
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/lib/client.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// 入口:侧边栏底部(原生 42px 行,Codex 式当前供应商)/ 设置 → 模型用量。
|
|
3
3
|
// 组件:官方 dsh-client-ui-primitives(Modal/Button/Pill/StateDot/Tooltip/锚定弹层)。
|
|
4
4
|
window.__ModuleLoader__.load({
|
|
5
|
-
id: 'dsh-model-usage',
|
|
5
|
+
id: '@ponydev/dsh-model-usage',
|
|
6
6
|
factory(require) {
|
|
7
7
|
const React = require('react')
|
|
8
8
|
const ReactDOM = require('react-dom')
|