Skip to content

Status bar tooltip: which language server and CLI are in use - #36

Merged
Kinflou merged 1 commit into
mainfrom
feat/status-bar-server-info
Nov 15, 2026
Merged

Kinflou merged 1 commit into
mainfrom
feat/status-bar-server-info

Conversation

@Kinflou

@Kinflou Kinflou commented Nov 15, 2026

Copy link
Copy Markdown
Member

The package status bar item's tooltip now says which language server and CLI are in use, so it's clear at a glance:

Currently active/selected package:
/work/chat

Language server: comline-lsp 0.1.0 (core 14ce546)
/home/me/.vscode/extensions/.../bin/linux-x64/comline-lsp (bundled)

CLI: comline 0.1.0 (core 14ce546)
/usr/bin/comline (on the host)

Click to open menu
  • Language server: the version is the initialize result's serverInfo.version (language-server#125), with the core commit shortened. It is refreshed on Comline: Restart Server. Without a version, the tooltip says not found, failed to start or starting.
  • CLI: the version is the first line of comline --version plus its core-rev: (cli#165). It comes from one run at activation, repeated when comline.cli.mode or comline.cli.customPath changes. The core mismatch warning now reads that same output instead of running the CLI a second time. Without a version, the tooltip says not found or that comline --version failed.
  • Path: planLocation in resolve.ts (pure, tested) says where a plan runs and how it was found: bundled, PATH, custom path, or on the host. For a host plan, the host check (verifyPlan) now keeps the path command -v printed (HostProbe.found), so the tooltip shows the real host path rather than the bare name. The Flatpak e2e asserts that path.
  • Tests: displayVersion and cliDisplayVersion in coreRev.ts get unit tests, and so does planLocation.

@Kinflou
Kinflou marked this pull request as ready for review November 15, 2026 21:23
@Kinflou
Kinflou merged commit 3551be9 into main Nov 15, 2026
27 checks passed
@Kinflou
Kinflou deleted the feat/status-bar-server-info branch November 15, 2026 21:23
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.

1 participant