dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
In-session full-text search client plugin for the DeepSeek Harness web GUI - full-history coverage, kind filters, multi-term AND, keyboard navigation.
会话内全文搜索插件:会话标题栏 🔍 按钮,搜索当前会话全部节点的文本,点结果直接滚动跳转并高亮。
插件 搜索)conversation.session.header.actions(order=30,与后台任务列表同席)useSession 读 ConversationSnapshot.chat.order + chat.nodesdata-chat-anchor-key=<节点 key>本插件同时支持 CLI / Web 版(web profile)与 桌面版(desktop profile)。
推荐用 DSH 自带 CLI 安装:dsh plugin add 会把依赖和 dsh.profile.bundles 一起写进该 profile 的 package.json,不需要再手工改 cordis.patch.yml。
# CLI / Web 版
dsh plugin --profile web add github:2275803244-cpu/dsh-session-search
# 桌面版(桌面应用自带 CLI,位于 <安装目录>\resources\runtime\cli\bin\dsh.cmd)
& "<桌面版安装目录>\resources\runtime\cli\bin\dsh.cmd" plugin --profile desktop add github:2275803244-cpu/dsh-session-search
装完重启对应程序(bundle rev 在启动时哈希进 boot 图,改了必须重启)。
pnpm --dir "$HOME\.dsh\profiles\web" add D:\deepseekherness\session-search-plugin
cordis.patch.yml 需包含:
- insert:
- id: ui-session-search
name: 'dsh-client-ui-session-search'
重启 dsh web。
DSH 桌面版(@deepseek-ai/dsh-desktop-runtime 0.2.0-rc.2)启用了独立的 desktop profile,插件默认不在其中。本版本确认插件在桌面版下无需改动代码即可工作(纯浏览器侧 bundle,只依赖 react / react/jsx-runtime,不耦合 DSH 内部包):
| 核对项 | 桌面版 0.2.0-rc.2 实测结果 |
|---|---|
槽位 conversation.session.header.actions | ✅ 仍由 dsh-client-ui-conversation 渲染 |
服务 sessions(ctx.get("sessions")) | ✅ 仍在提供 |
sessions.binding(sessionId) | ✅ 签名一致(binding(id: SessionId): SessionBinding) |
数据面 useSession + ConversationSnapshot.chat | ✅ 仍在框架 session kit 中 |
| 组合树 | ✅ 装入 desktop profile 后可见 ui-session-search 行,无报错 |
校验方式:桌面版核心代码打包在
app.asar内,直接解包比对运行时实际代码;desktopprofile 只能由桌面应用启动,组合树校验用一份副本 profile 跑--dump-config。
pnpm --dir "$HOME\.dsh\profiles\web" remove dsh-client-ui-session-search
# 删掉 cordis.patch.yml 的 ui-session-search 行,重启
欢迎提交 PR!请先阅读 CONTRIBUTING.md。
dsh-model-switcher 的 test/client.test.cjs)dsh-client-ui-conversation/lib/types/client/contract/slots.d.tsdsh-client-runtime/lib/types/client/sessions/conversation.d.tsdsh-client-ui-conversation/lib/client.js 的 ChatNodeSeat(data-chat-anchor-key)