DSH Plugins Marketplace

DSH Plugins

Plugins

/

Workflow & Automation

/

dsh-legal-clause

d

dsh-legal-clause

Manifest valid

Contract clause work: build the clause tree, map it against a 12-key playbook, register the playbook and export the unresolved report — 5 `legal.*` tools.

hasBundlePatch

dsh-legal-clause

Official repository. The only official repository of this package, maintained by PerryLink. Same-name repositories under other accounts are not affiliated. Apache-2.0.

npm CI License dsh-plugin docs Gitee dshfind DSH Market Node npm downloads

Legal clause tree, 12-key playbook mapping and unresolved report.

Status: alpha / public-synthetic / partial / not counted / not GA. No customer evidence, customer data, or production-readiness claim.

English · 简体中文 · Español · Português · हिन्दी

dsh plugin --profile <profile> add dsh-legal-clause

⭐ If this helps, a star makes it easier for the next person to find it. Nothing is gated behind it.

Workflow diagram for dsh-legal-clause: local input, plugin, local output.

Workflow: local input → plugin → local output. No model call is required.

Real dsh-legal-clause terminal output

Real local test run; no model or network call.

Install

Install and verify:

dsh plugin --profile <profile> add dsh-legal-clause
dsh --profile <profile> --dump-config | grep dsh-legal-clause

Uninstall:

dsh plugin --profile <profile> remove dsh-legal-clause

Install channels

npm is the recommended channel; the others are for pinning or offline use.

  • npm (recommended): dsh plugin --profile <profile> add dsh-legal-clause
  • git channel: dsh plugin --profile <profile> add github:PerryLink/dsh-legal-clause
  • tarball: pnpm pack then dsh plugin --profile <profile> add ./dsh-legal-clause-<version>.tgz
  • 1024 store: npm i -g dsh1024 then dsh1024 plugin --profile <profile> add dsh-legal-clause

What it does

Legal clause tree, 12-key playbook mapping and unresolved report. Runs locally on DeepSeek Harness. The table below is the exact tool surface; the examples use the real command surface.

Input and output stay local; nothing is uploaded.

Tools

Tool names and descriptions are kept in English to match the runtime output.

ToolPurposeRisk
legal.playbookLoad the default 12-key playbookR0
legal.clause_treeBuild a clause tree from legal textR1 local write
legal.playbook_registerRegister versioned custom playbook keysR1 local write
legal.playbook_checkCompare a stored tree with a playbook and report missing/extra keysR0
legal.export_treeExport the clause tree as JSONR1 local write

Quick start

dsh plugin --profile <profile> add dsh-legal-clause
dsh --profile <profile> --dump-config | grep dsh-legal-clause

Examples

Fixture-backed example

Input: fixtures/public/mit/sample_nda.txt

Command: pnpm test

Acceptance row:

req_idmetricthresholdactualpasssourcecounted
SKU-10-A01合同条款树(20)20/2020truepublic/syntheticfalse

This is a fixture-backed acceptance row, not a customer run; no output is invented.

Limits

  • Public/synthetic only; no customer data or customer evidence.
  • Alpha/partial, not counted, no GA or production-readiness claim.
  • No model or network call unless a tool explicitly says so.
  • The exact per-tool boundaries are in the table and ACCEPTANCE.csv.

Public sample

Public/synthetic fixtures live in fixtures/; ACCEPTANCE.csv records the public checks with counted=false.

Development

pnpm install --frozen-lockfile
pnpm build && pnpm lint && pnpm typecheck && pnpm test

Compatibility

SurfaceStatus
Harnessdsh >=0.2.1-rc.3 <0.3.0
Node>=24.9.0 <25
PlatformsAll; local files only
DataNo network, no model call, no upload

Permissions & data

  • Runs locally; no network, no model call, no upload.
  • Public/synthetic fixtures only; no customer data, no customer evidence.
  • Alpha/partial; not counted, no GA or production-readiness claim.

Related work

Sibling packages and family indexes: dsh-legal-intake · dsh-docx-redline · dsh-contract-suite

Related checkers

Each entry is a separate package with its own rule pack and version; install only the ones you need.

PackageWhy it is relevant
dsh-contract-stanceClause stance register for negotiation positions and risk levels.
dsh-lawcite-adapterCitation and legal-document element verification.
dsh-evidence-checkEvidence-list completeness for the same matter.

Family

DSH domain plugin family (15 packages + 2 suites)
Packagenpm
dsh-einvoicenpm
dsh-docx-redlinenpm
dsh-policy-ledgernpm
dsh-ghgnpm
dsh-bankrecnpm
dsh-ap-three-waynpm
dsh-ifc-qtonpm
dsh-qms-capanpm
dsh-legal-intakenpm
dsh-legal-clausenpm
dsh-freight-auditnpm
dsh-hs-candidatenpm
dsh-travel-reconnpm
dsh-pim-lintnpm
dsh-eval-packnpm
dsh-finops-suitenpm
dsh-contract-suitenpm
Mainline family — 92 current install specs
Packagenpm
dsh-aqua-input-checknpm
dsh-archive-checknpm
dsh-bid-ca-prechecknpm
dsh-bid-qual-checknpm
dsh-contract-stancenpm
dsh-customs-doc-checknpm
dsh-demurrage-ledgernpm
dsh-drill-script-checknpm
dsh-eia-guide-checknpm
dsh-emergency-plannpm
dsh-essay-rubric-checknpm
dsh-evidence-checknpm
dsh-export-ctl-checknpm
dsh-fmea-table-checknpm
dsh-forecast-penaltynpm
dsh-gongwen-flow-checknpm
dsh-gongwen-word-checknpm
dsh-guard-plan-qcnpm
dsh-hazchem-checknpm
dsh-hazplan-checknpm
dsh-hidden-risk-mapnpm
dsh-hs-classifynpm
dsh-icd-rule-checknpm
dsh-lawcite-adapternpm
dsh-lc-doc-checknpm
dsh-learning-gap-checknpm
dsh-medrec-qcnpm
dsh-nsfc-form-checknpm
dsh-nurse-record-checknpm
dsh-origin-rvc-checknpm
dsh-ota-review-checknpm
dsh-paper-doc-adapternpm
dsh-permit-report-checknpm
dsh-pipeline-checknpm
dsh-pleading-draftnpm
dsh-policy-brief-draftnpm
dsh-power-loss-splitnpm
dsh-power-ticket-checknpm
dsh-ppap-checknpm
dsh-protest-deadlinenpm
dsh-railway-windownpm
dsh-repair-order-qcnpm
dsh-review-reply-checknpm
dsh-rulefile-checknpm
dsh-safety-brief-checknpm
dsh-site-log-checknpm
dsh-soe-decision-checknpm
dsh-soilwater-checknpm
dsh-sop-sync-checknpm
dsh-spc-gbt-adapternpm
dsh-tender-extractnpm
dsh-tender-matrixnpm
dsh-warranty-calcnpm
dsh-auto-reviewnpm
dsh-autotiernpm
dsh-budgetnpm
dsh-cert-mcpnpm
dsh-checkpoint-rewindnpm
dsh-claude-movenpm
dsh-clicknpm
dsh-composer-historynpm
dsh-data-qualitynpm
dsh-defendnpm
dsh-doublechecknpm
dsh-drawnpm
dsh-fastnpm
dsh-fund-researchnpm
dsh-industry-researchnpm
dsh-layanpm
dsh-librarynpm
dsh-local-ainpm
dsh-lsp-actionsnpm
dsh-masknpm
dsh-mcp-panelnpm
dsh-mementonpm
dsh-observenpm
dsh-output-stylesnpm
dsh-permission-rulesnpm
dsh-plugin-guidenpm
dsh-plugin-upgradenpm
dsh-reachnpm
dsh-research-reportnpm
dsh-scorenpm
dsh-session-syncnpm
dsh-talknpm
dsh-test-drivenpm
dsh-translatenpm
npm
npm
npm
npm
npm

License

Apache-2.0. See LICENSE, NOTICE, THIRD-PARTY-NOTICES.

Comments

Loading…

Similar plugins

dsh-office-com

by wly8691-jpg

Windows-native real-Office automation plugin (DSH). Contract, task-level, fault-injection and process-leak regressions covered; real-Office tests must be run on the target machine.

Tools & CapabilitiesDevelopment & InfrastructureModels & ProvidersManifest valid

★ 6

↓ 696/wk

MIT

JavaScript

Oct 25, 2026

dsh plugin --profile web add @eqman00003/dsh-office-com

by t2094308-star

DSH 多智能体契约工作流引擎:契约注入 / 按角色委派 / 台账与审计 / 文档治理与索引 / 面板。

Manifest valid

★ 0

MIT

JavaScript

Oct 4, 2026

dsh plugin --profile web add dsh-agent-contract

by gulagala001

Resumable JavaScript workflows with native DSH subagents, jobs, token budgets and worktree isolation.

Workflow & AutomationSessions & MessagesManifest valid

★ 2

MIT

JavaScript

Oct 24, 2026

dsh plugin --profile web add dsh-workflow-plus

by 82c86b8z86-stack

Engineering workflow layer for DeepSeek Harness (dsh): a disciplined-engineer agent preset with five gated phases — requirements clarification, plan approval, TDD, parallel subagent execution, and ver

Workflow & AutomationTools & CapabilitiesManifest valid

★ 4

MIT

JavaScript

Oct 11, 2026

dsh plugin --profile web add dsh-engineering-workflow

by zzd1990

By default, blocks marking a team task complete without a passed independent verification record whose commit matches the worktree HEAD, and adds a dependency DAG board and a settings page.

Workflow & AutomationManifest valid

★ 0

MIT

JavaScript

Oct 19, 2026

dsh plugin --profile web add dsh-parallel-dev

by jiangzhenguo

DSH bundle that registers 13 native codegraph_* tools wrapping the codegraph CLI, so agents bootstrap, maintain, and query a pre-indexed code knowledge graph (symbol query, explore, node trail, caller

Tools & CapabilitiesManifest valid

★ 22

↓ 64/wk

MIT

JavaScript

Oct 27, 2026

dsh plugin --profile web add dsh-codegraph