dsh-plugin-turn-usage
Manifest validA per-turn footer listing the tools, MCP servers, knowledge bases, and skills a turn used.
本轮调用插件 v0.2.0
在每轮回复底部显示工具、插件、MCP、知识库、skill;点击标签展开工具名、次数、进行中/失败状态和摘要。数据来自会话事件投影,不读取模型思维。
- skill:本轮成功执行 skill 工具的名称。已在早期轮次加载、只被提及或请求失败不算本轮加载。
- 插件:已适配工具命名空间的来源及次数;未知来源保留在工具栏,不宣称支持所有第三方插件。知识库工具在知识库栏,MCP工具在MCP栏。
- MCP:mcp__server__tool 命名工具。
- 知识库:成功请求的指定 baseId,以及 search 真实输出中的命中库;仅列目录不算使用全部库。自动注入资料、只有 documentId 且无法确认库的读取不猜库名。
- run_code:有子调用时显示其实际子调用,纯程序逐次保留;不会同时计算包装器与它的子调用。
- 最近60轮,每轮各最多1000条顶层/子调用;超出显示不完整提示。明细保留截断后的参数/结果预览,请勿在共享截图中暴露敏感参数。
修复:尾注主动订阅 session.projections.faceOf("turnUsage");按rootCallId/subCallId归属和去重;只认可skill成功事件;知识库只解析专用工具结果;补插件分类和知识库工具总数。
验证:node --test turn-usage-plugin/test/*.test.js。test/host-smoke.mjs 用真实Cordis与SessionProjectionRegistry验证注册;DSH_TEST_HOST可指定宿主包根目录,ASAR需Electron Node模式。
安装:将本目录作为 dsh-plugin-turn-usage 本地依赖加入desktop profile,并在dsh.profile.bundles加入同名bundle;客户端入口由exports["./client"]声明。变更前建立源码和config_vault还原点。
Comments
Loading…
Similar plugins
by xiamubumu
Composes tools, skills and MCP servers into switchable per-session sets, shrinking the resident tool surface and the system prompt on demand.
★ 0
MIT
JavaScript
Oct 15, 2026
dsh plugin --profile web add dsh-capability-composerby ouli-1242
一站式管理 DSH 的 MCP 服务与 Skills:工具级开关、密钥打码、技能回收站 | Unified MCP & skills manager for DeepSeek Harness: per-tool toggles, secret masking, skill trash
★ 62
↓ 817/wk
MIT
JavaScript
Nov 13, 2026
dsh plugin --profile web add dsh-plugin-tool-managementby cransmathenia666-hash
Per-turn skill & MCP usage stats for DeepSeek Harness (dsh) - see what tools the agent used, with per-message stats and JSONL logs.
★ 0
TypeScript
Aug 19, 2026
dsh plugin --profile web add dsh-skill-mcp-statsby kingchen95272025
Cursor toolkit for DeepSeek Harness: rules, skills and MCP servers under .cursor, with a panel that reads and switches each of them.
★ 0
MIT
JavaScript
Nov 17, 2026
dsh plugin --profile web add dsh-cursor-toolkitby anonamerjaxon-dev
Reads the installed plugins, MCP servers and skills, groups them by capability, and reports which preset each belongs in; can register one preset per category on request.
★ 0
MIT
JavaScript
Oct 22, 2026
dsh plugin --profile web add dsh-preset-categorizerConnectors panel: list, add, edit and delete the MCP (Streamable HTTP or stdio) and REST services of a deployment, with a connection test that lists the tools an MCP server exposes.
★ 0
MIT
JavaScript
dsh plugin --profile web add my-dsh-connector-hub