chaggle/dsh-powershell-check1

@chaggle/dsh-powershell-check

DeepSeek Harness 原生插件,通过 pre-execute 拦截点根据《PowerShell 实战踩坑大全》校验 pwsh 工具调用,并打包 powershell-check 技能。

AI 分析

核心用途是拦截并校验 PowerShell 工具调用以防踩坑。适合频繁在 Windows/pwsh 环境下执行 AI 自动脚本的用户,可配置拦截(deny)或警告(warn)模式。

包名
@chaggle/dsh-powershell-check
版本
0.5.0
许可证
MIT
最近更新
2026年8月15日

安装

$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–R17 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