Repository navigation
dsh-plugin-wsl-env — run a DSH session against a WSL distro, with the sandbox moved inside the distro #11251
Replies: 5 comments 4 replies
|
v0.2.2-rc1版本下无法正常使用 |
|
我的请求只是在项目目录中创建一个text文件,内容为hello, world!,这个也会超出权限吗?
Sent from Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Big Dao ***@***.***>
Sent: Saturday, 07 November 2026 00:06:01
To: deepseek-ai/deepseek-harness ***@***.***>
Cc: Yuqian YANG ***@***.***>; Comment ***@***.***>
Subject: Re: [deepseek-ai/deepseek-harness] dsh-plugin-wsl-env ― run a DSH session against a WSL distro, with the sandbox moved inside the distro (Discussion #11251)
这是沙箱检查到工具调用中有超出权限的命令,提出的提权申请。估计是你的wsl环境当前用户开启“linger”(逗留)功能。直接允许这次提权,一般会修复。或者手动在wsl的linux发行版中运行“sudo loginctl enable-linger $USER”
―
Reply to this email directly, view it on GitHub<#11251?email_source=notifications&email_token=ABA7KBKTG3YEZCN7VAXWVP35XXZGTA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJUGQ2DCNRTUZZGKYLTN5XKOY3PNVWWK3TUUVSXMZLOOSWGM33PORSXEX3DNRUWG2Y#discussioncomment-19444163>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABA7KBNPIHCHGVSRD2ILPY35XXZGTAVCNFSNUABJKJSXA33TNF2G64TZHMYTGMZTGA3DKMBZGE5UI2LTMN2XG43JN5XDWMJRGE2DQMRTGGQXMAQ>.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS<https://github.com/notifications/mobile/ios/ABA7KBIJNS3SBXJVG5QHG4D5XXZGTA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJUGQ2DCNRTUZZGKYLTN5XKOY3PNVWWK3TUUVSXMZLOOSVGM33PORSXEX3JN5ZQ> and Android<https://github.com/notifications/mobile/android/ABA7KBJUHRFPTXTB3WRNS3T5XXZGTA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJUGQ2DCNRTUZZGKYLTN5XKOY3PNVWWK3TUUVSXMZLOOSXGM33PORSXEX3BNZSHE33JMQ>. Download it today!
You are receiving this because you commented.Message ID: ***@***.***>
|
|
@JasonEX Follow-up: the quickstart now documents this exact first-run moment — the sandbox permission prompt is expected (it names the command and target; allowing it once is safe), and enabling linger in the distro prevents repeat prompts: https://github.com/Big-Dao/dsh-plugin-wsl-env/blob/main/docs/QUICKSTART.md (see "First-write note", shipping in the next release) If allowing the prompt didn't unblock you on 0.2.2-rc1, or anything else in the flow surprises you, please reply here — first-run reports on the new 0.2.2 line are exactly what we need right now. |
|
v0.24.0 已发布(npm
验证快照: |
|
插件更新通告 / Plugin update(2026-11-14) dsh-plugin-wsl-env 文档全面改版,已合入仓库
CLI 能整个装进发行版时不需要本插件,判断表见 README。
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
English · 中文
English
A Windows-first DSH setup where the model's commands, files and terminal all live inside a WSL distro — with a kernel-enforced sandbox, backed by a six-distro compatibility matrix.
What it is: three seam providers (shell / fs / subprocess), so the model's existing tools run against a WSL distro instead of Windows. No new tools to learn — same UI, same permission flow, different execution world.
Install
The Windows desktop app ships no
dshexecutable — the installer writes onlyDeepSeek Harness.exe, and the CLI entry lives insideresources/app.asar. Pick the path that matches your distribution:Desktop app — Plugins is a sidebar entry, not a Settings page:
dsh-plugin-wsl-env→ enable it.DeepSeek Harness.exe, no arguments. It opens the profile the Plugins page writes into — thedesktopprofile name is owned by the Electron app, and the npm CLI refuses to manage its plugins.CLI distribution (
dshonPATH), in a Windows terminal:Then install
bubblewrapin the distro before the first command (required):What makes it worth trying
partial(the interop escape is documented and probed)bootstrap-import)interopVisibility: visible | masked | disabled)Try it & tell us what breaks
Five minutes from a clean machine: Quickstart. Feedback channels: bug / setup report / feature request — or reply right here.
Screenshots · 截图
中文
一套 Windows 优先的 DSH 环境配置:模型的命令、文件与终端全部落在 WSL 发行版内——内核强制执行的沙箱,附六发行版兼容性矩阵。
它是什么: 三个 seam provider(shell / fs / subprocess),让模型现有的工具直接作用于 WSL 发行版,而不是 Windows。无需学习新工具——同一界面、同一权限流程,只是换了执行世界。
安装
Windows 桌面应用不带
dsh可执行文件——安装器只写DeepSeek Harness.exe,CLI 入口在resources/app.asar内部。按你手上的发行版二选一:桌面应用——Plugins 是侧边栏入口,不是设置页:
dsh-plugin-wsl-env→ 启用。DeepSeek Harness.exe,不带参数。它打开的是 Plugins 页写入的那个 profile——desktop这个 profile 名由 Electron 应用独占,npm CLI 拒绝管理它的插件。CLI 发行版(
dsh在PATH上),在 Windows 终端中执行:然后在发行版内安装
bubblewrap(必需,第一条命令之前执行):值得尝试的理由
partial(interop 逃逸面有文档、有探针)bootstrap-import)interopVisibility: visible | masked | disabled)试用并把问题告诉我们
从清洁机器到跑通约五分钟:快速上手(中文版内含)。反馈渠道:bug / 环境报告 / 功能建议——或直接在本帖回复。欢迎中文反馈。
All reactions