@roo-code/types 1.35.0 → 1.36.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/index.cjs +2 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +23 -1
- package/dist/index.d.ts +23 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -3905,6 +3905,7 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
3905
3905
|
allowedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3906
3906
|
deniedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3907
3907
|
commandExecutionTimeout: z.ZodOptional<z.ZodNumber>;
|
|
3908
|
+
commandTimeoutAllowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3908
3909
|
preventCompletionWithOpenTodos: z.ZodOptional<z.ZodBoolean>;
|
|
3909
3910
|
allowedMaxRequests: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3910
3911
|
autoCondenseContext: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4179,6 +4180,7 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
4179
4180
|
allowedCommands?: string[] | undefined;
|
|
4180
4181
|
deniedCommands?: string[] | undefined;
|
|
4181
4182
|
commandExecutionTimeout?: number | undefined;
|
|
4183
|
+
commandTimeoutAllowlist?: string[] | undefined;
|
|
4182
4184
|
preventCompletionWithOpenTodos?: boolean | undefined;
|
|
4183
4185
|
allowedMaxRequests?: number | null | undefined;
|
|
4184
4186
|
autoCondenseContext?: boolean | undefined;
|
|
@@ -4319,6 +4321,7 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
4319
4321
|
allowedCommands?: string[] | undefined;
|
|
4320
4322
|
deniedCommands?: string[] | undefined;
|
|
4321
4323
|
commandExecutionTimeout?: number | undefined;
|
|
4324
|
+
commandTimeoutAllowlist?: string[] | undefined;
|
|
4322
4325
|
preventCompletionWithOpenTodos?: boolean | undefined;
|
|
4323
4326
|
allowedMaxRequests?: number | null | undefined;
|
|
4324
4327
|
autoCondenseContext?: boolean | undefined;
|
|
@@ -4398,7 +4401,7 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
4398
4401
|
lastModeImportPath?: string | undefined;
|
|
4399
4402
|
}>;
|
|
4400
4403
|
type GlobalSettings = z.infer<typeof globalSettingsSchema>;
|
|
4401
|
-
declare const GLOBAL_SETTINGS_KEYS: ["diffEnabled", "fuzzyMatchThreshold", "rateLimitSeconds", "language", "mode", "customInstructions", "customModes", "currentApiConfigName", "listApiConfigMeta", "pinnedApiConfigs", "lastShownAnnouncementId", "taskHistory", "condensingApiConfigId", "customCondensingPrompt", "autoApprovalEnabled", "alwaysAllowReadOnly", "alwaysAllowReadOnlyOutsideWorkspace", "alwaysAllowWrite", "alwaysAllowWriteOutsideWorkspace", "alwaysAllowWriteProtected", "writeDelayMs", "alwaysAllowBrowser", "alwaysApproveResubmit", "requestDelaySeconds", "alwaysAllowMcp", "alwaysAllowModeSwitch", "alwaysAllowSubtasks", "alwaysAllowExecute", "alwaysAllowFollowupQuestions", "followupAutoApproveTimeoutMs", "alwaysAllowUpdateTodoList", "allowedCommands", "deniedCommands", "commandExecutionTimeout", "preventCompletionWithOpenTodos", "allowedMaxRequests", "autoCondenseContext", "autoCondenseContextPercent", "maxConcurrentFileReads", "browserToolEnabled", "browserViewportSize", "screenshotQuality", "remoteBrowserEnabled", "remoteBrowserHost", "cachedChromeHostUrl", "enableCheckpoints", "ttsEnabled", "ttsSpeed", "soundEnabled", "soundVolume", "maxOpenTabsContext", "maxWorkspaceFiles", "showRooIgnoredFiles", "maxReadFileLine", "terminalOutputLineLimit", "terminalShellIntegrationTimeout", "terminalShellIntegrationDisabled", "terminalCommandDelay", "terminalPowershellCounter", "terminalZshClearEolMark", "terminalZshOhMy", "terminalZshP10k", "terminalZdotdir", "terminalCompressProgressBar", "experiments", "codebaseIndexModels", "codebaseIndexConfig", "telemetrySetting", "mcpEnabled", "enableMcpServerCreation", "modeApiConfigs", "customModePrompts", "customSupportPrompts", "enhancementApiConfigId", "historyPreviewCollapsed", "profileThresholds", "hasOpenedModeSelector", "lastModeExportPath", "lastModeImportPath"];
|
|
4404
|
+
declare const GLOBAL_SETTINGS_KEYS: ["diffEnabled", "fuzzyMatchThreshold", "rateLimitSeconds", "language", "mode", "customInstructions", "customModes", "currentApiConfigName", "listApiConfigMeta", "pinnedApiConfigs", "lastShownAnnouncementId", "taskHistory", "condensingApiConfigId", "customCondensingPrompt", "autoApprovalEnabled", "alwaysAllowReadOnly", "alwaysAllowReadOnlyOutsideWorkspace", "alwaysAllowWrite", "alwaysAllowWriteOutsideWorkspace", "alwaysAllowWriteProtected", "writeDelayMs", "alwaysAllowBrowser", "alwaysApproveResubmit", "requestDelaySeconds", "alwaysAllowMcp", "alwaysAllowModeSwitch", "alwaysAllowSubtasks", "alwaysAllowExecute", "alwaysAllowFollowupQuestions", "followupAutoApproveTimeoutMs", "alwaysAllowUpdateTodoList", "allowedCommands", "deniedCommands", "commandExecutionTimeout", "commandTimeoutAllowlist", "preventCompletionWithOpenTodos", "allowedMaxRequests", "autoCondenseContext", "autoCondenseContextPercent", "maxConcurrentFileReads", "browserToolEnabled", "browserViewportSize", "screenshotQuality", "remoteBrowserEnabled", "remoteBrowserHost", "cachedChromeHostUrl", "enableCheckpoints", "ttsEnabled", "ttsSpeed", "soundEnabled", "soundVolume", "maxOpenTabsContext", "maxWorkspaceFiles", "showRooIgnoredFiles", "maxReadFileLine", "terminalOutputLineLimit", "terminalShellIntegrationTimeout", "terminalShellIntegrationDisabled", "terminalCommandDelay", "terminalPowershellCounter", "terminalZshClearEolMark", "terminalZshOhMy", "terminalZshP10k", "terminalZdotdir", "terminalCompressProgressBar", "experiments", "codebaseIndexModels", "codebaseIndexConfig", "telemetrySetting", "mcpEnabled", "enableMcpServerCreation", "modeApiConfigs", "customModePrompts", "customSupportPrompts", "enhancementApiConfigId", "historyPreviewCollapsed", "profileThresholds", "hasOpenedModeSelector", "lastModeExportPath", "lastModeImportPath"];
|
|
4402
4405
|
/**
|
|
4403
4406
|
* RooCodeSettings
|
|
4404
4407
|
*/
|
|
@@ -4670,6 +4673,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4670
4673
|
allowedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4671
4674
|
deniedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4672
4675
|
commandExecutionTimeout: z.ZodOptional<z.ZodNumber>;
|
|
4676
|
+
commandTimeoutAllowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4673
4677
|
preventCompletionWithOpenTodos: z.ZodOptional<z.ZodBoolean>;
|
|
4674
4678
|
allowedMaxRequests: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4675
4679
|
autoCondenseContext: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5058,6 +5062,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
5058
5062
|
allowedCommands?: string[] | undefined;
|
|
5059
5063
|
deniedCommands?: string[] | undefined;
|
|
5060
5064
|
commandExecutionTimeout?: number | undefined;
|
|
5065
|
+
commandTimeoutAllowlist?: string[] | undefined;
|
|
5061
5066
|
preventCompletionWithOpenTodos?: boolean | undefined;
|
|
5062
5067
|
allowedMaxRequests?: number | null | undefined;
|
|
5063
5068
|
autoCondenseContext?: boolean | undefined;
|
|
@@ -5312,6 +5317,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
5312
5317
|
allowedCommands?: string[] | undefined;
|
|
5313
5318
|
deniedCommands?: string[] | undefined;
|
|
5314
5319
|
commandExecutionTimeout?: number | undefined;
|
|
5320
|
+
commandTimeoutAllowlist?: string[] | undefined;
|
|
5315
5321
|
preventCompletionWithOpenTodos?: boolean | undefined;
|
|
5316
5322
|
allowedMaxRequests?: number | null | undefined;
|
|
5317
5323
|
autoCondenseContext?: boolean | undefined;
|
|
@@ -6312,6 +6318,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6312
6318
|
allowedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6313
6319
|
deniedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6314
6320
|
commandExecutionTimeout: z.ZodOptional<z.ZodNumber>;
|
|
6321
|
+
commandTimeoutAllowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6315
6322
|
preventCompletionWithOpenTodos: z.ZodOptional<z.ZodBoolean>;
|
|
6316
6323
|
allowedMaxRequests: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6317
6324
|
autoCondenseContext: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -6700,6 +6707,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6700
6707
|
allowedCommands?: string[] | undefined;
|
|
6701
6708
|
deniedCommands?: string[] | undefined;
|
|
6702
6709
|
commandExecutionTimeout?: number | undefined;
|
|
6710
|
+
commandTimeoutAllowlist?: string[] | undefined;
|
|
6703
6711
|
preventCompletionWithOpenTodos?: boolean | undefined;
|
|
6704
6712
|
allowedMaxRequests?: number | null | undefined;
|
|
6705
6713
|
autoCondenseContext?: boolean | undefined;
|
|
@@ -6954,6 +6962,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6954
6962
|
allowedCommands?: string[] | undefined;
|
|
6955
6963
|
deniedCommands?: string[] | undefined;
|
|
6956
6964
|
commandExecutionTimeout?: number | undefined;
|
|
6965
|
+
commandTimeoutAllowlist?: string[] | undefined;
|
|
6957
6966
|
preventCompletionWithOpenTodos?: boolean | undefined;
|
|
6958
6967
|
allowedMaxRequests?: number | null | undefined;
|
|
6959
6968
|
autoCondenseContext?: boolean | undefined;
|
|
@@ -7214,6 +7223,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
7214
7223
|
allowedCommands?: string[] | undefined;
|
|
7215
7224
|
deniedCommands?: string[] | undefined;
|
|
7216
7225
|
commandExecutionTimeout?: number | undefined;
|
|
7226
|
+
commandTimeoutAllowlist?: string[] | undefined;
|
|
7217
7227
|
preventCompletionWithOpenTodos?: boolean | undefined;
|
|
7218
7228
|
allowedMaxRequests?: number | null | undefined;
|
|
7219
7229
|
autoCondenseContext?: boolean | undefined;
|
|
@@ -7473,6 +7483,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
7473
7483
|
allowedCommands?: string[] | undefined;
|
|
7474
7484
|
deniedCommands?: string[] | undefined;
|
|
7475
7485
|
commandExecutionTimeout?: number | undefined;
|
|
7486
|
+
commandTimeoutAllowlist?: string[] | undefined;
|
|
7476
7487
|
preventCompletionWithOpenTodos?: boolean | undefined;
|
|
7477
7488
|
allowedMaxRequests?: number | null | undefined;
|
|
7478
7489
|
autoCondenseContext?: boolean | undefined;
|
|
@@ -7735,6 +7746,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
7735
7746
|
allowedCommands?: string[] | undefined;
|
|
7736
7747
|
deniedCommands?: string[] | undefined;
|
|
7737
7748
|
commandExecutionTimeout?: number | undefined;
|
|
7749
|
+
commandTimeoutAllowlist?: string[] | undefined;
|
|
7738
7750
|
preventCompletionWithOpenTodos?: boolean | undefined;
|
|
7739
7751
|
allowedMaxRequests?: number | null | undefined;
|
|
7740
7752
|
autoCondenseContext?: boolean | undefined;
|
|
@@ -7997,6 +8009,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
7997
8009
|
allowedCommands?: string[] | undefined;
|
|
7998
8010
|
deniedCommands?: string[] | undefined;
|
|
7999
8011
|
commandExecutionTimeout?: number | undefined;
|
|
8012
|
+
commandTimeoutAllowlist?: string[] | undefined;
|
|
8000
8013
|
preventCompletionWithOpenTodos?: boolean | undefined;
|
|
8001
8014
|
allowedMaxRequests?: number | null | undefined;
|
|
8002
8015
|
autoCondenseContext?: boolean | undefined;
|
|
@@ -8884,6 +8897,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8884
8897
|
allowedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8885
8898
|
deniedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8886
8899
|
commandExecutionTimeout: z.ZodOptional<z.ZodNumber>;
|
|
8900
|
+
commandTimeoutAllowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8887
8901
|
preventCompletionWithOpenTodos: z.ZodOptional<z.ZodBoolean>;
|
|
8888
8902
|
allowedMaxRequests: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
8889
8903
|
autoCondenseContext: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -9272,6 +9286,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9272
9286
|
allowedCommands?: string[] | undefined;
|
|
9273
9287
|
deniedCommands?: string[] | undefined;
|
|
9274
9288
|
commandExecutionTimeout?: number | undefined;
|
|
9289
|
+
commandTimeoutAllowlist?: string[] | undefined;
|
|
9275
9290
|
preventCompletionWithOpenTodos?: boolean | undefined;
|
|
9276
9291
|
allowedMaxRequests?: number | null | undefined;
|
|
9277
9292
|
autoCondenseContext?: boolean | undefined;
|
|
@@ -9526,6 +9541,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9526
9541
|
allowedCommands?: string[] | undefined;
|
|
9527
9542
|
deniedCommands?: string[] | undefined;
|
|
9528
9543
|
commandExecutionTimeout?: number | undefined;
|
|
9544
|
+
commandTimeoutAllowlist?: string[] | undefined;
|
|
9529
9545
|
preventCompletionWithOpenTodos?: boolean | undefined;
|
|
9530
9546
|
allowedMaxRequests?: number | null | undefined;
|
|
9531
9547
|
autoCondenseContext?: boolean | undefined;
|
|
@@ -9786,6 +9802,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9786
9802
|
allowedCommands?: string[] | undefined;
|
|
9787
9803
|
deniedCommands?: string[] | undefined;
|
|
9788
9804
|
commandExecutionTimeout?: number | undefined;
|
|
9805
|
+
commandTimeoutAllowlist?: string[] | undefined;
|
|
9789
9806
|
preventCompletionWithOpenTodos?: boolean | undefined;
|
|
9790
9807
|
allowedMaxRequests?: number | null | undefined;
|
|
9791
9808
|
autoCondenseContext?: boolean | undefined;
|
|
@@ -10045,6 +10062,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10045
10062
|
allowedCommands?: string[] | undefined;
|
|
10046
10063
|
deniedCommands?: string[] | undefined;
|
|
10047
10064
|
commandExecutionTimeout?: number | undefined;
|
|
10065
|
+
commandTimeoutAllowlist?: string[] | undefined;
|
|
10048
10066
|
preventCompletionWithOpenTodos?: boolean | undefined;
|
|
10049
10067
|
allowedMaxRequests?: number | null | undefined;
|
|
10050
10068
|
autoCondenseContext?: boolean | undefined;
|
|
@@ -10307,6 +10325,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10307
10325
|
allowedCommands?: string[] | undefined;
|
|
10308
10326
|
deniedCommands?: string[] | undefined;
|
|
10309
10327
|
commandExecutionTimeout?: number | undefined;
|
|
10328
|
+
commandTimeoutAllowlist?: string[] | undefined;
|
|
10310
10329
|
preventCompletionWithOpenTodos?: boolean | undefined;
|
|
10311
10330
|
allowedMaxRequests?: number | null | undefined;
|
|
10312
10331
|
autoCondenseContext?: boolean | undefined;
|
|
@@ -10569,6 +10588,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10569
10588
|
allowedCommands?: string[] | undefined;
|
|
10570
10589
|
deniedCommands?: string[] | undefined;
|
|
10571
10590
|
commandExecutionTimeout?: number | undefined;
|
|
10591
|
+
commandTimeoutAllowlist?: string[] | undefined;
|
|
10572
10592
|
preventCompletionWithOpenTodos?: boolean | undefined;
|
|
10573
10593
|
allowedMaxRequests?: number | null | undefined;
|
|
10574
10594
|
autoCondenseContext?: boolean | undefined;
|
|
@@ -10853,6 +10873,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10853
10873
|
allowedCommands?: string[] | undefined;
|
|
10854
10874
|
deniedCommands?: string[] | undefined;
|
|
10855
10875
|
commandExecutionTimeout?: number | undefined;
|
|
10876
|
+
commandTimeoutAllowlist?: string[] | undefined;
|
|
10856
10877
|
preventCompletionWithOpenTodos?: boolean | undefined;
|
|
10857
10878
|
allowedMaxRequests?: number | null | undefined;
|
|
10858
10879
|
autoCondenseContext?: boolean | undefined;
|
|
@@ -11126,6 +11147,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
11126
11147
|
allowedCommands?: string[] | undefined;
|
|
11127
11148
|
deniedCommands?: string[] | undefined;
|
|
11128
11149
|
commandExecutionTimeout?: number | undefined;
|
|
11150
|
+
commandTimeoutAllowlist?: string[] | undefined;
|
|
11129
11151
|
preventCompletionWithOpenTodos?: boolean | undefined;
|
|
11130
11152
|
allowedMaxRequests?: number | null | undefined;
|
|
11131
11153
|
autoCondenseContext?: boolean | undefined;
|
package/dist/index.d.ts
CHANGED
|
@@ -3905,6 +3905,7 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
3905
3905
|
allowedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3906
3906
|
deniedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3907
3907
|
commandExecutionTimeout: z.ZodOptional<z.ZodNumber>;
|
|
3908
|
+
commandTimeoutAllowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3908
3909
|
preventCompletionWithOpenTodos: z.ZodOptional<z.ZodBoolean>;
|
|
3909
3910
|
allowedMaxRequests: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3910
3911
|
autoCondenseContext: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4179,6 +4180,7 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
4179
4180
|
allowedCommands?: string[] | undefined;
|
|
4180
4181
|
deniedCommands?: string[] | undefined;
|
|
4181
4182
|
commandExecutionTimeout?: number | undefined;
|
|
4183
|
+
commandTimeoutAllowlist?: string[] | undefined;
|
|
4182
4184
|
preventCompletionWithOpenTodos?: boolean | undefined;
|
|
4183
4185
|
allowedMaxRequests?: number | null | undefined;
|
|
4184
4186
|
autoCondenseContext?: boolean | undefined;
|
|
@@ -4319,6 +4321,7 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
4319
4321
|
allowedCommands?: string[] | undefined;
|
|
4320
4322
|
deniedCommands?: string[] | undefined;
|
|
4321
4323
|
commandExecutionTimeout?: number | undefined;
|
|
4324
|
+
commandTimeoutAllowlist?: string[] | undefined;
|
|
4322
4325
|
preventCompletionWithOpenTodos?: boolean | undefined;
|
|
4323
4326
|
allowedMaxRequests?: number | null | undefined;
|
|
4324
4327
|
autoCondenseContext?: boolean | undefined;
|
|
@@ -4398,7 +4401,7 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
4398
4401
|
lastModeImportPath?: string | undefined;
|
|
4399
4402
|
}>;
|
|
4400
4403
|
type GlobalSettings = z.infer<typeof globalSettingsSchema>;
|
|
4401
|
-
declare const GLOBAL_SETTINGS_KEYS: ["diffEnabled", "fuzzyMatchThreshold", "rateLimitSeconds", "language", "mode", "customInstructions", "customModes", "currentApiConfigName", "listApiConfigMeta", "pinnedApiConfigs", "lastShownAnnouncementId", "taskHistory", "condensingApiConfigId", "customCondensingPrompt", "autoApprovalEnabled", "alwaysAllowReadOnly", "alwaysAllowReadOnlyOutsideWorkspace", "alwaysAllowWrite", "alwaysAllowWriteOutsideWorkspace", "alwaysAllowWriteProtected", "writeDelayMs", "alwaysAllowBrowser", "alwaysApproveResubmit", "requestDelaySeconds", "alwaysAllowMcp", "alwaysAllowModeSwitch", "alwaysAllowSubtasks", "alwaysAllowExecute", "alwaysAllowFollowupQuestions", "followupAutoApproveTimeoutMs", "alwaysAllowUpdateTodoList", "allowedCommands", "deniedCommands", "commandExecutionTimeout", "preventCompletionWithOpenTodos", "allowedMaxRequests", "autoCondenseContext", "autoCondenseContextPercent", "maxConcurrentFileReads", "browserToolEnabled", "browserViewportSize", "screenshotQuality", "remoteBrowserEnabled", "remoteBrowserHost", "cachedChromeHostUrl", "enableCheckpoints", "ttsEnabled", "ttsSpeed", "soundEnabled", "soundVolume", "maxOpenTabsContext", "maxWorkspaceFiles", "showRooIgnoredFiles", "maxReadFileLine", "terminalOutputLineLimit", "terminalShellIntegrationTimeout", "terminalShellIntegrationDisabled", "terminalCommandDelay", "terminalPowershellCounter", "terminalZshClearEolMark", "terminalZshOhMy", "terminalZshP10k", "terminalZdotdir", "terminalCompressProgressBar", "experiments", "codebaseIndexModels", "codebaseIndexConfig", "telemetrySetting", "mcpEnabled", "enableMcpServerCreation", "modeApiConfigs", "customModePrompts", "customSupportPrompts", "enhancementApiConfigId", "historyPreviewCollapsed", "profileThresholds", "hasOpenedModeSelector", "lastModeExportPath", "lastModeImportPath"];
|
|
4404
|
+
declare const GLOBAL_SETTINGS_KEYS: ["diffEnabled", "fuzzyMatchThreshold", "rateLimitSeconds", "language", "mode", "customInstructions", "customModes", "currentApiConfigName", "listApiConfigMeta", "pinnedApiConfigs", "lastShownAnnouncementId", "taskHistory", "condensingApiConfigId", "customCondensingPrompt", "autoApprovalEnabled", "alwaysAllowReadOnly", "alwaysAllowReadOnlyOutsideWorkspace", "alwaysAllowWrite", "alwaysAllowWriteOutsideWorkspace", "alwaysAllowWriteProtected", "writeDelayMs", "alwaysAllowBrowser", "alwaysApproveResubmit", "requestDelaySeconds", "alwaysAllowMcp", "alwaysAllowModeSwitch", "alwaysAllowSubtasks", "alwaysAllowExecute", "alwaysAllowFollowupQuestions", "followupAutoApproveTimeoutMs", "alwaysAllowUpdateTodoList", "allowedCommands", "deniedCommands", "commandExecutionTimeout", "commandTimeoutAllowlist", "preventCompletionWithOpenTodos", "allowedMaxRequests", "autoCondenseContext", "autoCondenseContextPercent", "maxConcurrentFileReads", "browserToolEnabled", "browserViewportSize", "screenshotQuality", "remoteBrowserEnabled", "remoteBrowserHost", "cachedChromeHostUrl", "enableCheckpoints", "ttsEnabled", "ttsSpeed", "soundEnabled", "soundVolume", "maxOpenTabsContext", "maxWorkspaceFiles", "showRooIgnoredFiles", "maxReadFileLine", "terminalOutputLineLimit", "terminalShellIntegrationTimeout", "terminalShellIntegrationDisabled", "terminalCommandDelay", "terminalPowershellCounter", "terminalZshClearEolMark", "terminalZshOhMy", "terminalZshP10k", "terminalZdotdir", "terminalCompressProgressBar", "experiments", "codebaseIndexModels", "codebaseIndexConfig", "telemetrySetting", "mcpEnabled", "enableMcpServerCreation", "modeApiConfigs", "customModePrompts", "customSupportPrompts", "enhancementApiConfigId", "historyPreviewCollapsed", "profileThresholds", "hasOpenedModeSelector", "lastModeExportPath", "lastModeImportPath"];
|
|
4402
4405
|
/**
|
|
4403
4406
|
* RooCodeSettings
|
|
4404
4407
|
*/
|
|
@@ -4670,6 +4673,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4670
4673
|
allowedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4671
4674
|
deniedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4672
4675
|
commandExecutionTimeout: z.ZodOptional<z.ZodNumber>;
|
|
4676
|
+
commandTimeoutAllowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4673
4677
|
preventCompletionWithOpenTodos: z.ZodOptional<z.ZodBoolean>;
|
|
4674
4678
|
allowedMaxRequests: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4675
4679
|
autoCondenseContext: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5058,6 +5062,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
5058
5062
|
allowedCommands?: string[] | undefined;
|
|
5059
5063
|
deniedCommands?: string[] | undefined;
|
|
5060
5064
|
commandExecutionTimeout?: number | undefined;
|
|
5065
|
+
commandTimeoutAllowlist?: string[] | undefined;
|
|
5061
5066
|
preventCompletionWithOpenTodos?: boolean | undefined;
|
|
5062
5067
|
allowedMaxRequests?: number | null | undefined;
|
|
5063
5068
|
autoCondenseContext?: boolean | undefined;
|
|
@@ -5312,6 +5317,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
5312
5317
|
allowedCommands?: string[] | undefined;
|
|
5313
5318
|
deniedCommands?: string[] | undefined;
|
|
5314
5319
|
commandExecutionTimeout?: number | undefined;
|
|
5320
|
+
commandTimeoutAllowlist?: string[] | undefined;
|
|
5315
5321
|
preventCompletionWithOpenTodos?: boolean | undefined;
|
|
5316
5322
|
allowedMaxRequests?: number | null | undefined;
|
|
5317
5323
|
autoCondenseContext?: boolean | undefined;
|
|
@@ -6312,6 +6318,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6312
6318
|
allowedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6313
6319
|
deniedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6314
6320
|
commandExecutionTimeout: z.ZodOptional<z.ZodNumber>;
|
|
6321
|
+
commandTimeoutAllowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6315
6322
|
preventCompletionWithOpenTodos: z.ZodOptional<z.ZodBoolean>;
|
|
6316
6323
|
allowedMaxRequests: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6317
6324
|
autoCondenseContext: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -6700,6 +6707,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6700
6707
|
allowedCommands?: string[] | undefined;
|
|
6701
6708
|
deniedCommands?: string[] | undefined;
|
|
6702
6709
|
commandExecutionTimeout?: number | undefined;
|
|
6710
|
+
commandTimeoutAllowlist?: string[] | undefined;
|
|
6703
6711
|
preventCompletionWithOpenTodos?: boolean | undefined;
|
|
6704
6712
|
allowedMaxRequests?: number | null | undefined;
|
|
6705
6713
|
autoCondenseContext?: boolean | undefined;
|
|
@@ -6954,6 +6962,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6954
6962
|
allowedCommands?: string[] | undefined;
|
|
6955
6963
|
deniedCommands?: string[] | undefined;
|
|
6956
6964
|
commandExecutionTimeout?: number | undefined;
|
|
6965
|
+
commandTimeoutAllowlist?: string[] | undefined;
|
|
6957
6966
|
preventCompletionWithOpenTodos?: boolean | undefined;
|
|
6958
6967
|
allowedMaxRequests?: number | null | undefined;
|
|
6959
6968
|
autoCondenseContext?: boolean | undefined;
|
|
@@ -7214,6 +7223,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
7214
7223
|
allowedCommands?: string[] | undefined;
|
|
7215
7224
|
deniedCommands?: string[] | undefined;
|
|
7216
7225
|
commandExecutionTimeout?: number | undefined;
|
|
7226
|
+
commandTimeoutAllowlist?: string[] | undefined;
|
|
7217
7227
|
preventCompletionWithOpenTodos?: boolean | undefined;
|
|
7218
7228
|
allowedMaxRequests?: number | null | undefined;
|
|
7219
7229
|
autoCondenseContext?: boolean | undefined;
|
|
@@ -7473,6 +7483,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
7473
7483
|
allowedCommands?: string[] | undefined;
|
|
7474
7484
|
deniedCommands?: string[] | undefined;
|
|
7475
7485
|
commandExecutionTimeout?: number | undefined;
|
|
7486
|
+
commandTimeoutAllowlist?: string[] | undefined;
|
|
7476
7487
|
preventCompletionWithOpenTodos?: boolean | undefined;
|
|
7477
7488
|
allowedMaxRequests?: number | null | undefined;
|
|
7478
7489
|
autoCondenseContext?: boolean | undefined;
|
|
@@ -7735,6 +7746,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
7735
7746
|
allowedCommands?: string[] | undefined;
|
|
7736
7747
|
deniedCommands?: string[] | undefined;
|
|
7737
7748
|
commandExecutionTimeout?: number | undefined;
|
|
7749
|
+
commandTimeoutAllowlist?: string[] | undefined;
|
|
7738
7750
|
preventCompletionWithOpenTodos?: boolean | undefined;
|
|
7739
7751
|
allowedMaxRequests?: number | null | undefined;
|
|
7740
7752
|
autoCondenseContext?: boolean | undefined;
|
|
@@ -7997,6 +8009,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
7997
8009
|
allowedCommands?: string[] | undefined;
|
|
7998
8010
|
deniedCommands?: string[] | undefined;
|
|
7999
8011
|
commandExecutionTimeout?: number | undefined;
|
|
8012
|
+
commandTimeoutAllowlist?: string[] | undefined;
|
|
8000
8013
|
preventCompletionWithOpenTodos?: boolean | undefined;
|
|
8001
8014
|
allowedMaxRequests?: number | null | undefined;
|
|
8002
8015
|
autoCondenseContext?: boolean | undefined;
|
|
@@ -8884,6 +8897,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8884
8897
|
allowedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8885
8898
|
deniedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8886
8899
|
commandExecutionTimeout: z.ZodOptional<z.ZodNumber>;
|
|
8900
|
+
commandTimeoutAllowlist: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8887
8901
|
preventCompletionWithOpenTodos: z.ZodOptional<z.ZodBoolean>;
|
|
8888
8902
|
allowedMaxRequests: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
8889
8903
|
autoCondenseContext: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -9272,6 +9286,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9272
9286
|
allowedCommands?: string[] | undefined;
|
|
9273
9287
|
deniedCommands?: string[] | undefined;
|
|
9274
9288
|
commandExecutionTimeout?: number | undefined;
|
|
9289
|
+
commandTimeoutAllowlist?: string[] | undefined;
|
|
9275
9290
|
preventCompletionWithOpenTodos?: boolean | undefined;
|
|
9276
9291
|
allowedMaxRequests?: number | null | undefined;
|
|
9277
9292
|
autoCondenseContext?: boolean | undefined;
|
|
@@ -9526,6 +9541,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9526
9541
|
allowedCommands?: string[] | undefined;
|
|
9527
9542
|
deniedCommands?: string[] | undefined;
|
|
9528
9543
|
commandExecutionTimeout?: number | undefined;
|
|
9544
|
+
commandTimeoutAllowlist?: string[] | undefined;
|
|
9529
9545
|
preventCompletionWithOpenTodos?: boolean | undefined;
|
|
9530
9546
|
allowedMaxRequests?: number | null | undefined;
|
|
9531
9547
|
autoCondenseContext?: boolean | undefined;
|
|
@@ -9786,6 +9802,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9786
9802
|
allowedCommands?: string[] | undefined;
|
|
9787
9803
|
deniedCommands?: string[] | undefined;
|
|
9788
9804
|
commandExecutionTimeout?: number | undefined;
|
|
9805
|
+
commandTimeoutAllowlist?: string[] | undefined;
|
|
9789
9806
|
preventCompletionWithOpenTodos?: boolean | undefined;
|
|
9790
9807
|
allowedMaxRequests?: number | null | undefined;
|
|
9791
9808
|
autoCondenseContext?: boolean | undefined;
|
|
@@ -10045,6 +10062,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10045
10062
|
allowedCommands?: string[] | undefined;
|
|
10046
10063
|
deniedCommands?: string[] | undefined;
|
|
10047
10064
|
commandExecutionTimeout?: number | undefined;
|
|
10065
|
+
commandTimeoutAllowlist?: string[] | undefined;
|
|
10048
10066
|
preventCompletionWithOpenTodos?: boolean | undefined;
|
|
10049
10067
|
allowedMaxRequests?: number | null | undefined;
|
|
10050
10068
|
autoCondenseContext?: boolean | undefined;
|
|
@@ -10307,6 +10325,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10307
10325
|
allowedCommands?: string[] | undefined;
|
|
10308
10326
|
deniedCommands?: string[] | undefined;
|
|
10309
10327
|
commandExecutionTimeout?: number | undefined;
|
|
10328
|
+
commandTimeoutAllowlist?: string[] | undefined;
|
|
10310
10329
|
preventCompletionWithOpenTodos?: boolean | undefined;
|
|
10311
10330
|
allowedMaxRequests?: number | null | undefined;
|
|
10312
10331
|
autoCondenseContext?: boolean | undefined;
|
|
@@ -10569,6 +10588,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10569
10588
|
allowedCommands?: string[] | undefined;
|
|
10570
10589
|
deniedCommands?: string[] | undefined;
|
|
10571
10590
|
commandExecutionTimeout?: number | undefined;
|
|
10591
|
+
commandTimeoutAllowlist?: string[] | undefined;
|
|
10572
10592
|
preventCompletionWithOpenTodos?: boolean | undefined;
|
|
10573
10593
|
allowedMaxRequests?: number | null | undefined;
|
|
10574
10594
|
autoCondenseContext?: boolean | undefined;
|
|
@@ -10853,6 +10873,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10853
10873
|
allowedCommands?: string[] | undefined;
|
|
10854
10874
|
deniedCommands?: string[] | undefined;
|
|
10855
10875
|
commandExecutionTimeout?: number | undefined;
|
|
10876
|
+
commandTimeoutAllowlist?: string[] | undefined;
|
|
10856
10877
|
preventCompletionWithOpenTodos?: boolean | undefined;
|
|
10857
10878
|
allowedMaxRequests?: number | null | undefined;
|
|
10858
10879
|
autoCondenseContext?: boolean | undefined;
|
|
@@ -11126,6 +11147,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
11126
11147
|
allowedCommands?: string[] | undefined;
|
|
11127
11148
|
deniedCommands?: string[] | undefined;
|
|
11128
11149
|
commandExecutionTimeout?: number | undefined;
|
|
11150
|
+
commandTimeoutAllowlist?: string[] | undefined;
|
|
11129
11151
|
preventCompletionWithOpenTodos?: boolean | undefined;
|
|
11130
11152
|
allowedMaxRequests?: number | null | undefined;
|
|
11131
11153
|
autoCondenseContext?: boolean | undefined;
|
package/dist/index.js
CHANGED
|
@@ -2966,6 +2966,7 @@ var globalSettingsSchema = z11.object({
|
|
|
2966
2966
|
allowedCommands: z11.array(z11.string()).optional(),
|
|
2967
2967
|
deniedCommands: z11.array(z11.string()).optional(),
|
|
2968
2968
|
commandExecutionTimeout: z11.number().optional(),
|
|
2969
|
+
commandTimeoutAllowlist: z11.array(z11.string()).optional(),
|
|
2969
2970
|
preventCompletionWithOpenTodos: z11.boolean().optional(),
|
|
2970
2971
|
allowedMaxRequests: z11.number().nullish(),
|
|
2971
2972
|
autoCondenseContext: z11.boolean().optional(),
|
|
@@ -3072,6 +3073,7 @@ var EVALS_SETTINGS = {
|
|
|
3072
3073
|
followupAutoApproveTimeoutMs: 0,
|
|
3073
3074
|
allowedCommands: ["*"],
|
|
3074
3075
|
commandExecutionTimeout: 3e4,
|
|
3076
|
+
commandTimeoutAllowlist: [],
|
|
3075
3077
|
preventCompletionWithOpenTodos: false,
|
|
3076
3078
|
browserToolEnabled: false,
|
|
3077
3079
|
browserViewportSize: "900x600",
|