realLoganLuo/dsh-session-cost--packages-session-cost-bundle1

@logan-luo/dsh-session-cost-bundle

会话成本核算安装组合包:在任何提供存储和会话持久化的 dsh 配置上挂载账本服务和成本展示界面。

AI 分析

核心用途是一键集成会话成本统计的后台服务与前端界面。适合非 Web 官方模板(如无头或自定义配置)的用户快速启用费用监控。不建议在已内置该功能的 Web 模板上重复安装。

包名
@logan-luo/dsh-session-cost-bundle
版本
0.1.0-rc.6
许可证
MIT
最近更新
2026年8月16日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:realLoganLuo/dsh-session-cost#584dfac43b675b8ba271ef3e2248b3d2c7fb1a38&path:packages/session-cost-bundle

@logan-luo/dsh-session-cost-bundle

English | 中文

Installable bundle for session cost: mounts the dsh-session-cost ledger service and the dsh-client-ui-session-cost surfaces over any dsh profile whose base already provides storage, session persistence, and session-query (dsh-base does).

Install

dsh plugin --profile  add @logan-luo/dsh-session-cost-bundle

The bundle's patch inserts two rows: session-cost (the node service) and ui-session-cost (the browser surfaces). The shipped web profile already composes these rows, so do not install the bundle over a web-app-based profile: the duplicate ids make the Loader reject the composed config. Install it into a profile that does not already mount the rows (a headless or custom profile) to enable the feature.

What you get

  • The costStats projection and the cost.dashboard Remote rollups (per project / time range / model / day-week-month grouping).
  • The dock cost strip, the per-session cost view tab, and the sidebar usage dashboard.

Model Experience

None: the bundle composes plugins that only observe session usage and provenance; no model request is assembled or sent.

KV Cache effect

None.