Skip to main content

Module paths

Module paths 

Source
Expand description

Path resolution utilities for recall-echo.

Supports two modes:

  1. Entity mode (pulse-null) — entity_root/memory/ layout
  2. Claude mode (standalone) — ~/.claude/ layout for Claude Code hooks

Constants§

CLAUDE_DIR_ENV
Overrides the Claude Code configuration directory (~/.claude).

Functions§

archive_index
claude_dir
Returns the Claude Code base directory (~/.claude/).
config_file
conversations_dir
detect_claude_code
Detect Claude Code installation. Returns Some(~/.claude/) if it exists, None otherwise.
entity_root
Returns the default entity root directory.
ephemeral_file
expand_tilde
Expand a leading ~/ to the home directory. Other paths pass through.
memory_dir
Returns the memory directory: {entity_root}/memory/
memory_file