@oh-my-pi/pi-ai 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 +15 -0
- package/dist/types/providers/devin.d.ts +12 -0
- package/dist/types/providers/register-builtins.d.ts +1 -0
- package/dist/types/registry/devin.d.ts +8 -0
- package/dist/types/registry/oauth/devin.d.ts +5 -0
- package/dist/types/registry/registry.d.ts +6 -0
- package/dist/types/types.d.ts +4 -2
- package/package.json +5 -4
- package/src/api-registry.ts +12 -2
- package/src/providers/anthropic-messages-server.ts +4 -1
- package/src/providers/devin/proto/buf/validate/validate.proto +468 -0
- package/src/providers/devin/proto/buf.gen.yaml +33 -0
- package/src/providers/devin/proto/buf.yaml +17 -0
- package/src/providers/devin/proto/cel/expr/checked.proto +103 -0
- package/src/providers/devin/proto/cel/expr/eval.proto +38 -0
- package/src/providers/devin/proto/cel/expr/explain.proto +15 -0
- package/src/providers/devin/proto/cel/expr/syntax.proto +113 -0
- package/src/providers/devin/proto/cel/expr/value.proto +41 -0
- package/src/providers/devin/proto/connectext/grpc/status/v1/status.proto +11 -0
- package/src/providers/devin/proto/errorspb/errors.proto +56 -0
- package/src/providers/devin/proto/errorspb/hintdetail.proto +7 -0
- package/src/providers/devin/proto/errorspb/markers.proto +10 -0
- package/src/providers/devin/proto/errorspb/tags.proto +12 -0
- package/src/providers/devin/proto/errorspb/testing.proto +6 -0
- package/src/providers/devin/proto/exa/analytics_pb/analytics.proto +188 -0
- package/src/providers/devin/proto/exa/api_server_pb/api_server.proto +2461 -0
- package/src/providers/devin/proto/exa/auth_pb/auth.proto +19 -0
- package/src/providers/devin/proto/exa/auto_cascade_common_pb/auto_cascade_common.proto +79 -0
- package/src/providers/devin/proto/exa/browser_preview_pb/browser_preview.proto +32 -0
- package/src/providers/devin/proto/exa/bug_checker_pb/bug_checker.proto +22 -0
- package/src/providers/devin/proto/exa/cascade_plugins_pb/cascade_plugins.proto +262 -0
- package/src/providers/devin/proto/exa/chat_client_server_pb/chat_client_server.proto +57 -0
- package/src/providers/devin/proto/exa/chat_pb/chat.proto +449 -0
- package/src/providers/devin/proto/exa/code_edit/code_edit_pb/code_edit.proto +186 -0
- package/src/providers/devin/proto/exa/codeium_common_pb/codeium_common.proto +4157 -0
- package/src/providers/devin/proto/exa/context_module_pb/context_module.proto +175 -0
- package/src/providers/devin/proto/exa/cortex_pb/cortex.proto +3268 -0
- package/src/providers/devin/proto/exa/dev_pb/dev.proto +26 -0
- package/src/providers/devin/proto/exa/diff_action_pb/diff_action.proto +75 -0
- package/src/providers/devin/proto/exa/eval/pr_eval/datasets_pb/datasets.proto +103 -0
- package/src/providers/devin/proto/exa/eval_pb/eval.proto +1315 -0
- package/src/providers/devin/proto/exa/extension_server_pb/extension_server.proto +556 -0
- package/src/providers/devin/proto/exa/file_system_provider_pb/file_system_provider.proto +75 -0
- package/src/providers/devin/proto/exa/index_pb/index.proto +461 -0
- package/src/providers/devin/proto/exa/knowledge_base_pb/knowledge_base.proto +144 -0
- package/src/providers/devin/proto/exa/language_server_pb/language_server.proto +2385 -0
- package/src/providers/devin/proto/exa/model_management_pb/model_management.proto +186 -0
- package/src/providers/devin/proto/exa/opensearch_clients_pb/opensearch_clients.proto +503 -0
- package/src/providers/devin/proto/exa/product_analytics_pb/product_analytics.proto +37 -0
- package/src/providers/devin/proto/exa/prompt_pb/prompt.proto +92 -0
- package/src/providers/devin/proto/exa/reactive_component_pb/reactive_component.proto +96 -0
- package/src/providers/devin/proto/exa/seat_management_pb/seat_management.proto +2680 -0
- package/src/providers/devin/proto/exa/tokenizer_pb/tokenizer.proto +37 -0
- package/src/providers/devin/proto/exa/trainer_pb/config.proto +647 -0
- package/src/providers/devin/proto/exa/tree_sitter/language_data_pb/language_data.proto +14 -0
- package/src/providers/devin/proto/exa/trust_pb/trust.proto +157 -0
- package/src/providers/devin/proto/exa/user_analytics_pb/user_analytics.proto +519 -0
- package/src/providers/devin/proto/google.golang.org/appengine/internal/base/api_base.proto +28 -0
- package/src/providers/devin/proto/google.golang.org/appengine/internal/datastore/datastore_v3.proto +484 -0
- package/src/providers/devin/proto/google.golang.org/appengine/internal/log/log_service.proto +136 -0
- package/src/providers/devin/proto/google.golang.org/appengine/internal/remote_api/remote_api.proto +42 -0
- package/src/providers/devin/proto/google.golang.org/appengine/internal/urlfetch/urlfetch_service.proto +61 -0
- package/src/providers/devin/proto/grpc/binlog/v1/binarylog.proto +84 -0
- package/src/providers/devin/proto/io/prometheus/client/metrics.proto +98 -0
- package/src/providers/devin.ts +568 -0
- package/src/providers/register-builtins.ts +15 -0
- package/src/registry/devin.ts +15 -0
- package/src/registry/fireworks.ts +7 -1
- package/src/registry/oauth/devin.ts +113 -0
- package/src/registry/registry.ts +2 -0
- package/src/stream.ts +47 -6
- package/src/types.ts +4 -2
- package/src/utils.ts +5 -8
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package cel.expr;
|
|
4
|
+
|
|
5
|
+
import "cel/expr/syntax.proto";
|
|
6
|
+
import "google/protobuf/empty.proto";
|
|
7
|
+
import "google/protobuf/struct.proto";
|
|
8
|
+
|
|
9
|
+
message CheckedExpr {
|
|
10
|
+
map<int64, .cel.expr.Reference> reference_map = 2;
|
|
11
|
+
map<int64, .cel.expr.Type> type_map = 3;
|
|
12
|
+
.cel.expr.SourceInfo source_info = 5;
|
|
13
|
+
string expr_version = 6;
|
|
14
|
+
.cel.expr.Expr expr = 4;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
message Type {
|
|
18
|
+
message ListType {
|
|
19
|
+
.cel.expr.Type elem_type = 1;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
message MapType {
|
|
23
|
+
.cel.expr.Type key_type = 1;
|
|
24
|
+
.cel.expr.Type value_type = 2;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
message FunctionType {
|
|
28
|
+
.cel.expr.Type result_type = 1;
|
|
29
|
+
repeated .cel.expr.Type arg_types = 2;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
message AbstractType {
|
|
33
|
+
string name = 1;
|
|
34
|
+
repeated .cel.expr.Type parameter_types = 2;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
enum PrimitiveType {
|
|
38
|
+
PRIMITIVE_TYPE_UNSPECIFIED = 0;
|
|
39
|
+
BOOL = 1;
|
|
40
|
+
INT64 = 2;
|
|
41
|
+
UINT64 = 3;
|
|
42
|
+
DOUBLE = 4;
|
|
43
|
+
STRING = 5;
|
|
44
|
+
BYTES = 6;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
enum WellKnownType {
|
|
48
|
+
WELL_KNOWN_TYPE_UNSPECIFIED = 0;
|
|
49
|
+
ANY = 1;
|
|
50
|
+
TIMESTAMP = 2;
|
|
51
|
+
DURATION = 3;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
oneof type_kind {
|
|
55
|
+
.google.protobuf.Empty dyn = 1;
|
|
56
|
+
.google.protobuf.NullValue null = 2;
|
|
57
|
+
.cel.expr.Type.PrimitiveType primitive = 3;
|
|
58
|
+
.cel.expr.Type.PrimitiveType wrapper = 4;
|
|
59
|
+
.cel.expr.Type.WellKnownType well_known = 5;
|
|
60
|
+
.cel.expr.Type.ListType list_type = 6;
|
|
61
|
+
.cel.expr.Type.MapType map_type = 7;
|
|
62
|
+
.cel.expr.Type.FunctionType function = 8;
|
|
63
|
+
string message_type = 9;
|
|
64
|
+
string type_param = 10;
|
|
65
|
+
.cel.expr.Type type = 11;
|
|
66
|
+
.google.protobuf.Empty error = 12;
|
|
67
|
+
.cel.expr.Type.AbstractType abstract_type = 14;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
message Decl {
|
|
72
|
+
message IdentDecl {
|
|
73
|
+
.cel.expr.Type type = 1;
|
|
74
|
+
.cel.expr.Constant value = 2;
|
|
75
|
+
string doc = 3;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
message FunctionDecl {
|
|
79
|
+
message Overload {
|
|
80
|
+
string overload_id = 1;
|
|
81
|
+
repeated .cel.expr.Type params = 2;
|
|
82
|
+
repeated string type_params = 3;
|
|
83
|
+
.cel.expr.Type result_type = 4;
|
|
84
|
+
bool is_instance_function = 5;
|
|
85
|
+
string doc = 6;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
repeated .cel.expr.Decl.FunctionDecl.Overload overloads = 1;
|
|
89
|
+
string doc = 2;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
string name = 1;
|
|
93
|
+
oneof decl_kind {
|
|
94
|
+
.cel.expr.Decl.IdentDecl ident = 2;
|
|
95
|
+
.cel.expr.Decl.FunctionDecl function = 3;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
message Reference {
|
|
100
|
+
string name = 1;
|
|
101
|
+
repeated string overload_id = 3;
|
|
102
|
+
.cel.expr.Constant value = 4;
|
|
103
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package cel.expr;
|
|
4
|
+
|
|
5
|
+
import "google/protobuf/any.proto";
|
|
6
|
+
import "cel/expr/value.proto";
|
|
7
|
+
|
|
8
|
+
message EvalState {
|
|
9
|
+
message Result {
|
|
10
|
+
int64 expr = 1;
|
|
11
|
+
int64 value = 2;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
repeated .cel.expr.ExprValue values = 1;
|
|
15
|
+
repeated .cel.expr.EvalState.Result results = 3;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
message ExprValue {
|
|
19
|
+
oneof kind {
|
|
20
|
+
.cel.expr.Value value = 1;
|
|
21
|
+
.cel.expr.ErrorSet error = 2;
|
|
22
|
+
.cel.expr.UnknownSet unknown = 3;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
message ErrorSet {
|
|
27
|
+
repeated .cel.expr.Status errors = 1;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
message Status {
|
|
31
|
+
int32 code = 1;
|
|
32
|
+
string message = 2;
|
|
33
|
+
repeated .google.protobuf.Any details = 3;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
message UnknownSet {
|
|
37
|
+
repeated int64 exprs = 1;
|
|
38
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package cel.expr;
|
|
4
|
+
|
|
5
|
+
import "cel/expr/value.proto";
|
|
6
|
+
|
|
7
|
+
message Explain {
|
|
8
|
+
message ExprStep {
|
|
9
|
+
int64 id = 1;
|
|
10
|
+
int32 value_index = 2;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
repeated .cel.expr.Value values = 1;
|
|
14
|
+
repeated .cel.expr.Explain.ExprStep expr_steps = 2;
|
|
15
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package cel.expr;
|
|
4
|
+
|
|
5
|
+
import "google/protobuf/duration.proto";
|
|
6
|
+
import "google/protobuf/struct.proto";
|
|
7
|
+
import "google/protobuf/timestamp.proto";
|
|
8
|
+
|
|
9
|
+
message ParsedExpr {
|
|
10
|
+
.cel.expr.Expr expr = 2;
|
|
11
|
+
.cel.expr.SourceInfo source_info = 3;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
message Expr {
|
|
15
|
+
message Ident {
|
|
16
|
+
string name = 1;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
message Select {
|
|
20
|
+
.cel.expr.Expr operand = 1;
|
|
21
|
+
string field = 2;
|
|
22
|
+
bool test_only = 3;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
message Call {
|
|
26
|
+
.cel.expr.Expr target = 1;
|
|
27
|
+
string function = 2;
|
|
28
|
+
repeated .cel.expr.Expr args = 3;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
message CreateList {
|
|
32
|
+
repeated .cel.expr.Expr elements = 1;
|
|
33
|
+
repeated int32 optional_indices = 2;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
message CreateStruct {
|
|
37
|
+
message Entry {
|
|
38
|
+
int64 id = 1;
|
|
39
|
+
oneof key_kind {
|
|
40
|
+
string field_key = 2;
|
|
41
|
+
.cel.expr.Expr map_key = 3;
|
|
42
|
+
}
|
|
43
|
+
.cel.expr.Expr value = 4;
|
|
44
|
+
bool optional_entry = 5;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
string message_name = 1;
|
|
48
|
+
repeated .cel.expr.Expr.CreateStruct.Entry entries = 2;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
message Comprehension {
|
|
52
|
+
string iter_var = 1;
|
|
53
|
+
string iter_var2 = 8;
|
|
54
|
+
.cel.expr.Expr iter_range = 2;
|
|
55
|
+
string accu_var = 3;
|
|
56
|
+
.cel.expr.Expr accu_init = 4;
|
|
57
|
+
.cel.expr.Expr loop_condition = 5;
|
|
58
|
+
.cel.expr.Expr loop_step = 6;
|
|
59
|
+
.cel.expr.Expr result = 7;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
int64 id = 2;
|
|
63
|
+
oneof expr_kind {
|
|
64
|
+
.cel.expr.Constant const_expr = 3;
|
|
65
|
+
.cel.expr.Expr.Ident ident_expr = 4;
|
|
66
|
+
.cel.expr.Expr.Select select_expr = 5;
|
|
67
|
+
.cel.expr.Expr.Call call_expr = 6;
|
|
68
|
+
.cel.expr.Expr.CreateList list_expr = 7;
|
|
69
|
+
.cel.expr.Expr.CreateStruct struct_expr = 8;
|
|
70
|
+
.cel.expr.Expr.Comprehension comprehension_expr = 9;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
message Constant {
|
|
75
|
+
oneof constant_kind {
|
|
76
|
+
.google.protobuf.NullValue null_value = 1;
|
|
77
|
+
bool bool_value = 2;
|
|
78
|
+
int64 int64_value = 3;
|
|
79
|
+
uint64 uint64_value = 4;
|
|
80
|
+
double double_value = 5;
|
|
81
|
+
string string_value = 6;
|
|
82
|
+
bytes bytes_value = 7;
|
|
83
|
+
.google.protobuf.Duration duration_value = 8 [deprecated = true];
|
|
84
|
+
.google.protobuf.Timestamp timestamp_value = 9 [deprecated = true];
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
message SourceInfo {
|
|
89
|
+
message Extension {
|
|
90
|
+
message Version {
|
|
91
|
+
int64 major = 1;
|
|
92
|
+
int64 minor = 2;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
enum Component {
|
|
96
|
+
COMPONENT_UNSPECIFIED = 0;
|
|
97
|
+
COMPONENT_PARSER = 1;
|
|
98
|
+
COMPONENT_TYPE_CHECKER = 2;
|
|
99
|
+
COMPONENT_RUNTIME = 3;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
string id = 1;
|
|
103
|
+
repeated .cel.expr.SourceInfo.Extension.Component affected_components = 2;
|
|
104
|
+
.cel.expr.SourceInfo.Extension.Version version = 3;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
string syntax_version = 1;
|
|
108
|
+
string location = 2;
|
|
109
|
+
repeated int32 line_offsets = 3;
|
|
110
|
+
map<int64, int32> positions = 4;
|
|
111
|
+
map<int64, .cel.expr.Expr> macro_calls = 5;
|
|
112
|
+
repeated .cel.expr.SourceInfo.Extension extensions = 6;
|
|
113
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package cel.expr;
|
|
4
|
+
|
|
5
|
+
import "google/protobuf/any.proto";
|
|
6
|
+
import "google/protobuf/struct.proto";
|
|
7
|
+
|
|
8
|
+
message Value {
|
|
9
|
+
oneof kind {
|
|
10
|
+
.google.protobuf.NullValue null_value = 1;
|
|
11
|
+
bool bool_value = 2;
|
|
12
|
+
int64 int64_value = 3;
|
|
13
|
+
uint64 uint64_value = 4;
|
|
14
|
+
double double_value = 5;
|
|
15
|
+
string string_value = 6;
|
|
16
|
+
bytes bytes_value = 7;
|
|
17
|
+
.cel.expr.EnumValue enum_value = 9;
|
|
18
|
+
.google.protobuf.Any object_value = 10;
|
|
19
|
+
.cel.expr.MapValue map_value = 11;
|
|
20
|
+
.cel.expr.ListValue list_value = 12;
|
|
21
|
+
string type_value = 15;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
message EnumValue {
|
|
26
|
+
string type = 1;
|
|
27
|
+
int32 value = 2;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
message ListValue {
|
|
31
|
+
repeated .cel.expr.Value values = 1;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
message MapValue {
|
|
35
|
+
message Entry {
|
|
36
|
+
.cel.expr.Value key = 1;
|
|
37
|
+
.cel.expr.Value value = 2;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
repeated .cel.expr.MapValue.Entry entries = 1;
|
|
41
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package cockroach.errorspb;
|
|
4
|
+
|
|
5
|
+
import "google/protobuf/any.proto";
|
|
6
|
+
|
|
7
|
+
enum MessageType {
|
|
8
|
+
PREFIX = 0;
|
|
9
|
+
FULL_MESSAGE = 1;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
message EncodedError {
|
|
13
|
+
oneof error {
|
|
14
|
+
.cockroach.errorspb.EncodedErrorLeaf leaf = 1;
|
|
15
|
+
.cockroach.errorspb.EncodedWrapper wrapper = 2;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
message EncodedErrorLeaf {
|
|
20
|
+
string message = 1;
|
|
21
|
+
.cockroach.errorspb.EncodedErrorDetails details = 2;
|
|
22
|
+
repeated .cockroach.errorspb.EncodedError multierror_causes = 3;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
message EncodedErrorDetails {
|
|
26
|
+
string original_type_name = 1;
|
|
27
|
+
.cockroach.errorspb.ErrorTypeMark error_type_mark = 2;
|
|
28
|
+
repeated string reportable_payload = 3;
|
|
29
|
+
.google.protobuf.Any full_details = 4;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
message EncodedWrapper {
|
|
33
|
+
.cockroach.errorspb.EncodedError cause = 1;
|
|
34
|
+
string message = 2;
|
|
35
|
+
.cockroach.errorspb.EncodedErrorDetails details = 3;
|
|
36
|
+
.cockroach.errorspb.MessageType message_type = 4;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
message ErrorTypeMark {
|
|
40
|
+
string family_name = 1;
|
|
41
|
+
string extension = 2;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
message StringsPayload {
|
|
45
|
+
repeated string details = 1;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
message ErrnoPayload {
|
|
49
|
+
int64 orig_errno = 1;
|
|
50
|
+
string arch = 2;
|
|
51
|
+
bool is_permission = 3;
|
|
52
|
+
bool is_exist = 4;
|
|
53
|
+
bool is_not_exist = 5;
|
|
54
|
+
bool is_timeout = 6;
|
|
55
|
+
bool is_temporary = 7;
|
|
56
|
+
}
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
syntax = "proto3";
|
|
2
|
+
|
|
3
|
+
package exa.analytics_pb;
|
|
4
|
+
|
|
5
|
+
import "buf/validate/validate.proto";
|
|
6
|
+
import "exa/codeium_common_pb/codeium_common.proto";
|
|
7
|
+
import "exa/context_module_pb/context_module.proto";
|
|
8
|
+
import "exa/cortex_pb/cortex.proto";
|
|
9
|
+
import "exa/prompt_pb/prompt.proto";
|
|
10
|
+
import "google/protobuf/timestamp.proto";
|
|
11
|
+
|
|
12
|
+
message RecordCommandUsageRequest {
|
|
13
|
+
.exa.codeium_common_pb.Metadata metadata = 1;
|
|
14
|
+
string command = 2;
|
|
15
|
+
string selection = 3;
|
|
16
|
+
.exa.codeium_common_pb.CommandRequestSource request_source = 4;
|
|
17
|
+
string prompt_id = 5;
|
|
18
|
+
string completion_id = 6;
|
|
19
|
+
string completion = 7;
|
|
20
|
+
string prompt = 8;
|
|
21
|
+
.exa.codeium_common_pb.Model requested_model_id = 9;
|
|
22
|
+
.exa.codeium_common_pb.StopReason stop_reason = 10;
|
|
23
|
+
.exa.codeium_common_pb.Language language = 11;
|
|
24
|
+
.exa.codeium_common_pb.ProviderSource provider_source = 12;
|
|
25
|
+
.exa.prompt_pb.UnifiedPromptComponents command_prompt_components = 13;
|
|
26
|
+
.exa.cortex_pb.CortexTrajectoryReference cortex_trajectory_reference = 14;
|
|
27
|
+
.exa.codeium_common_pb.SuperCompleteFilterReason super_complete_filter_reason = 15;
|
|
28
|
+
.exa.codeium_common_pb.SupercompleteTriggerCondition supercomplete_trigger_condition = 17;
|
|
29
|
+
repeated .exa.codeium_common_pb.PromptStageLatency prompt_stage_latencies = 16;
|
|
30
|
+
.exa.codeium_common_pb.CompletionProfile completion_profile = 18;
|
|
31
|
+
int32 char_insertions = 19;
|
|
32
|
+
int32 char_deletions = 20;
|
|
33
|
+
repeated string trajectory_step_oids = 21;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
message RecordCommandUsageResponse {
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
message BatchRecordPromptsRequest {
|
|
40
|
+
repeated .exa.analytics_pb.RecordPromptRequest prompts = 1;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
message BatchRecordPromptsResponse {
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
message RecordPromptRequest {
|
|
47
|
+
.exa.codeium_common_pb.Metadata metadata = 1;
|
|
48
|
+
.exa.codeium_common_pb.CompletionsRequest request = 2;
|
|
49
|
+
string prompt_id = 3;
|
|
50
|
+
.google.protobuf.Timestamp timestamp = 4;
|
|
51
|
+
string ip = 5;
|
|
52
|
+
string inference_address = 6;
|
|
53
|
+
.exa.codeium_common_pb.ProviderSource provider_source = 7;
|
|
54
|
+
string api_server_address = 8;
|
|
55
|
+
.exa.codeium_common_pb.Model firstline_model = 9;
|
|
56
|
+
.exa.codeium_common_pb.PromptComponents prompt_components = 10;
|
|
57
|
+
bool is_server_side_prompt = 11;
|
|
58
|
+
.exa.prompt_pb.UnifiedPromptComponents unified_prompt_components = 12;
|
|
59
|
+
.exa.cortex_pb.CortexTrajectoryReference cortex_trajectory_reference = 13;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
message RecordCompletionsRequest {
|
|
63
|
+
.exa.codeium_common_pb.Metadata metadata = 1;
|
|
64
|
+
repeated .exa.codeium_common_pb.CompletionWithLatencyInfo completions_with_latency_info = 2;
|
|
65
|
+
string prompt_id = 3;
|
|
66
|
+
uint64 prompt_length = 4;
|
|
67
|
+
.exa.codeium_common_pb.ProviderSource provider_source = 5;
|
|
68
|
+
string relative_path = 6;
|
|
69
|
+
.exa.codeium_common_pb.Repository repository = 7;
|
|
70
|
+
string model_tag = 8;
|
|
71
|
+
.google.protobuf.Timestamp timestamp = 9;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
message RecordCompletionsResponse {
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
message BatchRecordCompletionsRequest {
|
|
78
|
+
repeated .exa.analytics_pb.RecordCompletionsRequest completions = 1;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
message BatchRecordCompletionsResponse {
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
message RecordContextToPromptRequest {
|
|
85
|
+
.exa.codeium_common_pb.Metadata metadata = 1;
|
|
86
|
+
.exa.context_module_pb.ContextUseCase prompt_user = 2;
|
|
87
|
+
string chat_message_id = 3;
|
|
88
|
+
repeated .exa.context_module_pb.RetrievedCodeContextItemMetadata retrieved_code_context_item_metadata = 4;
|
|
89
|
+
uint64 latency_ms = 5;
|
|
90
|
+
.google.protobuf.Timestamp timestamp = 6;
|
|
91
|
+
.exa.cortex_pb.CortexWorkflowState cortex_state = 7;
|
|
92
|
+
string prompt_id = 8;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
message RecordContextToPromptResponse {
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
message RecordCortexTrajectoryRequest {
|
|
99
|
+
.exa.codeium_common_pb.Metadata metadata = 1;
|
|
100
|
+
string trajectory_id = 2;
|
|
101
|
+
string cascade_id = 5;
|
|
102
|
+
optional string arena_id = 8;
|
|
103
|
+
.exa.cortex_pb.CortexTrajectoryType trajectory_type = 3;
|
|
104
|
+
.exa.cortex_pb.CortexTrajectorySource trajectory_source = 7;
|
|
105
|
+
repeated .exa.cortex_pb.CortexTrajectoryReference parents = 4;
|
|
106
|
+
.exa.cortex_pb.CortexTrajectoryMetadata trajectory_metadata = 6;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
message RecordCortexTrajectoryResponse {
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
message RecordCortexTrajectoryStepRequest {
|
|
113
|
+
.exa.codeium_common_pb.Metadata metadata = 1;
|
|
114
|
+
.exa.cortex_pb.CortexTrajectoryStep step = 2;
|
|
115
|
+
.exa.cortex_pb.CortexTrajectoryReference reference = 3;
|
|
116
|
+
.exa.cortex_pb.AcknowledgementType acknowledgement_type = 4;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
message RecordCortexTrajectoryStepResponse {
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
message RecordTabTrajectoryStepRequest {
|
|
123
|
+
.exa.codeium_common_pb.Metadata metadata = 1;
|
|
124
|
+
.exa.cortex_pb.CortexTrajectoryStep step = 2;
|
|
125
|
+
.exa.cortex_pb.CortexTrajectoryReference reference = 3;
|
|
126
|
+
string oid = 4;
|
|
127
|
+
repeated .exa.analytics_pb.TabTrajectoryStepEntry steps = 5;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
message TabTrajectoryStepEntry {
|
|
131
|
+
.exa.cortex_pb.CortexTrajectoryStep step = 1;
|
|
132
|
+
.exa.cortex_pb.CortexTrajectoryReference reference = 2;
|
|
133
|
+
string oid = 3;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
message RecordTabTrajectoryStepResponse {
|
|
137
|
+
bool uploaded = 1;
|
|
138
|
+
repeated string uploaded_oids = 2;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
message RecordArenaModeTrajectoryDetailsRequest {
|
|
142
|
+
.exa.codeium_common_pb.Metadata metadata = 1;
|
|
143
|
+
string arena_id = 2;
|
|
144
|
+
string cascade_id = 3;
|
|
145
|
+
string trajectory_id = 4;
|
|
146
|
+
uint32 step_index = 5;
|
|
147
|
+
.exa.cortex_pb.CortexStepType step_type = 6;
|
|
148
|
+
.exa.cortex_pb.AcknowledgementType acknowledgement_type = 7;
|
|
149
|
+
.exa.codeium_common_pb.Model model = 8;
|
|
150
|
+
string label = 9;
|
|
151
|
+
.exa.codeium_common_pb.ModelProvider model_provider = 10;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
message RecordArenaModeTrajectoryDetailsResponse {
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
message RecordRawCompletionRequest {
|
|
158
|
+
.exa.codeium_common_pb.Metadata metadata = 1;
|
|
159
|
+
string trajectory_id = 2;
|
|
160
|
+
string cascade_id = 3;
|
|
161
|
+
int32 step_index = 4;
|
|
162
|
+
string model_name = 5;
|
|
163
|
+
string raw_prompt = 6;
|
|
164
|
+
string raw_response = 7;
|
|
165
|
+
int64 latency = 8;
|
|
166
|
+
string error = 9;
|
|
167
|
+
.google.protobuf.Timestamp timestamp = 10;
|
|
168
|
+
string prompt_id = 11;
|
|
169
|
+
.exa.codeium_common_pb.ProviderSource provider_source = 12;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
message BatchRecordRawCompletionsRequest {
|
|
173
|
+
repeated .exa.analytics_pb.RecordRawCompletionRequest records = 1;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
message BatchRecordRawCompletionsResponse {
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
service AnalyticsService {
|
|
180
|
+
rpc RecordCommandUsage (.exa.analytics_pb.RecordCommandUsageRequest) returns (.exa.analytics_pb.RecordCommandUsageResponse);
|
|
181
|
+
rpc RecordCompletions (.exa.analytics_pb.RecordCompletionsRequest) returns (.exa.analytics_pb.RecordCompletionsResponse);
|
|
182
|
+
rpc RecordContextToPrompt (.exa.analytics_pb.RecordContextToPromptRequest) returns (.exa.analytics_pb.RecordContextToPromptResponse);
|
|
183
|
+
rpc RecordCortexTrajectory (.exa.analytics_pb.RecordCortexTrajectoryRequest) returns (.exa.analytics_pb.RecordCortexTrajectoryResponse);
|
|
184
|
+
rpc RecordCortexTrajectoryStep (.exa.analytics_pb.RecordCortexTrajectoryStepRequest) returns (.exa.analytics_pb.RecordCortexTrajectoryStepResponse);
|
|
185
|
+
rpc RecordTabTrajectoryStep (.exa.analytics_pb.RecordTabTrajectoryStepRequest) returns (.exa.analytics_pb.RecordTabTrajectoryStepResponse);
|
|
186
|
+
rpc BatchRecordPrompts (.exa.analytics_pb.BatchRecordPromptsRequest) returns (.exa.analytics_pb.BatchRecordPromptsResponse);
|
|
187
|
+
rpc BatchRecordCompletions (.exa.analytics_pb.BatchRecordCompletionsRequest) returns (.exa.analytics_pb.BatchRecordCompletionsResponse);
|
|
188
|
+
}
|