Skip to content

Releases

v0.6.1

Choose a tag to compare

@KhaosGx KhaosGx released this 06 Sep 06:54

修复

  • 更新横幅里升级命令尾部显示为 @{v} 的占位符残留:宿主/插件文案中 {v} 出现两次("新版本 {v} 可用…命令@{v}"),String.replace 只替换第一个匹配,现改为 replaceAll。该问题自 v0.4.0 起存在。

Fix: the upgrade command in the update banner rendered a literal @{v} tail — the locale strings carry {v} twice and String.replace only substitutes the first match; now uses replaceAll. Present since v0.4.0.

升级 / Upgrade: dsh plugin --profile web add dsh-stop-service@0.6.1 后重启 dsh web

v0.6.0

Choose a tag to compare

@KhaosGx KhaosGx released this 06 Sep 06:35

新功能

  • 已加载插件清单:服务信息底部可折叠列表,显示每个已装插件的安装版本,link: 本地安装带标记(/info 载荷补齐版本号)
  • 趋势图持久化 + 时间窗:内存/CPU 样本带时间戳存入 localStorage(约 1 小时容量,刷新页面不丢),图上可切换 3 分钟 / 15 分钟 / 1 小时窗口
  • 多标签页协调:任一标签页发起停止,其余标签页经 BroadcastChannel 同步进入「已停止」状态并挂上回归自动刷新,不再悬挂在过期数据上
  • 设置页头部快捷停止:任意设置页头部都有同款确认停止按钮(settings.action 槽位),复用运行任务升级警告与跨标签页广播

同时包含 0.4.2 / 0.5.0 的修复与功能(本次一并在 master 上):

  • 修复 semver 预发布版本比较(rc→rc 更新此前不显示横幅)
  • 宿主失联时显示数据快照年龄警示
  • 停止确认升级为运行任务感知(/info 新增 runningSessions,活跃会话数不再把子代理计入)
  • 排空式停止「任务结束后停止」
  • 更新横幅可一键复制升级命令、跳转 npm / Releases

Install / 升级:dsh plugin --profile web add dsh-stop-service(已安装者:dsh plugin --profile web add dsh-stop-service@0.6.0 后重启 dsh web)

English notes: see README.en.md.

v0.4.1

Choose a tag to compare

@KhaosGx KhaosGx released this 04 Sep 15:30

What's new

  • Compact stop action pinned to the top: the stop button is now a slim one-liner above the info panel — small screens reach it without scrolling (full explanation stays in the confirmation dialog).
  • CPU sparkline alongside the memory trend chart.
  • Threshold highlights: CPU ≥ 80% or memory ≥ 1024 MB rows turn warning-colored.
  • Update banner: compares host/plugin versions against npm dist-tags from the browser (the host never phones out) and shows the upgrade command when newer versions exist.

Install

dsh plugin --profile web add dsh-stop-service

Note: npm's 0.4.0 was packed from an intermediate tree (pre-compact layout); 0.4.1 is the complete release. Requires DeepSeek Harness >= 0.1.2-rc.1.

v0.3.0

Choose a tag to compare

@KhaosGx KhaosGx released this 04 Sep 14:59

What's new

  • Active session count in the info panel; the stop confirmation now names how many live sessions will disconnect.
  • CPU usage row and a memory sparkline (last ~3 minutes, sampled from the 5s polling).
  • Copy diagnostics button — one click puts a clean version/runtime summary on your clipboard for issue reports.
  • Auto-reload: after stopping, the page watches for the restarted host and refreshes itself.
  • Theme-aware colors via --dsw-* tokens.

Install

dsh plugin --profile web add dsh-stop-service

Also on GitHub (github:KhaosGx/dsh-stop-service) or clone + link:. Requires DeepSeek Harness >= 0.1.2-rc.1 (verified on 0.1.2-rc.1).

v0.2.1

Choose a tag to compare

@KhaosGx KhaosGx released this 04 Sep 13:52

What's new

  • Live service info panel in Settings → 服务控制: PID, start time, uptime, memory (RSS), Node / DSH host / plugin versions, platform — auto-refreshed every 5s.
  • Confirm-guarded stop button: graceful SIGTERM shutdown, identical to kill <pid> from a terminal — no orphaned background processes.

Install

dsh plugin --profile web add github:KhaosGx/dsh-stop-service

Git-source install (the plugin is NOT on npm). Alternatively clone and use dsh plugin --profile web add link:$(pwd).

Requires DeepSeek Harness >= 0.1.2-rc.1 (verified on 0.1.2-rc.1).