yishuiliufang/dsh-wsl-first
yishuiliufang/dsh-wsl-first发布一段带顺序的系统提示词段,指定 wsl 为执行命令时优先选用的执行器,让模型在 Windows 上优先走 WSL 而不是 PowerShell。不注册任何工具,且只宣传模型真实可调用的执行器。
报告 PowerShell、cmd 与 LANG 编码,便于排查 UTF-8 与代码页问题。
Install set: dsh-wsl-kit
Tool `encoding_doctor`: UTF-8 / chcp check; optional path= CRLF sample (fixes bash pipefail breakage on /mnt/c).
Flags UTF-8 versus the Windows code page, and can sample CRLF in scripts the agent is about to run.
flowchart LR
agent["dsh agent"] --> tool["encoding_doctor"] --> enc["UTF-8 vs Windows code page"]Suite diagram and version snapshot: dsh-wsl-kit. This plugin is 0.2.0 (full). Do not copy that matrix into this README.
Field · Value Plugin · dsh-wsl-encoding 0.2.0 Minimum dsh · ≥ 0.1.2 (web UI one-shot ?token= on Windows relay :3081) Latest verified · See dsh-wsl-kit Compatibility (currently `0.2.0-rc.2`) — single source of truth for the suite Kit set · full or install alone Cloud Flash · Use model id `deepseek-flash` (V4.1 Flash) in ~/.dsh/settings.yaml / llm-deepseek — not configured by this plugin Agent Teams · Upstream experimental; not required here
Suite floor versions: kit check-plugin-versions.sh. Fault tree: TROUBLESHOOTING.md.
dsh plugin --profile web add github:173787247/dsh-wsl-encoding
npm testMIT