Expand description
SaveContext CLI - The OS for AI coding agents
This crate provides the core functionality for the sc CLI tool.
§Architecture
Re-exports§
Modules§
- cli
- CLI definitions using clap.
- config
- Configuration management.
- embeddings
- Embedding module for semantic search.
- error
- Error types for SaveContext CLI.
- model
- Data models for SaveContext.
- storage
- SQLite storage layer for SaveContext.
- sync
- JSONL sync operations.
- validate
- Input validation and intent detection for agent ergonomics.
Statics§
- CSV_
OUTPUT - Global CSV output flag (set when
--format csv). - DRY_RUN
- Global dry-run flag for
--dry-run. - SILENT
- Global silent mode flag for
--silentoutput.
Functions§
- csv_
escape - Escape a value for CSV output (wrap in quotes if it contains commas, quotes, or newlines).
- is_csv
- Check if CSV output is requested.
- is_
dry_ run - Check if dry-run mode is active.
- is_
silent - Check if silent mode is active.