Crate ricecoder_modes

Crate ricecoder_modes 

Source
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