From 454451105ad3522d2ac3d22136eedee4a4d034af Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 17 Aug 2025 18:52:51 +0300 Subject: 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 --- internal/appconfig/config.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'internal/appconfig') 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 } - -- cgit v1.2.3