xiaoso456/dsh-run-config 预览 preview

xiaoso456/dsh-run-config

Plugin插件 Native原生 ⭐ 2 MIT Prompts & Skills提示词与技能

Run configuration management for DeepSeek Harness (DSH) — IDEA-style run control for the web GUI: reusable LLM prompts and background commands, one click to launch.

Project Overview项目介绍

This is a native plugin built exclusively for DeepSeek Harness Web, adding a run configuration management feature to the DSH web interface. It follows IDE design patterns to let users save frequently used LLM prompts and shell commands as reusable task configurations. You can install it via the DSH CLI with one command, either from npm, GitHub, or as a local linked package for development. After installation, it adds a task selector and run button to the session header, so you can run saved tasks with one click without retyping content.

The plugin offers two types of configurations: LLM tasks that automatically fill and send the saved prompt to the LLM, and command tasks that run a shell command in the background then notify the LLM when finished. Configurations can be scoped to either all workspaces (global) or just the current workspace, and you can manage all configurations via an IDE-style dialog. You can also access and run configurations from the new session page before you enter an active chat session. The LLM can also create, edit, and manage configurations through the built-in task_run_config tool, and any write operation requires user approval per DSH's standard workflow.

This plugin requires Node.js version 22 or higher, and is compatible with DeepSeek Harness v0.1.5-rc.1 and newer versions. It is recommended to run this plugin in DSH's danger-full-access mode to avoid sandbox errors when running command tasks on most systems. Windows users are specifically advised to use Git Bash as their shell environment for the best experience. It also integrates well with the DSH-better-sidebar plugin to view and terminate background tasks. The plugin is released under the open source MIT license, and you can view the source code and contribute changes on GitHub.

这是一个专为 DeepSeek Harness Web 开发的原生 DSH 插件,提供运行配置管理功能。参考 IDE 的设计理念,它允许用户将常用的 LLM 提示词和 Shell 命令保存为自定义任务运行配置,之后可以在会话页和新建会话页一键触发运行,不用重复输入内容或手动执行命令。

插件支持 LLM 任务和命令任务两种配置类型,分全局和工作区两种作用域,提供 IDE 风格的配置管理对话框,可以创建、编辑、复制、删除和排序配置。大模型可通过内置工具查看和管理配置,写操作会走标准审批流程,适合经常重复执行固定任务的开发者使用。

插件要求 Node.js ≥ 22,适配 DSH v0.1.5-rc.1 及更高版本,推荐在完全权限模式下使用避免沙箱错误,Windows 平台推荐使用 Git Bash 作为 Shell 环境。可通过 DSH 命令行从 npm 或 GitHub 安装,遵循 MIT 开源许可协议。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add @xiaoso/dsh-run-config

把 xiaoso456/dsh-run-config 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-run-config — DeepSeek Harness 运行配置管理

English | 中文

DeepSeek Harness Web 的运行配置管理:像 IDE 一样,把常用的 LLM 提示词和 Shell 命令保存为"任务运行配置",在会话页和新会话页一键运行。

image-20260823222328727

功能特性

  • 会话头部运行控制:任务选择器 + 运行按钮,悬浮提示当前将运行的任务配置
  • 运行配置管理:IDEA 风格对话框,创建 / 编辑 / 复制 / 删除 / 排序运行配置
    • 两种类型:LLM 任务配置(运行后把 Prompt 填入输入框并发送)、命令任务配置(后台执行 Shell 命令,完成后通知 LLM)
    • 两种作用域:全局(所有工作区可见)、工作区(仅当前工作区可见)
  • 新会话页运行控制:未进入会话时也能选择并运行任务配置(仅 LLM 类配置——命令类配置需要已有会话的工作目录,只能在会话页头部运行)
  • LLM 集成:大模型可通过 task_run_config 工具查看和管理运行配置(写操作走标准审批流程;完全权限模式下按官方语义免审批),详细用法通过 run-configuration skill 按需加载

image-20260823222318093

使用示例

在会话里直接说:

把 git pull && pnpm install 保存为任务配置,以后一键运行

大模型会调用 task_run_config 工具创建命令任务配置(写操作会弹出审批确认,除非会话处于完全权限模式),创建后即可在会话头部选择并一键运行。

image-20260823222125260

推荐环境与配置

  • 完全权限模式:建议在 danger-full-access(完全权限)下使用本插件,可避免部分场景下运行命令配置出现的沙箱错误。
  • 任务后台管理插件:DSH-better-sidebar 提供后台任务页,可查看并手动终止后台任务。

安装

从 npm 安装(推荐)

dsh plugin --profile web add @xiaoso/dsh-run-config

dsh web

本地开发

dsh plugin --profile web add link:<本仓库路径>

从 GitHub 安装

dsh plugin --profile web add github:xiaoso456/dsh-run-config

git 安装会跑本包的 prepare 脚本构建产物;pnpm ≥10 会在首次 add 失败并提示在 profile 的 pnpm-workspace.yaml 里允许该构建。

环境要求

  • Node.js ≥ 22(package.json 的 engines 要求)
  • Git Bash(推荐):Windows 上推荐使用 Git Bash 作为 shell 环境
  • 适用于 DeepSeek Harness dsh 0.2.0-rc.2(本包 peerDependencies 精确写死 0.2.0-rc.2;dsh 的插件版本闸门按 includePrerelease 精确比对,运行时版本与之不一致时本插件条目会被禁用)。dsh 0.2.0-rc.1 线请装 @xiaoso/dsh-run-config@0.2.1,0.1.7 线装 0.2.0,0.1.5 线装 0.1.5

构建

pnpm install
pnpm build

License

MIT

← 上一个 Prev dsh-annotation-patched 下一个 Next dsh-awesome-agent-preset →