feat: expose autoMemoryDirectory setting in ConfigSidebar

This commit is contained in:
2026-03-13 00:14:19 -07:00
committed by Naomi Carrigan
parent d5a4324160
commit 186f28952b
13 changed files with 89 additions and 0 deletions
+20
View File
@@ -61,6 +61,7 @@
disable_cron: false,
include_git_instructions: true,
enable_claudeai_mcp_servers: true,
auto_memory_directory: null,
max_output_tokens: null,
trusted_workspaces: [],
background_image_path: null,
@@ -602,6 +603,25 @@
being cut off mid-reply
</p>
</div>
<!-- Auto-memory Directory -->
<div class="mb-4">
<label for="auto-memory-dir" class="block text-sm text-[var(--text-primary)] mb-1">
Auto-memory directory <span class="text-[var(--text-tertiary)]">(optional)</span>
</label>
<input
id="auto-memory-dir"
type="text"
placeholder="Leave blank to use default"
bind:value={config.auto_memory_directory}
class="w-full px-3 py-2 text-sm bg-[var(--bg-primary)] border border-[var(--border-color)] rounded text-[var(--text-primary)] placeholder-[var(--text-tertiary)] focus:outline-none focus:border-[var(--accent-primary)]"
/>
<p class="text-xs text-[var(--text-tertiary)] mt-1">
Custom directory for auto-memory storage. Passed via
<code class="font-mono">--settings autoMemoryDirectory</code>. Leave blank to use the
default (working directory).
</p>
</div>
</section>
<!-- Greeting Section -->