fyi-core 0.1.0

Core types and traits for fyi
Documentation
// Allow stderr for warning messages in config parsing
#![allow(clippy::print_stderr)]

mod config;
mod event;
pub mod framework;
pub mod init;
pub mod otel;
mod process;
mod storage;
mod time;

pub use config::{
    Config, ConfigError, ConfigSource, DEFAULT_RETENTION, HooksConfig, TtlParseError,
    parse_retention,
};
pub use event::{ApiStats, Event, EventBuilder, EventType, timestamp_millis};
pub use framework::{
    ClaudeAdapter, CodexAdapter, ConfigFormat, FrameworkAdapter, GeminiAdapter, ParsedHookInput,
    all_adapters, default_adapter, detect_all_frameworks, detect_framework, get_adapter,
    installed_frameworks,
};
pub use otel::{CodexEventType, ExportLogsServiceRequest, ParsedApiRequest, ParsedCodexEvent};
pub use process::{ClaudeProcessInfo, find_claude_process, get_parent_pid, is_process_alive};
pub use storage::{BoxError, EventQuery, Order, Storage, StorageError, StringError};
pub use time::{format_timestamp, parse_timestamp_millis};