summaryrefslogtreecommitdiff
path: root/internal/lsp
AgeCommit message (Collapse)Author
2025-09-19fixPaul Buetow
2025-09-17chore(version): bump to v0.11.1 (gpt-5 defaults, timeouts, global stats, ↵v0.11.1Paul Buetow
editor fix)
2025-09-17feat(stats,tmux): global Σ@window stats across processes with flocked ↵Paul Buetow
cache; width mitigation (narrow/maxlen); configurable [stats] window_minutes; robust coverage parsing; docs update\n\n- Add internal/stats with windowed event cache + flock + atomic writes\n- Wire stats into LSP/CLI/Tmux Action; tmux shows Σ@window with per-model tail\n- HEXAI_TMUX_STATUS_NARROW and HEXAI_TMUX_STATUS_MAXLEN for width control\n- Add [stats] window_minutes to config and apply on startup\n- Improve Magefile coverage handling; add tests to lift coverage >85%\n- Update docs/tmux.md and config example
2025-09-16release: v0.11.0 – context-aware in-editor chat; respect ↵v0.11.0Paul Buetow
general.context_mode; stabilize env-dependent tests
2025-09-15release: v0.10.1v0.10.1Paul Buetow
- Fix TUI 'p' hotkey: open editor for Custom prompt - Introduce ActionCustomPrompt to disambiguate from Custom actions submenu - Bump version to 0.10.1
2025-09-14release: v0.10.0v0.10.0Paul Buetow
2025-09-08docs: move tmux documentation to its own filePaul Buetow
2025-09-08tmux: colored LLM status with provider + stats; add start heartbeat for ↵Paul Buetow
LSP/CLI/TUI; theme support via HEXAI_TMUX_STATUS_THEME and HEXAI_TMUX_STATUS_FG/BG; docs: update tmux options and add Helix+tmux quickstart
2025-09-07feat(tmux): add status line updates via @hexai_status; wire into CLI, LSP ↵Paul Buetow
stats, and tmux-action
2025-09-07feat: add 'Simplify and improve' action; configurable prompts in config; ↵Paul Buetow
wire into LSP and TUI
2025-09-07test: add seams for RunTUI and client; expand hexaiaction tests; cover lsp ↵Paul Buetow
initialized and testutil fixtures
2025-09-06more testsPaul Buetow
2025-09-06fix unit test coveragePaul Buetow
2025-09-06chore(version): bump to 0.6.0; configurable prompts via config + testsv0.6.0Paul Buetow
2025-09-06use gofumptPaul Buetow
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: 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(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-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-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-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-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-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;'