Skip to main content

netsky_core/
lib.rs

1//! netsky core: agent model, prompt loader, spawner, config.
2//!
3//! All canonical string constants (session names, state paths, env var
4//! names, MCP server names, CLI flags) live in [`consts`]. Magic strings
5//! in this crate are a bug — promote them to `consts`.
6
7pub mod agent;
8pub mod config;
9pub mod consts;
10pub mod cron;
11pub mod envelope;
12pub mod error;
13pub mod jsonl;
14pub mod loops;
15pub mod paths;
16pub mod process;
17pub mod restart_handshake;
18pub mod retry;
19pub mod runtime;
20pub mod spawn;
21
22pub use agent::AgentId;
23pub use error::{Error, Result};
24pub use runtime::Runtime;