Skip to content

Add LSP production-readiness capabilities - #142

Merged
yottadynamics merged 1 commit into
mainfrom
lsp-production-readiness-capabilities-pr
Jul 27, 2026
Merged

yottadynamics merged 1 commit into
mainfrom
lsp-production-readiness-capabilities-pr

Conversation

@yottadynamics

Copy link
Copy Markdown
Owner

Summary

Adds three production-readiness improvements to the experimental LSP surface:

  • new read-only lsp_document_highlights tool backed by textDocument/documentHighlight
  • new read-only lsp_selection_ranges tool backed by textDocument/selectionRange
  • safer lsp_rename_preview via textDocument/prepareRename preflight when the server supports it

This keeps the LSP direction focused on agent correctness and edit safety rather than IDE-display features. It also updates the TUI/tool docs/prompt surfaces so the new tools are discoverable and rendered correctly.

Related issue

No linked issue.

How was this tested?

  • go test ./internal/lsp ./internal/agent ./internal/tui
  • go test ./...
  • go vet ./...

Observed:

  • all tests passed
  • vet was clean
  • new LSP client behaviors are covered with JSON-RPC pipe tests
  • new agent/TUI surfaces are covered with unit tests

Checklist

  • go test ./... passes
  • go vet ./... is clean
  • Tests added or updated — a new capability ships with tests, a bug fix ships with a regression test
  • Docs updated in the same change if behavior or surface changed (relevant docs/ guide)
  • PR is focused on one logical change

@yottadynamics
yottadynamics merged commit 7fb0a51 into main Jul 27, 2026
5 checks passed
@yottadynamics
yottadynamics deleted the lsp-production-readiness-capabilities-pr branch July 27, 2026 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant