diff options
| author | Paul Buetow <paul@buetow.org> | 2026-02-11 20:53:45 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-02-11 20:53:45 +0200 |
| commit | a82d0b061a02fd395de293353386d0b16cbe6b18 (patch) | |
| tree | 55ac689596267b43d5dbcdc608cfc23472c2faf8 /docs/mcp-prompts.md | |
| parent | 8312a19b4e1f9849aae9912433824b19e03a8daf (diff) | |
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 <amp@ampcode.com>
Diffstat (limited to 'docs/mcp-prompts.md')
| -rw-r--r-- | docs/mcp-prompts.md | 10 |
1 files changed, 5 insertions, 5 deletions
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" |
