Data lineage tracking tool, mapping the full lifecycle of data to meet source legality requirements.
Install
# from npm (prebuilt)
dsh plugin --profile web add @liuhange/dsh-data-lineage
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:liuhange789/data-asset-inspector#path:/packages/data-asset/data-lineage
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
数据血缘追踪插件:追踪数据从源头到最终产品的流转路径,支持链式追溯和 Mermaid 可视化。
安装
dsh plugin --profile web add @liuhange/dsh-data-lineage
Tool 接口
trace_data_lineage
导出数据血缘追踪报告,支持 JSON/Mermaid/Markdown 三种格式。
参数:
lineageFilePath(string, 必填): 血缘记录文件路径(lineage.json)outputFormat(string, 可选): 输出格式json | mermaid | markdown | all,默认all
输出:
lineage_export.json: 血缘 JSONlineage_export.mmd: Mermaid 流程图lineage_export_report.md: Markdown 报告(首行【数据血缘追踪报告】)
血缘记录
每个步骤记录:步骤名、时间戳、输入文件路径+hash、输出文件路径+hash、变换规则、处理参数。
编排嵌入
通过 LineageHook 在编排流程中自动嵌入血缘记录:
recordBefore(): Tool 调用前记录输入文件 hashrecordAfter(): Tool 调用后记录输出文件 hash 和变换规则enabled = false时零开销,不计算 hash,不生成文件
配置节点
business-rules.json → lineage 节点。缺失时默认禁用(enabled: false),编排行为与 v1.0 完全一致。
v1.0 兼容性
血缘功能默认禁用,不影响 v1.0 编排行为。启用时额外耗时 ≤ 1 秒/Tool调用。
Links
More in this category
Tencent/WeKnora#dsh-weknora★ 38526
Four read-only tools over a WeKnora knowledge base: list knowledge bases, hybrid passage search, reassemble one document's chunks in order, and WeKnora's own cited RAG or ReAct-agent answer with a resumable session id.
DayuanJiang/next-ai-draw-io#dsh-plugin★ 37266
Draws draw.io diagrams in DeepSeek Harness through the next-ai-drawio MCP server: the link in the reply opens a live preview in the right sidebar, you can edit the diagram by hand, and each AI change is a version you can restore. Node.js 18+; npx downloads the MCP server on first use.
yikart/AiToEarn#dsh-plugin-aitoearn★ 28921
Generate copy, images and short videos, and publish with one click to Douyin, Kuaishou, Xiaohongshu, WeChat Official, Bilibili, Facebook, TikTok and more, covering the full content lifecycle from creation to publishing and monetization.
superdesigndev/treg★ 9983
Tool catalog for agents: search ~2,600 external endpoints (SEO and SERP, backlinks, social, people and company enrichment, ad libraries, scraping) by the task you want done, read each one's parameters and per-call price, then call it with the credential injected server-side. Ships the skill plus an MCP row that stays disabled until TREG_TOKEN is set.
T-Auto/dsh-ops★ 6095
Provides bash, PowerShell 7, and high-performance Rust tools for DSH on Windows to reduce token usage.
Hithink-Tech-Org/Financial-API#hithink-finance★ 4745
Query Hithink Finance data in DeepSeek Harness, view charts in chat, and save refreshable dashboards.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.