feat: Claude Code CLI v2.1.105–v2.1.131 support #274

Merged
naomi merged 7 commits from feat/lotsa into main 2026-05-06 16:16:06 -07:00

7 Commits

Author SHA1 Message Date
hikari eb2fbda07b fix: resolve Clippy 1.95 warnings in sessions.rs and wsl_bridge.rs
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 1m1s
CI / Lint & Test (pull_request) Successful in 16m29s
CI / Build Linux (pull_request) Successful in 20m48s
CI / Build Windows (cross-compile) (pull_request) Successful in 30m28s
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.
2026-05-06 15:27:34 -07:00
hikari c579fb3e40 feat: update supported CLI version to 2.1.131 (#266)
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 1m5s
CI / Lint & Test (pull_request) Failing after 9m35s
CI / Build Linux (pull_request) Has been skipped
CI / Build Windows (cross-compile) (pull_request) Has been skipped
Bumps the audited CLI version constant now that all v2.1.105-v2.1.131 changelog items have been implemented or triaged.
2026-05-06 14:30:51 -07:00
hikari cac521d28e feat: parse plugin_errors from stream-json init event (#270)
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+.
2026-05-06 14:22:37 -07:00
hikari f3a2f8a491 feat: add PreCompact hook support (#267)
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.
2026-05-06 14:18:57 -07:00
hikari 38692391e0 feat: expose prompt caching TTL setting in UI (#273)
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+.
2026-05-06 14:01:00 -07:00
hikari 3f57937d54 feat: expose effort level setting in UI (#269)
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.
2026-05-06 13:37:13 -07:00
hikari bbbddaceaa feat: add claude-opus-4-7 model and update all model costs
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
2026-05-06 13:18:46 -07:00