macp-proto 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. macp_proto-0.1.0/PKG-INFO +43 -0
  2. macp_proto-0.1.0/README.md +26 -0
  3. macp_proto-0.1.0/pyproject.toml +32 -0
  4. macp_proto-0.1.0/setup.cfg +4 -0
  5. macp_proto-0.1.0/src/macp/__init__.py +0 -0
  6. macp_proto-0.1.0/src/macp/modes/__init__.py +0 -0
  7. macp_proto-0.1.0/src/macp/modes/decision/__init__.py +0 -0
  8. macp_proto-0.1.0/src/macp/modes/decision/v1/__init__.py +0 -0
  9. macp_proto-0.1.0/src/macp/modes/decision/v1/decision_pb2.py +42 -0
  10. macp_proto-0.1.0/src/macp/modes/decision/v1/decision_pb2_grpc.py +24 -0
  11. macp_proto-0.1.0/src/macp/modes/handoff/__init__.py +0 -0
  12. macp_proto-0.1.0/src/macp/modes/handoff/v1/__init__.py +0 -0
  13. macp_proto-0.1.0/src/macp/modes/handoff/v1/handoff_pb2.py +42 -0
  14. macp_proto-0.1.0/src/macp/modes/handoff/v1/handoff_pb2_grpc.py +24 -0
  15. macp_proto-0.1.0/src/macp/modes/proposal/__init__.py +0 -0
  16. macp_proto-0.1.0/src/macp/modes/proposal/v1/__init__.py +0 -0
  17. macp_proto-0.1.0/src/macp/modes/proposal/v1/proposal_pb2.py +44 -0
  18. macp_proto-0.1.0/src/macp/modes/proposal/v1/proposal_pb2_grpc.py +24 -0
  19. macp_proto-0.1.0/src/macp/modes/quorum/__init__.py +0 -0
  20. macp_proto-0.1.0/src/macp/modes/quorum/v1/__init__.py +0 -0
  21. macp_proto-0.1.0/src/macp/modes/quorum/v1/quorum_pb2.py +42 -0
  22. macp_proto-0.1.0/src/macp/modes/quorum/v1/quorum_pb2_grpc.py +24 -0
  23. macp_proto-0.1.0/src/macp/modes/task/__init__.py +0 -0
  24. macp_proto-0.1.0/src/macp/modes/task/v1/__init__.py +0 -0
  25. macp_proto-0.1.0/src/macp/modes/task/v1/task_pb2.py +46 -0
  26. macp_proto-0.1.0/src/macp/modes/task/v1/task_pb2_grpc.py +24 -0
  27. macp_proto-0.1.0/src/macp/v1/__init__.py +0 -0
  28. macp_proto-0.1.0/src/macp/v1/core_pb2.py +160 -0
  29. macp_proto-0.1.0/src/macp/v1/core_pb2_grpc.py +918 -0
  30. macp_proto-0.1.0/src/macp/v1/envelope_pb2.py +42 -0
  31. macp_proto-0.1.0/src/macp/v1/envelope_pb2_grpc.py +24 -0
  32. macp_proto-0.1.0/src/macp/v1/policy_pb2.py +58 -0
  33. macp_proto-0.1.0/src/macp/v1/policy_pb2_grpc.py +24 -0
  34. macp_proto-0.1.0/src/macp_proto.egg-info/PKG-INFO +43 -0
  35. macp_proto-0.1.0/src/macp_proto.egg-info/SOURCES.txt +36 -0
  36. macp_proto-0.1.0/src/macp_proto.egg-info/dependency_links.txt +1 -0
  37. macp_proto-0.1.0/src/macp_proto.egg-info/requires.txt +2 -0
  38. macp_proto-0.1.0/src/macp_proto.egg-info/top_level.txt +1 -0
@@ -0,0 +1,43 @@
1
+ Metadata-Version: 2.4
2
+ Name: macp-proto
3
+ Version: 0.1.0
4
+ Summary: Pre-generated Python protobuf bindings for the Multi-Agent Coordination Protocol (MACP)
5
+ License: Apache-2.0
6
+ Classifier: Development Status :: 3 - Alpha
7
+ Classifier: Intended Audience :: Developers
8
+ Classifier: License :: OSI Approved :: Apache Software License
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Programming Language :: Python :: 3.11
11
+ Classifier: Programming Language :: Python :: 3.12
12
+ Classifier: Programming Language :: Python :: 3.13
13
+ Requires-Python: >=3.11
14
+ Description-Content-Type: text/markdown
15
+ Requires-Dist: grpcio>=1.74.0
16
+ Requires-Dist: protobuf>=5.27.0
17
+
18
+ # macp-proto
19
+
20
+ Pre-generated Python protobuf and gRPC bindings for the [Multi-Agent Coordination Protocol (MACP)](https://github.com/multiagentcoordinationprotocol/multiagentcoordinationprotocol).
21
+
22
+ ## Installation
23
+
24
+ ```bash
25
+ pip install macp-proto
26
+ ```
27
+
28
+ ## Usage
29
+
30
+ ```python
31
+ from macp.v1 import core_pb2, envelope_pb2, policy_pb2
32
+ from macp.modes.decision.v1 import decision_pb2
33
+ from macp.modes.proposal.v1 import proposal_pb2
34
+ from macp.modes.task.v1 import task_pb2
35
+ from macp.modes.handoff.v1 import handoff_pb2
36
+ from macp.modes.quorum.v1 import quorum_pb2
37
+ ```
38
+
39
+ ## Versioning
40
+
41
+ This package version tracks the proto schema version from the spec repo.
42
+ Pin to a specific version range (e.g., `macp-proto>=0.1.0,<1.0.0`) to avoid
43
+ unexpected breaking changes when new proto versions are released.
@@ -0,0 +1,26 @@
1
+ # macp-proto
2
+
3
+ Pre-generated Python protobuf and gRPC bindings for the [Multi-Agent Coordination Protocol (MACP)](https://github.com/multiagentcoordinationprotocol/multiagentcoordinationprotocol).
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ pip install macp-proto
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```python
14
+ from macp.v1 import core_pb2, envelope_pb2, policy_pb2
15
+ from macp.modes.decision.v1 import decision_pb2
16
+ from macp.modes.proposal.v1 import proposal_pb2
17
+ from macp.modes.task.v1 import task_pb2
18
+ from macp.modes.handoff.v1 import handoff_pb2
19
+ from macp.modes.quorum.v1 import quorum_pb2
20
+ ```
21
+
22
+ ## Versioning
23
+
24
+ This package version tracks the proto schema version from the spec repo.
25
+ Pin to a specific version range (e.g., `macp-proto>=0.1.0,<1.0.0`) to avoid
26
+ unexpected breaking changes when new proto versions are released.
@@ -0,0 +1,32 @@
1
+ [build-system]
2
+ requires = ["setuptools>=68", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "macp-proto"
7
+ version = "0.1.0"
8
+ description = "Pre-generated Python protobuf bindings for the Multi-Agent Coordination Protocol (MACP)"
9
+ readme = "README.md"
10
+ requires-python = ">=3.11"
11
+ license = {text = "Apache-2.0"}
12
+ classifiers = [
13
+ "Development Status :: 3 - Alpha",
14
+ "Intended Audience :: Developers",
15
+ "License :: OSI Approved :: Apache Software License",
16
+ "Programming Language :: Python :: 3",
17
+ "Programming Language :: Python :: 3.11",
18
+ "Programming Language :: Python :: 3.12",
19
+ "Programming Language :: Python :: 3.13",
20
+ ]
21
+ dependencies = [
22
+ "grpcio>=1.74.0",
23
+ "protobuf>=5.27.0",
24
+ ]
25
+
26
+ [tool.setuptools]
27
+ package-dir = {"" = "src"}
28
+ include-package-data = true
29
+
30
+ [tool.setuptools.packages.find]
31
+ where = ["src"]
32
+ include = ["macp*"]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
File without changes
File without changes
File without changes
@@ -0,0 +1,42 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: macp/modes/decision/v1/decision.proto
5
+ # Protobuf Python Version: 6.31.1
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 31,
16
+ 1,
17
+ '',
18
+ 'macp/modes/decision/v1/decision.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+
26
+
27
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%macp/modes/decision/v1/decision.proto\x12\x16macp.modes.decision.v1\"b\n\x0fProposalPayload\x12\x13\n\x0bproposal_id\x18\x01 \x01(\t\x12\x0e\n\x06option\x18\x02 \x01(\t\x12\x11\n\trationale\x18\x03 \x01(\t\x12\x17\n\x0fsupporting_data\x18\x04 \x01(\x0c\"d\n\x11\x45valuationPayload\x12\x13\n\x0bproposal_id\x18\x01 \x01(\t\x12\x16\n\x0erecommendation\x18\x02 \x01(\t\x12\x12\n\nconfidence\x18\x03 \x01(\x01\x12\x0e\n\x06reason\x18\x04 \x01(\t\"I\n\x10ObjectionPayload\x12\x13\n\x0bproposal_id\x18\x01 \x01(\t\x12\x0e\n\x06reason\x18\x02 \x01(\t\x12\x10\n\x08severity\x18\x03 \x01(\t\"@\n\x0bVotePayload\x12\x13\n\x0bproposal_id\x18\x01 \x01(\t\x12\x0c\n\x04vote\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\tb\x06proto3')
28
+
29
+ _globals = globals()
30
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
31
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'macp.modes.decision.v1.decision_pb2', _globals)
32
+ if not _descriptor._USE_C_DESCRIPTORS:
33
+ DESCRIPTOR._loaded_options = None
34
+ _globals['_PROPOSALPAYLOAD']._serialized_start=65
35
+ _globals['_PROPOSALPAYLOAD']._serialized_end=163
36
+ _globals['_EVALUATIONPAYLOAD']._serialized_start=165
37
+ _globals['_EVALUATIONPAYLOAD']._serialized_end=265
38
+ _globals['_OBJECTIONPAYLOAD']._serialized_start=267
39
+ _globals['_OBJECTIONPAYLOAD']._serialized_end=340
40
+ _globals['_VOTEPAYLOAD']._serialized_start=342
41
+ _globals['_VOTEPAYLOAD']._serialized_end=406
42
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,24 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+ import warnings
5
+
6
+
7
+ GRPC_GENERATED_VERSION = '1.80.0'
8
+ GRPC_VERSION = grpc.__version__
9
+ _version_not_supported = False
10
+
11
+ try:
12
+ from grpc._utilities import first_version_is_lower
13
+ _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
14
+ except ImportError:
15
+ _version_not_supported = True
16
+
17
+ if _version_not_supported:
18
+ raise RuntimeError(
19
+ f'The grpc package installed is at version {GRPC_VERSION},'
20
+ + ' but the generated code in macp/modes/decision/v1/decision_pb2_grpc.py depends on'
21
+ + f' grpcio>={GRPC_GENERATED_VERSION}.'
22
+ + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
23
+ + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
24
+ )
File without changes
File without changes
@@ -0,0 +1,42 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: macp/modes/handoff/v1/handoff.proto
5
+ # Protobuf Python Version: 6.31.1
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 31,
16
+ 1,
17
+ '',
18
+ 'macp/modes/handoff/v1/handoff.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+
26
+
27
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#macp/modes/handoff/v1/handoff.proto\x12\x15macp.modes.handoff.v1\"d\n\x13HandoffOfferPayload\x12\x12\n\nhandoff_id\x18\x01 \x01(\t\x12\x1a\n\x12target_participant\x18\x02 \x01(\t\x12\r\n\x05scope\x18\x03 \x01(\t\x12\x0e\n\x06reason\x18\x04 \x01(\t\"R\n\x15HandoffContextPayload\x12\x12\n\nhandoff_id\x18\x01 \x01(\t\x12\x14\n\x0c\x63ontent_type\x18\x02 \x01(\t\x12\x0f\n\x07\x63ontext\x18\x03 \x01(\x0c\"O\n\x14HandoffAcceptPayload\x12\x12\n\nhandoff_id\x18\x01 \x01(\t\x12\x13\n\x0b\x61\x63\x63\x65pted_by\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\"P\n\x15HandoffDeclinePayload\x12\x12\n\nhandoff_id\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65\x63lined_by\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\tb\x06proto3')
28
+
29
+ _globals = globals()
30
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
31
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'macp.modes.handoff.v1.handoff_pb2', _globals)
32
+ if not _descriptor._USE_C_DESCRIPTORS:
33
+ DESCRIPTOR._loaded_options = None
34
+ _globals['_HANDOFFOFFERPAYLOAD']._serialized_start=62
35
+ _globals['_HANDOFFOFFERPAYLOAD']._serialized_end=162
36
+ _globals['_HANDOFFCONTEXTPAYLOAD']._serialized_start=164
37
+ _globals['_HANDOFFCONTEXTPAYLOAD']._serialized_end=246
38
+ _globals['_HANDOFFACCEPTPAYLOAD']._serialized_start=248
39
+ _globals['_HANDOFFACCEPTPAYLOAD']._serialized_end=327
40
+ _globals['_HANDOFFDECLINEPAYLOAD']._serialized_start=329
41
+ _globals['_HANDOFFDECLINEPAYLOAD']._serialized_end=409
42
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,24 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+ import warnings
5
+
6
+
7
+ GRPC_GENERATED_VERSION = '1.80.0'
8
+ GRPC_VERSION = grpc.__version__
9
+ _version_not_supported = False
10
+
11
+ try:
12
+ from grpc._utilities import first_version_is_lower
13
+ _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
14
+ except ImportError:
15
+ _version_not_supported = True
16
+
17
+ if _version_not_supported:
18
+ raise RuntimeError(
19
+ f'The grpc package installed is at version {GRPC_VERSION},'
20
+ + ' but the generated code in macp/modes/handoff/v1/handoff_pb2_grpc.py depends on'
21
+ + f' grpcio>={GRPC_GENERATED_VERSION}.'
22
+ + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
23
+ + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
24
+ )
File without changes
@@ -0,0 +1,44 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: macp/modes/proposal/v1/proposal.proto
5
+ # Protobuf Python Version: 6.31.1
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 31,
16
+ 1,
17
+ '',
18
+ 'macp/modes/proposal/v1/proposal.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+
26
+
27
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%macp/modes/proposal/v1/proposal.proto\x12\x16macp.modes.proposal.v1\"e\n\x0fProposalPayload\x12\x13\n\x0bproposal_id\x18\x01 \x01(\t\x12\r\n\x05title\x18\x02 \x01(\t\x12\x0f\n\x07summary\x18\x03 \x01(\t\x12\x0f\n\x07\x64\x65tails\x18\x04 \x01(\x0c\x12\x0c\n\x04tags\x18\x05 \x03(\t\"~\n\x16\x43ounterProposalPayload\x12\x13\n\x0bproposal_id\x18\x01 \x01(\t\x12\x1e\n\x16supersedes_proposal_id\x18\x02 \x01(\t\x12\r\n\x05title\x18\x03 \x01(\t\x12\x0f\n\x07summary\x18\x04 \x01(\t\x12\x0f\n\x07\x64\x65tails\x18\x05 \x01(\x0c\"4\n\rAcceptPayload\x12\x13\n\x0bproposal_id\x18\x01 \x01(\t\x12\x0e\n\x06reason\x18\x02 \x01(\t\"F\n\rRejectPayload\x12\x13\n\x0bproposal_id\x18\x01 \x01(\t\x12\x10\n\x08terminal\x18\x02 \x01(\x08\x12\x0e\n\x06reason\x18\x03 \x01(\t\"6\n\x0fWithdrawPayload\x12\x13\n\x0bproposal_id\x18\x01 \x01(\t\x12\x0e\n\x06reason\x18\x02 \x01(\tb\x06proto3')
28
+
29
+ _globals = globals()
30
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
31
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'macp.modes.proposal.v1.proposal_pb2', _globals)
32
+ if not _descriptor._USE_C_DESCRIPTORS:
33
+ DESCRIPTOR._loaded_options = None
34
+ _globals['_PROPOSALPAYLOAD']._serialized_start=65
35
+ _globals['_PROPOSALPAYLOAD']._serialized_end=166
36
+ _globals['_COUNTERPROPOSALPAYLOAD']._serialized_start=168
37
+ _globals['_COUNTERPROPOSALPAYLOAD']._serialized_end=294
38
+ _globals['_ACCEPTPAYLOAD']._serialized_start=296
39
+ _globals['_ACCEPTPAYLOAD']._serialized_end=348
40
+ _globals['_REJECTPAYLOAD']._serialized_start=350
41
+ _globals['_REJECTPAYLOAD']._serialized_end=420
42
+ _globals['_WITHDRAWPAYLOAD']._serialized_start=422
43
+ _globals['_WITHDRAWPAYLOAD']._serialized_end=476
44
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,24 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+ import warnings
5
+
6
+
7
+ GRPC_GENERATED_VERSION = '1.80.0'
8
+ GRPC_VERSION = grpc.__version__
9
+ _version_not_supported = False
10
+
11
+ try:
12
+ from grpc._utilities import first_version_is_lower
13
+ _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
14
+ except ImportError:
15
+ _version_not_supported = True
16
+
17
+ if _version_not_supported:
18
+ raise RuntimeError(
19
+ f'The grpc package installed is at version {GRPC_VERSION},'
20
+ + ' but the generated code in macp/modes/proposal/v1/proposal_pb2_grpc.py depends on'
21
+ + f' grpcio>={GRPC_GENERATED_VERSION}.'
22
+ + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
23
+ + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
24
+ )
File without changes
File without changes
@@ -0,0 +1,42 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: macp/modes/quorum/v1/quorum.proto
5
+ # Protobuf Python Version: 6.31.1
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 31,
16
+ 1,
17
+ '',
18
+ 'macp/modes/quorum/v1/quorum.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+
26
+
27
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!macp/modes/quorum/v1/quorum.proto\x12\x14macp.modes.quorum.v1\"z\n\x16\x41pprovalRequestPayload\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x0e\n\x06\x61\x63tion\x18\x02 \x01(\t\x12\x0f\n\x07summary\x18\x03 \x01(\t\x12\x0f\n\x07\x64\x65tails\x18\x04 \x01(\x0c\x12\x1a\n\x12required_approvals\x18\x05 \x01(\r\"4\n\x0e\x41pprovePayload\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x0e\n\x06reason\x18\x02 \x01(\t\"3\n\rRejectPayload\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x0e\n\x06reason\x18\x02 \x01(\t\"4\n\x0e\x41\x62stainPayload\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x0e\n\x06reason\x18\x02 \x01(\tb\x06proto3')
28
+
29
+ _globals = globals()
30
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
31
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'macp.modes.quorum.v1.quorum_pb2', _globals)
32
+ if not _descriptor._USE_C_DESCRIPTORS:
33
+ DESCRIPTOR._loaded_options = None
34
+ _globals['_APPROVALREQUESTPAYLOAD']._serialized_start=59
35
+ _globals['_APPROVALREQUESTPAYLOAD']._serialized_end=181
36
+ _globals['_APPROVEPAYLOAD']._serialized_start=183
37
+ _globals['_APPROVEPAYLOAD']._serialized_end=235
38
+ _globals['_REJECTPAYLOAD']._serialized_start=237
39
+ _globals['_REJECTPAYLOAD']._serialized_end=288
40
+ _globals['_ABSTAINPAYLOAD']._serialized_start=290
41
+ _globals['_ABSTAINPAYLOAD']._serialized_end=342
42
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,24 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+ import warnings
5
+
6
+
7
+ GRPC_GENERATED_VERSION = '1.80.0'
8
+ GRPC_VERSION = grpc.__version__
9
+ _version_not_supported = False
10
+
11
+ try:
12
+ from grpc._utilities import first_version_is_lower
13
+ _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
14
+ except ImportError:
15
+ _version_not_supported = True
16
+
17
+ if _version_not_supported:
18
+ raise RuntimeError(
19
+ f'The grpc package installed is at version {GRPC_VERSION},'
20
+ + ' but the generated code in macp/modes/quorum/v1/quorum_pb2_grpc.py depends on'
21
+ + f' grpcio>={GRPC_GENERATED_VERSION}.'
22
+ + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
23
+ + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
24
+ )
File without changes
File without changes
@@ -0,0 +1,46 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: macp/modes/task/v1/task.proto
5
+ # Protobuf Python Version: 6.31.1
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 6,
15
+ 31,
16
+ 1,
17
+ '',
18
+ 'macp/modes/task/v1/task.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+
26
+
27
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dmacp/modes/task/v1/task.proto\x12\x12macp.modes.task.v1\"\x8f\x01\n\x12TaskRequestPayload\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\r\n\x05title\x18\x02 \x01(\t\x12\x14\n\x0cinstructions\x18\x03 \x01(\t\x12\x1a\n\x12requested_assignee\x18\x04 \x01(\t\x12\r\n\x05input\x18\x05 \x01(\x0c\x12\x18\n\x10\x64\x65\x61\x64line_unix_ms\x18\x06 \x01(\x03\"F\n\x11TaskAcceptPayload\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x10\n\x08\x61ssignee\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\"F\n\x11TaskRejectPayload\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x10\n\x08\x61ssignee\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\"o\n\x11TaskUpdatePayload\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x0e\n\x06status\x18\x02 \x01(\t\x12\x10\n\x08progress\x18\x03 \x01(\x01\x12\x0f\n\x07message\x18\x04 \x01(\t\x12\x16\n\x0epartial_output\x18\x05 \x01(\x0c\"Y\n\x13TaskCompletePayload\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x10\n\x08\x61ssignee\x18\x02 \x01(\t\x12\x0e\n\x06output\x18\x03 \x01(\x0c\x12\x0f\n\x07summary\x18\x04 \x01(\t\"k\n\x0fTaskFailPayload\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x10\n\x08\x61ssignee\x18\x02 \x01(\t\x12\x12\n\nerror_code\x18\x03 \x01(\t\x12\x0e\n\x06reason\x18\x04 \x01(\t\x12\x11\n\tretryable\x18\x05 \x01(\x08\x62\x06proto3')
28
+
29
+ _globals = globals()
30
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
31
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'macp.modes.task.v1.task_pb2', _globals)
32
+ if not _descriptor._USE_C_DESCRIPTORS:
33
+ DESCRIPTOR._loaded_options = None
34
+ _globals['_TASKREQUESTPAYLOAD']._serialized_start=54
35
+ _globals['_TASKREQUESTPAYLOAD']._serialized_end=197
36
+ _globals['_TASKACCEPTPAYLOAD']._serialized_start=199
37
+ _globals['_TASKACCEPTPAYLOAD']._serialized_end=269
38
+ _globals['_TASKREJECTPAYLOAD']._serialized_start=271
39
+ _globals['_TASKREJECTPAYLOAD']._serialized_end=341
40
+ _globals['_TASKUPDATEPAYLOAD']._serialized_start=343
41
+ _globals['_TASKUPDATEPAYLOAD']._serialized_end=454
42
+ _globals['_TASKCOMPLETEPAYLOAD']._serialized_start=456
43
+ _globals['_TASKCOMPLETEPAYLOAD']._serialized_end=545
44
+ _globals['_TASKFAILPAYLOAD']._serialized_start=547
45
+ _globals['_TASKFAILPAYLOAD']._serialized_end=654
46
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,24 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+ import warnings
5
+
6
+
7
+ GRPC_GENERATED_VERSION = '1.80.0'
8
+ GRPC_VERSION = grpc.__version__
9
+ _version_not_supported = False
10
+
11
+ try:
12
+ from grpc._utilities import first_version_is_lower
13
+ _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
14
+ except ImportError:
15
+ _version_not_supported = True
16
+
17
+ if _version_not_supported:
18
+ raise RuntimeError(
19
+ f'The grpc package installed is at version {GRPC_VERSION},'
20
+ + ' but the generated code in macp/modes/task/v1/task_pb2_grpc.py depends on'
21
+ + f' grpcio>={GRPC_GENERATED_VERSION}.'
22
+ + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
23
+ + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
24
+ )
File without changes