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-prompts.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'docs/mcp-prompts.md') diff --git a/docs/mcp-prompts.md b/docs/mcp-prompts.md index 23ce453..2297281 100644 --- a/docs/mcp-prompts.md +++ b/docs/mcp-prompts.md @@ -150,14 +150,14 @@ Prompts are stored in two files: - `default.jsonl`: Built-in prompts (automatically created) - `user.jsonl`: Your custom prompts -Both files are in: `~/.local/share/hexai/prompts/` (or your configured directory) +Both files are in: `~/.local/hexai/data/prompts/` (or your configured directory) ### Method 1: Manual Editing Edit `user.jsonl` directly: ```bash -cd ~/.local/share/hexai/prompts/ +cd ~/.local/hexai/data/prompts/ nano user.jsonl ``` @@ -211,7 +211,7 @@ prompt = { } # Append to user.jsonl -with open("~/.local/share/hexai/prompts/user.jsonl", "a") as f: +with open("~/.local/hexai/data/prompts/user.jsonl", "a") as f: f.write(json.dumps(prompt) + "\n") ``` @@ -228,7 +228,7 @@ import ( ) func main() { - store, _ := promptstore.NewJSONLStore("~/.local/share/hexai/prompts/") + store, _ := promptstore.NewJSONLStore("~/.local/hexai/data/prompts/") prompt := &promptstore.Prompt{ Name: "security_audit", @@ -407,7 +407,7 @@ Example tags: Store prompts in git for team collaboration: ```bash -cd ~/.local/share/hexai/prompts/ +cd ~/.local/hexai/data/prompts/ git init git add user.jsonl git commit -m "Add custom prompts" -- cgit v1.2.3