返回目录

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 插件,绝不滥发。