@roll-agent/core 0.20.0 → 0.21.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/dist/cli/chat/ink/app.d.ts +3 -3
- package/dist/cli/chat/ink/app.js +1 -1
- package/dist/cli/chat/ink/banner-view.d.ts +3 -4
- package/dist/cli/chat/ink/confirm-select.d.ts +3 -1
- package/dist/cli/chat/ink/confirm-select.js +1 -1
- package/dist/cli/chat/ink/layout.d.ts +13 -0
- package/dist/cli/chat/ink/layout.js +1 -0
- package/dist/cli/chat/ink/line-buffer.d.ts +6 -0
- package/dist/cli/chat/ink/line-buffer.js +1 -1
- package/dist/cli/chat/ink/mouse-input.d.ts +9 -0
- package/dist/cli/chat/ink/mouse-input.js +1 -0
- package/dist/cli/chat/ink/run-ink-repl.d.ts +2 -2
- package/dist/cli/chat/ink/run-ink-repl.js +1 -1
- package/dist/cli/chat/ink/slash-popup.d.ts +3 -1
- package/dist/cli/chat/ink/slash-popup.js +1 -1
- package/dist/cli/chat/ink/status-line.d.ts +3 -2
- package/dist/cli/chat/ink/status-line.js +1 -1
- package/dist/cli/chat/ink/terminal-output.d.ts +6 -0
- package/dist/cli/chat/ink/terminal-output.js +1 -0
- package/dist/cli/chat/ink/text-prompt.d.ts +4 -0
- package/dist/cli/chat/ink/text-prompt.js +1 -1
- package/dist/cli/chat/ink/transcript-viewport.d.ts +22 -0
- package/dist/cli/chat/ink/transcript-viewport.js +1 -0
- package/dist/cli/chat/ink/turn-status-line.d.ts +3 -2
- package/dist/cli/chat/ink/turn-status-line.js +1 -1
- package/dist/cli/chat/screen-mode.d.ts +66 -0
- package/dist/cli/chat/screen-mode.js +1 -0
- package/dist/cli/commands/browser-stop.d.ts +4 -4
- package/dist/cli/commands/chat.d.ts +5 -1
- package/dist/cli/commands/chat.js +1 -1
- package/dist/config/application-service.js +1 -1
- package/dist/config/guidance.d.ts +15 -3
- package/dist/config/guidance.js +1 -1
- package/dist/config/schema.d.ts +99 -75
- package/dist/config/schema.js +1 -1
- package/package.json +1 -1
package/dist/config/schema.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const runtimeThinkingLevels: readonly ["off", "low", "medium", "high"];
|
|
3
|
+
export declare const CHAT_SCREEN_MODES: readonly ["auto", "fullscreen", "inline"];
|
|
3
4
|
export declare const browserWindowBoundsSchema: z.ZodObject<{
|
|
4
5
|
x: z.ZodOptional<z.ZodNumber>;
|
|
5
6
|
y: z.ZodOptional<z.ZodNumber>;
|
|
@@ -64,14 +65,22 @@ export declare const askConfigSchema: z.ZodObject<{
|
|
|
64
65
|
llmModel?: string | undefined;
|
|
65
66
|
confirmThreshold?: number | undefined;
|
|
66
67
|
}>;
|
|
68
|
+
export declare const chatScreenModeSchema: z.ZodEnum<["auto", "fullscreen", "inline"]>;
|
|
69
|
+
export declare const chatConfigSchema: z.ZodObject<{
|
|
70
|
+
screenMode: z.ZodDefault<z.ZodEnum<["auto", "fullscreen", "inline"]>>;
|
|
71
|
+
}, "strip", z.ZodTypeAny, {
|
|
72
|
+
screenMode: "auto" | "fullscreen" | "inline";
|
|
73
|
+
}, {
|
|
74
|
+
screenMode?: "auto" | "fullscreen" | "inline" | undefined;
|
|
75
|
+
}>;
|
|
67
76
|
export declare const runtimeApprovalConfigSchema: z.ZodObject<{
|
|
68
77
|
default: z.ZodDefault<z.ZodEnum<["guarded", "auto", "deny"]>>;
|
|
69
78
|
overrides: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodEnum<["auto", "confirm", "deny"]>>>;
|
|
70
79
|
}, "strip", z.ZodTypeAny, {
|
|
71
|
-
default: "
|
|
80
|
+
default: "guarded" | "auto" | "deny";
|
|
72
81
|
overrides: Record<string, "auto" | "deny" | "confirm">;
|
|
73
82
|
}, {
|
|
74
|
-
default?: "
|
|
83
|
+
default?: "guarded" | "auto" | "deny" | undefined;
|
|
75
84
|
overrides?: Record<string, "auto" | "deny" | "confirm"> | undefined;
|
|
76
85
|
}>;
|
|
77
86
|
export declare const runtimeCompactionConfigSchema: z.ZodObject<{
|
|
@@ -84,20 +93,20 @@ export declare const runtimeCompactionConfigSchema: z.ZodObject<{
|
|
|
84
93
|
keepRecentTurns: z.ZodDefault<z.ZodNumber>;
|
|
85
94
|
keepRecentTokens: z.ZodDefault<z.ZodNumber>;
|
|
86
95
|
}, "strip", z.ZodTypeAny, {
|
|
87
|
-
maxOutputTokens: number;
|
|
88
96
|
enabled: boolean;
|
|
89
97
|
strategy: "summarize" | "truncate";
|
|
90
98
|
timeoutMs: number;
|
|
99
|
+
maxOutputTokens: number;
|
|
91
100
|
threshold: number;
|
|
92
101
|
keepRecentTurns: number;
|
|
93
102
|
keepRecentTokens: number;
|
|
94
103
|
thinkingLevel?: "off" | "low" | "medium" | "high" | undefined;
|
|
95
104
|
}, {
|
|
96
|
-
maxOutputTokens?: number | undefined;
|
|
97
105
|
enabled?: boolean | undefined;
|
|
98
106
|
strategy?: "summarize" | "truncate" | undefined;
|
|
99
107
|
timeoutMs?: number | undefined;
|
|
100
108
|
thinkingLevel?: "off" | "low" | "medium" | "high" | undefined;
|
|
109
|
+
maxOutputTokens?: number | undefined;
|
|
101
110
|
threshold?: number | undefined;
|
|
102
111
|
keepRecentTurns?: number | undefined;
|
|
103
112
|
keepRecentTokens?: number | undefined;
|
|
@@ -108,13 +117,13 @@ export declare const runtimeShellSessionConfigSchema: z.ZodObject<{
|
|
|
108
117
|
defaultYieldMs: z.ZodDefault<z.ZodNumber>;
|
|
109
118
|
maxOutputTokens: z.ZodDefault<z.ZodNumber>;
|
|
110
119
|
}, "strip", z.ZodTypeAny, {
|
|
111
|
-
maxOutputTokens: number;
|
|
112
120
|
enabled: boolean;
|
|
121
|
+
maxOutputTokens: number;
|
|
113
122
|
maxSessions: number;
|
|
114
123
|
defaultYieldMs: number;
|
|
115
124
|
}, {
|
|
116
|
-
maxOutputTokens?: number | undefined;
|
|
117
125
|
enabled?: boolean | undefined;
|
|
126
|
+
maxOutputTokens?: number | undefined;
|
|
118
127
|
maxSessions?: number | undefined;
|
|
119
128
|
defaultYieldMs?: number | undefined;
|
|
120
129
|
}>;
|
|
@@ -131,13 +140,13 @@ export declare const runtimeShellConfigSchema: z.ZodObject<{
|
|
|
131
140
|
defaultYieldMs: z.ZodDefault<z.ZodNumber>;
|
|
132
141
|
maxOutputTokens: z.ZodDefault<z.ZodNumber>;
|
|
133
142
|
}, "strip", z.ZodTypeAny, {
|
|
134
|
-
maxOutputTokens: number;
|
|
135
143
|
enabled: boolean;
|
|
144
|
+
maxOutputTokens: number;
|
|
136
145
|
maxSessions: number;
|
|
137
146
|
defaultYieldMs: number;
|
|
138
147
|
}, {
|
|
139
|
-
maxOutputTokens?: number | undefined;
|
|
140
148
|
enabled?: boolean | undefined;
|
|
149
|
+
maxOutputTokens?: number | undefined;
|
|
141
150
|
maxSessions?: number | undefined;
|
|
142
151
|
defaultYieldMs?: number | undefined;
|
|
143
152
|
}>>;
|
|
@@ -149,8 +158,8 @@ export declare const runtimeShellConfigSchema: z.ZodObject<{
|
|
|
149
158
|
maxCaptureBytes: number;
|
|
150
159
|
maxModelOutputChars: number;
|
|
151
160
|
session: {
|
|
152
|
-
maxOutputTokens: number;
|
|
153
161
|
enabled: boolean;
|
|
162
|
+
maxOutputTokens: number;
|
|
154
163
|
maxSessions: number;
|
|
155
164
|
defaultYieldMs: number;
|
|
156
165
|
};
|
|
@@ -162,8 +171,8 @@ export declare const runtimeShellConfigSchema: z.ZodObject<{
|
|
|
162
171
|
maxCaptureBytes?: number | undefined;
|
|
163
172
|
maxModelOutputChars?: number | undefined;
|
|
164
173
|
session?: {
|
|
165
|
-
maxOutputTokens?: number | undefined;
|
|
166
174
|
enabled?: boolean | undefined;
|
|
175
|
+
maxOutputTokens?: number | undefined;
|
|
167
176
|
maxSessions?: number | undefined;
|
|
168
177
|
defaultYieldMs?: number | undefined;
|
|
169
178
|
} | undefined;
|
|
@@ -180,10 +189,10 @@ export declare const runtimeConfigSchema: z.ZodObject<{
|
|
|
180
189
|
default: z.ZodDefault<z.ZodEnum<["guarded", "auto", "deny"]>>;
|
|
181
190
|
overrides: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodEnum<["auto", "confirm", "deny"]>>>;
|
|
182
191
|
}, "strip", z.ZodTypeAny, {
|
|
183
|
-
default: "
|
|
192
|
+
default: "guarded" | "auto" | "deny";
|
|
184
193
|
overrides: Record<string, "auto" | "deny" | "confirm">;
|
|
185
194
|
}, {
|
|
186
|
-
default?: "
|
|
195
|
+
default?: "guarded" | "auto" | "deny" | undefined;
|
|
187
196
|
overrides?: Record<string, "auto" | "deny" | "confirm"> | undefined;
|
|
188
197
|
}>>;
|
|
189
198
|
compaction: z.ZodDefault<z.ZodObject<{
|
|
@@ -196,20 +205,20 @@ export declare const runtimeConfigSchema: z.ZodObject<{
|
|
|
196
205
|
keepRecentTurns: z.ZodDefault<z.ZodNumber>;
|
|
197
206
|
keepRecentTokens: z.ZodDefault<z.ZodNumber>;
|
|
198
207
|
}, "strip", z.ZodTypeAny, {
|
|
199
|
-
maxOutputTokens: number;
|
|
200
208
|
enabled: boolean;
|
|
201
209
|
strategy: "summarize" | "truncate";
|
|
202
210
|
timeoutMs: number;
|
|
211
|
+
maxOutputTokens: number;
|
|
203
212
|
threshold: number;
|
|
204
213
|
keepRecentTurns: number;
|
|
205
214
|
keepRecentTokens: number;
|
|
206
215
|
thinkingLevel?: "off" | "low" | "medium" | "high" | undefined;
|
|
207
216
|
}, {
|
|
208
|
-
maxOutputTokens?: number | undefined;
|
|
209
217
|
enabled?: boolean | undefined;
|
|
210
218
|
strategy?: "summarize" | "truncate" | undefined;
|
|
211
219
|
timeoutMs?: number | undefined;
|
|
212
220
|
thinkingLevel?: "off" | "low" | "medium" | "high" | undefined;
|
|
221
|
+
maxOutputTokens?: number | undefined;
|
|
213
222
|
threshold?: number | undefined;
|
|
214
223
|
keepRecentTurns?: number | undefined;
|
|
215
224
|
keepRecentTokens?: number | undefined;
|
|
@@ -227,13 +236,13 @@ export declare const runtimeConfigSchema: z.ZodObject<{
|
|
|
227
236
|
defaultYieldMs: z.ZodDefault<z.ZodNumber>;
|
|
228
237
|
maxOutputTokens: z.ZodDefault<z.ZodNumber>;
|
|
229
238
|
}, "strip", z.ZodTypeAny, {
|
|
230
|
-
maxOutputTokens: number;
|
|
231
239
|
enabled: boolean;
|
|
240
|
+
maxOutputTokens: number;
|
|
232
241
|
maxSessions: number;
|
|
233
242
|
defaultYieldMs: number;
|
|
234
243
|
}, {
|
|
235
|
-
maxOutputTokens?: number | undefined;
|
|
236
244
|
enabled?: boolean | undefined;
|
|
245
|
+
maxOutputTokens?: number | undefined;
|
|
237
246
|
maxSessions?: number | undefined;
|
|
238
247
|
defaultYieldMs?: number | undefined;
|
|
239
248
|
}>>;
|
|
@@ -245,8 +254,8 @@ export declare const runtimeConfigSchema: z.ZodObject<{
|
|
|
245
254
|
maxCaptureBytes: number;
|
|
246
255
|
maxModelOutputChars: number;
|
|
247
256
|
session: {
|
|
248
|
-
maxOutputTokens: number;
|
|
249
257
|
enabled: boolean;
|
|
258
|
+
maxOutputTokens: number;
|
|
250
259
|
maxSessions: number;
|
|
251
260
|
defaultYieldMs: number;
|
|
252
261
|
};
|
|
@@ -258,8 +267,8 @@ export declare const runtimeConfigSchema: z.ZodObject<{
|
|
|
258
267
|
maxCaptureBytes?: number | undefined;
|
|
259
268
|
maxModelOutputChars?: number | undefined;
|
|
260
269
|
session?: {
|
|
261
|
-
maxOutputTokens?: number | undefined;
|
|
262
270
|
enabled?: boolean | undefined;
|
|
271
|
+
maxOutputTokens?: number | undefined;
|
|
263
272
|
maxSessions?: number | undefined;
|
|
264
273
|
defaultYieldMs?: number | undefined;
|
|
265
274
|
} | undefined;
|
|
@@ -273,8 +282,8 @@ export declare const runtimeConfigSchema: z.ZodObject<{
|
|
|
273
282
|
maxCaptureBytes: number;
|
|
274
283
|
maxModelOutputChars: number;
|
|
275
284
|
session: {
|
|
276
|
-
maxOutputTokens: number;
|
|
277
285
|
enabled: boolean;
|
|
286
|
+
maxOutputTokens: number;
|
|
278
287
|
maxSessions: number;
|
|
279
288
|
defaultYieldMs: number;
|
|
280
289
|
};
|
|
@@ -284,21 +293,21 @@ export declare const runtimeConfigSchema: z.ZodObject<{
|
|
|
284
293
|
turnTimeoutMs: number;
|
|
285
294
|
threadsDir: string;
|
|
286
295
|
approval: {
|
|
287
|
-
default: "
|
|
296
|
+
default: "guarded" | "auto" | "deny";
|
|
288
297
|
overrides: Record<string, "auto" | "deny" | "confirm">;
|
|
289
298
|
};
|
|
290
299
|
compaction: {
|
|
291
|
-
maxOutputTokens: number;
|
|
292
300
|
enabled: boolean;
|
|
293
301
|
strategy: "summarize" | "truncate";
|
|
294
302
|
timeoutMs: number;
|
|
303
|
+
maxOutputTokens: number;
|
|
295
304
|
threshold: number;
|
|
296
305
|
keepRecentTurns: number;
|
|
297
306
|
keepRecentTokens: number;
|
|
298
307
|
thinkingLevel?: "off" | "low" | "medium" | "high" | undefined;
|
|
299
308
|
};
|
|
300
|
-
model?: string | undefined;
|
|
301
309
|
provider?: string | undefined;
|
|
310
|
+
model?: string | undefined;
|
|
302
311
|
contextWindow?: number | undefined;
|
|
303
312
|
}, {
|
|
304
313
|
shell?: {
|
|
@@ -309,29 +318,29 @@ export declare const runtimeConfigSchema: z.ZodObject<{
|
|
|
309
318
|
maxCaptureBytes?: number | undefined;
|
|
310
319
|
maxModelOutputChars?: number | undefined;
|
|
311
320
|
session?: {
|
|
312
|
-
maxOutputTokens?: number | undefined;
|
|
313
321
|
enabled?: boolean | undefined;
|
|
322
|
+
maxOutputTokens?: number | undefined;
|
|
314
323
|
maxSessions?: number | undefined;
|
|
315
324
|
defaultYieldMs?: number | undefined;
|
|
316
325
|
} | undefined;
|
|
317
326
|
} | undefined;
|
|
318
|
-
model?: string | undefined;
|
|
319
|
-
provider?: string | undefined;
|
|
320
327
|
thinkingLevel?: "off" | "low" | "medium" | "high" | undefined;
|
|
328
|
+
provider?: string | undefined;
|
|
329
|
+
model?: string | undefined;
|
|
321
330
|
maxSteps?: number | undefined;
|
|
322
331
|
turnTimeoutMs?: number | undefined;
|
|
323
332
|
threadsDir?: string | undefined;
|
|
324
333
|
contextWindow?: number | undefined;
|
|
325
334
|
approval?: {
|
|
326
|
-
default?: "
|
|
335
|
+
default?: "guarded" | "auto" | "deny" | undefined;
|
|
327
336
|
overrides?: Record<string, "auto" | "deny" | "confirm"> | undefined;
|
|
328
337
|
} | undefined;
|
|
329
338
|
compaction?: {
|
|
330
|
-
maxOutputTokens?: number | undefined;
|
|
331
339
|
enabled?: boolean | undefined;
|
|
332
340
|
strategy?: "summarize" | "truncate" | undefined;
|
|
333
341
|
timeoutMs?: number | undefined;
|
|
334
342
|
thinkingLevel?: "off" | "low" | "medium" | "high" | undefined;
|
|
343
|
+
maxOutputTokens?: number | undefined;
|
|
335
344
|
threshold?: number | undefined;
|
|
336
345
|
keepRecentTurns?: number | undefined;
|
|
337
346
|
keepRecentTokens?: number | undefined;
|
|
@@ -419,12 +428,12 @@ export declare const browserInstanceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
419
428
|
channel: "chrome" | "chromium" | "msedge";
|
|
420
429
|
userDataDir: string;
|
|
421
430
|
platform?: "zhipin" | "yupao" | undefined;
|
|
422
|
-
args?: string[] | undefined;
|
|
423
431
|
headless?: boolean | undefined;
|
|
424
432
|
cdpUrl?: string | undefined;
|
|
425
433
|
cdpPort?: number | undefined;
|
|
426
434
|
executablePath?: string | undefined;
|
|
427
435
|
sessionsDir?: string | undefined;
|
|
436
|
+
args?: string[] | undefined;
|
|
428
437
|
profileName?: string | undefined;
|
|
429
438
|
profileColor?: string | undefined;
|
|
430
439
|
windowBounds?: {
|
|
@@ -438,7 +447,6 @@ export declare const browserInstanceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
438
447
|
userDataDir: string;
|
|
439
448
|
platform?: "zhipin" | "yupao" | undefined;
|
|
440
449
|
mode?: "managed-cdp" | "remote-cdp" | "existing-session" | undefined;
|
|
441
|
-
args?: string[] | undefined;
|
|
442
450
|
headless?: boolean | undefined;
|
|
443
451
|
cdpUrl?: string | undefined;
|
|
444
452
|
cdpHost?: string | undefined;
|
|
@@ -446,6 +454,7 @@ export declare const browserInstanceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
446
454
|
channel?: "chrome" | "chromium" | "msedge" | undefined;
|
|
447
455
|
executablePath?: string | undefined;
|
|
448
456
|
sessionsDir?: string | undefined;
|
|
457
|
+
args?: string[] | undefined;
|
|
449
458
|
profileName?: string | undefined;
|
|
450
459
|
profileColor?: string | undefined;
|
|
451
460
|
windowBounds?: {
|
|
@@ -461,12 +470,12 @@ export declare const browserInstanceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
461
470
|
channel: "chrome" | "chromium" | "msedge";
|
|
462
471
|
userDataDir: string;
|
|
463
472
|
platform?: "zhipin" | "yupao" | undefined;
|
|
464
|
-
args?: string[] | undefined;
|
|
465
473
|
headless?: boolean | undefined;
|
|
466
474
|
cdpUrl?: string | undefined;
|
|
467
475
|
cdpPort?: number | undefined;
|
|
468
476
|
executablePath?: string | undefined;
|
|
469
477
|
sessionsDir?: string | undefined;
|
|
478
|
+
args?: string[] | undefined;
|
|
470
479
|
profileName?: string | undefined;
|
|
471
480
|
profileColor?: string | undefined;
|
|
472
481
|
windowBounds?: {
|
|
@@ -480,7 +489,6 @@ export declare const browserInstanceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
480
489
|
userDataDir: string;
|
|
481
490
|
platform?: "zhipin" | "yupao" | undefined;
|
|
482
491
|
mode?: "managed-cdp" | "remote-cdp" | "existing-session" | undefined;
|
|
483
|
-
args?: string[] | undefined;
|
|
484
492
|
headless?: boolean | undefined;
|
|
485
493
|
cdpUrl?: string | undefined;
|
|
486
494
|
cdpHost?: string | undefined;
|
|
@@ -488,6 +496,7 @@ export declare const browserInstanceConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
488
496
|
channel?: "chrome" | "chromium" | "msedge" | undefined;
|
|
489
497
|
executablePath?: string | undefined;
|
|
490
498
|
sessionsDir?: string | undefined;
|
|
499
|
+
args?: string[] | undefined;
|
|
491
500
|
profileName?: string | undefined;
|
|
492
501
|
profileColor?: string | undefined;
|
|
493
502
|
windowBounds?: {
|
|
@@ -537,12 +546,12 @@ export declare const browserConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
537
546
|
channel: "chrome" | "chromium" | "msedge";
|
|
538
547
|
userDataDir: string;
|
|
539
548
|
platform?: "zhipin" | "yupao" | undefined;
|
|
540
|
-
args?: string[] | undefined;
|
|
541
549
|
headless?: boolean | undefined;
|
|
542
550
|
cdpUrl?: string | undefined;
|
|
543
551
|
cdpPort?: number | undefined;
|
|
544
552
|
executablePath?: string | undefined;
|
|
545
553
|
sessionsDir?: string | undefined;
|
|
554
|
+
args?: string[] | undefined;
|
|
546
555
|
profileName?: string | undefined;
|
|
547
556
|
profileColor?: string | undefined;
|
|
548
557
|
windowBounds?: {
|
|
@@ -556,7 +565,6 @@ export declare const browserConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
556
565
|
userDataDir: string;
|
|
557
566
|
platform?: "zhipin" | "yupao" | undefined;
|
|
558
567
|
mode?: "managed-cdp" | "remote-cdp" | "existing-session" | undefined;
|
|
559
|
-
args?: string[] | undefined;
|
|
560
568
|
headless?: boolean | undefined;
|
|
561
569
|
cdpUrl?: string | undefined;
|
|
562
570
|
cdpHost?: string | undefined;
|
|
@@ -564,6 +572,7 @@ export declare const browserConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
564
572
|
channel?: "chrome" | "chromium" | "msedge" | undefined;
|
|
565
573
|
executablePath?: string | undefined;
|
|
566
574
|
sessionsDir?: string | undefined;
|
|
575
|
+
args?: string[] | undefined;
|
|
567
576
|
profileName?: string | undefined;
|
|
568
577
|
profileColor?: string | undefined;
|
|
569
578
|
windowBounds?: {
|
|
@@ -579,12 +588,12 @@ export declare const browserConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
579
588
|
channel: "chrome" | "chromium" | "msedge";
|
|
580
589
|
userDataDir: string;
|
|
581
590
|
platform?: "zhipin" | "yupao" | undefined;
|
|
582
|
-
args?: string[] | undefined;
|
|
583
591
|
headless?: boolean | undefined;
|
|
584
592
|
cdpUrl?: string | undefined;
|
|
585
593
|
cdpPort?: number | undefined;
|
|
586
594
|
executablePath?: string | undefined;
|
|
587
595
|
sessionsDir?: string | undefined;
|
|
596
|
+
args?: string[] | undefined;
|
|
588
597
|
profileName?: string | undefined;
|
|
589
598
|
profileColor?: string | undefined;
|
|
590
599
|
windowBounds?: {
|
|
@@ -598,7 +607,6 @@ export declare const browserConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
598
607
|
userDataDir: string;
|
|
599
608
|
platform?: "zhipin" | "yupao" | undefined;
|
|
600
609
|
mode?: "managed-cdp" | "remote-cdp" | "existing-session" | undefined;
|
|
601
|
-
args?: string[] | undefined;
|
|
602
610
|
headless?: boolean | undefined;
|
|
603
611
|
cdpUrl?: string | undefined;
|
|
604
612
|
cdpHost?: string | undefined;
|
|
@@ -606,6 +614,7 @@ export declare const browserConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
606
614
|
channel?: "chrome" | "chromium" | "msedge" | undefined;
|
|
607
615
|
executablePath?: string | undefined;
|
|
608
616
|
sessionsDir?: string | undefined;
|
|
617
|
+
args?: string[] | undefined;
|
|
609
618
|
profileName?: string | undefined;
|
|
610
619
|
profileColor?: string | undefined;
|
|
611
620
|
windowBounds?: {
|
|
@@ -623,12 +632,12 @@ export declare const browserConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
623
632
|
channel: "chrome" | "chromium" | "msedge";
|
|
624
633
|
userDataDir: string;
|
|
625
634
|
platform?: "zhipin" | "yupao" | undefined;
|
|
626
|
-
args?: string[] | undefined;
|
|
627
635
|
headless?: boolean | undefined;
|
|
628
636
|
cdpUrl?: string | undefined;
|
|
629
637
|
cdpPort?: number | undefined;
|
|
630
638
|
executablePath?: string | undefined;
|
|
631
639
|
sessionsDir?: string | undefined;
|
|
640
|
+
args?: string[] | undefined;
|
|
632
641
|
profileName?: string | undefined;
|
|
633
642
|
profileColor?: string | undefined;
|
|
634
643
|
windowBounds?: {
|
|
@@ -646,7 +655,6 @@ export declare const browserConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
646
655
|
userDataDir: string;
|
|
647
656
|
platform?: "zhipin" | "yupao" | undefined;
|
|
648
657
|
mode?: "managed-cdp" | "remote-cdp" | "existing-session" | undefined;
|
|
649
|
-
args?: string[] | undefined;
|
|
650
658
|
headless?: boolean | undefined;
|
|
651
659
|
cdpUrl?: string | undefined;
|
|
652
660
|
cdpHost?: string | undefined;
|
|
@@ -654,6 +662,7 @@ export declare const browserConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
654
662
|
channel?: "chrome" | "chromium" | "msedge" | undefined;
|
|
655
663
|
executablePath?: string | undefined;
|
|
656
664
|
sessionsDir?: string | undefined;
|
|
665
|
+
args?: string[] | undefined;
|
|
657
666
|
profileName?: string | undefined;
|
|
658
667
|
profileColor?: string | undefined;
|
|
659
668
|
windowBounds?: {
|
|
@@ -671,12 +680,12 @@ export declare const browserConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
671
680
|
channel: "chrome" | "chromium" | "msedge";
|
|
672
681
|
userDataDir: string;
|
|
673
682
|
platform?: "zhipin" | "yupao" | undefined;
|
|
674
|
-
args?: string[] | undefined;
|
|
675
683
|
headless?: boolean | undefined;
|
|
676
684
|
cdpUrl?: string | undefined;
|
|
677
685
|
cdpPort?: number | undefined;
|
|
678
686
|
executablePath?: string | undefined;
|
|
679
687
|
sessionsDir?: string | undefined;
|
|
688
|
+
args?: string[] | undefined;
|
|
680
689
|
profileName?: string | undefined;
|
|
681
690
|
profileColor?: string | undefined;
|
|
682
691
|
windowBounds?: {
|
|
@@ -694,7 +703,6 @@ export declare const browserConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
694
703
|
userDataDir: string;
|
|
695
704
|
platform?: "zhipin" | "yupao" | undefined;
|
|
696
705
|
mode?: "managed-cdp" | "remote-cdp" | "existing-session" | undefined;
|
|
697
|
-
args?: string[] | undefined;
|
|
698
706
|
headless?: boolean | undefined;
|
|
699
707
|
cdpUrl?: string | undefined;
|
|
700
708
|
cdpHost?: string | undefined;
|
|
@@ -702,6 +710,7 @@ export declare const browserConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
|
702
710
|
channel?: "chrome" | "chromium" | "msedge" | undefined;
|
|
703
711
|
executablePath?: string | undefined;
|
|
704
712
|
sessionsDir?: string | undefined;
|
|
713
|
+
args?: string[] | undefined;
|
|
705
714
|
profileName?: string | undefined;
|
|
706
715
|
profileColor?: string | undefined;
|
|
707
716
|
windowBounds?: {
|
|
@@ -752,6 +761,13 @@ export declare const rollConfigSchema: z.ZodObject<{
|
|
|
752
761
|
llmModel?: string | undefined;
|
|
753
762
|
confirmThreshold?: number | undefined;
|
|
754
763
|
}>;
|
|
764
|
+
chat: z.ZodDefault<z.ZodObject<{
|
|
765
|
+
screenMode: z.ZodDefault<z.ZodEnum<["auto", "fullscreen", "inline"]>>;
|
|
766
|
+
}, "strip", z.ZodTypeAny, {
|
|
767
|
+
screenMode: "auto" | "fullscreen" | "inline";
|
|
768
|
+
}, {
|
|
769
|
+
screenMode?: "auto" | "fullscreen" | "inline" | undefined;
|
|
770
|
+
}>>;
|
|
755
771
|
runtime: z.ZodDefault<z.ZodObject<{
|
|
756
772
|
provider: z.ZodOptional<z.ZodString>;
|
|
757
773
|
model: z.ZodOptional<z.ZodString>;
|
|
@@ -764,10 +780,10 @@ export declare const rollConfigSchema: z.ZodObject<{
|
|
|
764
780
|
default: z.ZodDefault<z.ZodEnum<["guarded", "auto", "deny"]>>;
|
|
765
781
|
overrides: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodEnum<["auto", "confirm", "deny"]>>>;
|
|
766
782
|
}, "strip", z.ZodTypeAny, {
|
|
767
|
-
default: "
|
|
783
|
+
default: "guarded" | "auto" | "deny";
|
|
768
784
|
overrides: Record<string, "auto" | "deny" | "confirm">;
|
|
769
785
|
}, {
|
|
770
|
-
default?: "
|
|
786
|
+
default?: "guarded" | "auto" | "deny" | undefined;
|
|
771
787
|
overrides?: Record<string, "auto" | "deny" | "confirm"> | undefined;
|
|
772
788
|
}>>;
|
|
773
789
|
compaction: z.ZodDefault<z.ZodObject<{
|
|
@@ -780,20 +796,20 @@ export declare const rollConfigSchema: z.ZodObject<{
|
|
|
780
796
|
keepRecentTurns: z.ZodDefault<z.ZodNumber>;
|
|
781
797
|
keepRecentTokens: z.ZodDefault<z.ZodNumber>;
|
|
782
798
|
}, "strip", z.ZodTypeAny, {
|
|
783
|
-
maxOutputTokens: number;
|
|
784
799
|
enabled: boolean;
|
|
785
800
|
strategy: "summarize" | "truncate";
|
|
786
801
|
timeoutMs: number;
|
|
802
|
+
maxOutputTokens: number;
|
|
787
803
|
threshold: number;
|
|
788
804
|
keepRecentTurns: number;
|
|
789
805
|
keepRecentTokens: number;
|
|
790
806
|
thinkingLevel?: "off" | "low" | "medium" | "high" | undefined;
|
|
791
807
|
}, {
|
|
792
|
-
maxOutputTokens?: number | undefined;
|
|
793
808
|
enabled?: boolean | undefined;
|
|
794
809
|
strategy?: "summarize" | "truncate" | undefined;
|
|
795
810
|
timeoutMs?: number | undefined;
|
|
796
811
|
thinkingLevel?: "off" | "low" | "medium" | "high" | undefined;
|
|
812
|
+
maxOutputTokens?: number | undefined;
|
|
797
813
|
threshold?: number | undefined;
|
|
798
814
|
keepRecentTurns?: number | undefined;
|
|
799
815
|
keepRecentTokens?: number | undefined;
|
|
@@ -811,13 +827,13 @@ export declare const rollConfigSchema: z.ZodObject<{
|
|
|
811
827
|
defaultYieldMs: z.ZodDefault<z.ZodNumber>;
|
|
812
828
|
maxOutputTokens: z.ZodDefault<z.ZodNumber>;
|
|
813
829
|
}, "strip", z.ZodTypeAny, {
|
|
814
|
-
maxOutputTokens: number;
|
|
815
830
|
enabled: boolean;
|
|
831
|
+
maxOutputTokens: number;
|
|
816
832
|
maxSessions: number;
|
|
817
833
|
defaultYieldMs: number;
|
|
818
834
|
}, {
|
|
819
|
-
maxOutputTokens?: number | undefined;
|
|
820
835
|
enabled?: boolean | undefined;
|
|
836
|
+
maxOutputTokens?: number | undefined;
|
|
821
837
|
maxSessions?: number | undefined;
|
|
822
838
|
defaultYieldMs?: number | undefined;
|
|
823
839
|
}>>;
|
|
@@ -829,8 +845,8 @@ export declare const rollConfigSchema: z.ZodObject<{
|
|
|
829
845
|
maxCaptureBytes: number;
|
|
830
846
|
maxModelOutputChars: number;
|
|
831
847
|
session: {
|
|
832
|
-
maxOutputTokens: number;
|
|
833
848
|
enabled: boolean;
|
|
849
|
+
maxOutputTokens: number;
|
|
834
850
|
maxSessions: number;
|
|
835
851
|
defaultYieldMs: number;
|
|
836
852
|
};
|
|
@@ -842,8 +858,8 @@ export declare const rollConfigSchema: z.ZodObject<{
|
|
|
842
858
|
maxCaptureBytes?: number | undefined;
|
|
843
859
|
maxModelOutputChars?: number | undefined;
|
|
844
860
|
session?: {
|
|
845
|
-
maxOutputTokens?: number | undefined;
|
|
846
861
|
enabled?: boolean | undefined;
|
|
862
|
+
maxOutputTokens?: number | undefined;
|
|
847
863
|
maxSessions?: number | undefined;
|
|
848
864
|
defaultYieldMs?: number | undefined;
|
|
849
865
|
} | undefined;
|
|
@@ -857,8 +873,8 @@ export declare const rollConfigSchema: z.ZodObject<{
|
|
|
857
873
|
maxCaptureBytes: number;
|
|
858
874
|
maxModelOutputChars: number;
|
|
859
875
|
session: {
|
|
860
|
-
maxOutputTokens: number;
|
|
861
876
|
enabled: boolean;
|
|
877
|
+
maxOutputTokens: number;
|
|
862
878
|
maxSessions: number;
|
|
863
879
|
defaultYieldMs: number;
|
|
864
880
|
};
|
|
@@ -868,21 +884,21 @@ export declare const rollConfigSchema: z.ZodObject<{
|
|
|
868
884
|
turnTimeoutMs: number;
|
|
869
885
|
threadsDir: string;
|
|
870
886
|
approval: {
|
|
871
|
-
default: "
|
|
887
|
+
default: "guarded" | "auto" | "deny";
|
|
872
888
|
overrides: Record<string, "auto" | "deny" | "confirm">;
|
|
873
889
|
};
|
|
874
890
|
compaction: {
|
|
875
|
-
maxOutputTokens: number;
|
|
876
891
|
enabled: boolean;
|
|
877
892
|
strategy: "summarize" | "truncate";
|
|
878
893
|
timeoutMs: number;
|
|
894
|
+
maxOutputTokens: number;
|
|
879
895
|
threshold: number;
|
|
880
896
|
keepRecentTurns: number;
|
|
881
897
|
keepRecentTokens: number;
|
|
882
898
|
thinkingLevel?: "off" | "low" | "medium" | "high" | undefined;
|
|
883
899
|
};
|
|
884
|
-
model?: string | undefined;
|
|
885
900
|
provider?: string | undefined;
|
|
901
|
+
model?: string | undefined;
|
|
886
902
|
contextWindow?: number | undefined;
|
|
887
903
|
}, {
|
|
888
904
|
shell?: {
|
|
@@ -893,29 +909,29 @@ export declare const rollConfigSchema: z.ZodObject<{
|
|
|
893
909
|
maxCaptureBytes?: number | undefined;
|
|
894
910
|
maxModelOutputChars?: number | undefined;
|
|
895
911
|
session?: {
|
|
896
|
-
maxOutputTokens?: number | undefined;
|
|
897
912
|
enabled?: boolean | undefined;
|
|
913
|
+
maxOutputTokens?: number | undefined;
|
|
898
914
|
maxSessions?: number | undefined;
|
|
899
915
|
defaultYieldMs?: number | undefined;
|
|
900
916
|
} | undefined;
|
|
901
917
|
} | undefined;
|
|
902
|
-
model?: string | undefined;
|
|
903
|
-
provider?: string | undefined;
|
|
904
918
|
thinkingLevel?: "off" | "low" | "medium" | "high" | undefined;
|
|
919
|
+
provider?: string | undefined;
|
|
920
|
+
model?: string | undefined;
|
|
905
921
|
maxSteps?: number | undefined;
|
|
906
922
|
turnTimeoutMs?: number | undefined;
|
|
907
923
|
threadsDir?: string | undefined;
|
|
908
924
|
contextWindow?: number | undefined;
|
|
909
925
|
approval?: {
|
|
910
|
-
default?: "
|
|
926
|
+
default?: "guarded" | "auto" | "deny" | undefined;
|
|
911
927
|
overrides?: Record<string, "auto" | "deny" | "confirm"> | undefined;
|
|
912
928
|
} | undefined;
|
|
913
929
|
compaction?: {
|
|
914
|
-
maxOutputTokens?: number | undefined;
|
|
915
930
|
enabled?: boolean | undefined;
|
|
916
931
|
strategy?: "summarize" | "truncate" | undefined;
|
|
917
932
|
timeoutMs?: number | undefined;
|
|
918
933
|
thinkingLevel?: "off" | "low" | "medium" | "high" | undefined;
|
|
934
|
+
maxOutputTokens?: number | undefined;
|
|
919
935
|
threshold?: number | undefined;
|
|
920
936
|
keepRecentTurns?: number | undefined;
|
|
921
937
|
keepRecentTokens?: number | undefined;
|
|
@@ -999,12 +1015,12 @@ export declare const rollConfigSchema: z.ZodObject<{
|
|
|
999
1015
|
channel: "chrome" | "chromium" | "msedge";
|
|
1000
1016
|
userDataDir: string;
|
|
1001
1017
|
platform?: "zhipin" | "yupao" | undefined;
|
|
1002
|
-
args?: string[] | undefined;
|
|
1003
1018
|
headless?: boolean | undefined;
|
|
1004
1019
|
cdpUrl?: string | undefined;
|
|
1005
1020
|
cdpPort?: number | undefined;
|
|
1006
1021
|
executablePath?: string | undefined;
|
|
1007
1022
|
sessionsDir?: string | undefined;
|
|
1023
|
+
args?: string[] | undefined;
|
|
1008
1024
|
profileName?: string | undefined;
|
|
1009
1025
|
profileColor?: string | undefined;
|
|
1010
1026
|
windowBounds?: {
|
|
@@ -1018,7 +1034,6 @@ export declare const rollConfigSchema: z.ZodObject<{
|
|
|
1018
1034
|
userDataDir: string;
|
|
1019
1035
|
platform?: "zhipin" | "yupao" | undefined;
|
|
1020
1036
|
mode?: "managed-cdp" | "remote-cdp" | "existing-session" | undefined;
|
|
1021
|
-
args?: string[] | undefined;
|
|
1022
1037
|
headless?: boolean | undefined;
|
|
1023
1038
|
cdpUrl?: string | undefined;
|
|
1024
1039
|
cdpHost?: string | undefined;
|
|
@@ -1026,6 +1041,7 @@ export declare const rollConfigSchema: z.ZodObject<{
|
|
|
1026
1041
|
channel?: "chrome" | "chromium" | "msedge" | undefined;
|
|
1027
1042
|
executablePath?: string | undefined;
|
|
1028
1043
|
sessionsDir?: string | undefined;
|
|
1044
|
+
args?: string[] | undefined;
|
|
1029
1045
|
profileName?: string | undefined;
|
|
1030
1046
|
profileColor?: string | undefined;
|
|
1031
1047
|
windowBounds?: {
|
|
@@ -1041,12 +1057,12 @@ export declare const rollConfigSchema: z.ZodObject<{
|
|
|
1041
1057
|
channel: "chrome" | "chromium" | "msedge";
|
|
1042
1058
|
userDataDir: string;
|
|
1043
1059
|
platform?: "zhipin" | "yupao" | undefined;
|
|
1044
|
-
args?: string[] | undefined;
|
|
1045
1060
|
headless?: boolean | undefined;
|
|
1046
1061
|
cdpUrl?: string | undefined;
|
|
1047
1062
|
cdpPort?: number | undefined;
|
|
1048
1063
|
executablePath?: string | undefined;
|
|
1049
1064
|
sessionsDir?: string | undefined;
|
|
1065
|
+
args?: string[] | undefined;
|
|
1050
1066
|
profileName?: string | undefined;
|
|
1051
1067
|
profileColor?: string | undefined;
|
|
1052
1068
|
windowBounds?: {
|
|
@@ -1060,7 +1076,6 @@ export declare const rollConfigSchema: z.ZodObject<{
|
|
|
1060
1076
|
userDataDir: string;
|
|
1061
1077
|
platform?: "zhipin" | "yupao" | undefined;
|
|
1062
1078
|
mode?: "managed-cdp" | "remote-cdp" | "existing-session" | undefined;
|
|
1063
|
-
args?: string[] | undefined;
|
|
1064
1079
|
headless?: boolean | undefined;
|
|
1065
1080
|
cdpUrl?: string | undefined;
|
|
1066
1081
|
cdpHost?: string | undefined;
|
|
@@ -1068,6 +1083,7 @@ export declare const rollConfigSchema: z.ZodObject<{
|
|
|
1068
1083
|
channel?: "chrome" | "chromium" | "msedge" | undefined;
|
|
1069
1084
|
executablePath?: string | undefined;
|
|
1070
1085
|
sessionsDir?: string | undefined;
|
|
1086
|
+
args?: string[] | undefined;
|
|
1071
1087
|
profileName?: string | undefined;
|
|
1072
1088
|
profileColor?: string | undefined;
|
|
1073
1089
|
windowBounds?: {
|
|
@@ -1085,12 +1101,12 @@ export declare const rollConfigSchema: z.ZodObject<{
|
|
|
1085
1101
|
channel: "chrome" | "chromium" | "msedge";
|
|
1086
1102
|
userDataDir: string;
|
|
1087
1103
|
platform?: "zhipin" | "yupao" | undefined;
|
|
1088
|
-
args?: string[] | undefined;
|
|
1089
1104
|
headless?: boolean | undefined;
|
|
1090
1105
|
cdpUrl?: string | undefined;
|
|
1091
1106
|
cdpPort?: number | undefined;
|
|
1092
1107
|
executablePath?: string | undefined;
|
|
1093
1108
|
sessionsDir?: string | undefined;
|
|
1109
|
+
args?: string[] | undefined;
|
|
1094
1110
|
profileName?: string | undefined;
|
|
1095
1111
|
profileColor?: string | undefined;
|
|
1096
1112
|
windowBounds?: {
|
|
@@ -1108,7 +1124,6 @@ export declare const rollConfigSchema: z.ZodObject<{
|
|
|
1108
1124
|
userDataDir: string;
|
|
1109
1125
|
platform?: "zhipin" | "yupao" | undefined;
|
|
1110
1126
|
mode?: "managed-cdp" | "remote-cdp" | "existing-session" | undefined;
|
|
1111
|
-
args?: string[] | undefined;
|
|
1112
1127
|
headless?: boolean | undefined;
|
|
1113
1128
|
cdpUrl?: string | undefined;
|
|
1114
1129
|
cdpHost?: string | undefined;
|
|
@@ -1116,6 +1131,7 @@ export declare const rollConfigSchema: z.ZodObject<{
|
|
|
1116
1131
|
channel?: "chrome" | "chromium" | "msedge" | undefined;
|
|
1117
1132
|
executablePath?: string | undefined;
|
|
1118
1133
|
sessionsDir?: string | undefined;
|
|
1134
|
+
args?: string[] | undefined;
|
|
1119
1135
|
profileName?: string | undefined;
|
|
1120
1136
|
profileColor?: string | undefined;
|
|
1121
1137
|
windowBounds?: {
|
|
@@ -1133,12 +1149,12 @@ export declare const rollConfigSchema: z.ZodObject<{
|
|
|
1133
1149
|
channel: "chrome" | "chromium" | "msedge";
|
|
1134
1150
|
userDataDir: string;
|
|
1135
1151
|
platform?: "zhipin" | "yupao" | undefined;
|
|
1136
|
-
args?: string[] | undefined;
|
|
1137
1152
|
headless?: boolean | undefined;
|
|
1138
1153
|
cdpUrl?: string | undefined;
|
|
1139
1154
|
cdpPort?: number | undefined;
|
|
1140
1155
|
executablePath?: string | undefined;
|
|
1141
1156
|
sessionsDir?: string | undefined;
|
|
1157
|
+
args?: string[] | undefined;
|
|
1142
1158
|
profileName?: string | undefined;
|
|
1143
1159
|
profileColor?: string | undefined;
|
|
1144
1160
|
windowBounds?: {
|
|
@@ -1156,7 +1172,6 @@ export declare const rollConfigSchema: z.ZodObject<{
|
|
|
1156
1172
|
userDataDir: string;
|
|
1157
1173
|
platform?: "zhipin" | "yupao" | undefined;
|
|
1158
1174
|
mode?: "managed-cdp" | "remote-cdp" | "existing-session" | undefined;
|
|
1159
|
-
args?: string[] | undefined;
|
|
1160
1175
|
headless?: boolean | undefined;
|
|
1161
1176
|
cdpUrl?: string | undefined;
|
|
1162
1177
|
cdpHost?: string | undefined;
|
|
@@ -1164,6 +1179,7 @@ export declare const rollConfigSchema: z.ZodObject<{
|
|
|
1164
1179
|
channel?: "chrome" | "chromium" | "msedge" | undefined;
|
|
1165
1180
|
executablePath?: string | undefined;
|
|
1166
1181
|
sessionsDir?: string | undefined;
|
|
1182
|
+
args?: string[] | undefined;
|
|
1167
1183
|
profileName?: string | undefined;
|
|
1168
1184
|
profileColor?: string | undefined;
|
|
1169
1185
|
windowBounds?: {
|
|
@@ -1186,6 +1202,9 @@ export declare const rollConfigSchema: z.ZodObject<{
|
|
|
1186
1202
|
llmModel?: string | undefined;
|
|
1187
1203
|
confirmThreshold?: number | undefined;
|
|
1188
1204
|
};
|
|
1205
|
+
chat: {
|
|
1206
|
+
screenMode: "auto" | "fullscreen" | "inline";
|
|
1207
|
+
};
|
|
1189
1208
|
skills: {
|
|
1190
1209
|
dirs: string[];
|
|
1191
1210
|
};
|
|
@@ -1196,12 +1215,12 @@ export declare const rollConfigSchema: z.ZodObject<{
|
|
|
1196
1215
|
channel: "chrome" | "chromium" | "msedge";
|
|
1197
1216
|
userDataDir: string;
|
|
1198
1217
|
platform?: "zhipin" | "yupao" | undefined;
|
|
1199
|
-
args?: string[] | undefined;
|
|
1200
1218
|
headless?: boolean | undefined;
|
|
1201
1219
|
cdpUrl?: string | undefined;
|
|
1202
1220
|
cdpPort?: number | undefined;
|
|
1203
1221
|
executablePath?: string | undefined;
|
|
1204
1222
|
sessionsDir?: string | undefined;
|
|
1223
|
+
args?: string[] | undefined;
|
|
1205
1224
|
profileName?: string | undefined;
|
|
1206
1225
|
profileColor?: string | undefined;
|
|
1207
1226
|
windowBounds?: {
|
|
@@ -1231,8 +1250,8 @@ export declare const rollConfigSchema: z.ZodObject<{
|
|
|
1231
1250
|
maxCaptureBytes: number;
|
|
1232
1251
|
maxModelOutputChars: number;
|
|
1233
1252
|
session: {
|
|
1234
|
-
maxOutputTokens: number;
|
|
1235
1253
|
enabled: boolean;
|
|
1254
|
+
maxOutputTokens: number;
|
|
1236
1255
|
maxSessions: number;
|
|
1237
1256
|
defaultYieldMs: number;
|
|
1238
1257
|
};
|
|
@@ -1242,21 +1261,21 @@ export declare const rollConfigSchema: z.ZodObject<{
|
|
|
1242
1261
|
turnTimeoutMs: number;
|
|
1243
1262
|
threadsDir: string;
|
|
1244
1263
|
approval: {
|
|
1245
|
-
default: "
|
|
1264
|
+
default: "guarded" | "auto" | "deny";
|
|
1246
1265
|
overrides: Record<string, "auto" | "deny" | "confirm">;
|
|
1247
1266
|
};
|
|
1248
1267
|
compaction: {
|
|
1249
|
-
maxOutputTokens: number;
|
|
1250
1268
|
enabled: boolean;
|
|
1251
1269
|
strategy: "summarize" | "truncate";
|
|
1252
1270
|
timeoutMs: number;
|
|
1271
|
+
maxOutputTokens: number;
|
|
1253
1272
|
threshold: number;
|
|
1254
1273
|
keepRecentTurns: number;
|
|
1255
1274
|
keepRecentTokens: number;
|
|
1256
1275
|
thinkingLevel?: "off" | "low" | "medium" | "high" | undefined;
|
|
1257
1276
|
};
|
|
1258
|
-
model?: string | undefined;
|
|
1259
1277
|
provider?: string | undefined;
|
|
1278
|
+
model?: string | undefined;
|
|
1260
1279
|
contextWindow?: number | undefined;
|
|
1261
1280
|
};
|
|
1262
1281
|
agents: {
|
|
@@ -1286,6 +1305,9 @@ export declare const rollConfigSchema: z.ZodObject<{
|
|
|
1286
1305
|
preferOffline?: boolean | undefined;
|
|
1287
1306
|
networkTimeoutMs?: number | undefined;
|
|
1288
1307
|
} | undefined;
|
|
1308
|
+
chat?: {
|
|
1309
|
+
screenMode?: "auto" | "fullscreen" | "inline" | undefined;
|
|
1310
|
+
} | undefined;
|
|
1289
1311
|
skills?: {
|
|
1290
1312
|
dirs?: string[] | undefined;
|
|
1291
1313
|
} | undefined;
|
|
@@ -1295,7 +1317,6 @@ export declare const rollConfigSchema: z.ZodObject<{
|
|
|
1295
1317
|
userDataDir: string;
|
|
1296
1318
|
platform?: "zhipin" | "yupao" | undefined;
|
|
1297
1319
|
mode?: "managed-cdp" | "remote-cdp" | "existing-session" | undefined;
|
|
1298
|
-
args?: string[] | undefined;
|
|
1299
1320
|
headless?: boolean | undefined;
|
|
1300
1321
|
cdpUrl?: string | undefined;
|
|
1301
1322
|
cdpHost?: string | undefined;
|
|
@@ -1303,6 +1324,7 @@ export declare const rollConfigSchema: z.ZodObject<{
|
|
|
1303
1324
|
channel?: "chrome" | "chromium" | "msedge" | undefined;
|
|
1304
1325
|
executablePath?: string | undefined;
|
|
1305
1326
|
sessionsDir?: string | undefined;
|
|
1327
|
+
args?: string[] | undefined;
|
|
1306
1328
|
profileName?: string | undefined;
|
|
1307
1329
|
profileColor?: string | undefined;
|
|
1308
1330
|
windowBounds?: {
|
|
@@ -1323,29 +1345,29 @@ export declare const rollConfigSchema: z.ZodObject<{
|
|
|
1323
1345
|
maxCaptureBytes?: number | undefined;
|
|
1324
1346
|
maxModelOutputChars?: number | undefined;
|
|
1325
1347
|
session?: {
|
|
1326
|
-
maxOutputTokens?: number | undefined;
|
|
1327
1348
|
enabled?: boolean | undefined;
|
|
1349
|
+
maxOutputTokens?: number | undefined;
|
|
1328
1350
|
maxSessions?: number | undefined;
|
|
1329
1351
|
defaultYieldMs?: number | undefined;
|
|
1330
1352
|
} | undefined;
|
|
1331
1353
|
} | undefined;
|
|
1332
|
-
model?: string | undefined;
|
|
1333
|
-
provider?: string | undefined;
|
|
1334
1354
|
thinkingLevel?: "off" | "low" | "medium" | "high" | undefined;
|
|
1355
|
+
provider?: string | undefined;
|
|
1356
|
+
model?: string | undefined;
|
|
1335
1357
|
maxSteps?: number | undefined;
|
|
1336
1358
|
turnTimeoutMs?: number | undefined;
|
|
1337
1359
|
threadsDir?: string | undefined;
|
|
1338
1360
|
contextWindow?: number | undefined;
|
|
1339
1361
|
approval?: {
|
|
1340
|
-
default?: "
|
|
1362
|
+
default?: "guarded" | "auto" | "deny" | undefined;
|
|
1341
1363
|
overrides?: Record<string, "auto" | "deny" | "confirm"> | undefined;
|
|
1342
1364
|
} | undefined;
|
|
1343
1365
|
compaction?: {
|
|
1344
|
-
maxOutputTokens?: number | undefined;
|
|
1345
1366
|
enabled?: boolean | undefined;
|
|
1346
1367
|
strategy?: "summarize" | "truncate" | undefined;
|
|
1347
1368
|
timeoutMs?: number | undefined;
|
|
1348
1369
|
thinkingLevel?: "off" | "low" | "medium" | "high" | undefined;
|
|
1370
|
+
maxOutputTokens?: number | undefined;
|
|
1349
1371
|
threshold?: number | undefined;
|
|
1350
1372
|
keepRecentTurns?: number | undefined;
|
|
1351
1373
|
keepRecentTokens?: number | undefined;
|
|
@@ -1353,6 +1375,8 @@ export declare const rollConfigSchema: z.ZodObject<{
|
|
|
1353
1375
|
} | undefined;
|
|
1354
1376
|
}>;
|
|
1355
1377
|
export type RollConfig = z.infer<typeof rollConfigSchema>;
|
|
1378
|
+
export type ChatConfig = z.infer<typeof chatConfigSchema>;
|
|
1379
|
+
export type ChatScreenMode = z.infer<typeof chatScreenModeSchema>;
|
|
1356
1380
|
export type RuntimeConfig = z.infer<typeof runtimeConfigSchema>;
|
|
1357
1381
|
export type SkillsConfig = z.infer<typeof skillsConfigSchema>;
|
|
1358
1382
|
export type RuntimeApprovalConfig = z.infer<typeof runtimeApprovalConfigSchema>;
|