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

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

Installable bundle for session cost: the ledger service and the cost surfaces over any dsh profile

AI 分析

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

パッケージ
@logan-luo/dsh-session-cost-bundle
バージョン
0.1.0-rc.6
ライセンス
MIT
最終更新
2026/08/16

インストール

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

ドキュメント

README 全文を読む ↗

@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.