DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-pwsh7

S

dsh-pwsh7

Discovered

DSH plugin: pin the pwsh tool to PowerShell 7 and never fall back to Windows PowerShell 5.1

dsh-pwsh7 — PowerShell 7 for the pwsh tool

dsh-pwsh7 pins the DSH shell executor (the pwsh tool) to PowerShell 7 and refuses to fall back to the Windows PowerShell 5.1 that ships with Windows.

What it does

On activation it resolves a PowerShell 7 executable, and pins the live shell executor to it:

  1. config.path — the row's path value in cordis.patch.yml
  2. DSH_PWSH7_PATH environment variable
  3. %ProgramFiles%\PowerShell\7\pwsh.exe
  4. %LOCALAPPDATA%\Programs\PowerShell\7\pwsh.exe
  5. %LOCALAPPDATA%\Microsoft\WindowsApps\pwsh.exe (Microsoft Store / MSIX)
  6. every PATH entry, <entry>\pwsh.exe

Each candidate is not trusted by existence alone: the plugin runs it and reads $PSVersionTable.PSVersion, and only accepts major version 7 or newer. The chosen folder is also moved to the front of PATH, so child processes and any component that resolves pwsh through PATH (including the terminal backend when it is mounted) see the same executable.

When no PowerShell 7 is found, the plugin fails loudly: shell commands raise dsh-pwsh7: PowerShell 7 is required ... instead of silently running 5.1.

Install

git clone https://github.com/SamyiHu/dsh-pwsh7.git

Then install that directory as a bundle: Settings → Plugins → Add plugin (a local directory), or plugin_manager install_bundle with the absolute path.

Install PowerShell 7 first:

winget install --id Microsoft.PowerShell -e

Restart DeepSeek Harness afterwards so the plugin re-resolves at boot.

Configuration

- id: pwsh7
  name: dsh-pwsh7
  config:
    path: ''       # explicit pwsh.exe; empty = auto-detect
    strict: true   # false = warn instead of blocking the shell when PS7 is missing

Status file

Every boot writes status.json beside this file:

{
  "ok": true,
  "resolvedPath": "C:\\Users\\<you>\\AppData\\Local\\Microsoft\\WindowsApps\\pwsh.exe",
  "version": "7.7.0",
  "effectivePath": "C:\\Users\\<you>\\AppData\\Local\\Microsoft\\WindowsApps\\pwsh.exe"
}

effectivePath is read back from the live shell executor, so ok: false means the pin did not reach the executor (a restart is then required).

Limits

  • Windows only; the row is disabled on other platforms.
  • The bundle patch replaces the pwsh-sandbox row's whole config; it only writes pwshPath, which is the only field that row carries here.
  • It pins the agent pwsh tool and PATH resolution. The integrated-terminal backend (terminal-bash) is not mounted in this profile; if it is mounted later, a backend that already resolved its own shellPath keeps that path until the next restart.
  • Turning the plugin off restores DSH's built-in resolution.

Comments

Loading…

Similar plugins

dsh-win-pwsh7

by xinspark

PowerShell 7 for the DSH `pwsh` tool on Windows: detect, validate, and install the self-updating Microsoft Store package — one install path, with the connection checked first.

Development & InfrastructureManifest valid

★ 4

↓ 3.1k/wk

MIT

JavaScript

Nov 6, 2026

dsh plugin --profile web add dsh-win-pwsh7

by drliuhuan

Replaces the Windows pwsh executor row so the model-facing pwsh tool runs PowerShell 7, with a shell_router tool for status, diagnosis, and per-user portable installation.

Development & InfrastructureManifest valid

★ 4

↓ 1.2k/wk

MIT

JavaScript

Nov 5, 2026

dsh plugin --profile web add dsh-plugin-pwsh7

by Saikel-Orado-Liu

Windows-adapted DSH coding agent preset with persistent PowerShell 7 (pwsh) and str_replace_editor, mirroring the official minimal preset.

Manifest valid

★ 3

MIT

JavaScript

Aug 21, 2026

dsh plugin --profile web add @gamegeek-saikel/dsh-coding-preset

by chaggle

Native DeepSeek Harness plugin: gates pwsh tool calls against PowerShell pitfalls via the official tools/pre-execute interception point, bundles the powershell-check skill

Tools & CapabilitiesManifest valid

★ 4

MIT

JavaScript

Oct 25, 2026

dsh plugin --profile web add @chaggle/dsh-powershell-check

by waterha

Provides an always-on-top window feature for the DSH window, preventing it from being hidden unexpectedly, Windows only; requires PowerShell 7 (pwsh.exe) on PATH.

UI & ExperienceManifest valid

★ 3

MIT

JavaScript

Oct 18, 2026

dsh plugin --profile web add dsh-pintop

by Momojie-S

DSH plugin: per-workspace .env injection for shell subprocesses

Tools & CapabilitiesManifest valid

★ 2

MIT

JavaScript

Nov 12, 2026

dsh plugin --profile web add @momojie-s/dsh-workspace-env