Introduction¶
The plugin ecosystem of DSH allows integrating external tools into the existing session system; the community directory is an independent site and should not be understood as a DeepSeek or Huanfang official app store. In legal work scenarios, if dialogue, case materials, deadlines, kanbans, and approvals are scattered in different locations, the subsequent verification costs will be relatively high. Below is the introduction of dsh-law, which is a local legal workbench plugin for DeepSeek Harness. It places to-do reminders, monthly scheduling, case overview, recent activity, and DSH native legal mode sessions in the same workspace.
What is this¶
dsh-law is a local legal workbench plugin for DeepSeek Harness. The GitHub repository path is:
wesky820/dsh-law
The license is:
MIT
The Node.js requirement is:
>=18
To be compatible with existing installations and data directories, the GitHub project is named dsh-law, while the DSH plugin ID and npm package name continue to use dsh-lawbench. The plugin runs with zero npm dependencies, and data is saved locally.
Core Features¶
Unified Case Homepage¶
The workbench presents to-do reminders, monthly scheduling, case overview, and recent activity on the same screen. Deadline support includes near-due/overdue marking and automatic calculation of the due date.
Case Board¶
The case board uses a six-column pipeline, supporting drag-and-drop to change columns, SSE real-time push, and multi-window synchronization.
DSH Native Legal Sessions¶
Each case is bound to a DSH native legal mode session, with the preset ID being:
law
The workbench does not maintain a second set of API Key or model configuration; the model, skills, commands, tools, and permission policies come from DSH.
Skills and Commands Panel¶
It supports the DSH Skills and Commands panel, which can be categorized, searched, and typing / provides instant suggestions.
Workspace and Themes¶
The adjustable workspace supports dragging to change width, collapsing, and compact/standard/focused conversation presets.
Four legal themes are provided: People’s Court “One Network”, Ace Attorney, Better Call Saul, and Suits.
Consultation, Intake, and Gatekeeping¶
It supports consultation and intake workspaces. When creating a case, an eight-level local working directory is automatically generated: Intake & Commission / Client Materials / Evidence / Legal Research / Draft Documents / Finalization & Submission / Trial / Conclusion & Archiving. Deleting the case record will not delete the folder.
It supports gatekeeping governance: applications for intake/strategy/finalization/conclusion are submitted by AI, and lawyers perform manual approval.
AI Material Upload¶
Supports AI material upload: evidence, claims, deadlines, schedules, search records, session summaries, and document version chain.
Remote Entry¶
Supports DSH Remote entry, device status, one-time pairing links, and the mobile /m. The Remote mobile requires the official auto public network tunnel to be enabled, or trusted configuration:
publicBaseUrl
Installation and Activation¶
The GitHub installation command is as follows:
dsh plugin --profile web add github:wesky820/dsh-law
After installation, you need to restart the DSH web service:
dsh web
The plugin is loaded when the host starts, so it takes effect after a restart.
The npm installation applies after release, with the command as follows:
dsh plugin --profile web add dsh-lawbench
The local development installation command is as follows:
dsh plugin --profile web add link:/path/to/dsh-lawbench
If you only need to run case management independently, you can execute:
npm start
Or double-click:
start.command
Then visit:
http://127.0.0.1:8898
In standalone mode, you can view and manage cases, boards, and schedules; DSH conversations, models, skills, and commands need to be used by opening the plugin from the DSH sidebar.
The plugin mode data directory is:
~/.dsh/dsh-lawbench/
The standalone mode data directory is:
<project>/data/
When a port conflict occurs, the port will roll over from:
8898
To:
8908
Plugin settings can be configured:
port
Typical Usage¶
First perform installation, then enable, and finally enter the case workflow.
-
Install and Enable
Execute the GitHub installation command, then restartdsh web, and open the workbench from the DSH sidebar. -
Create Case
When creating a case, an eight-level local working directory is automatically generated:Intake & Commission / Client Materials / Evidence / Legal Research / Draft Documents / Finalization & Submission / Trial / Conclusion & Archiving. Deleting the case record will not delete the folder. -
Advance the Case Board
In the case board, advance the process by dragging and dropping to change columns. The board is pushed in real-time via SSE and stays synchronized across multiple windows. -
Register Deadlines and Schedules
Register items in the schedule and deadlines. The workbench will mark near-due/overdue items and automatically calculate the due date. -
Call DSH Skills and Commands
In the Skills and Commands panel, categorize and search, and type/to get instant suggestions. -
Use Remote
In the DSH Remote entry, view device status, generate a one-time pairing link, and open the mobile/m. You need to enable the official auto public network tunnel or configure a trustedpublicBaseUrl. -
Approve Key Nodes
Perform manual approval for applications such as intake, strategy, finalization, and conclusion.
Suitable Scenarios and Notes¶
Suitable for legal work scenarios that require placing case materials, deadlines, boards, and DSH conversations in the same local workspace.
Notes before use:
- The plugin is loaded via the DSH host and runs with the permissions of the current
dshprocess; you should check the source code and license before installing. - The license is MIT, and the GitHub repository is:
https://github.com/wesky820/dsh-law
- The workbench does not save API Keys or model configurations separately; models and credentials follow the DSH configuration.
- Both the plugin and DSH listen on:
127.0.0.1
The current DSH version prohibits listening on:
0.0.0.0
- Remote pairing depends on DSH Remote, requiring the official auto public network tunnel or trusted configuration:
publicBaseUrl
- Creating a case will generate a local directory, but deleting the case record will not delete the folder.
Conclusion¶
Following the steps above, dsh-law can provide a local legal workbench within DSH: cases, deadlines, boards, material approvals, and DSH native legal sessions collaborate on the same screen, with data retained locally.
GitHub repository:
https://github.com/wesky820/dsh-law
The directory page clues provided in the material are:
https://www.skillhub.cn/plugins/wesky820/dsh-law
The status of its inclusion in this material has not been confirmed.