baicaibucai1/dsh-process-control1

dsh-process-control

DeepSeek Harness Web 插件:侧边栏设置行旁的一个进程控制按钮——重启 host、重新加载页面或退出 host 进程。

AI 分析

核心用途是提供便捷的 DSH 宿主进程管理。适合需要频繁重启服务、重载页面或关闭主进程的开发者与高级用户,免去命令行手动操作的繁琐。

包名
dsh-process-control
版本
1.0.0
许可证
MIT
最近更新
2026年9月11日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:baicaibucai1/dsh-process-control

Configuration

Set these on the plugin row, in the profile's own cordis.patch.yml — the layer applied after every bundle:

- id: process-control
  config:
    openBrowser: false       # true also opens a tab at the fresh URL
    hideCordisPanel: true    # false keeps the shipped Cordis panel entry
KeyDefaultEffect
openBrowserfalseAfter a successful restart, open the default browser at the replacement's fresh …/?token=… URL — the same thing the launcher script does on a cold start. Off by default because the persistent session cookie already lets the same address come back.
hideCordisPaneltrueReplace the shipped cordis-panel entry in the sidebar foot with an empty cell, so that row stops rendering. See below.

Why it touches the shipped Cordis panel entry

hideCordisPanel takes over the cell that the shipped @deepseek-ai/dsh-client-ui-cordis package registers into (sidebar.footer.action, id cordis-panel) by registering the same id with a winning priority (-1) and rendering nothing. The slot contract documents exactly this: "reusing a shipped id puts you in THAT cell and replaces it", and a cell renders the first live entry in priority order.

Only that one entry is suppressed. The cordis_* tool cards in the conversation, the Cordis panel itself, and the ability to approve and run dynamic plugins are all untouched — which is why this is preferred over disabling the whole ui-cordis row. Set hideCordisPanel: false to keep the entry.