PerryLink DSH 领域插件alpha · public/synthetic · not GA

dsh-ghg

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

Electricity activity ingest, location-based GHG calculation, row verification, workpaper and partial ESRS pack.

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

🧊 FROZEN — 2026-10-31. No new features. Installable; only genuine breakage is fixed.

Maintenance status: 🧊 FROZEN

Frozen on 2026-10-31; the package stays installable, but feature work stops.

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

dsh plugin --profile <profile> add dsh-ghg

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

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

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

Install

Install and verify:

dsh plugin --profile <profile> add dsh-ghg
dsh --profile <profile> --dump-config | grep dsh-ghg

Uninstall:

dsh plugin --profile <profile> remove dsh-ghg

What it does

Electricity activity ingest, location-based GHG calculation, row verification, workpaper and partial ESRS pack. 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.

Tool Purpose Risk
ghg.facility_import Import facility boundary metadata R1 local write
ghg.ingest Ingest electricity CSV (date/month,kwh); reject MWh/unit mismatch R1 local write
ghg.ingest_pdf Extract date/kWh rows from a text-based PDF; no OCR or scanned PDF R1 local write
ghg.match_factor Return the electricity location factor and its public source R0
ghg.factor_import Import a versioned public/synthetic factor R1 local write
ghg.scope_import Import public/synthetic Scope 1/3 values for the partial ESRS pack R1 local write
ghg.calculate Multiply kWh by a factor (default or imported) into tCO2e lines R0
ghg.verify_row Recalculate all lines and return mismatches/diffs R0
ghg.export_workpaper Export a 3-sheet xlsx: Facilities / Activities / Emissions R1 local write
ghg.export_esrs Export a partial ESRS E1 view; not assurance-grade R1 local write
ghg.export_esrs_pack Export a 4-sheet partial ESRS E1 workbook R1 local write

Quick start

dsh plugin --profile <profile> add dsh-ghg
dsh --profile <profile> --dump-config | grep dsh-ghg

Limits

Public sample

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

Development

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

Compatibility

Surface Status
Harness dsh >=0.2.1-rc.3 <0.3.0
Node >=24.9.0 <25
Platforms All; local files only
Data No network, no model call, no upload

Permissions & data

Related work

Sibling packages and family indexes: dsh-qms-capa · dsh-policy-ledger

Family

DSH domain plugin family (15 packages + 2 suites)
Package npm
dsh-einvoice npm
dsh-docx-redline npm
dsh-policy-ledger npm
dsh-ghg npm
dsh-bankrec npm
dsh-ap-three-way npm
dsh-ifc-qto npm
dsh-qms-capa npm
dsh-legal-intake npm
dsh-legal-clause npm
dsh-freight-audit npm
dsh-hs-candidate npm
dsh-travel-recon npm
dsh-pim-lint npm
dsh-eval-pack npm
dsh-finops-suite npm
dsh-contract-suite npm

License

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