Skip to content

fix: lsp server package deprecation#3

Merged
davydkov merged 1 commit intolikec4:mainfrom
smonfort:fix/lsp-package-deprecation
Apr 7, 2026
Merged

fix: lsp server package deprecation#3
davydkov merged 1 commit intolikec4:mainfrom
smonfort:fix/lsp-package-deprecation

Conversation

@smonfort
Copy link
Copy Markdown

@smonfort smonfort commented Mar 19, 2026

The default plugin configuration still relies on the deprecated @likec4/language-server package, which now returns the following error

This package is not available as a standalone LSP server. Use `likec4 lsp` instead.

The fix:

  • replaces @likec4/language-server with thelikec4 lsp command
  • requires the likec4 package to be installed globally as part of the plugin build command

Summary by CodeRabbit

  • Chores
    • Updated language server command initialization to align with new package structure
    • Updated installation documentation to reflect new package naming

Run LSP using likec4 cli instead of @likec4/language-server
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 19, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 9dedc4ab-1e78-41c7-9d50-cc0ee804994b

📥 Commits

Reviewing files that changed from the base of the PR and between 78bdba8 and 5acbdac.

📒 Files selected for processing (2)
  • lsp/likec4.lua
  • readme.md

📝 Walkthrough

Walkthrough

The language server command invocation was updated from likec4-language-server --stdio to likec4 lsp --stdio in the Lua configuration, with corresponding package installation changes in the documentation.

Changes

Cohort / File(s) Summary
Language Server Configuration
lsp/likec4.lua
Updated command from likec4-language-server executable with --stdio to likec4 with lsp --stdio arguments.
Installation Instructions
readme.md
Updated lazy.nvim build command from installing @likec4/language-server package globally to likec4. Removed extra blank line in documentation.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Poem

A rabbit hops through configs so fine,
Commands renamed, now they align,
From likec4-language-server tall,
To likec4 lsp—simpler for all! 🐰✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: updating the LSP server package from a deprecated @likec4/language-server to the likec4 CLI command.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

You can disable the changed files summary in the walkthrough.

Disable the reviews.changed_files_summary setting to disable the changed files summary in the walkthrough.

davydkov pushed a commit that referenced this pull request Apr 7, 2026
@davydkov davydkov merged commit cf307c7 into likec4:main Apr 7, 2026
1 check passed
@smonfort smonfort deleted the fix/lsp-package-deprecation branch April 7, 2026 18:24
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.

2 participants