Compare commits

..

2 Commits

Author SHA1 Message Date
hikari 5d9e6fbd8e feat: implement CLI v2.1.81 features and global CLAUDE.md editor
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 1m49s
CI / Lint & Test (pull_request) Successful in 21m2s
CI / Build Linux (pull_request) Successful in 25m46s
CI / Build Windows (cross-compile) (pull_request) Successful in 30m24s
- #248: add output_style field to System init message (forward-compat)
- #245: add fast_mode_state field to Result message (forward-compat)
- #246: add model_usage field to Result message with per-model logging
- #247: add total_cost_usd field to Result message (authoritative cost)
- #237: add bare_mode config option (passes --bare flag to Claude Code)
- #239: add show_clear_context_on_plan_accept config option (settings JSON)
- #244: add custom_model_option config option (ANTHROPIC_CUSTOM_MODEL_OPTION env)
- #262: add global CLAUDE.md editor to config sidebar (get/save_global_claude_md commands)
- fix: wire disable_cron and disable_skill_shell_execution into all start_claude invocations
- fix: wire all new config fields into all start_claude invocations
2026-04-13 12:07:05 -07:00
hikari 5663b1c09a feat: CLI v2.1.81–v2.1.104 support (#261)
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 1m33s
CI / Lint & Test (push) Successful in 20m29s
CI / Build Linux (push) Successful in 24m9s
CI / Build Windows (cross-compile) (push) Successful in 40m28s
## Summary

Implements support for all Claude Code CLI changes from v2.1.81 through v2.1.104, closing issues #253–#260.

### Changes

- **#253** — New `CwdChanged` hook event: parse and emit `claude:cwd-changed` Tauri event; new `CwdChangedEvent` type
- **#254** — New `FileChanged` hook event: parse and emit `claude:file-changed` Tauri event; new `FileChangedEvent` type
- **#255** — Idle-return prompt: TUI-only feature, not present in `--output-format stream-json` mode — closed as not applicable
- **#256** — New `TaskCreated` and `PermissionDenied` hook events: parse and emit `claude:task-created` / `claude:permission-denied` Tauri events; `PermissionDenied` also triggers `CharacterState::Permission` character animation
- **#257** — Defer permission request: no PreToolUse hook response mechanism in Hikari Desktop — closed as not applicable
- **#258** — `Monitor` tool: added `"Monitor"` to `SEARCH_TOOLS` constant so it maps to `CharacterState::Searching`
- **#259** — `disableSkillShellExecution` setting: wired through `ClaudeStartOptions`, `HikariConfig`, `--settings` JSON, TypeScript interface, and exposed in the Config Sidebar UI
- **#260** — Updated `SUPPORTED_CLI_VERSION` constant from `"2.1.80"` to `"2.1.104"`

All changes pass `check-all.sh` (ESLint → Prettier → svelte-check → Vitest → Clippy → cargo test with llvm-cov).

 This PR was created with help from Hikari~ 🌸

Reviewed-on: #261
Co-authored-by: Hikari <hikari@nhcarrigan.com>
Co-committed-by: Hikari <hikari@nhcarrigan.com>
2026-04-13 12:05:57 -07:00

Diff Content Not Available