@roo-code/types 1.23.0 → 1.24.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 +6 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +106 -1
- package/dist/index.d.ts +106 -1
- package/dist/index.js +6 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2430,6 +2430,8 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2430
2430
|
awsProfile: z.ZodOptional<z.ZodString>;
|
|
2431
2431
|
awsUseProfile: z.ZodOptional<z.ZodBoolean>;
|
|
2432
2432
|
awsCustomArn: z.ZodOptional<z.ZodString>;
|
|
2433
|
+
awsBedrockEndpointEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2434
|
+
awsBedrockEndpoint: z.ZodOptional<z.ZodString>;
|
|
2433
2435
|
} & {
|
|
2434
2436
|
apiProvider: z.ZodLiteral<"bedrock">;
|
|
2435
2437
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2453,6 +2455,8 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2453
2455
|
awsProfile?: string | undefined;
|
|
2454
2456
|
awsUseProfile?: boolean | undefined;
|
|
2455
2457
|
awsCustomArn?: string | undefined;
|
|
2458
|
+
awsBedrockEndpointEnabled?: boolean | undefined;
|
|
2459
|
+
awsBedrockEndpoint?: string | undefined;
|
|
2456
2460
|
}, {
|
|
2457
2461
|
apiProvider: "bedrock";
|
|
2458
2462
|
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
@@ -2474,6 +2478,8 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2474
2478
|
awsProfile?: string | undefined;
|
|
2475
2479
|
awsUseProfile?: boolean | undefined;
|
|
2476
2480
|
awsCustomArn?: string | undefined;
|
|
2481
|
+
awsBedrockEndpointEnabled?: boolean | undefined;
|
|
2482
|
+
awsBedrockEndpoint?: string | undefined;
|
|
2477
2483
|
}>, z.ZodObject<{
|
|
2478
2484
|
includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
2479
2485
|
diffEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3573,6 +3579,8 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3573
3579
|
awsProfile: z.ZodOptional<z.ZodString>;
|
|
3574
3580
|
awsUseProfile: z.ZodOptional<z.ZodBoolean>;
|
|
3575
3581
|
awsCustomArn: z.ZodOptional<z.ZodString>;
|
|
3582
|
+
awsBedrockEndpointEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
3583
|
+
awsBedrockEndpoint: z.ZodOptional<z.ZodString>;
|
|
3576
3584
|
openRouterApiKey: z.ZodOptional<z.ZodString>;
|
|
3577
3585
|
openRouterModelId: z.ZodOptional<z.ZodString>;
|
|
3578
3586
|
openRouterBaseUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -3615,6 +3623,8 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3615
3623
|
awsProfile?: string | undefined;
|
|
3616
3624
|
awsUseProfile?: boolean | undefined;
|
|
3617
3625
|
awsCustomArn?: string | undefined;
|
|
3626
|
+
awsBedrockEndpointEnabled?: boolean | undefined;
|
|
3627
|
+
awsBedrockEndpoint?: string | undefined;
|
|
3618
3628
|
vertexKeyFile?: string | undefined;
|
|
3619
3629
|
vertexJsonCredentials?: string | undefined;
|
|
3620
3630
|
vertexProjectId?: string | undefined;
|
|
@@ -3721,6 +3731,8 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3721
3731
|
awsProfile?: string | undefined;
|
|
3722
3732
|
awsUseProfile?: boolean | undefined;
|
|
3723
3733
|
awsCustomArn?: string | undefined;
|
|
3734
|
+
awsBedrockEndpointEnabled?: boolean | undefined;
|
|
3735
|
+
awsBedrockEndpoint?: string | undefined;
|
|
3724
3736
|
vertexKeyFile?: string | undefined;
|
|
3725
3737
|
vertexJsonCredentials?: string | undefined;
|
|
3726
3738
|
vertexProjectId?: string | undefined;
|
|
@@ -3798,7 +3810,7 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3798
3810
|
codeIndexQdrantApiKey?: string | undefined;
|
|
3799
3811
|
}>;
|
|
3800
3812
|
type ProviderSettings = z.infer<typeof providerSettingsSchema>;
|
|
3801
|
-
declare const PROVIDER_SETTINGS_KEYS: readonly ["apiProvider", "apiModelId", "apiKey", "anthropicBaseUrl", "anthropicUseAuthToken", "glamaModelId", "glamaApiKey", "openRouterApiKey", "openRouterModelId", "openRouterBaseUrl", "openRouterSpecificProvider", "openRouterUseMiddleOutTransform", "awsAccessKey", "awsSecretKey", "awsSessionToken", "awsRegion", "awsUseCrossRegionInference", "awsUsePromptCache", "awsProfile", "awsUseProfile", "awsCustomArn", "vertexKeyFile", "vertexJsonCredentials", "vertexProjectId", "vertexRegion", "openAiBaseUrl", "openAiApiKey", "openAiLegacyFormat", "openAiR1FormatEnabled", "openAiModelId", "openAiCustomModelInfo", "openAiUseAzure", "azureApiVersion", "openAiStreamingEnabled", "openAiHostHeader", "openAiHeaders", "ollamaModelId", "ollamaBaseUrl", "vsCodeLmModelSelector", "lmStudioModelId", "lmStudioBaseUrl", "lmStudioDraftModelId", "lmStudioSpeculativeDecodingEnabled", "geminiApiKey", "googleGeminiBaseUrl", "openAiNativeApiKey", "openAiNativeBaseUrl", "mistralApiKey", "mistralCodestralUrl", "deepSeekBaseUrl", "deepSeekApiKey", "unboundApiKey", "unboundModelId", "requestyApiKey", "requestyModelId", "codeIndexOpenAiKey", "codeIndexQdrantApiKey", "enableReasoningEffort", "reasoningEffort", "modelMaxTokens", "modelMaxThinkingTokens", "includeMaxTokens", "diffEnabled", "fuzzyMatchThreshold", "modelTemperature", "rateLimitSeconds", "fakeAi", "xaiApiKey", "groqApiKey", "chutesApiKey", "litellmBaseUrl", "litellmApiKey", "litellmModelId"];
|
|
3813
|
+
declare const PROVIDER_SETTINGS_KEYS: readonly ["apiProvider", "apiModelId", "apiKey", "anthropicBaseUrl", "anthropicUseAuthToken", "glamaModelId", "glamaApiKey", "openRouterApiKey", "openRouterModelId", "openRouterBaseUrl", "openRouterSpecificProvider", "openRouterUseMiddleOutTransform", "awsAccessKey", "awsSecretKey", "awsSessionToken", "awsRegion", "awsUseCrossRegionInference", "awsUsePromptCache", "awsProfile", "awsUseProfile", "awsCustomArn", "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", "openAiNativeApiKey", "openAiNativeBaseUrl", "mistralApiKey", "mistralCodestralUrl", "deepSeekBaseUrl", "deepSeekApiKey", "unboundApiKey", "unboundModelId", "requestyApiKey", "requestyModelId", "codeIndexOpenAiKey", "codeIndexQdrantApiKey", "enableReasoningEffort", "reasoningEffort", "modelMaxTokens", "modelMaxThinkingTokens", "includeMaxTokens", "diffEnabled", "fuzzyMatchThreshold", "modelTemperature", "rateLimitSeconds", "fakeAi", "xaiApiKey", "groqApiKey", "chutesApiKey", "litellmBaseUrl", "litellmApiKey", "litellmModelId"];
|
|
3802
3814
|
|
|
3803
3815
|
/**
|
|
3804
3816
|
* GlobalSettings
|
|
@@ -4439,6 +4451,8 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4439
4451
|
awsProfile: z.ZodOptional<z.ZodString>;
|
|
4440
4452
|
awsUseProfile: z.ZodOptional<z.ZodBoolean>;
|
|
4441
4453
|
awsCustomArn: z.ZodOptional<z.ZodString>;
|
|
4454
|
+
awsBedrockEndpointEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
4455
|
+
awsBedrockEndpoint: z.ZodOptional<z.ZodString>;
|
|
4442
4456
|
openRouterApiKey: z.ZodOptional<z.ZodString>;
|
|
4443
4457
|
openRouterModelId: z.ZodOptional<z.ZodString>;
|
|
4444
4458
|
openRouterBaseUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -4823,6 +4837,8 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4823
4837
|
awsProfile?: string | undefined;
|
|
4824
4838
|
awsUseProfile?: boolean | undefined;
|
|
4825
4839
|
awsCustomArn?: string | undefined;
|
|
4840
|
+
awsBedrockEndpointEnabled?: boolean | undefined;
|
|
4841
|
+
awsBedrockEndpoint?: string | undefined;
|
|
4826
4842
|
vertexKeyFile?: string | undefined;
|
|
4827
4843
|
vertexJsonCredentials?: string | undefined;
|
|
4828
4844
|
vertexProjectId?: string | undefined;
|
|
@@ -5041,6 +5057,8 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
5041
5057
|
awsProfile?: string | undefined;
|
|
5042
5058
|
awsUseProfile?: boolean | undefined;
|
|
5043
5059
|
awsCustomArn?: string | undefined;
|
|
5060
|
+
awsBedrockEndpointEnabled?: boolean | undefined;
|
|
5061
|
+
awsBedrockEndpoint?: string | undefined;
|
|
5044
5062
|
vertexKeyFile?: string | undefined;
|
|
5045
5063
|
vertexJsonCredentials?: string | undefined;
|
|
5046
5064
|
vertexProjectId?: string | undefined;
|
|
@@ -5695,6 +5713,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
5695
5713
|
awsProfile: z.ZodOptional<z.ZodString>;
|
|
5696
5714
|
awsUseProfile: z.ZodOptional<z.ZodBoolean>;
|
|
5697
5715
|
awsCustomArn: z.ZodOptional<z.ZodString>;
|
|
5716
|
+
awsBedrockEndpointEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
5717
|
+
awsBedrockEndpoint: z.ZodOptional<z.ZodString>;
|
|
5698
5718
|
openRouterApiKey: z.ZodOptional<z.ZodString>;
|
|
5699
5719
|
openRouterModelId: z.ZodOptional<z.ZodString>;
|
|
5700
5720
|
openRouterBaseUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -6079,6 +6099,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6079
6099
|
awsProfile?: string | undefined;
|
|
6080
6100
|
awsUseProfile?: boolean | undefined;
|
|
6081
6101
|
awsCustomArn?: string | undefined;
|
|
6102
|
+
awsBedrockEndpointEnabled?: boolean | undefined;
|
|
6103
|
+
awsBedrockEndpoint?: string | undefined;
|
|
6082
6104
|
vertexKeyFile?: string | undefined;
|
|
6083
6105
|
vertexJsonCredentials?: string | undefined;
|
|
6084
6106
|
vertexProjectId?: string | undefined;
|
|
@@ -6297,6 +6319,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6297
6319
|
awsProfile?: string | undefined;
|
|
6298
6320
|
awsUseProfile?: boolean | undefined;
|
|
6299
6321
|
awsCustomArn?: string | undefined;
|
|
6322
|
+
awsBedrockEndpointEnabled?: boolean | undefined;
|
|
6323
|
+
awsBedrockEndpoint?: string | undefined;
|
|
6300
6324
|
vertexKeyFile?: string | undefined;
|
|
6301
6325
|
vertexJsonCredentials?: string | undefined;
|
|
6302
6326
|
vertexProjectId?: string | undefined;
|
|
@@ -6521,6 +6545,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6521
6545
|
awsProfile?: string | undefined;
|
|
6522
6546
|
awsUseProfile?: boolean | undefined;
|
|
6523
6547
|
awsCustomArn?: string | undefined;
|
|
6548
|
+
awsBedrockEndpointEnabled?: boolean | undefined;
|
|
6549
|
+
awsBedrockEndpoint?: string | undefined;
|
|
6524
6550
|
vertexKeyFile?: string | undefined;
|
|
6525
6551
|
vertexJsonCredentials?: string | undefined;
|
|
6526
6552
|
vertexProjectId?: string | undefined;
|
|
@@ -6744,6 +6770,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6744
6770
|
awsProfile?: string | undefined;
|
|
6745
6771
|
awsUseProfile?: boolean | undefined;
|
|
6746
6772
|
awsCustomArn?: string | undefined;
|
|
6773
|
+
awsBedrockEndpointEnabled?: boolean | undefined;
|
|
6774
|
+
awsBedrockEndpoint?: string | undefined;
|
|
6747
6775
|
vertexKeyFile?: string | undefined;
|
|
6748
6776
|
vertexJsonCredentials?: string | undefined;
|
|
6749
6777
|
vertexProjectId?: string | undefined;
|
|
@@ -6970,6 +6998,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6970
6998
|
awsProfile?: string | undefined;
|
|
6971
6999
|
awsUseProfile?: boolean | undefined;
|
|
6972
7000
|
awsCustomArn?: string | undefined;
|
|
7001
|
+
awsBedrockEndpointEnabled?: boolean | undefined;
|
|
7002
|
+
awsBedrockEndpoint?: string | undefined;
|
|
6973
7003
|
vertexKeyFile?: string | undefined;
|
|
6974
7004
|
vertexJsonCredentials?: string | undefined;
|
|
6975
7005
|
vertexProjectId?: string | undefined;
|
|
@@ -7196,6 +7226,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
7196
7226
|
awsProfile?: string | undefined;
|
|
7197
7227
|
awsUseProfile?: boolean | undefined;
|
|
7198
7228
|
awsCustomArn?: string | undefined;
|
|
7229
|
+
awsBedrockEndpointEnabled?: boolean | undefined;
|
|
7230
|
+
awsBedrockEndpoint?: string | undefined;
|
|
7199
7231
|
vertexKeyFile?: string | undefined;
|
|
7200
7232
|
vertexJsonCredentials?: string | undefined;
|
|
7201
7233
|
vertexProjectId?: string | undefined;
|
|
@@ -7888,6 +7920,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7888
7920
|
awsProfile: z.ZodOptional<z.ZodString>;
|
|
7889
7921
|
awsUseProfile: z.ZodOptional<z.ZodBoolean>;
|
|
7890
7922
|
awsCustomArn: z.ZodOptional<z.ZodString>;
|
|
7923
|
+
awsBedrockEndpointEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
7924
|
+
awsBedrockEndpoint: z.ZodOptional<z.ZodString>;
|
|
7891
7925
|
openRouterApiKey: z.ZodOptional<z.ZodString>;
|
|
7892
7926
|
openRouterModelId: z.ZodOptional<z.ZodString>;
|
|
7893
7927
|
openRouterBaseUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -8272,6 +8306,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8272
8306
|
awsProfile?: string | undefined;
|
|
8273
8307
|
awsUseProfile?: boolean | undefined;
|
|
8274
8308
|
awsCustomArn?: string | undefined;
|
|
8309
|
+
awsBedrockEndpointEnabled?: boolean | undefined;
|
|
8310
|
+
awsBedrockEndpoint?: string | undefined;
|
|
8275
8311
|
vertexKeyFile?: string | undefined;
|
|
8276
8312
|
vertexJsonCredentials?: string | undefined;
|
|
8277
8313
|
vertexProjectId?: string | undefined;
|
|
@@ -8490,6 +8526,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8490
8526
|
awsProfile?: string | undefined;
|
|
8491
8527
|
awsUseProfile?: boolean | undefined;
|
|
8492
8528
|
awsCustomArn?: string | undefined;
|
|
8529
|
+
awsBedrockEndpointEnabled?: boolean | undefined;
|
|
8530
|
+
awsBedrockEndpoint?: string | undefined;
|
|
8493
8531
|
vertexKeyFile?: string | undefined;
|
|
8494
8532
|
vertexJsonCredentials?: string | undefined;
|
|
8495
8533
|
vertexProjectId?: string | undefined;
|
|
@@ -8714,6 +8752,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8714
8752
|
awsProfile?: string | undefined;
|
|
8715
8753
|
awsUseProfile?: boolean | undefined;
|
|
8716
8754
|
awsCustomArn?: string | undefined;
|
|
8755
|
+
awsBedrockEndpointEnabled?: boolean | undefined;
|
|
8756
|
+
awsBedrockEndpoint?: string | undefined;
|
|
8717
8757
|
vertexKeyFile?: string | undefined;
|
|
8718
8758
|
vertexJsonCredentials?: string | undefined;
|
|
8719
8759
|
vertexProjectId?: string | undefined;
|
|
@@ -8937,6 +8977,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8937
8977
|
awsProfile?: string | undefined;
|
|
8938
8978
|
awsUseProfile?: boolean | undefined;
|
|
8939
8979
|
awsCustomArn?: string | undefined;
|
|
8980
|
+
awsBedrockEndpointEnabled?: boolean | undefined;
|
|
8981
|
+
awsBedrockEndpoint?: string | undefined;
|
|
8940
8982
|
vertexKeyFile?: string | undefined;
|
|
8941
8983
|
vertexJsonCredentials?: string | undefined;
|
|
8942
8984
|
vertexProjectId?: string | undefined;
|
|
@@ -9163,6 +9205,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9163
9205
|
awsProfile?: string | undefined;
|
|
9164
9206
|
awsUseProfile?: boolean | undefined;
|
|
9165
9207
|
awsCustomArn?: string | undefined;
|
|
9208
|
+
awsBedrockEndpointEnabled?: boolean | undefined;
|
|
9209
|
+
awsBedrockEndpoint?: string | undefined;
|
|
9166
9210
|
vertexKeyFile?: string | undefined;
|
|
9167
9211
|
vertexJsonCredentials?: string | undefined;
|
|
9168
9212
|
vertexProjectId?: string | undefined;
|
|
@@ -9389,6 +9433,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9389
9433
|
awsProfile?: string | undefined;
|
|
9390
9434
|
awsUseProfile?: boolean | undefined;
|
|
9391
9435
|
awsCustomArn?: string | undefined;
|
|
9436
|
+
awsBedrockEndpointEnabled?: boolean | undefined;
|
|
9437
|
+
awsBedrockEndpoint?: string | undefined;
|
|
9392
9438
|
vertexKeyFile?: string | undefined;
|
|
9393
9439
|
vertexJsonCredentials?: string | undefined;
|
|
9394
9440
|
vertexProjectId?: string | undefined;
|
|
@@ -9636,6 +9682,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9636
9682
|
awsProfile?: string | undefined;
|
|
9637
9683
|
awsUseProfile?: boolean | undefined;
|
|
9638
9684
|
awsCustomArn?: string | undefined;
|
|
9685
|
+
awsBedrockEndpointEnabled?: boolean | undefined;
|
|
9686
|
+
awsBedrockEndpoint?: string | undefined;
|
|
9639
9687
|
vertexKeyFile?: string | undefined;
|
|
9640
9688
|
vertexJsonCredentials?: string | undefined;
|
|
9641
9689
|
vertexProjectId?: string | undefined;
|
|
@@ -9873,6 +9921,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9873
9921
|
awsProfile?: string | undefined;
|
|
9874
9922
|
awsUseProfile?: boolean | undefined;
|
|
9875
9923
|
awsCustomArn?: string | undefined;
|
|
9924
|
+
awsBedrockEndpointEnabled?: boolean | undefined;
|
|
9925
|
+
awsBedrockEndpoint?: string | undefined;
|
|
9876
9926
|
vertexKeyFile?: string | undefined;
|
|
9877
9927
|
vertexJsonCredentials?: string | undefined;
|
|
9878
9928
|
vertexProjectId?: string | undefined;
|
|
@@ -11156,6 +11206,17 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
11156
11206
|
summary: string;
|
|
11157
11207
|
} | undefined;
|
|
11158
11208
|
}>;
|
|
11209
|
+
apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
|
|
11210
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
11211
|
+
diffStrategy: z.ZodOptional<z.ZodString>;
|
|
11212
|
+
isSubtask: z.ZodOptional<z.ZodBoolean>;
|
|
11213
|
+
appName: z.ZodString;
|
|
11214
|
+
appVersion: z.ZodString;
|
|
11215
|
+
vscodeVersion: z.ZodString;
|
|
11216
|
+
platform: z.ZodString;
|
|
11217
|
+
editorName: z.ZodString;
|
|
11218
|
+
language: z.ZodString;
|
|
11219
|
+
mode: z.ZodString;
|
|
11159
11220
|
}, "strip", z.ZodTypeAny, {
|
|
11160
11221
|
message: {
|
|
11161
11222
|
type: "ask" | "say";
|
|
@@ -11179,7 +11240,18 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
11179
11240
|
summary: string;
|
|
11180
11241
|
} | undefined;
|
|
11181
11242
|
};
|
|
11243
|
+
language: string;
|
|
11244
|
+
mode: string;
|
|
11182
11245
|
taskId: string;
|
|
11246
|
+
appName: string;
|
|
11247
|
+
appVersion: string;
|
|
11248
|
+
vscodeVersion: string;
|
|
11249
|
+
platform: string;
|
|
11250
|
+
editorName: string;
|
|
11251
|
+
apiProvider?: "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "openai" | "ollama" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
11252
|
+
modelId?: string | undefined;
|
|
11253
|
+
diffStrategy?: string | undefined;
|
|
11254
|
+
isSubtask?: boolean | undefined;
|
|
11183
11255
|
}, {
|
|
11184
11256
|
message: {
|
|
11185
11257
|
type: "ask" | "say";
|
|
@@ -11203,7 +11275,18 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
11203
11275
|
summary: string;
|
|
11204
11276
|
} | undefined;
|
|
11205
11277
|
};
|
|
11278
|
+
language: string;
|
|
11279
|
+
mode: string;
|
|
11206
11280
|
taskId: string;
|
|
11281
|
+
appName: string;
|
|
11282
|
+
appVersion: string;
|
|
11283
|
+
vscodeVersion: string;
|
|
11284
|
+
platform: string;
|
|
11285
|
+
editorName: string;
|
|
11286
|
+
apiProvider?: "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "openai" | "ollama" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
11287
|
+
modelId?: string | undefined;
|
|
11288
|
+
diffStrategy?: string | undefined;
|
|
11289
|
+
isSubtask?: boolean | undefined;
|
|
11207
11290
|
}>;
|
|
11208
11291
|
}, "strip", z.ZodTypeAny, {
|
|
11209
11292
|
type: TelemetryEventName.TASK_MESSAGE;
|
|
@@ -11230,7 +11313,18 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
11230
11313
|
summary: string;
|
|
11231
11314
|
} | undefined;
|
|
11232
11315
|
};
|
|
11316
|
+
language: string;
|
|
11317
|
+
mode: string;
|
|
11233
11318
|
taskId: string;
|
|
11319
|
+
appName: string;
|
|
11320
|
+
appVersion: string;
|
|
11321
|
+
vscodeVersion: string;
|
|
11322
|
+
platform: string;
|
|
11323
|
+
editorName: string;
|
|
11324
|
+
apiProvider?: "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "openai" | "ollama" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
11325
|
+
modelId?: string | undefined;
|
|
11326
|
+
diffStrategy?: string | undefined;
|
|
11327
|
+
isSubtask?: boolean | undefined;
|
|
11234
11328
|
};
|
|
11235
11329
|
}, {
|
|
11236
11330
|
type: TelemetryEventName.TASK_MESSAGE;
|
|
@@ -11257,7 +11351,18 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
11257
11351
|
summary: string;
|
|
11258
11352
|
} | undefined;
|
|
11259
11353
|
};
|
|
11354
|
+
language: string;
|
|
11355
|
+
mode: string;
|
|
11260
11356
|
taskId: string;
|
|
11357
|
+
appName: string;
|
|
11358
|
+
appVersion: string;
|
|
11359
|
+
vscodeVersion: string;
|
|
11360
|
+
platform: string;
|
|
11361
|
+
editorName: string;
|
|
11362
|
+
apiProvider?: "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "openai" | "ollama" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
11363
|
+
modelId?: string | undefined;
|
|
11364
|
+
diffStrategy?: string | undefined;
|
|
11365
|
+
isSubtask?: boolean | undefined;
|
|
11261
11366
|
};
|
|
11262
11367
|
}>, z.ZodObject<{
|
|
11263
11368
|
type: z.ZodLiteral<TelemetryEventName.LLM_COMPLETION>;
|
package/dist/index.d.ts
CHANGED
|
@@ -2430,6 +2430,8 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2430
2430
|
awsProfile: z.ZodOptional<z.ZodString>;
|
|
2431
2431
|
awsUseProfile: z.ZodOptional<z.ZodBoolean>;
|
|
2432
2432
|
awsCustomArn: z.ZodOptional<z.ZodString>;
|
|
2433
|
+
awsBedrockEndpointEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2434
|
+
awsBedrockEndpoint: z.ZodOptional<z.ZodString>;
|
|
2433
2435
|
} & {
|
|
2434
2436
|
apiProvider: z.ZodLiteral<"bedrock">;
|
|
2435
2437
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2453,6 +2455,8 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2453
2455
|
awsProfile?: string | undefined;
|
|
2454
2456
|
awsUseProfile?: boolean | undefined;
|
|
2455
2457
|
awsCustomArn?: string | undefined;
|
|
2458
|
+
awsBedrockEndpointEnabled?: boolean | undefined;
|
|
2459
|
+
awsBedrockEndpoint?: string | undefined;
|
|
2456
2460
|
}, {
|
|
2457
2461
|
apiProvider: "bedrock";
|
|
2458
2462
|
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
@@ -2474,6 +2478,8 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
|
|
|
2474
2478
|
awsProfile?: string | undefined;
|
|
2475
2479
|
awsUseProfile?: boolean | undefined;
|
|
2476
2480
|
awsCustomArn?: string | undefined;
|
|
2481
|
+
awsBedrockEndpointEnabled?: boolean | undefined;
|
|
2482
|
+
awsBedrockEndpoint?: string | undefined;
|
|
2477
2483
|
}>, z.ZodObject<{
|
|
2478
2484
|
includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
|
|
2479
2485
|
diffEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3573,6 +3579,8 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3573
3579
|
awsProfile: z.ZodOptional<z.ZodString>;
|
|
3574
3580
|
awsUseProfile: z.ZodOptional<z.ZodBoolean>;
|
|
3575
3581
|
awsCustomArn: z.ZodOptional<z.ZodString>;
|
|
3582
|
+
awsBedrockEndpointEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
3583
|
+
awsBedrockEndpoint: z.ZodOptional<z.ZodString>;
|
|
3576
3584
|
openRouterApiKey: z.ZodOptional<z.ZodString>;
|
|
3577
3585
|
openRouterModelId: z.ZodOptional<z.ZodString>;
|
|
3578
3586
|
openRouterBaseUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -3615,6 +3623,8 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3615
3623
|
awsProfile?: string | undefined;
|
|
3616
3624
|
awsUseProfile?: boolean | undefined;
|
|
3617
3625
|
awsCustomArn?: string | undefined;
|
|
3626
|
+
awsBedrockEndpointEnabled?: boolean | undefined;
|
|
3627
|
+
awsBedrockEndpoint?: string | undefined;
|
|
3618
3628
|
vertexKeyFile?: string | undefined;
|
|
3619
3629
|
vertexJsonCredentials?: string | undefined;
|
|
3620
3630
|
vertexProjectId?: string | undefined;
|
|
@@ -3721,6 +3731,8 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3721
3731
|
awsProfile?: string | undefined;
|
|
3722
3732
|
awsUseProfile?: boolean | undefined;
|
|
3723
3733
|
awsCustomArn?: string | undefined;
|
|
3734
|
+
awsBedrockEndpointEnabled?: boolean | undefined;
|
|
3735
|
+
awsBedrockEndpoint?: string | undefined;
|
|
3724
3736
|
vertexKeyFile?: string | undefined;
|
|
3725
3737
|
vertexJsonCredentials?: string | undefined;
|
|
3726
3738
|
vertexProjectId?: string | undefined;
|
|
@@ -3798,7 +3810,7 @@ declare const providerSettingsSchema: z.ZodObject<{
|
|
|
3798
3810
|
codeIndexQdrantApiKey?: string | undefined;
|
|
3799
3811
|
}>;
|
|
3800
3812
|
type ProviderSettings = z.infer<typeof providerSettingsSchema>;
|
|
3801
|
-
declare const PROVIDER_SETTINGS_KEYS: readonly ["apiProvider", "apiModelId", "apiKey", "anthropicBaseUrl", "anthropicUseAuthToken", "glamaModelId", "glamaApiKey", "openRouterApiKey", "openRouterModelId", "openRouterBaseUrl", "openRouterSpecificProvider", "openRouterUseMiddleOutTransform", "awsAccessKey", "awsSecretKey", "awsSessionToken", "awsRegion", "awsUseCrossRegionInference", "awsUsePromptCache", "awsProfile", "awsUseProfile", "awsCustomArn", "vertexKeyFile", "vertexJsonCredentials", "vertexProjectId", "vertexRegion", "openAiBaseUrl", "openAiApiKey", "openAiLegacyFormat", "openAiR1FormatEnabled", "openAiModelId", "openAiCustomModelInfo", "openAiUseAzure", "azureApiVersion", "openAiStreamingEnabled", "openAiHostHeader", "openAiHeaders", "ollamaModelId", "ollamaBaseUrl", "vsCodeLmModelSelector", "lmStudioModelId", "lmStudioBaseUrl", "lmStudioDraftModelId", "lmStudioSpeculativeDecodingEnabled", "geminiApiKey", "googleGeminiBaseUrl", "openAiNativeApiKey", "openAiNativeBaseUrl", "mistralApiKey", "mistralCodestralUrl", "deepSeekBaseUrl", "deepSeekApiKey", "unboundApiKey", "unboundModelId", "requestyApiKey", "requestyModelId", "codeIndexOpenAiKey", "codeIndexQdrantApiKey", "enableReasoningEffort", "reasoningEffort", "modelMaxTokens", "modelMaxThinkingTokens", "includeMaxTokens", "diffEnabled", "fuzzyMatchThreshold", "modelTemperature", "rateLimitSeconds", "fakeAi", "xaiApiKey", "groqApiKey", "chutesApiKey", "litellmBaseUrl", "litellmApiKey", "litellmModelId"];
|
|
3813
|
+
declare const PROVIDER_SETTINGS_KEYS: readonly ["apiProvider", "apiModelId", "apiKey", "anthropicBaseUrl", "anthropicUseAuthToken", "glamaModelId", "glamaApiKey", "openRouterApiKey", "openRouterModelId", "openRouterBaseUrl", "openRouterSpecificProvider", "openRouterUseMiddleOutTransform", "awsAccessKey", "awsSecretKey", "awsSessionToken", "awsRegion", "awsUseCrossRegionInference", "awsUsePromptCache", "awsProfile", "awsUseProfile", "awsCustomArn", "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", "openAiNativeApiKey", "openAiNativeBaseUrl", "mistralApiKey", "mistralCodestralUrl", "deepSeekBaseUrl", "deepSeekApiKey", "unboundApiKey", "unboundModelId", "requestyApiKey", "requestyModelId", "codeIndexOpenAiKey", "codeIndexQdrantApiKey", "enableReasoningEffort", "reasoningEffort", "modelMaxTokens", "modelMaxThinkingTokens", "includeMaxTokens", "diffEnabled", "fuzzyMatchThreshold", "modelTemperature", "rateLimitSeconds", "fakeAi", "xaiApiKey", "groqApiKey", "chutesApiKey", "litellmBaseUrl", "litellmApiKey", "litellmModelId"];
|
|
3802
3814
|
|
|
3803
3815
|
/**
|
|
3804
3816
|
* GlobalSettings
|
|
@@ -4439,6 +4451,8 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4439
4451
|
awsProfile: z.ZodOptional<z.ZodString>;
|
|
4440
4452
|
awsUseProfile: z.ZodOptional<z.ZodBoolean>;
|
|
4441
4453
|
awsCustomArn: z.ZodOptional<z.ZodString>;
|
|
4454
|
+
awsBedrockEndpointEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
4455
|
+
awsBedrockEndpoint: z.ZodOptional<z.ZodString>;
|
|
4442
4456
|
openRouterApiKey: z.ZodOptional<z.ZodString>;
|
|
4443
4457
|
openRouterModelId: z.ZodOptional<z.ZodString>;
|
|
4444
4458
|
openRouterBaseUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -4823,6 +4837,8 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
4823
4837
|
awsProfile?: string | undefined;
|
|
4824
4838
|
awsUseProfile?: boolean | undefined;
|
|
4825
4839
|
awsCustomArn?: string | undefined;
|
|
4840
|
+
awsBedrockEndpointEnabled?: boolean | undefined;
|
|
4841
|
+
awsBedrockEndpoint?: string | undefined;
|
|
4826
4842
|
vertexKeyFile?: string | undefined;
|
|
4827
4843
|
vertexJsonCredentials?: string | undefined;
|
|
4828
4844
|
vertexProjectId?: string | undefined;
|
|
@@ -5041,6 +5057,8 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
|
|
|
5041
5057
|
awsProfile?: string | undefined;
|
|
5042
5058
|
awsUseProfile?: boolean | undefined;
|
|
5043
5059
|
awsCustomArn?: string | undefined;
|
|
5060
|
+
awsBedrockEndpointEnabled?: boolean | undefined;
|
|
5061
|
+
awsBedrockEndpoint?: string | undefined;
|
|
5044
5062
|
vertexKeyFile?: string | undefined;
|
|
5045
5063
|
vertexJsonCredentials?: string | undefined;
|
|
5046
5064
|
vertexProjectId?: string | undefined;
|
|
@@ -5695,6 +5713,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
5695
5713
|
awsProfile: z.ZodOptional<z.ZodString>;
|
|
5696
5714
|
awsUseProfile: z.ZodOptional<z.ZodBoolean>;
|
|
5697
5715
|
awsCustomArn: z.ZodOptional<z.ZodString>;
|
|
5716
|
+
awsBedrockEndpointEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
5717
|
+
awsBedrockEndpoint: z.ZodOptional<z.ZodString>;
|
|
5698
5718
|
openRouterApiKey: z.ZodOptional<z.ZodString>;
|
|
5699
5719
|
openRouterModelId: z.ZodOptional<z.ZodString>;
|
|
5700
5720
|
openRouterBaseUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -6079,6 +6099,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6079
6099
|
awsProfile?: string | undefined;
|
|
6080
6100
|
awsUseProfile?: boolean | undefined;
|
|
6081
6101
|
awsCustomArn?: string | undefined;
|
|
6102
|
+
awsBedrockEndpointEnabled?: boolean | undefined;
|
|
6103
|
+
awsBedrockEndpoint?: string | undefined;
|
|
6082
6104
|
vertexKeyFile?: string | undefined;
|
|
6083
6105
|
vertexJsonCredentials?: string | undefined;
|
|
6084
6106
|
vertexProjectId?: string | undefined;
|
|
@@ -6297,6 +6319,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6297
6319
|
awsProfile?: string | undefined;
|
|
6298
6320
|
awsUseProfile?: boolean | undefined;
|
|
6299
6321
|
awsCustomArn?: string | undefined;
|
|
6322
|
+
awsBedrockEndpointEnabled?: boolean | undefined;
|
|
6323
|
+
awsBedrockEndpoint?: string | undefined;
|
|
6300
6324
|
vertexKeyFile?: string | undefined;
|
|
6301
6325
|
vertexJsonCredentials?: string | undefined;
|
|
6302
6326
|
vertexProjectId?: string | undefined;
|
|
@@ -6521,6 +6545,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6521
6545
|
awsProfile?: string | undefined;
|
|
6522
6546
|
awsUseProfile?: boolean | undefined;
|
|
6523
6547
|
awsCustomArn?: string | undefined;
|
|
6548
|
+
awsBedrockEndpointEnabled?: boolean | undefined;
|
|
6549
|
+
awsBedrockEndpoint?: string | undefined;
|
|
6524
6550
|
vertexKeyFile?: string | undefined;
|
|
6525
6551
|
vertexJsonCredentials?: string | undefined;
|
|
6526
6552
|
vertexProjectId?: string | undefined;
|
|
@@ -6744,6 +6770,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6744
6770
|
awsProfile?: string | undefined;
|
|
6745
6771
|
awsUseProfile?: boolean | undefined;
|
|
6746
6772
|
awsCustomArn?: string | undefined;
|
|
6773
|
+
awsBedrockEndpointEnabled?: boolean | undefined;
|
|
6774
|
+
awsBedrockEndpoint?: string | undefined;
|
|
6747
6775
|
vertexKeyFile?: string | undefined;
|
|
6748
6776
|
vertexJsonCredentials?: string | undefined;
|
|
6749
6777
|
vertexProjectId?: string | undefined;
|
|
@@ -6970,6 +6998,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
6970
6998
|
awsProfile?: string | undefined;
|
|
6971
6999
|
awsUseProfile?: boolean | undefined;
|
|
6972
7000
|
awsCustomArn?: string | undefined;
|
|
7001
|
+
awsBedrockEndpointEnabled?: boolean | undefined;
|
|
7002
|
+
awsBedrockEndpoint?: string | undefined;
|
|
6973
7003
|
vertexKeyFile?: string | undefined;
|
|
6974
7004
|
vertexJsonCredentials?: string | undefined;
|
|
6975
7005
|
vertexProjectId?: string | undefined;
|
|
@@ -7196,6 +7226,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
|
|
|
7196
7226
|
awsProfile?: string | undefined;
|
|
7197
7227
|
awsUseProfile?: boolean | undefined;
|
|
7198
7228
|
awsCustomArn?: string | undefined;
|
|
7229
|
+
awsBedrockEndpointEnabled?: boolean | undefined;
|
|
7230
|
+
awsBedrockEndpoint?: string | undefined;
|
|
7199
7231
|
vertexKeyFile?: string | undefined;
|
|
7200
7232
|
vertexJsonCredentials?: string | undefined;
|
|
7201
7233
|
vertexProjectId?: string | undefined;
|
|
@@ -7888,6 +7920,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
7888
7920
|
awsProfile: z.ZodOptional<z.ZodString>;
|
|
7889
7921
|
awsUseProfile: z.ZodOptional<z.ZodBoolean>;
|
|
7890
7922
|
awsCustomArn: z.ZodOptional<z.ZodString>;
|
|
7923
|
+
awsBedrockEndpointEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
7924
|
+
awsBedrockEndpoint: z.ZodOptional<z.ZodString>;
|
|
7891
7925
|
openRouterApiKey: z.ZodOptional<z.ZodString>;
|
|
7892
7926
|
openRouterModelId: z.ZodOptional<z.ZodString>;
|
|
7893
7927
|
openRouterBaseUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -8272,6 +8306,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8272
8306
|
awsProfile?: string | undefined;
|
|
8273
8307
|
awsUseProfile?: boolean | undefined;
|
|
8274
8308
|
awsCustomArn?: string | undefined;
|
|
8309
|
+
awsBedrockEndpointEnabled?: boolean | undefined;
|
|
8310
|
+
awsBedrockEndpoint?: string | undefined;
|
|
8275
8311
|
vertexKeyFile?: string | undefined;
|
|
8276
8312
|
vertexJsonCredentials?: string | undefined;
|
|
8277
8313
|
vertexProjectId?: string | undefined;
|
|
@@ -8490,6 +8526,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8490
8526
|
awsProfile?: string | undefined;
|
|
8491
8527
|
awsUseProfile?: boolean | undefined;
|
|
8492
8528
|
awsCustomArn?: string | undefined;
|
|
8529
|
+
awsBedrockEndpointEnabled?: boolean | undefined;
|
|
8530
|
+
awsBedrockEndpoint?: string | undefined;
|
|
8493
8531
|
vertexKeyFile?: string | undefined;
|
|
8494
8532
|
vertexJsonCredentials?: string | undefined;
|
|
8495
8533
|
vertexProjectId?: string | undefined;
|
|
@@ -8714,6 +8752,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8714
8752
|
awsProfile?: string | undefined;
|
|
8715
8753
|
awsUseProfile?: boolean | undefined;
|
|
8716
8754
|
awsCustomArn?: string | undefined;
|
|
8755
|
+
awsBedrockEndpointEnabled?: boolean | undefined;
|
|
8756
|
+
awsBedrockEndpoint?: string | undefined;
|
|
8717
8757
|
vertexKeyFile?: string | undefined;
|
|
8718
8758
|
vertexJsonCredentials?: string | undefined;
|
|
8719
8759
|
vertexProjectId?: string | undefined;
|
|
@@ -8937,6 +8977,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
8937
8977
|
awsProfile?: string | undefined;
|
|
8938
8978
|
awsUseProfile?: boolean | undefined;
|
|
8939
8979
|
awsCustomArn?: string | undefined;
|
|
8980
|
+
awsBedrockEndpointEnabled?: boolean | undefined;
|
|
8981
|
+
awsBedrockEndpoint?: string | undefined;
|
|
8940
8982
|
vertexKeyFile?: string | undefined;
|
|
8941
8983
|
vertexJsonCredentials?: string | undefined;
|
|
8942
8984
|
vertexProjectId?: string | undefined;
|
|
@@ -9163,6 +9205,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9163
9205
|
awsProfile?: string | undefined;
|
|
9164
9206
|
awsUseProfile?: boolean | undefined;
|
|
9165
9207
|
awsCustomArn?: string | undefined;
|
|
9208
|
+
awsBedrockEndpointEnabled?: boolean | undefined;
|
|
9209
|
+
awsBedrockEndpoint?: string | undefined;
|
|
9166
9210
|
vertexKeyFile?: string | undefined;
|
|
9167
9211
|
vertexJsonCredentials?: string | undefined;
|
|
9168
9212
|
vertexProjectId?: string | undefined;
|
|
@@ -9389,6 +9433,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9389
9433
|
awsProfile?: string | undefined;
|
|
9390
9434
|
awsUseProfile?: boolean | undefined;
|
|
9391
9435
|
awsCustomArn?: string | undefined;
|
|
9436
|
+
awsBedrockEndpointEnabled?: boolean | undefined;
|
|
9437
|
+
awsBedrockEndpoint?: string | undefined;
|
|
9392
9438
|
vertexKeyFile?: string | undefined;
|
|
9393
9439
|
vertexJsonCredentials?: string | undefined;
|
|
9394
9440
|
vertexProjectId?: string | undefined;
|
|
@@ -9636,6 +9682,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9636
9682
|
awsProfile?: string | undefined;
|
|
9637
9683
|
awsUseProfile?: boolean | undefined;
|
|
9638
9684
|
awsCustomArn?: string | undefined;
|
|
9685
|
+
awsBedrockEndpointEnabled?: boolean | undefined;
|
|
9686
|
+
awsBedrockEndpoint?: string | undefined;
|
|
9639
9687
|
vertexKeyFile?: string | undefined;
|
|
9640
9688
|
vertexJsonCredentials?: string | undefined;
|
|
9641
9689
|
vertexProjectId?: string | undefined;
|
|
@@ -9873,6 +9921,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
9873
9921
|
awsProfile?: string | undefined;
|
|
9874
9922
|
awsUseProfile?: boolean | undefined;
|
|
9875
9923
|
awsCustomArn?: string | undefined;
|
|
9924
|
+
awsBedrockEndpointEnabled?: boolean | undefined;
|
|
9925
|
+
awsBedrockEndpoint?: string | undefined;
|
|
9876
9926
|
vertexKeyFile?: string | undefined;
|
|
9877
9927
|
vertexJsonCredentials?: string | undefined;
|
|
9878
9928
|
vertexProjectId?: string | undefined;
|
|
@@ -11156,6 +11206,17 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
11156
11206
|
summary: string;
|
|
11157
11207
|
} | undefined;
|
|
11158
11208
|
}>;
|
|
11209
|
+
apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "openai-native", "mistral", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm"]>>;
|
|
11210
|
+
modelId: z.ZodOptional<z.ZodString>;
|
|
11211
|
+
diffStrategy: z.ZodOptional<z.ZodString>;
|
|
11212
|
+
isSubtask: z.ZodOptional<z.ZodBoolean>;
|
|
11213
|
+
appName: z.ZodString;
|
|
11214
|
+
appVersion: z.ZodString;
|
|
11215
|
+
vscodeVersion: z.ZodString;
|
|
11216
|
+
platform: z.ZodString;
|
|
11217
|
+
editorName: z.ZodString;
|
|
11218
|
+
language: z.ZodString;
|
|
11219
|
+
mode: z.ZodString;
|
|
11159
11220
|
}, "strip", z.ZodTypeAny, {
|
|
11160
11221
|
message: {
|
|
11161
11222
|
type: "ask" | "say";
|
|
@@ -11179,7 +11240,18 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
11179
11240
|
summary: string;
|
|
11180
11241
|
} | undefined;
|
|
11181
11242
|
};
|
|
11243
|
+
language: string;
|
|
11244
|
+
mode: string;
|
|
11182
11245
|
taskId: string;
|
|
11246
|
+
appName: string;
|
|
11247
|
+
appVersion: string;
|
|
11248
|
+
vscodeVersion: string;
|
|
11249
|
+
platform: string;
|
|
11250
|
+
editorName: string;
|
|
11251
|
+
apiProvider?: "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "openai" | "ollama" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
11252
|
+
modelId?: string | undefined;
|
|
11253
|
+
diffStrategy?: string | undefined;
|
|
11254
|
+
isSubtask?: boolean | undefined;
|
|
11183
11255
|
}, {
|
|
11184
11256
|
message: {
|
|
11185
11257
|
type: "ask" | "say";
|
|
@@ -11203,7 +11275,18 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
11203
11275
|
summary: string;
|
|
11204
11276
|
} | undefined;
|
|
11205
11277
|
};
|
|
11278
|
+
language: string;
|
|
11279
|
+
mode: string;
|
|
11206
11280
|
taskId: string;
|
|
11281
|
+
appName: string;
|
|
11282
|
+
appVersion: string;
|
|
11283
|
+
vscodeVersion: string;
|
|
11284
|
+
platform: string;
|
|
11285
|
+
editorName: string;
|
|
11286
|
+
apiProvider?: "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "openai" | "ollama" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
11287
|
+
modelId?: string | undefined;
|
|
11288
|
+
diffStrategy?: string | undefined;
|
|
11289
|
+
isSubtask?: boolean | undefined;
|
|
11207
11290
|
}>;
|
|
11208
11291
|
}, "strip", z.ZodTypeAny, {
|
|
11209
11292
|
type: TelemetryEventName.TASK_MESSAGE;
|
|
@@ -11230,7 +11313,18 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
11230
11313
|
summary: string;
|
|
11231
11314
|
} | undefined;
|
|
11232
11315
|
};
|
|
11316
|
+
language: string;
|
|
11317
|
+
mode: string;
|
|
11233
11318
|
taskId: string;
|
|
11319
|
+
appName: string;
|
|
11320
|
+
appVersion: string;
|
|
11321
|
+
vscodeVersion: string;
|
|
11322
|
+
platform: string;
|
|
11323
|
+
editorName: string;
|
|
11324
|
+
apiProvider?: "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "openai" | "ollama" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
11325
|
+
modelId?: string | undefined;
|
|
11326
|
+
diffStrategy?: string | undefined;
|
|
11327
|
+
isSubtask?: boolean | undefined;
|
|
11234
11328
|
};
|
|
11235
11329
|
}, {
|
|
11236
11330
|
type: TelemetryEventName.TASK_MESSAGE;
|
|
@@ -11257,7 +11351,18 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
11257
11351
|
summary: string;
|
|
11258
11352
|
} | undefined;
|
|
11259
11353
|
};
|
|
11354
|
+
language: string;
|
|
11355
|
+
mode: string;
|
|
11260
11356
|
taskId: string;
|
|
11357
|
+
appName: string;
|
|
11358
|
+
appVersion: string;
|
|
11359
|
+
vscodeVersion: string;
|
|
11360
|
+
platform: string;
|
|
11361
|
+
editorName: string;
|
|
11362
|
+
apiProvider?: "anthropic" | "glama" | "openrouter" | "bedrock" | "vertex" | "openai" | "ollama" | "vscode-lm" | "lmstudio" | "gemini" | "openai-native" | "mistral" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | undefined;
|
|
11363
|
+
modelId?: string | undefined;
|
|
11364
|
+
diffStrategy?: string | undefined;
|
|
11365
|
+
isSubtask?: boolean | undefined;
|
|
11261
11366
|
};
|
|
11262
11367
|
}>, z.ZodObject<{
|
|
11263
11368
|
type: z.ZodLiteral<TelemetryEventName.LLM_COMPLETION>;
|