dsh-run-in-terminal
DSH Web 插件:在聊天代码块上添加运行按钮以粘贴至集成终端,并支持从终端输出中选择文本作为上下文附加。
AI 分析
核心用途是简化代码块在终端的执行与上下文回贴。适合频繁需要在本地终端运行 AI 生成代码的开发人员。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:DIV7NE/dsh-plugins说明文档
阅读完整 README ↗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.