返回目录
部署运维 插件

dsh-auto-continue

borncode-app/dsh-auto-continue

Resumes a conversation automatically after a spent model usage limit resets.

Stars
0
Forks
0
Issues
0
更新
9 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:borncode-app/dsh-auto-continue

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

This repository has moved into one monorepo.

The BornCode plugins — agent customization, desktop control, auto-continue, auto-shutdown, browser use, session instructions, session sync, and the side chat — now live in borncode-app/dsh-borncode, one repository with one Plugins entry.

this repo new home
dsh-agent-customizer packages/dsh-agent-customizer
dsh-agent-desktop packages/dsh-agent-desktop
dsh-auto-continue packages/dsh-auto-continue
dsh-auto-shutdown packages/dsh-auto-shutdown
dsh-browser-use packages/dsh-browser-use
dsh-session-instructions packages/dsh-session-instructions
dsh-session-sync packages/dsh-session-sync
dsh-side-chat packages/dsh-side-chat

The code and its history are unchanged; only the repository is shared. Install dsh-borncode instead of the individual bundles. This repository stays open so the old links keep working.

dsh-auto-continue

Your conversation resumes by itself once a spent usage limit resets.

release license plugin default


What it does

Running out of model quota in the middle of a task means coming back later and typing "continue" — if you remember, and if you are still at the keyboard. This plugin books a durable scheduled message at the exact moment the limit resets, so the same conversation picks up where it stopped, on its own.

It ships off. Turning it on for a deployment is a deliberate choice, and the switch lives on the composer.

Features

  • Knows when to wake up — reads the reset time the quota plugin already probed for that provider, instead of guessing from the error text.
  • Durable, not a timer — the continuation is a scheduled message, so closing the app, rebooting, or losing the session does not lose the wake-up.
  • Waits only when waiting helps — QUOTA, ACCOUNT_QUOTA, and RATE_LIMIT trigger it; every other error falls through to the normal retry policy untouched.
  • Bounded — minWaitSeconds / maxWaitSeconds skip wake-ups that are too soon to matter or too far out to be useful (a weekly window three days away is left to you).
  • Backoff + attempts — repeated failures widen the wait and stop at maxAttempts.
  • Per-conversation — the chip stores the runtime choice; nothing global changes.

Requirements

DeepSeek Harness 0.2.x (Web GUI)
Runtime Node 24, supplied by the Harness runtime
Optional dsh-model-quota — supplies the real reset time

Install

git clone https://github.com/borncode-app/dsh-auto-continue.git dsh-auto-continue

Then in DSH: Plugins → install the bundle from that directory, or:

plugin_manager install_bundle target=C:\path\to\dsh-auto-continue

Restart once, then switch it on for the conversations where it is appropriate.

Configuration

field default meaning
endpoint /plugins/auto-continue Path the composer chip posts to
enabled false Ship-off default; the chip stores a runtime override
codes QUOTA, ACCOUNT_QUOTA, RATE_LIMIT Error codes that are worth booking a wake-up for
minWaitSeconds 60 Shorter resets are retried normally instead
maxWaitSeconds 604800 Farther-out resets are left to the user
baseWaitSeconds 300 First wait when the reset time is unknown
maxBackoffSeconds 3600 Ceiling for the widened wait
maxAttempts 12 Give up after this many continuations
quotaEndpoint /plugins/model-quota Where the reset time is read from
probeTimeoutMs 8000 How long that read may take
debugTest false true lets POST {"action":"test"} book a real continuation now

How it works

429 / quota error ──▶ is the code worth waiting for?
                          │ yes
                          â–¼
            ask dsh-model-quota for the reset time
                          │
                          â–¼
             book one durable scheduled message
                          │
                     (limit resets)
                          â–¼
              the conversation continues itself

No polling and no in-memory timer: between the error and the reset, nothing of this plugin is running.

Files

file role
index.js host row: code matching, reset-time probe, booking, backoff
client.js composer chip and its state
cordis.patch.yml the bundle patch that inserts the row
locale/{en,th,zh}.json UI strings
icon.svg plugin icon
test/ the checks used while building it

ภาษาไทย

Plugin นี้แก้ปัญหา "โควตาหมดกลางงาน" — เมื่อเจอ error หมดโควตา (QUOTA / ACCOUNT_QUOTA / RATE_LIMIT) มันจะจองข้อความแบบ scheduled ไว้ที่เวลารีเซ็ตจริง (อ่านจาก plugin dsh-model-quota) พอถึงเวลาบทสนทนาก็ ไปต่อเองโดยไม่ต้องพิมพ์ "continue"

  • เป็น scheduled message ไม่ใช่ timer ในหน่วยความจำ → ปิดแอป/รีบูตก็ยังไม่หาย
  • ค่าเริ่มต้นคือ ปิด เปิดเป็นรายบทสนทนาจากชิปบนช่องพิมพ์
  • มีขอบเขตเวลา (minWaitSeconds / maxWaitSeconds) และ backoff + จำนวนครั้งสูงสุดกันวนไม่จบ

License

MIT © 2026 BornCode

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类部署运维
规则置信度高

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: automation。