feat: expose autoMemoryDirectory setting in ConfigSidebar #216

Closed
opened 2026-03-11 19:15:09 -07:00 by hikari · 0 comments
Owner

Overview

Claude Code CLI v2.1.74 added a new autoMemoryDirectory setting that lets users configure a custom directory for auto-memory storage (previously always stored in the working directory).

What Needs to Done

Add autoMemoryDirectory to the HikariConfig interface and ConfigSidebar UI, following the same pattern as other string settings (e.g. the working directory field).

  • src-tauri/src/config.rs — Add auto_memory_directory: Option<String> field
  • src/lib/stores/config.ts — Add autoMemoryDirectory?: string to HikariConfig
  • src/lib/components/ConfigSidebar.svelte — Add an "Auto-memory directory" text input in the Agent Settings section (leave blank = use default)
  • All start_claude call sites — pass --auto-memory-dir <path> when set (verify CLI flag name against claude --help)
  • Tests for all of the above

CLI Version

Added in v2.1.74.

This issue was created with help from Hikari~ 🌸

## Overview Claude Code CLI v2.1.74 added a new `autoMemoryDirectory` setting that lets users configure a custom directory for auto-memory storage (previously always stored in the working directory). ## What Needs to Done Add `autoMemoryDirectory` to the `HikariConfig` interface and ConfigSidebar UI, following the same pattern as other string settings (e.g. the working directory field). - **`src-tauri/src/config.rs`** — Add `auto_memory_directory: Option<String>` field - **`src/lib/stores/config.ts`** — Add `autoMemoryDirectory?: string` to `HikariConfig` - **`src/lib/components/ConfigSidebar.svelte`** — Add an "Auto-memory directory" text input in the Agent Settings section (leave blank = use default) - All `start_claude` call sites — pass `--auto-memory-dir <path>` when set (verify CLI flag name against `claude --help`) - Tests for all of the above ## CLI Version Added in v2.1.74. ✨ This issue was created with help from Hikari~ 🌸
naomi closed this issue 2026-03-13 01:34:46 -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#216