dsh-tool-cost-hint: Token Count for Tool-Injected Context per Round

dsh-tool-cost-hint is a DSH passive observation plugin maintained by qiyuexue-xiyu. It listens to session/event and, at the end of each turn, summarizes the number of tool calls and injected tokens (without reporting monetary costs). It supports host-side accounting and collapsible hints at the bottom of the Web conversation. For non-desktop versions, you can use the Release tarball to execute `dsh plugin --profile web add`; for desktop versions, manual modification of the desktop profile's `package.json` and bundles is required. It is suitable for troubleshooting long contexts and tool output sizes; for billing purposes, please use plugins such as dsh-bill.

Read More