@buyong/pi-devin 0.0.0-stage → 0.1.1
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/LICENSE +21 -0
- package/README.md +214 -2
- package/index.ts +16 -0
- package/package.json +62 -3
- package/proto/README.md +78 -0
- package/proto/buf/validate/validate.proto +453 -0
- package/proto/cel/expr/checked.proto +109 -0
- package/proto/cel/expr/eval.proto +44 -0
- package/proto/cel/expr/explain.proto +22 -0
- package/proto/cel/expr/syntax.proto +119 -0
- package/proto/cel/expr/value.proto +47 -0
- package/proto/connectext/grpc/status/v1/status.proto +21 -0
- package/proto/errorspb/errors.proto +58 -0
- package/proto/errorspb/hintdetail.proto +9 -0
- package/proto/errorspb/markers.proto +12 -0
- package/proto/errorspb/tags.proto +14 -0
- package/proto/errorspb/testing.proto +8 -0
- package/proto/exa/analytics_pb/analytics.proto +190 -0
- package/proto/exa/api_server_pb/api_server.proto +2590 -0
- package/proto/exa/auth_pb/auth.proto +21 -0
- package/proto/exa/auto_cascade_common_pb/auto_cascade_common.proto +81 -0
- package/proto/exa/browser_preview_pb/browser_preview.proto +26 -0
- package/proto/exa/bug_checker_pb/bug_checker.proto +24 -0
- package/proto/exa/cascade_plugins_pb/cascade_plugins.proto +264 -0
- package/proto/exa/chat_client_server_pb/chat_client_server.proto +57 -0
- package/proto/exa/chat_pb/chat.proto +452 -0
- package/proto/exa/code_edit/code_edit_pb/code_edit.proto +186 -0
- package/proto/exa/codeium_common_pb/browser_context.proto +31 -0
- package/proto/exa/codeium_common_pb/codeium_common.proto +4183 -0
- package/proto/exa/context_module_pb/context_module.proto +174 -0
- package/proto/exa/cortex_pb/cortex.proto +3288 -0
- package/proto/exa/dev_pb/dev.proto +28 -0
- package/proto/exa/diff_action_pb/diff_action.proto +76 -0
- package/proto/exa/eval/pr_eval/datasets_pb/datasets.proto +106 -0
- package/proto/exa/eval_pb/eval.proto +1318 -0
- package/proto/exa/extension_server_pb/extension_server.proto +555 -0
- package/proto/exa/file_system_provider_pb/file_system_provider.proto +75 -0
- package/proto/exa/index_pb/index.proto +469 -0
- package/proto/exa/knowledge_base_pb/knowledge_base.proto +146 -0
- package/proto/exa/language_server_pb/language_server.proto +2435 -0
- package/proto/exa/model_management_pb/model_management.proto +184 -0
- package/proto/exa/opensearch_clients_pb/opensearch_clients.proto +495 -0
- package/proto/exa/product_analytics_pb/product_analytics.proto +39 -0
- package/proto/exa/prompt_pb/prompt.proto +97 -0
- package/proto/exa/reactive_component_pb/reactive_component.proto +98 -0
- package/proto/exa/seat_management_pb/seat_management.proto +2910 -0
- package/proto/exa/tokenizer_pb/tokenizer.proto +39 -0
- package/proto/exa/trainer_pb/config.proto +643 -0
- package/proto/exa/tree_sitter/language_data_pb/language_data.proto +14 -0
- package/proto/exa/trust_pb/trust.proto +192 -0
- package/proto/exa/user_analytics_pb/user_analytics.proto +752 -0
- package/proto/google/api/expr/v1alpha1/checked.proto +108 -0
- package/proto/google/api/expr/v1alpha1/eval.proto +38 -0
- package/proto/google/api/expr/v1alpha1/explain.proto +22 -0
- package/proto/google/api/expr/v1alpha1/syntax.proto +126 -0
- package/proto/google/api/expr/v1alpha1/value.proto +47 -0
- package/proto/google/protobuf/any.proto +15 -0
- package/proto/google/protobuf/cpp_features.proto +22 -0
- package/proto/google/protobuf/descriptor.proto +473 -0
- package/proto/google/protobuf/duration.proto +16 -0
- package/proto/google/protobuf/empty.proto +14 -0
- package/proto/google/protobuf/go_features.proto +31 -0
- package/proto/google/protobuf/struct.proto +34 -0
- package/proto/google/protobuf/timestamp.proto +16 -0
- package/proto/google/protobuf/wrappers.proto +47 -0
- package/proto/google/rpc/status.proto +18 -0
- package/proto/grpc/binlog/v1/binarylog.proto +89 -0
- package/proto/io/prometheus/client/metrics.proto +103 -0
- package/src/core/auth/access.ts +6 -0
- package/src/core/auth/index.ts +2 -0
- package/src/core/auth/login.ts +177 -0
- package/src/core/auth/rest-exchange.ts +35 -0
- package/src/core/client.ts +153 -0
- package/src/core/index.ts +12 -0
- package/src/core/inference/chat.ts +229 -0
- package/src/core/inference/images.ts +24 -0
- package/src/core/inference/messages.ts +34 -0
- package/src/core/inference/retry.ts +68 -0
- package/src/core/inference/state.ts +8 -0
- package/src/core/models/access.ts +7 -0
- package/src/core/models/catalog.ts +35 -0
- package/src/core/models/index.ts +4 -0
- package/src/core/models/select.ts +43 -0
- package/src/core/models/variants.ts +163 -0
- package/src/core/protocol/device.ts +73 -0
- package/src/core/protocol/fingerprint.ts +59 -0
- package/src/core/protocol/http.ts +109 -0
- package/src/core/protocol/protobuf.ts +112 -0
- package/src/core/protocol/transport.ts +501 -0
- package/src/core/types.ts +115 -0
- package/src/pi/auth.ts +134 -0
- package/src/pi/devin-command.ts +76 -0
- package/src/pi/devin-panel.ts +77 -0
- package/src/pi/devin-settings.ts +50 -0
- package/src/pi/extension.ts +80 -0
- package/src/pi/fusion-command.ts +83 -0
- package/src/pi/fusion-picker.ts +171 -0
- package/src/pi/fusion-settings.ts +44 -0
- package/src/pi/lifecycle.ts +217 -0
- package/src/pi/messages.ts +107 -0
- package/src/pi/models.ts +379 -0
- package/src/pi/provider.ts +241 -0
- package/src/pi/sidekick-report.ts +42 -0
- package/src/pi/sidekick-runtime.ts +287 -0
- package/src/pi/sidekick.ts +190 -0
- package/src/pi/stream.ts +124 -0
- package/src/pi/usage.ts +153 -0
|
@@ -0,0 +1,473 @@
|
|
|
1
|
+
syntax = "proto2";
|
|
2
|
+
|
|
3
|
+
package google.protobuf;
|
|
4
|
+
|
|
5
|
+
option java_package = "com.google.protobuf";
|
|
6
|
+
option java_outer_classname = "DescriptorProtos";
|
|
7
|
+
option optimize_for = SPEED;
|
|
8
|
+
option go_package = "google.golang.org/protobuf/types/descriptorpb";
|
|
9
|
+
option cc_enable_arenas = true;
|
|
10
|
+
option objc_class_prefix = "GPB";
|
|
11
|
+
option csharp_namespace = "Google.Protobuf.Reflection";
|
|
12
|
+
|
|
13
|
+
enum Edition {
|
|
14
|
+
EDITION_UNKNOWN = 0;
|
|
15
|
+
EDITION_LEGACY = 900;
|
|
16
|
+
EDITION_PROTO2 = 998;
|
|
17
|
+
EDITION_PROTO3 = 999;
|
|
18
|
+
EDITION_2023 = 1000;
|
|
19
|
+
EDITION_2024 = 1001;
|
|
20
|
+
EDITION_1_TEST_ONLY = 1;
|
|
21
|
+
EDITION_2_TEST_ONLY = 2;
|
|
22
|
+
EDITION_99997_TEST_ONLY = 99997;
|
|
23
|
+
EDITION_99998_TEST_ONLY = 99998;
|
|
24
|
+
EDITION_99999_TEST_ONLY = 99999;
|
|
25
|
+
EDITION_MAX = 2147483647;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
enum SymbolVisibility {
|
|
29
|
+
VISIBILITY_UNSET = 0;
|
|
30
|
+
VISIBILITY_LOCAL = 1;
|
|
31
|
+
VISIBILITY_EXPORT = 2;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
message FileDescriptorSet {
|
|
35
|
+
repeated FileDescriptorProto file = 1;
|
|
36
|
+
extensions 536000000;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
message FileDescriptorProto {
|
|
40
|
+
optional string name = 1;
|
|
41
|
+
optional string package = 2;
|
|
42
|
+
repeated string dependency = 3;
|
|
43
|
+
repeated int32 public_dependency = 10;
|
|
44
|
+
repeated int32 weak_dependency = 11;
|
|
45
|
+
repeated string option_dependency = 15;
|
|
46
|
+
repeated DescriptorProto message_type = 4;
|
|
47
|
+
repeated EnumDescriptorProto enum_type = 5;
|
|
48
|
+
repeated ServiceDescriptorProto service = 6;
|
|
49
|
+
repeated FieldDescriptorProto extension = 7;
|
|
50
|
+
optional FileOptions options = 8;
|
|
51
|
+
optional SourceCodeInfo source_code_info = 9;
|
|
52
|
+
optional string syntax = 12;
|
|
53
|
+
optional Edition edition = 14;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
message DescriptorProto {
|
|
57
|
+
optional string name = 1;
|
|
58
|
+
repeated FieldDescriptorProto field = 2;
|
|
59
|
+
repeated FieldDescriptorProto extension = 6;
|
|
60
|
+
repeated DescriptorProto nested_type = 3;
|
|
61
|
+
repeated EnumDescriptorProto enum_type = 4;
|
|
62
|
+
repeated DescriptorProto.ExtensionRange extension_range = 5;
|
|
63
|
+
repeated OneofDescriptorProto oneof_decl = 8;
|
|
64
|
+
optional MessageOptions options = 7;
|
|
65
|
+
repeated DescriptorProto.ReservedRange reserved_range = 9;
|
|
66
|
+
repeated string reserved_name = 10;
|
|
67
|
+
optional SymbolVisibility visibility = 11;
|
|
68
|
+
message ExtensionRange {
|
|
69
|
+
optional int32 start = 1;
|
|
70
|
+
optional int32 end = 2;
|
|
71
|
+
optional ExtensionRangeOptions options = 3;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
message ReservedRange {
|
|
75
|
+
optional int32 start = 1;
|
|
76
|
+
optional int32 end = 2;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
message ExtensionRangeOptions {
|
|
82
|
+
repeated UninterpretedOption uninterpreted_option = 999;
|
|
83
|
+
repeated ExtensionRangeOptions.Declaration declaration = 2 [retention = RETENTION_SOURCE];
|
|
84
|
+
optional FeatureSet features = 50;
|
|
85
|
+
optional ExtensionRangeOptions.VerificationState verification = 3 [retention = RETENTION_SOURCE, default = UNVERIFIED];
|
|
86
|
+
enum VerificationState {
|
|
87
|
+
DECLARATION = 0;
|
|
88
|
+
UNVERIFIED = 1;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
message Declaration {
|
|
92
|
+
optional int32 number = 1;
|
|
93
|
+
optional string full_name = 2;
|
|
94
|
+
optional string type = 3;
|
|
95
|
+
optional bool reserved = 5;
|
|
96
|
+
optional bool repeated = 6;
|
|
97
|
+
reserved 4;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
extensions 1000 to max;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
message FieldDescriptorProto {
|
|
104
|
+
optional string name = 1;
|
|
105
|
+
optional int32 number = 3;
|
|
106
|
+
optional FieldDescriptorProto.Label label = 4;
|
|
107
|
+
optional FieldDescriptorProto.Type type = 5;
|
|
108
|
+
optional string type_name = 6;
|
|
109
|
+
optional string extendee = 2;
|
|
110
|
+
optional string default_value = 7;
|
|
111
|
+
optional int32 oneof_index = 9;
|
|
112
|
+
optional string json_name = 10;
|
|
113
|
+
optional FieldOptions options = 8;
|
|
114
|
+
optional bool proto3_optional = 17;
|
|
115
|
+
enum Type {
|
|
116
|
+
TYPE_DOUBLE = 1;
|
|
117
|
+
TYPE_FLOAT = 2;
|
|
118
|
+
TYPE_INT64 = 3;
|
|
119
|
+
TYPE_UINT64 = 4;
|
|
120
|
+
TYPE_INT32 = 5;
|
|
121
|
+
TYPE_FIXED64 = 6;
|
|
122
|
+
TYPE_FIXED32 = 7;
|
|
123
|
+
TYPE_BOOL = 8;
|
|
124
|
+
TYPE_STRING = 9;
|
|
125
|
+
TYPE_GROUP = 10;
|
|
126
|
+
TYPE_MESSAGE = 11;
|
|
127
|
+
TYPE_BYTES = 12;
|
|
128
|
+
TYPE_UINT32 = 13;
|
|
129
|
+
TYPE_ENUM = 14;
|
|
130
|
+
TYPE_SFIXED32 = 15;
|
|
131
|
+
TYPE_SFIXED64 = 16;
|
|
132
|
+
TYPE_SINT32 = 17;
|
|
133
|
+
TYPE_SINT64 = 18;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
enum Label {
|
|
137
|
+
LABEL_OPTIONAL = 1;
|
|
138
|
+
LABEL_REPEATED = 3;
|
|
139
|
+
LABEL_REQUIRED = 2;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
message OneofDescriptorProto {
|
|
145
|
+
optional string name = 1;
|
|
146
|
+
optional OneofOptions options = 2;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
message EnumDescriptorProto {
|
|
150
|
+
optional string name = 1;
|
|
151
|
+
repeated EnumValueDescriptorProto value = 2;
|
|
152
|
+
optional EnumOptions options = 3;
|
|
153
|
+
repeated EnumDescriptorProto.EnumReservedRange reserved_range = 4;
|
|
154
|
+
repeated string reserved_name = 5;
|
|
155
|
+
optional SymbolVisibility visibility = 6;
|
|
156
|
+
message EnumReservedRange {
|
|
157
|
+
optional int32 start = 1;
|
|
158
|
+
optional int32 end = 2;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
message EnumValueDescriptorProto {
|
|
164
|
+
optional string name = 1;
|
|
165
|
+
optional int32 number = 2;
|
|
166
|
+
optional EnumValueOptions options = 3;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
message ServiceDescriptorProto {
|
|
170
|
+
optional string name = 1;
|
|
171
|
+
repeated MethodDescriptorProto method = 2;
|
|
172
|
+
optional ServiceOptions options = 3;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
message MethodDescriptorProto {
|
|
176
|
+
optional string name = 1;
|
|
177
|
+
optional string input_type = 2;
|
|
178
|
+
optional string output_type = 3;
|
|
179
|
+
optional MethodOptions options = 4;
|
|
180
|
+
optional bool client_streaming = 5 [default = false];
|
|
181
|
+
optional bool server_streaming = 6 [default = false];
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
message FileOptions {
|
|
185
|
+
optional string java_package = 1;
|
|
186
|
+
optional string java_outer_classname = 8;
|
|
187
|
+
optional bool java_multiple_files = 10 [default = false];
|
|
188
|
+
optional bool java_generate_equals_and_hash = 20 [deprecated = true];
|
|
189
|
+
optional bool java_string_check_utf8 = 27 [default = false];
|
|
190
|
+
optional FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
|
|
191
|
+
optional string go_package = 11;
|
|
192
|
+
optional bool cc_generic_services = 16 [default = false];
|
|
193
|
+
optional bool java_generic_services = 17 [default = false];
|
|
194
|
+
optional bool py_generic_services = 18 [default = false];
|
|
195
|
+
optional bool deprecated = 23 [default = false];
|
|
196
|
+
optional bool cc_enable_arenas = 31 [default = true];
|
|
197
|
+
optional string objc_class_prefix = 36;
|
|
198
|
+
optional string csharp_namespace = 37;
|
|
199
|
+
optional string swift_prefix = 39;
|
|
200
|
+
optional string php_class_prefix = 40;
|
|
201
|
+
optional string php_namespace = 41;
|
|
202
|
+
optional string php_metadata_namespace = 44;
|
|
203
|
+
optional string ruby_package = 45;
|
|
204
|
+
optional FeatureSet features = 50;
|
|
205
|
+
repeated UninterpretedOption uninterpreted_option = 999;
|
|
206
|
+
enum OptimizeMode {
|
|
207
|
+
SPEED = 1;
|
|
208
|
+
CODE_SIZE = 2;
|
|
209
|
+
LITE_RUNTIME = 3;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
reserved 42;
|
|
213
|
+
reserved 38;
|
|
214
|
+
reserved "php_generic_services";
|
|
215
|
+
extensions 1000 to max;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
message MessageOptions {
|
|
219
|
+
optional bool message_set_wire_format = 1 [default = false];
|
|
220
|
+
optional bool no_standard_descriptor_accessor = 2 [default = false];
|
|
221
|
+
optional bool deprecated = 3 [default = false];
|
|
222
|
+
optional bool map_entry = 7;
|
|
223
|
+
optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true];
|
|
224
|
+
optional FeatureSet features = 12;
|
|
225
|
+
repeated UninterpretedOption uninterpreted_option = 999;
|
|
226
|
+
reserved 4;
|
|
227
|
+
reserved 5;
|
|
228
|
+
reserved 6;
|
|
229
|
+
reserved 8;
|
|
230
|
+
reserved 9;
|
|
231
|
+
extensions 1000 to max;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
message FieldOptions {
|
|
235
|
+
optional FieldOptions.CType ctype = 1 [default = STRING];
|
|
236
|
+
optional bool packed = 2;
|
|
237
|
+
optional FieldOptions.JSType jstype = 6 [default = JS_NORMAL];
|
|
238
|
+
optional bool lazy = 5 [default = false];
|
|
239
|
+
optional bool unverified_lazy = 15 [default = false];
|
|
240
|
+
optional bool deprecated = 3 [default = false];
|
|
241
|
+
optional bool weak = 10 [deprecated = true, default = false];
|
|
242
|
+
optional bool debug_redact = 16 [default = false];
|
|
243
|
+
optional FieldOptions.OptionRetention retention = 17;
|
|
244
|
+
repeated FieldOptions.OptionTargetType targets = 19;
|
|
245
|
+
repeated FieldOptions.EditionDefault edition_defaults = 20;
|
|
246
|
+
optional FeatureSet features = 21;
|
|
247
|
+
optional FieldOptions.FeatureSupport feature_support = 22;
|
|
248
|
+
repeated UninterpretedOption uninterpreted_option = 999;
|
|
249
|
+
enum CType {
|
|
250
|
+
STRING = 0;
|
|
251
|
+
CORD = 1;
|
|
252
|
+
STRING_PIECE = 2;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
enum JSType {
|
|
256
|
+
JS_NORMAL = 0;
|
|
257
|
+
JS_STRING = 1;
|
|
258
|
+
JS_NUMBER = 2;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
enum OptionRetention {
|
|
262
|
+
RETENTION_UNKNOWN = 0;
|
|
263
|
+
RETENTION_RUNTIME = 1;
|
|
264
|
+
RETENTION_SOURCE = 2;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
enum OptionTargetType {
|
|
268
|
+
TARGET_TYPE_UNKNOWN = 0;
|
|
269
|
+
TARGET_TYPE_FILE = 1;
|
|
270
|
+
TARGET_TYPE_EXTENSION_RANGE = 2;
|
|
271
|
+
TARGET_TYPE_MESSAGE = 3;
|
|
272
|
+
TARGET_TYPE_FIELD = 4;
|
|
273
|
+
TARGET_TYPE_ONEOF = 5;
|
|
274
|
+
TARGET_TYPE_ENUM = 6;
|
|
275
|
+
TARGET_TYPE_ENUM_ENTRY = 7;
|
|
276
|
+
TARGET_TYPE_SERVICE = 8;
|
|
277
|
+
TARGET_TYPE_METHOD = 9;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
message EditionDefault {
|
|
281
|
+
optional Edition edition = 3;
|
|
282
|
+
optional string value = 2;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
message FeatureSupport {
|
|
286
|
+
optional Edition edition_introduced = 1;
|
|
287
|
+
optional Edition edition_deprecated = 2;
|
|
288
|
+
optional string deprecation_warning = 3;
|
|
289
|
+
optional Edition edition_removed = 4;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
reserved 4;
|
|
293
|
+
reserved 18;
|
|
294
|
+
extensions 1000 to max;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
message OneofOptions {
|
|
298
|
+
optional FeatureSet features = 1;
|
|
299
|
+
repeated UninterpretedOption uninterpreted_option = 999;
|
|
300
|
+
extensions 1000 to max;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
message EnumOptions {
|
|
304
|
+
optional bool allow_alias = 2;
|
|
305
|
+
optional bool deprecated = 3 [default = false];
|
|
306
|
+
optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true];
|
|
307
|
+
optional FeatureSet features = 7;
|
|
308
|
+
repeated UninterpretedOption uninterpreted_option = 999;
|
|
309
|
+
reserved 5;
|
|
310
|
+
extensions 1000 to max;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
message EnumValueOptions {
|
|
314
|
+
optional bool deprecated = 1 [default = false];
|
|
315
|
+
optional FeatureSet features = 2;
|
|
316
|
+
optional bool debug_redact = 3 [default = false];
|
|
317
|
+
optional FieldOptions.FeatureSupport feature_support = 4;
|
|
318
|
+
repeated UninterpretedOption uninterpreted_option = 999;
|
|
319
|
+
extensions 1000 to max;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
message ServiceOptions {
|
|
323
|
+
optional FeatureSet features = 34;
|
|
324
|
+
optional bool deprecated = 33 [default = false];
|
|
325
|
+
repeated UninterpretedOption uninterpreted_option = 999;
|
|
326
|
+
extensions 1000 to max;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
message MethodOptions {
|
|
330
|
+
optional bool deprecated = 33 [default = false];
|
|
331
|
+
optional MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];
|
|
332
|
+
optional FeatureSet features = 35;
|
|
333
|
+
repeated UninterpretedOption uninterpreted_option = 999;
|
|
334
|
+
enum IdempotencyLevel {
|
|
335
|
+
IDEMPOTENCY_UNKNOWN = 0;
|
|
336
|
+
NO_SIDE_EFFECTS = 1;
|
|
337
|
+
IDEMPOTENT = 2;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
extensions 1000 to max;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
message UninterpretedOption {
|
|
344
|
+
repeated UninterpretedOption.NamePart name = 2;
|
|
345
|
+
optional string identifier_value = 3;
|
|
346
|
+
optional uint64 positive_int_value = 4;
|
|
347
|
+
optional int64 negative_int_value = 5;
|
|
348
|
+
optional double double_value = 6;
|
|
349
|
+
optional bytes string_value = 7;
|
|
350
|
+
optional string aggregate_value = 8;
|
|
351
|
+
message NamePart {
|
|
352
|
+
required string name_part = 1;
|
|
353
|
+
required bool is_extension = 2;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
message FeatureSet {
|
|
359
|
+
optional FeatureSet.FieldPresence field_presence = 1 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { value: "EXPLICIT", edition: EDITION_LEGACY }, edition_defaults = { value: "IMPLICIT", edition: EDITION_PROTO3 }, edition_defaults = { value: "EXPLICIT", edition: EDITION_2023 }, feature_support = { edition_introduced: EDITION_2023 }];
|
|
360
|
+
optional FeatureSet.EnumType enum_type = 2 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { value: "CLOSED", edition: EDITION_LEGACY }, edition_defaults = { value: "OPEN", edition: EDITION_PROTO3 }, feature_support = { edition_introduced: EDITION_2023 }];
|
|
361
|
+
optional FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { value: "EXPANDED", edition: EDITION_LEGACY }, edition_defaults = { value: "PACKED", edition: EDITION_PROTO3 }, feature_support = { edition_introduced: EDITION_2023 }];
|
|
362
|
+
optional FeatureSet.Utf8Validation utf8_validation = 4 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { value: "NONE", edition: EDITION_LEGACY }, edition_defaults = { value: "VERIFY", edition: EDITION_PROTO3 }, feature_support = { edition_introduced: EDITION_2023 }];
|
|
363
|
+
optional FeatureSet.MessageEncoding message_encoding = 5 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_FILE, edition_defaults = { value: "LENGTH_PREFIXED", edition: EDITION_LEGACY }, feature_support = { edition_introduced: EDITION_2023 }];
|
|
364
|
+
optional FeatureSet.JsonFormat json_format = 6 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_MESSAGE, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { value: "LEGACY_BEST_EFFORT", edition: EDITION_LEGACY }, edition_defaults = { value: "ALLOW", edition: EDITION_PROTO3 }, feature_support = { edition_introduced: EDITION_2023 }];
|
|
365
|
+
optional FeatureSet.EnforceNamingStyle enforce_naming_style = 7 [retention = RETENTION_SOURCE, targets = TARGET_TYPE_FILE, targets = TARGET_TYPE_EXTENSION_RANGE, targets = TARGET_TYPE_MESSAGE, targets = TARGET_TYPE_FIELD, targets = TARGET_TYPE_ONEOF, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_ENUM_ENTRY, targets = TARGET_TYPE_SERVICE, targets = TARGET_TYPE_METHOD, edition_defaults = { value: "STYLE_LEGACY", edition: EDITION_LEGACY }, edition_defaults = { value: "STYLE2024", edition: EDITION_2024 }, feature_support = { edition_introduced: EDITION_2024 }];
|
|
366
|
+
optional FeatureSet.VisibilityFeature.DefaultSymbolVisibility default_symbol_visibility = 8 [retention = RETENTION_SOURCE, targets = TARGET_TYPE_FILE, edition_defaults = { value: "EXPORT_ALL", edition: EDITION_LEGACY }, edition_defaults = { value: "EXPORT_TOP_LEVEL", edition: EDITION_2024 }, feature_support = { edition_introduced: EDITION_2024 }];
|
|
367
|
+
enum FieldPresence {
|
|
368
|
+
FIELD_PRESENCE_UNKNOWN = 0;
|
|
369
|
+
EXPLICIT = 1;
|
|
370
|
+
IMPLICIT = 2;
|
|
371
|
+
LEGACY_REQUIRED = 3;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
enum EnumType {
|
|
375
|
+
ENUM_TYPE_UNKNOWN = 0;
|
|
376
|
+
OPEN = 1;
|
|
377
|
+
CLOSED = 2;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
enum RepeatedFieldEncoding {
|
|
381
|
+
REPEATED_FIELD_ENCODING_UNKNOWN = 0;
|
|
382
|
+
PACKED = 1;
|
|
383
|
+
EXPANDED = 2;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
enum Utf8Validation {
|
|
387
|
+
UTF8_VALIDATION_UNKNOWN = 0;
|
|
388
|
+
VERIFY = 2;
|
|
389
|
+
NONE = 3;
|
|
390
|
+
reserved 1;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
enum MessageEncoding {
|
|
394
|
+
MESSAGE_ENCODING_UNKNOWN = 0;
|
|
395
|
+
LENGTH_PREFIXED = 1;
|
|
396
|
+
DELIMITED = 2;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
enum JsonFormat {
|
|
400
|
+
JSON_FORMAT_UNKNOWN = 0;
|
|
401
|
+
ALLOW = 1;
|
|
402
|
+
LEGACY_BEST_EFFORT = 2;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
enum EnforceNamingStyle {
|
|
406
|
+
ENFORCE_NAMING_STYLE_UNKNOWN = 0;
|
|
407
|
+
STYLE2024 = 1;
|
|
408
|
+
STYLE_LEGACY = 2;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
message VisibilityFeature {
|
|
412
|
+
enum DefaultSymbolVisibility {
|
|
413
|
+
DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0;
|
|
414
|
+
EXPORT_ALL = 1;
|
|
415
|
+
EXPORT_TOP_LEVEL = 2;
|
|
416
|
+
LOCAL_ALL = 3;
|
|
417
|
+
STRICT = 4;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
reserved 1 to 536870911;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
reserved 999;
|
|
424
|
+
extensions 1000 to 9994;
|
|
425
|
+
extensions 9995 to 9999;
|
|
426
|
+
extensions 10000;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
message FeatureSetDefaults {
|
|
430
|
+
repeated FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;
|
|
431
|
+
optional Edition minimum_edition = 4;
|
|
432
|
+
optional Edition maximum_edition = 5;
|
|
433
|
+
message FeatureSetEditionDefault {
|
|
434
|
+
optional Edition edition = 3;
|
|
435
|
+
optional FeatureSet overridable_features = 4;
|
|
436
|
+
optional FeatureSet fixed_features = 5;
|
|
437
|
+
reserved 1;
|
|
438
|
+
reserved 2;
|
|
439
|
+
reserved "features";
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
message SourceCodeInfo {
|
|
445
|
+
repeated SourceCodeInfo.Location location = 1;
|
|
446
|
+
message Location {
|
|
447
|
+
repeated int32 path = 1 [packed = true];
|
|
448
|
+
repeated int32 span = 2 [packed = true];
|
|
449
|
+
optional string leading_comments = 3;
|
|
450
|
+
optional string trailing_comments = 4;
|
|
451
|
+
repeated string leading_detached_comments = 6;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
extensions 536000000;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
message GeneratedCodeInfo {
|
|
458
|
+
repeated GeneratedCodeInfo.Annotation annotation = 1;
|
|
459
|
+
message Annotation {
|
|
460
|
+
repeated int32 path = 1 [packed = true];
|
|
461
|
+
optional string source_file = 2;
|
|
462
|
+
optional int32 begin = 3;
|
|
463
|
+
optional int32 end = 4;
|
|
464
|
+
optional GeneratedCodeInfo.Annotation.Semantic semantic = 5;
|
|
465
|
+
enum Semantic {
|
|
466
|
+
NONE = 0;
|
|
467
|
+
SET = 1;
|
|
468
|
+
ALIAS = 2;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package google.protobuf;
|
|
4
|
+
|
|
5
|
+
option java_package = "com.google.protobuf";
|
|
6
|
+
option java_outer_classname = "DurationProto";
|
|
7
|
+
option java_multiple_files = true;
|
|
8
|
+
option go_package = "google.golang.org/protobuf/types/known/durationpb";
|
|
9
|
+
option cc_enable_arenas = true;
|
|
10
|
+
option objc_class_prefix = "GPB";
|
|
11
|
+
option csharp_namespace = "Google.Protobuf.WellKnownTypes";
|
|
12
|
+
|
|
13
|
+
message Duration {
|
|
14
|
+
int64 seconds = 1;
|
|
15
|
+
int32 nanos = 2;
|
|
16
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package google.protobuf;
|
|
4
|
+
|
|
5
|
+
option java_package = "com.google.protobuf";
|
|
6
|
+
option java_outer_classname = "EmptyProto";
|
|
7
|
+
option java_multiple_files = true;
|
|
8
|
+
option go_package = "google.golang.org/protobuf/types/known/emptypb";
|
|
9
|
+
option cc_enable_arenas = true;
|
|
10
|
+
option objc_class_prefix = "GPB";
|
|
11
|
+
option csharp_namespace = "Google.Protobuf.WellKnownTypes";
|
|
12
|
+
|
|
13
|
+
message Empty {
|
|
14
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
syntax = "proto2";
|
|
2
|
+
|
|
3
|
+
package pb;
|
|
4
|
+
|
|
5
|
+
import "google/protobuf/descriptor.proto";
|
|
6
|
+
|
|
7
|
+
option go_package = "google.golang.org/protobuf/types/gofeaturespb";
|
|
8
|
+
|
|
9
|
+
message GoFeatures {
|
|
10
|
+
optional bool legacy_unmarshal_json_enum = 1 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_FILE, edition_defaults = { value: "true", edition: EDITION_LEGACY }, edition_defaults = { value: "false", edition: EDITION_PROTO3 }, feature_support = { edition_introduced: EDITION_2023, edition_deprecated: EDITION_2023, deprecation_warning: "The legacy UnmarshalJSON API is deprecated and will be removed in a future edition." }];
|
|
11
|
+
optional GoFeatures.APILevel api_level = 2 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_MESSAGE, targets = TARGET_TYPE_FILE, edition_defaults = { value: "API_LEVEL_UNSPECIFIED", edition: EDITION_LEGACY }, edition_defaults = { value: "API_OPAQUE", edition: EDITION_2024 }, feature_support = { edition_introduced: EDITION_2023 }];
|
|
12
|
+
optional GoFeatures.StripEnumPrefix strip_enum_prefix = 3 [retention = RETENTION_RUNTIME, targets = TARGET_TYPE_ENUM, targets = TARGET_TYPE_ENUM_ENTRY, targets = TARGET_TYPE_FILE, edition_defaults = { value: "STRIP_ENUM_PREFIX_KEEP", edition: EDITION_LEGACY }, feature_support = { edition_introduced: EDITION_2024 }];
|
|
13
|
+
enum APILevel {
|
|
14
|
+
API_LEVEL_UNSPECIFIED = 0;
|
|
15
|
+
API_OPEN = 1;
|
|
16
|
+
API_HYBRID = 2;
|
|
17
|
+
API_OPAQUE = 3;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
enum StripEnumPrefix {
|
|
21
|
+
STRIP_ENUM_PREFIX_UNSPECIFIED = 0;
|
|
22
|
+
STRIP_ENUM_PREFIX_KEEP = 1;
|
|
23
|
+
STRIP_ENUM_PREFIX_GENERATE_BOTH = 2;
|
|
24
|
+
STRIP_ENUM_PREFIX_STRIP = 3;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
extend .google.protobuf.FeatureSet {
|
|
30
|
+
optional GoFeatures go = 1002;
|
|
31
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package google.protobuf;
|
|
4
|
+
|
|
5
|
+
option java_package = "com.google.protobuf";
|
|
6
|
+
option java_outer_classname = "StructProto";
|
|
7
|
+
option java_multiple_files = true;
|
|
8
|
+
option go_package = "google.golang.org/protobuf/types/known/structpb";
|
|
9
|
+
option cc_enable_arenas = true;
|
|
10
|
+
option objc_class_prefix = "GPB";
|
|
11
|
+
option csharp_namespace = "Google.Protobuf.WellKnownTypes";
|
|
12
|
+
|
|
13
|
+
enum NullValue {
|
|
14
|
+
NULL_VALUE = 0;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
message Struct {
|
|
18
|
+
map<string, Value> fields = 1;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
message Value {
|
|
22
|
+
oneof kind {
|
|
23
|
+
NullValue null_value = 1;
|
|
24
|
+
double number_value = 2;
|
|
25
|
+
string string_value = 3;
|
|
26
|
+
bool bool_value = 4;
|
|
27
|
+
Struct struct_value = 5;
|
|
28
|
+
ListValue list_value = 6;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
message ListValue {
|
|
33
|
+
repeated Value values = 1;
|
|
34
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package google.protobuf;
|
|
4
|
+
|
|
5
|
+
option java_package = "com.google.protobuf";
|
|
6
|
+
option java_outer_classname = "TimestampProto";
|
|
7
|
+
option java_multiple_files = true;
|
|
8
|
+
option go_package = "google.golang.org/protobuf/types/known/timestamppb";
|
|
9
|
+
option cc_enable_arenas = true;
|
|
10
|
+
option objc_class_prefix = "GPB";
|
|
11
|
+
option csharp_namespace = "Google.Protobuf.WellKnownTypes";
|
|
12
|
+
|
|
13
|
+
message Timestamp {
|
|
14
|
+
int64 seconds = 1;
|
|
15
|
+
int32 nanos = 2;
|
|
16
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package google.protobuf;
|
|
4
|
+
|
|
5
|
+
option java_package = "com.google.protobuf";
|
|
6
|
+
option java_outer_classname = "WrappersProto";
|
|
7
|
+
option java_multiple_files = true;
|
|
8
|
+
option go_package = "google.golang.org/protobuf/types/known/wrapperspb";
|
|
9
|
+
option cc_enable_arenas = true;
|
|
10
|
+
option objc_class_prefix = "GPB";
|
|
11
|
+
option csharp_namespace = "Google.Protobuf.WellKnownTypes";
|
|
12
|
+
|
|
13
|
+
message DoubleValue {
|
|
14
|
+
double value = 1;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
message FloatValue {
|
|
18
|
+
float value = 1;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
message Int64Value {
|
|
22
|
+
int64 value = 1;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
message UInt64Value {
|
|
26
|
+
uint64 value = 1;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
message Int32Value {
|
|
30
|
+
int32 value = 1;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
message UInt32Value {
|
|
34
|
+
uint32 value = 1;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
message BoolValue {
|
|
38
|
+
bool value = 1;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
message StringValue {
|
|
42
|
+
string value = 1;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
message BytesValue {
|
|
46
|
+
bytes value = 1;
|
|
47
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package google.rpc;
|
|
4
|
+
|
|
5
|
+
import "google/protobuf/any.proto";
|
|
6
|
+
|
|
7
|
+
option java_package = "com.google.rpc";
|
|
8
|
+
option java_outer_classname = "StatusProto";
|
|
9
|
+
option java_multiple_files = true;
|
|
10
|
+
option go_package = "google.golang.org/genproto/googleapis/rpc/status;status";
|
|
11
|
+
option cc_enable_arenas = true;
|
|
12
|
+
option objc_class_prefix = "RPC";
|
|
13
|
+
|
|
14
|
+
message Status {
|
|
15
|
+
int32 code = 1;
|
|
16
|
+
string message = 2;
|
|
17
|
+
repeated .google.protobuf.Any details = 3;
|
|
18
|
+
}
|