Expand description
RiceCoder Modes - Mode system for different interaction patterns
This crate provides a flexible mode system for RiceCoder with support for:
- Code Mode: Focused code generation and modification
- Ask Mode: Question answering without file modifications
- Vibe Mode: Free-form exploration and rapid prototyping
- Think More: Extended reasoning for complex tasks
Re-exports§
pub use ask_mode::AskMode;pub use auto_enable::ComplexityAnalysis;pub use auto_enable::ComplexityDetector;pub use code_mode::CodeMode;pub use error::ModeError;pub use error::Result;pub use manager::ModeManager;pub use mode::Mode;pub use mode_switcher::ModeSwitcher;pub use models::Capability;pub use models::ChangeSummary;pub use models::ComplexityLevel;pub use models::Message;pub use models::MessageRole;pub use models::ModeAction;pub use models::ModeConfig;pub use models::ModeConstraints;pub use models::ModeContext;pub use models::ModeResponse;pub use models::Operation;pub use models::ResponseMetadata;pub use models::ThinkMoreConfig;pub use models::ThinkingDepth;pub use task_config::TaskConfig;pub use task_config::TaskConfigManager;pub use think_more_controller::ThinkMoreController;pub use think_more_controller::ThinkingMetadata;pub use thinking_display::ThinkingDisplay;pub use thinking_display::ThinkingStatistics;pub use vibe_mode::VibeMode;
Modules§
- ask_
mode - Ask Mode implementation Ask Mode implementation for question answering without file modifications
- auto_
enable - Auto-enable logic for Think More based on task complexity
- code_
mode - Code Mode implementation Code Mode implementation for code generation and execution
- error
- Error types for the modes system
- manager
- Mode manager for lifecycle and transitions Mode manager for lifecycle and transitions
- mode
- Mode trait definition Mode trait definition
- mode_
switcher - Mode switcher for handling transitions with context preservation Mode switcher for handling mode transitions with context preservation
- models
- Data models for modes
- task_
config - Per-task configuration management
- think_
more_ controller - Think More controller for extended thinking
- thinking_
display - Thinking display and formatting
- vibe_
mode - Vibe Mode implementation Vibe Mode implementation for free-form exploration and rapid prototyping