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
Commit 4626ccf
Browse filesBrowse the repository at this point in the historyBrowse files
feat(web): Windows commands highlight in their own languages
Windows agents also run PowerShell directly, without a pwsh wrapper, and
those commands were colored with the shell grammar. A command now uses the
PowerShell grammar when a statement starts with a capitalized Verb-Noun
cmdlet (`Get-Content`), `$env:`, a `$name = value` assignment, or the `&`
call operator, none of which parse as POSIX shell.
Nested highlighting also finds Python run through the Windows `py`
launcher (`py -3 -c '…'`) and interpreters named by a Windows path
(`C:\Python312\python.exe -c '…'`).
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
0 commit comments