From a5f35c77f1a028503f925f72e65b49913d4b9cdc Mon Sep 17 00:00:00 2001 From: Ajit Koti Date: Thu, 9 Apr 2026 17:59:59 -0700 Subject: [PATCH] Fix MACP Dep --- Cargo.lock | 3 ++- Cargo.toml | 4 ++-- README.md | 3 +-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c6da4ee..065147d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1038,7 +1038,8 @@ dependencies = [ [[package]] name = "macp-proto" version = "0.1.0" -source = "git+https://github.com/multiagentcoordinationprotocol/multiagentcoordinationprotocol.git#07d80fc1052cc1c96eaf069a799889c1d204dc95" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e9f86838342731bb2edf1377543c4528f52e8bcbe13682aaaa00e1ca886b84a0" [[package]] name = "macp-runtime" diff --git a/Cargo.toml b/Cargo.toml index 60f4c48..a8e51bd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,10 +34,10 @@ opentelemetry-otlp = { version = "0.15", features = ["tonic"], optional = true } tracing-opentelemetry = { version = "0.23", optional = true } rocksdb = { version = "0.22", optional = true } redis = { version = "0.27", features = ["tokio-comp", "aio"], optional = true } -# Proto definitions from the spec repo (exposes DEP_MACP_PROTO_PROTO_DIR to build.rs via links metadata). +# Proto definitions from crates.io (exposes DEP_MACP_PROTO_PROTO_DIR to build.rs via links metadata). # For local proto development, temporarily switch to a path dependency: # macp-proto = { path = "../multiagentcoordinationprotocol/packages/proto-rust" } -macp-proto = { git = "https://github.com/multiagentcoordinationprotocol/multiagentcoordinationprotocol.git" } +macp-proto = "0.1.0" [dev-dependencies] tempfile = "3" diff --git a/README.md b/README.md index ea464a9..1af526d 100644 --- a/README.md +++ b/README.md @@ -233,7 +233,6 @@ See `docs/architecture.md` for detailed layer descriptions. ```text runtime/ -├── proto/ # protobuf schemas copied from the RFC/spec repository ├── src/ │ ├── main.rs # server startup, TLS, persistence, auth wiring │ ├── server.rs # gRPC adapter and request authentication @@ -277,7 +276,7 @@ Check that the sender identity matches the session's participant list. For `Comm The runtime requires write access to `MACP_DATA_DIR`. Check directory permissions. Log append failures are fatal — the runtime will not acknowledge a message without a durable record. **Proto version mismatch** -Update the `macp-proto` dependency version in `Cargo.toml` and run `cargo build`. +Update the `macp-proto` version in `Cargo.toml` (published on crates.io) and run `cargo build`. ## Testing