Remove not_supported commands and legacy aliases from --help (#595)

Hide browser subcommands that always return not_supported on WKWebView
(viewport, geolocation, offline, trace, network, screencast, input)
and the legacy browser alias notice from the help output. Command
handlers remain for backwards compatibility.

Closes https://github.com/manaflow-ai/cmux/issues/593
This commit is contained in:
Lawrence Chen 2026-02-26 20:36:21 -08:00 committed by GitHub
parent e74012a728
commit fdca658c80
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5932,16 +5932,7 @@ struct CMUXCLI {
browser addinitscript <script>
browser addscript <script>
browser addstyle <css>
browser viewport <width> <height> (returns not_supported on WKWebView)
browser geolocation|geo <lat> <lon> (returns not_supported on WKWebView)
browser offline <true|false> (returns not_supported on WKWebView)
browser trace <start|stop> [path] (returns not_supported on WKWebView)
browser network <route|unroute|requests> [...] (returns not_supported on WKWebView)
browser screencast <start|stop> (returns not_supported on WKWebView)
browser input <mouse|keyboard|touch> (returns not_supported on WKWebView)
browser identify [--surface <id|ref|index>]
(legacy browser aliases still supported: open-browser, navigate, browser-back, browser-forward, browser-reload, get-url)
help
Environment: