1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//! Programmatic API for oxo-call.
//!
//! This module re-exports the public types and key modules so that downstream
//! crates (including the benchmark suite) can depend on `oxo-call` as a library
//! without reaching into private internals.
//!
//! # Example
//!
//! ```rust,ignore
//! use oxo_call::skill::{Skill, SkillManager, validate_skill_depth};
//! use oxo_call::history::{HistoryEntry, CommandProvenance};
//! use oxo_call::mcp::McpClient;
//! ```
//!
//! The binary entry point lives in `main.rs`; this file only surfaces the
//! library interface.
/// A single crate-wide mutex that **all** test modules must acquire before
/// reading or writing `OXO_CALL_DATA_DIR` (or any other process-global
/// environment variable used by tests). Using a shared instance prevents
/// the race conditions that arise when separate modules each define their
/// own `ENV_LOCK`.
pub static ENV_LOCK: Mutex = new;