summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-11 20:48:01 +0200
committerPaul Buetow <paul@buetow.org>2026-02-11 20:48:01 +0200
commit8312a19b4e1f9849aae9912433824b19e03a8daf (patch)
tree8ca381d8a6549e94b15a5c65f688a353f0da98ca /README.md
parent97b8887fb3448fd08524111d98425859bec8789f (diff)
refactor: consolidate cache and state into .local/hexai directory
Move all cache and state files under ~/.local/hexai/ with subdirectories: - ~/.local/hexai/cache/ (was ~/.cache/hexai/) - ~/.local/hexai/state/ (was ~/.local/state/hexai/) - ~/.local/hexai/data/ (was ~/.local/share/hexai/) This centralizes all non-config hexai files under a single .local/hexai directory, making it easier to manage and back up user data. Amp-Thread-ID: https://ampcode.com/threads/T-019c4e03-73db-70a2-ae27-3e1cc31d59c3 Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 5a6417b..18f6c6f 100644
--- a/README.md
+++ b/README.md
@@ -47,15 +47,15 @@ hexai follows the XDG Base Directory Specification:
- **Configuration:** `~/.config/hexai/config.toml` (or `$XDG_CONFIG_HOME/hexai/`)
- Global settings, provider credentials, and preferences
- Project-specific: `.hexaiconfig.toml` at repository root
-- **Cache:** `~/.cache/hexai/` (or `$XDG_CACHE_HOME/hexai/`)
+- **Cache:** `~/.local/hexai/cache/` (or `$XDG_CACHE_HOME/hexai/`)
- `stats.json` - LLM usage tracking (regenerable)
- `stats.lock` - File lock for stats access
-- **State & Logs:** `~/.local/state/hexai/` (or `$XDG_STATE_HOME/hexai/`)
+- **State & Logs:** `~/.local/hexai/state/` (or `$XDG_STATE_HOME/state/`)
- `tmux-edit-history.jsonl` - History of text submitted via tmux popup
- `hexai-lsp.log` - LSP server debug logs
- `hexai-tmux-edit.log` - Tmux edit debug logs
- `hexai-mcp-server.log` - MCP server debug logs
-- **Data:** `~/.local/share/hexai/` (or `$XDG_DATA_HOME/hexai/`)
+- **Data:** `~/.local/hexai/data/` (or `$XDG_DATA_HOME/`)
- `prompts/default.jsonl` - Built-in prompts for MCP server
- `prompts/user.jsonl` - User-created custom prompts
- **Temporary Files:** `/tmp/` (OS temp directory)