czk200518-hash/dsh-tlogs ↗★ 0

dsh-tlogs

在侧边栏常驻显示DeepSeek账号的Token用量 适合需要实时监控和统计DeepSeek平台Token消耗情况的用户。

套件
dsh-tlogs
相容性
待驗證
版本
0.1.0
授權
GPL-3.0
最近更新
2026年10月13日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:czk200518-hash/dsh-tlogs

配置

配置默认说明
exposeUsageToModelfalse注册对话内查询工具
useAccountSessiontrue复用 DSH 账号凭据
localUsage / localUsageScanDaystrue / 32读会话日志与回溯天数
enableProjectScopetrue当前项目卡片
persistHistorytrue历史落盘
autoRefreshSeconds300定时刷新间隔,0 关闭
cacheTTL.total / .current1800 / 300缓存秒数
startYear / startMonth2024 / 4历史起点
requestIntervalMs1000月度请求间隔
numberFormatshortfull 千分位 / short K·M·B
compactMetrics[total, today]紧凑条指标
cacheDir''空为 /tlogs

compactMetrics 可选:total、today、week、month、last7、last30、cost_total、cost_today、cost_last7、cost_last30。

环境变量:DEEPSEEK_PLATFORM_USER_TOKEN、TLOGS_CACHE_DIR、DSH_HOME。