Expand description
§limit-cli
AI-powered terminal coding assistant with TUI interface.
This crate provides the main entry point for the Limit AI coding assistant. It includes session management, tool execution, and TUI interface.
§Features
- Multi-provider LLM: Anthropic Claude, OpenAI GPT, z.ai GLM, and local models
- 18 built-in tools: File I/O, bash execution, git operations, code analysis
- Session persistence: Auto-save and restore conversations
- File autocomplete: Type
@to quickly reference files
§Usage
lim§Modules
| Module | Description |
|---|---|
agent_bridge | Bridge between LLM agent and CLI |
session | Session management and persistence |
tools | Built-in tool implementations |
tui | Terminal UI components |
syntax | Syntax highlighting |
file_finder | File autocomplete with fuzzy matching |
session_share | Export sessions to various formats |
Re-exports§
pub use session_tree::generate_entry_id;pub use session_tree::SerializableMessage;pub use session_tree::SessionEntry;pub use session_tree::SessionEntryType;pub use session_tree::SessionTree;pub use agent_bridge::AgentBridge;pub use agent_bridge::AgentEvent;pub use error::CliError;pub use file_finder::FileFinder;pub use file_finder::FileMatch;pub use logging::init_logging;pub use session::SessionManager;pub use session_share::ExportFormat;pub use session_share::SessionExport;pub use syntax::SyntaxHighlighter;pub use tui::FileAutocompleteState;pub use tui::TuiState;pub use tui_bridge::TuiApp;pub use tui_bridge::TuiBridge;
Modules§
- agent_
bridge - clipboard
- Clipboard operations for the TUI
- error
- file_
finder - logging
- session
- session_
share - session_
tree - syntax
- system_
prompt - tools
- tui
- TUI (Terminal User Interface) module for limit-cli
- tui_
bridge - Legacy TUI module - Re-exports from modular structure