New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

dsh-desktop-config

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dsh-desktop-config

DeepSeek Harness desktop-config host+client plugin: owns the desktop app's configuration (port, auto-open, window) as a settings namespace, so the Electron shell and the web UI share one source of truth. Works with the offline desktop build.

latest
npmnpm
Version
0.1.2
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

dsh-desktop-config

管理 DeepSeek Harness 桌面端(Electron 封装版)的启动配置:端口、绑定地址、自动打开浏览器。配置以 settings 命名空间(desktop-launcher)形式保存于 $DSH_HOME/settings.yaml,Electron 桌面端启动时直接读取同一文件,与 Web 设置页共享一份配置来源。

Owns the desktop app's launch configuration (port, bind host, auto-open) as a settings namespace saved in $DSH_HOME/settings.yaml. The Electron shell reads the same document at startup, sharing one source of truth with the web settings page.

功能 / Features

  • 注册 desktop-launcher settings 命名空间(live applies:设置页修改即时生效)。

  • 桌面端(Electron)启动时从 settings.yaml 的 desktop-launcher 节读取端口,无需任何额外通信。

  • 桌面端未启动时,本插件依然是无害的配置持有者——不引入服务行为,保持最小维护面。

  • Registers the desktop-launcher settings namespace with live applies.

  • The Electron shell reads the desktop-launcher section from settings.yaml at startup — no extra wiring.

  • When the desktop app is not running, the plugin stays a harmless configuration owner — no server behavior, minimal maintenance surface.

安装 / Install

dsh plugin --profile web add dsh-desktop-config
# 重启 dsh 生效 / restart dsh to apply

配置 / Configuration

desktop-launcher:
  host: 127.0.0.1   # 绑定地址(仅回环)
  port: 3080        # 监听端口
  autoOpen: false   # 从命令行启动时是否自动打开浏览器

已知限制 / Known Limitations

  • 桌面端读取的是 settings.yaml 的 YAML 节(正则提取),不是通过本插件运行时查询——因此桌面端可在 dsh 首次启动前工作。

  • 端口冲突时桌面端会回退到默认 3080(或显示错误)。

  • The desktop shell parses the settings.yaml section directly (not a runtime query), so it works even before dsh first boots.

  • On port conflict the shell falls back to the default 3080 or surfaces the error.

License

MIT

Keywords

deepseek

FAQs

Package last updated on 12 Sep 2026

Related posts