편집자 노트

WSL Windows 桥接

win_ls、win_read、win_write、win_run、win_open、win_path、win_drives

이것은 DeepSeek Harness(DSH) 플러그인입니다. 이 사이트는 GitHub README, 설치 정보, 유지보수 상태, 공개 보안 시그널을 모아 보여줍니다.

업스트림에서 중국어 README를 제공하지 않아 저장소 원본 내용을 표시합니다.

wsl-bridge

DSH (DeepSeek Harness) Cordis plugin that lets an agent running inside WSL (Windows Subsystem for Linux) access and invoke Windows-side files and programs.

Built for agents that live in WSL but need the Windows host: read/write files on C:\, run .exe programs, open things in Explorer, list drives, convert paths.

Tools

ToolPurpose
win_lsList a Windows directory (accepts C:\... or /mnt/c/...)
win_readRead a Windows text file (utf8/gbk, line offset/limit)
win_writeWrite UTF-8 text to a Windows file (creates parent dirs)
win_runRun a Windows program (cmd / powershell / direct interop)
win_openOpen a file/folder with the default Windows handler
win_pathConvert between C:\... and /mnt/c/... (wslpath)
win_drivesList mounted Windows drives

Optional (when codebase-memory-mcp is installed): codebase_search, codebase_arch — knowledge-graph code search.

How it works

Everything runs through the host shell service (the same seam the built-in bash tool uses) with the calling session's sandbox policy applied per call. Path normalization handles both C:\Users\me and /mnt/c/Users/me forms. win_run writes temp .bat/.ps1 files to C:\Windows\Temp and cleans up after itself; PowerShell output is forced to UTF-8 console encoding.

Install (DSH bundle)

Standard DSH bundle — install with the official plugin command (auto-inits the profile, pnpm-installs, and appends the bundle layer per dsh.bundle.patch):

dsh plugin --profile web add /path/to/dsh-wsl-bridge
# or: dsh plugin --profile web add github:you/dsh-wsl-bridge
# Restart dsh web; the tools mount automatically.

Dependencies are declared as peerDependencies (ecosystem convention — @deepseek-ai/dsh-tools is already loaded in the DSH process). Optional env vars at apply time: CODEBASE_MEMORY_BIN for the codebase-memory tools (default /usr/local/bin/codebase-memory-mcp; they error if absent).

Requirements

  • WSL with Windows interop enabled (cmd.exe, powershell.exe, wslpath, explorer.exe reachable — standard on WSL1/WSL2)
  • DSH host with the shell and sandboxPolicy services

License

MIT

REPOSITORY SIGNALS

보안 및 설치 증거

이 점수는 공개 저장소 메타데이터와 이 사이트에 등록된 설치 증거에만 기반하며, 코드 보안 감사와 다릅니다.

출처 추적 가능

공개 플러그인 카탈로그에서 왔으며, 공개 GitHub 저장소로 연결됩니다.

라이선스

저장소가 MIT 라이선스를 선언했습니다.

유지보수 활동

최근 180일 내 코드 업데이트가 있습니다.

설치 증거

재현 가능한 정확한 설치 메타데이터가 아직 등록되지 않았습니다. 저장소 설명에 따라 직접 확인하세요.

설치 라이프사이클 스크립트

검사한 패키지 메타데이터에 설치 라이프사이클 스크립트가 선언되지 않았습니다.