@oh-my-pi/pi-catalog 16.1.12 → 16.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/types/discovery/devin-gen/buf/validate/validate_pb.d.ts +1715 -0
- package/dist/types/discovery/devin-gen/exa/analytics_pb/analytics_pb.d.ts +693 -0
- package/dist/types/discovery/devin-gen/exa/api_server_pb/api_server_pb.d.ts +9158 -0
- package/dist/types/discovery/devin-gen/exa/auth_pb/auth_pb.d.ts +52 -0
- package/dist/types/discovery/devin-gen/exa/auto_cascade_common_pb/auto_cascade_common_pb.d.ts +276 -0
- package/dist/types/discovery/devin-gen/exa/bug_checker_pb/bug_checker_pb.d.ts +78 -0
- package/dist/types/discovery/devin-gen/exa/cascade_plugins_pb/cascade_plugins_pb.d.ts +999 -0
- package/dist/types/discovery/devin-gen/exa/chat_pb/chat_pb.d.ts +1704 -0
- package/dist/types/discovery/devin-gen/exa/code_edit/code_edit_pb/code_edit_pb.d.ts +656 -0
- package/dist/types/discovery/devin-gen/exa/codeium_common_pb/codeium_common_pb.d.ts +15014 -0
- package/dist/types/discovery/devin-gen/exa/context_module_pb/context_module_pb.d.ts +607 -0
- package/dist/types/discovery/devin-gen/exa/cortex_pb/cortex_pb.d.ts +11830 -0
- package/dist/types/discovery/devin-gen/exa/diff_action_pb/diff_action_pb.d.ts +248 -0
- package/dist/types/discovery/devin-gen/exa/index_pb/index_pb.d.ts +1747 -0
- package/dist/types/discovery/devin-gen/exa/knowledge_base_pb/knowledge_base_pb.d.ts +509 -0
- package/dist/types/discovery/devin-gen/exa/language_server_pb/language_server_pb.d.ts +9048 -0
- package/dist/types/discovery/devin-gen/exa/opensearch_clients_pb/opensearch_clients_pb.d.ts +1760 -0
- package/dist/types/discovery/devin-gen/exa/prompt_pb/prompt_pb.d.ts +286 -0
- package/dist/types/discovery/devin-gen/exa/reactive_component_pb/reactive_component_pb.d.ts +405 -0
- package/dist/types/discovery/devin-gen/exa/trust_pb/trust_pb.d.ts +582 -0
- package/dist/types/discovery/devin.d.ts +24 -0
- package/dist/types/provider-models/descriptors.d.ts +11 -0
- package/dist/types/provider-models/special.d.ts +7 -0
- package/dist/types/types.d.ts +1 -1
- package/package.json +3 -3
- package/src/discovery/devin-gen/buf/validate/validate_pb.ts +1862 -0
- package/src/discovery/devin-gen/exa/analytics_pb/analytics_pb.ts +871 -0
- package/src/discovery/devin-gen/exa/api_server_pb/api_server_pb.ts +11083 -0
- package/src/discovery/devin-gen/exa/auth_pb/auth_pb.ts +71 -0
- package/src/discovery/devin-gen/exa/auto_cascade_common_pb/auto_cascade_common_pb.ts +348 -0
- package/src/discovery/devin-gen/exa/bug_checker_pb/bug_checker_pb.ts +103 -0
- package/src/discovery/devin-gen/exa/cascade_plugins_pb/cascade_plugins_pb.ts +1198 -0
- package/src/discovery/devin-gen/exa/chat_pb/chat_pb.ts +2063 -0
- package/src/discovery/devin-gen/exa/code_edit/code_edit_pb/code_edit_pb.ts +810 -0
- package/src/discovery/devin-gen/exa/codeium_common_pb/codeium_common_pb.ts +18354 -0
- package/src/discovery/devin-gen/exa/context_module_pb/context_module_pb.ts +732 -0
- package/src/discovery/devin-gen/exa/cortex_pb/cortex_pb.ts +14277 -0
- package/src/discovery/devin-gen/exa/diff_action_pb/diff_action_pb.ts +312 -0
- package/src/discovery/devin-gen/exa/index_pb/index_pb.ts +2106 -0
- package/src/discovery/devin-gen/exa/knowledge_base_pb/knowledge_base_pb.ts +623 -0
- package/src/discovery/devin-gen/exa/language_server_pb/language_server_pb.ts +10918 -0
- package/src/discovery/devin-gen/exa/opensearch_clients_pb/opensearch_clients_pb.ts +2125 -0
- package/src/discovery/devin-gen/exa/prompt_pb/prompt_pb.ts +361 -0
- package/src/discovery/devin-gen/exa/reactive_component_pb/reactive_component_pb.ts +450 -0
- package/src/discovery/devin-gen/exa/trust_pb/trust_pb.ts +712 -0
- package/src/discovery/devin.ts +151 -0
- package/src/models.json +2608 -24
- package/src/provider-models/descriptors.ts +9 -1
- package/src/provider-models/special.ts +29 -0
- package/src/types.ts +2 -1
|
@@ -0,0 +1,656 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { CodeContextItem, GitRepoInfo } from "../../codeium_common_pb/codeium_common_pb";
|
|
3
|
+
import type { CodeContextItemWithRetrievalMetadata } from "../../context_module_pb/context_module_pb";
|
|
4
|
+
import type { IndexStats } from "../../index_pb/index_pb";
|
|
5
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
6
|
+
/**
|
|
7
|
+
* Describes the file exa/code_edit/code_edit_pb/code_edit.proto.
|
|
8
|
+
*/
|
|
9
|
+
export declare const file_exa_code_edit_code_edit_pb_code_edit: GenFile;
|
|
10
|
+
/**
|
|
11
|
+
* @generated from message exa.code_edit.code_edit_pb.RelevantCodeContext
|
|
12
|
+
*/
|
|
13
|
+
export type RelevantCodeContext = Message<"exa.code_edit.code_edit_pb.RelevantCodeContext"> & {
|
|
14
|
+
/**
|
|
15
|
+
* @generated from field: exa.codeium_common_pb.CodeContextItem code_context_item = 1;
|
|
16
|
+
*/
|
|
17
|
+
codeContextItem?: CodeContextItem | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* @generated from field: exa.code_edit.code_edit_pb.RelevanceReason relevance_reason = 3;
|
|
20
|
+
*/
|
|
21
|
+
relevanceReason: RelevanceReason;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Describes the message exa.code_edit.code_edit_pb.RelevantCodeContext.
|
|
25
|
+
* Use `create(RelevantCodeContextSchema)` to create a new message.
|
|
26
|
+
*/
|
|
27
|
+
export declare const RelevantCodeContextSchema: GenMessage<RelevantCodeContext>;
|
|
28
|
+
/**
|
|
29
|
+
* @generated from message exa.code_edit.code_edit_pb.IntentRelevance
|
|
30
|
+
*/
|
|
31
|
+
export type IntentRelevance = Message<"exa.code_edit.code_edit_pb.IntentRelevance"> & {
|
|
32
|
+
/**
|
|
33
|
+
* @generated from field: string intent = 1;
|
|
34
|
+
*/
|
|
35
|
+
intent: string;
|
|
36
|
+
/**
|
|
37
|
+
* @generated from field: float relevance_score = 2;
|
|
38
|
+
*/
|
|
39
|
+
relevanceScore: number;
|
|
40
|
+
/**
|
|
41
|
+
* @generated from field: string rationale = 3;
|
|
42
|
+
*/
|
|
43
|
+
rationale: string;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Describes the message exa.code_edit.code_edit_pb.IntentRelevance.
|
|
47
|
+
* Use `create(IntentRelevanceSchema)` to create a new message.
|
|
48
|
+
*/
|
|
49
|
+
export declare const IntentRelevanceSchema: GenMessage<IntentRelevance>;
|
|
50
|
+
/**
|
|
51
|
+
* @generated from message exa.code_edit.code_edit_pb.CodeContextItemChange
|
|
52
|
+
*/
|
|
53
|
+
export type CodeContextItemChange = Message<"exa.code_edit.code_edit_pb.CodeContextItemChange"> & {
|
|
54
|
+
/**
|
|
55
|
+
* @generated from field: exa.codeium_common_pb.CodeContextItem start_cci = 1;
|
|
56
|
+
*/
|
|
57
|
+
startCci?: CodeContextItem | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* @generated from field: exa.codeium_common_pb.CodeContextItem end_cci = 2;
|
|
60
|
+
*/
|
|
61
|
+
endCci?: CodeContextItem | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* @generated from field: repeated exa.code_edit.code_edit_pb.RelevantCodeContext relevant_code_contexts = 3;
|
|
64
|
+
*/
|
|
65
|
+
relevantCodeContexts: RelevantCodeContext[];
|
|
66
|
+
/**
|
|
67
|
+
* @generated from field: map<string, string> description_by_type = 4;
|
|
68
|
+
*/
|
|
69
|
+
descriptionByType: {
|
|
70
|
+
[key: string]: string;
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* @generated from field: repeated exa.code_edit.code_edit_pb.IntentRelevance intent_relevance = 5;
|
|
74
|
+
*/
|
|
75
|
+
intentRelevance: IntentRelevance[];
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* Describes the message exa.code_edit.code_edit_pb.CodeContextItemChange.
|
|
79
|
+
* Use `create(CodeContextItemChangeSchema)` to create a new message.
|
|
80
|
+
*/
|
|
81
|
+
export declare const CodeContextItemChangeSchema: GenMessage<CodeContextItemChange>;
|
|
82
|
+
/**
|
|
83
|
+
* @generated from message exa.code_edit.code_edit_pb.FileChange
|
|
84
|
+
*/
|
|
85
|
+
export type FileChange = Message<"exa.code_edit.code_edit_pb.FileChange"> & {
|
|
86
|
+
/**
|
|
87
|
+
* @generated from field: string start_file_path_migrate_me_to_uri = 1 [deprecated = true];
|
|
88
|
+
* @deprecated
|
|
89
|
+
*/
|
|
90
|
+
startFilePathMigrateMeToUri: string;
|
|
91
|
+
/**
|
|
92
|
+
* @generated from field: string start_file_uri = 10;
|
|
93
|
+
*/
|
|
94
|
+
startFileUri: string;
|
|
95
|
+
/**
|
|
96
|
+
* @generated from field: string start_file_rel_path = 8;
|
|
97
|
+
*/
|
|
98
|
+
startFileRelPath: string;
|
|
99
|
+
/**
|
|
100
|
+
* @generated from field: string end_file_path_migrate_me_to_uri = 2 [deprecated = true];
|
|
101
|
+
* @deprecated
|
|
102
|
+
*/
|
|
103
|
+
endFilePathMigrateMeToUri: string;
|
|
104
|
+
/**
|
|
105
|
+
* @generated from field: string end_file_uri = 11;
|
|
106
|
+
*/
|
|
107
|
+
endFileUri: string;
|
|
108
|
+
/**
|
|
109
|
+
* @generated from field: string end_file_rel_path = 9;
|
|
110
|
+
*/
|
|
111
|
+
endFileRelPath: string;
|
|
112
|
+
/**
|
|
113
|
+
* @generated from field: string old_file_content = 3;
|
|
114
|
+
*/
|
|
115
|
+
oldFileContent: string;
|
|
116
|
+
/**
|
|
117
|
+
* @generated from field: string new_file_content = 4;
|
|
118
|
+
*/
|
|
119
|
+
newFileContent: string;
|
|
120
|
+
/**
|
|
121
|
+
* @generated from field: repeated exa.code_edit.code_edit_pb.CodeContextItemChange code_context_item_changes = 6;
|
|
122
|
+
*/
|
|
123
|
+
codeContextItemChanges: CodeContextItemChange[];
|
|
124
|
+
/**
|
|
125
|
+
* @generated from field: repeated exa.codeium_common_pb.CodeContextItem unchanged_code_context_items = 7;
|
|
126
|
+
*/
|
|
127
|
+
unchangedCodeContextItems: CodeContextItem[];
|
|
128
|
+
};
|
|
129
|
+
/**
|
|
130
|
+
* Describes the message exa.code_edit.code_edit_pb.FileChange.
|
|
131
|
+
* Use `create(FileChangeSchema)` to create a new message.
|
|
132
|
+
*/
|
|
133
|
+
export declare const FileChangeSchema: GenMessage<FileChange>;
|
|
134
|
+
/**
|
|
135
|
+
* @generated from message exa.code_edit.code_edit_pb.Intent
|
|
136
|
+
*/
|
|
137
|
+
export type Intent = Message<"exa.code_edit.code_edit_pb.Intent"> & {
|
|
138
|
+
/**
|
|
139
|
+
* @generated from field: string intent = 1;
|
|
140
|
+
*/
|
|
141
|
+
intent: string;
|
|
142
|
+
/**
|
|
143
|
+
* @generated from field: exa.code_edit.code_edit_pb.IntentType intent_type = 2;
|
|
144
|
+
*/
|
|
145
|
+
intentType: IntentType;
|
|
146
|
+
/**
|
|
147
|
+
* @generated from field: bool include_test_files = 3;
|
|
148
|
+
*/
|
|
149
|
+
includeTestFiles: boolean;
|
|
150
|
+
};
|
|
151
|
+
/**
|
|
152
|
+
* Describes the message exa.code_edit.code_edit_pb.Intent.
|
|
153
|
+
* Use `create(IntentSchema)` to create a new message.
|
|
154
|
+
*/
|
|
155
|
+
export declare const IntentSchema: GenMessage<Intent>;
|
|
156
|
+
/**
|
|
157
|
+
* @generated from message exa.code_edit.code_edit_pb.CodeChangeWithContext
|
|
158
|
+
*/
|
|
159
|
+
export type CodeChangeWithContext = Message<"exa.code_edit.code_edit_pb.CodeChangeWithContext"> & {
|
|
160
|
+
/**
|
|
161
|
+
* @generated from field: exa.codeium_common_pb.GitRepoInfo repository = 1;
|
|
162
|
+
*/
|
|
163
|
+
repository?: GitRepoInfo | undefined;
|
|
164
|
+
/**
|
|
165
|
+
* @generated from field: repeated exa.code_edit.code_edit_pb.FileChange file_changes = 2;
|
|
166
|
+
*/
|
|
167
|
+
fileChanges: FileChange[];
|
|
168
|
+
/**
|
|
169
|
+
* @generated from field: repeated exa.code_edit.code_edit_pb.FileChange test_file_changes = 9;
|
|
170
|
+
*/
|
|
171
|
+
testFileChanges: FileChange[];
|
|
172
|
+
/**
|
|
173
|
+
* @generated from field: string intent = 3;
|
|
174
|
+
*/
|
|
175
|
+
intent: string;
|
|
176
|
+
/**
|
|
177
|
+
* @generated from oneof exa.code_edit.code_edit_pb.CodeChangeWithContext.code_change_data_source
|
|
178
|
+
*/
|
|
179
|
+
codeChangeDataSource: {
|
|
180
|
+
/**
|
|
181
|
+
* @generated from field: exa.code_edit.code_edit_pb.GitCommit git_commit = 4;
|
|
182
|
+
*/
|
|
183
|
+
value: GitCommit;
|
|
184
|
+
case: "gitCommit";
|
|
185
|
+
} | {
|
|
186
|
+
case: undefined;
|
|
187
|
+
value?: undefined;
|
|
188
|
+
};
|
|
189
|
+
/**
|
|
190
|
+
* @generated from field: exa.index_pb.IndexStats index_stats = 5;
|
|
191
|
+
*/
|
|
192
|
+
indexStats?: IndexStats | undefined;
|
|
193
|
+
/**
|
|
194
|
+
* @generated from field: repeated exa.codeium_common_pb.CodeContextItem unrelated_ccis = 6;
|
|
195
|
+
*/
|
|
196
|
+
unrelatedCcis: CodeContextItem[];
|
|
197
|
+
/**
|
|
198
|
+
* @generated from field: repeated exa.code_edit.code_edit_pb.Intent synthetic_intents = 8;
|
|
199
|
+
*/
|
|
200
|
+
syntheticIntents: Intent[];
|
|
201
|
+
};
|
|
202
|
+
/**
|
|
203
|
+
* Describes the message exa.code_edit.code_edit_pb.CodeChangeWithContext.
|
|
204
|
+
* Use `create(CodeChangeWithContextSchema)` to create a new message.
|
|
205
|
+
*/
|
|
206
|
+
export declare const CodeChangeWithContextSchema: GenMessage<CodeChangeWithContext>;
|
|
207
|
+
/**
|
|
208
|
+
* @generated from message exa.code_edit.code_edit_pb.GitCommit
|
|
209
|
+
*/
|
|
210
|
+
export type GitCommit = Message<"exa.code_edit.code_edit_pb.GitCommit"> & {
|
|
211
|
+
/**
|
|
212
|
+
* @generated from field: string commit_hash = 1;
|
|
213
|
+
*/
|
|
214
|
+
commitHash: string;
|
|
215
|
+
/**
|
|
216
|
+
* @generated from field: string parent_commit_hash = 2;
|
|
217
|
+
*/
|
|
218
|
+
parentCommitHash: string;
|
|
219
|
+
};
|
|
220
|
+
/**
|
|
221
|
+
* Describes the message exa.code_edit.code_edit_pb.GitCommit.
|
|
222
|
+
* Use `create(GitCommitSchema)` to create a new message.
|
|
223
|
+
*/
|
|
224
|
+
export declare const GitCommitSchema: GenMessage<GitCommit>;
|
|
225
|
+
/**
|
|
226
|
+
* @generated from message exa.code_edit.code_edit_pb.CommitToFileChangeRequest
|
|
227
|
+
*/
|
|
228
|
+
export type CommitToFileChangeRequest = Message<"exa.code_edit.code_edit_pb.CommitToFileChangeRequest"> & {
|
|
229
|
+
/**
|
|
230
|
+
* @generated from field: string repo_root = 1;
|
|
231
|
+
*/
|
|
232
|
+
repoRoot: string;
|
|
233
|
+
/**
|
|
234
|
+
* @generated from field: exa.codeium_common_pb.GitRepoInfo repository = 2;
|
|
235
|
+
*/
|
|
236
|
+
repository?: GitRepoInfo | undefined;
|
|
237
|
+
/**
|
|
238
|
+
* @generated from field: int32 unrelated_cci_multiple = 3;
|
|
239
|
+
*/
|
|
240
|
+
unrelatedCciMultiple: number;
|
|
241
|
+
/**
|
|
242
|
+
* @generated from field: string db_dir = 4;
|
|
243
|
+
*/
|
|
244
|
+
dbDir: string;
|
|
245
|
+
};
|
|
246
|
+
/**
|
|
247
|
+
* Describes the message exa.code_edit.code_edit_pb.CommitToFileChangeRequest.
|
|
248
|
+
* Use `create(CommitToFileChangeRequestSchema)` to create a new message.
|
|
249
|
+
*/
|
|
250
|
+
export declare const CommitToFileChangeRequestSchema: GenMessage<CommitToFileChangeRequest>;
|
|
251
|
+
/**
|
|
252
|
+
* @generated from message exa.code_edit.code_edit_pb.GitFilePatch
|
|
253
|
+
*/
|
|
254
|
+
export type GitFilePatch = Message<"exa.code_edit.code_edit_pb.GitFilePatch"> & {
|
|
255
|
+
/**
|
|
256
|
+
* @generated from field: string from = 1;
|
|
257
|
+
*/
|
|
258
|
+
from: string;
|
|
259
|
+
/**
|
|
260
|
+
* @generated from field: string to = 2;
|
|
261
|
+
*/
|
|
262
|
+
to: string;
|
|
263
|
+
};
|
|
264
|
+
/**
|
|
265
|
+
* Describes the message exa.code_edit.code_edit_pb.GitFilePatch.
|
|
266
|
+
* Use `create(GitFilePatchSchema)` to create a new message.
|
|
267
|
+
*/
|
|
268
|
+
export declare const GitFilePatchSchema: GenMessage<GitFilePatch>;
|
|
269
|
+
/**
|
|
270
|
+
* @generated from message exa.code_edit.code_edit_pb.CommitToFileChangeResponse
|
|
271
|
+
*/
|
|
272
|
+
export type CommitToFileChangeResponse = Message<"exa.code_edit.code_edit_pb.CommitToFileChangeResponse"> & {
|
|
273
|
+
/**
|
|
274
|
+
* @generated from field: repeated exa.code_edit.code_edit_pb.FileChange file_changes = 1;
|
|
275
|
+
*/
|
|
276
|
+
fileChanges: FileChange[];
|
|
277
|
+
/**
|
|
278
|
+
* @generated from field: string parent_commit_hash = 2;
|
|
279
|
+
*/
|
|
280
|
+
parentCommitHash: string;
|
|
281
|
+
/**
|
|
282
|
+
* @generated from field: exa.index_pb.IndexStats index_stats = 3;
|
|
283
|
+
*/
|
|
284
|
+
indexStats?: IndexStats | undefined;
|
|
285
|
+
/**
|
|
286
|
+
* @generated from field: repeated exa.codeium_common_pb.CodeContextItem unrelated_ccis = 4;
|
|
287
|
+
*/
|
|
288
|
+
unrelatedCcis: CodeContextItem[];
|
|
289
|
+
};
|
|
290
|
+
/**
|
|
291
|
+
* Describes the message exa.code_edit.code_edit_pb.CommitToFileChangeResponse.
|
|
292
|
+
* Use `create(CommitToFileChangeResponseSchema)` to create a new message.
|
|
293
|
+
*/
|
|
294
|
+
export declare const CommitToFileChangeResponseSchema: GenMessage<CommitToFileChangeResponse>;
|
|
295
|
+
/**
|
|
296
|
+
* @generated from message exa.code_edit.code_edit_pb.CodeRetrievalEvalTask
|
|
297
|
+
*/
|
|
298
|
+
export type CodeRetrievalEvalTask = Message<"exa.code_edit.code_edit_pb.CodeRetrievalEvalTask"> & {
|
|
299
|
+
/**
|
|
300
|
+
* @generated from field: exa.codeium_common_pb.GitRepoInfo repository = 1;
|
|
301
|
+
*/
|
|
302
|
+
repository?: GitRepoInfo | undefined;
|
|
303
|
+
/**
|
|
304
|
+
* @generated from field: exa.code_edit.code_edit_pb.GitCommit commit_info = 5;
|
|
305
|
+
*/
|
|
306
|
+
commitInfo?: GitCommit | undefined;
|
|
307
|
+
/**
|
|
308
|
+
* @generated from field: string query = 2;
|
|
309
|
+
*/
|
|
310
|
+
query: string;
|
|
311
|
+
/**
|
|
312
|
+
* @generated from field: repeated exa.code_edit.code_edit_pb.RelevantCodeContext target_code_contexts = 3;
|
|
313
|
+
*/
|
|
314
|
+
targetCodeContexts: RelevantCodeContext[];
|
|
315
|
+
/**
|
|
316
|
+
* @generated from field: string subdirectory = 4;
|
|
317
|
+
*/
|
|
318
|
+
subdirectory: string;
|
|
319
|
+
};
|
|
320
|
+
/**
|
|
321
|
+
* Describes the message exa.code_edit.code_edit_pb.CodeRetrievalEvalTask.
|
|
322
|
+
* Use `create(CodeRetrievalEvalTaskSchema)` to create a new message.
|
|
323
|
+
*/
|
|
324
|
+
export declare const CodeRetrievalEvalTaskSchema: GenMessage<CodeRetrievalEvalTask>;
|
|
325
|
+
/**
|
|
326
|
+
* @generated from message exa.code_edit.code_edit_pb.CodeRetrievalResult
|
|
327
|
+
*/
|
|
328
|
+
export type CodeRetrievalResult = Message<"exa.code_edit.code_edit_pb.CodeRetrievalResult"> & {
|
|
329
|
+
/**
|
|
330
|
+
* @generated from field: exa.codeium_common_pb.GitRepoInfo repository = 1;
|
|
331
|
+
*/
|
|
332
|
+
repository?: GitRepoInfo | undefined;
|
|
333
|
+
/**
|
|
334
|
+
* @generated from field: string retriever_name = 3;
|
|
335
|
+
*/
|
|
336
|
+
retrieverName: string;
|
|
337
|
+
/**
|
|
338
|
+
* @generated from field: exa.code_edit.code_edit_pb.RetrieverInfo retriever_info = 4;
|
|
339
|
+
*/
|
|
340
|
+
retrieverInfo?: RetrieverInfo | undefined;
|
|
341
|
+
/**
|
|
342
|
+
* @generated from field: repeated exa.context_module_pb.CodeContextItemWithRetrievalMetadata code_context_with_metadatas = 5;
|
|
343
|
+
*/
|
|
344
|
+
codeContextWithMetadatas: CodeContextItemWithRetrievalMetadata[];
|
|
345
|
+
};
|
|
346
|
+
/**
|
|
347
|
+
* Describes the message exa.code_edit.code_edit_pb.CodeRetrievalResult.
|
|
348
|
+
* Use `create(CodeRetrievalResultSchema)` to create a new message.
|
|
349
|
+
*/
|
|
350
|
+
export declare const CodeRetrievalResultSchema: GenMessage<CodeRetrievalResult>;
|
|
351
|
+
/**
|
|
352
|
+
* @generated from message exa.code_edit.code_edit_pb.RetrieverClassification
|
|
353
|
+
*/
|
|
354
|
+
export type RetrieverClassification = Message<"exa.code_edit.code_edit_pb.RetrieverClassification"> & {
|
|
355
|
+
/**
|
|
356
|
+
* @generated from field: float relevance_score = 1;
|
|
357
|
+
*/
|
|
358
|
+
relevanceScore: number;
|
|
359
|
+
/**
|
|
360
|
+
* @generated from field: exa.code_edit.code_edit_pb.RetrieverInfo retriever_info = 2;
|
|
361
|
+
*/
|
|
362
|
+
retrieverInfo?: RetrieverInfo | undefined;
|
|
363
|
+
};
|
|
364
|
+
/**
|
|
365
|
+
* Describes the message exa.code_edit.code_edit_pb.RetrieverClassification.
|
|
366
|
+
* Use `create(RetrieverClassificationSchema)` to create a new message.
|
|
367
|
+
*/
|
|
368
|
+
export declare const RetrieverClassificationSchema: GenMessage<RetrieverClassification>;
|
|
369
|
+
/**
|
|
370
|
+
* @generated from message exa.code_edit.code_edit_pb.CodeContextItemWithClassification
|
|
371
|
+
*/
|
|
372
|
+
export type CodeContextItemWithClassification = Message<"exa.code_edit.code_edit_pb.CodeContextItemWithClassification"> & {
|
|
373
|
+
/**
|
|
374
|
+
* @generated from field: exa.code_edit.code_edit_pb.RelevantCodeContext code_context_item = 1;
|
|
375
|
+
*/
|
|
376
|
+
codeContextItem?: RelevantCodeContext | undefined;
|
|
377
|
+
/**
|
|
378
|
+
* @generated from field: bool relevant = 2;
|
|
379
|
+
*/
|
|
380
|
+
relevant: boolean;
|
|
381
|
+
/**
|
|
382
|
+
* @generated from field: exa.code_edit.code_edit_pb.RetrieverClassification prediction = 3;
|
|
383
|
+
*/
|
|
384
|
+
prediction?: RetrieverClassification | undefined;
|
|
385
|
+
};
|
|
386
|
+
/**
|
|
387
|
+
* Describes the message exa.code_edit.code_edit_pb.CodeContextItemWithClassification.
|
|
388
|
+
* Use `create(CodeContextItemWithClassificationSchema)` to create a new message.
|
|
389
|
+
*/
|
|
390
|
+
export declare const CodeContextItemWithClassificationSchema: GenMessage<CodeContextItemWithClassification>;
|
|
391
|
+
/**
|
|
392
|
+
* @generated from message exa.code_edit.code_edit_pb.RetrieverInfo
|
|
393
|
+
*/
|
|
394
|
+
export type RetrieverInfo = Message<"exa.code_edit.code_edit_pb.RetrieverInfo"> & {
|
|
395
|
+
/**
|
|
396
|
+
* @generated from field: exa.code_edit.code_edit_pb.RetrieverType type = 1;
|
|
397
|
+
*/
|
|
398
|
+
type: RetrieverType;
|
|
399
|
+
/**
|
|
400
|
+
* @generated from field: string model_name = 2;
|
|
401
|
+
*/
|
|
402
|
+
modelName: string;
|
|
403
|
+
};
|
|
404
|
+
/**
|
|
405
|
+
* Describes the message exa.code_edit.code_edit_pb.RetrieverInfo.
|
|
406
|
+
* Use `create(RetrieverInfoSchema)` to create a new message.
|
|
407
|
+
*/
|
|
408
|
+
export declare const RetrieverInfoSchema: GenMessage<RetrieverInfo>;
|
|
409
|
+
/**
|
|
410
|
+
* @generated from message exa.code_edit.code_edit_pb.RetrievalMetrics
|
|
411
|
+
*/
|
|
412
|
+
export type RetrievalMetrics = Message<"exa.code_edit.code_edit_pb.RetrievalMetrics"> & {
|
|
413
|
+
/**
|
|
414
|
+
* @generated from field: exa.code_edit.code_edit_pb.RetrieverInfo retriever_info = 1;
|
|
415
|
+
*/
|
|
416
|
+
retrieverInfo?: RetrieverInfo | undefined;
|
|
417
|
+
/**
|
|
418
|
+
* @generated from field: float precision_score = 2;
|
|
419
|
+
*/
|
|
420
|
+
precisionScore: number;
|
|
421
|
+
/**
|
|
422
|
+
* @generated from field: float recall_score = 3;
|
|
423
|
+
*/
|
|
424
|
+
recallScore: number;
|
|
425
|
+
/**
|
|
426
|
+
* @generated from field: float accuracy_score = 4;
|
|
427
|
+
*/
|
|
428
|
+
accuracyScore: number;
|
|
429
|
+
/**
|
|
430
|
+
* @generated from field: float label_ranking_average_precision_score = 5;
|
|
431
|
+
*/
|
|
432
|
+
labelRankingAveragePrecisionScore: number;
|
|
433
|
+
/**
|
|
434
|
+
* @generated from field: float roc_auc_score = 6;
|
|
435
|
+
*/
|
|
436
|
+
rocAucScore: number;
|
|
437
|
+
/**
|
|
438
|
+
* @generated from field: float average_precision_score = 7;
|
|
439
|
+
*/
|
|
440
|
+
averagePrecisionScore: number;
|
|
441
|
+
/**
|
|
442
|
+
* @generated from field: float threshold = 8;
|
|
443
|
+
*/
|
|
444
|
+
threshold: number;
|
|
445
|
+
};
|
|
446
|
+
/**
|
|
447
|
+
* Describes the message exa.code_edit.code_edit_pb.RetrievalMetrics.
|
|
448
|
+
* Use `create(RetrievalMetricsSchema)` to create a new message.
|
|
449
|
+
*/
|
|
450
|
+
export declare const RetrievalMetricsSchema: GenMessage<RetrievalMetrics>;
|
|
451
|
+
/**
|
|
452
|
+
* @generated from message exa.code_edit.code_edit_pb.CodeRetrievalEvalResult
|
|
453
|
+
*/
|
|
454
|
+
export type CodeRetrievalEvalResult = Message<"exa.code_edit.code_edit_pb.CodeRetrievalEvalResult"> & {
|
|
455
|
+
/**
|
|
456
|
+
* @generated from field: exa.codeium_common_pb.GitRepoInfo repository = 1;
|
|
457
|
+
*/
|
|
458
|
+
repository?: GitRepoInfo | undefined;
|
|
459
|
+
/**
|
|
460
|
+
* @generated from field: repeated exa.code_edit.code_edit_pb.CodeContextItemWithClassification classified_items = 2;
|
|
461
|
+
*/
|
|
462
|
+
classifiedItems: CodeContextItemWithClassification[];
|
|
463
|
+
/**
|
|
464
|
+
* @generated from field: exa.code_edit.code_edit_pb.RetrievalMetrics metrics = 3;
|
|
465
|
+
*/
|
|
466
|
+
metrics?: RetrievalMetrics | undefined;
|
|
467
|
+
};
|
|
468
|
+
/**
|
|
469
|
+
* Describes the message exa.code_edit.code_edit_pb.CodeRetrievalEvalResult.
|
|
470
|
+
* Use `create(CodeRetrievalEvalResultSchema)` to create a new message.
|
|
471
|
+
*/
|
|
472
|
+
export declare const CodeRetrievalEvalResultSchema: GenMessage<CodeRetrievalEvalResult>;
|
|
473
|
+
/**
|
|
474
|
+
* @generated from message exa.code_edit.code_edit_pb.InstructionWithId
|
|
475
|
+
*/
|
|
476
|
+
export type InstructionWithId = Message<"exa.code_edit.code_edit_pb.InstructionWithId"> & {
|
|
477
|
+
/**
|
|
478
|
+
* @generated from field: int32 id = 1;
|
|
479
|
+
*/
|
|
480
|
+
id: number;
|
|
481
|
+
/**
|
|
482
|
+
* @generated from field: string file = 2;
|
|
483
|
+
*/
|
|
484
|
+
file: string;
|
|
485
|
+
/**
|
|
486
|
+
* @generated from field: string function = 3;
|
|
487
|
+
*/
|
|
488
|
+
function: string;
|
|
489
|
+
/**
|
|
490
|
+
* @generated from field: string instruction = 4;
|
|
491
|
+
*/
|
|
492
|
+
instruction: string;
|
|
493
|
+
};
|
|
494
|
+
/**
|
|
495
|
+
* Describes the message exa.code_edit.code_edit_pb.InstructionWithId.
|
|
496
|
+
* Use `create(InstructionWithIdSchema)` to create a new message.
|
|
497
|
+
*/
|
|
498
|
+
export declare const InstructionWithIdSchema: GenMessage<InstructionWithId>;
|
|
499
|
+
/**
|
|
500
|
+
* @generated from message exa.code_edit.code_edit_pb.InstructionWithIdList
|
|
501
|
+
*/
|
|
502
|
+
export type InstructionWithIdList = Message<"exa.code_edit.code_edit_pb.InstructionWithIdList"> & {
|
|
503
|
+
/**
|
|
504
|
+
* @generated from field: repeated exa.code_edit.code_edit_pb.InstructionWithId instructions = 1;
|
|
505
|
+
*/
|
|
506
|
+
instructions: InstructionWithId[];
|
|
507
|
+
};
|
|
508
|
+
/**
|
|
509
|
+
* Describes the message exa.code_edit.code_edit_pb.InstructionWithIdList.
|
|
510
|
+
* Use `create(InstructionWithIdListSchema)` to create a new message.
|
|
511
|
+
*/
|
|
512
|
+
export declare const InstructionWithIdListSchema: GenMessage<InstructionWithIdList>;
|
|
513
|
+
/**
|
|
514
|
+
* @generated from enum exa.code_edit.code_edit_pb.RelevanceReason
|
|
515
|
+
*/
|
|
516
|
+
export declare enum RelevanceReason {
|
|
517
|
+
/**
|
|
518
|
+
* @generated from enum value: RELEVANCE_REASON_UNSPECIFIED = 0;
|
|
519
|
+
*/
|
|
520
|
+
UNSPECIFIED = 0,
|
|
521
|
+
/**
|
|
522
|
+
* @generated from enum value: RELEVANCE_REASON_SAME_COMMIT_OLD = 1;
|
|
523
|
+
*/
|
|
524
|
+
SAME_COMMIT_OLD = 1,
|
|
525
|
+
/**
|
|
526
|
+
* @generated from enum value: RELEVANCE_REASON_SAME_COMMIT_NEW = 2;
|
|
527
|
+
*/
|
|
528
|
+
SAME_COMMIT_NEW = 2,
|
|
529
|
+
/**
|
|
530
|
+
* @generated from enum value: RELEVANCE_REASON_REF_IN_DELETION = 3;
|
|
531
|
+
*/
|
|
532
|
+
REF_IN_DELETION = 3,
|
|
533
|
+
/**
|
|
534
|
+
* @generated from enum value: RELEVANCE_REASON_REF_IN_INSERTION = 4;
|
|
535
|
+
*/
|
|
536
|
+
REF_IN_INSERTION = 4,
|
|
537
|
+
/**
|
|
538
|
+
* @generated from enum value: RELEVANCE_REASON_NOT_RELEVANT = 99;
|
|
539
|
+
*/
|
|
540
|
+
NOT_RELEVANT = 99
|
|
541
|
+
}
|
|
542
|
+
/**
|
|
543
|
+
* Describes the enum exa.code_edit.code_edit_pb.RelevanceReason.
|
|
544
|
+
*/
|
|
545
|
+
export declare const RelevanceReasonSchema: GenEnum<RelevanceReason>;
|
|
546
|
+
/**
|
|
547
|
+
* @generated from enum exa.code_edit.code_edit_pb.DescriptionType
|
|
548
|
+
*/
|
|
549
|
+
export declare enum DescriptionType {
|
|
550
|
+
/**
|
|
551
|
+
* @generated from enum value: DESCRIPTION_TYPE_UNSPECIFIED = 0;
|
|
552
|
+
*/
|
|
553
|
+
UNSPECIFIED = 0,
|
|
554
|
+
/**
|
|
555
|
+
* @generated from enum value: DESCRIPTION_TYPE_EDIT_COMMAND = 1;
|
|
556
|
+
*/
|
|
557
|
+
EDIT_COMMAND = 1,
|
|
558
|
+
/**
|
|
559
|
+
* @generated from enum value: DESCRIPTION_TYPE_INSERTION_COMMAND = 2;
|
|
560
|
+
*/
|
|
561
|
+
INSERTION_COMMAND = 2
|
|
562
|
+
}
|
|
563
|
+
/**
|
|
564
|
+
* Describes the enum exa.code_edit.code_edit_pb.DescriptionType.
|
|
565
|
+
*/
|
|
566
|
+
export declare const DescriptionTypeSchema: GenEnum<DescriptionType>;
|
|
567
|
+
/**
|
|
568
|
+
* @generated from enum exa.code_edit.code_edit_pb.IntentType
|
|
569
|
+
*/
|
|
570
|
+
export declare enum IntentType {
|
|
571
|
+
/**
|
|
572
|
+
* @generated from enum value: INTENT_TYPE_UNSPECIFIED = 0;
|
|
573
|
+
*/
|
|
574
|
+
UNSPECIFIED = 0,
|
|
575
|
+
/**
|
|
576
|
+
* @generated from enum value: INTENT_TYPE_COMMIT_GOAL = 1;
|
|
577
|
+
*/
|
|
578
|
+
COMMIT_GOAL = 1,
|
|
579
|
+
/**
|
|
580
|
+
* @generated from enum value: INTENT_TYPE_DIFF_SEARCH = 2;
|
|
581
|
+
*/
|
|
582
|
+
DIFF_SEARCH = 2,
|
|
583
|
+
/**
|
|
584
|
+
* @generated from enum value: INTENT_TYPE_CLEAN_COMMIT = 3;
|
|
585
|
+
*/
|
|
586
|
+
CLEAN_COMMIT = 3,
|
|
587
|
+
/**
|
|
588
|
+
* @generated from enum value: INTENT_TYPE_CCI_SIGNATURE_SEARCH = 4;
|
|
589
|
+
*/
|
|
590
|
+
CCI_SIGNATURE_SEARCH = 4,
|
|
591
|
+
/**
|
|
592
|
+
* @generated from enum value: INTENT_TYPE_CCI_RAW_SOURCE_SEARCH = 5;
|
|
593
|
+
*/
|
|
594
|
+
CCI_RAW_SOURCE_SEARCH = 5
|
|
595
|
+
}
|
|
596
|
+
/**
|
|
597
|
+
* Describes the enum exa.code_edit.code_edit_pb.IntentType.
|
|
598
|
+
*/
|
|
599
|
+
export declare const IntentTypeSchema: GenEnum<IntentType>;
|
|
600
|
+
/**
|
|
601
|
+
* @generated from enum exa.code_edit.code_edit_pb.RetrieverType
|
|
602
|
+
*/
|
|
603
|
+
export declare enum RetrieverType {
|
|
604
|
+
/**
|
|
605
|
+
* @generated from enum value: RETRIEVER_TYPE_UNSPECIFIED = 0;
|
|
606
|
+
*/
|
|
607
|
+
UNSPECIFIED = 0,
|
|
608
|
+
/**
|
|
609
|
+
* @generated from enum value: RETRIEVER_TYPE_CONTEXT_MODULE_LOCAL = 1;
|
|
610
|
+
*/
|
|
611
|
+
CONTEXT_MODULE_LOCAL = 1,
|
|
612
|
+
/**
|
|
613
|
+
* @generated from enum value: RETRIEVER_TYPE_CONTEXT_MODULE_SEARCH = 2;
|
|
614
|
+
*/
|
|
615
|
+
CONTEXT_MODULE_SEARCH = 2,
|
|
616
|
+
/**
|
|
617
|
+
* @generated from enum value: RETRIEVER_TYPE_SEARCH = 3;
|
|
618
|
+
*/
|
|
619
|
+
SEARCH = 3,
|
|
620
|
+
/**
|
|
621
|
+
* @generated from enum value: RETRIEVER_TYPE_MQUERY_OPENAI = 4;
|
|
622
|
+
*/
|
|
623
|
+
MQUERY_OPENAI = 4,
|
|
624
|
+
/**
|
|
625
|
+
* @generated from enum value: RETRIEVER_TYPE_MQUERY_CODEIUM = 5;
|
|
626
|
+
*/
|
|
627
|
+
MQUERY_CODEIUM = 5,
|
|
628
|
+
/**
|
|
629
|
+
* @generated from enum value: RETRIEVER_TYPE_CONTEXT_MODULE_SEARCH_MQUERY_SCORER = 6;
|
|
630
|
+
*/
|
|
631
|
+
CONTEXT_MODULE_SEARCH_MQUERY_SCORER = 6,
|
|
632
|
+
/**
|
|
633
|
+
* @generated from enum value: RETRIEVER_TYPE_COMMIT_GRAPH = 7;
|
|
634
|
+
*/
|
|
635
|
+
COMMIT_GRAPH = 7,
|
|
636
|
+
/**
|
|
637
|
+
* @generated from enum value: RETRIEVER_TYPE_MORPH_NORMAL = 8;
|
|
638
|
+
*/
|
|
639
|
+
MORPH_NORMAL = 8,
|
|
640
|
+
/**
|
|
641
|
+
* @generated from enum value: RETRIEVER_TYPE_MORPH_ADVANCED = 9;
|
|
642
|
+
*/
|
|
643
|
+
MORPH_ADVANCED = 9,
|
|
644
|
+
/**
|
|
645
|
+
* @generated from enum value: RETRIEVER_TYPE_GRAPH_CLUSTERS = 10;
|
|
646
|
+
*/
|
|
647
|
+
GRAPH_CLUSTERS = 10,
|
|
648
|
+
/**
|
|
649
|
+
* @generated from enum value: RETRIEVER_TYPE_OPENSEARCH = 11;
|
|
650
|
+
*/
|
|
651
|
+
OPENSEARCH = 11
|
|
652
|
+
}
|
|
653
|
+
/**
|
|
654
|
+
* Describes the enum exa.code_edit.code_edit_pb.RetrieverType.
|
|
655
|
+
*/
|
|
656
|
+
export declare const RetrieverTypeSchema: GenEnum<RetrieverType>;
|