QWQ-nn/dsh-client-ui-trajectory-categories

Project Overview项目介绍

This is a native DSH web plugin built exclusively for DeepSeek Harness. It adds a dedicated "Categories" tab to every conversation session, transforming raw conversation trajectories into a Chinese-first summary view that doesn’t consume any extra LLM tokens. Category labels are always Chinese regardless of DSH’s UI language, and the classification logic matches both Chinese and English tool names correctly. The original trajectory list remains untouched after installation, so users can switch between the raw view and the categorized summary view any time they want. The plugin ships with two core views: a summary stats panel in the top-left and an interactive mind-map canvas.

The top-left summary panel includes a GitHub-style calendar heatmap that shows how many actions ran each day, plus a ranking of the most used action categories. Clicking a day filters the summary records, and clicking a category chip expands all records from that category inline. Each record shows a time stamp, tool name, and argument preview, and you can click to see full details of arguments, results, and errors. Records are lazy-loaded 40 per category by default, and you can filter records by tool name or content in real time, with expand all / collapse all buttons for convenience.

The mind-map canvas automatically reconstructs the problem-solution flow from conversation events, with one problem per canvas. You can switch between different problems via the problem canvas tab bar, which shows status dots for each problem (red for errors, green for completed solutions). The canvas supports panning by dragging the background, zooming via Ctrl+wheel or zoom buttons, and dragging nodes that automatically move all their child attempts and tools. Connectors between nodes are elastic curves that follow node movement with inertia. To install the plugin, you can use the one-line official DSH command or install manually via patching the cordis configuration file.

这是一个专为 DeepSeek Harness 开发的纯客户端原生网页插件,会给每个对话会话添加一个「分类」标签页。它能够将原始的对话轨迹转换为中文优先、零额外token消耗的摘要视图,同时保留原有的轨迹列表不做修改。插件核心提供两个功能视图:左上角的「合计」统计面板和交互式思维导图画布。

「合计」面板会按操作类型(写入、读取、命令等)统计操作,带有GitHub风格的每日热力图和分类使用排名,点击分类即可展开对应记录,支持按工具名称或内容实时筛选,默认懒加载每个分类40条记录。思维导图画布会自动重构每个问题的解决流程,一个问题对应一个画布,支持画布平移缩放和节点拖拽。

插件支持通过官方dsh命令一键安装,也支持手动修改配置文件安装。依赖DSH官方提供的轨迹视图投影模块、客户端运行时和对话UI模块,纯客户端计算不消耗额外token,无需LLM重新总结。项目采用MIT许可证开放源代码,包含完整的冒烟测试和交互测试脚本。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add dsh-client-ui-trajectory-categories

把 QWQ-nn/dsh-client-ui-trajectory-categories 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-client-ui-trajectory-categories

A pure client-side DSH Web plugin that turns the raw trajectory into a Chinese-first, zero-token summary view.

Adds a 「分类」 (Categories) tab to every conversation session:

  • Top-left 「合计」 (Summary) panel — action-type statistics (写入/读取/删除/下载/命令/搜索/子代理/其他工具/消息/压缩) with one-click record expansion.
  • Mind-map canvas — one problem per canvas: 问题 (problem) → 方案 (attempt) → 工具调用 (tool calls), rebuilt from the trajectory. Switch between problems with the 「问题画布」 tabs.
  • The original Trajectory list stays untouched.

Overview License

Features

Chinese-first categorization

  • Category labels are always Chinese, regardless of UI language.
  • Classification matches both Chinese and English tool names/terms — 写入/写文件/编辑/修改, 删除/移除, 读取/查看/查找, 下载/抓取, 命令/执行/运行, 搜索/查询, 子代理/委派 … all map to the right category.
  • Arg previews prioritize the meaningful field (file path / URL / command / query), so rows read naturally in Chinese.

「合计」 summary panel (top-left)

  • Heatmap + category ranking (from community PR #1): a GitHub-style calendar heatmap of how many actions ran each day (hover a day for per-category breakdown), plus a leaderboard of the most-used categories. Click a day to filter the summary chips/records below; click again (or ×) to clear.
  • One chip per category with a count badge; click a chip to expand that category's records inline.
  • Each record shows time, name and arg preview; click to expand full 参数 (args) / 结果 (result) / 错误 (error).
  • Real-time filter by tool name/content; 全部展开 / 全部收起 buttons; “显示更多” loads more records lazily (default 40 per category).

Mind-map canvas (one problem per canvas)

  • Rebuilds the flow 问题 → 方案 1 →(报错)→ 方案 2 → … → 完成 automatically from user/assistant/tool events.
  • One problem per canvas — other problems live in the 「问题画布」 tab bar above the canvas; each tab shows a status dot (red = had errors, green = delivered).
  • Attempt pills show reply summary, 报错 badge with the error text, and status badges: 工作中 (running) / 完成 (delivered).
  • Click:
    • click a problem → expand/collapse all of its sub-flows;
    • click an attempt pill → slide its tool-call chain in/out (collapsed pills show a ×N count);
    • click a tool chip → detail panel: 做了什么 (what the AI did, from args), 输出 / 日志 (result), 修改内容 (old → new diff, only when present), 参数, 错误.
  • Interactive canvas: drag the background to pan, Ctrl+wheel or the zoom buttons to zoom; hover highlights the block; the cursor gently repels nearby blocks.
  • Draggable nodes with inertia lines: drag a problem node and all its attempts/tools follow; connectors are elastic curves anchored to node edges that glide after the nodes (inertia).
  • Horizontal axis ≈ time — newer tool calls sit further right.

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-her-companion 下一个 Next 7d7d →