You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Launcher: no warning when the server reports a version other than the SDK's pin #291
Against a 2.0.27 server on PATH, the SDK started it and ran with no warning, while the package is pinned to 2.0.29 (spec/SNAPSHOT.md). A consumer whose installed CLI lags the SDK's pin gets no signal that the server is off-pin until something fails.
Found by the default-launch check on WSL and macOS before the global CLIs were upgraded.
Upstream (pinned v2.0.29)
Upstream's CLI checks the server it connects to with a status call bounded at 5 seconds, and warns on a version mismatch (server-connection.ts:24-39).
Current canon
OpenCodeServer.ResolveAsync with an explicit endpoint compares the reported version ordinally against the pinned release. A mismatch invokes OnServerVersionMismatch once and resolution continues; a null callback is silent, and a callback exception propagates (#921; docs/architecture/client-runtime.md, explicit-endpoint door and version-warning decision).
Proposed
The explicit-endpoint comparison and warning channel are settled. Standalone OpenCodeServer.StartAsync still has no reported server version: the readiness line supplies none, and a standalone connection's ServerVersion is null (docs/architecture/client-runtime.md, standalone start and connection resolution). Whether to add mismatch reporting for standalone starts remains a maintainer decision.
Activity