dsh-direnv: Inject Workspace Direnv Environment into DSH Sessions
dsh-direnv (@snylonue/dsh-direnv) is a DeepSeek Harness client plugin that supports only DSH 0.2.1-rc.2. It runs `direnv export json` in the session's pinned workspace, merging variables into the environment for each shell command executed by the agent. At session startup, it injects a snapshot of variable names into the model; when `.envrc` has not been approved, it does not leak its contents and supports an approval workflow via `direnv_allow`. It supports configurations such as `direnv_reload`, `sessionContext`, and `notifyOnBlocked`. Installation: `dsh plugin --profile web add @snylonue/dsh-direnv`; a restart is required for it to take effect. MIT License.
Read Moredsh-direnv: Enabling DSH Child Processes to Inherit direnv Environment Based on Working Directory
dsh-direnv is a DSH workflow plugin maintained by Snowy117. It hooks into the subprocess seam and runs `direnv export json` according to the actual cwd of the spawn, injecting the `.envrc` environment of each directory into tool subprocesses such as shell and subprocess. Installation requires that `direnv` is already available on the machine, and is performed via `dsh plugin add dsh-direnv`. It supports gated waiting, right-sidebar status, and configurable timeout and sensitive-variable policies. MCP and host-side spawn do not go through this path. This article, based on the GitHub README, summarizes the installation, verification steps, and security limitations.
Read More