dsh-plugin-usage-analytics

本地优先的 DSH 用量分析:订阅会话事件,把工具调用、回合、错误、耗时与能力使用聚合为日表,在侧栏面板展示(6 个 KPI、14 日趋势、Top 工具、能力分布),并通过受围栏保护的本地 HTTP 接口暴露 18 个 JSON-RPC 方法。运行时零依赖,local 模式零出站,不采集任何消息正文。

插件介绍

本地优先的 DSH 用量分析:订阅会话事件,把工具调用、回合、错误、耗时与能力使用聚合为日表,在侧栏面板展示(6 个 KPI、14 日趋势、Top 工具、能力分布),并通过受围栏保护的本地 HTTP 接口暴露 18 个 JSON-RPC 方法。运行时零依赖,local 模式零出站,不采集任何消息正文。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:wjf1/dsh-plugin-usage-analytics

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。

安装提示

  • 可能调用终端命令