luoxunhao/dsh-codex-project ↗★ 0
@luoxunhao/dsh-codex-project
DSH web plugin inspired by Claude Code /add-dir: a native workspace gains any number of additional writable directories (cross-drive), the model can add directories via the add-dir tool (core approval confirms), and sessions read/write them under workspace-write permission — never danger-full-access.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:luoxunhao/dsh-codex-project说明文档
阅读完整 README ↗配置文件
默认 ~/.dsh-codex-project/dirs.json(环境变量 DSH_CODEX_PROJECT_CONFIG 可覆盖),形状:
{
"workspaces": {
"": {
"path": "主根(该工作区自身的路径)",
"dirs": ["共享子目录1", "共享子目录2"]
}
}
}
path恒为该工作区自己的主根(锚定,记录键即工作区 id);dirs为额外可写目录;- 缺省文件 = 无配置 = 纯透传;
- 失效根不自动清理:目录消失不会改写配置文件(对齐 DSH 核心"被动失效保留记录、降级显示"策略);通过「管理工作区」弹窗或 API 显式移除。