DIV7NE/dsh-plugins0

dsh-run-in-terminal

DSH Web 插件:在聊天代码块上添加运行按钮以粘贴至集成终端,并支持从终端输出中选择文本作为上下文附加。

AI 分析

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

套件
dsh-run-in-terminal
版本
0.1.0
授權
MIT
最近更新
2026年9月12日

安裝

$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.