mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
fix: add missing terminal settings to type definitions
- Add terminalOutputLineLimit, terminalOutputCharacterLimit to GlobalSettings schema - Add terminalCompressProgressBar to GlobalSettings schema - Keep terminalOutputPreviewSize for backward compatibility with OutputInterceptor - Add new terminal settings to ExtensionState type - Add terminalOutputLineLimit/CharacterLimit to ClineProvider getState destructuring
This commit is contained in:
parent
d7852a023c
commit
d2befe4e08
3 changed files with 8 additions and 0 deletions
|
|
@ -176,6 +176,8 @@ export const globalSettingsSchema = z.object({
|
|||
maxImageFileSize: z.number().optional(),
|
||||
maxTotalImageSize: z.number().optional(),
|
||||
|
||||
terminalOutputLineLimit: z.number().optional(),
|
||||
terminalOutputCharacterLimit: z.number().optional(),
|
||||
terminalOutputPreviewSize: z.enum(["small", "medium", "large"]).optional(),
|
||||
terminalShellIntegrationTimeout: z.number().optional(),
|
||||
terminalShellIntegrationDisabled: z.boolean().optional(),
|
||||
|
|
@ -185,6 +187,7 @@ export const globalSettingsSchema = z.object({
|
|||
terminalZshOhMy: z.boolean().optional(),
|
||||
terminalZshP10k: z.boolean().optional(),
|
||||
terminalZdotdir: z.boolean().optional(),
|
||||
terminalCompressProgressBar: z.boolean().optional(),
|
||||
|
||||
diagnosticsEnabled: z.boolean().optional(),
|
||||
|
||||
|
|
|
|||
|
|
@ -302,6 +302,8 @@ export type ExtensionState = Pick<
|
|||
| "soundEnabled"
|
||||
| "soundVolume"
|
||||
| "maxConcurrentFileReads"
|
||||
| "terminalOutputLineLimit"
|
||||
| "terminalOutputCharacterLimit"
|
||||
| "terminalOutputPreviewSize"
|
||||
| "terminalShellIntegrationTimeout"
|
||||
| "terminalShellIntegrationDisabled"
|
||||
|
|
@ -311,6 +313,7 @@ export type ExtensionState = Pick<
|
|||
| "terminalZshOhMy"
|
||||
| "terminalZshP10k"
|
||||
| "terminalZdotdir"
|
||||
| "terminalCompressProgressBar"
|
||||
| "diagnosticsEnabled"
|
||||
| "language"
|
||||
| "modeApiConfigs"
|
||||
|
|
|
|||
|
|
@ -2017,6 +2017,8 @@ export class ClineProvider
|
|||
remoteBrowserEnabled,
|
||||
cachedChromeHostUrl,
|
||||
writeDelayMs,
|
||||
terminalOutputLineLimit,
|
||||
terminalOutputCharacterLimit,
|
||||
terminalShellIntegrationTimeout,
|
||||
terminalShellIntegrationDisabled,
|
||||
terminalCommandDelay,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue