DIV7NE/dsh-plugins0

dsh-run-in-terminal

DSH web plugin: a Run button on every chat code block that pastes into an integrated terminal, plus "Attach selection as context" from terminal output.

AI Analysis

核心用途是简化代码块在终端的执行与上下文回贴。适合频繁需要在本地终端运行 AI 生成代码的开发人员。

Package
dsh-run-in-terminal
Version
0.1.0
License
MIT
Last updated
Sep 12, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:DIV7NE/dsh-plugins

Configuration

Add config.shell to the plugin row to choose the shell:

- id: run-in-terminal
  name: 'dsh-run-in-terminal'
  config:
    shell: 'C:\\Program Files\\PowerShell\\7\\pwsh.exe'

The default is pwsh.exe on Windows when it is on PATH (powershell.exe otherwise), and $SHELL — else /bin/bash — on POSIX, started as a login shell.