Background Daemon
The daemon watches for new AI coding sessions in real-time and imports them automatically.
Manual Control
Section titled “Manual Control”lore daemon start # Start watchinglore daemon status # Check what's being watchedlore daemon logs # View daemon logslore daemon stop # Stop watchingRun as a Service
Section titled “Run as a Service”Install the daemon as a system service to start automatically on login.
macOS with Homebrew (Recommended)
Section titled “macOS with Homebrew (Recommended)”If you installed via Homebrew:
brew services start lorebrew services stop loreLinux with systemd
Section titled “Linux with systemd”Use the built-in service installer:
lore daemon install # Install and enable systemd servicelore daemon uninstall # Remove systemd serviceManual systemd Setup
Section titled “Manual systemd Setup”If you prefer manual configuration:
mkdir -p ~/.config/systemd/userCreate ~/.config/systemd/user/lore.service:
[Unit]Description=Lore AI session capture daemonAfter=default.target
[Service]Type=simpleExecStart=%h/.cargo/bin/lore daemon start --foregroundRestart=on-failureRestartSec=5
[Install]WantedBy=default.targetThen enable and start:
systemctl --user daemon-reloadsystemctl --user enable --now lore.servicesystemctl --user status lore.serviceWhat the Daemon Does
Section titled “What the Daemon Does”- Watches session directories for all enabled tools
- Detects new and modified session files
- Incrementally parses sessions (efficient for large files)
- Updates the database in real-time
- Tracks branch changes during sessions