@oh-my-pi/pi-catalog 17.3.8 → 17.4.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 (69) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/types/build.d.ts +5 -0
  3. package/dist/types/discovery/cursor-proto.d.ts +5362 -0
  4. package/dist/types/discovery/devin-proto.d.ts +1549 -0
  5. package/dist/types/discovery/index.d.ts +1 -0
  6. package/dist/types/discovery/protobuf.d.ts +102 -0
  7. package/dist/types/identity/family.d.ts +10 -0
  8. package/dist/types/index.d.ts +1 -0
  9. package/dist/types/model-tokenizer.d.ts +8 -0
  10. package/dist/types/types.d.ts +15 -0
  11. package/package.json +5 -6
  12. package/src/build.ts +7 -0
  13. package/src/discovery/cursor-proto.ts +8322 -0
  14. package/src/discovery/cursor.ts +2 -2
  15. package/src/discovery/devin-proto.ts +2037 -0
  16. package/src/discovery/devin.ts +4 -3
  17. package/src/discovery/index.ts +1 -0
  18. package/src/discovery/protobuf.ts +1073 -0
  19. package/src/hosts.ts +22 -1
  20. package/src/identity/family.ts +21 -0
  21. package/src/index.ts +1 -0
  22. package/src/model-tokenizer.ts +75 -0
  23. package/src/models.json +185020 -2079
  24. package/src/models.ts +6 -5
  25. package/src/provider-models/bundled-references.ts +12 -2
  26. package/src/provider-models/openai-compat.ts +120 -50
  27. package/src/types.ts +24 -0
  28. package/dist/types/discovery/cursor-gen/agent_pb.d.ts +0 -16854
  29. package/dist/types/discovery/devin-gen/buf/validate/validate_pb.d.ts +0 -1715
  30. package/dist/types/discovery/devin-gen/exa/analytics_pb/analytics_pb.d.ts +0 -693
  31. package/dist/types/discovery/devin-gen/exa/api_server_pb/api_server_pb.d.ts +0 -9158
  32. package/dist/types/discovery/devin-gen/exa/auth_pb/auth_pb.d.ts +0 -52
  33. package/dist/types/discovery/devin-gen/exa/auto_cascade_common_pb/auto_cascade_common_pb.d.ts +0 -276
  34. package/dist/types/discovery/devin-gen/exa/bug_checker_pb/bug_checker_pb.d.ts +0 -78
  35. package/dist/types/discovery/devin-gen/exa/cascade_plugins_pb/cascade_plugins_pb.d.ts +0 -999
  36. package/dist/types/discovery/devin-gen/exa/chat_pb/chat_pb.d.ts +0 -1704
  37. package/dist/types/discovery/devin-gen/exa/code_edit/code_edit_pb/code_edit_pb.d.ts +0 -656
  38. package/dist/types/discovery/devin-gen/exa/codeium_common_pb/codeium_common_pb.d.ts +0 -15014
  39. package/dist/types/discovery/devin-gen/exa/context_module_pb/context_module_pb.d.ts +0 -607
  40. package/dist/types/discovery/devin-gen/exa/cortex_pb/cortex_pb.d.ts +0 -11830
  41. package/dist/types/discovery/devin-gen/exa/diff_action_pb/diff_action_pb.d.ts +0 -248
  42. package/dist/types/discovery/devin-gen/exa/index_pb/index_pb.d.ts +0 -1747
  43. package/dist/types/discovery/devin-gen/exa/knowledge_base_pb/knowledge_base_pb.d.ts +0 -509
  44. package/dist/types/discovery/devin-gen/exa/language_server_pb/language_server_pb.d.ts +0 -9048
  45. package/dist/types/discovery/devin-gen/exa/opensearch_clients_pb/opensearch_clients_pb.d.ts +0 -1760
  46. package/dist/types/discovery/devin-gen/exa/prompt_pb/prompt_pb.d.ts +0 -286
  47. package/dist/types/discovery/devin-gen/exa/reactive_component_pb/reactive_component_pb.d.ts +0 -405
  48. package/dist/types/discovery/devin-gen/exa/trust_pb/trust_pb.d.ts +0 -582
  49. package/src/discovery/cursor-gen/agent_pb.ts +0 -19608
  50. package/src/discovery/devin-gen/buf/validate/validate_pb.ts +0 -1862
  51. package/src/discovery/devin-gen/exa/analytics_pb/analytics_pb.ts +0 -871
  52. package/src/discovery/devin-gen/exa/api_server_pb/api_server_pb.ts +0 -11083
  53. package/src/discovery/devin-gen/exa/auth_pb/auth_pb.ts +0 -71
  54. package/src/discovery/devin-gen/exa/auto_cascade_common_pb/auto_cascade_common_pb.ts +0 -348
  55. package/src/discovery/devin-gen/exa/bug_checker_pb/bug_checker_pb.ts +0 -103
  56. package/src/discovery/devin-gen/exa/cascade_plugins_pb/cascade_plugins_pb.ts +0 -1198
  57. package/src/discovery/devin-gen/exa/chat_pb/chat_pb.ts +0 -2063
  58. package/src/discovery/devin-gen/exa/code_edit/code_edit_pb/code_edit_pb.ts +0 -810
  59. package/src/discovery/devin-gen/exa/codeium_common_pb/codeium_common_pb.ts +0 -18354
  60. package/src/discovery/devin-gen/exa/context_module_pb/context_module_pb.ts +0 -732
  61. package/src/discovery/devin-gen/exa/cortex_pb/cortex_pb.ts +0 -14277
  62. package/src/discovery/devin-gen/exa/diff_action_pb/diff_action_pb.ts +0 -312
  63. package/src/discovery/devin-gen/exa/index_pb/index_pb.ts +0 -2106
  64. package/src/discovery/devin-gen/exa/knowledge_base_pb/knowledge_base_pb.ts +0 -623
  65. package/src/discovery/devin-gen/exa/language_server_pb/language_server_pb.ts +0 -10918
  66. package/src/discovery/devin-gen/exa/opensearch_clients_pb/opensearch_clients_pb.ts +0 -2125
  67. package/src/discovery/devin-gen/exa/prompt_pb/prompt_pb.ts +0 -361
  68. package/src/discovery/devin-gen/exa/reactive_component_pb/reactive_component_pb.ts +0 -450
  69. package/src/discovery/devin-gen/exa/trust_pb/trust_pb.ts +0 -712
@@ -0,0 +1,2037 @@
1
+ // @generated by packages/catalog/scripts/proto-parser.ts - DO NOT EDIT
2
+
3
+ /**
4
+ * Devin protocol declarations used by Oh My Pi.
5
+ *
6
+ * Each declaration retains only fields consumed by the client or its protocol tests.
7
+ */
8
+ import { pb, type MessageCodec, type ProtoMessage } from "./protobuf";
9
+
10
+ /** Devin enum APIProvider. */
11
+ export enum APIProvider {
12
+ UNSPECIFIED = 0,
13
+ INTERNAL = 1,
14
+ OPENAI = 2,
15
+ GOOGLE_VERTEX = 3,
16
+ ANTHROPIC = 4,
17
+ VLLM = 5,
18
+ TOGETHER_AI = 6,
19
+ HUGGING_FACE = 7,
20
+ NOMIC = 8,
21
+ TEI = 9,
22
+ OPENAI_COMPATIBLE_EXTERNAL = 10,
23
+ ANTHROPIC_COMPATIBLE_EXTERNAL = 11,
24
+ VERTEX_COMPATIBLE_EXTERNAL = 12,
25
+ BEDROCK_COMPATIBLE_EXTERNAL = 13,
26
+ AZURE_COMPATIBLE_EXTERNAL = 14,
27
+ ANTHROPIC_BEDROCK = 15,
28
+ FIREWORKS = 16,
29
+ OPEN_ROUTER = 17,
30
+ XAI = 18,
31
+ ANTHROPIC_BYOK = 20,
32
+ CEREBRAS = 21,
33
+ XAI_BYOK = 22,
34
+ GEMINI_OPENAI = 23,
35
+ GOOGLE_GEMINI = 24,
36
+ GOOGLE_GENAI_VERTEX = 25,
37
+ ANTHROPIC_VERTEX = 26,
38
+ DATABRICKS = 27,
39
+ OPEN_ROUTER_BYOK = 28,
40
+ ANTHROPIC_DEVIN = 29,
41
+ FIREWORKS_DEVIN = 30,
42
+ GROQ = 31,
43
+ OPENAI_DEVIN = 32,
44
+ LLAMA_FT_DEEPWIKI = 33,
45
+ XAI_INTERNAL = 34,
46
+ FLOODGATE = 36,
47
+ ANTHROPIC_BEDROCK_US = 37,
48
+ ANTHROPIC_BEDROCK_GLOBAL = 38,
49
+ MODAL = 40,
50
+ GOOGLE_GEMINI_DEVIN = 41,
51
+ FIREWORKS_COGNITION = 42,
52
+ GOOGLE_GENAI_VERTEX_GLOBAL = 43,
53
+ ANTHROPIC_VERTEX_US = 44,
54
+ ANTHROPIC_VERTEX_EU = 45,
55
+ ANTHROPIC_VERTEX_GLOBAL = 46,
56
+ FIREWORKS_COGNITION_INTERNAL = 47,
57
+ ANTHROPIC_DATABRICKS = 48,
58
+ GEMINI_DATABRICKS = 49,
59
+ MIMIC = 50,
60
+ ANTHROPIC_NON_ZDR = 51,
61
+ ANTHROPIC_DEVIN_NON_ZDR = 52,
62
+ DATA_RETENTION_WORKSPACE_ANTHROPIC = 53,
63
+ SGLANG = 60,
64
+ AZURE_OPENAI_FEDERATED = 61,
65
+ }
66
+
67
+ /** Devin enum AuthSource. */
68
+ export enum AuthSource {
69
+ CODEIUM = 0,
70
+ DEEPNOTE = 1,
71
+ CODESANDBOX = 2,
72
+ STACKBLITZ = 3,
73
+ VALTOWN = 4,
74
+ HEX = 5,
75
+ ZAPIER = 6,
76
+ SUPERBLOCKS = 7,
77
+ EMBARCADERO = 8,
78
+ }
79
+
80
+ /** Devin enum CacheControlType. */
81
+ export enum CacheControlType {
82
+ UNSPECIFIED = 0,
83
+ EPHEMERAL = 1,
84
+ }
85
+
86
+ /** Devin enum ChatMessageRequestType. */
87
+ export enum ChatMessageRequestType {
88
+ UNSPECIFIED = 0,
89
+ GENERAL = 1,
90
+ CONTEXT_CHECK = 2,
91
+ PLAN = 3,
92
+ COMMAND = 4,
93
+ CASCADE = 5,
94
+ EVAL = 6,
95
+ WINDSURF_REVIEW = 7,
96
+ VIBE_AND_REPLACE = 8,
97
+ DEEPWIKI = 9,
98
+ DEVSTRAL = 10,
99
+ CODEMAP_GENERATION = 11,
100
+ CODEMAP_SUGGESTIONS = 12,
101
+ SMART_FRIEND = 13,
102
+ LIFEGUARD = 14,
103
+ CHECKPOINT = 15,
104
+ }
105
+
106
+ /** Devin enum ChatMessageSource. */
107
+ export enum ChatMessageSource {
108
+ UNSPECIFIED = 0,
109
+ USER = 1,
110
+ SYSTEM = 2,
111
+ UNKNOWN = 3,
112
+ TOOL = 4,
113
+ SYSTEM_PROMPT = 5,
114
+ }
115
+
116
+ /** Devin enum ConversationalPlannerMode. */
117
+ export enum ConversationalPlannerMode {
118
+ UNSPECIFIED = 0,
119
+ DEFAULT = 1,
120
+ READ_ONLY = 2,
121
+ NO_TOOL = 3,
122
+ EXPLORE = 4,
123
+ PLANNING = 5,
124
+ AUTO = 6,
125
+ }
126
+
127
+ /** Devin enum CortexStepType. */
128
+ export enum CortexStepType {
129
+ UNSPECIFIED = 0,
130
+ DUMMY = 1,
131
+ FINISH = 2,
132
+ PLAN_INPUT = 3,
133
+ MQUERY = 4,
134
+ CODE_ACTION = 5,
135
+ GIT_COMMIT = 6,
136
+ GREP_SEARCH = 7,
137
+ VIEW_FILE = 8,
138
+ LIST_DIRECTORY = 9,
139
+ COMPILE = 10,
140
+ INFORM = 11,
141
+ FILE_BREAKDOWN = 12,
142
+ VIEW_CODE_ITEM = 13,
143
+ USER_INPUT = 14,
144
+ PLANNER_RESPONSE = 15,
145
+ WRITE_TO_FILE = 16,
146
+ ERROR_MESSAGE = 17,
147
+ CLUSTER_QUERY = 18,
148
+ LIST_CLUSTERS = 19,
149
+ INSPECT_CLUSTER = 20,
150
+ RUN_COMMAND = 21,
151
+ RELATED_FILES = 22,
152
+ CHECKPOINT = 23,
153
+ PROPOSE_CODE = 24,
154
+ FIND = 25,
155
+ SEARCH_KNOWLEDGE_BASE = 26,
156
+ SUGGESTED_RESPONSES = 27,
157
+ COMMAND_STATUS = 28,
158
+ MEMORY = 29,
159
+ LOOKUP_KNOWLEDGE_BASE = 30,
160
+ READ_URL_CONTENT = 31,
161
+ VIEW_CONTENT_CHUNK = 32,
162
+ SEARCH_WEB = 33,
163
+ RETRIEVE_MEMORY = 34,
164
+ AUTO_CASCADE_BROADCAST = 35,
165
+ CUSTOM_TOOL = 36,
166
+ CREATE_RECIPE = 37,
167
+ MCP_TOOL = 38,
168
+ MANAGER_FEEDBACK = 39,
169
+ TOOL_CALL_PROPOSAL = 40,
170
+ TOOL_CALL_CHOICE = 41,
171
+ TRAJECTORY_CHOICE = 42,
172
+ PROXY_WEB_SERVER = 43,
173
+ DEPLOY_WEB_APP = 44,
174
+ CLIPBOARD = 45,
175
+ READ_DEPLOYMENT_CONFIG = 46,
176
+ VIEW_FILE_OUTLINE = 47,
177
+ CHECK_DEPLOY_STATUS = 48,
178
+ POST_PR_REVIEW = 49,
179
+ READ_KNOWLEDGE_BASE_ITEM = 50,
180
+ LIST_RESOURCES = 51,
181
+ READ_RESOURCE = 52,
182
+ LINT_DIFF = 53,
183
+ FIND_ALL_REFERENCES = 54,
184
+ BRAIN_UPDATE = 55,
185
+ RUN_EXTENSION_CODE = 57,
186
+ ADD_ANNOTATION = 58,
187
+ PROPOSAL_FEEDBACK = 59,
188
+ TRAJECTORY_SEARCH = 60,
189
+ READ_TERMINAL = 65,
190
+ GET_DOM_TREE = 68,
191
+ ARTIFACT_SUMMARY = 71,
192
+ RESOLVE_TASK = 72,
193
+ TODO_LIST = 73,
194
+ BLOCKING = 74,
195
+ EXPLORE_RESPONSE = 80,
196
+ READ_NOTEBOOK = 82,
197
+ EDIT_NOTEBOOK = 83,
198
+ SUPERCOMPLETE_ACTIVE_DOC = 86,
199
+ FIND_CODE_CONTEXT = 87,
200
+ SUPERCOMPLETE_FEEDBACK = 89,
201
+ LINT_FIX_MESSAGE = 90,
202
+ GREP_SEARCH_V2 = 91,
203
+ UPSERT_CODEMAP = 92,
204
+ SUGGEST_CODEMAP = 93,
205
+ SMART_FRIEND = 94,
206
+ DO_TESTING = 95,
207
+ REPORT_BUGS = 97,
208
+ EXIT_PLAN_MODE = 99,
209
+ ASK_USER_QUESTION = 100,
210
+ SKILL = 101,
211
+ SUPERCOMPLETE_EPHEMERAL_FEEDBACK = 102,
212
+ ARENA_TRAJECTORY_CONVERGE = 103,
213
+ TASK_SUBAGENT = 104,
214
+ }
215
+
216
+ /** Devin enum CortexTrajectoryType. */
217
+ export enum CortexTrajectoryType {
218
+ UNSPECIFIED = 0,
219
+ USER_MAINLINE = 1,
220
+ USER_GRANULAR = 2,
221
+ SUPERCOMPLETE = 3,
222
+ CASCADE = 4,
223
+ BACKGROUND_RESEARCH = 5,
224
+ CHECKPOINT = 6,
225
+ RETRIEVE_MEMORY = 7,
226
+ CUSTOM_TOOL = 8,
227
+ AUTO_CASCADE = 9,
228
+ AUTO_CASCADE_MANAGER = 10,
229
+ APPLIER = 11,
230
+ TOOL_CALL_PROPOSAL = 12,
231
+ TRAJECTORY_CHOICE = 13,
232
+ LLM_JUDGE = 14,
233
+ ARTIFACT_SUMMARY = 19,
234
+ PASSIVE_CODER = 15,
235
+ INTERACTIVE_CASCADE = 17,
236
+ BRAIN_UPDATE = 16,
237
+ }
238
+
239
+ /** Devin enum DisplayOption. */
240
+ export enum DisplayOption {
241
+ UNSPECIFIED = 0,
242
+ ARENA = 1,
243
+ BATTLE_GROUP_ONLY = 2,
244
+ MODEL_ROUTER = 3,
245
+ QUICK_REVIEW = 4,
246
+ }
247
+
248
+ /** Devin enum ExperimentKey. */
249
+ export enum ExperimentKey {
250
+ UNSPECIFIED = 0,
251
+ USE_INTERNAL_CHAT_MODEL = 36,
252
+ RECORD_FILES = 47,
253
+ NO_SAMPLER_EARLY_STOP = 48,
254
+ CM_MEMORY_TELEMETRY = 53,
255
+ LANGUAGE_SERVER_VERSION = 55,
256
+ LANGUAGE_SERVER_AUTO_RELOAD = 56,
257
+ ONLY_MULTILINE = 60,
258
+ USE_AUTOCOMPLETE_MODEL = 64,
259
+ USE_ATTRIBUTION_FOR_INDIVIDUAL_TIER = 68,
260
+ CHAT_MODEL_CONFIG = 78,
261
+ COMMAND_MODEL_CONFIG = 79,
262
+ MIN_IDE_VERSION = 81,
263
+ API_SERVER_VERBOSE_ERRORS = 84,
264
+ DEFAULT_ENABLE_SEARCH = 86,
265
+ COLLECT_ONBOARDING_EVENTS = 87,
266
+ COLLECT_EXAMPLE_COMPLETIONS = 88,
267
+ USE_MULTILINE_MODEL = 89,
268
+ ATTRIBUTION_KILL_SWITCH = 92,
269
+ FAST_MULTILINE = 94,
270
+ SINGLE_COMPLETION = 95,
271
+ STOP_FIRST_NON_WHITESPACE_LINE = 96,
272
+ CORTEX_CONFIG = 102,
273
+ MODEL_CHAT_11121_VARIANTS = 103,
274
+ INCLUDE_PROMPT_COMPONENTS = 105,
275
+ NON_TEAMS_KILL_SWITCH = 106,
276
+ PERSIST_CODE_TRACKER = 108,
277
+ CHAT_COMPLETION_TOKENS_SOFT_LIMIT = 114,
278
+ CHAT_TOKENS_SOFT_LIMIT = 115,
279
+ DISABLE_COMPLETIONS_CACHE = 118,
280
+ LLAMA3_405B_KILL_SWITCH = 119,
281
+ USE_COMMAND_DOCSTRING_GENERATION = 121,
282
+ ENABLE_SUPERCOMPLETE = 123,
283
+ SENTRY = 136,
284
+ FAST_SINGLELINE = 144,
285
+ R2_LANGUAGE_SERVER_DOWNLOAD = 147,
286
+ SPLIT_MODEL = 152,
287
+ WINDSURF_SENTRY_SAMPLE_RATE = 198,
288
+ API_SERVER_CUTOFF = 158,
289
+ FAST_SPEED_KILL_SWITCH = 159,
290
+ PREDICTIVE_MULTILINE = 160,
291
+ SUPERCOMPLETE_FILTER_REVERT = 125,
292
+ SUPERCOMPLETE_FILTER_PREFIX_MATCH = 126,
293
+ SUPERCOMPLETE_FILTER_SCORE_THRESHOLD = 127,
294
+ SUPERCOMPLETE_FILTER_INSERTION_CAP = 128,
295
+ SUPERCOMPLETE_FILTER_DELETION_CAP = 133,
296
+ SUPERCOMPLETE_FILTER_WHITESPACE_ONLY = 156,
297
+ SUPERCOMPLETE_FILTER_NO_OP = 170,
298
+ SUPERCOMPLETE_FILTER_SUFFIX_MATCH = 176,
299
+ SUPERCOMPLETE_FILTER_PREVIOUSLY_SHOWN = 182,
300
+ SUPERCOMPLETE_MIN_SCORE = 129,
301
+ SUPERCOMPLETE_MAX_INSERTIONS = 130,
302
+ SUPERCOMPLETE_LINE_RADIUS = 131,
303
+ SUPERCOMPLETE_MAX_DELETIONS = 132,
304
+ SUPERCOMPLETE_RECENT_STEPS_DURATION = 138,
305
+ SUPERCOMPLETE_MAX_TRAJECTORY_STEPS = 154,
306
+ SUPERCOMPLETE_MAX_TRAJECTORY_STEP_SIZE = 203,
307
+ SUPERCOMPLETE_DISABLE_TYPING_CACHE = 231,
308
+ SUPERCOMPLETE_ALWAYS_USE_CACHE_ON_EQUAL_STATE = 293,
309
+ SUPERCOMPLETE_CACHE_ON_PARENT_ID_KILL_SWITCH = 297,
310
+ SUPERCOMPLETE_PRUNE_RESPONSE = 140,
311
+ SUPERCOMPLETE_PRUNE_MAX_INSERT_DELETE_LINE_DELTA = 141,
312
+ SUPERCOMPLETE_MODEL_CONFIG = 145,
313
+ SUPERCOMPLETE_MODEL_CONFIG_LOW = 330,
314
+ SUPERCOMPLETE_MODEL_CONFIG_HIGH = 331,
315
+ SUPERCOMPLETE_ON_TAB = 151,
316
+ SUPERCOMPLETE_INLINE_PURE_DELETE = 171,
317
+ SUPERCOMPLETE_INLINE_RICH_GHOST_TEXT_INSERTIONS = 218,
318
+ MODEL_CHAT_19821_VARIANTS = 308,
319
+ SUPERCOMPLETE_MAX_CONCURRENT_REQUESTS = 284,
320
+ COMMAND_PROMPT_CACHE_CONFIG = 255,
321
+ CUMULATIVE_PROMPT_CONFIG = 256,
322
+ CUMULATIVE_PROMPT_CASCADE_CONFIG = 279,
323
+ TAB_JUMP_CUMULATIVE_PROMPT_CONFIG = 301,
324
+ COMPLETION_SPEED_SUPERCOMPLETE_CACHE = 207,
325
+ COMPLETION_SPEED_PREDICTIVE_SUPERCOMPLETE = 208,
326
+ COMPLETION_SPEED_TAB_JUMP_CACHE = 209,
327
+ COMPLETION_SPEED_PREDICTIVE_TAB_JUMP = 210,
328
+ COMPLETION_SPEED_BLOCK_TAB_JUMP_ON_PREDICTIVE_SUPERCOMPLETE = 294,
329
+ JETBRAINS_ENABLE_ONBOARDING = 137,
330
+ ENABLE_AUTOCOMPLETE_DURING_INTELLISENSE = 146,
331
+ COMMAND_BOX_ON_TOP = 155,
332
+ CONTEXT_ACTIVE_DOCUMENT_FRACTION = 149,
333
+ CONTEXT_FORCE_LOCAL_CONTEXT = 178,
334
+ CROSS_SELL_EXTENSION_DOWNLOAD_WINDSURF = 220,
335
+ MODEL_LLAMA_3_1_70B_INSTRUCT_LONG_CONTEXT_VARIANTS = 295,
336
+ USE_AUTOCOMPLETE_MODEL_SERVER_SIDE = 163,
337
+ SUPERCOMPLETE_NO_CONTEXT = 165,
338
+ SUPERCOMPLETE_NO_ACTIVE_NODE = 166,
339
+ TAB_JUMP_ENABLED = 168,
340
+ TAB_JUMP_ACCEPT_ENABLED = 169,
341
+ TAB_JUMP_LINE_RADIUS = 177,
342
+ TAB_JUMP_MIN_FILTER_RADIUS = 197,
343
+ TAB_JUMP_ON_ACCEPT_ONLY = 205,
344
+ TAB_JUMP_FILTER_IN_SELECTION = 215,
345
+ TAB_JUMP_MODEL_CONFIG = 237,
346
+ TAB_JUMP_FILTER_NO_OP = 238,
347
+ TAB_JUMP_FILTER_REVERT = 239,
348
+ TAB_JUMP_FILTER_SCORE_THRESHOLD = 240,
349
+ TAB_JUMP_FILTER_WHITESPACE_ONLY = 241,
350
+ TAB_JUMP_FILTER_INSERTION_CAP = 242,
351
+ TAB_JUMP_FILTER_DELETION_CAP = 243,
352
+ TAB_JUMP_PRUNE_RESPONSE = 260,
353
+ TAB_JUMP_PRUNE_MAX_INSERT_DELETE_LINE_DELTA = 261,
354
+ TAB_JUMP_STOP_TOKEN_MIDSTREAM = 317,
355
+ VIEWED_FILE_TRACKER_CONFIG = 211,
356
+ SNAPSHOT_TO_STEP_OPTIONS_OVERRIDE = 305,
357
+ STREAMING_EXTERNAL_COMMAND = 172,
358
+ USE_SPECIAL_EDIT_CODE_BLOCK = 179,
359
+ ENABLE_SUGGESTED_RESPONSES = 187,
360
+ CASCADE_BASE_MODEL_ID = 190,
361
+ CASCADE_PLAN_BASED_CONFIG_OVERRIDE = 266,
362
+ CASCADE_GLOBAL_CONFIG_OVERRIDE = 212,
363
+ CASCADE_BACKGROUND_RESEARCH_CONFIG_OVERRIDE = 193,
364
+ CASCADE_ENFORCE_QUOTA = 204,
365
+ CASCADE_ENABLE_AUTOMATED_MEMORIES = 224,
366
+ CASCADE_MEMORY_CONFIG_OVERRIDE = 314,
367
+ CASCADE_USE_REPLACE_CONTENT_EDIT_TOOL = 228,
368
+ CASCADE_VIEW_FILE_TOOL_CONFIG_OVERRIDE = 258,
369
+ CASCADE_USE_EXPERIMENT_CHECKPOINTER = 247,
370
+ CASCADE_ENABLE_MCP_TOOLS = 245,
371
+ CASCADE_AUTO_FIX_LINTS = 275,
372
+ USE_ANTHROPIC_TOKEN_EFFICIENT_TOOLS_BETA = 296,
373
+ CASCADE_USER_MEMORIES_IN_SYS_PROMPT = 289,
374
+ CASCADE_ENABLE_PROXY_WEB_SERVER = 290,
375
+ COLLAPSE_ASSISTANT_MESSAGES = 312,
376
+ CASCADE_DEFAULT_MODEL_OVERRIDE = 321,
377
+ ENABLE_SMART_COPY = 181,
378
+ ENABLE_COMMIT_MESSAGE_GENERATION = 185,
379
+ SKIP_CONSISTENCY_MANAGER = 194,
380
+ FIREWORKS_ON_DEMAND_DEPLOYMENT = 276,
381
+ API_SERVER_CLIENT_USE_HTTP_2 = 202,
382
+ AUTOCOMPLETE_DEFAULT_DEBOUNCE_MS = 213,
383
+ AUTOCOMPLETE_FAST_DEBOUNCE_MS = 214,
384
+ PROFILING_TELEMETRY_SAMPLE_RATE = 219,
385
+ STREAM_USER_SHELL_COMMANDS = 225,
386
+ API_SERVER_PROMPT_CACHE_REPLICAS = 307,
387
+ API_SERVER_ENABLE_MORE_LOGGING = 272,
388
+ COMMAND_INJECT_USER_MEMORIES = 233,
389
+ AUTOCOMPLETE_HIDDEN_ERROR_REGEX = 234,
390
+ DISABLE_IDE_COMPLETIONS_DEBOUNCE = 278,
391
+ ENABLE_QUICK_ACTIONS = 250,
392
+ QUICK_ACTIONS_WHITELIST_REGEX = 251,
393
+ CASCADE_NEW_MODELS_NUX = 259,
394
+ CASCADE_NEW_WAVE_2_MODELS_NUX = 270,
395
+ SUPERCOMPLETE_FAST_DEBOUNCE = 262,
396
+ SUPERCOMPLETE_REGULAR_DEBOUNCE = 263,
397
+ XML_TOOL_PARSING_MODELS = 268,
398
+ SUPERCOMPLETE_DONT_FILTER_MID_STREAMED = 269,
399
+ ANNOYANCE_MANAGER_MAX_NAVIGATION_RENDERS = 285,
400
+ ANNOYANCE_MANAGER_INLINE_PREVENTION_THRESHOLD_MS = 286,
401
+ ANNOYANCE_MANAGER_INLINE_PREVENTION_MAX_INTENTIONAL_REJECTIONS = 287,
402
+ ANNOYANCE_MANAGER_INLINE_PREVENTION_MAX_AUTO_REJECTIONS = 288,
403
+ USE_CUSTOM_CHARACTER_DIFF = 292,
404
+ FORCE_NON_OPTIMIZED_DIFF = 298,
405
+ CASCADE_WEB_APP_DEPLOYMENTS_ENABLED = 300,
406
+ CASCADE_RECIPES_AT_MENTION_VISIBILITY = 316,
407
+ IMPLICIT_USES_CLIPBOARD = 310,
408
+ DISABLE_SUPERCOMPLETE_PCW = 303,
409
+ BLOCK_TAB_ON_SHOWN_AUTOCOMPLETE = 304,
410
+ CASCADE_WEB_SEARCH_NUX = 311,
411
+ MODEL_NOTIFICATIONS = 319,
412
+ MODEL_SELECTOR_NUX_COPY = 320,
413
+ CASCADE_TOOL_CALL_PRICING_NUX = 322,
414
+ CASCADE_PLUGINS_TAB = 323,
415
+ WAVE_8_RULES_ENABLED = 324,
416
+ WAVE_8_KNOWLEDGE_ENABLED = 325,
417
+ CASCADE_ONBOARDING = 326,
418
+ CASCADE_ONBOARDING_REVERT = 327,
419
+ CASCADE_WINDSURF_BROWSER_TOOLS_ENABLED = 328,
420
+ CASCADE_MODEL_HEADER_WARNING = 329,
421
+ TEST_ONLY = 999,
422
+ }
423
+
424
+ /** Devin enum ExperimentSource. */
425
+ export enum ExperimentSource {
426
+ UNSPECIFIED = 0,
427
+ EXTENSION = 1,
428
+ LANGUAGE_SERVER = 2,
429
+ API_SERVER = 3,
430
+ }
431
+
432
+ /** Devin enum Language. */
433
+ export enum Language {
434
+ UNSPECIFIED = 0,
435
+ C = 1,
436
+ CLOJURE = 2,
437
+ COFFEESCRIPT = 3,
438
+ CPP = 4,
439
+ CSHARP = 5,
440
+ CSS = 6,
441
+ CUDACPP = 7,
442
+ DOCKERFILE = 8,
443
+ GO = 9,
444
+ GROOVY = 10,
445
+ HANDLEBARS = 11,
446
+ HASKELL = 12,
447
+ HCL = 13,
448
+ HTML = 14,
449
+ INI = 15,
450
+ JAVA = 16,
451
+ JAVASCRIPT = 17,
452
+ JSON = 18,
453
+ JULIA = 19,
454
+ KOTLIN = 20,
455
+ LATEX = 21,
456
+ LESS = 22,
457
+ LUA = 23,
458
+ MAKEFILE = 24,
459
+ MARKDOWN = 25,
460
+ OBJECTIVEC = 26,
461
+ OBJECTIVECPP = 27,
462
+ PERL = 28,
463
+ PHP = 29,
464
+ PLAINTEXT = 30,
465
+ PROTOBUF = 31,
466
+ PBTXT = 32,
467
+ PYTHON = 33,
468
+ R = 34,
469
+ RUBY = 35,
470
+ RUST = 36,
471
+ SASS = 37,
472
+ SCALA = 38,
473
+ SCSS = 39,
474
+ SHELL = 40,
475
+ SQL = 41,
476
+ STARLARK = 42,
477
+ SWIFT = 43,
478
+ TSX = 44,
479
+ TYPESCRIPT = 45,
480
+ VISUALBASIC = 46,
481
+ VUE = 47,
482
+ XML = 48,
483
+ XSL = 49,
484
+ YAML = 50,
485
+ SVELTE = 51,
486
+ TOML = 52,
487
+ DART = 53,
488
+ RST = 54,
489
+ OCAML = 55,
490
+ CMAKE = 56,
491
+ PASCAL = 57,
492
+ ELIXIR = 58,
493
+ FSHARP = 59,
494
+ LISP = 60,
495
+ MATLAB = 61,
496
+ POWERSHELL = 62,
497
+ SOLIDITY = 63,
498
+ ADA = 64,
499
+ OCAML_INTERFACE = 65,
500
+ TREE_SITTER_QUERY = 66,
501
+ APL = 67,
502
+ ASSEMBLY = 68,
503
+ COBOL = 69,
504
+ CRYSTAL = 70,
505
+ EMACS_LISP = 71,
506
+ ERLANG = 72,
507
+ FORTRAN = 73,
508
+ FREEFORM = 74,
509
+ GRADLE = 75,
510
+ HACK = 76,
511
+ MAVEN = 77,
512
+ M68KASSEMBLY = 78,
513
+ SAS = 79,
514
+ UNIXASSEMBLY = 80,
515
+ VBA = 81,
516
+ VIMSCRIPT = 82,
517
+ WEBASSEMBLY = 83,
518
+ BLADE = 84,
519
+ ASTRO = 85,
520
+ MUMPS = 86,
521
+ GDSCRIPT = 87,
522
+ NIM = 88,
523
+ PROLOG = 89,
524
+ MARKDOWN_INLINE = 90,
525
+ APEX = 91,
526
+ JUPYTER_NOTEBOOK = 92,
527
+ }
528
+
529
+ /** Devin enum Model. */
530
+ export enum Model {
531
+ UNSPECIFIED = 0,
532
+ EMBED_6591 = 20,
533
+ MODEL_8341 = 33,
534
+ MODEL_8528 = 42,
535
+ MODEL_9024 = 41,
536
+ MODEL_14602 = 112,
537
+ MODEL_15133 = 115,
538
+ MODEL_15302 = 119,
539
+ MODEL_15335 = 121,
540
+ MODEL_15336 = 122,
541
+ MODEL_15931 = 167,
542
+ QUERY_9905 = 48,
543
+ QUERY_11791 = 66,
544
+ CHAT_11120 = 57,
545
+ CHAT_11121 = 58,
546
+ CHAT_12119 = 70,
547
+ CHAT_12121 = 69,
548
+ CHAT_12437 = 74,
549
+ CHAT_12491 = 76,
550
+ CHAT_12623 = 78,
551
+ CHAT_12950 = 79,
552
+ CHAT_12968 = 101,
553
+ CHAT_13404 = 102,
554
+ CHAT_13566 = 103,
555
+ CHAT_13930 = 108,
556
+ CHAT_14255 = 110,
557
+ CHAT_14256 = 111,
558
+ CHAT_14942 = 114,
559
+ CHAT_15305 = 120,
560
+ CHAT_15600 = 123,
561
+ CHAT_16801 = 124,
562
+ CHAT_16718 = 175,
563
+ CHAT_15729 = 168,
564
+ CHAT_16579 = 173,
565
+ CHAT_16579_CRUSOE = 174,
566
+ CHAT_18805 = 181,
567
+ CHAT_18468 = 210,
568
+ CHAT_19484 = 233,
569
+ CHAT_20706 = 235,
570
+ CHAT_21779 = 245,
571
+ CHAT_19040 = 211,
572
+ CHAT_19820 = 229,
573
+ CHAT_19821 = 230,
574
+ CHAT_19821_CRUSOE = 244,
575
+ CHAT_23310 = 269,
576
+ CHAT_28580 = 330,
577
+ CHAT_28581 = 331,
578
+ CHAT_28582 = 332,
579
+ CHAT_28583 = 333,
580
+ CHAT_28584 = 334,
581
+ CHAT_19822 = 231,
582
+ CHAT_22798 = 255,
583
+ CHAT_22799 = 256,
584
+ CHAT_22800 = 257,
585
+ CHAT_23151 = 267,
586
+ CHAT_23152 = 268,
587
+ TAB_ARMADILLO = 500,
588
+ TAB_BASE_1 = 501,
589
+ TAB_EXPERIMENTAL_1 = 502,
590
+ TAB_EXPERIMENTAL_2 = 503,
591
+ TAB_EXPERIMENTAL_3 = 504,
592
+ TAB_EXPERIMENTAL_4 = 505,
593
+ TAB_EXPERIMENTAL_5 = 506,
594
+ TAB_EXPERIMENTAL_6 = 507,
595
+ TAB_EXPERIMENTAL_7 = 508,
596
+ TAB_EXPERIMENTAL_8 = 509,
597
+ TAB_EXPERIMENTAL_9 = 510,
598
+ TAB_EXPERIMENTAL_10 = 511,
599
+ CASCADE_22893 = 270,
600
+ CASCADE_20064 = 225,
601
+ CASCADE_20065 = 236,
602
+ CASCADE_20066 = 237,
603
+ CASCADE_20067 = 238,
604
+ CASCADE_20068 = 239,
605
+ CASCADE_20069 = 240,
606
+ CASCADE_20070 = 250,
607
+ CASCADE_20071 = 251,
608
+ CASCADE_20072 = 252,
609
+ CASCADE_20073 = 253,
610
+ CASCADE_20074 = 254,
611
+ CASCADE_20075 = 307,
612
+ CASCADE_20076 = 308,
613
+ CASCADE_20077 = 309,
614
+ CASCADE_20078 = 310,
615
+ CASCADE_20079 = 311,
616
+ CASCADE_20080 = 297,
617
+ CASCADE_20081 = 298,
618
+ CASCADE_20082 = 299,
619
+ CASCADE_20083 = 300,
620
+ CASCADE_20084 = 301,
621
+ CASCADE_20085 = 302,
622
+ CASCADE_20086 = 303,
623
+ CASCADE_20087 = 304,
624
+ CASCADE_20088 = 305,
625
+ CASCADE_20089 = 306,
626
+ DEEPSEEK_V3_INTERNAL = 247,
627
+ DEEPSEEK_V3_0324_INTERNAL = 248,
628
+ DEEPSEEK_R1_INTERNAL = 249,
629
+ ANTHROPIC_WINDSURF_RESEARCH = 241,
630
+ ANTHROPIC_WINDSURF_RESEARCH_THINKING = 242,
631
+ DRAFT_11408 = 65,
632
+ DRAFT_CHAT_11883 = 67,
633
+ DRAFT_CHAT_12196 = 72,
634
+ DRAFT_CHAT_12413 = 73,
635
+ DRAFT_CHAT_13175 = 104,
636
+ DRAFT_CHAT_19823 = 232,
637
+ DRAFT_CHAT_20707 = 243,
638
+ DRAFT_CHAT_22801 = 258,
639
+ DRAFT_CHAT_23508 = 273,
640
+ DRAFT_CASCADE_23672 = 274,
641
+ CHAT_3_5_TURBO = 28,
642
+ CHAT_GPT_4 = 30,
643
+ CHAT_GPT_4_1106_PREVIEW = 37,
644
+ TEXT_EMBEDDING_OPENAI_ADA = 91,
645
+ TEXT_EMBEDDING_OPENAI_3_SMALL = 163,
646
+ TEXT_EMBEDDING_OPENAI_3_LARGE = 164,
647
+ CHAT_GPT_4O_2024_05_13 = 71,
648
+ CHAT_GPT_4O_2024_08_06 = 109,
649
+ CHAT_GPT_4O_MINI_2024_07_18 = 113,
650
+ CHAT_GPT_4_1_2025_04_14 = 259,
651
+ CHAT_GPT_4_1_MINI_2025_04_14 = 260,
652
+ CHAT_GPT_4_1_NANO_2025_04_14 = 261,
653
+ CHAT_O1_PREVIEW = 117,
654
+ CHAT_O1_MINI = 118,
655
+ CHAT_O1 = 170,
656
+ CHAT_O3_MINI = 207,
657
+ CHAT_O3_MINI_LOW = 213,
658
+ CHAT_O3_MINI_HIGH = 214,
659
+ CHAT_O3 = 218,
660
+ CHAT_O3_LOW = 262,
661
+ CHAT_O3_HIGH = 263,
662
+ CHAT_O4_MINI = 264,
663
+ CHAT_O4_MINI_LOW = 265,
664
+ CHAT_O4_MINI_HIGH = 266,
665
+ CHAT_GPT_4_5 = 228,
666
+ CODEX_MINI_LATEST = 287,
667
+ CODEX_MINI_LATEST_LOW = 288,
668
+ CODEX_MINI_LATEST_HIGH = 289,
669
+ O3_PRO_2025_06_10 = 294,
670
+ O3_PRO_2025_06_10_LOW = 295,
671
+ O3_PRO_2025_06_10_HIGH = 296,
672
+ GPT_OSS_120B = 326,
673
+ GPT_5_NANO = 337,
674
+ CHAT_GPT_5_MINIMAL = 338,
675
+ CHAT_GPT_5_LOW = 339,
676
+ CHAT_GPT_5 = 340,
677
+ CHAT_GPT_5_HIGH = 341,
678
+ CHAT_GPT_5_CODEX = 346,
679
+ GPT_5_1_CODEX_MINI_LOW = 385,
680
+ GPT_5_1_CODEX_MINI_MEDIUM = 386,
681
+ GPT_5_1_CODEX_MINI_HIGH = 387,
682
+ GPT_5_1_CODEX_LOW = 388,
683
+ GPT_5_1_CODEX_MEDIUM = 389,
684
+ GPT_5_1_CODEX_HIGH = 390,
685
+ GPT_5_1_CODEX_MAX_LOW = 395,
686
+ GPT_5_1_CODEX_MAX_MEDIUM = 396,
687
+ GPT_5_1_CODEX_MAX_HIGH = 397,
688
+ GOOGLE_GEMINI_1_0_PRO = 61,
689
+ GOOGLE_GEMINI_1_5_PRO = 62,
690
+ GOOGLE_GEMINI_EXP_1206 = 183,
691
+ GOOGLE_GEMINI_2_0_FLASH = 184,
692
+ GOOGLE_GEMINI_2_5_PRO = 246,
693
+ GOOGLE_GEMINI_2_5_FLASH_PREVIEW_04_17 = 272,
694
+ GOOGLE_GEMINI_2_5_FLASH_PREVIEW_05_20 = 275,
695
+ GOOGLE_GEMINI_2_5_FLASH_PREVIEW_05_20_THINKING = 276,
696
+ GOOGLE_GEMINI_2_5_FLASH = 312,
697
+ GOOGLE_GEMINI_2_5_FLASH_THINKING = 313,
698
+ GOOGLE_GEMINI_2_5_FLASH_LITE = 343,
699
+ GOOGLE_GEMINI_3_0_PRO_LOW = 378,
700
+ GOOGLE_GEMINI_3_0_PRO_HIGH = 379,
701
+ GOOGLE_GEMINI_3_0_PRO_MINIMAL = 411,
702
+ GOOGLE_GEMINI_3_0_PRO_MEDIUM = 412,
703
+ GOOGLE_GEMINI_3_0_FLASH_MINIMAL = 413,
704
+ GOOGLE_GEMINI_3_0_FLASH_LOW = 414,
705
+ GOOGLE_GEMINI_3_0_FLASH_MEDIUM = 415,
706
+ GOOGLE_GEMINI_3_0_FLASH_HIGH = 416,
707
+ CLAUDE_3_OPUS_20240229 = 63,
708
+ CLAUDE_3_SONNET_20240229 = 64,
709
+ CLAUDE_3_HAIKU_20240307 = 172,
710
+ CLAUDE_3_5_HAIKU_20241022 = 171,
711
+ CLAUDE_3_5_SONNET_20240620 = 80,
712
+ CLAUDE_3_5_SONNET_20241022 = 166,
713
+ CLAUDE_3_7_SONNET_20250219 = 226,
714
+ CLAUDE_3_7_SONNET_20250219_THINKING = 227,
715
+ CLAUDE_3_5_SONNET_BYOK = 284,
716
+ CLAUDE_3_7_SONNET_BYOK = 285,
717
+ CLAUDE_3_7_SONNET_OPEN_ROUTER_BYOK = 319,
718
+ CLAUDE_3_7_SONNET_THINKING_BYOK = 286,
719
+ CLAUDE_3_7_SONNET_THINKING_OPEN_ROUTER_BYOK = 320,
720
+ CLAUDE_4_OPUS_BYOK = 277,
721
+ CLAUDE_4_OPUS_THINKING_BYOK = 278,
722
+ CLAUDE_4_OPUS = 290,
723
+ CLAUDE_4_OPUS_THINKING = 291,
724
+ CLAUDE_4_SONNET_BYOK = 279,
725
+ CLAUDE_4_SONNET_OPEN_ROUTER_BYOK = 321,
726
+ CLAUDE_4_SONNET_THINKING_BYOK = 280,
727
+ CLAUDE_4_SONNET_THINKING_OPEN_ROUTER_BYOK = 322,
728
+ CLAUDE_4_SONNET = 281,
729
+ CLAUDE_4_SONNET_THINKING = 282,
730
+ CLAUDE_4_1_OPUS = 328,
731
+ CLAUDE_4_1_OPUS_THINKING = 329,
732
+ CLAUDE_4_5_SONNET = 353,
733
+ CLAUDE_4_5_SONNET_THINKING = 354,
734
+ CLAUDE_4_5_SONNET_1M = 370,
735
+ CLAUDE_4_5_SONNET_THINKING_1M = 371,
736
+ CLAUDE_4_5_OPUS = 391,
737
+ CLAUDE_4_5_OPUS_THINKING = 392,
738
+ CLAUDE_4_SONNET_DATABRICKS = 292,
739
+ CLAUDE_4_SONNET_THINKING_DATABRICKS = 293,
740
+ TOGETHERAI_TEXT_EMBEDDING_M2_BERT = 81,
741
+ TOGETHERAI_LLAMA_3_1_8B_INSTRUCT = 165,
742
+ HUGGING_FACE_TEXT_EMBEDDING_M2_BERT = 82,
743
+ HUGGING_FACE_TEXT_EMBEDDING_UAE_CODE = 83,
744
+ HUGGING_FACE_TEXT_EMBEDDING_BGE = 84,
745
+ HUGGING_FACE_TEXT_EMBEDDING_BLADE = 85,
746
+ HUGGING_FACE_TEXT_EMBEDDING_ARCTIC_LARGE = 86,
747
+ HUGGING_FACE_TEXT_EMBEDDING_E5_BASE = 87,
748
+ HUGGING_FACE_TEXT_EMBEDDING_MXBAI = 88,
749
+ LLAMA_3_1_8B_INSTRUCT = 106,
750
+ LLAMA_3_1_70B_INSTRUCT = 107,
751
+ LLAMA_3_1_405B_INSTRUCT = 105,
752
+ LLAMA_3_3_70B_INSTRUCT = 208,
753
+ LLAMA_3_3_70B_INSTRUCT_R1 = 209,
754
+ LLAMA_3_1_70B_INSTRUCT_LONG_CONTEXT = 116,
755
+ LLAMA_3_1_8B_HERMES_3 = 176,
756
+ LLAMA_3_1_70B_HERMES_3 = 177,
757
+ QWEN_2_5_7B_INSTRUCT = 178,
758
+ QWEN_2_5_32B_INSTRUCT = 179,
759
+ QWEN_2_5_72B_INSTRUCT = 180,
760
+ QWEN_2_5_32B_INSTRUCT_R1 = 224,
761
+ QWEN_3_235B_INSTRUCT = 324,
762
+ QWEN_3_CODER_480B_INSTRUCT = 325,
763
+ QWEN_3_CODER_480B_INSTRUCT_FAST = 327,
764
+ GLM_4_5 = 342,
765
+ GLM_4_5_FAST = 352,
766
+ GLM_4_6 = 356,
767
+ GLM_4_6_FAST = 357,
768
+ GLM_4_7 = 417,
769
+ GLM_4_7_FAST = 418,
770
+ SWE_1_5 = 359,
771
+ SWE_1_5_REDIRECT = 361,
772
+ SWE_1_5_THINKING = 369,
773
+ SWE_1_5_SLOW = 377,
774
+ SWE_1_6 = 420,
775
+ SWE_1_6_FAST = 421,
776
+ CODEMAP_SMALL = 358,
777
+ CODEMAP_MEDIUM = 360,
778
+ CODEMAP_SMART = 362,
779
+ COGNITION_INSTANT_CONTEXT = 355,
780
+ LLAMA_FT_DEEPWIKI_ARTICLE = 335,
781
+ LLAMA_FT_DEEPWIKI_HOVER = 336,
782
+ LLAMA_FT_LIFEGUARD = 398,
783
+ COGNITION_LIFEGUARD = 410,
784
+ NOMIC_TEXT_EMBEDDING_V1 = 89,
785
+ NOMIC_TEXT_EMBEDDING_V1_5 = 90,
786
+ MISTRAL_7B = 77,
787
+ SALESFORCE_EMBEDDING_2R = 99,
788
+ CUSTOM_VLLM = 182,
789
+ TEI_BGE_M3 = 92,
790
+ TEI_NOMIC_EMBED_TEXT_V1 = 93,
791
+ TEI_INTFLOAT_E5_LARGE_INSTRUCT = 94,
792
+ TEI_SNOWFLAKE_ARCTIC_EMBED_L = 95,
793
+ TEI_UAE_CODE_LARGE_V1 = 96,
794
+ TEI_B1ADE = 97,
795
+ TEI_WHEREISAI_UAE_LARGE_V1 = 98,
796
+ TEI_WHEREISAI_UAE_CODE_LARGE_V1 = 100,
797
+ OPENAI_COMPATIBLE = 200,
798
+ ANTHROPIC_COMPATIBLE = 201,
799
+ VERTEX_COMPATIBLE = 202,
800
+ BEDROCK_COMPATIBLE = 203,
801
+ AZURE_COMPATIBLE = 204,
802
+ DEEPSEEK_V3 = 205,
803
+ DEEPSEEK_R1 = 206,
804
+ DEEPSEEK_R1_SLOW = 215,
805
+ DEEPSEEK_R1_FAST = 216,
806
+ KIMI_K2 = 323,
807
+ MINIMAX_M2 = 368,
808
+ MINIMAX_M2_1 = 419,
809
+ DEEPSEEK_V3_2 = 409,
810
+ KIMI_K2_THINKING = 394,
811
+ CUSTOM_OPEN_ROUTER = 185,
812
+ XAI_GROK_2 = 212,
813
+ XAI_GROK_3 = 217,
814
+ XAI_GROK_3_MINI_REASONING = 234,
815
+ XAI_GROK_CODE_FAST = 345,
816
+ PRIVATE_1 = 219,
817
+ PRIVATE_2 = 220,
818
+ PRIVATE_3 = 221,
819
+ PRIVATE_4 = 222,
820
+ PRIVATE_5 = 223,
821
+ PRIVATE_6 = 314,
822
+ PRIVATE_7 = 315,
823
+ PRIVATE_8 = 316,
824
+ PRIVATE_9 = 317,
825
+ PRIVATE_10 = 318,
826
+ PRIVATE_11 = 347,
827
+ PRIVATE_12 = 348,
828
+ PRIVATE_13 = 349,
829
+ PRIVATE_14 = 350,
830
+ PRIVATE_15 = 351,
831
+ PRIVATE_16 = 363,
832
+ PRIVATE_17 = 364,
833
+ PRIVATE_18 = 365,
834
+ PRIVATE_19 = 366,
835
+ PRIVATE_20 = 367,
836
+ PRIVATE_21 = 372,
837
+ PRIVATE_22 = 373,
838
+ PRIVATE_23 = 374,
839
+ PRIVATE_24 = 375,
840
+ PRIVATE_25 = 376,
841
+ PRIVATE_26 = 380,
842
+ PRIVATE_27 = 381,
843
+ PRIVATE_28 = 382,
844
+ PRIVATE_29 = 383,
845
+ PRIVATE_30 = 384,
846
+ GPT_5_2_NONE = 399,
847
+ GPT_5_2_LOW = 400,
848
+ GPT_5_2_MEDIUM = 401,
849
+ GPT_5_2_HIGH = 402,
850
+ GPT_5_2_XHIGH = 403,
851
+ GPT_5_2_NONE_PRIORITY = 404,
852
+ GPT_5_2_LOW_PRIORITY = 405,
853
+ GPT_5_2_MEDIUM_PRIORITY = 406,
854
+ GPT_5_2_HIGH_PRIORITY = 407,
855
+ GPT_5_2_XHIGH_PRIORITY = 408,
856
+ GPT_5_2_CODEX_LOW = 422,
857
+ GPT_5_2_CODEX_MEDIUM = 423,
858
+ GPT_5_2_CODEX_HIGH = 424,
859
+ GPT_5_2_CODEX_XHIGH = 425,
860
+ GPT_5_2_CODEX_LOW_PRIORITY = 426,
861
+ GPT_5_2_CODEX_MEDIUM_PRIORITY = 427,
862
+ GPT_5_2_CODEX_HIGH_PRIORITY = 428,
863
+ GPT_5_2_CODEX_XHIGH_PRIORITY = 429,
864
+ SGLANG_ROLLOUT = 600,
865
+ }
866
+
867
+ /** Devin enum ModelAlias. */
868
+ export enum ModelAlias {
869
+ UNSPECIFIED = 0,
870
+ CASCADE_BASE = 1,
871
+ VISTA = 3,
872
+ SHAMU = 4,
873
+ SWE_1 = 5,
874
+ SWE_1_LITE = 6,
875
+ AUTO = 7,
876
+ }
877
+
878
+ /** Devin enum ModelCostTier. */
879
+ export enum ModelCostTier {
880
+ UNSPECIFIED = 0,
881
+ LOW = 1,
882
+ MEDIUM = 2,
883
+ HIGH = 3,
884
+ FREE = 4,
885
+ }
886
+
887
+ /** Devin enum ModelDimensionKind. */
888
+ export enum ModelDimensionKind {
889
+ UNSPECIFIED = 0,
890
+ COST = 1,
891
+ COST_FUZZY = 2,
892
+ }
893
+
894
+ /** Devin enum ModelPricingType. */
895
+ export enum ModelPricingType {
896
+ UNSPECIFIED = 0,
897
+ STATIC_CREDIT = 1,
898
+ API = 2,
899
+ BYOK = 3,
900
+ ACU_TOKEN = 4,
901
+ ACU_CREDIT = 5,
902
+ }
903
+
904
+ /** Devin enum ModelProvider. */
905
+ export enum ModelProvider {
906
+ UNSPECIFIED = 0,
907
+ WINDSURF = 1,
908
+ OPENAI = 2,
909
+ ANTHROPIC = 3,
910
+ GOOGLE = 4,
911
+ XAI = 5,
912
+ DEEPSEEK = 6,
913
+ MOONSHOT = 7,
914
+ QWEN = 8,
915
+ ZAI = 9,
916
+ MINIMAX = 10,
917
+ }
918
+
919
+ /** Devin enum ModelType. */
920
+ export enum ModelType {
921
+ UNSPECIFIED = 0,
922
+ COMPLETION = 1,
923
+ CHAT = 2,
924
+ EMBED = 3,
925
+ QUERY = 4,
926
+ }
927
+
928
+ /** Devin enum PromptAnnotationKind. */
929
+ export enum PromptAnnotationKind {
930
+ UNSPECIFIED = 0,
931
+ COPY = 1,
932
+ PROMPT_CACHE = 2,
933
+ }
934
+
935
+ /** Devin enum PromptTemplaterType. */
936
+ export enum PromptTemplaterType {
937
+ UNSPECIFIED = 0,
938
+ LLAMA_2 = 1,
939
+ LLAMA_3 = 2,
940
+ CHATML = 3,
941
+ CHAT_TRANSCRIPT = 4,
942
+ DEEPSEEK_V2 = 5,
943
+ DEEPSEEK_V3 = 6,
944
+ KIMI = 7,
945
+ }
946
+
947
+ /** Devin enum ProviderSource. */
948
+ export enum ProviderSource {
949
+ UNSPECIFIED = 0,
950
+ AUTOCOMPLETE = 1,
951
+ CHAT = 2,
952
+ COMMAND_GENERATE = 4,
953
+ COMMAND_EDIT = 5,
954
+ SUPERCOMPLETE = 6,
955
+ COMMAND_PLAN = 7,
956
+ QUERY = 8,
957
+ FAST_APPLY = 9,
958
+ COMMAND_TERMINAL = 10,
959
+ TAB_JUMP = 11,
960
+ CASCADE = 12,
961
+ }
962
+
963
+ /** Devin enum StopReason. */
964
+ export enum StopReason {
965
+ UNSPECIFIED = 0,
966
+ INCOMPLETE = 1,
967
+ STOP_PATTERN = 2,
968
+ MAX_TOKENS = 3,
969
+ MIN_LOG_PROB = 4,
970
+ MAX_NEWLINES = 5,
971
+ EXIT_SCOPE = 6,
972
+ NONFINITE_LOGIT_OR_PROB = 7,
973
+ FIRST_NON_WHITESPACE_LINE = 8,
974
+ PARTIAL = 9,
975
+ FUNCTION_CALL = 10,
976
+ CONTENT_FILTER = 11,
977
+ NON_INSERTION = 12,
978
+ ERROR = 13,
979
+ }
980
+
981
+ /** Devin enum TeamsTier. */
982
+ export enum TeamsTier {
983
+ UNSPECIFIED = 0,
984
+ TEAMS = 1,
985
+ PRO = 2,
986
+ TRIAL = 9,
987
+ ENTERPRISE_SAAS = 3,
988
+ HYBRID = 4,
989
+ ENTERPRISE_SELF_HOSTED = 5,
990
+ ENTERPRISE_SELF_SERVE = 10,
991
+ DEVIN_ENTERPRISE = 12,
992
+ DEVIN_TEAMS = 14,
993
+ DEVIN_TEAMS_V2 = 15,
994
+ DEVIN_PRO = 16,
995
+ DEVIN_MAX = 17,
996
+ MAX = 18,
997
+ DEVIN_FREE = 19,
998
+ DEVIN_TRIAL = 20,
999
+ WAITLIST_PRO = 6,
1000
+ TEAMS_ULTIMATE = 7,
1001
+ PRO_ULTIMATE = 8,
1002
+ ENTERPRISE_SAAS_POOLED = 11,
1003
+ }
1004
+
1005
+ /** Devin enum ToolFormatterType. */
1006
+ export enum ToolFormatterType {
1007
+ UNSPECIFIED = 0,
1008
+ LLAMA_3 = 1,
1009
+ HERMES = 2,
1010
+ XML = 3,
1011
+ CHAT_TRANSCRIPT = 4,
1012
+ KIMI = 5,
1013
+ QWENCODER = 6,
1014
+ SUPERCOMPLETE = 7,
1015
+ }
1016
+
1017
+ /** Devin message exa.codeium_common_pb.AnthropicInferenceConfig. */
1018
+ export interface AnthropicInferenceConfig extends ProtoMessage {
1019
+ thinking: boolean;
1020
+ effort: string;
1021
+ fastMode: boolean;
1022
+ context1m: boolean;
1023
+ }
1024
+
1025
+ export const AnthropicInferenceConfigSchema: MessageCodec<AnthropicInferenceConfig> = pb<AnthropicInferenceConfig>("exa.codeium_common_pb.AnthropicInferenceConfig", [
1026
+ { no: 1, name: "thinking", kind: "bool" },
1027
+ { no: 2, name: "effort", kind: "string" },
1028
+ { no: 3, name: "fastMode", kind: "bool" },
1029
+ { no: 4, name: "context1m", kind: "bool" },
1030
+ ]);
1031
+
1032
+ /** Devin message exa.codeium_common_pb.ArenaConfig. */
1033
+ export interface ArenaConfig extends ProtoMessage {
1034
+ tokensPerSecond: number;
1035
+ }
1036
+
1037
+ export const ArenaConfigSchema: MessageCodec<ArenaConfig> = pb<ArenaConfig>("exa.codeium_common_pb.ArenaConfig", [
1038
+ { no: 2, name: "tokensPerSecond", kind: "float" },
1039
+ ]);
1040
+
1041
+ /** Devin message exa.chat_pb.ChatMessagePrompt. */
1042
+ export interface ChatMessagePrompt extends ProtoMessage {
1043
+ messageId: string;
1044
+ source: ChatMessageSource;
1045
+ prompt: string;
1046
+ numTokens: number;
1047
+ safeForCodeTelemetry: boolean;
1048
+ toolCalls: ChatToolCall[];
1049
+ toolCallId: string;
1050
+ promptCacheOptions?: PromptCacheOptions;
1051
+ toolResultIsError: boolean;
1052
+ images: ImageData[];
1053
+ thinking: string;
1054
+ signature: string;
1055
+ thinkingRedacted: boolean;
1056
+ promptAnnotationRanges: PromptAnnotationRange[];
1057
+ outputId: string;
1058
+ thinkingId: string;
1059
+ geminiThoughtSignature: Uint8Array;
1060
+ signatureType: string;
1061
+ phase: string;
1062
+ }
1063
+
1064
+ export const ChatMessagePromptSchema: MessageCodec<ChatMessagePrompt> = pb<ChatMessagePrompt>("exa.chat_pb.ChatMessagePrompt", [
1065
+ { no: 1, name: "messageId", kind: "string" },
1066
+ { no: 2, name: "source", kind: "enum" },
1067
+ { no: 3, name: "prompt", kind: "string" },
1068
+ { no: 4, name: "numTokens", kind: "uint32" },
1069
+ { no: 5, name: "safeForCodeTelemetry", kind: "bool" },
1070
+ { no: 6, name: "toolCalls", kind: "message", T: () => ChatToolCallSchema, repeat: true },
1071
+ { no: 7, name: "toolCallId", kind: "string" },
1072
+ { no: 8, name: "promptCacheOptions", kind: "message", T: () => PromptCacheOptionsSchema },
1073
+ { no: 9, name: "toolResultIsError", kind: "bool" },
1074
+ { no: 10, name: "images", kind: "message", T: () => ImageDataSchema, repeat: true },
1075
+ { no: 11, name: "thinking", kind: "string" },
1076
+ { no: 12, name: "signature", kind: "string" },
1077
+ { no: 13, name: "thinkingRedacted", kind: "bool" },
1078
+ { no: 14, name: "promptAnnotationRanges", kind: "message", T: () => PromptAnnotationRangeSchema, repeat: true },
1079
+ { no: 15, name: "outputId", kind: "string" },
1080
+ { no: 16, name: "thinkingId", kind: "string" },
1081
+ { no: 17, name: "geminiThoughtSignature", kind: "bytes" },
1082
+ { no: 18, name: "signatureType", kind: "string" },
1083
+ { no: 19, name: "phase", kind: "string" },
1084
+ ]);
1085
+
1086
+ /** Devin message exa.codeium_common_pb.ChatToolCall. */
1087
+ export interface ChatToolCall extends ProtoMessage {
1088
+ id: string;
1089
+ name: string;
1090
+ argumentsJson: string;
1091
+ invalidJsonStr: string;
1092
+ invalidJsonErr: string;
1093
+ isCustomToolCall: boolean;
1094
+ }
1095
+
1096
+ export const ChatToolCallSchema: MessageCodec<ChatToolCall> = pb<ChatToolCall>("exa.codeium_common_pb.ChatToolCall", [
1097
+ { no: 1, name: "id", kind: "string" },
1098
+ { no: 2, name: "name", kind: "string" },
1099
+ { no: 3, name: "argumentsJson", kind: "string" },
1100
+ { no: 4, name: "invalidJsonStr", kind: "string" },
1101
+ { no: 5, name: "invalidJsonErr", kind: "string" },
1102
+ { no: 6, name: "isCustomToolCall", kind: "bool" },
1103
+ ]);
1104
+
1105
+ /** Devin message exa.chat_pb.ChatToolChoice. */
1106
+ export interface ChatToolChoice extends ProtoMessage {
1107
+ choice:
1108
+ | { case: undefined; value?: undefined }
1109
+ | { case: "optionName"; value: string }
1110
+ | { case: "toolName"; value: string };
1111
+ }
1112
+
1113
+ export const ChatToolChoiceSchema: MessageCodec<ChatToolChoice> = pb<ChatToolChoice>("exa.chat_pb.ChatToolChoice", [
1114
+ {
1115
+ kind: "oneof",
1116
+ name: "choice",
1117
+ variants: [
1118
+ { no: 1, name: "optionName", kind: "string" },
1119
+ { no: 2, name: "toolName", kind: "string" },
1120
+ ],
1121
+ },
1122
+ ]);
1123
+
1124
+ /** Devin message exa.chat_pb.ChatToolDefinition. */
1125
+ export interface ChatToolDefinition extends ProtoMessage {
1126
+ name: string;
1127
+ description: string;
1128
+ jsonSchemaString: string;
1129
+ attributionFieldNames: string[];
1130
+ serverName: string;
1131
+ readOnlyHint?: boolean;
1132
+ computerUseConfig?: ComputerUseToolConfig;
1133
+ isCustomTool?: boolean;
1134
+ customToolGrammar?: string;
1135
+ customToolGrammarSyntax?: string;
1136
+ strict: boolean;
1137
+ }
1138
+
1139
+ export const ChatToolDefinitionSchema: MessageCodec<ChatToolDefinition> = pb<ChatToolDefinition>("exa.chat_pb.ChatToolDefinition", [
1140
+ { no: 1, name: "name", kind: "string" },
1141
+ { no: 2, name: "description", kind: "string" },
1142
+ { no: 3, name: "jsonSchemaString", kind: "string" },
1143
+ { no: 5, name: "attributionFieldNames", kind: "string", repeat: true },
1144
+ { no: 6, name: "serverName", kind: "string" },
1145
+ { no: 7, name: "readOnlyHint", kind: "bool", optional: true },
1146
+ { no: 8, name: "computerUseConfig", kind: "message", T: () => ComputerUseToolConfigSchema },
1147
+ { no: 9, name: "isCustomTool", kind: "bool", optional: true },
1148
+ { no: 10, name: "customToolGrammar", kind: "string", optional: true },
1149
+ { no: 11, name: "customToolGrammarSyntax", kind: "string", optional: true },
1150
+ { no: 12, name: "strict", kind: "bool" },
1151
+ ]);
1152
+
1153
+ /** Devin message exa.codeium_common_pb.ClientModelConfig. */
1154
+ export interface ClientModelConfig extends ProtoMessage {
1155
+ label: string;
1156
+ modelOrAlias?: ModelOrAlias;
1157
+ modelUid: string;
1158
+ creditMultiplier: number;
1159
+ pricingType: ModelPricingType;
1160
+ disabled: boolean;
1161
+ supportsImages: boolean;
1162
+ supportsLegacy: boolean;
1163
+ isPremium: boolean;
1164
+ betaWarningMessage: string;
1165
+ isBeta: boolean;
1166
+ provider: ModelProvider;
1167
+ isRecommended: boolean;
1168
+ allowedTiers: TeamsTier[];
1169
+ apiProvider: APIProvider;
1170
+ isNew: boolean;
1171
+ partialRollout: boolean;
1172
+ rolloutFraction: number;
1173
+ maxTokens: number;
1174
+ promoStatus?: PromoStatus;
1175
+ isCapacityLimited: boolean;
1176
+ fastStatus?: FastStatus;
1177
+ modelInfo?: ModelInfo;
1178
+ modelCostTier: ModelCostTier;
1179
+ description?: string;
1180
+ smartFriendModelUid?: string;
1181
+ modelFamilyMetadata?: ModelFamilyMetadata;
1182
+ isDefaultModelInFamily: boolean;
1183
+ modelDimensions: ModelDimension[];
1184
+ disabledReason?: ModelDisabledReason;
1185
+ }
1186
+
1187
+ export const ClientModelConfigSchema: MessageCodec<ClientModelConfig> = pb<ClientModelConfig>("exa.codeium_common_pb.ClientModelConfig", [
1188
+ { no: 1, name: "label", kind: "string" },
1189
+ { no: 2, name: "modelOrAlias", kind: "message", T: () => ModelOrAliasSchema },
1190
+ { no: 22, name: "modelUid", kind: "string" },
1191
+ { no: 3, name: "creditMultiplier", kind: "float" },
1192
+ { no: 13, name: "pricingType", kind: "enum" },
1193
+ { no: 4, name: "disabled", kind: "bool" },
1194
+ { no: 5, name: "supportsImages", kind: "bool" },
1195
+ { no: 6, name: "supportsLegacy", kind: "bool" },
1196
+ { no: 7, name: "isPremium", kind: "bool" },
1197
+ { no: 8, name: "betaWarningMessage", kind: "string" },
1198
+ { no: 9, name: "isBeta", kind: "bool" },
1199
+ { no: 10, name: "provider", kind: "enum" },
1200
+ { no: 11, name: "isRecommended", kind: "bool" },
1201
+ { no: 12, name: "allowedTiers", kind: "enum", repeat: true },
1202
+ { no: 14, name: "apiProvider", kind: "enum" },
1203
+ { no: 15, name: "isNew", kind: "bool" },
1204
+ { no: 16, name: "partialRollout", kind: "bool" },
1205
+ { no: 17, name: "rolloutFraction", kind: "float" },
1206
+ { no: 18, name: "maxTokens", kind: "int32" },
1207
+ { no: 19, name: "promoStatus", kind: "message", T: () => PromoStatusSchema },
1208
+ { no: 20, name: "isCapacityLimited", kind: "bool" },
1209
+ { no: 21, name: "fastStatus", kind: "message", T: () => FastStatusSchema },
1210
+ { no: 23, name: "modelInfo", kind: "message", T: () => ModelInfoSchema },
1211
+ { no: 24, name: "modelCostTier", kind: "enum" },
1212
+ { no: 27, name: "description", kind: "string", optional: true },
1213
+ { no: 29, name: "smartFriendModelUid", kind: "string", optional: true },
1214
+ { no: 30, name: "modelFamilyMetadata", kind: "message", T: () => ModelFamilyMetadataSchema },
1215
+ { no: 31, name: "isDefaultModelInFamily", kind: "bool" },
1216
+ { no: 32, name: "modelDimensions", kind: "message", T: () => ModelDimensionSchema, repeat: true },
1217
+ { no: 33, name: "disabledReason", kind: "message", T: () => ModelDisabledReasonSchema },
1218
+ ]);
1219
+
1220
+ /** Devin message exa.codeium_common_pb.CompletionConfiguration. */
1221
+ export interface CompletionConfiguration extends ProtoMessage {
1222
+ numCompletions: bigint;
1223
+ maxTokens: bigint;
1224
+ maxNewlines: bigint;
1225
+ minLogProbability: number;
1226
+ temperature: number;
1227
+ firstTemperature: number;
1228
+ topK: bigint;
1229
+ topP: number;
1230
+ stopPatterns: string[];
1231
+ seed: bigint;
1232
+ fimEotProbThreshold: number;
1233
+ useFimEotThreshold: boolean;
1234
+ doNotScoreStopTokens: boolean;
1235
+ sqrtLenNormalizedLogProbScore: boolean;
1236
+ lastMessageIsPartial: boolean;
1237
+ returnLogprob: boolean;
1238
+ serviceTier: string;
1239
+ }
1240
+
1241
+ export const CompletionConfigurationSchema: MessageCodec<CompletionConfiguration> = pb<CompletionConfiguration>("exa.codeium_common_pb.CompletionConfiguration", [
1242
+ { no: 1, name: "numCompletions", kind: "uint64" },
1243
+ { no: 2, name: "maxTokens", kind: "uint64" },
1244
+ { no: 3, name: "maxNewlines", kind: "uint64" },
1245
+ { no: 4, name: "minLogProbability", kind: "double" },
1246
+ { no: 5, name: "temperature", kind: "double" },
1247
+ { no: 6, name: "firstTemperature", kind: "double" },
1248
+ { no: 7, name: "topK", kind: "uint64" },
1249
+ { no: 8, name: "topP", kind: "double" },
1250
+ { no: 9, name: "stopPatterns", kind: "string", repeat: true },
1251
+ { no: 10, name: "seed", kind: "uint64" },
1252
+ { no: 11, name: "fimEotProbThreshold", kind: "double" },
1253
+ { no: 12, name: "useFimEotThreshold", kind: "bool" },
1254
+ { no: 13, name: "doNotScoreStopTokens", kind: "bool" },
1255
+ { no: 14, name: "sqrtLenNormalizedLogProbScore", kind: "bool" },
1256
+ { no: 15, name: "lastMessageIsPartial", kind: "bool" },
1257
+ { no: 16, name: "returnLogprob", kind: "bool" },
1258
+ { no: 17, name: "serviceTier", kind: "string" },
1259
+ ]);
1260
+
1261
+ /** Devin message exa.codeium_common_pb.CompletionProfile. */
1262
+ export interface CompletionProfile extends ProtoMessage {
1263
+ modelProfile?: SingleModelCompletionProfile;
1264
+ draftModelProfile?: SingleModelCompletionProfile;
1265
+ timeToFirstPrefillPass: number;
1266
+ timeToFirstToken: number;
1267
+ totalCompletionTime: number;
1268
+ modelUsage?: ModelUsageStats;
1269
+ }
1270
+
1271
+ export const CompletionProfileSchema: MessageCodec<CompletionProfile> = pb<CompletionProfile>("exa.codeium_common_pb.CompletionProfile", [
1272
+ { no: 1, name: "modelProfile", kind: "message", T: () => SingleModelCompletionProfileSchema },
1273
+ { no: 2, name: "draftModelProfile", kind: "message", T: () => SingleModelCompletionProfileSchema },
1274
+ { no: 3, name: "timeToFirstPrefillPass", kind: "double" },
1275
+ { no: 4, name: "timeToFirstToken", kind: "double" },
1276
+ { no: 5, name: "totalCompletionTime", kind: "double" },
1277
+ { no: 6, name: "modelUsage", kind: "message", T: () => ModelUsageStatsSchema },
1278
+ ]);
1279
+
1280
+ /** Devin message exa.chat_pb.ComputerUseToolConfig. */
1281
+ export interface ComputerUseToolConfig extends ProtoMessage {
1282
+ displayWidthPx: number;
1283
+ displayHeightPx: number;
1284
+ displayNumber: number;
1285
+ }
1286
+
1287
+ export const ComputerUseToolConfigSchema: MessageCodec<ComputerUseToolConfig> = pb<ComputerUseToolConfig>("exa.chat_pb.ComputerUseToolConfig", [
1288
+ { no: 1, name: "displayWidthPx", kind: "int32" },
1289
+ { no: 2, name: "displayHeightPx", kind: "int32" },
1290
+ { no: 3, name: "displayNumber", kind: "int32" },
1291
+ ]);
1292
+
1293
+ /** Devin message exa.cortex_pb.CortexTrajectoryReference. */
1294
+ export interface CortexTrajectoryReference extends ProtoMessage {
1295
+ trajectoryId: string;
1296
+ trajectoryType: CortexTrajectoryType;
1297
+ stepIndex: number;
1298
+ stepType: CortexStepType;
1299
+ forceBillable: boolean;
1300
+ }
1301
+
1302
+ export const CortexTrajectoryReferenceSchema: MessageCodec<CortexTrajectoryReference> = pb<CortexTrajectoryReference>("exa.cortex_pb.CortexTrajectoryReference", [
1303
+ { no: 1, name: "trajectoryId", kind: "string" },
1304
+ { no: 3, name: "trajectoryType", kind: "enum" },
1305
+ { no: 2, name: "stepIndex", kind: "int32" },
1306
+ { no: 4, name: "stepType", kind: "enum" },
1307
+ { no: 5, name: "forceBillable", kind: "bool" },
1308
+ ]);
1309
+
1310
+ /** Devin message exa.codeium_common_pb.DefaultOverrideModelConfig. */
1311
+ export interface DefaultOverrideModelConfig extends ProtoMessage {
1312
+ modelOrAliasDeprecated?: ModelOrAlias;
1313
+ modelUid: string;
1314
+ versionId: string;
1315
+ }
1316
+
1317
+ export const DefaultOverrideModelConfigSchema: MessageCodec<DefaultOverrideModelConfig> = pb<DefaultOverrideModelConfig>("exa.codeium_common_pb.DefaultOverrideModelConfig", [
1318
+ { no: 1, name: "modelOrAliasDeprecated", kind: "message", T: () => ModelOrAliasSchema },
1319
+ { no: 3, name: "modelUid", kind: "string" },
1320
+ { no: 2, name: "versionId", kind: "string" },
1321
+ ]);
1322
+
1323
+ /** Devin message exa.codeium_common_pb.ExperimentConfig. */
1324
+ export interface ExperimentConfig extends ProtoMessage {
1325
+ experiments: ExperimentWithVariant[];
1326
+ forceEnableExperiments: ExperimentKey[];
1327
+ forceDisableExperiments: ExperimentKey[];
1328
+ forceEnableExperimentsWithVariants: ExperimentWithVariant[];
1329
+ forceEnableExperimentStrings: string[];
1330
+ forceDisableExperimentStrings: string[];
1331
+ devMode: boolean;
1332
+ }
1333
+
1334
+ export const ExperimentConfigSchema: MessageCodec<ExperimentConfig> = pb<ExperimentConfig>("exa.codeium_common_pb.ExperimentConfig", [
1335
+ { no: 6, name: "experiments", kind: "message", T: () => ExperimentWithVariantSchema, repeat: true },
1336
+ { no: 1, name: "forceEnableExperiments", kind: "enum", repeat: true },
1337
+ { no: 2, name: "forceDisableExperiments", kind: "enum", repeat: true },
1338
+ { no: 3, name: "forceEnableExperimentsWithVariants", kind: "message", T: () => ExperimentWithVariantSchema, repeat: true },
1339
+ { no: 4, name: "forceEnableExperimentStrings", kind: "string", repeat: true },
1340
+ { no: 5, name: "forceDisableExperimentStrings", kind: "string", repeat: true },
1341
+ { no: 7, name: "devMode", kind: "bool" },
1342
+ ]);
1343
+
1344
+ /** Devin message exa.codeium_common_pb.ExperimentWithVariant. */
1345
+ export interface ExperimentWithVariant extends ProtoMessage {
1346
+ key: ExperimentKey;
1347
+ keyString: string;
1348
+ disabled: boolean;
1349
+ source: ExperimentSource;
1350
+ payload:
1351
+ | { case: undefined; value?: undefined }
1352
+ | { case: "string"; value: string }
1353
+ | { case: "json"; value: string }
1354
+ | { case: "csv"; value: string };
1355
+ }
1356
+
1357
+ export const ExperimentWithVariantSchema: MessageCodec<ExperimentWithVariant> = pb<ExperimentWithVariant>("exa.codeium_common_pb.ExperimentWithVariant", [
1358
+ { no: 1, name: "key", kind: "enum" },
1359
+ { no: 5, name: "keyString", kind: "string" },
1360
+ { no: 6, name: "disabled", kind: "bool" },
1361
+ { no: 7, name: "source", kind: "enum" },
1362
+ {
1363
+ kind: "oneof",
1364
+ name: "payload",
1365
+ variants: [
1366
+ { no: 2, name: "string", kind: "string" },
1367
+ { no: 3, name: "json", kind: "string" },
1368
+ { no: 4, name: "csv", kind: "string" },
1369
+ ],
1370
+ },
1371
+ ]);
1372
+
1373
+ /** Devin message exa.codeium_common_pb.FastStatus. */
1374
+ export interface FastStatus extends ProtoMessage {
1375
+ isActive: boolean;
1376
+ tooltip: string;
1377
+ }
1378
+
1379
+ export const FastStatusSchema: MessageCodec<FastStatus> = pb<FastStatus>("exa.codeium_common_pb.FastStatus", [
1380
+ { no: 1, name: "isActive", kind: "bool" },
1381
+ { no: 2, name: "tooltip", kind: "string" },
1382
+ ]);
1383
+
1384
+ /** Devin message exa.api_server_pb.GetChatMessageRequest. */
1385
+ export interface GetChatMessageRequest extends ProtoMessage {
1386
+ metadata?: Metadata;
1387
+ prompt: string;
1388
+ chatMessagePrompts: ChatMessagePrompt[];
1389
+ useInternalChatModel: boolean;
1390
+ internalChatModel: Model;
1391
+ chatModelUid: string;
1392
+ requestType: ChatMessageRequestType;
1393
+ configuration?: CompletionConfiguration;
1394
+ experimentConfig?: ExperimentConfig;
1395
+ tools: ChatToolDefinition[];
1396
+ disableParallelToolCalls: boolean;
1397
+ toolChoice?: ChatToolChoice;
1398
+ systemPromptCacheOptions?: PromptCacheOptions;
1399
+ chatModelName: string;
1400
+ trajectoryReference?: CortexTrajectoryReference;
1401
+ cascadeId: string;
1402
+ promptId: string;
1403
+ providerSource: ProviderSource;
1404
+ language: Language;
1405
+ plannerMode: ConversationalPlannerMode;
1406
+ executionId: string;
1407
+ arenaConvergeCount?: number;
1408
+ arenaAssignmentJwt?: string;
1409
+ modelAssignmentJwt?: string;
1410
+ }
1411
+
1412
+ export const GetChatMessageRequestSchema: MessageCodec<GetChatMessageRequest> = pb<GetChatMessageRequest>("exa.api_server_pb.GetChatMessageRequest", [
1413
+ { no: 1, name: "metadata", kind: "message", T: () => MetadataSchema },
1414
+ { no: 2, name: "prompt", kind: "string" },
1415
+ { no: 3, name: "chatMessagePrompts", kind: "message", T: () => ChatMessagePromptSchema, repeat: true },
1416
+ { no: 5, name: "useInternalChatModel", kind: "bool" },
1417
+ { no: 6, name: "internalChatModel", kind: "enum" },
1418
+ { no: 21, name: "chatModelUid", kind: "string" },
1419
+ { no: 7, name: "requestType", kind: "enum" },
1420
+ { no: 8, name: "configuration", kind: "message", T: () => CompletionConfigurationSchema },
1421
+ { no: 9, name: "experimentConfig", kind: "message", T: () => ExperimentConfigSchema },
1422
+ { no: 10, name: "tools", kind: "message", T: () => ChatToolDefinitionSchema, repeat: true },
1423
+ { no: 11, name: "disableParallelToolCalls", kind: "bool" },
1424
+ { no: 12, name: "toolChoice", kind: "message", T: () => ChatToolChoiceSchema },
1425
+ { no: 13, name: "systemPromptCacheOptions", kind: "message", T: () => PromptCacheOptionsSchema },
1426
+ { no: 14, name: "chatModelName", kind: "string" },
1427
+ { no: 15, name: "trajectoryReference", kind: "message", T: () => CortexTrajectoryReferenceSchema },
1428
+ { no: 16, name: "cascadeId", kind: "string" },
1429
+ { no: 17, name: "promptId", kind: "string" },
1430
+ { no: 18, name: "providerSource", kind: "enum" },
1431
+ { no: 19, name: "language", kind: "enum" },
1432
+ { no: 20, name: "plannerMode", kind: "enum" },
1433
+ { no: 22, name: "executionId", kind: "string" },
1434
+ { no: 24, name: "arenaConvergeCount", kind: "int32", optional: true },
1435
+ { no: 25, name: "arenaAssignmentJwt", kind: "string", optional: true },
1436
+ { no: 26, name: "modelAssignmentJwt", kind: "string", optional: true },
1437
+ ]);
1438
+
1439
+ /** Devin message exa.api_server_pb.GetChatMessageResponse. */
1440
+ export interface GetChatMessageResponse extends ProtoMessage {
1441
+ messageId: string;
1442
+ timestamp?: Timestamp;
1443
+ deltaText: string;
1444
+ deltaTokens: number;
1445
+ stopReason: StopReason;
1446
+ deltaToolCalls: ChatToolCall[];
1447
+ usage?: ModelUsageStats;
1448
+ creditCost: number;
1449
+ redact: boolean;
1450
+ deltaThinking: string;
1451
+ deltaSignature: string;
1452
+ thinkingRedacted: boolean;
1453
+ latency: number;
1454
+ completionProfile?: CompletionProfile;
1455
+ outputId: string;
1456
+ thinkingId: string;
1457
+ requestId: string;
1458
+ committedCreditCost: number;
1459
+ prompt: string;
1460
+ geminiThoughtSignature: Uint8Array;
1461
+ deltaSignatureType: string;
1462
+ committedAcuCost: number;
1463
+ actualModelUid?: string;
1464
+ arenaInvocationCapReached: boolean;
1465
+ phase: string;
1466
+ committedQuotaCostBasisPoints?: bigint;
1467
+ committedOverageCostCents?: bigint;
1468
+ responseDimensionGroups: ResponseDimensionGroup[];
1469
+ }
1470
+
1471
+ export const GetChatMessageResponseSchema: MessageCodec<GetChatMessageResponse> = pb<GetChatMessageResponse>("exa.api_server_pb.GetChatMessageResponse", [
1472
+ { no: 1, name: "messageId", kind: "string" },
1473
+ { no: 2, name: "timestamp", kind: "message", T: () => TimestampSchema },
1474
+ { no: 3, name: "deltaText", kind: "string" },
1475
+ { no: 4, name: "deltaTokens", kind: "uint32" },
1476
+ { no: 5, name: "stopReason", kind: "enum" },
1477
+ { no: 6, name: "deltaToolCalls", kind: "message", T: () => ChatToolCallSchema, repeat: true },
1478
+ { no: 7, name: "usage", kind: "message", T: () => ModelUsageStatsSchema },
1479
+ { no: 14, name: "creditCost", kind: "int32" },
1480
+ { no: 8, name: "redact", kind: "bool" },
1481
+ { no: 9, name: "deltaThinking", kind: "string" },
1482
+ { no: 10, name: "deltaSignature", kind: "string" },
1483
+ { no: 11, name: "thinkingRedacted", kind: "bool" },
1484
+ { no: 12, name: "latency", kind: "double" },
1485
+ { no: 13, name: "completionProfile", kind: "message", T: () => CompletionProfileSchema },
1486
+ { no: 15, name: "outputId", kind: "string" },
1487
+ { no: 16, name: "thinkingId", kind: "string" },
1488
+ { no: 17, name: "requestId", kind: "string" },
1489
+ { no: 18, name: "committedCreditCost", kind: "int32" },
1490
+ { no: 19, name: "prompt", kind: "string" },
1491
+ { no: 20, name: "geminiThoughtSignature", kind: "bytes" },
1492
+ { no: 21, name: "deltaSignatureType", kind: "string" },
1493
+ { no: 22, name: "committedAcuCost", kind: "double" },
1494
+ { no: 23, name: "actualModelUid", kind: "string", optional: true },
1495
+ { no: 24, name: "arenaInvocationCapReached", kind: "bool" },
1496
+ { no: 25, name: "phase", kind: "string" },
1497
+ { no: 26, name: "committedQuotaCostBasisPoints", kind: "int64", optional: true },
1498
+ { no: 27, name: "committedOverageCostCents", kind: "int64", optional: true },
1499
+ { no: 28, name: "responseDimensionGroups", kind: "message", T: () => ResponseDimensionGroupSchema, repeat: true },
1500
+ ]);
1501
+
1502
+ /** Devin message exa.api_server_pb.GetCliModelConfigsRequest. */
1503
+ export interface GetCliModelConfigsRequest extends ProtoMessage {
1504
+ metadata?: Metadata;
1505
+ }
1506
+
1507
+ export const GetCliModelConfigsRequestSchema: MessageCodec<GetCliModelConfigsRequest> = pb<GetCliModelConfigsRequest>("exa.api_server_pb.GetCliModelConfigsRequest", [
1508
+ { no: 1, name: "metadata", kind: "message", T: () => MetadataSchema },
1509
+ ]);
1510
+
1511
+ /** Devin message exa.api_server_pb.GetCliModelConfigsResponse. */
1512
+ export interface GetCliModelConfigsResponse extends ProtoMessage {
1513
+ clientModelConfigs: ClientModelConfig[];
1514
+ defaultOverrideModelConfig?: DefaultOverrideModelConfig;
1515
+ }
1516
+
1517
+ export const GetCliModelConfigsResponseSchema: MessageCodec<GetCliModelConfigsResponse> = pb<GetCliModelConfigsResponse>("exa.api_server_pb.GetCliModelConfigsResponse", [
1518
+ { no: 1, name: "clientModelConfigs", kind: "message", T: () => ClientModelConfigSchema, repeat: true },
1519
+ { no: 3, name: "defaultOverrideModelConfig", kind: "message", T: () => DefaultOverrideModelConfigSchema },
1520
+ ]);
1521
+
1522
+ /** Devin message exa.auth_pb.GetUserJwtRequest. */
1523
+ export interface GetUserJwtRequest extends ProtoMessage {
1524
+ metadata?: Metadata;
1525
+ }
1526
+
1527
+ export const GetUserJwtRequestSchema: MessageCodec<GetUserJwtRequest> = pb<GetUserJwtRequest>("exa.auth_pb.GetUserJwtRequest", [
1528
+ { no: 1, name: "metadata", kind: "message", T: () => MetadataSchema },
1529
+ ]);
1530
+
1531
+ /** Devin message exa.auth_pb.GetUserJwtResponse. */
1532
+ export interface GetUserJwtResponse extends ProtoMessage {
1533
+ userJwt: string;
1534
+ customApiServerUrl: string;
1535
+ }
1536
+
1537
+ export const GetUserJwtResponseSchema: MessageCodec<GetUserJwtResponse> = pb<GetUserJwtResponse>("exa.auth_pb.GetUserJwtResponse", [
1538
+ { no: 1, name: "userJwt", kind: "string" },
1539
+ { no: 2, name: "customApiServerUrl", kind: "string" },
1540
+ ]);
1541
+
1542
+ /** Devin message exa.codeium_common_pb.GoogleInferenceConfig. */
1543
+ export interface GoogleInferenceConfig extends ProtoMessage {
1544
+ reasoningEffort: string;
1545
+ }
1546
+
1547
+ export const GoogleInferenceConfigSchema: MessageCodec<GoogleInferenceConfig> = pb<GoogleInferenceConfig>("exa.codeium_common_pb.GoogleInferenceConfig", [
1548
+ { no: 1, name: "reasoningEffort", kind: "string" },
1549
+ ]);
1550
+
1551
+ /** Devin message exa.codeium_common_pb.ImageData. */
1552
+ export interface ImageData extends ProtoMessage {
1553
+ base64Data: string;
1554
+ mimeType: string;
1555
+ caption: string;
1556
+ }
1557
+
1558
+ export const ImageDataSchema: MessageCodec<ImageData> = pb<ImageData>("exa.codeium_common_pb.ImageData", [
1559
+ { no: 1, name: "base64Data", kind: "string" },
1560
+ { no: 2, name: "mimeType", kind: "string" },
1561
+ { no: 3, name: "caption", kind: "string" },
1562
+ ]);
1563
+
1564
+ /** Devin message exa.codeium_common_pb.InferenceConfig. */
1565
+ export interface InferenceConfig extends ProtoMessage {
1566
+ config:
1567
+ | { case: undefined; value?: undefined }
1568
+ | { case: "openai"; value: OpenAIInferenceConfig }
1569
+ | { case: "google"; value: GoogleInferenceConfig }
1570
+ | { case: "anthropic"; value: AnthropicInferenceConfig };
1571
+ }
1572
+
1573
+ export const InferenceConfigSchema: MessageCodec<InferenceConfig> = pb<InferenceConfig>("exa.codeium_common_pb.InferenceConfig", [
1574
+ {
1575
+ kind: "oneof",
1576
+ name: "config",
1577
+ variants: [
1578
+ { no: 1, name: "openai", kind: "message", T: () => OpenAIInferenceConfigSchema },
1579
+ { no: 2, name: "google", kind: "message", T: () => GoogleInferenceConfigSchema },
1580
+ { no: 3, name: "anthropic", kind: "message", T: () => AnthropicInferenceConfigSchema },
1581
+ ],
1582
+ },
1583
+ ]);
1584
+
1585
+ /** Devin message exa.codeium_common_pb.Metadata. */
1586
+ export interface Metadata extends ProtoMessage {
1587
+ ideName: string;
1588
+ ideVersion: string;
1589
+ ideType: string;
1590
+ extensionName: string;
1591
+ extensionVersion: string;
1592
+ apiKey: string;
1593
+ locale: string;
1594
+ os: string;
1595
+ hardware: string;
1596
+ disableTelemetry: boolean;
1597
+ sessionId: string;
1598
+ lsTimestamp?: Timestamp;
1599
+ requestId: bigint;
1600
+ sourceAddress: string;
1601
+ userAgent: string;
1602
+ url: string;
1603
+ authSource: AuthSource;
1604
+ extensionPath: string;
1605
+ userId: string;
1606
+ userJwt: string;
1607
+ forceTeamId: string;
1608
+ deviceFingerprint: string;
1609
+ triggerId: string;
1610
+ planName: string;
1611
+ id: string;
1612
+ impersonateTier: string;
1613
+ supportedModelDisplays: DisplayOption[];
1614
+ f: string;
1615
+ teamId: string;
1616
+ }
1617
+
1618
+ export const MetadataSchema: MessageCodec<Metadata> = pb<Metadata>("exa.codeium_common_pb.Metadata", [
1619
+ { no: 1, name: "ideName", kind: "string" },
1620
+ { no: 7, name: "ideVersion", kind: "string" },
1621
+ { no: 28, name: "ideType", kind: "string" },
1622
+ { no: 12, name: "extensionName", kind: "string" },
1623
+ { no: 2, name: "extensionVersion", kind: "string" },
1624
+ { no: 3, name: "apiKey", kind: "string" },
1625
+ { no: 4, name: "locale", kind: "string" },
1626
+ { no: 5, name: "os", kind: "string" },
1627
+ { no: 8, name: "hardware", kind: "string" },
1628
+ { no: 6, name: "disableTelemetry", kind: "bool" },
1629
+ { no: 10, name: "sessionId", kind: "string" },
1630
+ { no: 16, name: "lsTimestamp", kind: "message", T: () => TimestampSchema },
1631
+ { no: 9, name: "requestId", kind: "uint64" },
1632
+ { no: 11, name: "sourceAddress", kind: "string" },
1633
+ { no: 13, name: "userAgent", kind: "string" },
1634
+ { no: 14, name: "url", kind: "string" },
1635
+ { no: 15, name: "authSource", kind: "enum" },
1636
+ { no: 17, name: "extensionPath", kind: "string" },
1637
+ { no: 20, name: "userId", kind: "string" },
1638
+ { no: 21, name: "userJwt", kind: "string" },
1639
+ { no: 22, name: "forceTeamId", kind: "string" },
1640
+ { no: 24, name: "deviceFingerprint", kind: "string" },
1641
+ { no: 25, name: "triggerId", kind: "string" },
1642
+ { no: 26, name: "planName", kind: "string" },
1643
+ { no: 27, name: "id", kind: "string" },
1644
+ { no: 29, name: "impersonateTier", kind: "string" },
1645
+ { no: 30, name: "supportedModelDisplays", kind: "enum", repeat: true },
1646
+ { no: 31, name: "f", kind: "string" },
1647
+ { no: 32, name: "teamId", kind: "string" },
1648
+ ]);
1649
+
1650
+ /** Devin message exa.codeium_common_pb.ModelDimension. */
1651
+ export interface ModelDimension extends ProtoMessage {
1652
+ label: string;
1653
+ value: number;
1654
+ denominator: string;
1655
+ minRange: number;
1656
+ maxRange: number;
1657
+ kind: ModelDimensionKind;
1658
+ info?: string;
1659
+ }
1660
+
1661
+ export const ModelDimensionSchema: MessageCodec<ModelDimension> = pb<ModelDimension>("exa.codeium_common_pb.ModelDimension", [
1662
+ { no: 1, name: "label", kind: "string" },
1663
+ { no: 2, name: "value", kind: "float" },
1664
+ { no: 3, name: "denominator", kind: "string" },
1665
+ { no: 4, name: "minRange", kind: "float" },
1666
+ { no: 5, name: "maxRange", kind: "float" },
1667
+ { no: 6, name: "kind", kind: "enum" },
1668
+ { no: 7, name: "info", kind: "string", optional: true },
1669
+ ]);
1670
+
1671
+ /** Devin message exa.codeium_common_pb.ModelDisabledReason. */
1672
+ export interface ModelDisabledReason extends ProtoMessage {
1673
+ shortReason: string;
1674
+ description?: string;
1675
+ link?: string;
1676
+ }
1677
+
1678
+ export const ModelDisabledReasonSchema: MessageCodec<ModelDisabledReason> = pb<ModelDisabledReason>("exa.codeium_common_pb.ModelDisabledReason", [
1679
+ { no: 1, name: "shortReason", kind: "string" },
1680
+ { no: 2, name: "description", kind: "string", optional: true },
1681
+ { no: 3, name: "link", kind: "string", optional: true },
1682
+ ]);
1683
+
1684
+ /** Devin message exa.codeium_common_pb.ModelFamilyMetadata. */
1685
+ export interface ModelFamilyMetadata extends ProtoMessage {
1686
+ modelFamilyLabel: string;
1687
+ entries: ModelFamilyMetadataEntry[];
1688
+ isDefaultModelInFamily: boolean;
1689
+ }
1690
+
1691
+ export const ModelFamilyMetadataSchema: MessageCodec<ModelFamilyMetadata> = pb<ModelFamilyMetadata>("exa.codeium_common_pb.ModelFamilyMetadata", [
1692
+ { no: 1, name: "modelFamilyLabel", kind: "string" },
1693
+ { no: 2, name: "entries", kind: "message", T: () => ModelFamilyMetadataEntrySchema, repeat: true },
1694
+ { no: 3, name: "isDefaultModelInFamily", kind: "bool" },
1695
+ ]);
1696
+
1697
+ /** Devin message exa.codeium_common_pb.ModelFamilyMetadataEntry. */
1698
+ export interface ModelFamilyMetadataEntry extends ProtoMessage {
1699
+ key: string;
1700
+ value?: ModelFamilyMetadataValue;
1701
+ }
1702
+
1703
+ export const ModelFamilyMetadataEntrySchema: MessageCodec<ModelFamilyMetadataEntry> = pb<ModelFamilyMetadataEntry>("exa.codeium_common_pb.ModelFamilyMetadataEntry", [
1704
+ { no: 1, name: "key", kind: "string" },
1705
+ { no: 2, name: "value", kind: "message", T: () => ModelFamilyMetadataValueSchema },
1706
+ ]);
1707
+
1708
+ /** Devin message exa.codeium_common_pb.ModelFamilyMetadataValue. */
1709
+ export interface ModelFamilyMetadataValue extends ProtoMessage {
1710
+ order: number;
1711
+ name: string;
1712
+ }
1713
+
1714
+ export const ModelFamilyMetadataValueSchema: MessageCodec<ModelFamilyMetadataValue> = pb<ModelFamilyMetadataValue>("exa.codeium_common_pb.ModelFamilyMetadataValue", [
1715
+ { no: 1, name: "order", kind: "int32" },
1716
+ { no: 2, name: "name", kind: "string" },
1717
+ ]);
1718
+
1719
+ /** Devin message exa.codeium_common_pb.ModelFeatures. */
1720
+ export interface ModelFeatures extends ProtoMessage {
1721
+ supportsContextTokens: boolean;
1722
+ requiresInstructTags: boolean;
1723
+ requiresFimContext: boolean;
1724
+ requiresContextSnippetPrefix: boolean;
1725
+ requiresContextRelevanceTags: boolean;
1726
+ requiresLlama3Tokens: boolean;
1727
+ zeroShotCapable: boolean;
1728
+ requiresAutocompleteAsCommand: boolean;
1729
+ supportsCursorAwareSupercomplete: boolean;
1730
+ supportsImages: boolean;
1731
+ supportsImageCaptions: boolean;
1732
+ supportsToolCalls: boolean;
1733
+ supportsParallelToolCalls: boolean;
1734
+ supportsCumulativeContext: boolean;
1735
+ tabJumpPrintLineRange: boolean;
1736
+ supportsThinking: boolean;
1737
+ interleaveThinking: boolean;
1738
+ preserveThinking: boolean;
1739
+ supportsEstimateTokenCounter: boolean;
1740
+ addCursorToFindReplaceTarget: boolean;
1741
+ supportsTabJumpUseWholeDocument: boolean;
1742
+ requiresSupercompleteClean: boolean;
1743
+ tabRouteToModal: boolean;
1744
+ supportsRejectionContext: boolean;
1745
+ }
1746
+
1747
+ export const ModelFeaturesSchema: MessageCodec<ModelFeatures> = pb<ModelFeatures>("exa.codeium_common_pb.ModelFeatures", [
1748
+ { no: 2, name: "supportsContextTokens", kind: "bool" },
1749
+ { no: 3, name: "requiresInstructTags", kind: "bool" },
1750
+ { no: 4, name: "requiresFimContext", kind: "bool" },
1751
+ { no: 5, name: "requiresContextSnippetPrefix", kind: "bool" },
1752
+ { no: 6, name: "requiresContextRelevanceTags", kind: "bool" },
1753
+ { no: 7, name: "requiresLlama3Tokens", kind: "bool" },
1754
+ { no: 8, name: "zeroShotCapable", kind: "bool" },
1755
+ { no: 9, name: "requiresAutocompleteAsCommand", kind: "bool" },
1756
+ { no: 10, name: "supportsCursorAwareSupercomplete", kind: "bool" },
1757
+ { no: 11, name: "supportsImages", kind: "bool" },
1758
+ { no: 20, name: "supportsImageCaptions", kind: "bool" },
1759
+ { no: 12, name: "supportsToolCalls", kind: "bool" },
1760
+ { no: 21, name: "supportsParallelToolCalls", kind: "bool" },
1761
+ { no: 13, name: "supportsCumulativeContext", kind: "bool" },
1762
+ { no: 14, name: "tabJumpPrintLineRange", kind: "bool" },
1763
+ { no: 15, name: "supportsThinking", kind: "bool" },
1764
+ { no: 24, name: "interleaveThinking", kind: "bool" },
1765
+ { no: 25, name: "preserveThinking", kind: "bool" },
1766
+ { no: 17, name: "supportsEstimateTokenCounter", kind: "bool" },
1767
+ { no: 18, name: "addCursorToFindReplaceTarget", kind: "bool" },
1768
+ { no: 19, name: "supportsTabJumpUseWholeDocument", kind: "bool" },
1769
+ { no: 22, name: "requiresSupercompleteClean", kind: "bool" },
1770
+ { no: 23, name: "tabRouteToModal", kind: "bool" },
1771
+ { no: 26, name: "supportsRejectionContext", kind: "bool" },
1772
+ ]);
1773
+
1774
+ /** Devin message exa.codeium_common_pb.ModelInfo. */
1775
+ export interface ModelInfo extends ProtoMessage {
1776
+ modelId: Model;
1777
+ modelUid: string;
1778
+ isInternal: boolean;
1779
+ modelType: ModelType;
1780
+ maxTokens: number;
1781
+ tokenizerType: string;
1782
+ modelFeatures?: ModelFeatures;
1783
+ apiProvider: APIProvider;
1784
+ modelName: string;
1785
+ supportsContext: boolean;
1786
+ embedDim: number;
1787
+ baseUrl: string;
1788
+ chatModelName: string;
1789
+ maxOutputTokens: number;
1790
+ promptTemplaterType: PromptTemplaterType;
1791
+ toolFormatterType: ToolFormatterType;
1792
+ inferenceServerUrl: string;
1793
+ harnessUids: string[];
1794
+ arenaConfig?: ArenaConfig;
1795
+ displayOption: DisplayOption;
1796
+ modelFamilyUid: string;
1797
+ inferenceConfig?: InferenceConfig;
1798
+ isModelRouter: boolean;
1799
+ }
1800
+
1801
+ export const ModelInfoSchema: MessageCodec<ModelInfo> = pb<ModelInfo>("exa.codeium_common_pb.ModelInfo", [
1802
+ { no: 1, name: "modelId", kind: "enum" },
1803
+ { no: 17, name: "modelUid", kind: "string" },
1804
+ { no: 2, name: "isInternal", kind: "bool" },
1805
+ { no: 3, name: "modelType", kind: "enum" },
1806
+ { no: 4, name: "maxTokens", kind: "int32" },
1807
+ { no: 5, name: "tokenizerType", kind: "string" },
1808
+ { no: 6, name: "modelFeatures", kind: "message", T: () => ModelFeaturesSchema },
1809
+ { no: 7, name: "apiProvider", kind: "enum" },
1810
+ { no: 8, name: "modelName", kind: "string" },
1811
+ { no: 9, name: "supportsContext", kind: "bool" },
1812
+ { no: 10, name: "embedDim", kind: "int32" },
1813
+ { no: 11, name: "baseUrl", kind: "string" },
1814
+ { no: 12, name: "chatModelName", kind: "string" },
1815
+ { no: 13, name: "maxOutputTokens", kind: "int32" },
1816
+ { no: 14, name: "promptTemplaterType", kind: "enum" },
1817
+ { no: 15, name: "toolFormatterType", kind: "enum" },
1818
+ { no: 18, name: "inferenceServerUrl", kind: "string" },
1819
+ { no: 20, name: "harnessUids", kind: "string", repeat: true },
1820
+ { no: 21, name: "arenaConfig", kind: "message", T: () => ArenaConfigSchema },
1821
+ { no: 22, name: "displayOption", kind: "enum" },
1822
+ { no: 23, name: "modelFamilyUid", kind: "string" },
1823
+ { no: 24, name: "inferenceConfig", kind: "message", T: () => InferenceConfigSchema },
1824
+ { no: 25, name: "isModelRouter", kind: "bool" },
1825
+ ]);
1826
+
1827
+ /** Devin message exa.codeium_common_pb.ModelOrAlias. */
1828
+ export interface ModelOrAlias extends ProtoMessage {
1829
+ choice:
1830
+ | { case: undefined; value?: undefined }
1831
+ | { case: "model"; value: Model }
1832
+ | { case: "alias"; value: ModelAlias }
1833
+ | { case: "modelUid"; value: string };
1834
+ }
1835
+
1836
+ export const ModelOrAliasSchema: MessageCodec<ModelOrAlias> = pb<ModelOrAlias>("exa.codeium_common_pb.ModelOrAlias", [
1837
+ {
1838
+ kind: "oneof",
1839
+ name: "choice",
1840
+ variants: [
1841
+ { no: 1, name: "model", kind: "enum" },
1842
+ { no: 2, name: "alias", kind: "enum" },
1843
+ { no: 3, name: "modelUid", kind: "string" },
1844
+ ],
1845
+ },
1846
+ ]);
1847
+
1848
+ /** Devin message exa.codeium_common_pb.ModelUsageStats. */
1849
+ export interface ModelUsageStats extends ProtoMessage {
1850
+ modelDeprecated: Model;
1851
+ modelUid: string;
1852
+ billingModelUid: string;
1853
+ requestedModelUid: string;
1854
+ inputTokens: bigint;
1855
+ outputTokens: bigint;
1856
+ cacheWriteTokens: bigint;
1857
+ cacheReadTokens: bigint;
1858
+ apiProvider: APIProvider;
1859
+ messageId: string;
1860
+ responseHeader: Record<string, string>;
1861
+ }
1862
+
1863
+ export const ModelUsageStatsSchema: MessageCodec<ModelUsageStats> = pb<ModelUsageStats>("exa.codeium_common_pb.ModelUsageStats", [
1864
+ { no: 1, name: "modelDeprecated", kind: "enum" },
1865
+ { no: 9, name: "modelUid", kind: "string" },
1866
+ { no: 10, name: "billingModelUid", kind: "string" },
1867
+ { no: 11, name: "requestedModelUid", kind: "string" },
1868
+ { no: 2, name: "inputTokens", kind: "uint64" },
1869
+ { no: 3, name: "outputTokens", kind: "uint64" },
1870
+ { no: 4, name: "cacheWriteTokens", kind: "uint64" },
1871
+ { no: 5, name: "cacheReadTokens", kind: "uint64" },
1872
+ { no: 6, name: "apiProvider", kind: "enum" },
1873
+ { no: 7, name: "messageId", kind: "string" },
1874
+ { no: 8, name: "responseHeader", kind: "map", K: "string", V: "string" },
1875
+ ]);
1876
+
1877
+ /** Devin message exa.codeium_common_pb.OpenAIInferenceConfig. */
1878
+ export interface OpenAIInferenceConfig extends ProtoMessage {
1879
+ reasoningEffort: string;
1880
+ serviceTier: string;
1881
+ extendedPromptCacheRetention: boolean;
1882
+ }
1883
+
1884
+ export const OpenAIInferenceConfigSchema: MessageCodec<OpenAIInferenceConfig> = pb<OpenAIInferenceConfig>("exa.codeium_common_pb.OpenAIInferenceConfig", [
1885
+ { no: 1, name: "reasoningEffort", kind: "string" },
1886
+ { no: 2, name: "serviceTier", kind: "string" },
1887
+ { no: 3, name: "extendedPromptCacheRetention", kind: "bool" },
1888
+ ]);
1889
+
1890
+ /** Devin message exa.codeium_common_pb.PromoStatus. */
1891
+ export interface PromoStatus extends ProtoMessage {
1892
+ isActive: boolean;
1893
+ endDate?: Timestamp;
1894
+ label: string;
1895
+ }
1896
+
1897
+ export const PromoStatusSchema: MessageCodec<PromoStatus> = pb<PromoStatus>("exa.codeium_common_pb.PromoStatus", [
1898
+ { no: 1, name: "isActive", kind: "bool" },
1899
+ { no: 2, name: "endDate", kind: "message", T: () => TimestampSchema },
1900
+ { no: 3, name: "label", kind: "string" },
1901
+ ]);
1902
+
1903
+ /** Devin message exa.codeium_common_pb.PromptAnnotationRange. */
1904
+ export interface PromptAnnotationRange extends ProtoMessage {
1905
+ kind: PromptAnnotationKind;
1906
+ byteOffsetStart: bigint;
1907
+ byteOffsetEnd: bigint;
1908
+ suffix: string;
1909
+ }
1910
+
1911
+ export const PromptAnnotationRangeSchema: MessageCodec<PromptAnnotationRange> = pb<PromptAnnotationRange>("exa.codeium_common_pb.PromptAnnotationRange", [
1912
+ { no: 1, name: "kind", kind: "enum" },
1913
+ { no: 2, name: "byteOffsetStart", kind: "uint64" },
1914
+ { no: 3, name: "byteOffsetEnd", kind: "uint64" },
1915
+ { no: 4, name: "suffix", kind: "string" },
1916
+ ]);
1917
+
1918
+ /** Devin message exa.chat_pb.PromptCacheOptions. */
1919
+ export interface PromptCacheOptions extends ProtoMessage {
1920
+ type: CacheControlType;
1921
+ }
1922
+
1923
+ export const PromptCacheOptionsSchema: MessageCodec<PromptCacheOptions> = pb<PromptCacheOptions>("exa.chat_pb.PromptCacheOptions", [
1924
+ { no: 1, name: "type", kind: "enum" },
1925
+ ]);
1926
+
1927
+ /** Devin message exa.codeium_common_pb.ResponseDimension. */
1928
+ export interface ResponseDimension extends ProtoMessage {
1929
+ uid: string;
1930
+ dimension:
1931
+ | { case: undefined; value?: undefined }
1932
+ | { case: "copyableCode"; value: ResponseDimensionCopyableCode }
1933
+ | { case: "metric"; value: ResponseDimensionMetric }
1934
+ | { case: "cumulativeMetric"; value: ResponseDimensionCumulativeMetric };
1935
+ }
1936
+
1937
+ export const ResponseDimensionSchema: MessageCodec<ResponseDimension> = pb<ResponseDimension>("exa.codeium_common_pb.ResponseDimension", [
1938
+ { no: 5, name: "uid", kind: "string" },
1939
+ {
1940
+ kind: "oneof",
1941
+ name: "dimension",
1942
+ variants: [
1943
+ { no: 2, name: "copyableCode", kind: "message", T: () => ResponseDimensionCopyableCodeSchema },
1944
+ { no: 3, name: "metric", kind: "message", T: () => ResponseDimensionMetricSchema },
1945
+ { no: 4, name: "cumulativeMetric", kind: "message", T: () => ResponseDimensionCumulativeMetricSchema },
1946
+ ],
1947
+ },
1948
+ ]);
1949
+
1950
+ /** Devin message exa.codeium_common_pb.ResponseDimensionCopyableCode. */
1951
+ export interface ResponseDimensionCopyableCode extends ProtoMessage {
1952
+ label: string;
1953
+ value: string;
1954
+ }
1955
+
1956
+ export const ResponseDimensionCopyableCodeSchema: MessageCodec<ResponseDimensionCopyableCode> = pb<ResponseDimensionCopyableCode>("exa.codeium_common_pb.ResponseDimensionCopyableCode", [
1957
+ { no: 1, name: "label", kind: "string" },
1958
+ { no: 2, name: "value", kind: "string" },
1959
+ ]);
1960
+
1961
+ /** Devin message exa.codeium_common_pb.ResponseDimensionCumulativeMetric. */
1962
+ export interface ResponseDimensionCumulativeMetric extends ProtoMessage {
1963
+ label: string;
1964
+ value: number;
1965
+ tail: string;
1966
+ pluralTail: string;
1967
+ prefix: string;
1968
+ }
1969
+
1970
+ export const ResponseDimensionCumulativeMetricSchema: MessageCodec<ResponseDimensionCumulativeMetric> = pb<ResponseDimensionCumulativeMetric>("exa.codeium_common_pb.ResponseDimensionCumulativeMetric", [
1971
+ { no: 1, name: "label", kind: "string" },
1972
+ { no: 2, name: "value", kind: "float" },
1973
+ { no: 3, name: "tail", kind: "string" },
1974
+ { no: 4, name: "pluralTail", kind: "string" },
1975
+ { no: 5, name: "prefix", kind: "string" },
1976
+ ]);
1977
+
1978
+ /** Devin message exa.codeium_common_pb.ResponseDimensionGroup. */
1979
+ export interface ResponseDimensionGroup extends ProtoMessage {
1980
+ title: string;
1981
+ dimensions: ResponseDimension[];
1982
+ }
1983
+
1984
+ export const ResponseDimensionGroupSchema: MessageCodec<ResponseDimensionGroup> = pb<ResponseDimensionGroup>("exa.codeium_common_pb.ResponseDimensionGroup", [
1985
+ { no: 1, name: "title", kind: "string" },
1986
+ { no: 2, name: "dimensions", kind: "message", T: () => ResponseDimensionSchema, repeat: true },
1987
+ ]);
1988
+
1989
+ /** Devin message exa.codeium_common_pb.ResponseDimensionMetric. */
1990
+ export interface ResponseDimensionMetric extends ProtoMessage {
1991
+ label: string;
1992
+ value: string;
1993
+ }
1994
+
1995
+ export const ResponseDimensionMetricSchema: MessageCodec<ResponseDimensionMetric> = pb<ResponseDimensionMetric>("exa.codeium_common_pb.ResponseDimensionMetric", [
1996
+ { no: 1, name: "label", kind: "string" },
1997
+ { no: 2, name: "value", kind: "string" },
1998
+ ]);
1999
+
2000
+ /** Devin message exa.codeium_common_pb.SingleModelCompletionProfile. */
2001
+ export interface SingleModelCompletionProfile extends ProtoMessage {
2002
+ totalPrefillPassTime: number;
2003
+ avgPrefillPassTime: number;
2004
+ numPrefillPasses: bigint;
2005
+ totalSpecCopyPassTime: number;
2006
+ avgSpecCopyPassTime: number;
2007
+ numSpecCopyPasses: bigint;
2008
+ totalGenerationPassTime: number;
2009
+ avgGenerationPassTime: number;
2010
+ numGenerationPasses: bigint;
2011
+ totalModelTime: number;
2012
+ }
2013
+
2014
+ export const SingleModelCompletionProfileSchema: MessageCodec<SingleModelCompletionProfile> = pb<SingleModelCompletionProfile>("exa.codeium_common_pb.SingleModelCompletionProfile", [
2015
+ { no: 1, name: "totalPrefillPassTime", kind: "double" },
2016
+ { no: 2, name: "avgPrefillPassTime", kind: "double" },
2017
+ { no: 3, name: "numPrefillPasses", kind: "uint64" },
2018
+ { no: 7, name: "totalSpecCopyPassTime", kind: "double" },
2019
+ { no: 8, name: "avgSpecCopyPassTime", kind: "double" },
2020
+ { no: 9, name: "numSpecCopyPasses", kind: "uint64" },
2021
+ { no: 4, name: "totalGenerationPassTime", kind: "double" },
2022
+ { no: 5, name: "avgGenerationPassTime", kind: "double" },
2023
+ { no: 6, name: "numGenerationPasses", kind: "uint64" },
2024
+ { no: 10, name: "totalModelTime", kind: "double" },
2025
+ ]);
2026
+
2027
+ /** Devin message google.protobuf.Timestamp. */
2028
+ export interface Timestamp extends ProtoMessage {
2029
+ seconds: bigint;
2030
+ nanos: number;
2031
+ }
2032
+
2033
+ export const TimestampSchema: MessageCodec<Timestamp> = pb<Timestamp>("google.protobuf.Timestamp", [
2034
+ { no: 1, name: "seconds", kind: "int64" },
2035
+ { no: 2, name: "nanos", kind: "int32" },
2036
+ ]);
2037
+