From 8312a19b4e1f9849aae9912433824b19e03a8daf Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Wed, 11 Feb 2026 20:48:01 +0200 Subject: 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 --- internal/tmuxedit/history_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/tmuxedit') diff --git a/internal/tmuxedit/history_test.go b/internal/tmuxedit/history_test.go index 8a3d8af..6d369fe 100644 --- a/internal/tmuxedit/history_test.go +++ b/internal/tmuxedit/history_test.go @@ -22,7 +22,7 @@ func TestAppendHistory(t *testing.T) { } // Verify file was created - historyPath := filepath.Join(tmpDir, "hexai", "tmux-edit-history.jsonl") + historyPath := filepath.Join(tmpDir, "state", "tmux-edit-history.jsonl") if _, err := os.Stat(historyPath); err != nil { t.Fatalf("history file not created: %v", err) } -- cgit v1.2.3