DSH Plugins Marketplace

DSH Plugins

Plugins

/

dsh-shell-settings

Y

dsh-shell-settings

Discovered

Settings → General row to pick the shell dsh runs agent commands with: system default / cmd / Windows PowerShell 5.1 / pwsh 7+. Changes apply to new commands immediately, no restart needed.

@local/dsh-shell-settings

在 设置 → 常规 新增「Shell 类型」设置行,选择 dsh 执行智能体命令所使用的 shell:

选项内部值效果
系统默认system-default平台默认(Windows → pwsh 7+)
CMDcmdcmd.exe /d /s /c,模型工具切换为 cmd 方言
Windows PowerShell (5.1)windows-powershellpowershell.exe(System32)
PowerShell 7+ (pwsh)pwsh明确使用 pwsh 7+

工作机制

  • 浏览器侧:本扩展读取/写入 shell 设置命名空间的 kind 字段(settings.yaml 的 shell: 部分),随设置文档热重载;
  • Host 侧:dsh-pwsh-local 的 executor 按 kind 解析 shell 可执行文件与 argv;dsh-tool-pwsh 按 kind 动态注册 pwsh 或 cmd 模型工具;
  • 切换后新命令立即生效,无需重启 dsh 进程。

回滚

  1. 从 C:\Users\yuyang\.dsh\profiles\web\cordis.patch.yml 移除本扩展的 insert 行;
  2. 删除 C:\Users\yuyang\.dsh\extensions\shell-settings\ 与 C:\Users\yuyang\.dsh\profiles\web\node_modules\@local\dsh-shell-settings\;
  3. 还原 patch-src 中备份的 dsh-pwsh-local / dsh-tool-pwsh 包文件;
  4. 重启 dsh 进程。

Comments

Loading…

Similar plugins

dsh-bash-terminal

by MAXeaglet

DSH plugin: one shell tool that runs commands through PowerShell, Git Bash, or WSL on Windows, with a user-chosen default terminal in the Web UI settings.

Terminal & ClientsManifest valid

★ 23

↓ 138/wk

MIT

JavaScript

Sep 11, 2026

dsh plugin --profile web add dsh-bash-terminal

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 AHIOSUZ

Applies per-workspace default Agent and permission presets to new root sessions automatically (Settings - Workspace defaults), using only official extension points.

Security & AuditDevelopment & InfrastructureTerminal & ClientsManifest valid

★ 0

MIT

JavaScript

Sep 10, 2026

dsh plugin --profile web add @ahiosuz/dsh-workspace-tools

by AGImentu

DSH 插件:在「更多设置」里查看、修改并保存所有 agent 共用的全局系统提示词,保存后立即生效。

Development & InfrastructureTerminal & ClientsManifest valid

★ 0

MIT

JavaScript

Oct 6, 2026

dsh plugin --profile web add dsh-prompt-editor

by y2zyyr

@y2zyyr/dsh-restart-button — one-click Restart DSH button in Settings → General (DSH Desktop), using the official desktopRuntime.requestRestart() facade.

Development & InfrastructureManifest valid

★ 0

MIT

JavaScript

Aug 22, 2026

dsh plugin --profile web add @y2zyyr/dsh-restart-control

by Nishikinov

DSH plugin: puts a Settings row in the sidebar header, immediately before Plugins, and opens the native Settings panel in one click.

UI & ExperienceManifest valid

★ 0

MIT

JavaScript

Oct 6, 2026

dsh plugin --profile web add dsh-sidebar-settings-button