dsh-client-auto-continue 0.12.0 → 0.12.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dsh-client-auto-continue",
3
3
  "description": "DSH Web UI plugin: automatically sends a localized continue prompt when a request is interrupted by network errors or other non-human causes",
4
- "version": "0.12.0",
4
+ "version": "0.12.1",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
7
7
  "types": "lib/types/index.d.ts",
@@ -46,7 +46,7 @@
46
46
  "build": "node build.mjs && tsc -p tsconfig.build.json",
47
47
  "watch": "node build.mjs --watch",
48
48
  "typecheck": "tsc --noEmit",
49
- "test:runtime": "node tests/settings-host-live.mjs",
49
+ "test:runtime": "node tests/settings-host-live.mjs 0.1.7 && node tests/settings-host-live.mjs 0.2.0 && node tests/profile-compatibility.mjs && node tests/client-settings-services.mjs 0.2.0",
50
50
  "test": "node tests/scan-on-boot.mjs && node tests/silent-turn-boundaries.mjs && node tests/autonomous-loop.mjs && node tests/stats-freshness.mjs && node tests/simulate-host.mjs && node tests/settings-host-compat.mjs && node tests/simulate-client-loader.mjs && node tests/client-settings-services.mjs && node tests/locale-mirror-bounded.mjs && node tests/settings-card-ui.mjs && node tests/prepare-github-package.mjs",
51
51
  "prepack": "npm run build"
52
52
  },
@@ -81,7 +81,7 @@
81
81
  "license": "MIT",
82
82
  "peerDependencies": {
83
83
  "react": "^18.2.0",
84
- "@deepseek-ai/dsh-settings": "^0.1.0-rc.7 || ^0.1.7-0",
84
+ "@deepseek-ai/dsh-settings": "^0.1.0-rc.7 || ^0.1.7-0 || ^0.2.0-rc.1",
85
85
  "@deepseek-ai/schemastery": "^3.18.1",
86
86
  "@deepseek-ai/cordis": "^4.0.1"
87
87
  },
@@ -37,7 +37,7 @@ export const zh = {
37
37
  'field.resumeSilentTurns': '续跑无输出回合',
38
38
  'field.resumeSilentTurnsHint': '已观察到模型活动但没有可见输出时续跑;不把空回合、图片或扩展内容误判为静默,冷却与连续上限照常生效。',
39
39
  'field.resumeCompletedTurns': '自主循环(每个回合后都续跑)',
40
- 'field.resumeCompletedTurnsHint': '每个正常完成的回合结束后立即把对话交还给 Agent,无限循环直到你手动停止或发送消息。连续失败上限只对失败生效,成功的回合不计入。',
40
+ 'field.resumeCompletedTurnsHint': '正常完成后经过宽限期自动续跑,不受恢复冷却和次数上限限制;仅有推理或显式无输出的回合仍消耗重试预算。暂停或关闭该选项可停止后续接力,手动停止或发送消息会取消当前待发送的继续提示。',
41
41
  'field.continueTextLoop': '自主循环的继续文本',
42
42
  'field.continueTextLoopHint': '自主循环每次续跑时发送的文本。',
43
43
  'default.continueTextLoop': LOCALIZED_TEXT_DEFAULTS.zh.continueTextLoop,
@@ -55,9 +55,9 @@ export const zh = {
55
55
  'field.graceMs': '宽限期 (ms)',
56
56
  'field.graceMsHint': '检测到中断后等待的时长; 期间宿主自行恢复则取消。',
57
57
  'field.cooldownMs': '冷却时间 (ms)',
58
- 'field.cooldownMsHint': '同一会话两次自动「继续」的最小间隔, 失败尝试也计入。',
58
+ 'field.cooldownMsHint': '同一会话恢复尝试的最小间隔;期间出现的失败会等待剩余冷却,再进入宽限期。正常完成后的自主循环接力不受此限制。',
59
59
  'field.maxConsecutive': '最大连续次数',
60
- 'field.maxConsecutiveHint': '同一会话连续自动「继续」的上限;直到用户介入或成功回合产生已确认的可见输出才清零。',
60
+ 'field.maxConsecutiveHint': '连续恢复尝试上限;用户介入或观察到有可见输出的成功回合后清零。正常完成后的自主循环接力不计入。',
61
61
  'field.scanOnBoot': '启动恢复扫描',
62
62
  'field.scanOnBootHint': '宿主启动后在扫描时间窗内等待延迟加载的中断会话,每个已就绪会话只检查一次。',
63
63
  'field.scanLimit': '扫描会话数',
@@ -65,7 +65,7 @@ export const zh = {
65
65
  'field.freshMs': '扫描时间窗 (ms)',
66
66
  'field.freshMsHint': '只处理该时间窗内的中断;启动轮询也会在这段时间后结束。',
67
67
  'field.verbose': '详细日志',
68
- 'field.verboseHint': '在浏览器控制台输出 [auto-continue] 日志。',
68
+ 'field.verboseHint': '在 DSH 宿主日志中输出 [auto-continue] 引擎活动;CLI 用户可在运行 DSH 的终端查看。',
69
69
  'field.classify': '错误分类',
70
70
  'field.classifyHint': '仅自动恢复临时性错误(网络/超时/5xx 等); 认证/余额/模型不存在等永久性错误跳过并通知。',
71
71
  'field.retryableErrorPatterns': '自定义可恢复错误',
@@ -158,7 +158,7 @@ export const en: Record<SettingsCardKey, string> = {
158
158
  'field.resumeSilentTurns': 'Resume silent turns',
159
159
  'field.resumeSilentTurnsHint': 'Resume observed model activity without visible output. No-op turns, images and extension blocks are not treated as silent; cooldown and retry limits still apply.',
160
160
  'field.resumeCompletedTurns': 'Autonomous loop (continue after every turn)',
161
- 'field.resumeCompletedTurnsHint': 'Hand the thread back to the agent after every completed turn, looping until you press stop or send a message. The consecutive-failure cap only throttles failures; successful turns never count.',
161
+ 'field.resumeCompletedTurnsHint': 'Continue normal completions after grace, without the recovery cooldown or cap. Reasoning-only and explicit silent endings still consume the retry budget. Pause or disable this option to stop future handoffs; Stop or a manual message cancels the queued continuation.',
162
162
  'field.continueTextLoop': 'Continue text (autonomous loop)',
163
163
  'field.continueTextLoopHint': 'Text sent on each autonomous-loop continuation.',
164
164
  'default.continueTextLoop': LOCALIZED_TEXT_DEFAULTS.en.continueTextLoop,
@@ -176,9 +176,9 @@ export const en: Record<SettingsCardKey, string> = {
176
176
  'field.graceMs': 'Grace period (ms)',
177
177
  'field.graceMsHint': 'Wait after an interruption; cancelled if the host recovers on its own.',
178
178
  'field.cooldownMs': 'Cooldown (ms)',
179
- 'field.cooldownMsHint': 'Minimum interval between auto-continues per session; failed attempts count too.',
179
+ 'field.cooldownMsHint': 'Minimum interval between recovery attempts; failures during cooldown wait for the remaining interval, then grace. Normal autonomous-loop handoffs are exempt.',
180
180
  'field.maxConsecutive': 'Max consecutive',
181
- 'field.maxConsecutiveHint': 'Max consecutive auto-continues per session; resets only after user intervention or a completed turn with confirmed visible output.',
181
+ 'field.maxConsecutiveHint': 'Consecutive recovery-attempt cap; resets on user intervention or an observed completion with visible output. Normal autonomous-loop handoffs are exempt.',
182
182
  'field.scanOnBoot': 'Scan on host startup',
183
183
  'field.scanOnBootHint': 'Wait for delayed interrupted sessions during the startup scan window; inspect each settled session once.',
184
184
  'field.scanLimit': 'Scan limit',
@@ -186,7 +186,7 @@ export const en: Record<SettingsCardKey, string> = {
186
186
  'field.freshMs': 'Scan window (ms)',
187
187
  'field.freshMsHint': 'Only interruptions inside this window are considered; startup polling also ends after this duration.',
188
188
  'field.verbose': 'Verbose logs',
189
- 'field.verboseHint': 'Log [auto-continue] lines to the browser console.',
189
+ 'field.verboseHint': 'Write engine activity to DSH host logs with the [auto-continue] prefix; CLI users can read them in the terminal running DSH.',
190
190
  'field.classify': 'Classify errors',
191
191
  'field.classifyHint': 'Auto-resume transient failures only (network/timeout/5xx…); auth, balance and model errors are skipped and notified.',
192
192
  'field.retryableErrorPatterns': 'Custom retryable errors',