feat: add effort level control (low/medium/high) #203

Open
opened 2026-03-10 09:15:24 -07:00 by hikari · 0 comments
Owner

Summary

Effort level is not currently supported in Hikari Desktop at all. This is a new feature to add effort level control, using the CLI's --effort flag.

The CLI supports three levels with the following symbols:

  • low — ○
  • medium — ◐
  • high — ●

Note: The old max level no longer exists.

Required Changes

Backend (src-tauri/src/)

  • Add an effort field (Option<String>) to ClaudeStartOptions in config.rs
  • Add an effort field to HikariConfig in config.rs (default: None / no flag passed)
  • Pass --effort <level> when spawning Claude in wsl_bridge.rs (both WSL and Windows paths) if the field is set

Frontend (src/lib/)

  • Add an effort level selector to ConfigSidebar.svelte displaying the three options with their symbols (○ low / ◐ medium / ● high) plus a "default" option that passes no flag
  • Persist the selected value to HikariConfig

Notes

  • Effort level is not exposed in the stream-json output — it is purely a spawn-time CLI flag
  • If no effort is selected, omit the flag entirely (let the CLI use its own default)

This issue was created with help from Hikari~ 🌸

## Summary Effort level is not currently supported in Hikari Desktop at all. This is a new feature to add effort level control, using the CLI's `--effort` flag. The CLI supports three levels with the following symbols: - `low` — ○ - `medium` — ◐ - `high` — ● Note: The old `max` level no longer exists. ## Required Changes ### Backend (`src-tauri/src/`) - Add an `effort` field (`Option<String>`) to `ClaudeStartOptions` in `config.rs` - Add an `effort` field to `HikariConfig` in `config.rs` (default: `None` / no flag passed) - Pass `--effort <level>` when spawning Claude in `wsl_bridge.rs` (both WSL and Windows paths) if the field is set ### Frontend (`src/lib/`) - Add an effort level selector to `ConfigSidebar.svelte` displaying the three options with their symbols (○ low / ◐ medium / ● high) plus a "default" option that passes no flag - Persist the selected value to `HikariConfig` ## Notes - Effort level is **not** exposed in the stream-json output — it is purely a spawn-time CLI flag - If no effort is selected, omit the flag entirely (let the CLI use its own default) ✨ This issue was created with help from Hikari~ 🌸
hikari changed title from feat: update effort level UI for new symbols and simplified low/medium/high levels to feat: add effort level control (low/medium/high) 2026-03-10 10:38:25 -07:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nhcarrigan/hikari-desktop#203