dshbase

插件目录 / Developer / dsh-legal-dashboard

dsh-legal-dashboard

已验证 · 实测可装 ByronLeeeee

✓ 持续维护 基于 5 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

3Stars
0Forks
0未关闭 issue
语言
2026-08-18最近推送
跨平台平台

功能简介

Matter-aware legal workspace dashboard and document agent tools for DeepSeek Harness

我们的评价
可用 — 实测通过,早期项目

Matter-aware legal workspace dashboard and document agent tools for DeepSeek Harness 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

DSH Legal Dashboard

English | 中文

DeepSeek Harness
DSH Plugin
License: MIT

A matter-aware legal workspace for DeepSeek Harness. It turns each Harness workspace into a focused environment for litigation, arbitration, investigations, contract review, due diligence, advisory work, and other legal matters.

[!IMPORTANT]
This is a community plugin for the DeepSeek Harness developer preview. Version 0.2.x has been tested with @deepseek-ai/dsh 0.1.0-rc.7. It uses rc7's shell.overlay surface so the matter workspace, document preview, and native tool details can coexist.

Highlights

  • Matter workspace: a right-side panel for overview, files, tasks, and matter-specific settings without covering the conversation area.
  • Legal file intelligence: recursive file tree, folder collapsing, search, DOCX/PDF text indexing, and PDF classification as text, scanned, mixed, or unknown.
  • Document preview: PDF, image, plain-text, and extracted DOCX previews inside the workspace.
  • Matter-aware checklist: automatic or manual matter classification with checklists for litigation, arbitration, criminal, administrative, complaint, contract review, due diligence, advisory, and special non-contentious work.
  • Legal document operations: create DOCX/PDF deliverables, extract text, revise DOCX files, and save new versions without silently overwriting originals.
  • OCR workflow: prepare scanned PDFs and images, request explicit approval before external transmission, call an OpenAI-compatible vision model, and persist reviewed Markdown results.
  • Native Harness tasks: create long-term goals through /goal and display live goals and todos in the Tasks tab.
  • Adaptive bilingual UI: all plugin UI follows the Harness Chinese / English language preference immediately, including matter types, checklists, and file categories.

Compatibility

Component Supported configuration
DeepSeek Harness 0.1.0-rc.7 (verified)
Surface Harness Web UI
Languages English and Simplified Chinese
Distribution GitHub DSH bundle with prebuilt client assets
Host platforms Windows tested; host logic is Node.js-based

Installation

Install the plugin into the standard Web profile:

dsh plugin --profile web add "github:ByronLeeeee/dsh-legal-dashboard#main"
dsh web

For a reproducible installation, replace main with a trusted commit SHA:

dsh plugin --profile web add "github:ByronLeeeee/dsh-legal-dashboard#<commit-sha>"

Only install Git dependencies whose source you trust. See the Harness guide on packaging and installing plugins.

Uninstall

dsh plugin --profile web remove dsh-legal-dashboard

Getting started

  1. Run dsh web and open http://localhost:3080/.
  2. Select Add workspace and choose the folder containing the matter files.
  3. Select the workspace and click Matter in the left sidebar.
  4. Use Overview for the checklist and quick actions, Files for search and preview, Tasks for goals and todos, and Settings for matter type and OCR configuration.

Example prompts:

Review all matter files and identify disputed issues and missing evidence.
Prepare an evidence index with the source and purpose of proof for each item.
Draft a statement of claim and save it as Work Product/Statement of Claim.docx.
Run OCR on Evidence/Chat Records.pdf and save the reviewed result as Markdown.
/goal Complete matter review, drafting, and final delivery.

OCR configuration

The main conversation can continue to use DeepSeek. OCR uses a separate OpenAI-compatible vision endpoint. Open Matter → Settings → OCR and configure:

  • Base URL, such as https://api.openai.com/v1
  • An image-capable model name
  • API key
  • Maximum pages, output tokens, and timeout

The API key is stored through the Harness credential service or read from DSH_LEGAL_OCR_API_KEY; it should not be committed to YAML. Leaving the Base URL or model empty disables external OCR.

Before external OCR sends any page image, Harness asks for explicit approval. OCR results are cached against the source file signature and reused only while current.

Security model

  • Every file operation resolves from the active Agent session's workspace.
  • Absolute paths, path traversal, symbolic links, non-regular files, and access outside the registered workspace are rejected.
  • Document operations create new files or revised copies by default and do not silently overwrite source documents.
  • Local indexes are written to .legal-index; temporary OCR pages are written to .legal-ocr.
  • External OCR is optional, requires configuration, and passes through an approval boundary before file content leaves the machine.
  • Generated analysis and documents require professional review before use or delivery.

Windows launcher

Windows users may run desktop/启动律师工作台.cmd. The launcher reuses an existing service on port 3080 or starts its own hidden Harness process and opens an Edge app window. It only stops a service that it started itself.

Development and verification

Install dependencies and run the host-side syntax and behavior checks:

npm ci
npm run check

The current suite covers workspace containment, file walking and search, document operations, PDF/OCR workflows, matter profiling, and Harness tool registration. The prebuilt Web client is committed under lib/ for GitHub installation.

Project status

This project follows the rapid development of DeepSeek Harness. Compatibility fixes and narrowly scoped contributions are welcome through issues and pull requests.

License

MIT

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-legal-dashboard」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:ByronLeeeee/dsh-legal-dashboard

Headless(CLI)profile:

dsh plugin --profile headless add github:ByronLeeeee/dsh-legal-dashboard

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7789 个插件 →