summaryrefslogtreecommitdiff
path: root/internal
AgeCommit message (Collapse)Author
2025-09-06feat(lsp): configurable inline/chat triggers; switch inline markers to ↵Paul Buetow
>text>/>>text>; update docs and example config; tests updated to new triggers and raise LSP coverage to >=85%; chore: remove semicolon legacy; chore(mage): auto-refresh coverage daily if docs/coverage.out is older than 24h
2025-09-05over 80% coverage nowPaul Buetow
2025-09-05tests: provider header assertions, more negative cases (no choices, empty ↵Paul Buetow
deltas), provider-native success; update REPORT.md
2025-09-05tests: add more negative provider cases and table-driven LSP coverage; ↵Paul Buetow
assert headers; add indent postprocess test
2025-09-04tests: add more table-driven cases and negative provider tests; update reportPaul Buetow
2025-09-04tests: expand negative SSE and table-driven coverage; add docs/testing.md; ↵Paul Buetow
use shared fixtures
2025-09-04tests: add negative SSE test, table-driven refactors, and use shared ↵Paul Buetow
fixtures across tests; update REPORT.md progress
2025-09-04tests: add shared test fixtures, expand provider breadth (multi-choice, ↵Paul Buetow
error bodies), add LSP rewrite/diagnostics realism and table-driven tests
2025-09-04tests(llm): raise coverage to >=80%\n- Add OpenAI/Copilot HTTP success + ↵Paul Buetow
stream + token tests\n- Cover With* options and NewFromConfig success paths\n- llm package now ~80.3%
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