chaggle/dsh-powershell-check ↗★ 4

@chaggle/dsh-powershell-check

拦截并检查pwsh工具调用,规避PowerShell常见陷阱。 适合在DSH中频繁运行PowerShell脚本,需要安全拦截和语法检查的用户。

套件
@chaggle/dsh-powershell-check
相容性
待驗證
Harness 依賴範圍
^0.1.0-rc.6
Cordis 依賴範圍
^4.0.1
版本
0.5.2
授權
MIT
最近更新
2026年9月10日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:chaggle/dsh-powershell-check

Configuration

KeyDefaultMeaning
modedenydeny blocks pwsh calls with blocking violations; warn logs and allows
langzhLanguage of deny reasons and warn logs: zh or en
analyzerbuiltinbuiltin: bundled R1–R19 rules only. psscriptanalyzer: additionally deep-checks every pwsh command with the official PSScriptAnalyzer (install the module on the host; degrades to builtin when missing). Error/ParseError findings deny, warnings are logged