@roo-code/types 1.11.0 → 1.13.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.js ADDED
@@ -0,0 +1,1117 @@
1
+ // src/codebase-index.ts
2
+ import { z } from "zod";
3
+ var codebaseIndexConfigSchema = z.object({
4
+ codebaseIndexEnabled: z.boolean().optional(),
5
+ codebaseIndexQdrantUrl: z.string().optional(),
6
+ codebaseIndexEmbedderProvider: z.enum(["openai", "ollama"]).optional(),
7
+ codebaseIndexEmbedderBaseUrl: z.string().optional(),
8
+ codebaseIndexEmbedderModelId: z.string().optional()
9
+ });
10
+ var codebaseIndexModelsSchema = z.object({
11
+ openai: z.record(z.string(), z.object({ dimension: z.number() })).optional(),
12
+ ollama: z.record(z.string(), z.object({ dimension: z.number() })).optional()
13
+ });
14
+ var codebaseIndexProviderSchema = z.object({
15
+ codeIndexOpenAiKey: z.string().optional(),
16
+ codeIndexQdrantApiKey: z.string().optional()
17
+ });
18
+
19
+ // src/experiment.ts
20
+ import { z as z2 } from "zod";
21
+ var experimentIds = ["autoCondenseContext", "powerSteering"];
22
+ var experimentIdsSchema = z2.enum(experimentIds);
23
+ var experimentsSchema = z2.object({
24
+ autoCondenseContext: z2.boolean(),
25
+ powerSteering: z2.boolean()
26
+ });
27
+
28
+ // src/global-settings.ts
29
+ import { z as z10 } from "zod";
30
+
31
+ // src/type-fu.ts
32
+ function keysOf() {
33
+ return (keys) => keys;
34
+ }
35
+
36
+ // src/provider-settings.ts
37
+ import { z as z4 } from "zod";
38
+
39
+ // src/model.ts
40
+ import { z as z3 } from "zod";
41
+ var reasoningEfforts = ["low", "medium", "high"];
42
+ var reasoningEffortsSchema = z3.enum(reasoningEfforts);
43
+ var modelParameters = ["max_tokens", "temperature", "reasoning", "include_reasoning"];
44
+ var modelParametersSchema = z3.enum(modelParameters);
45
+ var isModelParameter = (value) => modelParameters.includes(value);
46
+ var modelInfoSchema = z3.object({
47
+ maxTokens: z3.number().nullish(),
48
+ maxThinkingTokens: z3.number().nullish(),
49
+ contextWindow: z3.number(),
50
+ supportsImages: z3.boolean().optional(),
51
+ supportsComputerUse: z3.boolean().optional(),
52
+ supportsPromptCache: z3.boolean(),
53
+ supportsReasoningBudget: z3.boolean().optional(),
54
+ requiredReasoningBudget: z3.boolean().optional(),
55
+ supportsReasoningEffort: z3.boolean().optional(),
56
+ supportedParameters: z3.array(modelParametersSchema).optional(),
57
+ inputPrice: z3.number().optional(),
58
+ outputPrice: z3.number().optional(),
59
+ cacheWritesPrice: z3.number().optional(),
60
+ cacheReadsPrice: z3.number().optional(),
61
+ description: z3.string().optional(),
62
+ reasoningEffort: reasoningEffortsSchema.optional(),
63
+ minTokensPerCachePoint: z3.number().optional(),
64
+ maxCachePoints: z3.number().optional(),
65
+ cachableFields: z3.array(z3.string()).optional(),
66
+ tiers: z3.array(
67
+ z3.object({
68
+ contextWindow: z3.number(),
69
+ inputPrice: z3.number().optional(),
70
+ outputPrice: z3.number().optional(),
71
+ cacheWritesPrice: z3.number().optional(),
72
+ cacheReadsPrice: z3.number().optional()
73
+ })
74
+ ).optional()
75
+ });
76
+
77
+ // src/provider-settings.ts
78
+ var providerNames = [
79
+ "anthropic",
80
+ "glama",
81
+ "openrouter",
82
+ "bedrock",
83
+ "vertex",
84
+ "openai",
85
+ "ollama",
86
+ "vscode-lm",
87
+ "lmstudio",
88
+ "gemini",
89
+ "openai-native",
90
+ "mistral",
91
+ "deepseek",
92
+ "unbound",
93
+ "requesty",
94
+ "human-relay",
95
+ "fake-ai",
96
+ "xai",
97
+ "groq",
98
+ "chutes",
99
+ "litellm"
100
+ ];
101
+ var providerNamesSchema = z4.enum(providerNames);
102
+ var providerSettingsEntrySchema = z4.object({
103
+ id: z4.string(),
104
+ name: z4.string(),
105
+ apiProvider: providerNamesSchema.optional()
106
+ });
107
+ var baseProviderSettingsSchema = z4.object({
108
+ includeMaxTokens: z4.boolean().optional(),
109
+ diffEnabled: z4.boolean().optional(),
110
+ fuzzyMatchThreshold: z4.number().optional(),
111
+ modelTemperature: z4.number().nullish(),
112
+ rateLimitSeconds: z4.number().optional(),
113
+ // Model reasoning.
114
+ enableReasoningEffort: z4.boolean().optional(),
115
+ reasoningEffort: reasoningEffortsSchema.optional(),
116
+ modelMaxTokens: z4.number().optional(),
117
+ modelMaxThinkingTokens: z4.number().optional()
118
+ });
119
+ var apiModelIdProviderModelSchema = baseProviderSettingsSchema.extend({
120
+ apiModelId: z4.string().optional()
121
+ });
122
+ var anthropicSchema = apiModelIdProviderModelSchema.extend({
123
+ apiKey: z4.string().optional(),
124
+ anthropicBaseUrl: z4.string().optional(),
125
+ anthropicUseAuthToken: z4.boolean().optional()
126
+ });
127
+ var glamaSchema = baseProviderSettingsSchema.extend({
128
+ glamaModelId: z4.string().optional(),
129
+ glamaApiKey: z4.string().optional()
130
+ });
131
+ var openRouterSchema = baseProviderSettingsSchema.extend({
132
+ openRouterApiKey: z4.string().optional(),
133
+ openRouterModelId: z4.string().optional(),
134
+ openRouterBaseUrl: z4.string().optional(),
135
+ openRouterSpecificProvider: z4.string().optional(),
136
+ openRouterUseMiddleOutTransform: z4.boolean().optional()
137
+ });
138
+ var bedrockSchema = apiModelIdProviderModelSchema.extend({
139
+ awsAccessKey: z4.string().optional(),
140
+ awsSecretKey: z4.string().optional(),
141
+ awsSessionToken: z4.string().optional(),
142
+ awsRegion: z4.string().optional(),
143
+ awsUseCrossRegionInference: z4.boolean().optional(),
144
+ awsUsePromptCache: z4.boolean().optional(),
145
+ awsProfile: z4.string().optional(),
146
+ awsUseProfile: z4.boolean().optional(),
147
+ awsCustomArn: z4.string().optional()
148
+ });
149
+ var vertexSchema = apiModelIdProviderModelSchema.extend({
150
+ vertexKeyFile: z4.string().optional(),
151
+ vertexJsonCredentials: z4.string().optional(),
152
+ vertexProjectId: z4.string().optional(),
153
+ vertexRegion: z4.string().optional()
154
+ });
155
+ var openAiSchema = baseProviderSettingsSchema.extend({
156
+ openAiBaseUrl: z4.string().optional(),
157
+ openAiApiKey: z4.string().optional(),
158
+ openAiLegacyFormat: z4.boolean().optional(),
159
+ openAiR1FormatEnabled: z4.boolean().optional(),
160
+ openAiModelId: z4.string().optional(),
161
+ openAiCustomModelInfo: modelInfoSchema.nullish(),
162
+ openAiUseAzure: z4.boolean().optional(),
163
+ azureApiVersion: z4.string().optional(),
164
+ openAiStreamingEnabled: z4.boolean().optional(),
165
+ openAiHostHeader: z4.string().optional(),
166
+ // Keep temporarily for backward compatibility during migration.
167
+ openAiHeaders: z4.record(z4.string(), z4.string()).optional()
168
+ });
169
+ var ollamaSchema = baseProviderSettingsSchema.extend({
170
+ ollamaModelId: z4.string().optional(),
171
+ ollamaBaseUrl: z4.string().optional()
172
+ });
173
+ var vsCodeLmSchema = baseProviderSettingsSchema.extend({
174
+ vsCodeLmModelSelector: z4.object({
175
+ vendor: z4.string().optional(),
176
+ family: z4.string().optional(),
177
+ version: z4.string().optional(),
178
+ id: z4.string().optional()
179
+ }).optional()
180
+ });
181
+ var lmStudioSchema = baseProviderSettingsSchema.extend({
182
+ lmStudioModelId: z4.string().optional(),
183
+ lmStudioBaseUrl: z4.string().optional(),
184
+ lmStudioDraftModelId: z4.string().optional(),
185
+ lmStudioSpeculativeDecodingEnabled: z4.boolean().optional()
186
+ });
187
+ var geminiSchema = apiModelIdProviderModelSchema.extend({
188
+ geminiApiKey: z4.string().optional(),
189
+ googleGeminiBaseUrl: z4.string().optional()
190
+ });
191
+ var openAiNativeSchema = apiModelIdProviderModelSchema.extend({
192
+ openAiNativeApiKey: z4.string().optional(),
193
+ openAiNativeBaseUrl: z4.string().optional()
194
+ });
195
+ var mistralSchema = apiModelIdProviderModelSchema.extend({
196
+ mistralApiKey: z4.string().optional(),
197
+ mistralCodestralUrl: z4.string().optional()
198
+ });
199
+ var deepSeekSchema = apiModelIdProviderModelSchema.extend({
200
+ deepSeekBaseUrl: z4.string().optional(),
201
+ deepSeekApiKey: z4.string().optional()
202
+ });
203
+ var unboundSchema = baseProviderSettingsSchema.extend({
204
+ unboundApiKey: z4.string().optional(),
205
+ unboundModelId: z4.string().optional()
206
+ });
207
+ var requestySchema = baseProviderSettingsSchema.extend({
208
+ requestyApiKey: z4.string().optional(),
209
+ requestyModelId: z4.string().optional()
210
+ });
211
+ var humanRelaySchema = baseProviderSettingsSchema;
212
+ var fakeAiSchema = baseProviderSettingsSchema.extend({
213
+ fakeAi: z4.unknown().optional()
214
+ });
215
+ var xaiSchema = apiModelIdProviderModelSchema.extend({
216
+ xaiApiKey: z4.string().optional()
217
+ });
218
+ var groqSchema = apiModelIdProviderModelSchema.extend({
219
+ groqApiKey: z4.string().optional()
220
+ });
221
+ var chutesSchema = apiModelIdProviderModelSchema.extend({
222
+ chutesApiKey: z4.string().optional()
223
+ });
224
+ var litellmSchema = baseProviderSettingsSchema.extend({
225
+ litellmBaseUrl: z4.string().optional(),
226
+ litellmApiKey: z4.string().optional(),
227
+ litellmModelId: z4.string().optional()
228
+ });
229
+ var defaultSchema = z4.object({
230
+ apiProvider: z4.undefined()
231
+ });
232
+ var providerSettingsSchemaDiscriminated = z4.discriminatedUnion("apiProvider", [
233
+ anthropicSchema.merge(z4.object({ apiProvider: z4.literal("anthropic") })),
234
+ glamaSchema.merge(z4.object({ apiProvider: z4.literal("glama") })),
235
+ openRouterSchema.merge(z4.object({ apiProvider: z4.literal("openrouter") })),
236
+ bedrockSchema.merge(z4.object({ apiProvider: z4.literal("bedrock") })),
237
+ vertexSchema.merge(z4.object({ apiProvider: z4.literal("vertex") })),
238
+ openAiSchema.merge(z4.object({ apiProvider: z4.literal("openai") })),
239
+ ollamaSchema.merge(z4.object({ apiProvider: z4.literal("ollama") })),
240
+ vsCodeLmSchema.merge(z4.object({ apiProvider: z4.literal("vscode-lm") })),
241
+ lmStudioSchema.merge(z4.object({ apiProvider: z4.literal("lmstudio") })),
242
+ geminiSchema.merge(z4.object({ apiProvider: z4.literal("gemini") })),
243
+ openAiNativeSchema.merge(z4.object({ apiProvider: z4.literal("openai-native") })),
244
+ mistralSchema.merge(z4.object({ apiProvider: z4.literal("mistral") })),
245
+ deepSeekSchema.merge(z4.object({ apiProvider: z4.literal("deepseek") })),
246
+ unboundSchema.merge(z4.object({ apiProvider: z4.literal("unbound") })),
247
+ requestySchema.merge(z4.object({ apiProvider: z4.literal("requesty") })),
248
+ humanRelaySchema.merge(z4.object({ apiProvider: z4.literal("human-relay") })),
249
+ fakeAiSchema.merge(z4.object({ apiProvider: z4.literal("fake-ai") })),
250
+ xaiSchema.merge(z4.object({ apiProvider: z4.literal("xai") })),
251
+ groqSchema.merge(z4.object({ apiProvider: z4.literal("groq") })),
252
+ chutesSchema.merge(z4.object({ apiProvider: z4.literal("chutes") })),
253
+ litellmSchema.merge(z4.object({ apiProvider: z4.literal("litellm") })),
254
+ defaultSchema
255
+ ]);
256
+ var providerSettingsSchema = z4.object({
257
+ apiProvider: providerNamesSchema.optional(),
258
+ ...anthropicSchema.shape,
259
+ ...glamaSchema.shape,
260
+ ...openRouterSchema.shape,
261
+ ...bedrockSchema.shape,
262
+ ...vertexSchema.shape,
263
+ ...openAiSchema.shape,
264
+ ...ollamaSchema.shape,
265
+ ...vsCodeLmSchema.shape,
266
+ ...lmStudioSchema.shape,
267
+ ...geminiSchema.shape,
268
+ ...openAiNativeSchema.shape,
269
+ ...mistralSchema.shape,
270
+ ...deepSeekSchema.shape,
271
+ ...unboundSchema.shape,
272
+ ...requestySchema.shape,
273
+ ...humanRelaySchema.shape,
274
+ ...fakeAiSchema.shape,
275
+ ...xaiSchema.shape,
276
+ ...groqSchema.shape,
277
+ ...chutesSchema.shape,
278
+ ...litellmSchema.shape,
279
+ ...codebaseIndexProviderSchema.shape
280
+ });
281
+ var PROVIDER_SETTINGS_KEYS = keysOf()([
282
+ "apiProvider",
283
+ // Anthropic
284
+ "apiModelId",
285
+ "apiKey",
286
+ "anthropicBaseUrl",
287
+ "anthropicUseAuthToken",
288
+ // Glama
289
+ "glamaModelId",
290
+ "glamaApiKey",
291
+ // OpenRouter
292
+ "openRouterApiKey",
293
+ "openRouterModelId",
294
+ "openRouterBaseUrl",
295
+ "openRouterSpecificProvider",
296
+ "openRouterUseMiddleOutTransform",
297
+ // Amazon Bedrock
298
+ "awsAccessKey",
299
+ "awsSecretKey",
300
+ "awsSessionToken",
301
+ "awsRegion",
302
+ "awsUseCrossRegionInference",
303
+ "awsUsePromptCache",
304
+ "awsProfile",
305
+ "awsUseProfile",
306
+ "awsCustomArn",
307
+ // Google Vertex
308
+ "vertexKeyFile",
309
+ "vertexJsonCredentials",
310
+ "vertexProjectId",
311
+ "vertexRegion",
312
+ // OpenAI
313
+ "openAiBaseUrl",
314
+ "openAiApiKey",
315
+ "openAiLegacyFormat",
316
+ "openAiR1FormatEnabled",
317
+ "openAiModelId",
318
+ "openAiCustomModelInfo",
319
+ "openAiUseAzure",
320
+ "azureApiVersion",
321
+ "openAiStreamingEnabled",
322
+ "openAiHostHeader",
323
+ // Keep temporarily for backward compatibility during migration.
324
+ "openAiHeaders",
325
+ // Ollama
326
+ "ollamaModelId",
327
+ "ollamaBaseUrl",
328
+ // VS Code LM
329
+ "vsCodeLmModelSelector",
330
+ "lmStudioModelId",
331
+ "lmStudioBaseUrl",
332
+ "lmStudioDraftModelId",
333
+ "lmStudioSpeculativeDecodingEnabled",
334
+ // Gemini
335
+ "geminiApiKey",
336
+ "googleGeminiBaseUrl",
337
+ // OpenAI Native
338
+ "openAiNativeApiKey",
339
+ "openAiNativeBaseUrl",
340
+ // Mistral
341
+ "mistralApiKey",
342
+ "mistralCodestralUrl",
343
+ // DeepSeek
344
+ "deepSeekBaseUrl",
345
+ "deepSeekApiKey",
346
+ // Unbound
347
+ "unboundApiKey",
348
+ "unboundModelId",
349
+ // Requesty
350
+ "requestyApiKey",
351
+ "requestyModelId",
352
+ // Code Index
353
+ "codeIndexOpenAiKey",
354
+ "codeIndexQdrantApiKey",
355
+ // Reasoning
356
+ "enableReasoningEffort",
357
+ "reasoningEffort",
358
+ "modelMaxTokens",
359
+ "modelMaxThinkingTokens",
360
+ // Generic
361
+ "includeMaxTokens",
362
+ "diffEnabled",
363
+ "fuzzyMatchThreshold",
364
+ "modelTemperature",
365
+ "rateLimitSeconds",
366
+ // Fake AI
367
+ "fakeAi",
368
+ // X.AI (Grok)
369
+ "xaiApiKey",
370
+ // Groq
371
+ "groqApiKey",
372
+ // Chutes AI
373
+ "chutesApiKey",
374
+ // LiteLLM
375
+ "litellmBaseUrl",
376
+ "litellmApiKey",
377
+ "litellmModelId"
378
+ ]);
379
+
380
+ // src/history.ts
381
+ import { z as z5 } from "zod";
382
+ var historyItemSchema = z5.object({
383
+ id: z5.string(),
384
+ number: z5.number(),
385
+ ts: z5.number(),
386
+ task: z5.string(),
387
+ tokensIn: z5.number(),
388
+ tokensOut: z5.number(),
389
+ cacheWrites: z5.number().optional(),
390
+ cacheReads: z5.number().optional(),
391
+ totalCost: z5.number(),
392
+ size: z5.number().optional(),
393
+ workspace: z5.string().optional()
394
+ });
395
+
396
+ // src/telemetry.ts
397
+ import { z as z6 } from "zod";
398
+ var telemetrySettings = ["unset", "enabled", "disabled"];
399
+ var telemetrySettingsSchema = z6.enum(telemetrySettings);
400
+ var TelemetryEventName = /* @__PURE__ */ ((TelemetryEventName2) => {
401
+ TelemetryEventName2["TASK_CREATED"] = "Task Created";
402
+ TelemetryEventName2["TASK_RESTARTED"] = "Task Reopened";
403
+ TelemetryEventName2["TASK_COMPLETED"] = "Task Completed";
404
+ TelemetryEventName2["TASK_CONVERSATION_MESSAGE"] = "Conversation Message";
405
+ TelemetryEventName2["LLM_COMPLETION"] = "LLM Completion";
406
+ TelemetryEventName2["MODE_SWITCH"] = "Mode Switched";
407
+ TelemetryEventName2["TOOL_USED"] = "Tool Used";
408
+ TelemetryEventName2["CHECKPOINT_CREATED"] = "Checkpoint Created";
409
+ TelemetryEventName2["CHECKPOINT_RESTORED"] = "Checkpoint Restored";
410
+ TelemetryEventName2["CHECKPOINT_DIFFED"] = "Checkpoint Diffed";
411
+ TelemetryEventName2["CONTEXT_CONDENSED"] = "Context Condensed";
412
+ TelemetryEventName2["SLIDING_WINDOW_TRUNCATION"] = "Sliding Window Truncation";
413
+ TelemetryEventName2["CODE_ACTION_USED"] = "Code Action Used";
414
+ TelemetryEventName2["PROMPT_ENHANCED"] = "Prompt Enhanced";
415
+ TelemetryEventName2["TITLE_BUTTON_CLICKED"] = "Title Button Clicked";
416
+ TelemetryEventName2["AUTHENTICATION_INITIATED"] = "Authentication Initiated";
417
+ TelemetryEventName2["SCHEMA_VALIDATION_ERROR"] = "Schema Validation Error";
418
+ TelemetryEventName2["DIFF_APPLICATION_ERROR"] = "Diff Application Error";
419
+ TelemetryEventName2["SHELL_INTEGRATION_ERROR"] = "Shell Integration Error";
420
+ TelemetryEventName2["CONSECUTIVE_MISTAKE_ERROR"] = "Consecutive Mistake Error";
421
+ return TelemetryEventName2;
422
+ })(TelemetryEventName || {});
423
+ var appPropertiesSchema = z6.object({
424
+ appVersion: z6.string(),
425
+ vscodeVersion: z6.string(),
426
+ platform: z6.string(),
427
+ editorName: z6.string(),
428
+ language: z6.string(),
429
+ mode: z6.string()
430
+ });
431
+ var taskPropertiesSchema = z6.object({
432
+ taskId: z6.string().optional(),
433
+ apiProvider: z6.enum(providerNames).optional(),
434
+ modelId: z6.string().optional(),
435
+ diffStrategy: z6.string().optional(),
436
+ isSubtask: z6.boolean().optional()
437
+ });
438
+ var telemetryPropertiesSchema = z6.object({
439
+ ...appPropertiesSchema.shape,
440
+ ...taskPropertiesSchema.shape
441
+ });
442
+ var completionPropertiesSchema = z6.object({
443
+ inputTokens: z6.number(),
444
+ outputTokens: z6.number(),
445
+ cacheReadTokens: z6.number().optional(),
446
+ cacheWriteTokens: z6.number().optional(),
447
+ cost: z6.number().optional()
448
+ });
449
+ var rooCodeTelemetryEventSchema = z6.discriminatedUnion("type", [
450
+ z6.object({
451
+ type: z6.enum([
452
+ "Task Created" /* TASK_CREATED */,
453
+ "Task Reopened" /* TASK_RESTARTED */,
454
+ "Task Completed" /* TASK_COMPLETED */,
455
+ "Conversation Message" /* TASK_CONVERSATION_MESSAGE */,
456
+ "Mode Switched" /* MODE_SWITCH */,
457
+ "Tool Used" /* TOOL_USED */,
458
+ "Checkpoint Created" /* CHECKPOINT_CREATED */,
459
+ "Checkpoint Restored" /* CHECKPOINT_RESTORED */,
460
+ "Checkpoint Diffed" /* CHECKPOINT_DIFFED */,
461
+ "Code Action Used" /* CODE_ACTION_USED */,
462
+ "Prompt Enhanced" /* PROMPT_ENHANCED */,
463
+ "Title Button Clicked" /* TITLE_BUTTON_CLICKED */,
464
+ "Authentication Initiated" /* AUTHENTICATION_INITIATED */,
465
+ "Schema Validation Error" /* SCHEMA_VALIDATION_ERROR */,
466
+ "Diff Application Error" /* DIFF_APPLICATION_ERROR */,
467
+ "Shell Integration Error" /* SHELL_INTEGRATION_ERROR */,
468
+ "Consecutive Mistake Error" /* CONSECUTIVE_MISTAKE_ERROR */
469
+ ]),
470
+ properties: z6.object({
471
+ ...appPropertiesSchema.shape,
472
+ ...taskPropertiesSchema.shape
473
+ })
474
+ }),
475
+ z6.object({
476
+ type: z6.literal("LLM Completion" /* LLM_COMPLETION */),
477
+ properties: z6.object({
478
+ ...appPropertiesSchema.shape,
479
+ ...taskPropertiesSchema.shape,
480
+ ...completionPropertiesSchema.shape
481
+ })
482
+ })
483
+ ]);
484
+
485
+ // src/mode.ts
486
+ import { z as z8 } from "zod";
487
+
488
+ // src/tool.ts
489
+ import { z as z7 } from "zod";
490
+ var toolGroups = ["read", "edit", "browser", "command", "mcp", "modes"];
491
+ var toolGroupsSchema = z7.enum(toolGroups);
492
+ var toolNames = [
493
+ "execute_command",
494
+ "read_file",
495
+ "write_to_file",
496
+ "apply_diff",
497
+ "insert_content",
498
+ "search_and_replace",
499
+ "search_files",
500
+ "list_files",
501
+ "list_code_definition_names",
502
+ "browser_action",
503
+ "use_mcp_tool",
504
+ "access_mcp_resource",
505
+ "ask_followup_question",
506
+ "attempt_completion",
507
+ "switch_mode",
508
+ "new_task",
509
+ "fetch_instructions",
510
+ "codebase_search"
511
+ ];
512
+ var toolNamesSchema = z7.enum(toolNames);
513
+ var toolUsageSchema = z7.record(
514
+ toolNamesSchema,
515
+ z7.object({
516
+ attempts: z7.number(),
517
+ failures: z7.number()
518
+ })
519
+ );
520
+
521
+ // src/mode.ts
522
+ var groupOptionsSchema = z8.object({
523
+ fileRegex: z8.string().optional().refine(
524
+ (pattern) => {
525
+ if (!pattern) {
526
+ return true;
527
+ }
528
+ try {
529
+ new RegExp(pattern);
530
+ return true;
531
+ } catch {
532
+ return false;
533
+ }
534
+ },
535
+ { message: "Invalid regular expression pattern" }
536
+ ),
537
+ description: z8.string().optional()
538
+ });
539
+ var groupEntrySchema = z8.union([toolGroupsSchema, z8.tuple([toolGroupsSchema, groupOptionsSchema])]);
540
+ var groupEntryArraySchema = z8.array(groupEntrySchema).refine(
541
+ (groups) => {
542
+ const seen = /* @__PURE__ */ new Set();
543
+ return groups.every((group) => {
544
+ const groupName = Array.isArray(group) ? group[0] : group;
545
+ if (seen.has(groupName)) {
546
+ return false;
547
+ }
548
+ seen.add(groupName);
549
+ return true;
550
+ });
551
+ },
552
+ { message: "Duplicate groups are not allowed" }
553
+ );
554
+ var modeConfigSchema = z8.object({
555
+ slug: z8.string().regex(/^[a-zA-Z0-9-]+$/, "Slug must contain only letters numbers and dashes"),
556
+ name: z8.string().min(1, "Name is required"),
557
+ roleDefinition: z8.string().min(1, "Role definition is required"),
558
+ whenToUse: z8.string().optional(),
559
+ customInstructions: z8.string().optional(),
560
+ groups: groupEntryArraySchema,
561
+ source: z8.enum(["global", "project"]).optional()
562
+ });
563
+ var customModesSettingsSchema = z8.object({
564
+ customModes: z8.array(modeConfigSchema).refine(
565
+ (modes) => {
566
+ const slugs = /* @__PURE__ */ new Set();
567
+ return modes.every((mode) => {
568
+ if (slugs.has(mode.slug)) {
569
+ return false;
570
+ }
571
+ slugs.add(mode.slug);
572
+ return true;
573
+ });
574
+ },
575
+ {
576
+ message: "Duplicate mode slugs are not allowed"
577
+ }
578
+ )
579
+ });
580
+ var promptComponentSchema = z8.object({
581
+ roleDefinition: z8.string().optional(),
582
+ whenToUse: z8.string().optional(),
583
+ customInstructions: z8.string().optional()
584
+ });
585
+ var customModePromptsSchema = z8.record(z8.string(), promptComponentSchema.optional());
586
+ var customSupportPromptsSchema = z8.record(z8.string(), z8.string().optional());
587
+
588
+ // src/vscode.ts
589
+ import { z as z9 } from "zod";
590
+ var codeActionIds = ["explainCode", "fixCode", "improveCode", "addToContext", "newTask"];
591
+ var terminalActionIds = ["terminalAddToContext", "terminalFixCommand", "terminalExplainCommand"];
592
+ var commandIds = [
593
+ "activationCompleted",
594
+ "plusButtonClicked",
595
+ "promptsButtonClicked",
596
+ "mcpButtonClicked",
597
+ "historyButtonClicked",
598
+ "popoutButtonClicked",
599
+ "settingsButtonClicked",
600
+ "openInNewTab",
601
+ "showHumanRelayDialog",
602
+ "registerHumanRelayCallback",
603
+ "unregisterHumanRelayCallback",
604
+ "handleHumanRelayResponse",
605
+ "newTask",
606
+ "setCustomStoragePath",
607
+ "focusInput",
608
+ "acceptInput"
609
+ ];
610
+ var languages = [
611
+ "ca",
612
+ "de",
613
+ "en",
614
+ "es",
615
+ "fr",
616
+ "hi",
617
+ "it",
618
+ "ja",
619
+ "ko",
620
+ "nl",
621
+ "pl",
622
+ "pt-BR",
623
+ "ru",
624
+ "tr",
625
+ "vi",
626
+ "zh-CN",
627
+ "zh-TW"
628
+ ];
629
+ var languagesSchema = z9.enum(languages);
630
+ var isLanguage = (value) => languages.includes(value);
631
+
632
+ // src/global-settings.ts
633
+ var globalSettingsSchema = z10.object({
634
+ currentApiConfigName: z10.string().optional(),
635
+ listApiConfigMeta: z10.array(providerSettingsEntrySchema).optional(),
636
+ pinnedApiConfigs: z10.record(z10.string(), z10.boolean()).optional(),
637
+ lastShownAnnouncementId: z10.string().optional(),
638
+ customInstructions: z10.string().optional(),
639
+ taskHistory: z10.array(historyItemSchema).optional(),
640
+ condensingApiConfigId: z10.string().optional(),
641
+ customCondensingPrompt: z10.string().optional(),
642
+ autoApprovalEnabled: z10.boolean().optional(),
643
+ alwaysAllowReadOnly: z10.boolean().optional(),
644
+ alwaysAllowReadOnlyOutsideWorkspace: z10.boolean().optional(),
645
+ alwaysAllowWrite: z10.boolean().optional(),
646
+ alwaysAllowWriteOutsideWorkspace: z10.boolean().optional(),
647
+ writeDelayMs: z10.number().optional(),
648
+ alwaysAllowBrowser: z10.boolean().optional(),
649
+ alwaysApproveResubmit: z10.boolean().optional(),
650
+ requestDelaySeconds: z10.number().optional(),
651
+ alwaysAllowMcp: z10.boolean().optional(),
652
+ alwaysAllowModeSwitch: z10.boolean().optional(),
653
+ alwaysAllowSubtasks: z10.boolean().optional(),
654
+ alwaysAllowExecute: z10.boolean().optional(),
655
+ allowedCommands: z10.array(z10.string()).optional(),
656
+ allowedMaxRequests: z10.number().nullish(),
657
+ autoCondenseContextPercent: z10.number().optional(),
658
+ browserToolEnabled: z10.boolean().optional(),
659
+ browserViewportSize: z10.string().optional(),
660
+ screenshotQuality: z10.number().optional(),
661
+ remoteBrowserEnabled: z10.boolean().optional(),
662
+ remoteBrowserHost: z10.string().optional(),
663
+ cachedChromeHostUrl: z10.string().optional(),
664
+ enableCheckpoints: z10.boolean().optional(),
665
+ ttsEnabled: z10.boolean().optional(),
666
+ ttsSpeed: z10.number().optional(),
667
+ soundEnabled: z10.boolean().optional(),
668
+ soundVolume: z10.number().optional(),
669
+ maxOpenTabsContext: z10.number().optional(),
670
+ maxWorkspaceFiles: z10.number().optional(),
671
+ showRooIgnoredFiles: z10.boolean().optional(),
672
+ maxReadFileLine: z10.number().optional(),
673
+ terminalOutputLineLimit: z10.number().optional(),
674
+ terminalShellIntegrationTimeout: z10.number().optional(),
675
+ terminalShellIntegrationDisabled: z10.boolean().optional(),
676
+ terminalCommandDelay: z10.number().optional(),
677
+ terminalPowershellCounter: z10.boolean().optional(),
678
+ terminalZshClearEolMark: z10.boolean().optional(),
679
+ terminalZshOhMy: z10.boolean().optional(),
680
+ terminalZshP10k: z10.boolean().optional(),
681
+ terminalZdotdir: z10.boolean().optional(),
682
+ terminalCompressProgressBar: z10.boolean().optional(),
683
+ rateLimitSeconds: z10.number().optional(),
684
+ diffEnabled: z10.boolean().optional(),
685
+ fuzzyMatchThreshold: z10.number().optional(),
686
+ experiments: experimentsSchema.optional(),
687
+ codebaseIndexModels: codebaseIndexModelsSchema.optional(),
688
+ codebaseIndexConfig: codebaseIndexConfigSchema.optional(),
689
+ language: languagesSchema.optional(),
690
+ telemetrySetting: telemetrySettingsSchema.optional(),
691
+ mcpEnabled: z10.boolean().optional(),
692
+ enableMcpServerCreation: z10.boolean().optional(),
693
+ mode: z10.string().optional(),
694
+ modeApiConfigs: z10.record(z10.string(), z10.string()).optional(),
695
+ customModes: z10.array(modeConfigSchema).optional(),
696
+ customModePrompts: customModePromptsSchema.optional(),
697
+ customSupportPrompts: customSupportPromptsSchema.optional(),
698
+ enhancementApiConfigId: z10.string().optional(),
699
+ historyPreviewCollapsed: z10.boolean().optional()
700
+ });
701
+ var GLOBAL_SETTINGS_KEYS = keysOf()([
702
+ "currentApiConfigName",
703
+ "listApiConfigMeta",
704
+ "pinnedApiConfigs",
705
+ "lastShownAnnouncementId",
706
+ "customInstructions",
707
+ "taskHistory",
708
+ "condensingApiConfigId",
709
+ "customCondensingPrompt",
710
+ "autoApprovalEnabled",
711
+ "alwaysAllowReadOnly",
712
+ "alwaysAllowReadOnlyOutsideWorkspace",
713
+ "alwaysAllowWrite",
714
+ "alwaysAllowWriteOutsideWorkspace",
715
+ "writeDelayMs",
716
+ "alwaysAllowBrowser",
717
+ "alwaysApproveResubmit",
718
+ "requestDelaySeconds",
719
+ "alwaysAllowMcp",
720
+ "alwaysAllowModeSwitch",
721
+ "alwaysAllowSubtasks",
722
+ "alwaysAllowExecute",
723
+ "allowedCommands",
724
+ "allowedMaxRequests",
725
+ "autoCondenseContextPercent",
726
+ "browserToolEnabled",
727
+ "browserViewportSize",
728
+ "screenshotQuality",
729
+ "remoteBrowserEnabled",
730
+ "remoteBrowserHost",
731
+ "enableCheckpoints",
732
+ "ttsEnabled",
733
+ "ttsSpeed",
734
+ "soundEnabled",
735
+ "soundVolume",
736
+ "maxOpenTabsContext",
737
+ "maxWorkspaceFiles",
738
+ "showRooIgnoredFiles",
739
+ "maxReadFileLine",
740
+ "terminalOutputLineLimit",
741
+ "terminalShellIntegrationTimeout",
742
+ "terminalShellIntegrationDisabled",
743
+ "terminalCommandDelay",
744
+ "terminalPowershellCounter",
745
+ "terminalZshClearEolMark",
746
+ "terminalZshOhMy",
747
+ "terminalZshP10k",
748
+ "terminalZdotdir",
749
+ "terminalCompressProgressBar",
750
+ "rateLimitSeconds",
751
+ "diffEnabled",
752
+ "fuzzyMatchThreshold",
753
+ "experiments",
754
+ "codebaseIndexModels",
755
+ "codebaseIndexConfig",
756
+ "language",
757
+ "telemetrySetting",
758
+ "mcpEnabled",
759
+ "enableMcpServerCreation",
760
+ "mode",
761
+ "modeApiConfigs",
762
+ "customModes",
763
+ "customModePrompts",
764
+ "customSupportPrompts",
765
+ "enhancementApiConfigId",
766
+ "cachedChromeHostUrl",
767
+ "historyPreviewCollapsed"
768
+ ]);
769
+ var rooCodeSettingsSchema = providerSettingsSchema.merge(globalSettingsSchema);
770
+ var SECRET_STATE_KEYS = keysOf()([
771
+ "apiKey",
772
+ "glamaApiKey",
773
+ "openRouterApiKey",
774
+ "awsAccessKey",
775
+ "awsSecretKey",
776
+ "awsSessionToken",
777
+ "openAiApiKey",
778
+ "geminiApiKey",
779
+ "openAiNativeApiKey",
780
+ "deepSeekApiKey",
781
+ "mistralApiKey",
782
+ "unboundApiKey",
783
+ "requestyApiKey",
784
+ "xaiApiKey",
785
+ "groqApiKey",
786
+ "chutesApiKey",
787
+ "litellmApiKey",
788
+ "codeIndexOpenAiKey",
789
+ "codeIndexQdrantApiKey"
790
+ ]);
791
+ var isSecretStateKey = (key) => SECRET_STATE_KEYS.includes(key);
792
+ var GLOBAL_STATE_KEYS = [...GLOBAL_SETTINGS_KEYS, ...PROVIDER_SETTINGS_KEYS].filter(
793
+ (key) => !SECRET_STATE_KEYS.includes(key)
794
+ );
795
+ var isGlobalStateKey = (key) => GLOBAL_STATE_KEYS.includes(key);
796
+
797
+ // src/ipc.ts
798
+ import { z as z12 } from "zod";
799
+
800
+ // src/message.ts
801
+ import { z as z11 } from "zod";
802
+ var clineAsks = [
803
+ "followup",
804
+ "command",
805
+ "command_output",
806
+ "completion_result",
807
+ "tool",
808
+ "api_req_failed",
809
+ "resume_task",
810
+ "resume_completed_task",
811
+ "mistake_limit_reached",
812
+ "browser_action_launch",
813
+ "use_mcp_server",
814
+ "auto_approval_max_req_reached"
815
+ ];
816
+ var clineAskSchema = z11.enum(clineAsks);
817
+ var clineSays = [
818
+ "error",
819
+ "api_req_started",
820
+ "api_req_finished",
821
+ "api_req_retried",
822
+ "api_req_retry_delayed",
823
+ "api_req_deleted",
824
+ "text",
825
+ "reasoning",
826
+ "completion_result",
827
+ "user_feedback",
828
+ "user_feedback_diff",
829
+ "command_output",
830
+ "shell_integration_warning",
831
+ "browser_action",
832
+ "browser_action_result",
833
+ "mcp_server_request_started",
834
+ "mcp_server_response",
835
+ "subtask_result",
836
+ "checkpoint_saved",
837
+ "rooignore_error",
838
+ "diff_error",
839
+ "condense_context",
840
+ "codebase_search_result"
841
+ ];
842
+ var clineSaySchema = z11.enum(clineSays);
843
+ var toolProgressStatusSchema = z11.object({
844
+ icon: z11.string().optional(),
845
+ text: z11.string().optional()
846
+ });
847
+ var contextCondenseSchema = z11.object({
848
+ cost: z11.number(),
849
+ prevContextTokens: z11.number(),
850
+ newContextTokens: z11.number(),
851
+ summary: z11.string()
852
+ });
853
+ var clineMessageSchema = z11.object({
854
+ ts: z11.number(),
855
+ type: z11.union([z11.literal("ask"), z11.literal("say")]),
856
+ ask: clineAskSchema.optional(),
857
+ say: clineSaySchema.optional(),
858
+ text: z11.string().optional(),
859
+ images: z11.array(z11.string()).optional(),
860
+ partial: z11.boolean().optional(),
861
+ reasoning: z11.string().optional(),
862
+ conversationHistoryIndex: z11.number().optional(),
863
+ checkpoint: z11.record(z11.string(), z11.unknown()).optional(),
864
+ progressStatus: toolProgressStatusSchema.optional(),
865
+ contextCondense: contextCondenseSchema.optional()
866
+ });
867
+ var tokenUsageSchema = z11.object({
868
+ totalTokensIn: z11.number(),
869
+ totalTokensOut: z11.number(),
870
+ totalCacheWrites: z11.number().optional(),
871
+ totalCacheReads: z11.number().optional(),
872
+ totalCost: z11.number(),
873
+ contextTokens: z11.number()
874
+ });
875
+
876
+ // src/ipc.ts
877
+ var RooCodeEventName = /* @__PURE__ */ ((RooCodeEventName2) => {
878
+ RooCodeEventName2["Message"] = "message";
879
+ RooCodeEventName2["TaskCreated"] = "taskCreated";
880
+ RooCodeEventName2["TaskStarted"] = "taskStarted";
881
+ RooCodeEventName2["TaskModeSwitched"] = "taskModeSwitched";
882
+ RooCodeEventName2["TaskPaused"] = "taskPaused";
883
+ RooCodeEventName2["TaskUnpaused"] = "taskUnpaused";
884
+ RooCodeEventName2["TaskAskResponded"] = "taskAskResponded";
885
+ RooCodeEventName2["TaskAborted"] = "taskAborted";
886
+ RooCodeEventName2["TaskSpawned"] = "taskSpawned";
887
+ RooCodeEventName2["TaskCompleted"] = "taskCompleted";
888
+ RooCodeEventName2["TaskTokenUsageUpdated"] = "taskTokenUsageUpdated";
889
+ RooCodeEventName2["TaskToolFailed"] = "taskToolFailed";
890
+ return RooCodeEventName2;
891
+ })(RooCodeEventName || {});
892
+ var rooCodeEventsSchema = z12.object({
893
+ ["message" /* Message */]: z12.tuple([
894
+ z12.object({
895
+ taskId: z12.string(),
896
+ action: z12.union([z12.literal("created"), z12.literal("updated")]),
897
+ message: clineMessageSchema
898
+ })
899
+ ]),
900
+ ["taskCreated" /* TaskCreated */]: z12.tuple([z12.string()]),
901
+ ["taskStarted" /* TaskStarted */]: z12.tuple([z12.string()]),
902
+ ["taskModeSwitched" /* TaskModeSwitched */]: z12.tuple([z12.string(), z12.string()]),
903
+ ["taskPaused" /* TaskPaused */]: z12.tuple([z12.string()]),
904
+ ["taskUnpaused" /* TaskUnpaused */]: z12.tuple([z12.string()]),
905
+ ["taskAskResponded" /* TaskAskResponded */]: z12.tuple([z12.string()]),
906
+ ["taskAborted" /* TaskAborted */]: z12.tuple([z12.string()]),
907
+ ["taskSpawned" /* TaskSpawned */]: z12.tuple([z12.string(), z12.string()]),
908
+ ["taskCompleted" /* TaskCompleted */]: z12.tuple([z12.string(), tokenUsageSchema, toolUsageSchema]),
909
+ ["taskTokenUsageUpdated" /* TaskTokenUsageUpdated */]: z12.tuple([z12.string(), tokenUsageSchema]),
910
+ ["taskToolFailed" /* TaskToolFailed */]: z12.tuple([z12.string(), toolNamesSchema, z12.string()])
911
+ });
912
+ var ackSchema = z12.object({
913
+ clientId: z12.string(),
914
+ pid: z12.number(),
915
+ ppid: z12.number()
916
+ });
917
+ var TaskCommandName = /* @__PURE__ */ ((TaskCommandName2) => {
918
+ TaskCommandName2["StartNewTask"] = "StartNewTask";
919
+ TaskCommandName2["CancelTask"] = "CancelTask";
920
+ TaskCommandName2["CloseTask"] = "CloseTask";
921
+ return TaskCommandName2;
922
+ })(TaskCommandName || {});
923
+ var taskCommandSchema = z12.discriminatedUnion("commandName", [
924
+ z12.object({
925
+ commandName: z12.literal("StartNewTask" /* StartNewTask */),
926
+ data: z12.object({
927
+ configuration: rooCodeSettingsSchema,
928
+ text: z12.string(),
929
+ images: z12.array(z12.string()).optional(),
930
+ newTab: z12.boolean().optional()
931
+ })
932
+ }),
933
+ z12.object({
934
+ commandName: z12.literal("CancelTask" /* CancelTask */),
935
+ data: z12.string()
936
+ }),
937
+ z12.object({
938
+ commandName: z12.literal("CloseTask" /* CloseTask */),
939
+ data: z12.string()
940
+ })
941
+ ]);
942
+ var taskEventSchema = z12.discriminatedUnion("eventName", [
943
+ z12.object({
944
+ eventName: z12.literal("message" /* Message */),
945
+ payload: rooCodeEventsSchema.shape["message" /* Message */]
946
+ }),
947
+ z12.object({
948
+ eventName: z12.literal("taskCreated" /* TaskCreated */),
949
+ payload: rooCodeEventsSchema.shape["taskCreated" /* TaskCreated */]
950
+ }),
951
+ z12.object({
952
+ eventName: z12.literal("taskStarted" /* TaskStarted */),
953
+ payload: rooCodeEventsSchema.shape["taskStarted" /* TaskStarted */]
954
+ }),
955
+ z12.object({
956
+ eventName: z12.literal("taskModeSwitched" /* TaskModeSwitched */),
957
+ payload: rooCodeEventsSchema.shape["taskModeSwitched" /* TaskModeSwitched */]
958
+ }),
959
+ z12.object({
960
+ eventName: z12.literal("taskPaused" /* TaskPaused */),
961
+ payload: rooCodeEventsSchema.shape["taskPaused" /* TaskPaused */]
962
+ }),
963
+ z12.object({
964
+ eventName: z12.literal("taskUnpaused" /* TaskUnpaused */),
965
+ payload: rooCodeEventsSchema.shape["taskUnpaused" /* TaskUnpaused */]
966
+ }),
967
+ z12.object({
968
+ eventName: z12.literal("taskAskResponded" /* TaskAskResponded */),
969
+ payload: rooCodeEventsSchema.shape["taskAskResponded" /* TaskAskResponded */]
970
+ }),
971
+ z12.object({
972
+ eventName: z12.literal("taskAborted" /* TaskAborted */),
973
+ payload: rooCodeEventsSchema.shape["taskAborted" /* TaskAborted */]
974
+ }),
975
+ z12.object({
976
+ eventName: z12.literal("taskSpawned" /* TaskSpawned */),
977
+ payload: rooCodeEventsSchema.shape["taskSpawned" /* TaskSpawned */]
978
+ }),
979
+ z12.object({
980
+ eventName: z12.literal("taskCompleted" /* TaskCompleted */),
981
+ payload: rooCodeEventsSchema.shape["taskCompleted" /* TaskCompleted */]
982
+ }),
983
+ z12.object({
984
+ eventName: z12.literal("taskTokenUsageUpdated" /* TaskTokenUsageUpdated */),
985
+ payload: rooCodeEventsSchema.shape["taskTokenUsageUpdated" /* TaskTokenUsageUpdated */]
986
+ })
987
+ ]);
988
+ var IpcMessageType = /* @__PURE__ */ ((IpcMessageType2) => {
989
+ IpcMessageType2["Connect"] = "Connect";
990
+ IpcMessageType2["Disconnect"] = "Disconnect";
991
+ IpcMessageType2["Ack"] = "Ack";
992
+ IpcMessageType2["TaskCommand"] = "TaskCommand";
993
+ IpcMessageType2["TaskEvent"] = "TaskEvent";
994
+ return IpcMessageType2;
995
+ })(IpcMessageType || {});
996
+ var IpcOrigin = /* @__PURE__ */ ((IpcOrigin2) => {
997
+ IpcOrigin2["Client"] = "client";
998
+ IpcOrigin2["Server"] = "server";
999
+ return IpcOrigin2;
1000
+ })(IpcOrigin || {});
1001
+ var ipcMessageSchema = z12.discriminatedUnion("type", [
1002
+ z12.object({
1003
+ type: z12.literal("Ack" /* Ack */),
1004
+ origin: z12.literal("server" /* Server */),
1005
+ data: ackSchema
1006
+ }),
1007
+ z12.object({
1008
+ type: z12.literal("TaskCommand" /* TaskCommand */),
1009
+ origin: z12.literal("client" /* Client */),
1010
+ clientId: z12.string(),
1011
+ data: taskCommandSchema
1012
+ }),
1013
+ z12.object({
1014
+ type: z12.literal("TaskEvent" /* TaskEvent */),
1015
+ origin: z12.literal("server" /* Server */),
1016
+ relayClientId: z12.string().optional(),
1017
+ data: taskEventSchema
1018
+ })
1019
+ ]);
1020
+
1021
+ // src/terminal.ts
1022
+ import { z as z13 } from "zod";
1023
+ var commandExecutionStatusSchema = z13.discriminatedUnion("status", [
1024
+ z13.object({
1025
+ executionId: z13.string(),
1026
+ status: z13.literal("started"),
1027
+ pid: z13.number().optional(),
1028
+ command: z13.string()
1029
+ }),
1030
+ z13.object({
1031
+ executionId: z13.string(),
1032
+ status: z13.literal("output"),
1033
+ output: z13.string()
1034
+ }),
1035
+ z13.object({
1036
+ executionId: z13.string(),
1037
+ status: z13.literal("exited"),
1038
+ exitCode: z13.number().optional()
1039
+ }),
1040
+ z13.object({
1041
+ executionId: z13.string(),
1042
+ status: z13.literal("fallback")
1043
+ })
1044
+ ]);
1045
+ export {
1046
+ GLOBAL_SETTINGS_KEYS,
1047
+ GLOBAL_STATE_KEYS,
1048
+ IpcMessageType,
1049
+ IpcOrigin,
1050
+ PROVIDER_SETTINGS_KEYS,
1051
+ RooCodeEventName,
1052
+ SECRET_STATE_KEYS,
1053
+ TaskCommandName,
1054
+ TelemetryEventName,
1055
+ ackSchema,
1056
+ appPropertiesSchema,
1057
+ clineAskSchema,
1058
+ clineAsks,
1059
+ clineMessageSchema,
1060
+ clineSaySchema,
1061
+ clineSays,
1062
+ codeActionIds,
1063
+ codebaseIndexConfigSchema,
1064
+ codebaseIndexModelsSchema,
1065
+ codebaseIndexProviderSchema,
1066
+ commandExecutionStatusSchema,
1067
+ commandIds,
1068
+ contextCondenseSchema,
1069
+ customModePromptsSchema,
1070
+ customModesSettingsSchema,
1071
+ customSupportPromptsSchema,
1072
+ experimentIds,
1073
+ experimentIdsSchema,
1074
+ experimentsSchema,
1075
+ globalSettingsSchema,
1076
+ groupEntrySchema,
1077
+ groupOptionsSchema,
1078
+ historyItemSchema,
1079
+ ipcMessageSchema,
1080
+ isGlobalStateKey,
1081
+ isLanguage,
1082
+ isModelParameter,
1083
+ isSecretStateKey,
1084
+ keysOf,
1085
+ languages,
1086
+ languagesSchema,
1087
+ modeConfigSchema,
1088
+ modelInfoSchema,
1089
+ modelParameters,
1090
+ modelParametersSchema,
1091
+ promptComponentSchema,
1092
+ providerNames,
1093
+ providerNamesSchema,
1094
+ providerSettingsEntrySchema,
1095
+ providerSettingsSchema,
1096
+ providerSettingsSchemaDiscriminated,
1097
+ reasoningEfforts,
1098
+ reasoningEffortsSchema,
1099
+ rooCodeEventsSchema,
1100
+ rooCodeSettingsSchema,
1101
+ rooCodeTelemetryEventSchema,
1102
+ taskCommandSchema,
1103
+ taskEventSchema,
1104
+ taskPropertiesSchema,
1105
+ telemetryPropertiesSchema,
1106
+ telemetrySettings,
1107
+ telemetrySettingsSchema,
1108
+ terminalActionIds,
1109
+ tokenUsageSchema,
1110
+ toolGroups,
1111
+ toolGroupsSchema,
1112
+ toolNames,
1113
+ toolNamesSchema,
1114
+ toolProgressStatusSchema,
1115
+ toolUsageSchema
1116
+ };
1117
+ //# sourceMappingURL=index.js.map