settings.json

autoMemoryDirectory

自動メモリを保存するカスタムディレクトリのパスを設定します(プロジェクト設定による上書き不可)。

使い方・用途

  • プロジェクトをまたいで記憶を共有するための自動メモリ保存先を、デフォルトの場所以外の特定のストレージや同期ディレクトリに変更したい場合に使用します。
  • セキュリティ上の理由から、リポジトリにコミットされた設定ファイルによるパスのリダイレクトを無視し、ユーザーまたはポリシーの設定を優先します。
英語原文(公式ドキュメントより)

Custom directory path for auto-memory storage. Supports ~/ prefix for home-directory expansion. Ignored if set in checked-in project settings (.claude/settings.json) for security. Defaults to ~/.claude/projects/<sanitized-cwd>/memory/ when unset. See https://code.claude.com/docs/en/memory

関連する変更履歴

v2.1.74 (1件)

Added
自動メモリ(auto-memory)の保存場所を任意のパスに変更できる autoMemoryDirectory 設定を追加しました。
英語原文を表示
Added autoMemoryDirectory setting to configure a custom directory for auto-memory storage