lhpaul/dsh-harness--packages-workspace-roots ↗★ 0
dsh-lh-workspace-roots
DSH sandbox-policy and file-reference replacements: per-session extra writable roots from ~/Git/<scope>/*.code-workspace and user-approved grants, denied write paths, multi-root @ completion, repo skills for workspace-file sessions, and a Web Roots tab over extra-root directory listings 适合需要跨多个本地仓库进行文件读写和会话管理的开发人员。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:lhpaul/dsh-harness#ecec6a4e7040e8ddfd45841a0256e31e0c253b93&path:packages/workspace-rootsREADME
Read the full README ↗Usage
./bootstrap.sh # stop `dsh web` first; restart it afterwards with `dsh web`
./bootstrap.sh --revert # unwire profile, restore pristine runtime files, remove launcher
npm test # unit + composition tests (fixtures under a temp dir in $HOME)
npm run smoke # boots the real `dsh web` in an isolated DSH_HOME/HOME with a probe plugin
npm run patch:check # 0 applied, 3 not applied, 1 broken
Bootstrap never touches ~/.dsh/sessions, ~/.dsh/storages or credentials. Tests and smoke use temp fixtures, never the real ~/Git.