Wire allium-lsp in plugin.json for live .allium diagnostics (#39)#48
Conversation
Add an lspServers entry so the Claude Code plugin connects the allium-lsp language server to .allium files, giving Claude checker diagnostics, go-to-definition and hover immediately after each edit without a separate `allium check` invocation. Note in the README that allium-lsp is not bundled and must be installed separately (and be on PATH), consistent with official marketplace LSP plugins. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The language server calls createConnection(ProposedFeatures.all), which requires a transport flag on argv, so it must be launched as `allium-lsp --stdio` (per allium-tools CONTRIBUTING). Add args: ["--stdio"] to the lspServers entry; without it the server errors on startup. allium-lsp is not published to npm (the bare and @juxt-scoped names both 404), so drop the `npm install -g allium-lsp` instruction and point to the allium-tools repo for installing the server onto PATH instead. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sanity-check of the issue's suggested config — two correctionsI verified the request against the Claude Code plugin schema and the actual
The field names
|
|
Upstream dependency now in progress: juxt/allium-tools#54 makes |
|
Correction — #48 is not blocked by npm publishing (allium-tools#54). The allium-tools#54 (npm |
Refresh the vendored snapshot to current juxt/allium main: picks up the lspServers block (juxt/allium#48), the external-API pattern (#46) and the zero-argument contract signature docs (#49). 229ccd0 also carries the .codex-plugin/plugin.json merged via #41, matching the ref pinned by the sync guard (juxt#12). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* Expose Allium as local marketplace plugin * Re-vendor plugins/allium from juxt/allium@229ccd0 Refresh the vendored snapshot to current juxt/allium main: picks up the lspServers block (juxt/allium#48), the external-API pattern (#46) and the zero-argument contract signature docs (#49). 229ccd0 also carries the .codex-plugin/plugin.json merged via #41, matching the ref pinned by the sync guard (#12). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Yavor Panayotov <y.panayotov@yahoo.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
What
Wires the
allium-lsplanguage server into the Claude Code plugin so Claude receives live diagnostics, go-to-definition and hover for.alliumfiles immediately after each edit — without a separateallium checkrun. Closes #39.Changes
.claude-plugin/plugin.json— add thelspServersentry (exact config from the issue):README.md— note in the Verification section thatallium-lspis not bundled and must be installed separately and be onPATH, with a pointer to allium-tools.Acceptance criteria (#39)
plugin.jsonincludes anlspServersentry wiringallium-lspto.alliumallium-lspmust be installed separatelyallium-lspbinary on PATH and a Claude Code session; the binary work lives in juxt/allium-tools and is out of scope for this repo.🤖 Generated with Claude Code