rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:HiMenma/dsh-session-unread
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
给 DeepSeek Harness(DSH)Web 客户端加会话未读标记:在任意会话行上「标记为未读」,侧栏该行右侧出现一个未读圆点,等你再次打开这个会话时自动清除。
一个 DSH 客户端插件包(bundle),纯 JavaScript,无构建步骤。
--dsw-alias-brand-primary),不额外占位。localStorage(dsh.session-unread.v1 ),不上报 Host、不写会话日志、不改会话 JSONL。本包是一个 DSH bundle(dsh.bundle.patch + dsh.client),用 DSH 自带的插件管理器安装,不要手工改 profile:
// 通过 Agent 的 plugin_manager 工具
{ "action": "install_bundle", "target": "/绝对路径/dsh-session-unread" }
也可以先克隆再安装:
git clone https://github.com/HiMenma/dsh-session-unread.git
安装后无需重启:客户端 bundle 通过 HMR 进入已打开的页面。改动本包的 client.js 会触发热重载;如需强制换一代模块,把插件 disable 再 enable 即可。
| 位置 | 用途 |
|---|---|
sidebar.workspaces.session.menu.item(order 7) |
会话行菜单项:切换已读/未读,带实心/空心圆图标 |
sidebar.session.row.trailing(order 5) |
行尾未读圆点,role="img" + aria-label |
ctx.locale.register('dsh-session-unread') |
中英文案(locale/zh.json、locale/en.json) |
window.localStorage key dsh.session-unread.v1 |
标记集合,与侧栏自身视图偏好的存储同级 |
状态更新用 React.useSyncExternalStore 按会话 id 订阅,只有被标记的那一行会重渲染,其它行不受影响。菜单行优先用 @deepseek-ai/dsh-client-ui-primitives 的 MenuItemButton(带分隔线),该原语不可用时退化为普通的 role="menuitem" 按钮。
localStorage 里可能残留一条无效 id(无害,只会占一个键;localStorage 满或被手动清理时自然消失)。desktop profile 上开发与验证,未做跨大版本兼容保证。MIT © 2026 Yang
A DSH Web client bundle that adds Mark as unread to the session row menu and renders an unread dot after the row's time label. The mark lives only in browser localStorage; opening the session clears it on the next transition into the main view, so marking the conversation you are already reading does not erase itself. No host state, no session log entries.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek、deepseek-harness。