Skip to content
dsh.fish
Bundle

dsh-wsl-path

Convert WSL/Windows paths with /mnt tags and mnt_doctor/encoding_doctor pointers.

Source
173787247
stars
1 stars
License
MIT
Updated
Updated 5 days ago

Readme

# dsh-wsl-path
> **Install set:** part of [dsh-wsl-kit](https://github.com/173787247/dsh-wsl-kit). Prefer `KIT_SET=daily` | `llm` | `github` | `full` (see kit README). Fault tree: [TROUBLESHOOTING.md](https://github.com/173787247/dsh-wsl-kit/blob/master/docs/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](https://github.com/173787247/dsh-wsl-kit)**.

[中文说明 → README.zh.md](./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

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

## Config

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

## Test

```sh
npm test
```

## License

MIT

Install

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

Profile: web

  • This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.
Source