Repository navigation
fix(client-runtime): unwrap uppercase or mixed-case shell executables like Bash.exe in command display text - #43289
Conversation
… like Bash.exe in command display text
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
commented
Nov 26, 2026
EvidenceReplayed the same three commands on fresh projects in the real web app (1280×800, light theme), then expanded Worked for → Ran 3 commands. The base retains
Reproduction scenario and fixture driver. Not shown:
|


Problem
Work-log rows and activity banners hide a POSIX shell wrapper, so
bash -lc "git status"shows asgit status. On Windows, Git Bash often reports the executable asBash.exeorBASH.EXE, and those commands stayed wrapped:Bash.exe -lc "git status"showed in full instead ofgit status.withoutShellWrapperstripped.exewithout regard to case, but compared the rest to the lowercase shell list without lowercasing it.Change
withoutShellWrapperlowercases the executable name once, ascommandProgramNameInternalandcommandHighlightLanguagealready do, and both the POSIX and the Windows shell lookups reuse that value. Web and mobile both get the fix throughpackages/client-runtime.Scope
A small fix of a clear bug: the same name is already lowercased on the sibling paths in this file, so it needs no issue.
Verification
Base
b996cf2, headc15fb49. An AI agent (Claude Opus 5.5, T3 Code Nightly) ran each check below.Setup: web app from
vp run dev, Linux, light theme, 1280×800, fresh isolated data on each commit. The freeReplay (dev)provider replays itsCommand outputturn, with the command changed locally (capture only) toBash.exe -lc "git status".Steps: open the replayed thread → expand "Worked for".
b996cf2(base)c15fb49(head)Bash.exe -lc "git status".git status.commandDisplayTexton each commit (Node 26.13.1):commandLabel.test.tsadds the first three inputs to the Windows shell wrapper table. All three fail on base and pass on head (3 of 3 runs).vp run check:changedpasses.Not shown: mobile uses the same
commandDisplayTextinapps/mobile/src/lib/threadActivity.ts, so the fix applies there with no mobile change.Generated with Claude Opus 5.5 in T3 Code Nightly