dsh-usage-overview 1.1.2 → 1.1.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.en.md +0 -4
- package/README.md +0 -4
- package/lib/client.js +0 -8
- package/package.json +1 -1
package/README.en.md
CHANGED
|
@@ -27,10 +27,6 @@ cache-hit-rate trends, and a per-model breakdown with a stacked day/week chart.
|
|
|
27
27
|
- **Light and dark themes** — colours come from DSH theme tokens, including the
|
|
28
28
|
tooltip's own dark-surface label token.
|
|
29
29
|
|
|
30
|
-
| Desktop | Phone (390px) |
|
|
31
|
-
|---|---|
|
|
32
|
-
|  |  |
|
|
33
|
-
|
|
34
30
|
## Install
|
|
35
31
|
|
|
36
32
|
The plugin is a DSH bundle. It needs a harness build that provides the
|
package/README.md
CHANGED
package/lib/client.js
CHANGED
|
@@ -410,7 +410,6 @@ window.__ModuleLoader__.load({
|
|
|
410
410
|
h(
|
|
411
411
|
'div',
|
|
412
412
|
{ className: 'dus-heat-legend' },
|
|
413
|
-
scrollable ? h('span', { className: 'dus-heat-hint' }, '← 左右滑动 →') : null,
|
|
414
413
|
h('span', null, '少'),
|
|
415
414
|
...[0, 1, 2, 3, 4].map((level) =>
|
|
416
415
|
h('div', { key: `l-${String(level)}`, className: 'dus-heat-cell', 'data-level': String(level), style: { width: '10px', height: '10px' } }),
|
|
@@ -1170,7 +1169,6 @@ window.__ModuleLoader__.load({
|
|
|
1170
1169
|
'div',
|
|
1171
1170
|
{ className: 'dus-bars-heading' },
|
|
1172
1171
|
h('h3', { className: 'dus-bars-title' }, '各模型用量趋势'),
|
|
1173
|
-
h('span', { className: 'dus-bars-note' }, '堆叠高度 = Token 总量 · 颜色对应上方模型'),
|
|
1174
1172
|
),
|
|
1175
1173
|
h(
|
|
1176
1174
|
'div',
|
|
@@ -1668,8 +1666,6 @@ window.__ModuleLoader__.load({
|
|
|
1668
1666
|
'div',
|
|
1669
1667
|
{ className: 'dus-panel-head' },
|
|
1670
1668
|
h('h2', { className: 'dus-panel-title' }, '每日平均缓存命中率'),
|
|
1671
|
-
h('div', { className: 'dus-head-spacer' }),
|
|
1672
|
-
h('span', { className: 'dus-panel-sub' }, `${rangeLabel(rangeId)} · 按输入 token 加权`),
|
|
1673
1669
|
),
|
|
1674
1670
|
h(TokenCacheRate, { days, rangeDays: range }),
|
|
1675
1671
|
),
|
|
@@ -1681,8 +1677,6 @@ window.__ModuleLoader__.load({
|
|
|
1681
1677
|
'div',
|
|
1682
1678
|
{ className: 'dus-panel-head' },
|
|
1683
1679
|
h('h2', { className: 'dus-panel-title' }, '模型用量'),
|
|
1684
|
-
h('div', { className: 'dus-head-spacer' }),
|
|
1685
|
-
h('span', { className: 'dus-panel-sub' }, '来源 = 模型接入的提供方'),
|
|
1686
1680
|
),
|
|
1687
1681
|
h(ModelDonut, { models: modelsWithUsage }),
|
|
1688
1682
|
h(ModelUsageChart, { days, models: modelsWithUsage, rangeDays: range }),
|
|
@@ -1890,7 +1884,6 @@ window.__ModuleLoader__.load({
|
|
|
1890
1884
|
margin-top: 10px; font-size: 11px; color: var(--dsw-alias-label-secondary);
|
|
1891
1885
|
}
|
|
1892
1886
|
.dus-heat-legend .dus-heat-cell { width: 10px; height: 10px; }
|
|
1893
|
-
.dus-heat-hint { margin-right: auto; color: var(--dsw-alias-label-secondary); }
|
|
1894
1887
|
|
|
1895
1888
|
.dus-tip {
|
|
1896
1889
|
position: fixed; z-index: 60; pointer-events: none;
|
|
@@ -2027,7 +2020,6 @@ window.__ModuleLoader__.load({
|
|
|
2027
2020
|
gap: 4px 10px; min-width: 0; flex: 1 1 200px;
|
|
2028
2021
|
}
|
|
2029
2022
|
.dus-bars-title { font-size: 13.5px; font-weight: 600; margin: 0; line-height: 1.3; }
|
|
2030
|
-
.dus-bars-note { font-size: 11px; color: var(--dsw-alias-label-secondary); }
|
|
2031
2023
|
.dus-trend-toggle { margin-left: auto; flex: none; }
|
|
2032
2024
|
.dus-seg-sm .dus-seg-btn { padding: 3px 10px; font-size: 11px; }
|
|
2033
2025
|
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "dsh-usage-overview",
|
|
3
3
|
"displayName": "DSH Usage Overview",
|
|
4
4
|
"description": "A usage overview for DeepSeek Harness: token totals, activity heatmap, daily token and cache trends, and per-model attribution.",
|
|
5
|
-
"version": "1.1.
|
|
5
|
+
"version": "1.1.3",
|
|
6
6
|
"icon": "icon.svg",
|
|
7
7
|
"author": "w-callan-w",
|
|
8
8
|
"repository": {
|