@roo-code/types 1.31.0 → 1.32.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 +82 -21
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +125 -22
- package/dist/index.d.ts +125 -22
- package/dist/index.js +79 -21
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -655,6 +655,7 @@ declare const chutesModels: {
|
|
|
655
655
|
|
|
656
656
|
type ClaudeCodeModelId = keyof typeof claudeCodeModels;
|
|
657
657
|
declare const claudeCodeDefaultModelId: ClaudeCodeModelId;
|
|
658
|
+
declare const CLAUDE_CODE_DEFAULT_MAX_OUTPUT_TOKENS = 8000;
|
|
658
659
|
declare const claudeCodeModels: {
|
|
659
660
|
readonly "claude-sonnet-4-20250514": {
|
|
660
661
|
readonly supportsImages: false;
|
|
@@ -1246,6 +1247,14 @@ declare const mistralModels: {
|
|
|
1246
1247
|
readonly inputPrice: 2;
|
|
1247
1248
|
readonly outputPrice: 5;
|
|
1248
1249
|
};
|
|
1250
|
+
readonly "devstral-medium-latest": {
|
|
1251
|
+
readonly maxTokens: 131000;
|
|
1252
|
+
readonly contextWindow: 131000;
|
|
1253
|
+
readonly supportsImages: true;
|
|
1254
|
+
readonly supportsPromptCache: false;
|
|
1255
|
+
readonly inputPrice: 0.4;
|
|
1256
|
+
readonly outputPrice: 2;
|
|
1257
|
+
};
|
|
1249
1258
|
readonly "mistral-medium-latest": {
|
|
1250
1259
|
readonly maxTokens: 131000;
|
|
1251
1260
|
readonly contextWindow: 131000;
|
|
@@ -1930,23 +1939,16 @@ declare const vscodeLlmModels: {
|
|
|
1930
1939
|
type XAIModelId = keyof typeof xaiModels;
|
|
1931
1940
|
declare const xaiDefaultModelId: XAIModelId;
|
|
1932
1941
|
declare const xaiModels: {
|
|
1933
|
-
readonly "grok-
|
|
1942
|
+
readonly "grok-4": {
|
|
1934
1943
|
readonly maxTokens: 8192;
|
|
1935
|
-
readonly contextWindow:
|
|
1936
|
-
readonly supportsImages: false;
|
|
1937
|
-
readonly supportsPromptCache: false;
|
|
1938
|
-
readonly inputPrice: 2;
|
|
1939
|
-
readonly outputPrice: 10;
|
|
1940
|
-
readonly description: "xAI's Grok-2 model (version 1212) with 128K context window";
|
|
1941
|
-
};
|
|
1942
|
-
readonly "grok-2-vision-1212": {
|
|
1943
|
-
readonly maxTokens: 8192;
|
|
1944
|
-
readonly contextWindow: 32768;
|
|
1944
|
+
readonly contextWindow: 256000;
|
|
1945
1945
|
readonly supportsImages: true;
|
|
1946
|
-
readonly supportsPromptCache:
|
|
1947
|
-
readonly inputPrice:
|
|
1948
|
-
readonly outputPrice:
|
|
1949
|
-
readonly
|
|
1946
|
+
readonly supportsPromptCache: true;
|
|
1947
|
+
readonly inputPrice: 3;
|
|
1948
|
+
readonly outputPrice: 15;
|
|
1949
|
+
readonly cacheWritesPrice: 0.75;
|
|
1950
|
+
readonly cacheReadsPrice: 0.75;
|
|
1951
|
+
readonly description: "xAI's Grok-4 model with 256K context window";
|
|
1950
1952
|
};
|
|
1951
1953
|
readonly "grok-3": {
|
|
1952
1954
|
readonly maxTokens: 8192;
|
|
@@ -1994,6 +1996,24 @@ declare const xaiModels: {
|
|
|
1994
1996
|
readonly description: "xAI's Grok-3 mini fast model with 128K context window";
|
|
1995
1997
|
readonly supportsReasoningEffort: true;
|
|
1996
1998
|
};
|
|
1999
|
+
readonly "grok-2-1212": {
|
|
2000
|
+
readonly maxTokens: 8192;
|
|
2001
|
+
readonly contextWindow: 131072;
|
|
2002
|
+
readonly supportsImages: false;
|
|
2003
|
+
readonly supportsPromptCache: false;
|
|
2004
|
+
readonly inputPrice: 2;
|
|
2005
|
+
readonly outputPrice: 10;
|
|
2006
|
+
readonly description: "xAI's Grok-2 model (version 1212) with 128K context window";
|
|
2007
|
+
};
|
|
2008
|
+
readonly "grok-2-vision-1212": {
|
|
2009
|
+
readonly maxTokens: 8192;
|
|
2010
|
+
readonly contextWindow: 32768;
|
|
2011
|
+
readonly supportsImages: true;
|
|
2012
|
+
readonly supportsPromptCache: false;
|
|
2013
|
+
readonly inputPrice: 2;
|
|
2014
|
+
readonly outputPrice: 10;
|
|
2015
|
+
readonly description: "xAI's Grok-2 Vision model (version 1212) with image support and 32K context window";
|
|
2016
|
+
};
|
|
1997
2017
|
};
|
|
1998
2018
|
|
|
1999
2019
|
/**
|
|
@@ -2089,6 +2109,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2089
2109
|
apiModelId: z.ZodOptional<z.ZodString>;
|
|
2090
2110
|
} & {
|
|
2091
2111
|
claudeCodePath: z.ZodOptional<z.ZodString>;
|
|
2112
|
+
claudeCodeMaxOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
2092
2113
|
} & {
|
|
2093
2114
|
apiProvider: z.ZodLiteral<"claude-code">;
|
|
2094
2115
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2104,6 +2125,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2104
2125
|
modelMaxThinkingTokens?: number | undefined;
|
|
2105
2126
|
apiModelId?: string | undefined;
|
|
2106
2127
|
claudeCodePath?: string | undefined;
|
|
2128
|
+
claudeCodeMaxOutputTokens?: number | undefined;
|
|
2107
2129
|
}, {
|
|
2108
2130
|
apiProvider: "claude-code";
|
|
2109
2131
|
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
@@ -2117,6 +2139,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2117
2139
|
modelMaxThinkingTokens?: number | undefined;
|
|
2118
2140
|
apiModelId?: string | undefined;
|
|
2119
2141
|
claudeCodePath?: string | undefined;
|
|
2142
|
+
claudeCodeMaxOutputTokens?: number | undefined;
|
|
2120
2143
|
}>, z.ZodObject<{
|
|
2121
2144
|
includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
2122
2145
|
diffEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3444,6 +3467,7 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3444
3467
|
glamaModelId: z.ZodOptional<z.ZodString>;
|
|
3445
3468
|
glamaApiKey: z.ZodOptional<z.ZodString>;
|
|
3446
3469
|
claudeCodePath: z.ZodOptional<z.ZodString>;
|
|
3470
|
+
claudeCodeMaxOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
3447
3471
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
3448
3472
|
anthropicBaseUrl: z.ZodOptional<z.ZodString>;
|
|
3449
3473
|
anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3470,6 +3494,7 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3470
3494
|
anthropicBaseUrl?: string | undefined;
|
|
3471
3495
|
anthropicUseAuthToken?: boolean | undefined;
|
|
3472
3496
|
claudeCodePath?: string | undefined;
|
|
3497
|
+
claudeCodeMaxOutputTokens?: number | undefined;
|
|
3473
3498
|
glamaModelId?: string | undefined;
|
|
3474
3499
|
glamaApiKey?: string | undefined;
|
|
3475
3500
|
openRouterApiKey?: string | undefined;
|
|
@@ -3586,6 +3611,7 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3586
3611
|
anthropicBaseUrl?: string | undefined;
|
|
3587
3612
|
anthropicUseAuthToken?: boolean | undefined;
|
|
3588
3613
|
claudeCodePath?: string | undefined;
|
|
3614
|
+
claudeCodeMaxOutputTokens?: number | undefined;
|
|
3589
3615
|
glamaModelId?: string | undefined;
|
|
3590
3616
|
glamaApiKey?: string | undefined;
|
|
3591
3617
|
openRouterApiKey?: string | undefined;
|
|
@@ -3682,9 +3708,11 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3682
3708
|
litellmModelId?: string | undefined;
|
|
3683
3709
|
}>;
|
|
3684
3710
|
type ProviderSettings = z.infer<typeof providerSettingsSchema>;
|
|
3685
|
-
declare const PROVIDER_SETTINGS_KEYS: ["reasoningEffort", "codebaseIndexOpenAiCompatibleBaseUrl", "codebaseIndexOpenAiCompatibleModelDimension", "codeIndexOpenAiKey", "codeIndexQdrantApiKey", "codebaseIndexOpenAiCompatibleApiKey", "codebaseIndexGeminiApiKey", "apiProvider", "includeMaxTokens", "diffEnabled", "fuzzyMatchThreshold", "modelTemperature", "rateLimitSeconds", "enableReasoningEffort", "modelMaxTokens", "modelMaxThinkingTokens", "apiModelId", "apiKey", "anthropicBaseUrl", "anthropicUseAuthToken", "claudeCodePath", "glamaModelId", "glamaApiKey", "openRouterApiKey", "openRouterModelId", "openRouterBaseUrl", "openRouterSpecificProvider", "openRouterUseMiddleOutTransform", "awsAccessKey", "awsSecretKey", "awsSessionToken", "awsRegion", "awsUseCrossRegionInference", "awsUsePromptCache", "awsProfile", "awsUseProfile", "awsCustomArn", "awsModelContextWindow", "awsBedrockEndpointEnabled", "awsBedrockEndpoint", "vertexKeyFile", "vertexJsonCredentials", "vertexProjectId", "vertexRegion", "openAiBaseUrl", "openAiApiKey", "openAiLegacyFormat", "openAiR1FormatEnabled", "openAiModelId", "openAiCustomModelInfo", "openAiUseAzure", "azureApiVersion", "openAiStreamingEnabled", "openAiHostHeader", "openAiHeaders", "ollamaModelId", "ollamaBaseUrl", "vsCodeLmModelSelector", "lmStudioModelId", "lmStudioBaseUrl", "lmStudioDraftModelId", "lmStudioSpeculativeDecodingEnabled", "geminiApiKey", "googleGeminiBaseUrl", "geminiCliOAuthPath", "geminiCliProjectId", "openAiNativeApiKey", "openAiNativeBaseUrl", "mistralApiKey", "mistralCodestralUrl", "deepSeekBaseUrl", "deepSeekApiKey", "unboundApiKey", "unboundModelId", "requestyApiKey", "requestyModelId", "fakeAi", "xaiApiKey", "groqApiKey", "chutesApiKey", "litellmBaseUrl", "litellmApiKey", "litellmModelId"];
|
|
3711
|
+
declare const PROVIDER_SETTINGS_KEYS: ["reasoningEffort", "codebaseIndexOpenAiCompatibleBaseUrl", "codebaseIndexOpenAiCompatibleModelDimension", "codeIndexOpenAiKey", "codeIndexQdrantApiKey", "codebaseIndexOpenAiCompatibleApiKey", "codebaseIndexGeminiApiKey", "apiProvider", "includeMaxTokens", "diffEnabled", "fuzzyMatchThreshold", "modelTemperature", "rateLimitSeconds", "enableReasoningEffort", "modelMaxTokens", "modelMaxThinkingTokens", "apiModelId", "apiKey", "anthropicBaseUrl", "anthropicUseAuthToken", "claudeCodePath", "claudeCodeMaxOutputTokens", "glamaModelId", "glamaApiKey", "openRouterApiKey", "openRouterModelId", "openRouterBaseUrl", "openRouterSpecificProvider", "openRouterUseMiddleOutTransform", "awsAccessKey", "awsSecretKey", "awsSessionToken", "awsRegion", "awsUseCrossRegionInference", "awsUsePromptCache", "awsProfile", "awsUseProfile", "awsCustomArn", "awsModelContextWindow", "awsBedrockEndpointEnabled", "awsBedrockEndpoint", "vertexKeyFile", "vertexJsonCredentials", "vertexProjectId", "vertexRegion", "openAiBaseUrl", "openAiApiKey", "openAiLegacyFormat", "openAiR1FormatEnabled", "openAiModelId", "openAiCustomModelInfo", "openAiUseAzure", "azureApiVersion", "openAiStreamingEnabled", "openAiHostHeader", "openAiHeaders", "ollamaModelId", "ollamaBaseUrl", "vsCodeLmModelSelector", "lmStudioModelId", "lmStudioBaseUrl", "lmStudioDraftModelId", "lmStudioSpeculativeDecodingEnabled", "geminiApiKey", "googleGeminiBaseUrl", "geminiCliOAuthPath", "geminiCliProjectId", "openAiNativeApiKey", "openAiNativeBaseUrl", "mistralApiKey", "mistralCodestralUrl", "deepSeekBaseUrl", "deepSeekApiKey", "unboundApiKey", "unboundModelId", "requestyApiKey", "requestyModelId", "fakeAi", "xaiApiKey", "groqApiKey", "chutesApiKey", "litellmBaseUrl", "litellmApiKey", "litellmModelId"];
|
|
3686
3712
|
declare const MODEL_ID_KEYS: Partial<keyof ProviderSettings>[];
|
|
3687
3713
|
declare const getModelId: (settings: ProviderSettings) => string | undefined;
|
|
3714
|
+
declare const ANTHROPIC_STYLE_PROVIDERS: ProviderName[];
|
|
3715
|
+
declare const getApiProtocol: (provider: ProviderName | undefined) => "anthropic" | "openai";
|
|
3688
3716
|
|
|
3689
3717
|
/**
|
|
3690
3718
|
* GlobalSettings
|
|
@@ -3764,6 +3792,7 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
3764
3792
|
followupAutoApproveTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
3765
3793
|
alwaysAllowUpdateTodoList: z.ZodOptional<z.ZodBoolean>;
|
|
3766
3794
|
allowedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3795
|
+
deniedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3767
3796
|
allowedMaxRequests: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3768
3797
|
autoCondenseContext: z.ZodOptional<z.ZodBoolean>;
|
|
3769
3798
|
autoCondenseContextPercent: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4035,6 +4064,7 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
4035
4064
|
followupAutoApproveTimeoutMs?: number | undefined;
|
|
4036
4065
|
alwaysAllowUpdateTodoList?: boolean | undefined;
|
|
4037
4066
|
allowedCommands?: string[] | undefined;
|
|
4067
|
+
deniedCommands?: string[] | undefined;
|
|
4038
4068
|
allowedMaxRequests?: number | null | undefined;
|
|
4039
4069
|
autoCondenseContext?: boolean | undefined;
|
|
4040
4070
|
autoCondenseContextPercent?: number | undefined;
|
|
@@ -4172,6 +4202,7 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
4172
4202
|
followupAutoApproveTimeoutMs?: number | undefined;
|
|
4173
4203
|
alwaysAllowUpdateTodoList?: boolean | undefined;
|
|
4174
4204
|
allowedCommands?: string[] | undefined;
|
|
4205
|
+
deniedCommands?: string[] | undefined;
|
|
4175
4206
|
allowedMaxRequests?: number | null | undefined;
|
|
4176
4207
|
autoCondenseContext?: boolean | undefined;
|
|
4177
4208
|
autoCondenseContextPercent?: number | undefined;
|
|
@@ -4250,7 +4281,7 @@ declare const globalSettingsSchema: z.ZodObject<{
|
|
|
4250
4281
|
lastModeImportPath?: string | undefined;
|
|
4251
4282
|
}>;
|
|
4252
4283
|
type GlobalSettings = z.infer<typeof globalSettingsSchema>;
|
|
4253
|
-
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", "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"];
|
|
4284
|
+
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", "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"];
|
|
4254
4285
|
/**
|
|
4255
4286
|
* RooCodeSettings
|
|
4256
4287
|
*/
|
|
@@ -4439,6 +4470,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4439
4470
|
glamaModelId: z.ZodOptional<z.ZodString>;
|
|
4440
4471
|
glamaApiKey: z.ZodOptional<z.ZodString>;
|
|
4441
4472
|
claudeCodePath: z.ZodOptional<z.ZodString>;
|
|
4473
|
+
claudeCodeMaxOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
4442
4474
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
4443
4475
|
anthropicBaseUrl: z.ZodOptional<z.ZodString>;
|
|
4444
4476
|
anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4518,6 +4550,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4518
4550
|
followupAutoApproveTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
4519
4551
|
alwaysAllowUpdateTodoList: z.ZodOptional<z.ZodBoolean>;
|
|
4520
4552
|
allowedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4553
|
+
deniedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4521
4554
|
allowedMaxRequests: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4522
4555
|
autoCondenseContext: z.ZodOptional<z.ZodBoolean>;
|
|
4523
4556
|
autoCondenseContextPercent: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4750,6 +4783,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4750
4783
|
anthropicBaseUrl?: string | undefined;
|
|
4751
4784
|
anthropicUseAuthToken?: boolean | undefined;
|
|
4752
4785
|
claudeCodePath?: string | undefined;
|
|
4786
|
+
claudeCodeMaxOutputTokens?: number | undefined;
|
|
4753
4787
|
glamaModelId?: string | undefined;
|
|
4754
4788
|
glamaApiKey?: string | undefined;
|
|
4755
4789
|
openRouterApiKey?: string | undefined;
|
|
@@ -4901,6 +4935,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4901
4935
|
followupAutoApproveTimeoutMs?: number | undefined;
|
|
4902
4936
|
alwaysAllowUpdateTodoList?: boolean | undefined;
|
|
4903
4937
|
allowedCommands?: string[] | undefined;
|
|
4938
|
+
deniedCommands?: string[] | undefined;
|
|
4904
4939
|
allowedMaxRequests?: number | null | undefined;
|
|
4905
4940
|
autoCondenseContext?: boolean | undefined;
|
|
4906
4941
|
autoCondenseContextPercent?: number | undefined;
|
|
@@ -4999,6 +5034,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4999
5034
|
anthropicBaseUrl?: string | undefined;
|
|
5000
5035
|
anthropicUseAuthToken?: boolean | undefined;
|
|
5001
5036
|
claudeCodePath?: string | undefined;
|
|
5037
|
+
claudeCodeMaxOutputTokens?: number | undefined;
|
|
5002
5038
|
glamaModelId?: string | undefined;
|
|
5003
5039
|
glamaApiKey?: string | undefined;
|
|
5004
5040
|
openRouterApiKey?: string | undefined;
|
|
@@ -5150,6 +5186,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
5150
5186
|
followupAutoApproveTimeoutMs?: number | undefined;
|
|
5151
5187
|
alwaysAllowUpdateTodoList?: boolean | undefined;
|
|
5152
5188
|
allowedCommands?: string[] | undefined;
|
|
5189
|
+
deniedCommands?: string[] | undefined;
|
|
5153
5190
|
allowedMaxRequests?: number | null | undefined;
|
|
5154
5191
|
autoCondenseContext?: boolean | undefined;
|
|
5155
5192
|
autoCondenseContextPercent?: number | undefined;
|
|
@@ -5387,6 +5424,7 @@ declare const clineMessageSchema: z.ZodObject<{
|
|
|
5387
5424
|
summary: string;
|
|
5388
5425
|
}>>;
|
|
5389
5426
|
isProtected: z.ZodOptional<z.ZodBoolean>;
|
|
5427
|
+
apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
|
|
5390
5428
|
}, "strip", z.ZodTypeAny, {
|
|
5391
5429
|
type: "ask" | "say";
|
|
5392
5430
|
ts: number;
|
|
@@ -5409,6 +5447,7 @@ declare const clineMessageSchema: z.ZodObject<{
|
|
|
5409
5447
|
summary: string;
|
|
5410
5448
|
} | undefined;
|
|
5411
5449
|
isProtected?: boolean | undefined;
|
|
5450
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
5412
5451
|
}, {
|
|
5413
5452
|
type: "ask" | "say";
|
|
5414
5453
|
ts: number;
|
|
@@ -5431,6 +5470,7 @@ declare const clineMessageSchema: z.ZodObject<{
|
|
|
5431
5470
|
summary: string;
|
|
5432
5471
|
} | undefined;
|
|
5433
5472
|
isProtected?: boolean | undefined;
|
|
5473
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
5434
5474
|
}>;
|
|
5435
5475
|
type ClineMessage = z.infer<typeof clineMessageSchema>;
|
|
5436
5476
|
/**
|
|
@@ -5559,6 +5599,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
5559
5599
|
summary: string;
|
|
5560
5600
|
}>>;
|
|
5561
5601
|
isProtected: z.ZodOptional<z.ZodBoolean>;
|
|
5602
|
+
apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
|
|
5562
5603
|
}, "strip", z.ZodTypeAny, {
|
|
5563
5604
|
type: "ask" | "say";
|
|
5564
5605
|
ts: number;
|
|
@@ -5581,6 +5622,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
5581
5622
|
summary: string;
|
|
5582
5623
|
} | undefined;
|
|
5583
5624
|
isProtected?: boolean | undefined;
|
|
5625
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
5584
5626
|
}, {
|
|
5585
5627
|
type: "ask" | "say";
|
|
5586
5628
|
ts: number;
|
|
@@ -5603,6 +5645,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
5603
5645
|
summary: string;
|
|
5604
5646
|
} | undefined;
|
|
5605
5647
|
isProtected?: boolean | undefined;
|
|
5648
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
5606
5649
|
}>;
|
|
5607
5650
|
}, "strip", z.ZodTypeAny, {
|
|
5608
5651
|
message: {
|
|
@@ -5627,6 +5670,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
5627
5670
|
summary: string;
|
|
5628
5671
|
} | undefined;
|
|
5629
5672
|
isProtected?: boolean | undefined;
|
|
5673
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
5630
5674
|
};
|
|
5631
5675
|
taskId: string;
|
|
5632
5676
|
action: "created" | "updated";
|
|
@@ -5653,6 +5697,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
5653
5697
|
summary: string;
|
|
5654
5698
|
} | undefined;
|
|
5655
5699
|
isProtected?: boolean | undefined;
|
|
5700
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
5656
5701
|
};
|
|
5657
5702
|
taskId: string;
|
|
5658
5703
|
action: "created" | "updated";
|
|
@@ -5749,6 +5794,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
5749
5794
|
summary: string;
|
|
5750
5795
|
} | undefined;
|
|
5751
5796
|
isProtected?: boolean | undefined;
|
|
5797
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
5752
5798
|
};
|
|
5753
5799
|
taskId: string;
|
|
5754
5800
|
action: "created" | "updated";
|
|
@@ -5807,6 +5853,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
|
|
|
5807
5853
|
summary: string;
|
|
5808
5854
|
} | undefined;
|
|
5809
5855
|
isProtected?: boolean | undefined;
|
|
5856
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
5810
5857
|
};
|
|
5811
5858
|
taskId: string;
|
|
5812
5859
|
action: "created" | "updated";
|
|
@@ -6056,6 +6103,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6056
6103
|
glamaModelId: z.ZodOptional<z.ZodString>;
|
|
6057
6104
|
glamaApiKey: z.ZodOptional<z.ZodString>;
|
|
6058
6105
|
claudeCodePath: z.ZodOptional<z.ZodString>;
|
|
6106
|
+
claudeCodeMaxOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
6059
6107
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
6060
6108
|
anthropicBaseUrl: z.ZodOptional<z.ZodString>;
|
|
6061
6109
|
anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -6135,6 +6183,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6135
6183
|
followupAutoApproveTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
6136
6184
|
alwaysAllowUpdateTodoList: z.ZodOptional<z.ZodBoolean>;
|
|
6137
6185
|
allowedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6186
|
+
deniedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
6138
6187
|
allowedMaxRequests: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6139
6188
|
autoCondenseContext: z.ZodOptional<z.ZodBoolean>;
|
|
6140
6189
|
autoCondenseContextPercent: z.ZodOptional<z.ZodNumber>;
|
|
@@ -6367,6 +6416,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6367
6416
|
anthropicBaseUrl?: string | undefined;
|
|
6368
6417
|
anthropicUseAuthToken?: boolean | undefined;
|
|
6369
6418
|
claudeCodePath?: string | undefined;
|
|
6419
|
+
claudeCodeMaxOutputTokens?: number | undefined;
|
|
6370
6420
|
glamaModelId?: string | undefined;
|
|
6371
6421
|
glamaApiKey?: string | undefined;
|
|
6372
6422
|
openRouterApiKey?: string | undefined;
|
|
@@ -6518,6 +6568,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6518
6568
|
followupAutoApproveTimeoutMs?: number | undefined;
|
|
6519
6569
|
alwaysAllowUpdateTodoList?: boolean | undefined;
|
|
6520
6570
|
allowedCommands?: string[] | undefined;
|
|
6571
|
+
deniedCommands?: string[] | undefined;
|
|
6521
6572
|
allowedMaxRequests?: number | null | undefined;
|
|
6522
6573
|
autoCondenseContext?: boolean | undefined;
|
|
6523
6574
|
autoCondenseContextPercent?: number | undefined;
|
|
@@ -6616,6 +6667,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6616
6667
|
anthropicBaseUrl?: string | undefined;
|
|
6617
6668
|
anthropicUseAuthToken?: boolean | undefined;
|
|
6618
6669
|
claudeCodePath?: string | undefined;
|
|
6670
|
+
claudeCodeMaxOutputTokens?: number | undefined;
|
|
6619
6671
|
glamaModelId?: string | undefined;
|
|
6620
6672
|
glamaApiKey?: string | undefined;
|
|
6621
6673
|
openRouterApiKey?: string | undefined;
|
|
@@ -6767,6 +6819,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6767
6819
|
followupAutoApproveTimeoutMs?: number | undefined;
|
|
6768
6820
|
alwaysAllowUpdateTodoList?: boolean | undefined;
|
|
6769
6821
|
allowedCommands?: string[] | undefined;
|
|
6822
|
+
deniedCommands?: string[] | undefined;
|
|
6770
6823
|
allowedMaxRequests?: number | null | undefined;
|
|
6771
6824
|
autoCondenseContext?: boolean | undefined;
|
|
6772
6825
|
autoCondenseContextPercent?: number | undefined;
|
|
@@ -6871,6 +6924,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6871
6924
|
anthropicBaseUrl?: string | undefined;
|
|
6872
6925
|
anthropicUseAuthToken?: boolean | undefined;
|
|
6873
6926
|
claudeCodePath?: string | undefined;
|
|
6927
|
+
claudeCodeMaxOutputTokens?: number | undefined;
|
|
6874
6928
|
glamaModelId?: string | undefined;
|
|
6875
6929
|
glamaApiKey?: string | undefined;
|
|
6876
6930
|
openRouterApiKey?: string | undefined;
|
|
@@ -7022,6 +7076,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
7022
7076
|
followupAutoApproveTimeoutMs?: number | undefined;
|
|
7023
7077
|
alwaysAllowUpdateTodoList?: boolean | undefined;
|
|
7024
7078
|
allowedCommands?: string[] | undefined;
|
|
7079
|
+
deniedCommands?: string[] | undefined;
|
|
7025
7080
|
allowedMaxRequests?: number | null | undefined;
|
|
7026
7081
|
autoCondenseContext?: boolean | undefined;
|
|
7027
7082
|
autoCondenseContextPercent?: number | undefined;
|
|
@@ -7125,6 +7180,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
7125
7180
|
anthropicBaseUrl?: string | undefined;
|
|
7126
7181
|
anthropicUseAuthToken?: boolean | undefined;
|
|
7127
7182
|
claudeCodePath?: string | undefined;
|
|
7183
|
+
claudeCodeMaxOutputTokens?: number | undefined;
|
|
7128
7184
|
glamaModelId?: string | undefined;
|
|
7129
7185
|
glamaApiKey?: string | undefined;
|
|
7130
7186
|
openRouterApiKey?: string | undefined;
|
|
@@ -7276,6 +7332,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
7276
7332
|
followupAutoApproveTimeoutMs?: number | undefined;
|
|
7277
7333
|
alwaysAllowUpdateTodoList?: boolean | undefined;
|
|
7278
7334
|
allowedCommands?: string[] | undefined;
|
|
7335
|
+
deniedCommands?: string[] | undefined;
|
|
7279
7336
|
allowedMaxRequests?: number | null | undefined;
|
|
7280
7337
|
autoCondenseContext?: boolean | undefined;
|
|
7281
7338
|
autoCondenseContextPercent?: number | undefined;
|
|
@@ -7382,6 +7439,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
7382
7439
|
anthropicBaseUrl?: string | undefined;
|
|
7383
7440
|
anthropicUseAuthToken?: boolean | undefined;
|
|
7384
7441
|
claudeCodePath?: string | undefined;
|
|
7442
|
+
claudeCodeMaxOutputTokens?: number | undefined;
|
|
7385
7443
|
glamaModelId?: string | undefined;
|
|
7386
7444
|
glamaApiKey?: string | undefined;
|
|
7387
7445
|
openRouterApiKey?: string | undefined;
|
|
@@ -7533,6 +7591,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
7533
7591
|
followupAutoApproveTimeoutMs?: number | undefined;
|
|
7534
7592
|
alwaysAllowUpdateTodoList?: boolean | undefined;
|
|
7535
7593
|
allowedCommands?: string[] | undefined;
|
|
7594
|
+
deniedCommands?: string[] | undefined;
|
|
7536
7595
|
allowedMaxRequests?: number | null | undefined;
|
|
7537
7596
|
autoCondenseContext?: boolean | undefined;
|
|
7538
7597
|
autoCondenseContextPercent?: number | undefined;
|
|
@@ -7639,6 +7698,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
7639
7698
|
anthropicBaseUrl?: string | undefined;
|
|
7640
7699
|
anthropicUseAuthToken?: boolean | undefined;
|
|
7641
7700
|
claudeCodePath?: string | undefined;
|
|
7701
|
+
claudeCodeMaxOutputTokens?: number | undefined;
|
|
7642
7702
|
glamaModelId?: string | undefined;
|
|
7643
7703
|
glamaApiKey?: string | undefined;
|
|
7644
7704
|
openRouterApiKey?: string | undefined;
|
|
@@ -7790,6 +7850,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
7790
7850
|
followupAutoApproveTimeoutMs?: number | undefined;
|
|
7791
7851
|
alwaysAllowUpdateTodoList?: boolean | undefined;
|
|
7792
7852
|
allowedCommands?: string[] | undefined;
|
|
7853
|
+
deniedCommands?: string[] | undefined;
|
|
7793
7854
|
allowedMaxRequests?: number | null | undefined;
|
|
7794
7855
|
autoCondenseContext?: boolean | undefined;
|
|
7795
7856
|
autoCondenseContextPercent?: number | undefined;
|
|
@@ -7936,6 +7997,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
7936
7997
|
summary: string;
|
|
7937
7998
|
}>>;
|
|
7938
7999
|
isProtected: z.ZodOptional<z.ZodBoolean>;
|
|
8000
|
+
apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
|
|
7939
8001
|
}, "strip", z.ZodTypeAny, {
|
|
7940
8002
|
type: "ask" | "say";
|
|
7941
8003
|
ts: number;
|
|
@@ -7958,6 +8020,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
7958
8020
|
summary: string;
|
|
7959
8021
|
} | undefined;
|
|
7960
8022
|
isProtected?: boolean | undefined;
|
|
8023
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
7961
8024
|
}, {
|
|
7962
8025
|
type: "ask" | "say";
|
|
7963
8026
|
ts: number;
|
|
@@ -7980,6 +8043,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
7980
8043
|
summary: string;
|
|
7981
8044
|
} | undefined;
|
|
7982
8045
|
isProtected?: boolean | undefined;
|
|
8046
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
7983
8047
|
}>;
|
|
7984
8048
|
}, "strip", z.ZodTypeAny, {
|
|
7985
8049
|
message: {
|
|
@@ -8004,6 +8068,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
8004
8068
|
summary: string;
|
|
8005
8069
|
} | undefined;
|
|
8006
8070
|
isProtected?: boolean | undefined;
|
|
8071
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
8007
8072
|
};
|
|
8008
8073
|
taskId: string;
|
|
8009
8074
|
action: "created" | "updated";
|
|
@@ -8030,6 +8095,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
8030
8095
|
summary: string;
|
|
8031
8096
|
} | undefined;
|
|
8032
8097
|
isProtected?: boolean | undefined;
|
|
8098
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
8033
8099
|
};
|
|
8034
8100
|
taskId: string;
|
|
8035
8101
|
action: "created" | "updated";
|
|
@@ -8060,6 +8126,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
8060
8126
|
summary: string;
|
|
8061
8127
|
} | undefined;
|
|
8062
8128
|
isProtected?: boolean | undefined;
|
|
8129
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
8063
8130
|
};
|
|
8064
8131
|
taskId: string;
|
|
8065
8132
|
action: "created" | "updated";
|
|
@@ -8090,6 +8157,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
|
|
|
8090
8157
|
summary: string;
|
|
8091
8158
|
} | undefined;
|
|
8092
8159
|
isProtected?: boolean | undefined;
|
|
8160
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
8093
8161
|
};
|
|
8094
8162
|
taskId: string;
|
|
8095
8163
|
action: "created" | "updated";
|
|
@@ -8586,6 +8654,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8586
8654
|
glamaModelId: z.ZodOptional<z.ZodString>;
|
|
8587
8655
|
glamaApiKey: z.ZodOptional<z.ZodString>;
|
|
8588
8656
|
claudeCodePath: z.ZodOptional<z.ZodString>;
|
|
8657
|
+
claudeCodeMaxOutputTokens: z.ZodOptional<z.ZodNumber>;
|
|
8589
8658
|
apiKey: z.ZodOptional<z.ZodString>;
|
|
8590
8659
|
anthropicBaseUrl: z.ZodOptional<z.ZodString>;
|
|
8591
8660
|
anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -8665,6 +8734,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8665
8734
|
followupAutoApproveTimeoutMs: z.ZodOptional<z.ZodNumber>;
|
|
8666
8735
|
alwaysAllowUpdateTodoList: z.ZodOptional<z.ZodBoolean>;
|
|
8667
8736
|
allowedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8737
|
+
deniedCommands: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
8668
8738
|
allowedMaxRequests: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
8669
8739
|
autoCondenseContext: z.ZodOptional<z.ZodBoolean>;
|
|
8670
8740
|
autoCondenseContextPercent: z.ZodOptional<z.ZodNumber>;
|
|
@@ -8897,6 +8967,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8897
8967
|
anthropicBaseUrl?: string | undefined;
|
|
8898
8968
|
anthropicUseAuthToken?: boolean | undefined;
|
|
8899
8969
|
claudeCodePath?: string | undefined;
|
|
8970
|
+
claudeCodeMaxOutputTokens?: number | undefined;
|
|
8900
8971
|
glamaModelId?: string | undefined;
|
|
8901
8972
|
glamaApiKey?: string | undefined;
|
|
8902
8973
|
openRouterApiKey?: string | undefined;
|
|
@@ -9048,6 +9119,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9048
9119
|
followupAutoApproveTimeoutMs?: number | undefined;
|
|
9049
9120
|
alwaysAllowUpdateTodoList?: boolean | undefined;
|
|
9050
9121
|
allowedCommands?: string[] | undefined;
|
|
9122
|
+
deniedCommands?: string[] | undefined;
|
|
9051
9123
|
allowedMaxRequests?: number | null | undefined;
|
|
9052
9124
|
autoCondenseContext?: boolean | undefined;
|
|
9053
9125
|
autoCondenseContextPercent?: number | undefined;
|
|
@@ -9146,6 +9218,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9146
9218
|
anthropicBaseUrl?: string | undefined;
|
|
9147
9219
|
anthropicUseAuthToken?: boolean | undefined;
|
|
9148
9220
|
claudeCodePath?: string | undefined;
|
|
9221
|
+
claudeCodeMaxOutputTokens?: number | undefined;
|
|
9149
9222
|
glamaModelId?: string | undefined;
|
|
9150
9223
|
glamaApiKey?: string | undefined;
|
|
9151
9224
|
openRouterApiKey?: string | undefined;
|
|
@@ -9297,6 +9370,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9297
9370
|
followupAutoApproveTimeoutMs?: number | undefined;
|
|
9298
9371
|
alwaysAllowUpdateTodoList?: boolean | undefined;
|
|
9299
9372
|
allowedCommands?: string[] | undefined;
|
|
9373
|
+
deniedCommands?: string[] | undefined;
|
|
9300
9374
|
allowedMaxRequests?: number | null | undefined;
|
|
9301
9375
|
autoCondenseContext?: boolean | undefined;
|
|
9302
9376
|
autoCondenseContextPercent?: number | undefined;
|
|
@@ -9401,6 +9475,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9401
9475
|
anthropicBaseUrl?: string | undefined;
|
|
9402
9476
|
anthropicUseAuthToken?: boolean | undefined;
|
|
9403
9477
|
claudeCodePath?: string | undefined;
|
|
9478
|
+
claudeCodeMaxOutputTokens?: number | undefined;
|
|
9404
9479
|
glamaModelId?: string | undefined;
|
|
9405
9480
|
glamaApiKey?: string | undefined;
|
|
9406
9481
|
openRouterApiKey?: string | undefined;
|
|
@@ -9552,6 +9627,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9552
9627
|
followupAutoApproveTimeoutMs?: number | undefined;
|
|
9553
9628
|
alwaysAllowUpdateTodoList?: boolean | undefined;
|
|
9554
9629
|
allowedCommands?: string[] | undefined;
|
|
9630
|
+
deniedCommands?: string[] | undefined;
|
|
9555
9631
|
allowedMaxRequests?: number | null | undefined;
|
|
9556
9632
|
autoCondenseContext?: boolean | undefined;
|
|
9557
9633
|
autoCondenseContextPercent?: number | undefined;
|
|
@@ -9655,6 +9731,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9655
9731
|
anthropicBaseUrl?: string | undefined;
|
|
9656
9732
|
anthropicUseAuthToken?: boolean | undefined;
|
|
9657
9733
|
claudeCodePath?: string | undefined;
|
|
9734
|
+
claudeCodeMaxOutputTokens?: number | undefined;
|
|
9658
9735
|
glamaModelId?: string | undefined;
|
|
9659
9736
|
glamaApiKey?: string | undefined;
|
|
9660
9737
|
openRouterApiKey?: string | undefined;
|
|
@@ -9806,6 +9883,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9806
9883
|
followupAutoApproveTimeoutMs?: number | undefined;
|
|
9807
9884
|
alwaysAllowUpdateTodoList?: boolean | undefined;
|
|
9808
9885
|
allowedCommands?: string[] | undefined;
|
|
9886
|
+
deniedCommands?: string[] | undefined;
|
|
9809
9887
|
allowedMaxRequests?: number | null | undefined;
|
|
9810
9888
|
autoCondenseContext?: boolean | undefined;
|
|
9811
9889
|
autoCondenseContextPercent?: number | undefined;
|
|
@@ -9912,6 +9990,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9912
9990
|
anthropicBaseUrl?: string | undefined;
|
|
9913
9991
|
anthropicUseAuthToken?: boolean | undefined;
|
|
9914
9992
|
claudeCodePath?: string | undefined;
|
|
9993
|
+
claudeCodeMaxOutputTokens?: number | undefined;
|
|
9915
9994
|
glamaModelId?: string | undefined;
|
|
9916
9995
|
glamaApiKey?: string | undefined;
|
|
9917
9996
|
openRouterApiKey?: string | undefined;
|
|
@@ -10063,6 +10142,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10063
10142
|
followupAutoApproveTimeoutMs?: number | undefined;
|
|
10064
10143
|
alwaysAllowUpdateTodoList?: boolean | undefined;
|
|
10065
10144
|
allowedCommands?: string[] | undefined;
|
|
10145
|
+
deniedCommands?: string[] | undefined;
|
|
10066
10146
|
allowedMaxRequests?: number | null | undefined;
|
|
10067
10147
|
autoCondenseContext?: boolean | undefined;
|
|
10068
10148
|
autoCondenseContextPercent?: number | undefined;
|
|
@@ -10169,6 +10249,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10169
10249
|
anthropicBaseUrl?: string | undefined;
|
|
10170
10250
|
anthropicUseAuthToken?: boolean | undefined;
|
|
10171
10251
|
claudeCodePath?: string | undefined;
|
|
10252
|
+
claudeCodeMaxOutputTokens?: number | undefined;
|
|
10172
10253
|
glamaModelId?: string | undefined;
|
|
10173
10254
|
glamaApiKey?: string | undefined;
|
|
10174
10255
|
openRouterApiKey?: string | undefined;
|
|
@@ -10320,6 +10401,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10320
10401
|
followupAutoApproveTimeoutMs?: number | undefined;
|
|
10321
10402
|
alwaysAllowUpdateTodoList?: boolean | undefined;
|
|
10322
10403
|
allowedCommands?: string[] | undefined;
|
|
10404
|
+
deniedCommands?: string[] | undefined;
|
|
10323
10405
|
allowedMaxRequests?: number | null | undefined;
|
|
10324
10406
|
autoCondenseContext?: boolean | undefined;
|
|
10325
10407
|
autoCondenseContextPercent?: number | undefined;
|
|
@@ -10448,6 +10530,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10448
10530
|
anthropicBaseUrl?: string | undefined;
|
|
10449
10531
|
anthropicUseAuthToken?: boolean | undefined;
|
|
10450
10532
|
claudeCodePath?: string | undefined;
|
|
10533
|
+
claudeCodeMaxOutputTokens?: number | undefined;
|
|
10451
10534
|
glamaModelId?: string | undefined;
|
|
10452
10535
|
glamaApiKey?: string | undefined;
|
|
10453
10536
|
openRouterApiKey?: string | undefined;
|
|
@@ -10599,6 +10682,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10599
10682
|
followupAutoApproveTimeoutMs?: number | undefined;
|
|
10600
10683
|
alwaysAllowUpdateTodoList?: boolean | undefined;
|
|
10601
10684
|
allowedCommands?: string[] | undefined;
|
|
10685
|
+
deniedCommands?: string[] | undefined;
|
|
10602
10686
|
allowedMaxRequests?: number | null | undefined;
|
|
10603
10687
|
autoCondenseContext?: boolean | undefined;
|
|
10604
10688
|
autoCondenseContextPercent?: number | undefined;
|
|
@@ -10716,6 +10800,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10716
10800
|
anthropicBaseUrl?: string | undefined;
|
|
10717
10801
|
anthropicUseAuthToken?: boolean | undefined;
|
|
10718
10802
|
claudeCodePath?: string | undefined;
|
|
10803
|
+
claudeCodeMaxOutputTokens?: number | undefined;
|
|
10719
10804
|
glamaModelId?: string | undefined;
|
|
10720
10805
|
glamaApiKey?: string | undefined;
|
|
10721
10806
|
openRouterApiKey?: string | undefined;
|
|
@@ -10867,6 +10952,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
10867
10952
|
followupAutoApproveTimeoutMs?: number | undefined;
|
|
10868
10953
|
alwaysAllowUpdateTodoList?: boolean | undefined;
|
|
10869
10954
|
allowedCommands?: string[] | undefined;
|
|
10955
|
+
deniedCommands?: string[] | undefined;
|
|
10870
10956
|
allowedMaxRequests?: number | null | undefined;
|
|
10871
10957
|
autoCondenseContext?: boolean | undefined;
|
|
10872
10958
|
autoCondenseContextPercent?: number | undefined;
|
|
@@ -11002,6 +11088,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
11002
11088
|
summary: string;
|
|
11003
11089
|
}>>;
|
|
11004
11090
|
isProtected: z.ZodOptional<z.ZodBoolean>;
|
|
11091
|
+
apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
|
|
11005
11092
|
}, "strip", z.ZodTypeAny, {
|
|
11006
11093
|
type: "ask" | "say";
|
|
11007
11094
|
ts: number;
|
|
@@ -11024,6 +11111,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
11024
11111
|
summary: string;
|
|
11025
11112
|
} | undefined;
|
|
11026
11113
|
isProtected?: boolean | undefined;
|
|
11114
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
11027
11115
|
}, {
|
|
11028
11116
|
type: "ask" | "say";
|
|
11029
11117
|
ts: number;
|
|
@@ -11046,6 +11134,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
11046
11134
|
summary: string;
|
|
11047
11135
|
} | undefined;
|
|
11048
11136
|
isProtected?: boolean | undefined;
|
|
11137
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
11049
11138
|
}>;
|
|
11050
11139
|
}, "strip", z.ZodTypeAny, {
|
|
11051
11140
|
message: {
|
|
@@ -11070,6 +11159,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
11070
11159
|
summary: string;
|
|
11071
11160
|
} | undefined;
|
|
11072
11161
|
isProtected?: boolean | undefined;
|
|
11162
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
11073
11163
|
};
|
|
11074
11164
|
taskId: string;
|
|
11075
11165
|
action: "created" | "updated";
|
|
@@ -11096,6 +11186,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
11096
11186
|
summary: string;
|
|
11097
11187
|
} | undefined;
|
|
11098
11188
|
isProtected?: boolean | undefined;
|
|
11189
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
11099
11190
|
};
|
|
11100
11191
|
taskId: string;
|
|
11101
11192
|
action: "created" | "updated";
|
|
@@ -11126,6 +11217,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
11126
11217
|
summary: string;
|
|
11127
11218
|
} | undefined;
|
|
11128
11219
|
isProtected?: boolean | undefined;
|
|
11220
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
11129
11221
|
};
|
|
11130
11222
|
taskId: string;
|
|
11131
11223
|
action: "created" | "updated";
|
|
@@ -11156,6 +11248,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
11156
11248
|
summary: string;
|
|
11157
11249
|
} | undefined;
|
|
11158
11250
|
isProtected?: boolean | undefined;
|
|
11251
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
11159
11252
|
};
|
|
11160
11253
|
taskId: string;
|
|
11161
11254
|
action: "created" | "updated";
|
|
@@ -11440,6 +11533,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
11440
11533
|
summary: string;
|
|
11441
11534
|
} | undefined;
|
|
11442
11535
|
isProtected?: boolean | undefined;
|
|
11536
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
11443
11537
|
};
|
|
11444
11538
|
taskId: string;
|
|
11445
11539
|
action: "created" | "updated";
|
|
@@ -11546,6 +11640,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
11546
11640
|
summary: string;
|
|
11547
11641
|
} | undefined;
|
|
11548
11642
|
isProtected?: boolean | undefined;
|
|
11643
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
11549
11644
|
};
|
|
11550
11645
|
taskId: string;
|
|
11551
11646
|
action: "created" | "updated";
|
|
@@ -13093,7 +13188,8 @@ declare enum TelemetryEventName {
|
|
|
13093
13188
|
SCHEMA_VALIDATION_ERROR = "Schema Validation Error",
|
|
13094
13189
|
DIFF_APPLICATION_ERROR = "Diff Application Error",
|
|
13095
13190
|
SHELL_INTEGRATION_ERROR = "Shell Integration Error",
|
|
13096
|
-
CONSECUTIVE_MISTAKE_ERROR = "Consecutive Mistake Error"
|
|
13191
|
+
CONSECUTIVE_MISTAKE_ERROR = "Consecutive Mistake Error",
|
|
13192
|
+
CODE_INDEX_ERROR = "Code Index Error"
|
|
13097
13193
|
}
|
|
13098
13194
|
/**
|
|
13099
13195
|
* TelemetryProperties
|
|
@@ -13223,7 +13319,7 @@ type TelemetryEvent = {
|
|
|
13223
13319
|
* RooCodeTelemetryEvent
|
|
13224
13320
|
*/
|
|
13225
13321
|
declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
13226
|
-
type: z.ZodEnum<[TelemetryEventName.TASK_CREATED, TelemetryEventName.TASK_RESTARTED, TelemetryEventName.TASK_COMPLETED, TelemetryEventName.TASK_CONVERSATION_MESSAGE, TelemetryEventName.MODE_SWITCH, TelemetryEventName.MODE_SELECTOR_OPENED, TelemetryEventName.TOOL_USED, TelemetryEventName.CHECKPOINT_CREATED, TelemetryEventName.CHECKPOINT_RESTORED, TelemetryEventName.CHECKPOINT_DIFFED, TelemetryEventName.CODE_ACTION_USED, TelemetryEventName.PROMPT_ENHANCED, TelemetryEventName.TITLE_BUTTON_CLICKED, TelemetryEventName.AUTHENTICATION_INITIATED, TelemetryEventName.MARKETPLACE_ITEM_INSTALLED, TelemetryEventName.MARKETPLACE_ITEM_REMOVED, TelemetryEventName.MARKETPLACE_TAB_VIEWED, TelemetryEventName.MARKETPLACE_INSTALL_BUTTON_CLICKED, TelemetryEventName.SHARE_BUTTON_CLICKED, TelemetryEventName.SHARE_ORGANIZATION_CLICKED, TelemetryEventName.SHARE_PUBLIC_CLICKED, TelemetryEventName.SHARE_CONNECT_TO_CLOUD_CLICKED, TelemetryEventName.ACCOUNT_CONNECT_CLICKED, TelemetryEventName.ACCOUNT_CONNECT_SUCCESS, TelemetryEventName.ACCOUNT_LOGOUT_CLICKED, TelemetryEventName.ACCOUNT_LOGOUT_SUCCESS, TelemetryEventName.SCHEMA_VALIDATION_ERROR, TelemetryEventName.DIFF_APPLICATION_ERROR, TelemetryEventName.SHELL_INTEGRATION_ERROR, TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR, TelemetryEventName.CONTEXT_CONDENSED, TelemetryEventName.SLIDING_WINDOW_TRUNCATION, TelemetryEventName.TAB_SHOWN, TelemetryEventName.MODE_SETTINGS_CHANGED, TelemetryEventName.CUSTOM_MODE_CREATED]>;
|
|
13322
|
+
type: z.ZodEnum<[TelemetryEventName.TASK_CREATED, TelemetryEventName.TASK_RESTARTED, TelemetryEventName.TASK_COMPLETED, TelemetryEventName.TASK_CONVERSATION_MESSAGE, TelemetryEventName.MODE_SWITCH, TelemetryEventName.MODE_SELECTOR_OPENED, TelemetryEventName.TOOL_USED, TelemetryEventName.CHECKPOINT_CREATED, TelemetryEventName.CHECKPOINT_RESTORED, TelemetryEventName.CHECKPOINT_DIFFED, TelemetryEventName.CODE_ACTION_USED, TelemetryEventName.PROMPT_ENHANCED, TelemetryEventName.TITLE_BUTTON_CLICKED, TelemetryEventName.AUTHENTICATION_INITIATED, TelemetryEventName.MARKETPLACE_ITEM_INSTALLED, TelemetryEventName.MARKETPLACE_ITEM_REMOVED, TelemetryEventName.MARKETPLACE_TAB_VIEWED, TelemetryEventName.MARKETPLACE_INSTALL_BUTTON_CLICKED, TelemetryEventName.SHARE_BUTTON_CLICKED, TelemetryEventName.SHARE_ORGANIZATION_CLICKED, TelemetryEventName.SHARE_PUBLIC_CLICKED, TelemetryEventName.SHARE_CONNECT_TO_CLOUD_CLICKED, TelemetryEventName.ACCOUNT_CONNECT_CLICKED, TelemetryEventName.ACCOUNT_CONNECT_SUCCESS, TelemetryEventName.ACCOUNT_LOGOUT_CLICKED, TelemetryEventName.ACCOUNT_LOGOUT_SUCCESS, TelemetryEventName.SCHEMA_VALIDATION_ERROR, TelemetryEventName.DIFF_APPLICATION_ERROR, TelemetryEventName.SHELL_INTEGRATION_ERROR, TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR, TelemetryEventName.CODE_INDEX_ERROR, TelemetryEventName.CONTEXT_CONDENSED, TelemetryEventName.SLIDING_WINDOW_TRUNCATION, TelemetryEventName.TAB_SHOWN, TelemetryEventName.MODE_SETTINGS_CHANGED, TelemetryEventName.CUSTOM_MODE_CREATED]>;
|
|
13227
13323
|
properties: z.ZodObject<{
|
|
13228
13324
|
repositoryUrl: z.ZodOptional<z.ZodString>;
|
|
13229
13325
|
repositoryName: z.ZodOptional<z.ZodString>;
|
|
@@ -13277,7 +13373,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13277
13373
|
defaultBranch?: string | undefined;
|
|
13278
13374
|
}>;
|
|
13279
13375
|
}, "strip", z.ZodTypeAny, {
|
|
13280
|
-
type: TelemetryEventName.TASK_CREATED | TelemetryEventName.TASK_RESTARTED | TelemetryEventName.TASK_COMPLETED | TelemetryEventName.TASK_CONVERSATION_MESSAGE | TelemetryEventName.MODE_SWITCH | TelemetryEventName.MODE_SELECTOR_OPENED | TelemetryEventName.TOOL_USED | TelemetryEventName.CHECKPOINT_CREATED | TelemetryEventName.CHECKPOINT_RESTORED | TelemetryEventName.CHECKPOINT_DIFFED | TelemetryEventName.TAB_SHOWN | TelemetryEventName.MODE_SETTINGS_CHANGED | TelemetryEventName.CUSTOM_MODE_CREATED | TelemetryEventName.CONTEXT_CONDENSED | TelemetryEventName.SLIDING_WINDOW_TRUNCATION | TelemetryEventName.CODE_ACTION_USED | TelemetryEventName.PROMPT_ENHANCED | TelemetryEventName.TITLE_BUTTON_CLICKED | TelemetryEventName.AUTHENTICATION_INITIATED | TelemetryEventName.MARKETPLACE_ITEM_INSTALLED | TelemetryEventName.MARKETPLACE_ITEM_REMOVED | TelemetryEventName.MARKETPLACE_TAB_VIEWED | TelemetryEventName.MARKETPLACE_INSTALL_BUTTON_CLICKED | TelemetryEventName.SHARE_BUTTON_CLICKED | TelemetryEventName.SHARE_ORGANIZATION_CLICKED | TelemetryEventName.SHARE_PUBLIC_CLICKED | TelemetryEventName.SHARE_CONNECT_TO_CLOUD_CLICKED | TelemetryEventName.ACCOUNT_CONNECT_CLICKED | TelemetryEventName.ACCOUNT_CONNECT_SUCCESS | TelemetryEventName.ACCOUNT_LOGOUT_CLICKED | TelemetryEventName.ACCOUNT_LOGOUT_SUCCESS | TelemetryEventName.SCHEMA_VALIDATION_ERROR | TelemetryEventName.DIFF_APPLICATION_ERROR | TelemetryEventName.SHELL_INTEGRATION_ERROR | TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR;
|
|
13376
|
+
type: TelemetryEventName.TASK_CREATED | TelemetryEventName.TASK_RESTARTED | TelemetryEventName.TASK_COMPLETED | TelemetryEventName.TASK_CONVERSATION_MESSAGE | TelemetryEventName.MODE_SWITCH | TelemetryEventName.MODE_SELECTOR_OPENED | TelemetryEventName.TOOL_USED | TelemetryEventName.CHECKPOINT_CREATED | TelemetryEventName.CHECKPOINT_RESTORED | TelemetryEventName.CHECKPOINT_DIFFED | TelemetryEventName.TAB_SHOWN | TelemetryEventName.MODE_SETTINGS_CHANGED | TelemetryEventName.CUSTOM_MODE_CREATED | TelemetryEventName.CONTEXT_CONDENSED | TelemetryEventName.SLIDING_WINDOW_TRUNCATION | TelemetryEventName.CODE_ACTION_USED | TelemetryEventName.PROMPT_ENHANCED | TelemetryEventName.TITLE_BUTTON_CLICKED | TelemetryEventName.AUTHENTICATION_INITIATED | TelemetryEventName.MARKETPLACE_ITEM_INSTALLED | TelemetryEventName.MARKETPLACE_ITEM_REMOVED | TelemetryEventName.MARKETPLACE_TAB_VIEWED | TelemetryEventName.MARKETPLACE_INSTALL_BUTTON_CLICKED | TelemetryEventName.SHARE_BUTTON_CLICKED | TelemetryEventName.SHARE_ORGANIZATION_CLICKED | TelemetryEventName.SHARE_PUBLIC_CLICKED | TelemetryEventName.SHARE_CONNECT_TO_CLOUD_CLICKED | TelemetryEventName.ACCOUNT_CONNECT_CLICKED | TelemetryEventName.ACCOUNT_CONNECT_SUCCESS | TelemetryEventName.ACCOUNT_LOGOUT_CLICKED | TelemetryEventName.ACCOUNT_LOGOUT_SUCCESS | TelemetryEventName.SCHEMA_VALIDATION_ERROR | TelemetryEventName.DIFF_APPLICATION_ERROR | TelemetryEventName.SHELL_INTEGRATION_ERROR | TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR | TelemetryEventName.CODE_INDEX_ERROR;
|
|
13281
13377
|
properties: {
|
|
13282
13378
|
appName: string;
|
|
13283
13379
|
appVersion: string;
|
|
@@ -13297,7 +13393,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13297
13393
|
defaultBranch?: string | undefined;
|
|
13298
13394
|
};
|
|
13299
13395
|
}, {
|
|
13300
|
-
type: TelemetryEventName.TASK_CREATED | TelemetryEventName.TASK_RESTARTED | TelemetryEventName.TASK_COMPLETED | TelemetryEventName.TASK_CONVERSATION_MESSAGE | TelemetryEventName.MODE_SWITCH | TelemetryEventName.MODE_SELECTOR_OPENED | TelemetryEventName.TOOL_USED | TelemetryEventName.CHECKPOINT_CREATED | TelemetryEventName.CHECKPOINT_RESTORED | TelemetryEventName.CHECKPOINT_DIFFED | TelemetryEventName.TAB_SHOWN | TelemetryEventName.MODE_SETTINGS_CHANGED | TelemetryEventName.CUSTOM_MODE_CREATED | TelemetryEventName.CONTEXT_CONDENSED | TelemetryEventName.SLIDING_WINDOW_TRUNCATION | TelemetryEventName.CODE_ACTION_USED | TelemetryEventName.PROMPT_ENHANCED | TelemetryEventName.TITLE_BUTTON_CLICKED | TelemetryEventName.AUTHENTICATION_INITIATED | TelemetryEventName.MARKETPLACE_ITEM_INSTALLED | TelemetryEventName.MARKETPLACE_ITEM_REMOVED | TelemetryEventName.MARKETPLACE_TAB_VIEWED | TelemetryEventName.MARKETPLACE_INSTALL_BUTTON_CLICKED | TelemetryEventName.SHARE_BUTTON_CLICKED | TelemetryEventName.SHARE_ORGANIZATION_CLICKED | TelemetryEventName.SHARE_PUBLIC_CLICKED | TelemetryEventName.SHARE_CONNECT_TO_CLOUD_CLICKED | TelemetryEventName.ACCOUNT_CONNECT_CLICKED | TelemetryEventName.ACCOUNT_CONNECT_SUCCESS | TelemetryEventName.ACCOUNT_LOGOUT_CLICKED | TelemetryEventName.ACCOUNT_LOGOUT_SUCCESS | TelemetryEventName.SCHEMA_VALIDATION_ERROR | TelemetryEventName.DIFF_APPLICATION_ERROR | TelemetryEventName.SHELL_INTEGRATION_ERROR | TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR;
|
|
13396
|
+
type: TelemetryEventName.TASK_CREATED | TelemetryEventName.TASK_RESTARTED | TelemetryEventName.TASK_COMPLETED | TelemetryEventName.TASK_CONVERSATION_MESSAGE | TelemetryEventName.MODE_SWITCH | TelemetryEventName.MODE_SELECTOR_OPENED | TelemetryEventName.TOOL_USED | TelemetryEventName.CHECKPOINT_CREATED | TelemetryEventName.CHECKPOINT_RESTORED | TelemetryEventName.CHECKPOINT_DIFFED | TelemetryEventName.TAB_SHOWN | TelemetryEventName.MODE_SETTINGS_CHANGED | TelemetryEventName.CUSTOM_MODE_CREATED | TelemetryEventName.CONTEXT_CONDENSED | TelemetryEventName.SLIDING_WINDOW_TRUNCATION | TelemetryEventName.CODE_ACTION_USED | TelemetryEventName.PROMPT_ENHANCED | TelemetryEventName.TITLE_BUTTON_CLICKED | TelemetryEventName.AUTHENTICATION_INITIATED | TelemetryEventName.MARKETPLACE_ITEM_INSTALLED | TelemetryEventName.MARKETPLACE_ITEM_REMOVED | TelemetryEventName.MARKETPLACE_TAB_VIEWED | TelemetryEventName.MARKETPLACE_INSTALL_BUTTON_CLICKED | TelemetryEventName.SHARE_BUTTON_CLICKED | TelemetryEventName.SHARE_ORGANIZATION_CLICKED | TelemetryEventName.SHARE_PUBLIC_CLICKED | TelemetryEventName.SHARE_CONNECT_TO_CLOUD_CLICKED | TelemetryEventName.ACCOUNT_CONNECT_CLICKED | TelemetryEventName.ACCOUNT_CONNECT_SUCCESS | TelemetryEventName.ACCOUNT_LOGOUT_CLICKED | TelemetryEventName.ACCOUNT_LOGOUT_SUCCESS | TelemetryEventName.SCHEMA_VALIDATION_ERROR | TelemetryEventName.DIFF_APPLICATION_ERROR | TelemetryEventName.SHELL_INTEGRATION_ERROR | TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR | TelemetryEventName.CODE_INDEX_ERROR;
|
|
13301
13397
|
properties: {
|
|
13302
13398
|
appName: string;
|
|
13303
13399
|
appVersion: string;
|
|
@@ -13358,6 +13454,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13358
13454
|
summary: string;
|
|
13359
13455
|
}>>;
|
|
13360
13456
|
isProtected: z.ZodOptional<z.ZodBoolean>;
|
|
13457
|
+
apiProtocol: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"openai">, z.ZodLiteral<"anthropic">]>>;
|
|
13361
13458
|
}, "strip", z.ZodTypeAny, {
|
|
13362
13459
|
type: "ask" | "say";
|
|
13363
13460
|
ts: number;
|
|
@@ -13380,6 +13477,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13380
13477
|
summary: string;
|
|
13381
13478
|
} | undefined;
|
|
13382
13479
|
isProtected?: boolean | undefined;
|
|
13480
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
13383
13481
|
}, {
|
|
13384
13482
|
type: "ask" | "say";
|
|
13385
13483
|
ts: number;
|
|
@@ -13402,6 +13500,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13402
13500
|
summary: string;
|
|
13403
13501
|
} | undefined;
|
|
13404
13502
|
isProtected?: boolean | undefined;
|
|
13503
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
13405
13504
|
}>;
|
|
13406
13505
|
repositoryUrl: z.ZodOptional<z.ZodString>;
|
|
13407
13506
|
repositoryName: z.ZodOptional<z.ZodString>;
|
|
@@ -13441,6 +13540,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13441
13540
|
summary: string;
|
|
13442
13541
|
} | undefined;
|
|
13443
13542
|
isProtected?: boolean | undefined;
|
|
13543
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
13444
13544
|
};
|
|
13445
13545
|
appName: string;
|
|
13446
13546
|
appVersion: string;
|
|
@@ -13481,6 +13581,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13481
13581
|
summary: string;
|
|
13482
13582
|
} | undefined;
|
|
13483
13583
|
isProtected?: boolean | undefined;
|
|
13584
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
13484
13585
|
};
|
|
13485
13586
|
appName: string;
|
|
13486
13587
|
appVersion: string;
|
|
@@ -13524,6 +13625,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13524
13625
|
summary: string;
|
|
13525
13626
|
} | undefined;
|
|
13526
13627
|
isProtected?: boolean | undefined;
|
|
13628
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
13527
13629
|
};
|
|
13528
13630
|
appName: string;
|
|
13529
13631
|
appVersion: string;
|
|
@@ -13567,6 +13669,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
13567
13669
|
summary: string;
|
|
13568
13670
|
} | undefined;
|
|
13569
13671
|
isProtected?: boolean | undefined;
|
|
13672
|
+
apiProtocol?: "openai" | "anthropic" | undefined;
|
|
13570
13673
|
};
|
|
13571
13674
|
appName: string;
|
|
13572
13675
|
appVersion: string;
|
|
@@ -13837,4 +13940,4 @@ declare const todoItemSchema: z.ZodObject<{
|
|
|
13837
13940
|
}>;
|
|
13838
13941
|
type TodoItem = z.infer<typeof todoItemSchema>;
|
|
13839
13942
|
|
|
13840
|
-
export { ANTHROPIC_DEFAULT_MAX_TOKENS, AWS_INFERENCE_PROFILE_MAPPING, type Ack, type AnthropicModelId, type AssertEqual, BEDROCK_DEFAULT_CONTEXT, BEDROCK_DEFAULT_TEMPERATURE, BEDROCK_MAX_TOKENS, BEDROCK_REGIONS, type BedrockModelId, CODEBASE_INDEX_DEFAULTS, type ChutesModelId, type ClaudeCodeModelId, type ClineAsk, type ClineMessage, type ClineSay, type CloudOrganization, type CloudOrganizationMembership, type CloudUserInfo, type CodeActionId, type CodeActionName, type CodebaseIndexConfig, type CodebaseIndexModels, type CodebaseIndexProvider, type CommandExecutionStatus, type CommandId, type ContextCondense, type CustomModePrompts, type CustomModesSettings, type CustomSupportPrompts, DEEP_SEEK_DEFAULT_TEMPERATURE, type DeepSeekModelId, EVALS_SETTINGS, EVALS_TIMEOUT, type Equals, type ExperimentId, type Experiments, type FollowUpData, type FollowUpDataType, GLAMA_DEFAULT_TEMPERATURE, GLOBAL_SETTINGS_KEYS, GLOBAL_STATE_KEYS, type GeminiModelId, type GitProperties, type GlobalSettings, type GlobalState, type GroqModelId, type GroupEntry, type GroupOptions, type HistoryItem, type InstallMarketplaceItemOptions, type IpcClientEvents, type IpcMessage, IpcMessageType, IpcOrigin, type IpcServerEvents, type IsSubtask, type Keys, LITELLM_COMPUTER_USE_MODELS, LMSTUDIO_DEFAULT_TEMPERATURE, type Language, MISTRAL_DEFAULT_TEMPERATURE, MODEL_ID_KEYS, type MarketplaceItem, type MarketplaceItemType, type McpExecutionStatus, type McpInstallationMethod, type McpMarketplaceItem, type McpParameter, type MistralModelId, type ModeConfig, type ModeMarketplaceItem, type ModelInfo, type ModelParameter, OPENAI_AZURE_AI_INFERENCE_PATH, OPENAI_NATIVE_DEFAULT_TEMPERATURE, OPENROUTER_DEFAULT_PROVIDER_NAME, OPEN_ROUTER_COMPUTER_USE_MODELS, OPEN_ROUTER_PROMPT_CACHING_MODELS, OPEN_ROUTER_REASONING_BUDGET_MODELS, OPEN_ROUTER_REQUIRED_REASONING_BUDGET_MODELS, ORGANIZATION_ALLOW_ALL, ORGANIZATION_DEFAULT, type OpenAiNativeModelId, type OrganizationAllowList, type OrganizationCloudSettings, type OrganizationDefaultSettings, type OrganizationSettings, PROVIDER_SETTINGS_KEYS, type PromptComponent, type ProviderName, type ProviderSettings, type ProviderSettingsEntry, type ReasoningEffort, type RooCodeAPI, type RooCodeAPIEvents, RooCodeEventName, type RooCodeEvents, type RooCodeIpcServer, type RooCodeSettings, type RooCodeTelemetryEvent, SECRET_STATE_KEYS, type SecretState, type ShareResponse, type ShareVisibility, type SuggestionItem, type TaskCommand, TaskCommandName, type TaskEvent, type TelemetryClient, type TelemetryEvent, TelemetryEventName, type TelemetryEventSubscription, type TelemetryProperties, type TelemetryPropertiesProvider, type TelemetrySetting, type TerminalActionId, type TerminalActionName, type TerminalActionPromptType, type TodoItem, type TodoStatus, type TokenUsage, type ToolGroup, type ToolName, type ToolProgressStatus, type ToolUsage, VERTEX_REGIONS, type Values, type VertexModelId, type VscodeLlmModelId, type XAIModelId, ackSchema, anthropicDefaultModelId, anthropicModels, appPropertiesSchema, azureOpenAiDefaultApiVersion, bedrockDefaultModelId, bedrockDefaultPromptRouterModelId, bedrockModels, chutesDefaultModelId, chutesModels, claudeCodeDefaultModelId, claudeCodeModels, clineAskSchema, clineAsks, clineMessageSchema, clineSaySchema, clineSays, codeActionIds, codebaseIndexConfigSchema, codebaseIndexModelsSchema, codebaseIndexProviderSchema, commandExecutionStatusSchema, commandIds, contextCondenseSchema, customModePromptsSchema, customModesSettingsSchema, customSupportPromptsSchema, deepSeekDefaultModelId, deepSeekModels, experimentIds, experimentIdsSchema, experimentsSchema, followUpDataSchema, geminiDefaultModelId, geminiModels, getModelId, gitPropertiesSchema, glamaDefaultModelId, glamaDefaultModelInfo, globalSettingsSchema, groqDefaultModelId, groqModels, groupEntrySchema, groupOptionsSchema, historyItemSchema, installMarketplaceItemOptionsSchema, ipcMessageSchema, isGlobalStateKey, isLanguage, isModelParameter, isSecretStateKey, isSubtaskSchema, lMStudioDefaultModelId, lMStudioDefaultModelInfo, languages, languagesSchema, litellmDefaultModelId, litellmDefaultModelInfo, marketplaceItemSchema, marketplaceItemTypeSchema, mcpExecutionStatusSchema, mcpInstallationMethodSchema, mcpMarketplaceItemSchema, mcpParameterSchema, mistralDefaultModelId, mistralModels, modeConfigSchema, modeMarketplaceItemSchema, modelInfoSchema, modelParameters, modelParametersSchema, ollamaDefaultModelId, ollamaDefaultModelInfo, openAiModelInfoSaneDefaults, openAiNativeDefaultModelId, openAiNativeModels, openRouterDefaultModelId, openRouterDefaultModelInfo, organizationAllowListSchema, organizationCloudSettingsSchema, organizationDefaultSettingsSchema, organizationSettingsSchema, promptComponentSchema, providerNames, providerNamesSchema, providerSettingsEntrySchema, providerSettingsSchema, providerSettingsSchemaDiscriminated, reasoningEfforts, reasoningEffortsSchema, requestyDefaultModelId, requestyDefaultModelInfo, rooCodeEventsSchema, rooCodeSettingsSchema, rooCodeTelemetryEventSchema, shareResponseSchema, suggestionItemSchema, taskCommandSchema, taskEventSchema, taskPropertiesSchema, telemetryPropertiesSchema, telemetrySettings, telemetrySettingsSchema, terminalActionIds, todoItemSchema, todoStatusSchema, tokenUsageSchema, toolGroups, toolGroupsSchema, toolNames, toolNamesSchema, toolProgressStatusSchema, toolUsageSchema, unboundDefaultModelId, unboundDefaultModelInfo, vertexDefaultModelId, vertexModels, vscodeLlmDefaultModelId, vscodeLlmModels, xaiDefaultModelId, xaiModels };
|
|
13943
|
+
export { ANTHROPIC_DEFAULT_MAX_TOKENS, ANTHROPIC_STYLE_PROVIDERS, AWS_INFERENCE_PROFILE_MAPPING, type Ack, type AnthropicModelId, type AssertEqual, BEDROCK_DEFAULT_CONTEXT, BEDROCK_DEFAULT_TEMPERATURE, BEDROCK_MAX_TOKENS, BEDROCK_REGIONS, type BedrockModelId, CLAUDE_CODE_DEFAULT_MAX_OUTPUT_TOKENS, CODEBASE_INDEX_DEFAULTS, type ChutesModelId, type ClaudeCodeModelId, type ClineAsk, type ClineMessage, type ClineSay, type CloudOrganization, type CloudOrganizationMembership, type CloudUserInfo, type CodeActionId, type CodeActionName, type CodebaseIndexConfig, type CodebaseIndexModels, type CodebaseIndexProvider, type CommandExecutionStatus, type CommandId, type ContextCondense, type CustomModePrompts, type CustomModesSettings, type CustomSupportPrompts, DEEP_SEEK_DEFAULT_TEMPERATURE, type DeepSeekModelId, EVALS_SETTINGS, EVALS_TIMEOUT, type Equals, type ExperimentId, type Experiments, type FollowUpData, type FollowUpDataType, GLAMA_DEFAULT_TEMPERATURE, GLOBAL_SETTINGS_KEYS, GLOBAL_STATE_KEYS, type GeminiModelId, type GitProperties, type GlobalSettings, type GlobalState, type GroqModelId, type GroupEntry, type GroupOptions, type HistoryItem, type InstallMarketplaceItemOptions, type IpcClientEvents, type IpcMessage, IpcMessageType, IpcOrigin, type IpcServerEvents, type IsSubtask, type Keys, LITELLM_COMPUTER_USE_MODELS, LMSTUDIO_DEFAULT_TEMPERATURE, type Language, MISTRAL_DEFAULT_TEMPERATURE, MODEL_ID_KEYS, type MarketplaceItem, type MarketplaceItemType, type McpExecutionStatus, type McpInstallationMethod, type McpMarketplaceItem, type McpParameter, type MistralModelId, type ModeConfig, type ModeMarketplaceItem, type ModelInfo, type ModelParameter, OPENAI_AZURE_AI_INFERENCE_PATH, OPENAI_NATIVE_DEFAULT_TEMPERATURE, OPENROUTER_DEFAULT_PROVIDER_NAME, OPEN_ROUTER_COMPUTER_USE_MODELS, OPEN_ROUTER_PROMPT_CACHING_MODELS, OPEN_ROUTER_REASONING_BUDGET_MODELS, OPEN_ROUTER_REQUIRED_REASONING_BUDGET_MODELS, ORGANIZATION_ALLOW_ALL, ORGANIZATION_DEFAULT, type OpenAiNativeModelId, type OrganizationAllowList, type OrganizationCloudSettings, type OrganizationDefaultSettings, type OrganizationSettings, PROVIDER_SETTINGS_KEYS, type PromptComponent, type ProviderName, type ProviderSettings, type ProviderSettingsEntry, type ReasoningEffort, type RooCodeAPI, type RooCodeAPIEvents, RooCodeEventName, type RooCodeEvents, type RooCodeIpcServer, type RooCodeSettings, type RooCodeTelemetryEvent, SECRET_STATE_KEYS, type SecretState, type ShareResponse, type ShareVisibility, type SuggestionItem, type TaskCommand, TaskCommandName, type TaskEvent, type TelemetryClient, type TelemetryEvent, TelemetryEventName, type TelemetryEventSubscription, type TelemetryProperties, type TelemetryPropertiesProvider, type TelemetrySetting, type TerminalActionId, type TerminalActionName, type TerminalActionPromptType, type TodoItem, type TodoStatus, type TokenUsage, type ToolGroup, type ToolName, type ToolProgressStatus, type ToolUsage, VERTEX_REGIONS, type Values, type VertexModelId, type VscodeLlmModelId, type XAIModelId, ackSchema, anthropicDefaultModelId, anthropicModels, appPropertiesSchema, azureOpenAiDefaultApiVersion, bedrockDefaultModelId, bedrockDefaultPromptRouterModelId, bedrockModels, chutesDefaultModelId, chutesModels, claudeCodeDefaultModelId, claudeCodeModels, clineAskSchema, clineAsks, clineMessageSchema, clineSaySchema, clineSays, codeActionIds, codebaseIndexConfigSchema, codebaseIndexModelsSchema, codebaseIndexProviderSchema, commandExecutionStatusSchema, commandIds, contextCondenseSchema, customModePromptsSchema, customModesSettingsSchema, customSupportPromptsSchema, deepSeekDefaultModelId, deepSeekModels, experimentIds, experimentIdsSchema, experimentsSchema, followUpDataSchema, geminiDefaultModelId, geminiModels, getApiProtocol, getModelId, gitPropertiesSchema, glamaDefaultModelId, glamaDefaultModelInfo, globalSettingsSchema, groqDefaultModelId, groqModels, groupEntrySchema, groupOptionsSchema, historyItemSchema, installMarketplaceItemOptionsSchema, ipcMessageSchema, isGlobalStateKey, isLanguage, isModelParameter, isSecretStateKey, isSubtaskSchema, lMStudioDefaultModelId, lMStudioDefaultModelInfo, languages, languagesSchema, litellmDefaultModelId, litellmDefaultModelInfo, marketplaceItemSchema, marketplaceItemTypeSchema, mcpExecutionStatusSchema, mcpInstallationMethodSchema, mcpMarketplaceItemSchema, mcpParameterSchema, mistralDefaultModelId, mistralModels, modeConfigSchema, modeMarketplaceItemSchema, modelInfoSchema, modelParameters, modelParametersSchema, ollamaDefaultModelId, ollamaDefaultModelInfo, openAiModelInfoSaneDefaults, openAiNativeDefaultModelId, openAiNativeModels, openRouterDefaultModelId, openRouterDefaultModelInfo, organizationAllowListSchema, organizationCloudSettingsSchema, organizationDefaultSettingsSchema, organizationSettingsSchema, promptComponentSchema, providerNames, providerNamesSchema, providerSettingsEntrySchema, providerSettingsSchema, providerSettingsSchemaDiscriminated, reasoningEfforts, reasoningEffortsSchema, requestyDefaultModelId, requestyDefaultModelInfo, rooCodeEventsSchema, rooCodeSettingsSchema, rooCodeTelemetryEventSchema, shareResponseSchema, suggestionItemSchema, taskCommandSchema, taskEventSchema, taskPropertiesSchema, telemetryPropertiesSchema, telemetrySettings, telemetrySettingsSchema, terminalActionIds, todoItemSchema, todoStatusSchema, tokenUsageSchema, toolGroups, toolGroupsSchema, toolNames, toolNamesSchema, toolProgressStatusSchema, toolUsageSchema, unboundDefaultModelId, unboundDefaultModelInfo, vertexDefaultModelId, vertexModels, vscodeLlmDefaultModelId, vscodeLlmModels, xaiDefaultModelId, xaiModels };
|