rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Exceptions-del/dsh-session-categories
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
在左侧栏新增一个「会话分类」入口,用来把一个工作区的会话按主题分组,分类可以自己添加、改名、改关键词或删除。这个插件只读会话列表,不写会话日志,也不向模型发请求。
适用于 DeepSeek Harness(DSH)的 Web 界面,无第三方依赖、无需构建。
更新:改完 client.js 后,在插件页把本插件关闭再启用(或重启 DSH),再刷新页面即可加载新版本。
点顶部工具栏右侧的「管理分类」(再点「完成」或按 Esc 收起):
每个分类带一组关键词(中英文),标题命中次数最多的分类胜出;次数相同时排在前面的分类优先;一个都没命中时归入「其他」。「其他」以外的分类都可以改关键词或删除,所以这套规则完全由你自己维护。
手动归类优先于自动归类,并在标签上以品牌色显示。
localStorage(dsh.session-categories.categories.v1):每项是 id、名称和关键词。dsh.session-categories.overrides.v1,按会话 id 记录,不上传、不写入会话日志。| 文件 | 作用 |
|---|---|
client.js |
浏览器端页面:侧栏入口、分类页、分类管理、localStorage 读写。 |
index.js |
Host 半部分占位入口;功能全部在浏览器端。 |
package.json |
bundle 清单:dsh.bundle.patch 与 dsh.client。 |
cordis.patch.yml |
往 profile 插入插件行。 |
locale/zh.json、locale/en.json |
插件页显示用的标题和说明。 |
icon.svg |
插件图标。 |
test/harness.cjs |
行为测试:用假快照渲染真实组件并模拟点击,无第三方依赖。 |
没有构建步骤:client.js 按 DSH 浏览器端的 window.__ModuleLoader__ 约定直接加载。改完后按「安装」里的更新步骤生效。
跑测试:
node test/harness.cjs
测试只依赖 Node 内置模块,使用假的 Session / Workspace 快照和假的 localStorage,不会读写真实会话数据,也不会请求网络。
MIT © 2026 Exceptions-del。可以自由使用、修改、再分发和商用,保留版权与许可证文本即可。
A DeepSeek Harness Web plugin that adds a Session categories page to the left sidebar. It groups the current workspace's sessions by topic: categories are picked from keywords in the session title, and the category list (name + keywords) can be added to, renamed, or deleted on the page. A row's chip pins a manual assignment, which takes precedence over the keyword match. Categories and assignments are stored in the browser's localStorage; archived, subagent, and blank sessions are hidden. No dependencies, no build step, no model requests. Install the directory through DSH's Plugins → Add plugin, then open the sidebar entry.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。