Zenjibad/llmtrim-stats-plugin0

llmtrim-stats-plugin

DSH Web UI内的实时llmtrim节省仪表盘:包含设置页仪表盘及输入框下方的轮播统计条

AI 分析

核心用途是展示llmtrim工具对上下文精简所节省的资源数据。适合使用llmtrim进行提示词裁剪、需要实时监控Token节省比例的用户。

套件
llmtrim-stats-plugin
版本
1.0.0
授權
MIT
最近更新
2026年8月19日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Zenjibad/llmtrim-stats-plugin

⚙️ Configuration

No config file, no persisted settings. Fixed constants in source:

KnobLocationDefault
HTTP routesrc/index.tsGET /llmtrim-stats/api
Executable resolutionresolveLlmtrim in src/index.tssubprocess.resolveExecutable('llmtrim'), fallback LLMTRIM_BIN, then the npm win32-x64 path
Poll intervalPOLL_MS in src/client/index.tsx5 s
Carousel cadenceCAROUSEL_MS in src/client/index.tsx4 s
Settings seatsrc/client/index.tsxsettings.section id llmtrim-stats, order 80
Dock seatsrc/client/index.tsxconversation.composer.dock id llmtrim-carousel, order 15