dsh-usage-peak 1.6.0 → 1.6.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,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.6.1
4
+
5
+ - 仓库迁移到新账号 `hseons`:面板页脚、导出链接、`REPO_URL` 与 npm 包的 repository / homepage / bugs 全部改指 `https://github.com/hseons/dsh-usage-peak`,旧 `hhse` 地址已失效。
6
+
3
7
  ## 1.6.0
4
8
 
5
9
  - 图表新增自定义详情浮层:悬停或聚焦小时图 / 每日趋势,显示该时段的花费、请求、tokens、缓存命中率与峰谷;浮层按列居中并 clamp 在图表内,窄侧栏也不溢出,原生 title 双提示已移除。
package/client.js CHANGED
@@ -1804,10 +1804,10 @@ window.__ModuleLoader__.load({
1804
1804
  h(
1805
1805
  'a',
1806
1806
  {
1807
- href: (data && data.repo) || 'https://github.com/hhse/dsh-usage-peak',
1807
+ href: (data && data.repo) || 'https://github.com/hseons/dsh-usage-peak',
1808
1808
  target: '_blank',
1809
1809
  rel: 'noopener noreferrer',
1810
- title: 'https://github.com/hhse/dsh-usage-peak',
1810
+ title: 'https://github.com/hseons/dsh-usage-peak',
1811
1811
  style: {
1812
1812
  color: C.text2,
1813
1813
  textDecoration: 'none',
@@ -1818,7 +1818,7 @@ window.__ModuleLoader__.load({
1818
1818
  },
1819
1819
  },
1820
1820
  '⭐',
1821
- 'github.com/hhse/dsh-usage-peak',
1821
+ 'github.com/hseons/dsh-usage-peak',
1822
1822
  h('span', { style: { color: C.peak, fontWeight: 600 } }, `· ${t('footer.star')}`),
1823
1823
  ),
1824
1824
  data && data.version
package/index.js CHANGED
@@ -17,7 +17,7 @@ import zlib from 'node:zlib';
17
17
  import { CALENDAR_YEARS, OFF_DAYS, WORKDAYS, hasCalendar, yearOf } from './holidays.js';
18
18
 
19
19
  const NS = 'dsh-usage-peak';
20
- const REPO_URL = 'https://github.com/hhse/dsh-usage-peak';
20
+ const REPO_URL = 'https://github.com/hseons/dsh-usage-peak';
21
21
  const VERSION = JSON.parse(fs.readFileSync(new URL('./package.json', import.meta.url), 'utf8')).version;
22
22
  const ROUTE_BASE = '/plugin/dsh-usage-peak';
23
23
  const SNAPSHOT_TTL_MS = 15_000;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-usage-peak",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "type": "module",
5
5
  "description": "DeepSeek Harness 用量峰谷仪表盘:峰/谷时段(含节假日与调休)、按请求开始时刻计价、自定义价目表、今日花费与 tokens、项目下钻/模型统计、可配置预算预警、余额可撑天数、CSV 导出、7/14/30 天窗口、缓存命中、谷时更省,侧栏常驻胶囊 + 设置页详情。",
6
6
  "exports": {
@@ -57,11 +57,11 @@
57
57
  "author": "mumuhmumu",
58
58
  "repository": {
59
59
  "type": "git",
60
- "url": "git+https://github.com/hhse/dsh-usage-peak.git"
60
+ "url": "git+https://github.com/hseons/dsh-usage-peak.git"
61
61
  },
62
- "homepage": "https://github.com/hhse/dsh-usage-peak#readme",
62
+ "homepage": "https://github.com/hseons/dsh-usage-peak#readme",
63
63
  "bugs": {
64
- "url": "https://github.com/hhse/dsh-usage-peak/issues"
64
+ "url": "https://github.com/hseons/dsh-usage-peak/issues"
65
65
  },
66
66
  "publishConfig": {
67
67
  "access": "public"