From a82d0b061a02fd395de293353386d0b16cbe6b18 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 11 Feb 2026 20:53:45 +0200 Subject: docs: update all paths to consolidated .local/hexai directory Update all documentation to reflect new directory structure: - Cache: ~/.local/hexai/cache/ - State: ~/.local/hexai/state/ - Data: ~/.local/hexai/data/ Updated files: - README.md - docs/mcp-setup.md - docs/mcp-prompts.md - docs/mcp-managing-prompts.md - docs/mcp-features-summary.md - docs/mcp-automatic-backups.md - docs/mcp-server-complete.md Amp-Thread-ID: https://ampcode.com/threads/T-019c4e03-73db-70a2-ae27-3e1cc31d59c3 Co-authored-by: Amp --- docs/mcp-setup.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'docs/mcp-setup.md') diff --git a/docs/mcp-setup.md b/docs/mcp-setup.md index 4ea3a0b..6f75cb9 100644 --- a/docs/mcp-setup.md +++ b/docs/mcp-setup.md @@ -84,7 +84,7 @@ claude mcp remove hexai-prompts -s user **Server Options:** - `--config`: Path to hexai config file (optional) -- `--log`: Path to log file (default: `~/.local/state/hexai/hexai-mcp-server.log`) +- `--log`: Path to log file (default: `~/.local/hexai/state/hexai-mcp-server.log`) - `--prompts-dir`: Directory for prompt storage (optional) - `--version`: Print version and exit @@ -119,12 +119,12 @@ Any MCP-compatible client can use hexai-mcp-server. The general pattern is: ## Prompts Directory -By default, prompts are stored in `~/.local/share/hexai/prompts/` (XDG_DATA_HOME). You can customize this location using: +By default, prompts are stored in `~/.local/hexai/data/prompts/` (XDG_DATA_HOME). You can customize this location using: 1. **Command-line flag**: `--prompts-dir /path/to/prompts` 2. **Environment variable**: `HEXAI_MCP_PROMPTS_DIR=/path/to/prompts` 3. **Config file**: Add `prompts_dir = "/path/to/prompts"` to `[mcp]` section in `config.toml` -4. **Default**: `$XDG_DATA_HOME/hexai/prompts/` or `~/.local/share/hexai/prompts/` +4. **Default**: `$XDG_DATA_HOME/prompts/` or `~/.local/hexai/data/prompts/` **Precedence order** (highest to lowest): 1. Command-line flag (`--prompts-dir`) @@ -194,7 +194,7 @@ chmod +x ~/go/bin/hexai-mcp-server **Check the log file**: ```bash -tail -f ~/.local/state/hexai/hexai-mcp-server.log +tail -f ~/.local/hexai/state/hexai-mcp-server.log ``` Common issues: @@ -206,19 +206,19 @@ Common issues: 1. Verify prompts directory exists: ```bash - ls -la ~/.local/share/hexai/prompts/ + ls -la ~/.local/hexai/data/prompts/ # Should show default.jsonl and possibly user.jsonl ``` 2. Check default.jsonl has content: ```bash - wc -l ~/.local/share/hexai/prompts/default.jsonl + wc -l ~/.local/hexai/data/prompts/default.jsonl # Should show 7 or more lines ``` 3. Verify JSON format: ```bash - jq -s '.' ~/.local/share/hexai/prompts/default.jsonl + jq -s '.' ~/.local/hexai/data/prompts/default.jsonl # Should parse successfully ``` -- cgit v1.2.3