summaryrefslogtreecommitdiff
path: root/internal/appconfig
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-08-17 18:52:51 +0300
committerPaul Buetow <paul@buetow.org>2025-08-17 18:52:51 +0300
commit454451105ad3522d2ac3d22136eedee4a4d034af (patch)
treeaa4b5723809c4d45bfc9094a38c01c6415582f9c /internal/appconfig
parent498923e77c201ca90dc35c7934f4f7f1c9c3ccd2 (diff)
cli+lsp: refactor main packages into internal runners; add tests
- Move CLI logic to internal/hexaicli with Run/RunWithClient - Move LSP logic to internal/hexailsp with Run/RunWithFactory - Extract helpers; keep behavior identical for both binaries - Add unit tests for hexaicli (input parsing, messages, streaming) and hexailsp (factory wiring, client creation, logging settings) - Add top-of-file summaries and 'Not yet reviewed by a human' comments to all Go files - Update README with internal package docs
Diffstat (limited to 'internal/appconfig')
-rw-r--r--internal/appconfig/config.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/appconfig/config.go b/internal/appconfig/config.go
index d12bdbe..c0f28d2 100644
--- a/internal/appconfig/config.go
+++ b/internal/appconfig/config.go
@@ -1,3 +1,5 @@
+// Summary: Application configuration model and loader; reads ~/.config/hexai/config.json and merges defaults.
+// Not yet reviewed by a human
package appconfig
import (
@@ -99,4 +101,3 @@ func Load(logger *log.Logger) App {
}
return cfg
}
-