agentic-mesh-protocol 0.2.1.dev0__py3-none-any.whl
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.
- agentic_mesh_protocol/__init__.py +5 -0
- agentic_mesh_protocol/__version__.py +8 -0
- agentic_mesh_protocol/cost/__init__.py +0 -0
- agentic_mesh_protocol/cost/v1/__init__.py +0 -0
- agentic_mesh_protocol/cost/v1/cost_pb2.py +108 -0
- agentic_mesh_protocol/cost/v1/cost_pb2.pyi +120 -0
- agentic_mesh_protocol/cost/v1/cost_pb2_grpc.py +4 -0
- agentic_mesh_protocol/cost/v1/cost_service_pb2.py +38 -0
- agentic_mesh_protocol/cost/v1/cost_service_pb2.pyi +5 -0
- agentic_mesh_protocol/cost/v1/cost_service_pb2_grpc.py +169 -0
- agentic_mesh_protocol/filesystem/__init__.py +0 -0
- agentic_mesh_protocol/filesystem/v1/__init__.py +0 -0
- agentic_mesh_protocol/filesystem/v1/filesystem_pb2.py +160 -0
- agentic_mesh_protocol/filesystem/v1/filesystem_pb2.pyi +248 -0
- agentic_mesh_protocol/filesystem/v1/filesystem_pb2_grpc.py +4 -0
- agentic_mesh_protocol/filesystem/v1/filesystem_service_pb2.py +38 -0
- agentic_mesh_protocol/filesystem/v1/filesystem_service_pb2.pyi +5 -0
- agentic_mesh_protocol/filesystem/v1/filesystem_service_pb2_grpc.py +274 -0
- agentic_mesh_protocol/module/__init__.py +0 -0
- agentic_mesh_protocol/module/v1/__init__.py +0 -0
- agentic_mesh_protocol/module/v1/information_pb2.py +77 -0
- agentic_mesh_protocol/module/v1/information_pb2.pyi +88 -0
- agentic_mesh_protocol/module/v1/information_pb2_grpc.py +4 -0
- agentic_mesh_protocol/module/v1/lifecycle_pb2.py +70 -0
- agentic_mesh_protocol/module/v1/lifecycle_pb2.pyi +61 -0
- agentic_mesh_protocol/module/v1/lifecycle_pb2_grpc.py +4 -0
- agentic_mesh_protocol/module/v1/module_service_pb2.py +40 -0
- agentic_mesh_protocol/module/v1/module_service_pb2.pyi +7 -0
- agentic_mesh_protocol/module/v1/module_service_pb2_grpc.py +500 -0
- agentic_mesh_protocol/module/v1/monitoring_pb2.py +58 -0
- agentic_mesh_protocol/module/v1/monitoring_pb2.pyi +64 -0
- agentic_mesh_protocol/module/v1/monitoring_pb2_grpc.py +4 -0
- agentic_mesh_protocol/module_registry/__init__.py +0 -0
- agentic_mesh_protocol/module_registry/v1/__init__.py +0 -0
- agentic_mesh_protocol/module_registry/v1/discover_pb2.py +63 -0
- agentic_mesh_protocol/module_registry/v1/discover_pb2.pyi +49 -0
- agentic_mesh_protocol/module_registry/v1/discover_pb2_grpc.py +4 -0
- agentic_mesh_protocol/module_registry/v1/metadata_pb2.py +46 -0
- agentic_mesh_protocol/module_registry/v1/metadata_pb2.pyi +24 -0
- agentic_mesh_protocol/module_registry/v1/metadata_pb2_grpc.py +4 -0
- agentic_mesh_protocol/module_registry/v1/module_registry_service_pb2.py +40 -0
- agentic_mesh_protocol/module_registry/v1/module_registry_service_pb2.pyi +7 -0
- agentic_mesh_protocol/module_registry/v1/module_registry_service_pb2_grpc.py +406 -0
- agentic_mesh_protocol/module_registry/v1/registration_pb2.py +57 -0
- agentic_mesh_protocol/module_registry/v1/registration_pb2.pyi +42 -0
- agentic_mesh_protocol/module_registry/v1/registration_pb2_grpc.py +4 -0
- agentic_mesh_protocol/module_registry/v1/status_pb2.py +58 -0
- agentic_mesh_protocol/module_registry/v1/status_pb2.pyi +70 -0
- agentic_mesh_protocol/module_registry/v1/status_pb2_grpc.py +4 -0
- agentic_mesh_protocol/py.typed +0 -0
- agentic_mesh_protocol/registry/__init__.py +0 -0
- agentic_mesh_protocol/registry/v1/__init__.py +0 -0
- agentic_mesh_protocol/registry/v1/registry_enums_pb2.py +43 -0
- agentic_mesh_protocol/registry/v1/registry_enums_pb2.pyi +59 -0
- agentic_mesh_protocol/registry/v1/registry_enums_pb2_grpc.py +4 -0
- agentic_mesh_protocol/registry/v1/registry_models_pb2.py +105 -0
- agentic_mesh_protocol/registry/v1/registry_models_pb2.pyi +82 -0
- agentic_mesh_protocol/registry/v1/registry_models_pb2_grpc.py +4 -0
- agentic_mesh_protocol/registry/v1/registry_requests_pb2.py +110 -0
- agentic_mesh_protocol/registry/v1/registry_requests_pb2.pyi +102 -0
- agentic_mesh_protocol/registry/v1/registry_requests_pb2_grpc.py +4 -0
- agentic_mesh_protocol/registry/v1/registry_service_pb2.py +39 -0
- agentic_mesh_protocol/registry/v1/registry_service_pb2.pyi +6 -0
- agentic_mesh_protocol/registry/v1/registry_service_pb2_grpc.py +322 -0
- agentic_mesh_protocol/setup/__init__.py +0 -0
- agentic_mesh_protocol/setup/v1/__init__.py +0 -0
- agentic_mesh_protocol/setup/v1/setup_pb2.py +142 -0
- agentic_mesh_protocol/setup/v1/setup_pb2.pyi +234 -0
- agentic_mesh_protocol/setup/v1/setup_pb2_grpc.py +4 -0
- agentic_mesh_protocol/setup/v1/setup_service_pb2.py +38 -0
- agentic_mesh_protocol/setup/v1/setup_service_pb2.pyi +5 -0
- agentic_mesh_protocol/setup/v1/setup_service_pb2_grpc.py +480 -0
- agentic_mesh_protocol/storage/__init__.py +0 -0
- agentic_mesh_protocol/storage/v1/__init__.py +0 -0
- agentic_mesh_protocol/storage/v1/data_pb2.py +136 -0
- agentic_mesh_protocol/storage/v1/data_pb2.pyi +148 -0
- agentic_mesh_protocol/storage/v1/data_pb2_grpc.py +4 -0
- agentic_mesh_protocol/storage/v1/storage_service_pb2.py +38 -0
- agentic_mesh_protocol/storage/v1/storage_service_pb2.pyi +5 -0
- agentic_mesh_protocol/storage/v1/storage_service_pb2_grpc.py +301 -0
- agentic_mesh_protocol/user_profile/__init__.py +0 -0
- agentic_mesh_protocol/user_profile/v1/__init__.py +0 -0
- agentic_mesh_protocol/user_profile/v1/user_profile_pb2.py +72 -0
- agentic_mesh_protocol/user_profile/v1/user_profile_pb2.pyi +82 -0
- agentic_mesh_protocol/user_profile/v1/user_profile_pb2_grpc.py +4 -0
- agentic_mesh_protocol/user_profile/v1/user_profile_service_pb2.py +38 -0
- agentic_mesh_protocol/user_profile/v1/user_profile_service_pb2.pyi +5 -0
- agentic_mesh_protocol/user_profile/v1/user_profile_service_pb2_grpc.py +81 -0
- agentic_mesh_protocol-0.2.1.dev0.dist-info/METADATA +177 -0
- agentic_mesh_protocol-0.2.1.dev0.dist-info/RECORD +100 -0
- agentic_mesh_protocol-0.2.1.dev0.dist-info/WHEEL +5 -0
- agentic_mesh_protocol-0.2.1.dev0.dist-info/licenses/LICENSE +430 -0
- agentic_mesh_protocol-0.2.1.dev0.dist-info/top_level.txt +3 -0
- buf/__init__.py +0 -0
- buf/validate/__init__.py +0 -0
- buf/validate/validate_pb2.py +465 -0
- buf/validate/validate_pb2.pyi +650 -0
- buf/validate/validate_pb2_grpc.py +4 -0
- digitalkin_proto/__init__.py +5 -0
- digitalkin_proto/__version__.py +8 -0
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: agentic_mesh_protocol/registry/v1/registry_requests.proto
|
|
5
|
+
# Protobuf Python Version: 6.33.0
|
|
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
|
+
33,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'agentic_mesh_protocol/registry/v1/registry_requests.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from agentic_mesh_protocol.registry.v1 import registry_enums_pb2 as agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__enums__pb2
|
|
26
|
+
from agentic_mesh_protocol.registry.v1 import registry_models_pb2 as agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__models__pb2
|
|
27
|
+
from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n9agentic_mesh_protocol/registry/v1/registry_requests.proto\x12!agentic_mesh_protocol.registry.v1\x1a\x36\x61gentic_mesh_protocol/registry/v1/registry_enums.proto\x1a\x37\x61gentic_mesh_protocol/registry/v1/registry_models.proto\x1a\x1b\x62uf/validate/validate.proto\"\xba\x01\n\x15RegisterModuleRequest\x12\x31\n\tmodule_id\x18\x01 \x01(\tB\x14\xbaH\x11r\x0c\x10\x01:\x08modules:\xc8\x01\x01R\x08moduleId\x12$\n\x07\x61\x64\x64ress\x18\x02 \x01(\tB\n\xbaH\x07r\x02\x10\x01\xc8\x01\x01R\x07\x61\x64\x64ress\x12\"\n\x04port\x18\x03 \x01(\x05\x42\x0e\xbaH\x0b\x1a\x06\x18\xff\xff\x03(\x01\xc8\x01\x01R\x04port\x12$\n\x07version\x18\x04 \x01(\tB\n\xbaH\x07r\x02\x10\x01\xc8\x01\x01R\x07version\"m\n\x16RegisterModuleResponse\x12S\n\x06module\x18\x01 \x01(\x0b\x32\x33.agentic_mesh_protocol.registry.v1.ModuleDescriptorB\x06\xbaH\x03\xc8\x01\x01R\x06module\"E\n\x10HeartbeatRequest\x12\x31\n\tmodule_id\x18\x01 \x01(\tB\x14\xbaH\x11r\x0c\x10\x01:\x08modules:\xc8\x01\x01R\x08moduleId\"i\n\x11HeartbeatResponse\x12T\n\x06status\x18\x01 \x01(\x0e\x32/.agentic_mesh_protocol.registry.v1.ModuleStatusB\x0b\xbaH\x08\x82\x01\x02 \x00\xc8\x01\x01R\x06status\"\x87\x04\n\x15\x44iscoverSetupsRequest\x12@\n\x0forganization_id\x18\x01 \x01(\tB\x17\xbaH\x14r\x12\x10\x01:\x0eorganizations:R\x0eorganizationId\x12\\\n\nvisibility\x18\x02 \x03(\x0e\x32-.agentic_mesh_protocol.registry.v1.VisibilityB\r\xbaH\n\x92\x01\x07\"\x05\x82\x01\x02 \x00R\nvisibility\x12U\n\x06status\x18\x03 \x03(\x0e\x32..agentic_mesh_protocol.registry.v1.SetupStatusB\r\xbaH\n\x92\x01\x07\"\x05\x82\x01\x02 \x00R\x06status\x12_\n\x0cmodule_types\x18\x04 \x03(\x0e\x32-.agentic_mesh_protocol.registry.v1.ModuleTypeB\r\xbaH\n\x92\x01\x07\"\x05\x82\x01\x02 \x00R\x0bmoduleTypes\x12\x1d\n\x05query\x18\x05 \x01(\tB\x07\xbaH\x04r\x02\x10\x01R\x05query\x12\x35\n\nmodule_ids\x18\x06 \x03(\tB\x16\xbaH\x13\x92\x01\x10\"\x0er\x0c\x10\x01:\x08modules:R\tmoduleIds\x12\x1f\n\x05limit\x18\x07 \x01(\x05\x42\t\xbaH\x06\x1a\x04\x18\x64(\x01R\x05limit\x12\x1f\n\x06offset\x18\x08 \x01(\x05\x42\x07\xbaH\x04\x1a\x02(\x00R\x06offset\"q\n\x16\x44iscoverSetupsResponse\x12W\n\x06setups\x18\x01 \x03(\x0b\x32\x32.agentic_mesh_protocol.registry.v1.SetupDescriptorB\x0b\xbaH\x08\x92\x01\x05\"\x03\xc8\x01\x01R\x06setups\"\xd2\x03\n\x16\x44iscoverModulesRequest\x12@\n\x0forganization_id\x18\x01 \x01(\tB\x17\xbaH\x14r\x12\x10\x01:\x0eorganizations:R\x0eorganizationId\x12_\n\x0cmodule_types\x18\x02 \x03(\x0e\x32-.agentic_mesh_protocol.registry.v1.ModuleTypeB\r\xbaH\n\x92\x01\x07\"\x05\x82\x01\x02 \x00R\x0bmoduleTypes\x12V\n\x06status\x18\x03 \x03(\x0e\x32/.agentic_mesh_protocol.registry.v1.ModuleStatusB\r\xbaH\n\x92\x01\x07\"\x05\x82\x01\x02 \x00R\x06status\x12\\\n\nvisibility\x18\x04 \x03(\x0e\x32-.agentic_mesh_protocol.registry.v1.VisibilityB\r\xbaH\n\x92\x01\x07\"\x05\x82\x01\x02 \x00R\nvisibility\x12\x1d\n\x05query\x18\x05 \x01(\tB\x07\xbaH\x04r\x02\x10\x01R\x05query\x12\x1f\n\x05limit\x18\x06 \x01(\x05\x42\t\xbaH\x06\x1a\x04\x18\x64(\x01R\x05limit\x12\x1f\n\x06offset\x18\x07 \x01(\x05\x42\x07\xbaH\x04\x1a\x02(\x00R\x06offset\"u\n\x17\x44iscoverModulesResponse\x12Z\n\x07modules\x18\x01 \x03(\x0b\x32\x33.agentic_mesh_protocol.registry.v1.ModuleDescriptorB\x0b\xbaH\x08\x92\x01\x05\"\x03\xc8\x01\x01R\x07modules\"A\n\x0fGetSetupRequest\x12.\n\x08setup_id\x18\x01 \x01(\tB\x13\xbaH\x10r\x0b\x10\x01:\x07setups:\xc8\x01\x01R\x07setupId\"E\n\x10GetModuleRequest\x12\x31\n\tmodule_id\x18\x01 \x01(\tB\x14\xbaH\x11r\x0c\x10\x01:\x08modules:\xc8\x01\x01R\x08moduleIdB\xdc\x01\n%com.agentic_mesh_protocol.registry.v1B\x15RegistryRequestsProtoP\x01\xa2\x02\x03\x41RX\xaa\x02\x1f\x41genticMeshProtocol.Registry.V1\xca\x02\x1f\x41genticMeshProtocol\\Registry\\V1\xe2\x02+AgenticMeshProtocol\\Registry\\V1\\GPBMetadata\xea\x02!AgenticMeshProtocol::Registry::V1b\x06proto3')
|
|
31
|
+
|
|
32
|
+
_globals = globals()
|
|
33
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
34
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'agentic_mesh_protocol.registry.v1.registry_requests_pb2', _globals)
|
|
35
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
36
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
37
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n%com.agentic_mesh_protocol.registry.v1B\025RegistryRequestsProtoP\001\242\002\003ARX\252\002\037AgenticMeshProtocol.Registry.V1\312\002\037AgenticMeshProtocol\\Registry\\V1\342\002+AgenticMeshProtocol\\Registry\\V1\\GPBMetadata\352\002!AgenticMeshProtocol::Registry::V1'
|
|
38
|
+
_globals['_REGISTERMODULEREQUEST'].fields_by_name['module_id']._loaded_options = None
|
|
39
|
+
_globals['_REGISTERMODULEREQUEST'].fields_by_name['module_id']._serialized_options = b'\272H\021r\014\020\001:\010modules:\310\001\001'
|
|
40
|
+
_globals['_REGISTERMODULEREQUEST'].fields_by_name['address']._loaded_options = None
|
|
41
|
+
_globals['_REGISTERMODULEREQUEST'].fields_by_name['address']._serialized_options = b'\272H\007r\002\020\001\310\001\001'
|
|
42
|
+
_globals['_REGISTERMODULEREQUEST'].fields_by_name['port']._loaded_options = None
|
|
43
|
+
_globals['_REGISTERMODULEREQUEST'].fields_by_name['port']._serialized_options = b'\272H\013\032\006\030\377\377\003(\001\310\001\001'
|
|
44
|
+
_globals['_REGISTERMODULEREQUEST'].fields_by_name['version']._loaded_options = None
|
|
45
|
+
_globals['_REGISTERMODULEREQUEST'].fields_by_name['version']._serialized_options = b'\272H\007r\002\020\001\310\001\001'
|
|
46
|
+
_globals['_REGISTERMODULERESPONSE'].fields_by_name['module']._loaded_options = None
|
|
47
|
+
_globals['_REGISTERMODULERESPONSE'].fields_by_name['module']._serialized_options = b'\272H\003\310\001\001'
|
|
48
|
+
_globals['_HEARTBEATREQUEST'].fields_by_name['module_id']._loaded_options = None
|
|
49
|
+
_globals['_HEARTBEATREQUEST'].fields_by_name['module_id']._serialized_options = b'\272H\021r\014\020\001:\010modules:\310\001\001'
|
|
50
|
+
_globals['_HEARTBEATRESPONSE'].fields_by_name['status']._loaded_options = None
|
|
51
|
+
_globals['_HEARTBEATRESPONSE'].fields_by_name['status']._serialized_options = b'\272H\010\202\001\002 \000\310\001\001'
|
|
52
|
+
_globals['_DISCOVERSETUPSREQUEST'].fields_by_name['organization_id']._loaded_options = None
|
|
53
|
+
_globals['_DISCOVERSETUPSREQUEST'].fields_by_name['organization_id']._serialized_options = b'\272H\024r\022\020\001:\016organizations:'
|
|
54
|
+
_globals['_DISCOVERSETUPSREQUEST'].fields_by_name['visibility']._loaded_options = None
|
|
55
|
+
_globals['_DISCOVERSETUPSREQUEST'].fields_by_name['visibility']._serialized_options = b'\272H\n\222\001\007\"\005\202\001\002 \000'
|
|
56
|
+
_globals['_DISCOVERSETUPSREQUEST'].fields_by_name['status']._loaded_options = None
|
|
57
|
+
_globals['_DISCOVERSETUPSREQUEST'].fields_by_name['status']._serialized_options = b'\272H\n\222\001\007\"\005\202\001\002 \000'
|
|
58
|
+
_globals['_DISCOVERSETUPSREQUEST'].fields_by_name['module_types']._loaded_options = None
|
|
59
|
+
_globals['_DISCOVERSETUPSREQUEST'].fields_by_name['module_types']._serialized_options = b'\272H\n\222\001\007\"\005\202\001\002 \000'
|
|
60
|
+
_globals['_DISCOVERSETUPSREQUEST'].fields_by_name['query']._loaded_options = None
|
|
61
|
+
_globals['_DISCOVERSETUPSREQUEST'].fields_by_name['query']._serialized_options = b'\272H\004r\002\020\001'
|
|
62
|
+
_globals['_DISCOVERSETUPSREQUEST'].fields_by_name['module_ids']._loaded_options = None
|
|
63
|
+
_globals['_DISCOVERSETUPSREQUEST'].fields_by_name['module_ids']._serialized_options = b'\272H\023\222\001\020\"\016r\014\020\001:\010modules:'
|
|
64
|
+
_globals['_DISCOVERSETUPSREQUEST'].fields_by_name['limit']._loaded_options = None
|
|
65
|
+
_globals['_DISCOVERSETUPSREQUEST'].fields_by_name['limit']._serialized_options = b'\272H\006\032\004\030d(\001'
|
|
66
|
+
_globals['_DISCOVERSETUPSREQUEST'].fields_by_name['offset']._loaded_options = None
|
|
67
|
+
_globals['_DISCOVERSETUPSREQUEST'].fields_by_name['offset']._serialized_options = b'\272H\004\032\002(\000'
|
|
68
|
+
_globals['_DISCOVERSETUPSRESPONSE'].fields_by_name['setups']._loaded_options = None
|
|
69
|
+
_globals['_DISCOVERSETUPSRESPONSE'].fields_by_name['setups']._serialized_options = b'\272H\010\222\001\005\"\003\310\001\001'
|
|
70
|
+
_globals['_DISCOVERMODULESREQUEST'].fields_by_name['organization_id']._loaded_options = None
|
|
71
|
+
_globals['_DISCOVERMODULESREQUEST'].fields_by_name['organization_id']._serialized_options = b'\272H\024r\022\020\001:\016organizations:'
|
|
72
|
+
_globals['_DISCOVERMODULESREQUEST'].fields_by_name['module_types']._loaded_options = None
|
|
73
|
+
_globals['_DISCOVERMODULESREQUEST'].fields_by_name['module_types']._serialized_options = b'\272H\n\222\001\007\"\005\202\001\002 \000'
|
|
74
|
+
_globals['_DISCOVERMODULESREQUEST'].fields_by_name['status']._loaded_options = None
|
|
75
|
+
_globals['_DISCOVERMODULESREQUEST'].fields_by_name['status']._serialized_options = b'\272H\n\222\001\007\"\005\202\001\002 \000'
|
|
76
|
+
_globals['_DISCOVERMODULESREQUEST'].fields_by_name['visibility']._loaded_options = None
|
|
77
|
+
_globals['_DISCOVERMODULESREQUEST'].fields_by_name['visibility']._serialized_options = b'\272H\n\222\001\007\"\005\202\001\002 \000'
|
|
78
|
+
_globals['_DISCOVERMODULESREQUEST'].fields_by_name['query']._loaded_options = None
|
|
79
|
+
_globals['_DISCOVERMODULESREQUEST'].fields_by_name['query']._serialized_options = b'\272H\004r\002\020\001'
|
|
80
|
+
_globals['_DISCOVERMODULESREQUEST'].fields_by_name['limit']._loaded_options = None
|
|
81
|
+
_globals['_DISCOVERMODULESREQUEST'].fields_by_name['limit']._serialized_options = b'\272H\006\032\004\030d(\001'
|
|
82
|
+
_globals['_DISCOVERMODULESREQUEST'].fields_by_name['offset']._loaded_options = None
|
|
83
|
+
_globals['_DISCOVERMODULESREQUEST'].fields_by_name['offset']._serialized_options = b'\272H\004\032\002(\000'
|
|
84
|
+
_globals['_DISCOVERMODULESRESPONSE'].fields_by_name['modules']._loaded_options = None
|
|
85
|
+
_globals['_DISCOVERMODULESRESPONSE'].fields_by_name['modules']._serialized_options = b'\272H\010\222\001\005\"\003\310\001\001'
|
|
86
|
+
_globals['_GETSETUPREQUEST'].fields_by_name['setup_id']._loaded_options = None
|
|
87
|
+
_globals['_GETSETUPREQUEST'].fields_by_name['setup_id']._serialized_options = b'\272H\020r\013\020\001:\007setups:\310\001\001'
|
|
88
|
+
_globals['_GETMODULEREQUEST'].fields_by_name['module_id']._loaded_options = None
|
|
89
|
+
_globals['_GETMODULEREQUEST'].fields_by_name['module_id']._serialized_options = b'\272H\021r\014\020\001:\010modules:\310\001\001'
|
|
90
|
+
_globals['_REGISTERMODULEREQUEST']._serialized_start=239
|
|
91
|
+
_globals['_REGISTERMODULEREQUEST']._serialized_end=425
|
|
92
|
+
_globals['_REGISTERMODULERESPONSE']._serialized_start=427
|
|
93
|
+
_globals['_REGISTERMODULERESPONSE']._serialized_end=536
|
|
94
|
+
_globals['_HEARTBEATREQUEST']._serialized_start=538
|
|
95
|
+
_globals['_HEARTBEATREQUEST']._serialized_end=607
|
|
96
|
+
_globals['_HEARTBEATRESPONSE']._serialized_start=609
|
|
97
|
+
_globals['_HEARTBEATRESPONSE']._serialized_end=714
|
|
98
|
+
_globals['_DISCOVERSETUPSREQUEST']._serialized_start=717
|
|
99
|
+
_globals['_DISCOVERSETUPSREQUEST']._serialized_end=1236
|
|
100
|
+
_globals['_DISCOVERSETUPSRESPONSE']._serialized_start=1238
|
|
101
|
+
_globals['_DISCOVERSETUPSRESPONSE']._serialized_end=1351
|
|
102
|
+
_globals['_DISCOVERMODULESREQUEST']._serialized_start=1354
|
|
103
|
+
_globals['_DISCOVERMODULESREQUEST']._serialized_end=1820
|
|
104
|
+
_globals['_DISCOVERMODULESRESPONSE']._serialized_start=1822
|
|
105
|
+
_globals['_DISCOVERMODULESRESPONSE']._serialized_end=1939
|
|
106
|
+
_globals['_GETSETUPREQUEST']._serialized_start=1941
|
|
107
|
+
_globals['_GETSETUPREQUEST']._serialized_end=2006
|
|
108
|
+
_globals['_GETMODULEREQUEST']._serialized_start=2008
|
|
109
|
+
_globals['_GETMODULEREQUEST']._serialized_end=2077
|
|
110
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
from agentic_mesh_protocol.registry.v1 import registry_enums_pb2 as _registry_enums_pb2
|
|
2
|
+
from agentic_mesh_protocol.registry.v1 import registry_models_pb2 as _registry_models_pb2
|
|
3
|
+
from buf.validate import validate_pb2 as _validate_pb2
|
|
4
|
+
from google.protobuf.internal import containers as _containers
|
|
5
|
+
from google.protobuf import descriptor as _descriptor
|
|
6
|
+
from google.protobuf import message as _message
|
|
7
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
|
8
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
9
|
+
|
|
10
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
11
|
+
|
|
12
|
+
class RegisterModuleRequest(_message.Message):
|
|
13
|
+
__slots__ = ()
|
|
14
|
+
MODULE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
15
|
+
ADDRESS_FIELD_NUMBER: _ClassVar[int]
|
|
16
|
+
PORT_FIELD_NUMBER: _ClassVar[int]
|
|
17
|
+
VERSION_FIELD_NUMBER: _ClassVar[int]
|
|
18
|
+
module_id: str
|
|
19
|
+
address: str
|
|
20
|
+
port: int
|
|
21
|
+
version: str
|
|
22
|
+
def __init__(self, module_id: _Optional[str] = ..., address: _Optional[str] = ..., port: _Optional[int] = ..., version: _Optional[str] = ...) -> None: ...
|
|
23
|
+
|
|
24
|
+
class RegisterModuleResponse(_message.Message):
|
|
25
|
+
__slots__ = ()
|
|
26
|
+
MODULE_FIELD_NUMBER: _ClassVar[int]
|
|
27
|
+
module: _registry_models_pb2.ModuleDescriptor
|
|
28
|
+
def __init__(self, module: _Optional[_Union[_registry_models_pb2.ModuleDescriptor, _Mapping]] = ...) -> None: ...
|
|
29
|
+
|
|
30
|
+
class HeartbeatRequest(_message.Message):
|
|
31
|
+
__slots__ = ()
|
|
32
|
+
MODULE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
33
|
+
module_id: str
|
|
34
|
+
def __init__(self, module_id: _Optional[str] = ...) -> None: ...
|
|
35
|
+
|
|
36
|
+
class HeartbeatResponse(_message.Message):
|
|
37
|
+
__slots__ = ()
|
|
38
|
+
STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
39
|
+
status: _registry_enums_pb2.ModuleStatus
|
|
40
|
+
def __init__(self, status: _Optional[_Union[_registry_enums_pb2.ModuleStatus, str]] = ...) -> None: ...
|
|
41
|
+
|
|
42
|
+
class DiscoverSetupsRequest(_message.Message):
|
|
43
|
+
__slots__ = ()
|
|
44
|
+
ORGANIZATION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
45
|
+
VISIBILITY_FIELD_NUMBER: _ClassVar[int]
|
|
46
|
+
STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
47
|
+
MODULE_TYPES_FIELD_NUMBER: _ClassVar[int]
|
|
48
|
+
QUERY_FIELD_NUMBER: _ClassVar[int]
|
|
49
|
+
MODULE_IDS_FIELD_NUMBER: _ClassVar[int]
|
|
50
|
+
LIMIT_FIELD_NUMBER: _ClassVar[int]
|
|
51
|
+
OFFSET_FIELD_NUMBER: _ClassVar[int]
|
|
52
|
+
organization_id: str
|
|
53
|
+
visibility: _containers.RepeatedScalarFieldContainer[_registry_enums_pb2.Visibility]
|
|
54
|
+
status: _containers.RepeatedScalarFieldContainer[_registry_enums_pb2.SetupStatus]
|
|
55
|
+
module_types: _containers.RepeatedScalarFieldContainer[_registry_enums_pb2.ModuleType]
|
|
56
|
+
query: str
|
|
57
|
+
module_ids: _containers.RepeatedScalarFieldContainer[str]
|
|
58
|
+
limit: int
|
|
59
|
+
offset: int
|
|
60
|
+
def __init__(self, organization_id: _Optional[str] = ..., visibility: _Optional[_Iterable[_Union[_registry_enums_pb2.Visibility, str]]] = ..., status: _Optional[_Iterable[_Union[_registry_enums_pb2.SetupStatus, str]]] = ..., module_types: _Optional[_Iterable[_Union[_registry_enums_pb2.ModuleType, str]]] = ..., query: _Optional[str] = ..., module_ids: _Optional[_Iterable[str]] = ..., limit: _Optional[int] = ..., offset: _Optional[int] = ...) -> None: ...
|
|
61
|
+
|
|
62
|
+
class DiscoverSetupsResponse(_message.Message):
|
|
63
|
+
__slots__ = ()
|
|
64
|
+
SETUPS_FIELD_NUMBER: _ClassVar[int]
|
|
65
|
+
setups: _containers.RepeatedCompositeFieldContainer[_registry_models_pb2.SetupDescriptor]
|
|
66
|
+
def __init__(self, setups: _Optional[_Iterable[_Union[_registry_models_pb2.SetupDescriptor, _Mapping]]] = ...) -> None: ...
|
|
67
|
+
|
|
68
|
+
class DiscoverModulesRequest(_message.Message):
|
|
69
|
+
__slots__ = ()
|
|
70
|
+
ORGANIZATION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
71
|
+
MODULE_TYPES_FIELD_NUMBER: _ClassVar[int]
|
|
72
|
+
STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
73
|
+
VISIBILITY_FIELD_NUMBER: _ClassVar[int]
|
|
74
|
+
QUERY_FIELD_NUMBER: _ClassVar[int]
|
|
75
|
+
LIMIT_FIELD_NUMBER: _ClassVar[int]
|
|
76
|
+
OFFSET_FIELD_NUMBER: _ClassVar[int]
|
|
77
|
+
organization_id: str
|
|
78
|
+
module_types: _containers.RepeatedScalarFieldContainer[_registry_enums_pb2.ModuleType]
|
|
79
|
+
status: _containers.RepeatedScalarFieldContainer[_registry_enums_pb2.ModuleStatus]
|
|
80
|
+
visibility: _containers.RepeatedScalarFieldContainer[_registry_enums_pb2.Visibility]
|
|
81
|
+
query: str
|
|
82
|
+
limit: int
|
|
83
|
+
offset: int
|
|
84
|
+
def __init__(self, organization_id: _Optional[str] = ..., module_types: _Optional[_Iterable[_Union[_registry_enums_pb2.ModuleType, str]]] = ..., status: _Optional[_Iterable[_Union[_registry_enums_pb2.ModuleStatus, str]]] = ..., visibility: _Optional[_Iterable[_Union[_registry_enums_pb2.Visibility, str]]] = ..., query: _Optional[str] = ..., limit: _Optional[int] = ..., offset: _Optional[int] = ...) -> None: ...
|
|
85
|
+
|
|
86
|
+
class DiscoverModulesResponse(_message.Message):
|
|
87
|
+
__slots__ = ()
|
|
88
|
+
MODULES_FIELD_NUMBER: _ClassVar[int]
|
|
89
|
+
modules: _containers.RepeatedCompositeFieldContainer[_registry_models_pb2.ModuleDescriptor]
|
|
90
|
+
def __init__(self, modules: _Optional[_Iterable[_Union[_registry_models_pb2.ModuleDescriptor, _Mapping]]] = ...) -> None: ...
|
|
91
|
+
|
|
92
|
+
class GetSetupRequest(_message.Message):
|
|
93
|
+
__slots__ = ()
|
|
94
|
+
SETUP_ID_FIELD_NUMBER: _ClassVar[int]
|
|
95
|
+
setup_id: str
|
|
96
|
+
def __init__(self, setup_id: _Optional[str] = ...) -> None: ...
|
|
97
|
+
|
|
98
|
+
class GetModuleRequest(_message.Message):
|
|
99
|
+
__slots__ = ()
|
|
100
|
+
MODULE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
101
|
+
module_id: str
|
|
102
|
+
def __init__(self, module_id: _Optional[str] = ...) -> None: ...
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: agentic_mesh_protocol/registry/v1/registry_service.proto
|
|
5
|
+
# Protobuf Python Version: 6.33.0
|
|
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
|
+
33,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'agentic_mesh_protocol/registry/v1/registry_service.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from agentic_mesh_protocol.registry.v1 import registry_models_pb2 as agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__models__pb2
|
|
26
|
+
from agentic_mesh_protocol.registry.v1 import registry_requests_pb2 as agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__requests__pb2
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n8agentic_mesh_protocol/registry/v1/registry_service.proto\x12!agentic_mesh_protocol.registry.v1\x1a\x37\x61gentic_mesh_protocol/registry/v1/registry_models.proto\x1a\x39\x61gentic_mesh_protocol/registry/v1/registry_requests.proto2\x8f\x06\n\x0fRegistryService\x12\x85\x01\n\x0eRegisterModule\x12\x38.agentic_mesh_protocol.registry.v1.RegisterModuleRequest\x1a\x39.agentic_mesh_protocol.registry.v1.RegisterModuleResponse\x12v\n\tHeartbeat\x12\x33.agentic_mesh_protocol.registry.v1.HeartbeatRequest\x1a\x34.agentic_mesh_protocol.registry.v1.HeartbeatResponse\x12\x85\x01\n\x0e\x44iscoverSetups\x12\x38.agentic_mesh_protocol.registry.v1.DiscoverSetupsRequest\x1a\x39.agentic_mesh_protocol.registry.v1.DiscoverSetupsResponse\x12\x88\x01\n\x0f\x44iscoverModules\x12\x39.agentic_mesh_protocol.registry.v1.DiscoverModulesRequest\x1a:.agentic_mesh_protocol.registry.v1.DiscoverModulesResponse\x12r\n\x08GetSetup\x12\x32.agentic_mesh_protocol.registry.v1.GetSetupRequest\x1a\x32.agentic_mesh_protocol.registry.v1.SetupDescriptor\x12u\n\tGetModule\x12\x33.agentic_mesh_protocol.registry.v1.GetModuleRequest\x1a\x33.agentic_mesh_protocol.registry.v1.ModuleDescriptorB\xdb\x01\n%com.agentic_mesh_protocol.registry.v1B\x14RegistryServiceProtoP\x01\xa2\x02\x03\x41RX\xaa\x02\x1f\x41genticMeshProtocol.Registry.V1\xca\x02\x1f\x41genticMeshProtocol\\Registry\\V1\xe2\x02+AgenticMeshProtocol\\Registry\\V1\\GPBMetadata\xea\x02!AgenticMeshProtocol::Registry::V1b\x06proto3')
|
|
30
|
+
|
|
31
|
+
_globals = globals()
|
|
32
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
33
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'agentic_mesh_protocol.registry.v1.registry_service_pb2', _globals)
|
|
34
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
35
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
36
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n%com.agentic_mesh_protocol.registry.v1B\024RegistryServiceProtoP\001\242\002\003ARX\252\002\037AgenticMeshProtocol.Registry.V1\312\002\037AgenticMeshProtocol\\Registry\\V1\342\002+AgenticMeshProtocol\\Registry\\V1\\GPBMetadata\352\002!AgenticMeshProtocol::Registry::V1'
|
|
37
|
+
_globals['_REGISTRYSERVICE']._serialized_start=212
|
|
38
|
+
_globals['_REGISTRYSERVICE']._serialized_end=995
|
|
39
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
from agentic_mesh_protocol.registry.v1 import registry_models_pb2 as _registry_models_pb2
|
|
2
|
+
from agentic_mesh_protocol.registry.v1 import registry_requests_pb2 as _registry_requests_pb2
|
|
3
|
+
from google.protobuf import descriptor as _descriptor
|
|
4
|
+
from typing import ClassVar as _ClassVar
|
|
5
|
+
|
|
6
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
@@ -0,0 +1,322 @@
|
|
|
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
|
+
|
|
5
|
+
from agentic_mesh_protocol.registry.v1 import registry_models_pb2 as agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__models__pb2
|
|
6
|
+
from agentic_mesh_protocol.registry.v1 import registry_requests_pb2 as agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__requests__pb2
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class RegistryServiceStub(object):
|
|
10
|
+
"""RegistryService is the entry point for agents and tools
|
|
11
|
+
to register themselves and discover other resources in the mesh.
|
|
12
|
+
-----------------------
|
|
13
|
+
1. REGISTRATION
|
|
14
|
+
-----------------------
|
|
15
|
+
"""
|
|
16
|
+
|
|
17
|
+
def __init__(self, channel):
|
|
18
|
+
"""Constructor.
|
|
19
|
+
|
|
20
|
+
Args:
|
|
21
|
+
channel: A grpc.Channel.
|
|
22
|
+
"""
|
|
23
|
+
self.RegisterModule = channel.unary_unary(
|
|
24
|
+
'/agentic_mesh_protocol.registry.v1.RegistryService/RegisterModule',
|
|
25
|
+
request_serializer=agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__requests__pb2.RegisterModuleRequest.SerializeToString,
|
|
26
|
+
response_deserializer=agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__requests__pb2.RegisterModuleResponse.FromString,
|
|
27
|
+
_registered_method=True)
|
|
28
|
+
self.Heartbeat = channel.unary_unary(
|
|
29
|
+
'/agentic_mesh_protocol.registry.v1.RegistryService/Heartbeat',
|
|
30
|
+
request_serializer=agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__requests__pb2.HeartbeatRequest.SerializeToString,
|
|
31
|
+
response_deserializer=agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__requests__pb2.HeartbeatResponse.FromString,
|
|
32
|
+
_registered_method=True)
|
|
33
|
+
self.DiscoverSetups = channel.unary_unary(
|
|
34
|
+
'/agentic_mesh_protocol.registry.v1.RegistryService/DiscoverSetups',
|
|
35
|
+
request_serializer=agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__requests__pb2.DiscoverSetupsRequest.SerializeToString,
|
|
36
|
+
response_deserializer=agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__requests__pb2.DiscoverSetupsResponse.FromString,
|
|
37
|
+
_registered_method=True)
|
|
38
|
+
self.DiscoverModules = channel.unary_unary(
|
|
39
|
+
'/agentic_mesh_protocol.registry.v1.RegistryService/DiscoverModules',
|
|
40
|
+
request_serializer=agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__requests__pb2.DiscoverModulesRequest.SerializeToString,
|
|
41
|
+
response_deserializer=agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__requests__pb2.DiscoverModulesResponse.FromString,
|
|
42
|
+
_registered_method=True)
|
|
43
|
+
self.GetSetup = channel.unary_unary(
|
|
44
|
+
'/agentic_mesh_protocol.registry.v1.RegistryService/GetSetup',
|
|
45
|
+
request_serializer=agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__requests__pb2.GetSetupRequest.SerializeToString,
|
|
46
|
+
response_deserializer=agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__models__pb2.SetupDescriptor.FromString,
|
|
47
|
+
_registered_method=True)
|
|
48
|
+
self.GetModule = channel.unary_unary(
|
|
49
|
+
'/agentic_mesh_protocol.registry.v1.RegistryService/GetModule',
|
|
50
|
+
request_serializer=agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__requests__pb2.GetModuleRequest.SerializeToString,
|
|
51
|
+
response_deserializer=agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__models__pb2.ModuleDescriptor.FromString,
|
|
52
|
+
_registered_method=True)
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
class RegistryServiceServicer(object):
|
|
56
|
+
"""RegistryService is the entry point for agents and tools
|
|
57
|
+
to register themselves and discover other resources in the mesh.
|
|
58
|
+
-----------------------
|
|
59
|
+
1. REGISTRATION
|
|
60
|
+
-----------------------
|
|
61
|
+
"""
|
|
62
|
+
|
|
63
|
+
def RegisterModule(self, request, context):
|
|
64
|
+
"""Called by a module gRPC at startup to declare itself in the network.
|
|
65
|
+
"""
|
|
66
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
67
|
+
context.set_details('Method not implemented!')
|
|
68
|
+
raise NotImplementedError('Method not implemented!')
|
|
69
|
+
|
|
70
|
+
def Heartbeat(self, request, context):
|
|
71
|
+
"""Optional but useful if you want a bit of liveness.
|
|
72
|
+
"""
|
|
73
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
74
|
+
context.set_details('Method not implemented!')
|
|
75
|
+
raise NotImplementedError('Method not implemented!')
|
|
76
|
+
|
|
77
|
+
def DiscoverSetups(self, request, context):
|
|
78
|
+
"""-----------------------
|
|
79
|
+
2. DISCOVERY
|
|
80
|
+
-----------------------
|
|
81
|
+
|
|
82
|
+
Discover setups that are available (agents / tools).
|
|
83
|
+
"""
|
|
84
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
85
|
+
context.set_details('Method not implemented!')
|
|
86
|
+
raise NotImplementedError('Method not implemented!')
|
|
87
|
+
|
|
88
|
+
def DiscoverModules(self, request, context):
|
|
89
|
+
"""Discover raw modules (rarely used by agents directly).
|
|
90
|
+
"""
|
|
91
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
92
|
+
context.set_details('Method not implemented!')
|
|
93
|
+
raise NotImplementedError('Method not implemented!')
|
|
94
|
+
|
|
95
|
+
def GetSetup(self, request, context):
|
|
96
|
+
"""-----------------------
|
|
97
|
+
3. RESOLUTION / INFO
|
|
98
|
+
-----------------------
|
|
99
|
+
|
|
100
|
+
Resolve a setup_id into a complete descriptor (config + endpoint module).
|
|
101
|
+
"""
|
|
102
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
103
|
+
context.set_details('Method not implemented!')
|
|
104
|
+
raise NotImplementedError('Method not implemented!')
|
|
105
|
+
|
|
106
|
+
def GetModule(self, request, context):
|
|
107
|
+
"""Resolve a module_id into a complete descriptor.
|
|
108
|
+
"""
|
|
109
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
110
|
+
context.set_details('Method not implemented!')
|
|
111
|
+
raise NotImplementedError('Method not implemented!')
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
def add_RegistryServiceServicer_to_server(servicer, server):
|
|
115
|
+
rpc_method_handlers = {
|
|
116
|
+
'RegisterModule': grpc.unary_unary_rpc_method_handler(
|
|
117
|
+
servicer.RegisterModule,
|
|
118
|
+
request_deserializer=agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__requests__pb2.RegisterModuleRequest.FromString,
|
|
119
|
+
response_serializer=agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__requests__pb2.RegisterModuleResponse.SerializeToString,
|
|
120
|
+
),
|
|
121
|
+
'Heartbeat': grpc.unary_unary_rpc_method_handler(
|
|
122
|
+
servicer.Heartbeat,
|
|
123
|
+
request_deserializer=agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__requests__pb2.HeartbeatRequest.FromString,
|
|
124
|
+
response_serializer=agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__requests__pb2.HeartbeatResponse.SerializeToString,
|
|
125
|
+
),
|
|
126
|
+
'DiscoverSetups': grpc.unary_unary_rpc_method_handler(
|
|
127
|
+
servicer.DiscoverSetups,
|
|
128
|
+
request_deserializer=agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__requests__pb2.DiscoverSetupsRequest.FromString,
|
|
129
|
+
response_serializer=agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__requests__pb2.DiscoverSetupsResponse.SerializeToString,
|
|
130
|
+
),
|
|
131
|
+
'DiscoverModules': grpc.unary_unary_rpc_method_handler(
|
|
132
|
+
servicer.DiscoverModules,
|
|
133
|
+
request_deserializer=agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__requests__pb2.DiscoverModulesRequest.FromString,
|
|
134
|
+
response_serializer=agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__requests__pb2.DiscoverModulesResponse.SerializeToString,
|
|
135
|
+
),
|
|
136
|
+
'GetSetup': grpc.unary_unary_rpc_method_handler(
|
|
137
|
+
servicer.GetSetup,
|
|
138
|
+
request_deserializer=agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__requests__pb2.GetSetupRequest.FromString,
|
|
139
|
+
response_serializer=agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__models__pb2.SetupDescriptor.SerializeToString,
|
|
140
|
+
),
|
|
141
|
+
'GetModule': grpc.unary_unary_rpc_method_handler(
|
|
142
|
+
servicer.GetModule,
|
|
143
|
+
request_deserializer=agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__requests__pb2.GetModuleRequest.FromString,
|
|
144
|
+
response_serializer=agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__models__pb2.ModuleDescriptor.SerializeToString,
|
|
145
|
+
),
|
|
146
|
+
}
|
|
147
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
148
|
+
'agentic_mesh_protocol.registry.v1.RegistryService', rpc_method_handlers)
|
|
149
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
150
|
+
server.add_registered_method_handlers('agentic_mesh_protocol.registry.v1.RegistryService', rpc_method_handlers)
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
# This class is part of an EXPERIMENTAL API.
|
|
154
|
+
class RegistryService(object):
|
|
155
|
+
"""RegistryService is the entry point for agents and tools
|
|
156
|
+
to register themselves and discover other resources in the mesh.
|
|
157
|
+
-----------------------
|
|
158
|
+
1. REGISTRATION
|
|
159
|
+
-----------------------
|
|
160
|
+
"""
|
|
161
|
+
|
|
162
|
+
@staticmethod
|
|
163
|
+
def RegisterModule(request,
|
|
164
|
+
target,
|
|
165
|
+
options=(),
|
|
166
|
+
channel_credentials=None,
|
|
167
|
+
call_credentials=None,
|
|
168
|
+
insecure=False,
|
|
169
|
+
compression=None,
|
|
170
|
+
wait_for_ready=None,
|
|
171
|
+
timeout=None,
|
|
172
|
+
metadata=None):
|
|
173
|
+
return grpc.experimental.unary_unary(
|
|
174
|
+
request,
|
|
175
|
+
target,
|
|
176
|
+
'/agentic_mesh_protocol.registry.v1.RegistryService/RegisterModule',
|
|
177
|
+
agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__requests__pb2.RegisterModuleRequest.SerializeToString,
|
|
178
|
+
agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__requests__pb2.RegisterModuleResponse.FromString,
|
|
179
|
+
options,
|
|
180
|
+
channel_credentials,
|
|
181
|
+
insecure,
|
|
182
|
+
call_credentials,
|
|
183
|
+
compression,
|
|
184
|
+
wait_for_ready,
|
|
185
|
+
timeout,
|
|
186
|
+
metadata,
|
|
187
|
+
_registered_method=True)
|
|
188
|
+
|
|
189
|
+
@staticmethod
|
|
190
|
+
def Heartbeat(request,
|
|
191
|
+
target,
|
|
192
|
+
options=(),
|
|
193
|
+
channel_credentials=None,
|
|
194
|
+
call_credentials=None,
|
|
195
|
+
insecure=False,
|
|
196
|
+
compression=None,
|
|
197
|
+
wait_for_ready=None,
|
|
198
|
+
timeout=None,
|
|
199
|
+
metadata=None):
|
|
200
|
+
return grpc.experimental.unary_unary(
|
|
201
|
+
request,
|
|
202
|
+
target,
|
|
203
|
+
'/agentic_mesh_protocol.registry.v1.RegistryService/Heartbeat',
|
|
204
|
+
agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__requests__pb2.HeartbeatRequest.SerializeToString,
|
|
205
|
+
agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__requests__pb2.HeartbeatResponse.FromString,
|
|
206
|
+
options,
|
|
207
|
+
channel_credentials,
|
|
208
|
+
insecure,
|
|
209
|
+
call_credentials,
|
|
210
|
+
compression,
|
|
211
|
+
wait_for_ready,
|
|
212
|
+
timeout,
|
|
213
|
+
metadata,
|
|
214
|
+
_registered_method=True)
|
|
215
|
+
|
|
216
|
+
@staticmethod
|
|
217
|
+
def DiscoverSetups(request,
|
|
218
|
+
target,
|
|
219
|
+
options=(),
|
|
220
|
+
channel_credentials=None,
|
|
221
|
+
call_credentials=None,
|
|
222
|
+
insecure=False,
|
|
223
|
+
compression=None,
|
|
224
|
+
wait_for_ready=None,
|
|
225
|
+
timeout=None,
|
|
226
|
+
metadata=None):
|
|
227
|
+
return grpc.experimental.unary_unary(
|
|
228
|
+
request,
|
|
229
|
+
target,
|
|
230
|
+
'/agentic_mesh_protocol.registry.v1.RegistryService/DiscoverSetups',
|
|
231
|
+
agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__requests__pb2.DiscoverSetupsRequest.SerializeToString,
|
|
232
|
+
agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__requests__pb2.DiscoverSetupsResponse.FromString,
|
|
233
|
+
options,
|
|
234
|
+
channel_credentials,
|
|
235
|
+
insecure,
|
|
236
|
+
call_credentials,
|
|
237
|
+
compression,
|
|
238
|
+
wait_for_ready,
|
|
239
|
+
timeout,
|
|
240
|
+
metadata,
|
|
241
|
+
_registered_method=True)
|
|
242
|
+
|
|
243
|
+
@staticmethod
|
|
244
|
+
def DiscoverModules(request,
|
|
245
|
+
target,
|
|
246
|
+
options=(),
|
|
247
|
+
channel_credentials=None,
|
|
248
|
+
call_credentials=None,
|
|
249
|
+
insecure=False,
|
|
250
|
+
compression=None,
|
|
251
|
+
wait_for_ready=None,
|
|
252
|
+
timeout=None,
|
|
253
|
+
metadata=None):
|
|
254
|
+
return grpc.experimental.unary_unary(
|
|
255
|
+
request,
|
|
256
|
+
target,
|
|
257
|
+
'/agentic_mesh_protocol.registry.v1.RegistryService/DiscoverModules',
|
|
258
|
+
agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__requests__pb2.DiscoverModulesRequest.SerializeToString,
|
|
259
|
+
agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__requests__pb2.DiscoverModulesResponse.FromString,
|
|
260
|
+
options,
|
|
261
|
+
channel_credentials,
|
|
262
|
+
insecure,
|
|
263
|
+
call_credentials,
|
|
264
|
+
compression,
|
|
265
|
+
wait_for_ready,
|
|
266
|
+
timeout,
|
|
267
|
+
metadata,
|
|
268
|
+
_registered_method=True)
|
|
269
|
+
|
|
270
|
+
@staticmethod
|
|
271
|
+
def GetSetup(request,
|
|
272
|
+
target,
|
|
273
|
+
options=(),
|
|
274
|
+
channel_credentials=None,
|
|
275
|
+
call_credentials=None,
|
|
276
|
+
insecure=False,
|
|
277
|
+
compression=None,
|
|
278
|
+
wait_for_ready=None,
|
|
279
|
+
timeout=None,
|
|
280
|
+
metadata=None):
|
|
281
|
+
return grpc.experimental.unary_unary(
|
|
282
|
+
request,
|
|
283
|
+
target,
|
|
284
|
+
'/agentic_mesh_protocol.registry.v1.RegistryService/GetSetup',
|
|
285
|
+
agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__requests__pb2.GetSetupRequest.SerializeToString,
|
|
286
|
+
agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__models__pb2.SetupDescriptor.FromString,
|
|
287
|
+
options,
|
|
288
|
+
channel_credentials,
|
|
289
|
+
insecure,
|
|
290
|
+
call_credentials,
|
|
291
|
+
compression,
|
|
292
|
+
wait_for_ready,
|
|
293
|
+
timeout,
|
|
294
|
+
metadata,
|
|
295
|
+
_registered_method=True)
|
|
296
|
+
|
|
297
|
+
@staticmethod
|
|
298
|
+
def GetModule(request,
|
|
299
|
+
target,
|
|
300
|
+
options=(),
|
|
301
|
+
channel_credentials=None,
|
|
302
|
+
call_credentials=None,
|
|
303
|
+
insecure=False,
|
|
304
|
+
compression=None,
|
|
305
|
+
wait_for_ready=None,
|
|
306
|
+
timeout=None,
|
|
307
|
+
metadata=None):
|
|
308
|
+
return grpc.experimental.unary_unary(
|
|
309
|
+
request,
|
|
310
|
+
target,
|
|
311
|
+
'/agentic_mesh_protocol.registry.v1.RegistryService/GetModule',
|
|
312
|
+
agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__requests__pb2.GetModuleRequest.SerializeToString,
|
|
313
|
+
agentic__mesh__protocol_dot_registry_dot_v1_dot_registry__models__pb2.ModuleDescriptor.FromString,
|
|
314
|
+
options,
|
|
315
|
+
channel_credentials,
|
|
316
|
+
insecure,
|
|
317
|
+
call_credentials,
|
|
318
|
+
compression,
|
|
319
|
+
wait_for_ready,
|
|
320
|
+
timeout,
|
|
321
|
+
metadata,
|
|
322
|
+
_registered_method=True)
|
|
File without changes
|
|
File without changes
|