rinne-core 0.1.9

Core loop engine, plan/DAG model, blackboard, and worker contract for Rinne, the local AI orchestration tool.
Documentation
//! `rinne-core` — the blackboard implementation (file tree + SQLite state) and
//! the wiring glue. The shared types and seams live in `rinne-types` and the
//! loop engine in `rinne-loop` (`MCP_SKILLS.md` §15); this crate re-exports both
//! so existing `rinne_core::…` paths keep resolving.

// The shared base. Re-export the modules and items so both this crate's
// internals (`crate::dag`, `crate::Result`, …) and downstream crates'
// `rinne_core::…` paths keep working unchanged.
pub use rinne_types::dag::{Node, OnFail, Plan};
pub use rinne_types::error::{Result, RinneError};
pub use rinne_types::replanner::Replanner;
pub use rinne_types::{dag, error, replanner, worker};
pub use rinne_types::{
    format_token_count, AuthMode, Capability, CheckpointTrigger, Constraints, ContextPacket,
    EventSink, ExecStatus, ExecuteRequest, ExecuteResult, HumanSession, InlinedFile,
    LatencyProfile, McpServerSpec, McpTransportKind, NamedCheckpoint, NodeStatus, QuotaModel, Role,
    RolePins, Skill, ToolExecutor, ToolSpec, Transport, Usage, Worker, WorkerDescriptor,
    WorkerEvent, WorkerFamily, BLACKBOARD_DIR, GATE_ACTIVE_KEY, HUMAN_SESSION_FILE,
};

// The loop engine. Re-export so existing `rinne_core::Engine`, `rinne_core::pool`,
// `rinne_core::priors`, … paths keep resolving.
pub use rinne_loop::{
    pool, priors, Engine, EngineEvent, EngineOptions, EngineSink, HumanDecision, ResumeInput,
    RunReport, StopReason, WorkerRegistry,
};

// This crate owns the blackboard (file tree) and the SQLite state.
pub mod blackboard;
pub mod state;

pub use blackboard::{require_plan, Blackboard};
pub use state::State;