> 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.
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, andRATE_LIMITtrigger it; every other error
falls through to the normal retry policy untouched. - Bounded —
minWaitSeconds/maxWaitSecondsskip 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