talon-client 0.1.1__tar.gz

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.
@@ -0,0 +1,25 @@
1
+ .env
2
+ .tools/
3
+ .pytest_cache/
4
+ __pycache__/
5
+ *.py[cod]
6
+ bench/results*/
7
+ node_modules/
8
+ packages/*/dist/
9
+ sdk/js/*/dist/
10
+ sdk/examples/js/dist/
11
+ sdk/java/.gradle/
12
+ sdk/java/build/
13
+ sdk/java/*/build/
14
+ sdk/examples/java/.gradle/
15
+ sdk/examples/java/build/
16
+ sdk/examples/python/.venv/
17
+ talon_gateway_proto-descriptor-set.proto.bin
18
+ target/
19
+ tests/__pycache__/
20
+ ui/.next/
21
+ ui/coverage/
22
+ ui/node_modules/
23
+ ui/playwright-report/
24
+ ui/test-results/
25
+ ui/tsconfig.tsbuildinfo
@@ -0,0 +1,22 @@
1
+ Metadata-Version: 2.4
2
+ Name: talon-client
3
+ Version: 0.1.1
4
+ Summary: Generated Talon protobuf and gRPC client bindings
5
+ License-Expression: AGPL-3.0-only
6
+ Requires-Python: >=3.10
7
+ Requires-Dist: grpcio<2,>=1.76
8
+ Requires-Dist: protobuf<7,>=6.33
9
+ Description-Content-Type: text/markdown
10
+
11
+ # talon-client
12
+
13
+ Generated Python protobuf and gRPC bindings for the Talon gateway.
14
+
15
+ ```python
16
+ import grpc
17
+ from talon_client.proto import gateway_pb2, gateway_pb2_grpc
18
+
19
+ channel = grpc.insecure_channel("127.0.0.1:50051")
20
+ client = gateway_pb2_grpc.GatewayServiceStub(channel)
21
+ client.ListNamespaces(gateway_pb2.ListNamespacesRequest())
22
+ ```
@@ -0,0 +1,12 @@
1
+ # talon-client
2
+
3
+ Generated Python protobuf and gRPC bindings for the Talon gateway.
4
+
5
+ ```python
6
+ import grpc
7
+ from talon_client.proto import gateway_pb2, gateway_pb2_grpc
8
+
9
+ channel = grpc.insecure_channel("127.0.0.1:50051")
10
+ client = gateway_pb2_grpc.GatewayServiceStub(channel)
11
+ client.ListNamespaces(gateway_pb2.ListNamespacesRequest())
12
+ ```
@@ -0,0 +1,18 @@
1
+ [build-system]
2
+ requires = ["hatchling>=1.27"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ name = "talon-client"
7
+ version = "0.1.1"
8
+ description = "Generated Talon protobuf and gRPC client bindings"
9
+ readme = "README.md"
10
+ requires-python = ">=3.10"
11
+ license = "AGPL-3.0-only"
12
+ dependencies = [
13
+ "grpcio>=1.76,<2",
14
+ "protobuf>=6.33,<7",
15
+ ]
16
+
17
+ [tool.hatch.build.targets.wheel]
18
+ packages = ["src/talon_client"]
File without changes
File without changes
@@ -0,0 +1,37 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: google/api/annotations.proto
5
+ # Protobuf Python Version: 6.31.1
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 31,
16
+ 1,
17
+ '',
18
+ 'google/api/annotations.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from talon_client.google.api import http_pb2 as google_dot_api_dot_http__pb2
26
+ from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2
27
+
28
+
29
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1cgoogle/api/annotations.proto\x12\ngoogle.api\x1a\x15google/api/http.proto\x1a google/protobuf/descriptor.proto:E\n\x04http\x12\x1e.google.protobuf.MethodOptions\x18\xb0\xca\xbc\" \x01(\x0b\x32\x14.google.api.HttpRuleBn\n\x0e\x63om.google.apiB\x10\x41nnotationsProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xa2\x02\x04GAPIb\x06proto3')
30
+
31
+ _globals = globals()
32
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
33
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.api.annotations_pb2', _globals)
34
+ if not _descriptor._USE_C_DESCRIPTORS:
35
+ _globals['DESCRIPTOR']._loaded_options = None
36
+ _globals['DESCRIPTOR']._serialized_options = b'\n\016com.google.apiB\020AnnotationsProtoP\001ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\242\002\004GAPI'
37
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,24 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+ import warnings
5
+
6
+
7
+ GRPC_GENERATED_VERSION = '1.76.0'
8
+ GRPC_VERSION = grpc.__version__
9
+ _version_not_supported = False
10
+
11
+ try:
12
+ from grpc._utilities import first_version_is_lower
13
+ _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
14
+ except ImportError:
15
+ _version_not_supported = True
16
+
17
+ if _version_not_supported:
18
+ raise RuntimeError(
19
+ f'The grpc package installed is at version {GRPC_VERSION},'
20
+ + ' but the generated code in google/api/annotations_pb2_grpc.py depends on'
21
+ + f' grpcio>={GRPC_GENERATED_VERSION}.'
22
+ + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
23
+ + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
24
+ )
@@ -0,0 +1,41 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: google/api/http.proto
5
+ # Protobuf Python Version: 6.31.1
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 31,
16
+ 1,
17
+ '',
18
+ 'google/api/http.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+
26
+
27
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x15google/api/http.proto\x12\ngoogle.api\"T\n\x04Http\x12#\n\x05rules\x18\x01 \x03(\x0b\x32\x14.google.api.HttpRule\x12\'\n\x1f\x66ully_decode_reserved_expansion\x18\x02 \x01(\x08\"\x81\x02\n\x08HttpRule\x12\x10\n\x08selector\x18\x01 \x01(\t\x12\r\n\x03get\x18\x02 \x01(\tH\x00\x12\r\n\x03put\x18\x03 \x01(\tH\x00\x12\x0e\n\x04post\x18\x04 \x01(\tH\x00\x12\x10\n\x06\x64\x65lete\x18\x05 \x01(\tH\x00\x12\x0f\n\x05patch\x18\x06 \x01(\tH\x00\x12/\n\x06\x63ustom\x18\x08 \x01(\x0b\x32\x1d.google.api.CustomHttpPatternH\x00\x12\x0c\n\x04\x62ody\x18\x07 \x01(\t\x12\x15\n\rresponse_body\x18\x0c \x01(\t\x12\x31\n\x13\x61\x64\x64itional_bindings\x18\x0b \x03(\x0b\x32\x14.google.api.HttpRuleB\t\n\x07pattern\"/\n\x11\x43ustomHttpPattern\x12\x0c\n\x04kind\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\tBg\n\x0e\x63om.google.apiB\tHttpProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xa2\x02\x04GAPIb\x06proto3')
28
+
29
+ _globals = globals()
30
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
31
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'google.api.http_pb2', _globals)
32
+ if not _descriptor._USE_C_DESCRIPTORS:
33
+ _globals['DESCRIPTOR']._loaded_options = None
34
+ _globals['DESCRIPTOR']._serialized_options = b'\n\016com.google.apiB\tHttpProtoP\001ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\242\002\004GAPI'
35
+ _globals['_HTTP']._serialized_start=37
36
+ _globals['_HTTP']._serialized_end=121
37
+ _globals['_HTTPRULE']._serialized_start=124
38
+ _globals['_HTTPRULE']._serialized_end=381
39
+ _globals['_CUSTOMHTTPPATTERN']._serialized_start=383
40
+ _globals['_CUSTOMHTTPPATTERN']._serialized_end=430
41
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,24 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+ import warnings
5
+
6
+
7
+ GRPC_GENERATED_VERSION = '1.76.0'
8
+ GRPC_VERSION = grpc.__version__
9
+ _version_not_supported = False
10
+
11
+ try:
12
+ from grpc._utilities import first_version_is_lower
13
+ _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
14
+ except ImportError:
15
+ _version_not_supported = True
16
+
17
+ if _version_not_supported:
18
+ raise RuntimeError(
19
+ f'The grpc package installed is at version {GRPC_VERSION},'
20
+ + ' but the generated code in google/api/http_pb2_grpc.py depends on'
21
+ + f' grpcio>={GRPC_GENERATED_VERSION}.'
22
+ + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
23
+ + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
24
+ )
File without changes
@@ -0,0 +1,72 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: proto/config.proto
5
+ # Protobuf Python Version: 6.31.1
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 31,
16
+ 1,
17
+ '',
18
+ 'proto/config.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+
26
+
27
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x12proto/config.proto\x12\x0ctalon.config\"\xe3\x02\n\x0bTalonConfig\x12;\n\tproviders\x18\x01 \x03(\x0b\x32(.talon.config.TalonConfig.ProvidersEntry\x12.\n\x08\x64\x61tabase\x18\x02 \x01(\x0b\x32\x1c.talon.config.DatabaseConfig\x12*\n\x06server\x18\x03 \x01(\x0b\x32\x1a.talon.config.ServerConfig\x12\x18\n\x10\x64\x65\x66\x61ult_provider\x18\x04 \x01(\t\x12\x15\n\rworkspace_dir\x18\x05 \x01(\t\x12\x37\n\rcontrol_plane\x18\x06 \x01(\x0b\x32 .talon.config.ControlPlaneConfig\x1aQ\n\x0eProvidersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x1f.talon.config.LlmProviderConfig:\x02\x38\x01\"\xe7\x01\n\x11LlmProviderConfig\x12,\n\x06openai\x18\x01 \x01(\x0b\x32\x1a.talon.config.OpenAiConfigH\x00\x12\x32\n\tanthropic\x18\x02 \x01(\x0b\x32\x1d.talon.config.AnthropicConfigH\x00\x12,\n\x06google\x18\x03 \x01(\x0b\x32\x1a.talon.config.GoogleConfigH\x00\x12\x38\n\x11openai_compatible\x18\x04 \x01(\x0b\x32\x1b.talon.config.GenericConfigH\x00\x42\x08\n\x06\x63onfig\"T\n\x0cOpenAiConfig\x12\r\n\x05model\x18\x01 \x01(\t\x12%\n\x07\x61pi_key\x18\x02 \x01(\x0b\x32\x14.talon.config.Secret\x12\x0e\n\x06org_id\x18\x03 \x01(\t\"G\n\x0f\x41nthropicConfig\x12\r\n\x05model\x18\x01 \x01(\t\x12%\n\x07\x61pi_key\x18\x02 \x01(\x0b\x32\x14.talon.config.Secret\"D\n\x0cGoogleConfig\x12\r\n\x05model\x18\x01 \x01(\t\x12%\n\x07\x61pi_key\x18\x02 \x01(\x0b\x32\x14.talon.config.Secret\"e\n\rGenericConfig\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08\x62\x61se_url\x18\x02 \x01(\t\x12\r\n\x05model\x18\x03 \x01(\t\x12%\n\x07\x61pi_key\x18\x04 \x01(\x0b\x32\x14.talon.config.Secret\"K\n\x06Secret\x12\x0f\n\x05plain\x18\x01 \x01(\tH\x00\x12&\n\x03ref\x18\x02 \x01(\x0b\x32\x17.talon.config.SecretRefH\x00\x42\x08\n\x06source\"\x86\x01\n\tSecretRef\x12.\n\x06source\x18\x01 \x01(\x0e\x32\x1e.talon.config.SecretRef.Source\x12\x0b\n\x03key\x18\x02 \x01(\t\"<\n\x06Source\x12\x07\n\x03\x45NV\x10\x00\x12\x07\n\x03GCP\x10\x01\x12\x0c\n\x08KEYCHAIN\x10\x02\x12\x07\n\x03\x41WS\x10\x03\x12\t\n\x05\x41ZURE\x10\x04\"U\n\x0e\x44\x61tabaseConfig\x12\x10\n\x08\x64\x61ta_dir\x18\x01 \x01(\t\x12\x0e\n\x06\x64river\x18\x02 \x01(\t\x12!\n\x03url\x18\x03 \x01(\x0b\x32\x14.talon.config.Secret\"%\n\x13MessageBrokerConfig\x12\x0e\n\x06\x64river\x18\x01 \x01(\t\"\x8f\x01\n\x1bSchedulerCallbackAuthConfig\x12-\n\rshared_secret\x18\x01 \x01(\x0b\x32\x14.talon.config.SecretH\x00\x12\x39\n\x0bgoogle_oidc\x18\x02 \x01(\x0b\x32\".talon.config.GoogleOidcAuthConfigH\x00\x42\x06\n\x04\x61uth\"G\n\x14GoogleOidcAuthConfig\x12\x10\n\x08\x61udience\x18\x01 \x01(\t\x12\x1d\n\x15service_account_email\x18\x02 \x01(\t\"\xa6\x01\n\x19\x43loudTasksSchedulerConfig\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x10\n\x08location\x18\x02 \x01(\t\x12\r\n\x05queue\x18\x03 \x01(\t\x12\x12\n\ntarget_url\x18\x04 \x01(\t\x12@\n\rcallback_auth\x18\x05 \x01(\x0b\x32).talon.config.SchedulerCallbackAuthConfig\"\\\n\x0fSchedulerConfig\x12>\n\x0b\x63loud_tasks\x18\x01 \x01(\x0b\x32\'.talon.config.CloudTasksSchedulerConfigH\x00\x42\t\n\x07\x62\x61\x63kend\"\xb1\x01\n\x12\x43ontrolPlaneConfig\x12.\n\x08\x64\x61tabase\x18\x01 \x01(\x0b\x32\x1c.talon.config.DatabaseConfig\x12\x39\n\x0emessage_broker\x18\x02 \x01(\x0b\x32!.talon.config.MessageBrokerConfig\x12\x30\n\tscheduler\x18\x03 \x01(\x0b\x32\x1d.talon.config.SchedulerConfig\"*\n\x0cServerConfig\x12\x0c\n\x04host\x18\x01 \x01(\t\x12\x0c\n\x04port\x18\x02 \x01(\rb\x06proto3')
28
+
29
+ _globals = globals()
30
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
31
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.config_pb2', _globals)
32
+ if not _descriptor._USE_C_DESCRIPTORS:
33
+ DESCRIPTOR._loaded_options = None
34
+ _globals['_TALONCONFIG_PROVIDERSENTRY']._loaded_options = None
35
+ _globals['_TALONCONFIG_PROVIDERSENTRY']._serialized_options = b'8\001'
36
+ _globals['_TALONCONFIG']._serialized_start=37
37
+ _globals['_TALONCONFIG']._serialized_end=392
38
+ _globals['_TALONCONFIG_PROVIDERSENTRY']._serialized_start=311
39
+ _globals['_TALONCONFIG_PROVIDERSENTRY']._serialized_end=392
40
+ _globals['_LLMPROVIDERCONFIG']._serialized_start=395
41
+ _globals['_LLMPROVIDERCONFIG']._serialized_end=626
42
+ _globals['_OPENAICONFIG']._serialized_start=628
43
+ _globals['_OPENAICONFIG']._serialized_end=712
44
+ _globals['_ANTHROPICCONFIG']._serialized_start=714
45
+ _globals['_ANTHROPICCONFIG']._serialized_end=785
46
+ _globals['_GOOGLECONFIG']._serialized_start=787
47
+ _globals['_GOOGLECONFIG']._serialized_end=855
48
+ _globals['_GENERICCONFIG']._serialized_start=857
49
+ _globals['_GENERICCONFIG']._serialized_end=958
50
+ _globals['_SECRET']._serialized_start=960
51
+ _globals['_SECRET']._serialized_end=1035
52
+ _globals['_SECRETREF']._serialized_start=1038
53
+ _globals['_SECRETREF']._serialized_end=1172
54
+ _globals['_SECRETREF_SOURCE']._serialized_start=1112
55
+ _globals['_SECRETREF_SOURCE']._serialized_end=1172
56
+ _globals['_DATABASECONFIG']._serialized_start=1174
57
+ _globals['_DATABASECONFIG']._serialized_end=1259
58
+ _globals['_MESSAGEBROKERCONFIG']._serialized_start=1261
59
+ _globals['_MESSAGEBROKERCONFIG']._serialized_end=1298
60
+ _globals['_SCHEDULERCALLBACKAUTHCONFIG']._serialized_start=1301
61
+ _globals['_SCHEDULERCALLBACKAUTHCONFIG']._serialized_end=1444
62
+ _globals['_GOOGLEOIDCAUTHCONFIG']._serialized_start=1446
63
+ _globals['_GOOGLEOIDCAUTHCONFIG']._serialized_end=1517
64
+ _globals['_CLOUDTASKSSCHEDULERCONFIG']._serialized_start=1520
65
+ _globals['_CLOUDTASKSSCHEDULERCONFIG']._serialized_end=1686
66
+ _globals['_SCHEDULERCONFIG']._serialized_start=1688
67
+ _globals['_SCHEDULERCONFIG']._serialized_end=1780
68
+ _globals['_CONTROLPLANECONFIG']._serialized_start=1783
69
+ _globals['_CONTROLPLANECONFIG']._serialized_end=1960
70
+ _globals['_SERVERCONFIG']._serialized_start=1962
71
+ _globals['_SERVERCONFIG']._serialized_end=2004
72
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,24 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+ import warnings
5
+
6
+
7
+ GRPC_GENERATED_VERSION = '1.76.0'
8
+ GRPC_VERSION = grpc.__version__
9
+ _version_not_supported = False
10
+
11
+ try:
12
+ from grpc._utilities import first_version_is_lower
13
+ _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
14
+ except ImportError:
15
+ _version_not_supported = True
16
+
17
+ if _version_not_supported:
18
+ raise RuntimeError(
19
+ f'The grpc package installed is at version {GRPC_VERSION},'
20
+ + ' but the generated code in proto/config_pb2_grpc.py depends on'
21
+ + f' grpcio>={GRPC_GENERATED_VERSION}.'
22
+ + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
23
+ + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
24
+ )
@@ -0,0 +1,53 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: proto/events.proto
5
+ # Protobuf Python Version: 6.31.1
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 31,
16
+ 1,
17
+ '',
18
+ 'proto/events.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from talon_client.proto import models_pb2 as proto_dot_models__pb2
26
+
27
+
28
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x12proto/events.proto\x12\x0ctalon.events\x1a\x12proto/models.proto\"\x80\x01\n\x0eLifecycleEvent\x12\x15\n\rresource_type\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\n\n\x02ns\x18\x03 \x01(\t\x12*\n\x06\x61\x63tion\x18\x04 \x01(\x0e\x32\x1a.talon.events.SystemAction\x12\x11\n\ttimestamp\x18\x05 \x01(\x03\"\xaf\x01\n\x13SessionMessageEvent\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x12\n\nmessage_id\x18\x02 \x01(\t\x12\x31\n\tdirection\x18\x03 \x01(\x0e\x32\x1e.talon.events.MessageDirection\x12\x11\n\ttimestamp\x18\x04 \x01(\x03\x12\r\n\x05\x61gent\x18\x05 \x01(\t\x12\x0f\n\x07message\x18\x06 \x01(\t\x12\n\n\x02ns\x18\x07 \x01(\t\"g\n\x13SessionControlEvent\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\r\n\x05\x61gent\x18\x02 \x01(\t\x12\n\n\x02ns\x18\x03 \x01(\t\x12\x0e\n\x06\x61\x63tion\x18\x04 \x01(\t\x12\x11\n\ttimestamp\x18\x05 \x01(\x03\"\xd8\x01\n\x17SessionMessagePartEvent\x12\x12\n\nsession_id\x18\x01 \x01(\t\x12\x37\n\x04kind\x18\x02 \x01(\x0e\x32).talon.events.SessionMessagePartEventKind\x12.\n\x04part\x18\x03 \x01(\x0b\x32 .talon.models.SessionMessagePart\x12\x11\n\ttimestamp\x18\x04 \x01(\x03\x12\r\n\x05\x61gent\x18\x05 \x01(\t\x12\n\n\x02ns\x18\x06 \x01(\t\x12\x12\n\nmessage_id\x18\x07 \x01(\t\"\xe3\x01\n\x0c\x43hannelEvent\x12\n\n\x02ns\x18\x01 \x01(\t\x12\x0f\n\x07\x63hannel\x18\x02 \x01(\t\x12,\n\x04kind\x18\x03 \x01(\x0e\x32\x1e.talon.events.ChannelEventKind\x12-\n\x07message\x18\x04 \x01(\x0b\x32\x1c.talon.models.ChannelMessage\x12\x12\n\nsession_id\x18\x05 \x01(\t\x12\r\n\x05\x61gent\x18\x06 \x01(\t\x12\x14\n\x0csubscription\x18\x07 \x01(\t\x12\r\n\x05\x65rror\x18\x08 \x01(\t\x12\x11\n\ttimestamp\x18\t \x01(\x03*\xb0\x01\n\x0cSystemAction\x12\x1d\n\x19SYSTEM_ACTION_UNSPECIFIED\x10\x00\x12\x18\n\x14SYSTEM_ACTION_CREATE\x10\x01\x12\x18\n\x14SYSTEM_ACTION_UPDATE\x10\x02\x12\x18\n\x14SYSTEM_ACTION_DELETE\x10\x03\x12\x19\n\x15SYSTEM_ACTION_SUSPEND\x10\x04\x12\x18\n\x14SYSTEM_ACTION_RESUME\x10\x05*t\n\x10MessageDirection\x12!\n\x1dMESSAGE_DIRECTION_UNSPECIFIED\x10\x00\x12\x1d\n\x19MESSAGE_DIRECTION_INBOUND\x10\x01\x12\x1e\n\x1aMESSAGE_DIRECTION_OUTBOUND\x10\x02*\xce\x01\n\x1bSessionMessagePartEventKind\x12/\n+SESSION_MESSAGE_PART_EVENT_KIND_UNSPECIFIED\x10\x00\x12)\n%SESSION_MESSAGE_PART_EVENT_KIND_DELTA\x10\x01\x12(\n$SESSION_MESSAGE_PART_EVENT_KIND_DONE\x10\x02\x12)\n%SESSION_MESSAGE_PART_EVENT_KIND_ERROR\x10\x03*\xcb\x01\n\x10\x43hannelEventKind\x12\"\n\x1e\x43HANNEL_EVENT_KIND_UNSPECIFIED\x10\x00\x12&\n\"CHANNEL_EVENT_KIND_MESSAGE_CREATED\x10\x01\x12%\n!CHANNEL_EVENT_KIND_SESSION_ROUTED\x10\x02\x12&\n\"CHANNEL_EVENT_KIND_PUBLISH_SKIPPED\x10\x03\x12\x1c\n\x18\x43HANNEL_EVENT_KIND_ERROR\x10\x04\x62\x06proto3')
29
+
30
+ _globals = globals()
31
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
32
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.events_pb2', _globals)
33
+ if not _descriptor._USE_C_DESCRIPTORS:
34
+ DESCRIPTOR._loaded_options = None
35
+ _globals['_SYSTEMACTION']._serialized_start=920
36
+ _globals['_SYSTEMACTION']._serialized_end=1096
37
+ _globals['_MESSAGEDIRECTION']._serialized_start=1098
38
+ _globals['_MESSAGEDIRECTION']._serialized_end=1214
39
+ _globals['_SESSIONMESSAGEPARTEVENTKIND']._serialized_start=1217
40
+ _globals['_SESSIONMESSAGEPARTEVENTKIND']._serialized_end=1423
41
+ _globals['_CHANNELEVENTKIND']._serialized_start=1426
42
+ _globals['_CHANNELEVENTKIND']._serialized_end=1629
43
+ _globals['_LIFECYCLEEVENT']._serialized_start=57
44
+ _globals['_LIFECYCLEEVENT']._serialized_end=185
45
+ _globals['_SESSIONMESSAGEEVENT']._serialized_start=188
46
+ _globals['_SESSIONMESSAGEEVENT']._serialized_end=363
47
+ _globals['_SESSIONCONTROLEVENT']._serialized_start=365
48
+ _globals['_SESSIONCONTROLEVENT']._serialized_end=468
49
+ _globals['_SESSIONMESSAGEPARTEVENT']._serialized_start=471
50
+ _globals['_SESSIONMESSAGEPARTEVENT']._serialized_end=687
51
+ _globals['_CHANNELEVENT']._serialized_start=690
52
+ _globals['_CHANNELEVENT']._serialized_end=917
53
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,24 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+ import warnings
5
+
6
+
7
+ GRPC_GENERATED_VERSION = '1.76.0'
8
+ GRPC_VERSION = grpc.__version__
9
+ _version_not_supported = False
10
+
11
+ try:
12
+ from grpc._utilities import first_version_is_lower
13
+ _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
14
+ except ImportError:
15
+ _version_not_supported = True
16
+
17
+ if _version_not_supported:
18
+ raise RuntimeError(
19
+ f'The grpc package installed is at version {GRPC_VERSION},'
20
+ + ' but the generated code in proto/events_pb2_grpc.py depends on'
21
+ + f' grpcio>={GRPC_GENERATED_VERSION}.'
22
+ + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
23
+ + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
24
+ )