mobbdev 1.1.44 → 1.2.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.
Files changed (22) hide show
  1. package/LICENSE +1 -1
  2. package/dist/index.mjs +418 -75
  3. package/package.json +5 -2
  4. package/src/features/codeium_intellij/proto/buf/validate/validate.proto +504 -0
  5. package/src/features/codeium_intellij/proto/exa/auto_cascade_common_pb/auto_cascade_common.proto +81 -0
  6. package/src/features/codeium_intellij/proto/exa/bug_checker_pb/bug_checker.proto +24 -0
  7. package/src/features/codeium_intellij/proto/exa/cascade_plugins_pb/cascade_plugins.proto +108 -0
  8. package/src/features/codeium_intellij/proto/exa/chat_client_server_pb/chat_client_server.proto +56 -0
  9. package/src/features/codeium_intellij/proto/exa/chat_pb/chat.proto +457 -0
  10. package/src/features/codeium_intellij/proto/exa/code_edit/code_edit_pb/code_edit.proto +191 -0
  11. package/src/features/codeium_intellij/proto/exa/codeium_common_pb/codeium_common.proto +3783 -0
  12. package/src/features/codeium_intellij/proto/exa/context_module_pb/context_module.proto +172 -0
  13. package/src/features/codeium_intellij/proto/exa/cortex_pb/cortex.proto +3604 -0
  14. package/src/features/codeium_intellij/proto/exa/diff_action_pb/diff_action.proto +73 -0
  15. package/src/features/codeium_intellij/proto/exa/extension_server_pb/extension_server.proto +565 -0
  16. package/src/features/codeium_intellij/proto/exa/index_pb/index.proto +474 -0
  17. package/src/features/codeium_intellij/proto/exa/knowledge_base_pb/knowledge_base.proto +149 -0
  18. package/src/features/codeium_intellij/proto/exa/language_server_pb/language_server.proto +2504 -0
  19. package/src/features/codeium_intellij/proto/exa/opensearch_clients_pb/opensearch_clients.proto +505 -0
  20. package/src/features/codeium_intellij/proto/exa/product_analytics_pb/product_analytics.proto +31 -0
  21. package/src/features/codeium_intellij/proto/exa/reactive_component_pb/reactive_component.proto +104 -0
  22. package/src/features/codeium_intellij/proto/exa/seat_management_pb/seat_management.proto +2349 -0
@@ -0,0 +1,3604 @@
1
+ syntax = "proto3";
2
+
3
+ package exa.cortex_pb;
4
+
5
+ import "buf/validate/validate.proto";
6
+ import "exa/chat_pb/chat.proto";
7
+ import "exa/code_edit/code_edit_pb/code_edit.proto";
8
+ import "exa/codeium_common_pb/codeium_common.proto";
9
+ import "exa/context_module_pb/context_module.proto";
10
+ import "exa/diff_action_pb/diff_action.proto";
11
+ import "exa/opensearch_clients_pb/opensearch_clients.proto";
12
+ import "google/protobuf/duration.proto";
13
+ import "google/protobuf/empty.proto";
14
+ import "google/protobuf/timestamp.proto";
15
+
16
+ option go_package = "github.com/Exafunction/Exafunction/exa/cortex_pb";
17
+
18
+ message WorkflowSpec {
19
+ string path = 1;
20
+ string name = 2;
21
+ string description = 3;
22
+ string content = 4;
23
+ codeium_common_pb.CascadeCommandsAutoExecution execution_mode = 9;
24
+ bool is_builtin = 6;
25
+ CortexMemoryScope scope = 7;
26
+ string base_dir = 8;
27
+ bool is_overridden = 10;
28
+
29
+ reserved 5;
30
+ }
31
+
32
+ message CortexPlanSummaryComponent {
33
+ oneof component {
34
+ string text = 1;
35
+ codeium_common_pb.ContextScopeItem citation = 2;
36
+ }
37
+ }
38
+
39
+ message CodingStepState {
40
+ string plan_id = 1;
41
+ string goal = 2;
42
+ repeated ActionState action_states = 3;
43
+ repeated CortexStepOutline outlines = 7;
44
+ repeated CortexPlanSummaryComponent summary_components = 8;
45
+ string post_summary_text = 9;
46
+ bool plan_fully_generated = 4;
47
+ bool plan_finished = 5;
48
+ PlanDebugInfo debug_info = 6;
49
+ bool plan_summary_confirmed = 10;
50
+ bool plan_summary_fully_generated = 11;
51
+ repeated context_module_pb.CciWithSubrangeWithRetrievalMetadata cci_list = 12;
52
+ }
53
+
54
+ message CortexPlanState {
55
+ repeated CortexStepState steps = 1;
56
+ repeated CortexStepOutline outlines = 2;
57
+ uint32 current_step_index = 3;
58
+ PlanDebugInfo debug_info = 4;
59
+ }
60
+
61
+ message CortexStepOutline {
62
+ uint32 step_number = 1;
63
+ string action_name = 2;
64
+ string json_args = 3;
65
+ repeated uint32 parent_step_numbers = 4;
66
+ }
67
+
68
+ message CortexStepState {
69
+ oneof step {
70
+ CodingStepState coding = 1;
71
+ }
72
+ }
73
+
74
+ message CortexResearchState {
75
+ uint32 total_retrieved_count = 1;
76
+ repeated codeium_common_pb.CciWithSubrange top_retrieved_items = 2;
77
+ ResearchDebugInfo debug_info = 3;
78
+ repeated codeium_common_pb.CciWithSubrange full_cci_list = 4;
79
+ }
80
+
81
+ message ResearchDebugInfo {
82
+ string query = 1;
83
+ repeated string files_scanned = 2;
84
+ }
85
+
86
+ message CortexWorkflowState {
87
+ CortexRequestSource request_source = 6;
88
+ string goal = 1;
89
+ PlanInput plan_input = 2;
90
+ CortexResearchState research_state = 3;
91
+ CortexPlanState plan_state = 4;
92
+ string error = 5;
93
+ }
94
+
95
+ message CortexRunState {
96
+ CortexWorkflowState workflow_state = 1;
97
+ codeium_common_pb.GraphExecutionState execution_state = 2;
98
+ bool done = 3;
99
+
100
+ reserved 4, 5;
101
+
102
+ reserved "claude_code_permissions", "claude_code_restart_state";
103
+ }
104
+
105
+ message PlanInput {
106
+ string goal = 1;
107
+ repeated string next_steps = 5;
108
+ repeated string target_directories = 2;
109
+ repeated string target_files = 3;
110
+ repeated codeium_common_pb.ContextScopeItem scope_items = 4;
111
+ }
112
+
113
+ message ActionSpec {
114
+ repeated uint32 parent_step_indices = 3;
115
+
116
+ oneof spec {
117
+ ActionSpecCommand command = 1;
118
+ ActionSpecCreateFile create_file = 2;
119
+ ActionSpecDeleteFile delete_file = 4;
120
+ }
121
+ }
122
+
123
+ message ActionSpecCreateFile {
124
+ string instruction = 1;
125
+ codeium_common_pb.PathScopeItem path = 2;
126
+ repeated codeium_common_pb.CodeContextItem reference_ccis = 3;
127
+ }
128
+
129
+ message ActionSpecDeleteFile {
130
+ codeium_common_pb.PathScopeItem path = 1;
131
+ }
132
+
133
+ message LineRangeTarget {
134
+ string absolute_uri = 1;
135
+ uint32 start_line = 2;
136
+ uint32 end_line = 3;
137
+ }
138
+
139
+ message CommandContentTarget {
140
+ string content = 1;
141
+ string absolute_uri = 2;
142
+ }
143
+
144
+ message ReplacementChunk {
145
+ string target_content = 1;
146
+ string replacement_content = 2;
147
+ bool allow_multiple = 3;
148
+ bool target_has_carriage_return = 4;
149
+ repeated string context_lines = 5;
150
+ AcknowledgementType acknowledgement_type = 11;
151
+ }
152
+
153
+ message ActionSpecCommand {
154
+ string instruction = 1;
155
+ repeated ReplacementChunk replacement_chunks = 9;
156
+ bool is_edit = 2;
157
+ bool use_fast_apply = 8;
158
+ repeated codeium_common_pb.CodeContextItem reference_ccis = 5;
159
+
160
+ oneof target {
161
+ codeium_common_pb.CodeContextItem code_context = 3;
162
+ codeium_common_pb.PathScopeItem file = 4;
163
+ codeium_common_pb.CciWithSubrange cci_with_subrange = 6;
164
+ LineRangeTarget line_range = 7;
165
+ CommandContentTarget content_target = 10;
166
+ }
167
+
168
+ reserved 11, 12;
169
+ }
170
+
171
+ message ActionState {
172
+ string step_id = 5;
173
+ ActionStatus status = 1;
174
+ ActionSpec spec = 2;
175
+ ActionResult result = 3;
176
+ string error = 4;
177
+ uint32 step_version = 6;
178
+ uint32 plan_version = 7;
179
+ }
180
+
181
+ message ActionResult {
182
+ bool apply_existing_result = 2;
183
+
184
+ oneof result {
185
+ ActionResultEdit edit = 1;
186
+ }
187
+ }
188
+
189
+ message ActionDebugInfo {
190
+ repeated DebugInfoEntry entries = 1;
191
+ message DebugInfoEntry {
192
+ string key = 1;
193
+ string value = 2;
194
+ }
195
+ }
196
+
197
+ message ActionResultEdit {
198
+ string absolute_path_migrate_me_to_uri = 1 [deprecated = true];
199
+ diff_action_pb.DiffBlock diff = 2;
200
+ string context_prefix = 3;
201
+ string context_suffix = 4;
202
+ ActionDebugInfo debug_info = 5;
203
+ string prompt_id = 12;
204
+ string completion_id = 6;
205
+ string file_content_hash = 7;
206
+ string absolute_uri = 8;
207
+ repeated codeium_common_pb.CodeContextItem result_ccis = 9;
208
+ string original_content = 10;
209
+ bool create_file = 11;
210
+ string new_content = 14;
211
+
212
+ reserved 13;
213
+
214
+ reserved "replacement_chunk_errors";
215
+ }
216
+
217
+ message RetrievalStatus {
218
+ uint32 total_retrieved_count = 1;
219
+ repeated codeium_common_pb.CciWithSubrange top_retrieved_items = 2;
220
+ }
221
+
222
+ message PlanState {
223
+ PlanStatus status = 4;
224
+ string plan_id = 1;
225
+ PlanInput plan_input = 2;
226
+ repeated ActionState actions = 3;
227
+ RetrievalStatus retrieval_status = 6;
228
+ string error = 5;
229
+ PlanDebugInfo debug_info = 7;
230
+ }
231
+
232
+ message PlanDebugInfo {
233
+ string raw_response = 1;
234
+ uint32 plan_tokens = 2;
235
+ float plan_cost = 3;
236
+ string system_prompt = 4;
237
+ repeated chat_pb.ChatMessagePrompt message_prompts = 5;
238
+ }
239
+
240
+ message CortexPlanConfig {
241
+ codeium_common_pb.ChatNodeConfig model_config = 1;
242
+ uint32 max_nominal_continuations = 2;
243
+ uint32 max_error_continuations = 3;
244
+ }
245
+
246
+ message CortexConfig {
247
+ bool record_telemetry = 11;
248
+ bool add_distill_node = 6 [deprecated = true];
249
+ codeium_common_pb.ChatNodeConfig distill_config = 10;
250
+ codeium_common_pb.MQueryConfig m_query_config = 8;
251
+ string m_query_model_name = 12;
252
+ bool use_macro_planner = 1 [deprecated = true];
253
+ CortexPlanConfig macro_plan_config = 4;
254
+ PlanConfig plan_config = 9;
255
+ CortexPlanConfig code_plan_config = 5;
256
+ bool auto_prepare_apply = 2;
257
+ uint32 num_prepare_retries = 3;
258
+ }
259
+
260
+ message PlanConfig {
261
+ string plan_model_name = 1;
262
+ uint32 max_tokens_per_plan = 2;
263
+ float max_token_fraction = 3;
264
+ float chat_temperature = 4;
265
+ uint64 chat_completion_max_tokens = 5;
266
+ bool augment_command = 9;
267
+ codeium_common_pb.ExperimentConfig experiment_config = 7;
268
+ codeium_common_pb.MQueryConfig m_query_config = 8;
269
+
270
+ reserved 6;
271
+
272
+ reserved "no_augment_command";
273
+ }
274
+
275
+ message CortexPlanSummary {
276
+ string cortex_id = 1;
277
+ PlanInput plan_input = 2;
278
+ google.protobuf.Timestamp created_at = 3;
279
+ bool done = 4;
280
+ }
281
+
282
+ message WorkspaceInitializationData {
283
+ CortexWorkspaceMetadata metadata = 1;
284
+ string merge_base_commit_hash = 2;
285
+ codeium_common_pb.WorkspaceStats workspace_stats = 5;
286
+ bool repo_is_public = 6;
287
+
288
+ oneof _merge_base_head_patch_string {
289
+ string merge_base_head_patch_string = 3;
290
+ }
291
+
292
+ oneof _head_working_patch_string {
293
+ string head_working_patch_string = 4;
294
+ }
295
+ }
296
+
297
+ message StateInitializationData {
298
+ google.protobuf.Timestamp timestamp = 1;
299
+ string state_id = 2;
300
+ repeated WorkspaceInitializationData workspaces = 3;
301
+ }
302
+
303
+ message CortexWorkspaceMetadata {
304
+ string workspace_folder_absolute_uri = 1;
305
+ string git_root_absolute_uri = 2;
306
+ codeium_common_pb.Repository repository = 3;
307
+ string branch_name = 4;
308
+ }
309
+
310
+ message CortexTrajectoryMetadata {
311
+ repeated CortexWorkspaceMetadata workspaces = 1;
312
+ google.protobuf.Timestamp created_at = 2;
313
+ string initialization_state_id = 3;
314
+ string experiment_tags = 4;
315
+ }
316
+
317
+ message CortexTrajectory {
318
+ string trajectory_id = 1;
319
+ string cascade_id = 6;
320
+ CortexTrajectoryType trajectory_type = 4;
321
+ repeated CortexTrajectoryStep steps = 2;
322
+ repeated CortexTrajectoryReference parent_references = 5;
323
+ repeated CortexStepGeneratorMetadata generator_metadata = 3;
324
+ repeated ExecutorMetadata executor_metadatas = 9;
325
+ CortexTrajectorySource source = 8;
326
+ CortexTrajectoryMetadata metadata = 7;
327
+ uint32 diff_lines_added = 14;
328
+ uint32 diff_lines_removed = 15;
329
+ repeated QueuedMessage message_queue = 17;
330
+
331
+ oneof _renamed_title {
332
+ string renamed_title = 10;
333
+ }
334
+
335
+ oneof _virtual_fs_serialized_overlay {
336
+ bytes virtual_fs_serialized_overlay = 13;
337
+ }
338
+
339
+ oneof _arena_id {
340
+ string arena_id = 16;
341
+ }
342
+
343
+ oneof _git_worktree_path {
344
+ string git_worktree_path = 18;
345
+ }
346
+
347
+ oneof _arena_mode_info {
348
+ ArenaModeInfo arena_mode_info = 20;
349
+ }
350
+
351
+ oneof _conversational_mode {
352
+ codeium_common_pb.ConversationalPlannerMode conversational_mode = 21;
353
+ }
354
+
355
+ reserved 11, 12, 19;
356
+
357
+ reserved "claude_code_session_id", "is_claude_code", "devin_session";
358
+ }
359
+
360
+ message ArenaModeInfo {
361
+ oneof _is_random_mode {
362
+ bool is_random_mode = 1;
363
+ }
364
+
365
+ oneof _arena_tier {
366
+ codeium_common_pb.ArenaTier arena_tier = 2;
367
+ }
368
+ }
369
+
370
+ message CortexTrajectoryStepWithIndex {
371
+ CortexTrajectoryStep step = 1;
372
+ uint32 step_index = 2;
373
+ }
374
+
375
+ message GlobalBackgroundCommand {
376
+ string command_id = 1;
377
+ string trajectory_id = 2;
378
+ uint32 step_index = 3;
379
+ string command_line = 4;
380
+ CortexStepStatus status = 5;
381
+ google.protobuf.Timestamp created_at = 6;
382
+ google.protobuf.Timestamp last_updated_at = 7;
383
+ string terminal_id = 8;
384
+ }
385
+
386
+ message QueuedMessage {
387
+ string queue_id = 1;
388
+ codeium_common_pb.Metadata metadata = 2;
389
+ CortexTrajectoryStep user_input_step = 3;
390
+ CascadeConfig override_config = 4;
391
+ }
392
+
393
+ message CascadeTrajectorySummary {
394
+ string summary = 1;
395
+ uint32 step_count = 2;
396
+ google.protobuf.Timestamp last_modified_time = 3;
397
+ string trajectory_id = 4;
398
+ CascadeRunStatus status = 5;
399
+ google.protobuf.Timestamp created_time = 7;
400
+ repeated CortexTrajectoryStepWithIndex waiting_steps = 8;
401
+ repeated CortexWorkspaceMetadata workspaces = 9;
402
+ google.protobuf.Timestamp last_user_input_time = 10;
403
+ repeated GlobalBackgroundCommand background_commands = 12;
404
+ bool errored = 14;
405
+ uint32 diff_lines_added = 16;
406
+ uint32 diff_lines_removed = 17;
407
+ bool hidden = 19;
408
+ uint32 queue_size = 20;
409
+ CortexTrajectoryType trajectory_type = 22;
410
+ CortexTrajectorySource trajectory_source = 23;
411
+ repeated codeium_common_pb.ContextScopeItem referenced_context_items = 27;
412
+
413
+ oneof _renamed_title {
414
+ string renamed_title = 11;
415
+ }
416
+
417
+ oneof _last_todo_list_step {
418
+ LastTodoListStepInfo last_todo_list_step = 13;
419
+ }
420
+
421
+ oneof _arena_id {
422
+ string arena_id = 18;
423
+ }
424
+
425
+ oneof _git_worktree_path {
426
+ string git_worktree_path = 21;
427
+ }
428
+
429
+ oneof _last_generator_model_deprecated {
430
+ codeium_common_pb.Model last_generator_model_deprecated = 24 [deprecated = true];
431
+ }
432
+
433
+ oneof _arena_mode_info {
434
+ ArenaModeInfo arena_mode_info = 25;
435
+ }
436
+
437
+ oneof _last_generator_model_uid {
438
+ string last_generator_model_uid = 26;
439
+ }
440
+
441
+ reserved 6, 15;
442
+
443
+ reserved "is_claude_code";
444
+ }
445
+
446
+ message LastTodoListStepInfo {
447
+ repeated CortexTodoListItem todos = 1;
448
+ uint32 step_index = 2;
449
+ }
450
+
451
+ message CascadeTrajectorySummaries {
452
+ map<string, CascadeTrajectorySummary> summaries = 1;
453
+ }
454
+
455
+ message CortexTrajectoryReference {
456
+ string trajectory_id = 1;
457
+ CortexTrajectoryType trajectory_type = 3;
458
+ int32 step_index = 2;
459
+ CortexStepType step_type = 4;
460
+ bool force_billable = 5;
461
+ }
462
+
463
+ message ImplicitTrajectory {
464
+ CortexTrajectory trajectory = 1;
465
+ TrajectoryScope trajectory_scope = 5;
466
+
467
+ reserved 2, 3, 4, 6, 7;
468
+
469
+ reserved "background_research", "mainline_step_count_at_last_research", "workspace_uri", "git_root_uri", "branch_name";
470
+ }
471
+
472
+ message ImplicitTrajectoryDescription {
473
+ string trajectory_id = 1;
474
+ TrajectoryScope trajectory_scope = 2;
475
+ bool current = 3;
476
+ }
477
+
478
+ message CortexStepGeneratorMetadata {
479
+ repeated uint32 step_indices = 2;
480
+ CascadePlannerConfig planner_config = 3;
481
+ string execution_id = 4;
482
+ string error = 5;
483
+ ParallelRolloutGeneratorMetadata parallel_rollout_generator_metadata = 6;
484
+ bool arena_cap_reached = 7;
485
+
486
+ oneof metadata {
487
+ ChatModelMetadata chat_model = 1;
488
+ }
489
+ }
490
+
491
+ message ParallelRolloutGeneratorMetadata {
492
+ string guide_judgement_trajectory_id = 1;
493
+ CortexStepTrajectoryChoice guide_choice_step = 2;
494
+ }
495
+
496
+ message MessagePromptMetadata {
497
+ uint32 message_index = 1;
498
+ uint32 segment_index = 2;
499
+ }
500
+
501
+ message ChatModelMetadata {
502
+ string system_prompt = 1;
503
+ repeated chat_pb.ChatMessagePrompt message_prompts = 2;
504
+ repeated MessagePromptMetadata message_metadata = 10;
505
+ codeium_common_pb.Model model_deprecated = 3 [deprecated = true];
506
+ string model_uid = 15;
507
+ codeium_common_pb.ModelUsageStats usage = 4;
508
+ float model_cost = 5;
509
+ uint32 last_cache_index = 6;
510
+ chat_pb.ChatToolChoice tool_choice = 7;
511
+ repeated chat_pb.ChatToolDefinition tools = 8;
512
+ ChatStartMetadata chat_start_metadata = 9;
513
+ google.protobuf.Duration time_to_first_token = 11;
514
+ google.protobuf.Duration streaming_duration = 12;
515
+ int32 credit_cost = 13;
516
+ uint32 retries = 14;
517
+ double acu_cost = 16;
518
+ }
519
+
520
+ message CacheBreakpointMetadata {
521
+ uint32 index = 1;
522
+ chat_pb.PromptCacheOptions options = 2;
523
+ string content_checksum = 3;
524
+ }
525
+
526
+ message ChatStartMetadata {
527
+ google.protobuf.Timestamp created_at = 4;
528
+ uint32 start_step_index = 1;
529
+ int32 checkpoint_index = 2;
530
+ repeated uint32 steps_covered_by_checkpoint = 3;
531
+ int32 latest_stable_message_index = 5;
532
+ repeated CacheBreakpointMetadata cache_breakpoints = 6;
533
+ CacheBreakpointMetadata system_prompt_cache = 7;
534
+ google.protobuf.Duration time_since_last_invocation = 8;
535
+ CacheRequestOptions cache_request = 9;
536
+ }
537
+
538
+ message CacheRequestOptions {
539
+ bool enabled = 1;
540
+ repeated uint32 cache_breakpoint_indices = 2;
541
+ }
542
+
543
+ message CortexStepMetadata {
544
+ uint32 step_generation_version = 21;
545
+ google.protobuf.Timestamp created_at = 1;
546
+ google.protobuf.Timestamp viewable_at = 6;
547
+ google.protobuf.Timestamp finished_generating_at = 7;
548
+ google.protobuf.Timestamp last_completed_chunk_at = 22;
549
+ google.protobuf.Timestamp completed_at = 8;
550
+ CortexStepSource source = 3;
551
+ codeium_common_pb.ChatToolCall tool_call = 4;
552
+ repeated string arguments_order = 5;
553
+ codeium_common_pb.ModelUsageStats model_usage = 9;
554
+ float model_cost = 10;
555
+ codeium_common_pb.Model generator_model_deprecated = 11 [deprecated = true];
556
+ codeium_common_pb.ModelOrAlias requested_model_deprecated = 13 [deprecated = true];
557
+ string generator_model_uid = 27;
558
+ string requested_model_uid = 28;
559
+ string execution_id = 12;
560
+ int32 flow_credits_used = 14 [deprecated = true];
561
+ int32 prompt_credits_used = 15;
562
+ codeium_common_pb.ConversationalPlannerMode planner_mode = 26;
563
+ repeated CortexStepCreditReason non_standard_credit_reasons = 18 [deprecated = true];
564
+ repeated codeium_common_pb.ChatToolCall tool_call_choices = 16;
565
+ string tool_call_choice_reason = 17;
566
+ CortexRequestSource cortex_request_source = 19;
567
+ int32 tool_call_output_tokens = 23;
568
+ SourceTrajectoryStepInfo source_trajectory_step_info = 20;
569
+ string request_id = 24;
570
+ uint64 cumulative_tokens_at_step = 25;
571
+ double acu_cost = 29;
572
+
573
+ reserved 2;
574
+ }
575
+
576
+ message SourceTrajectoryStepInfo {
577
+ string trajectory_id = 1;
578
+ uint32 step_index = 2;
579
+ uint32 metadata_index = 3;
580
+ string cascade_id = 4;
581
+ }
582
+
583
+ message CortexStepUpdate {
584
+ uint32 step_index = 1;
585
+ CortexTrajectoryStep step = 2;
586
+ CortexStepStatus status = 3;
587
+ UserStepAnnotations user_annotations = 4;
588
+ }
589
+
590
+ message WindsurfSetting {
591
+ string setting_id = 1;
592
+ string setting_name = 2;
593
+ }
594
+
595
+ message StructuredErrorPart {
596
+ oneof part {
597
+ string text = 1;
598
+ string file_uri = 2;
599
+ string directory_uri = 3;
600
+ string url = 4;
601
+ string code_text = 5;
602
+ WindsurfSetting windsurf_setting = 6;
603
+ }
604
+ }
605
+
606
+ message CortexErrorDetails {
607
+ string user_error_message = 1;
608
+ repeated StructuredErrorPart structured_error_parts = 8;
609
+ string short_error = 2;
610
+ string full_error = 3;
611
+ bool is_benign = 4;
612
+ uint32 error_code = 7;
613
+ string details = 5;
614
+ string error_id = 6;
615
+ }
616
+
617
+ message UserStepSnapshot {
618
+ string name = 1;
619
+ }
620
+
621
+ message UserStepAnnotations {
622
+ UserStepSnapshot snapshot = 1;
623
+ }
624
+
625
+ message CortexTrajectoryStep {
626
+ CortexStepType type = 1;
627
+ CortexStepStatus status = 4;
628
+ CortexStepMetadata metadata = 5;
629
+ CortexErrorDetails error = 31;
630
+ ExecutionAsyncLevel async_level_override = 33 [deprecated = true];
631
+ RequestedInteraction requested_interaction = 56;
632
+ UserStepAnnotations user_annotations = 69;
633
+ repeated HookExecutionDetail pre_tool_use_hooks = 85;
634
+ repeated HookExecutionDetail post_tool_use_hooks = 86;
635
+ CortexTrajectory subtrajectory = 6;
636
+ repeated CortexTrajectory subtrajectories = 51;
637
+
638
+ oneof step {
639
+ CortexStepDummy dummy = 7;
640
+ CortexStepFinish finish = 12;
641
+ CortexStepPlanInput plan_input = 8;
642
+ CortexStepMquery mquery = 9;
643
+ CortexStepCodeAction code_action = 10;
644
+ CortexStepGitCommit git_commit = 11;
645
+ CortexStepGrepSearch grep_search = 13;
646
+ CortexStepViewFile view_file = 14;
647
+ CortexStepListDirectory list_directory = 15;
648
+ CortexStepCompile compile = 16;
649
+ CortexStepInformPlanner inform_planner = 17;
650
+ CortexStepUserInput user_input = 19;
651
+ CortexStepPlannerResponse planner_response = 20;
652
+ CortexStepFileBreakdown file_breakdown = 21;
653
+ CortexStepViewCodeItem view_code_item = 22;
654
+ CortexStepWriteToFile write_to_file = 23 [deprecated = true];
655
+ CortexStepErrorMessage error_message = 24;
656
+ CortexStepClusterQuery cluster_query = 25;
657
+ CortexStepListClusters list_clusters = 26;
658
+ CortexStepInspectCluster inspect_cluster = 27;
659
+ CortexStepRunCommand run_command = 28;
660
+ CortexStepRelatedFiles related_files = 29;
661
+ CortexStepCheckpoint checkpoint = 30;
662
+ CortexStepProposeCode propose_code = 32;
663
+ CortexStepFind find = 34;
664
+ CortexStepSearchKnowledgeBase search_knowledge_base = 35;
665
+ CortexStepSuggestedResponses suggested_responses = 36;
666
+ CortexStepCommandStatus command_status = 37;
667
+ CortexStepMemory memory = 38;
668
+ CortexStepLookupKnowledgeBase lookup_knowledge_base = 39;
669
+ CortexStepReadUrlContent read_url_content = 40;
670
+ CortexStepViewContentChunk view_content_chunk = 41;
671
+ CortexStepSearchWeb search_web = 42;
672
+ CortexStepRetrieveMemory retrieve_memory = 43;
673
+ CortexStepAutoCascadeBroadcast auto_cascade_broadcast = 44;
674
+ CortexStepCustomTool custom_tool = 45;
675
+ CortexStepCreateRecipe create_recipe = 46 [deprecated = true];
676
+ CortexStepMcpTool mcp_tool = 47;
677
+ CortexStepManagerFeedback manager_feedback = 48;
678
+ CortexStepToolCallProposal tool_call_proposal = 49;
679
+ CortexStepToolCallChoice tool_call_choice = 50;
680
+ CortexStepTrajectoryChoice trajectory_choice = 52;
681
+ CortexStepProxyWebServer proxy_web_server = 53;
682
+ CortexStepDeployWebApp deploy_web_app = 54;
683
+ CortexStepClipboard clipboard = 55;
684
+ CortexStepReadDeploymentConfig read_deployment_config = 57;
685
+ CortexStepViewFileOutline view_file_outline = 58 [deprecated = true];
686
+ CortexStepCheckDeployStatus check_deploy_status = 59;
687
+ CortexStepPostPrReview post_pr_review = 60;
688
+ CortexStepReadKnowledgeBaseItem read_knowledge_base_item = 61;
689
+ CortexStepListResources list_resources = 62;
690
+ CortexStepReadResource read_resource = 63;
691
+ CortexStepLintDiff lint_diff = 64;
692
+ CortexStepFindAllReferences find_all_references = 65;
693
+ CortexStepBrainUpdate brain_update = 66;
694
+ CortexStepRunExtensionCode run_extension_code = 68 [deprecated = true];
695
+ CortexStepAddAnnotation add_annotation = 70;
696
+ CortexStepProposalFeedback proposal_feedback = 71;
697
+ CortexStepTrajectorySearch trajectory_search = 72;
698
+ CortexStepReadTerminal read_terminal = 77;
699
+ CortexStepArtifactSummary artifact_summary = 83;
700
+ CortexStepResolveTask resolve_task = 84;
701
+ CortexStepTodoList todo_list = 87;
702
+ CortexStepBlocking blocking = 88;
703
+ CortexStepExploreResponse explore_response = 94;
704
+ CortexStepReadNotebook read_notebook = 96;
705
+ CortexStepEditNotebook edit_notebook = 97;
706
+ CortexStepCodeMap code_map = 98 [deprecated = true];
707
+ CortexStepEditCodeMap edit_code_map = 99 [deprecated = true];
708
+ CortexStepSupercompleteActiveDoc supercomplete_active_doc = 100;
709
+ CortexStepFindCodeContext find_code_context = 101;
710
+ CortexStepSupercompleteFeedback supercomplete_feedback = 103;
711
+ CortexStepLintFixMessage lint_fix_message = 104;
712
+ CortexStepGrepSearchV2 grep_search_v2 = 105;
713
+ CortexStepUpsertCodemap upsert_codemap = 106;
714
+ CortexStepSuggestCodemap suggest_codemap = 107;
715
+ CortexStepSmartFriend smart_friend = 108;
716
+ CortexStepReportBugs report_bugs = 112;
717
+ CortexStepExitPlanMode exit_plan_mode = 114;
718
+ CortexStepAskUserQuestion ask_user_question = 115;
719
+ CortexStepSkill skill = 116;
720
+ CortexStepSupercompleteEphemeralFeedback supercomplete_ephemeral_feedback = 117;
721
+ CortexStepArenaTrajectoryConverge arena_trajectory_converge = 118;
722
+ }
723
+
724
+ oneof _shield_from_cancellation {
725
+ bool shield_from_cancellation = 109;
726
+ }
727
+
728
+ reserved 2, 3, 18, 82, 67, 73, 74, 75, 76, 78, 79, 80, 81, 102, 110, 111, 113, 89, 90, 91, 92, 93, 95;
729
+
730
+ reserved "open_browser_url", "execute_browser_javascript", "list_browser_pages", "capture_browser_screenshot", "click_browser_pixel", "capture_browser_console_logs", "read_browser_page", "query_browser_page_for_pixel", "get_dom_tree", "superflow_show_user", "superflow_context", "claude_code_agent", "claude_code_todo_list", "claude_code_glob", "claude_code_done", "claude_code_result", "claude_code_tool_permission", "do_testing";
731
+ }
732
+
733
+ message TrajectoryScope {
734
+ string workspace_uri = 1;
735
+ string git_root_uri = 2;
736
+ string branch_name = 3;
737
+ }
738
+
739
+ message CascadeExecutorConfig {
740
+ int32 max_generator_invocations = 2;
741
+ repeated CortexStepType terminal_step_types = 3;
742
+ int32 hold_for_valid_checkpoint_timeout = 6;
743
+ bool research_only = 7;
744
+ bool enable_background_linting = 9;
745
+ int32 max_lint_injection_count = 10;
746
+
747
+ oneof _disable_async {
748
+ bool disable_async = 1;
749
+ }
750
+
751
+ oneof _run_pending_steps {
752
+ bool run_pending_steps = 4;
753
+ }
754
+
755
+ oneof _hold_for_valid_checkpoint {
756
+ bool hold_for_valid_checkpoint = 5;
757
+ }
758
+
759
+ oneof _use_aggressive_snapshotting {
760
+ bool use_aggressive_snapshotting = 8;
761
+ }
762
+ }
763
+
764
+ message ForcedBrainUpdateConfig {
765
+ oneof _update_sample_rate {
766
+ float update_sample_rate = 1;
767
+ }
768
+ }
769
+
770
+ message DynamicBrainUpdateConfig {
771
+ bool use_aggressive_prompt = 1 [deprecated = true];
772
+ }
773
+
774
+ message BrainUpdateStrategy {
775
+ oneof strategy {
776
+ google.protobuf.Empty executor_forced = 2;
777
+ ForcedBrainUpdateConfig invocation_forced = 3;
778
+ DynamicBrainUpdateConfig dynamic_update = 6;
779
+ google.protobuf.Empty executor_forced_and_with_discretion = 5;
780
+ }
781
+
782
+ reserved 4;
783
+ }
784
+
785
+ message BrainConfig {
786
+ codeium_common_pb.Model brain_model_deprecated = 2 [deprecated = true];
787
+ string brain_model_uid = 14;
788
+ BrainFilterStrategy filter_strategy = 5;
789
+ BrainUpdateStrategy update_strategy = 6;
790
+ string additional_ephemeral_prompt = 11;
791
+
792
+ oneof _enabled {
793
+ bool enabled = 1;
794
+ }
795
+
796
+ oneof _use_main_model_as_brain_model {
797
+ bool use_main_model_as_brain_model = 13;
798
+ }
799
+
800
+ oneof _force_no_explanation {
801
+ bool force_no_explanation = 4;
802
+ }
803
+
804
+ oneof _use_replace_content_for_updates {
805
+ bool use_replace_content_for_updates = 7;
806
+ }
807
+
808
+ oneof _condense_trajectory_messages {
809
+ bool condense_trajectory_messages = 8;
810
+ }
811
+
812
+ oneof _recent_update_tool_threshold {
813
+ uint32 recent_update_tool_threshold = 9;
814
+ }
815
+
816
+ oneof _stale_update_tool_threshold {
817
+ uint32 stale_update_tool_threshold = 10;
818
+ }
819
+
820
+ oneof _use_rules_in_subagent {
821
+ bool use_rules_in_subagent = 12;
822
+ }
823
+
824
+ reserved 3;
825
+ }
826
+
827
+ message ParallelRolloutConfig {
828
+ int32 num_parallel_rollouts = 1;
829
+ uint32 max_invocations_per_rollout = 2;
830
+ codeium_common_pb.Model guide_model_deprecated = 3 [deprecated = true];
831
+ string guide_model_uid = 6;
832
+ int32 max_guide_invocations = 4;
833
+ bool force_bad_rollout = 5;
834
+ }
835
+
836
+ message CascadeHooks {
837
+ repeated CascadeHook hooks = 1;
838
+ }
839
+
840
+ message CascadeConfig {
841
+ CascadePlannerConfig planner_config = 1;
842
+ CheckpointConfig checkpoint_config = 2;
843
+ CascadeExecutorConfig executor_config = 3;
844
+ TrajectoryConversionConfig trajectory_conversion_config = 4;
845
+ MemoryConfig memory_config = 5;
846
+ BrainConfig brain_config = 7;
847
+ ParallelRolloutConfig parallel_rollout_config = 8;
848
+ repeated CascadeHook hooks = 9;
849
+
850
+ oneof _apply_model_default_override {
851
+ bool apply_model_default_override = 6;
852
+ }
853
+ }
854
+
855
+ message TrajectoryConversionConfig {
856
+ repeated CortexStepType disabled_step_types = 4;
857
+
858
+ oneof _use_tool_format {
859
+ bool use_tool_format = 1;
860
+ }
861
+
862
+ oneof _include_input_step {
863
+ bool include_input_step = 2;
864
+ }
865
+
866
+ oneof _group_tools_with_planner_response {
867
+ bool group_tools_with_planner_response = 3;
868
+ }
869
+
870
+ oneof _tool_call_footer {
871
+ string tool_call_footer = 5;
872
+ }
873
+ }
874
+
875
+ message CascadeConversationalPlannerConfig {
876
+ codeium_common_pb.ConversationalPlannerMode planner_mode = 4;
877
+ string cluster_path = 3;
878
+
879
+ oneof _use_clusters {
880
+ bool use_clusters = 2;
881
+ }
882
+
883
+ oneof _eval_mode {
884
+ bool eval_mode = 5;
885
+ }
886
+
887
+ oneof _code_research_section_content {
888
+ string code_research_section_content = 6;
889
+ }
890
+
891
+ oneof _test_section_content {
892
+ string test_section_content = 8 [deprecated = true];
893
+ }
894
+
895
+ oneof _test_section {
896
+ SectionOverrideConfig test_section = 9;
897
+ }
898
+
899
+ oneof _tool_calling_section {
900
+ SectionOverrideConfig tool_calling_section = 10;
901
+ }
902
+
903
+ oneof _code_changes_section {
904
+ SectionOverrideConfig code_changes_section = 11;
905
+ }
906
+
907
+ oneof _additional_instructions_section {
908
+ SectionOverrideConfig additional_instructions_section = 12;
909
+ }
910
+
911
+ oneof _communication_section {
912
+ SectionOverrideConfig communication_section = 13;
913
+ }
914
+
915
+ reserved 1, 14;
916
+
917
+ reserved "read_only", "is_trusted";
918
+ }
919
+
920
+ message SectionOverrideConfig {
921
+ oneof _mode {
922
+ SectionOverrideMode mode = 1;
923
+ }
924
+
925
+ oneof _content {
926
+ string content = 2;
927
+ }
928
+ }
929
+
930
+ message PromptOverrideConfig {
931
+ map<string, string> section_overrides = 1;
932
+ repeated string additional_instructions = 2;
933
+ }
934
+
935
+ message CascadeAgenticPlannerManagerConfig {
936
+ codeium_common_pb.Model model_deprecated = 2 [deprecated = true];
937
+ string model_uid = 5;
938
+
939
+ oneof _enabled {
940
+ bool enabled = 1;
941
+ }
942
+
943
+ oneof _condense_messages {
944
+ bool condense_messages = 3;
945
+ }
946
+
947
+ oneof _send_only_user_messages {
948
+ bool send_only_user_messages = 4;
949
+ }
950
+ }
951
+
952
+ message CascadeAgenticPlannerApplierConfig {
953
+ codeium_common_pb.Model model_deprecated = 2 [deprecated = true];
954
+ string model_uid = 5;
955
+ int32 num_rollouts = 3;
956
+ codeium_common_pb.Model judge_model_deprecated = 4 [deprecated = true];
957
+ string judge_model_uid = 6;
958
+
959
+ oneof _enabled {
960
+ bool enabled = 1;
961
+ }
962
+ }
963
+
964
+ message CascadeAgenticPlannerConfig {
965
+ CascadeAgentToolSet tool_set = 5;
966
+ AgenticMixin mixin = 6;
967
+
968
+ oneof _enable_feedback_loop {
969
+ bool enable_feedback_loop = 1;
970
+ }
971
+
972
+ oneof _eval_mode {
973
+ bool eval_mode = 2;
974
+ }
975
+
976
+ oneof _manager_config {
977
+ CascadeAgenticPlannerManagerConfig manager_config = 3;
978
+ }
979
+
980
+ oneof _applier_config {
981
+ CascadeAgenticPlannerApplierConfig applier_config = 4;
982
+ }
983
+ }
984
+
985
+ message CascadeResearchPlannerConfig {
986
+ string cluster_path = 3;
987
+
988
+ oneof _add_reference_nodes {
989
+ bool add_reference_nodes = 1;
990
+ }
991
+
992
+ oneof _use_clusters {
993
+ bool use_clusters = 2;
994
+ }
995
+ }
996
+
997
+ message MqueryToolConfig {
998
+ codeium_common_pb.MQueryConfig m_query_config = 1;
999
+ codeium_common_pb.Model m_query_model = 2;
1000
+ uint32 max_tokens_per_m_query = 3;
1001
+ int32 max_lines_per_snippet = 5;
1002
+
1003
+ oneof _num_items_full_source {
1004
+ int32 num_items_full_source = 4;
1005
+ }
1006
+
1007
+ oneof _enable_search_in_file_tool {
1008
+ bool enable_search_in_file_tool = 6;
1009
+ }
1010
+
1011
+ oneof _allow_access_gitignore {
1012
+ bool allow_access_gitignore = 7;
1013
+ }
1014
+
1015
+ oneof _disable_semantic_codebase_search {
1016
+ bool disable_semantic_codebase_search = 8;
1017
+ }
1018
+ }
1019
+
1020
+ message GrepToolConfig {
1021
+ uint32 max_grep_results = 1 [deprecated = true];
1022
+ uint32 num_full_source_ccis = 3 [deprecated = true];
1023
+ uint32 max_bytes_per_cci = 4 [deprecated = true];
1024
+ EnterpriseToolConfig enterprise_config = 5;
1025
+
1026
+ oneof _include_cci_in_result {
1027
+ bool include_cci_in_result = 2 [deprecated = true];
1028
+ }
1029
+
1030
+ oneof _allow_access_gitignore {
1031
+ bool allow_access_gitignore = 6;
1032
+ }
1033
+ }
1034
+
1035
+ message GrepV2ToolConfig {
1036
+ EnterpriseToolConfig enterprise_config = 1;
1037
+
1038
+ oneof _allow_access_gitignore {
1039
+ bool allow_access_gitignore = 2;
1040
+ }
1041
+ }
1042
+
1043
+ message FindToolConfig {
1044
+ uint32 max_find_results = 1;
1045
+ string fd_path = 2;
1046
+ }
1047
+
1048
+ message ClusterQueryToolConfig {
1049
+ uint32 max_cluster_query_results = 1;
1050
+ }
1051
+
1052
+ message InspectClusterToolConfig {
1053
+ uint32 max_tokens_per_inspect_cluster = 1;
1054
+ }
1055
+
1056
+ message AutoCommandConfig {
1057
+ repeated string user_allowlist = 2;
1058
+ repeated string user_denylist = 3;
1059
+ repeated string system_allowlist = 4;
1060
+ repeated string system_denylist = 5;
1061
+ repeated string system_nooplist = 7;
1062
+ codeium_common_pb.CascadeCommandsAutoExecution auto_execution_policy = 6 [deprecated = true];
1063
+ codeium_common_pb.CascadeCommandsAutoExecution max_auto_execution_level = 8;
1064
+ codeium_common_pb.CascadeCommandsAutoExecution workflow_auto_execution_policy = 9;
1065
+
1066
+ oneof _enable_model_auto_run {
1067
+ bool enable_model_auto_run = 1 [deprecated = true];
1068
+ }
1069
+ }
1070
+
1071
+ message AutoWebRequestConfig {
1072
+ repeated string allowlist = 1;
1073
+ codeium_common_pb.CascadeWebRequestsAutoExecution auto_execution_policy = 2;
1074
+ }
1075
+
1076
+ message ListDirToolConfig {
1077
+ EnterpriseToolConfig enterprise_config = 1;
1078
+ }
1079
+
1080
+ message RunCommandToolConfig {
1081
+ uint32 max_chars_command_stdout = 1;
1082
+ AutoCommandConfig auto_command_config = 3;
1083
+ string shell_name = 5;
1084
+ string shell_path = 6;
1085
+ uint32 max_timeout_ms = 7;
1086
+ EnterpriseToolConfig enterprise_config = 9;
1087
+ string shell_integration_failure_reason = 11;
1088
+
1089
+ oneof _force_disable {
1090
+ bool force_disable = 2;
1091
+ }
1092
+
1093
+ oneof _enable_ide_terminal_execution {
1094
+ bool enable_ide_terminal_execution = 4;
1095
+ }
1096
+
1097
+ oneof _enable_midterm_output_processor {
1098
+ bool enable_midterm_output_processor = 8 [deprecated = true];
1099
+ }
1100
+
1101
+ oneof _use_bash_v2 {
1102
+ bool use_bash_v2 = 10;
1103
+ }
1104
+ }
1105
+
1106
+ message KnowledgeBaseSearchToolConfig {
1107
+ uint32 max_tokens_per_knowledge_base_search = 1;
1108
+
1109
+ oneof _prompt_fraction {
1110
+ double prompt_fraction = 2;
1111
+ }
1112
+ }
1113
+
1114
+ message FastApplyFallbackConfig {
1115
+ bool enabled = 1;
1116
+ uint32 prompt_unchanged_threshold = 2;
1117
+ uint32 content_view_radius_lines = 3;
1118
+ uint32 content_edit_radius_lines = 4;
1119
+ }
1120
+
1121
+ message ReplaceContentToolConfig {
1122
+ float max_fuzzy_edit_distance_fraction = 1;
1123
+ bool allow_partial_replacement_success = 2;
1124
+ uint32 view_file_recency_max_distance = 3;
1125
+ bool enable_fuzzy_sandwich_match = 4;
1126
+ FastApplyFallbackConfig fast_apply_fallback_config = 5;
1127
+ ReplaceToolVariant tool_variant = 6;
1128
+ SectionOverrideConfig override_description = 7;
1129
+
1130
+ oneof _show_triggered_memories {
1131
+ bool show_triggered_memories = 8;
1132
+ }
1133
+
1134
+ oneof _disable_allow_multiple {
1135
+ bool disable_allow_multiple = 9;
1136
+ }
1137
+ }
1138
+
1139
+ message CodeToolConfig {
1140
+ repeated string disable_extensions = 1;
1141
+ ReplaceContentToolConfig replace_content_tool_config = 4;
1142
+ AutoFixLintsConfig auto_fix_lints_config = 5 [deprecated = true];
1143
+ EnterpriseToolConfig enterprise_config = 7;
1144
+ repeated string file_allowlist = 12;
1145
+ repeated string dir_allowlist = 17;
1146
+ repeated string plan_dirs = 19;
1147
+
1148
+ oneof _apply_edits {
1149
+ bool apply_edits = 2;
1150
+ }
1151
+
1152
+ oneof _use_replace_content_edit_tool {
1153
+ bool use_replace_content_edit_tool = 3;
1154
+ }
1155
+
1156
+ oneof _allow_edit_gitignore {
1157
+ bool allow_edit_gitignore = 6;
1158
+ }
1159
+
1160
+ oneof _override_allow_action_on_unsaved_file {
1161
+ bool override_allow_action_on_unsaved_file = 8;
1162
+ }
1163
+
1164
+ oneof _skip_replace_content_validation {
1165
+ bool skip_replace_content_validation = 9;
1166
+ }
1167
+
1168
+ oneof _use_replace_content_propose_code {
1169
+ bool use_replace_content_propose_code = 10;
1170
+ }
1171
+
1172
+ oneof _only_show_incremental_diff_zone {
1173
+ bool only_show_incremental_diff_zone = 11;
1174
+ }
1175
+
1176
+ oneof _run_proposal_extension_verifier {
1177
+ bool run_proposal_extension_verifier = 14;
1178
+ }
1179
+
1180
+ oneof _skip_await_lint_errors {
1181
+ bool skip_await_lint_errors = 15;
1182
+ }
1183
+
1184
+ oneof _allow_edit_rules_files {
1185
+ bool allow_edit_rules_files = 18;
1186
+ }
1187
+
1188
+ reserved 13, 16;
1189
+ }
1190
+
1191
+ message IntentToolConfig {
1192
+ codeium_common_pb.Model intent_model_deprecated = 1 [deprecated = true];
1193
+ string intent_model_uid = 3;
1194
+ uint32 max_context_tokens = 2;
1195
+ }
1196
+
1197
+ message ViewFileToolConfig {
1198
+ uint32 max_tokens_per_outline = 1;
1199
+ float max_doc_lines_fraction = 2;
1200
+ uint32 max_total_outline_bytes = 9;
1201
+ uint32 max_bytes_per_outline_item = 11;
1202
+ EnterpriseToolConfig enterprise_config = 12;
1203
+
1204
+ oneof _allow_doc_outline {
1205
+ bool allow_doc_outline = 4;
1206
+ }
1207
+
1208
+ oneof _use_line_numbers_for_raw {
1209
+ bool use_line_numbers_for_raw = 5;
1210
+ }
1211
+
1212
+ oneof _use_prompt_prefix {
1213
+ bool use_prompt_prefix = 6;
1214
+ }
1215
+
1216
+ oneof _allow_view_gitignore {
1217
+ bool allow_view_gitignore = 7;
1218
+ }
1219
+
1220
+ oneof _split_outline_tool {
1221
+ bool split_outline_tool = 8 [deprecated = true];
1222
+ }
1223
+
1224
+ oneof _show_full_file_bytes {
1225
+ uint32 show_full_file_bytes = 10;
1226
+ }
1227
+
1228
+ oneof _show_triggered_memories {
1229
+ bool show_triggered_memories = 13;
1230
+ }
1231
+
1232
+ oneof _max_lines_per_view {
1233
+ uint32 max_lines_per_view = 14;
1234
+ }
1235
+
1236
+ oneof _use_view_file_v2 {
1237
+ bool use_view_file_v2 = 15;
1238
+ }
1239
+
1240
+ reserved 3, 16;
1241
+
1242
+ reserved "use_doc_outline", "disable_read";
1243
+ }
1244
+
1245
+ message SuggestedResponseConfig {
1246
+ oneof _force_disable {
1247
+ bool force_disable = 1;
1248
+ }
1249
+ }
1250
+
1251
+ message SearchWebToolConfig {
1252
+ oneof _force_disable {
1253
+ bool force_disable = 1;
1254
+ }
1255
+
1256
+ oneof _third_party_config {
1257
+ codeium_common_pb.ThirdPartyWebSearchConfig third_party_config = 2;
1258
+ }
1259
+ }
1260
+
1261
+ message ReadUrlContentToolConfig {
1262
+ AutoWebRequestConfig auto_web_request_config = 2;
1263
+
1264
+ oneof _force_disable {
1265
+ bool force_disable = 1;
1266
+ }
1267
+ }
1268
+
1269
+ message MemoryToolConfig {
1270
+ oneof _force_disable {
1271
+ bool force_disable = 1;
1272
+ }
1273
+
1274
+ oneof _disable_auto_generate_memories {
1275
+ bool disable_auto_generate_memories = 2;
1276
+ }
1277
+
1278
+ oneof _disable_write {
1279
+ bool disable_write = 3;
1280
+ }
1281
+ }
1282
+
1283
+ message McpToolConfig {
1284
+ uint32 max_output_bytes = 2;
1285
+
1286
+ oneof _force_disable {
1287
+ bool force_disable = 1;
1288
+ }
1289
+ }
1290
+
1291
+ message CustomRecipeConfig {
1292
+ codeium_common_pb.Model subagent_model_deprecated = 2 [deprecated = true];
1293
+ string subagent_model_uid = 3;
1294
+
1295
+ oneof _force_disable {
1296
+ bool force_disable = 1;
1297
+ }
1298
+ }
1299
+
1300
+ message AutoFixLintsConfig {
1301
+ oneof _enabled {
1302
+ bool enabled = 1;
1303
+ }
1304
+
1305
+ oneof _notifying_prompt {
1306
+ string notifying_prompt = 2;
1307
+ }
1308
+ }
1309
+
1310
+ message ProxyWebServerToolConfig {
1311
+ oneof _force_disable {
1312
+ bool force_disable = 1;
1313
+ }
1314
+ }
1315
+
1316
+ message DeployWebAppToolConfig {
1317
+ oneof _enabled {
1318
+ bool enabled = 1;
1319
+ }
1320
+ }
1321
+
1322
+ message TrajectorySearchToolConfig {
1323
+ uint32 max_scored_chunks = 4;
1324
+
1325
+ oneof _force_disable {
1326
+ bool force_disable = 1;
1327
+ }
1328
+
1329
+ oneof _conversations_enabled {
1330
+ bool conversations_enabled = 2;
1331
+ }
1332
+
1333
+ oneof _user_activities_enabled {
1334
+ bool user_activities_enabled = 3;
1335
+ }
1336
+ }
1337
+
1338
+ message EnterpriseToolConfig {
1339
+ repeated string custom_workspace = 2;
1340
+
1341
+ oneof _enforce_workspace_validation {
1342
+ bool enforce_workspace_validation = 1;
1343
+ }
1344
+ }
1345
+
1346
+ message ViewCodeItemToolConfig {
1347
+ oneof _max_num_items {
1348
+ uint32 max_num_items = 1;
1349
+ }
1350
+
1351
+ oneof _max_bytes_per_item {
1352
+ uint32 max_bytes_per_item = 2;
1353
+ }
1354
+
1355
+ oneof _allow_access_gitignore {
1356
+ bool allow_access_gitignore = 3;
1357
+ }
1358
+ }
1359
+
1360
+ message CommandStatusToolConfig {
1361
+ oneof _use_delta {
1362
+ bool use_delta = 1;
1363
+ }
1364
+ }
1365
+
1366
+ message ReadKnowledgeBaseItemToolConfig {
1367
+ repeated codeium_common_pb.KnowledgeBaseItem knowledge_base_items = 2;
1368
+
1369
+ oneof _enabled {
1370
+ bool enabled = 1;
1371
+ }
1372
+ }
1373
+
1374
+ message ToolDescriptionOverrideMap {
1375
+ map<string, SectionOverrideConfig> descriptions = 1;
1376
+ }
1377
+
1378
+ message AutoCascadeBroadcastToolConfig {
1379
+ oneof _force_disable {
1380
+ bool force_disable = 1;
1381
+ }
1382
+ }
1383
+
1384
+ message NotebookToolConfig {
1385
+ oneof _enabled {
1386
+ bool enabled = 1;
1387
+ }
1388
+ }
1389
+
1390
+ message FindCodeContextToolConfig {
1391
+ oneof _force_disable {
1392
+ bool force_disable = 1;
1393
+ }
1394
+ }
1395
+
1396
+ message SmartFriendToolConfig {
1397
+ string smart_friend_model_uid = 2;
1398
+
1399
+ reserved 1;
1400
+ }
1401
+
1402
+ message AskUserQuestionToolConfig {
1403
+ oneof _enabled {
1404
+ bool enabled = 1;
1405
+ }
1406
+ }
1407
+
1408
+ message ExitPlanModeToolConfig {
1409
+ oneof _enabled {
1410
+ bool enabled = 1;
1411
+ }
1412
+ }
1413
+
1414
+ message CascadeToolConfig {
1415
+ MqueryToolConfig mquery = 1;
1416
+ CodeToolConfig code = 2;
1417
+ IntentToolConfig intent = 3;
1418
+ GrepToolConfig grep = 4;
1419
+ FindToolConfig find = 5;
1420
+ ClusterQueryToolConfig cluster_query = 6;
1421
+ InspectClusterToolConfig inspect_cluster = 7;
1422
+ RunCommandToolConfig run_command = 8;
1423
+ KnowledgeBaseSearchToolConfig knowledge_base_search = 9;
1424
+ ViewFileToolConfig view_file = 10;
1425
+ SuggestedResponseConfig suggested_response = 11;
1426
+ SearchWebToolConfig search_web = 13;
1427
+ ReadUrlContentToolConfig read_url_content = 37;
1428
+ MemoryToolConfig memory = 14;
1429
+ CustomRecipeConfig custom_recipe = 15;
1430
+ McpToolConfig mcp = 16;
1431
+ ProxyWebServerToolConfig proxy_web_server = 17;
1432
+ DeployWebAppToolConfig deploy_web_app = 18;
1433
+ ListDirToolConfig list_dir = 19;
1434
+ ViewCodeItemToolConfig view_code_item = 20;
1435
+ ReadKnowledgeBaseItemToolConfig read_knowledge_base_item = 21;
1436
+ CommandStatusToolConfig command_status = 23;
1437
+ FindAllReferencesConfig find_all_references = 24;
1438
+ RunExtensionCodeConfig run_extension_code = 26;
1439
+ AddAnnotationConfig add_annotation = 27;
1440
+ TrajectorySearchToolConfig trajectory_search = 28;
1441
+ GrepV2ToolConfig grep_v2 = 33;
1442
+ ToolDescriptionOverrideMap description_override_map = 22;
1443
+ AutoCascadeBroadcastToolConfig auto_cascade_broadcast = 30;
1444
+ NotebookToolConfig notebook = 31;
1445
+ FindCodeContextToolConfig find_code_context = 34;
1446
+ SmartFriendToolConfig smart_friend = 35;
1447
+ ExitPlanModeToolConfig exit_plan_mode = 38;
1448
+ AskUserQuestionToolConfig ask_user_question = 39;
1449
+ repeated string tool_allowlist = 32;
1450
+
1451
+ oneof _disable_simple_research_tools {
1452
+ bool disable_simple_research_tools = 29;
1453
+ }
1454
+
1455
+ reserved 12, 25, 36;
1456
+
1457
+ reserved "ReadUrlContent", "windsurf_browser", "do_testing";
1458
+ }
1459
+
1460
+ message CascadePassivePlannerConfig {
1461
+ oneof _read_only {
1462
+ bool read_only = 1;
1463
+ }
1464
+
1465
+ oneof _request_source {
1466
+ PassiveCoderRequestSource request_source = 2;
1467
+ }
1468
+ }
1469
+
1470
+ message CascadeSummarizerConfig {
1471
+ option deprecated = true;
1472
+ bool enabled = 1;
1473
+ }
1474
+
1475
+ message CascadeAgentV2PlannerConfig {
1476
+ option deprecated = true;
1477
+ CascadeSummarizerConfig summarizer_config = 1;
1478
+ }
1479
+
1480
+ message CascadeConversationalV2PlannerConfig {
1481
+ option deprecated = true;
1482
+ codeium_common_pb.ConversationalPlannerMode planner_mode = 1;
1483
+ string cluster_path = 3;
1484
+
1485
+ oneof _use_clusters {
1486
+ bool use_clusters = 2;
1487
+ }
1488
+
1489
+ oneof _eval_mode {
1490
+ bool eval_mode = 4;
1491
+ }
1492
+ }
1493
+
1494
+ message CascadeCodemapPlannerConfig {
1495
+ reserved 1;
1496
+
1497
+ reserved "is_trusted";
1498
+ }
1499
+
1500
+ message CascadeLifeguardPlannerConfig {
1501
+ string agent_version = 1;
1502
+ }
1503
+
1504
+ message CascadePlannerConfig {
1505
+ CascadeToolConfig tool_config = 13;
1506
+ codeium_common_pb.Model plan_model_deprecated = 1 [deprecated = true];
1507
+ codeium_common_pb.ModelOrAlias requested_model_deprecated = 15 [deprecated = true];
1508
+ string plan_model_uid = 34;
1509
+ string requested_model_uid = 35;
1510
+ uint32 max_iterations = 4;
1511
+ uint32 max_step_parse_retries = 5;
1512
+ uint32 max_output_tokens = 6;
1513
+ int32 truncation_threshold_tokens = 14;
1514
+ EphemeralMessagesConfig ephemeral_messages_config = 21;
1515
+ bool run_as_proposer = 23;
1516
+ bool show_all_errors = 25;
1517
+ bool is_vibe_and_replace = 28;
1518
+ PromptOverrideConfig prompt_override = 30;
1519
+ repeated string retry_on_response_content = 32;
1520
+
1521
+ oneof planner_type_config {
1522
+ CascadeConversationalPlannerConfig conversational = 2;
1523
+ CascadeConversationalV2PlannerConfig conversational_v2 = 27 [deprecated = true];
1524
+ CascadeAgenticPlannerConfig agentic = 3;
1525
+ CascadeResearchPlannerConfig research = 10;
1526
+ CascadePassivePlannerConfig passive = 22;
1527
+ CascadeAgentV2PlannerConfig agent_v2 = 24 [deprecated = true];
1528
+ CascadeCodemapPlannerConfig codemap = 29;
1529
+ CascadeLifeguardPlannerConfig lifeguard = 33;
1530
+ }
1531
+
1532
+ oneof _no_tool_explanation {
1533
+ bool no_tool_explanation = 7;
1534
+ }
1535
+
1536
+ oneof _allow_pending_steps {
1537
+ bool allow_pending_steps = 11;
1538
+ }
1539
+
1540
+ oneof _forbid_tool_use_on_last_retry {
1541
+ bool forbid_tool_use_on_last_retry = 12;
1542
+ }
1543
+
1544
+ oneof _include_ephemeral_message {
1545
+ bool include_ephemeral_message = 20 [deprecated = true];
1546
+ }
1547
+
1548
+ reserved 31, 8, 9, 17, 19, 26;
1549
+
1550
+ reserved "num_parallel_rollouts", "judge_model", "use_clusters", "add_reference_nodes", "vibecoder";
1551
+ }
1552
+
1553
+ message BaseTrajectoryIdentifier {
1554
+ oneof identifier {
1555
+ string cascade_id = 1;
1556
+ string implicit_trajectory_file_uri = 2;
1557
+ bool last_active_doc = 3;
1558
+ CortexTrajectory trajectory = 4;
1559
+ }
1560
+ }
1561
+
1562
+ message DeploymentInteractionPayload {
1563
+ string subdomain = 1;
1564
+ }
1565
+
1566
+ message CascadeDeployInteraction {
1567
+ bool cancel = 1;
1568
+ codeium_common_pb.DeployTarget deploy_target = 2;
1569
+ string subdomain = 3;
1570
+ }
1571
+
1572
+ message CascadeRunCommandInteraction {
1573
+ bool confirm = 1 [deprecated = true];
1574
+ RunCommandAction action = 4;
1575
+ string proposed_command_line = 2;
1576
+ string submitted_command_line = 3;
1577
+ }
1578
+
1579
+ message CascadeReadUrlContentInteraction {
1580
+ ReadUrlContentAction action = 1;
1581
+ string url = 2;
1582
+ string origin = 3;
1583
+ }
1584
+
1585
+ message CascadeRunExtensionCodeInteraction {
1586
+ bool confirm = 1;
1587
+ }
1588
+
1589
+ message CascadeTaskResolutionInteraction {
1590
+ bool confirm = 1;
1591
+ TaskResolution resolution = 2;
1592
+ }
1593
+
1594
+ message CascadeUpsertCodemapInteraction {
1595
+ bool confirm = 1;
1596
+ }
1597
+
1598
+ message CascadeAskUserQuestionInteraction {
1599
+ CortexStepAskUserQuestion.Response response = 1;
1600
+ }
1601
+
1602
+ message CascadeDeployInteractionSpec {
1603
+ repeated codeium_common_pb.DeployTarget deploy_target_options = 1;
1604
+ }
1605
+
1606
+ message CascadeRunCommandInteractionSpec {
1607
+
1608
+ }
1609
+
1610
+ message CascadeReadUrlContentInteractionSpec {
1611
+ string url = 1;
1612
+ string origin = 2;
1613
+ }
1614
+
1615
+ message CascadeRunExtensionCodeInteractionSpec {
1616
+
1617
+ }
1618
+
1619
+ message CascadeTaskResolutionInteractionSpec {
1620
+ string title = 1;
1621
+ string description = 2;
1622
+ }
1623
+
1624
+ message CascadeUpsertCodemapInteractionSpec {
1625
+
1626
+ }
1627
+
1628
+ message CascadeAskUserQuestionInteractionSpec {
1629
+
1630
+ }
1631
+
1632
+ message RequestedInteraction {
1633
+ oneof interaction {
1634
+ CascadeDeployInteractionSpec deploy = 2;
1635
+ CascadeRunCommandInteractionSpec run_command = 3;
1636
+ CascadeRunExtensionCodeInteractionSpec run_extension_code = 5;
1637
+ CascadeTaskResolutionInteractionSpec resolve_task = 11;
1638
+ CascadeUpsertCodemapInteractionSpec upsert_codemap = 13;
1639
+ CascadeReadUrlContentInteractionSpec read_url_content = 14;
1640
+ CascadeAskUserQuestionInteractionSpec ask_user_question = 15;
1641
+ }
1642
+
1643
+ reserved 1, 6, 4, 7, 8, 9, 10, 12;
1644
+
1645
+ reserved "claude_code_tool_permission";
1646
+ }
1647
+
1648
+ message CascadeUserInteraction {
1649
+ string trajectory_id = 1;
1650
+ uint32 step_index = 2;
1651
+
1652
+ oneof interaction {
1653
+ CascadeDeployInteraction deploy = 4;
1654
+ CascadeRunCommandInteraction run_command = 5;
1655
+ CascadeRunExtensionCodeInteraction run_extension_code = 7;
1656
+ CascadeTaskResolutionInteraction resolve_task = 12;
1657
+ CascadeUpsertCodemapInteraction upsert_codemap = 14;
1658
+ CascadeReadUrlContentInteraction read_url_content = 15;
1659
+ CascadeAskUserQuestionInteraction ask_user_question = 16;
1660
+ }
1661
+
1662
+ reserved 3, 6, 8, 9, 10, 11, 13;
1663
+
1664
+ reserved "open_browser_url", "execute_browser_javascript", "capture_browser_screenshot", "click_browser_pixel", "query_browser_page_for_pixel", "claude_code_tool_permission";
1665
+ }
1666
+
1667
+ message CortexStepDummy {
1668
+ uint32 input = 1;
1669
+ uint32 output = 2;
1670
+ }
1671
+
1672
+ message CortexStepBlocking {
1673
+
1674
+ }
1675
+
1676
+ message CortexStepFinish {
1677
+ map<string, string> output = 1;
1678
+ string output_string = 2;
1679
+ }
1680
+
1681
+ message CortexStepPlanInput {
1682
+ PlanInput plan_input = 1;
1683
+ bool user_provided = 2;
1684
+ }
1685
+
1686
+ message CortexStepCheckpoint {
1687
+ uint32 checkpoint_index = 1;
1688
+ bool intent_only = 9;
1689
+ uint32 included_step_index_start = 11;
1690
+ uint32 included_step_index_end = 12;
1691
+ string conversation_title = 10;
1692
+ string user_intent = 4;
1693
+ string session_summary = 5;
1694
+ string code_change_summary = 6;
1695
+ string plan_snapshot = 13;
1696
+ map<string, diff_action_pb.DiffList> edited_file_map = 7 [deprecated = true];
1697
+ repeated uint32 included_step_indices = 3 [deprecated = true];
1698
+ string memory_summary = 8 [deprecated = true];
1699
+ string user_intent_request_id = 14;
1700
+ string session_summary_request_id = 15;
1701
+ string code_change_summary_request_id = 16;
1702
+ }
1703
+
1704
+ message CheckpointConfig {
1705
+ uint32 token_threshold = 1;
1706
+ float max_overhead_ratio = 3;
1707
+ uint32 moving_window_size = 4;
1708
+ uint32 max_token_limit = 5;
1709
+ uint32 max_output_tokens = 11;
1710
+ uint32 max_plan_search_steps = 12;
1711
+ codeium_common_pb.Model checkpoint_model_deprecated = 7 [deprecated = true];
1712
+ string checkpoint_model_uid = 14;
1713
+ codeium_common_pb.Model checkpoint_model_fallback_deprecated = 13 [deprecated = true];
1714
+ string checkpoint_model_fallback_uid = 15;
1715
+
1716
+ oneof _enabled {
1717
+ bool enabled = 6;
1718
+ }
1719
+
1720
+ reserved 8, 9, 10;
1721
+
1722
+ reserved "use_subagent_checkpointer", "type", "condense_input_trajectory";
1723
+ }
1724
+
1725
+ message CortexStepMquery {
1726
+ PlanInput input = 1;
1727
+ repeated context_module_pb.CciWithSubrangeWithRetrievalMetadata ccis = 2;
1728
+ uint32 num_tokens_processed = 3;
1729
+ uint32 num_items_scored = 4;
1730
+ SemanticCodebaseSearchType search_type = 5;
1731
+ }
1732
+
1733
+ message ReplacementChunkInfo {
1734
+ ReplacementChunk original_chunk = 1;
1735
+ string fuzzy_match = 2;
1736
+ int32 edit_distance = 3;
1737
+ float rel_edit_distance = 4;
1738
+ uint32 num_matches = 5;
1739
+ bool is_non_exact = 7;
1740
+ bool boundary_lines_match = 8;
1741
+ bool error = 6;
1742
+ string error_str = 9;
1743
+ bool fast_apply_fixable = 10;
1744
+ }
1745
+
1746
+ message FastApplyFallbackInfo {
1747
+ bool fallback_attempted = 1;
1748
+ string fallback_error = 2;
1749
+ ActionResult fast_apply_result = 3;
1750
+ CodeHeuristicFailure heuristic_failure = 4;
1751
+ string fast_apply_prompt = 5;
1752
+ uint32 num_fast_apply_edits_masked = 6;
1753
+ bool fallback_match_had_no_diff = 7;
1754
+ }
1755
+
1756
+ message CortexStepCodeAction {
1757
+ ActionSpec action_spec = 1;
1758
+ ActionResult action_result = 2;
1759
+ bool use_fast_apply = 4;
1760
+ AcknowledgementType acknowledgement_type = 5;
1761
+ bool blocking = 6;
1762
+ CodeHeuristicFailure heuristic_failure = 7;
1763
+ string code_instruction = 8;
1764
+ string markdown_language = 9;
1765
+ bool dry_run = 10;
1766
+ repeated codeium_common_pb.CodeDiagnostic lint_errors = 11;
1767
+ repeated codeium_common_pb.CodeDiagnostic persistent_lint_errors = 12;
1768
+ repeated ReplacementChunkInfo replacement_infos = 13;
1769
+ repeated string lint_error_ids_aiming_to_fix = 14;
1770
+ FastApplyFallbackInfo fast_apply_fallback_info = 15;
1771
+ bool target_file_has_carriage_returns = 16;
1772
+ bool target_file_has_all_carriage_returns = 17;
1773
+ repeated CortexStepCompileDiagnostic introduced_errors = 18;
1774
+ string triggered_memories = 19;
1775
+ BrainEntryDelta brain_delta = 20;
1776
+ CortexTrajectoryType trajectory_type = 21;
1777
+
1778
+ reserved 3;
1779
+
1780
+ reserved "implicit_metadata";
1781
+ }
1782
+
1783
+ message CortexStepProposeCode {
1784
+ ActionSpec action_spec = 1;
1785
+ ActionResult action_result = 2;
1786
+ string code_instruction = 3;
1787
+ string markdown_language = 4;
1788
+ bool blocking = 5;
1789
+ AcknowledgementType acknowledgement_type = 6;
1790
+ }
1791
+
1792
+ message CortexStepGitCommit {
1793
+ PlanInput input = 1;
1794
+ string commit_message = 2;
1795
+ string commit_hash = 3;
1796
+ }
1797
+
1798
+ message CortexStepFindCodeContext {
1799
+ string search_term = 1;
1800
+ repeated InstantContextStep steps = 2;
1801
+ InstantContextResponse response = 3;
1802
+ string workspace_directory_path = 4;
1803
+ string error = 5;
1804
+ }
1805
+
1806
+ message InstantContextResponse {
1807
+ map<string, LineRangeList> range_map = 1;
1808
+ float deprecated_duration_field_2 = 2 [deprecated = true];
1809
+ float duration = 3;
1810
+ map<string, LineRangeList> raw_range_map = 4;
1811
+ InstantContextTiming timing = 5;
1812
+ }
1813
+
1814
+ message InstantContextStep {
1815
+ repeated InstantContextToolCall tool_calls = 1;
1816
+ string thoughts = 2;
1817
+ }
1818
+
1819
+ message InstantContextToolCall {
1820
+ string command_type = 1;
1821
+ string param = 2;
1822
+
1823
+ ExecutionStatus execution_status = 3;
1824
+ enum ExecutionStatus {
1825
+ EXECUTION_STATUS_UNSPECIFIED = 0;
1826
+ EXECUTION_STATUS_PENDING = 1;
1827
+ EXECUTION_STATUS_COMPLETED = 2;
1828
+ EXECUTION_STATUS_ERROR = 3;
1829
+ EXECUTION_STATUS_TIMED_OUT = 4;
1830
+ }
1831
+
1832
+ string error_message = 4;
1833
+ string tool_call_id = 5;
1834
+ float duration_seconds = 6;
1835
+ }
1836
+
1837
+ message InstantContextToolUpdate {
1838
+ string tool_call_id = 1;
1839
+ InstantContextToolCall.ExecutionStatus execution_status = 2;
1840
+ string error_message = 3;
1841
+ float duration_seconds = 4;
1842
+ int32 tool_index = 5;
1843
+ string command_type = 6;
1844
+ }
1845
+
1846
+ message CommandTiming {
1847
+ string label = 1;
1848
+ string command_type = 2;
1849
+ float exec_duration_secs = 3;
1850
+ bool errored = 4;
1851
+ }
1852
+
1853
+ message TurnTiming {
1854
+ float model_latency_secs = 1;
1855
+ float tool_call_parse_duration_secs = 2;
1856
+ float command_build_duration_secs = 3;
1857
+ float tool_exec_duration_secs = 4;
1858
+ repeated CommandTiming commands = 5;
1859
+ }
1860
+
1861
+ message InstantContextTiming {
1862
+ float total_duration_secs = 1;
1863
+ float answer_parse_duration_secs = 2;
1864
+ repeated TurnTiming turns = 3;
1865
+ }
1866
+
1867
+ message LineRangeList {
1868
+ repeated LineRange ranges = 1;
1869
+ }
1870
+
1871
+ message LineRange {
1872
+ int32 start = 1;
1873
+ int32 end = 2;
1874
+ }
1875
+
1876
+ message GrepSearchResult {
1877
+ string relative_path = 1;
1878
+ uint32 line_number = 2;
1879
+ string content = 3;
1880
+ string absolute_path = 4;
1881
+ codeium_common_pb.CodeContextItem cci = 5 [deprecated = true];
1882
+ uint32 match_count = 6;
1883
+ }
1884
+
1885
+ message CortexStepInformPlanner {
1886
+ code_edit.code_edit_pb.CodeChangeWithContext target_code_change = 3;
1887
+ repeated context_module_pb.CciWithSubrangeWithRetrievalMetadata inform_cci_list = 4;
1888
+ }
1889
+
1890
+ message InformPlannerConfig {
1891
+ float cci_ratio = 1;
1892
+ bool randomize = 2;
1893
+ uint32 manual_seed = 3;
1894
+ InformPlannerMode mode = 4;
1895
+ bool is_certain = 5;
1896
+ }
1897
+
1898
+ message DiffBasedCommandEvalConfig {
1899
+ uint32 num_samples_per_commit = 1;
1900
+ }
1901
+
1902
+ message CortexStepGrepSearch {
1903
+ string search_path_uri = 11;
1904
+ string query = 1;
1905
+ bool match_per_line = 8;
1906
+ repeated string includes = 2;
1907
+ bool case_insensitive = 9;
1908
+ bool allow_access_gitignore = 13;
1909
+ bool is_regex = 14;
1910
+ repeated GrepSearchResult results = 4;
1911
+ uint32 total_results = 7;
1912
+ string raw_output = 3;
1913
+ string command_run = 10;
1914
+ bool no_files_searched = 12;
1915
+ bool timed_out = 15;
1916
+ string grep_error = 5 [deprecated = true];
1917
+
1918
+ reserved 6;
1919
+
1920
+ reserved "workspace_path_uri";
1921
+ }
1922
+
1923
+ message CortexStepGrepSearchV2 {
1924
+ string search_path_uri = 1;
1925
+ string pattern = 2;
1926
+ string path = 3;
1927
+ string glob = 4;
1928
+ string output_mode = 5;
1929
+ int32 lines_after = 6;
1930
+ int32 lines_before = 7;
1931
+ int32 lines_both = 8;
1932
+ bool case_insensitive = 10;
1933
+ string type = 11;
1934
+ int32 head_limit = 12;
1935
+ bool multiline = 13;
1936
+ string command_run = 14;
1937
+ string raw_output = 15;
1938
+ bool no_files_searched = 16;
1939
+ bool timed_out = 17;
1940
+
1941
+ reserved 9;
1942
+
1943
+ reserved "show_line_numbers";
1944
+ }
1945
+
1946
+ message CortexStepFind {
1947
+ string search_directory = 10;
1948
+ string pattern = 1;
1949
+ repeated string excludes = 3;
1950
+ FindResultType type = 4;
1951
+ int32 max_depth = 5;
1952
+ repeated string extensions = 12;
1953
+ bool full_path = 13;
1954
+ string truncated_output = 14;
1955
+ uint32 truncated_total_results = 15;
1956
+ uint32 total_results = 7;
1957
+ string raw_output = 11;
1958
+ string command_run = 9;
1959
+ repeated string includes = 2 [deprecated = true];
1960
+ string find_error = 8 [deprecated = true];
1961
+
1962
+ reserved 6;
1963
+
1964
+ reserved "results";
1965
+ }
1966
+
1967
+ message CortexStepExploreResponse {
1968
+ string query_id = 1;
1969
+ string response = 2;
1970
+ }
1971
+
1972
+ message CortexStepReadNotebook {
1973
+ string absolute_path_uri = 1;
1974
+ string content = 2;
1975
+ string raw_content = 3;
1976
+ }
1977
+
1978
+ message CortexStepSmartFriend {
1979
+ string question = 1;
1980
+ string advice = 2;
1981
+ codeium_common_pb.Model model_deprecated = 3 [deprecated = true];
1982
+ string model_uid = 6;
1983
+ string model_name = 4;
1984
+ string smart_friend_request_id = 5;
1985
+ }
1986
+
1987
+ message CortexStepEditNotebook {
1988
+ string absolute_path_uri = 1;
1989
+ uint32 cell_number = 2;
1990
+ string cell_id = 6;
1991
+ string new_source = 3;
1992
+ string cell_type = 4;
1993
+
1994
+ EditMode edit_mode = 5;
1995
+ enum EditMode {
1996
+ EDIT_MODE_UNSPECIFIED = 0;
1997
+ EDIT_MODE_REPLACE = 1;
1998
+ EDIT_MODE_INSERT = 2;
1999
+ EDIT_MODE_DELETE = 3;
2000
+ }
2001
+
2002
+ string original_content = 7;
2003
+ string new_content = 8;
2004
+ AcknowledgementType acknowledgement_type = 9;
2005
+ string triggered_memories = 10;
2006
+ repeated codeium_common_pb.CodeDiagnostic lint_errors = 11;
2007
+ repeated codeium_common_pb.CodeDiagnostic persistent_lint_errors = 12;
2008
+ diff_action_pb.UnifiedDiff cell_diff = 13;
2009
+ }
2010
+
2011
+ message CortexStepViewFile {
2012
+ string absolute_path_uri = 1;
2013
+ uint32 start_line = 2;
2014
+ uint32 end_line = 3;
2015
+ uint32 offset = 11;
2016
+ uint32 limit = 12;
2017
+ bool include_summary_of_other_lines = 7;
2018
+ bool has_line_numbers = 8;
2019
+ uint32 max_tokens = 5;
2020
+ bool async = 6;
2021
+ string content = 4;
2022
+ string raw_content = 9;
2023
+ string triggered_memories = 10;
2024
+ bool is_dir = 13 [deprecated = true];
2025
+ bool has_read_whole_file = 14;
2026
+
2027
+ FileType file_type = 15;
2028
+ enum FileType {
2029
+ FILE_TYPE_UNSPECIFIED = 0;
2030
+ FILE_TYPE_DIRECTORY = 1;
2031
+ FILE_TYPE_IMAGE = 2;
2032
+ }
2033
+
2034
+ TriggerSource trigger_source = 17;
2035
+ enum TriggerSource {
2036
+ TRIGGER_SOURCE_UNSPECIFIED = 0;
2037
+ TRIGGER_SOURCE_VIEWPORT = 1;
2038
+ }
2039
+
2040
+ codeium_common_pb.ImageData image_content = 16;
2041
+ }
2042
+
2043
+ message ListDirectoryResult {
2044
+ string name = 1;
2045
+ bool is_dir = 2;
2046
+ uint32 num_children = 3;
2047
+ uint64 size_bytes = 4;
2048
+ }
2049
+
2050
+ message CortexStepListDirectory {
2051
+ string directory_path_uri = 1;
2052
+ repeated string children = 2 [deprecated = true];
2053
+ repeated ListDirectoryResult results = 3;
2054
+ bool dir_not_found = 4 [deprecated = true];
2055
+ }
2056
+
2057
+ message CortexStepCompileDiagnostic {
2058
+ string message = 1;
2059
+ string path = 2;
2060
+ uint32 line = 3;
2061
+ uint32 column = 4;
2062
+ string symbol = 5;
2063
+ }
2064
+
2065
+ message CortexStepClusterQuery {
2066
+ string query = 1;
2067
+ repeated codeium_common_pb.CodebaseCluster input_clusters = 2;
2068
+ string repo_name = 5;
2069
+ repeated float scores = 3;
2070
+ repeated codeium_common_pb.CodebaseCluster output_clusters = 6;
2071
+
2072
+ reserved 4;
2073
+
2074
+ reserved "ccis";
2075
+ }
2076
+
2077
+ message CortexStepListClusters {
2078
+ repeated codeium_common_pb.CodebaseCluster clusters = 1;
2079
+ string repo_name = 2;
2080
+ }
2081
+
2082
+ message CortexStepCompile {
2083
+ CortexStepCompileTool tool = 1;
2084
+ string input_spec = 2;
2085
+ map<string, string> options = 3;
2086
+ string target = 4;
2087
+ string artifact_path = 5;
2088
+ bool artifact_is_executable = 6;
2089
+ repeated CortexStepCompileDiagnostic errors = 7;
2090
+ repeated CortexStepCompileDiagnostic warnings = 8;
2091
+ }
2092
+
2093
+ message CortexTrajectoryToPromptConfig {
2094
+ float prompt_fraction = 1;
2095
+ }
2096
+
2097
+ message CortexStepUserInput {
2098
+ string query = 1;
2099
+ string user_response = 2;
2100
+ repeated codeium_common_pb.TextOrScopeItem items = 3;
2101
+ context_module_pb.ContextModuleResult active_user_state = 4;
2102
+ repeated codeium_common_pb.ImageData images = 5;
2103
+ }
2104
+
2105
+ message AskUserQuestionOption {
2106
+ string label = 1;
2107
+ string description = 2;
2108
+ }
2109
+
2110
+ message CortexStepAskUserQuestion {
2111
+ Request request = 1;
2112
+ message Request {
2113
+ string question = 1;
2114
+ repeated AskUserQuestionOption options = 2;
2115
+ bool allow_multiple = 3;
2116
+ }
2117
+
2118
+ Response response = 2;
2119
+ message Response {
2120
+ oneof response_type {
2121
+ SelectedOptions selected_options = 1;
2122
+ CortexStepUserInput user_input = 2;
2123
+ }
2124
+ }
2125
+
2126
+ message SelectedOptions {
2127
+ repeated int32 indices = 1;
2128
+ }
2129
+ }
2130
+
2131
+ message CortexStepArenaTrajectoryConverge {
2132
+ string source_model_uid = 1;
2133
+ string source_cascade_id = 2;
2134
+ repeated CortexTrajectoryStep original_steps = 3;
2135
+ string destination_model_uid = 4;
2136
+ }
2137
+
2138
+ message CortexStepLintFixMessage {
2139
+ repeated codeium_common_pb.CodeDiagnostic lint_errors = 1;
2140
+ repeated codeium_common_pb.CodeDiagnostic persistent_lint_errors = 2;
2141
+ }
2142
+
2143
+ message ActiveUserState {
2144
+ codeium_common_pb.Document active_document = 1;
2145
+ repeated codeium_common_pb.Document open_documents = 2;
2146
+ codeium_common_pb.CodeContextItem active_node = 3;
2147
+ }
2148
+
2149
+ message CortexStepSupercompleteActiveDoc {
2150
+ string instruction = 1;
2151
+ codeium_common_pb.FileRangeContent selection_with_cursor = 2;
2152
+ }
2153
+
2154
+ message CortexStepSupercompleteFeedback {
2155
+ string completion_id = 1;
2156
+ string completion_text = 2;
2157
+ string feedback_type = 3;
2158
+ string feedback_reason = 4;
2159
+ codeium_common_pb.Document document = 5;
2160
+ int64 feedback_delay_ms = 6;
2161
+ codeium_common_pb.ProviderSource provider_source = 7;
2162
+ }
2163
+
2164
+ message CortexStepSupercompleteEphemeralFeedback {
2165
+ repeated SupercompleteEphemeralFeedbackEntry feedback_entries = 1;
2166
+ int64 creation_timestamp_ms = 2;
2167
+ }
2168
+
2169
+ message SupercompleteEphemeralFeedbackEntry {
2170
+ bool accepted = 1;
2171
+ bool intentional_reject = 2;
2172
+ string completion_id = 3;
2173
+ int64 timestamp_ms = 4;
2174
+ diff_action_pb.UnifiedDiff unified_diff = 5;
2175
+ uint64 selection_start_line = 7;
2176
+ SupercompleteTabJumpInfo tabjump_suggestion = 6;
2177
+ }
2178
+
2179
+ message SupercompleteTabJumpInfo {
2180
+ string path = 1;
2181
+ codeium_common_pb.DocumentPosition jump_position = 2;
2182
+ bool is_import = 3;
2183
+ }
2184
+
2185
+ message CortexStepPlannerResponse {
2186
+ string response = 1;
2187
+ string modified_response = 8;
2188
+ string thinking = 3;
2189
+ string signature = 4;
2190
+ bool thinking_redacted = 5;
2191
+ string message_id = 6;
2192
+ repeated codeium_common_pb.ChatToolCall tool_calls = 7;
2193
+ repeated codeium_common_pb.KnowledgeBaseItemWithMetadata knowledge_base_items = 2;
2194
+ string output_id = 9;
2195
+ string thinking_id = 10 [deprecated = true];
2196
+ bytes gemini_thought_signature = 11 [deprecated = true];
2197
+ string signature_type = 12;
2198
+ }
2199
+
2200
+ message CortexStepFileBreakdown {
2201
+ string absolute_path = 1;
2202
+ codeium_common_pb.DocumentOutline document_outline = 2;
2203
+ }
2204
+
2205
+ message CortexStepViewCodeItem {
2206
+ string absolute_uri = 1;
2207
+ repeated string node_paths = 4;
2208
+ repeated codeium_common_pb.CodeContextItem ccis = 5;
2209
+
2210
+ reserved 2, 3;
2211
+
2212
+ reserved "cci", "node_name";
2213
+ }
2214
+
2215
+ message CortexStepWriteToFile {
2216
+ string target_file_uri = 1;
2217
+ repeated string code_content = 2;
2218
+ diff_action_pb.DiffBlock diff = 3;
2219
+ bool file_created = 4;
2220
+ AcknowledgementType acknowledgement_type = 5;
2221
+ }
2222
+
2223
+ message CortexStepSearchKnowledgeBase {
2224
+ repeated string queries = 1;
2225
+ opensearch_clients_pb.TimeRange time_range = 3;
2226
+ repeated opensearch_clients_pb.ConnectorType connector_types = 4;
2227
+ repeated string aggregate_ids = 7;
2228
+ repeated codeium_common_pb.KnowledgeBaseGroup knowledge_base_groups = 2;
2229
+ }
2230
+
2231
+ message CortexStepLookupKnowledgeBase {
2232
+ repeated string urls = 1;
2233
+ repeated string document_ids = 2;
2234
+ repeated codeium_common_pb.KnowledgeBaseItemWithMetadata knowledge_base_items = 3;
2235
+ }
2236
+
2237
+ message CortexStepSuggestedResponses {
2238
+ repeated string suggestions = 1;
2239
+ }
2240
+
2241
+ message CortexStepErrorMessage {
2242
+ CortexErrorDetails error = 3;
2243
+ bool should_show_model = 4;
2244
+ bool should_show_user = 5;
2245
+
2246
+ reserved 1, 2;
2247
+ }
2248
+
2249
+ message CortexStepInspectCluster {
2250
+ string cluster_id = 1;
2251
+ string query = 2;
2252
+ codeium_common_pb.CodebaseCluster matched_cluster = 3;
2253
+ repeated context_module_pb.CciWithSubrangeWithRetrievalMetadata ccis = 4;
2254
+ }
2255
+
2256
+ message RunCommandOutput {
2257
+ string full = 1;
2258
+ string ansi_output = 4;
2259
+ string truncated = 2 [deprecated = true];
2260
+ uint32 num_lines_above = 3 [deprecated = true];
2261
+ }
2262
+
2263
+ message SimpleCommand {
2264
+ repeated string parts = 1;
2265
+ }
2266
+
2267
+ message CortexStepRunCommand {
2268
+ string command_line = 23;
2269
+ string proposed_command_line = 25;
2270
+ string cwd = 2;
2271
+ bool blocking = 11;
2272
+ uint64 wait_ms_before_async = 12;
2273
+ bool should_auto_run = 15;
2274
+ string requested_terminal_id = 17;
2275
+ string agent_harness = 26;
2276
+ string command_id = 13;
2277
+ bool user_rejected = 14;
2278
+ AutoRunDecision auto_run_decision = 16;
2279
+ string terminal_id = 18;
2280
+ RunCommandOutput combined_output = 21;
2281
+ bool used_ide_terminal = 22;
2282
+ string raw_debug_output = 24;
2283
+ string shell_integration_failure_reason = 27;
2284
+ string shell_name = 28;
2285
+ repeated SimpleCommand parsed_commands = 29;
2286
+ string command = 1 [deprecated = true];
2287
+ repeated string args = 3 [deprecated = true];
2288
+ string stdout = 4 [deprecated = true];
2289
+ string stderr = 5 [deprecated = true];
2290
+ string stdout_buffer = 7 [deprecated = true];
2291
+ string stderr_buffer = 8 [deprecated = true];
2292
+ uint32 stdout_lines_above = 9 [deprecated = true];
2293
+ uint32 stderr_lines_above = 10 [deprecated = true];
2294
+ RunCommandOutput stdout_output = 19 [deprecated = true];
2295
+ RunCommandOutput stderr_output = 20 [deprecated = true];
2296
+
2297
+ oneof _exit_code {
2298
+ int32 exit_code = 6;
2299
+ }
2300
+ }
2301
+
2302
+ message CortexStepRelatedFiles {
2303
+ string absolute_uri = 1;
2304
+ repeated string related_file_absolute_uris = 2;
2305
+ repeated float scores = 3;
2306
+ string related_file_error = 4;
2307
+ }
2308
+
2309
+ message CortexStepReadUrlContent {
2310
+ string url = 1;
2311
+ codeium_common_pb.KnowledgeBaseItem web_document = 2;
2312
+ string resolved_url = 3;
2313
+ uint32 latency_ms = 4;
2314
+ bool user_rejected = 6;
2315
+ AutoRunDecision auto_run_decision = 7;
2316
+ }
2317
+
2318
+ message CortexStepReadKnowledgeBaseItem {
2319
+ string identifier = 1;
2320
+ codeium_common_pb.KnowledgeBaseItem knowledge_base_item = 2;
2321
+ opensearch_clients_pb.ConnectorType connector_type = 3;
2322
+ }
2323
+
2324
+ message CortexStepViewContentChunk {
2325
+ string document_id = 5;
2326
+ int32 position = 2;
2327
+ codeium_common_pb.KnowledgeBaseItem cropped_item = 4;
2328
+
2329
+ reserved 1, 3;
2330
+
2331
+ reserved "cropped_web_document", "url";
2332
+ }
2333
+
2334
+ message CortexStepSearchWeb {
2335
+ string query = 1;
2336
+ string domain = 3;
2337
+ repeated codeium_common_pb.KnowledgeBaseItem web_documents = 2;
2338
+ string web_search_url = 4;
2339
+ string summary = 5;
2340
+ codeium_common_pb.ThirdPartyWebSearchConfig third_party_config = 6;
2341
+ }
2342
+
2343
+ message CortexStepReadDeploymentConfig {
2344
+ string project_path = 1;
2345
+ string deployment_config_uri = 2;
2346
+ codeium_common_pb.WebAppDeploymentConfig deployment_config = 3;
2347
+ repeated string missing_file_uris = 4;
2348
+ bool will_upload_node_modules = 5;
2349
+ bool will_upload_dist = 6;
2350
+ repeated string ignore_file_uris = 7;
2351
+ uint32 num_files_to_upload = 8;
2352
+ repeated string env_file_uris = 9;
2353
+ }
2354
+
2355
+ message CortexStepDeployWebApp {
2356
+ string project_path = 1;
2357
+ string subdomain = 2;
2358
+ string project_id = 11;
2359
+ string framework = 3;
2360
+ bool user_confirmed = 4;
2361
+ map<string, DeployWebAppFileUploadStatus> file_upload_status = 5;
2362
+ codeium_common_pb.WindsurfDeployment deployment = 6;
2363
+ string deployment_config_uri = 7;
2364
+ codeium_common_pb.WebAppDeploymentConfig deployment_config_output = 8;
2365
+ string subdomain_for_project_id = 12;
2366
+ string subdomain_user_specified = 13;
2367
+ string subdomain_used = 9;
2368
+ codeium_common_pb.DeployTarget deploy_target_for_project_id = 15;
2369
+ codeium_common_pb.DeployTarget deploy_target_user_specified = 16;
2370
+ codeium_common_pb.DeployTarget deploy_target_used = 17;
2371
+ string project_id_used = 14;
2372
+ string claim_url = 10;
2373
+ }
2374
+
2375
+ message CortexStepCheckDeployStatus {
2376
+ string windsurf_deployment_id = 1;
2377
+ codeium_common_pb.WindsurfDeployment deployment = 2;
2378
+ codeium_common_pb.DeploymentBuildStatus build_status = 3;
2379
+ string build_error = 4;
2380
+ string build_logs = 5;
2381
+ bool is_claimed = 6;
2382
+ string claim_url = 7;
2383
+ }
2384
+
2385
+ message CortexStepClipboard {
2386
+ string content = 1;
2387
+ }
2388
+
2389
+ message ExecutorMetadata {
2390
+ ExecutorTerminationReason termination_reason = 1;
2391
+ int32 num_generator_invocations = 2;
2392
+ int32 last_step_idx = 3;
2393
+ bool proceeded_with_auto_continue = 4;
2394
+ }
2395
+
2396
+ message CortexStepLintDiff {
2397
+ LintDiffType type = 1;
2398
+ codeium_common_pb.CodeDiagnostic lint = 2;
2399
+ }
2400
+
2401
+ message BrainEntry {
2402
+ string id = 1;
2403
+ BrainEntryType type = 2;
2404
+ string content = 3;
2405
+ }
2406
+
2407
+ message PlanEntryDeltaSummary {
2408
+ repeated string items_added = 1;
2409
+ repeated string items_completed = 2;
2410
+ }
2411
+
2412
+ message BrainEntryDeltaSummary {
2413
+ oneof summary {
2414
+ PlanEntryDeltaSummary plan = 1;
2415
+ TaskEntryDeltaSummary task = 2;
2416
+ }
2417
+ }
2418
+
2419
+ message BrainEntryDelta {
2420
+ BrainEntry before = 1;
2421
+ BrainEntry after = 2;
2422
+ string absolute_path_uri = 3;
2423
+ BrainEntryDeltaSummary summary = 4;
2424
+ }
2425
+
2426
+ message TaskItem {
2427
+ string id = 1;
2428
+ string content = 2;
2429
+ TaskStatus status = 3;
2430
+ string parent_id = 4;
2431
+ string prev_sibling_id = 5;
2432
+ }
2433
+
2434
+ message TaskDelta {
2435
+ TaskDeltaType type = 1;
2436
+ string id = 2;
2437
+ string content = 3;
2438
+ TaskStatus status = 4;
2439
+ string parent_id = 5;
2440
+ string prev_sibling_id = 6;
2441
+ string from_parent = 7;
2442
+ string from_prev_sibling = 8;
2443
+ }
2444
+
2445
+ message TaskEntryDeltaSummary {
2446
+ repeated TaskDelta deltas = 1;
2447
+ int32 items_added = 2;
2448
+ int32 items_pruned = 3;
2449
+ int32 items_deleted = 4;
2450
+ int32 items_updated = 5;
2451
+ int32 items_moved = 6;
2452
+ }
2453
+
2454
+ message CortexStepBrainUpdate {
2455
+ BrainUpdateTrigger trigger = 3;
2456
+ repeated BrainEntryDelta deltas = 2;
2457
+
2458
+ oneof target {
2459
+ BrainEntryType entry_type = 1;
2460
+ }
2461
+ }
2462
+
2463
+ message CortexStepAddAnnotation {
2464
+ codeium_common_pb.CodeAnnotation annotation = 1;
2465
+ }
2466
+
2467
+ message AddAnnotationConfig {
2468
+ oneof _enabled {
2469
+ bool enabled = 1;
2470
+ }
2471
+
2472
+ oneof _enabled_for_conversational_mixin {
2473
+ bool enabled_for_conversational_mixin = 2;
2474
+ }
2475
+ }
2476
+
2477
+ message CascadeState {
2478
+ string cascade_id = 1;
2479
+ CortexTrajectory trajectory = 2;
2480
+ CascadeRunStatus status = 3;
2481
+ bool is_revert = 5;
2482
+ ExecutorMetadata executor_metadata = 4;
2483
+ }
2484
+
2485
+ message CascadePanelState {
2486
+ codeium_common_pb.PlanStatus plan_status = 1;
2487
+ codeium_common_pb.UserSettings user_settings = 2;
2488
+
2489
+ oneof _workspace_trusted {
2490
+ bool workspace_trusted = 3;
2491
+ }
2492
+ }
2493
+
2494
+ message CortexStepCommandStatus {
2495
+ string command_id = 1;
2496
+ uint32 output_character_count = 8;
2497
+ uint32 wait_duration_seconds = 10;
2498
+ CortexStepStatus status = 2;
2499
+ string combined = 9;
2500
+ CortexErrorDetails error = 6;
2501
+ uint32 waited_duration_seconds = 11;
2502
+ string stdout = 3 [deprecated = true];
2503
+ string stderr = 4 [deprecated = true];
2504
+ CommandOutputPriority output_priority = 7 [deprecated = true];
2505
+
2506
+ oneof _delta {
2507
+ string delta = 12;
2508
+ }
2509
+
2510
+ oneof _exit_code {
2511
+ int32 exit_code = 5;
2512
+ }
2513
+ }
2514
+
2515
+ message CortexMemory {
2516
+ string memory_id = 1;
2517
+ string title = 6;
2518
+ CortexMemoryMetadata metadata = 2;
2519
+ CortexMemorySource source = 3;
2520
+ CortexMemoryScope scope = 4;
2521
+
2522
+ oneof memory {
2523
+ CortexMemoryText text_memory = 5;
2524
+ }
2525
+ }
2526
+
2527
+ message CortexMemoryMetadata {
2528
+ google.protobuf.Timestamp created_at = 1;
2529
+ google.protobuf.Timestamp last_modified = 2;
2530
+ google.protobuf.Timestamp last_accessed = 3;
2531
+ repeated string tags = 4;
2532
+ bool user_triggered = 5;
2533
+ }
2534
+
2535
+ message CortexMemoryText {
2536
+ string content = 1;
2537
+ }
2538
+
2539
+ message CortexMemoryScope {
2540
+ oneof scope {
2541
+ CortexMemoryGlobalScope global_scope = 1;
2542
+ CortexMemoryLocalScope local_scope = 2;
2543
+ CortexMemoryAllScope all_scope = 3;
2544
+ CortexMemoryProjectScope project_scope = 4;
2545
+ CortexMemorySystemScope system_scope = 5;
2546
+ }
2547
+ }
2548
+
2549
+ message CortexMemoryGlobalScope {
2550
+
2551
+ }
2552
+
2553
+ message CortexMemoryLocalScope {
2554
+ repeated string corpus_names = 2;
2555
+ repeated string base_dir_uris = 3;
2556
+ string repo_base_dir_uri = 1 [deprecated = true];
2557
+ }
2558
+
2559
+ message CortexMemoryAllScope {
2560
+
2561
+ }
2562
+
2563
+ message CortexMemorySystemScope {
2564
+
2565
+ }
2566
+
2567
+ message CortexMemoryProjectScope {
2568
+ string file_path = 1;
2569
+ string absolute_file_path = 7;
2570
+ repeated string base_dir_uris = 2;
2571
+ repeated string corpus_names = 3;
2572
+ CortexMemoryTrigger trigger = 4;
2573
+ string description = 5;
2574
+ repeated string globs = 6;
2575
+ RuleSource rule_source = 8;
2576
+ }
2577
+
2578
+ message CortexSkill {
2579
+ string name = 1;
2580
+ string description = 2;
2581
+ string path = 3;
2582
+ int32 resource_count = 4;
2583
+ string base_dir = 5;
2584
+ string content = 6;
2585
+ bool is_global = 7;
2586
+ }
2587
+
2588
+ message CortexStepMemory {
2589
+ string memory_id = 1;
2590
+ CortexMemory memory = 2;
2591
+ CortexMemory prev_memory = 4;
2592
+ MemoryActionType action = 3;
2593
+ }
2594
+
2595
+ message CortexStepRetrieveMemory {
2596
+ bool run_subagent = 1;
2597
+ bool add_user_memories = 8;
2598
+ bool add_auto_cascade_memories = 10;
2599
+ string cascade_memory_summary = 2;
2600
+ string user_memory_summary = 3;
2601
+ string auto_cascade_memory_summary = 9;
2602
+ string reason = 4;
2603
+ bool show_reason = 5;
2604
+ repeated CortexMemory retrieved_memories = 6;
2605
+ bool blocking = 7 [deprecated = true];
2606
+ }
2607
+
2608
+ message MemoryConfig {
2609
+ codeium_common_pb.Model memory_model_deprecated = 1 [deprecated = true];
2610
+ string memory_model_uid = 8;
2611
+ uint32 num_checkpoints_for_context = 5;
2612
+ int32 num_memories_to_consider = 3;
2613
+ int32 max_global_cascade_memories = 4;
2614
+
2615
+ oneof _condense_input_trajectory {
2616
+ bool condense_input_trajectory = 6 [deprecated = true];
2617
+ }
2618
+
2619
+ oneof _add_user_memories_to_system_prompt {
2620
+ bool add_user_memories_to_system_prompt = 7;
2621
+ }
2622
+
2623
+ oneof _enabled {
2624
+ bool enabled = 2 [deprecated = true];
2625
+ }
2626
+ }
2627
+
2628
+ message ViewedFileTrackerConfig {
2629
+ uint32 max_files_in_prompt = 2;
2630
+ uint32 max_lines_per_file_in_prompt = 3;
2631
+
2632
+ oneof _max_steps_per_checkpoint {
2633
+ uint32 max_steps_per_checkpoint = 1;
2634
+ }
2635
+ }
2636
+
2637
+ message CodeStepCreationOptions {
2638
+ int64 diff_block_separation_threshold = 1;
2639
+ bool handle_deletions = 2;
2640
+ bool handle_creations = 3;
2641
+
2642
+ oneof _include_original_content {
2643
+ bool include_original_content = 4;
2644
+ }
2645
+ }
2646
+
2647
+ message BrainUpdateStepCreationOptions {
2648
+ string entry_id_prefix = 1;
2649
+ }
2650
+
2651
+ message ViewFileStepCreationOptions {
2652
+ bool condition_on_edit_step = 1;
2653
+
2654
+ oneof _include_raw_content {
2655
+ bool include_raw_content = 2;
2656
+ }
2657
+ }
2658
+
2659
+ message UserGrepStepCreationOptions {
2660
+ uint32 num_search_events = 1;
2661
+ }
2662
+
2663
+ message RunCommandStepCreationOptions {
2664
+ uint32 max_commands = 1;
2665
+ google.protobuf.Duration max_command_age = 2;
2666
+ uint32 per_command_max_bytes_output = 3;
2667
+ uint32 total_max_bytes_output = 4;
2668
+
2669
+ oneof _include_running {
2670
+ bool include_running = 5;
2671
+ }
2672
+ }
2673
+
2674
+ message LintDiffStepCreationOptions {
2675
+ uint32 max_lint_inserts = 1;
2676
+ uint32 min_required_lint_duration = 2;
2677
+ }
2678
+
2679
+ message SnapshotToStepsOptions {
2680
+ CodeStepCreationOptions code_step_creation_options = 1;
2681
+ ViewFileStepCreationOptions view_file_step_creation_options = 2;
2682
+ ViewedFileTrackerConfig viewed_file_tracker_config = 3;
2683
+ repeated CortexStepType step_type_allow_list = 4;
2684
+ UserGrepStepCreationOptions user_grep_step_creation_options = 5;
2685
+ RunCommandStepCreationOptions run_command_step_creation_options = 6;
2686
+ LintDiffStepCreationOptions lint_diff_step_creation_options = 7;
2687
+ BrainUpdateStepCreationOptions brain_update_step_creation_options = 8;
2688
+
2689
+ reserved 9;
2690
+
2691
+ reserved "browser_step_creation_options";
2692
+ }
2693
+
2694
+ message CustomToolSpec {
2695
+ string recipe_id = 1;
2696
+ chat_pb.ChatToolDefinition tool_definition = 2;
2697
+ string system_prompt = 3;
2698
+ CascadeConfig config_override = 4;
2699
+ CortexTrajectory reference_trajectory = 5;
2700
+ bool requires_write_mode = 6;
2701
+ bool is_builtin = 7;
2702
+ }
2703
+
2704
+ message CortexStepCustomTool {
2705
+ string recipe_id = 1;
2706
+ string arguments_json = 2;
2707
+ string output = 3;
2708
+ string recipe_name = 4;
2709
+ }
2710
+
2711
+ message CortexStepAutoCascadeBroadcast {
2712
+ string message = 1;
2713
+ }
2714
+
2715
+ message CortexStepPostPrReview {
2716
+ string body = 1;
2717
+ string commit_id = 2;
2718
+ string path = 3;
2719
+ string side = 4;
2720
+ int32 start_line = 5;
2721
+ int32 end_line = 6;
2722
+ string category = 7;
2723
+ }
2724
+
2725
+ message McpServerSpec {
2726
+ string server_name = 1;
2727
+ string command = 2;
2728
+ repeated string args = 3;
2729
+ map<string, string> env = 4;
2730
+ uint32 server_index = 5;
2731
+ string server_url = 6;
2732
+ bool disabled = 7;
2733
+ repeated string disabled_tools = 8;
2734
+ map<string, string> headers = 9;
2735
+ McpOAuthConfig oauth = 10;
2736
+ }
2737
+
2738
+ message McpOAuthConfig {
2739
+ string client_id = 1;
2740
+ repeated string scopes = 2;
2741
+ }
2742
+
2743
+ message McpServerInfo {
2744
+ string name = 1;
2745
+ string version = 2;
2746
+ }
2747
+
2748
+ message CortexStepMcpTool {
2749
+ string server_name = 1;
2750
+ codeium_common_pb.ChatToolCall tool_call = 2;
2751
+ McpServerInfo server_info = 4;
2752
+ string result_string = 3;
2753
+ repeated codeium_common_pb.ImageData images = 5;
2754
+ }
2755
+
2756
+ message McpResource {
2757
+ string uri = 1;
2758
+ string name = 2;
2759
+ string description = 3;
2760
+ string mime_type = 4;
2761
+ }
2762
+
2763
+ message McpResourceContent {
2764
+ string uri = 1;
2765
+
2766
+ oneof data {
2767
+ codeium_common_pb.TextData text = 2;
2768
+ codeium_common_pb.ImageData image = 3;
2769
+ }
2770
+ }
2771
+
2772
+ message McpPromptArgument {
2773
+ string name = 1;
2774
+ string description = 2;
2775
+ bool required = 3;
2776
+ }
2777
+
2778
+ message McpPrompt {
2779
+ string name = 1;
2780
+ string description = 2;
2781
+ repeated McpPromptArgument arguments = 3;
2782
+ }
2783
+
2784
+ message CortexStepListResources {
2785
+ string server_name = 1;
2786
+ repeated McpResource resources = 3;
2787
+ string next_cursor = 4;
2788
+
2789
+ oneof _cursor {
2790
+ string cursor = 2;
2791
+ }
2792
+ }
2793
+
2794
+ message CortexStepReadResource {
2795
+ string server_name = 1;
2796
+ string uri = 2;
2797
+ repeated McpResourceContent contents = 3;
2798
+ bool skipped_non_image_binary_content = 4;
2799
+ }
2800
+
2801
+ message CortexStepArtifactSummary {
2802
+ string summary = 1;
2803
+ }
2804
+
2805
+ message CortexStepManagerFeedback {
2806
+ CortexStepManagerFeedbackStatus status = 1;
2807
+ string feedback = 2;
2808
+ }
2809
+
2810
+ message CortexStepToolCallProposal {
2811
+ codeium_common_pb.ChatToolCall tool_call = 1;
2812
+ }
2813
+
2814
+ message CortexStepToolCallChoice {
2815
+ repeated codeium_common_pb.ChatToolCall proposal_tool_calls = 1;
2816
+ uint32 choice = 2;
2817
+ string reason = 3;
2818
+ }
2819
+
2820
+ message CortexStepTrajectoryChoice {
2821
+ repeated string proposal_trajectory_ids = 1;
2822
+ int32 choice = 2;
2823
+ string reason = 3;
2824
+ }
2825
+
2826
+ message CortexStepCreateRecipe {
2827
+ option deprecated = true;
2828
+ CustomToolSpec recipe = 1;
2829
+ string reference_trajectory_id = 2;
2830
+ repeated uint32 reference_step_indices = 3;
2831
+ }
2832
+
2833
+ message CortexStepProxyWebServer {
2834
+ string target_url = 1;
2835
+ string name = 2;
2836
+ string proxy_url = 3;
2837
+ }
2838
+
2839
+ message McpServerState {
2840
+ McpServerSpec spec = 1;
2841
+ McpServerStatus status = 2;
2842
+ string error = 3;
2843
+ repeated chat_pb.ChatToolDefinition tools = 4;
2844
+ repeated string tool_errors = 7;
2845
+ McpServerInfo server_info = 5;
2846
+ string instructions = 6;
2847
+ repeated McpPrompt prompts = 8;
2848
+ }
2849
+
2850
+ message TrajectoryJudgeConfig {
2851
+ int32 max_steps_to_judge = 1;
2852
+ }
2853
+
2854
+ message CortexStepViewFileOutline {
2855
+ option deprecated = true;
2856
+ string absolute_path_uri = 1;
2857
+ uint32 cci_offset = 2;
2858
+ repeated codeium_common_pb.CodeContextItem ccis = 3;
2859
+ repeated string outline_items = 9;
2860
+ uint32 num_items_scanned = 10;
2861
+ uint32 total_cci_count = 4;
2862
+ uint32 num_lines = 5;
2863
+ uint32 num_bytes = 6;
2864
+ string contents = 7;
2865
+ uint32 content_lines_truncated = 8;
2866
+ string triggered_memories = 11;
2867
+ string raw_content = 12;
2868
+ }
2869
+
2870
+ message CortexTodoListItem {
2871
+ string id = 1;
2872
+ string content = 2;
2873
+ CortexTodoListItemStatus status = 3;
2874
+ CortexTodoListItemPriority priority = 4;
2875
+ }
2876
+
2877
+ message CortexStepTodoList {
2878
+ repeated CortexTodoListItem todos = 1;
2879
+ bool is_initial_creation = 2;
2880
+ }
2881
+
2882
+ message CortexStepCodeMap {
2883
+ string code_map_json_content = 1;
2884
+ }
2885
+
2886
+ message CortexStepEditCodeMap {
2887
+ string edit_json_content = 1;
2888
+ }
2889
+
2890
+ message EphemeralMessagesConfig {
2891
+ uint32 num_steps = 2;
2892
+ repeated HeuristicPrompt heuristic_prompts = 3;
2893
+
2894
+ oneof _enabled {
2895
+ bool enabled = 1;
2896
+ }
2897
+ }
2898
+
2899
+ message HeuristicPrompt {
2900
+ string heuristic = 1;
2901
+ string prompt = 2;
2902
+ }
2903
+
2904
+ message RevertMetadata {
2905
+ repeated string reverted_uris = 4;
2906
+
2907
+ reserved 5;
2908
+
2909
+ reserved "revert_state";
2910
+ }
2911
+
2912
+ message TrajectoryPrefixMetadata {
2913
+ uint32 length = 1;
2914
+ uint32 tokens = 2;
2915
+ uint32 num_skipped = 3;
2916
+ uint32 num_truncated = 4;
2917
+ }
2918
+
2919
+ message CortexStepFindAllReferences {
2920
+ string absolute_uri = 1;
2921
+ string symbol = 2;
2922
+ uint32 line = 3;
2923
+ uint32 occurrence_index = 4;
2924
+ repeated codeium_common_pb.LspReference references = 5;
2925
+ }
2926
+
2927
+ message FindAllReferencesConfig {
2928
+ oneof _enabled {
2929
+ bool enabled = 1;
2930
+ }
2931
+ }
2932
+
2933
+ message CortexStepRunExtensionCode {
2934
+ string code = 1;
2935
+ string language = 2;
2936
+ bool model_wants_auto_run = 6;
2937
+ string user_facing_explanation = 7;
2938
+ string output = 3;
2939
+ bool user_rejected = 4;
2940
+ RunExtensionCodeAutoRunDecision auto_run_decision = 5;
2941
+ }
2942
+
2943
+ message RunExtensionCodeConfig {
2944
+ option deprecated = true;
2945
+
2946
+ oneof _enabled {
2947
+ bool enabled = 1;
2948
+ }
2949
+
2950
+ oneof _only {
2951
+ bool only = 2;
2952
+ }
2953
+
2954
+ reserved 3;
2955
+
2956
+ reserved "auto_run";
2957
+ }
2958
+
2959
+ message CortexStepProposalFeedback {
2960
+ AcknowledgementType acknowledgement_type = 1;
2961
+ uint32 target_step_index = 2;
2962
+
2963
+ oneof target {
2964
+ ReplacementChunk replacement_chunk = 3;
2965
+ }
2966
+ }
2967
+
2968
+ message TrajectoryDescription {
2969
+ oneof description {
2970
+ string cascade_conversation_title = 1;
2971
+ string mainline_branch_name = 2;
2972
+ }
2973
+ }
2974
+
2975
+ message CortexStepTrajectorySearch {
2976
+ string id = 1;
2977
+ string query = 2;
2978
+ TrajectorySearchIdType id_type = 3;
2979
+ repeated context_module_pb.CciWithSubrangeWithRetrievalMetadata chunks = 4;
2980
+ TrajectoryDescription trajectory_description = 5;
2981
+ uint32 total_chunks = 6;
2982
+ }
2983
+
2984
+ message CortexStepReadTerminal {
2985
+ string process_id = 1;
2986
+ string name = 2;
2987
+ string contents = 3;
2988
+ }
2989
+
2990
+ message HookCondition {
2991
+ repeated HookAgentAction agent_actions = 1;
2992
+ }
2993
+
2994
+ message CommandHookSpec {
2995
+ string command = 1;
2996
+ string working_directory = 2;
2997
+ bool show_output = 3;
2998
+ }
2999
+
3000
+ message HookExecutionSpec {
3001
+ oneof hook {
3002
+ CommandHookSpec command = 1;
3003
+ }
3004
+ }
3005
+
3006
+ message CommandHookResult {
3007
+ int32 exit_code = 1;
3008
+ string stdout = 2;
3009
+ string stderr = 3;
3010
+ }
3011
+
3012
+ message HookExecutionResult {
3013
+ oneof result {
3014
+ CommandHookResult command = 1;
3015
+ }
3016
+ }
3017
+
3018
+ message CascadeHook {
3019
+ HookExecutionSpec hook_spec = 5;
3020
+ HookCondition condition = 6;
3021
+
3022
+ reserved 1, 2, 3, 4;
3023
+ }
3024
+
3025
+ message HookExecutionDetail {
3026
+ HookExecutionSpec spec = 1;
3027
+ HookExecutionResult result = 2;
3028
+ }
3029
+
3030
+ message CortexStepDeepThink {
3031
+ string exploration_document = 1;
3032
+ string exploration_document_absolute_path_uri = 2;
3033
+ string last_planner_response = 3;
3034
+ }
3035
+
3036
+ message TaskResolutionOpenPr {
3037
+ string pr_title = 1;
3038
+ string pr_body = 2;
3039
+ string pr_url = 3;
3040
+ bool existed_previously = 4;
3041
+ }
3042
+
3043
+ message TaskResolution {
3044
+ oneof resolution {
3045
+ TaskResolutionOpenPr open_pr = 1;
3046
+ }
3047
+ }
3048
+
3049
+ message CodeMapSuggestion {
3050
+ string id = 1;
3051
+ string prompt = 2;
3052
+ repeated string starting_points = 3;
3053
+ bool dismissed = 4;
3054
+
3055
+ oneof _subtitle {
3056
+ string subtitle = 5;
3057
+ }
3058
+ }
3059
+
3060
+ message CortexStepSuggestCodemap {
3061
+ repeated CodeMapSuggestion suggestions = 1;
3062
+ }
3063
+
3064
+ message LifeguardBug {
3065
+ string id = 1;
3066
+ string file = 2;
3067
+ int32 start = 3;
3068
+ int32 end = 4;
3069
+ string title = 5;
3070
+ string description = 6;
3071
+ string severity = 7;
3072
+ string resolution = 8;
3073
+
3074
+ oneof _fix_old_str {
3075
+ string fix_old_str = 9;
3076
+ }
3077
+
3078
+ oneof _fix_new_str {
3079
+ string fix_new_str = 10;
3080
+ }
3081
+ }
3082
+
3083
+ message CortexStepReportBugs {
3084
+ repeated LifeguardBug bugs = 1;
3085
+ }
3086
+
3087
+ message UpsertCodemapOutput {
3088
+ string id = 1;
3089
+ string title = 2;
3090
+ string codemap_json = 3;
3091
+
3092
+ oneof _description {
3093
+ string description = 4;
3094
+ }
3095
+ }
3096
+
3097
+ message CortexStepUpsertCodemap {
3098
+ string prompt = 1;
3099
+ repeated string starting_points = 2;
3100
+ bool blocking = 3;
3101
+ bool user_rejected = 6;
3102
+
3103
+ oneof _editing_codemap_id {
3104
+ string editing_codemap_id = 4;
3105
+ }
3106
+
3107
+ oneof _editing_codemap_title {
3108
+ string editing_codemap_title = 5;
3109
+ }
3110
+
3111
+ oneof _output {
3112
+ UpsertCodemapOutput output = 7;
3113
+ }
3114
+
3115
+ oneof _running_status {
3116
+ UpsertCodemapRunningStatus running_status = 8;
3117
+ }
3118
+ }
3119
+
3120
+ message UpsertCodemapRunningStatus {
3121
+ int32 step = 1;
3122
+
3123
+ oneof _step_status {
3124
+ string step_status = 2;
3125
+ }
3126
+ }
3127
+
3128
+ message CortexStepResolveTask {
3129
+ string absolute_uri = 1;
3130
+ string title = 2;
3131
+ string description = 3;
3132
+ bool user_rejected = 4;
3133
+ TaskResolution resolution = 5;
3134
+ }
3135
+
3136
+ message CortexStepExitPlanMode {
3137
+ bool user_requested = 2;
3138
+
3139
+ oneof _plan_file {
3140
+ string plan_file = 1;
3141
+ }
3142
+ }
3143
+
3144
+ message CortexStepSkill {
3145
+ string skill_name = 1;
3146
+ string description = 2;
3147
+ string path = 3;
3148
+ int32 resource_count = 4;
3149
+ string base_dir = 5;
3150
+ string content = 6;
3151
+ }
3152
+
3153
+ enum ActionStatus {
3154
+ ACTION_STATUS_UNSPECIFIED = 0;
3155
+ ACTION_STATUS_ERROR = 1;
3156
+ ACTION_STATUS_INITIALIZED = 2;
3157
+ ACTION_STATUS_PREPARING = 3;
3158
+ ACTION_STATUS_PREPARED = 4;
3159
+ ACTION_STATUS_APPLYING = 5;
3160
+ ACTION_STATUS_APPLIED = 6;
3161
+ ACTION_STATUS_REJECTED = 7;
3162
+ }
3163
+
3164
+ enum PlanStatus {
3165
+ PLAN_STATUS_UNSPECIFIED = 0;
3166
+ PLAN_STATUS_INITIALIZED = 1;
3167
+ PLAN_STATUS_PLANNING = 2;
3168
+ PLAN_STATUS_PLANNED = 3;
3169
+ PLAN_STATUS_ERROR = 4;
3170
+ }
3171
+
3172
+ enum CortexRequestSource {
3173
+ CORTEX_REQUEST_SOURCE_UNSPECIFIED = 0;
3174
+ CORTEX_REQUEST_SOURCE_CASCADE = 1;
3175
+ CORTEX_REQUEST_SOURCE_USER_IMPLICIT = 2;
3176
+ }
3177
+
3178
+ enum CortexTrajectorySource {
3179
+ CORTEX_TRAJECTORY_SOURCE_UNSPECIFIED = 0;
3180
+ CORTEX_TRAJECTORY_SOURCE_CASCADE_CLIENT = 1;
3181
+ CORTEX_TRAJECTORY_SOURCE_EXPLAIN_PROBLEM = 2;
3182
+ CORTEX_TRAJECTORY_SOURCE_REFACTOR_FUNCTION = 3;
3183
+ CORTEX_TRAJECTORY_SOURCE_EVAL = 4;
3184
+ CORTEX_TRAJECTORY_SOURCE_EVAL_TASK = 5;
3185
+ CORTEX_TRAJECTORY_SOURCE_ASYNC_PRR = 6;
3186
+ CORTEX_TRAJECTORY_SOURCE_ASYNC_CF = 7;
3187
+ CORTEX_TRAJECTORY_SOURCE_ASYNC_SL = 8;
3188
+ CORTEX_TRAJECTORY_SOURCE_ASYNC_PRD = 9;
3189
+ CORTEX_TRAJECTORY_SOURCE_ASYNC_CM = 10;
3190
+ CORTEX_TRAJECTORY_SOURCE_PASSIVE_CODER = 11;
3191
+ CORTEX_TRAJECTORY_SOURCE_CODE_MAP = 13;
3192
+ CORTEX_TRAJECTORY_SOURCE_LIFEGUARD = 15;
3193
+ }
3194
+
3195
+ enum CortexTrajectoryType {
3196
+ CORTEX_TRAJECTORY_TYPE_UNSPECIFIED = 0;
3197
+ CORTEX_TRAJECTORY_TYPE_USER_MAINLINE = 1;
3198
+ CORTEX_TRAJECTORY_TYPE_USER_GRANULAR = 2;
3199
+ CORTEX_TRAJECTORY_TYPE_SUPERCOMPLETE = 3;
3200
+ CORTEX_TRAJECTORY_TYPE_CASCADE = 4;
3201
+ CORTEX_TRAJECTORY_TYPE_BACKGROUND_RESEARCH = 5 [deprecated = true];
3202
+ CORTEX_TRAJECTORY_TYPE_CHECKPOINT = 6;
3203
+ CORTEX_TRAJECTORY_TYPE_RETRIEVE_MEMORY = 7;
3204
+ CORTEX_TRAJECTORY_TYPE_CUSTOM_TOOL = 8;
3205
+ CORTEX_TRAJECTORY_TYPE_AUTO_CASCADE = 9;
3206
+ CORTEX_TRAJECTORY_TYPE_AUTO_CASCADE_MANAGER = 10;
3207
+ CORTEX_TRAJECTORY_TYPE_APPLIER = 11;
3208
+ CORTEX_TRAJECTORY_TYPE_TOOL_CALL_PROPOSAL = 12;
3209
+ CORTEX_TRAJECTORY_TYPE_TRAJECTORY_CHOICE = 13;
3210
+ CORTEX_TRAJECTORY_TYPE_LLM_JUDGE = 14;
3211
+ CORTEX_TRAJECTORY_TYPE_ARTIFACT_SUMMARY = 19 [deprecated = true];
3212
+ CORTEX_TRAJECTORY_TYPE_PASSIVE_CODER = 15;
3213
+ CORTEX_TRAJECTORY_TYPE_INTERACTIVE_CASCADE = 17;
3214
+ CORTEX_TRAJECTORY_TYPE_BRAIN_UPDATE = 16;
3215
+ }
3216
+
3217
+ enum CortexStepSource {
3218
+ CORTEX_STEP_SOURCE_UNSPECIFIED = 0;
3219
+ CORTEX_STEP_SOURCE_MANUAL = 1;
3220
+ CORTEX_STEP_SOURCE_MODEL = 2;
3221
+ CORTEX_STEP_SOURCE_USER_IMPLICIT = 3;
3222
+ CORTEX_STEP_SOURCE_USER_EXPLICIT = 4;
3223
+ CORTEX_STEP_SOURCE_SYSTEM = 5;
3224
+ }
3225
+
3226
+ enum CortexStepCreditReason {
3227
+ CORTEX_STEP_CREDIT_REASON_UNSPECIFIED = 0;
3228
+ CORTEX_STEP_CREDIT_REASON_LINT_FIXING_DISCOUNT = 1;
3229
+ }
3230
+
3231
+ enum ExecutionAsyncLevel {
3232
+ EXECUTION_ASYNC_LEVEL_UNSPECIFIED = 0;
3233
+ EXECUTION_ASYNC_LEVEL_INVOCATION_BLOCKING = 1;
3234
+ EXECUTION_ASYNC_LEVEL_EXECUTOR_BLOCKING = 2;
3235
+ EXECUTION_ASYNC_LEVEL_FULL_ASYNC = 3;
3236
+ }
3237
+
3238
+ enum CortexStepStatus {
3239
+ CORTEX_STEP_STATUS_UNSPECIFIED = 0;
3240
+ CORTEX_STEP_STATUS_GENERATING = 8;
3241
+ CORTEX_STEP_STATUS_HALTED = 10;
3242
+ CORTEX_STEP_STATUS_PENDING = 1;
3243
+ CORTEX_STEP_STATUS_RUNNING = 2;
3244
+ CORTEX_STEP_STATUS_WAITING = 9;
3245
+ CORTEX_STEP_STATUS_DONE = 3;
3246
+ CORTEX_STEP_STATUS_INVALID = 4;
3247
+ CORTEX_STEP_STATUS_CLEARED = 5;
3248
+ CORTEX_STEP_STATUS_CANCELED = 6;
3249
+ CORTEX_STEP_STATUS_ERROR = 7;
3250
+ CORTEX_STEP_STATUS_SKIPPING = 11;
3251
+ }
3252
+
3253
+ enum CascadeRunStatus {
3254
+ CASCADE_RUN_STATUS_UNSPECIFIED = 0;
3255
+ CASCADE_RUN_STATUS_IDLE = 1;
3256
+ CASCADE_RUN_STATUS_RUNNING = 2;
3257
+ CASCADE_RUN_STATUS_CANCELING = 3;
3258
+ CASCADE_RUN_STATUS_BUSY = 4;
3259
+ }
3260
+
3261
+ enum BrainFilterStrategy {
3262
+ BRAIN_FILTER_STRATEGY_UNSPECIFIED = 0;
3263
+ BRAIN_FILTER_STRATEGY_NO_SYSTEM_INJECTED_STEPS = 1;
3264
+ BRAIN_FILTER_STRATEGY_NO_MEMORIES = 2;
3265
+ }
3266
+
3267
+ enum SectionOverrideMode {
3268
+ SECTION_OVERRIDE_MODE_UNSPECIFIED = 0;
3269
+ SECTION_OVERRIDE_MODE_OVERRIDE = 1;
3270
+ SECTION_OVERRIDE_MODE_APPEND = 2;
3271
+ SECTION_OVERRIDE_MODE_PREPEND = 3;
3272
+ }
3273
+
3274
+ enum AgenticMixin {
3275
+ AGENTIC_MIXIN_UNSPECIFIED = 0;
3276
+ AGENTIC_MIXIN_SMARTLINT = 1;
3277
+ AGENTIC_MIXIN_PR_REVIEW = 2;
3278
+ }
3279
+
3280
+ enum CascadeAgentToolSet {
3281
+ CASCADE_AGENT_TOOL_SET_UNSPECIFIED = 0;
3282
+ CASCADE_AGENT_TOOL_SET_ONLY_COMMAND = 1;
3283
+ CASCADE_AGENT_TOOL_SET_COMMAND_AND_EDITS = 2;
3284
+ CASCADE_AGENT_TOOL_SET_NO_SEARCH = 3;
3285
+ }
3286
+
3287
+ enum ReplaceToolVariant {
3288
+ REPLACE_TOOL_VARIANT_UNSPECIFIED = 0;
3289
+ REPLACE_TOOL_VARIANT_REPLACEMENT_CHUNK = 1;
3290
+ REPLACE_TOOL_VARIANT_SEARCH_REPLACE = 2;
3291
+ REPLACE_TOOL_VARIANT_APPLY_PATCH = 3;
3292
+ REPLACE_TOOL_VARIANT_SINGLE_MULTI = 4;
3293
+ REPLACE_TOOL_VARIANT_OPENAI_APPLY_PATCH = 5;
3294
+ }
3295
+
3296
+ enum PassiveCoderRequestSource {
3297
+ PASSIVE_CODER_REQUEST_SOURCE_UNSPECIFIED = 0;
3298
+ PASSIVE_CODER_REQUEST_SOURCE_AFTER_RUN_COMMAND = 1;
3299
+ }
3300
+
3301
+ enum RunCommandAction {
3302
+ RUN_COMMAND_ACTION_UNSPECIFIED = 0;
3303
+ RUN_COMMAND_ACTION_CONFIRM = 1;
3304
+ RUN_COMMAND_ACTION_REJECT = 2;
3305
+ RUN_COMMAND_ACTION_SKIP = 3;
3306
+ }
3307
+
3308
+ enum ReadUrlContentAction {
3309
+ READ_URL_CONTENT_ACTION_UNSPECIFIED = 0;
3310
+ READ_URL_CONTENT_ACTION_ALLOW_ONCE = 1;
3311
+ READ_URL_CONTENT_ACTION_REJECT = 2;
3312
+ READ_URL_CONTENT_ACTION_ALWAYS_ALLOW_ORIGIN = 3;
3313
+ }
3314
+
3315
+ enum CortexStepType {
3316
+ CORTEX_STEP_TYPE_UNSPECIFIED = 0;
3317
+ CORTEX_STEP_TYPE_DUMMY = 1;
3318
+ CORTEX_STEP_TYPE_FINISH = 2;
3319
+ CORTEX_STEP_TYPE_PLAN_INPUT = 3;
3320
+ CORTEX_STEP_TYPE_MQUERY = 4;
3321
+ CORTEX_STEP_TYPE_CODE_ACTION = 5;
3322
+ CORTEX_STEP_TYPE_GIT_COMMIT = 6;
3323
+ CORTEX_STEP_TYPE_GREP_SEARCH = 7;
3324
+ CORTEX_STEP_TYPE_VIEW_FILE = 8;
3325
+ CORTEX_STEP_TYPE_LIST_DIRECTORY = 9;
3326
+ CORTEX_STEP_TYPE_COMPILE = 10;
3327
+ CORTEX_STEP_TYPE_INFORM = 11;
3328
+ CORTEX_STEP_TYPE_FILE_BREAKDOWN = 12 [deprecated = true];
3329
+ CORTEX_STEP_TYPE_VIEW_CODE_ITEM = 13;
3330
+ CORTEX_STEP_TYPE_USER_INPUT = 14;
3331
+ CORTEX_STEP_TYPE_PLANNER_RESPONSE = 15;
3332
+ CORTEX_STEP_TYPE_WRITE_TO_FILE = 16 [deprecated = true];
3333
+ CORTEX_STEP_TYPE_ERROR_MESSAGE = 17;
3334
+ CORTEX_STEP_TYPE_CLUSTER_QUERY = 18;
3335
+ CORTEX_STEP_TYPE_LIST_CLUSTERS = 19;
3336
+ CORTEX_STEP_TYPE_INSPECT_CLUSTER = 20;
3337
+ CORTEX_STEP_TYPE_RUN_COMMAND = 21;
3338
+ CORTEX_STEP_TYPE_RELATED_FILES = 22;
3339
+ CORTEX_STEP_TYPE_CHECKPOINT = 23;
3340
+ CORTEX_STEP_TYPE_PROPOSE_CODE = 24;
3341
+ CORTEX_STEP_TYPE_FIND = 25;
3342
+ CORTEX_STEP_TYPE_SEARCH_KNOWLEDGE_BASE = 26 [deprecated = true];
3343
+ CORTEX_STEP_TYPE_SUGGESTED_RESPONSES = 27;
3344
+ CORTEX_STEP_TYPE_COMMAND_STATUS = 28;
3345
+ CORTEX_STEP_TYPE_MEMORY = 29;
3346
+ CORTEX_STEP_TYPE_LOOKUP_KNOWLEDGE_BASE = 30 [deprecated = true];
3347
+ CORTEX_STEP_TYPE_READ_URL_CONTENT = 31;
3348
+ CORTEX_STEP_TYPE_VIEW_CONTENT_CHUNK = 32;
3349
+ CORTEX_STEP_TYPE_SEARCH_WEB = 33;
3350
+ CORTEX_STEP_TYPE_RETRIEVE_MEMORY = 34;
3351
+ CORTEX_STEP_TYPE_AUTO_CASCADE_BROADCAST = 35;
3352
+ CORTEX_STEP_TYPE_CUSTOM_TOOL = 36;
3353
+ CORTEX_STEP_TYPE_CREATE_RECIPE = 37 [deprecated = true];
3354
+ CORTEX_STEP_TYPE_MCP_TOOL = 38;
3355
+ CORTEX_STEP_TYPE_MANAGER_FEEDBACK = 39;
3356
+ CORTEX_STEP_TYPE_TOOL_CALL_PROPOSAL = 40;
3357
+ CORTEX_STEP_TYPE_TOOL_CALL_CHOICE = 41;
3358
+ CORTEX_STEP_TYPE_TRAJECTORY_CHOICE = 42;
3359
+ CORTEX_STEP_TYPE_PROXY_WEB_SERVER = 43;
3360
+ CORTEX_STEP_TYPE_DEPLOY_WEB_APP = 44;
3361
+ CORTEX_STEP_TYPE_CLIPBOARD = 45;
3362
+ CORTEX_STEP_TYPE_READ_DEPLOYMENT_CONFIG = 46;
3363
+ CORTEX_STEP_TYPE_VIEW_FILE_OUTLINE = 47 [deprecated = true];
3364
+ CORTEX_STEP_TYPE_CHECK_DEPLOY_STATUS = 48;
3365
+ CORTEX_STEP_TYPE_POST_PR_REVIEW = 49;
3366
+ CORTEX_STEP_TYPE_READ_KNOWLEDGE_BASE_ITEM = 50;
3367
+ CORTEX_STEP_TYPE_LIST_RESOURCES = 51;
3368
+ CORTEX_STEP_TYPE_READ_RESOURCE = 52;
3369
+ CORTEX_STEP_TYPE_LINT_DIFF = 53;
3370
+ CORTEX_STEP_TYPE_FIND_ALL_REFERENCES = 54;
3371
+ CORTEX_STEP_TYPE_BRAIN_UPDATE = 55;
3372
+ CORTEX_STEP_TYPE_RUN_EXTENSION_CODE = 57;
3373
+ CORTEX_STEP_TYPE_ADD_ANNOTATION = 58;
3374
+ CORTEX_STEP_TYPE_PROPOSAL_FEEDBACK = 59;
3375
+ CORTEX_STEP_TYPE_TRAJECTORY_SEARCH = 60;
3376
+ CORTEX_STEP_TYPE_READ_TERMINAL = 65;
3377
+ CORTEX_STEP_TYPE_GET_DOM_TREE = 68 [deprecated = true];
3378
+ CORTEX_STEP_TYPE_ARTIFACT_SUMMARY = 71 [deprecated = true];
3379
+ CORTEX_STEP_TYPE_RESOLVE_TASK = 72;
3380
+ CORTEX_STEP_TYPE_TODO_LIST = 73;
3381
+ CORTEX_STEP_TYPE_BLOCKING = 74;
3382
+ CORTEX_STEP_TYPE_EXPLORE_RESPONSE = 80;
3383
+ CORTEX_STEP_TYPE_READ_NOTEBOOK = 82;
3384
+ CORTEX_STEP_TYPE_EDIT_NOTEBOOK = 83;
3385
+ CORTEX_STEP_TYPE_SUPERCOMPLETE_ACTIVE_DOC = 86;
3386
+ CORTEX_STEP_TYPE_FIND_CODE_CONTEXT = 87;
3387
+ CORTEX_STEP_TYPE_SUPERCOMPLETE_FEEDBACK = 89;
3388
+ CORTEX_STEP_TYPE_LINT_FIX_MESSAGE = 90;
3389
+ CORTEX_STEP_TYPE_GREP_SEARCH_V2 = 91;
3390
+ CORTEX_STEP_TYPE_UPSERT_CODEMAP = 92;
3391
+ CORTEX_STEP_TYPE_SUGGEST_CODEMAP = 93;
3392
+ CORTEX_STEP_TYPE_SMART_FRIEND = 94;
3393
+ CORTEX_STEP_TYPE_DO_TESTING = 95;
3394
+ CORTEX_STEP_TYPE_REPORT_BUGS = 97;
3395
+ CORTEX_STEP_TYPE_EXIT_PLAN_MODE = 99;
3396
+ CORTEX_STEP_TYPE_ASK_USER_QUESTION = 100;
3397
+ CORTEX_STEP_TYPE_SKILL = 101;
3398
+ CORTEX_STEP_TYPE_SUPERCOMPLETE_EPHEMERAL_FEEDBACK = 102;
3399
+ CORTEX_STEP_TYPE_ARENA_TRAJECTORY_CONVERGE = 103;
3400
+ }
3401
+
3402
+ enum SemanticCodebaseSearchType {
3403
+ SEMANTIC_CODEBASE_SEARCH_TYPE_UNSPECIFIED = 0;
3404
+ SEMANTIC_CODEBASE_SEARCH_TYPE_MQUERY = 1;
3405
+ SEMANTIC_CODEBASE_SEARCH_TYPE_VECTOR_INDEX = 2;
3406
+ }
3407
+
3408
+ enum AcknowledgementType {
3409
+ ACKNOWLEDGEMENT_TYPE_UNSPECIFIED = 0;
3410
+ ACKNOWLEDGEMENT_TYPE_ACCEPT = 1;
3411
+ ACKNOWLEDGEMENT_TYPE_REJECT = 2;
3412
+ }
3413
+
3414
+ enum CodeHeuristicFailure {
3415
+ CODE_HEURISTIC_FAILURE_UNSPECIFIED = 0;
3416
+ CODE_HEURISTIC_FAILURE_LAZY_COMMENT = 1;
3417
+ CODE_HEURISTIC_FAILURE_DELETED_LINES = 2;
3418
+ }
3419
+
3420
+ enum InformPlannerMode {
3421
+ INFORM_PLANNER_MODE_UNSPECIFIED = 0;
3422
+ INFORM_PLANNER_MODE_CCIS = 1;
3423
+ INFORM_PLANNER_MODE_DIRECTORY_TREE = 2;
3424
+ INFORM_PLANNER_MODE_CLUSTERS = 3;
3425
+ }
3426
+
3427
+ enum FindResultType {
3428
+ FIND_RESULT_TYPE_UNSPECIFIED = 0;
3429
+ FIND_RESULT_TYPE_FILE = 1;
3430
+ FIND_RESULT_TYPE_DIRECTORY = 2;
3431
+ FIND_RESULT_TYPE_ANY = 3;
3432
+ }
3433
+
3434
+ enum CortexStepCompileTool {
3435
+ CORTEX_STEP_COMPILE_TOOL_UNSPECIFIED = 0;
3436
+ CORTEX_STEP_COMPILE_TOOL_PYLINT = 1;
3437
+ }
3438
+
3439
+ enum AutoRunDecision {
3440
+ AUTO_RUN_DECISION_UNSPECIFIED = 0;
3441
+ AUTO_RUN_DECISION_USER_ALLOW = 1;
3442
+ AUTO_RUN_DECISION_USER_DENY = 2;
3443
+ AUTO_RUN_DECISION_SYSTEM_ALLOW = 3;
3444
+ AUTO_RUN_DECISION_SYSTEM_DENY = 4;
3445
+ AUTO_RUN_DECISION_MODEL_ALLOW = 5;
3446
+ AUTO_RUN_DECISION_MODEL_DENY = 6;
3447
+ AUTO_RUN_DECISION_DEFAULT_ALLOW = 7;
3448
+ AUTO_RUN_DECISION_DEFAULT_DENY = 8;
3449
+ AUTO_RUN_DECISION_USER_SKIP = 9;
3450
+ }
3451
+
3452
+ enum DeployWebAppFileUploadStatus {
3453
+ DEPLOY_WEB_APP_FILE_UPLOAD_STATUS_UNSPECIFIED = 0;
3454
+ DEPLOY_WEB_APP_FILE_UPLOAD_STATUS_PENDING = 1;
3455
+ DEPLOY_WEB_APP_FILE_UPLOAD_STATUS_IN_PROGRESS = 2;
3456
+ DEPLOY_WEB_APP_FILE_UPLOAD_STATUS_SUCCESS = 3;
3457
+ DEPLOY_WEB_APP_FILE_UPLOAD_STATUS_FAILURE = 4;
3458
+ }
3459
+
3460
+ enum ExecutorTerminationReason {
3461
+ EXECUTOR_TERMINATION_REASON_UNSPECIFIED = 0;
3462
+ EXECUTOR_TERMINATION_REASON_ERROR = 1;
3463
+ EXECUTOR_TERMINATION_REASON_USER_CANCELED = 2;
3464
+ EXECUTOR_TERMINATION_REASON_MAX_INVOCATIONS = 3;
3465
+ EXECUTOR_TERMINATION_REASON_NO_TOOL_CALL = 4;
3466
+ EXECUTOR_TERMINATION_REASON_HALTED_STEP = 5;
3467
+ EXECUTOR_TERMINATION_REASON_HOOK_BLOCKED = 6;
3468
+ EXECUTOR_TERMINATION_REASON_ARENA_INVOCATION_CAP = 7;
3469
+ }
3470
+
3471
+ enum LintDiffType {
3472
+ LINT_DIFF_TYPE_UNSPECIFIED = 0;
3473
+ LINT_DIFF_TYPE_DELETE = 1;
3474
+ LINT_DIFF_TYPE_INSERT = 2;
3475
+ LINT_DIFF_TYPE_UNCHANGED = 3;
3476
+ }
3477
+
3478
+ enum BrainEntryType {
3479
+ BRAIN_ENTRY_TYPE_UNSPECIFIED = 0;
3480
+ BRAIN_ENTRY_TYPE_PLAN = 1;
3481
+ BRAIN_ENTRY_TYPE_TASK = 2;
3482
+ }
3483
+
3484
+ enum TaskStatus {
3485
+ TASK_STATUS_UNSPECIFIED = 0;
3486
+ TASK_STATUS_TODO = 1;
3487
+ TASK_STATUS_IN_PROGRESS = 2;
3488
+ TASK_STATUS_DONE = 3;
3489
+ }
3490
+
3491
+ enum TaskDeltaType {
3492
+ TASK_DELTA_TYPE_UNSPECIFIED = 0;
3493
+ TASK_DELTA_TYPE_ADD = 1;
3494
+ TASK_DELTA_TYPE_PRUNE = 2;
3495
+ TASK_DELTA_TYPE_DELETE = 3;
3496
+ TASK_DELTA_TYPE_UPDATE = 4;
3497
+ TASK_DELTA_TYPE_MOVE = 5;
3498
+ }
3499
+
3500
+ enum BrainUpdateTrigger {
3501
+ BRAIN_UPDATE_TRIGGER_UNSPECIFIED = 0;
3502
+ BRAIN_UPDATE_TRIGGER_SYSTEM_FORCED = 1;
3503
+ BRAIN_UPDATE_TRIGGER_USER_REQUESTED = 2;
3504
+ BRAIN_UPDATE_TRIGGER_USER_NEW_INFO = 3;
3505
+ BRAIN_UPDATE_TRIGGER_RESEARCH_NEW_INFO = 4;
3506
+ }
3507
+
3508
+ enum CommandOutputPriority {
3509
+ COMMAND_OUTPUT_PRIORITY_UNSPECIFIED = 0;
3510
+ COMMAND_OUTPUT_PRIORITY_TOP = 1;
3511
+ COMMAND_OUTPUT_PRIORITY_BOTTOM = 2;
3512
+ COMMAND_OUTPUT_PRIORITY_SPLIT = 3;
3513
+ }
3514
+
3515
+ enum CortexMemorySource {
3516
+ CORTEX_MEMORY_SOURCE_UNSPECIFIED = 0;
3517
+ CORTEX_MEMORY_SOURCE_USER = 1;
3518
+ CORTEX_MEMORY_SOURCE_CASCADE = 2;
3519
+ CORTEX_MEMORY_SOURCE_AUTO_CASCADE = 3;
3520
+ }
3521
+
3522
+ enum CortexMemoryTrigger {
3523
+ CORTEX_MEMORY_TRIGGER_UNSPECIFIED = 0;
3524
+ CORTEX_MEMORY_TRIGGER_ALWAYS_ON = 1;
3525
+ CORTEX_MEMORY_TRIGGER_MODEL_DECISION = 2;
3526
+ CORTEX_MEMORY_TRIGGER_MANUAL = 3;
3527
+ CORTEX_MEMORY_TRIGGER_GLOB = 4;
3528
+ }
3529
+
3530
+ enum RuleSource {
3531
+ RULE_SOURCE_UNSPECIFIED = 0;
3532
+ RULE_SOURCE_WORKSPACE = 1;
3533
+ RULE_SOURCE_SYSTEM = 2;
3534
+ }
3535
+
3536
+ enum MemoryActionType {
3537
+ MEMORY_ACTION_TYPE_UNSPECIFIED = 0;
3538
+ MEMORY_ACTION_TYPE_CREATE = 1;
3539
+ MEMORY_ACTION_TYPE_UPDATE = 2;
3540
+ MEMORY_ACTION_TYPE_DELETE = 3;
3541
+ }
3542
+
3543
+ enum CortexStepManagerFeedbackStatus {
3544
+ CORTEX_STEP_MANAGER_FEEDBACK_STATUS_UNSPECIFIED = 0;
3545
+ CORTEX_STEP_MANAGER_FEEDBACK_STATUS_APPROVED = 1;
3546
+ CORTEX_STEP_MANAGER_FEEDBACK_STATUS_DENIED = 2;
3547
+ CORTEX_STEP_MANAGER_FEEDBACK_STATUS_ERROR = 3;
3548
+ }
3549
+
3550
+ enum McpServerStatus {
3551
+ MCP_SERVER_STATUS_UNSPECIFIED = 0;
3552
+ MCP_SERVER_STATUS_PENDING = 1;
3553
+ MCP_SERVER_STATUS_READY = 2;
3554
+ MCP_SERVER_STATUS_ERROR = 3;
3555
+ MCP_SERVER_STATUS_NEEDS_OAUTH = 4;
3556
+ }
3557
+
3558
+ enum CortexTodoListItemStatus {
3559
+ CORTEX_TODO_LIST_ITEM_STATUS_UNSPECIFIED = 0;
3560
+ CORTEX_TODO_LIST_ITEM_STATUS_PENDING = 1;
3561
+ CORTEX_TODO_LIST_ITEM_STATUS_IN_PROGRESS = 2;
3562
+ CORTEX_TODO_LIST_ITEM_STATUS_COMPLETED = 3;
3563
+ }
3564
+
3565
+ enum CortexTodoListItemPriority {
3566
+ CORTEX_TODO_LIST_ITEM_PRIORITY_UNSPECIFIED = 0;
3567
+ CORTEX_TODO_LIST_ITEM_PRIORITY_LOW = 1;
3568
+ CORTEX_TODO_LIST_ITEM_PRIORITY_MEDIUM = 2;
3569
+ CORTEX_TODO_LIST_ITEM_PRIORITY_HIGH = 3;
3570
+ }
3571
+
3572
+ enum TrajectoryShareStatus {
3573
+ TRAJECTORY_SHARE_STATUS_UNSPECIFIED = 0;
3574
+ TRAJECTORY_SHARE_STATUS_TEAM = 1;
3575
+ }
3576
+
3577
+ enum RunExtensionCodeAutoRunDecision {
3578
+ RUN_EXTENSION_CODE_AUTO_RUN_DECISION_UNSPECIFIED = 0;
3579
+ RUN_EXTENSION_CODE_AUTO_RUN_DECISION_ALLOWED = 1;
3580
+ RUN_EXTENSION_CODE_AUTO_RUN_DECISION_DENIED = 2;
3581
+ RUN_EXTENSION_CODE_AUTO_RUN_DECISION_MODEL_ALLOWED = 3;
3582
+ RUN_EXTENSION_CODE_AUTO_RUN_DECISION_MODEL_DENIED = 4;
3583
+ }
3584
+
3585
+ enum TrajectorySearchIdType {
3586
+ TRAJECTORY_SEARCH_ID_TYPE_UNSPECIFIED = 0;
3587
+ TRAJECTORY_SEARCH_ID_TYPE_CASCADE_ID = 1;
3588
+ TRAJECTORY_SEARCH_ID_TYPE_MAINLINE = 2;
3589
+ }
3590
+
3591
+ enum HookAgentAction {
3592
+ HOOK_AGENT_ACTION_UNSPECIFIED = 0;
3593
+ HOOK_AGENT_ACTION_PRE_READ_CODE = 1;
3594
+ HOOK_AGENT_ACTION_POST_READ_CODE = 2;
3595
+ HOOK_AGENT_ACTION_PRE_WRITE_CODE = 3;
3596
+ HOOK_AGENT_ACTION_POST_WRITE_CODE = 4;
3597
+ HOOK_AGENT_ACTION_PRE_MCP_TOOL_USE = 5;
3598
+ HOOK_AGENT_ACTION_POST_MCP_TOOL_USE = 6;
3599
+ HOOK_AGENT_ACTION_PRE_RUN_COMMAND = 7;
3600
+ HOOK_AGENT_ACTION_POST_RUN_COMMAND = 8;
3601
+ HOOK_AGENT_ACTION_PRE_USER_PROMPT = 9;
3602
+ HOOK_AGENT_ACTION_POST_CASCADE_RESPONSE = 10;
3603
+ HOOK_AGENT_ACTION_POST_SETUP_WORKTREE = 11;
3604
+ }