初始化提交
Some checks failed
CI / Check / macos-latest (push) Has been cancelled
CI / Check / ubuntu-latest (push) Has been cancelled
CI / Check / windows-latest (push) Has been cancelled
CI / Test / macos-latest (push) Has been cancelled
CI / Test / ubuntu-latest (push) Has been cancelled
CI / Test / windows-latest (push) Has been cancelled
CI / Clippy (push) Has been cancelled
CI / Format (push) Has been cancelled
CI / Security Audit (push) Has been cancelled
CI / Secrets Scan (push) Has been cancelled
CI / Install Script Smoke Test (push) Has been cancelled
Some checks failed
CI / Check / macos-latest (push) Has been cancelled
CI / Check / ubuntu-latest (push) Has been cancelled
CI / Check / windows-latest (push) Has been cancelled
CI / Test / macos-latest (push) Has been cancelled
CI / Test / ubuntu-latest (push) Has been cancelled
CI / Test / windows-latest (push) Has been cancelled
CI / Clippy (push) Has been cancelled
CI / Format (push) Has been cancelled
CI / Security Audit (push) Has been cancelled
CI / Secrets Scan (push) Has been cancelled
CI / Install Script Smoke Test (push) Has been cancelled
This commit is contained in:
19
crates/openfang-wire/src/lib.rs
Normal file
19
crates/openfang-wire/src/lib.rs
Normal file
@@ -0,0 +1,19 @@
|
||||
//! OpenFang Wire Protocol (OFP) — agent-to-agent networking.
|
||||
//!
|
||||
//! Provides cross-machine agent discovery, authentication, and communication
|
||||
//! over TCP connections using a JSON-RPC framed protocol.
|
||||
//!
|
||||
//! ## Architecture
|
||||
//!
|
||||
//! - **PeerNode**: Local network endpoint that listens for incoming connections
|
||||
//! - **PeerRegistry**: Tracks known peers and their agents
|
||||
//! - **WireMessage**: JSON-framed protocol messages
|
||||
//! - **PeerHandle**: Trait for routing remote messages through the kernel
|
||||
|
||||
pub mod message;
|
||||
pub mod peer;
|
||||
pub mod registry;
|
||||
|
||||
pub use message::{WireMessage, WireRequest, WireResponse};
|
||||
pub use peer::{PeerConfig, PeerNode};
|
||||
pub use registry::{PeerEntry, PeerRegistry, RemoteAgent};
|
||||
Reference in New Issue
Block a user