DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Wsl Env — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
W

dsh-wsl-env

Wsl Env

将 WSL/Windows 路径和 shell 信息注入 DeepSeek Harness 系统提示词。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:173787247/dsh-wsl-env#1110c6e35ea572360df9ffb53a1df02c5ac51186
README兼容性版本

兼容性与来源证明

Wsl Env 以 dsh-wsl-env 发布,当前版本为 0.3.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
any
发布来源
github
Registry 更新时间
2026/9/2

版本

0.3.0stable
2026/9/2
0.2.1stable
2026/8/25
最新版
0.3.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
any
许可证
MIT
发布源
github
GitHub
★ 2
周下载
0
最近提交
2026/9/25
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

README

dsh-wsl-env

DeepSeek Harness plugin: inject WSL / Windows path and shell facts into the system prompt.

Part of dsh-wsl-kit.

中文说明 ↓


English

Why

The model often assumes a Windows shell (C:\, PowerShell) even when the agent runs in Linux/WSL. This plugin adds a short system-prompt section so it prefers Linux paths, understands /mnt/c, and knows about Node 24 proxy quirks.

What gets injected

Kept short on purpose:

  • Distro name and Linux user
  • Linux path mapping (C:\Users\... → /mnt/c/Users/...)
  • CRLF / git caveats on /mnt/c
  • Prefer Linux home over the Windows mount for day-to-day work
  • NODE_USE_ENV_PROXY=1 when Node 24 must use HTTP(S)_PROXY

Install

dsh plugin --profile web add github:173787247/dsh-wsl-env
# or:
dsh plugin --profile web add /absolute/path/to/dsh-wsl-env

Restart dsh web. Open a new session (existing sessions keep the old prompt).

Verify

  1. Send any message.
  2. Trajectory → SYSTEM → System Prompt (not the Tools tab).
  3. Search for Windows Subsystem for Linux.

You should see the distro name and path mapping. The UI concatenates sections, so the internal id runtime:wsl-windows may not appear as a heading.

Non-WSL hosts skip injection by default (when: wsl).

Config

Later profile layers that set config replace the whole object—restate every key you keep:

- id: dsh-wsl-env
  name: dsh-wsl-env
  config:
    when: wsl          # or: always
    order: 15
    extraNotes: "Prefer /home over /mnt/c for new files."
KeyDefaultMeaning
whenwslInject only in WSL, or always
order15Prompt section order
extraNotes""Extra operator notes appended to the section

Test

npm test

License

MIT


中文

为什么需要

Agent 跑在 WSL(Linux)里时,模型仍常按 Windows 习惯写 C:\、PowerShell。本插件往 system prompt 注入一小段事实,让它优先用 Linux 路径,并了解 /mnt/c 与 Node 24 代理注意点。

注入内容

  • 发行版与 Linux 用户
  • 路径映射(C:\Users\... → /mnt/c/Users/...)
  • /mnt/c 上的 CRLF / git 注意点
  • 日常工作优先家目录,而不是 Windows 盘
  • 需要代理时提醒 NODE_USE_ENV_PROXY=1

安装

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

重启 dsh web,并开新会话。

验证

Trajectory → SYSTEM → System Prompt,搜索 Windows Subsystem for Linux。

配置

键默认含义
whenwsl仅 WSL 注入,或 always
order15段落顺序
extraNotes""追加运维说明

许可

MIT