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/08

インストール

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

ドキュメント

README 全文を読む ↗

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 ['工作票签发人|工作许可人'].