Plugins: add LSP server loader and surface in inspect reports

This commit is contained in:
Vincent Koc
2026-03-18 00:11:51 -07:00
parent 50a81c8731
commit 4ebd3d11aa
3 changed files with 246 additions and 0 deletions

View File

@@ -796,6 +796,14 @@ export function registerPluginsCli(program: Command) {
),
),
);
lines.push(
...formatInspectSection(
"LSP servers",
inspect.lspServers.map((entry) =>
entry.hasStdioTransport ? entry.name : `${entry.name} (unsupported transport)`,
),
),
);
if (inspect.httpRouteCount > 0) {
lines.push(...formatInspectSection("HTTP routes", [String(inspect.httpRouteCount)]));
}