dsh-client-auto-continue 0.11.8 → 0.12.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/README.md +111 -61
- package/README.zh.md +111 -61
- 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/README.md +35 -0
- package/lib/client.js +116 -10
- package/lib/client.js.map +2 -2
- package/lib/index.js +268 -99
- package/lib/types/client/locales.d.ts +12 -0
- package/lib/types/client/settings-card.d.ts +4 -0
- package/lib/types/host/engine.d.ts +20 -11
- package/lib/types/index.d.ts +161 -11
- package/lib/types/shared/core.d.ts +22 -4
- package/package.json +9 -3
- package/src/client/locales.ts +34 -10
- package/src/client/settings-card.tsx +63 -1
- package/src/client/styles.ts +2 -0
- package/src/host/engine.ts +247 -96
- package/src/index.ts +78 -27
- package/src/shared/core.ts +43 -4
|
@@ -9,6 +9,8 @@ export declare const zh: {
|
|
|
9
9
|
'repo.aria': string;
|
|
10
10
|
'section.handoff.title': string;
|
|
11
11
|
'section.handoff.description': string;
|
|
12
|
+
'section.autoloop.title': string;
|
|
13
|
+
'section.autoloop.description': string;
|
|
12
14
|
'section.safety.title': string;
|
|
13
15
|
'section.safety.description': string;
|
|
14
16
|
'section.recovery.title': string;
|
|
@@ -25,6 +27,16 @@ export declare const zh: {
|
|
|
25
27
|
'field.continueTextMaxTokens': string;
|
|
26
28
|
'field.continueTextMaxTokensHint': string;
|
|
27
29
|
'default.continueTextMaxTokens': "继续";
|
|
30
|
+
'field.resumeSilentTurns': string;
|
|
31
|
+
'field.resumeSilentTurnsHint': string;
|
|
32
|
+
'field.resumeCompletedTurns': string;
|
|
33
|
+
'field.resumeCompletedTurnsHint': string;
|
|
34
|
+
'field.continueTextLoop': string;
|
|
35
|
+
'field.continueTextLoopHint': string;
|
|
36
|
+
'default.continueTextLoop': "继续";
|
|
37
|
+
'field.continueTextSilent': string;
|
|
38
|
+
'field.continueTextSilentHint': string;
|
|
39
|
+
'default.continueTextSilent': "继续。你上一轮只输出了内部推理, 既没有回复也没有调用工具, 用户什么都没看到。每一轮都要以工具调用或可见回复结束。";
|
|
28
40
|
'field.guardTools': string;
|
|
29
41
|
'field.guardToolsHint': string;
|
|
30
42
|
'field.guardPendingText': string;
|
|
@@ -7,6 +7,10 @@ export interface AutoContinueSettingsCardState extends CardShell {
|
|
|
7
7
|
paused: CardFieldState;
|
|
8
8
|
continueText: CardFieldState;
|
|
9
9
|
continueTextMaxTokens: CardFieldState;
|
|
10
|
+
resumeSilentTurns: CardFieldState;
|
|
11
|
+
resumeCompletedTurns: CardFieldState;
|
|
12
|
+
continueTextLoop: CardFieldState;
|
|
13
|
+
continueTextSilent: CardFieldState;
|
|
10
14
|
guardTools: CardFieldState;
|
|
11
15
|
guardPendingText: CardFieldState;
|
|
12
16
|
guardDoneText: CardFieldState;
|
|
@@ -6,10 +6,11 @@
|
|
|
6
6
|
* bugs (issue #13) cannot exist by construction. Listens to the session event
|
|
7
7
|
* firehose (`session/event`), sends through the agent registry
|
|
8
8
|
* (`agent.followup`), cancels through `agent.cancel`, and reads configuration
|
|
9
|
-
*
|
|
9
|
+
* injected by the entry (`apply`'s config argument, merged with schema
|
|
10
|
+
* defaults by `resolveConfig`).
|
|
10
11
|
*
|
|
11
|
-
* All behavior is driven by the `auto-continue`
|
|
12
|
-
*
|
|
12
|
+
* All behavior is driven by the `auto-continue` entry config; every knob below
|
|
13
|
+
* is user-configurable there.
|
|
13
14
|
*/
|
|
14
15
|
import type { Context } from '@deepseek-ai/cordis';
|
|
15
16
|
import type { SessionId } from '@deepseek-ai/dsh-session/types';
|
|
@@ -40,9 +41,12 @@ export declare class AutoContinueRunner {
|
|
|
40
41
|
private readonly disposeSessionEvents;
|
|
41
42
|
private readonly disposeInboxEvents;
|
|
42
43
|
private disposed;
|
|
44
|
+
private readonly bootScannedSessions;
|
|
45
|
+
private bootScanTimer;
|
|
46
|
+
private wakeBootScan;
|
|
43
47
|
/**
|
|
44
|
-
* @param ctx - host plugin context (agents registry, session events
|
|
45
|
-
* @param getConfig - read the current resolved configuration (
|
|
48
|
+
* @param ctx - host plugin context (agents registry, session events).
|
|
49
|
+
* @param getConfig - read the current resolved configuration (entry config).
|
|
46
50
|
*/
|
|
47
51
|
constructor(ctx: Context, getConfig: () => AutoContinueConfig);
|
|
48
52
|
private log;
|
|
@@ -69,6 +73,9 @@ export declare class AutoContinueRunner {
|
|
|
69
73
|
* 然后交给回合状态机。
|
|
70
74
|
*/
|
|
71
75
|
private onHostEvent;
|
|
76
|
+
private tracksOutput;
|
|
77
|
+
/** Treat unknown block kinds conservatively: only reasoning and blank text are silent. */
|
|
78
|
+
private hasVisibleContent;
|
|
72
79
|
/** 从 assistant/message 事件提取纯文本。 */
|
|
73
80
|
private assistantText;
|
|
74
81
|
private assistantChunkText;
|
|
@@ -102,6 +109,13 @@ export declare class AutoContinueRunner {
|
|
|
102
109
|
/** 本会话当前生效的冷却间隔(自适应退避)。 */
|
|
103
110
|
private cooldownFor;
|
|
104
111
|
private schedule;
|
|
112
|
+
/**
|
|
113
|
+
* 冷却期内的恢复: 等到冷却结束再重新调度。
|
|
114
|
+
* 直接丢弃会让一次瞬时失败把会话搁置, 直到用户手动发消息才恢复。
|
|
115
|
+
*/
|
|
116
|
+
private deferCooldownRetry;
|
|
117
|
+
/** 按调度原因选择续跑模板: loop 重启、无输出回合、max-tokens、自主循环, 其余用通用继续文本。 */
|
|
118
|
+
private templateFor;
|
|
105
119
|
private cancelPending;
|
|
106
120
|
private fire;
|
|
107
121
|
/**
|
|
@@ -115,12 +129,7 @@ export declare class AutoContinueRunner {
|
|
|
115
129
|
/** 上一步工具调用的护栏状态(实时路径, 由 mux 帧维护)。 */
|
|
116
130
|
private currentGuard;
|
|
117
131
|
private bootScanLoop;
|
|
118
|
-
/**
|
|
119
|
-
private scanLoop;
|
|
120
|
-
/**
|
|
121
|
-
* 扫描最近中断过的会话: 最后回合以非人为原因结束, 且其后没有新回合或用户消息。
|
|
122
|
-
* @returns 是否成功完成一次扫描(宿主就绪)。
|
|
123
|
-
*/
|
|
132
|
+
/** Inspect newly available sessions; process each settled startup history once. */
|
|
124
133
|
private scanInterrupted;
|
|
125
134
|
/** 从历史事件恢复上一步工具调用状态(扫描路径的幂等护栏)。 */
|
|
126
135
|
private applyGuardFromEvents;
|
package/lib/types/index.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Host half of the auto-continue plugin.
|
|
3
3
|
*
|
|
4
|
-
* -
|
|
5
|
-
*
|
|
4
|
+
* - Configuration is this entry's own Loader config: `apply(ctx, config)`
|
|
5
|
+
* injects it into the engine, where `resolveConfig` merges it with the
|
|
6
|
+
* schema defaults (the browser half's settings card writes the same values).
|
|
6
7
|
* - Runs the single-instance auto-continue engine: listens to the session
|
|
7
8
|
* event firehose, sends via `agent.followup`, cancels via `agent.cancel`.
|
|
8
9
|
* - Serves a status bridge the browser half subscribes to: notifications and
|
|
@@ -11,6 +12,7 @@
|
|
|
11
12
|
*/
|
|
12
13
|
import type { Context } from '@deepseek-ai/cordis';
|
|
13
14
|
import z from '@deepseek-ai/schemastery';
|
|
15
|
+
import { type AutoContinueSettings } from './shared/core.ts';
|
|
14
16
|
/** Settings namespace of the auto-continue plugin (lowercase kebab-case). */
|
|
15
17
|
export declare const AUTO_CONTINUE_NS = "auto-continue";
|
|
16
18
|
/** Wire schema; blank localized text fields tell resolveConfig() to select the active locale's defaults. */
|
|
@@ -21,6 +23,14 @@ export declare const AutoContinueSchema: z<Schemastery.ObjectS<{
|
|
|
21
23
|
continueText: z<string, string>;
|
|
22
24
|
/** Text sent when the output token ceiling is reached (same placeholders as `continueText`). */
|
|
23
25
|
continueTextMaxTokens: z<string, string>;
|
|
26
|
+
/** Resume observed model activity that completes without visible output. */
|
|
27
|
+
resumeSilentTurns: z<boolean, boolean>;
|
|
28
|
+
/** Autonomous mode: hand the thread back to the agent after every completed turn, looping until the user stops it. The consecutive-failure cap only throttles failures, never successful completions. */
|
|
29
|
+
resumeCompletedTurns: z<boolean, boolean>;
|
|
30
|
+
/** Text sent to resume a silent turn (same placeholders as `continueText`). */
|
|
31
|
+
continueTextSilent: z<string, string>;
|
|
32
|
+
/** Text sent for each autonomous-loop continuation (same placeholders as `continueText`). */
|
|
33
|
+
continueTextLoop: z<string, string>;
|
|
24
34
|
/** Idempotency guard: inspect the last tool call before resuming and steer the model. */
|
|
25
35
|
guardTools: z<boolean, boolean>;
|
|
26
36
|
/** Guard text appended when the last tool call has no confirmed result (it may have partially executed). */
|
|
@@ -33,11 +43,11 @@ export declare const AutoContinueSchema: z<Schemastery.ObjectS<{
|
|
|
33
43
|
cooldownMs: z<number, number>;
|
|
34
44
|
/** Max consecutive auto-continues per session before stopping. */
|
|
35
45
|
maxConsecutive: z<number, number>;
|
|
36
|
-
/**
|
|
46
|
+
/** Recover delayed interrupted sessions during the host startup window. */
|
|
37
47
|
scanOnBoot: z<boolean, boolean>;
|
|
38
|
-
/** Max
|
|
48
|
+
/** Max eligible recoveries per scan pass (most recently active first). */
|
|
39
49
|
scanLimit: z<number, number>;
|
|
40
|
-
/**
|
|
50
|
+
/** Interruption freshness and duration of startup polling (ms). */
|
|
41
51
|
freshMs: z<number, number>;
|
|
42
52
|
/** Log `[auto-continue]` lines to the browser console. */
|
|
43
53
|
verbose: z<boolean, boolean>;
|
|
@@ -74,6 +84,14 @@ export declare const AutoContinueSchema: z<Schemastery.ObjectS<{
|
|
|
74
84
|
continueText: z<string, string>;
|
|
75
85
|
/** Text sent when the output token ceiling is reached (same placeholders as `continueText`). */
|
|
76
86
|
continueTextMaxTokens: z<string, string>;
|
|
87
|
+
/** Resume observed model activity that completes without visible output. */
|
|
88
|
+
resumeSilentTurns: z<boolean, boolean>;
|
|
89
|
+
/** Autonomous mode: hand the thread back to the agent after every completed turn, looping until the user stops it. The consecutive-failure cap only throttles failures, never successful completions. */
|
|
90
|
+
resumeCompletedTurns: z<boolean, boolean>;
|
|
91
|
+
/** Text sent to resume a silent turn (same placeholders as `continueText`). */
|
|
92
|
+
continueTextSilent: z<string, string>;
|
|
93
|
+
/** Text sent for each autonomous-loop continuation (same placeholders as `continueText`). */
|
|
94
|
+
continueTextLoop: z<string, string>;
|
|
77
95
|
/** Idempotency guard: inspect the last tool call before resuming and steer the model. */
|
|
78
96
|
guardTools: z<boolean, boolean>;
|
|
79
97
|
/** Guard text appended when the last tool call has no confirmed result (it may have partially executed). */
|
|
@@ -86,11 +104,11 @@ export declare const AutoContinueSchema: z<Schemastery.ObjectS<{
|
|
|
86
104
|
cooldownMs: z<number, number>;
|
|
87
105
|
/** Max consecutive auto-continues per session before stopping. */
|
|
88
106
|
maxConsecutive: z<number, number>;
|
|
89
|
-
/**
|
|
107
|
+
/** Recover delayed interrupted sessions during the host startup window. */
|
|
90
108
|
scanOnBoot: z<boolean, boolean>;
|
|
91
|
-
/** Max
|
|
109
|
+
/** Max eligible recoveries per scan pass (most recently active first). */
|
|
92
110
|
scanLimit: z<number, number>;
|
|
93
|
-
/**
|
|
111
|
+
/** Interruption freshness and duration of startup polling (ms). */
|
|
94
112
|
freshMs: z<number, number>;
|
|
95
113
|
/** Log `[auto-continue]` lines to the browser console. */
|
|
96
114
|
verbose: z<boolean, boolean>;
|
|
@@ -121,9 +139,141 @@ export declare const AutoContinueSchema: z<Schemastery.ObjectS<{
|
|
|
121
139
|
/** Text sent after the loop guard cancels and restarts a turn (supports {tool}). */
|
|
122
140
|
loopText: z<string, string>;
|
|
123
141
|
}>>;
|
|
142
|
+
/** Loader config is a live reference on DSH 0.1.7, and a plain object on older hosts. */
|
|
143
|
+
export type AutoContinueEntryConfig = AutoContinueSettings | {
|
|
144
|
+
get(): AutoContinueSettings | undefined;
|
|
145
|
+
};
|
|
146
|
+
export declare const Config: z<Schemastery.ObjectS<{
|
|
147
|
+
/** Active browser/UI locale mirrored by the client. */
|
|
148
|
+
locale: z<string, string>;
|
|
149
|
+
/** Text automatically sent after an interruption. */
|
|
150
|
+
continueText: z<string, string>;
|
|
151
|
+
/** Text sent when the output token ceiling is reached (same placeholders as `continueText`). */
|
|
152
|
+
continueTextMaxTokens: z<string, string>;
|
|
153
|
+
/** Resume observed model activity that completes without visible output. */
|
|
154
|
+
resumeSilentTurns: z<boolean, boolean>;
|
|
155
|
+
/** Autonomous mode: hand the thread back to the agent after every completed turn, looping until the user stops it. The consecutive-failure cap only throttles failures, never successful completions. */
|
|
156
|
+
resumeCompletedTurns: z<boolean, boolean>;
|
|
157
|
+
/** Text sent to resume a silent turn (same placeholders as `continueText`). */
|
|
158
|
+
continueTextSilent: z<string, string>;
|
|
159
|
+
/** Text sent for each autonomous-loop continuation (same placeholders as `continueText`). */
|
|
160
|
+
continueTextLoop: z<string, string>;
|
|
161
|
+
/** Idempotency guard: inspect the last tool call before resuming and steer the model. */
|
|
162
|
+
guardTools: z<boolean, boolean>;
|
|
163
|
+
/** Guard text appended when the last tool call has no confirmed result (it may have partially executed). */
|
|
164
|
+
guardPendingText: z<string, string>;
|
|
165
|
+
/** Guard text appended when the last tool call completed successfully (don't rerun it). */
|
|
166
|
+
guardDoneText: z<string, string>;
|
|
167
|
+
/** Grace period after an interruption before auto-sending (ms). */
|
|
168
|
+
graceMs: z<number, number>;
|
|
169
|
+
/** Minimum interval between two auto-continues per session (ms). */
|
|
170
|
+
cooldownMs: z<number, number>;
|
|
171
|
+
/** Max consecutive auto-continues per session before stopping. */
|
|
172
|
+
maxConsecutive: z<number, number>;
|
|
173
|
+
/** Recover delayed interrupted sessions during the host startup window. */
|
|
174
|
+
scanOnBoot: z<boolean, boolean>;
|
|
175
|
+
/** Max eligible recoveries per scan pass (most recently active first). */
|
|
176
|
+
scanLimit: z<number, number>;
|
|
177
|
+
/** Interruption freshness and duration of startup polling (ms). */
|
|
178
|
+
freshMs: z<number, number>;
|
|
179
|
+
/** Log `[auto-continue]` lines to the browser console. */
|
|
180
|
+
verbose: z<boolean, boolean>;
|
|
181
|
+
/** Classify failures: auto-continue transient errors only; permanent ones are skipped and notified. */
|
|
182
|
+
classify: z<boolean, boolean>;
|
|
183
|
+
/** Provider-specific message/code/status fragments that explicitly count as retryable, one literal per line. */
|
|
184
|
+
retryableErrorPatterns: z<string, string>;
|
|
185
|
+
/** Cooldown multiplier per consecutive failure (adaptive backoff). */
|
|
186
|
+
backoffFactor: z<number, number>;
|
|
187
|
+
/** Cap on the effective backoff interval (ms). */
|
|
188
|
+
backoffMaxMs: z<number, number>;
|
|
189
|
+
/** Show browser notifications for auto-continue events. */
|
|
190
|
+
notify: z<boolean, boolean>;
|
|
191
|
+
/** Globally pause auto-continue: no live or scan send. */
|
|
192
|
+
paused: z<boolean, boolean>;
|
|
193
|
+
/** Loop guard: detect a running turn spinning in place and restart it. */
|
|
194
|
+
loopGuard: z<boolean, boolean>;
|
|
195
|
+
/** A model message shorter than this many chars counts as a short sentence (loop signal). */
|
|
196
|
+
loopShortChars: z<number, number>;
|
|
197
|
+
/** Consecutive short sentences within this window (ms) with no tool call in between trip the loop guard. */
|
|
198
|
+
loopWindowMs: z<number, number>;
|
|
199
|
+
/** Consecutive short sentences trip the loop guard. */
|
|
200
|
+
loopShortCount: z<number, number>;
|
|
201
|
+
/** Consecutive identical assistant messages trip the loop guard (strongest signal; also used for streamed intra-message repetition). */
|
|
202
|
+
loopRepeatText: z<number, number>;
|
|
203
|
+
/** Consecutive identical tool calls with identical arguments AND results trip the loop guard. */
|
|
204
|
+
loopToolRepeat: z<number, number>;
|
|
205
|
+
/** Text sent after the loop guard cancels and restarts a turn (supports {tool}). */
|
|
206
|
+
loopText: z<string, string>;
|
|
207
|
+
}>, Schemastery.ObjectT<{
|
|
208
|
+
/** Active browser/UI locale mirrored by the client. */
|
|
209
|
+
locale: z<string, string>;
|
|
210
|
+
/** Text automatically sent after an interruption. */
|
|
211
|
+
continueText: z<string, string>;
|
|
212
|
+
/** Text sent when the output token ceiling is reached (same placeholders as `continueText`). */
|
|
213
|
+
continueTextMaxTokens: z<string, string>;
|
|
214
|
+
/** Resume observed model activity that completes without visible output. */
|
|
215
|
+
resumeSilentTurns: z<boolean, boolean>;
|
|
216
|
+
/** Autonomous mode: hand the thread back to the agent after every completed turn, looping until the user stops it. The consecutive-failure cap only throttles failures, never successful completions. */
|
|
217
|
+
resumeCompletedTurns: z<boolean, boolean>;
|
|
218
|
+
/** Text sent to resume a silent turn (same placeholders as `continueText`). */
|
|
219
|
+
continueTextSilent: z<string, string>;
|
|
220
|
+
/** Text sent for each autonomous-loop continuation (same placeholders as `continueText`). */
|
|
221
|
+
continueTextLoop: z<string, string>;
|
|
222
|
+
/** Idempotency guard: inspect the last tool call before resuming and steer the model. */
|
|
223
|
+
guardTools: z<boolean, boolean>;
|
|
224
|
+
/** Guard text appended when the last tool call has no confirmed result (it may have partially executed). */
|
|
225
|
+
guardPendingText: z<string, string>;
|
|
226
|
+
/** Guard text appended when the last tool call completed successfully (don't rerun it). */
|
|
227
|
+
guardDoneText: z<string, string>;
|
|
228
|
+
/** Grace period after an interruption before auto-sending (ms). */
|
|
229
|
+
graceMs: z<number, number>;
|
|
230
|
+
/** Minimum interval between two auto-continues per session (ms). */
|
|
231
|
+
cooldownMs: z<number, number>;
|
|
232
|
+
/** Max consecutive auto-continues per session before stopping. */
|
|
233
|
+
maxConsecutive: z<number, number>;
|
|
234
|
+
/** Recover delayed interrupted sessions during the host startup window. */
|
|
235
|
+
scanOnBoot: z<boolean, boolean>;
|
|
236
|
+
/** Max eligible recoveries per scan pass (most recently active first). */
|
|
237
|
+
scanLimit: z<number, number>;
|
|
238
|
+
/** Interruption freshness and duration of startup polling (ms). */
|
|
239
|
+
freshMs: z<number, number>;
|
|
240
|
+
/** Log `[auto-continue]` lines to the browser console. */
|
|
241
|
+
verbose: z<boolean, boolean>;
|
|
242
|
+
/** Classify failures: auto-continue transient errors only; permanent ones are skipped and notified. */
|
|
243
|
+
classify: z<boolean, boolean>;
|
|
244
|
+
/** Provider-specific message/code/status fragments that explicitly count as retryable, one literal per line. */
|
|
245
|
+
retryableErrorPatterns: z<string, string>;
|
|
246
|
+
/** Cooldown multiplier per consecutive failure (adaptive backoff). */
|
|
247
|
+
backoffFactor: z<number, number>;
|
|
248
|
+
/** Cap on the effective backoff interval (ms). */
|
|
249
|
+
backoffMaxMs: z<number, number>;
|
|
250
|
+
/** Show browser notifications for auto-continue events. */
|
|
251
|
+
notify: z<boolean, boolean>;
|
|
252
|
+
/** Globally pause auto-continue: no live or scan send. */
|
|
253
|
+
paused: z<boolean, boolean>;
|
|
254
|
+
/** Loop guard: detect a running turn spinning in place and restart it. */
|
|
255
|
+
loopGuard: z<boolean, boolean>;
|
|
256
|
+
/** A model message shorter than this many chars counts as a short sentence (loop signal). */
|
|
257
|
+
loopShortChars: z<number, number>;
|
|
258
|
+
/** Consecutive short sentences within this window (ms) with no tool call in between trip the loop guard. */
|
|
259
|
+
loopWindowMs: z<number, number>;
|
|
260
|
+
/** Consecutive short sentences trip the loop guard. */
|
|
261
|
+
loopShortCount: z<number, number>;
|
|
262
|
+
/** Consecutive identical assistant messages trip the loop guard (strongest signal; also used for streamed intra-message repetition). */
|
|
263
|
+
loopRepeatText: z<number, number>;
|
|
264
|
+
/** Consecutive identical tool calls with identical arguments AND results trip the loop guard. */
|
|
265
|
+
loopToolRepeat: z<number, number>;
|
|
266
|
+
/** Text sent after the loop guard cancels and restarts a turn (supports {tool}). */
|
|
267
|
+
loopText: z<string, string>;
|
|
268
|
+
}>> | z<AutoContinueSettings, AutoContinueEntryConfig>;
|
|
124
269
|
/**
|
|
125
|
-
* Plugin body:
|
|
126
|
-
*
|
|
270
|
+
* Plugin body: start the single-instance engine and serve the status bridge.
|
|
271
|
+
*
|
|
272
|
+
* Configuration comes from this entry's own Loader config (merged with the
|
|
273
|
+
* schema defaults by `resolveConfig`); the current harness exposes entry
|
|
274
|
+
* config through the settings service instead of the legacy `register`/`get`
|
|
275
|
+
* namespace API this plugin was originally written against.
|
|
127
276
|
* @param ctx - host plugin context.
|
|
277
|
+
* @param config - this entry's config (may be partial / absent → defaults).
|
|
128
278
|
*/
|
|
129
|
-
export declare function apply(ctx: Context): void;
|
|
279
|
+
export declare function apply(ctx: Context, config?: AutoContinueEntryConfig): void;
|
|
@@ -12,6 +12,8 @@ export declare const LOCALIZED_TEXT_DEFAULTS: {
|
|
|
12
12
|
readonly zh: {
|
|
13
13
|
readonly continueText: "继续";
|
|
14
14
|
readonly continueTextMaxTokens: "继续";
|
|
15
|
+
readonly continueTextSilent: "继续。你上一轮只输出了内部推理, 既没有回复也没有调用工具, 用户什么都没看到。每一轮都要以工具调用或可见回复结束。";
|
|
16
|
+
readonly continueTextLoop: "继续";
|
|
15
17
|
readonly guardPendingText: "(上一步工具「{tool}」可能未完成, 先确认状态再继续, 不要重复执行)";
|
|
16
18
|
readonly guardDoneText: "(上一步工具「{tool}」已完成, 结果: {result}; 不要重复执行, 直接继续)";
|
|
17
19
|
readonly loopText: "(检测到你可能陷入循环, 请停止重复刚才的动作, 换一种方式继续)";
|
|
@@ -19,6 +21,8 @@ export declare const LOCALIZED_TEXT_DEFAULTS: {
|
|
|
19
21
|
readonly en: {
|
|
20
22
|
readonly continueText: "Continue";
|
|
21
23
|
readonly continueTextMaxTokens: "Continue";
|
|
24
|
+
readonly continueTextSilent: "Continue. Your previous turn ended with internal reasoning only, with no message and no tool call, so nothing reached the user. Always finish a turn with a tool call or a visible answer.";
|
|
25
|
+
readonly continueTextLoop: "Continue";
|
|
22
26
|
readonly guardPendingText: "(The previous tool \"{tool}\" may not have completed. Check its state before continuing and do not run it again.)";
|
|
23
27
|
readonly guardDoneText: "(The previous tool \"{tool}\" completed successfully. Result: {result}; do not run it again. Continue from there.)";
|
|
24
28
|
readonly loopText: "(You may be stuck in a loop. Stop repeating the last action and continue with a different approach.)";
|
|
@@ -32,6 +36,14 @@ export interface AutoContinueSettings {
|
|
|
32
36
|
continueText?: string;
|
|
33
37
|
/** Text sent when the output token ceiling is reached (same placeholders as `continueText`). */
|
|
34
38
|
continueTextMaxTokens?: string;
|
|
39
|
+
/** Resume observed model activity that completes without visible output. */
|
|
40
|
+
resumeSilentTurns?: boolean;
|
|
41
|
+
/** Autonomous mode: hand the thread back to the agent after every completed turn, looping until the user stops it. The consecutive-failure cap only throttles failures, never successful completions. */
|
|
42
|
+
resumeCompletedTurns?: boolean;
|
|
43
|
+
/** Text sent to resume a silent turn (same placeholders as `continueText`). */
|
|
44
|
+
continueTextSilent?: string;
|
|
45
|
+
/** Text sent for each autonomous-loop continuation (same placeholders as `continueText`). */
|
|
46
|
+
continueTextLoop?: string;
|
|
35
47
|
/** Idempotency guard: inspect the last tool call before resuming and steer the model. */
|
|
36
48
|
guardTools?: boolean;
|
|
37
49
|
/** Guard text appended when the last tool call has no confirmed result (it may have partially executed). */
|
|
@@ -44,11 +56,11 @@ export interface AutoContinueSettings {
|
|
|
44
56
|
cooldownMs?: number;
|
|
45
57
|
/** Max consecutive auto-continues per session before stopping. */
|
|
46
58
|
maxConsecutive?: number;
|
|
47
|
-
/**
|
|
59
|
+
/** Recover delayed interrupted sessions during the host startup window. */
|
|
48
60
|
scanOnBoot?: boolean;
|
|
49
|
-
/** Max
|
|
61
|
+
/** Max eligible recoveries per scan pass (most recently active first). */
|
|
50
62
|
scanLimit?: number;
|
|
51
|
-
/**
|
|
63
|
+
/** Interruption freshness and duration of startup polling (ms). */
|
|
52
64
|
freshMs?: number;
|
|
53
65
|
/** Log `[auto-continue]` lines to the browser console. */
|
|
54
66
|
verbose?: boolean;
|
|
@@ -88,7 +100,7 @@ export declare function resolveConfig(section: AutoContinueSettings | undefined)
|
|
|
88
100
|
/**
|
|
89
101
|
* 视为「非人为中断」的回合结束原因, 用于启动/重连扫描。
|
|
90
102
|
* - `interrupted` 只由崩溃修复在宿主重载时写入(loop 永不实时发出), 因此仅在扫描路径处理;
|
|
91
|
-
* - 实时事件路径只对 `error` / `max-tokens` 自动续跑;
|
|
103
|
+
* - 实时事件路径只对 `error` / `max-tokens` 自动续跑; 另外续跑没有可见输出的 `completed` / `no-visible-output` 回合(不属于本类型);
|
|
92
104
|
* - `aborted`(用户停止)与 `blocked`(策略拒绝)永不自动继续。
|
|
93
105
|
*/
|
|
94
106
|
type NonHumanReason = 'error' | 'interrupted' | 'max-tokens';
|
|
@@ -289,6 +301,10 @@ export interface SessionState {
|
|
|
289
301
|
lastTurn: number | undefined;
|
|
290
302
|
/** 我们最近一次自动发送的时间戳; 0 = 没有待确认的恢复。 */
|
|
291
303
|
pendingRecoveryAt: number;
|
|
304
|
+
/** unknown: no observed start; empty: no model activity; silent: activity without visible output. */
|
|
305
|
+
turnOutput: 'unknown' | 'empty' | 'silent' | 'visible';
|
|
306
|
+
outputTurn: number | undefined;
|
|
307
|
+
outputStartSeq: number;
|
|
292
308
|
/** 当前连续短句数(loop guard 信号 1: 空转)。 */
|
|
293
309
|
shortRun: number;
|
|
294
310
|
/** 最后一条短句的时间(时间窗判定用)。 */
|
|
@@ -307,6 +323,8 @@ export interface SessionState {
|
|
|
307
323
|
loopFired: boolean;
|
|
308
324
|
/** loop 重启的延迟定时器(冷却结束后再 schedule)。 */
|
|
309
325
|
loopRetryTimer: ReturnType<typeof setTimeout> | undefined;
|
|
326
|
+
/** 冷却期恢复的延迟定时器(等到冷却结束再 schedule, 而不是丢弃这次恢复)。 */
|
|
327
|
+
cooldownRetryTimer: ReturnType<typeof setTimeout> | undefined;
|
|
310
328
|
}
|
|
311
329
|
export declare const freshState: () => SessionState;
|
|
312
330
|
export declare const RECOVERY_WINDOW_MS: number;
|
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.
|
|
4
|
+
"version": "0.12.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"types": "lib/types/index.d.ts",
|
|
@@ -46,7 +46,8 @@
|
|
|
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": "node tests/
|
|
49
|
+
"test:runtime": "node tests/settings-host-live.mjs",
|
|
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",
|
|
50
51
|
"prepack": "npm run build"
|
|
51
52
|
},
|
|
52
53
|
"keywords": [
|
|
@@ -80,8 +81,13 @@
|
|
|
80
81
|
"license": "MIT",
|
|
81
82
|
"peerDependencies": {
|
|
82
83
|
"react": "^18.2.0",
|
|
83
|
-
"@deepseek-ai/dsh-settings": "^0.1.0-rc.7",
|
|
84
|
+
"@deepseek-ai/dsh-settings": "^0.1.0-rc.7 || ^0.1.7-0",
|
|
84
85
|
"@deepseek-ai/schemastery": "^3.18.1",
|
|
85
86
|
"@deepseek-ai/cordis": "^4.0.1"
|
|
87
|
+
},
|
|
88
|
+
"peerDependenciesMeta": {
|
|
89
|
+
"@deepseek-ai/dsh-settings": {
|
|
90
|
+
"optional": true
|
|
91
|
+
}
|
|
86
92
|
}
|
|
87
93
|
}
|
package/src/client/locales.ts
CHANGED
|
@@ -16,6 +16,8 @@ export const zh = {
|
|
|
16
16
|
'repo.aria': '打开 dsh-auto-continue 的 GitHub 开源地址并点 Star',
|
|
17
17
|
'section.handoff.title': '接力方式',
|
|
18
18
|
'section.handoff.description': '决定中断后说什么,以及什么时候暂时停手。',
|
|
19
|
+
'section.autoloop.title': '自主循环',
|
|
20
|
+
'section.autoloop.description': '每个回合结束后自动把对话交还给 Agent,直到手动停止。',
|
|
19
21
|
'section.safety.title': '安全节奏',
|
|
20
22
|
'section.safety.description': '先确认上一步,再控制等待与连续续跑的边界。',
|
|
21
23
|
'section.recovery.title': '恢复雷达',
|
|
@@ -32,6 +34,16 @@ export const zh = {
|
|
|
32
34
|
'field.continueTextMaxTokens': '超限时的继续文本',
|
|
33
35
|
'field.continueTextMaxTokensHint': '达到输出 token 上限时自动发送的文本, 支持与继续文本相同的占位符。',
|
|
34
36
|
'default.continueTextMaxTokens': LOCALIZED_TEXT_DEFAULTS.zh.continueTextMaxTokens,
|
|
37
|
+
'field.resumeSilentTurns': '续跑无输出回合',
|
|
38
|
+
'field.resumeSilentTurnsHint': '已观察到模型活动但没有可见输出时续跑;不把空回合、图片或扩展内容误判为静默,冷却与连续上限照常生效。',
|
|
39
|
+
'field.resumeCompletedTurns': '自主循环(每个回合后都续跑)',
|
|
40
|
+
'field.resumeCompletedTurnsHint': '每个正常完成的回合结束后立即把对话交还给 Agent,无限循环直到你手动停止或发送消息。连续失败上限只对失败生效,成功的回合不计入。',
|
|
41
|
+
'field.continueTextLoop': '自主循环的继续文本',
|
|
42
|
+
'field.continueTextLoopHint': '自主循环每次续跑时发送的文本。',
|
|
43
|
+
'default.continueTextLoop': LOCALIZED_TEXT_DEFAULTS.zh.continueTextLoop,
|
|
44
|
+
'field.continueTextSilent': '无输出回合的继续文本',
|
|
45
|
+
'field.continueTextSilentHint': '回合只输出推理就结束时自动发送的文本, 支持与继续文本相同的占位符。',
|
|
46
|
+
'default.continueTextSilent': LOCALIZED_TEXT_DEFAULTS.zh.continueTextSilent,
|
|
35
47
|
'field.guardTools': '幂等护栏',
|
|
36
48
|
'field.guardToolsHint': '续跑前检查上一步工具调用: 结果未确认时提示先确认状态, 已成功时提示不要重复执行, 避免重复 commit/调 API。',
|
|
37
49
|
'field.guardPendingText': '结果未确认时的护栏文本',
|
|
@@ -45,13 +57,13 @@ export const zh = {
|
|
|
45
57
|
'field.cooldownMs': '冷却时间 (ms)',
|
|
46
58
|
'field.cooldownMsHint': '同一会话两次自动「继续」的最小间隔, 失败尝试也计入。',
|
|
47
59
|
'field.maxConsecutive': '最大连续次数',
|
|
48
|
-
'field.maxConsecutiveHint': '
|
|
49
|
-
'field.scanOnBoot': '
|
|
50
|
-
'field.scanOnBootHint': '
|
|
60
|
+
'field.maxConsecutiveHint': '同一会话连续自动「继续」的上限;直到用户介入或成功回合产生已确认的可见输出才清零。',
|
|
61
|
+
'field.scanOnBoot': '启动恢复扫描',
|
|
62
|
+
'field.scanOnBootHint': '宿主启动后在扫描时间窗内等待延迟加载的中断会话,每个已就绪会话只检查一次。',
|
|
51
63
|
'field.scanLimit': '扫描会话数',
|
|
52
|
-
'field.scanLimitHint': '
|
|
64
|
+
'field.scanLimitHint': '每次扫描最多恢复多少个符合条件的会话,优先最近活动的会话。',
|
|
53
65
|
'field.freshMs': '扫描时间窗 (ms)',
|
|
54
|
-
'field.freshMsHint': '
|
|
66
|
+
'field.freshMsHint': '只处理该时间窗内的中断;启动轮询也会在这段时间后结束。',
|
|
55
67
|
'field.verbose': '详细日志',
|
|
56
68
|
'field.verboseHint': '在浏览器控制台输出 [auto-continue] 日志。',
|
|
57
69
|
'field.classify': '错误分类',
|
|
@@ -125,6 +137,8 @@ export const en: Record<SettingsCardKey, string> = {
|
|
|
125
137
|
'repo.aria': 'Open the dsh-auto-continue repository on GitHub and star it',
|
|
126
138
|
'section.handoff.title': 'The handoff',
|
|
127
139
|
'section.handoff.description': 'Choose what gets sent after an interruption and when the relay should stand down.',
|
|
140
|
+
'section.autoloop.title': 'Autonomous loop',
|
|
141
|
+
'section.autoloop.description': 'Hand the thread back after every completed turn until manually stopped.',
|
|
128
142
|
'section.safety.title': 'Safety rhythm',
|
|
129
143
|
'section.safety.description': 'Confirm the previous step, then set the boundaries for waiting and repeated resumes.',
|
|
130
144
|
'section.recovery.title': 'Recovery radar',
|
|
@@ -141,6 +155,16 @@ export const en: Record<SettingsCardKey, string> = {
|
|
|
141
155
|
'field.continueTextMaxTokens': 'Continue text (max tokens)',
|
|
142
156
|
'field.continueTextMaxTokensHint': 'Text sent when the output token ceiling is reached; same placeholders as the continue text.',
|
|
143
157
|
'default.continueTextMaxTokens': LOCALIZED_TEXT_DEFAULTS.en.continueTextMaxTokens,
|
|
158
|
+
'field.resumeSilentTurns': 'Resume silent turns',
|
|
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
|
+
'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.',
|
|
162
|
+
'field.continueTextLoop': 'Continue text (autonomous loop)',
|
|
163
|
+
'field.continueTextLoopHint': 'Text sent on each autonomous-loop continuation.',
|
|
164
|
+
'default.continueTextLoop': LOCALIZED_TEXT_DEFAULTS.en.continueTextLoop,
|
|
165
|
+
'field.continueTextSilent': 'Continue text (silent turn)',
|
|
166
|
+
'field.continueTextSilentHint': 'Text sent when a turn ends with reasoning only; same placeholders as the continue text.',
|
|
167
|
+
'default.continueTextSilent': LOCALIZED_TEXT_DEFAULTS.en.continueTextSilent,
|
|
144
168
|
'field.guardTools': 'Idempotency guard',
|
|
145
169
|
'field.guardToolsHint': 'Before resuming, inspect the last tool call: if its result is unconfirmed, tell the model to check state first; if it succeeded, tell it not to rerun — avoids duplicate commits / API calls.',
|
|
146
170
|
'field.guardPendingText': 'Guard text (unconfirmed result)',
|
|
@@ -154,13 +178,13 @@ export const en: Record<SettingsCardKey, string> = {
|
|
|
154
178
|
'field.cooldownMs': 'Cooldown (ms)',
|
|
155
179
|
'field.cooldownMsHint': 'Minimum interval between auto-continues per session; failed attempts count too.',
|
|
156
180
|
'field.maxConsecutive': 'Max consecutive',
|
|
157
|
-
'field.maxConsecutiveHint': 'Max consecutive auto-continues per session;
|
|
158
|
-
'field.scanOnBoot': 'Scan on
|
|
159
|
-
'field.scanOnBootHint': '
|
|
181
|
+
'field.maxConsecutiveHint': 'Max consecutive auto-continues per session; resets only after user intervention or a completed turn with confirmed visible output.',
|
|
182
|
+
'field.scanOnBoot': 'Scan on host startup',
|
|
183
|
+
'field.scanOnBootHint': 'Wait for delayed interrupted sessions during the startup scan window; inspect each settled session once.',
|
|
160
184
|
'field.scanLimit': 'Scan limit',
|
|
161
|
-
'field.scanLimitHint': '
|
|
185
|
+
'field.scanLimitHint': 'Maximum eligible sessions to recover per pass, most recently active first.',
|
|
162
186
|
'field.freshMs': 'Scan window (ms)',
|
|
163
|
-
'field.freshMsHint': 'Only interruptions inside this window are considered.',
|
|
187
|
+
'field.freshMsHint': 'Only interruptions inside this window are considered; startup polling also ends after this duration.',
|
|
164
188
|
'field.verbose': 'Verbose logs',
|
|
165
189
|
'field.verboseHint': 'Log [auto-continue] lines to the browser console.',
|
|
166
190
|
'field.classify': 'Classify errors',
|
|
@@ -39,6 +39,10 @@ export interface AutoContinueSettingsCardState extends CardShell {
|
|
|
39
39
|
paused: CardFieldState;
|
|
40
40
|
continueText: CardFieldState;
|
|
41
41
|
continueTextMaxTokens: CardFieldState;
|
|
42
|
+
resumeSilentTurns: CardFieldState;
|
|
43
|
+
resumeCompletedTurns: CardFieldState;
|
|
44
|
+
continueTextLoop: CardFieldState;
|
|
45
|
+
continueTextSilent: CardFieldState;
|
|
42
46
|
guardTools: CardFieldState;
|
|
43
47
|
guardPendingText: CardFieldState;
|
|
44
48
|
guardDoneText: CardFieldState;
|
|
@@ -84,6 +88,10 @@ export class AutoContinueSettingsCardController {
|
|
|
84
88
|
booleanField('paused'),
|
|
85
89
|
textField('continueText'),
|
|
86
90
|
textField('continueTextMaxTokens'),
|
|
91
|
+
booleanField('resumeSilentTurns'),
|
|
92
|
+
booleanField('resumeCompletedTurns'),
|
|
93
|
+
textField('continueTextLoop'),
|
|
94
|
+
textField('continueTextSilent'),
|
|
87
95
|
booleanField('guardTools'),
|
|
88
96
|
textField('guardPendingText'),
|
|
89
97
|
textField('guardDoneText'),
|
|
@@ -116,6 +124,10 @@ export class AutoContinueSettingsCardController {
|
|
|
116
124
|
paused: this.form.field('paused'),
|
|
117
125
|
continueText: this.form.field('continueText'),
|
|
118
126
|
continueTextMaxTokens: this.form.field('continueTextMaxTokens'),
|
|
127
|
+
resumeSilentTurns: this.form.field('resumeSilentTurns'),
|
|
128
|
+
resumeCompletedTurns: this.form.field('resumeCompletedTurns'),
|
|
129
|
+
continueTextLoop: this.form.field('continueTextLoop'),
|
|
130
|
+
continueTextSilent: this.form.field('continueTextSilent'),
|
|
119
131
|
guardTools: this.form.field('guardTools'),
|
|
120
132
|
guardPendingText: this.form.field('guardPendingText'),
|
|
121
133
|
guardDoneText: this.form.field('guardDoneText'),
|
|
@@ -406,7 +418,7 @@ function BooleanField(props: FieldProps) {
|
|
|
406
418
|
);
|
|
407
419
|
}
|
|
408
420
|
|
|
409
|
-
type SettingsSectionTone = 'handoff' | 'safety' | 'recovery' | 'loop' | 'live';
|
|
421
|
+
type SettingsSectionTone = 'handoff' | 'autoloop' | 'safety' | 'recovery' | 'loop' | 'live';
|
|
410
422
|
|
|
411
423
|
/** A real behavior group, not a decorative divider: each section maps to one phase of the relay. */
|
|
412
424
|
function SettingsSection(props: {
|
|
@@ -593,6 +605,56 @@ export function AutoContinueSettingsCard(props: AutoContinueSettingsCardProps) {
|
|
|
593
605
|
placeholder={t('default.continueTextMaxTokens')}
|
|
594
606
|
onReset={() => props.resetField('continueTextMaxTokens')}
|
|
595
607
|
/>
|
|
608
|
+
<BooleanField
|
|
609
|
+
wide
|
|
610
|
+
id="auto-continue-resume-silent-turns"
|
|
611
|
+
label={t('field.resumeSilentTurns')}
|
|
612
|
+
hint={t('field.resumeSilentTurnsHint')}
|
|
613
|
+
{...shared}
|
|
614
|
+
{...state.resumeSilentTurns}
|
|
615
|
+
onEdit={(text) => props.edit('resumeSilentTurns', text)}
|
|
616
|
+
onReset={() => props.resetField('resumeSilentTurns')}
|
|
617
|
+
/>
|
|
618
|
+
<ValueField
|
|
619
|
+
wide
|
|
620
|
+
id="auto-continue-continue-text-silent"
|
|
621
|
+
label={t('field.continueTextSilent')}
|
|
622
|
+
hint={t('field.continueTextSilentHint')}
|
|
623
|
+
{...shared}
|
|
624
|
+
{...state.continueTextSilent}
|
|
625
|
+
onEdit={(text) => props.edit('continueTextSilent', text)}
|
|
626
|
+
placeholder={t('default.continueTextSilent')}
|
|
627
|
+
onReset={() => props.resetField('continueTextSilent')}
|
|
628
|
+
/>
|
|
629
|
+
</SettingsSection>
|
|
630
|
+
|
|
631
|
+
<SettingsSection
|
|
632
|
+
t={t}
|
|
633
|
+
titleKey="section.autoloop.title"
|
|
634
|
+
descriptionKey="section.autoloop.description"
|
|
635
|
+
tone="autoloop"
|
|
636
|
+
>
|
|
637
|
+
<BooleanField
|
|
638
|
+
wide
|
|
639
|
+
id="auto-continue-resume-completed-turns"
|
|
640
|
+
label={t('field.resumeCompletedTurns')}
|
|
641
|
+
hint={t('field.resumeCompletedTurnsHint')}
|
|
642
|
+
{...shared}
|
|
643
|
+
{...state.resumeCompletedTurns}
|
|
644
|
+
onEdit={(text) => props.edit('resumeCompletedTurns', text)}
|
|
645
|
+
onReset={() => props.resetField('resumeCompletedTurns')}
|
|
646
|
+
/>
|
|
647
|
+
<ValueField
|
|
648
|
+
wide
|
|
649
|
+
id="auto-continue-continue-text-loop"
|
|
650
|
+
label={t('field.continueTextLoop')}
|
|
651
|
+
hint={t('field.continueTextLoopHint')}
|
|
652
|
+
{...shared}
|
|
653
|
+
{...state.continueTextLoop}
|
|
654
|
+
onEdit={(text) => props.edit('continueTextLoop', text)}
|
|
655
|
+
placeholder={t('default.continueTextLoop')}
|
|
656
|
+
onReset={() => props.resetField('continueTextLoop')}
|
|
657
|
+
/>
|
|
596
658
|
</SettingsSection>
|
|
597
659
|
|
|
598
660
|
<SettingsSection
|