DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-plugin-law-workbench

v

dsh-plugin-law-workbench

Discovered

Workbench Panel for DeepSeek Harness: The literature library visualization panel in the right dock (list/search/read)

Machine translated

dsh-plugin-law-workbench

[!] 本包已弃用:自 dsh-plugin-cnki-assist v0.5.0 起,工作台面板已并入该包(一个包装下工具 + 守护 + 文献库 + 面板,概念表等检索逻辑单源化)。请改用:

dsh plugin --profile web add github:violin-i/dsh-plugin-cnki-assist

本仓库归档保留,不再更新。共享文献库 ~/.dsh/law-library/ 格式不变,数据无需迁移。

工作台面板,面向 DeepSeek Harness (dsh)。仿照 dsh-context(上下文洞察)的形态:在右侧停靠栏注册"工作台"标签页,提供本地文献库的可视化面板——文献列表、概念扩展全文检索、分段阅读、笔记与阅读进度。

数据来源:读取 dsh-plugin-cnki-assist 维护的共享文献库(默认 ~/.dsh/law-library/,可用行配置 libraryDir 覆盖)。文献通过对话里的 law_lib_add 工具入库后,面板即时可见——面板看、对话改,同一份数据。v0.2 起面板的笔记与阅读进度也回写共享库(对话内 law_lib_note / law_lib_read 与面板互通)。

面板功能

  • 文献列表:标题、页数、字数、分块数、笔记数、阅读进度,点击续读上次位置
  • 全文检索:中文 BM25 + 法律概念同义扩展(与对话内 law_lib_search 同源),命中词【】高亮片段 + 相关度分数,点击跳转阅读
  • 分段阅读:3000 字窗口翻页(上一段/下一段),阅读位置自动存为进度
  • 大纲:识别中文序号章节行,一键查看文献结构
  • 笔记:正文划选文字一键摘录 + 写批注,笔记列表管理(删除),与对话侧工具共享
  • 刷新按钮同步最新入库状态

安装

dsh plugin --profile web add github:violin-i/dsh-plugin-law-workbench

前置:已安装 dsh-plugin-cnki-assist(文献库的入库/检索工具链)。本包为预构建分发(lib/ 直接入库),无构建脚本、无需 allowBuilds 授权。适配 dsh >=0.2.0 <0.3.0。

安装后重启 dsh,右侧停靠栏的引导页(+ 新增控件)里会出现"工作台"入口。

架构

半产物职责
宿主lib/index.js读取共享文献库,经 connection.fetch.register 暴露 7 个 POST 路由(`/api/law-workbench/state
浏览器lib/client.jsdsh.client 声明加载;注册 ctx.sidebarRightTabs tab 类型 + sidebar.right.pane.tab 正文坑位,React 面板(react 为平台外部模块)

开发

pnpm install
pnpm run build   # tsdown 构建 host(esm) + client(cjs, ModuleLoader 包装)
pnpm test        # 12 项双侧测试(路由/概念扩展/高亮/笔记/进度/Bundle 协议/注册/SSR 渲染)

License

MIT

Comments

Loading…

Similar plugins

omdsh-sidepanel

by omdsh-plugins

Work-mode side panels for the DeepSeek Harness web GUI: a right file explorer with previews and a bottom terminal, both absent in Chat mode

Manifest valid

★ 0

MIT

TypeScript

Sep 3, 2026

dsh plugin --profile web add @omdsh-plugins/omdsh-sidepanel

by lee259

Right-side file workspace for DeepSeek Harness Web.

UI & ExperienceManifest valid

★ 10

↓ 332/wk

MIT

TypeScript

Sep 30, 2026

dsh plugin --profile web add dsh-workbench

by houlain

DeepSeek Harness plugin: workspace file browser + code viewer + session change diff + per-hunk partial revert (Trae-style). Windows verified only; Linux/macOS untested — use with caution.

Development & InfrastructureManifest valid

★ 1

MIT

TypeScript

Aug 16, 2026

dsh plugin --profile web add dsh-workspace-studio

by fanshong

DeepSeek Harness Docker 侧边栏面板插件:容器列表/资源监控/文件浏览编辑下载上传

Manifest valid

★ 0

MIT

JavaScript

Aug 14, 2026

dsh plugin --profile web add dsh-docker-sidebar

by ghbhiee

File browser, preview, and web terminal panel for DeepSeek Harness — session-docked workbench plugin

Terminal & ClientsManifest valid

★ 0

MIT

JavaScript

Aug 18, 2026

dsh plugin --profile web add dsh-plugin-workbench

by The-latest-one

DeepSeek Harness (DSH) sidebar plugin: stack-safe fork tree, two-track indentation, marquee title, leading/hover slots, and cascade purge.

UI & ExperienceManifest valid

★ 5

MIT

TypeScript

Oct 3, 2026

dsh plugin --profile web add dsh-branch-workspace-folders