dsh-wsl-distro
开发工具 活跃维护

dsh-wsl-distro

173787247/dsh-wsl-distro

轻量级WSL辅助插件,可自动读取当前运行发行版的核心信息,检测到多发行版同时运行时自动弹出异常提示,无需手动查询发行版状态,安装后无额外配置开销,即装即用。

1
Stars 标星
0
Forks 分支
1
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
16 KB
仓库大小
3 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:173787247/dsh-wsl-distro
git clone https://github.com/173787247/dsh-wsl-distro.git
git clone git@github.com:173787247/dsh-wsl-distro.git
README.md master

dsh-wsl-distro

Install set: part of dsh-wsl-kit. Prefer KIT_SET=daily | llm | github | full (see kit README). Fault tree: TROUBLESHOOTING.md.

DeepSeek Harness plugin: inject a short current distro note into the system prompt, plus tool distro_info (wsl -l -v, os-release).

Part of dsh-wsl-kit.

中文说明 → README.zh.md


Why

Default WSL distro, usernames, and home paths can differ across Ubuntu / other installs. \\wsl$\WrongDistro\... silently breaks opens. This plugin states the current distro and can list all distros.

Install

dsh plugin --profile web add github:173787247/dsh-wsl-distro

Config

- id: dsh-wsl-distro
  name: dsh-wsl-distro
  config:
    timeoutMs: 15000

Test

npm test

License

MIT