agentic-mesh-protocol 1.0.0.dev0__py3-none-any.whl → 1.0.0.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.
Files changed (52) hide show
  1. agentic_mesh_protocol/__version__.py +1 -1
  2. agentic_mesh_protocol/cost/v1/cost_service_pb2_grpc.py +2 -2
  3. agentic_mesh_protocol/filesystem/v1/filesystem_service_pb2_grpc.py +2 -7
  4. agentic_mesh_protocol/gateway/v1/gateway_pb2.py +21 -66
  5. agentic_mesh_protocol/gateway/v1/gateway_pb2.pyi +27 -161
  6. agentic_mesh_protocol/gateway/v1/gateway_service_pb2.py +2 -2
  7. agentic_mesh_protocol/gateway/v1/gateway_service_pb2_grpc.py +48 -92
  8. agentic_mesh_protocol/module/v1/module_service_pb2.py +3 -4
  9. agentic_mesh_protocol/module/v1/module_service_pb2.pyi +0 -1
  10. agentic_mesh_protocol/module/v1/module_service_pb2_grpc.py +0 -89
  11. agentic_mesh_protocol/module/v1/monitoring_pb2.py +3 -17
  12. agentic_mesh_protocol/module/v1/monitoring_pb2.pyi +0 -30
  13. agentic_mesh_protocol/registry/v1/registry_requests_pb2.py +10 -14
  14. agentic_mesh_protocol/registry/v1/registry_service_pb2_grpc.py +1 -1
  15. agentic_mesh_protocol/setup/v1/setup_service_pb2_grpc.py +8 -8
  16. agentic_mesh_protocol/storage/v1/data_pb2.py +1 -1
  17. agentic_mesh_protocol/storage/v1/storage_service_pb2_grpc.py +2 -2
  18. {agentic_mesh_protocol-1.0.0.dev0.dist-info → agentic_mesh_protocol-1.0.0.dev2.dist-info}/METADATA +5 -3
  19. {agentic_mesh_protocol-1.0.0.dev0.dist-info → agentic_mesh_protocol-1.0.0.dev2.dist-info}/RECORD +24 -52
  20. buf/validate/validate_pb2.py +217 -213
  21. buf/validate/validate_pb2.pyi +5 -1
  22. agentic_mesh_protocol/module_registry/__init__.py +0 -0
  23. agentic_mesh_protocol/module_registry/v1/__init__.py +0 -0
  24. agentic_mesh_protocol/module_registry/v1/discover_pb2.py +0 -63
  25. agentic_mesh_protocol/module_registry/v1/discover_pb2.pyi +0 -49
  26. agentic_mesh_protocol/module_registry/v1/discover_pb2_grpc.py +0 -4
  27. agentic_mesh_protocol/module_registry/v1/metadata_pb2.py +0 -46
  28. agentic_mesh_protocol/module_registry/v1/metadata_pb2.pyi +0 -24
  29. agentic_mesh_protocol/module_registry/v1/metadata_pb2_grpc.py +0 -4
  30. agentic_mesh_protocol/module_registry/v1/module_registry_service_pb2.py +0 -40
  31. agentic_mesh_protocol/module_registry/v1/module_registry_service_pb2.pyi +0 -7
  32. agentic_mesh_protocol/module_registry/v1/module_registry_service_pb2_grpc.py +0 -406
  33. agentic_mesh_protocol/module_registry/v1/registration_pb2.py +0 -57
  34. agentic_mesh_protocol/module_registry/v1/registration_pb2.pyi +0 -42
  35. agentic_mesh_protocol/module_registry/v1/registration_pb2_grpc.py +0 -4
  36. agentic_mesh_protocol/module_registry/v1/status_pb2.py +0 -58
  37. agentic_mesh_protocol/module_registry/v1/status_pb2.pyi +0 -70
  38. agentic_mesh_protocol/module_registry/v1/status_pb2_grpc.py +0 -4
  39. agentic_mesh_protocol/task_manager/__init__.py +0 -0
  40. agentic_mesh_protocol/task_manager/v1/__init__.py +0 -0
  41. agentic_mesh_protocol/task_manager/v1/task_manager_dto_pb2.py +0 -65
  42. agentic_mesh_protocol/task_manager/v1/task_manager_dto_pb2.pyi +0 -49
  43. agentic_mesh_protocol/task_manager/v1/task_manager_dto_pb2_grpc.py +0 -4
  44. agentic_mesh_protocol/task_manager/v1/task_manager_message_pb2.py +0 -54
  45. agentic_mesh_protocol/task_manager/v1/task_manager_message_pb2.pyi +0 -33
  46. agentic_mesh_protocol/task_manager/v1/task_manager_message_pb2_grpc.py +0 -4
  47. agentic_mesh_protocol/task_manager/v1/task_manager_service_pb2.py +0 -38
  48. agentic_mesh_protocol/task_manager/v1/task_manager_service_pb2.pyi +0 -5
  49. agentic_mesh_protocol/task_manager/v1/task_manager_service_pb2_grpc.py +0 -172
  50. {agentic_mesh_protocol-1.0.0.dev0.dist-info → agentic_mesh_protocol-1.0.0.dev2.dist-info}/WHEEL +0 -0
  51. {agentic_mesh_protocol-1.0.0.dev0.dist-info → agentic_mesh_protocol-1.0.0.dev2.dist-info}/licenses/LICENSE +0 -0
  52. {agentic_mesh_protocol-1.0.0.dev0.dist-info → agentic_mesh_protocol-1.0.0.dev2.dist-info}/top_level.txt +0 -0
@@ -5,4 +5,4 @@ from importlib.metadata import PackageNotFoundError, version
5
5
  try:
6
6
  __version__ = version("agentic-mesh-protocol")
7
7
  except PackageNotFoundError:
8
- __version__ = "1.0.0.dev0"
8
+ __version__ = "1.0.0.dev2"
@@ -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 retrieves cost entries by name within a mission.
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 retrieves multiple cost entries with filtering and pagination.
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 fetches detailed information about a single file,
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 provides efficient retrieval of multiple files using
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!')
@@ -24,10 +24,9 @@ _sym_db = _symbol_database.Default()
24
24
 
25
25
  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
- from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
28
27
 
29
28
 
30
- 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\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd2\x01\n\x12StartStreamRequest\x12\x1f\n\x07task_id\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x06taskId\x12\x35\n\x05input\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x06\xbaH\x03\xc8\x01\x01R\x05input\x12.\n\x08setup_id\x18\x03 \x01(\tB\x13\xbaH\x10r\x0b\x10\x01:\x07setups:\xc8\x01\x01R\x07setupId\x12\x34\n\nmission_id\x18\x04 \x01(\tB\x15\xbaH\x12r\r\x10\x01:\tmissions:\xc8\x01\x01R\tmissionId\"J\n\x13StartStreamResponse\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12\x1a\n\x08\x61\x63\x63\x65pted\x18\x02 \x01(\x08R\x08\x61\x63\x63\x65pted\"\xbd\x01\n\x14ProduceStreamRequest\x12I\n\x04init\x18\x01 \x01(\x0b\x32\x33.agentic_mesh_protocol.gateway.v1.ProduceStreamInitH\x00R\x04init\x12O\n\x06output\x18\x02 \x01(\x0b\x32\x35.agentic_mesh_protocol.gateway.v1.ProduceStreamOutputH\x00R\x06outputB\t\n\x07payload\"4\n\x11ProduceStreamInit\x12\x1f\n\x07task_id\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x06taskId\"c\n\x13ProduceStreamOutput\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12\x33\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x06\xbaH\x03\xc8\x01\x01R\x04\x64\x61ta\"\xb7\x01\n\x15ProduceStreamResponse\x12I\n\x04\x64\x61ta\x18\x01 \x01(\x0b\x32\x33.agentic_mesh_protocol.gateway.v1.ProduceStreamDataH\x00R\x04\x64\x61ta\x12H\n\x06status\x18\x02 \x01(\x0b\x32..agentic_mesh_protocol.gateway.v1.StreamStatusH\x00R\x06statusB\t\n\x07payload\"Y\n\x11ProduceStreamData\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12+\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructR\x04\x64\x61ta\"\xb7\x01\n\x14\x43onsumeStreamRequest\x12I\n\x04init\x18\x01 \x01(\x0b\x32\x33.agentic_mesh_protocol.gateway.v1.ConsumeStreamInitH\x00R\x04init\x12I\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x33.agentic_mesh_protocol.gateway.v1.ConsumeStreamDataH\x00R\x04\x64\x61taB\t\n\x07payload\"O\n\x11\x43onsumeStreamInit\x12\x1f\n\x07task_id\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x06taskId\x12\x19\n\x08\x66rom_seq\x18\x02 \x01(\x04R\x07\x66romSeq\"a\n\x11\x43onsumeStreamData\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12\x33\n\x04\x64\x61ta\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructB\x06\xbaH\x03\xc8\x01\x01R\x04\x64\x61ta\"\xca\x02\n\x0fGatewayResponse\x12H\n\x06output\x18\x01 \x01(\x0b\x32..agentic_mesh_protocol.gateway.v1.StreamOutputH\x00R\x06output\x12H\n\x06status\x18\x02 \x01(\x0b\x32..agentic_mesh_protocol.gateway.v1.StreamStatusH\x00R\x06status\x12\x45\n\x05\x65rror\x18\x03 \x01(\x0b\x32-.agentic_mesh_protocol.gateway.v1.StreamErrorH\x00R\x05\x65rror\x12Q\n\theartbeat\x18\x04 \x01(\x0b\x32\x31.agentic_mesh_protocol.gateway.v1.ServerHeartbeatH\x00R\theartbeatB\t\n\x07payload\"\x86\x01\n\x13\x43lientSignalRequest\x12\x1f\n\x07task_id\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\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\"\xbf\x01\n\x0cStreamOutput\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12\x15\n\x06job_id\x18\x02 \x01(\tR\x05jobId\x12\x33\n\x04\x64\x61ta\x18\x03 \x01(\x0b\x32\x17.google.protobuf.StructB\x06\xbaH\x03\xc8\x01\x01R\x04\x64\x61ta\x12\x10\n\x03seq\x18\x04 \x01(\x04R\x03seq\x12\x38\n\ttimestamp\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ttimestamp\"\xae\x01\n\x0cStreamStatus\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12\x15\n\x06job_id\x18\x02 \x01(\tR\x05jobId\x12\x43\n\x05state\x18\x03 \x01(\x0e\x32-.agentic_mesh_protocol.gateway.v1.StreamStateR\x05state\x12\x1d\n\x07message\x18\x04 \x01(\tH\x00R\x07message\x88\x01\x01\x42\n\n\x08_message\"{\n\x0bStreamError\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12\x1a\n\x06job_id\x18\x02 \x01(\tH\x00R\x05jobId\x88\x01\x01\x12\x12\n\x04\x63ode\x18\x03 \x01(\x05R\x04\x63ode\x12\x18\n\x07message\x18\x04 \x01(\tR\x07messageB\t\n\x07_job_id\"d\n\x0fServerHeartbeat\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\x12\x38\n\ttimestamp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ttimestamp\"\xf9\x02\n\nCheckpoint\x12\x1f\n\x07task_id\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x06taskId\x12\x32\n\nmission_id\x18\x02 \x01(\tB\x13\xbaH\x10r\x0b:\tmissions:\xc8\x01\x01R\tmissionId\x12,\n\x08setup_id\x18\x03 \x01(\tB\x11\xbaH\x0er\t:\x07setups:\xc8\x01\x01R\x07setupId\x12\x43\n\x10setup_version_id\x18\x04 \x01(\tB\x19\xbaH\x16r\x11:\x0fsetup_versions:\xc8\x01\x01R\x0esetupVersionId\x12\x16\n\x06status\x18\x05 \x01(\tR\x06status\x12\x19\n\x08last_seq\x18\x06 \x01(\x04R\x07lastSeq\x12-\n\x05state\x18\x07 \x01(\x0b\x32\x17.google.protobuf.StructR\x05state\x12\x41\n\ncreated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x06\xbaH\x03\xc8\x01\x01R\tcreatedAt*`\n\x0cSignalAction\x12\x1d\n\x19SIGNAL_ACTION_UNSPECIFIED\x10\x00\x12\x18\n\x14SIGNAL_ACTION_CANCEL\x10\x01\x12\x17\n\x13SIGNAL_ACTION_PAUSE\x10\x02*\xe6\x01\n\x0bStreamState\x12\x1c\n\x18STREAM_STATE_UNSPECIFIED\x10\x00\x12\x19\n\x15STREAM_STATE_STARTING\x10\x01\x12\x18\n\x14STREAM_STATE_RUNNING\x10\x02\x12\x18\n\x14STREAM_STATE_PAUSING\x10\x03\x12\x19\n\x15STREAM_STATE_STOPPING\x10\x04\x12\x1a\n\x16STREAM_STATE_COMPLETED\x10\x05\x12\x17\n\x13STREAM_STATE_FAILED\x10\x06\x12\x1a\n\x16STREAM_STATE_CANCELLED\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')
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')
31
30
 
32
31
  _globals = globals()
33
32
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -37,74 +36,30 @@ if not _descriptor._USE_C_DESCRIPTORS:
37
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'
38
37
  _globals['_STARTSTREAMREQUEST'].fields_by_name['task_id']._loaded_options = None
39
38
  _globals['_STARTSTREAMREQUEST'].fields_by_name['task_id']._serialized_options = b'\272H\003\310\001\001'
40
- _globals['_STARTSTREAMREQUEST'].fields_by_name['input']._loaded_options = None
41
- _globals['_STARTSTREAMREQUEST'].fields_by_name['input']._serialized_options = b'\272H\003\310\001\001'
42
39
  _globals['_STARTSTREAMREQUEST'].fields_by_name['setup_id']._loaded_options = None
43
40
  _globals['_STARTSTREAMREQUEST'].fields_by_name['setup_id']._serialized_options = b'\272H\020r\013\020\001:\007setups:\310\001\001'
44
41
  _globals['_STARTSTREAMREQUEST'].fields_by_name['mission_id']._loaded_options = None
45
42
  _globals['_STARTSTREAMREQUEST'].fields_by_name['mission_id']._serialized_options = b'\272H\022r\r\020\001:\tmissions:\310\001\001'
46
- _globals['_PRODUCESTREAMINIT'].fields_by_name['task_id']._loaded_options = None
47
- _globals['_PRODUCESTREAMINIT'].fields_by_name['task_id']._serialized_options = b'\272H\003\310\001\001'
48
- _globals['_PRODUCESTREAMOUTPUT'].fields_by_name['data']._loaded_options = None
49
- _globals['_PRODUCESTREAMOUTPUT'].fields_by_name['data']._serialized_options = b'\272H\003\310\001\001'
50
- _globals['_CONSUMESTREAMINIT'].fields_by_name['task_id']._loaded_options = None
51
- _globals['_CONSUMESTREAMINIT'].fields_by_name['task_id']._serialized_options = b'\272H\003\310\001\001'
52
- _globals['_CONSUMESTREAMDATA'].fields_by_name['data']._loaded_options = None
53
- _globals['_CONSUMESTREAMDATA'].fields_by_name['data']._serialized_options = b'\272H\003\310\001\001'
54
- _globals['_CLIENTSIGNALREQUEST'].fields_by_name['task_id']._loaded_options = None
55
- _globals['_CLIENTSIGNALREQUEST'].fields_by_name['task_id']._serialized_options = b'\272H\003\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'
56
49
  _globals['_CLIENTSIGNALREQUEST'].fields_by_name['action']._loaded_options = None
57
50
  _globals['_CLIENTSIGNALREQUEST'].fields_by_name['action']._serialized_options = b'\272H\003\310\001\001'
58
- _globals['_STREAMOUTPUT'].fields_by_name['data']._loaded_options = None
59
- _globals['_STREAMOUTPUT'].fields_by_name['data']._serialized_options = b'\272H\003\310\001\001'
60
- _globals['_CHECKPOINT'].fields_by_name['task_id']._loaded_options = None
61
- _globals['_CHECKPOINT'].fields_by_name['task_id']._serialized_options = b'\272H\003\310\001\001'
62
- _globals['_CHECKPOINT'].fields_by_name['mission_id']._loaded_options = None
63
- _globals['_CHECKPOINT'].fields_by_name['mission_id']._serialized_options = b'\272H\020r\013:\tmissions:\310\001\001'
64
- _globals['_CHECKPOINT'].fields_by_name['setup_id']._loaded_options = None
65
- _globals['_CHECKPOINT'].fields_by_name['setup_id']._serialized_options = b'\272H\016r\t:\007setups:\310\001\001'
66
- _globals['_CHECKPOINT'].fields_by_name['setup_version_id']._loaded_options = None
67
- _globals['_CHECKPOINT'].fields_by_name['setup_version_id']._serialized_options = b'\272H\026r\021:\017setup_versions:\310\001\001'
68
- _globals['_CHECKPOINT'].fields_by_name['created_at']._loaded_options = None
69
- _globals['_CHECKPOINT'].fields_by_name['created_at']._serialized_options = b'\272H\003\310\001\001'
70
- _globals['_SIGNALACTION']._serialized_start=2978
71
- _globals['_SIGNALACTION']._serialized_end=3074
72
- _globals['_STREAMSTATE']._serialized_start=3077
73
- _globals['_STREAMSTATE']._serialized_end=3307
74
- _globals['_STARTSTREAMREQUEST']._serialized_start=177
75
- _globals['_STARTSTREAMREQUEST']._serialized_end=387
76
- _globals['_STARTSTREAMRESPONSE']._serialized_start=389
77
- _globals['_STARTSTREAMRESPONSE']._serialized_end=463
78
- _globals['_PRODUCESTREAMREQUEST']._serialized_start=466
79
- _globals['_PRODUCESTREAMREQUEST']._serialized_end=655
80
- _globals['_PRODUCESTREAMINIT']._serialized_start=657
81
- _globals['_PRODUCESTREAMINIT']._serialized_end=709
82
- _globals['_PRODUCESTREAMOUTPUT']._serialized_start=711
83
- _globals['_PRODUCESTREAMOUTPUT']._serialized_end=810
84
- _globals['_PRODUCESTREAMRESPONSE']._serialized_start=813
85
- _globals['_PRODUCESTREAMRESPONSE']._serialized_end=996
86
- _globals['_PRODUCESTREAMDATA']._serialized_start=998
87
- _globals['_PRODUCESTREAMDATA']._serialized_end=1087
88
- _globals['_CONSUMESTREAMREQUEST']._serialized_start=1090
89
- _globals['_CONSUMESTREAMREQUEST']._serialized_end=1273
90
- _globals['_CONSUMESTREAMINIT']._serialized_start=1275
91
- _globals['_CONSUMESTREAMINIT']._serialized_end=1354
92
- _globals['_CONSUMESTREAMDATA']._serialized_start=1356
93
- _globals['_CONSUMESTREAMDATA']._serialized_end=1453
94
- _globals['_GATEWAYRESPONSE']._serialized_start=1456
95
- _globals['_GATEWAYRESPONSE']._serialized_end=1786
96
- _globals['_CLIENTSIGNALREQUEST']._serialized_start=1789
97
- _globals['_CLIENTSIGNALREQUEST']._serialized_end=1923
98
- _globals['_CLIENTSIGNALRESPONSE']._serialized_start=1925
99
- _globals['_CLIENTSIGNALRESPONSE']._serialized_end=1998
100
- _globals['_STREAMOUTPUT']._serialized_start=2001
101
- _globals['_STREAMOUTPUT']._serialized_end=2192
102
- _globals['_STREAMSTATUS']._serialized_start=2195
103
- _globals['_STREAMSTATUS']._serialized_end=2369
104
- _globals['_STREAMERROR']._serialized_start=2371
105
- _globals['_STREAMERROR']._serialized_end=2494
106
- _globals['_SERVERHEARTBEAT']._serialized_start=2496
107
- _globals['_SERVERHEARTBEAT']._serialized_end=2596
108
- _globals['_CHECKPOINT']._serialized_start=2599
109
- _globals['_CHECKPOINT']._serialized_end=2976
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
110
65
  # @@protoc_insertion_point(module_scope)
@@ -1,8 +1,5 @@
1
- import datetime
2
-
3
1
  from buf.validate import validate_pb2 as _validate_pb2
4
2
  from google.protobuf import struct_pb2 as _struct_pb2
5
- from google.protobuf import timestamp_pb2 as _timestamp_pb2
6
3
  from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
7
4
  from google.protobuf import descriptor as _descriptor
8
5
  from google.protobuf import message as _message
@@ -13,125 +10,60 @@ DESCRIPTOR: _descriptor.FileDescriptor
13
10
 
14
11
  class SignalAction(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
15
12
  __slots__ = ()
16
- SIGNAL_ACTION_UNSPECIFIED: _ClassVar[SignalAction]
17
- SIGNAL_ACTION_CANCEL: _ClassVar[SignalAction]
18
- SIGNAL_ACTION_PAUSE: _ClassVar[SignalAction]
19
-
20
- class StreamState(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
21
- __slots__ = ()
22
- STREAM_STATE_UNSPECIFIED: _ClassVar[StreamState]
23
- STREAM_STATE_STARTING: _ClassVar[StreamState]
24
- STREAM_STATE_RUNNING: _ClassVar[StreamState]
25
- STREAM_STATE_PAUSING: _ClassVar[StreamState]
26
- STREAM_STATE_STOPPING: _ClassVar[StreamState]
27
- STREAM_STATE_COMPLETED: _ClassVar[StreamState]
28
- STREAM_STATE_FAILED: _ClassVar[StreamState]
29
- STREAM_STATE_CANCELLED: _ClassVar[StreamState]
30
- SIGNAL_ACTION_UNSPECIFIED: SignalAction
31
- SIGNAL_ACTION_CANCEL: SignalAction
32
- SIGNAL_ACTION_PAUSE: SignalAction
33
- STREAM_STATE_UNSPECIFIED: StreamState
34
- STREAM_STATE_STARTING: StreamState
35
- STREAM_STATE_RUNNING: StreamState
36
- STREAM_STATE_PAUSING: StreamState
37
- STREAM_STATE_STOPPING: StreamState
38
- STREAM_STATE_COMPLETED: StreamState
39
- STREAM_STATE_FAILED: StreamState
40
- STREAM_STATE_CANCELLED: StreamState
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
41
29
 
42
30
  class StartStreamRequest(_message.Message):
43
31
  __slots__ = ()
44
32
  TASK_ID_FIELD_NUMBER: _ClassVar[int]
45
- INPUT_FIELD_NUMBER: _ClassVar[int]
46
33
  SETUP_ID_FIELD_NUMBER: _ClassVar[int]
47
34
  MISSION_ID_FIELD_NUMBER: _ClassVar[int]
48
35
  task_id: str
49
- input: _struct_pb2.Struct
50
36
  setup_id: str
51
37
  mission_id: str
52
- def __init__(self, task_id: _Optional[str] = ..., input: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., setup_id: _Optional[str] = ..., mission_id: _Optional[str] = ...) -> None: ...
38
+ def __init__(self, task_id: _Optional[str] = ..., setup_id: _Optional[str] = ..., mission_id: _Optional[str] = ...) -> None: ...
53
39
 
54
40
  class StartStreamResponse(_message.Message):
55
41
  __slots__ = ()
56
- TASK_ID_FIELD_NUMBER: _ClassVar[int]
57
42
  ACCEPTED_FIELD_NUMBER: _ClassVar[int]
58
- task_id: str
59
- accepted: bool
60
- def __init__(self, task_id: _Optional[str] = ..., accepted: _Optional[bool] = ...) -> None: ...
61
-
62
- class ProduceStreamRequest(_message.Message):
63
- __slots__ = ()
64
- INIT_FIELD_NUMBER: _ClassVar[int]
65
- OUTPUT_FIELD_NUMBER: _ClassVar[int]
66
- init: ProduceStreamInit
67
- output: ProduceStreamOutput
68
- def __init__(self, init: _Optional[_Union[ProduceStreamInit, _Mapping]] = ..., output: _Optional[_Union[ProduceStreamOutput, _Mapping]] = ...) -> None: ...
69
-
70
- class ProduceStreamInit(_message.Message):
71
- __slots__ = ()
72
- TASK_ID_FIELD_NUMBER: _ClassVar[int]
73
- task_id: str
74
- def __init__(self, task_id: _Optional[str] = ...) -> None: ...
75
-
76
- class ProduceStreamOutput(_message.Message):
77
- __slots__ = ()
78
43
  TASK_ID_FIELD_NUMBER: _ClassVar[int]
79
- DATA_FIELD_NUMBER: _ClassVar[int]
44
+ accepted: bool
80
45
  task_id: str
81
- data: _struct_pb2.Struct
82
- def __init__(self, task_id: _Optional[str] = ..., data: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...) -> None: ...
83
-
84
- class ProduceStreamResponse(_message.Message):
85
- __slots__ = ()
86
- DATA_FIELD_NUMBER: _ClassVar[int]
87
- STATUS_FIELD_NUMBER: _ClassVar[int]
88
- data: ProduceStreamData
89
- status: StreamStatus
90
- def __init__(self, data: _Optional[_Union[ProduceStreamData, _Mapping]] = ..., status: _Optional[_Union[StreamStatus, _Mapping]] = ...) -> None: ...
46
+ def __init__(self, accepted: _Optional[bool] = ..., task_id: _Optional[str] = ...) -> None: ...
91
47
 
92
- class ProduceStreamData(_message.Message):
48
+ class StreamClient(_message.Message):
93
49
  __slots__ = ()
50
+ FROM_SEQ_FIELD_NUMBER: _ClassVar[int]
94
51
  TASK_ID_FIELD_NUMBER: _ClassVar[int]
95
52
  DATA_FIELD_NUMBER: _ClassVar[int]
53
+ from_seq: int
96
54
  task_id: str
97
55
  data: _struct_pb2.Struct
98
- def __init__(self, task_id: _Optional[str] = ..., data: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...) -> None: ...
99
-
100
- class ConsumeStreamRequest(_message.Message):
101
- __slots__ = ()
102
- INIT_FIELD_NUMBER: _ClassVar[int]
103
- DATA_FIELD_NUMBER: _ClassVar[int]
104
- init: ConsumeStreamInit
105
- data: ConsumeStreamData
106
- def __init__(self, init: _Optional[_Union[ConsumeStreamInit, _Mapping]] = ..., data: _Optional[_Union[ConsumeStreamData, _Mapping]] = ...) -> None: ...
107
-
108
- class ConsumeStreamInit(_message.Message):
109
- __slots__ = ()
110
- TASK_ID_FIELD_NUMBER: _ClassVar[int]
111
- FROM_SEQ_FIELD_NUMBER: _ClassVar[int]
112
- task_id: str
113
- from_seq: int
114
- def __init__(self, task_id: _Optional[str] = ..., from_seq: _Optional[int] = ...) -> None: ...
56
+ def __init__(self, from_seq: _Optional[int] = ..., task_id: _Optional[str] = ..., data: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...) -> None: ...
115
57
 
116
- class ConsumeStreamData(_message.Message):
58
+ class StreamServer(_message.Message):
117
59
  __slots__ = ()
60
+ SEQ_FIELD_NUMBER: _ClassVar[int]
118
61
  TASK_ID_FIELD_NUMBER: _ClassVar[int]
119
62
  DATA_FIELD_NUMBER: _ClassVar[int]
63
+ seq: int
120
64
  task_id: str
121
65
  data: _struct_pb2.Struct
122
- def __init__(self, task_id: _Optional[str] = ..., data: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...) -> None: ...
123
-
124
- class GatewayResponse(_message.Message):
125
- __slots__ = ()
126
- OUTPUT_FIELD_NUMBER: _ClassVar[int]
127
- STATUS_FIELD_NUMBER: _ClassVar[int]
128
- ERROR_FIELD_NUMBER: _ClassVar[int]
129
- HEARTBEAT_FIELD_NUMBER: _ClassVar[int]
130
- output: StreamOutput
131
- status: StreamStatus
132
- error: StreamError
133
- heartbeat: ServerHeartbeat
134
- def __init__(self, output: _Optional[_Union[StreamOutput, _Mapping]] = ..., status: _Optional[_Union[StreamStatus, _Mapping]] = ..., error: _Optional[_Union[StreamError, _Mapping]] = ..., heartbeat: _Optional[_Union[ServerHeartbeat, _Mapping]] = ...) -> None: ...
66
+ def __init__(self, seq: _Optional[int] = ..., task_id: _Optional[str] = ..., data: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...) -> None: ...
135
67
 
136
68
  class ClientSignalRequest(_message.Message):
137
69
  __slots__ = ()
@@ -148,69 +80,3 @@ class ClientSignalResponse(_message.Message):
148
80
  success: bool
149
81
  task_id: str
150
82
  def __init__(self, success: _Optional[bool] = ..., task_id: _Optional[str] = ...) -> None: ...
151
-
152
- class StreamOutput(_message.Message):
153
- __slots__ = ()
154
- TASK_ID_FIELD_NUMBER: _ClassVar[int]
155
- JOB_ID_FIELD_NUMBER: _ClassVar[int]
156
- DATA_FIELD_NUMBER: _ClassVar[int]
157
- SEQ_FIELD_NUMBER: _ClassVar[int]
158
- TIMESTAMP_FIELD_NUMBER: _ClassVar[int]
159
- task_id: str
160
- job_id: str
161
- data: _struct_pb2.Struct
162
- seq: int
163
- timestamp: _timestamp_pb2.Timestamp
164
- def __init__(self, task_id: _Optional[str] = ..., job_id: _Optional[str] = ..., data: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., seq: _Optional[int] = ..., timestamp: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
165
-
166
- class StreamStatus(_message.Message):
167
- __slots__ = ()
168
- TASK_ID_FIELD_NUMBER: _ClassVar[int]
169
- JOB_ID_FIELD_NUMBER: _ClassVar[int]
170
- STATE_FIELD_NUMBER: _ClassVar[int]
171
- MESSAGE_FIELD_NUMBER: _ClassVar[int]
172
- task_id: str
173
- job_id: str
174
- state: StreamState
175
- message: str
176
- def __init__(self, task_id: _Optional[str] = ..., job_id: _Optional[str] = ..., state: _Optional[_Union[StreamState, str]] = ..., message: _Optional[str] = ...) -> None: ...
177
-
178
- class StreamError(_message.Message):
179
- __slots__ = ()
180
- TASK_ID_FIELD_NUMBER: _ClassVar[int]
181
- JOB_ID_FIELD_NUMBER: _ClassVar[int]
182
- CODE_FIELD_NUMBER: _ClassVar[int]
183
- MESSAGE_FIELD_NUMBER: _ClassVar[int]
184
- task_id: str
185
- job_id: str
186
- code: int
187
- message: str
188
- def __init__(self, task_id: _Optional[str] = ..., job_id: _Optional[str] = ..., code: _Optional[int] = ..., message: _Optional[str] = ...) -> None: ...
189
-
190
- class ServerHeartbeat(_message.Message):
191
- __slots__ = ()
192
- TASK_ID_FIELD_NUMBER: _ClassVar[int]
193
- TIMESTAMP_FIELD_NUMBER: _ClassVar[int]
194
- task_id: str
195
- timestamp: _timestamp_pb2.Timestamp
196
- def __init__(self, task_id: _Optional[str] = ..., timestamp: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
197
-
198
- class Checkpoint(_message.Message):
199
- __slots__ = ()
200
- TASK_ID_FIELD_NUMBER: _ClassVar[int]
201
- MISSION_ID_FIELD_NUMBER: _ClassVar[int]
202
- SETUP_ID_FIELD_NUMBER: _ClassVar[int]
203
- SETUP_VERSION_ID_FIELD_NUMBER: _ClassVar[int]
204
- STATUS_FIELD_NUMBER: _ClassVar[int]
205
- LAST_SEQ_FIELD_NUMBER: _ClassVar[int]
206
- STATE_FIELD_NUMBER: _ClassVar[int]
207
- CREATED_AT_FIELD_NUMBER: _ClassVar[int]
208
- task_id: str
209
- mission_id: str
210
- setup_id: str
211
- setup_version_id: str
212
- status: str
213
- last_seq: int
214
- state: _struct_pb2.Struct
215
- created_at: _timestamp_pb2.Timestamp
216
- def __init__(self, task_id: _Optional[str] = ..., mission_id: _Optional[str] = ..., setup_id: _Optional[str] = ..., setup_version_id: _Optional[str] = ..., status: _Optional[str] = ..., last_seq: _Optional[int] = ..., state: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., created_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
25
25
  from agentic_mesh_protocol.gateway.v1 import gateway_pb2 as agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2
26
26
 
27
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\x90\x04\n\x0eGatewayService\x12z\n\x0bStartStream\x12\x34.agentic_mesh_protocol.gateway.v1.StartStreamRequest\x1a\x35.agentic_mesh_protocol.gateway.v1.StartStreamResponse\x12\x84\x01\n\rProduceStream\x12\x36.agentic_mesh_protocol.gateway.v1.ProduceStreamRequest\x1a\x37.agentic_mesh_protocol.gateway.v1.ProduceStreamResponse(\x01\x30\x01\x12~\n\rConsumeStream\x12\x36.agentic_mesh_protocol.gateway.v1.ConsumeStreamRequest\x1a\x31.agentic_mesh_protocol.gateway.v1.GatewayResponse(\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')
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.StreamServer\x1a..agentic_mesh_protocol.gateway.v1.StreamClient(\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
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.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
36
  _globals['_GATEWAYSERVICE']._serialized_start=141
37
- _globals['_GATEWAYSERVICE']._serialized_end=669
37
+ _globals['_GATEWAYSERVICE']._serialized_end=516
38
38
  # @@protoc_insertion_point(module_scope)
@@ -7,16 +7,12 @@ from agentic_mesh_protocol.gateway.v1 import gateway_pb2 as agentic__mesh__proto
7
7
 
8
8
  class GatewayServiceStub(object):
9
9
  """GatewayService
10
- Central broker for module-to-module communication with full isolation.
11
- Modules only talk to the Gateway + Redis never to each other directly.
10
+ External surface for consumers of a producer module.
11
+ The Gateway exposes only what external clients need:
12
12
 
13
- Flow:
14
- 1. Module B StartStream Gateway routes to Module A → ACK
15
- 2. Module A ProduceStream (BiDi) → Gateway → output to Redis
16
- 3. Module B → ConsumeStream (BiDi) → Gateway → reads from Redis, sends data back
17
- 4. SendSignal → Redis pub/sub → Module A (out of band)
18
-
19
- Gateway injects ModuleStartInfo as first entry in the Redis output stream.
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_*)
20
16
  """
21
17
 
22
18
  def __init__(self, channel):
@@ -30,15 +26,10 @@ class GatewayServiceStub(object):
30
26
  request_serializer=agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2.StartStreamRequest.SerializeToString,
31
27
  response_deserializer=agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2.StartStreamResponse.FromString,
32
28
  _registered_method=True)
33
- self.ProduceStream = channel.stream_stream(
34
- '/agentic_mesh_protocol.gateway.v1.GatewayService/ProduceStream',
35
- request_serializer=agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2.ProduceStreamRequest.SerializeToString,
36
- response_deserializer=agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2.ProduceStreamResponse.FromString,
37
- _registered_method=True)
38
- self.ConsumeStream = channel.stream_stream(
39
- '/agentic_mesh_protocol.gateway.v1.GatewayService/ConsumeStream',
40
- request_serializer=agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2.ConsumeStreamRequest.SerializeToString,
41
- response_deserializer=agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2.GatewayResponse.FromString,
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.StreamServer.SerializeToString,
32
+ response_deserializer=agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2.StreamClient.FromString,
42
33
  _registered_method=True)
43
34
  self.SendSignal = channel.unary_unary(
44
35
  '/agentic_mesh_protocol.gateway.v1.GatewayService/SendSignal',
@@ -49,46 +40,47 @@ class GatewayServiceStub(object):
49
40
 
50
41
  class GatewayServiceServicer(object):
51
42
  """GatewayService
52
- Central broker for module-to-module communication with full isolation.
53
- Modules only talk to the Gateway + Redis never to each other directly.
54
-
55
- Flow:
56
- 1. Module B → StartStream → Gateway routes to Module A → ACK
57
- 2. Module A → ProduceStream (BiDi) → Gateway → output to Redis
58
- 3. Module B → ConsumeStream (BiDi) → Gateway → reads from Redis, sends data back
59
- 4. SendSignal → Redis pub/sub → Module A (out of band)
43
+ External surface for consumers of a producer module.
44
+ The Gateway exposes only what external clients need:
60
45
 
61
- Gateway injects ModuleStartInfo as first entry in the Redis output stream.
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_*)
62
49
  """
63
50
 
64
51
  def StartStream(self, request, context):
65
- """StartStream: Module B requests execution of Module A.
66
- Returns ACK + task_id immediately. Module A starts in background.
52
+ """StartStream: register a task and dispatch the producer via Redis.
53
+ Returns ACK + task_id; output flows over Stream.
67
54
  """
68
55
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
69
56
  context.set_details('Method not implemented!')
70
57
  raise NotImplementedError('Method not implemented!')
71
58
 
72
- def ProduceStream(self, request_iterator, context):
73
- """ProduceStream: Module A connects BiDi to send output and receive input.
74
- Module A sends output chunks. Gateway persists to Redis Streams.
75
- Gateway can forward Module B's data to Module A via this stream.
76
- """
77
- context.set_code(grpc.StatusCode.UNIMPLEMENTED)
78
- context.set_details('Method not implemented!')
79
- raise NotImplementedError('Method not implemented!')
80
-
81
- def ConsumeStream(self, request_iterator, context):
82
- """ConsumeStream: Module B connects BiDi to read output and send data.
83
- Gateway reads Module A's output from Redis Streams and forwards to B.
84
- Module B can send data which Gateway persists to Redis for Module A.
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.
85
77
  """
86
78
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
87
79
  context.set_details('Method not implemented!')
88
80
  raise NotImplementedError('Method not implemented!')
89
81
 
90
82
  def SendSignal(self, request, context):
91
- """SendSignal: Control signal (cancel, pause) delivered via Redis pub/sub.
83
+ """SendSignal: out-of-band control
92
84
  """
93
85
  context.set_code(grpc.StatusCode.UNIMPLEMENTED)
94
86
  context.set_details('Method not implemented!')
@@ -102,15 +94,10 @@ def add_GatewayServiceServicer_to_server(servicer, server):
102
94
  request_deserializer=agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2.StartStreamRequest.FromString,
103
95
  response_serializer=agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2.StartStreamResponse.SerializeToString,
104
96
  ),
105
- 'ProduceStream': grpc.stream_stream_rpc_method_handler(
106
- servicer.ProduceStream,
107
- request_deserializer=agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2.ProduceStreamRequest.FromString,
108
- response_serializer=agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2.ProduceStreamResponse.SerializeToString,
109
- ),
110
- 'ConsumeStream': grpc.stream_stream_rpc_method_handler(
111
- servicer.ConsumeStream,
112
- request_deserializer=agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2.ConsumeStreamRequest.FromString,
113
- response_serializer=agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2.GatewayResponse.SerializeToString,
97
+ 'Stream': grpc.stream_stream_rpc_method_handler(
98
+ servicer.Stream,
99
+ request_deserializer=agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2.StreamServer.FromString,
100
+ response_serializer=agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2.StreamClient.SerializeToString,
114
101
  ),
115
102
  'SendSignal': grpc.unary_unary_rpc_method_handler(
116
103
  servicer.SendSignal,
@@ -127,16 +114,12 @@ def add_GatewayServiceServicer_to_server(servicer, server):
127
114
  # This class is part of an EXPERIMENTAL API.
128
115
  class GatewayService(object):
129
116
  """GatewayService
130
- Central broker for module-to-module communication with full isolation.
131
- Modules only talk to the Gateway + Redis never to each other directly.
117
+ External surface for consumers of a producer module.
118
+ The Gateway exposes only what external clients need:
132
119
 
133
- Flow:
134
- 1. Module B StartStream Gateway routes to Module A → ACK
135
- 2. Module A ProduceStream (BiDi) → Gateway → output to Redis
136
- 3. Module B → ConsumeStream (BiDi) → Gateway → reads from Redis, sends data back
137
- 4. SendSignal → Redis pub/sub → Module A (out of band)
138
-
139
- Gateway injects ModuleStartInfo as first entry in the Redis output stream.
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_*)
140
123
  """
141
124
 
142
125
  @staticmethod
@@ -167,34 +150,7 @@ class GatewayService(object):
167
150
  _registered_method=True)
168
151
 
169
152
  @staticmethod
170
- def ProduceStream(request_iterator,
171
- target,
172
- options=(),
173
- channel_credentials=None,
174
- call_credentials=None,
175
- insecure=False,
176
- compression=None,
177
- wait_for_ready=None,
178
- timeout=None,
179
- metadata=None):
180
- return grpc.experimental.stream_stream(
181
- request_iterator,
182
- target,
183
- '/agentic_mesh_protocol.gateway.v1.GatewayService/ProduceStream',
184
- agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2.ProduceStreamRequest.SerializeToString,
185
- agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2.ProduceStreamResponse.FromString,
186
- options,
187
- channel_credentials,
188
- insecure,
189
- call_credentials,
190
- compression,
191
- wait_for_ready,
192
- timeout,
193
- metadata,
194
- _registered_method=True)
195
-
196
- @staticmethod
197
- def ConsumeStream(request_iterator,
153
+ def Stream(request_iterator,
198
154
  target,
199
155
  options=(),
200
156
  channel_credentials=None,
@@ -207,9 +163,9 @@ class GatewayService(object):
207
163
  return grpc.experimental.stream_stream(
208
164
  request_iterator,
209
165
  target,
210
- '/agentic_mesh_protocol.gateway.v1.GatewayService/ConsumeStream',
211
- agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2.ConsumeStreamRequest.SerializeToString,
212
- agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2.GatewayResponse.FromString,
166
+ '/agentic_mesh_protocol.gateway.v1.GatewayService/Stream',
167
+ agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2.StreamServer.SerializeToString,
168
+ agentic__mesh__protocol_dot_gateway_dot_v1_dot_gateway__pb2.StreamClient.FromString,
213
169
  options,
214
170
  channel_credentials,
215
171
  insecure,