monarchic-agent-protocol 0.1.14

Shared protocol types for Monarchic AI
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::path::PathBuf;

fn main() {
    let proto_dir = PathBuf::from("schemas/v1");
    let proto_file = proto_dir.join("monarchic_agent_protocol.proto");

    println!("cargo:rerun-if-changed={}", proto_file.display());

    prost_build::Config::new()
        .compile_protos(&[proto_file], &[proto_dir])
        .expect("failed to compile protobufs");
}