summaryrefslogtreecommitdiff
path: root/internal
AgeCommit message (Collapse)Author
2025-09-04tests(llm): add OpenAI and Copilot HTTP tests (success + token/error paths); ↵Paul Buetow
llm coverage ~61%
2025-09-04tests(lsp): push coverage over 80%\n- Add init/trigger, chat history, ↵Paul Buetow
document handler, transport readMessage, and rewrite resolve tests\n- Cover deferShowDocument and shutdown reply\n- Now ~81.2% coverage for internal/lsp
2025-09-04tests(lsp): add diagnostics action builder and completion message/prefix ↵Paul Buetow
tests; lsp ~72%
2025-09-04tests(lsp): add end-to-end diagnostics resolve and provider-native error ↵Paul Buetow
fallback coverage; lsp ~72%
2025-09-04tests(lsp): add end-to-end chat edit test with async wait; lsp coverage ~70%Paul Buetow
2025-09-04tests(lsp): add end-to-end codeAction and resolve tests via LSP response capturePaul Buetow
2025-09-04tests(lsp): add more helper and code action tests; coverage trending upwardPaul Buetow
2025-09-04tests(lsp): add completion helper tests (trigger info, suppression, prefix ↵Paul Buetow
heuristics)
2025-09-04tests: fix hexaicli OpenAI-key dependent tests; add lsp code action and ↵Paul Buetow
helper tests; ignore coverage artifacts
2025-09-04tests(lsp,llm): add helper and factory tests to raise coverage modestly; ↵Paul Buetow
continue toward 80% target
2025-09-04tests: quick wins to raise coveragePaul Buetow
- internal/logging >90% - internal/hexaicli >90% - keep next targets: internal/lsp, internal/llm
2025-09-04logging: add tests for Logf/Preview and ChatLogger.LogStart; achieve >90% ↵Paul Buetow
package coverage
2025-09-04llm/ollama: add comprehensive tests (Chat, ChatStream, errors) to reach >80% ↵Paul Buetow
coverage for ollama.go
2025-09-04appconfig: add comprehensive tests; achieve >80% coverage for packagePaul Buetow
2025-09-03lsp: add 'Hexai: document code' action to add doc comments to selected codePaul Buetow
2025-09-03lsp: add 'Hexai: implement unit test' code action for Gov0.4.1Paul Buetow
- Generate or append tests to _test.go - Jump to generated test via showDocument (command + server-initiated) - Document the feature in docs/go-unit-tests.md - Prefix action titles with 'Hexai: ' - Bump version to 0.4.1
2025-09-03chore: bump version to 0.4.0v0.4.0Paul Buetow
2025-09-03Phase 2: add configurable completion debounce\n\n- App config: ↵Paul Buetow
completion_debounce_ms (default 200)\n- Server: wait until no input for debounce before LLM calls\n- Applies to chat and provider-native completion paths\n- Tests: add debounce and adjust to verify behavior\n\nAll unit tests pass.
2025-09-03Phase 1: remove single in-flight LLM gate\n\n- Drop llmBusy state and busy ↵Paul Buetow
item\n- Remove concurrency guard in completion paths\n- Allow manual invoke (TriggerKind=1) even after whitespace\n- Delete llm_busy_test; update TODO\n\nAll unit tests pass.
2025-09-03delete dead codePaul Buetow
2025-08-31update the statusPaul Buetow
2025-08-31module: set module path to codeberg.org/snonux/hexai; update imports; docs: ↵v0.3.4Paul Buetow
add go install instructions
2025-08-29release: bump version to v0.3.3v0.3.3Paul Buetow
2025-08-29lsp: move remaining small helpers (code-fence, label, duplicate prefix, ↵Paul Buetow
semicolon tag, extractRangeText) to handlers_utils.go; keep handlers.go <1000 lines
2025-08-29lsp: extract generic helpers to handlers_utils.go; tidy importsPaul Buetow
2025-08-29lsp: refactor dispatch to handler map; split handlers into feature files ↵Paul Buetow
(completion, codeaction, init, document); decompose completion logic into small helpers; update review checklist
2025-08-28bump version to 0.3.2 (patch release)v0.3.2Paul Buetow
2025-08-28lsp: limit to one in-flight LLM query; return visible 'LLM busy' completion ↵Paul Buetow
item with provider/model; retain chat EOL suppression
2025-08-28bump version to 0.3.1v0.3.1Paul Buetow
2025-08-28lsp: switch in-editor chat triggers to ?> !> :> ;> and suppress normal ↵Paul Buetow
completion on EOL chat trigger; keep ;;text; inline trigger unchanged; update docs and tests
2025-08-28copilot: add session token + codex code completion; lsp: prefer native ↵v0.3.0Paul Buetow
CodeCompleter with chat fallback; remove obsolete throttle path; add tests; bump version to 0.3.0
2025-08-28lsp/chat: remove '..' trigger; docs: update triggers; tests: align throttle ↵v0.2.1Paul Buetow
test; version: bump to 0.2.1
2025-08-22remove busy checkPaul Buetow
2025-08-22stuffPaul Buetow
2025-08-22logging: log completion TriggerKind and TriggerCharacter for every requestPaul Buetow
2025-08-22completion: only apply leading indentation for ';;text;' prompts; not for ↵Paul Buetow
';text;'
2025-08-22completion: only apply leading indentation for ';;text;' prompts; not for ↵Paul Buetow
';text;'
2025-08-22chat: remove ';;' as in-editor chat trigger to avoid conflict with inline ↵Paul Buetow
';;text;' completion; update docs
2025-08-22lsp: suppress auto-trigger when line contains bare ';;' (no ';;text;') ↵Paul Buetow
unless manual invoke; add explicit skip log
2025-08-22lsp: refine ';;text;' detection to require non-empty, non-space content and ↵Paul Buetow
closing ';'; ensure bare ';;' and ';;;' do not auto-trigger; add tests
2025-08-22lsp: inline prompt override does not trigger for bare ';;' (requires ↵Paul Buetow
';;text;'); add unit test
2025-08-22lsp: always trigger completion on inline semicolon prompts (;text; or ↵Paul Buetow
';;...;'); relax prefix check accordingly; add tests
2025-08-22tests(lsp): add duplicate-prefix and manual-invoke tests; fix cache key to ↵Paul Buetow
ignore trailing whitespace; guard compCache init
2025-08-22lsp: relax short-prefix check for manual invoke and after ')' in signaturesPaul Buetow
2025-08-22lsp: treat manual completion as trigger; remove space from default triggers; ↵Paul Buetow
avoid auto after whitespace
2025-08-20betterPaul Buetow
2025-08-20chore: bump version to v0.2.0; docs: split config/usage and update in-editor ↵v0.2.0Paul Buetow
chat
2025-08-20chore: bump version to v0.1.1v0.1.1Paul Buetow
2025-08-20lsp: add tiny LRU cache for last 10 completions; ignore trailing whitespace ↵Paul Buetow
in cache key; log cache hits; report busy with isIncomplete to prompt client retry
2025-08-19config: apply HEXAI_* env even without config file; docs: clarify Copilot ↵Paul Buetow
key; prefer HEXAI_COPILOT_API_KEY in builders