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
feat: show server version in UI + resolve codex CLI before launch
Two user-facing improvements for the Windows test path:
1. Show the running agent's git short-SHA in the desktop console
sidebar so it is obvious whether a 'git pull' actually landed.
- New server-version.ts: tries 'git rev-parse --short HEAD',
falls back to reading .git/HEAD and packed-refs, caches the
result on first read. Degrades to 'unknown' if git / .git
are unavailable.
- /api/config now returns 'serverVersion'.
- mac-web desktop sidebar renders a small pill under the
Screen Pilot title showing 'version: <sha>'.
2. Resolve the codex binary BEFORE opening a new cmd window.
Previously, clicking codex authenticate on Windows would:
a) spawn 'cmd /c start "" <temp.bat>'
b) the bat would try to run 'codex' which was not on PATH
c) user saw ''codex' 不是内部或外部命令' buried inside a
popup window and the server thought launch succeeded.
New flow: resolveCodexBinaryOnWindows() checks absolute path,
'where.exe codex' for PATH, and the %APPDATA%\npm global
install location before writing the bat. If nothing is
found, the launcher throws a clear Chinese error that
surfaces in the UI telling the user to install codex or set
CODEX_BIN. No more mystery popup.
0 commit comments