beicause/dsh-workspace-write-extra ↗★ 0

dsh-workspace-write-extra

Adds a fourth DSH permission preset, workspace-write-extra, that grants write access to configured extra directories on top of the session workspace. Linux bwrap only. 适合Linux环境且需要授予Agent额外目录写权限的任务。

패키지
dsh-workspace-write-extra
호환성
미검증
Cordis peer 범위
~4.0.4
버전
0.2.0
최근 업데이트
2026. 9. 29.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:beicause/dsh-workspace-write-extra

Configuration

Both surfaces are supported.

Profile config

- id: workspace-write-extra
  name: dsh-workspace-write-extra
  config:
    extraWritableDirs:
      - /srv/shared-assets
      - ~/notes
    presetName: workspace-write-extra

Entries must be absolute; a leading ~ is expanded. Symlinks are resolved, and a missing or non-directory entry is ignored with a warning rather than created — granting a path nobody named would be the unsafe direction. Expansion is asynchronous, so a directory only becomes writable after its own successful expansion.

Settings page

extraWritableDirs is a volatile field, so it also appears on the Settings page and edits apply live to every session in the profile.