stockpot_core/lib.rs
1//! Stockpot Core Library
2//!
3//! Core functionality for the Stockpot AI coding assistant.
4
5use std::sync::atomic::{AtomicBool, Ordering};
6
7/// Global debug flag for stream event logging
8pub static DEBUG_STREAM_EVENTS: AtomicBool = AtomicBool::new(false);
9
10/// Enable debug stream event logging
11pub fn enable_debug_stream_events() {
12 DEBUG_STREAM_EVENTS.store(true, Ordering::SeqCst);
13}
14
15pub mod agents;
16pub mod auth;
17pub mod config;
18pub mod db;
19pub mod display_detect;
20pub mod mcp;
21pub mod messaging;
22pub mod models;
23pub mod runner;
24pub mod session;
25pub mod terminal;
26pub mod tokens;
27pub mod tools;
28pub mod version_check;