agentic-mesh-protocol 0.2.3.dev4__py3-none-any.whl → 1.0.0.dev1__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/__version__.py +1 -1
- agentic_mesh_protocol/cost/v1/cost_service_pb2_grpc.py +2 -2
- agentic_mesh_protocol/filesystem/v1/filesystem_service_pb2_grpc.py +2 -7
- agentic_mesh_protocol/gateway/v1/gateway_pb2.py +65 -0
- agentic_mesh_protocol/gateway/v1/gateway_pb2.pyi +82 -0
- agentic_mesh_protocol/gateway/v1/gateway_service_pb2.py +38 -0
- agentic_mesh_protocol/{task_manager/v1/task_manager_service_pb2.pyi → gateway/v1/gateway_service_pb2.pyi} +1 -1
- agentic_mesh_protocol/gateway/v1/gateway_service_pb2_grpc.py +204 -0
- agentic_mesh_protocol/module/v1/module_service_pb2.py +3 -4
- agentic_mesh_protocol/module/v1/module_service_pb2.pyi +0 -1
- agentic_mesh_protocol/module/v1/module_service_pb2_grpc.py +0 -89
- agentic_mesh_protocol/module/v1/monitoring_pb2.py +3 -17
- agentic_mesh_protocol/module/v1/monitoring_pb2.pyi +0 -30
- agentic_mesh_protocol/registry/v1/registry_requests_pb2.py +10 -14
- agentic_mesh_protocol/registry/v1/registry_service_pb2_grpc.py +1 -1
- agentic_mesh_protocol/setup/v1/setup_service_pb2_grpc.py +8 -8
- agentic_mesh_protocol/storage/v1/data_pb2.py +1 -1
- agentic_mesh_protocol/storage/v1/storage_service_pb2_grpc.py +2 -2
- {agentic_mesh_protocol-0.2.3.dev4.dist-info → agentic_mesh_protocol-1.0.0.dev1.dist-info}/METADATA +8 -7
- {agentic_mesh_protocol-0.2.3.dev4.dist-info → agentic_mesh_protocol-1.0.0.dev1.dist-info}/RECORD +28 -48
- {agentic_mesh_protocol-0.2.3.dev4.dist-info → agentic_mesh_protocol-1.0.0.dev1.dist-info}/WHEEL +1 -1
- buf/validate/validate_pb2.py +217 -213
- buf/validate/validate_pb2.pyi +5 -1
- agentic_mesh_protocol/module_registry/v1/discover_pb2.py +0 -63
- agentic_mesh_protocol/module_registry/v1/discover_pb2.pyi +0 -49
- agentic_mesh_protocol/module_registry/v1/metadata_pb2.py +0 -46
- agentic_mesh_protocol/module_registry/v1/metadata_pb2.pyi +0 -24
- agentic_mesh_protocol/module_registry/v1/metadata_pb2_grpc.py +0 -4
- agentic_mesh_protocol/module_registry/v1/module_registry_service_pb2.py +0 -40
- agentic_mesh_protocol/module_registry/v1/module_registry_service_pb2.pyi +0 -7
- agentic_mesh_protocol/module_registry/v1/module_registry_service_pb2_grpc.py +0 -406
- agentic_mesh_protocol/module_registry/v1/registration_pb2.py +0 -57
- agentic_mesh_protocol/module_registry/v1/registration_pb2.pyi +0 -42
- agentic_mesh_protocol/module_registry/v1/registration_pb2_grpc.py +0 -4
- agentic_mesh_protocol/module_registry/v1/status_pb2.py +0 -58
- agentic_mesh_protocol/module_registry/v1/status_pb2.pyi +0 -70
- agentic_mesh_protocol/module_registry/v1/status_pb2_grpc.py +0 -4
- agentic_mesh_protocol/task_manager/__init__.py +0 -0
- agentic_mesh_protocol/task_manager/v1/__init__.py +0 -0
- agentic_mesh_protocol/task_manager/v1/task_manager_dto_pb2.py +0 -65
- agentic_mesh_protocol/task_manager/v1/task_manager_dto_pb2.pyi +0 -49
- agentic_mesh_protocol/task_manager/v1/task_manager_dto_pb2_grpc.py +0 -4
- agentic_mesh_protocol/task_manager/v1/task_manager_message_pb2.py +0 -54
- agentic_mesh_protocol/task_manager/v1/task_manager_message_pb2.pyi +0 -33
- agentic_mesh_protocol/task_manager/v1/task_manager_message_pb2_grpc.py +0 -4
- agentic_mesh_protocol/task_manager/v1/task_manager_service_pb2.py +0 -38
- agentic_mesh_protocol/task_manager/v1/task_manager_service_pb2_grpc.py +0 -172
- /agentic_mesh_protocol/{module_registry → gateway}/__init__.py +0 -0
- /agentic_mesh_protocol/{module_registry → gateway}/v1/__init__.py +0 -0
- /agentic_mesh_protocol/{module_registry/v1/discover_pb2_grpc.py → gateway/v1/gateway_pb2_grpc.py} +0 -0
- {agentic_mesh_protocol-0.2.3.dev4.dist-info → agentic_mesh_protocol-1.0.0.dev1.dist-info}/licenses/LICENSE +0 -0
- {agentic_mesh_protocol-0.2.3.dev4.dist-info → agentic_mesh_protocol-1.0.0.dev1.dist-info}/top_level.txt +0 -0
|
@@ -54,14 +54,14 @@ class CostServiceServicer(object):
|
|
|
54
54
|
raise NotImplementedError('Method not implemented!')
|
|
55
55
|
|
|
56
56
|
def GetCost(self, request, context):
|
|
57
|
-
"""GetCost
|
|
57
|
+
"""DEPRECATED: GetCost — unused in SDK, no callers.
|
|
58
58
|
"""
|
|
59
59
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
60
60
|
context.set_details('Method not implemented!')
|
|
61
61
|
raise NotImplementedError('Method not implemented!')
|
|
62
62
|
|
|
63
63
|
def GetCosts(self, request, context):
|
|
64
|
-
"""GetCosts
|
|
64
|
+
"""DEPRECATED: GetCosts — unused in SDK, no callers.
|
|
65
65
|
"""
|
|
66
66
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
67
67
|
context.set_details('Method not implemented!')
|
|
@@ -60,19 +60,14 @@ class FilesystemServiceServicer(object):
|
|
|
60
60
|
raise NotImplementedError('Method not implemented!')
|
|
61
61
|
|
|
62
62
|
def GetFile(self, request, context):
|
|
63
|
-
"""GetFile
|
|
64
|
-
with optional content inclusion. Supports lookup by either
|
|
65
|
-
unique ID or name within a context.
|
|
63
|
+
"""DEPRECATED: GetFile — unused in SDK, no callers.
|
|
66
64
|
"""
|
|
67
65
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
68
66
|
context.set_details('Method not implemented!')
|
|
69
67
|
raise NotImplementedError('Method not implemented!')
|
|
70
68
|
|
|
71
69
|
def GetFiles(self, request, context):
|
|
72
|
-
"""GetFiles
|
|
73
|
-
file IDs, file names, or path prefix, with support for
|
|
74
|
-
pagination for large result sets, optional content inclusion,
|
|
75
|
-
and total count of matching files.
|
|
70
|
+
"""DEPRECATED: GetFiles — unused in SDK, no callers.
|
|
76
71
|
"""
|
|
77
72
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
78
73
|
context.set_details('Method not implemented!')
|
|
@@ -0,0 +1,65 @@
|
|
|
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/gateway/v1/gateway.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/gateway/v1/gateway.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
|
|
26
|
+
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.agentic_mesh_protocol/gateway/v1/gateway.proto\x12 agentic_mesh_protocol.gateway.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1cgoogle/protobuf/struct.proto\"\x9b\x01\n\x12StartStreamRequest\x12\x1f\n\x07task_id\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x06taskId\x12.\n\x08setup_id\x18\x02 \x01(\tB\x13\xbaH\x10r\x0b\x10\x01:\x07setups:\xc8\x01\x01R\x07setupId\x12\x34\n\nmission_id\x18\x03 \x01(\tB\x15\xbaH\x12r\r\x10\x01:\tmissions:\xc8\x01\x01R\tmissionId\"J\n\x13StartStreamResponse\x12\x1a\n\x08\x61\x63\x63\x65pted\x18\x01 \x01(\x08R\x08\x61\x63\x63\x65pted\x12\x17\n\x07task_id\x18\x02 \x01(\tR\x06taskId\"w\n\x0cStreamClient\x12\x19\n\x08\x66rom_seq\x18\x01 \x01(\x04R\x07\x66romSeq\x12\x1f\n\x07task_id\x18\x02 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x06taskId\x12+\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructR\x04\x64\x61ta\"v\n\x0cStreamServer\x12\x10\n\x03seq\x18\x01 \x01(\x04R\x03seq\x12\x1f\n\x07task_id\x18\x02 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x06taskId\x12\x33\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructB\x06\xbaH\x03\xc8\x01\x01R\x04\x64\x61ta\"~\n\x13\x43lientSignalRequest\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12N\n\x06\x61\x63tion\x18\x02 \x01(\x0e\x32..agentic_mesh_protocol.gateway.v1.SignalActionB\x06\xbaH\x03\xc8\x01\x01R\x06\x61\x63tion\"I\n\x14\x43lientSignalResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12\x17\n\x07task_id\x18\x02 \x01(\tR\x06taskId*\xb2\x01\n\x0cSignalAction\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\n\n\x06\x43\x41NCEL\x10\x01\x12\x12\n\x0eINVALIDATE_ALL\x10\x02\x12\x17\n\x13INVALIDATE_CHANNELS\x10\x03\x12\x15\n\x11INVALIDATE_MODELS\x10\x04\x12\x14\n\x10INVALIDATE_SETUP\x10\x05\x12\x14\n\x10INVALIDATE_TOOLS\x10\x06\x12\x15\n\x11INVALIDATE_SHARED\x10\x07\x42\xce\x01\n$com.agentic_mesh_protocol.gateway.v1B\x0cGatewayProtoP\x01\xa2\x02\x03\x41GX\xaa\x02\x1e\x41genticMeshProtocol.Gateway.V1\xca\x02\x1e\x41genticMeshProtocol\\Gateway\\V1\xe2\x02*AgenticMeshProtocol\\Gateway\\V1\\GPBMetadata\xea\x02 AgenticMeshProtocol::Gateway::V1b\x06proto3')
|
|
30
|
+
|
|
31
|
+
_globals = globals()
|
|
32
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
33
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'agentic_mesh_protocol.gateway.v1.gateway_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.gateway.v1B\014GatewayProtoP\001\242\002\003AGX\252\002\036AgenticMeshProtocol.Gateway.V1\312\002\036AgenticMeshProtocol\\Gateway\\V1\342\002*AgenticMeshProtocol\\Gateway\\V1\\GPBMetadata\352\002 AgenticMeshProtocol::Gateway::V1'
|
|
37
|
+
_globals['_STARTSTREAMREQUEST'].fields_by_name['task_id']._loaded_options = None
|
|
38
|
+
_globals['_STARTSTREAMREQUEST'].fields_by_name['task_id']._serialized_options = b'\272H\003\310\001\001'
|
|
39
|
+
_globals['_STARTSTREAMREQUEST'].fields_by_name['setup_id']._loaded_options = None
|
|
40
|
+
_globals['_STARTSTREAMREQUEST'].fields_by_name['setup_id']._serialized_options = b'\272H\020r\013\020\001:\007setups:\310\001\001'
|
|
41
|
+
_globals['_STARTSTREAMREQUEST'].fields_by_name['mission_id']._loaded_options = None
|
|
42
|
+
_globals['_STARTSTREAMREQUEST'].fields_by_name['mission_id']._serialized_options = b'\272H\022r\r\020\001:\tmissions:\310\001\001'
|
|
43
|
+
_globals['_STREAMCLIENT'].fields_by_name['task_id']._loaded_options = None
|
|
44
|
+
_globals['_STREAMCLIENT'].fields_by_name['task_id']._serialized_options = b'\272H\003\310\001\001'
|
|
45
|
+
_globals['_STREAMSERVER'].fields_by_name['task_id']._loaded_options = None
|
|
46
|
+
_globals['_STREAMSERVER'].fields_by_name['task_id']._serialized_options = b'\272H\003\310\001\001'
|
|
47
|
+
_globals['_STREAMSERVER'].fields_by_name['data']._loaded_options = None
|
|
48
|
+
_globals['_STREAMSERVER'].fields_by_name['data']._serialized_options = b'\272H\003\310\001\001'
|
|
49
|
+
_globals['_CLIENTSIGNALREQUEST'].fields_by_name['action']._loaded_options = None
|
|
50
|
+
_globals['_CLIENTSIGNALREQUEST'].fields_by_name['action']._serialized_options = b'\272H\003\310\001\001'
|
|
51
|
+
_globals['_SIGNALACTION']._serialized_start=822
|
|
52
|
+
_globals['_SIGNALACTION']._serialized_end=1000
|
|
53
|
+
_globals['_STARTSTREAMREQUEST']._serialized_start=144
|
|
54
|
+
_globals['_STARTSTREAMREQUEST']._serialized_end=299
|
|
55
|
+
_globals['_STARTSTREAMRESPONSE']._serialized_start=301
|
|
56
|
+
_globals['_STARTSTREAMRESPONSE']._serialized_end=375
|
|
57
|
+
_globals['_STREAMCLIENT']._serialized_start=377
|
|
58
|
+
_globals['_STREAMCLIENT']._serialized_end=496
|
|
59
|
+
_globals['_STREAMSERVER']._serialized_start=498
|
|
60
|
+
_globals['_STREAMSERVER']._serialized_end=616
|
|
61
|
+
_globals['_CLIENTSIGNALREQUEST']._serialized_start=618
|
|
62
|
+
_globals['_CLIENTSIGNALREQUEST']._serialized_end=744
|
|
63
|
+
_globals['_CLIENTSIGNALRESPONSE']._serialized_start=746
|
|
64
|
+
_globals['_CLIENTSIGNALRESPONSE']._serialized_end=819
|
|
65
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
from buf.validate import validate_pb2 as _validate_pb2
|
|
2
|
+
from google.protobuf import struct_pb2 as _struct_pb2
|
|
3
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
4
|
+
from google.protobuf import descriptor as _descriptor
|
|
5
|
+
from google.protobuf import message as _message
|
|
6
|
+
from collections.abc import Mapping as _Mapping
|
|
7
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
8
|
+
|
|
9
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
10
|
+
|
|
11
|
+
class SignalAction(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
12
|
+
__slots__ = ()
|
|
13
|
+
UNSPECIFIED: _ClassVar[SignalAction]
|
|
14
|
+
CANCEL: _ClassVar[SignalAction]
|
|
15
|
+
INVALIDATE_ALL: _ClassVar[SignalAction]
|
|
16
|
+
INVALIDATE_CHANNELS: _ClassVar[SignalAction]
|
|
17
|
+
INVALIDATE_MODELS: _ClassVar[SignalAction]
|
|
18
|
+
INVALIDATE_SETUP: _ClassVar[SignalAction]
|
|
19
|
+
INVALIDATE_TOOLS: _ClassVar[SignalAction]
|
|
20
|
+
INVALIDATE_SHARED: _ClassVar[SignalAction]
|
|
21
|
+
UNSPECIFIED: SignalAction
|
|
22
|
+
CANCEL: SignalAction
|
|
23
|
+
INVALIDATE_ALL: SignalAction
|
|
24
|
+
INVALIDATE_CHANNELS: SignalAction
|
|
25
|
+
INVALIDATE_MODELS: SignalAction
|
|
26
|
+
INVALIDATE_SETUP: SignalAction
|
|
27
|
+
INVALIDATE_TOOLS: SignalAction
|
|
28
|
+
INVALIDATE_SHARED: SignalAction
|
|
29
|
+
|
|
30
|
+
class StartStreamRequest(_message.Message):
|
|
31
|
+
__slots__ = ()
|
|
32
|
+
TASK_ID_FIELD_NUMBER: _ClassVar[int]
|
|
33
|
+
SETUP_ID_FIELD_NUMBER: _ClassVar[int]
|
|
34
|
+
MISSION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
35
|
+
task_id: str
|
|
36
|
+
setup_id: str
|
|
37
|
+
mission_id: str
|
|
38
|
+
def __init__(self, task_id: _Optional[str] = ..., setup_id: _Optional[str] = ..., mission_id: _Optional[str] = ...) -> None: ...
|
|
39
|
+
|
|
40
|
+
class StartStreamResponse(_message.Message):
|
|
41
|
+
__slots__ = ()
|
|
42
|
+
ACCEPTED_FIELD_NUMBER: _ClassVar[int]
|
|
43
|
+
TASK_ID_FIELD_NUMBER: _ClassVar[int]
|
|
44
|
+
accepted: bool
|
|
45
|
+
task_id: str
|
|
46
|
+
def __init__(self, accepted: _Optional[bool] = ..., task_id: _Optional[str] = ...) -> None: ...
|
|
47
|
+
|
|
48
|
+
class StreamClient(_message.Message):
|
|
49
|
+
__slots__ = ()
|
|
50
|
+
FROM_SEQ_FIELD_NUMBER: _ClassVar[int]
|
|
51
|
+
TASK_ID_FIELD_NUMBER: _ClassVar[int]
|
|
52
|
+
DATA_FIELD_NUMBER: _ClassVar[int]
|
|
53
|
+
from_seq: int
|
|
54
|
+
task_id: str
|
|
55
|
+
data: _struct_pb2.Struct
|
|
56
|
+
def __init__(self, from_seq: _Optional[int] = ..., task_id: _Optional[str] = ..., data: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...) -> None: ...
|
|
57
|
+
|
|
58
|
+
class StreamServer(_message.Message):
|
|
59
|
+
__slots__ = ()
|
|
60
|
+
SEQ_FIELD_NUMBER: _ClassVar[int]
|
|
61
|
+
TASK_ID_FIELD_NUMBER: _ClassVar[int]
|
|
62
|
+
DATA_FIELD_NUMBER: _ClassVar[int]
|
|
63
|
+
seq: int
|
|
64
|
+
task_id: str
|
|
65
|
+
data: _struct_pb2.Struct
|
|
66
|
+
def __init__(self, seq: _Optional[int] = ..., task_id: _Optional[str] = ..., data: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...) -> None: ...
|
|
67
|
+
|
|
68
|
+
class ClientSignalRequest(_message.Message):
|
|
69
|
+
__slots__ = ()
|
|
70
|
+
TASK_ID_FIELD_NUMBER: _ClassVar[int]
|
|
71
|
+
ACTION_FIELD_NUMBER: _ClassVar[int]
|
|
72
|
+
task_id: str
|
|
73
|
+
action: SignalAction
|
|
74
|
+
def __init__(self, task_id: _Optional[str] = ..., action: _Optional[_Union[SignalAction, str]] = ...) -> None: ...
|
|
75
|
+
|
|
76
|
+
class ClientSignalResponse(_message.Message):
|
|
77
|
+
__slots__ = ()
|
|
78
|
+
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
79
|
+
TASK_ID_FIELD_NUMBER: _ClassVar[int]
|
|
80
|
+
success: bool
|
|
81
|
+
task_id: str
|
|
82
|
+
def __init__(self, success: _Optional[bool] = ..., task_id: _Optional[str] = ...) -> None: ...
|
|
@@ -0,0 +1,38 @@
|
|
|
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/gateway/v1/gateway_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/gateway/v1/gateway_service.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from agentic_mesh_protocol.gateway.v1 import gateway_pb2 as agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6agentic_mesh_protocol/gateway/v1/gateway_service.proto\x12 agentic_mesh_protocol.gateway.v1\x1a.agentic_mesh_protocol/gateway/v1/gateway.proto2\xf7\x02\n\x0eGatewayService\x12z\n\x0bStartStream\x12\x34.agentic_mesh_protocol.gateway.v1.StartStreamRequest\x1a\x35.agentic_mesh_protocol.gateway.v1.StartStreamResponse\x12l\n\x06Stream\x12..agentic_mesh_protocol.gateway.v1.StreamClient\x1a..agentic_mesh_protocol.gateway.v1.StreamServer(\x01\x30\x01\x12{\n\nSendSignal\x12\x35.agentic_mesh_protocol.gateway.v1.ClientSignalRequest\x1a\x36.agentic_mesh_protocol.gateway.v1.ClientSignalResponseB\xd5\x01\n$com.agentic_mesh_protocol.gateway.v1B\x13GatewayServiceProtoP\x01\xa2\x02\x03\x41GX\xaa\x02\x1e\x41genticMeshProtocol.Gateway.V1\xca\x02\x1e\x41genticMeshProtocol\\Gateway\\V1\xe2\x02*AgenticMeshProtocol\\Gateway\\V1\\GPBMetadata\xea\x02 AgenticMeshProtocol::Gateway::V1b\x06proto3')
|
|
29
|
+
|
|
30
|
+
_globals = globals()
|
|
31
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
32
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'agentic_mesh_protocol.gateway.v1.gateway_service_pb2', _globals)
|
|
33
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n$com.agentic_mesh_protocol.gateway.v1B\023GatewayServiceProtoP\001\242\002\003AGX\252\002\036AgenticMeshProtocol.Gateway.V1\312\002\036AgenticMeshProtocol\\Gateway\\V1\342\002*AgenticMeshProtocol\\Gateway\\V1\\GPBMetadata\352\002 AgenticMeshProtocol::Gateway::V1'
|
|
36
|
+
_globals['_GATEWAYSERVICE']._serialized_start=141
|
|
37
|
+
_globals['_GATEWAYSERVICE']._serialized_end=516
|
|
38
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,204 @@
|
|
|
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.gateway.v1 import gateway_pb2 as agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class GatewayServiceStub(object):
|
|
9
|
+
"""GatewayService
|
|
10
|
+
External surface for consumers of a producer module.
|
|
11
|
+
The Gateway exposes only what external clients need:
|
|
12
|
+
|
|
13
|
+
1. StartStream — kick off a task; returns ACK immediately.
|
|
14
|
+
2. Stream — BiDi: read output, send upstream input.
|
|
15
|
+
3. SendSignal — out-of-band control (CANCEL, INVALIDATE_*)
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
def __init__(self, channel):
|
|
19
|
+
"""Constructor.
|
|
20
|
+
|
|
21
|
+
Args:
|
|
22
|
+
channel: A grpc.Channel.
|
|
23
|
+
"""
|
|
24
|
+
self.StartStream = channel.unary_unary(
|
|
25
|
+
'/agentic_mesh_protocol.gateway.v1.GatewayService/StartStream',
|
|
26
|
+
request_serializer=agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2.StartStreamRequest.SerializeToString,
|
|
27
|
+
response_deserializer=agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2.StartStreamResponse.FromString,
|
|
28
|
+
_registered_method=True)
|
|
29
|
+
self.Stream = channel.stream_stream(
|
|
30
|
+
'/agentic_mesh_protocol.gateway.v1.GatewayService/Stream',
|
|
31
|
+
request_serializer=agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2.StreamClient.SerializeToString,
|
|
32
|
+
response_deserializer=agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2.StreamServer.FromString,
|
|
33
|
+
_registered_method=True)
|
|
34
|
+
self.SendSignal = channel.unary_unary(
|
|
35
|
+
'/agentic_mesh_protocol.gateway.v1.GatewayService/SendSignal',
|
|
36
|
+
request_serializer=agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2.ClientSignalRequest.SerializeToString,
|
|
37
|
+
response_deserializer=agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2.ClientSignalResponse.FromString,
|
|
38
|
+
_registered_method=True)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
class GatewayServiceServicer(object):
|
|
42
|
+
"""GatewayService
|
|
43
|
+
External surface for consumers of a producer module.
|
|
44
|
+
The Gateway exposes only what external clients need:
|
|
45
|
+
|
|
46
|
+
1. StartStream — kick off a task; returns ACK immediately.
|
|
47
|
+
2. Stream — BiDi: read output, send upstream input.
|
|
48
|
+
3. SendSignal — out-of-band control (CANCEL, INVALIDATE_*)
|
|
49
|
+
"""
|
|
50
|
+
|
|
51
|
+
def StartStream(self, request, context):
|
|
52
|
+
"""StartStream: register a task and dispatch the producer via Redis.
|
|
53
|
+
Returns ACK + task_id; output flows over Stream.
|
|
54
|
+
"""
|
|
55
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
56
|
+
context.set_details('Method not implemented!')
|
|
57
|
+
raise NotImplementedError('Method not implemented!')
|
|
58
|
+
|
|
59
|
+
def Stream(self, request_iterator, context):
|
|
60
|
+
"""Stream: BiDi between client (UI / caller module) and Gateway.
|
|
61
|
+
|
|
62
|
+
Flow:
|
|
63
|
+
1. Server emits StreamServer{module_start_info} immediately
|
|
64
|
+
(seeded by StartStream into Redis at seq=1).
|
|
65
|
+
2. Client sends StreamClient{task_id, from_seq, data=<query>}.
|
|
66
|
+
The data Struct carries the query, delivered to the SDK module
|
|
67
|
+
as its first input. task_id + from_seq identify the stream and
|
|
68
|
+
its resume point.
|
|
69
|
+
3. Server yields StreamServer{seq, data} per Redis entry as the
|
|
70
|
+
module produces output.
|
|
71
|
+
4. Client may send more StreamClient{data} messages for additional
|
|
72
|
+
upstream input (task_id and from_seq ignored after the first).
|
|
73
|
+
5. Server emits StreamServer{end_of_stream} and closes cleanly.
|
|
74
|
+
|
|
75
|
+
Errors flow as in-band sentinels in StreamServer.data.root.protocol —
|
|
76
|
+
never via gRPC status on Stream.
|
|
77
|
+
"""
|
|
78
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
79
|
+
context.set_details('Method not implemented!')
|
|
80
|
+
raise NotImplementedError('Method not implemented!')
|
|
81
|
+
|
|
82
|
+
def SendSignal(self, request, context):
|
|
83
|
+
"""SendSignal: out-of-band control
|
|
84
|
+
"""
|
|
85
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
86
|
+
context.set_details('Method not implemented!')
|
|
87
|
+
raise NotImplementedError('Method not implemented!')
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
def add_GatewayServiceServicer_to_server(servicer, server):
|
|
91
|
+
rpc_method_handlers = {
|
|
92
|
+
'StartStream': grpc.unary_unary_rpc_method_handler(
|
|
93
|
+
servicer.StartStream,
|
|
94
|
+
request_deserializer=agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2.StartStreamRequest.FromString,
|
|
95
|
+
response_serializer=agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2.StartStreamResponse.SerializeToString,
|
|
96
|
+
),
|
|
97
|
+
'Stream': grpc.stream_stream_rpc_method_handler(
|
|
98
|
+
servicer.Stream,
|
|
99
|
+
request_deserializer=agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2.StreamClient.FromString,
|
|
100
|
+
response_serializer=agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2.StreamServer.SerializeToString,
|
|
101
|
+
),
|
|
102
|
+
'SendSignal': grpc.unary_unary_rpc_method_handler(
|
|
103
|
+
servicer.SendSignal,
|
|
104
|
+
request_deserializer=agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2.ClientSignalRequest.FromString,
|
|
105
|
+
response_serializer=agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2.ClientSignalResponse.SerializeToString,
|
|
106
|
+
),
|
|
107
|
+
}
|
|
108
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
109
|
+
'agentic_mesh_protocol.gateway.v1.GatewayService', rpc_method_handlers)
|
|
110
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
111
|
+
server.add_registered_method_handlers('agentic_mesh_protocol.gateway.v1.GatewayService', rpc_method_handlers)
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
# This class is part of an EXPERIMENTAL API.
|
|
115
|
+
class GatewayService(object):
|
|
116
|
+
"""GatewayService
|
|
117
|
+
External surface for consumers of a producer module.
|
|
118
|
+
The Gateway exposes only what external clients need:
|
|
119
|
+
|
|
120
|
+
1. StartStream — kick off a task; returns ACK immediately.
|
|
121
|
+
2. Stream — BiDi: read output, send upstream input.
|
|
122
|
+
3. SendSignal — out-of-band control (CANCEL, INVALIDATE_*)
|
|
123
|
+
"""
|
|
124
|
+
|
|
125
|
+
@staticmethod
|
|
126
|
+
def StartStream(request,
|
|
127
|
+
target,
|
|
128
|
+
options=(),
|
|
129
|
+
channel_credentials=None,
|
|
130
|
+
call_credentials=None,
|
|
131
|
+
insecure=False,
|
|
132
|
+
compression=None,
|
|
133
|
+
wait_for_ready=None,
|
|
134
|
+
timeout=None,
|
|
135
|
+
metadata=None):
|
|
136
|
+
return grpc.experimental.unary_unary(
|
|
137
|
+
request,
|
|
138
|
+
target,
|
|
139
|
+
'/agentic_mesh_protocol.gateway.v1.GatewayService/StartStream',
|
|
140
|
+
agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2.StartStreamRequest.SerializeToString,
|
|
141
|
+
agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2.StartStreamResponse.FromString,
|
|
142
|
+
options,
|
|
143
|
+
channel_credentials,
|
|
144
|
+
insecure,
|
|
145
|
+
call_credentials,
|
|
146
|
+
compression,
|
|
147
|
+
wait_for_ready,
|
|
148
|
+
timeout,
|
|
149
|
+
metadata,
|
|
150
|
+
_registered_method=True)
|
|
151
|
+
|
|
152
|
+
@staticmethod
|
|
153
|
+
def Stream(request_iterator,
|
|
154
|
+
target,
|
|
155
|
+
options=(),
|
|
156
|
+
channel_credentials=None,
|
|
157
|
+
call_credentials=None,
|
|
158
|
+
insecure=False,
|
|
159
|
+
compression=None,
|
|
160
|
+
wait_for_ready=None,
|
|
161
|
+
timeout=None,
|
|
162
|
+
metadata=None):
|
|
163
|
+
return grpc.experimental.stream_stream(
|
|
164
|
+
request_iterator,
|
|
165
|
+
target,
|
|
166
|
+
'/agentic_mesh_protocol.gateway.v1.GatewayService/Stream',
|
|
167
|
+
agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2.StreamClient.SerializeToString,
|
|
168
|
+
agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2.StreamServer.FromString,
|
|
169
|
+
options,
|
|
170
|
+
channel_credentials,
|
|
171
|
+
insecure,
|
|
172
|
+
call_credentials,
|
|
173
|
+
compression,
|
|
174
|
+
wait_for_ready,
|
|
175
|
+
timeout,
|
|
176
|
+
metadata,
|
|
177
|
+
_registered_method=True)
|
|
178
|
+
|
|
179
|
+
@staticmethod
|
|
180
|
+
def SendSignal(request,
|
|
181
|
+
target,
|
|
182
|
+
options=(),
|
|
183
|
+
channel_credentials=None,
|
|
184
|
+
call_credentials=None,
|
|
185
|
+
insecure=False,
|
|
186
|
+
compression=None,
|
|
187
|
+
wait_for_ready=None,
|
|
188
|
+
timeout=None,
|
|
189
|
+
metadata=None):
|
|
190
|
+
return grpc.experimental.unary_unary(
|
|
191
|
+
request,
|
|
192
|
+
target,
|
|
193
|
+
'/agentic_mesh_protocol.gateway.v1.GatewayService/SendSignal',
|
|
194
|
+
agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2.ClientSignalRequest.SerializeToString,
|
|
195
|
+
agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2.ClientSignalResponse.FromString,
|
|
196
|
+
options,
|
|
197
|
+
channel_credentials,
|
|
198
|
+
insecure,
|
|
199
|
+
call_credentials,
|
|
200
|
+
compression,
|
|
201
|
+
wait_for_ready,
|
|
202
|
+
timeout,
|
|
203
|
+
metadata,
|
|
204
|
+
_registered_method=True)
|
|
@@ -24,10 +24,9 @@ _sym_db = _symbol_database.Default()
|
|
|
24
24
|
|
|
25
25
|
from agentic_mesh_protocol.module.v1 import information_pb2 as agentic__mesh__protocol_dot_module_dot_v1_dot_information__pb2
|
|
26
26
|
from agentic_mesh_protocol.module.v1 import lifecycle_pb2 as agentic__mesh__protocol_dot_module_dot_v1_dot_lifecycle__pb2
|
|
27
|
-
from agentic_mesh_protocol.module.v1 import monitoring_pb2 as agentic__mesh__protocol_dot_module_dot_v1_dot_monitoring__pb2
|
|
28
27
|
|
|
29
28
|
|
|
30
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n4agentic_mesh_protocol/module/v1/module_service.proto\x12\x1f\x61gentic_mesh_protocol.module.v1\x1a\x31\x61gentic_mesh_protocol/module/v1/information.proto\x1a/agentic_mesh_protocol/module/v1/lifecycle.
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n4agentic_mesh_protocol/module/v1/module_service.proto\x12\x1f\x61gentic_mesh_protocol.module.v1\x1a\x31\x61gentic_mesh_protocol/module/v1/information.proto\x1a/agentic_mesh_protocol/module/v1/lifecycle.proto2\xd1\n\n\rModuleService\x12z\n\x0bStartModule\x12\x33.agentic_mesh_protocol.module.v1.StartModuleRequest\x1a\x34.agentic_mesh_protocol.module.v1.StartModuleResponse0\x01\x12u\n\nStopModule\x12\x32.agentic_mesh_protocol.module.v1.StopModuleRequest\x1a\x33.agentic_mesh_protocol.module.v1.StopModuleResponse\x12\x81\x01\n\x0eGetModuleInput\x12\x36.agentic_mesh_protocol.module.v1.GetModuleInputRequest\x1a\x37.agentic_mesh_protocol.module.v1.GetModuleInputResponse\x12\x93\x01\n\x14GetModuleSelectInput\x12<.agentic_mesh_protocol.module.v1.GetModuleSelectInputRequest\x1a=.agentic_mesh_protocol.module.v1.GetModuleSelectInputResponse\x12\x84\x01\n\x0fGetModuleOutput\x12\x37.agentic_mesh_protocol.module.v1.GetModuleOutputRequest\x1a\x38.agentic_mesh_protocol.module.v1.GetModuleOutputResponse\x12\x81\x01\n\x0eGetModuleSetup\x12\x36.agentic_mesh_protocol.module.v1.GetModuleSetupRequest\x1a\x37.agentic_mesh_protocol.module.v1.GetModuleSetupResponse\x12\x84\x01\n\x0fGetModuleSecret\x12\x37.agentic_mesh_protocol.module.v1.GetModuleSecretRequest\x1a\x38.agentic_mesh_protocol.module.v1.GetModuleSecretResponse\x12\x93\x01\n\x14GetConfigSetupModule\x12<.agentic_mesh_protocol.module.v1.GetConfigSetupModuleRequest\x1a=.agentic_mesh_protocol.module.v1.GetConfigSetupModuleResponse\x12\x8a\x01\n\x11\x43onfigSetupModule\x12\x39.agentic_mesh_protocol.module.v1.ConfigSetupModuleRequest\x1a:.agentic_mesh_protocol.module.v1.ConfigSetupModuleResponse\x12~\n\rGetModuleCost\x12\x35.agentic_mesh_protocol.module.v1.GetModuleCostRequest\x1a\x36.agentic_mesh_protocol.module.v1.GetModuleCostResponseB\xcf\x01\n#com.agentic_mesh_protocol.module.v1B\x12ModuleServiceProtoP\x01\xa2\x02\x03\x41MX\xaa\x02\x1d\x41genticMeshProtocol.Module.V1\xca\x02\x1d\x41genticMeshProtocol\\Module\\V1\xe2\x02)AgenticMeshProtocol\\Module\\V1\\GPBMetadata\xea\x02\x1f\x41genticMeshProtocol::Module::V1b\x06proto3')
|
|
31
30
|
|
|
32
31
|
_globals = globals()
|
|
33
32
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -35,6 +34,6 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'agentic_mesh_protocol.modul
|
|
|
35
34
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
36
35
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
37
36
|
_globals['DESCRIPTOR']._serialized_options = b'\n#com.agentic_mesh_protocol.module.v1B\022ModuleServiceProtoP\001\242\002\003AMX\252\002\035AgenticMeshProtocol.Module.V1\312\002\035AgenticMeshProtocol\\Module\\V1\342\002)AgenticMeshProtocol\\Module\\V1\\GPBMetadata\352\002\037AgenticMeshProtocol::Module::V1'
|
|
38
|
-
_globals['_MODULESERVICE']._serialized_start=
|
|
39
|
-
_globals['_MODULESERVICE']._serialized_end=
|
|
37
|
+
_globals['_MODULESERVICE']._serialized_start=190
|
|
38
|
+
_globals['_MODULESERVICE']._serialized_end=1551
|
|
40
39
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
from agentic_mesh_protocol.module.v1 import information_pb2 as _information_pb2
|
|
2
2
|
from agentic_mesh_protocol.module.v1 import lifecycle_pb2 as _lifecycle_pb2
|
|
3
|
-
from agentic_mesh_protocol.module.v1 import monitoring_pb2 as _monitoring_pb2
|
|
4
3
|
from google.protobuf import descriptor as _descriptor
|
|
5
4
|
from typing import ClassVar as _ClassVar
|
|
6
5
|
|
|
@@ -4,7 +4,6 @@ import grpc
|
|
|
4
4
|
|
|
5
5
|
from agentic_mesh_protocol.module.v1 import information_pb2 as agentic__mesh__protocol_dot_module_dot_v1_dot_information__pb2
|
|
6
6
|
from agentic_mesh_protocol.module.v1 import lifecycle_pb2 as agentic__mesh__protocol_dot_module_dot_v1_dot_lifecycle__pb2
|
|
7
|
-
from agentic_mesh_protocol.module.v1 import monitoring_pb2 as agentic__mesh__protocol_dot_module_dot_v1_dot_monitoring__pb2
|
|
8
7
|
|
|
9
8
|
|
|
10
9
|
class ModuleServiceStub(object):
|
|
@@ -34,16 +33,6 @@ class ModuleServiceStub(object):
|
|
|
34
33
|
request_serializer=agentic__mesh__protocol_dot_module_dot_v1_dot_lifecycle__pb2.StopModuleRequest.SerializeToString,
|
|
35
34
|
response_deserializer=agentic__mesh__protocol_dot_module_dot_v1_dot_lifecycle__pb2.StopModuleResponse.FromString,
|
|
36
35
|
_registered_method=True)
|
|
37
|
-
self.GetModuleStatus = channel.unary_unary(
|
|
38
|
-
'/agentic_mesh_protocol.module.v1.ModuleService/GetModuleStatus',
|
|
39
|
-
request_serializer=agentic__mesh__protocol_dot_module_dot_v1_dot_monitoring__pb2.GetModuleStatusRequest.SerializeToString,
|
|
40
|
-
response_deserializer=agentic__mesh__protocol_dot_module_dot_v1_dot_monitoring__pb2.GetModuleStatusResponse.FromString,
|
|
41
|
-
_registered_method=True)
|
|
42
|
-
self.GetModuleJobs = channel.unary_unary(
|
|
43
|
-
'/agentic_mesh_protocol.module.v1.ModuleService/GetModuleJobs',
|
|
44
|
-
request_serializer=agentic__mesh__protocol_dot_module_dot_v1_dot_monitoring__pb2.GetModuleJobsRequest.SerializeToString,
|
|
45
|
-
response_deserializer=agentic__mesh__protocol_dot_module_dot_v1_dot_monitoring__pb2.GetModuleJobsResponse.FromString,
|
|
46
|
-
_registered_method=True)
|
|
47
36
|
self.GetModuleInput = channel.unary_unary(
|
|
48
37
|
'/agentic_mesh_protocol.module.v1.ModuleService/GetModuleInput',
|
|
49
38
|
request_serializer=agentic__mesh__protocol_dot_module_dot_v1_dot_information__pb2.GetModuleInputRequest.SerializeToString,
|
|
@@ -111,20 +100,6 @@ class ModuleServiceServicer(object):
|
|
|
111
100
|
context.set_details('Method not implemented!')
|
|
112
101
|
raise NotImplementedError('Method not implemented!')
|
|
113
102
|
|
|
114
|
-
def GetModuleStatus(self, request, context):
|
|
115
|
-
"""GetModuleStatus
|
|
116
|
-
"""
|
|
117
|
-
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
118
|
-
context.set_details('Method not implemented!')
|
|
119
|
-
raise NotImplementedError('Method not implemented!')
|
|
120
|
-
|
|
121
|
-
def GetModuleJobs(self, request, context):
|
|
122
|
-
"""GetModuleJobs
|
|
123
|
-
"""
|
|
124
|
-
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
125
|
-
context.set_details('Method not implemented!')
|
|
126
|
-
raise NotImplementedError('Method not implemented!')
|
|
127
|
-
|
|
128
103
|
def GetModuleInput(self, request, context):
|
|
129
104
|
"""GetModuleInput
|
|
130
105
|
"""
|
|
@@ -194,16 +169,6 @@ def add_ModuleServiceServicer_to_server(servicer, server):
|
|
|
194
169
|
request_deserializer=agentic__mesh__protocol_dot_module_dot_v1_dot_lifecycle__pb2.StopModuleRequest.FromString,
|
|
195
170
|
response_serializer=agentic__mesh__protocol_dot_module_dot_v1_dot_lifecycle__pb2.StopModuleResponse.SerializeToString,
|
|
196
171
|
),
|
|
197
|
-
'GetModuleStatus': grpc.unary_unary_rpc_method_handler(
|
|
198
|
-
servicer.GetModuleStatus,
|
|
199
|
-
request_deserializer=agentic__mesh__protocol_dot_module_dot_v1_dot_monitoring__pb2.GetModuleStatusRequest.FromString,
|
|
200
|
-
response_serializer=agentic__mesh__protocol_dot_module_dot_v1_dot_monitoring__pb2.GetModuleStatusResponse.SerializeToString,
|
|
201
|
-
),
|
|
202
|
-
'GetModuleJobs': grpc.unary_unary_rpc_method_handler(
|
|
203
|
-
servicer.GetModuleJobs,
|
|
204
|
-
request_deserializer=agentic__mesh__protocol_dot_module_dot_v1_dot_monitoring__pb2.GetModuleJobsRequest.FromString,
|
|
205
|
-
response_serializer=agentic__mesh__protocol_dot_module_dot_v1_dot_monitoring__pb2.GetModuleJobsResponse.SerializeToString,
|
|
206
|
-
),
|
|
207
172
|
'GetModuleInput': grpc.unary_unary_rpc_method_handler(
|
|
208
173
|
servicer.GetModuleInput,
|
|
209
174
|
request_deserializer=agentic__mesh__protocol_dot_module_dot_v1_dot_information__pb2.GetModuleInputRequest.FromString,
|
|
@@ -317,60 +282,6 @@ class ModuleService(object):
|
|
|
317
282
|
metadata,
|
|
318
283
|
_registered_method=True)
|
|
319
284
|
|
|
320
|
-
@staticmethod
|
|
321
|
-
def GetModuleStatus(request,
|
|
322
|
-
target,
|
|
323
|
-
options=(),
|
|
324
|
-
channel_credentials=None,
|
|
325
|
-
call_credentials=None,
|
|
326
|
-
insecure=False,
|
|
327
|
-
compression=None,
|
|
328
|
-
wait_for_ready=None,
|
|
329
|
-
timeout=None,
|
|
330
|
-
metadata=None):
|
|
331
|
-
return grpc.experimental.unary_unary(
|
|
332
|
-
request,
|
|
333
|
-
target,
|
|
334
|
-
'/agentic_mesh_protocol.module.v1.ModuleService/GetModuleStatus',
|
|
335
|
-
agentic__mesh__protocol_dot_module_dot_v1_dot_monitoring__pb2.GetModuleStatusRequest.SerializeToString,
|
|
336
|
-
agentic__mesh__protocol_dot_module_dot_v1_dot_monitoring__pb2.GetModuleStatusResponse.FromString,
|
|
337
|
-
options,
|
|
338
|
-
channel_credentials,
|
|
339
|
-
insecure,
|
|
340
|
-
call_credentials,
|
|
341
|
-
compression,
|
|
342
|
-
wait_for_ready,
|
|
343
|
-
timeout,
|
|
344
|
-
metadata,
|
|
345
|
-
_registered_method=True)
|
|
346
|
-
|
|
347
|
-
@staticmethod
|
|
348
|
-
def GetModuleJobs(request,
|
|
349
|
-
target,
|
|
350
|
-
options=(),
|
|
351
|
-
channel_credentials=None,
|
|
352
|
-
call_credentials=None,
|
|
353
|
-
insecure=False,
|
|
354
|
-
compression=None,
|
|
355
|
-
wait_for_ready=None,
|
|
356
|
-
timeout=None,
|
|
357
|
-
metadata=None):
|
|
358
|
-
return grpc.experimental.unary_unary(
|
|
359
|
-
request,
|
|
360
|
-
target,
|
|
361
|
-
'/agentic_mesh_protocol.module.v1.ModuleService/GetModuleJobs',
|
|
362
|
-
agentic__mesh__protocol_dot_module_dot_v1_dot_monitoring__pb2.GetModuleJobsRequest.SerializeToString,
|
|
363
|
-
agentic__mesh__protocol_dot_module_dot_v1_dot_monitoring__pb2.GetModuleJobsResponse.FromString,
|
|
364
|
-
options,
|
|
365
|
-
channel_credentials,
|
|
366
|
-
insecure,
|
|
367
|
-
call_credentials,
|
|
368
|
-
compression,
|
|
369
|
-
wait_for_ready,
|
|
370
|
-
timeout,
|
|
371
|
-
metadata,
|
|
372
|
-
_registered_method=True)
|
|
373
|
-
|
|
374
285
|
@staticmethod
|
|
375
286
|
def GetModuleInput(request,
|
|
376
287
|
target,
|
|
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
|
|
|
25
25
|
from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0agentic_mesh_protocol/module/v1/monitoring.proto\x12\x1f\x61gentic_mesh_protocol.module.v1\x1a\x1b\x62uf/validate/validate.proto\"\x8e\x01\n\x07JobInfo\x12(\n\x06job_id\x18\x01 \x01(\tB\x11\xbaH\x0er\t\x10\x01:\x05jobs:\xc8\x01\x01R\x05jobId\x12Y\n\njob_status\x18\x02 \x01(\x0e\x32-.agentic_mesh_protocol.module.v1.ModuleStatusB\x0b\xbaH\x08\x82\x01\x02\x10\x01\xc8\x01\x01R\tjobStatus
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0agentic_mesh_protocol/module/v1/monitoring.proto\x12\x1f\x61gentic_mesh_protocol.module.v1\x1a\x1b\x62uf/validate/validate.proto\"\x8e\x01\n\x07JobInfo\x12(\n\x06job_id\x18\x01 \x01(\tB\x11\xbaH\x0er\t\x10\x01:\x05jobs:\xc8\x01\x01R\x05jobId\x12Y\n\njob_status\x18\x02 \x01(\x0e\x32-.agentic_mesh_protocol.module.v1.ModuleStatusB\x0b\xbaH\x08\x82\x01\x02\x10\x01\xc8\x01\x01R\tjobStatus*\xee\x01\n\x0cModuleStatus\x12\x1d\n\x19MODULE_STATUS_UNSPECIFIED\x10\x00\x12\x1a\n\x16MODULE_STATUS_STARTING\x10\x01\x12\x1c\n\x18MODULE_STATUS_PROCESSING\x10\x02\x12\x1a\n\x16MODULE_STATUS_CANCELED\x10\x03\x12\x18\n\x14MODULE_STATUS_FAILED\x10\x04\x12\x19\n\x15MODULE_STATUS_EXPIRED\x10\x05\x12\x19\n\x15MODULE_STATUS_SUCCESS\x10\x06\x12\x19\n\x15MODULE_STATUS_STOPPED\x10\x07\x42\xcc\x01\n#com.agentic_mesh_protocol.module.v1B\x0fMonitoringProtoP\x01\xa2\x02\x03\x41MX\xaa\x02\x1d\x41genticMeshProtocol.Module.V1\xca\x02\x1d\x41genticMeshProtocol\\Module\\V1\xe2\x02)AgenticMeshProtocol\\Module\\V1\\GPBMetadata\xea\x02\x1f\x41genticMeshProtocol::Module::V1b\x06proto3')
|
|
29
29
|
|
|
30
30
|
_globals = globals()
|
|
31
31
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -37,22 +37,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
37
37
|
_globals['_JOBINFO'].fields_by_name['job_id']._serialized_options = b'\272H\016r\t\020\001:\005jobs:\310\001\001'
|
|
38
38
|
_globals['_JOBINFO'].fields_by_name['job_status']._loaded_options = None
|
|
39
39
|
_globals['_JOBINFO'].fields_by_name['job_status']._serialized_options = b'\272H\010\202\001\002\020\001\310\001\001'
|
|
40
|
-
_globals['
|
|
41
|
-
_globals['
|
|
42
|
-
_globals['_GETMODULESTATUSRESPONSE'].fields_by_name['status']._loaded_options = None
|
|
43
|
-
_globals['_GETMODULESTATUSRESPONSE'].fields_by_name['status']._serialized_options = b'\272H\010\202\001\002\020\001\310\001\001'
|
|
44
|
-
_globals['_GETMODULESTATUSRESPONSE'].fields_by_name['job_id']._loaded_options = None
|
|
45
|
-
_globals['_GETMODULESTATUSRESPONSE'].fields_by_name['job_id']._serialized_options = b'\272H\016r\t\020\001:\005jobs:\310\001\001'
|
|
46
|
-
_globals['_MODULESTATUS']._serialized_start=645
|
|
47
|
-
_globals['_MODULESTATUS']._serialized_end=883
|
|
40
|
+
_globals['_MODULESTATUS']._serialized_start=260
|
|
41
|
+
_globals['_MODULESTATUS']._serialized_end=498
|
|
48
42
|
_globals['_JOBINFO']._serialized_start=115
|
|
49
43
|
_globals['_JOBINFO']._serialized_end=257
|
|
50
|
-
_globals['_GETMODULESTATUSREQUEST']._serialized_start=259
|
|
51
|
-
_globals['_GETMODULESTATUSREQUEST']._serialized_end=325
|
|
52
|
-
_globals['_GETMODULESTATUSRESPONSE']._serialized_start=328
|
|
53
|
-
_globals['_GETMODULESTATUSRESPONSE']._serialized_end=505
|
|
54
|
-
_globals['_GETMODULEJOBSREQUEST']._serialized_start=507
|
|
55
|
-
_globals['_GETMODULEJOBSREQUEST']._serialized_end=529
|
|
56
|
-
_globals['_GETMODULEJOBSRESPONSE']._serialized_start=531
|
|
57
|
-
_globals['_GETMODULEJOBSRESPONSE']._serialized_end=642
|
|
58
44
|
# @@protoc_insertion_point(module_scope)
|