Skip to main content

rinne_types/
lib.rs

1//! `rinne-types` — the shared base every Rinne crate depends inward on
2//! (`MCP_SKILLS.md` §15).
3//!
4//! Holds the DAG schema, the capability vocabulary, the worker contract, the
5//! node/result types, and the cross-crate trait seams (`Worker`, `Replanner`).
6//! Nothing here depends on a concrete crate, so the conductor, loop engine, and
7//! workers can each evolve behind these stable types without a tangle.
8
9pub mod blackboard;
10pub mod dag;
11pub mod error;
12pub mod evaluator;
13pub mod replanner;
14pub mod skill;
15pub mod worker;
16
17pub use blackboard::{Blackboard, NodeStatus};
18pub use error::{Result, RinneError};
19pub use evaluator::{EvalContext, Evaluator, Gate};
20pub use replanner::Replanner;
21pub use skill::Skill;
22pub use worker::{
23    AuthMode, Capability, Constraints, ContextPacket, EventSink, ExecStatus, ExecuteRequest,
24    ExecuteResult, InlinedFile, LatencyProfile, McpServerSpec, McpTransportKind, QuotaModel, Role,
25    ToolExecutor, ToolSpec, Transport, Usage, Worker, WorkerDescriptor, WorkerEvent, WorkerFamily,
26};
27
28/// The on-disk blackboard directory name, relative to the working repo.
29///
30/// Single source of truth for a run (`MCP_SKILLS.md` §12). Defined here so every
31/// crate refers to the same constant.
32pub const BLACKBOARD_DIR: &str = ".rinne";