Sandbox & Runtimedsh-plugin

dsh-session-permissions

A DeepSeek Harness plugin that adds a Permissions tab to any session and computes effective permissions as the stricter intersection of the official preset, the agent policy, and per-session overrides. It also pins the official sandbox/mode for Claw sessions (tightening only).

Stars
0
Forks
0
Open issues
0
Last push
Aug 19, 2026
Latest release
—
24h Growth
+0
7d Growth
+0

Installation

dsh plugin --profile web add github:xingyingyuzhui/dsh-session-permissions

Overview

A DeepSeek Harness plugin that adds a Permissions tab to any session and computes effective permissions as the stricter intersection of the official preset, the agent policy, and per-session overrides. It also pins the official sandbox/mode for Claw sessions (tightening only).

  • Adds a Permissions tab to the session area of any opened session
  • Effective permissions are computed as the stricter intersection of the applicable layers
  • Workspace sessions default to max permissions (danger-full-access, file surface all) and can still be tightened per session
  • Claw sessions combine official preset, Claw hard cap, agent policy, and session override
  • Tool names follow OpenClaw: read, write, edit, apply_patch, exec; DSH bash is treated as an alias
  • File boundaries use workspaceAccess: none, ro, rw, all, with paths checked via OpenClaw isPathInside
  • str_replace_editor is mapped by its command to read, write, or edit
  • Pins the official sandbox/mode for Claw sessions; BOOTSTRAP.md gate admits only persona files and ask_user_question

Related plugins