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/lsp/context_test.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'internal/lsp/context_test.go') diff --git a/internal/lsp/context_test.go b/internal/lsp/context_test.go index fe5d73b..54553d6 100644 --- a/internal/lsp/context_test.go +++ b/internal/lsp/context_test.go @@ -1,3 +1,5 @@ +// Summary: Tests for context-building logic (window, full-file) and truncation behavior. +// Not yet reviewed by a human package lsp import ( -- cgit v1.2.3