Summary
Add persistent configuration storage to save user preferences between sessions.
Feature Details (from OpenHands-CLI)
Configuration Files
Store in ~/.rho/ directory:
Agent Settings
[llm]
provider = "anthropic"
model = "claude-sonnet-4-5-20250929"
api_key = "sk-..." # Or reference env var
base_url = "" # Optional for custom endpoints
[agent]
timeout = 300
max_tokens = 4096
CLI Settings
[ui]
theme = "rho"
default_cells_expanded = false
auto_open_plan_panel = true
[confirmation]
default_policy = "always-confirm"
[critic]
enable_critic = true
enable_iterative_refinement = false
critic_threshold = 0.6
First-Run Wizard
- Detect first run (no config files exist)
- Guide user through initial setup
- Configure LLM provider and API key
- Save settings for future sessions
Settings Migration
- Handle legacy config formats
- Migrate old settings to new structure
- Version config files for future migrations
CLI Flag
--override-with-envs - Ignore stored settings, use environment variables
Reference
See OpenHands-CLI:
openhands_cli/stores/agent_store.py
openhands_cli/stores/cli_settings.py
openhands_cli/locations.py
This issue was created by an AI assistant (OpenHands) based on a feature comparison with OpenHands-CLI.
Summary
Add persistent configuration storage to save user preferences between sessions.
Feature Details (from OpenHands-CLI)
Configuration Files
Store in
~/.rho/directory:agent_settings.toml- LLM provider, model, API keys, base URLcli_config.toml- TUI preferences (theme, default cells expanded, etc.)mcp.toml- MCP server configurations (see [Feature] MCP (Model Context Protocol) Integration #19)Agent Settings
CLI Settings
First-Run Wizard
Settings Migration
CLI Flag
--override-with-envs- Ignore stored settings, use environment variablesReference
See OpenHands-CLI:
openhands_cli/stores/agent_store.pyopenhands_cli/stores/cli_settings.pyopenhands_cli/locations.pyThis issue was created by an AI assistant (OpenHands) based on a feature comparison with OpenHands-CLI.