dsh-client-auto-continue 0.16.0 → 0.17.1-rc.1
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 +14 -11
- package/README.zh.md +10 -10
- package/docs/releases/v0.17.0.md +62 -0
- package/docs/releases/v0.17.1-rc.1.md +55 -0
- package/docs/screenshots/01-settings-section.png +0 -0
- package/docs/screenshots/01-settings-section.zh.png +0 -0
- package/docs/screenshots/02-settings-card.png +0 -0
- package/docs/screenshots/02-settings-card.zh.png +0 -0
- package/docs/screenshots/07-card-panels.png +0 -0
- package/docs/screenshots/07-card-panels.zh.png +0 -0
- package/docs/screenshots/08-composer-toggle.png +0 -0
- package/docs/screenshots/08-composer-toggle.zh.png +0 -0
- package/docs/screenshots/README.md +8 -8
- package/lib/client.js +381 -118
- package/lib/client.js.map +4 -4
- package/lib/index.js +25 -10
- package/lib/types/client/auto-continue-icon.d.ts +1 -0
- package/lib/types/client/index.d.ts +1 -1
- package/lib/types/client/locales.d.ts +5 -8
- package/lib/types/client/mode-menu.d.ts +19 -0
- package/lib/types/client/native-toast.d.ts +17 -0
- package/lib/types/client/settings-card.d.ts +1 -1
- package/lib/types/shared/core.d.ts +2 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +5 -3
- package/src/client/auto-continue-icon.tsx +35 -0
- package/src/client/composer-toggle.tsx +58 -14
- package/src/client/index.ts +1 -1
- package/src/client/locales.ts +12 -18
- package/src/client/mode-menu.tsx +110 -0
- package/src/client/native-toast.tsx +44 -0
- package/src/client/settings-card.tsx +130 -24
- package/src/client/styles.ts +61 -40
- package/src/host/engine.ts +29 -6
- package/src/shared/core.ts +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,43 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.17.1-rc.1](https://github.com/HsiangNianian/dsh-auto-continue/releases/tag/v0.17.1-rc.1) — 2026-10-27
|
|
4
|
+
|
|
5
|
+
Pre-release patch, available on the `next` dist-tag
|
|
6
|
+
|
|
7
|
+
### Fixed
|
|
8
|
+
|
|
9
|
+
- Stop `@240xu/dsh-message-ops` rollback notices from triggering silent recovery or autonomous followups, and cancel sends queued before the rollback ([#69](https://github.com/HsiangNianian/dsh-auto-continue/issues/69))
|
|
10
|
+
- Exclude those maintenance turns from recovery statistics and retry-budget resets, as well as startup recovery of loaded and stored sessions, including unfinished maintenance windows
|
|
11
|
+
- Treat missing prompt template variables as permanent configuration failures when error classification is enabled, avoiding repeated attempts that cannot reach the model
|
|
12
|
+
|
|
13
|
+
### Maintenance
|
|
14
|
+
|
|
15
|
+
- Publish prereleases to `next` on npm and GitHub Packages, and mark GitHub Releases as prereleases without replacing the latest stable release
|
|
16
|
+
- Add regression coverage for maintenance turns, startup scans, configuration errors and prerelease publishing, alongside the native settings form tests added since 0.17.0
|
|
17
|
+
|
|
18
|
+
[Upgrade instructions, validation and known limits](docs/releases/v0.17.1-rc.1.md) · [Full changes](https://github.com/HsiangNianian/dsh-auto-continue/compare/v0.17.0...v0.17.1-rc.1)
|
|
19
|
+
|
|
20
|
+
## [0.17.0](https://github.com/HsiangNianian/dsh-auto-continue/releases/tag/v0.17.0) — 2026-10-23
|
|
21
|
+
|
|
22
|
+
### Added
|
|
23
|
+
|
|
24
|
+
- Restore the compact auto-continue switch beside the message input, now with a refresh icon and a native mode menu that shows the current mode
|
|
25
|
+
- Show one delayed toast when the host stays unavailable for three seconds, without flashing on a normal page load
|
|
26
|
+
- Localize the plugin title and description through `locale` metadata
|
|
27
|
+
|
|
28
|
+
### Changed
|
|
29
|
+
|
|
30
|
+
- Collapse the label to its icon and the mode menu to its arrow with the same composer container query as the native permission picker, keeping the switch and menu on one line on phones
|
|
31
|
+
- Report session-mode save failures with the host's toast instead of inline red composer text; saving and disconnected states now rely on the disabled controls and their tooltip
|
|
32
|
+
- Keep the switch and mode menu disabled while saving, disconnected or read-only, with keyboard access to the mode menu
|
|
33
|
+
- Keep the switch scoped to the current conversation, with Follow default selected when switching back on
|
|
34
|
+
- Move the settings fields, switches and default-mode selector onto DSH's native `SettingsForm`, `SettingsValueField`, `Switch` and `SegmentedControl` primitives, keeping the legacy card for older hosts
|
|
35
|
+
- Remove the charcoal header banner; keep the GitHub invitation as a lightweight link row
|
|
36
|
+
|
|
37
|
+
### Fixed
|
|
38
|
+
|
|
39
|
+
- Avoid the composer's invisible select styles leaking onto the settings card's **Default session mode** select, which made clicks anywhere open a full-screen selector until a reload
|
|
40
|
+
|
|
3
41
|
## [0.16.0](https://github.com/HsiangNianian/dsh-auto-continue/releases/tag/v0.16.0) — 2026-10-23
|
|
4
42
|
|
|
5
43
|
### Added
|
package/README.md
CHANGED
|
@@ -44,7 +44,7 @@ Automatic recovery for [DeepSeek Harness](https://github.com/deepseek-ai/deepsee
|
|
|
44
44
|
|
|
45
45
|
**Smart recovery** (all configurable):
|
|
46
46
|
|
|
47
|
-
- **Session modes** —
|
|
47
|
+
- **Session modes** — switch auto-continue on or off beside the message input, for that conversation only. The mode menu next to the switch shows the current mode and opens Follow default, Off, Recovery only or Autonomous loop. Choices save on the host, survive restarts and sync across tabs; hiding the control does not change them
|
|
48
48
|
- **Error classification** — transient failures (network / timeout / 5xx / 429…) are auto-resumed; permanent ones are **skipped** and notified, because retrying them never helps. A failure counts as permanent when its HTTP status is 401/403 or its code/message matches auth, credential/API-key, balance/quota, unknown-model, or context-length/overflow keywords. Provider-specific exceptions can be opted into with literal custom retryable patterns; turn classification off to resume everything
|
|
49
49
|
- **Adaptive backoff** — consecutive failures wait longer each time (cooldown × factor: 20s → 40s → 80s…), capped at the max backoff, instead of hammering a broken upstream
|
|
50
50
|
- **English / Chinese localization** — the settings card, built-in resume / guard / loop text, and browser notifications follow DSH's active UI language (initially selected from the browser language). Only `en` and `zh` are supported; other languages fall back to Chinese. Switching languages updates built-in defaults without overwriting custom text
|
|
@@ -84,7 +84,7 @@ Storage scanning runs separately from live-session recovery. Each storage read h
|
|
|
84
84
|
|
|
85
85
|
Startup recovery isolates failures per session. If history cannot be read or contains invalid events, that session is skipped for the current startup scan and an error is logged; other sessions can still recover, without losing a recovery slot. Invalid entries are not silently removed, since they could hide a manual stop or a newer turn. Valid empty histories and a registry that is still loading remain retryable within the scan window. Reloading a repaired session as a new session object also makes it eligible for scanning again. See [#58](https://github.com/HsiangNianian/dsh-auto-continue/issues/58).
|
|
86
86
|
|
|
87
|
-
The browser provides the settings card and
|
|
87
|
+
The browser provides the settings card and the composer switch and mode menu, plus a status bridge that shows notifications (with Resume now / Pause this session 1h buttons, routed back to the host engine) and feeds the card's stats / paused-sessions panels.
|
|
88
88
|
|
|
89
89
|
### Recovery workflow
|
|
90
90
|
|
|
@@ -100,8 +100,8 @@ DSH plugins install into a **profile** (`dsh web` → `web` profile). The comman
|
|
|
100
100
|
|
|
101
101
|
| DSH runtime | Plugin version | Configuration entry point |
|
|
102
102
|
| --- | --- | --- |
|
|
103
|
-
| **0.2.1-rc.2** | **0.
|
|
104
|
-
| **0.2.1-alpha.1** | **0.
|
|
103
|
+
| **0.2.1-rc.2** | **0.17.0 verified** | **Plugins → dsh-client-auto-continue** |
|
|
104
|
+
| **0.2.1-alpha.1** | **0.17.0 verified** | **Plugins → dsh-client-auto-continue** |
|
|
105
105
|
| **0.2.0-rc.1** | **0.12.1 or newer** | **Plugins → dsh-client-auto-continue** |
|
|
106
106
|
| **0.1.7-rc.2** | **0.11.9 or newer** | Same Plugins page |
|
|
107
107
|
| Older hosts with the legacy settings API | Legacy UI retained | **Settings → Plugins → Plugin configuration** |
|
|
@@ -203,7 +203,10 @@ dsh web
|
|
|
203
203
|
|
|
204
204
|
## Session modes
|
|
205
205
|
|
|
206
|
-
The **Auto-continue**
|
|
206
|
+
The **Auto-continue** switch beside the input applies only to the current conversation and saves immediately
|
|
207
|
+
|
|
208
|
+
Turning it off selects Off, and turning it back on selects Follow default
|
|
209
|
+
Use the mode menu next to the switch to choose a mode:
|
|
207
210
|
|
|
208
211
|
| Mode | Behavior |
|
|
209
212
|
| --- | --- |
|
|
@@ -218,7 +221,7 @@ For example, keep A looping, B recovering failures and C off. Each conversation'
|
|
|
218
221
|
|
|
219
222
|
The notification's **Pause this session 1h** still temporarily suspends one conversation. **Resume now** requests a single send even while paused or Off, without changing the stored mode. The global loop-guard setting remains independent of global pause, but a conversation set to Off is excluded from the guard too.
|
|
220
223
|
|
|
221
|
-
To hide the
|
|
224
|
+
To hide the controls, open **Plugins → dsh-client-auto-continue → General**, turn off **Show auto-continue switch in the composer**, then **Save**. This only changes visibility (`showComposerToggle`, default `true`). Hosts without the composer slot retain the settings card. A failed save surfaces as a DSH toast instead of inline red text, and a host that stays unavailable for three seconds announces itself once without flashing on a normal load. The switch and mode menu stay disabled while the host bridge or writable settings service is unavailable. When the composer row narrows, the same container query used by the native permission picker collapses the label to its icon and the mode menu to its arrow, keeping the switch and menu on one line.
|
|
222
225
|
|
|
223
226
|
## Configuration
|
|
224
227
|
|
|
@@ -230,7 +233,7 @@ Use **General**, **Retry strategy**, **Startup recovery**, **Continue text**, **
|
|
|
230
233
|
|
|
231
234
|
**Recent recovery attempts** groups the last 20 recovery prompts across the host by session, showing each session's count in that window, latest cause, time and consecutive count at the last send. It works with browser notifications off. Causes distinguish silent output, output limits, request errors, restart interruptions, loop-guard recovery and manual resume. Normal autonomous continuations are excluded. These are sent prompts, not proof of completion or a model-health score; repeated recovery is a reason to inspect the conversation and consider a handoff. The history contains no message text and resets when the plugin restarts.
|
|
232
235
|
|
|
233
|
-
The
|
|
236
|
+
The settings card starts with a compact GitHub invitation row, then the category navigation; its fields, switches and default-mode selector use DSH's native settings primitives. The plugin manager above already shows the localized plugin name, version and enabled state. Edits take effect when you click **Save**.
|
|
234
237
|
|
|
235
238
|
With **Browser notifications** enabled, each successful save sends one confirmation from the tab where you saved. Turning notifications off sends a final confirmation if browser permission is already granted; later saves stay quiet. Discarded changes, invalid values, and failed saves do not send success notifications. If the browser blocks notifications, the settings page still confirms the save and explains the permission issue.
|
|
236
239
|
|
|
@@ -295,7 +298,7 @@ When migrating from the legacy settings file to DSH 0.1.7 / 0.2, move these valu
|
|
|
295
298
|
|
|
296
299
|

|
|
297
300
|
|
|
298
|
-
- Edits are **staged** — nothing reaches the disk until you hit **Save**; the
|
|
301
|
+
- Edits are **staged** — nothing reaches the disk until you hit **Save**; leaving the page drops unsaved drafts
|
|
299
302
|
- If you edit or reset a field while a save is in progress, the newer draft stays in the card. Click **Save** again after the current save finishes to apply it
|
|
300
303
|
- An overridden field shows a **Reset to default** button that removes the override and restores the inherited value (normally the built-in default)
|
|
301
304
|
- Boolean fields use native switches and are staged until Save. **Reset to default** removes the override and restores the inherited value. **Enable auto-continue globally** is on when recovery is enabled (`paused: false`)
|
|
@@ -304,16 +307,16 @@ When migrating from the legacy settings file to DSH 0.1.7 / 0.2, move these valu
|
|
|
304
307
|
- Changes apply immediately after Save and persist in the active profile config (or `~/.dsh/settings.yaml` on older hosts)
|
|
305
308
|
|
|
306
309
|
<details>
|
|
307
|
-
<summary>Live status and the Save
|
|
310
|
+
<summary>Live status and the native Save button</summary>
|
|
308
311
|
|
|
309
|
-

|
|
310
313
|
|
|
311
314
|
</details>
|
|
312
315
|
|
|
313
316
|
| Field | Default | Description |
|
|
314
317
|
| --- | --- | --- |
|
|
315
318
|
| Pause auto-continue | `off` | Global pause: no live or scan auto-send fires, queued pending sends are cancelled |
|
|
316
|
-
| Show
|
|
319
|
+
| Show auto-continue switch in the composer | `on` | Show the session switch and mode menu (`showComposerToggle`); hiding them does not change modes |
|
|
317
320
|
| Continue text | `Continue` | Text automatically sent after an interruption |
|
|
318
321
|
| Continue text (max tokens) | `Continue` | Text sent when the output token ceiling is reached (same placeholders) |
|
|
319
322
|
| Resume silent turns | `on` | Resume a turn that ended normally with reasoning only (no text, no tool call); does not reset the consecutive count |
|
package/README.zh.md
CHANGED
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
|
|
45
45
|
**智能恢复**(全部可配置):
|
|
46
46
|
|
|
47
|
-
- **会话模式** —
|
|
47
|
+
- **会话模式** — 在输入框旁用开关控制当前会话的自动继续,旁边显示当前模式的菜单可选择跟随默认、仅故障恢复或自主循环。选择保存在宿主配置里,重启后保留,并同步到其他标签页。隐藏控件不会改变模式
|
|
48
48
|
- **错误分类** — 临时性错误(网络 / 超时 / 5xx / 429 等)自动续跑; 永久性错误跳过并通知, 因为重试也没用。判定为永久性的条件: HTTP 状态码 401/403, 或 code/message 命中认证、凭据/API Key、余额/配额、模型不存在、上下文长度/超限等关键词。provider 专属例外可由用户显式填写普通文本匹配; 关闭分类后则全部自动继续
|
|
49
49
|
- **自适应退避** — 连续失败时等待时间递增(冷却 × 系数: 20s → 40s → 80s…), 有上限, 不再对故障上游狂轰滥炸
|
|
50
50
|
- **中英文本地化** — 设置卡片、内置续跑 / 护栏 / 循环文案以及浏览器通知都跟随 DSH 当前界面语言(初始值来自浏览器语言)。只支持 `en` 和 `zh`, 其他语言回落中文; 切换语言只会替换内置默认值, 不会覆盖用户自定义文本
|
|
@@ -100,8 +100,8 @@ DSH 插件安装进 **profile**(`dsh web` 对应 `web` profile)。下面的命
|
|
|
100
100
|
|
|
101
101
|
| DSH 内核 | 插件版本 | 配置入口 |
|
|
102
102
|
| --- | --- | --- |
|
|
103
|
-
| **0.2.1-rc.2** | **已验证 0.
|
|
104
|
-
| **0.2.1-alpha.1** | **已验证 0.
|
|
103
|
+
| **0.2.1-rc.2** | **已验证 0.17.0** | **插件 → dsh-client-auto-continue** |
|
|
104
|
+
| **0.2.1-alpha.1** | **已验证 0.17.0** | **插件 → dsh-client-auto-continue** |
|
|
105
105
|
| **0.2.0-rc.1** | **0.12.1 或更新版本** | **插件 → dsh-client-auto-continue** |
|
|
106
106
|
| **0.1.7-rc.2** | **0.11.9 或更新版本** | 同上,从主侧栏的插件页进入 |
|
|
107
107
|
| 使用旧设置 API 的宿主 | 保留旧版设置界面兼容 | **设置 → 插件 → 插件配置** |
|
|
@@ -203,7 +203,7 @@ dsh web
|
|
|
203
203
|
|
|
204
204
|
## 会话模式
|
|
205
205
|
|
|
206
|
-
|
|
206
|
+
输入框旁的**自动继续**开关只影响当前会话,修改后立即保存。关闭开关会选择「关闭」,重新开启会选择「跟随默认」;旁边的模式菜单可切换模式:
|
|
207
207
|
|
|
208
208
|
| 模式 | 行为 |
|
|
209
209
|
| --- | --- |
|
|
@@ -218,7 +218,7 @@ dsh web
|
|
|
218
218
|
|
|
219
219
|
通知中的**暂停该会话 1 小时**仍然临时暂停一个会话。**立即续跑**可在暂停或关闭状态下发送一次,不改变保存的模式。全局循环守卫仍独立于全局暂停,但设为关闭的会话也会退出循环守卫。
|
|
220
220
|
|
|
221
|
-
|
|
221
|
+
想隐藏控件时,进入**插件 → dsh-client-auto-continue → 常规**,关闭**在会话区显示自动继续开关**,再点**保存**。这只改变显示(`showComposerToggle`,默认 `true`)。没有会话工具栏插槽的旧宿主仍可使用设置卡片。保存失败时通过 DSH 的 toast 通知提示,不再在输入框内显示红字;宿主持续不可用超过 3 秒也会提示一次,正常加载不会闪现。宿主桥接断开或设置不可写时,开关和模式菜单不可操作。输入框这一行变窄时,和「完全权限」等原生选择器用同一套容器查询:「自动继续」文字收成图标、模式菜单收成箭头,让开关和菜单保持在同一行。
|
|
222
222
|
|
|
223
223
|
## 配置
|
|
224
224
|
|
|
@@ -230,7 +230,7 @@ dsh web
|
|
|
230
230
|
|
|
231
231
|
**近期恢复尝试**按会话汇总宿主最近 20 次恢复提示,展示窗口内次数、最近原因、时间与最近发送时的连续次数,关闭浏览器通知也可查看。原因区分无可见输出、输出上限、请求错误、宿主重启中断、循环守卫恢复与手动续跑,不计正常自主续跑。记录只说明提示已发送,不代表任务完成,也不评估模型健康程度;反复恢复时应检查会话并考虑交接。历史不包含消息正文,重启插件后清空。
|
|
232
232
|
|
|
233
|
-
|
|
233
|
+
设置卡片先显示一行紧凑的 GitHub 邀请入口,然后是分类导航;字段、开关和默认模式选择都使用 DSH 原生设置组件。插件管理页顶部已经显示本地化的插件名称、版本和启用状态。修改配置后点**保存**才生效。
|
|
234
234
|
|
|
235
235
|
开启**浏览器通知**后,每次保存成功都会从当前操作的标签页发出一条确认。关闭通知时,如果浏览器已授权,会发最后一条关闭确认,之后保存其他配置不再通知。放弃修改、无效配置和保存失败不会发送成功通知。如果浏览器拦截通知,设置页仍会确认保存结果并说明权限问题。
|
|
236
236
|
|
|
@@ -295,7 +295,7 @@ auto-continue:
|
|
|
295
295
|
|
|
296
296
|

|
|
297
297
|
|
|
298
|
-
- 修改是**暂存式**的——点「保存」之前不会写入磁盘;
|
|
298
|
+
- 修改是**暂存式**的——点「保存」之前不会写入磁盘; 离开页面会丢弃未保存的草稿
|
|
299
299
|
- 保存期间继续修改或重置字段时,新的草稿会保留在卡片中;等待当前保存结束后,再点一次「保存」即可应用
|
|
300
300
|
- 有覆盖项的字段提供「恢复默认」按钮(移除覆盖项,恢复继承值,通常为内置默认值)
|
|
301
301
|
- 布尔选项使用原生开关,点保存后生效;「恢复默认」会移除覆盖项并恢复继承值。**全局启用自动继续**开启表示允许恢复(`paused: false`)
|
|
@@ -304,16 +304,16 @@ auto-continue:
|
|
|
304
304
|
- 保存后立即生效,持久化在当前 profile 配置中(旧版宿主使用 `~/.dsh/settings.yaml`)
|
|
305
305
|
|
|
306
306
|
<details>
|
|
307
|
-
<summary
|
|
307
|
+
<summary>现场状态与原生保存按钮</summary>
|
|
308
308
|
|
|
309
|
-

|
|
310
310
|
|
|
311
311
|
</details>
|
|
312
312
|
|
|
313
313
|
| 字段 | 默认 | 说明 |
|
|
314
314
|
| --- | --- | --- |
|
|
315
315
|
| 暂停自动继续 | 关 | 全局暂停: 实时与扫描都不再自动发送, 已排队的待发送也会取消 |
|
|
316
|
-
|
|
|
316
|
+
| 在会话区显示自动继续开关 | 开 | 显示会话开关和模式菜单(`showComposerToggle`);隐藏不会改变模式 |
|
|
317
317
|
| 继续文本 | `继续` | 中断后自动发送的消息内容 |
|
|
318
318
|
| 超限时的继续文本 | `继续` | 达到输出 token 上限时自动发送的文本(支持相同占位符) |
|
|
319
319
|
| 续跑无输出回合 | 开 | 回合正常结束但只有推理(没有文本、没有工具调用)时自动续跑; 不清零连续次数 |
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
The composer control is compact again, with a native mode menu, an icon-only phone layout, toast feedback and a cleaner settings page
|
|
2
|
+
|
|
3
|
+
The per-conversation modes from 0.16.0 are unchanged under the hood; this release is about making the control fit the rest of the composer again
|
|
4
|
+
|
|
5
|
+
## A compact switch with a native mode menu
|
|
6
|
+
|
|
7
|
+
The wide 0.16 selector is replaced by the compact switch, now paired with the host's own menu primitives ([#67](https://github.com/HsiangNianian/dsh-auto-continue/issues/67), [#68](https://github.com/HsiangNianian/dsh-auto-continue/pull/68))
|
|
8
|
+
|
|
9
|
+
- The switch turns auto-continue on or off for the current conversation; turning it back on selects **Follow default**
|
|
10
|
+
- The menu next to it shows the current mode and opens **Follow default**, **Off**, **Recovery only** and **Autonomous loop**, with a check mark on the active choice
|
|
11
|
+
- The refresh icon identifies the control when the text label is hidden
|
|
12
|
+
- Keyboard access, immediate saves, cross-tab sync and per-conversation scoping are preserved
|
|
13
|
+
- Hosts without the `Menu` primitive keep a native `<select>` fallback
|
|
14
|
+
|
|
15
|
+
## Matches the composer on phones
|
|
16
|
+
|
|
17
|
+
The label collapses to its icon and the mode menu to its arrow with the same composer container query as the native permission picker
|
|
18
|
+
|
|
19
|
+
- The switch stays on one line with the other composer controls on narrow phones
|
|
20
|
+
- No separate viewport breakpoint: the control follows the composer row, like its neighbours
|
|
21
|
+
- The mode menu is still one tap away and shows the active choice
|
|
22
|
+
|
|
23
|
+
## Toast feedback instead of red text
|
|
24
|
+
|
|
25
|
+
- A failed session-mode save shows the host's toast instead of red text in the composer
|
|
26
|
+
- Saving and disconnected states keep the controls disabled and explain themselves through the tooltip
|
|
27
|
+
- A host that stays unavailable for three seconds announces itself once; a normal page load does not flash a toast
|
|
28
|
+
- Hosts without the `Toast` primitive keep the inline text fallback
|
|
29
|
+
|
|
30
|
+
## Native settings page
|
|
31
|
+
|
|
32
|
+
- The settings fields, switches and default-mode selector now use DSH's own `SettingsForm`, `SettingsValueField`, `Switch` and `SegmentedControl` primitives, so the page matches the rest of the plugin manager
|
|
33
|
+
- The category navigation and the status panels stay, while the custom field layout and the OS-level select popup are gone
|
|
34
|
+
- Older hosts without those primitives keep the previous card
|
|
35
|
+
- The plugin title and description are localized through `locale` metadata, so Chinese shows **自动继续** and its Chinese description
|
|
36
|
+
- Removed the charcoal header banner, but kept the GitHub invitation as a lightweight star link row
|
|
37
|
+
- Fixed a styling leak from the composer's invisible select onto **Default session mode**, which had stretched that select over the whole app and opened a selector on every click until a reload
|
|
38
|
+
|
|
39
|
+
## Validation and compatibility
|
|
40
|
+
|
|
41
|
+
- Type checking, build, the full regression suite and the pinned DSH plugin checker
|
|
42
|
+
- Settings and compatibility checks against published DSH `0.1.7-rc.2`, `0.2.0-rc.1`, `0.2.1-alpha.1` and `0.2.1-rc.2` packages, using the existing fixtures
|
|
43
|
+
- Composer mode menu, native fallback, container-query collapse, save failures, toast fallback and the settings select placement
|
|
44
|
+
- Native settings rendering, field editing, save, reload persistence and localized plugin metadata
|
|
45
|
+
- Runtime tests use controlled agent events and a deterministic model fixture, with no calls to an external model provider
|
|
46
|
+
|
|
47
|
+
## Upgrade
|
|
48
|
+
|
|
49
|
+
Let active work finish and stop DSH, then update the plugin in the profile you use
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
dsh plugin --profile web add dsh-client-auto-continue@0.17.0
|
|
53
|
+
dsh web
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Reload the browser after restarting DSH so it loads the new composer control
|
|
57
|
+
|
|
58
|
+
For the desktop app, update from its **Plugins** page and restart the app, since updating the CLI's `web` profile does not update the desktop profile
|
|
59
|
+
|
|
60
|
+
Existing configuration, conversation modes and pauses stay in place. The settings card no longer shows the header banner; the plugin name and status remain in the plugin manager
|
|
61
|
+
|
|
62
|
+
**Full changes:** https://github.com/HsiangNianian/dsh-auto-continue/compare/v0.16.0...v0.17.0
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
This prerelease fixes the extra continuation after a message rollback reported in [#69](https://github.com/HsiangNianian/dsh-auto-continue/issues/69), plus unnecessary retries when a prompt template variable is missing
|
|
2
|
+
|
|
3
|
+
It is available on the `next` dist-tag for testing, with `0.17.0` staying on `latest`
|
|
4
|
+
|
|
5
|
+
## Rollback compatibility
|
|
6
|
+
|
|
7
|
+
`@240xu/dsh-message-ops` wraps its rollback notice in a synthetic turn and step, which auto-continue previously mistook for a model turn with no visible response
|
|
8
|
+
|
|
9
|
+
- Recognize the plugin's `message-ops` turn marker and skip both silent recovery and autonomous followups for that turn
|
|
10
|
+
- Cancel automatic sends queued before the rollback
|
|
11
|
+
- Keep maintenance turns out of recovery success/failure statistics and preserve the existing retry budget
|
|
12
|
+
- Apply the same exclusion to startup scans of loaded and stored sessions, including an unfinished maintenance turn recovered after a restart
|
|
13
|
+
- Leave genuine silent model turns eligible for recovery, and allow normal turns carrying other reason values
|
|
14
|
+
|
|
15
|
+
The compatibility check targets the verified `message-ops` marker, since a nonempty `turn/start.reason` is not a general DSH contract for synthetic turns
|
|
16
|
+
|
|
17
|
+
## Missing prompt variables
|
|
18
|
+
|
|
19
|
+
With error classification enabled, errors such as `prompt variable "{{model}}" has no value for this assembly` now stop automatic retries and use the existing permanent-error notification
|
|
20
|
+
|
|
21
|
+
The missing variable still needs to be fixed in the host configuration; this patch prevents auto-continue from repeating the same failed assembly
|
|
22
|
+
|
|
23
|
+
Existing explicit retryable-error overrides still take precedence
|
|
24
|
+
|
|
25
|
+
## Validation
|
|
26
|
+
|
|
27
|
+
- Type checking, build, the full regression suite and existing DSH runtime compatibility tests
|
|
28
|
+
- Real DSH `0.2.1-rc.3` host components with published `@240xu/dsh-message-ops@0.11.8`, JSONL storage and its actual rollback HTTP endpoint
|
|
29
|
+
- Recovery and autonomous-loop modes: rollback adds no model call, where 0.17.0 added one after about three seconds
|
|
30
|
+
- Missing-model case: one failed turn and zero automatic retries, where 0.17.0 produced four failed turns; neither version reached the model in that case
|
|
31
|
+
- Focused tests for loaded/stored startup scans, pending-send cancellation, retry limits, other turn reasons and the stable/prerelease publishing paths
|
|
32
|
+
- Native settings form regression coverage added since 0.17.0
|
|
33
|
+
|
|
34
|
+
The rc.3 reproduction uses Node `26.8.2` and a deterministic model adapter, without external model calls or browser interaction
|
|
35
|
+
|
|
36
|
+
## Install the prerelease
|
|
37
|
+
|
|
38
|
+
Let active work finish and stop DSH, then update the plugin in the profile you use
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
dsh plugin --profile web add dsh-client-auto-continue@0.17.1-rc.1
|
|
42
|
+
dsh web
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
Reload the browser after restarting DSH
|
|
46
|
+
|
|
47
|
+
For the desktop app, install this exact version in its own profile and restart the app
|
|
48
|
+
|
|
49
|
+
To return to the stable release, install `dsh-client-auto-continue@0.17.0` in the same profile
|
|
50
|
+
|
|
51
|
+
## Publishing
|
|
52
|
+
|
|
53
|
+
Prerelease versions now use `next` on both npm and GitHub Packages, and GitHub Releases are marked as prereleases without taking over the latest stable release
|
|
54
|
+
|
|
55
|
+
**Full changes:** https://github.com/HsiangNianian/dsh-auto-continue/compare/v0.17.0...v0.17.1-rc.1
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
# Configuration and composer screenshots
|
|
2
2
|
|
|
3
|
-
Captured on 2026-10-
|
|
3
|
+
Captured on 2026-10-23 with **DSH 0.2.1-rc.2** and **plugin 0.17.0**,
|
|
4
4
|
using Chromium and DSH's dark theme.
|
|
5
5
|
The capture uses an isolated `DSH_HOME` with no API keys or user conversations.
|
|
6
6
|
|
|
7
7
|
| View | English | Chinese | Viewport |
|
|
8
8
|
| --- | --- | --- | --- |
|
|
9
|
-
| General category
|
|
10
|
-
| Retry strategy category | [02-settings-card.png](02-settings-card.png) | [02-settings-card.zh.png](02-settings-card.zh.png) | 1440 ×
|
|
11
|
-
| Status and logs, Save
|
|
12
|
-
|
|
|
9
|
+
| General category | [01-settings-section.png](01-settings-section.png) | [01-settings-section.zh.png](01-settings-section.zh.png) | 1440 × 977 |
|
|
10
|
+
| Retry strategy category | [02-settings-card.png](02-settings-card.png) | [02-settings-card.zh.png](02-settings-card.zh.png) | 1440 × 1372 |
|
|
11
|
+
| Status and logs, native Save button | [07-card-panels.png](07-card-panels.png) | [07-card-panels.zh.png](07-card-panels.zh.png) | 1440 × 971 |
|
|
12
|
+
| Composer switch and mode menu | [08-composer-toggle.png](08-composer-toggle.png) | [08-composer-toggle.zh.png](08-composer-toggle.zh.png) | 840 × 300, cropped to the composer |
|
|
13
13
|
|
|
14
14
|
To refresh, build the checked-out code and install it in an empty DSH profile:
|
|
15
15
|
|
|
@@ -23,9 +23,9 @@ DSH_HOME="$capture_home" dsh web --no-open
|
|
|
23
23
|
Open the authenticated URL printed by DSH without including its token in any
|
|
24
24
|
screenshot. Dismiss onboarding, select the dark theme, and open **Plugins →
|
|
25
25
|
dsh-client-auto-continue** from the sidebar. Capture **General**, **Retry strategy**,
|
|
26
|
-
and **Status and logs**. The repository
|
|
27
|
-
|
|
28
|
-
prototype selector in the finished UI.
|
|
26
|
+
and **Status and logs**. The settings card starts with a compact star/repository link row and then the category
|
|
27
|
+
navigation; its fields use DSH's native settings primitives. There is no charcoal title banner.
|
|
28
|
+
There is no collapsed card or prototype selector in the finished UI.
|
|
29
29
|
|
|
30
30
|
For the composer view, open a new session without sending a message and crop to
|
|
31
31
|
the message input and controls. Use a fresh browser context with an English or
|