Repository navigation
Releases
mcpp-language-server v0.25.0
mcpp-language-server 0.25.0
What changed
A new series, because the server changed: its payload carries a new engine (mcppls-clangd 0.0.24,
23.1.0-mcppls.13), and a change to the server is a series release (docs/92-release.md "Versions"). Every component
is 0.25.0. The plan was a patch of the server and of VS Code, 0.24.2; it was never published and the number is
not used.
Fixed
- A module that includes
<Windows.h>for a 32-bit Windows target (i686-windows-msvc) did not build, and neither
did anything that imports it (#100). The module
worker failed with "MS-style inline assembly is not available: target MC unavailable" inwinnt.h
(Int64ShllMod32and its siblings use__asmblocks under_M_IX86), and every module downstream of it
failed with it, whilemcpp build --target i686-windows-msvcbuilt the same code. The report took it for an engine
built without the X86 target; it has always had one. clang parses__asmwith the target's MC and assembly
parser, which clangd did not register: the editor hid the error, but a module build cannot, because clang writes no
module interface once an error was reported. Fixed in the engine (mcppls-clangd 0.0.24,23.1.0-mcppls.13, patch
0049), which the payload now carries; the product only gained its tests: the conformance fixtures
compdb-i686-asm(a module with an__asmblock fori686-pc-windows-msvc, on Linux) and
compdb-clangxx-msvc-i686-windows-h(the report's<Windows.h>module, built by clang++ first, on Windows).
A mistake inside an__asmblock can now be reported in the editor as the compiler reports it; before, the
whole block was accepted. Not on an arm64 host (Apple silicon, Linux arm64): the engine's image for it ended by
SIGBUS at startup with the libraries linked (found by this repository's CI on the first candidate: the server's
report, the VS Code suite and the proot job), whose cause is not found, so the arm64 engine is as before and a
module with an__asmblock for a 32-bit Windows target still does not build there.mcppls.buildDiscovery.mcppTargetwas not at fault and the target handling is unchanged.
Design:.agents/docs/2026-11-26-issue-100-engine-batch-design.md.
Files
| File | What it is | How to install it |
|---|---|---|
mcppls-0.25.0.vsix |
The VS Code extension, one for every system: it carries the one payload, whose entry for the machine it runs on starts the server | code --install-extension <file>, or the Extensions view's “Install from VSIX…” |
mcppls-payload-0.25.0.tar.gz |
The server, the clangd of every platform and the openkal semantic kit, as one tree (payload/). The server is the one okb of every architecture (bin/mcppls.okb); payload.json's entry for each platform names the runner that starts it (libexec/okrun/<system>-<arch>/okrun[.exe]) and the clangd it drives (clangd/<platform>/). The VSIX and the CLion plugin carry these bytes; Zed and Neovim use it installed beside their plugin |
Unpack it; payload/libexec/okrun/<system>-<arch>/okrun payload/bin/mcppls.okb serve speaks LSP over stdio. For a command named mcppls, use the openkal package or a single file below |
mcppls-zed-0.25.0.tar.gz |
The Zed extension directory mcppls-zed/: extension.toml, the compiled extension.wasm and the crate it was compiled from, which Zed's dev-extension install compiles again. Platform-independent; the server comes from PATH or the installed payload |
Unpack it, then Zed's command palette: zed: install dev extension, and choose mcppls-zed (Zed compiles it, which needs Rust through rustup). The server is mcppls on PATH (the openkal package or a single file), else the payload mcppls-devtools extension --editor zed --install puts in place |
mcppls-clion-0.25.0.zip |
The CLion plugin, one for every system, with the one payload inside it (mcppls-clion/payload/), so it needs nothing else installed. Gradle and the JDK it compiles with come from the clion feature (xim:gradle) |
The JetBrains Marketplace, or CLion: Settings → Plugins → the gear menu → Install Plugin from Disk, and restart |
mcppls-0.25.0-openkal.zip |
The server for every system and architecture as one package (mcpp's tree of the openkal set): both architectures' images under lib/<arch>/, the launchers bin/mcppls (POSIX) and bin/mcppls.exe (Windows), and the platform's runner of Linux x86_64 and aarch64, macOS arm64 and Windows x86_64 under libexec/okrun/, so it needs nothing installed; its mcpp-package.json says where it runs (runs_on). The server alone: clangd and the kits come from a payload, PATH or xlings |
Unpack it and put its bin/ on PATH; mcppls serve speaks LSP over stdio |
mcppls-0.25.0.okb |
The server as one okb (openkal's image package): the image of x86_64 and of aarch64, which the platform's runner of any system starts. The payload, and so every editor's plugin, carries these bytes as bin/mcppls.okb |
okrun mcppls-{version}.okb serve, with the platform's runner of this system: the payload's or the openkal package's libexec/okrun/<system>-<arch>/okrun |
mcppls-0.25.0-linux-x86_64 |
The server as one executable file for Linux x86_64: the platform's carrier with the image inside, which it runs from memory; nothing to unpack or install (a static program) | Rename it mcppls, put it on PATH and chmod +x it; mcppls serve speaks LSP over stdio |
mcppls-0.25.0-linux-aarch64 |
The server as one executable file for Linux aarch64: the platform's carrier with the image inside, which it runs from memory; nothing to unpack or install (a static program) | Rename it mcppls, put it on PATH and chmod +x it; mcppls serve speaks LSP over stdio |
mcppls-0.25.0-macos-aarch64 |
The server as one executable file for macOS arm64: the platform's carrier with the image inside, which it runs from memory; nothing to unpack or install | Rename it mcppls, put it on PATH and chmod +x it; mcppls serve speaks LSP over stdio |
mcppls-0.25.0-windows-x86_64.exe |
The server as one executable file for Windows x86_64: the platform's carrier with the image inside, which it runs from memory; nothing to unpack or install | Rename it mcppls.exe, put it on PATH; mcppls serve speaks LSP over stdio |
mcppls-kit-openkal-0.24.4.tar.gz |
The openkal semantic kit (spec S4, kit-version 2), the one the payload carries: libc++ headers and the std and std.compat module sources, openkal-musl's headers, and the generated headers of each architecture. With it a project is read without a compiler for any target: import std and the standard library work, a system's own headers and macros do not. Its version is the openkal platform's |
xlings install mcppls-kit-openkal, or unpack it into the xlings store as xim-x-mcppls-kit-openkal/<version>/ |
mcppls-kit-x86_64-linux-gnu-23.1.0.tar.gz |
The semantic kit of one target (spec S4): libc++ headers and module sources of the clangd's LLVM release, and the system's C library headers where they may be shipped (macOS: the installed SDK). The server installs the kit of a project's target with xlings once the editor asks; this file is the same kit for a machine without the network | xlings install mcppls-kit-<target>@<version>, or unpack it into the xlings store as xim-x-mcppls-kit-<target>/<version>/ |
mcppls-kit-aarch64-linux-gnu-23.1.0.tar.gz |
The semantic kit of one target (spec S4): libc++ headers and module sources of the clangd's LLVM release, and the system's C library headers where they may be shipped (macOS: the installed SDK). The server installs the kit of a project's target with xlings once the editor asks; this file is the same kit for a machine without the network | xlings install mcppls-kit-<target>@<version>, or unpack it into the xlings store as xim-x-mcppls-kit-<target>/<version>/ |
mcppls-kit-arm64-apple-darwin-23.1.0.tar.gz |
The semantic kit of one target (spec S4): libc++ headers and module sources of the clangd's LLVM release, and the system's C library headers where they may be shipped (macOS: the installed SDK). The server installs the kit of a project's target with xlings once the editor asks; this file is the same kit for a machine without the network | xlings install mcppls-kit-<target>@<version>, or unpack it into the xlings store as xim-x-mcppls-kit-<target>/<version>/ |
mcppls-kit-x86_64-w64-mingw32-23.1.0.tar.gz |
The semantic kit of one target (spec S4): libc++ headers and module sources of the clangd's LLVM release, and the system's C library headers where they may be shipped (macOS: the installed SDK). The server installs the kit of a project's target with xlings once the editor asks; this file is the same kit for a machine without the network | xlings install mcppls-kit-<target>@<version>, or unpack it into the xlings store as xim-x-mcppls-kit-<target>/<version>/ |
SHA256SUMS |
sha256 of every other file in the release | sha256sum -c SHA256SUMS |
Not in a release
- The Claude Code plugin: it is consumed from the repository through its marketplace file, not downloaded as an archive.
- The rendered xim-pkgindex descriptors (
mcppls-devtools release xlings): they name these assets by their URLs and go to xim-pkgindex, not to the release page. - The model gateway: a separate package, built and tested on its own, not part of what a user installs.
Generated from packaging/release.manifest.json for 0.25.0.
mcpp-language-server v0.24.0
mcpp-language-server 0.24.0
What changed
Fixed
- clangd restarted, and every module was prepared again, when
import stdcame into a file or left it
(#95). The standard library's units are built
with the arguments of one unit of the project, its representative: the first unit that importedstdand was no
module interface, read from the edit buffer as well. In a package whosebuild.mcppimportsstdbeside the
targets (HuxerUI's, with a host toolchain the targets share), typingimport std;intomain.cppmade it the
representative at once, and saving it without the import movedstdback to a build program's unit; the two
commands differ (-I,-g, warnings), so each move restarted clangd ("units are compiled with other arguments
(std.compat.cppm)"), freed the other command's BMIs and prepared all modules again -- four times in six minutes in
the report, and into the restart backoff. Now the representative is chosen by set, then by unit, from what the
build describes: a set of the targets before a set of build programs, a set in which some unit importsstdas
the build database states it before one in which none does, then the database's order; in the set, its first unit
that is no interface, whatever it imports. An edit buffer never moves it, and it leaves a set only when the set's
last importer ofstddoes. The report names it (plan.stdFollows), and the log says when it moves (std follows … now (was …)). The first session after the upgrade can buildstdonce more, where the unit it follows is
another one. A new conformance case drives the reported shape with mcpp's own build database: 0.23.0 restarts
clangd at each save, 0.24.0 never. - An open file a build rule transforms was a second provider of its module:
ambiguous-module, the workspace
degraded, and Format Document did nothing (#95). With[build] sources = []and a rule that generates the
compiled unit from the file you edit (HuxerUI'shcg), mcpp's build database describes only the generated copy;
the open original declares the same module. It is now a shadowed source: not an issue, the state staysready,
the file carries an information diagnostic and the status ashadowed-sourcenotice that names the unit standing
for it and, when the build database'side.generated(S1 §7.2) names the file as the step's input, the step
(generated-from;outside-buildfor a stale copy or a file nosourcespattern covers). It stays out of
clangd's database as before (two files declaring one module make clangd choose one); mcppls's own engine answers
it. The server now readside.generated, and a statedorigin(S1 0.4.0, proposed in
mcpp-community/mcpp#1004) is taken over the step's inputs once a producer writes it. - Format Document formats a file clangd is not given. Formatting depends on the text, the file's name and the
.clang-formatabove it, not on the file's semantic state. A file left out of clangd's database (a shadowed
source, a second provider, a file another context reads) is formatted by clangd under a scratch name in the same
directory (<name>.mcppls-format.<ext>, never written to disk), opened for the one request and closed after it;
nothing clangd says about that name reaches the editor. A file set aside because it ended clangd or kept it busy
is still not given to clangd in any form; when formatting answers nothing, the log and anot-formattednotice say
why, once per file.
Files
| File | What it is | How to install it |
|---|---|---|
mcppls-0.24.0.vsix |
The VS Code extension, one for every system: it carries the one payload, whose entry for the machine it runs on starts the server | code --install-extension <file>, or the Extensions view's “Install from VSIX…” |
mcppls-payload-0.24.0.tar.gz |
The server, the clangd of every platform and the openkal semantic kit, as one tree (payload/). The server is the one okb of every architecture (bin/mcppls.okb); payload.json's entry for each platform names the runner that starts it (libexec/okrun/<system>-<arch>/okrun[.exe]) and the clangd it drives (clangd/<platform>/). The VSIX and the CLion plugin carry these bytes; Zed and Neovim use it installed beside their plugin |
Unpack it; payload/libexec/okrun/<system>-<arch>/okrun payload/bin/mcppls.okb serve speaks LSP over stdio. For a command named mcppls, use the openkal package or a single file below |
mcppls-zed-0.24.0.tar.gz |
The Zed extension directory mcppls-zed/: extension.toml, the compiled extension.wasm and the crate it was compiled from, which Zed's dev-extension install compiles again. Platform-independent; the server comes from PATH or the installed payload |
Unpack it, then Zed's command palette: zed: install dev extension, and choose mcppls-zed (Zed compiles it, which needs Rust through rustup). The server is mcppls on PATH (the openkal package or a single file), else the payload mcppls-devtools extension --editor zed --install puts in place |
mcppls-clion-0.24.0.zip |
The CLion plugin, one for every system, with the one payload inside it (mcppls-clion/payload/), so it needs nothing else installed. Gradle and the JDK it compiles with come from the clion feature (xim:gradle) |
The JetBrains Marketplace, or CLion: Settings → Plugins → the gear menu → Install Plugin from Disk, and restart |
mcppls-0.24.0-openkal.zip |
The server for every system and architecture as one package (mcpp's tree of the openkal set): both architectures' images under lib/<arch>/, the launchers bin/mcppls (POSIX) and bin/mcppls.exe (Windows), and the platform's runner of Linux x86_64 and aarch64, macOS arm64 and Windows x86_64 under libexec/okrun/, so it needs nothing installed; its mcpp-package.json says where it runs (runs_on). The server alone: clangd and the kits come from a payload, PATH or xlings |
Unpack it and put its bin/ on PATH; mcppls serve speaks LSP over stdio |
mcppls-0.24.0.okb |
The server as one okb (openkal's image package): the image of x86_64 and of aarch64, which the platform's runner of any system starts. The payload, and so every editor's plugin, carries these bytes as bin/mcppls.okb |
okrun mcppls-{version}.okb serve, with the platform's runner of this system: the payload's or the openkal package's libexec/okrun/<system>-<arch>/okrun |
mcppls-0.24.0-linux-x86_64 |
The server as one executable file for Linux x86_64: the platform's carrier with the image inside, which it runs from memory; nothing to unpack or install (a static program) | Rename it mcppls, put it on PATH and chmod +x it; mcppls serve speaks LSP over stdio |
mcppls-0.24.0-linux-aarch64 |
The server as one executable file for Linux aarch64: the platform's carrier with the image inside, which it runs from memory; nothing to unpack or install (a static program) | Rename it mcppls, put it on PATH and chmod +x it; mcppls serve speaks LSP over stdio |
mcppls-0.24.0-macos-aarch64 |
The server as one executable file for macOS arm64: the platform's carrier with the image inside, which it runs from memory; nothing to unpack or install | Rename it mcppls, put it on PATH and chmod +x it; mcppls serve speaks LSP over stdio |
mcppls-0.24.0-windows-x86_64.exe |
The server as one executable file for Windows x86_64: the platform's carrier with the image inside, which it runs from memory; nothing to unpack or install | Rename it mcppls.exe, put it on PATH; mcppls serve speaks LSP over stdio |
mcppls-kit-openkal-0.24.4.tar.gz |
The openkal semantic kit (spec S4, kit-version 2), the one the payload carries: libc++ headers and the std and std.compat module sources, openkal-musl's headers, and the generated headers of each architecture. With it a project is read without a compiler for any target: import std and the standard library work, a system's own headers and macros do not. Its version is the openkal platform's |
xlings install mcppls-kit-openkal, or unpack it into the xlings store as xim-x-mcppls-kit-openkal/<version>/ |
mcppls-kit-x86_64-linux-gnu-23.1.0.tar.gz |
The semantic kit of one target (spec S4): libc++ headers and module sources of the clangd's LLVM release, and the system's C library headers where they may be shipped (macOS: the installed SDK). The server installs the kit of a project's target with xlings once the editor asks; this file is the same kit for a machine without the network | xlings install mcppls-kit-<target>@<version>, or unpack it into the xlings store as xim-x-mcppls-kit-<target>/<version>/ |
mcppls-kit-aarch64-linux-gnu-23.1.0.tar.gz |
The semantic kit of one target (spec S4): libc++ headers and module sources of the clangd's LLVM release, and the system's C library headers where they may be shipped (macOS: the installed SDK). The server installs the kit of a project's target with xlings once the editor asks; this file is the same kit for a machine without the network | xlings install mcppls-kit-<target>@<version>, or unpack it into the xlings store as xim-x-mcppls-kit-<target>/<version>/ |
mcppls-kit-arm64-apple-darwin-23.1.0.tar.gz |
The semantic kit of one target (spec S4): libc++ headers and module sources of the clangd's LLVM release, and the system's C library headers where they may be shipped (macOS: the installed SDK). The server installs the kit of a project's target with xlings once the editor asks; this file is the same kit for a machine without the network | xlings install mcppls-kit-<target>@<version>, or unpack it into the xlings store as xim-x-mcppls-kit-<target>/<version>/ |
mcppls-kit-x86_64-w64-mingw32-23.1.0.tar.gz |
The semantic kit of one target (spec S4): libc++ headers and module sources of the clangd's LLVM release, and the system's C library... |
mcpp-language-server vscode-v0.24.1
mcpp-language-server 0.24.1 (vscode)
What changed
Fixed
- Carries server 0.24.1: no false "no type named 'align_val_t' in namespace 'std'" with the MSVC STL (#97).
Files
| File | What it is | How to install it |
|---|---|---|
mcppls-0.24.1.vsix |
The VS Code extension, one for every system: it carries the one payload, whose entry for the machine it runs on starts the server | code --install-extension <file>, or the Extensions view's “Install from VSIX…” |
SHA256SUMS |
sha256 of every other file in the release | sha256sum -c SHA256SUMS |
Not in a release
- The Claude Code plugin: it is consumed from the repository through its marketplace file, not downloaded as an archive.
- The rendered xim-pkgindex descriptors (
mcppls-devtools release xlings): they name these assets by their URLs and go to xim-pkgindex, not to the release page. - The model gateway: a separate package, built and tested on its own, not part of what a user installs.
Generated from packaging/release.manifest.json for 0.24.1.
mcpp-language-server v0.23.0
mcpp-language-server 0.23.0
What changed
Fixed
- clangd ended on every module unit that includes a library header, on Windows 11 24H2
(#86). The bundled clangd ended by
0xC000001D(illegal instruction) on the first build of any module unit that includes a header in
its global module fragment, imports a module and uses a type of the header -- on Windows builds
26100 and 26200, and on no earlier one. Its include analysis identified a used include by the file
entry of the include's resolved path; under the runner an open file and its name had two
identities on those builds, the lookup came back empty, and the dereference trapped in the image's
hardened standard library, without a word. Since23.1.0-mcppls.11(mcppls-clangd 0.0.22) the engine
marks an include by the ID it was entered with; unused-include hints keep working. The two
identities themselves are corrected in openkal-windows 0.22.0 (a 32-bit and a 64-bit volume serial
number), which a later platform pin brings to the runner. For 0.22.0 and earlier, a.clangd
withDiagnostics: { UnusedIncludes: None, MissingIncludes: None }avoids it
(docs/50-troubleshooting.md). - No refactoring was offered: "No code actions available" on a class's name, an expression,
auto
(#89). clangd's refactorings
("Define constructor", "Declare implicit copy/move members", "Extract to function", "Expand macro"
and the rest) are units that register themselves when clangd starts; the bundled engine's image was
linked from clangd's libraries alone and carried none of them, on every system, since the engine is
an ok image. A request for code actions was answered with the fixes of its diagnostics and
otherwise with an empty list; the server passed on what it was given. The engine is
23.1.0-mcppls.12(mcppls-clangd 0.0.23), whose image links them, and which is not packaged unless
it answers such a request. - A file that ends clangd costs the session that file, not the engine. The reports of #86 showed
the server's own part in the loop: every exit was recorded as-1; the files set aside were the
ones last asked about (in an editor at rest, every visible file --main.cpp, which could not
reach the fault, while the file that did stayed); and a file set aside went back on an edit, on
"the modules it imports were built again" (built again by the restart), and in every new session,
each return one more engine start. Now:- the exit keeps the number the system gave it and its name:
clangd ended by an illegal instruction (0xC000001D) while building src/ui/monitor_view.cppm,SIGSEGV (signal 11)
elsewhere;lastExitand theengine-exitevent carryexitCode,exitCondition,
endedByEnvironment, and where the runner reports a fault (Linux, macOS) its condition and
frames as image offsets; - the suspect is the file whose build was in flight when clangd ended. One such file is set aside
at that first exit; several, or none, cost each a strike as before; a clangd ended from outside
(killed, terminated) is nobody's; - a file that ended clangd is kept in a crash ledger in the workspace's cache and goes back once
a term (2, 4, 8, 16 minutes, an hour, a day), whatever happens meanwhile: an edit, a rebuilt
module, a changed command and a new session make it eligible and nothing more. After a second
exit an unchanged file is not tried again until it or its modules' sources change. Restart
clangd tries it again at once; a build that does not end clangd clears the record; another
engine starts clean. The status names the file, the count and the condition
(file-ended-engine).
- the exit keeps the number the system gave it and its name:
- A session keeps a reserve of engine starts. The sandbox's table of granted directories (64 a
server process, a slot per read-only grant per start, none returned up to openkal-windows 0.21.0
and its Linux and macOS counterparts) is counted: while three starts are left the server makes no
restart by itself -- clangd is paused (engine-paused), mcppls's own engine answers, and the
three are the person's. The refused start says how many starts were made (it said "33" for 17: a
generation counter), is written to the log each time (it reached only the status and a bundle),
and offers Restart Server, which restores the table in a second. openkal-windows 0.22.0
returns the slots; the count stays as the backstop until the platform pin has it. - A kept answer sent while clangd was between an exit and its restart was answered
cancelled
to the editor, and the server could write to memory it had freed (found by the newengine-trap
fixture): the job is finished before its engine requests are detached. - A released payload's
build.dirtywastruefor the lock file the build tool rewrites; it now
means a tracked source differs, and names the files. The semantic-kit log line no longer reads as
the project's target when it is the host's default. mcppls query symbolcould answer without the definition, andquery refswith "no symbol
named ...", when its own start was slow (a cold machine, or a first query beside a session that
had just begun). A query by name waits for clangd's index before it asks; it knew the index's
report by any progress report, and the server's own ("loading", "preparing modules", shown when a
start takes long enough to be worth showing) counted as one. The query then asked a clangd that had
not read its database yet, and answered with what the module index alone knows -- the declaration.
Only an engine's reports count now. CI met it as the first round ofstabilityon a fresh runner;
a failedclicheck of the conformance runner now says what the command printed.- On macOS a file could stay without its modules for the whole session after a cold start: no
definition or hover across an import, and "module ... could not be built: Failed to open lock file
anchor ..." until the file was edited. clangd builds several files' prerequisites at once when a
session starts, and the lock that orders builds of one module sometimes cannot be opened then (the
engine's code since mcppls-clangd 0.0.20; met in 1 to 2 of 81 stability rounds on darwin-arm64
with this release's engine, none with 0.22.0's). Nothing about the project is wrong and the same
build asked again succeeds: the server no longer records it as the file's module failure, and asks
clangd to build that file again half a second later (forceRebuild), up to three times until the
sources change. The race itself is follow-up in the engine.
Added
engines[].details:buildsInFlight,crashLedger,startBudget(starts made, slots spent,
starts left, the reserve,paused),fileIdentity(consistentorsplit, the engine's own
word on whether an open file is the node its name refers to), and underlastExitreproduce:
theclangd --check=<file>command that builds the suspect alone as the session does.- Status issues
file-ended-engine,engine-paused,engine-restart-withheld(S3, additive). - Conformance
code-actions(every system), as a client that declares code action literals: the
refactorings on a class's name, a selected expression andauto, in a source file and a module's
interface unit, each one carried out -- the action's command goes to clangd and the edit clangd asks
the client to apply holds the text. The runner's new checkcode-actiondoes what an editor does
with an action, and the runner answersworkspace/applyEdit. - Conformance
engine-trap(Linux, macOS): a clangd ended by a signal whenever it builds one file
-- the file is set aside at the first exit and named with the condition, the others keep clangd,
an edit does not send it back, a second session does not hand it to clangd, three starts in all.
clangd-crash-closurefollows the ledger's rule. The conformance cases also run on
windows-2025(Windows build 26100): every Windows row ran on build 20348, where #86's fault
cannot occur. One case stays on the old image alone,cmake-msvc-std, whose own project does not
build with the new image's CMake 4.4.5.
Changed
- A file set aside after clangd crashed on it no longer goes back the moment the modules it imports
are built again (0.0.17 W5, #59 U7a); that makes it eligible, and it goes back when its term ends. - The tests are mtest 0.6.3's: the library (
mcpplibs.mtest,mcpplibs.mtest.manifest) and the engine
CI runs the cases with (.github/versions.env). - CI: a pull request that names an engine candidate (
packaging/engine-candidate.json) is tested
with it, or its run is red. Since the engine's run has one artifact (mcppls-clangd 0.0.21) the
payload job looked for the part where it no longer was and assembled the payload from the lock's
engine without a word;mcppls-devtools payload --candidatenow refuses to run without an engine.
Files
| File | What it is | How to install it |
|---|---|---|
mcppls-0.23.0.vsix |
The VS Code extension, one for every system: it carries the one payload, whose entry for the machine it runs on starts the server | code --install-extension <file>, or the Extensions view's “Install from VSIX…” |
mcppls-payload-0.23.0.tar.gz |
The server, the clangd of every platform and the openkal semantic kit, as one tree (payload/). The server is the one okb of every architecture (bin/mcppls.okb); payload.json's entry for each platform names the runner that starts it (libexec/okrun/<system>-<arch>/okrun[.exe]) and the clangd it drives (clangd/<platform>/). The VSIX and the CLion plugin carry these bytes; Zed and Neovim use it installed beside their plugin |
Unp... |
TEMP: issue 86 evidence (not a release)
TEMPORARY -- not a release of mcpp-language-server. Evidence for issue #86 gathered by the issue86-repro workflow (run 43181924438, attempt 1, commit f00c08a): https://github.com/Sunrisepeak/mcpp-language-server/actions/runs/43181924438. Deleted when the analysis is done.
mcpp-language-server v0.22.0
mcpp-language-server 0.22.0
What changed
Fixed
- An include completion's second quote (#80,
the half 0.21.0 left). clangd's include item replaces the closing quote an editor auto-paired in
its insert range only; its replace range ended at the cursor, so an editor accepting in
replace mode (VS Code'sReplace (Tab)) wrote the quote twice. Both ranges now end together, and
an include line is never answered from the word cache, whose key cannot say when a header list
changed -- the engine's own answer serves it, fresh or at most five seconds late. - A session ran out of engine starts (#86,
Windows and Linux alike). The sandbox that holds an engine to its directories keeps a fixed table of
them and never returns a slot (openkal 0.20.0, measured on both systems), one slot per read-only
grant per start; the reporter's Windows machine spent nine a start and the session's eighth start
failed whole,granting C:/Program Files: out of memory. A start now grants what its system's
driver truly adds to every compile and nothing more -- none on Windows (the plan names each
toolchain; the MSVC and SDK roots are flags mcppls injects),/usralone on Linux (the GCC
driver's implicit include root), macOS' conventional list (its SDK and system frameworks, found
by convention) -- and neighboring read-only grants merge, never into a volume root or the
person's home: a start spends two or three slots and a session holds an order of magnitude more
starts. A compiler named by a bare name resolves through PATH to its installation, and a start
that still fails names the cause and the recovery in its status issue.
Files
| File | What it is | How to install it |
|---|---|---|
mcppls-0.22.0.vsix |
The VS Code extension, one for every system: it carries the one payload, whose entry for the machine it runs on starts the server | code --install-extension <file>, or the Extensions view's “Install from VSIX…” |
mcppls-payload-0.22.0.tar.gz |
The server, the clangd of every platform and the openkal semantic kit, as one tree (payload/). The server is the one okb of every architecture (bin/mcppls.okb); payload.json's entry for each platform names the runner that starts it (libexec/okrun/<system>-<arch>/okrun[.exe]) and the clangd it drives (clangd/<platform>/). The VSIX and the CLion plugin carry these bytes; Zed and Neovim use it installed beside their plugin |
Unpack it; payload/libexec/okrun/<system>-<arch>/okrun payload/bin/mcppls.okb serve speaks LSP over stdio. For a command named mcppls, use the openkal package or a single file below |
mcppls-zed-0.22.0.tar.gz |
The Zed extension directory mcppls-zed/: extension.toml, the compiled extension.wasm and the crate it was compiled from, which Zed's dev-extension install compiles again. Platform-independent; the server comes from PATH or the installed payload |
Unpack it, then Zed's command palette: zed: install dev extension, and choose mcppls-zed (Zed compiles it, which needs Rust through rustup). The server is mcppls on PATH (the openkal package or a single file), else the payload mcppls-devtools extension --editor zed --install puts in place |
mcppls-clion-0.22.0.zip |
The CLion plugin, one for every system, with the one payload inside it (mcppls-clion/payload/), so it needs nothing else installed. Gradle and the JDK it compiles with come from the clion feature (xim:gradle) |
The JetBrains Marketplace, or CLion: Settings → Plugins → the gear menu → Install Plugin from Disk, and restart |
mcppls-0.22.0-openkal.zip |
The server for every system and architecture as one package (mcpp's tree of the openkal set): both architectures' images under lib/<arch>/, the launchers bin/mcppls (POSIX) and bin/mcppls.exe (Windows), and the platform's runner of Linux x86_64 and aarch64, macOS arm64 and Windows x86_64 under libexec/okrun/, so it needs nothing installed; its mcpp-package.json says where it runs (runs_on). The server alone: clangd and the kits come from a payload, PATH or xlings |
Unpack it and put its bin/ on PATH; mcppls serve speaks LSP over stdio |
mcppls-0.22.0.okb |
The server as one okb (openkal's image package): the image of x86_64 and of aarch64, which the platform's runner of any system starts. The payload, and so every editor's plugin, carries these bytes as bin/mcppls.okb |
okrun mcppls-{version}.okb serve, with the platform's runner of this system: the payload's or the openkal package's libexec/okrun/<system>-<arch>/okrun |
mcppls-0.22.0-linux-x86_64 |
The server as one executable file for Linux x86_64: the platform's carrier with the image inside, which it runs from memory; nothing to unpack or install (a static program) | Rename it mcppls, put it on PATH and chmod +x it; mcppls serve speaks LSP over stdio |
mcppls-0.22.0-linux-aarch64 |
The server as one executable file for Linux aarch64: the platform's carrier with the image inside, which it runs from memory; nothing to unpack or install (a static program) | Rename it mcppls, put it on PATH and chmod +x it; mcppls serve speaks LSP over stdio |
mcppls-0.22.0-macos-aarch64 |
The server as one executable file for macOS arm64: the platform's carrier with the image inside, which it runs from memory; nothing to unpack or install | Rename it mcppls, put it on PATH and chmod +x it; mcppls serve speaks LSP over stdio |
mcppls-0.22.0-windows-x86_64.exe |
The server as one executable file for Windows x86_64: the platform's carrier with the image inside, which it runs from memory; nothing to unpack or install | Rename it mcppls.exe, put it on PATH; mcppls serve speaks LSP over stdio |
mcppls-kit-openkal-0.24.4.tar.gz |
The openkal semantic kit (spec S4, kit-version 2), the one the payload carries: libc++ headers and the std and std.compat module sources, openkal-musl's headers, and the generated headers of each architecture. With it a project is read without a compiler for any target: import std and the standard library work, a system's own headers and macros do not. Its version is the openkal platform's |
xlings install mcppls-kit-openkal, or unpack it into the xlings store as xim-x-mcppls-kit-openkal/<version>/ |
mcppls-kit-x86_64-linux-gnu-23.1.0.tar.gz |
The semantic kit of one target (spec S4): libc++ headers and module sources of the clangd's LLVM release, and the system's C library headers where they may be shipped (macOS: the installed SDK). The server installs the kit of a project's target with xlings once the editor asks; this file is the same kit for a machine without the network | xlings install mcppls-kit-<target>@<version>, or unpack it into the xlings store as xim-x-mcppls-kit-<target>/<version>/ |
mcppls-kit-aarch64-linux-gnu-23.1.0.tar.gz |
The semantic kit of one target (spec S4): libc++ headers and module sources of the clangd's LLVM release, and the system's C library headers where they may be shipped (macOS: the installed SDK). The server installs the kit of a project's target with xlings once the editor asks; this file is the same kit for a machine without the network | xlings install mcppls-kit-<target>@<version>, or unpack it into the xlings store as xim-x-mcppls-kit-<target>/<version>/ |
mcppls-kit-arm64-apple-darwin-23.1.0.tar.gz |
The semantic kit of one target (spec S4): libc++ headers and module sources of the clangd's LLVM release, and the system's C library headers where they may be shipped (macOS: the installed SDK). The server installs the kit of a project's target with xlings once the editor asks; this file is the same kit for a machine without the network | xlings install mcppls-kit-<target>@<version>, or unpack it into the xlings store as xim-x-mcppls-kit-<target>/<version>/ |
mcppls-kit-x86_64-w64-mingw32-23.1.0.tar.gz |
The semantic kit of one target (spec S4): libc++ headers and module sources of the clangd's LLVM release, and the system's C library headers where they may be shipped (macOS: the installed SDK). The server installs the kit of a project's target with xlings once the editor asks; this file is the same kit for a machine without the network | xlings install mcppls-kit-<target>@<version>, or unpack it into the xlings store as xim-x-mcppls-kit-<target>/<version>/ |
SHA256SUMS |
sha256 of every other file in the release | sha256sum -c SHA256SUMS |
Not in a release
- The Claude Code plugin: it is consumed from the repository through its marketplace file, not downloaded as an archive.
- The rendered xim-pkgindex descriptors (
mcppls-devtools release xlings): they name these assets by their URLs and go to xim-pkgindex, not to the release page. - The model gateway: a separate package, built and tested on its own, not part of what a user installs.
Generated from packaging/release.manifest.json for 0.22.0.
mcpp-language-server v0.21.0
mcpp-language-server 0.21.0
What changed
- Versions are a series and a patch.
X.Yis shared by the server and every editor plugin,Zis each
component's own, so a plugin's fix is released alone (vscode-v0.21.1) and every marketplace still sees its
versions rise. 0.0.21 is released as 0.21.0, continuing the count (0.0.N is series 0.N). A plugin states its
version ininitializationOptions.plugin, and a server of another series refusesinitializenaming both and
the install that matches; VS Code and CLion also check the server they are about to start.mcppls-devtools versiongains--series X.Y,--bump <component>and--print --component; the release manifest names each
asset's component, and a component's release carries its own files. - CI follows the change. A table of components (
.github/components.tsv) decides which jobs a pull request
runs: a change of the server runs everything, a change of one plugin runs that plugin's jobs over the payload
main already built for the same server, a change of the documentation runs the documentation's checks. Main,
nightly and release runs run everything. - The tests are mtest's, from the directory to the line (mtest 0.5.2, mcpp 2026.11.9.1).
tests/holds them by
kind:unit/the unit tests,cts/the conformance cases (mcppls-cts),bench/the measurements
(mcppls-bench),harness/how the cases drive the server. An object is a case and its type is its kind
(UTest,CTS,Bench), and what a case needs follows its name: the platforms it runs on, the machine it holds,
the bounds of its metrics. A unit test file declares objects and nomain; a file that starts copies of itself
declares what a copy does (an mtestchild). The files of a directory are one program, run as a process per file
of its cases: the server's 44 unit test programs are one (unit), linking what each process reaches, with the two
that run again with a cache of their own intests/isolated/; devtools' and the harness's are one each. Every run
is kept in mtest's store, reported in each job's summary and over every job (unit tests (report)). The conformance cases are written by topic (mcpp.cpp,
targets.cpp,cmake.cpp,xmake.cpp,inferred.cpp,engine.cpp,editing.cpp), each fixture and each of its
variants one line (@polling,@plain,@vscode,@neovim,@zed,@warmfor a second session on the first
one's cache,@linkedfor a workspace reached through a symbolic link). mtest lists, selects, schedules and
records them, two at a time, divided between a platform's parts by the times main's last run measured; each failed
check is a failure of its case, named by its id; a failing case runs once more with the server's log, whichmtest explainnames; a second attempt of a CI job runs only the cases that failed. A case checks that every fixture that
bounds a time holds the machine. The fixture lists of the conformance job, its wrapper script andmtest.tomlare
gone, as are the in-repository harness of the unit tests andmcppls-devtools bench. - The measurements are cases with bounded metrics. A session's start, cold and warm on one cache, bounds its first
navigation (15 s and 5 s; the median of five, 12 s and 5 s, for a release); the review fixtures bound each rule's
precision and recall; the semantic tokens of a large file, the agent task benchmark's data, an agent's runs and the
user-experience scenarios' stages report what they measure. The store keeps every metric, and a CI job shows each
beside main's history and its bounds (mtest analyze trend). The runner's--navigation-budget,
timing_evidence.pyandmcppls-devtools measure summaryare gone: the bounds are stated by the cases. - A fixture that needs CMake 4.4 states it (
requires-cmake), and the runner puts that CMake first on the PATH of its
prepare steps only; the measures a run writes record each check'soptionaland checks that could not run.
The bundled engine is mcppls-clangd 0.0.21
(23.1.0-mcppls.10), its ok image built with zlib as the native engines are, so it reads the index shards an engine
with zlib writes. Built with mcpp 2026.11.9.1 over openkal-platform 0.24.4 and mcpplibs.os 0.4.1; the workspace
requires mcpp 2026.11.9.1, under which a Mach-O image links its C library first, and CI finds a target's outputs
under the identity the request selects (aarch64-macos from Linux is aarch64-macos-musl).
Fixed
- MSVC installed outside Program Files (#81). The image's engine is given the directories of the MSVC
toolchain and the Windows SDK a command selects (-Xmicrosoft-visualc-tools-root,-Xmicrosoft-windows-sdk-root
and clang-cl's/winsysroot,/vctoolsdir,/winsdkdir), so a Visual Studio underD:/VisualStudio2026has
its headers read: 0.0.20 gave the engine only itsmodules/directory, andvcruntime.h,excpt.hand the
STL's headers were not found,stdbecame a stand-in. - A line logged while the process ends. The log's state is never destroyed, so a detached thread (a daemon's
connection, a reader of a child's output) that writes a line aftermainreturns finds it whole; such a write
ended a test image on Linux arm64 with SIGSEGV. - Index shards one engine wrote, another reads. The 0.0.20 image read shards that an engine with zlib had written
(the native engine of 0.0.19 and earlier, or another clangd) and discarded each one ("Compressed string table, but
zlib is unavailable") before indexing again. The 0.0.21 image reads them, and each engine now keeps its database,
index shards and module builds in a cache context of its own identity (clangd-<version>-<platform>-<digest>); the
contexts other engines left are removed when an engine starts (docs/50-troubleshooting.md). - The image asks what a native build asks. In the ok image, 0.0.18 to 0.0.20 checked neither whether the cache is
on a Windows Dev Drive nor whether a Linux server runs under PRoot, without a word: mcpplibs.os 0.3 answered both only
in a native build. Over mcpplibs.os 0.4.0 the image asks the system it runs upon (os::on<P>), so the Dev Drive note
and PRoot's module builds in workers apply to every release (docs/50-troubleshooting.md). - One closing quote after an include completion (#80).
clangd's include completion replaces the closing quote or bracket an editor typed after the cursor. A completion
the server answers from an earlier answer for the same word (a word's complete list, a late answer) ended every
edit at the cursor, so the editor's quote stayed and#include "foo.h""was written. An edit that reaches past
the old cursor now reaches as far past the new one while the line after the cursor is unchanged, and an include
line is never answered from kept answers, whose words are the code's identifiers.
Added
- S6, the payload manifest (
docs/specs/s6-payload.md): payload versions 4 and 5, and the rule by which a client
starts the server — the host's entry and<runner> <server.path>, a refusal naming the platforms a payload serves,
a refusal of a version the client does not implement. The schema and examples (the published 0.0.19 and 0.0.20
manifests) are validated with the other specifications.
Changed
- libarchive and xxHash are their mwrap modules (
mcpplibs.mwrap.libarchive,mcpplibs.mwrap.xxhash), and no
source or test includes a header: the operating system is mcpplibs.os's and the C library mcpplibs.mwrap.libc's.
The archive tests' probe of the C library'sopenandfstat, written for a Windows image fault since fixed,
is gone; the archive writer exercises both on every system.mcppls-devtools check os-surfacereports a header. - The platform is one release,
[email protected](its okrun enters an image in its convention's
floating-point state, so the server's image reads a JSON number on Windows as on the other systems), and every dependency is one release named by its identity in one table
(mcpplibs.os = "0.3.1",mcpplibs.mwrap.libarchive = "3.8.7"); mcpp 2026.11.8.1 or later builds mcppls. - The workspace's shared tables are
[workspace.toolchain],[workspace.profile.release]and
[workspace.xlings.workspace], and one[workspace.dependencies]holds every shared version. - Every file a release distributes holds ok images, the engine included, and CI tests them as such: the server's
unit tests are built once as ok images and run on each of the four systems through its runner (openkal-test).
Native programs are test tools; the native server's and the tools' unit tests run on linux-x64, and on every
platform in a manual CI run withnative. An engine candidate is the engine PR's ok image part,clangd-openkal. - Tests that start copies of themselves start them as the system names this program (
self_command): an ok image
through its loader.
Files
| File | What it is | How to install it |
|---|---|---|
mcppls-0.21.0.vsix |
The VS Code extension, one for every system: it carries the one payload, whose entry for the machine it runs on starts the server | code --install-extension <file>, or the Extensions view's “Install from VSIX…” |
mcppls-payload-0.21.0.tar.gz |
The server, the clangd of every platform and the openkal semantic kit, as one tree (payload/). The server is the one okb of every architecture (bin/mcppls.okb); payload.json's entry for each platform names the runner that starts it (libexec/okrun/<system>-<arch>/okrun[.exe]) and the clangd it drives (clangd/<platform>/). The VSIX and the CLion plugin carry these bytes; Zed and Neovim use it installed beside their plugin |
Unpack it; payload/libexec/okrun/<system>-<arch>/okrun payload/bin/mcppls.okb serve speaks LSP over stdio... |
mcpp-language-server v0.0.20
mcpp-language-server 0.0.20
What changed
The bundled engine is mcppls-clangd 0.0.20
(23.1.0-mcppls.9) as its ok image clangd.okb on every system, each of which it passed mcppls-clangd's acceptance
against the native clangd on (parse time at most 1.3 times, resident memory above it by at most the image's size, as
many modules built at once, and on macOS the SDK found for a command that names none; openkal-acceptance.json): one
engine of both architectures, started by the payload's runner. On Linux the engine
therefore needs nothing of the system: glibc and musl distributions, old and new, run it alike. One package serves every system and architecture: one payload, one
VSIX, one CLion plugin. A project is read without a compiler with the semantic kit of its target, and the payload
carries the openkal kit, with which any target's code reads with the standard library (ecosystem design 2026-10-29
§9). Built with mcpp 2026.11.5.1 over openkal-platform 0.24.0 and mcpplibs.os 0.3.0 for every target, ok
images included; the runner each system's payload carries releases the image file once the
image is loaded and verifies an okb's chunk digests on several processors at once.
Performance qualification
- Engine 0.0.20 has a temporary Linux x64 cold-CPU exception: at most 1.25
times native CPU and at most 3.0 additional CPU seconds in the unchanged
304-unit warm-prime workload. Version 3 accounting is required. The original
1.15 target and strict failure remain visible separately from release
eligibility; other performance and correctness gates are unchanged. The
exception applies only to this engine release and the server carrying its
exact published bytes. The qualifying product CI measurement met the original
1.15 target, so the exception was not applied. It expires for the next engine version. The
performance investigation
records the server/engine OKE and OKB measurements and deferred optimization. - Windows native and image engines use different module paths. Historical
cold readiness was 11.667 to 16.534 seconds; warm readiness was 9.361 to
5.344 seconds. These workload-specific results are not a general latency
guarantee. Final server/editor UX checks remain required; the CPU exception
does not waive failed interactions or debugger compatibility checks.
One package for every system
- One payload (
payload.jsonversion 5): the server's okb of both architectures (bin/mcppls.okb), the runner
of every system it runs on by itself (libexec/okrun/<system>-<arch>/okrun[.exe], from the treemcpp pack --target openkal --mode self-contained --systems allwrites), the clangd of every platform (clangd/<platform>/, with its
identity and integrity files) and the openkal kit. Its entry of a platform names the runner and the engine; the
server, the VS Code extension, the CLion plugin, Neovim, Zed and the conformance runner take the entry of the
platform they run on, and refuse a payload without one, naming the platforms it carries. Measured: 298 MiB, 86 MiB
compressed, against four payloads of 26 to 42 MiB compressed each. - One VSIX (
mcppls-<version>.vsix, no target platform) and one CLion plugin (mcppls-clion-<version>.zip,
no per-system variants), each carrying the payload. Open VSX lists the VSIX as universal. - The server for the command line is the openkal tree
mcppls-<version>-openkal.zip: the launchersbin/mcppls
(POSIX) andbin/mcppls.exe(Windows; the.cmdis gone), both images and the runner of Linux x86_64 and aarch64,
macOS arm64 and Windows x86_64; itsmcpp-package.jsonsays where it runs (runs_on). The xlings descriptor is one
asset for the three systems, each naming the architecturesruns_on.selfcovers.
The engine as an ok image
- A platform's engine may be
clangd.okb(S4-4-12; mcpp design 2026-10-30 part 2 §25.3): a platform whose row of
packaging/payload.lock.jsonnamesmcppls-clangd-openkaluses the ok image of the engine, which the platform's
runner starts. The payload carries the image once (clangd/openkal/), every entry that selects it names it with
engines.clangd.runner, and its identity namesopenkal; the server verifies it as it verifies a native engine,
and starts it, its version probe andmcppls checkthrough the runner.payload --clangd openkal=DIRreplaces the
lock's image, as--clangd <platform>=DIRreplaces a native engine. Every row of the lock names it (openkal-acceptance.json
of mcppls-clangd 0.0.19): parse time 0.60 to 1.10 times the native clangd's, resident memory 8 to 51 MiB above it.
The image reached that through four corrections beneath mcppls, each in the layer that owns it (ecosystem design
2026-10-30 part 2 §25.9): LLVM answered no physical cores for the image's target, so it prepared one module at a time
where the native clangd prepares two (openkal 0.19'skal_task_cores, andkal_task_set_priorityfor background
threads); every program's identifier was 1, so a module lock named its reader as its owner (openkal-musl 0.24); on
macOS each thread-local access of the image made a system call (openkal-macos 0.17.1), 1.25 to 1.96 times the native
parse time before and 0.90 to 1.00 after; and on macOS clangd found no SDK for a command that names none, which the
standard library module needs (the openkal series asksxcrun, as every Apple build of clangd does). On Linux the
image builds modules in process, as every engine does on macOS and Windows: isolated module workers, and the owned
cache bound that is theirs, are the native Linux engine's, and the bound given to the image failed every module build
(the bench's warm completion found nothing to complete). The conformance runner starts a payload's image engine
through its runner.
What the engine spends and what it reaches
mcppls.resources(balanced,performance,economy; mcpp design 2026-11-03 part 4 §16): what the engine
spends the machine for. The engine and every module worker it starts read it (openkal 0.23,
KAL_SPAWN_RESOURCES_*), and each layer acts on it within itself: the runner keeps an image's prepared data and
the snapshot of its initialisers for performance and balanced and reads a start's pages ahead for performance; the C
library's allocator gives memory back after a second for performance and at once for economy. mcppls's own
automatic values follow it: clangd's workers (engine.workers=auto) are every hardware thread for performance and
two for economy, and the cache budget (cache.maxBytes, unset) is 8G and 1G.balanced, the default, keeps every
value of 0.0.19.- An ok-image engine is given what it reads and writes (
mcppls.grants; part 4 §9.3). The runner ofclangd.okb
is started with the project (writable, the directory the engine runs in), mcppls's caches, the temporary directory
and the runner's caches (writable), the engine's own files (read-only and unchanging), the package stores, the
system's roots, and every directory the engine database names (read-only); a directory reached through a link is
given under both names. A database that later names a directory the engine was not given starts it again with it.
mcppls.grantsadds directories (a path read-only,rw:<path>writable), or gives the runner's own default, the
whole file system (all).mcppls.engine.confinehas the system hold the engine to them as well (Landlock on
Linux, the sandbox on macOS); Windows cannot, and there the engine is held by openkal alone and the log says so.
mcppls reportlists the directories of each start. - A module is rebuilt when a header is created earlier on its search path (mcppls-clangd 0.0.20, openkal 0003):
the engine's module workers record the names they found absent, and a BMI whose absent name now exists is built
again. clang's own validation reads the BMI's inputs, of which such a header is not one. - An ok-image engine's fault report is kept with a crash's (openkal 0.23):
openkal: fault: ...and a line per
frame, named from the image, are never left out of the log and go into the crash report.
The status of a workspace, for any program
mcppls status [--root <dir>] --format json(S3 section 8) prints the state of the servers serving a workspace
without starting an engine: this mcppls (version, platform, payload, capabilities), the workspace (the best state
among the live instances, the engine and its restarts, the semantic kit and the command that installs a missing one,
the mcpp the server ran, the problems), each live instance (process, editor, state, since) and mcppls's actions
under each editor's own id: twenty, andinstallKitwith its target while the kit is missing (S3-8-7). A running server states its lastcxxModules/statusbeside itsinstance.json; an
instance whose process is gone is not counted. mcpp's IDE plugins read it instead of an extension's API object
(mcpp design 2026-10-30 part 2 §5.2).- CLion: Tools | mcppls | Restart the Language Server and Reset the Workspace Cache, the JetBrains ids
mcppls statusnames. - A build tool runs for the root it is started in (S2-6-8):
XLINGS_PROJECT_DIR, which an editor started from
another project's terminal inherits and a version manager's shim reads where the directory has no pin, is not passed
to it. A root without a pin ran the other project's pinned mcpp.
Installing on every system
- The release check refuses a payload path that would pass Windows' 260 characters under the deepest
directory the payload is installed in (D3); the install checks run in a user directory with a space and a name
that is not ASCII (D5) and readmcppls statusfrom the installed payload. - **docs/00-install.md states what Window...
mcpp-language-server v0.0.19
mcpp-language-server 0.0.19
What changed
The bundled engine is unchanged (mcppls-clangd 0.0.17,
23.1.0-mcppls.5). The CLion plugin carries its server, as the VS Code extension does, and keeps CLion's own engine
out of the files mcppls answers when the user says so; completion offers the code templates of main.
Code templates for main
auto main() -> int { }andint main() { }are offered as code templates at file scope, where a declaration
begins and what was typed is a prefix ofmain, alone or after the template's type (ma,int ma,auto ma):
a declaration no semantic engine offers, since nothing declares it yet. To an editor that supports snippets the
cursor is left in the body; otherwise the template is inserted as written. None in a file that declaresmain
already, in a named module unit (maincannot be attached to a module), inside braces, comments, literals or
preprocessor lines (S3-6.4). The templates are one table in their own module,mcppls.engine.native.templates,
merged with clangd's answer as the module-syntax keywords are;cxxModules/reportcounts templates answered
without the engine beside the keywords' count. The conformance fixturecompletion-templatesholds the rules,
through a new check kind,completion-item, that reads one item's fields.
CLion: one package per system, the server inside
- Each system has a package of its own,
mcppls-clion-<version>-<platform>.zipforlinux-x64,linux-arm64,
darwin-arm64andwin32-x64, carrying that platform's payload (the server's okb and runner, the pinned clangd and
the semantic kit) atmcppls-clion/payload/; nothing else is installed. Itsplugin.xmldepends on the system's
com.intellij.modules.os.*andcom.intellij.modules.arch.*, by which the JetBrains Marketplace gives CLion 2026.1
and later the package of its own system. The 0.0.18 archive held the plugin alone (25 992 bytes), and its listing
told the user to put a payload'sbin/on PATH, where there is nomcppls. - CLion 2026.1 and later (
sinceBuild261, the first IDE the Marketplace does this for); the Plugin Verifier checks
2026.1 and 2026.2.3. - The server is the one the package carries:
MCPPLS_SERVER(development and tests), then<plugin>/payloadas its
payload.jsonsays, thenmcpplson PATH for a build without a payload. A payload built for another system is
refused with what to install; a runner or clangd that lost its executable bit in an installation gets it back, and
the packages keep the bit. With no server the plugin says so once per project instead of failing to start. mcpp run --features clion -p devtools -- extension --editor clionbuilds this system's package;
--payloads DIRbuilds one per platform it holds (the release does).--installunpacks the package; the server
Zed falls back to (<user data>/mcppls/payload) is no longer installed for CLion and goes with Zed.- CI's CLion test runs the sandbox of this system's package, with nothing on PATH, so what it starts is the server the
package carries; the release checks install each platform's package and have its server answer a project.
mcppls-devtools check platformsholds the CLion build's platforms to the lock.
CLion: one engine per file
- CLion's own engine also analyses a folder no build system configures, with the default compiler, so in the files
mcppls answers its problems and completions came twice. The first time a project has such a file the plugin asks,
once: Use mcppls only in this project, Always use mcppls only, or Keep both; nothing changes until it is
answered. Settings | Tools | mcppls holds the answer for every project and for this one, and Tools | mcppls has Use
mcppls Only in This Project and Restore CLion's Engine in This Project. - "mcppls only" sets those files' highlighting level to Syntax (the inspection widget's level, which CLion Nova's
frontend passes to its backend, so it reports syntax errors alone there; the platform's inspections stop) and keeps
the completion list to mcppls's items and live templates. Syntax colouring, gutter icons and mcppls's diagnostics
stay. Every lowered level is remembered and restoring puts it back, except where the user changed it since. - Another plugin that may run a language server for C and C++ (LSP4IJ) is named once per project, with the way to turn
it off. The question replaces the notice that both engines answer a modelled project when "Also for projects CLion
models" is on.
Files
| File | What it is | How to install it |
|---|---|---|
mcppls-linux-x64.vsix |
The VS Code extension for one platform, with that platform's payload inside it | code --install-extension <file>, or the Extensions view's “Install from VSIX…” |
mcppls-linux-arm64.vsix |
The VS Code extension for one platform, with that platform's payload inside it | code --install-extension <file>, or the Extensions view's “Install from VSIX…” |
mcppls-darwin-arm64.vsix |
The VS Code extension for one platform, with that platform's payload inside it | code --install-extension <file>, or the Extensions view's “Install from VSIX…” |
mcppls-win32-x64.vsix |
The VS Code extension for one platform, with that platform's payload inside it | code --install-extension <file>, or the Extensions view's “Install from VSIX…” |
payload-linux-x64.tar.gz |
The server, the clangd it drives and the semantic kit, as one tree. The server is the one okb of every architecture (bin/mcppls.okb), started by the platform's runner (bin/okrun), as payload.json's server says. The VSIX and the CLion package carry these bytes; Zed and Neovim use it installed beside their plugin |
Unpack it; payload/bin/okrun payload/bin/mcppls.okb serve speaks LSP over stdio. For a command named mcppls, use the universal package or a single file below |
payload-linux-arm64.tar.gz |
The server, the clangd it drives and the semantic kit, as one tree. The server is the one okb of every architecture (bin/mcppls.okb), started by the platform's runner (bin/okrun), as payload.json's server says. The VSIX and the CLion package carry these bytes; Zed and Neovim use it installed beside their plugin |
Unpack it; payload/bin/okrun payload/bin/mcppls.okb serve speaks LSP over stdio. For a command named mcppls, use the universal package or a single file below |
payload-darwin-arm64.tar.gz |
The server, the clangd it drives and the semantic kit, as one tree. The server is the one okb of every architecture (bin/mcppls.okb), started by the platform's runner (bin/okrun), as payload.json's server says. The VSIX and the CLion package carry these bytes; Zed and Neovim use it installed beside their plugin |
Unpack it; payload/bin/okrun payload/bin/mcppls.okb serve speaks LSP over stdio. For a command named mcppls, use the universal package or a single file below |
payload-win32-x64.tar.gz |
The server, the clangd it drives and the semantic kit, as one tree. The server is the one okb of every architecture (bin/mcppls.okb), started by the platform's runner (bin/okrun), as payload.json's server says. The VSIX and the CLion package carry these bytes; Zed and Neovim use it installed beside their plugin |
Unpack it; payload/bin/okrun payload/bin/mcppls.okb serve speaks LSP over stdio. For a command named mcppls, use the universal package or a single file below |
mcppls-zed-0.0.19.tar.gz |
The Zed extension directory mcppls-zed/: extension.toml, the compiled extension.wasm and the crate it was compiled from, which Zed's dev-extension install compiles again. Platform-independent; the server comes from PATH or the installed payload |
Unpack it, then Zed's command palette: zed: install dev extension, and choose mcppls-zed (Zed compiles it, which needs Rust through rustup). The server is mcppls on PATH (the universal package or a single file), else the payload mcppls-devtools extension --editor zed --install puts in place |
mcppls-clion-0.0.19-linux-x64.zip |
The CLion plugin for one platform, with that platform's payload inside it (mcppls-clion/payload/), so it needs nothing else installed. Its plugin.xml depends on the platform's com.intellij.modules.os.* and com.intellij.modules.arch.*, by which the JetBrains Marketplace gives CLion 2026.1 and later the package of its own system. Gradle and the JDK it compiles with come from the clion feature (xim:gradle, xim:jdk-temurin) |
The JetBrains Marketplace, or CLion: Settings → Plugins → the gear menu → Install Plugin from Disk with this platform's file, and restart |
mcppls-clion-0.0.19-linux-arm64.zip |
The CLion plugin for one platform, with that platform's payload inside it (mcppls-clion/payload/), so it needs nothing else installed. Its plugin.xml depends on the platform's com.intellij.modules.os.* and com.intellij.modules.arch.*, by which the JetBrains Marketplace gives CLion 2026.1 and later the package of its own system. Gradle and the JDK it compiles with come from the clion feature (xim:gradle, xim:jdk-temurin) |
The JetBrains Marketplace, or CLion: Settings → Plugins → the gear menu → Install Plugin from Disk with this platform's file, and restart |
mcppls-clion-0.0.19-darwin-arm64.zip |
The CLion plugin for one platform, with that platform's payload inside it (mcppls-clion/payload/), so it needs nothing else installed. Its plugin.xml depends on the platform's com.intellij.modules.os.* and com.intellij.modules.arch.*, by which the JetBrains Marketplace gives CLion 2026.1 and later the package of its own system. Gradle and the JDK it compiles with come from the clion feature (xim:gradle, xim:jdk-temurin) |
The JetBrains Marketplace, or CLion: Settings → Plugins → the gear menu → Install Plugin from Disk with this platform's file, and restart... |
mcpp-language-server v0.0.18
mcpp-language-server 0.0.18
What changed
The bundled engine is unchanged (mcppls-clangd 0.0.17,
23.1.0-mcppls.5). This release moves the server onto mcpplibs.os, ships it as
one okb of both architectures that every system's runner starts, builds over openkal-platform (mcpp 2026.10.27.1),
and follows the build record mcpp writes.
Colours of large files
The semantic tokens of a file need clangd's syntax tree of the whole file; a completion needs only its preamble and
the text. In a 10 000-line file importing three modules the first completion came at 0.66 s and the colours at 2.96 s,
and every edit sent the whole file's tokens again, 1 015 373 bytes (tokens-large-file, mcpp design 2026-10-28 §11.1).
- Colours come at once and follow the text. The server keeps clangd's last tokens of each open file, moves them
with every edit (a token the edit touches waits for clangd) and answers from them at once; a
workspace/semanticTokens/refreshfollows within 20 ms when clangd's answer differs from what the editor shows.
After an edit the answer comes in 0.02 s (was 0.97 s, the typing pause and the rebuild). An editor that cannot be
refreshed waits for clangd, as before. - A file opened again is coloured before clangd has read it. The tokens of a saved text are kept on disk
(tokens/in the workspace's cache, the newest 1000 within 64 MiB), under a key of the text, the command, the
versions of mcppls and clangd, and the module interfaces the file reads; any other key is a miss. A warm open of
the large file has clangd's colours at 0.05 s, before its first completion at 0.15 s (were 0.76 s and 0.22 s). - An edit sends the change, not the file. Every whole answer carries a
resultId, andfull/deltais answered
with one edit: 71 bytes after inserting a line. - A range is cut from the whole, at once, so
rangeis declared whether or not clangd answers range requests. - Merging clangd's tokens with mcppls's own is one pass over each (was a comparison of every pair), without JSON in
between. cxxModules/reportcounts the answers by kind (semanticTokens.answers), the kept files' hits and writes, the
refreshes and the server's own time per answer.mcppls-devtools bench tokensmeasures the fixture, and CI's
bench-validate job holds the criteria: on a warm open the colours come no later than the first completion, an edit's
answer is under 5% of the file's, and every change reaches the editor by refresh.
One server for every system
- Every payload and VSIX carries the same server: one okb (
bin/mcppls.okb, openkal's universal image package,
the image of x86_64 and of aarch64), started by the platform's runner beside it (bin/okrun), as
payload.json'sserversays (path,runner). The images are built once, and CI checks that every okb shipped is
that one, byte for byte, and that each VSIX's runner starts it on its own system ("one okb, every runner", on Linux
x64 and arm64, macOS arm64 and Windows x64). VS Code, Zed, CLion and Neovim start the runner with the okb before the
server's own arguments; the test harnesses (mcppls-conformance run --server,bench,stress) take the okb and
start it the same way. - The server for the command line is one package,
mcppls-<version>-openkal.zip: both images, the launchers
bin/mcpplsandbin/mcppls.cmd, and the runner of Linux x86_64 and aarch64, macOS arm64 and Windows x86_64, so it
needs nothing installed. CI packs Linux's and Windows' runners on Linux and macOS's on macOS, and joins the two withmcpp pack --merge. - Or one file:
mcppls-<version>-<system>-<arch>(linux-x86_64,linux-aarch64,macos-aarch64,
windows-x86_64.exe), the platform's carrier with the image inside, which runs it from memory. - These replace the per-architecture
.okeassets and the program of each system carrying its image (M3). The
xlings server archive of each platform is that platform's single file. - The server names what starts it again (
review, the workspace daemon, the login shell's environment report) as
the system does, an image's loader included, and finds its payload around its image.
mcpp projects
- The compile database a build left is found where mcpp 2026.10.26.2 puts it. That mcpp writes no
project-rootcompile_commands.jsonunless the project asks for one; when mcpp cannot be asked, mcppls reads the
database named bytarget/.last-result.jsonand the configuration'sresult.json, and an older mcpp's root copy
only when that record is missing (#71). - A build in a terminal, an agent's shell or an IDE refreshes the project model.
target/.last-result.json,
which every build rewrites, is one of the inputs mcppls watches.
The platform layer
- mcppls keeps no operating-system layer of its own. Files, processes, the environment, directories, loopback
connections and the standard streams are mcpplibs.os's, called directly;modules/osandmodules/platformare
removed. What was generic went into mcpplibs.os 0.2.1: the bounded run (a hard bound, a grace, a drain, output
limits), the threads of a program, environment entries as a started program's overrides, a bounded read, the
canonical name of a file. What is mcppls's own stays here, in two small members:modules/base(its cache
directory, its payload names,file_stamp,make_executable) andmodules/toolrun(the login shell's
environment, offline and recorded runs, and the rule that a program is never found through a relative PATH
entry). The system is a value (mcpplibs.os'shost()), never a preprocessor branch, so the same source builds
for a system and as an image. - The server builds over a C library on openkal on every system. On macOS and Windows the Linux, macOS and
Windows units of mcpplibs.os 0.2.0 included the SDK's headers and passedpath::c_str()to Win32, which a
C library on openkal does not provide; 0.2.1 declares what it calls itself. - Removed workarounds. WA-PLATFORM-001 (the Darwin pipe protection): openkal-macos ignores SIGPIPE for its own
writes. The early PRoot start byexecveand the patched copy of openkal-linux undervendor/: openkal-linux
0.18 starts programs that way from the first start under PRoot, and keeps every register PRoot rewrites. The
Win32 declarations for process times and identity, and the Windows loopback reads in slices: mcpplibs.os
answers both on every system, and openkal-windows' sockets carry both directions at once. - A process's CPU time and identity are known on every system, Windows and macOS included, from openkal's
program information instead of/procandps(1). A workspace lease an older server wrote names its start in
another scheme and is judged by whether its process is alive, so an upgrade never takes over a live server's
workspace. - On Windows a program found on PATH by a bare name is never the extension-less file beside its
.cmdshim.
Building mcppls
- One platform for every target (mcpp SPEC-013): the workspace selects openkal-platform 0.17.3 for Linux, macOS
and Windows, whose hosted arrangement is openkal-musl and openkal-llvm-runtime over the system's openkal, and mcpp
selects it for the ok images (<arch>-openkal). No member declares a C library, a C++ run-time, okld, okrun or a
link any more;[workspace.package] mcpp = ">=2026.10.27.1"makes an older mcpp refuse instead of building
without them. CI also builds every build program of the graph as an ok image
(--host-platform [email protected]) on the three systems. - A payload's server is the image form by default.
mcppls-devtools payloadpacks the okb
(mcpp pack --pkg-format okb) and a self-contained universal package of this system, and carries the okb and
this system's runner;--server-imageand--server-runnername them for another platform, and--serverstill
carries a program.payload --verifychecks both forms. - CI finds the platform's tools as mcpp names them (
mcpp toolchain install --target,mcpp self env --target … --format json), and spells the container--pkg-format. - The toolchain is
[email protected], the LLVM of openkal-platform's version group. - The CLion tests open an mcpp project as it is after
mcpp buildand check that CLion's Compilation Database does
not take it (#71).
Files
| File | What it is | How to install it |
|---|---|---|
mcppls-linux-x64.vsix |
The VS Code extension for one platform, with that platform's payload inside it | code --install-extension <file>, or the Extensions view's “Install from VSIX…” |
mcppls-linux-arm64.vsix |
The VS Code extension for one platform, with that platform's payload inside it | code --install-extension <file>, or the Extensions view's “Install from VSIX…” |
mcppls-darwin-arm64.vsix |
The VS Code extension for one platform, with that platform's payload inside it | code --install-extension <file>, or the Extensions view's “Install from VSIX…” |
mcppls-win32-x64.vsix |
The VS Code extension for one platform, with that platform's payload inside it | code --install-extension <file>, or the Extensions view's “Install from VSIX…” |
payload-linux-x64.tar.gz |
The server, the clangd it drives and the semantic kit, as one tree. The server is the one okb of every architecture (bin/mcppls.okb), started by the platform's runner (bin/okrun), as payload.json's server says. What every editor but VS Code installs beside its plugin |
Unpack it; payload/bin/okrun payload/bin/mcppls.okb serve speaks LSP over stdio. For a command named mcppls, use the universal package or a single file below |
payload-linux-arm64.tar.gz |
The server, the clangd it drives and the semantic kit, as one tree. The server is the one okb of every architecture (`bin/mcppl... |