agentic-mesh-protocol 0.2.1.dev1__py3-none-any.whl → 0.2.1.dev2__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_pb2.py +3 -27
- agentic_mesh_protocol/cost/v1/cost_pb2.pyi +0 -42
- agentic_mesh_protocol/cost/v1/cost_service_pb2.py +2 -2
- agentic_mesh_protocol/cost/v1/cost_service_pb2_grpc.py +1 -89
- agentic_mesh_protocol/module/v1/information_pb2.py +27 -27
- agentic_mesh_protocol/module/v1/information_pb2.pyi +14 -16
- agentic_mesh_protocol/module/v1/module_service_pb2.py +2 -2
- agentic_mesh_protocol/module/v1/module_service_pb2_grpc.py +0 -44
- {agentic_mesh_protocol-0.2.1.dev1.dist-info → agentic_mesh_protocol-0.2.1.dev2.dist-info}/METADATA +1 -1
- {agentic_mesh_protocol-0.2.1.dev1.dist-info → agentic_mesh_protocol-0.2.1.dev2.dist-info}/RECORD +14 -14
- {agentic_mesh_protocol-0.2.1.dev1.dist-info → agentic_mesh_protocol-0.2.1.dev2.dist-info}/WHEEL +0 -0
- {agentic_mesh_protocol-0.2.1.dev1.dist-info → agentic_mesh_protocol-0.2.1.dev2.dist-info}/licenses/LICENSE +0 -0
- {agentic_mesh_protocol-0.2.1.dev1.dist-info → agentic_mesh_protocol-0.2.1.dev2.dist-info}/top_level.txt +0 -0
|
@@ -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'\n(agentic_mesh_protocol/cost/v1/cost.proto\x12\x1d\x61gentic_mesh_protocol.cost.v1\x1a\x1b\x62uf/validate/validate.proto\"\x93\x03\n\x04\x43ost\x12%\n\x04\x63ost\x18\x01 \x01(\x01\x42\x11\xbaH\x0e\x12\t)\x00\x00\x00\x00\x00\x00\x00\x00\xc8\x01\x01R\x04\x63ost\x12\x34\n\nmission_id\x18\x02 \x01(\tB\x15\xbaH\x12r\r\x10\x01:\tmissions:\xc8\x01\x01R\tmissionId\x12\x1e\n\x04name\x18\x03 \x01(\tB\n\xbaH\x07r\x02\x10\x01\xc8\x01\x01R\x04name\x12Q\n\tcost_type\x18\x04 \x01(\x0e\x32\'.agentic_mesh_protocol.cost.v1.CostTypeB\x0b\xbaH\x08\x82\x01\x02 \x00\xc8\x01\x01R\x08\x63ostType\x12\x1e\n\x04unit\x18\x05 \x01(\tB\n\xbaH\x07r\x02\x10\x01\xc8\x01\x01R\x04unit\x12%\n\x04rate\x18\x06 \x01(\x01\x42\x11\xbaH\x0e\x12\t)\x00\x00\x00\x00\x00\x00\x00\x00\xc8\x01\x01R\x04rate\x12\x45\n\x10setup_version_id\x18\x07 \x01(\tB\x1b\xbaH\x18r\x13\x10\x01:\x0fsetup_versions:\xc8\x01\x01R\x0esetupVersionId\x12-\n\x08quantity\x18\x08 \x01(\x01\x42\x11\xbaH\x0e\x12\t)\x00\x00\x00\x00\x00\x00\x00\x00\xc8\x01\x01R\x08quantity\"\x9d\x03\n\x0e\x41\x64\x64\x43ostRequest\x12%\n\x04\x63ost\x18\x01 \x01(\x01\x42\x11\xbaH\x0e\x12\t)\x00\x00\x00\x00\x00\x00\x00\x00\xc8\x01\x01R\x04\x63ost\x12\x34\n\nmission_id\x18\x02 \x01(\tB\x15\xbaH\x12r\r\x10\x01:\tmissions:\xc8\x01\x01R\tmissionId\x12\x1e\n\x04name\x18\x03 \x01(\tB\n\xbaH\x07r\x02\x10\x01\xc8\x01\x01R\x04name\x12Q\n\tcost_type\x18\x04 \x01(\x0e\x32\'.agentic_mesh_protocol.cost.v1.CostTypeB\x0b\xbaH\x08\x82\x01\x02 \x00\xc8\x01\x01R\x08\x63ostType\x12\x1e\n\x04unit\x18\x05 \x01(\tB\n\xbaH\x07r\x02\x10\x01\xc8\x01\x01R\x04unit\x12%\n\x04rate\x18\x06 \x01(\x01\x42\x11\xbaH\x0e\x12\t)\x00\x00\x00\x00\x00\x00\x00\x00\xc8\x01\x01R\x04rate\x12\x45\n\x10setup_version_id\x18\x07 \x01(\tB\x1b\xbaH\x18r\x13\x10\x01:\x0fsetup_versions:\xc8\x01\x01R\x0esetupVersionId\x12-\n\x08quantity\x18\x08 \x01(\x01\x42\x11\xbaH\x0e\x12\t)\x00\x00\x00\x00\x00\x00\x00\x00\xc8\x01\x01R\x08quantity\"+\n\x0f\x41\x64\x64\x43ostResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\"\xd2\x01\n\nCostFilter\x12\"\n\x05names\x18\x01 \x03(\tB\x0c\xbaH\t\x92\x01\x06\"\x04r\x02\x10\x01R\x05names\x12U\n\ncost_types\x18\x02 \x03(\x0e\x32\'.agentic_mesh_protocol.cost.v1.CostTypeB\r\xbaH\n\x92\x01\x07\"\x05\x82\x01\x02 \x00R\tcostTypes\x12I\n\x11setup_version_ids\x18\x03 \x03(\tB\x1d\xbaH\x1a\x92\x01\x17\"\x15r\x13\x10\x01:\x0fsetup_versions:R\x0fsetupVersionIds\"\xcd\x01\n\x0fGetCostsRequest\x12\x34\n\nmission_id\x18\x01 \x01(\tB\x15\xbaH\x12r\r\x10\x01:\tmissions:\xc8\x01\x01R\tmissionId\x12\x41\n\x06\x66ilter\x18\x02 \x01(\x0b\x32).agentic_mesh_protocol.cost.v1.CostFilterR\x06\x66ilter\x12 \n\x05limit\x18\x03 \x01(\x05\x42\n\xbaH\x07\x1a\x05\x18\xe8\x07(\x01R\x05limit\x12\x1f\n\x06offset\x18\x04 \x01(\x05\x42\x07\xbaH\x04\x1a\x02(\x00R\x06offset\"\xa6\x01\n\x10GetCostsResponse\x12\x39\n\x05\x63osts\x18\x01 \x03(\x0b\x32#.agentic_mesh_protocol.cost.v1.CostR\x05\x63osts\x12(\n\x0btotal_count\x18\x02 \x01(\x05\x42\x07\xbaH\x04\x1a\x02(\x00R\ntotalCount\x12-\n\ntotal_cost\x18\x03 \x01(\x01\x42\x0e\xbaH\x0b\x12\t)\x00\x00\x00\x00\x00\x00\x00\x00R\ttotalCost\"f\n\x0eGetCostRequest\x12\x34\n\nmission_id\x18\x01 \x01(\tB\x15\xbaH\x12r\r\x10\x01:\tmissions:\xc8\x01\x01R\tmissionId\x12\x1e\n\x04name\x18\x02 \x01(\tB\n\xbaH\x07r\x02\x10\x01\xc8\x01\x01R\x04name\"{\n\x0fGetCostResponse\x12\x39\n\x05\x63osts\x18\x01 \x03(\x0b\x32#.agentic_mesh_protocol.cost.v1.CostR\x05\x63osts\x12-\n\ntotal_cost\x18\x02 \x01(\x01\x42\x0e\xbaH\x0b\x12\t)\x00\x00\x00\x00\x00\x00\x00\x00R\ttotalCost
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(agentic_mesh_protocol/cost/v1/cost.proto\x12\x1d\x61gentic_mesh_protocol.cost.v1\x1a\x1b\x62uf/validate/validate.proto\"\x93\x03\n\x04\x43ost\x12%\n\x04\x63ost\x18\x01 \x01(\x01\x42\x11\xbaH\x0e\x12\t)\x00\x00\x00\x00\x00\x00\x00\x00\xc8\x01\x01R\x04\x63ost\x12\x34\n\nmission_id\x18\x02 \x01(\tB\x15\xbaH\x12r\r\x10\x01:\tmissions:\xc8\x01\x01R\tmissionId\x12\x1e\n\x04name\x18\x03 \x01(\tB\n\xbaH\x07r\x02\x10\x01\xc8\x01\x01R\x04name\x12Q\n\tcost_type\x18\x04 \x01(\x0e\x32\'.agentic_mesh_protocol.cost.v1.CostTypeB\x0b\xbaH\x08\x82\x01\x02 \x00\xc8\x01\x01R\x08\x63ostType\x12\x1e\n\x04unit\x18\x05 \x01(\tB\n\xbaH\x07r\x02\x10\x01\xc8\x01\x01R\x04unit\x12%\n\x04rate\x18\x06 \x01(\x01\x42\x11\xbaH\x0e\x12\t)\x00\x00\x00\x00\x00\x00\x00\x00\xc8\x01\x01R\x04rate\x12\x45\n\x10setup_version_id\x18\x07 \x01(\tB\x1b\xbaH\x18r\x13\x10\x01:\x0fsetup_versions:\xc8\x01\x01R\x0esetupVersionId\x12-\n\x08quantity\x18\x08 \x01(\x01\x42\x11\xbaH\x0e\x12\t)\x00\x00\x00\x00\x00\x00\x00\x00\xc8\x01\x01R\x08quantity\"\x9d\x03\n\x0e\x41\x64\x64\x43ostRequest\x12%\n\x04\x63ost\x18\x01 \x01(\x01\x42\x11\xbaH\x0e\x12\t)\x00\x00\x00\x00\x00\x00\x00\x00\xc8\x01\x01R\x04\x63ost\x12\x34\n\nmission_id\x18\x02 \x01(\tB\x15\xbaH\x12r\r\x10\x01:\tmissions:\xc8\x01\x01R\tmissionId\x12\x1e\n\x04name\x18\x03 \x01(\tB\n\xbaH\x07r\x02\x10\x01\xc8\x01\x01R\x04name\x12Q\n\tcost_type\x18\x04 \x01(\x0e\x32\'.agentic_mesh_protocol.cost.v1.CostTypeB\x0b\xbaH\x08\x82\x01\x02 \x00\xc8\x01\x01R\x08\x63ostType\x12\x1e\n\x04unit\x18\x05 \x01(\tB\n\xbaH\x07r\x02\x10\x01\xc8\x01\x01R\x04unit\x12%\n\x04rate\x18\x06 \x01(\x01\x42\x11\xbaH\x0e\x12\t)\x00\x00\x00\x00\x00\x00\x00\x00\xc8\x01\x01R\x04rate\x12\x45\n\x10setup_version_id\x18\x07 \x01(\tB\x1b\xbaH\x18r\x13\x10\x01:\x0fsetup_versions:\xc8\x01\x01R\x0esetupVersionId\x12-\n\x08quantity\x18\x08 \x01(\x01\x42\x11\xbaH\x0e\x12\t)\x00\x00\x00\x00\x00\x00\x00\x00\xc8\x01\x01R\x08quantity\"+\n\x0f\x41\x64\x64\x43ostResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\"\xd2\x01\n\nCostFilter\x12\"\n\x05names\x18\x01 \x03(\tB\x0c\xbaH\t\x92\x01\x06\"\x04r\x02\x10\x01R\x05names\x12U\n\ncost_types\x18\x02 \x03(\x0e\x32\'.agentic_mesh_protocol.cost.v1.CostTypeB\r\xbaH\n\x92\x01\x07\"\x05\x82\x01\x02 \x00R\tcostTypes\x12I\n\x11setup_version_ids\x18\x03 \x03(\tB\x1d\xbaH\x1a\x92\x01\x17\"\x15r\x13\x10\x01:\x0fsetup_versions:R\x0fsetupVersionIds\"\xcd\x01\n\x0fGetCostsRequest\x12\x34\n\nmission_id\x18\x01 \x01(\tB\x15\xbaH\x12r\r\x10\x01:\tmissions:\xc8\x01\x01R\tmissionId\x12\x41\n\x06\x66ilter\x18\x02 \x01(\x0b\x32).agentic_mesh_protocol.cost.v1.CostFilterR\x06\x66ilter\x12 \n\x05limit\x18\x03 \x01(\x05\x42\n\xbaH\x07\x1a\x05\x18\xe8\x07(\x01R\x05limit\x12\x1f\n\x06offset\x18\x04 \x01(\x05\x42\x07\xbaH\x04\x1a\x02(\x00R\x06offset\"\xa6\x01\n\x10GetCostsResponse\x12\x39\n\x05\x63osts\x18\x01 \x03(\x0b\x32#.agentic_mesh_protocol.cost.v1.CostR\x05\x63osts\x12(\n\x0btotal_count\x18\x02 \x01(\x05\x42\x07\xbaH\x04\x1a\x02(\x00R\ntotalCount\x12-\n\ntotal_cost\x18\x03 \x01(\x01\x42\x0e\xbaH\x0b\x12\t)\x00\x00\x00\x00\x00\x00\x00\x00R\ttotalCost\"f\n\x0eGetCostRequest\x12\x34\n\nmission_id\x18\x01 \x01(\tB\x15\xbaH\x12r\r\x10\x01:\tmissions:\xc8\x01\x01R\tmissionId\x12\x1e\n\x04name\x18\x02 \x01(\tB\n\xbaH\x07r\x02\x10\x01\xc8\x01\x01R\x04name\"{\n\x0fGetCostResponse\x12\x39\n\x05\x63osts\x18\x01 \x03(\x0b\x32#.agentic_mesh_protocol.cost.v1.CostR\x05\x63osts\x12-\n\ntotal_cost\x18\x02 \x01(\x01\x42\x0e\xbaH\x0b\x12\t)\x00\x00\x00\x00\x00\x00\x00\x00R\ttotalCost*n\n\x08\x43ostType\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\x0f\n\x0bTOKEN_INPUT\x10\x01\x12\x10\n\x0cTOKEN_OUTPUT\x10\x02\x12\x0c\n\x08\x41PI_CALL\x10\x03\x12\x0b\n\x07STORAGE\x10\x04\x12\x08\n\x04TIME\x10\x05\x12\t\n\x05OTHER\x10\x06\x42\xbc\x01\n!com.agentic_mesh_protocol.cost.v1B\tCostProtoP\x01\xa2\x02\x03\x41\x43X\xaa\x02\x1b\x41genticMeshProtocol.Cost.V1\xca\x02\x1b\x41genticMeshProtocol\\Cost\\V1\xe2\x02\'AgenticMeshProtocol\\Cost\\V1\\GPBMetadata\xea\x02\x1d\x41genticMeshProtocol::Cost::V1b\x06proto3')
|
|
29
29
|
|
|
30
30
|
_globals = globals()
|
|
31
31
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -87,22 +87,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
87
87
|
_globals['_GETCOSTREQUEST'].fields_by_name['name']._serialized_options = b'\272H\007r\002\020\001\310\001\001'
|
|
88
88
|
_globals['_GETCOSTRESPONSE'].fields_by_name['total_cost']._loaded_options = None
|
|
89
89
|
_globals['_GETCOSTRESPONSE'].fields_by_name['total_cost']._serialized_options = b'\272H\013\022\t)\000\000\000\000\000\000\000\000'
|
|
90
|
-
_globals['
|
|
91
|
-
_globals['
|
|
92
|
-
_globals['_COSTCONFIG'].fields_by_name['cost_type']._loaded_options = None
|
|
93
|
-
_globals['_COSTCONFIG'].fields_by_name['cost_type']._serialized_options = b'\272H\010\202\001\002\020\001\310\001\001'
|
|
94
|
-
_globals['_COSTCONFIG'].fields_by_name['unit']._loaded_options = None
|
|
95
|
-
_globals['_COSTCONFIG'].fields_by_name['unit']._serialized_options = b'\272H\007r\002\020\001\310\001\001'
|
|
96
|
-
_globals['_COSTCONFIG'].fields_by_name['rate']._loaded_options = None
|
|
97
|
-
_globals['_COSTCONFIG'].fields_by_name['rate']._serialized_options = b'\272H\016\022\t!\000\000\000\000\000\000\000\000\310\001\001'
|
|
98
|
-
_globals['_GETCOSTCONFIGREQUEST'].fields_by_name['setup_version_id']._loaded_options = None
|
|
99
|
-
_globals['_GETCOSTCONFIGREQUEST'].fields_by_name['setup_version_id']._serialized_options = b'\272H\030r\023\020\001:\017setup_versions:\310\001\001'
|
|
100
|
-
_globals['_SETCOSTCONFIGREQUEST'].fields_by_name['setup_version_id']._loaded_options = None
|
|
101
|
-
_globals['_SETCOSTCONFIGREQUEST'].fields_by_name['setup_version_id']._serialized_options = b'\272H\030r\023\020\001:\017setup_versions:\310\001\001'
|
|
102
|
-
_globals['_SETCOSTCONFIGREQUEST'].fields_by_name['configs']._loaded_options = None
|
|
103
|
-
_globals['_SETCOSTCONFIGREQUEST'].fields_by_name['configs']._serialized_options = b'\272H\003\310\001\001'
|
|
104
|
-
_globals['_COSTTYPE']._serialized_start=2464
|
|
105
|
-
_globals['_COSTTYPE']._serialized_end=2574
|
|
90
|
+
_globals['_COSTTYPE']._serialized_start=1790
|
|
91
|
+
_globals['_COSTTYPE']._serialized_end=1900
|
|
106
92
|
_globals['_COST']._serialized_start=105
|
|
107
93
|
_globals['_COST']._serialized_end=508
|
|
108
94
|
_globals['_ADDCOSTREQUEST']._serialized_start=511
|
|
@@ -119,14 +105,4 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
119
105
|
_globals['_GETCOSTREQUEST']._serialized_end=1663
|
|
120
106
|
_globals['_GETCOSTRESPONSE']._serialized_start=1665
|
|
121
107
|
_globals['_GETCOSTRESPONSE']._serialized_end=1788
|
|
122
|
-
_globals['_COSTCONFIG']._serialized_start=1791
|
|
123
|
-
_globals['_COSTCONFIG']._serialized_end=2023
|
|
124
|
-
_globals['_GETCOSTCONFIGREQUEST']._serialized_start=2025
|
|
125
|
-
_globals['_GETCOSTCONFIGREQUEST']._serialized_end=2118
|
|
126
|
-
_globals['_GETCOSTCONFIGRESPONSE']._serialized_start=2120
|
|
127
|
-
_globals['_GETCOSTCONFIGRESPONSE']._serialized_end=2238
|
|
128
|
-
_globals['_SETCOSTCONFIGREQUEST']._serialized_start=2241
|
|
129
|
-
_globals['_SETCOSTCONFIGREQUEST']._serialized_end=2411
|
|
130
|
-
_globals['_SETCOSTCONFIGRESPONSE']._serialized_start=2413
|
|
131
|
-
_globals['_SETCOSTCONFIGRESPONSE']._serialized_end=2462
|
|
132
108
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -118,45 +118,3 @@ class GetCostResponse(_message.Message):
|
|
|
118
118
|
costs: _containers.RepeatedCompositeFieldContainer[Cost]
|
|
119
119
|
total_cost: float
|
|
120
120
|
def __init__(self, costs: _Optional[_Iterable[_Union[Cost, _Mapping]]] = ..., total_cost: _Optional[float] = ...) -> None: ...
|
|
121
|
-
|
|
122
|
-
class CostConfig(_message.Message):
|
|
123
|
-
__slots__ = ()
|
|
124
|
-
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
125
|
-
COST_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
126
|
-
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
127
|
-
UNIT_FIELD_NUMBER: _ClassVar[int]
|
|
128
|
-
RATE_FIELD_NUMBER: _ClassVar[int]
|
|
129
|
-
name: str
|
|
130
|
-
cost_type: CostType
|
|
131
|
-
description: str
|
|
132
|
-
unit: str
|
|
133
|
-
rate: float
|
|
134
|
-
def __init__(self, name: _Optional[str] = ..., cost_type: _Optional[_Union[CostType, str]] = ..., description: _Optional[str] = ..., unit: _Optional[str] = ..., rate: _Optional[float] = ...) -> None: ...
|
|
135
|
-
|
|
136
|
-
class GetCostConfigRequest(_message.Message):
|
|
137
|
-
__slots__ = ()
|
|
138
|
-
SETUP_VERSION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
139
|
-
setup_version_id: str
|
|
140
|
-
def __init__(self, setup_version_id: _Optional[str] = ...) -> None: ...
|
|
141
|
-
|
|
142
|
-
class GetCostConfigResponse(_message.Message):
|
|
143
|
-
__slots__ = ()
|
|
144
|
-
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
145
|
-
CONFIGS_FIELD_NUMBER: _ClassVar[int]
|
|
146
|
-
success: bool
|
|
147
|
-
configs: _containers.RepeatedCompositeFieldContainer[CostConfig]
|
|
148
|
-
def __init__(self, success: _Optional[bool] = ..., configs: _Optional[_Iterable[_Union[CostConfig, _Mapping]]] = ...) -> None: ...
|
|
149
|
-
|
|
150
|
-
class SetCostConfigRequest(_message.Message):
|
|
151
|
-
__slots__ = ()
|
|
152
|
-
SETUP_VERSION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
153
|
-
CONFIGS_FIELD_NUMBER: _ClassVar[int]
|
|
154
|
-
setup_version_id: str
|
|
155
|
-
configs: _containers.RepeatedCompositeFieldContainer[CostConfig]
|
|
156
|
-
def __init__(self, setup_version_id: _Optional[str] = ..., configs: _Optional[_Iterable[_Union[CostConfig, _Mapping]]] = ...) -> None: ...
|
|
157
|
-
|
|
158
|
-
class SetCostConfigResponse(_message.Message):
|
|
159
|
-
__slots__ = ()
|
|
160
|
-
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
161
|
-
success: bool
|
|
162
|
-
def __init__(self, success: _Optional[bool] = ...) -> None: ...
|
|
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
|
|
|
25
25
|
from agentic_mesh_protocol.cost.v1 import cost_pb2 as agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0agentic_mesh_protocol/cost/v1/cost_service.proto\x12\x1d\x61gentic_mesh_protocol.cost.v1\x1a(agentic_mesh_protocol/cost/v1/cost.proto2\
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0agentic_mesh_protocol/cost/v1/cost_service.proto\x12\x1d\x61gentic_mesh_protocol.cost.v1\x1a(agentic_mesh_protocol/cost/v1/cost.proto2\xce\x02\n\x0b\x43ostService\x12h\n\x07\x41\x64\x64\x43ost\x12-.agentic_mesh_protocol.cost.v1.AddCostRequest\x1a..agentic_mesh_protocol.cost.v1.AddCostResponse\x12h\n\x07GetCost\x12-.agentic_mesh_protocol.cost.v1.GetCostRequest\x1a..agentic_mesh_protocol.cost.v1.GetCostResponse\x12k\n\x08GetCosts\x12..agentic_mesh_protocol.cost.v1.GetCostsRequest\x1a/.agentic_mesh_protocol.cost.v1.GetCostsResponseB\xc3\x01\n!com.agentic_mesh_protocol.cost.v1B\x10\x43ostServiceProtoP\x01\xa2\x02\x03\x41\x43X\xaa\x02\x1b\x41genticMeshProtocol.Cost.V1\xca\x02\x1b\x41genticMeshProtocol\\Cost\\V1\xe2\x02\'AgenticMeshProtocol\\Cost\\V1\\GPBMetadata\xea\x02\x1d\x41genticMeshProtocol::Cost::V1b\x06proto3')
|
|
29
29
|
|
|
30
30
|
_globals = globals()
|
|
31
31
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -34,5 +34,5 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
34
34
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
35
|
_globals['DESCRIPTOR']._serialized_options = b'\n!com.agentic_mesh_protocol.cost.v1B\020CostServiceProtoP\001\242\002\003ACX\252\002\033AgenticMeshProtocol.Cost.V1\312\002\033AgenticMeshProtocol\\Cost\\V1\342\002\'AgenticMeshProtocol\\Cost\\V1\\GPBMetadata\352\002\035AgenticMeshProtocol::Cost::V1'
|
|
36
36
|
_globals['_COSTSERVICE']._serialized_start=126
|
|
37
|
-
_globals['_COSTSERVICE']._serialized_end=
|
|
37
|
+
_globals['_COSTSERVICE']._serialized_end=460
|
|
38
38
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -30,16 +30,6 @@ class CostServiceStub(object):
|
|
|
30
30
|
request_serializer=agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.GetCostsRequest.SerializeToString,
|
|
31
31
|
response_deserializer=agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.GetCostsResponse.FromString,
|
|
32
32
|
_registered_method=True)
|
|
33
|
-
self.GetCostConfig = channel.unary_unary(
|
|
34
|
-
'/agentic_mesh_protocol.cost.v1.CostService/GetCostConfig',
|
|
35
|
-
request_serializer=agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.GetCostConfigRequest.SerializeToString,
|
|
36
|
-
response_deserializer=agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.GetCostConfigResponse.FromString,
|
|
37
|
-
_registered_method=True)
|
|
38
|
-
self.SetCostConfig = channel.unary_unary(
|
|
39
|
-
'/agentic_mesh_protocol.cost.v1.CostService/SetCostConfig',
|
|
40
|
-
request_serializer=agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.SetCostConfigRequest.SerializeToString,
|
|
41
|
-
response_deserializer=agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.SetCostConfigResponse.FromString,
|
|
42
|
-
_registered_method=True)
|
|
43
33
|
|
|
44
34
|
|
|
45
35
|
class CostServiceServicer(object):
|
|
@@ -61,21 +51,7 @@ class CostServiceServicer(object):
|
|
|
61
51
|
raise NotImplementedError('Method not implemented!')
|
|
62
52
|
|
|
63
53
|
def GetCosts(self, request, context):
|
|
64
|
-
"""GetCosts retrieves multiple cost entries with filtering and pagination.
|
|
65
|
-
"""
|
|
66
|
-
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
67
|
-
context.set_details('Method not implemented!')
|
|
68
|
-
raise NotImplementedError('Method not implemented!')
|
|
69
|
-
|
|
70
|
-
def GetCostConfig(self, request, context):
|
|
71
|
-
"""GetCostConfig retrieves cost configuration for a setup version.
|
|
72
|
-
"""
|
|
73
|
-
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
74
|
-
context.set_details('Method not implemented!')
|
|
75
|
-
raise NotImplementedError('Method not implemented!')
|
|
76
|
-
|
|
77
|
-
def SetCostConfig(self, request, context):
|
|
78
|
-
"""SetCostConfig stores cost configuration for a setup version.
|
|
54
|
+
"""GetCosts retrieves multiple cost entries with optional filtering and pagination.
|
|
79
55
|
"""
|
|
80
56
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
81
57
|
context.set_details('Method not implemented!')
|
|
@@ -99,16 +75,6 @@ def add_CostServiceServicer_to_server(servicer, server):
|
|
|
99
75
|
request_deserializer=agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.GetCostsRequest.FromString,
|
|
100
76
|
response_serializer=agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.GetCostsResponse.SerializeToString,
|
|
101
77
|
),
|
|
102
|
-
'GetCostConfig': grpc.unary_unary_rpc_method_handler(
|
|
103
|
-
servicer.GetCostConfig,
|
|
104
|
-
request_deserializer=agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.GetCostConfigRequest.FromString,
|
|
105
|
-
response_serializer=agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.GetCostConfigResponse.SerializeToString,
|
|
106
|
-
),
|
|
107
|
-
'SetCostConfig': grpc.unary_unary_rpc_method_handler(
|
|
108
|
-
servicer.SetCostConfig,
|
|
109
|
-
request_deserializer=agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.SetCostConfigRequest.FromString,
|
|
110
|
-
response_serializer=agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.SetCostConfigResponse.SerializeToString,
|
|
111
|
-
),
|
|
112
78
|
}
|
|
113
79
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
114
80
|
'agentic_mesh_protocol.cost.v1.CostService', rpc_method_handlers)
|
|
@@ -201,57 +167,3 @@ class CostService(object):
|
|
|
201
167
|
timeout,
|
|
202
168
|
metadata,
|
|
203
169
|
_registered_method=True)
|
|
204
|
-
|
|
205
|
-
@staticmethod
|
|
206
|
-
def GetCostConfig(request,
|
|
207
|
-
target,
|
|
208
|
-
options=(),
|
|
209
|
-
channel_credentials=None,
|
|
210
|
-
call_credentials=None,
|
|
211
|
-
insecure=False,
|
|
212
|
-
compression=None,
|
|
213
|
-
wait_for_ready=None,
|
|
214
|
-
timeout=None,
|
|
215
|
-
metadata=None):
|
|
216
|
-
return grpc.experimental.unary_unary(
|
|
217
|
-
request,
|
|
218
|
-
target,
|
|
219
|
-
'/agentic_mesh_protocol.cost.v1.CostService/GetCostConfig',
|
|
220
|
-
agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.GetCostConfigRequest.SerializeToString,
|
|
221
|
-
agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.GetCostConfigResponse.FromString,
|
|
222
|
-
options,
|
|
223
|
-
channel_credentials,
|
|
224
|
-
insecure,
|
|
225
|
-
call_credentials,
|
|
226
|
-
compression,
|
|
227
|
-
wait_for_ready,
|
|
228
|
-
timeout,
|
|
229
|
-
metadata,
|
|
230
|
-
_registered_method=True)
|
|
231
|
-
|
|
232
|
-
@staticmethod
|
|
233
|
-
def SetCostConfig(request,
|
|
234
|
-
target,
|
|
235
|
-
options=(),
|
|
236
|
-
channel_credentials=None,
|
|
237
|
-
call_credentials=None,
|
|
238
|
-
insecure=False,
|
|
239
|
-
compression=None,
|
|
240
|
-
wait_for_ready=None,
|
|
241
|
-
timeout=None,
|
|
242
|
-
metadata=None):
|
|
243
|
-
return grpc.experimental.unary_unary(
|
|
244
|
-
request,
|
|
245
|
-
target,
|
|
246
|
-
'/agentic_mesh_protocol.cost.v1.CostService/SetCostConfig',
|
|
247
|
-
agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.SetCostConfigRequest.SerializeToString,
|
|
248
|
-
agentic__mesh__protocol_dot_cost_dot_v1_dot_cost__pb2.SetCostConfigResponse.FromString,
|
|
249
|
-
options,
|
|
250
|
-
channel_credentials,
|
|
251
|
-
insecure,
|
|
252
|
-
call_credentials,
|
|
253
|
-
compression,
|
|
254
|
-
wait_for_ready,
|
|
255
|
-
timeout,
|
|
256
|
-
metadata,
|
|
257
|
-
_registered_method=True)
|
|
@@ -26,7 +26,7 @@ from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
|
|
|
26
26
|
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1agentic_mesh_protocol/module/v1/information.proto\x12\x1f\x61gentic_mesh_protocol.module.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1cgoogle/protobuf/struct.proto\"i\n\x15GetModuleInputRequest\x12\x31\n\tmodule_id\x18\x01 \x01(\tB\x14\xbaH\x11r\x0c\x10\x01:\x08modules:\xc8\x01\x01R\x08moduleId\x12\x1d\n\nllm_format\x18\x02 \x01(\x08R\tllmFormat\"j\n\x16GetModuleOutputRequest\x12\x31\n\tmodule_id\x18\x01 \x01(\tB\x14\xbaH\x11r\x0c\x10\x01:\x08modules:\xc8\x01\x01R\x08moduleId\x12\x1d\n\nllm_format\x18\x02 \x01(\x08R\tllmFormat\"i\n\x15GetModuleSetupRequest\x12\x31\n\tmodule_id\x18\x01 \x01(\tB\x14\xbaH\x11r\x0c\x10\x01:\x08modules:\xc8\x01\x01R\x08moduleId\x12\x1d\n\nllm_format\x18\x02 \x01(\x08R\tllmFormat\"j\n\x16GetModuleSecretRequest\x12\x31\n\tmodule_id\x18\x01 \x01(\tB\x14\xbaH\x11r\x0c\x10\x01:\x08modules:\xc8\x01\x01R\x08moduleId\x12\x1d\n\nllm_format\x18\x02 \x01(\x08R\tllmFormat\"v\n\x16GetModuleInputResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12\x42\n\x0cinput_schema\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x06\xbaH\x03\xc8\x01\x01R\x0binputSchema\"
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1agentic_mesh_protocol/module/v1/information.proto\x12\x1f\x61gentic_mesh_protocol.module.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1cgoogle/protobuf/struct.proto\"i\n\x15GetModuleInputRequest\x12\x31\n\tmodule_id\x18\x01 \x01(\tB\x14\xbaH\x11r\x0c\x10\x01:\x08modules:\xc8\x01\x01R\x08moduleId\x12\x1d\n\nllm_format\x18\x02 \x01(\x08R\tllmFormat\"P\n\x1bGetModuleSelectInputRequest\x12\x31\n\tmodule_id\x18\x01 \x01(\tB\x14\xbaH\x11r\x0c\x10\x01:\x08modules:\xc8\x01\x01R\x08moduleId\"j\n\x16GetModuleOutputRequest\x12\x31\n\tmodule_id\x18\x01 \x01(\tB\x14\xbaH\x11r\x0c\x10\x01:\x08modules:\xc8\x01\x01R\x08moduleId\x12\x1d\n\nllm_format\x18\x02 \x01(\x08R\tllmFormat\"i\n\x15GetModuleSetupRequest\x12\x31\n\tmodule_id\x18\x01 \x01(\tB\x14\xbaH\x11r\x0c\x10\x01:\x08modules:\xc8\x01\x01R\x08moduleId\x12\x1d\n\nllm_format\x18\x02 \x01(\x08R\tllmFormat\"j\n\x16GetModuleSecretRequest\x12\x31\n\tmodule_id\x18\x01 \x01(\tB\x14\xbaH\x11r\x0c\x10\x01:\x08modules:\xc8\x01\x01R\x08moduleId\x12\x1d\n\nllm_format\x18\x02 \x01(\x08R\tllmFormat\"v\n\x16GetModuleInputResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12\x42\n\x0cinput_schema\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x06\xbaH\x03\xc8\x01\x01R\x0binputSchema\"\x89\x01\n\x1cGetModuleSelectInputResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12O\n\x13select_input_schema\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x06\xbaH\x03\xc8\x01\x01R\x11selectInputSchema\"y\n\x17GetModuleOutputResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12\x44\n\routput_schema\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x06\xbaH\x03\xc8\x01\x01R\x0coutputSchema\"v\n\x16GetModuleSetupResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12\x42\n\x0csetup_schema\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x06\xbaH\x03\xc8\x01\x01R\x0bsetupSchema\"y\n\x17GetModuleSecretResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12\x44\n\rsecret_schema\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x06\xbaH\x03\xc8\x01\x01R\x0csecretSchema\"o\n\x1bGetConfigSetupModuleRequest\x12\x31\n\tmodule_id\x18\x01 \x01(\tB\x14\xbaH\x11r\x0c\x10\x01:\x08modules:\xc8\x01\x01R\x08moduleId\x12\x1d\n\nllm_format\x18\x02 \x01(\x08R\tllmFormat\"\x89\x01\n\x1cGetConfigSetupModuleResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success\x12O\n\x13\x63onfig_setup_schema\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x06\xbaH\x03\xc8\x01\x01R\x11\x63onfigSetupSchemaB\xcd\x01\n#com.agentic_mesh_protocol.module.v1B\x10InformationProtoP\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')
|
|
30
30
|
|
|
31
31
|
_globals = globals()
|
|
32
32
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -36,6 +36,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
36
36
|
_globals['DESCRIPTOR']._serialized_options = b'\n#com.agentic_mesh_protocol.module.v1B\020InformationProtoP\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'
|
|
37
37
|
_globals['_GETMODULEINPUTREQUEST'].fields_by_name['module_id']._loaded_options = None
|
|
38
38
|
_globals['_GETMODULEINPUTREQUEST'].fields_by_name['module_id']._serialized_options = b'\272H\021r\014\020\001:\010modules:\310\001\001'
|
|
39
|
+
_globals['_GETMODULESELECTINPUTREQUEST'].fields_by_name['module_id']._loaded_options = None
|
|
40
|
+
_globals['_GETMODULESELECTINPUTREQUEST'].fields_by_name['module_id']._serialized_options = b'\272H\021r\014\020\001:\010modules:\310\001\001'
|
|
39
41
|
_globals['_GETMODULEOUTPUTREQUEST'].fields_by_name['module_id']._loaded_options = None
|
|
40
42
|
_globals['_GETMODULEOUTPUTREQUEST'].fields_by_name['module_id']._serialized_options = b'\272H\021r\014\020\001:\010modules:\310\001\001'
|
|
41
43
|
_globals['_GETMODULESETUPREQUEST'].fields_by_name['module_id']._loaded_options = None
|
|
@@ -44,6 +46,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
44
46
|
_globals['_GETMODULESECRETREQUEST'].fields_by_name['module_id']._serialized_options = b'\272H\021r\014\020\001:\010modules:\310\001\001'
|
|
45
47
|
_globals['_GETMODULEINPUTRESPONSE'].fields_by_name['input_schema']._loaded_options = None
|
|
46
48
|
_globals['_GETMODULEINPUTRESPONSE'].fields_by_name['input_schema']._serialized_options = b'\272H\003\310\001\001'
|
|
49
|
+
_globals['_GETMODULESELECTINPUTRESPONSE'].fields_by_name['select_input_schema']._loaded_options = None
|
|
50
|
+
_globals['_GETMODULESELECTINPUTRESPONSE'].fields_by_name['select_input_schema']._serialized_options = b'\272H\003\310\001\001'
|
|
47
51
|
_globals['_GETMODULEOUTPUTRESPONSE'].fields_by_name['output_schema']._loaded_options = None
|
|
48
52
|
_globals['_GETMODULEOUTPUTRESPONSE'].fields_by_name['output_schema']._serialized_options = b'\272H\003\310\001\001'
|
|
49
53
|
_globals['_GETMODULESETUPRESPONSE'].fields_by_name['setup_schema']._loaded_options = None
|
|
@@ -54,32 +58,28 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
54
58
|
_globals['_GETCONFIGSETUPMODULEREQUEST'].fields_by_name['module_id']._serialized_options = b'\272H\021r\014\020\001:\010modules:\310\001\001'
|
|
55
59
|
_globals['_GETCONFIGSETUPMODULERESPONSE'].fields_by_name['config_setup_schema']._loaded_options = None
|
|
56
60
|
_globals['_GETCONFIGSETUPMODULERESPONSE'].fields_by_name['config_setup_schema']._serialized_options = b'\272H\003\310\001\001'
|
|
57
|
-
_globals['_GETMODULECOSTREQUEST'].fields_by_name['module_id']._loaded_options = None
|
|
58
|
-
_globals['_GETMODULECOSTREQUEST'].fields_by_name['module_id']._serialized_options = b'\272H\021r\014\020\001:\010modules:\310\001\001'
|
|
59
|
-
_globals['_GETMODULECOSTRESPONSE'].fields_by_name['cost_schema']._loaded_options = None
|
|
60
|
-
_globals['_GETMODULECOSTRESPONSE'].fields_by_name['cost_schema']._serialized_options = b'\272H\003\310\001\001'
|
|
61
61
|
_globals['_GETMODULEINPUTREQUEST']._serialized_start=145
|
|
62
62
|
_globals['_GETMODULEINPUTREQUEST']._serialized_end=250
|
|
63
|
-
_globals['
|
|
64
|
-
_globals['
|
|
65
|
-
_globals['
|
|
66
|
-
_globals['
|
|
67
|
-
_globals['
|
|
68
|
-
_globals['
|
|
69
|
-
_globals['
|
|
70
|
-
_globals['
|
|
71
|
-
_globals['
|
|
72
|
-
_globals['
|
|
73
|
-
_globals['
|
|
74
|
-
_globals['
|
|
75
|
-
_globals['
|
|
76
|
-
_globals['
|
|
77
|
-
_globals['
|
|
78
|
-
_globals['
|
|
79
|
-
_globals['
|
|
80
|
-
_globals['
|
|
81
|
-
_globals['
|
|
82
|
-
_globals['
|
|
83
|
-
_globals['
|
|
84
|
-
_globals['
|
|
63
|
+
_globals['_GETMODULESELECTINPUTREQUEST']._serialized_start=252
|
|
64
|
+
_globals['_GETMODULESELECTINPUTREQUEST']._serialized_end=332
|
|
65
|
+
_globals['_GETMODULEOUTPUTREQUEST']._serialized_start=334
|
|
66
|
+
_globals['_GETMODULEOUTPUTREQUEST']._serialized_end=440
|
|
67
|
+
_globals['_GETMODULESETUPREQUEST']._serialized_start=442
|
|
68
|
+
_globals['_GETMODULESETUPREQUEST']._serialized_end=547
|
|
69
|
+
_globals['_GETMODULESECRETREQUEST']._serialized_start=549
|
|
70
|
+
_globals['_GETMODULESECRETREQUEST']._serialized_end=655
|
|
71
|
+
_globals['_GETMODULEINPUTRESPONSE']._serialized_start=657
|
|
72
|
+
_globals['_GETMODULEINPUTRESPONSE']._serialized_end=775
|
|
73
|
+
_globals['_GETMODULESELECTINPUTRESPONSE']._serialized_start=778
|
|
74
|
+
_globals['_GETMODULESELECTINPUTRESPONSE']._serialized_end=915
|
|
75
|
+
_globals['_GETMODULEOUTPUTRESPONSE']._serialized_start=917
|
|
76
|
+
_globals['_GETMODULEOUTPUTRESPONSE']._serialized_end=1038
|
|
77
|
+
_globals['_GETMODULESETUPRESPONSE']._serialized_start=1040
|
|
78
|
+
_globals['_GETMODULESETUPRESPONSE']._serialized_end=1158
|
|
79
|
+
_globals['_GETMODULESECRETRESPONSE']._serialized_start=1160
|
|
80
|
+
_globals['_GETMODULESECRETRESPONSE']._serialized_end=1281
|
|
81
|
+
_globals['_GETCONFIGSETUPMODULEREQUEST']._serialized_start=1283
|
|
82
|
+
_globals['_GETCONFIGSETUPMODULEREQUEST']._serialized_end=1394
|
|
83
|
+
_globals['_GETCONFIGSETUPMODULERESPONSE']._serialized_start=1397
|
|
84
|
+
_globals['_GETCONFIGSETUPMODULERESPONSE']._serialized_end=1534
|
|
85
85
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -15,6 +15,12 @@ class GetModuleInputRequest(_message.Message):
|
|
|
15
15
|
llm_format: bool
|
|
16
16
|
def __init__(self, module_id: _Optional[str] = ..., llm_format: _Optional[bool] = ...) -> None: ...
|
|
17
17
|
|
|
18
|
+
class GetModuleSelectInputRequest(_message.Message):
|
|
19
|
+
__slots__ = ()
|
|
20
|
+
MODULE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
21
|
+
module_id: str
|
|
22
|
+
def __init__(self, module_id: _Optional[str] = ...) -> None: ...
|
|
23
|
+
|
|
18
24
|
class GetModuleOutputRequest(_message.Message):
|
|
19
25
|
__slots__ = ()
|
|
20
26
|
MODULE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -47,6 +53,14 @@ class GetModuleInputResponse(_message.Message):
|
|
|
47
53
|
input_schema: _struct_pb2.Struct
|
|
48
54
|
def __init__(self, success: _Optional[bool] = ..., input_schema: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...) -> None: ...
|
|
49
55
|
|
|
56
|
+
class GetModuleSelectInputResponse(_message.Message):
|
|
57
|
+
__slots__ = ()
|
|
58
|
+
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
59
|
+
SELECT_INPUT_SCHEMA_FIELD_NUMBER: _ClassVar[int]
|
|
60
|
+
success: bool
|
|
61
|
+
select_input_schema: _struct_pb2.Struct
|
|
62
|
+
def __init__(self, success: _Optional[bool] = ..., select_input_schema: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...) -> None: ...
|
|
63
|
+
|
|
50
64
|
class GetModuleOutputResponse(_message.Message):
|
|
51
65
|
__slots__ = ()
|
|
52
66
|
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -86,19 +100,3 @@ class GetConfigSetupModuleResponse(_message.Message):
|
|
|
86
100
|
success: bool
|
|
87
101
|
config_setup_schema: _struct_pb2.Struct
|
|
88
102
|
def __init__(self, success: _Optional[bool] = ..., config_setup_schema: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...) -> None: ...
|
|
89
|
-
|
|
90
|
-
class GetModuleCostRequest(_message.Message):
|
|
91
|
-
__slots__ = ()
|
|
92
|
-
MODULE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
93
|
-
LLM_FORMAT_FIELD_NUMBER: _ClassVar[int]
|
|
94
|
-
module_id: str
|
|
95
|
-
llm_format: bool
|
|
96
|
-
def __init__(self, module_id: _Optional[str] = ..., llm_format: _Optional[bool] = ...) -> None: ...
|
|
97
|
-
|
|
98
|
-
class GetModuleCostResponse(_message.Message):
|
|
99
|
-
__slots__ = ()
|
|
100
|
-
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
101
|
-
COST_SCHEMA_FIELD_NUMBER: _ClassVar[int]
|
|
102
|
-
success: bool
|
|
103
|
-
cost_schema: _struct_pb2.Struct
|
|
104
|
-
def __init__(self, success: _Optional[bool] = ..., cost_schema: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...) -> None: ...
|
|
@@ -27,7 +27,7 @@ from agentic_mesh_protocol.module.v1 import lifecycle_pb2 as agentic__mesh__prot
|
|
|
27
27
|
from agentic_mesh_protocol.module.v1 import monitoring_pb2 as agentic__mesh__protocol_dot_module_dot_v1_dot_monitoring__pb2
|
|
28
28
|
|
|
29
29
|
|
|
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.proto\x1a\x30\x61gentic_mesh_protocol/module/v1/monitoring.proto2\xc2\
|
|
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.proto\x1a\x30\x61gentic_mesh_protocol/module/v1/monitoring.proto2\xc2\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\x84\x01\n\x0fGetModuleStatus\x12\x37.agentic_mesh_protocol.module.v1.GetModuleStatusRequest\x1a\x38.agentic_mesh_protocol.module.v1.GetModuleStatusResponse\x12~\n\rGetModuleJobs\x12\x35.agentic_mesh_protocol.module.v1.GetModuleJobsRequest\x1a\x36.agentic_mesh_protocol.module.v1.GetModuleJobsResponse\x12\x81\x01\n\x0eGetModuleInput\x12\x36.agentic_mesh_protocol.module.v1.GetModuleInputRequest\x1a\x37.agentic_mesh_protocol.module.v1.GetModuleInputResponse\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.ConfigSetupModuleResponseB\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
31
|
|
|
32
32
|
_globals = globals()
|
|
33
33
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -36,5 +36,5 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
36
36
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
37
37
|
_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
38
|
_globals['_MODULESERVICE']._serialized_start=240
|
|
39
|
-
_globals['_MODULESERVICE']._serialized_end=
|
|
39
|
+
_globals['_MODULESERVICE']._serialized_end=1586
|
|
40
40
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -74,11 +74,6 @@ class ModuleServiceStub(object):
|
|
|
74
74
|
request_serializer=agentic__mesh__protocol_dot_module_dot_v1_dot_lifecycle__pb2.ConfigSetupModuleRequest.SerializeToString,
|
|
75
75
|
response_deserializer=agentic__mesh__protocol_dot_module_dot_v1_dot_lifecycle__pb2.ConfigSetupModuleResponse.FromString,
|
|
76
76
|
_registered_method=True)
|
|
77
|
-
self.GetModuleCost = channel.unary_unary(
|
|
78
|
-
'/agentic_mesh_protocol.module.v1.ModuleService/GetModuleCost',
|
|
79
|
-
request_serializer=agentic__mesh__protocol_dot_module_dot_v1_dot_information__pb2.GetModuleCostRequest.SerializeToString,
|
|
80
|
-
response_deserializer=agentic__mesh__protocol_dot_module_dot_v1_dot_information__pb2.GetModuleCostResponse.FromString,
|
|
81
|
-
_registered_method=True)
|
|
82
77
|
|
|
83
78
|
|
|
84
79
|
class ModuleServiceServicer(object):
|
|
@@ -162,13 +157,6 @@ class ModuleServiceServicer(object):
|
|
|
162
157
|
context.set_details('Method not implemented!')
|
|
163
158
|
raise NotImplementedError('Method not implemented!')
|
|
164
159
|
|
|
165
|
-
def GetModuleCost(self, request, context):
|
|
166
|
-
"""GetModuleCost
|
|
167
|
-
"""
|
|
168
|
-
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
169
|
-
context.set_details('Method not implemented!')
|
|
170
|
-
raise NotImplementedError('Method not implemented!')
|
|
171
|
-
|
|
172
160
|
|
|
173
161
|
def add_ModuleServiceServicer_to_server(servicer, server):
|
|
174
162
|
rpc_method_handlers = {
|
|
@@ -222,11 +210,6 @@ def add_ModuleServiceServicer_to_server(servicer, server):
|
|
|
222
210
|
request_deserializer=agentic__mesh__protocol_dot_module_dot_v1_dot_lifecycle__pb2.ConfigSetupModuleRequest.FromString,
|
|
223
211
|
response_serializer=agentic__mesh__protocol_dot_module_dot_v1_dot_lifecycle__pb2.ConfigSetupModuleResponse.SerializeToString,
|
|
224
212
|
),
|
|
225
|
-
'GetModuleCost': grpc.unary_unary_rpc_method_handler(
|
|
226
|
-
servicer.GetModuleCost,
|
|
227
|
-
request_deserializer=agentic__mesh__protocol_dot_module_dot_v1_dot_information__pb2.GetModuleCostRequest.FromString,
|
|
228
|
-
response_serializer=agentic__mesh__protocol_dot_module_dot_v1_dot_information__pb2.GetModuleCostResponse.SerializeToString,
|
|
229
|
-
),
|
|
230
213
|
}
|
|
231
214
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
232
215
|
'agentic_mesh_protocol.module.v1.ModuleService', rpc_method_handlers)
|
|
@@ -515,30 +498,3 @@ class ModuleService(object):
|
|
|
515
498
|
timeout,
|
|
516
499
|
metadata,
|
|
517
500
|
_registered_method=True)
|
|
518
|
-
|
|
519
|
-
@staticmethod
|
|
520
|
-
def GetModuleCost(request,
|
|
521
|
-
target,
|
|
522
|
-
options=(),
|
|
523
|
-
channel_credentials=None,
|
|
524
|
-
call_credentials=None,
|
|
525
|
-
insecure=False,
|
|
526
|
-
compression=None,
|
|
527
|
-
wait_for_ready=None,
|
|
528
|
-
timeout=None,
|
|
529
|
-
metadata=None):
|
|
530
|
-
return grpc.experimental.unary_unary(
|
|
531
|
-
request,
|
|
532
|
-
target,
|
|
533
|
-
'/agentic_mesh_protocol.module.v1.ModuleService/GetModuleCost',
|
|
534
|
-
agentic__mesh__protocol_dot_module_dot_v1_dot_information__pb2.GetModuleCostRequest.SerializeToString,
|
|
535
|
-
agentic__mesh__protocol_dot_module_dot_v1_dot_information__pb2.GetModuleCostResponse.FromString,
|
|
536
|
-
options,
|
|
537
|
-
channel_credentials,
|
|
538
|
-
insecure,
|
|
539
|
-
call_credentials,
|
|
540
|
-
compression,
|
|
541
|
-
wait_for_ready,
|
|
542
|
-
timeout,
|
|
543
|
-
metadata,
|
|
544
|
-
_registered_method=True)
|
{agentic_mesh_protocol-0.2.1.dev1.dist-info → agentic_mesh_protocol-0.2.1.dev2.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agentic-mesh-protocol
|
|
3
|
-
Version: 0.2.1.
|
|
3
|
+
Version: 0.2.1.dev2
|
|
4
4
|
Summary: Python gRPC interfaces for Agentic Mesh Protocol
|
|
5
5
|
Author-email: "DigitalKin.ai" <contact@digitalkin.ai>
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/DigitalKin-ai/service-apis-py/issues
|
{agentic_mesh_protocol-0.2.1.dev1.dist-info → agentic_mesh_protocol-0.2.1.dev2.dist-info}/RECORD
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
agentic_mesh_protocol/__init__.py,sha256=kAb731TxLudbtt2vZsebF7PP7Z8AaEDOp93TBgy6VUg,140
|
|
2
|
-
agentic_mesh_protocol/__version__.py,sha256=
|
|
2
|
+
agentic_mesh_protocol/__version__.py,sha256=UhbqMHvujwRuvTGR2PFSFFY831GIAxGtHrjeAuDTPSc,240
|
|
3
3
|
agentic_mesh_protocol/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
agentic_mesh_protocol/cost/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
agentic_mesh_protocol/cost/v1/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
|
-
agentic_mesh_protocol/cost/v1/cost_pb2.py,sha256=
|
|
7
|
-
agentic_mesh_protocol/cost/v1/cost_pb2.pyi,sha256=
|
|
6
|
+
agentic_mesh_protocol/cost/v1/cost_pb2.py,sha256=UXDD78r4e87v-okEJ05jkTjCsfkP9HTS685-coaThug,11894
|
|
7
|
+
agentic_mesh_protocol/cost/v1/cost_pb2.pyi,sha256=t_kgA-5Bxyb-4whNfaQMnTM3q3sSJ8xhOZtv_gK7Ofg,4981
|
|
8
8
|
agentic_mesh_protocol/cost/v1/cost_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
9
|
-
agentic_mesh_protocol/cost/v1/cost_service_pb2.py,sha256=
|
|
9
|
+
agentic_mesh_protocol/cost/v1/cost_service_pb2.py,sha256=TeR-kpBaxA7mjXgyomxJ2XdiIJ5fH4PJ6JxRJEHwbL0,2517
|
|
10
10
|
agentic_mesh_protocol/cost/v1/cost_service_pb2.pyi,sha256=ITirNKgTrFESUMKsF1GD1apOfYffRh5gsMU6F3343F4,199
|
|
11
|
-
agentic_mesh_protocol/cost/v1/cost_service_pb2_grpc.py,sha256=
|
|
11
|
+
agentic_mesh_protocol/cost/v1/cost_service_pb2_grpc.py,sha256=GbeFMKBd0idmlNnpMUmp4mFOMqAuheyf4EYfYWJtbnU,7077
|
|
12
12
|
agentic_mesh_protocol/filesystem/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
13
13
|
agentic_mesh_protocol/filesystem/v1/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
14
|
agentic_mesh_protocol/filesystem/v1/filesystem_pb2.py,sha256=lWWuVynDnEIo81vcT0y0fRLCdU2WhdWGDMp5gVdIm3Q,20326
|
|
@@ -19,15 +19,15 @@ agentic_mesh_protocol/filesystem/v1/filesystem_service_pb2.pyi,sha256=1D3gG1Fel8
|
|
|
19
19
|
agentic_mesh_protocol/filesystem/v1/filesystem_service_pb2_grpc.py,sha256=2sRBcn83n4xsvAvZjQp2rBLShUllaeo5VWV3rsF_OXg,12689
|
|
20
20
|
agentic_mesh_protocol/module/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
21
21
|
agentic_mesh_protocol/module/v1/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
22
|
-
agentic_mesh_protocol/module/v1/information_pb2.py,sha256=
|
|
23
|
-
agentic_mesh_protocol/module/v1/information_pb2.pyi,sha256=
|
|
22
|
+
agentic_mesh_protocol/module/v1/information_pb2.py,sha256=5jKr5g-4Lkxg7FgjYT3D4skSD0aw_zfy2zKbprQ1wN4,8588
|
|
23
|
+
agentic_mesh_protocol/module/v1/information_pb2.pyi,sha256=WRDEegbKLHh5finqXIeEpzK14L8q-bHvUFlcifrHKqk,4226
|
|
24
24
|
agentic_mesh_protocol/module/v1/information_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
25
25
|
agentic_mesh_protocol/module/v1/lifecycle_pb2.py,sha256=LT6wgcIW0fN-CZCfQ80zR-jIo7KzKrWB5xFOckWrEeM,6519
|
|
26
26
|
agentic_mesh_protocol/module/v1/lifecycle_pb2.pyi,sha256=TxJXdrSTW1YFzEvehLzi7z1HISodX0h96qE521dJ1rU,2611
|
|
27
27
|
agentic_mesh_protocol/module/v1/lifecycle_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
28
|
-
agentic_mesh_protocol/module/v1/module_service_pb2.py,sha256=
|
|
28
|
+
agentic_mesh_protocol/module/v1/module_service_pb2.py,sha256=SJ3ecdTi1MDXh00D6NAxfPE4QUsq53WN_cTpTThwnAw,4125
|
|
29
29
|
agentic_mesh_protocol/module/v1/module_service_pb2.pyi,sha256=Tvwq5limL5Bye5PKiQWUAxC1NKrCxmW_fQc_Qqyh_uU,369
|
|
30
|
-
agentic_mesh_protocol/module/v1/module_service_pb2_grpc.py,sha256=
|
|
30
|
+
agentic_mesh_protocol/module/v1/module_service_pb2_grpc.py,sha256=p7K3cDbNZDwDAwCGQXWcFwzQ5sATc7Ap3niyYw9otFc,24000
|
|
31
31
|
agentic_mesh_protocol/module/v1/monitoring_pb2.py,sha256=RXu6JWWWF-FuHuC0vyk-vqgY_omlLvN8MGe6qsvdZdI,4965
|
|
32
32
|
agentic_mesh_protocol/module/v1/monitoring_pb2.pyi,sha256=PUS-CmxQgDy458SRjJbx140T2DmeybyR_sBIo4u5FsE,2643
|
|
33
33
|
agentic_mesh_protocol/module/v1/monitoring_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
@@ -86,13 +86,13 @@ agentic_mesh_protocol/user_profile/v1/user_profile_pb2_grpc.py,sha256=1oboBPFxaT
|
|
|
86
86
|
agentic_mesh_protocol/user_profile/v1/user_profile_service_pb2.py,sha256=qurdZOyq40MhilDNSFRlAqJPxE7n4TiBoxXoo6PgzXA,2503
|
|
87
87
|
agentic_mesh_protocol/user_profile/v1/user_profile_service_pb2.pyi,sha256=bYDO6_YCbjKbajOXMcjaWIljSqrtazhaHnAG_ovmsGE,223
|
|
88
88
|
agentic_mesh_protocol/user_profile/v1/user_profile_service_pb2_grpc.py,sha256=ZM4LGHSHGnpNbbW6Q8pp6gdlbFIxPjD5CqASmD7ow7M,3388
|
|
89
|
-
agentic_mesh_protocol-0.2.1.
|
|
89
|
+
agentic_mesh_protocol-0.2.1.dev2.dist-info/licenses/LICENSE,sha256=kKsbCnqWVbrrSHAf6NV4-fI3Sdgt9xycjiijGloDW8g,20757
|
|
90
90
|
buf/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
91
91
|
buf/validate/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
92
92
|
buf/validate/validate_pb2.py,sha256=HFAayUV64KiIENS-1rkSYHaECy9FH6JwdWrRpFN2fvc,158582
|
|
93
93
|
buf/validate/validate_pb2.pyi,sha256=Nki0jMViS5u5iVrHcGyl5ZfUK5YLxZE5McpCp7pXXEU,30537
|
|
94
94
|
buf/validate/validate_pb2_grpc.py,sha256=1oboBPFxaTEXt9Aw7EAj8gXHDCNMhZD2VXqocC9l_gk,159
|
|
95
|
-
agentic_mesh_protocol-0.2.1.
|
|
96
|
-
agentic_mesh_protocol-0.2.1.
|
|
97
|
-
agentic_mesh_protocol-0.2.1.
|
|
98
|
-
agentic_mesh_protocol-0.2.1.
|
|
95
|
+
agentic_mesh_protocol-0.2.1.dev2.dist-info/METADATA,sha256=9_tgAWr4WfM0GvEaVAprVCDTWud2HGwuFVv_hjpjhyc,4775
|
|
96
|
+
agentic_mesh_protocol-0.2.1.dev2.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
97
|
+
agentic_mesh_protocol-0.2.1.dev2.dist-info/top_level.txt,sha256=LfSggOPp9FyZa2A__3lnBvgaoamSOtYDwv0jfI5ZGrE,26
|
|
98
|
+
agentic_mesh_protocol-0.2.1.dev2.dist-info/RECORD,,
|
{agentic_mesh_protocol-0.2.1.dev1.dist-info → agentic_mesh_protocol-0.2.1.dev2.dist-info}/WHEEL
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|