Skip to content

Releases: jifeng15/dsh-web-restart

v2.0.1 — Patch: config-corruption protection & repair

Choose a tag to compare

@jifeng15 jifeng15 released this 16 Aug 02:14

Patch release: fix duplicate-loader-entry crash & add config recovery

Fixes the crash caused by hot-installing a plugin that is already in dsh.profile.bundles
(duplicate loader entry id → dsh web fails to boot). Adds tooling to diagnose and recover
from config corruption.

Fixed

  • Hot install now rejects bundles already managed by dsh plugin — no more duplicate
    insert rows in cordis.patch.yml, no more boot crash (duplicate loader entry id).
    Use dsh plugin --profile web add|remove for those instead.

Added

  • dsh-web repair — diagnose & auto-fix common config corruption:
    • duplicate entry ids in cordis.patch.yml (dedup, keep first)
    • ghost bundles in dsh.profile.bundles (remove missing packages)
    • dsh-web-hot state out of sync (reset to match config)
  • dsh-web health-check — after restart, verifies port + config tree; tells you
    whether the problem is the process or the config (stop looping restarts on bad config).
  • Auto config backupinstall/remove/repair back up cordis.patch.yml &
    state before changing them (kept in profiles/web/backups/, last 10).

Docs

  • README bilingual: added technical architecture section (components, hot-install &
    safe-restart data flows, env dependencies).

v2.0.0 — Hot install, no restart 🎉

Choose a tag to compare

@jifeng15 jifeng15 released this 15 Aug 22:32

Hot install / uninstall — no restart

Installing/removing plugins no longer restarts dsh web. Bundled dsh-web-hot host plugin hot-applies patch rows via include.update at runtime — the PID never changes.

New commands

  • dsh-web install <spec> — hot install first, fallback to safe restart
  • dsh-web remove <pkg> — hot uninstall first, fallback to safe restart
  • dsh-web session — report the resolved tmux session (auto-discovered, never assumes dsh-web)

What else

  • Restart logs now show the target tmux session explicitly
  • install.sh ships the hot-plugin; auto-installs into the web profile

Structural limit

Module-level code updates still require a restart (Node require cache) — falls back automatically.

v1.0.0 — Safe restart via tmux

Choose a tag to compare

@jifeng15 jifeng15 released this 15 Aug 22:32

Safe auto-restart for DeepSeek Harness web

First release: tmux hosting + tmux-server independent delayed restart, so installing plugins, editing config, or upgrading dsh no longer means manually restarting from the terminal.

Features

  • tmux hosting (terminal closed, still running)
  • Safe restart via tmux run-shell — completes even if the calling agent dies
  • Crash auto-restart with 3-strike circuit breaker
  • Port auto-discovery (3080 / --port 8080 / --port 0 random)
  • Session auto-discovery (any tmux session name)
  • tmux auto-install (macOS/Linux)
  • Bilingual README (English default + 简体中文)