PerryLink/dsh-power-ticket-check ↗★ 0

dsh-power-ticket-check

核对电力工作票要素与签发许可顺序 适合电力安全管理人员,用于核对工作票填写与签发流程合规。

包名
dsh-power-ticket-check
兼容性
待验证
Harness 依赖范围
>=0.1.2-rc.1 <0.2.0 || >=0.2.0-0 <0.3.0
Cordis 依赖范围
^4.0.2
版本
0.2.1
许可证
NOASSERTION
最近更新
2026年10月8日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:PerryLink/dsh-power-ticket-check

Configuration

KeyTypeDefaultDescription
rulesFilestringrules/power-ticket-check.yamlRule-pack path, relative to the package root
disabledRulesstring[][]Rule ids to stop running; each appears in skipped
onlyRulesstring[][]Run only these rule ids; empty runs every rule
skipNotesstring""Note appended to every skipped reason
timeoutMsnumber120000Cooperative tool timeout budget

Rule-level parameters worth knowing:

  • PT-001 requiredFields — the columns that must be filled, using the same names the material uses.
  • PT-002 ticketKinds — your ticket kinds, e.g. [第一种工作票, 第二种工作票, 带电作业票]. It can also be passed per call.
  • PT-003 minMinutesBeforeWork — the least interval you require between 签发 and 许可. 0 disables the interval comparison.
  • PT-003 maxDurationHours — the longest a single ticket may run. 0 disables the duration check.
  • PT-005 exclusiveRolePairs — pairs that must not be the same person, written ['工作票签发人|工作许可人'].