Replaces sort_by with sort_by_key + Reverse for unnecessary_sort_by lint,
and replaces manual > 0 guard before division with checked_div for
manual_checked_ops lint.
Adds plugin_errors field to the System init message type and emits a claude:output error event for each failed plugin, giving users visibility into plugin load failures within Hikari Desktop. Requires Claude Code v2.1.111+.
Parses [PreCompact Hook] events from the CLI stream and emits a claude:pre-compact Tauri event. Shows a "Compacting context..." toast and thinking state on the frontend, complementing the existing PostCompact handling.
Adds a dropdown to select ENABLE_PROMPT_CACHING_1H or FORCE_PROMPT_CACHING_5M env vars when starting Claude Code sessions. Requires Claude Code v2.1.108+.
Adds `--effort <level>` CLI flag support with a dropdown selector in the config sidebar. Valid options are low, medium, high, xhigh (Opus 4.7 only), and max.
Adds Claude Opus 4.7 to the model picker as the new most capable model.
Reorganises model list to reflect current vs previous generation, and
marks Sonnet 4 and Opus 4 as deprecated (retiring June 15, 2026).
Also corrects claude-opus-4-6 context window from 200K to 1M tokens,
and updates pricing comments to reflect May 2026 source date.
Closes#268