Skip to main content

Crate exomonad_proto

Crate exomonad_proto 

Source
Expand description

Protocol buffer generated types for ExoMonad FFI boundary.

This crate provides the single source of truth for types that cross the Rust/Haskell WASM boundary.

§Proto files

§Core types (exomonad/)

Core FFI types use JSON wire format (serde derives).

  • ffi.proto - Core FFI types (ErrorCode, FfiError, FfiResult)
  • common.proto - Shared primitives (SessionId, Role, etc.)
  • hook.proto - Claude Code hook types
  • agent.proto - Agent management types
  • popup.proto - UI popup types

§Effect types (effects/)

Effect types use protobuf binary encoding (prost Message). Modules are auto-generated from proto/effects/*.proto at build time. Each .proto file with a service definition gets its own module.

Re-exports§

pub use ffi::ErrorCode;
pub use ffi::ErrorContext;
pub use ffi::FfiError;
pub use ffi::FfiResult;

Modules§

ffi