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

dsh-wsl-path

173787247/dsh-wsl-path

可自动完成WSL与Windows系统间的路径格式转换,内置/mnt/挂载目录的路径映射逻辑,规避手动调整路径的繁琐操作,轻量易用适配WSL开发全流程

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

dsh-wsl-path

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

DeepSeek Harness tool: path_convert — convert between Linux (/home, /mnt/c) and Windows (C:\, \\wsl$\) paths, with /mnt/c caveats.

Part of dsh-wsl-kit.

中文说明 → README.zh.md


Why

Agents and humans constantly mix /mnt/c/Users/... and C:\Users\..., or need \\wsl$\Ubuntu\home\... for Windows apps. This tool does the conversion and explains drvfs vs Linux FS trade-offs (CRLF, chmod, git).

Tool

Arg Default Meaning
path (required) Absolute Linux or Windows path
direction auto auto / toWindows / toLinux

Install

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

Config

- id: dsh-wsl-path
  name: dsh-wsl-path
  config: {}

Test

npm test

License

MIT