dsh-last-response-stats:在最近一條助手回覆下展示輸出速度與緩存命中

dsh-last-response-stats 是 latinovicb 維護的 DSH 客戶端插件,在 Web UI 最近一條有效 Chat 回覆的 turnTail 顯示平均輸出速度(tok/s)與 prompt cache 命中率,首 token 時間來自持久化 assistant/message 流。安裝通過 Settings → Plugins 添加 npm 包名或 GitHub 倉庫 URL,需 pnpm 與 DSH >=0.2.1-rc.2 <0.3.0。適合在會話流內調試生成速度與緩存效果。

閱讀全文
dsh-warm:工具阻塞期間保持 Prompt Cache 溫熱

dsh-warm 是 DeepSeek Harness 的 host 插件,僅在 agent 循環阻塞於長工具執行時,以 maxTokens=1 重放最後一次對話請求,使提供商 prompt cache 前綴在工具返回後仍可命中。支持按提供商配置 TTL 錨點調度、dryRun、UTC 日預算與統計 API;默認 warming mistral/openai/anthropic,排除空閒會話與 ask_user_question。安裝:dsh plugin --profile web add dsh-warm 或 github:JanEickholt/dsh-warm;配置位於 $DSH_HOME/storages/dsh-warm/config.json。

閱讀全文
cache-sentinel:在 DSH 裏攔截「緩存已過期」會話的誤發

cache-sentinel 是 AliceSaikawa 維護的 DSH Host 插件(admin-security)。當會話距上次回覆過久、prompt cache 可能失效時,可按 block/archive/both 模式攔截模型發送或自動歸檔會話,避免整段歷史按未緩存輸入計費。支持 /sentinel、/unlock 與 cordis.patch.yml 配置。安裝:dsh plugin --profile web add github:AliceSaikawa/cache-sentinel,需重啓 DSH。MIT 許可。

閱讀全文
dsh-cache-hit-monitor:在 DSH 側欄實時查看 Prompt Cache 命中率

dsh-cache-hit-monitor 是 Billwu18 維護的 DSH Web 客戶端插件,在右側邊欄展示當前會話的 prompt-cache 遙測:寄存器四桶 token、5×7 點陣命中率、堆芯式逐請求歷史與上下文壓力。數據來自 Host 的 tokenUsage、contextPressure 投影,經 dsh-token-meter 彙總,插件無網絡請求。安裝命令爲 dsh plugin --profile web add github:Billwu18/dsh-cache-hit-monitor,要求 DSH >=0.1.7-rc.1 且 <0.2.0-0。命中率公式爲 cache read 除以 read+write+uncached input,不含 output。

閱讀全文