返回目錄

dsh-auto-continue

編輯精選維護狀態: 活躍

hsiangnianian/dsh-auto-continue

DSH Web UI plugin: auto-sends 「繼續」 after non-human interruptions, with error classification, adaptive backoff, pause, idempotency/loop guards, resume templates, and stats—all configurable in settings UI | DSH 前端 UI 外掛:非人為中斷後自動傳送「繼續」,支援錯誤分類、自適應退避、暫停、冪等/迴圈保護、續跑模板與統計,均可在設定介面配置

前往 GitHub專案首頁
$ dsh plugin --profile web add dsh-client-auto-continue

120

星數

11

Fork

JavaScript

語言

MIT

授權條款

2026-08-14

建立於

2026-09-29

最近推送

DeepSeek Harness 網頁 UI 軟體套件,非人為中斷後自動發送「繼續」——含錯誤分類、自適應退避、迴圈 / 冪等保護與 GUI 設定卡片,讓 agent 會話自行復原。

DSH 整合

原生執行環境

作者聲明

安全稽核

未稽核

最後核實

2026-09-02

授權條款

MIT

01它能幫你完成什麼?

  • Automatically resume a DeepSeek Harness (dsh web) session after a non-human interruption — network error, timeout, or host crash — without manual re-sending.

    A “Continue” message is injected into the session log exactly like a manual prompt, so the interrupted agent work resumes on its own.

    DeepSeek Harness web-UI users running long or unattended agent sessions that get dropped by network errors or host restarts.

  • Break a running DeepSeek Harness turn out of a stuck loop (repeated messages or spinning tools) without a manual stop.

    The loop guard cancels the stuck turn and restarts it with a configurable loop-break message, so the agent tries a different approach.

    Users whose dsh web agent sessions get stuck repeating the same action and would otherwise need a manual interruption.

02如何將外掛接入 DeepSeek Harness?

先決條件

  • DeepSeek Harness (dsh) web installed — the README recommends the latest DSH (0.1.2-alpha.1 or newer); run `dsh --version` before installing.
  • For a from-source build: Node.js ≥ 18.

安裝步驟

  1. 01

    Install from npm into the web profile: `dsh plugin --profile web add dsh-client-auto-continue`

    $ dsh plugin --profile web add dsh-client-auto-continue

  2. 02

    Start the web UI: `dsh web`. The plugin loads into the web profile and is ready after restart.

    $ dsh web

驗證整合成功

  • Confirm the config layer mounted: `dsh --profile web --dump-config | grep auto-continue`
  • Open the browser console (Ctrl/Cmd+Shift+I) and look for the `[auto-continue] 已启动(…)` startup log on each detection and auto-send.

復原

  • Remove the plugin: `dsh plugin --profile web remove dsh-client-auto-continue`
  • Restart the web UI: `dsh web`.

03DSH 整合程度與能力邊界

DSH 整合原生執行環境

Installs into the dsh web profile (dsh plugin --profile web add); the engine runs inside the dsh host process and reacts to the session event firehose.

  • Automatic Continue on interruption

    Interruption / error event from the dsh web session firehose→A “Continue” (or templated) message sent through the agent registry (agent.followup), the same queue the Send button uses

    Writes sessions.prompt via the agent registry (agent.followup) — the same call the Send button makes
  • Error classification & adaptive backoff

    Failure event (HTTP status / error code / message)→Transient failures (network / timeout / 5xx / 429) auto-resumed with increasing cooldown; permanent ones (auth, balance, model, context-length) skipped and notified

  • Loop guard

    Running-turn event stream→Cancels a looping turn and restarts it with a configurable loop-break message

  • GUI-configurable settings card

    Toggles and fields in Settings → Plugins → Plugin configuration→Live config persisted to ~/.dsh/settings.yaml (idempotency guard, pause, stats, notifications)

04適合誰?何時不該用?

適合

  • DeepSeek Harness web-UI users running long or unattended agent sessions that get dropped by network errors or host restarts.
  • Users whose dsh web agent sessions get stuck repeating the same action and would otherwise need a manual interruption.

不適合

  • Requires DeepSeek Harness 0.1.0-rc.7 or newer; rc.6 and earlier are unsupported because the plugin needs the registry-driven web settings surface. Latest DSH (0.1.2-alpha.1+) is recommended.

05相容性、維護與安全提醒

  • Requires DeepSeek Harness 0.1.0-rc.7 or newer; rc.6 and earlier are unsupported because the plugin needs the registry-driven web settings surface. Latest DSH (0.1.2-alpha.1+) is recommended.
  • Browser-only: it touches no files, credentials, or network beyond the dsh host. Its only automatic write is sessions.prompt — the same call the Send button makes.
  • Only English (en) and Chinese (zh) UI text are supported; any other browser language falls back to Chinese.
2026-08-142026-09-01v0.11.0

MIT · actively maintained (latest release v0.11.0, 2026-09-01)

06常見問題

怎麼把 dsh-auto-continue 裝進 DeepSeek Harness 網頁端?

執行 `dsh plugin --profile web add dsh-client-auto-continue`,再啟動 `dsh web`。套件裝進 web 設定檔,安裝後重啟 dsh web 即可載入。

我自己中止請求時,它會自動續跑嗎?

不會。使用者主動中止(aborted)或策略拒絕(blocked)的回合絕不會自動續跑;它只復原網路錯誤、逾時、或崩潰殘留等非人為中斷(由啟動掃描找回)。

怎麼確認套件真的載入了?

執行 `dsh --profile web --dump-config | grep auto-continue` 確認設定層已掛載;再開啟瀏覽器主控台(Ctrl/Cmd+Shift+I),每次偵測與自動發送都會印出 `[auto-continue] 已启动(…)` 啟動日誌。

它會重試鑑權或配額這類永久錯誤嗎?

預設不會。錯誤分類會自動續跑瞬時失敗(網路 / 逾時 / 5xx / 429),跳過永久失敗(401/403、鑑權、餘額 / 配額、未知模型、上下文溢出)並通知你。若某提供商的報錯重試確實安全,可加窄匹配的字面可重試模式。

套件會讀取我的檔案或存取外部服務嗎?

不會。它純屬瀏覽器側,不碰宿主之外的檔案、憑證或網路;唯一的自動寫入就是和發送按鈕相同的 sessions.prompt 呼叫。

08資料與來源

  • 作者聲明github.com2af8f2eaf245…

    DSH Web UI plugin — when a request is interrupted by a network error or any other non-human cause, it automatically send…

  • 作者聲明github.com2af8f2eaf245…

    DSH plugins install into a **profile** (`dsh web` → `web` profile). Install, restart `dsh web`, done.

此頁面根據專案公開文件、儲存庫中繼資料與 DSH Plugins 的結構化解析所產生;最後核實於 2026-09-02。發現錯誤?提交更正。

🏆

最佳 DeepSeek Harness 外掛

從全目錄挑出的 12 個值得優先安裝的外掛,涵蓋各個分類。

DSH Plugins 是獨立的 DeepSeek Harness 外掛市集,與 DeepSeek 官方無關,也不代表官方背書。第三方外掛未經安全稽核,安裝前請審查原始碼。

每週取得最新的 DeepSeek Harness 外掛,絕不濫發。