feat: CLI v2.1.68–v2.1.74 compatibility updates #221

Merged
naomi merged 20 commits from feat/cli into main 2026-03-13 01:34:45 -07:00

20 Commits

Author SHA1 Message Date
hikari 8af898c92a fix: open memory browser panel for /memory command and default agent type to general-purpose
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 1m14s
CI / Lint & Test (pull_request) Successful in 17m8s
CI / Build Linux (pull_request) Successful in 24m24s
CI / Build Windows (cross-compile) (pull_request) Successful in 35m25s
2026-03-13 00:57:38 -07:00
hikari 5c16037f8b chore: bump supported CLI version to 2.1.74
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 1m9s
CI / Lint & Test (pull_request) Successful in 18m25s
CI / Build Linux (pull_request) Has been cancelled
CI / Build Windows (cross-compile) (pull_request) Has been cancelled
2026-03-13 00:40:52 -07:00
hikari cadbf73d80 feat: expose modelOverrides setting in ConfigSidebar
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 1m0s
CI / Lint & Test (pull_request) Successful in 17m34s
CI / Build Linux (pull_request) Successful in 25m55s
CI / Build Windows (cross-compile) (pull_request) Has been cancelled
2026-03-13 00:33:19 -07:00
hikari d8af929758 feat: add /context command to CLI built-ins list 2026-03-13 00:22:01 -07:00
hikari 186f28952b feat: expose autoMemoryDirectory setting in ConfigSidebar 2026-03-13 00:14:19 -07:00
hikari d5a4324160 feat: convert WSL Linux paths to Windows UNC paths when opening binary files
Adds open_binary_file Tauri command that translates WSL Linux-style paths
(e.g. /tmp/mcp_output_abc123.pdf) to Windows UNC paths via wslpath -w
before opening, so binary file links work correctly on Windows/WSL.
Non-Windows platforms pass the path through unchanged. Markdown.svelte
now invokes this command instead of calling openPath directly.
2026-03-13 00:02:16 -07:00
hikari 968e1d5a15 feat: update session resume UI to show most recent prompt first
Session list now sorts by last_activity_at descending so the most
recently used session appears at the top. Preview text now shows the
most recent user message rather than the first few messages, giving a
much more relevant glimpse of where each session left off.
2026-03-12 23:47:14 -07:00
hikari 8deda3af28 feat: toast notifications for WorktreeCreate and WorktreeRemove hooks
The backend already parsed and emitted claude:worktree events for these
hooks, and the frontend already updated the store and StatusBar badge.
Add the missing toast notification so the user is informed in real-time
when a worktree is created or removed.

Closes #213
2026-03-12 22:47:22 -07:00
hikari 8f278da304 feat: add auto-memory panel, /memory command, and unified toast system
- Add /memory CLI built-in slash command
- Refactor MemoryBrowserPanel to accept isOpen/onClose props
- Add Send /memory and Refresh buttons to MemoryBrowserPanel header
- Add Memory Manager entry to NavMenu
- Create unified ToastContainer replacing AchievementNotification and
  UpdateNotification with a single stacked toast system
- Add toasts store with info (4s), achievement (5s), and persistent
  update toast types
- Move getAchievementRarity and getRarityColour helpers to toasts store
- Detect auto-memory writes in tauri.ts output listener and fire toast
- Remove action buttons from update toast; version is now a direct link

Closes #212
2026-03-12 22:45:03 -07:00
hikari 02c8d6c990 feat: linkify MCP binary file paths in markdown output
Detects local binary file paths (PDF, audio, video, Office docs,
archives) in Claude's responses and renders them as styled, clickable
links that open via the system's default viewer. Skips paths inside
code blocks so existing code examples are unaffected.

Closes #211
2026-03-11 18:58:32 -07:00
hikari 9aecec6f64 feat: add ENABLE_CLAUDEAI_MCP_SERVERS opt-out setting
Adds a toggle in the MCP Servers settings section to control whether
Claude Code connects to MCP servers configured in Claude.ai. When
disabled, sets ENABLE_CLAUDEAI_MCP_SERVERS=false. Also fixes a
pre-existing omission of disable_cron from the TypeScript HikariConfig
interface.

Closes #210
2026-03-11 18:41:58 -07:00
hikari 1e9f641db0 feat(settings): add includeGitInstructions toggle
Adds an 'Include git instructions' toggle to the Agent Settings panel.
When disabled, sets CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS=1 on the Claude
process to remove built-in commit and PR workflow guidance from its
system prompt. Resolves #209.
2026-03-11 18:09:24 -07:00
hikari 665f74e3bf feat(slash-commands): expose Claude Code CLI built-ins in command menu
Adds /simplify, /loop, and /batch as CLI-sourced slash commands so they
appear in the autocomplete menu with a 'CLI' badge and forward correctly
to Claude Code instead of triggering 'Unknown command' errors.

Introduces source?: 'cli' field to the SlashCommand interface to
distinguish app-level commands from CLI pass-through entries. Resolves
#208.
2026-03-11 17:28:47 -07:00
hikari d7b1ff44c4 feat: consume worktree field from status line hook events
Parse structured WorktreeInfo (name, path, branch, original_repo_directory)
from WorktreeCreate/Remove hook events and emit a dedicated claude:worktree
event. Store per-conversation worktree state and display an emerald branch
badge in the status bar so users can see at a glance which worktree and
branch each session is running on.

Closes #206
2026-03-11 12:51:04 -07:00
hikari 31d156d768 feat: display per-agent model override in agent monitor tree
Parse the model field from Agent/Task tool input and surface it in the
agent monitor panel as a purple subtitle, so users can immediately see
which agents are running on a non-default model.

Closes #207
2026-03-11 11:40:21 -07:00
hikari 021269983d feat: add agent_type field and support Agent tool rename from CLI v2.1.69
- Parse agent_type from SubagentStart hook events and forward via claude:agent-update
- Support renamed Agent/Agent(type) tool alongside existing Task/Task(type) syntax
- Fall back to prompt field when description is absent in Agent tool input
- Display agentType (with subagentType fallback) in agent monitor badge
- Show agentId as tooltip on the type badge when available
2026-03-11 11:21:43 -07:00
hikari 1f8825b0cb feat: handle EnterWorktree and ExitWorktree tools
Ticket 202

Added EnterWorktree and ExitWorktree to the is_system_tool list so
they never trigger permission prompts, matching the behaviour of
EnterPlanMode/ExitPlanMode. Added human-readable descriptions to
format_tool_description for both tools.
2026-03-10 11:53:02 -07:00
hikari 45c1caa133 feat: add CLI update check with npm registry indicator
On app start, check the npm registry for the latest
@anthropic-ai/claude-code version and compare against the installed
version. If behind, the CLI badge turns amber with a pulsing up-arrow
and a tooltip advising how to update.

Also bumps SUPPORTED_CLI_VERSION to 2.1.72.
2026-03-10 11:48:19 -07:00
hikari 292bf50f50 feat: add cron tool support and CLAUDE_CODE_DISABLE_CRON setting
Ticket 201

- Added format_tool_description entries for CronCreate, CronDelete,
  and CronList tools
- Added disable_cron field to ClaudeStartOptions and HikariConfig
- Pass CLAUDE_CODE_DISABLE_CRON=1 env var in both WSL and native
  spawn paths when disable_cron is enabled
- Added disable cron toggle to ConfigSidebar settings UI
2026-03-10 11:08:58 -07:00
hikari 50fa4084ca fix: remove deprecated Claude 3.x models from model selector
Ticket 200

Removed claude-3-7-sonnet-20250219, claude-3-5-sonnet-20241022,
claude-3-5-sonnet-20240620, and claude-3-haiku-20240307 from the
available model selector. Confirmed against the Anthropic API that
these models are no longer available (Haiku 3 is retiring April 2026).
Pricing data in stats.ts/stats.rs retained for historical accuracy.
2026-03-10 10:50:15 -07:00