dsh-client-auto-continue 0.17.0 → 0.17.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 +34 -0
- package/README.md +2 -2
- package/README.zh.md +2 -2
- package/docs/releases/v0.17.1-rc.1.md +55 -0
- package/docs/releases/v0.17.1.md +63 -0
- package/lib/client.js +9 -3
- package/lib/client.js.map +2 -2
- package/lib/index.js +25 -10
- package/lib/types/shared/core.d.ts +2 -0
- package/package.json +2 -2
- package/src/client/styles.ts +9 -3
- package/src/host/engine.ts +29 -6
- package/src/shared/core.ts +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,39 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.17.1](https://github.com/HsiangNianian/dsh-auto-continue/releases/tag/v0.17.1) — 2026-10-30
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- Keep the mobile composer compact with DS-Bot and dsh-pocket, even when the host's size query container is removed, so the controls leave room for typing ([#72](https://github.com/HsiangNianian/dsh-auto-continue/issues/72))
|
|
8
|
+
- Wrap pause notices and legacy save errors below the controls on narrow screens, preserving the original switch, mode menu and accessible labels
|
|
9
|
+
- Include the rollback fix first shipped in 0.17.1-rc.1: skip `message-ops` maintenance turns in silent recovery, autonomous followups and startup scans, and cancel automatic sends queued before a rollback ([#69](https://github.com/HsiangNianian/dsh-auto-continue/issues/69))
|
|
10
|
+
- Keep maintenance turns out of recovery statistics and retry-budget resets, including unfinished maintenance windows found after a restart
|
|
11
|
+
- Treat missing prompt template variables as permanent configuration failures when error classification is enabled, avoiding retries that cannot reach the model
|
|
12
|
+
|
|
13
|
+
### Maintenance
|
|
14
|
+
|
|
15
|
+
- Include the native settings form, maintenance-turn, configuration-error and stable/prerelease publishing regression coverage added since 0.17.0
|
|
16
|
+
- Keep stable releases on `latest` and prereleases on `next`, with reviewed release notes for both
|
|
17
|
+
|
|
18
|
+
[Upgrade instructions, validation and known limits](docs/releases/v0.17.1.md) · [Full changes](https://github.com/HsiangNianian/dsh-auto-continue/compare/v0.17.0...v0.17.1)
|
|
19
|
+
|
|
20
|
+
## [0.17.1-rc.1](https://github.com/HsiangNianian/dsh-auto-continue/releases/tag/v0.17.1-rc.1) — 2026-10-27
|
|
21
|
+
|
|
22
|
+
Pre-release patch, available on the `next` dist-tag
|
|
23
|
+
|
|
24
|
+
### Fixed
|
|
25
|
+
|
|
26
|
+
- 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))
|
|
27
|
+
- 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
|
|
28
|
+
- Treat missing prompt template variables as permanent configuration failures when error classification is enabled, avoiding repeated attempts that cannot reach the model
|
|
29
|
+
|
|
30
|
+
### Maintenance
|
|
31
|
+
|
|
32
|
+
- Publish prereleases to `next` on npm and GitHub Packages, and mark GitHub Releases as prereleases without replacing the latest stable release
|
|
33
|
+
- Add regression coverage for maintenance turns, startup scans, configuration errors and prerelease publishing, alongside the native settings form tests added since 0.17.0
|
|
34
|
+
|
|
35
|
+
[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)
|
|
36
|
+
|
|
3
37
|
## [0.17.0](https://github.com/HsiangNianian/dsh-auto-continue/releases/tag/v0.17.0) — 2026-10-23
|
|
4
38
|
|
|
5
39
|
### Added
|
package/README.md
CHANGED
|
@@ -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.17.
|
|
104
|
-
| **0.2.1-alpha.1** | **0.17.
|
|
103
|
+
| **0.2.1-rc.2** | **0.17.1 verified** | **Plugins → dsh-client-auto-continue** |
|
|
104
|
+
| **0.2.1-alpha.1** | **0.17.1 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** |
|
package/README.zh.md
CHANGED
|
@@ -100,8 +100,8 @@ DSH 插件安装进 **profile**(`dsh web` 对应 `web` profile)。下面的命
|
|
|
100
100
|
|
|
101
101
|
| DSH 内核 | 插件版本 | 配置入口 |
|
|
102
102
|
| --- | --- | --- |
|
|
103
|
-
| **0.2.1-rc.2** | **已验证 0.17.
|
|
104
|
-
| **0.2.1-alpha.1** | **已验证 0.17.
|
|
103
|
+
| **0.2.1-rc.2** | **已验证 0.17.1** | **插件 → dsh-client-auto-continue** |
|
|
104
|
+
| **0.2.1-alpha.1** | **已验证 0.17.1** | **插件 → 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 的宿主 | 保留旧版设置界面兼容 | **设置 → 插件 → 插件配置** |
|
|
@@ -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
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
0.17.1 fixes the cramped phone input reported with DS-Bot and dsh-pocket in [#72](https://github.com/HsiangNianian/dsh-auto-continue/issues/72), and brings the rollback and prompt-variable fixes from 0.17.1-rc.1 to the stable channel
|
|
2
|
+
|
|
3
|
+
## Room to type on phones
|
|
4
|
+
|
|
5
|
+
DS-Bot changes the composer row to `display: contents`, which removes the size query container our compact layout relied on
|
|
6
|
+
|
|
7
|
+
- Add a viewport fallback at 460px and below, keeping the control compact even without a working query container
|
|
8
|
+
- Show the refresh icon, original switch and menu arrow, with full mode names available in the menu
|
|
9
|
+
- Keep pause notices and legacy save errors below the controls so they do not squeeze the input again
|
|
10
|
+
- Preserve accessible names, disabled states and the switch's touch target
|
|
11
|
+
- Keep the existing container queries for narrow composer panes on wider screens
|
|
12
|
+
- Cover both the host menu trigger and the legacy select fallback with the same styles
|
|
13
|
+
|
|
14
|
+
In the 351px Chromium reproduction, the control shrank from 194px to 77px and the input grew from 4px to 121px
|
|
15
|
+
|
|
16
|
+
## Rollback compatibility
|
|
17
|
+
|
|
18
|
+
The fix from [#69](https://github.com/HsiangNianian/dsh-auto-continue/issues/69) is now included in a stable release
|
|
19
|
+
|
|
20
|
+
- Skip `@240xu/dsh-message-ops` maintenance turns in silent recovery and autonomous followups
|
|
21
|
+
- Cancel automatic sends queued before a rollback
|
|
22
|
+
- Keep maintenance turns out of recovery statistics and preserve the existing retry budget
|
|
23
|
+
- Apply the same exclusion to startup scans of loaded and stored sessions, including unfinished maintenance turns
|
|
24
|
+
|
|
25
|
+
This check uses the verified `message-ops` marker; normal turns with other reason values remain eligible for recovery
|
|
26
|
+
|
|
27
|
+
## Missing prompt variables
|
|
28
|
+
|
|
29
|
+
With error classification enabled, errors such as `prompt variable "{{model}}" has no value for this assembly` stop automatic retries and use the existing permanent-error notification
|
|
30
|
+
|
|
31
|
+
The missing variable still needs to be fixed in the host configuration, and explicit retryable-error overrides still take precedence
|
|
32
|
+
|
|
33
|
+
## Validation and limits
|
|
34
|
+
|
|
35
|
+
- Type checking, build, the full regression suite and the pinned DSH plugin checker
|
|
36
|
+
- Existing DSH runtime compatibility, settings, migration and startup recovery tests
|
|
37
|
+
- Chromium layout checks at 320, 351, 390, 460, 461, 768 and 1280px, plus a narrow composer in a wide viewport
|
|
38
|
+
- Working, missing and `display: contents` query containers, English and Chinese labels, both menu paths, paused, saving, read-only, disconnected and legacy save-error states
|
|
39
|
+
- Real DSH 0.2.1-rc.3 host components with message-ops 0.11.8 and a deterministic model adapter: no extra model call after rollback in recovery or autonomous-loop mode, and no automatic retry for the missing-model case
|
|
40
|
+
- Native settings form and stable/prerelease publishing regression coverage carried forward from rc.1
|
|
41
|
+
|
|
42
|
+
The mobile checks use the actual plugin component with a minimal composer scaffold and the relevant DS-Bot/Pocket styles, not a complete Android installation or a full host menu implementation
|
|
43
|
+
|
|
44
|
+
The reporter's exact plugin/browser versions and an Android device have not been tested
|
|
45
|
+
|
|
46
|
+
## Upgrade
|
|
47
|
+
|
|
48
|
+
This is a stable release on `latest` for npm and GitHub Packages
|
|
49
|
+
|
|
50
|
+
Let active work finish and stop DSH, then update the plugin in the profile you use
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
dsh plugin --profile web add dsh-client-auto-continue@0.17.1
|
|
54
|
+
dsh web
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Reload the browser after restarting DSH, including the remote page opened through dsh-pocket
|
|
58
|
+
|
|
59
|
+
For the desktop app, update the plugin in the app's own profile and restart the app
|
|
60
|
+
|
|
61
|
+
Existing configuration, conversation modes and pauses stay in place
|
|
62
|
+
|
|
63
|
+
**Full changes:** https://github.com/HsiangNianian/dsh-auto-continue/compare/v0.17.0...v0.17.1
|
package/lib/client.js
CHANGED
|
@@ -943,9 +943,7 @@ var css = `
|
|
|
943
943
|
.dshAcFooter { align-items: flex-start; flex-direction: column; gap: 10px; }
|
|
944
944
|
.dshAcFooter > div { width: 100%; justify-content: flex-end; }
|
|
945
945
|
}
|
|
946
|
-
/* Match the
|
|
947
|
-
the nearest query container is the composer row, so the label collapses at
|
|
948
|
-
the same 460px threshold as the native permission picker. */
|
|
946
|
+
/* Match the native picker breakpoints when the composer provides a query container. */
|
|
949
947
|
@container (width <= 640px) {
|
|
950
948
|
.dshAcComposerCore { gap: 5px; }
|
|
951
949
|
.dshAcModeTrigger, .dshAcModeMenu { max-width: 104px; padding: 0 3px 0 6px; }
|
|
@@ -955,6 +953,14 @@ var css = `
|
|
|
955
953
|
.dshAcModeTrigger, .dshAcModeMenu { max-width: 28px; padding: 0 2px; }
|
|
956
954
|
.dshAcModeTriggerLabel { display: none; }
|
|
957
955
|
}
|
|
956
|
+
/* DS-Bot can remove the query container with display: contents. */
|
|
957
|
+
@media (max-width: 460px) {
|
|
958
|
+
.dshAcComposer { flex-direction: column; align-items: flex-start; width: min-content; }
|
|
959
|
+
.dshAcComposer > .dshAcComposerLabel { white-space: normal; }
|
|
960
|
+
.dshAcComposerCore { gap: 5px; }
|
|
961
|
+
.dshAcComposerText, .dshAcModeTriggerLabel { display: none; }
|
|
962
|
+
.dshAcModeTrigger, .dshAcModeMenu { max-width: 28px; padding: 0 2px; }
|
|
963
|
+
}
|
|
958
964
|
|
|
959
965
|
`;
|
|
960
966
|
function injectStyles() {
|