Skip to main content

lore_cli/
lib.rs

1//! Lore - Reasoning history for code
2//!
3//! Lore captures the story behind your commits by recording AI-assisted
4//! development sessions and linking them to git history.
5//!
6//! Git captures code history (what changed). Lore captures reasoning history
7//! (how and why it changed through human-AI collaboration).
8//!
9//! # Modules
10//!
11//! - [`capture`] - Session capture from AI coding tools
12//! - [`config`] - Configuration management
13//! - [`daemon`] - Background daemon for automatic session capture
14//! - [`git`] - Git repository integration and auto-linking
15//! - [`mcp`] - MCP (Model Context Protocol) server
16//! - [`storage`] - SQLite database operations and data models
17//! - [`sync`] - Serverless git-ref sync (reasoning history in the user's repo)
18
19/// Session capture from AI coding tools like Claude Code and Copilot.
20pub mod capture;
21
22/// Configuration management for Lore settings.
23pub mod config;
24
25/// Background daemon for automatic session capture and file watching.
26pub mod daemon;
27
28/// Git repository integration for commit linking and auto-detection.
29pub mod git;
30
31/// MCP (Model Context Protocol) server for exposing Lore data to AI tools.
32pub mod mcp;
33
34/// SQLite storage layer for sessions, messages, and links.
35pub mod storage;
36
37/// LLM-powered session summarization.
38pub mod summarize;
39
40/// Serverless git-ref sync for storing reasoning history in the user's own repo.
41pub mod sync;