From ad99f0a6a65bb1d327feb933d5349fc067c881f2 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 17 Aug 2025 21:39:01 +0300 Subject: feat: Support XDG config home This change implements support for the XDG Base Directory Specification for the configuration file. The configuration file is now read from `$XDG_CONFIG_HOME/hexai/config.json` if the `XDG_CONFIG_HOME` environment variable is set. If it is not set, it falls back to the previous location, `$HOME/.config/hexai/config.json`. This change also includes: - A fix for a bug in the test suite where a test was failing due to an environment variable being set. - Updates to the documentation to reflect the new configuration file location. - A version bump to 0.1.0. --- cmd/hexai/main.go | 1 - 1 file changed, 1 deletion(-) (limited to 'cmd') diff --git a/cmd/hexai/main.go b/cmd/hexai/main.go index 2a0e81b..48cb7db 100644 --- a/cmd/hexai/main.go +++ b/cmd/hexai/main.go @@ -1,5 +1,4 @@ // Summary: Hexai CLI entrypoint; parses flags and delegates to internal/hexaicli. -// Not yet reviewed by a human package main import ( -- cgit v1.2.3