dsh-client-auto-continue 0.18.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +38 -0
- package/README.md +230 -310
- package/README.ru.md +382 -0
- package/README.zh.md +229 -308
- package/docs/auto-continue-workflow.archify.json +3 -3
- package/docs/auto-continue-workflow.en.archify.json +3 -3
- package/docs/auto-continue-workflow.en.html +1 -1
- package/docs/auto-continue-workflow.html +1 -1
- package/docs/auto-continue-workflow.ru.svg +530 -0
- package/docs/banner-ru-dark.svg +38 -0
- package/docs/banner-ru.svg +38 -0
- package/docs/demo-ru-static.svg +115 -0
- package/docs/demo-ru.svg +147 -0
- package/docs/releases/v0.19.0.md +62 -0
- package/docs/releases/v0.20.0.md +46 -0
- package/docs/social-preview.png +0 -0
- package/docs/social-preview.svg +30 -1
- package/lib/client.js +297 -99
- package/lib/client.js.map +3 -3
- package/lib/index.js +496 -43
- package/lib/types/client/auto-continue-icon.d.ts +7 -0
- package/lib/types/client/bridge.d.ts +2 -0
- package/lib/types/client/composer-toggle.d.ts +2 -0
- package/lib/types/client/locales.d.ts +5 -0
- package/lib/types/client/settings-card.d.ts +1 -0
- package/lib/types/host/engine.d.ts +88 -4
- package/lib/types/index.d.ts +8 -0
- package/lib/types/shared/core.d.ts +21 -1
- package/locale/ru.json +6 -0
- package/package.json +5 -3
- package/scripts/build-docs-assets.mjs +126 -0
- package/src/client/auto-continue-icon.tsx +6 -27
- package/src/client/bridge.ts +26 -6
- package/src/client/composer-toggle.tsx +22 -11
- package/src/client/index.ts +5 -1
- package/src/client/locales.ts +215 -40
- package/src/client/settings-card.tsx +8 -2
- package/src/client/settings-notifications.ts +3 -2
- package/src/client/styles.ts +17 -19
- package/src/host/engine.ts +571 -41
- package/src/host/settings-migration.ts +1 -1
- package/src/index.ts +23 -1
- package/src/shared/core.ts +32 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,43 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.20.0](https://github.com/HsiangNianian/dsh-auto-continue/releases/tag/v0.20.0) — 2026-11-16
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- **Cold resume for failed subagents** (with `resumeSubagentSessions` on): DSH disposes a background subagent as soon as a turn fails, so a live resend never reached it. The engine now asks the host's subagent service to resume the child from its persisted session and delivers the continuation to the child itself, under the child's own cooldown and retry cap. The main conversation is not woken ([#90](https://github.com/HsiangNianian/dsh-auto-continue/pull/90), thanks @kesha4)
|
|
8
|
+
- When the host cannot resume the child (no persistence, no live parent, or an older host without the service), the failure is handed to the main conversation as one message, at most once every five minutes. It waits if the main conversation is not loaded, and stays silent while the main conversation is recovering itself so its own continuation is not cancelled ([#90](https://github.com/HsiangNianian/dsh-auto-continue/pull/90))
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- Child hand-offs are sent like any other continuation (configured message source, tracked as the plugin's own echo), so the main conversation does not treat them as the user stepping in and reset its retry and loop counters
|
|
13
|
+
|
|
14
|
+
[Upgrade instructions and validation](docs/releases/v0.20.0.md) · [Full changes](https://github.com/HsiangNianian/dsh-auto-continue/compare/v0.19.0...v0.20.0)
|
|
15
|
+
|
|
16
|
+
## [0.19.0](https://github.com/HsiangNianian/dsh-auto-continue/releases/tag/v0.19.0) — 2026-11-13
|
|
17
|
+
|
|
18
|
+
### Added
|
|
19
|
+
|
|
20
|
+
- Subagent sessions now get live auto-continue for failed, output-limit and silent turns when their main conversation has auto-continue enabled, controlled by the new **Resume subagent sessions** setting (`resumeSubagentSessions`, off by default). It only helps while the child is still loaded: DSH 0.2.2 closes a background subagent as soon as a turn fails and reports the failure to its parent, so most failed children are already gone by the time the grace period ends. Subagent lineage follows only `origin: 'subagent'` parents (a forked main conversation is not treated as a child), subagents still never run the autonomous loop, are never loop-guard restarted, and are not recovered by the startup scan or stored-session sweep; **Resume now** works for them when enabled, and pausing or turning off the parent cancels queued child continuations for inherited modes. ([#84](https://github.com/HsiangNianian/dsh-auto-continue/pull/84), thanks @kesha4)
|
|
21
|
+
- Russian (`ru` / `ru-*`) localization: the settings card, composer switch and mode menu, browser notifications, built-in continue / guard / loop texts, and the plugin's own metadata. `zh`/`zh-*` and every other locale (including English) keep their existing strings and fallbacks unchanged. With a `ru` locale and the default texts, the continue message the model receives is now Russian (`Продолжай`) instead of English. ([#84](https://github.com/HsiangNianian/dsh-auto-continue/pull/84), thanks @kesha4)
|
|
22
|
+
|
|
23
|
+
### Fixed
|
|
24
|
+
|
|
25
|
+
- Restart recovery works again on DSH 0.2.2. A clean host shutdown now writes the cancelled turn as `aborted` with cause `disposed`, which the startup scan and the stored-session sweep read as a manual stop and skipped without logging anything. Both now treat a host-closed turn as a restart interruption, the same way the child-session hand-off already did, and a stop you made yourself still never matches ([#87](https://github.com/HsiangNianian/dsh-auto-continue/pull/87), thanks @palxex)
|
|
26
|
+
- The composer switch no longer flips to off for a few seconds whenever the status bridge drops (engine rebuild, sleep, an idle connection being cut). It keeps the last known setting, dimmed and read-only, until the bridge is back; the first reconnect happens after 500 ms instead of 3 s, and the host sends a `: ping` comment every 20 s ([#86](https://github.com/HsiangNianian/dsh-auto-continue/issues/86), thanks @simon333888)
|
|
27
|
+
- Turning **Resume subagent sessions** off no longer stops **Wake child sessions after restart** from collecting children it had already seen live
|
|
28
|
+
|
|
29
|
+
### Changed
|
|
30
|
+
|
|
31
|
+
- The composer control is now one 28px ∞ icon switch plus a chevron-only mode menu, instead of icon, label, switch and dropdown (about 200px). The mode name moved into the menu, tooltip and accessible name, and the borrowed refresh icon is gone ([#86](https://github.com/HsiangNianian/dsh-auto-continue/issues/86))
|
|
32
|
+
- The READMEs are reorganized around install, usage and settings tables, with a new Russian README and Russian banner, demo and workflow map ([#89](https://github.com/HsiangNianian/dsh-auto-continue/pull/89))
|
|
33
|
+
|
|
34
|
+
### Maintenance
|
|
35
|
+
|
|
36
|
+
- The restart runtime test takes the DSH fixture cohort and the shutdown shape (`kill` or `dispose`), and CI runs it against 0.2.1-rc.2 and 0.2.2-rc.1
|
|
37
|
+
- `npm run docs:assets` regenerates the banners and the social preview; the workflow map stays an [Archify](https://github.com/tt-a1i/archify) export
|
|
38
|
+
|
|
39
|
+
[Upgrade instructions and validation](docs/releases/v0.19.0.md) · [Full changes](https://github.com/HsiangNianian/dsh-auto-continue/compare/v0.18.0...v0.19.0)
|
|
40
|
+
|
|
3
41
|
## [0.18.0](https://github.com/HsiangNianian/dsh-auto-continue/releases/tag/v0.18.0) — 2026-11-10
|
|
4
42
|
|
|
5
43
|
### Added
|