feat(coding-agent): surfaced lazy LSP servers as available in welcome screen

- Added "available" status so recognized servers show under lazy mode without warmup.
- Rendered full welcome box as pre-TUI splash with fixed slot heights to avoid layout shift.
- Reported lazy servers as available in /status instead of omitting the section.
This commit is contained in:
can1357
2026-06-10 07:22:22 +02:00
parent a25d521cab
commit b0fec42218
10 changed files with 238 additions and 40 deletions
@@ -315,7 +315,13 @@ export class CommandController {
info += `\n${theme.bold("LSP Servers")}\n`;
for (const server of this.ctx.lspServers) {
const statusColor =
server.status === "ready" ? "success" : server.status === "connecting" ? "warning" : "error";
server.status === "ready"
? "success"
: server.status === "available"
? "dim"
: server.status === "connecting"
? "warning"
: "error";
const statusText =
server.status === "error" && server.error ? `${server.status}: ${server.error}` : server.status;
info += `${theme.fg("dim", `${server.name}:`)} ${theme.fg(statusColor, statusText)} ${theme.fg("dim", `(${server.fileTypes.join(", ")})`)}\n`;